dsh-logtimeline
Run the following command in DeepSeek Harness:
dsh plugin install anyuer678/dsh-logtimeline
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install anyuer678/dsh-logtimeline in your terminal to install this plugin; the source repository is at https://github.com/anyuer678/dsh-logtimeline
About this plugin
When a coding agent needs to answer questions like "what happened around 3 p.m. yesterday?" against local log files, the traditional path is a hand-written grep pipeline plus manual timestamp arithmetic — tedious and error-prone. dsh-logtimeline removes that friction: the agent simply says "3小时前" or "last Wednesday 14:00-15:00" and receives structured, machine-readable matches it can reason over directly, without parsing terminal prose.
The plugin parses a wide range of Chinese natural-language time expressions — absolute dates, relative offsets, fuzzy windows such as "凌晨" or "下午", and hour ranges — each tagged with a confidence score. On the log side it auto-detects timestamp formats, falls back between UTF-8 and GBK encoding, and streams through large files (roughly 2.4 s per 300 k lines) without loading the entire file into memory. Output is canonical JSON (time_range, matched lines, ERROR/WARN/INFO stats) rendered as readable text that stays within the Harness 50 KB inline budget.
Best suited for DeepSeek Harness users working in Chinese-language environments — debugging local services, reviewing build or CI logs on their own machines. Everything runs offline: no API keys are read, no outbound network calls are made, and log contents never leave the disk. The tool is strictly read-only and path-scoped to the files or directories the model passes in, making it safe to point at production mirror logs without risk of accidental writes.
Use Cases
- Let a coding agent locate log lines with natural Chinese time phrases like "yesterday afternoon" or "3 hours ago" without hand-written grep pipelines
- Analyze ERROR/WARN/INFO distribution across a fuzzy time window and get structured stats the agent can reason over directly
- Stream-filter large files (~300k lines in 2.4 s) with auto-detected timestamp formats and UTF-8/GBK fallback, fully offline
Best For
- Developers debugging local services in Chinese-language environments with DeepSeek Harness
- Engineers who need quick log triage from build or CI output while prioritizing privacy and offline workflows
- Independent developers who want their coding agent to query logs in natural language without manual timestamp math
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.