Sign inSign up

docker/sbx-kit-amp-mixin:1.0.0

Multi-platform
Manifest digest

sha256:abd106ce7f06f6874914d7d04ce5c370311e8404323c7774b57a8f6f217f7b03

Last pushed

about 1 month by cdupuis

Type

Sandbox Kit

Manifest digest

sha256:abd106ce7f06f6874914d7d04ce5c370311e8404323c7774b57a8f6f217f7b03

yaml
schemaVersion: "3"
displayName: Amp (mixin)
description: The frontier coding agent as a mixin -- Amp's own installer, the Amp credential, and its egress. Layer it onto a shell base and run `amp`.
version: 1.0.0
kind: mixin
provides:
    - amp
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        install:
            allow:
                - ampcode.com
                - '*.ampcode.com'
        runtime:
            allow:
                - ampcode.com
                - '*.ampcode.com'
    - type: com.docker.sandbox/credential@1
      optional: true
      config:
        apiKey:
            inject:
                - domain: ampcode.com
                  format: Bearer %s
                  header: Authorization
            name: AMP_API_KEY
        phase: runtime
        service: amp
      description: Amp API access
    - type: com.docker.sandbox/lifecycle@1
      config:
        install:
            - command: curl -fsSL https://ampcode.com/install.sh | bash
              description: Install Amp
              user: "1000"
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/amp-mixin/amp-mixin-context.md