@henryqw/pi-session-recall 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. package/README.md +6 -16
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -33,6 +33,12 @@ Hits inside the current session's live context are suppressed; compacted-away or
33
33
 
34
34
  If the lazy index sync before browse/discovery cannot fully enumerate the session tree, or throws entirely, results are still served from the current index — potentially partially updated and stale: files discovered before the failure may already reflect their new content, while rows for files the walk never reached remain stale — and carry a top-level `syncWarning`: `{kind:"incomplete-walk"}` for a partial walk (indexed-but-unseen paths are never purged in that case), or `{kind:"sync-failed", error}` with the capped failure message. The warning is omitted once a sync completes.
35
35
 
36
+ ## State
37
+
38
+ | Path | Purpose |
39
+ | --- | --- |
40
+ | `~/.pi/agent/config/pi-session-recall/index.db` | Derived SQLite search index, maintained by the extension. |
41
+
36
42
  ## Deliberate exclusions
37
43
 
38
44
  Session directories whose encoded path starts with `--tmp-` or `--private-tmp-` (sessions run from `/tmp` or `/private/tmp`) are never indexed. Session files over 32 MiB are excluded from indexing and hydration: discovery cannot newly find them; READ/SCROLL return an explicit size error, while a stale discovery hit retained from before the file grew is returned as metadata with empty messages and that error.
@@ -40,19 +46,3 @@ Session directories whose encoded path starts with `--tmp-` or `--private-tmp-`
40
46
  ## Storage & privacy
41
47
 
42
48
  The SQLite index lives at `~/.pi/agent/config/pi-session-recall/index.db`. It is derived state: delete it and it rebuilds from your session files. Everything stays local — transcripts are read in place and nothing leaves the machine beyond what tool results already show the model.
43
-
44
- ## Remove
45
-
46
- ```bash
47
- pi remove npm:@henryqw/pi-session-recall
48
- ```
49
-
50
- Delete `~/.pi/agent/config/pi-session-recall/` to reclaim index disk space.
51
-
52
- ## Development
53
-
54
- ```bash
55
- npm test --workspace @henryqw/pi-session-recall
56
- npm run typecheck --workspace @henryqw/pi-session-recall
57
- npm run pack:check --workspace @henryqw/pi-session-recall
58
- ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-session-recall",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "FTS5 search over past Pi sessions: single tool, four arg-inferred modes (discovery/scroll/read/browse), zero LLM calls.",
5
5
  "keywords": [
6
6
  "pi-package",