dshbase

插件目录 / Terminal / dsh-atuin

dsh-atuin

已验证 · 实测可装 RealAlexandreAI

✓ 持续维护 2 位贡献者 基于 2 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
TypeScript语言
2026-08-13最近推送
跨平台平台

功能简介

dsh atuin-history:记录用户提示到atuin历史

✅
我们的评价
可用 — 实测通过,早期项目

dsh atuin-history:记录用户提示到atuin历史 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-atuin — record every dsh prompt into your atuin history

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.

English · 中文

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.
  • deny suppresses 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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 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

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

改善终端体验——TUI、命令面板或 shell 集成——让 dsh 在终端里如原生一般。

适合谁

终端优先、从命令行驱动 dsh、想让它像熟悉的 CLI agent 一样工作的开发者。

二次开发建议

TUI 布局和 shell 集成是缝——加面板、快捷键或新的 shell 钩子。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Terminal 里更多

浏览全部 7797 个插件 →