@tonlon/opencode-tms-plugin
v1.1.0
Published
Minimal OpenCode installer for the tms-jira skill and local TMS setup
Readme
@tonlon/opencode-tms-plugin
Minimal installer for OpenCode integration backed by the local tms-jira skill assets.
This package now focuses on atomic capability installation only:
- install the
tms-jiraskill runner into OpenCode - install TMS business context into OpenCode
- configure
TMS_BASE_URLandTMS_BEARER_TOKEN - verify local installation
- upgrade and uninstall the installed skill
Install
npm i -g @tonlon/opencode-tms-plugin
opencode-tms setupsetup now prompts for TMS_BASE_URL and TMS_BEARER_TOKEN if missing, and writes them to ~/.config/opencode/tms-jira.env.
setup writes env values without quotes, and normalizes TMS_BASE_URL so both /rest and /rest/ inputs are accepted.
setup also removes old installed TMS assistant-era artifacts before reinstalling the current skill. If existing TMS configuration is already detected and setup runs interactively, it will ask whether you want to keep the current config or overwrite the local env file.
Commands
opencode-tms installopencode-tms setup(recommended, install + doctor)opencode-tms upgrade(upgrade global npm packages + refresh local assets)opencode-tms uninstallopencode-tms uninstall --purge(also remove~/.config/opencode/tms-jira.env)opencode-tms doctor
Add --json to any command if you need machine-readable output.
What it installs
~/.config/opencode/skill/tms-jira/SKILL.md~/.config/opencode/context/tms/*
Recommended command entry after install:
- OpenCode / shell:
~/.config/opencode/skill/tms-jira/bin/tms-jira.sh
Important:
- do not prefer the global
tms-jiranpm shim when a local wrapper is available - always prefer the installed local wrapper
~/.config/opencode/skill/tms-jira/bin/tms-jira.sh - if shell behavior is still inconsistent, use
node "~/.config/opencode/skill/tms-jira/bin/tms-jira-runner.js" <command>
It does not install assistant prompts, planning/review layers, or local automation state.
If you are upgrading from an older version, run opencode-tms install or opencode-tms setup again to refresh the installed skill files.
Verify
opencode-tms doctor
~/.config/opencode/skill/tms-jira/bin/tms-jira.sh helpShell recommendation:
- Use a
sh-compatible shell and runtms-jira.sh - Cross-platform: use
node "~/.config/opencode/skill/tms-jira/bin/tms-jira-runner.js" <command>
