feat: upgraded to the v2 schema for sbx mixins

This commit is contained in:
2026-08-28 18:25:41 -06:00
parent 40a581c434
commit 23c733fc12
2 changed files with 16 additions and 14 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
schemaVersion: "1" schemaVersion: '2'
kind: mixin kind: mixin
name: agent-hello name: agent-hello
description: > description: >
@@ -8,13 +8,14 @@ description: >
install inside the sandbox and any network domains it needs to reach. install inside the sandbox and any network domains it needs to reach.
Delete this file if your agent doesn't need extra sandbox setup. Delete this file if your agent doesn't need extra sandbox setup.
permissions:
network: network:
allowedDomains: allowedDomains:
# Replace with the domains your agent actually hits. # Replace with the domains your agent actually hits.
# Example: an agent that calls api.example.com would add: # Example: an agent that calls api.example.com would add:
# - "api.example.com:443" # - "api.example.com:443"
commands: setup:
install: install:
# Replace with any binaries your agent depends on. Runs as the # Replace with any binaries your agent depends on. Runs as the
# `agent` user (UID 1000) with passwordless sudo. Example: # `agent` user (UID 1000) with passwordless sudo. Example:
+4 -3
View File
@@ -1,4 +1,4 @@
schemaVersion: "1" schemaVersion: '2'
kind: mixin kind: mixin
name: shared-custom-tools name: shared-custom-tools
description: > description: >
@@ -10,13 +10,14 @@ description: >
Delete this file if your fork doesn't need extra sandbox setup. Delete this file if your fork doesn't need extra sandbox setup.
permissions:
network: network:
allowedDomains: allow:
# Replace with the domains your custom tools reach. # Replace with the domains your custom tools reach.
# Example: a tool that calls a private API: # Example: a tool that calls a private API:
# - "api.your-company.com:443" # - "api.your-company.com:443"
commands: setup:
install: install:
# Replace with binaries your custom tools depend on. Runs as the # Replace with binaries your custom tools depend on. Runs as the
# `agent` user (UID 1000) with passwordless sudo. Example: # `agent` user (UID 1000) with passwordless sudo. Example: