@spences10/pi-redact 0.0.8 → 0.0.10
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 +5 -3
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
# @spences10/pi-redact
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@spences10/pi-redact)
|
|
4
3
|
[](https://viteplus.dev)
|
|
5
4
|
[](https://vitest.dev)
|
|
5
|
+
[](https://www.npmjs.com/package/@spences10/pi-redact)
|
|
6
|
+
[](https://www.npmjs.com/package/@spences10/pi-redact)
|
|
6
7
|
|
|
7
8
|
Pi extension that redacts likely secrets from tool output before the
|
|
8
9
|
model sees them.
|
|
9
10
|
|
|
10
|
-
Maintained in the `my-pi` Vite+ workspace and tested with Vitest.
|
|
11
|
-
|
|
12
11
|
## Installation
|
|
13
12
|
|
|
14
13
|
```bash
|
|
@@ -92,6 +91,9 @@ proper secret hygiene as the primary control:
|
|
|
92
91
|
|
|
93
92
|
## Development
|
|
94
93
|
|
|
94
|
+
Package scripts build transitive workspace dependencies first, then
|
|
95
|
+
run local tools through Vite+ with `vp exec`.
|
|
96
|
+
|
|
95
97
|
```bash
|
|
96
98
|
pnpm --filter @spences10/pi-redact run check
|
|
97
99
|
pnpm --filter @spences10/pi-redact run test
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spences10/pi-redact",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Pi extension that redacts secrets from tool output before the model sees them",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi",
|
|
@@ -33,9 +33,11 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
+
"@earendil-works/pi-ai": "^0.74.1",
|
|
37
|
+
"@earendil-works/pi-coding-agent": "^0.74.1",
|
|
36
38
|
"@types/node": "^25.8.0",
|
|
37
39
|
"typescript": "^6.0.3",
|
|
38
|
-
"vitest": "
|
|
40
|
+
"vitest": "4.1.5"
|
|
39
41
|
},
|
|
40
42
|
"peerDependencies": {
|
|
41
43
|
"@earendil-works/pi-ai": "*",
|
|
@@ -52,10 +54,12 @@
|
|
|
52
54
|
},
|
|
53
55
|
"scripts": {
|
|
54
56
|
"build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
|
|
55
|
-
"build:self": "tsc -p tsconfig.build.json",
|
|
57
|
+
"build:self": "vp exec tsc -p tsconfig.build.json",
|
|
56
58
|
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
57
|
-
"check:self": "tsc --noEmit -p tsconfig.json",
|
|
59
|
+
"check:self": "vp exec tsc --noEmit -p tsconfig.json",
|
|
58
60
|
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
|
|
59
|
-
"test:self": "vitest run"
|
|
61
|
+
"test:self": "vp exec vitest run",
|
|
62
|
+
"coverage:self": "vp exec vitest run --coverage",
|
|
63
|
+
"coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
|
|
60
64
|
}
|
|
61
65
|
}
|