mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-07-09 17:18:34 +00:00
fix: switch ZeroClaw install to bootstrap.sh with --prefer-prebuilt (#1836)
The pinned scripts/install.sh is deprecated and does `git clone --depth 1` of the latest ZeroClaw main branch, pulling in commit 63f485e which added leak_detector.rs with Rust 2021 edition string literal errors. Fix by switching to scripts/bootstrap.sh (the canonical installer) and adding --prefer-prebuilt so ZeroClaw installs from a pre-built release binary instead of compiling from source. The v0.1.6 release binary was compiled before the problematic code was merged. Fixes #1829 Agent: issue-fixer Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
31c6bec2f6
commit
8812f693c0
2 changed files with 3 additions and 3 deletions
|
|
@ -398,7 +398,7 @@ export function openCodeInstallCmd(): string {
|
|||
// ─── Default Agent Definitions ───────────────────────────────────────────────
|
||||
|
||||
const ZEROCLAW_INSTALL_URL =
|
||||
"https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/a117be64fdaa31779204beadf2942c8aef57d0e5/scripts/install.sh";
|
||||
"https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/a117be64fdaa31779204beadf2942c8aef57d0e5/scripts/bootstrap.sh";
|
||||
|
||||
export function createAgents(runner: CloudRunner): Record<string, AgentConfig> {
|
||||
return {
|
||||
|
|
@ -486,7 +486,7 @@ export function createAgents(runner: CloudRunner): Record<string, AgentConfig> {
|
|||
installAgent(
|
||||
runner,
|
||||
"ZeroClaw",
|
||||
`curl -LsSf ${ZEROCLAW_INSTALL_URL} | bash -s -- --install-rust --install-system-deps`,
|
||||
`curl -LsSf ${ZEROCLAW_INSTALL_URL} | bash -s -- --install-rust --install-system-deps --prefer-prebuilt`,
|
||||
),
|
||||
envVars: (apiKey) => [
|
||||
`OPENROUTER_API_KEY=${apiKey}`,
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@
|
|||
"name": "ZeroClaw",
|
||||
"description": "Fast, small, fully autonomous AI assistant infrastructure \u2014 deploy anywhere, swap anything",
|
||||
"url": "https://github.com/zeroclaw-labs/zeroclaw",
|
||||
"install": "curl -LsSf https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/a117be64fdaa31779204beadf2942c8aef57d0e5/scripts/install.sh | bash -s -- --install-rust --install-system-deps",
|
||||
"install": "curl -LsSf https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/a117be64fdaa31779204beadf2942c8aef57d0e5/scripts/bootstrap.sh | bash -s -- --install-rust --install-system-deps --prefer-prebuilt",
|
||||
"launch": "zeroclaw agent",
|
||||
"env": {
|
||||
"OPENROUTER_API_KEY": "${OPENROUTER_API_KEY}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue