pi-permissions 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -14,7 +14,8 @@ A [pi](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent) exte
|
|
|
14
14
|
pi install npm:pi-permissions
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
<details>
|
|
18
|
+
<summary>Alternative install methods</summary>
|
|
18
19
|
|
|
19
20
|
From the public git repo:
|
|
20
21
|
|
|
@@ -34,6 +35,8 @@ Load without installing:
|
|
|
34
35
|
pi --no-extensions -e npm:pi-permissions
|
|
35
36
|
```
|
|
36
37
|
|
|
38
|
+
</details>
|
|
39
|
+
|
|
37
40
|
## Quick start
|
|
38
41
|
|
|
39
42
|
Create `.pi/permissions.json` in your project (or `~/.pi/agent/permissions.json` for global rules):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-permissions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Configurable allow/deny permission rules for pi tool calls — control which bash commands, file reads, writes, and edits the agent can perform.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"url": "git+https://github.com/NicoAvanzDev/pi-permissions.git"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"index.ts",
|
|
23
|
+
"rules.ts",
|
|
24
24
|
"README.md"
|
|
25
25
|
],
|
|
26
26
|
"type": "module",
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
"@mariozechner/pi-coding-agent": "*"
|
|
43
43
|
},
|
|
44
44
|
"pi": {
|
|
45
|
-
"extensions": ["./
|
|
45
|
+
"extensions": ["./index.ts"]
|
|
46
46
|
}
|
|
47
47
|
}
|
|
File without changes
|
|
File without changes
|