dsh-deja 0.21.2 → 0.21.3

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 CHANGED
@@ -8,7 +8,7 @@ DeepSeek Harness can already search its own sessions — that is what the built-
8
8
  `session-query` subsystem does. This plugin answers the other question: what you
9
9
  did in the *other* agents on this machine.
10
10
 
11
- deja indexes the session files that thirty-three other coding agents — Claude Code,
11
+ deja indexes the session files that thirty-four other coding agents — Claude Code,
12
12
  Codex, Cursor, opencode, Antigravity, Grok Build, Kimi, Cline and Zed among
13
13
  them — already write to disk. Nothing has to have been recorded ahead of time: the history is already
14
14
  there, including the months before deja was installed. If you moved to dsh last
@@ -52,9 +52,10 @@ Six tools the model can call:
52
52
 
53
53
  One command: `/deja <what to look for>`.
54
54
 
55
- And, unless you turn it off, automatic recall: before each step the plugin asks
56
- deja whether this machine's history answers the prompt, and adds the answer to
57
- the runtime context. Silence is the common case — it speaks only when there is
55
+ And, unless you turn it off, automatic recall: once per session the plugin adds
56
+ what past sessions settled in this project, and before each step it asks deja
57
+ whether this machine's history answers the prompt and adds the answer to the
58
+ runtime context. Silence is the common case — it speaks only when there is
58
59
  something to say.
59
60
 
60
61
  ```yaml
package/docs/zh.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  DeepSeek Harness 自带的 `session-query` 已经可以检索它自己的会话。这个插件回答的是另一个问题:你在这台机器上**其他**智能体里做过什么。
8
8
 
9
- deja 索引 Claude Code、Codex、Cursor、opencode、Antigravity、Grok Build、Kimi、Cline、Zed 等其他三十三个智能体本来就写在磁盘上的会话文件。不需要提前录制:历史已经在那里,包括安装 deja 之前的那些月份。如果你上周才转到 dsh,上周之前做过的事仍然可以在 dsh 里查到。
9
+ deja 索引 Claude Code、Codex、Cursor、opencode、Antigravity、Grok Build、Kimi、Cline、Zed 等其他三十四个智能体本来就写在磁盘上的会话文件。不需要提前录制:历史已经在那里,包括安装 deja 之前的那些月份。如果你上周才转到 dsh,上周之前做过的事仍然可以在 dsh 里查到。
10
10
 
11
11
  ## 安装
12
12
 
@@ -14,6 +14,12 @@ deja 索引 Claude Code、Codex、Cursor、opencode、Antigravity、Grok Build
14
14
  dsh plugin --profile web add dsh-deja
15
15
  ```
16
16
 
17
+ 也可以不走 npm,直接从仓库安装——根目录的 manifest 会重新导出这个目录,两种写法都行:
18
+
19
+ ```sh
20
+ dsh plugin --profile web add github:vshulcz/deja-vu#path:extensions/dsh
21
+ ```
22
+
17
23
  插件调用 `deja` 可执行文件。它作为依赖随插件一起安装;如果 `PATH` 上已有 `deja` 就直接使用,`DEJA_BIN` 可覆盖两者。
18
24
 
19
25
  装了 CLI 的话,`deja install --auto` 也会把 dsh 接好——写入 deja 的 MCP 服务端和 `/deja` 命令——那条路更短。
@@ -34,7 +40,7 @@ dsh plugin --profile web add dsh-deja
34
40
 
35
41
  一个命令:`/deja <要查什么>`。
36
42
 
37
- 以及默认开启的自动召回:每一步之前,插件会问 deja 这台机器的历史能否回答当前提问,并把结果加入运行时上下文。多数情况下它保持沉默,只有确实有内容时才开口。
43
+ 以及默认开启的自动召回:每个会话一次,插件把这个项目里以前的会话定下来的事加进来;每一步之前,插件会问 deja 这台机器的历史能否回答当前提问,并把结果加入运行时上下文。多数情况下它保持沉默,只有确实有内容时才开口。
38
44
 
39
45
  ```yaml
40
46
  - insert:
@@ -50,6 +56,6 @@ dsh plugin --profile web add dsh-deja
50
56
 
51
57
  ## 不做什么
52
58
 
53
- 不用大模型,不用向量嵌入,不联网。索引是本地 BM25,建立在本来就存在的文件之上,一次查询约一毫秒,数据不离开本机。密钥在建立索引时被脱敏。
59
+ 不用大模型,不用向量嵌入。索引是本地 BM25,建立在本来就存在的文件之上,一次查询约一毫秒,除非你主动要求,否则不走网络。密钥在建立索引时被脱敏。
54
60
 
55
61
  属于 [deja-vu](https://github.com/vshulcz/deja-vu) 项目。MIT 许可。
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // dsh answers questions about its own sessions through the built-in
4
4
  // session-query subsystem. This plugin answers the other question: what you did
5
- // in Claude Code, Codex, Cursor, opencode and thirty more agents, on this
5
+ // in Claude Code, Codex, Cursor, opencode and thirty-one more agents, on this
6
6
  // machine, before dsh existed. The index is deja's; this file is the seam.
7
7
 
8
8
  import { createRequire } from "node:module";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-deja",
3
- "version": "0.21.2",
4
- "description": "deja-vu memory for DeepSeek Harness: the session history of thirty-three other coding agents, searchable and recalled before each step — a local index, no LLM.",
3
+ "version": "0.21.3",
4
+ "description": "deja-vu memory for DeepSeek Harness: the session history of thirty-four other coding agents, searchable and recalled before each step — a local index, no LLM.",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "exports": {
@@ -62,7 +62,7 @@
62
62
  }
63
63
  },
64
64
  "dependencies": {
65
- "@vshulcz/deja-vu": "^0.21.2"
65
+ "@vshulcz/deja-vu": "^0.21.3"
66
66
  },
67
67
  "scripts": {
68
68
  "test": "node --test test/*.test.js"