dsh-infra-observability
Manifest validDSH-Plugin: structural observability layer - real tool/skill usage recording (tools/result), skill-catalog audit, watchdog. No model self-reporting.
⚠️ 此套件已併入
@bryan-cmf/dsh-insights(2026-08-17)。此 repo 僅保留作合併前歷史,後續迭代請到 dsh-insights。
🔭 Infra Observability — DSH-Plugin
結構化觀測層:真實的工具/技能使用記錄(
tools/result)、技能目錄審計、看門狗。零模型自報——平台記什麼,報告就寫什麼。
A DeepSeek Harness host plugin that replaces model self-reporting with structural recording:
tools/resultlistener — every real tool execution (name + outcome) is recorded by the platform into a ring buffer and per-day aggregates.agent/error/agent/status— error totals and live-agent tracking.- Watchdog — timer-driven alert when agent errors spike (≥ N in 5 min).
- Three tools for the model and humans:
| Tool | What it reports |
|---|---|
usage_report | Per-day tool/skill aggregates (calls / ok / err) + recent executions |
audit_skills | Catalog totals, provider spread, warnings (missing description, non-kebab names), today's skill usage |
infra_health | Uptime, records kept, error counts, running agents, catalog size, watchdog state |
Dashboard (browser)
The client half registers an 「觀測」view tab (order 20, right of
chat / trajectory) rendering a live per-session dashboard from the infraView
session projection: turn counts, failure count, tool/skill TOP lists with
success-rate bars, and the recent execution trail. Data updates as events
commit — no refresh needed.
Install
Path A — Host composition (recommended, always-on)
Add to the profile's package.json dsh.profile.bundles (the package ships a
dsh.bundle.patch that inserts the plugin row):
"dsh": { "profile": { "bundles": ["@bryan-cmf/dsh-infra-observability"] } }
Path B — Agent preset row
- id: infra-observability
name: '@bryan-cmf/dsh-infra-observability'
Requirements
- DSH
>= 0.1.0-rc.6(services:tools,timer,skills— all part of the shippeddsh-basebundle)
Configuration
| Key | Default | Meaning |
|---|---|---|
maxRecords | 5000 | Ring-buffer cap for recent execution records |
healthIntervalMs | 60000 | Watchdog check interval |
errorAlertThreshold | 5 | Alert at ≥ this many agent errors per 5-minute window |
Scope notes
- Aggregates are process-lifetime (like
dsh-skill-trail); the durable source of truth remains the session log. Cross-restart persistence is planned. - Companion package:
@bryan-cmf/dsh-skill-trailrenders the per-reply badge row; this package is the backend layer.
Development
pnpm install --store-dir .pnpm-store
pnpm build
License
MIT
Comments
Loading…
Similar plugins
by xingzhen199186
DSH runtime observability and plugin diagnostics panel
★ 0
MIT
TypeScript
Sep 10, 2026
dsh plugin --profile web add dsh-insight-treeby ZSeven-W
DeepSeek Harness (DSH) plugin: a read-only ledger for the plugins you already have installed — a capability inventory with file:line evidence, declared-vs-detected reconciliation, cross-profile versio
★ 25
↓ 101/wk
MIT
JavaScript
Oct 28, 2026
dsh plugin --profile web add @zseven-w/dsh-harborby JularDepick
A plugin for dsh: monitor the resource utilization of dsh system processes and report the results to the user in the form of charts.
★ 0
Apache-2.0
TypeScript
Sep 26, 2026
dsh plugin --profile web add dsh-system-monitor-pluginby z-col
DSH Skills 可视化管理器:在 DSH Web 界面可视化查看、编辑、创建、删除 Skills(用户级 ~/.dsh/skills 与项目级 .dsh/skills)
★ 2
↓ 207/wk
TypeScript
Oct 2, 2026
dsh plugin --profile web add dsh-skills-managerby gwsbhqt
洞察 — read-only insight panel for a DeepSeek Harness profile: where every plugin, service, tool and model came from, which config layer inserted or disabled it, and what is running right now.
★ 3
MIT
TypeScript
Sep 26, 2026
dsh plugin --profile web add @gwsbhqt/dsh-insightby beartackler
Slash commands ported from other coding agents (setup, connect, install, trust, browse, doctor, status, model, memory, compact, resume, review, mcp, init, suggest, improve, refactor), a zero-dependenc
★ 1
↓ 506/wk
MIT
TypeScript
Aug 30, 2026
dsh plugin --profile web add dsh-bridge