Sign inSign up

sbx/code-server-kit:20260820-745504d40a3fb464970835722823a87747feb97c

Manifest digest

sha256:005e7f98df766d71bee01ed8aaa47d222b35ddcf6a31680dc23db3bf934b67c3

Last pushed

27 days by dockerpublicbot

Type

Sandbox Kit

Manifest digest

sha256:005e7f98df766d71bee01ed8aaa47d222b35ddcf6a31680dc23db3bf934b67c3

yaml
schemaVersion: "2"
kind: mixin
name: code-server
displayName: code-server (web VS Code) with Claude Code
description: Runs code-server on port 8080, opened on the sandbox workspace, with the Claude Code VS Code extension preinstalled. Pair with the built-in claude agent so the extension inherits the sandbox's Anthropic credentials.
requires:
    agent: claude
permissions:
    network:
        allow:
            - code-server.dev
            - raw.githubusercontent.com
            - github.com
            - api.github.com
            - objects.githubusercontent.com
            - release-assets.githubusercontent.com
            - open-vsx.org
            - openvsx.eclipsecontent.org
ports:
    - container: 8080
      protocol: tcp
      name: code-server
setup:
    install:
        - command: curl -fsSL https://code-server.dev/install.sh | sh
          description: Install code-server via the upstream install script
        - command: code-server --install-extension anthropic.claude-code
          user: "1000"
          description: Pre-install the Claude Code extension from open-vsx so you have a native chat panel that talks to the claude agent's credentials
    startup:
        - command:
            - sh
            - -c
            - nohup /home/agent/.local/bin/start-code-server.sh > /tmp/code-server.log 2>&1 &
          user: "1000"
          description: Start code-server in the background, opened on the primary workspace
    files:
        - path: /home/agent/.local/bin/start-code-server.sh
          content: |
            exec code-server --bind-addr 0.0.0.0:8080 --auth none "${WORKDIR}"
          mode: "0755"
          description: Startup wrapper with the workspace path baked in at sandbox start