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.

Fix Zod schema messages and close superRefine

Reflow multi-line error messages into single-line strings and add the
missing closing }); to correctly terminate the SandboxConfigSchema
superRefine call

+3 -4
+3 -4
apps/sandbox/src/types/sandbox.ts
··· 154 154 if (!data.redactedVercelApiKey) { 155 155 ctx.addIssue({ 156 156 code: z.ZodIssueCode.custom, 157 - message: 158 - "redactedVercelApiKey is required when provider is 'vercel'", 157 + message: "redactedVercelApiKey is required when provider is 'vercel'", 159 158 path: ["redactedVercelApiKey"], 160 159 }); 161 160 } 162 161 if (!data.vercelProjectId) { 163 162 ctx.addIssue({ 164 163 code: z.ZodIssueCode.custom, 165 - message: 166 - "vercelProjectId is required when provider is 'vercel'", 164 + message: "vercelProjectId is required when provider is 'vercel'", 167 165 path: ["vercelProjectId"], 168 166 }); 169 167 } 170 168 } 169 + }); 171 170 172 171 export const StartSandboxInputSchema = z.object({ 173 172 repo: z.string().optional(),