@henryqw/pi-session-recall 0.2.4 → 0.2.5

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 +24 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # `@henryqw/pi-session-recall`
2
2
 
3
- Search past Pi sessions with local FTS5. The `session_search` tool has four modes and makes no model calls.
3
+ Find decisions and context in past Pi sessions through a local FTS5 index with no model calls.
4
4
 
5
- The package also includes `pi-session-pattern-miner`. This skill finds repeated work that may be worth automating.
5
+ The bundled `pi-session-pattern-miner` skill finds repeated work that may deserve automation.
6
6
 
7
7
  ## Why
8
8
 
9
- - **Created for**: Recover decisions and context from prior sessions without keeping every transcript in the active prompt.
10
- - **Advantage**: Local FTS5 search gives fast, private recall with zero standing context cost and no model calls.
9
+ - **Created for**: Pi users who need earlier decisions without carrying every transcript in current context.
10
+ - **Advantage**: Search stays local and adds no standing prompt cost.
11
11
 
12
12
  ## Install
13
13
 
@@ -17,6 +17,26 @@ pi install npm:@henryqw/pi-session-recall
17
17
 
18
18
  ## Use
19
19
 
20
+ Start discovery with a distinctive query:
21
+
22
+ ```json
23
+ { "query": "database migration rollback" }
24
+ ```
25
+
26
+ `session_search` returns ranked sessions. The top result includes nearby messages and session bookends.
27
+
28
+ Use IDs from that result to ask for more context:
29
+
30
+ ```json
31
+ {
32
+ "sessionId": "<returned sessionId>",
33
+ "aroundMessageId": "<returned message entryId>",
34
+ "window": 10
35
+ }
36
+ ```
37
+
38
+ The follow-up returns up to ten messages before and after that anchor on the selected branch.
39
+
20
40
  | Surface | Type | Purpose |
21
41
  | --- | --- | --- |
22
42
  | `session_search` | tool | Search past sessions or inspect one. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-session-recall",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Local FTS5 search over past Pi sessions plus a skill for turning recurring work into deterministic automation.",
5
5
  "keywords": [
6
6
  "pi-package",