@vshulcz/pi-deja 0.22.0 → 0.22.2
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 +11 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
English | [中文](https://github.com/vshulcz/deja-vu/blob/main/extensions/pi/docs/zh.md)
|
|
4
4
|
|
|
5
5
|
pi remembers its own sessions. This extension answers the other question: what
|
|
6
|
-
was done in the forty other coding agents on this machine — Claude Code,
|
|
6
|
+
was done in the forty-one other coding agents on this machine — Claude Code,
|
|
7
7
|
Codex, Cursor, Gemini, OpenClaw and Hermes among them — including the months
|
|
8
8
|
before pi was installed.
|
|
9
9
|
|
|
@@ -36,12 +36,16 @@ event, so `pi install`'s omp counterpart picks this package up as well.
|
|
|
36
36
|
- **Every prompt** (`before_agent_start`): the prompt is matched against the
|
|
37
37
|
index and, when a past session answers it, that session goes to the model
|
|
38
38
|
with the prompt. Silence is the common case.
|
|
39
|
-
- **After a failed command** (`tool_result`): the repair this machine used the
|
|
39
|
+
- **After a failed command** (`tool_result` on `bash` or `powershell`): the repair this machine used the
|
|
40
40
|
last time that error came up goes in beside the error, in the same turn.
|
|
41
|
-
- **Before an edit** (`tool_result` on a read): what earlier
|
|
42
|
-
about the file the agent just opened.
|
|
41
|
+
- **Before an edit** (`tool_result` on a read, edit or write): what earlier
|
|
42
|
+
sessions decided about the file the agent just opened.
|
|
43
43
|
- **After a compaction** (`session_compact`): the list of what this session was
|
|
44
|
-
already shown is cleared, so the recall it lost can come back
|
|
44
|
+
already shown is cleared, so the recall it lost can come back, and deja reads
|
|
45
|
+
the turns the summary replaced so the next prompt carries what the agent was
|
|
46
|
+
in the middle of.
|
|
47
|
+
- **When a session ends** (`session_shutdown`): its live stamp goes, so the next
|
|
48
|
+
session's recall can answer with it.
|
|
45
49
|
- **`/deja <query>`**: search the history by hand.
|
|
46
50
|
|
|
47
51
|
## Which binary
|
|
@@ -53,6 +57,7 @@ the copy bundled through `@vshulcz/deja-vu`.
|
|
|
53
57
|
|
|
54
58
|
deja reads session files where the agents wrote them and builds a local index
|
|
55
59
|
under `~/.cache/deja` (or `DEJA_INDEX_DIR`). Keys and tokens are stripped as
|
|
56
|
-
the index is built, and
|
|
60
|
+
the index is built, and without semantic search (`deja embed`) indexing and
|
|
61
|
+
search make no network calls.
|
|
57
62
|
|
|
58
63
|
Part of [deja-vu](https://github.com/vshulcz/deja-vu). MIT. Found it useful? [Star deja-vu on GitHub](https://github.com/vshulcz/deja-vu).
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vshulcz/pi-deja",
|
|
3
|
-
"version": "0.22.
|
|
4
|
-
"description": "deja-vu memory for pi: the coding sessions already on this machine — pi, Claude Code, Codex, Cursor and
|
|
3
|
+
"version": "0.22.2",
|
|
4
|
+
"description": "deja-vu memory for pi: the coding sessions already on this machine — pi, Claude Code, Codex, Cursor and 38 more — recalled at session start and on every prompt, searchable with /deja. A local index, no LLM.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"index.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"node": ">=18"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@vshulcz/deja-vu": "^0.22.
|
|
48
|
+
"@vshulcz/deja-vu": "^0.22.2"
|
|
49
49
|
},
|
|
50
50
|
"pi": {
|
|
51
51
|
"extensions": [
|