Repository navigation
v1.0.7 - Dynamic models, reasoning history, and stream timeout fixes
Added
- Dynamic OpenCode Go model catalog from
https://opencode.ai/zen/v1/models, cached for one hour in~/.opencode-go-cli/opencode-models.json. --refresh-modelsto force a catalog refresh, standalone or with--list.
Changed
opencode-go --listnow shows the live OpenCode Go catalog while OpenAI, Qwen, and Z.ai keep their static curated lists.- Expanded the built-in OpenCode Go fallback model snapshot from 5 to 13 entries.
Fixed
- Preserves Anthropic
thinkingandredacted_thinkinghistory as OpenAI-compatiblereasoning_contentfor Chat Completions providers. - Adds a non-empty reasoning placeholder on assistant tool-call messages when upstream reasoning backends require it.
- Raises Bun proxy
idleTimeoutto 255 seconds so long upstream streams are not cut off by Bun's 10-second default.
Package
- Package version is now
1.0.7. CHANGELOG.mdis included in the npm package files.- Scoped package publish config is set to public access.
Verification
bun run typecheck- cleanbun test- 101 pass, 0 failbun run build- cleanbun pm pack --dry-run- package containspackage.json,CHANGELOG.md,README.md, anddist/index.js
Full changelog: https://github.com/Lordymine/opencode-go-cli/blob/v1.0.7/CHANGELOG.md