LingLambda/dsh-logger-panel

LingLambda★ 1TypeScript最后同步: 2026-08-14

在 GitHub 打开

Runtime log panel for DeepSeek Harness (dsh): live SSE log view in Settings plus bounded date/size rotating JSONL files.

README 摘要

dsh-logger-panel English 中文 Runtime log panel for DeepSeek Harness ( dsh ). It captures the Host's Cordis logger output, streams it live into a Settings Logs page over SSE, and persists the same records to bounded, date-and-size rotating JSONL files under the private $DSH HOME/logs/dsh-logger-panel directory. The page renders records as plain text. Raw logger arguments, Fiber references, ANSI escapes, and executable markup never cross the browser wire. Features - Live view with snapshot + 100 ms batched SSE appends. - History paging: a Load older button reads records back from the rotated JSONL files across rotations and dates, so the browser can go beyond the in-memory window. - Bottom auto-follow that pauses when you scroll up, with a Latest button to resume. - Bounded memory: the Host retains the latest 2,000 records for a connecting browser. - JSONL persistence: a new YYYY-MM-DD-N.jsonl file opens on Host activation, date change, or the 5 MiB size limit; matching files older than 30 days are removed. The directory is created with mode 0700 and files with 0600 . - Bounded disk queue (1,000 records). If persistence fails, the panel reports the failure and the live stream keeps wo…

在 GitHub 查看完整 README →
Tools / Devdshdsh-plugindsh-plugins

分类