feat: add model-registry-helper.sh for provider/model registry with periodic sync (t132.2) #761
+1,151
−2
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.



Summary
model-registry-helper.sh— a SQLite-backed provider/model registry that syncs from subagent frontmatter, embedded pricing data, and live provider APIssync,list,status,check,suggest,deprecations,diff,exportclaude-3-5-haikuvsclaude-haiku-3.5)Task
Closes subtask t132.2 of the Cross-Provider Model Routing plan (t132). Unblocks t132.3 (Model availability checker).
Changes
.agents/scripts/model-registry-helper.sh.agents/tools/ai-assistants/models/README.md.agents/tools/context/model-routing.md.agents/subagent-index.toonDesign Decisions
--forceoverridesbackup_sqlite_dbpatternTesting
All commands tested end-to-end:
sync --force— 5 tiers synced, 17 models from embedded datalist/list --provider Anthropic— correct filteringstatus/status --json— health metrics and tier mappingcheck— all 5 subagent tiers match registry entriesdiff— correctly identifies matched vs unmatched modelssuggest/deprecations— working (empty results expected without API keys)export --json/export --csv— valid output