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",
"meta": {
"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": {
"include": []
@@ -14,7 +14,11 @@
"allow": [
"$WORKDIR",
"$TMPDIR",
"$HOME/.pi-lens"
"$HOME/.pi-lens",
"$HOME/.npm"
],
"allow_file": [
"/dev/ptmx"
],
"read_file": [
"$HOME/.local/bin/claude",