mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 17:00:59 +00:00
Uses @anthropic-ai/sandbox-runtime to enforce filesystem and network restrictions on bash commands (sandbox-exec on macOS, bubblewrap on Linux). Features: - Per-project config via .pi/sandbox.json - Global config via ~/.pi/agent/sandbox.json - Enabled by default with sensible defaults - --no-sandbox flag to disable - /sandbox command to view current config
19 lines
344 B
JSON
19 lines
344 B
JSON
{
|
|
"name": "pi-extension-sandbox",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"clean": "echo 'nothing to clean'",
|
|
"build": "echo 'nothing to build'",
|
|
"check": "echo 'nothing to check'"
|
|
},
|
|
"pi": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sandbox-runtime": "^0.0.26"
|
|
}
|
|
}
|