dsh-logbook
Run the following command in DeepSeek Harness:
dsh plugin install d3vmeh/dsh-logbook
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install d3vmeh/dsh-logbook in your DeepSeek Harness terminal to install; the source is available at https://github.com/d3vmeh/dsh-logbook.
About this plugin
Every dsh plugin logs through ctx.logger, but the framework ships with a single 1000-record in-memory buffer that silently drops warn and debug records. A plugin can raise a warning about a real problem, and there is simply no way to see it—live or after the fact.
dsh-logbook registers a full-capture exporter and gives you two observation windows. The first is a stderr writer that, by default, passes through only warnings and errors so a healthy session stays quiet; you can widen the filter per plugin via a config map. The second is a /logs command in the chat that maintains a 2000-record ring covering all levels, with type-based filtering. It never writes to stdout, keeping the SDK and ACP protocol lane clear, and it attaches an error listener on the stderr handle so a closed pipe cannot crash the dsh process.
If you run dsh from the terminal, do not want to spin up a browser or a web panel, and need a reliable way to confirm that a plugin warned or errored, dsh-logbook is the lightest option—pure terminal plus chat, no web dependency, fully functional in headless environments.
Use Cases
- Confirming a plugin warning in real time from the terminal
- Debugging plugin errors in a headless CI environment without a browser
- Reviewing the last 2000 log records after a session to trace intermittent issues
Best For
- Developers who run dsh scripts from the terminal daily
- Plugin authors who need to debug ctx.logger output
- Ops engineers deploying dsh on headless servers or CI pipelines
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.