Skip to content

dsh-event-auditor

⭐ 1 · ✅ active · plugin

Type plugin Category Vision & multimodal
Stars ⭐ 1 Status ✅ active
Author qing3a Updated —
Subcategory 👁️ Vision tools Capabilities coding

One-liner

DeepSeek Harness 事件流审计面板插件:观察事件类型/分发模式/计数/最近事件,帮助插件作者理解 harness 内部

About

Harness 事件流审计面板:观察事件类型、分发模式、计数与最近事件,帮助插件作者理解 DeepSeek Harness 内部发生了什么。

✨ Key Features

  • 监听 22 个 harness emit 事件(agent 生命周期 / 会话 / 工具 / subagent / 配置)
  • v0.2:监听 10 个 waterfall 事件(tools/execute、approval/request、fs/write-intent、llm/stream 等,观察性透传 next())
  • v0.3:settings 面板热改(installSettingsSection,实时开关分组无需重启)、headless dump(DSH_EVENT_AUDIT_DUMP)
  • 按事件名与分发模式计数,环形缓冲保留最近 500 条
  • /audit 面板(纯静态页)+ /api/audit/events JSON 接口(支持 ?since= 增量)
  • 分组开关(agent/session/tools/subagent/config/waterfall;config 默认关闭)

📦 Install

# 生产安装(npm,agent 可直接执行)
dsh plugin --profile <profile> add @qing3a/dsh-event-auditor
dsh --profile <profile>
# 打开 http://localhost:<port>/audit

# 开发模式(需 Node >= 22 + pnpm)
git clone https://github.com/qing3a/dsh-event-auditor.git
cd dsh-event-auditor && pnpm install && pnpm build
cd <path-to-deepseek-harness>
dsh plugin --profile <profile> add link:$(pwd)/dsh-event-auditor

🚀 Quick Start

dsh plugin --profile <profile> remove @qing3a/dsh-event-auditor

📚 Learn more

生产安装(npm,agent 可直接执行)

dsh plugin --profile add @qing3a/dsh-event-auditor dsh --profile