@spences10/pi-context 0.0.18 → 0.0.19
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 +16 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# @spences10/pi-context
|
|
2
2
|
|
|
3
|
+
[](https://viteplus.dev)
|
|
4
|
+
[](https://vitest.dev)
|
|
5
|
+
[](https://www.npmjs.com/package/@spences10/pi-context)
|
|
6
|
+
[](https://www.npmjs.com/package/@spences10/pi-context)
|
|
7
|
+
|
|
3
8
|
Local SQLite context sidecar for Pi. Oversized text tool output is
|
|
4
9
|
redacted, stored in an FTS5-backed database, and replaced with a
|
|
5
10
|
compact receipt that shows the source id, project/session scope, and
|
|
@@ -130,3 +135,14 @@ This is redacted local persistence and retrieval, not a security
|
|
|
130
135
|
sandbox. Stored text is redacted with `@spences10/pi-redact` before
|
|
131
136
|
persistence, but anything persisted in the local SQLite DB should
|
|
132
137
|
still be treated as local tool output.
|
|
138
|
+
|
|
139
|
+
## Development
|
|
140
|
+
|
|
141
|
+
Package scripts build transitive workspace dependencies first, then
|
|
142
|
+
run local tools through Vite+ with `vp exec`.
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
pnpm --filter @spences10/pi-context run check
|
|
146
|
+
pnpm --filter @spences10/pi-context run test
|
|
147
|
+
pnpm --filter @spences10/pi-context run build
|
|
148
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spences10/pi-context",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"description": "Pi extension for local SQLite context sidecar storage and retrieval of large tool output",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"context",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@spences10/pi-redact": "0.0.
|
|
40
|
-
"@spences10/pi-tui-modal": "0.0.
|
|
39
|
+
"@spences10/pi-redact": "0.0.10",
|
|
40
|
+
"@spences10/pi-tui-modal": "0.0.17"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@earendil-works/pi-coding-agent": "^0.74.1",
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
|
|
63
|
-
"build:self": "tsc -p tsconfig.build.json && cp src/schema.sql dist/schema.sql",
|
|
63
|
+
"build:self": "vp exec tsc -p tsconfig.build.json && cp src/schema.sql dist/schema.sql",
|
|
64
64
|
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
65
|
-
"check:self": "tsc --noEmit",
|
|
65
|
+
"check:self": "vp exec tsc --noEmit",
|
|
66
66
|
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self && pnpm run test:self",
|
|
67
|
-
"test:self": "vitest run",
|
|
68
|
-
"coverage:self": "vitest run --coverage",
|
|
67
|
+
"test:self": "vp exec vitest run",
|
|
68
|
+
"coverage:self": "vp exec vitest run --coverage",
|
|
69
69
|
"coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
|
|
70
70
|
}
|
|
71
71
|
}
|