sha256:75e8cd285c328c14a0917db9e2bd28c4d3f00d1a23894c1427ed97a024de6eed
Last pushed
3 days by kegeschxit
Type
Sandbox Kit
Manifest digest
sha256:75e8cd285c328c14a0917db9e2bd28c4d3f00d1a23894c1427ed97a024de6eed
schemaVersion: "3"
displayName: Opencode Trax
description: Adds the Trax AI gateway as a provider to the opencode sandbox via the @xitaso/opencode-trax plugin.
version: 0.3.0
licenses:
- Apache-2.0
- MIT
kind: mixin
requires:
- opencode
capabilities:
- type: com.docker.sandbox/network-policy@1
config:
install:
allow:
- registry.npmjs.org
runtime:
allow:
- trax.xdc.xitaso.net
- type: com.docker.sandbox/git-identity@1
- type: com.docker.sandbox/lifecycle@1
config:
install:
- command:
- sh
- -c
- opencode plugin add @xitaso/opencode-trax
description: Install the @xitaso/opencode-trax plugin
user: agent
- command:
- sh
- -c
- mkdir -p ~/.config/opencode && f=~/.config/opencode/opencode.json && [ -f "$f" ] || echo '{}' > "$f" && jq '.enabled_providers = ["trax"]' "$f" > "$f.tmp" && mv "$f.tmp" "$f"
description: Enable only the trax provider (disable all others)
user: agent
kits:
- ref: docker.io/sbx/git-identity
digest: sha256:3f8eff6e6c9129c9a491abecfd828896d167e5572e9abd3521d54ad381685b3a