@spences10/pi-svelte-guardrails 0.0.15 → 0.0.17
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 +1 -7
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -34,15 +34,9 @@ not inherit it unless they install the package.
|
|
|
34
34
|
|
|
35
35
|
## Status and disabling
|
|
36
36
|
|
|
37
|
-
Use `/extensions` or `/extensions list` in `my-pi` to inspect whether
|
|
38
|
-
Svelte guardrails are enabled, disabled by saved settings, or
|
|
39
|
-
force-disabled for the current process.
|
|
40
|
-
|
|
41
37
|
Disable options:
|
|
42
38
|
|
|
43
|
-
-
|
|
44
|
-
- TUI: toggle `Svelte guardrails` in `/extensions` and reload.
|
|
45
|
-
- SDK/API: pass `svelte_guardrails: false` to `create_my_pi()`.
|
|
39
|
+
- Pi: disable the package with `pi config` or `pi remove`.
|
|
46
40
|
- Rule config: set `"mode": "off"` or `"blockEffect": false` in the
|
|
47
41
|
config file below.
|
|
48
42
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spences10/pi-svelte-guardrails",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"description": "Svelte 5 guardrails for Pi that block discouraged agent-written patterns before they land in code",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-guardrails",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@spences10/pi-settings": "0.0
|
|
31
|
+
"@spences10/pi-settings": "0.1.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@earendil-works/pi-coding-agent": "
|
|
35
|
-
"@types/node": "^
|
|
34
|
+
"@earendil-works/pi-coding-agent": "1.4.0",
|
|
35
|
+
"@types/node": "^26.0.0",
|
|
36
36
|
"typescript": "^7.0.0",
|
|
37
|
-
"
|
|
37
|
+
"vite-plus": "1.4.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@earendil-works/pi-coding-agent": "*"
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
55
55
|
"check:self": "vp exec tsc --noEmit -p tsconfig.json",
|
|
56
56
|
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
|
|
57
|
-
"test:self": "vp
|
|
58
|
-
"test:watch": "vp
|
|
59
|
-
"coverage:self": "vp
|
|
57
|
+
"test:self": "vp test run",
|
|
58
|
+
"test:watch": "vp test",
|
|
59
|
+
"coverage:self": "vp test run --coverage",
|
|
60
60
|
"coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
|
|
61
61
|
}
|
|
62
62
|
}
|