Bryan-cmf / dsh-infra-observability

목록에 있음

DSH-Plugin: structural observability layer - real tool/skill usage recording (tools/result), skill-catalog audit, watchdog. No model self-reporting.

main모델도구스킬 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:Bryan-cmf/dsh-infra-observability

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 e8ae00b동기화 2026. 8. 17.

⚠️ 此套件已併入 @bryan-cmf/dsh-insights(2026-08-17)。此 repo 僅保留作合併前歷史,後續迭代請到 dsh-insights。

🔭 Infra Observability — DSH-Plugin

結構化觀測層:真實的工具/技能使用記錄(tools/result)、技能目錄審計、看門狗。零模型自報——平台記什麼,報告就寫什麼。

npm License: MIT DSH

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.
  • Watchdog — timer-driven alert when agent errors spike (≥ N in 5 min).
  • Three tools for the model and humans:
ToolWhat it reports
usage_reportPer-day tool/skill aggregates (calls / ok / err) + recent executions
audit_skillsCatalog totals, provider spread, warnings (missing description, non-kebab names), today's skill usage
infra_healthUptime, 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

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 shipped dsh-base bundle)

Configuration

KeyDefaultMeaning
maxRecords5000Ring-buffer cap for recent execution records
healthIntervalMs60000Watchdog check interval
errorAlertThreshold5Alert 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-trail renders the per-reply badge row; this package is the backend layer.

Development

pnpm install --store-dir .pnpm-store
pnpm build

License

MIT

저장소 정보

언어
TypeScript
라이선스
MIT
마지막 업데이트
2026. 8. 17. AM 8:27

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.