Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

feat(tools): agent 二进制更新脚本支持 linux-arm64

Liziea495f3ea7ef
diff --git a/tools/claude/latest.json b/tools/claude/latest.json
index fe44d75f3e..26107edc5f 100644
--- a/tools/claude/latest.json
+++ b/tools/claude/latest.json
@@ -91,6 +91,11 @@
"url": "https://downloads.claude.ai/claude-code-releases/2.1.215/linux-x64/claude",
"sha256": "c1efffaaf370aa187cb6a09dd93d4e511c646899b0078476f83791b664bde7fe",
"size": 265239536
+ },
+ "linux-arm64": {
+ "url": "https://downloads.claude.ai/claude-code-releases/2.1.215/linux-arm64/claude",
+ "sha256": "2b43a3d5b0787217e5d7381fad42c7314292546fe9db9eb8b9b379de90509b30",
+ "size": 262060960
}
},
"scripts": {
diff --git a/tools/claude/update.mjs b/tools/claude/update.mjs
index 21c54f0f4f..4ffe6b9684 100644
--- a/tools/claude/update.mjs
+++ b/tools/claude/update.mjs
@@ -47,6 +47,9 @@ const PLATFORMS = [
// Verified 2026-06-17 by HEAD request against downloads.claude.ai for the
// latest npm version: linux-x64 uses the same plain `claude` binary name.
{ key: 'linux-x64', file: 'claude' },
+ // Verified 2026-07-24 against the official manifest.json for 2.1.215:
+ // linux-arm64 (glibc, same family as linux-x64) is published with a checksum.
+ { key: 'linux-arm64', file: 'claude' },
{ key: 'win32-x64', file: 'claude.exe' },
];
diff --git a/tools/codex/latest.json b/tools/codex/latest.json
index 28905358b7..1c803b921b 100644
--- a/tools/codex/latest.json
+++ b/tools/codex/latest.json
@@ -8,6 +8,11 @@
"url": "https://github.com/openai/codex/releases/download/rust-v0.144.6/codex-x86_64-unknown-linux-musl.tar.gz",
"sha256": "6a9def51a0ad8cea6684d8eb3bf033c89f33e3bc5cfe492f1a1e0a718451a1c6",
"size": 109369631
+ },
+ "linux-arm64": {
+ "url": "https://github.com/openai/codex/releases/download/rust-v0.144.6/codex-aarch64-unknown-linux-musl.tar.gz",
+ "sha256": "8eddae5e6c009dff9ba51ae1bfe3bdd9ff4c1ccc93a48cc6860db1cd9fdf11be",
+ "size": 101269986
}
}
}
diff --git a/tools/codex/update.mjs b/tools/codex/update.mjs
index 4feb16eeb7..74e805114b 100644
--- a/tools/codex/update.mjs
+++ b/tools/codex/update.mjs
@@ -60,6 +60,13 @@ const PLATFORMS = [
asset: 'codex-x86_64-unknown-linux-musl.tar.gz',
binFile: 'codex',
},
+ {
+ key: 'linux-arm64',
+ // Verified 2026-07-24 from the official openai/codex GitHub release asset
+ // list (rust-v0.144.6): aarch64 Linux is also published as a musl tarball.
+ asset: 'codex-aarch64-unknown-linux-musl.tar.gz',
+ binFile: 'codex',
+ },
{
key: 'win32-x64',
asset: 'codex-x86_64-pc-windows-msvc.exe.tar.gz',
diff --git a/tools/ripgrep/update.mjs b/tools/ripgrep/update.mjs
index 0db9301db0..a5861545f3 100644
--- a/tools/ripgrep/update.mjs
+++ b/tools/ripgrep/update.mjs
@@ -52,6 +52,14 @@ const PLATFORMS = [
archiveExt: 'tar.gz',
binFile: 'rg',
},
+ {
+ key: 'linux-arm64',
+ // Verified 2026-07-24 from the official BurntSushi/ripgrep release asset
+ // list (15.1.0): aarch64 Linux only ships a gnu/glibc tarball, no musl one.
+ triple: 'aarch64-unknown-linux-gnu',
+ archiveExt: 'tar.gz',
+ binFile: 'rg',
+ },
{
key: 'win32-x64',
triple: 'x86_64-pc-windows-msvc',