dsh-infra-observability
by Bryan-cmf
DSH 插件:结构化可观测层——记录真实工具/技能使用(tools/result)、审计技能目录并提供看门狗,不依赖模型自报。
DSH-Plugin: structural observability layer - real tool/skill usage recording (tools/result), skill-catalog audit, watchdog. No model self-reporting.
安装
dsh plugin --profile web add github:Bryan-cmf/dsh-infra-observabilityGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
目录
⚠️ 此套件已併入
@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
原始 README: https://github.com/Bryan-cmf/dsh-infra-observability/blob/main/README.md ↗
同类插件
查看全部 →
agent-vision-toolkit
为纯文本模型"看图“设计更好的视觉工具箱和技能,支持多图理解,图片问答,前端UI还原、GUI 自动化等,并可选无缝接入多个主流agent,直接识别粘贴图片| A vision toolkit and skill designed for text-only llms — image Q&A, long-screenshot OCR, frontend UI restoration, and GUI automation, with optional seamless integration for Codex, Claude Code, Pi, Oh My Pi, and OpenCode

api-relay-audit
从 DeepSeek Harness 对 AI API 中转站和 LLM 代理运行本地安全审计,生成 Markdown 报告,覆盖提示词注入、模型替换信号、工具调用改写、错误泄漏、流完整性和按 profile 启用的 Web3 风险。

OpenStory
✨ OpenStory 现已支持 DeepSeek Harness 插件! 现在可以通过 dsh-openstory 将 OpenStory 多智能体推演接入 DeepSeek Harness,让 agent 直接启动模拟、查看角色、下达指令并逐回合推进故事。查看 DSH 插件配置与使用指南。

phi
pi的编码代理 ∞ 提供者、子代理、hashline编辑和权限门

anysearch-dsh
DeepSeek Harness(DSH)的 AnySearch 网络搜索提供方与高级搜索工具。

codex-switch
Codex Switch 是一个 macOS 工具,一键配置 Codex 的自定义 API,同时保留官方 OpenAI 登录。保存后 Codex 的模型选择器里只会出现你选的那个 provider 的模型。也支持 Claude Code 的官方 / 自定义 API 切换。Codex Switch is a lightweight helper for configuring multiple coding-agent API routes. For Codex, it keeps Official OpenAI and a custom API provider configured in parallel, registers the custom model in Codex's mod