trajectory-clean
Run the following command in DeepSeek Harness:
dsh plugin install gaogx96/trajectory-clean
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install gaogx96/trajectory-clean inside DeepSeek Harness to install this plugin. Source: https://github.com/gaogx96/trajectory-clean
About this plugin
In multi-turn or agent-tool-calling workflows, the default chat view in DeepSeek Harness presents user inputs, model replies, tool calls, and errors in a single flat stream. After a dozen or more rounds, tracing back the full reasoning chain, tool parameters, and token cost behind one specific prompt requires constant scrolling and is painfully slow.
trajectory-clean adds a Trajectory tab alongside the chat at the top of the session. Messages are automatically grouped by your user input, so each group title is the text you typed and you can jump straight to the turn you need. Every entry carries a type badge (user, model, tool, command, error) and displays token consumption for input, output, and cache hits in chip-style labels. Expanding any entry reveals the full text, model thinking process, tool parameters and results, model name, and first-token latency. An overview bar at the top aggregates total record count, turn count, token totals, error count, and tool-call count, with one-click expand-all and collapse-all. The plugin uses dsw CSS variables so it adapts to every built-in theme, keeping the visual style clean and free of decorative elements.
Built for developers who use DeepSeek Harness for multi-turn agent debugging, session auditing, or cost tracking. When you need to show a colleague the complete call chain of a session, or quickly locate the parameters and return values of a specific tool invocation deep in a long conversation, this plugin saves a great deal of scrolling and filtering.
Use Cases
- Quickly locate a specific tool call's parameters and results in a long conversation
- Audit a full agent session's reasoning chain and token consumption
- Compare cache hit rates and cost distribution across turns
Best For
- Developers debugging agents with DeepSeek Harness
- Teams auditing cost and quality across multi-turn sessions
- Operators who prefer a clean tool-style call-chain browser
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.