Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 36 additions & 18 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"dist": "electron-builder",
"dist:manifest": "node scripts/generate-update-manifest.mjs",
"dist:upload": "node scripts/upload-release.mjs",
"claude:download": "node scripts/download-claude-binary.mjs --version=2.1.45",
"claude:download:all": "node scripts/download-claude-binary.mjs --version=2.1.45 --all",
"claude:download": "node scripts/download-claude-binary.mjs --version=2.1.112",
"claude:download:all": "node scripts/download-claude-binary.mjs --version=2.1.112 --all",
"codex:download": "node scripts/download-codex-binary.mjs --version=0.98.0",
"codex:download:all": "node scripts/download-codex-binary.mjs --version=0.98.0 --all",
"release": "rm -rf release && bun i && bun run claude:download && bun run codex:download && bun run build && bun run package:mac && bun run dist:manifest && ./scripts/upload-release-wrangler.sh",
Expand All @@ -36,7 +36,7 @@
},
"dependencies": {
"@ai-sdk/react": "^3.0.14",
"@anthropic-ai/claude-agent-sdk": "0.2.45",
"@anthropic-ai/claude-agent-sdk": "0.2.112",
"@git-diff-view/react": "^0.0.35",
"@git-diff-view/shiki": "^0.0.36",
"@mcpc-tech/acp-ai-provider": "^0.2.4",
Expand Down
1 change: 1 addition & 0 deletions src/renderer/features/agents/atoms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ export const subChatModeAtomFamily = atomFamily((subChatId: string) =>
// Model ID to full Claude model string mapping
export const MODEL_ID_MAP: Record<string, string> = {
opus: "opus",
"opus[1m]": "opus[1m]",
sonnet: "sonnet",
haiku: "haiku",
}
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/features/agents/lib/models.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export const CLAUDE_MODELS = [
{ id: "opus", name: "Opus", version: "4.6" },
{ id: "opus", name: "Opus", version: "4.7" },
{ id: "opus[1m]", name: "Opus", version: "4.7 1M" },
{ id: "sonnet", name: "Sonnet", version: "4.6" },
{ id: "haiku", name: "Haiku", version: "4.5" },
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { cn } from "../../../lib/utils"
// Claude model context windows
const CONTEXT_WINDOWS = {
opus: 200_000,
"opus[1m]": 1_000_000,
sonnet: 200_000,
haiku: 200_000,
} as const
Expand Down