This repository was archived by the owner on Sep 18, 2026. It is now read-only.
Repository navigation
v1.0.1 – Initial Model Alias Plugin
Highlights
- First public release of the OpenCode Model Alias plugin.
- Provides a
/aliasCLI command plus automatic config hook so agents/commands can reference portable model aliases. - Ships with full documentation, tests, CI, and npm publish workflow.
Added
/alias set <alias> <model>,/alias list,/alias delete, and/alias helpsubcommands with persistent storage in~/.config/opencode/model-aliases.json.- Config hook that resolves aliases declared in
agent.modelandcommand.modelbefore execution. - Jest test suite (21 tests, ~89% coverage) with supporting tsconfig/test config.
- AGENTS.md, README.md, “Why this plugin?” explanation, usage examples, and badges (npm version, license, coverage).
- GitHub Actions CI workflow (install, typecheck, test) and coverage badge publishing.
- npm publish workflow (tag-triggered) using trusted publisher authentication.
Changed
- Documentation terminology standardized from “skill” to “command”.
- Package metadata updates for npm publishing (version, author info, repo URL).
Fixed
- Coverage configuration tweaks and badge corrections to keep CI status accurate.
- GitHub URL typo and other small doc link fixes.