Permit npm cache and PTY access in pi-local
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user