fix: remove dead model-capabilities schema and references - #36
Merged
Conversation
model_capabilities was a schema-only artifact ported from upstream oh-my-opencode — the runtime implementation (cache, CLI refresh, chat-params hook, generated data) was never ported over. The config block parsed but had zero effect at runtime. - Delete src/config/schema/model-capabilities.ts - Remove import and schema field from matrixx-config.ts - Remove barrel export from src/config/schema.ts - Remove type export from src/config/index.ts - Regenerate assets/matrixx.schema.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
model_capabilitieswas a schema-only artifact ported from upstreamoh-my-opencode. The runtime implementation (cache, CLI refresh, chat-params hook, generated data file) was never ported — the config block parsed and validated but had zero effect at runtime.Changes
src/config/schema/model-capabilities.tsmatrixx-config.tssrc/config/schema.tssrc/config/index.tsassets/matrixx.schema.jsonVerification
bun run lint: 0 errors (only pre-existing warnings)bun run typecheck: 0 errorsbun run build:schema: regenerated cleanly