dsh-webui-perf
awa-123-cw
DeepSeek Harness WebUI 性能优化开关插件:长代码流式渲染/历史加载/高亮缓存优化,设置面板一键开关(with official-package patches)
PROJECT TOPICS
PROJECT README
結構化觀測層:真實的工具/技能使用記錄(
tools/result)、技能目錄審計、看門狗。零模型自報——平台記什麼,報告就寫什麼。
A DeepSeek Harness host plugin that replaces model self-reporting with structural recording:
tools/result listener — 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.| 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 |
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.
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"] } }
- id: infra-observability
name: '@bryan-cmf/dsh-infra-observability'
>= 0.1.0-rc.6 (services: tools, timer, skills — all part of the
shipped dsh-base bundle)| 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 |
dsh-skill-trail); the durable source
of truth remains the session log. Cross-restart persistence is planned.@bryan-cmf/dsh-skill-trail
renders the per-reply badge row; this package is the backend layer.pnpm install --store-dir .pnpm-store
pnpm build
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。