dshplugin.devDeepSeek Harness Plugins
DSH Atuin plugin logo
DeepSeek Harness Plugin

DSH Atuin

0
Published by RealAlexandreAI

dsh atuin-history: record dsh user prompts into atuin shell history

Sessionsdsh-plugin

Get this plugin

Review the source, then continue to the publisher.

dsh plugin add dsh-atuin
Get this plugin
Share on X ↗

About this plugin

Source snapshot 8/13/2026

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/eventuser/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 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-history
  name: dsh-atuin
  config:
    # atuin_bin: /opt/homebrew/bin/atuin
    # deny: "^/clear$,password"
    # max_len: 2000
    # session_match: "project-x"
keymeaning
atuin_binpath to the atuin binary (default atuin on PATH)
denycomma-separated regexes; matching prompts are not recorded
max_lentruncate long prompts (default 2000; 0 off)
session_matchcomma-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