dsh-atuin
未验证 RealAlexandreAI
功能简介
dsh atuin-history:记录用户提示到atuin历史
未验证 — 尚未实测
dsh atuin-history:记录用户提示到atuin历史 尚未验证——请自行安装测试。
「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-atuin
Record every prompt you type into DeepSeek Harness into your atuin shell history — searchable with atuin search and your shell integration (Ctrl-R).
Port of pi-atuin. dsh has no terminal UI; this is its atuin bridge.
How it works
The plugin listens to session/event → user/message and runs:
atuin history start -- "<prompt>"
atuin history end --exit 0 <ID>
Only your own typed prompts are recorded — never replies, tool calls, or file contents.
Quick start
dsh plugin --profile web add dsh-atuin
Requires a running atuin daemon (standard atuin setup). A missing atuin or stopped daemon is silently skipped — sessions never break.
Config
- id: atuin
name: dsh-atuin
config:
# atuin_bin: /opt/homebrew/bin/atuin
# deny: "^/clear$,password"
# max_len: 2000
# session_match: "project-x"
| key | meaning |
|---|---|
atuin_bin |
path to the atuin binary (default atuin on PATH) |
deny |
comma-separated regexes; matching prompts are not recorded |
max_len |
truncate long prompts (default 2000; 0 off) |
session_match |
comma-separated regexes; only matching session titles are recorded (empty = all) |
Privacy
- Only your typed prompts; replies, tool calls, and file contents are never recorded.
denysuppresses sensitive prompts.- Entries live in your local atuin DB (
~/.local/share/atuin/history.db) — nothing leaves the machine.
Development
npm install
npm run typecheck
npm test # text extraction / deny rules / truncation
npm run build
Live test against your real atuin DB (needs the daemon):
node --import tsx tests/real/real-atuin.mjs
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-atuin」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:RealAlexandreAI/dsh-atuin Headless(CLI)profile:
dsh plugin --profile headless add github:RealAlexandreAI/dsh-atuin 实测报告
尚未 L3 验证——若已跑过,见下方失败备注。
备注:验证: runtime-fail (0.1.0-rc.6) 浏览全部待验证失败 →
使用场景
改善终端体验——TUI、命令面板或 shell 集成——让 dsh 在终端里如原生一般。
适合谁
终端优先、从命令行驱动 dsh、想让它像熟悉的 CLI agent 一样工作的开发者。
二次开发建议
TUI 布局和 shell 集成是缝——加面板、快捷键或新的 shell 钩子。