Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

feat: add Claude Opus 4.8 support

4 months ago

27d2232
Authored
mweinbach5/28/2026, 11:18:29 PM
Add Anthropic registry metadata, pricing, prompt overlay, and default provider options for Claude Opus 4.8.

Route adaptive thinking through PI and override stale bundled PI catalog metadata so Opus 4.8 exposes the verified 1M context and 128K output limits.

Update provider, runtime, pricing, and prompt regression tests.

Parentc2a2a5c

16 files changed
  • config/models/anthropic/claude-opus-4-6.json+1−1
  • config/models/anthropic/claude-opus-4-8.json+16−0
  • prompts/system-models/claude-opus-4-8.json+9−0
  • src/models/childAgentModelInfo.ts+1−0
  • src/models/registry.ts+2−0
  • src/providers/providerOptions.ts+2−2
  • src/runtime/pi/modelResolution.ts+20−1
  • src/runtime/piRuntimeOptions.ts+3−1
  • src/session/pricing.ts
+6
−0
  • test/prompt.test.ts+1−0
  • test/providers/anthropic.test.ts+26−23
  • test/providers/config-switching.test.ts+3−3
  • test/providers/provider-options.test.ts+6−4
  • test/runtime.pi-options.test.ts+19−0
  • test/runtime.pi-runtime.test.ts+29−0
  • test/session/pricing.test.ts+7−0