dsh-deja 0.20.9 → 0.21.0
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 +6 -4
- package/docs/zh.md +3 -1
- package/index.js +6 -2
- package/package.json +16 -4
package/README.md
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
English | [中文](https://github.com/vshulcz/deja-vu/blob/main/extensions/dsh/docs/zh.md)
|
|
4
4
|
|
|
5
|
+
Part of [deja-vu](https://github.com/vshulcz/deja-vu). Found it useful? [Star deja-vu on GitHub](https://github.com/vshulcz/deja-vu).
|
|
6
|
+
|
|
5
7
|
DeepSeek Harness can already search its own sessions — that is what the built-in
|
|
6
8
|
`session-query` subsystem does. This plugin answers the other question: what you
|
|
7
9
|
did in the *other* agents on this machine.
|
|
8
10
|
|
|
9
|
-
deja indexes the session files that thirty-
|
|
11
|
+
deja indexes the session files that thirty-three other coding agents — Claude Code,
|
|
10
12
|
Codex, Cursor, opencode, Antigravity, Grok Build, Kimi, Cline and Zed among
|
|
11
13
|
them — already write to disk. Nothing has to have been recorded ahead of time: the history is already
|
|
12
14
|
there, including the months before deja was installed. If you moved to dsh last
|
|
@@ -74,8 +76,8 @@ reading the requests dsh 0.1.1-rc.2 actually sent.
|
|
|
74
76
|
|
|
75
77
|
## What it does not do
|
|
76
78
|
|
|
77
|
-
No LLM, no embeddings
|
|
78
|
-
that already exist, so a query answers in about a millisecond
|
|
79
|
-
|
|
79
|
+
No LLM, no embeddings. The index is a local BM25 store over files
|
|
80
|
+
that already exist, so a query answers in about a millisecond, with no network
|
|
81
|
+
path unless you ask for one. Secrets are redacted at index time.
|
|
80
82
|
|
|
81
83
|
Part of [deja-vu](https://github.com/vshulcz/deja-vu). MIT.
|
package/docs/zh.md
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
[English](../README.md) | 中文
|
|
4
4
|
|
|
5
|
+
属于 [deja-vu](https://github.com/vshulcz/deja-vu) 项目。觉得有用的话,欢迎在 [GitHub](https://github.com/vshulcz/deja-vu) 上给 deja-vu 点个 Star。
|
|
6
|
+
|
|
5
7
|
DeepSeek Harness 自带的 `session-query` 已经可以检索它自己的会话。这个插件回答的是另一个问题:你在这台机器上**其他**智能体里做过什么。
|
|
6
8
|
|
|
7
|
-
deja 索引 Claude Code、Codex、Cursor、opencode、Antigravity、Grok Build、Kimi、Cline、Zed
|
|
9
|
+
deja 索引 Claude Code、Codex、Cursor、opencode、Antigravity、Grok Build、Kimi、Cline、Zed 等其他三十三个智能体本来就写在磁盘上的会话文件。不需要提前录制:历史已经在那里,包括安装 deja 之前的那些月份。如果你上周才转到 dsh,上周之前做过的事仍然可以在 dsh 里查到。
|
|
8
10
|
|
|
9
11
|
## 安装
|
|
10
12
|
|
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
|
|
5
|
+
// in Claude Code, Codex, Cursor, opencode and thirty 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";
|
|
@@ -230,7 +230,11 @@ function command(ctx) {
|
|
|
230
230
|
// printed a version number and `/deja index` rebuilt the index, and one
|
|
231
231
|
// of the words people most want history about is `install`.
|
|
232
232
|
const out = run(argv("search", [], query));
|
|
233
|
-
return { kind:
|
|
233
|
+
if (!INSTALLED) return { kind: "error", text: MISSING };
|
|
234
|
+
// dsh shows a person nothing the hooks print — the digest goes to the
|
|
235
|
+
// model — so the reply to /deja is where deja's own notes reach them.
|
|
236
|
+
const notes = run(["hook-context", "--notes"]);
|
|
237
|
+
return { kind: "success", text: notes ? answer(out) + "\n\n" + notes : answer(out) };
|
|
234
238
|
},
|
|
235
239
|
}));
|
|
236
240
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-deja",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "deja-vu memory for DeepSeek Harness: the session history of thirty-
|
|
3
|
+
"version": "0.21.0",
|
|
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.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"exports": {
|
|
@@ -33,7 +33,19 @@
|
|
|
33
33
|
"memory",
|
|
34
34
|
"recall",
|
|
35
35
|
"session-history",
|
|
36
|
-
"migration"
|
|
36
|
+
"migration",
|
|
37
|
+
"agent-memory",
|
|
38
|
+
"ai-memory",
|
|
39
|
+
"coding-agent",
|
|
40
|
+
"claude-code",
|
|
41
|
+
"claude-code-memory",
|
|
42
|
+
"codex",
|
|
43
|
+
"cursor",
|
|
44
|
+
"gemini-cli",
|
|
45
|
+
"mcp",
|
|
46
|
+
"mcp-server",
|
|
47
|
+
"session-search",
|
|
48
|
+
"local-first"
|
|
37
49
|
],
|
|
38
50
|
"engines": {
|
|
39
51
|
"node": ">=18"
|
|
@@ -50,7 +62,7 @@
|
|
|
50
62
|
}
|
|
51
63
|
},
|
|
52
64
|
"dependencies": {
|
|
53
|
-
"@vshulcz/deja-vu": "^0.
|
|
65
|
+
"@vshulcz/deja-vu": "^0.21.0"
|
|
54
66
|
},
|
|
55
67
|
"scripts": {
|
|
56
68
|
"test": "node --test test/*.test.js"
|