anyuer678/dsh-logtimeline

anyuer678★ 0PythonLast synced: 2026-08-17

Open on GitHub

Query local log files with Chinese natural-language time expressions — LogTimeline for DeepSeek Harness.

README excerpt

🐳 dsh-logtimeline Query local log files with Chinese natural-language time expressions — LogTimeline for DeepSeek Harness. 简体中文 English Ask 「昨天下午」「3小时前」「凌晨12点」「上周三 14:00-15:00」 — get the matching log lines, the resolved time range, and ERROR/WARN/INFO level stats. Fully offline. Logs never leave the machine. Why Coding agents constantly need to answer "what happened around 3pm yesterday?" . Generic log tools make you hand-write grep pipelines and timestamp math. log query resolves the fuzzy Chinese time expression for you and returns structured, machine-readable matches the agent can reason over directly — no parsing prose out of terminal output. Features 🕐 Chinese time parsing Absolute dates ( 2026-07-03 , 7月3日 09:15 ), relative ( 3小时前 , 昨天 , 上周三 ), fuzzy windows ( 下午 , 凌晨 ), hour ranges ( 14:00-15:00 ) — each with a confidence score 📄 Multi-format logs Auto-detected timestamp formats, UTF-8/GBK encoding fallback, streaming filter (no full-file load, 2.4s per 300k lines) 🔒 Offline by default Zero third-party Python dependencies; log contents never leave the machine 🧩 Structured output Canonical JSON ( time range , filter , lines , stats ) rendered as readable text for the mod…

View full README on GitHub →
Tools / Devdeepseek-harnessdshdsh-pluginlog-analysis

Category