dsh-loglens
Run the following command in DeepSeek Harness:
dsh plugin install Monicaxixi/dsh-loglens
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Monicaxixi/dsh-loglens in your terminal to add the plugin to your Harness profile, then restart the profile; the full source code is at https://github.com/Monicaxixi/dsh-loglens .
About this plugin
When debugging inside DeepSeek Harness, logs are often the hardest part to digest: pasting everything into context blows the window, while ad-hoc truncation loses the timeline and repetition patterns. dsh-loglens provides a bounded, cursor-aware log inspection layer that turns raw log streams into structured, incrementally readable signals a model can focus on turn by turn.
The plugin exposes four model-facing tools. logs_read parses a bounded window from the current cursor, normalizes severity, collapses repeated lines, and fingerprints exceptions to produce a compact snapshot. logs_raw retrieves original cached events only after an explicit event-id or fingerprint lookup. logs_list reports configured sources and cursor state, and logs_reset_cursor restarts incremental reading for a single source. File sources use byte offsets with inode checks; shell-command sources are administrator-authored and memory-capped. The model only ever sees a source id, never an arbitrary path or command. In the Harness Web conversation UI, the snapshot renders as stats, grouped issues, recent events, and expandable stack frames, while raw content stays behind logs_raw for on-demand retrieval.
This plugin fits developers who do daily debugging, alert triage, or code review within DeepSeek Harness. If you want the model to drill into logs incrementally over a bounded window rather than swallow megabytes of text in one shot, dsh-loglens makes log inspection repeatable, auditable, and firmly bounded.
Use Cases
- Drill into log segments turn by turn during debugging instead of loading entire files
- Triage alerts by locating repeated exceptions and reviewing fingerprint clusters
- Inspect original events and full stack frames on demand during code review
Best For
- Developers doing daily debugging and issue triage inside DeepSeek Harness
- SRE engineers who need alert root-cause analysis and log pattern detection
- AI application developers who want bounded, incremental log inspection without context overflow
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.