diff --git a/kiloclaw/Dockerfile b/kiloclaw/Dockerfile index 445fc8353..9fbccaef8 100644 --- a/kiloclaw/Dockerfile +++ b/kiloclaw/Dockerfile @@ -25,7 +25,7 @@ RUN npm install -g pnpm # Install OpenClaw # Pin to specific version for reproducible builds -RUN npm install -g openclaw@2026.2.9 \ +RUN npm install -g openclaw@2026.2.19 \ && openclaw --version # Create non-root user for runtime diff --git a/kiloclaw/openclaw-pairing-list.js b/kiloclaw/openclaw-pairing-list.js index a4c2047d9..4094d24b3 100644 --- a/kiloclaw/openclaw-pairing-list.js +++ b/kiloclaw/openclaw-pairing-list.js @@ -27,7 +27,7 @@ for (const channel of channels) { try { const output = execFileSync('openclaw', ['pairing', 'list', channel, '--json'], { encoding: 'utf8', - timeout: 10000, + timeout: 30000, stdio: ['pipe', 'pipe', 'pipe'], env: { ...process.env, HOME: '/root' }, }); diff --git a/kiloclaw/src/durable-objects/kiloclaw-instance.ts b/kiloclaw/src/durable-objects/kiloclaw-instance.ts index bfb6778d4..684e4bb3a 100644 --- a/kiloclaw/src/durable-objects/kiloclaw-instance.ts +++ b/kiloclaw/src/durable-objects/kiloclaw-instance.ts @@ -595,7 +595,7 @@ export class KiloClawInstance extends DurableObject { flyConfig, flyMachineId, ['/usr/bin/env', 'HOME=/root', 'node', '/usr/local/bin/openclaw-pairing-list.js'], - 20 + 60 ); const empty = { @@ -663,7 +663,7 @@ export class KiloClawInstance extends DurableObject { flyConfig, flyMachineId, ['/usr/bin/env', 'HOME=/root', 'openclaw', 'pairing', 'approve', channel, code, '--notify'], - 15 + 60 ); const success = result.exit_code === 0;