Skip to content
This repository was archived by the owner on Sep 18, 2026. It is now read-only.

v1.0.1 – Initial Model Alias Plugin

Choose a tag to compare

@mattaschmann mattaschmann released this 08 Apr 17:12
· 15 commits to main since this release

Highlights

  • First public release of the OpenCode Model Alias plugin.
  • Provides a /alias CLI 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 help subcommands with persistent storage in ~/.config/opencode/model-aliases.json.
  • Config hook that resolves aliases declared in agent.model and command.model before 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.