DeepSHPlugins
deja-vu#extensions/dsh 專案預覽
GITHUB / COMMUNITY PROJECT

deja-vu#extensions/dsh

記憶與知識GoMIT

讀取本機上其他十九個程式設計智慧體已經寫下的會話檔案——Claude Code、Codex、Cursor、opencode、Antigravity、Kimi、Cline、Zed 等,包括安裝之前的歷史:提供 deja_recall、deja_session、deja_blame、deja_fix、deja_how、deja_remember 六個工具與 /deja 命令,並可選地把召回結果加入執行時上下文。本地 BM25 索引,不用大模型,不用向量嵌入,不聯網(dsh plugin --profile web add dsh-deja)。

797 Starsvshulcz 更新時間 2026-09-10
訪問 GitHub 倉庫
deja-vu#extensions/dsh 專案預覽

專案介紹

中文

讀取本機上其他十九個程式設計智慧體已經寫下的會話檔案——Claude Code、Codex、Cursor、opencode、Antigravity、Kimi、Cline、Zed 等,包括安裝之前的歷史:提供 deja_recall、deja_session、deja_blame、deja_fix、deja_how、deja_remember 六個工具與 /deja 命令,並可選地把召回結果加入執行時上下文。本地 BM25 索引,不用大模型,不用向量嵌入,不聯網(dsh plugin --profile web add dsh-deja)。

English

Reads the session files nineteen other coding agents on this machine already wrote — Claude Code, Codex, Cursor, opencode, Antigravity, Kimi, Cline, Zed and more — including sessions from before it was installed: six tools (deja_recall, deja_session, deja_blame, deja_fix, deja_how, deja_remember), a /deja command, and optional automatic recall added to the runtime context. Local BM25 index, no LLM, no embeddings, no network (dsh plugin --profile web add dsh-deja).

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
vshulcz
倉庫
vshulcz/deja-vu#extensions/dsh
GitHub Stars
797
Forks
68
開發語言
Go
許可證
MIT
最近推送
2026-09-10
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

90/ 100
維護活躍
100
文件與實用資訊
85
生態關注度
90
安裝便捷訊號
75
專案宣告訊號
100

近 1 天仍在更新;README 含完整安裝與使用說明;797 stars 社群認可度高。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add dsh-deja

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-deja

English | 中文

DeepSeek Harness can already search its own sessions — that is what the built-in session-query subsystem does. This plugin answers the other question: what you did in the *other* agents on this machine.

deja indexes the session files that twenty-four other coding agents — Claude Code, Codex, Cursor, opencode, Antigravity, Grok Build, Kimi, Cline and Zed among them — already write to disk. Nothing has to have been recorded ahead of time: the history is already there, including the months before deja was installed. If you moved to dsh last week, everything you did before last week is still reachable from inside it.

Install

dsh plugin --profile web add dsh-deja

From the repository instead of npm — the root manifest re-exports this directory, so either form works:

dsh plugin --profile web add github:vshulcz/deja-vu#path:extensions/dsh

The plugin runs the deja binary. It is pulled in as a dependency, so npm installs it with the plugin; a deja already on PATH is used as-is, and DEJA_BIN overrides both.

If you have the CLI, deja install --auto wires dsh too — it adds deja's MCP server and a /deja command to your profile — and that is the shorter path. Having both is fine: this plugin looks for what the installer wrote in $DSH_HOME/plugins/deja/ and contributes only what is missing, so the tools and the command are never registered twice.

What it adds

Six tools the model can call:

ToolAnswers
deja_recallSessions matching an error string, function name, file path or flag.
deja_sessionThe full digest of one past session, when the reasoning behind it matters.
deja_blameThe sessions that discussed a file, before you edit or delete it.
deja_fixWhat this machine ran after that same error before.
deja_howThe real invocation for a build, test or deploy, from what ran here.
deja_rememberStores one settled decision for later recall.

One command: /deja <what to look for>.

And, unless you turn it off, automatic recall: before each step the plugin asks deja whether this machine's history answers the prompt, and adds the answer to the runtime context. Silence is the common case — it speaks only when there is something to say.

- insert:
    - id: deja
      name: dsh-deja
      config:
        autoRecall: false   # tools and /deja only

How it is wired

Recall arrives through ctx.systemPrompt.context, evaluated on every assembly. The obvious alternative — a middleware on agent/pre-step that splices a message into the step — loads fine, completes the turn, and never reaches the model: a later listener in that waterfall rebuilds its answer from the payload and the added message is dropped with nothing reported. This was settled by reading the requests dsh 0.1.1-rc.2 actually sent.

What it does not do

No LLM, no embeddings, no network. The index is a local BM25 store over files that already exist, so a query answers in about a millisecond and nothing leaves the machine. Secrets are redacted at index time.

Part of deja-vu. MIT.

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案