Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(tools): 补齐 claude/codex/ripgrep 下载脚本的 linux-arm64 平台支持 (#251)
zhanghengxdc29902444977
diff --git a/apps/desktop/native/sqlite-vec/linux-arm64/vec0.so b/apps/desktop/native/sqlite-vec/linux-arm64/vec0.sonew file mode 100644index 0000000000..be6f695a4e--- /dev/null+++ b/apps/desktop/native/sqlite-vec/linux-arm64/vec0.so@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:0b84cbd06418ca3040827deddd650539be05be0f657952426b926c8606217437+size 156520diff --git a/docs/dev-rules/environment-setup.md b/docs/dev-rules/environment-setup.mdindex 6194ed7e9e..b33817f5fb 100644--- a/docs/dev-rules/environment-setup.md+++ b/docs/dev-rules/environment-setup.md@@ -34,6 +34,25 @@ pnpm install新 worktree 不共享 `node_modules`。确认 checkout 已完成且根 `package.json` 存在后,在该 worktree 内重新运行 `pnpm install`。+## Linux:Electron SUID sandbox 权限++较新的 Ubuntu(23.10+ 默认用 AppArmor 限制非特权 user namespace)上,Electron 会退回+SUID sandbox,dev 启动时报+`The SUID sandbox helper binary was found, but is not configured correctly`。修复:++```bash+sudo chown root:root node_modules/electron/dist/chrome-sandbox+sudo chmod 4755 node_modules/electron/dist/chrome-sandbox+```++注意:++- `node_modules/electron/dist` 由 electron postinstall 解包,**每次重装依赖或 electron+ 升版本后该权限都会被重置**,需要重跑上面两条命令(每个 worktree 各自独立)。+- 只做这两条针对性修复;不要放开系统级 user namespace 限制,更不要用 `--no-sandbox`+ 绕过(违反 Electron 安全边界,参见+ [`electron-security-and-process-boundaries.md`](electron-security-and-process-boundaries.md))。+## 不变量- submodule 版本由父仓 gitlink 锁定;普通同步不得使用 `git submodule update --remote`。diff --git a/tools/claude/update.mjs b/tools/claude/update.mjsindex 21c54f0f4f..2f24cd32ad 100644--- a/tools/claude/update.mjs+++ b/tools/claude/update.mjs@@ -47,6 +47,10 @@ 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 release manifest+ // (claude-code-releases/<version>/manifest.json): linux-arm64 (glibc) is+ // published with the same plain `claude` binary name and a checksum entry.+ { key: 'linux-arm64', file: 'claude' },{ key: 'win32-x64', file: 'claude.exe' },];diff --git a/tools/codex/update.mjs b/tools/codex/update.mjsindex 4feb16eeb7..3da63f1f86 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: aarch64 Linux is likewise published as the musl tarball only.+ 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.mjsindex 0db9301db0..c7da3353ee 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: aarch64 Linux only ships a gnu/glibc tarball (no musl variant).+ triple: 'aarch64-unknown-linux-gnu',+ archiveExt: 'tar.gz',+ binFile: 'rg',+ },{key: 'win32-x64',triple: 'x86_64-pc-windows-msvc',