the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move repo clone after params retrieval

+9 -9
+9 -9
apps/cf-sandbox/src/index.ts
··· 489 489 id: c.req.param("sandboxId"), 490 490 }); 491 491 492 - if (record.repo) { 493 - cfsandbox 494 - .clone(record.repo) 495 - .then(() => 496 - consola.success(`Git Repository successfully cloned: ${record.repo}`), 497 - ) 498 - .catch((e) => consola.error(`Failed to Clone Repository: ${e}`)); 499 - } 500 - 501 492 const params = await Promise.all([ 502 493 c.var.db 503 494 .select() ··· 579 570 params[4].length > 0 && 580 571 cfsandbox.setupTailscale(await decrypt(params[4][0].authKey)), 581 572 ]); 573 + 574 + if (record.repo) { 575 + cfsandbox 576 + .clone(record.repo) 577 + .then(() => 578 + consola.success(`Git Repository successfully cloned: ${record.repo}`), 579 + ) 580 + .catch((e) => consola.error(`Failed to Clone Repository: ${e}`)); 581 + } 582 582 583 583 try { 584 584 if (sessionId) {