Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .changeset/bump-bundled-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"helmor": patch
---

Update the bundled Claude Code, Codex, Cursor, OpenCode, and Kimi coding agents to their latest versions.
Update the bundled Claude Code, Codex, Cursor, and OpenCode coding agents to their latest versions.
102 changes: 51 additions & 51 deletions sidecar/bun.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions sidecar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"typecheck": "bunx tsc --noEmit"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "0.3.197",
"@anthropic-ai/claude-code": "2.1.197",
"@cursor/sdk": "1.0.22",
"@openai/codex": "0.142.5",
"@opencode-ai/sdk": "1.17.12",
"opencode-ai": "1.17.12"
"@anthropic-ai/claude-agent-sdk": "0.3.205",
"@anthropic-ai/claude-code": "2.1.205",
"@cursor/sdk": "1.0.23",
"@openai/codex": "0.144.0",
"@opencode-ai/sdk": "1.17.18",
"opencode-ai": "1.17.18"
},
"devDependencies": {
"@types/bun": "^1.3.11",
Expand Down
20 changes: 20 additions & 0 deletions sidecar/scripts/vendor-platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ export const CODEX_SHA256: Readonly<
arm64: "51f8db517b93a086e8bca7a108cac81a313a6eebcfb3336ca105bae49f11776c",
x64: "f3ef09ed3e5f3140888210109a725e0502922b34da18a9dd00c5581d5015d4f9",
},
"0.144.0": {
arm64: "cb744fdc070465597c58d058bf11d04b4c8ed35952e4d9ce3beeca9216d8580d",
x64: "fdd8158fdd0088fe577f2811b8f09b01be09907a0d63bbd8b3a658e4ee96dda0",
},
};

export const CLAUDE_CODE_SHA256: Readonly<
Expand Down Expand Up @@ -114,6 +118,14 @@ export const CLAUDE_CODE_SHA256: Readonly<
arm64: "f5a7b05f69c3ab84c224be287c1859781f7abf77c08dff48fb100efffa76be6e",
x64: "8b70562c29fcc6b0b521106125b08a9e012a6cd05d5c7b87b0314f0ad3dae2b1",
},
"2.1.202": {
arm64: "18faddfb6b9ef208a727bfe5bc5e01f53892d8fa2fb0d473c4ce98532f360372",
x64: "81a7fc473545a52e7775bc0c39cd5a2878443266a97850baa6048961c25c31a0",
},
"2.1.205": {
arm64: "2491465de769953037bb8fd315aafecbe3607325b1fb07efbae4ca7bd5540b28",
x64: "bb6ae310787ca341ff6cef1e95ba9e610082ef5ce5bc1ed88893207800b0970b",
},
};

export const OPENCODE_SHA256: Readonly<
Expand Down Expand Up @@ -143,6 +155,14 @@ export const OPENCODE_SHA256: Readonly<
arm64: "76462e5cd3da58f7e239870a56ba1915425edc107a0f816a48774b548a9978e3",
x64: "51a7c7022ed9bc9c73136e2b47970e5bfbbe8c398d2a53893b34322884a678c3",
},
"1.17.14": {
arm64: "4082d795390892d9512e5694caba575e15eef97145653d6f999a5152301fa761",
x64: "6e38a0b307895554086e6c02a19670a02f849b975b954920225d742a337dc5b6",
},
"1.17.18": {
arm64: "6fb43e2d8728fa0e2a590d49c45c63489ecda33a6ed4e7064c34b06b0df5081d",
x64: "2192df6595f2f8441ef1b6bee7a63d81c0211b4889cfe34de868c6741ec5cdb2",
},
};

// Kimi Code CLI ships per-platform native binaries (Node SEA) as zip release
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/maintenance/paste_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ pub fn destination_dir(root: &Path, session_id: &str) -> Result<PathBuf> {
bail!(
"paste-cache: rejecting malformed session_id (len={}, sample prefix={:?})",
trimmed.len(),
&trimmed.chars().take(8).collect::<String>(),
trimmed.chars().take(8).collect::<String>(),
);
}
Ok(root.join(trimmed))
Expand Down
20 changes: 9 additions & 11 deletions src-tauri/src/workspace/lifecycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1291,17 +1291,15 @@ pub fn execute_archive_plan(plan: &ArchivePreparedPlan) -> Result<ArchiveWorkspa
);
}
let git_started = std::time::Instant::now();
let archive_commit = match git_ops::current_workspace_head_commit(workspace_dir) {
Ok(commit) => {
git_ops::verify_commit_exists(repo_root, &commit)?;
tracing::debug!(
workspace_id,
elapsed_ms = git_started.elapsed().as_millis(),
"Archive: HEAD resolve + verify finished"
);
commit
}
Err(error) => return Err(error),
let archive_commit = {
let commit = git_ops::current_workspace_head_commit(workspace_dir)?;
git_ops::verify_commit_exists(repo_root, &commit)?;
tracing::debug!(
workspace_id,
elapsed_ms = git_started.elapsed().as_millis(),
"Archive: HEAD resolve + verify finished"
);
commit
};

// Run archive script (best-effort, don't block archive on script failure).
Expand Down
Loading