Repository navigation
Description
Goal
Make Claude Sonnet 5.5 available through the Kiro provider, and make every Kiro alias for Sonnet and Opus resolve to the 5.5 models. Older versions stay reachable with the explicit kiro: prefix.
Context
- Kiro is a fork-only provider. Follow
docs/agents/fork-maintenance.md, section "Adding a model to a provider". - Reference commits:
8c6f3ec(added Opus 5.5 and Opus 5 to the catalog) andf7c6f19(bareopusalias to Opus 5.5). - Catalog:
src/providers/kiro/translate/models.rs(KIRO_MODELS). Aliases:src/providers/kiro/translate/model_allowlist.rs. Kiro's wire format uses dots (claude-sonnet-5.5). The proxy uses dashes.dash_to_dotanddot_to_dashconvert between them.
Requirements
- Add a
KiroModelMetaentry forclaude-sonnet-5-5("Claude Sonnet 5.5"). Use theclaude-sonnet-5entry as the template: 1M context window, 64K max output, reasoning and image input enabled, default first-token timeout. - Sonnet aliases:
sonnet,claude-sonnet-4-6,claude-sonnet-5, andclaude-sonnet-5-5all resolve toclaude-sonnet-5-5. - Opus aliases:
opus,claude-opus-4-7,claude-opus-4-8,claude-opus-5, andclaude-opus-5-5all resolve toclaude-opus-5-5. FABLE_TARGET(currentlyclaude-opus-4-8) resolves toclaude-opus-5-5.- Leave Haiku alone. Haiku 4.5 is the newest Haiku.
- Check that each older model (
kiro:claude-sonnet-4-6,kiro:claude-sonnet-5,kiro:claude-opus-4-8, and so on) is still selectable with the explicitkiro:prefix and resolves to itself. If the prefix path also goes through the alias table, add what is needed so an explicit prefixed version is not remapped. - Update the tests that assert the old alias targets (for example
resolve_model("claude-sonnet-5")and the Opus alias tests). Add tests for the new targets and for the explicit-version cases from item 6. - Update the model and alias text in
docs/src/content/docs/providers/kiro.mdanddocs/src/content/docs/using/models-and-routing.md. Add one line to theCHANGELOG.md"Unreleased" section. - Add a row to the fork decision table in
docs/agents/fork-maintenance.md: Kiro Sonnet and Opus aliases target the newest 5.x model. - Run
just check-ci.
Known risk
Commit 45dbbfe kept the Sonnet alias on 4.6 because Kiro's Sonnet 5 sometimes echoes the injected <max_thinking_length> and <thinking_length> control tags into its text output. The owner has decided to move to 5.5 anyway. Keep the existing handling that is related to those tags. In the PR description, state that the echo has not been checked against 5.5. The owner will test it live.
Limits of this run
CI has no Kiro credentials, so the agent cannot confirm that Kiro serves Sonnet 5.5 or check its real limits. State this in the PR description. The owner will confirm with a live ListAvailableModels call before merging.
Do not change Codex routing or the Codex Fable decisions.
Activity
[-]Add Claude Sonnet 5.5 to the Kiro backend[/-][+]Add Claude Sonnet 5.5 to Kiro and point Sonnet and Opus aliases at the 5.5 models[/+]