Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

feat(claude): add Sonnet 5.5 model metadata (#2311)

Call White37c54cb602a4
diff --git a/core/handlers/model_hub/pricing.py b/core/handlers/model_hub/pricing.py
index cfe4819c0..8cd70ddd1 100644
--- a/core/handlers/model_hub/pricing.py
+++ b/core/handlers/model_hub/pricing.py
@@ -46,6 +46,7 @@ MODEL_ALIASES: Final[Mapping[str, str]] = {
# Claude Code ships a model before models.dev lists it; the predecessor's
# price is the closest published figure, and the override file can correct it.
"claude-opus-5-5": "claude-opus-5",
+ "claude-sonnet-5-5": "claude-sonnet-5",
# Codex CLI names.
"gpt-5-codex": "gpt-5",
"gpt-5.1-codex": "gpt-5.1",
diff --git a/pyproject.toml b/pyproject.toml
index bd216fd97..918f25bb0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -43,7 +43,12 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
- "claude-agent-sdk>=0.2.158",
+ # 0.2.162 bundles Claude Code 2.1.285, the first CLI that runs Sonnet 5.5.
+ # Releases from 0.2.160 on publish no win_amd64 wheel, and the sdist has no
+ # bundled CLI, so native Windows stays on the newest release with one until
+ # upstream ships it again.
+ "claude-agent-sdk>=0.2.162; sys_platform != 'win32'",
+ "claude-agent-sdk>=0.2.158,<0.2.160; sys_platform == 'win32'",
"anyio>=4.0.0",
"APScheduler>=3.10.4",
"slack-sdk>=3.26.0",
diff --git a/tests/test_backend_model_catalog.py b/tests/test_backend_model_catalog.py
index f8f78a295..14d842279 100644
--- a/tests/test_backend_model_catalog.py
+++ b/tests/test_backend_model_catalog.py
@@ -891,10 +891,42 @@ def test_claude_snapshot_ignores_native_default_models(monkeypatch, tmp_path):
"xhigh",
"max",
]
+ assert snapshot["models"].index("claude-sonnet-5-5") < snapshot["models"].index("claude-sonnet-5")
+ assert snapshot["model_labels"]["claude-sonnet-5-5"] == "claude-sonnet-5-5 [1M]"
+ assert [option["value"] for option in snapshot["reasoning_options"]["claude-sonnet-5-5"]] == [
+ "__default__",
+ "low",
+ "medium",
+ "high",
+ "xhigh",
+ "max",
+ ]
assert snapshot["model_labels"]["claude-opus-5"] == "claude-opus-5 [1M]"
assert snapshot["model_labels"]["claude-opus-4-6"] == "claude-opus-4-6 [1M]"
+def test_remote_claude_rows_label_their_1m_context_for_installs_that_predate_them(monkeypatch):
+ """An install older than a model learns it only from the remote catalog.
+
+ Its packaged catalogs lack the row, so nothing local can add the ``[1M]``
+ label; the remote row has to carry it.
+ """
+ from modules.agents.opencode.utils import format_claude_model_label
+
+ remote = backend_model_catalog.load_bundled_catalog()
+ monkeypatch.setattr(backend_model_catalog, "load_cached_remote_catalog", lambda **kwargs: remote)
+ monkeypatch.setattr(backend_model_catalog, "load_bundled_catalog", lambda: {})
+ monkeypatch.setattr(backend_model_catalog, "load_catalog_models", lambda: [])
+
+ snapshot = backend_model_catalog.backend_model_snapshot("claude", schedule_refresh=False)
+
+ long_context = [model for model in snapshot["models"] if format_claude_model_label(model) != model]
+ assert "claude-sonnet-5-5" in long_context
+ assert {model: snapshot["model_labels"].get(model) for model in long_context} == {
+ model: format_claude_model_label(model) for model in long_context
+ }
+
+
def test_remote_hidden_tombstone_overrides_stale_local_visible(monkeypatch, tmp_path):
codex_home = tmp_path / ".codex"
codex_home.mkdir()
diff --git a/tests/test_claude_model_catalog.py b/tests/test_claude_model_catalog.py
index c957c2e77..6da69f9f2 100644
--- a/tests/test_claude_model_catalog.py
+++ b/tests/test_claude_model_catalog.py
@@ -1,5 +1,7 @@
from __future__ import annotations
+import pytest
+
from vibe.claude_model_catalog import (
FALLBACK_CLAUDE_MODELS,
RETIRED_CLAUDE_MODELS,
@@ -19,9 +21,10 @@ def test_fable_5_1_is_tracked_in_catalog_and_fallback():
assert "claude-fable-5-1" in FALLBACK_CLAUDE_MODELS
-def test_sonnet_5_is_tracked_in_catalog_and_fallback():
- assert "claude-sonnet-5" in load_catalog_models()
- assert "claude-sonnet-5" in FALLBACK_CLAUDE_MODELS
[email protected]("model", ["claude-sonnet-5", "claude-sonnet-5-5"])
+def test_sonnet_5_family_is_tracked_in_catalog_and_fallback(model):
+ assert model in load_catalog_models()
+ assert model in FALLBACK_CLAUDE_MODELS
def test_opus_5_is_tracked_in_catalog_and_fallback():
@@ -34,9 +37,13 @@ def test_opus_5_5_is_tracked_in_catalog_and_fallback():
assert "claude-opus-5-5" in FALLBACK_CLAUDE_MODELS
-def test_opus_5_5_sorts_before_opus_5_in_every_tracked_listing():
+ ("newer", "older"),
+ [("claude-opus-5-5", "claude-opus-5"), ("claude-sonnet-5-5", "claude-sonnet-5")],
+)
+def test_point_five_release_sorts_before_its_predecessor_in_every_tracked_listing(newer, older):
for listing in (load_catalog_models(), list(FALLBACK_CLAUDE_MODELS)):
- assert listing.index("claude-opus-5-5") < listing.index("claude-opus-5")
+ assert listing.index(newer) < listing.index(older)
def test_retired_models_leave_the_tracked_catalog_and_fallback():
@@ -89,6 +96,7 @@ def test_catalog_excludes_dated_4_6_and_later_internal_ids():
assert "claude-fable-5-1-20260901" not in sort_catalog_models(["claude-fable-5-1-20260901"])
assert "claude-opus-5-20260724" not in sort_catalog_models(["claude-opus-5-20260724"])
assert "claude-opus-5-5-20260922" not in sort_catalog_models(["claude-opus-5-5-20260922"])
+ assert "claude-sonnet-5-5-20260928" not in sort_catalog_models(["claude-sonnet-5-5-20260928"])
def test_dateless_model_ids_sort_before_matching_snapshots():
@@ -131,10 +139,11 @@ def test_bundle_inference_detects_fable_and_skips_mythos_preview(tmp_path):
bundle = tmp_path / "cli.js"
bundle.write_bytes(
b'pick("claude-fable-5-1");previous="claude-fable-5";fallback="claude-opus-4-8";'
- b'"claude-opus-5-5";"claude-opus-5";"claude-sonnet-5";"claude-opus-4-6-20251101";'
- b'"claude-sonnet-4-6-20251114";"claude-sonnet-5-20260630";'
+ b'"claude-opus-5-5";"claude-opus-5";"claude-sonnet-5";"claude-sonnet-5-5";'
+ b'"claude-opus-4-6-20251101";"claude-sonnet-4-6-20251114";"claude-sonnet-5-20260630";'
b'"claude-fable-5-20260609";"claude-fable-5-1-20260901";'
- b'"claude-opus-5-20260724";"claude-opus-5-5-20260922";"claude-mythos-preview"'
+ b'"claude-opus-5-20260724";"claude-opus-5-5-20260922";"claude-sonnet-5-5-20260928";'
+ b'"claude-mythos-preview"'
)
models = infer_models_from_bundle(bundle)
@@ -145,6 +154,7 @@ def test_bundle_inference_detects_fable_and_skips_mythos_preview(tmp_path):
"claude-opus-5-5",
"claude-opus-5",
"claude-opus-4-8",
+ "claude-sonnet-5-5",
"claude-sonnet-5",
]
# `claude-mythos-preview` carries no version segment and is not a publicly
@@ -159,3 +169,4 @@ def test_bundle_inference_detects_fable_and_skips_mythos_preview(tmp_path):
assert "claude-fable-5-1-20260901" not in models
assert "claude-opus-5-20260724" not in models
assert "claude-opus-5-5-20260922" not in models
+ assert "claude-sonnet-5-5-20260928" not in models
diff --git a/tests/test_claude_reasoning_options.py b/tests/test_claude_reasoning_options.py
index 000ef52ab..d4a524de7 100644
--- a/tests/test_claude_reasoning_options.py
+++ b/tests/test_claude_reasoning_options.py
@@ -4,6 +4,8 @@ import sys
import importlib.util
from pathlib import Path
+import pytest
+
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
@@ -65,8 +67,9 @@ def test_claude_reasoning_options_add_xhigh_and_max_for_fable_5_1() -> None:
assert [item["value"] for item in options] == ["__default__", "low", "medium", "high", "xhigh", "max"]
-def test_claude_reasoning_options_add_xhigh_and_max_for_sonnet_5() -> None:
- options = build_claude_reasoning_options("claude-sonnet-5")
[email protected]("model", ["claude-sonnet-5", "claude-sonnet-5-5"])
+def test_claude_reasoning_options_add_xhigh_and_max_for_sonnet_5_family(model: str) -> None:
+ options = build_claude_reasoning_options(model)
assert [item["value"] for item in options] == ["__default__", "low", "medium", "high", "xhigh", "max"]
@@ -161,6 +164,8 @@ def test_normalize_claude_reasoning_effort_drops_invalid_efforts() -> None:
assert normalize_claude_reasoning_effort("claude-opus-4-6", "max") == "max"
assert normalize_claude_reasoning_effort("claude-sonnet-5", "xhigh") == "xhigh"
assert normalize_claude_reasoning_effort("claude-sonnet-5", "max") == "max"
+ assert normalize_claude_reasoning_effort("claude-sonnet-5-5", "xhigh") == "xhigh"
+ assert normalize_claude_reasoning_effort("claude-sonnet-5-5", "max") == "max"
assert normalize_claude_reasoning_effort("sonnet", "xhigh") == "xhigh"
assert normalize_claude_reasoning_effort("sonnet", "max") == "max"
assert normalize_claude_reasoning_effort("sonnet[1m]", "xhigh") == "xhigh"
@@ -182,6 +187,7 @@ def test_claude_1m_context_labels() -> None:
assert format_claude_model_label("claude-opus-4-8") == "claude-opus-4-8 [1M]"
assert format_claude_model_label("claude-opus-4-7") == "claude-opus-4-7 [1M]"
assert format_claude_model_label("claude-opus-4-6") == "claude-opus-4-6 [1M]"
+ assert format_claude_model_label("claude-sonnet-5-5") == "claude-sonnet-5-5 [1M]"
assert format_claude_model_label("claude-sonnet-5") == "claude-sonnet-5 [1M]"
assert format_claude_model_label("claude-sonnet-4-6") == "claude-sonnet-4-6 [1M]"
assert format_claude_model_label("claude-fable-5") == "claude-fable-5 [1M]"
diff --git a/tests/test_model_hub_pricing.py b/tests/test_model_hub_pricing.py
index 9ed7515ea..8e9af7b1b 100644
--- a/tests/test_model_hub_pricing.py
+++ b/tests/test_model_hub_pricing.py
@@ -35,6 +35,7 @@ CATALOG = {
"anthropic": {
"models": {
"claude-opus-5": {"cost": {"input": 5, "output": 25, "cache_read": 0.5, "cache_write": 6.25}},
+ "claude-sonnet-5": {"cost": {"input": 2, "output": 10, "cache_read": 0.2, "cache_write": 2.5}},
"claude-fable-5-1": {"cost": {"input": 10, "output": 50, "cache_read": 0.25, "cache_write": 12.5}},
"claude-haiku-4-5": {"cost": {"input": 1, "output": 5, "cache_read": 0.1, "cache_write": 1.25}},
}
@@ -108,6 +109,7 @@ def test_model_ids_normalize_to_the_price_table_spelling(reported, normalized):
("claude-fable-5-1", 10),
("claude-opus-5", 5),
("claude-opus-5-5", 5), # not yet on models.dev: aliased to its predecessor
+ ("claude-sonnet-5-5", 2), # likewise
("gpt-5.5", 5),
("gpt-5.6-luna", 0.2),
("relay-model", None), # a relay's own name has no list price
diff --git a/uv.lock b/uv.lock
index f5d41445d..245c8c324 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2,9 +2,12 @@ version = 1
revision = 3
requires-python = ">=3.10"
resolution-markers = [
- "python_full_version >= '3.13'",
- "python_full_version >= '3.11' and python_full_version < '3.13'",
- "python_full_version < '3.11'",
+ "python_full_version >= '3.13' and sys_platform == 'win32'",
+ "python_full_version >= '3.13' and sys_platform != 'win32'",
+ "python_full_version >= '3.11' and python_full_version < '3.13' and sys_platform == 'win32'",
+ "python_full_version >= '3.11' and python_full_version < '3.13' and sys_platform != 'win32'",
+ "python_full_version < '3.11' and sys_platform == 'win32'",
+ "python_full_version < '3.11' and sys_platform != 'win32'",
]
[[package]]
@@ -305,7 +308,8 @@ dependencies = [
{ name = "alembic" },
{ name = "anyio" },
{ name = "apscheduler" },
- { name = "claude-agent-sdk" },
+ { name = "claude-agent-sdk", version = "0.2.159", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform == 'win32'" },
+ { name = "claude-agent-sdk", version = "0.2.162", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'win32'" },
{ name = "cryptography" },
{ name = "discord-py" },
{ name = "fastapi" },
@@ -349,7 +353,8 @@ requires-dist = [
{ name = "alembic", specifier = ">=1.13.0" },
{ name = "anyio", specifier = ">=4.0.0" },
{ name = "apscheduler", specifier = ">=3.10.4" },
- { name = "claude-agent-sdk", specifier = ">=0.2.158" },
+ { name = "claude-agent-sdk", marker = "sys_platform != 'win32'", specifier = ">=0.2.162" },
+ { name = "claude-agent-sdk", marker = "sys_platform == 'win32'", specifier = ">=0.2.158,<0.2.160" },
{ name = "cryptography", specifier = ">=42.0" },
{ name = "discord-py", specifier = ">=2.4.0" },
{ name = "fastapi", specifier = ">=0.110" },
@@ -576,22 +581,47 @@ wheels = [
[[package]]
name = "claude-agent-sdk"
-version = "0.2.158"
+version = "0.2.159"
source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.13' and sys_platform == 'win32'",
+ "python_full_version >= '3.11' and python_full_version < '3.13' and sys_platform == 'win32'",
+ "python_full_version < '3.11' and sys_platform == 'win32'",
+]
dependencies = [
- { name = "anyio" },
- { name = "jsonschema" },
- { name = "mcp" },
- { name = "sniffio" },
- { name = "typing-extensions", marker = "python_full_version < '3.11'" },
+ { name = "anyio", marker = "sys_platform == 'win32'" },
+ { name = "jsonschema", marker = "sys_platform == 'win32'" },
+ { name = "mcp", marker = "sys_platform == 'win32'" },
+ { name = "sniffio", marker = "sys_platform == 'win32'" },
+ { name = "typing-extensions", marker = "python_full_version < '3.11' and sys_platform == 'win32'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/0e/5c/1d348e677fb199978d2b559fb5822fc58d77927f0988d1eb2acc18d5a0bb/claude_agent_sdk-0.2.158.tar.gz", hash = "sha256:672ddb19df334e9cb80bb264a6ddf00870c8d4e170b3fd0a3cf0ce354f634e7f", size = 354570, upload-time = "2026-09-23T01:39:14.77Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/db/b2/81eb389ace55434f0119b99b62c10a7ac206def6c92ee0768eb389b0c900/claude_agent_sdk-0.2.159.tar.gz", hash = "sha256:e1905e2637b27971bb561bb6ad317aeb3d50619be5261bfa7ff2e9c2be0f0fd1", size = 354571, upload-time = "2026-09-23T20:26:37.386Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/89/ad/37559b5a12170699eb6d4c5e1c66f491c4a3d7366f8f300a8dba0fc40aec/claude_agent_sdk-0.2.158-py3-none-macosx_11_0_arm64.whl", hash = "sha256:d124bd374dfbbcbdb4326e922f30d436251ae469df9cae545ef8ff6839d76e47", size = 90406616, upload-time = "2026-09-23T01:39:18.829Z" },
- { url = "https://files.pythonhosted.org/packages/c1/52/21968fc645ee206bb260f18b26ae8ae035fc5af820a7820b01e308496510/claude_agent_sdk-0.2.158-py3-none-macosx_11_0_x86_64.whl", hash = "sha256:beb963aa66eac715ff005e44ff02065fd5d855a10a47bc802097a31a522e6be3", size = 94751713, upload-time = "2026-09-23T01:39:22.591Z" },
- { url = "https://files.pythonhosted.org/packages/a1/4b/b42ab1a7ba32cea66184dedf8da158d49d00d6af753bd48998dab6e7a1d6/claude_agent_sdk-0.2.158-py3-none-manylinux_2_17_aarch64.whl", hash = "sha256:12f432273c3f0da103ea8dc921c3ce96e802c044e1f3f2535cf98b7d59777aa7", size = 99897552, upload-time = "2026-09-23T01:39:26.933Z" },
- { url = "https://files.pythonhosted.org/packages/e3/eb/1b34083c59a09a1a380c211eacd1cb185de4adc4bdb1170997e37f53f6ca/claude_agent_sdk-0.2.158-py3-none-manylinux_2_17_x86_64.whl", hash = "sha256:1f46ddac2cb51f16b2ca064a0dbeeab7db712f34e72454cc7776713e0f0f663c", size = 100257803, upload-time = "2026-09-23T01:39:31.501Z" },
- { url = "https://files.pythonhosted.org/packages/15/0d/11ab53934b04176180099a79bb186036e304e1fe1310bdecf21df599f1d3/claude_agent_sdk-0.2.158-py3-none-win_amd64.whl", hash = "sha256:b1e7f6b9d048c2c44e5228d6a0eeb19ae3aafb643c1115c456ea9937e0439aef", size = 102853711, upload-time = "2026-09-23T01:39:36.133Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/f2/b315c307a4199cb698a6b6f9e0e90cb8da4b0c8b3d00c68e9007c4a778d1/claude_agent_sdk-0.2.159-py3-none-win_amd64.whl", hash = "sha256:cc1b92ae56f42ade2d083ef2d2e5edb4aa8c7a6d856818a9b8f60cf6ae746f3a", size = 104353298, upload-time = "2026-09-23T20:26:57.913Z" },
+]
+
+[[package]]
+name = "claude-agent-sdk"
+version = "0.2.162"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.13' and sys_platform != 'win32'",
+ "python_full_version >= '3.11' and python_full_version < '3.13' and sys_platform != 'win32'",
+ "python_full_version < '3.11' and sys_platform != 'win32'",
+]
+dependencies = [
+ { name = "anyio", marker = "sys_platform != 'win32'" },
+ { name = "jsonschema", marker = "sys_platform != 'win32'" },
+ { name = "mcp", marker = "sys_platform != 'win32'" },
+ { name = "sniffio", marker = "sys_platform != 'win32'" },
+ { name = "typing-extensions", marker = "python_full_version < '3.11' and sys_platform != 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/78/a3/d31886d0723593228797c96eb54d07a19e561931a2771ed40b4a105bedc9/claude_agent_sdk-0.2.162.tar.gz", hash = "sha256:e4cf92f04f934d3b87d42be9ecbeb75c1a3d487a8dc8a299f7fed1ad9d0b476f", size = 365167, upload-time = "2026-09-29T20:06:54.593Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/6d/b6/ec37e32cb0782977e80cd00338f5073f150d6ecfa568e9fa1a1dd5c9eed3/claude_agent_sdk-0.2.162-py3-none-macosx_11_0_arm64.whl", hash = "sha256:a0d5ad6185a8bcaaff05f5648036e2484cab28bd1c2ccc474fc8969555b386f7", size = 92700771, upload-time = "2026-09-29T20:06:59.661Z" },
+ { url = "https://files.pythonhosted.org/packages/92/c4/1165688243cbf90d3532f509ea65bc337c3ba7f8229e26d7297e00a6ec2b/claude_agent_sdk-0.2.162-py3-none-macosx_11_0_x86_64.whl", hash = "sha256:faab97b03f04f9c3deb58ad85a0410404d40b6efb5547c9defc4fa986642fced", size = 97130408, upload-time = "2026-09-29T20:07:06.243Z" },
+ { url = "https://files.pythonhosted.org/packages/05/41/f0addb831c3aefbc02c811ef7415e89e889d1bc2ae976eb935c508c91c0d/claude_agent_sdk-0.2.162-py3-none-manylinux_2_17_aarch64.whl", hash = "sha256:332cfb5eb9190fc8de1ad427753417d7c345264e9d2bd2ffa312afcc2f5cf766", size = 102183342, upload-time = "2026-09-29T20:07:14.279Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/33/8a7acd75405d0cfde96c26219dbbac050aa23416ceefd5f62cf7aecfc22d/claude_agent_sdk-0.2.162-py3-none-manylinux_2_17_x86_64.whl", hash = "sha256:673598c9916f5f4d03ff49ab3128f856f0c6508135e8e258838fc3b6f7aafa49", size = 102525631, upload-time = "2026-09-29T20:07:23.411Z" },
]
[[package]]
@@ -698,7 +728,7 @@ name = "exceptiongroup"
version = "1.3.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" }
wheels = [
@@ -2225,7 +2255,8 @@ name = "sqlalchemy"
version = "2.0.54"
source = { registry = "https://pypi.org/simple" }
resolution-markers = [
- "python_full_version < '3.11'",
+ "python_full_version < '3.11' and sys_platform == 'win32'",
+ "python_full_version < '3.11' and sys_platform != 'win32'",
]
dependencies = [
{ name = "greenlet", marker = "(python_full_version < '3.11' and platform_machine == 'AMD64') or (python_full_version < '3.11' and platform_machine == 'WIN32') or (python_full_version < '3.11' and platform_machine == 'aarch64') or (python_full_version < '3.11' and platform_machine == 'amd64') or (python_full_version < '3.11' and platform_machine == 'ppc64le') or (python_full_version < '3.11' and platform_machine == 'win32') or (python_full_version < '3.11' and platform_machine == 'x86_64')" },
@@ -2283,8 +2314,10 @@ name = "sqlalchemy"
version = "2.1.0"
source = { registry = "https://pypi.org/simple" }
resolution-markers = [
- "python_full_version >= '3.13'",
- "python_full_version >= '3.11' and python_full_version < '3.13'",
+ "python_full_version >= '3.13' and sys_platform == 'win32'",
+ "python_full_version >= '3.13' and sys_platform != 'win32'",
+ "python_full_version >= '3.11' and python_full_version < '3.13' and sys_platform == 'win32'",
+ "python_full_version >= '3.11' and python_full_version < '3.13' and sys_platform != 'win32'",
]
dependencies = [
{ name = "typing-extensions", marker = "python_full_version >= '3.11'" },
diff --git a/vibe/claude_model_catalog.py b/vibe/claude_model_catalog.py
index 9234b1867..7d863d267 100644
--- a/vibe/claude_model_catalog.py
+++ b/vibe/claude_model_catalog.py
@@ -15,6 +15,7 @@ FALLBACK_CLAUDE_MODELS: tuple[str, ...] = (
"claude-opus-4-8",
"claude-opus-4-7",
"claude-opus-4-6",
+ "claude-sonnet-5-5",
"claude-sonnet-5",
"claude-sonnet-4-6",
"claude-haiku-4-5",
diff --git a/vibe/data/backend_models.json b/vibe/data/backend_models.json
index 4508a0fa9..9a346f549 100644
--- a/vibe/data/backend_models.json
+++ b/vibe/data/backend_models.json
@@ -3,15 +3,16 @@
"backends": {
"claude": {
"models": [
- {"id": "claude-fable-5-1", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
- {"id": "claude-fable-5", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
- {"id": "claude-opus-5-5", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
- {"id": "claude-opus-5", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
- {"id": "claude-opus-4-8", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
- {"id": "claude-opus-4-7", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
- {"id": "claude-opus-4-6", "reasoning_efforts": ["low", "medium", "high", "max"]},
- {"id": "claude-sonnet-5", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
- {"id": "claude-sonnet-4-6", "reasoning_efforts": ["low", "medium", "high", "max"]},
+ {"id": "claude-fable-5-1", "label": "claude-fable-5-1 [1M]", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
+ {"id": "claude-fable-5", "label": "claude-fable-5 [1M]", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
+ {"id": "claude-opus-5-5", "label": "claude-opus-5-5 [1M]", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
+ {"id": "claude-opus-5", "label": "claude-opus-5 [1M]", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
+ {"id": "claude-opus-4-8", "label": "claude-opus-4-8 [1M]", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
+ {"id": "claude-opus-4-7", "label": "claude-opus-4-7 [1M]", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
+ {"id": "claude-opus-4-6", "label": "claude-opus-4-6 [1M]", "reasoning_efforts": ["low", "medium", "high", "max"]},
+ {"id": "claude-sonnet-5-5", "label": "claude-sonnet-5-5 [1M]", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
+ {"id": "claude-sonnet-5", "label": "claude-sonnet-5 [1M]", "reasoning_efforts": ["low", "medium", "high", "xhigh", "max"]},
+ {"id": "claude-sonnet-4-6", "label": "claude-sonnet-4-6 [1M]", "reasoning_efforts": ["low", "medium", "high", "max"]},
{"id": "claude-haiku-4-5", "reasoning_efforts": ["low", "medium", "high"]},
{"id": "claude-opus-4-5", "reasoning_efforts": ["low", "medium", "high"]},
{"id": "claude-sonnet-4-5", "reasoning_efforts": ["low", "medium", "high"]},
diff --git a/vibe/data/claude_models.json b/vibe/data/claude_models.json
index e4bba4c2a..99bbb14f8 100644
--- a/vibe/data/claude_models.json
+++ b/vibe/data/claude_models.json
@@ -13,6 +13,7 @@
"claude-opus-4-1",
"claude-opus-4-1-20250805",
"claude-opus-4-0",
+ "claude-sonnet-5-5",
"claude-sonnet-5",
"claude-sonnet-4-6",
"claude-sonnet-4-5",