Permit npm cache and PTY access in pi-local

This commit is contained in:
jb
2026-08-25 15:38:56 -04:00
parent bab3c4589f
commit bfb07282d6
+6 -2
View File
@@ -2,7 +2,7 @@
"extends": "nolabs-ai/pi", "extends": "nolabs-ai/pi",
"meta": { "meta": {
"name": "pi-local", "name": "pi-local",
"description": "Restrictive local Pi sandbox with mediated network and Unix sockets" "description": "Restrictive local Pi sandbox with mediated network, Unix sockets, and pseudo-terminal creation"
}, },
"groups": { "groups": {
"include": [] "include": []
@@ -14,7 +14,11 @@
"allow": [ "allow": [
"$WORKDIR", "$WORKDIR",
"$TMPDIR", "$TMPDIR",
"$HOME/.pi-lens" "$HOME/.pi-lens",
"$HOME/.npm"
],
"allow_file": [
"/dev/ptmx"
], ],
"read_file": [ "read_file": [
"$HOME/.local/bin/claude", "$HOME/.local/bin/claude",