Sign inSign up

tayloryan/lunaroute-opencode:0.1.0

Manifest digest

sha256:4ee0f86a89eda57e3f37b263f1ba3d3ff17a7ec9f798ef808c6369f3d0d5bbe3

Last pushed

12 days by tayloryan

Type

Sandbox Kit

Manifest digest

sha256:4ee0f86a89eda57e3f37b263f1ba3d3ff17a7ec9f798ef808c6369f3d0d5bbe3

yaml
schemaVersion: "2"
kind: sandbox
name: lunaroute-opencode
version: 0.1.0
displayName: OpenCode on LunaRoute (test kit)
description: Test kit for the Docker Inference one-pager. OpenCode pointed at the LunaRoute gateway through a static provider block; the key arrives as a platform custom secret named LUNAROUTE_API_KEY.
sandbox:
    image: docker.io/sbx/opencode-image:latest
    entrypoint:
        - opencode
agentInstructions:
    filename: AGENTS.md
permissions:
    network:
        allow:
            - gw.lunaroute.com
            - opencode.ai
            - '*.opencode.ai'
            - registry.npmjs.org
            - '**.githubusercontent.com'
            - codeload.github.com
environment:
    variables:
        OPENCODE_CONFIG_CONTENT: '{"$schema":"https://opencode.ai/config.json","model":"lunaroute/deepseek-4.1-flash","small_model":"lunaroute/deepseek-4.1-flash","enabled_providers":["lunaroute"],"provider":{"lunaroute":{"npm":"@ai-sdk/openai-compatible","name":"LunaRoute","options":{"baseURL":"https://gw.lunaroute.com/v1","apiKey":"{env:LUNAROUTE_API_KEY}"},"models":{"deepseek-4.1-flash":{"name":"DeepSeek 4.1 Flash"},"glm-5.3":{"name":"GLM 5.3"}}}}}'