@vshulcz/pi-deja 0.22.0 → 0.22.1

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 +10 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -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 sessions decided
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 indexing and search make no network calls.
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vshulcz/pi-deja",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "deja-vu memory for pi: the coding sessions already on this machine — pi, Claude Code, Codex, Cursor and 37 more — recalled at session start and on every prompt, searchable with /deja. A local index, no LLM.",
5
5
  "type": "module",
6
6
  "files": [
@@ -45,7 +45,7 @@
45
45
  "node": ">=18"
46
46
  },
47
47
  "dependencies": {
48
- "@vshulcz/deja-vu": "^0.22.0"
48
+ "@vshulcz/deja-vu": "^0.22.1"
49
49
  },
50
50
  "pi": {
51
51
  "extensions": [