Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Consensys/c0 --skill update-opencode-sandbox명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | update-opencode-sandbox |
| description | Update OpenCode And Sandbox |
| disable-model-invocation | true |
Update the OpenCode integration and Cloudflare Sandbox stack, validate the result end to end, and keep this command current if the workflow changes.
nub for all Node dependency changes.@cloudflare/containers changes, keep the root patchedDependencies entry and the matching patches/@cloudflare__containers@<version>.patch aligned with the installed version. As of 0.3.0, the local no-body Response patch is still required.package.jsonapps/api/package.jsonpatches/@cloudflare__containers@*.patchpackages/sandbox/Dockerfilenub.lockpackages/api/src/server/background/sandbox/providers/cloudflare-provider.tstests/integration/opencode-config-refresh.test.tstests/e2e/opencode-workflow.test.tspackages/api/src/server/background/sandbox/providers/cloudflare-provider.ts to match the current SDK instead of preserving old call shapes.nub exec tsc --noEmit -p tsconfig.json (from repo root; uses root tsconfig.json)nub run --filter @c0/background-api typecheck and report that result separately so the upgraded surface is still verified.McpServer types from two @modelcontextprotocol/sdk versions, align on a single version: root package.json → overrides["@modelcontextprotocol/sdk"] matching apps/api, then nub install and re-run tsc.nub exec vitest run tests/e2e/opencode-workflow.test.ts (or nub run test:e2e from root, which sets RUN_E2E=1)INTERNAL_CALLBACK_SECRET so the test can generate its own internal bearer token, or pass INTERNAL_TOKEN explicitly. Requests also need an acting x-user-id; the default local seeded user is user-session-run unless overridden.nub exec vitest run tests/integration/opencode-config-refresh.test.ts for OpenCode config wiring without a live Worker.docker build -t sandbox-check ./packages/sandbox to confirm the image still pulls cloudflare/sandbox:<version>-opencode and the derived image builds successfully. OpenCode is baked into the -opencode base image now; this repo's Dockerfile should only add repo-specific runtime dependencies such as provider packages./sessions/:id/events for both token and execution_complete. A repo-less session is enough to verify the OpenCode workflow; repo-backed sessions additionally require a linked GitHub identity for the acting user.1337 is free first (on macOS, lsof -i :1337 may show the service name menandmice-dns for that port).curl https://opencode.ai/install1337.cursor/commands/update-opencode-sandbox.md before you finish.