Skip to content

Tags: danielxxomg/opencode-commandcode-provider

Tags

v0.5.0

Toggle v0.5.0's commit message
feat: add dynamic model discovery, OpenCode 2 support, and project co…

…ntext

v0.4.1

Toggle v0.4.1's commit message
Release v0.4.1: Production-grade retry/backoff, SSE error handling, a…

…nd 50 models schema

v0.4.0

Toggle v0.4.0's commit message
Auto-register provider and models via plugin config hook

The plugin now uses a 'config' hook to auto-register the commandcode
provider with all models from models.json at startup. This means
'opencode plugin commandcode-go-opencode-provider' is now a single
command that sets up everything — no manual provider config needed.

Changes:
- plugin.ts: add config() hook that injects npm, name, env, and models
- plugin.ts: reads models.json at runtime to populate model list
- package.json: updated exports format to match opencode-claude-auth
- tests: added 4 tests for config hook behavior
- README: simplified Quick Start to 3 steps (install, connect, model)

v0.3.2

Toggle v0.3.2's commit message
Add install step to README Quick Start

v0.3.1

Toggle v0.3.1's commit message
Codebase cleanup: tests, type safety, dead code, docs

- Add 7 unit tests for createCommandCode() public API (index.ts)
- Refactor type guards in convert.ts: shared hasType() helper, no more as any
- Replace stale TODOs with clear comments explaining intentional stubs
- Remove unused imports from all test files (describe, afterEach, sseEvents, mock)
- Add 'intentionally silent' comments to all empty catch blocks
- Add engines field to package.json (bun >=1.0.0)
- 74 tests passing (was 67)

v0.3.0

Toggle v0.3.0's commit message
Release v0.3.0