- Drop the unused pi-hashline-readmap dependency, which pulled a whole
separate coding agent and several LLM SDKs into every install
(444 MB -> 38 MB of node_modules).
- Put the Muse 1.3 system prompt calibration behind a new
`museCalibration` option, off by default, so the plugin no longer
rewrites the system prompt for every model.
- Publish workflow: pin setup-bun and Bun, install with --ignore-scripts,
refuse a tag that doesn't match package.json, and run make check,
make accept and the real OpenCode host test before publishing.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Qe5Gj5WofxvQkfnptRJ7ym
- Pass tool inputs to the host as plain JSON Schema (toHostInputSchema via
zod-to-json-schema). The host rejects zod v3 schemas, so every tool was
silently dropped at registration.
- setup() now awaits every hook/transform registration and resolves to a
cleanup function that disposes them; returning the doctor report made the
host crash on unload. setupOpenCodeV2Harness() exposes the report.
- Read plugin options from ctx.options (where the host delivers them).
- MCP server seeding is opt-in (seedRecommendedMcp) and uses the
Mcp.LocalConfig shape; it no longer runs bunx/npx --yes by default.
- Meta.txt calibration falls back to a one-line matcher if upstream rewords
the subagent bullet; documented the event.system amendment in README/SPEC.
- Single version source (src/version.ts), bumped to 1.0.7.
- Tests: host contract, partial hashline anchor mismatch, calibration.
- make host-test / scripts/host-test: loads the plugin into anomalyco/opencode
at a pinned commit via the upstream plugin fixture.
- CI workflow: check, accept, build, and the real-host test on every PR.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012AuVk4nEvBXaTjs4G6wdW4