Releases: Yivas/opencode-subagent-models
Release list
v0.2.4
Reorganizes the package README and brings the package metadata in line with the published documentation. Plugin behavior is unchanged.
Highlights
- Rebuilt the README around installation, first use, routing, failure behavior, privacy, and support channels.
- Pointed the package metadata at the public documentation site and declared the supported Node.js range, with CI checking the lowest version of each range.
- Pinned both installation examples to
0.2.4.
Compatibility
No command, configuration key, or stored-state format changed. Updating from 0.2.3 needs only the new version in opencode.json and tui.json.
- OpenCode
1.17.18remains the validated baseline. - Node.js
^22.22.2,^24.15.0, or>=26.0.0.
Verify
Run npm test, npm run check:package, and npm pack --dry-run --json. The pack contains 7 files: CHANGELOG.md, LICENSE, README.md, package.json, src/index.ts, src/state.ts, and src/tui.ts.
v0.2.3
This release publishes the verified model-resolution fixes to npm and corrects both installation examples to pin 0.2.3.
Fixed
- Preserve the model selected by OpenCode when parent lookup or saved state fails.
- Reject corrupt state and invalid variants instead of inheriting another override.
- Detect cycles in session ancestry.
- Report TUI state-read failures without unhandled promise rejections.
- Keep the server and TUI installation examples on the published npm version.
Distribution
0.2.2 remains available as a GitHub-only release. It was not published to npm because its frozen artifact referenced 0.2.1 in the installation examples.
Verification
CI passes on Node.js 22, 24, and 26 on Linux, plus Node.js 24 on Windows. The package contents are checked against an exact allowlist.
v0.2.2
This patch keeps delegated messages usable when session ancestry or saved override state cannot be resolved safely.
Fixed
- Preserve the model selected by OpenCode when parent lookup or state loading fails.
- Reject corrupt state and invalid variants instead of inheriting another override.
- Detect cycles in session ancestry.
- Report TUI state-read failures without unhandled promise rejections.
Verification
- Tests cover global and session commands, reasoning variants, Default behavior, corrupt state, parent cycles, and persistence failures.
- CI passes on Node.js 22, 24, and 26 on Linux, plus Node.js 24 on Windows.
- The npm package contains only the documented source, license, README, changelog, and metadata.