Apache-2.0 的 Rust CLI,為 Agent 與人類提供涵蓋終端機輸出與 AI 工作階段(含本機 Dsh 工作階段)的統一可搜尋記憶,透過 MCP 工具與 shell hooks 接入。
DSH 整合
相容
作者聲明
安全稽核
未稽核
最後核實
2026-08-21
授權條款
Apache-2.0
01它能幫你完成什麼?
Give DeepSeek Harness (Dsh) workflows a searchable agent memory over terminal output and AI sessions
Searchable WorkRecords — local Dsh sessions, terminal commands with stdout/stderr, exit codes and durations — reachable by agents via sivtr_search / sivtr_show / sivtr_zoom / sivtr_filter / sivtr_status
Developers running Dsh and other coding agents who want the agent to recall local evidence instead of re-pasting logs
Let the agent fix recent failures and resume interrupted work without pasting logs
Agent-driven fixes and resumable context based on exact local records, addressed to every hit via stable refs (show / zoom / filter)
Developers whose agents repeatedly rebuild already-existing context from terminal errors, test output and previous AI sessions
02如何將外掛接入 DeepSeek Harness?
先決條件
- A supported shell: Bash, Zsh, PowerShell or Nushell (shell hooks capture command output)
- No Rust toolchain required for the prebuilt CLI (`cargo binstall sivtr` or the install script); Rust is only needed for `cargo install sivtr` from source
- Node/npx only if you add the optional sivtr-memory skill (`npx skills add Ariestar/sivtr --skill sivtr-memory -g`)
安裝步驟
- 01
Install the CLI: `cargo binstall sivtr` (prebuilt), or `curl -fsSL https://raw.githubusercontent.com/Ariestar/sivtr/main/install.sh | sh` on Linux/macOS/WSL, or `irm https://raw.githubusercontent.com/Ariestar/sivtr/main/install.ps1 | iex` on Windows PowerShell
$ curl -fsSL https://raw.githubusercontent.com/Ariestar/sivtr/main/install.sh | sh
- 02
Run `sivtr setup` for one-shot configuration (env detection + shell hooks + MCP host + sivtr-memory skill + smoke check), or stepwise: `sivtr init bash|zsh|powershell|nushell`, `sivtr mcp install`, `npx skills add Ariestar/sivtr --skill sivtr-memory -g -y`
$ npx skills add Ariestar/sivtr --skill sivtr-memory -g -y
- 03
Use `sivtr mcp install -p <hosts>` to register MCP with specific hosts; Dsh is one of the supported local sources whose agent sessions become searchable
驗證整合成功
- Run `sivtr doctor` to diagnose and auto-fix binary/config/hooks/providers; `sivtr setup` itself ends with a smoke check
03DSH 整合程度與能力邊界
MCP-first agent memory CLI: register MCP tools for agent hosts via `sivtr mcp install`, and index local Dsh (DeepSeek Harness) agent sessions as searchable memory
MCP-first agent memory
local terminal output + all registered agent provider sessions (incl. Dsh)→agent-callable tools sivtr_search / sivtr_show / sivtr_zoom / sivtr_filter / sivtr_status
modifies agent host configuration to register the MCP server (`sivtr mcp install`)Shell history with output capture
commands run in Bash, Zsh, PowerShell or Nushell→records of command, stdout/stderr, exit code, directory and duration
installs hooks into your shell profile to capture command output (on Windows the hook is written only into the PowerShell profile, no registry changes)Named memory variables & TUI search
search results and command outputs→saved variables like @last / @failures usable in pipelines (`@`, `@failures[1,3..5]`), plus search/show/filter/nav CLI and a TUI workspace browser
Cross-device sharing & groups
local workspaces→read-only shares browsed via `desk:...` refs; multi-device groups with automatic sync
data leaves the machine during share/group sync (opt-in, read-only, common secrets redacted by default); an iroh daemon is started automatically when needed
04適合誰?何時不該用?
適合
- Developers running Dsh and other coding agents who want the agent to recall local evidence instead of re-pasting logs
- Developers whose agents repeatedly rebuild already-existing context from terminal errors, test output and previous AI sessions
05相容性、維護與安全提醒
- On Windows, `sivtr init powershell` may report that the profile is not loaded; you need to run `Set-ExecutionPolicy -Scope CurrentUser RemoteSigned` once to raise the current user's execution policy. The hook is written only into the PowerShell profile — no registry changes.
- Memory is local-first, but cross-device sharing and group sync send data off-machine over encrypted iroh (opt-in, read-only, with common secrets redacted before leaving the machine), and a daemon starts automatically when needed.
- `sivtr setup` / `sivtr init` modify your shell configuration by installing hooks into your shell profile so command output can be captured; `sivtr doctor --fix` is provided to diagnose and repair hooks.
Apache-2.0 · actively maintained (latest release v0.5.1, 2026-08-18)
06常見問題
sivtr 如何接入 DeepSeek Harness(Dsh)?
Dsh 是 sivtr 支援的資料來源之一:本機 Dsh agent 工作階段會被索引,與終端機輸出及其他 Agent 工作階段一起可搜尋。Agent 工作流程建議用 `sivtr mcp install` 註冊 MCP,並可選裝內建 sivtr-memory skill。
是 dsh 原生外掛還是走 MCP?
以 MCP 為主:執行 `sivtr mcp install` 後,Agent 直接呼叫 sivtr_search / sivtr_show / sivtr_zoom / sivtr_filter / sivtr_status。人也可以隨時用 CLI 和 TUI 瀏覽器自行查詢。
安裝前需要准备什麼?
只需要一個支援的 shell。`cargo binstall sivtr` 或安裝腳本安裝的是預先編譯的二進位檔,無需 Rust 工具鏈;只有在加入選用的 sivtr-memory skill 時才需要 Node/npx。
資料會離開本機嗎?
記憶預設保存在本機 workspace。跨裝置分享是 opt-in 且唯讀,資料離開本機前預設會遮蔽常見金鑰,傳輸走加密 iroh,必要時自動啟動 daemon。
有什麼已知限制?
Windows 上 `sivtr init powershell` 可能需要先執行一次 `Set-ExecutionPolicy -Scope CurrentUser RemoteSigned`。hooks 只寫入 shell profile(不改登錄檔),設定異常可用 `sivtr doctor --fix` 自動修復。
07相關的 DSH 工作流程
deepseek-reasonix
作者 esengine
專為 DeepSeek 打造的終端 AI 程式設計智慧體,圍繞字首快取穩定性設計,可常駐執行。
mnemon
作者 mnemon-dev
LLM 監督的持久記憶系統,基於圖結構召回、跨會話知識共享,單個二進位制檔案,相容 DeepSeek Harness 等執行時。
phi
作者 pulseaiclub
來自 pi 的編碼智慧體,支援無限提供方、子智慧體、行內編輯與許可權門控。
deepseek-harness-docker
作者 runzhliu
社群 Docker 與 Kubernetes 打包,含加固映象、Compose、Helm、Web UI 與無頭 CLI。
08資料與來源
| Dsh | 本地 Dsh agent sessions. |
**一个搜索面覆盖本地工作**:终端输出 + 所有已注册 Agent provider(Codex / Claude Code / Cursor / Dsh / Gemini / Goose / Hermes / OpenCode / Op…
Agent 工作流建议安装 `sivtr` CLI,用 `sivtr mcp install` 注册 MCP,并可选用内置 `sivtr-memory` skill。
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-21。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
