Skip to content

chore(configure): drop the now-unused OPENCODE_K.model key - #225

Merged
quickbeard merged 1 commit into
mainfrom
chore/drop-unused-opencode-model-key
Jul 30, 2026
Merged

chore(configure): drop the now-unused OPENCODE_K.model key#225
quickbeard merged 1 commit into
mainfrom
chore/drop-unused-opencode-model-key

Conversation

@quickbeard

Copy link
Copy Markdown
Owner

Why

#221 stopped writing a top-level model into the OpenCode-family configs, which left OPENCODE_K.model (src/lib/configure.ts) with no reader. Biome doesn't flag an unused object property, so it survived the PR.

What changed

One line removed. grep -rn "OPENCODE_K.model" src/ now returns nothing — the only remaining OPENCODE_K.models reference is the provider models map, which is unrelated. CoDev Code shares this constant table through configureOpenCodeKind, so the same removal covers both tools and there is no second symbol to clean up. The comment at the write site already explains why no pin is emitted, so nothing else needed rewording.

No behavior change: the constant was never read, and atob-encoded key tables are not part of any public surface.

Testing

pnpm fix, pnpm typecheck, pnpm test (71 files, 1254 passed / 2 skipped), pnpm build && node dist/index.js --version0.5.3. The pre-commit hook re-ran check/typecheck/test/build and passed.

🤖 Generated with Claude Code

PR #221 stopped emitting a top-level `model` in the OpenCode-family configs,
which left `OPENCODE_K.model` with no reader. Biome doesn't flag an unused
object property, so it survived. Pure removal — the comment at the write
site already explains why no pin is written, and CoDev Code shares this
constant table via configureOpenCodeKind, so nothing else references it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@quickbeard
quickbeard merged commit 4bac09a into main Jul 30, 2026
3 checks passed
@quickbeard
quickbeard deleted the chore/drop-unused-opencode-model-key branch July 30, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant