@spences10/pi-redact 0.0.9 → 0.0.11
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 +9 -5
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
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
|
-
model
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Prevent accidental secret exposure before tool output reaches the
|
|
9
|
+
model. `pi-redact` scans command results for likely tokens, keys, and
|
|
10
|
+
credentials, replacing them with safe placeholders while preserving
|
|
11
|
+
enough context to debug.
|
|
11
12
|
|
|
12
13
|
## Installation
|
|
13
14
|
|
|
@@ -92,6 +93,9 @@ proper secret hygiene as the primary control:
|
|
|
92
93
|
|
|
93
94
|
## Development
|
|
94
95
|
|
|
96
|
+
Package scripts build transitive workspace dependencies first, then
|
|
97
|
+
run local tools through Vite+ with `vp exec`.
|
|
98
|
+
|
|
95
99
|
```bash
|
|
96
100
|
pnpm --filter @spences10/pi-redact run check
|
|
97
101
|
pnpm --filter @spences10/pi-redact run test
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spences10/pi-redact",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Pi
|
|
3
|
+
"version": "0.0.11",
|
|
4
|
+
"description": "Tool-output redaction for Pi that replaces likely secrets before they reach the model context",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi",
|
|
7
7
|
"pi-package",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
|
|
57
|
-
"build:self": "tsc -p tsconfig.build.json",
|
|
57
|
+
"build:self": "vp exec tsc -p tsconfig.build.json",
|
|
58
58
|
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
59
|
-
"check:self": "tsc --noEmit -p tsconfig.json",
|
|
59
|
+
"check:self": "vp exec tsc --noEmit -p tsconfig.json",
|
|
60
60
|
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
|
|
61
|
-
"test:self": "vitest run",
|
|
62
|
-
"coverage:self": "vitest run --coverage",
|
|
61
|
+
"test:self": "vp exec vitest run",
|
|
62
|
+
"coverage:self": "vp exec vitest run --coverage",
|
|
63
63
|
"coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
|
|
64
64
|
}
|
|
65
65
|
}
|