AI Agent Hub
Back to plugins
🧰

dsh-logtimeline

Web Tools Updated 2026.08.30

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