feat: route mode cards through AI assistant

This commit is contained in:
vee
2026-09-09 08:32:51 +08:00
parent 93103c2579
commit 2af8b8f9ac
8 changed files with 145 additions and 22 deletions
@@ -19,7 +19,7 @@ def test_console_contains_ai_assistant_surface():
def test_codex_assistant_assets_are_versioned_together_in_the_service_worker():
service_worker = (ROOT / "apps/web-console/service-worker.js").read_text(encoding="utf-8")
assert 'const CACHE_VERSION = "cognitive-agent-pad-v275"' in service_worker
assert 'const CACHE_VERSION = "cognitive-agent-pad-v276"' in service_worker
assert '"/assistant-chat.css?v=codex-assistant-26"' in service_worker
assert '"/assistant-chat.js?v=codex-assistant-26"' in service_worker