AI Agent Hub
Back to plugins
🖥️

dsh-cmdwatch

Client Updated 2026.09.01

Run the following command in DeepSeek Harness:

dsh plugin install GavinQiEr/dsh-cmdwatch

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install GavinQiEr/dsh-cmdwatch in DeepSeek Harness to install this plugin; the source repository is https://github.com/GavinQiEr/dsh-cmdwatch

About this plugin

Kicking off a long build, a pytest run, or a data pipeline through DSH leaves a blind spot: between pressing enter and reading the final result, progress is invisible unless you pause the conversation and manually poll the output. dsh-cmdwatch closes that gap with a dedicated command-monitor panel that streams foreground commands and background jobs line by line in real time, so you never have to break the chat flow to check how far things have gotten.

Under the hood the plugin preserves command semantics while unlocking progressive output. Detectable pipeline stages that would swallow the stream — Select-Object -Last, tail, Out-File, shell redirects — trigger an automatic insertion of Tee-Object or tee before the earliest such stage. Output is written to a temp log that the panel polls every 500 ms, and the result DSH receives is identical to the original pipeline: -Last 3 still returns exactly three lines, Out-File still writes the file. Wrapped commands carry a modified badge with the original text on hover; unsupported patterns surface a yellow warning rather than being silently altered. Sessions are isolated, the view auto-scrolls to the latest line, and long one-liners collapse with a full-text tooltip.

The plugin suits developers who routinely delegate long-running work to DSH — running test suites, installing dependencies, compiling projects — and want live progress without taking their eyes off the conversation. Flipping the real-time stream off returns output deltas to the DSH job_output tool on demand, letting both monitoring styles coexist in the same workflow.

Use Cases

  • Track pytest runs or build scripts line by line in real time without pausing the conversation
  • Monitor background task progress in a dedicated panel while foreground commands stream simultaneously
  • Commands with -Last, tail, or redirection pipelines get auto-inserted Tee logging so the panel shows full progressive output while the original pipeline semantics are preserved

Best For

  • Developers who routinely delegate long-running jobs (tests, builds, installs) through DSH
  • Users who need to monitor command progress without losing conversational context
  • Engineers running scripted automation and CI-style workflows in the DSH web profile