From 20806f406f4e90c4e759dfbfec25a29301d27597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E9=98=BF=E6=B1=9F=28Relakkes?= =?UTF-8?q?=29?= Date: Sat, 18 Apr 2026 20:34:56 +0800 Subject: [PATCH] chore: update cluade model name --- docs/ui-clone/01-requirements.md | 4 ++-- docs/ui-clone/02-ui-design-spec.md | 10 ++++---- .../session_controls/code.html | 2 +- src/commands/effort/effort.tsx | 2 +- src/commands/model/model.tsx | 2 +- src/components/EffortCallout.tsx | 2 +- src/constants/figures.ts | 2 +- src/constants/prompts.ts | 8 +++---- src/entrypoints/sdk/coreSchemas.ts | 2 +- .../notifs/useModelMigrationNotifications.tsx | 2 +- src/migrations/migrateFennecToOpus.ts | 2 +- src/migrations/migrateLegacyOpusToCurrent.ts | 2 +- src/screens/Doctor.tsx | 2 +- src/screens/REPL.tsx | 2 +- .../__tests__/e2e/business-flow.test.ts | 24 +++++++++---------- src/server/__tests__/e2e/full-flow.test.ts | 2 +- src/server/__tests__/providers-real.test.ts | 10 ++++---- src/server/__tests__/sessions.test.ts | 6 ++--- src/server/__tests__/settings.test.ts | 18 +++++++------- src/server/__tests__/team-watcher.test.ts | 2 +- src/server/__tests__/teams.test.ts | 2 +- src/server/api/models.ts | 8 +++---- src/services/api/errors.ts | 2 +- src/skills/bundled/claudeApiContent.ts | 4 ++-- src/tools/FileReadTool/FileReadTool.ts | 2 +- src/utils/__tests__/cronTasks.test.ts | 2 +- src/utils/attribution.ts | 4 ++-- src/utils/betas.ts | 2 +- src/utils/commitAttribution.ts | 2 +- src/utils/config.ts | 2 +- src/utils/cronTasks.ts | 2 +- src/utils/effort.ts | 6 ++--- src/utils/fastMode.ts | 2 +- src/utils/model/agent.ts | 4 ++-- src/utils/model/bedrock.ts | 2 +- src/utils/model/configs.ts | 10 ++++---- src/utils/model/model.ts | 22 ++++++++--------- src/utils/model/modelAllowlist.ts | 2 +- src/utils/model/modelOptions.ts | 24 +++++++++---------- src/utils/model/modelStrings.ts | 6 ++--- src/utils/modelCost.ts | 6 ++--- src/utils/planModeV2.ts | 2 +- src/utils/settings/types.ts | 2 +- src/utils/swarm/teammateModel.ts | 2 +- src/utils/undercover.ts | 4 ++-- 45 files changed, 116 insertions(+), 116 deletions(-) diff --git a/docs/ui-clone/01-requirements.md b/docs/ui-clone/01-requirements.md index 572b920e..c83da3c8 100644 --- a/docs/ui-clone/01-requirements.md +++ b/docs/ui-clone/01-requirements.md @@ -233,8 +233,8 @@ Leader 视图(默认) | 模型 | 描述 | |------|------| -| Opus 4.6 | Most capable for ambitious work | -| Opus 4.6 1M | Most capable for ambitious work | +| Opus 4.7 | Most capable for ambitious work | +| Opus 4.7 1M | Most capable for ambitious work | | Sonnet 4.6 | Most efficient for everyday tasks | | Haiku 4.5 | Fastest for quick answers | diff --git a/docs/ui-clone/02-ui-design-spec.md b/docs/ui-clone/02-ui-design-spec.md index adf736dd..d61655f9 100644 --- a/docs/ui-clone/02-ui-design-spec.md +++ b/docs/ui-clone/02-ui-design-spec.md @@ -394,7 +394,7 @@ │ │ Find a small todo in the codebase and do it │ │ │ │ │ │ │ │ ┌─────────────────┐ ┌──────────────┐│ │ -│ │ │+ ⚙ Ask perms ▾ │ │Opus 4.6 1M ▾ 🎤││ +│ │ │+ ⚙ Ask perms ▾ │ │Opus 4.7 1M ▾ 🎤││ │ │ └─────────────────┘ └──────────────┘│ │ │ └────────────────────────────────────────────────┘ │ └─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─┘ @@ -459,10 +459,10 @@ ``` ┌──────────────────────────────────┐ -│ Opus 4.6 │ +│ Opus 4.7 │ │ Most capable for ambitious work │ │──────────────────────────────────│ -│ Opus 4.6 1M ✓ │ +│ Opus 4.7 1M ✓ │ │ Most capable for ambitious work │ │──────────────────────────────────│ │ Sonnet 4.6 │ @@ -694,7 +694,7 @@ │ │ 24 hours. Summarize what changed, │ │ │ │ call out any risky patterns... │ │ │ │ │ │ -│ │ ⚙ Ask permissions ▾ Opus 4.6 1M ▾ │ │ +│ │ ⚙ Ask permissions ▾ Opus 4.7 1M ▾ │ │ │ │ [📁 Select folder] □worktree │ │ │ └──────────────────────────────────────┘ │ │ │ @@ -875,7 +875,7 @@ ### 8.4 模型切换流程 ``` -用户点击模型名称 (Opus 4.6 1M) +用户点击模型名称 (Opus 4.7 1M) → 展开下拉菜单(模型列表 + Effort 等级) → 用户选择新模型 → 或调整 Effort 等级 diff --git a/docs/ui-clone/stitch_claudecode_haha_frontend_design/session_controls/code.html b/docs/ui-clone/stitch_claudecode_haha_frontend_design/session_controls/code.html index afd88836..fa56b252 100644 --- a/docs/ui-clone/stitch_claudecode_haha_frontend_design/session_controls/code.html +++ b/docs/ui-clone/stitch_claudecode_haha_frontend_design/session_controls/code.html @@ -258,7 +258,7 @@