DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-local-diagnostics

f

dsh-local-diagnostics

Discovered

Privacy-first in-memory diagnostics for DeepSeek Harness

dsh-local-diagnostics

CI

一个面向 DeepSeek Harness 的隐私优先、本地内存诊断插件。

它通过 Harness 已公开的 Cordis 扩展点观察运行状态,不修改 Agent Loop:

  • tools/execute:测量 dispatch 阶段耗时,并始终调用 next();
  • tools/result:统计最终成功、失败以及结构化错误码;
  • session/event:只统计事件类型;
  • agent/error:只统计错误类名;
  • diagnostics_report:返回当前 Session 的脱敏聚合报告。

隐私保证

插件不采集提示词、消息、工具参数、工具输出、错误消息、Session ID、文件路径或凭证,也不写磁盘、不发送网络请求。完整边界见 docs/privacy.md。

环境要求

  • Node.js ^22.19.0 || >=24.0.0
  • pnpm 11.7.0
  • DeepSeek Harness 0.1.0-rc.6 系列

Harness 尚处于开发者预览阶段,插件 API 可能发生破坏性变化。

本地开发

corepack pnpm install
corepack pnpm run check

check 依次执行类型检查、单元测试、构建,并把真实 .tgz 安装到隔离的临时消费项目中验证发布入口。只运行打包消费测试:

corepack pnpm run build
corepack pnpm run test:package

安装到 DSH profile

从本项目目录安装当前 checkout:

corepack pnpm run build
npx @deepseek-ai/dsh plugin --profile web add .
npx @deepseek-ai/dsh --profile web --dump-config
npx @deepseek-ai/dsh --profile web

然后要求 Agent 调用 diagnostics_report。移除插件:

npx @deepseek-ai/dsh plugin --profile web remove dsh-local-diagnostics

配置

- insert:
    - id: local-diagnostics
      name: dsh-local-diagnostics
      config:
        maxDistinctValues: 128

maxDistinctValues 是每类统计保留的精确名称上限,超出的名称归入 <other>。

当前限制

  • 数据仅覆盖插件本次加载之后的进程生命周期。
  • 重启和插件热重载都会清空统计。
  • timing 是 dispatch 阶段耗时,不含审批和结果渲染。
  • 第一版没有 UI、文件导出、OpenTelemetry 或跨进程聚合。

License

MIT

Comments

Loading…

Similar plugins

dsh-doctor-windows

by sublatesublate-design

Windows environment diagnostics for DeepSeek Harness

Manifest valid

★ 0

MIT

TypeScript

Aug 14, 2026

dsh plugin --profile web add dsh-doctor-windows

by Haoran2099

Task-isolated, privacy-first memory for DeepSeek Harness

Tools & CapabilitiesSessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 9, 2026

dsh plugin --profile web add focal-dsh

by astra3294

Deterministic diagnostics and recovery for DeepSeek Harness

Development & InfrastructureManifest valid

★ 5

↓ 709/wk

MIT

TypeScript

Oct 25, 2026

dsh plugin --profile web add dsh-doctor

by Ukashi0

Local-first memory governance for DeepSeek Harness: scoped recall, provenance, conflict review, and a Web dashboard.

Security & AuditManifest valid

★ 0

MIT

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-memory-guardian

by a554878526

Runtime-first Debug Mode plugin for DeepSeek Harness

Development & InfrastructureTerminal & ClientsManifest valid

★ 2

MIT

TypeScript

Sep 3, 2026

dsh plugin --profile web add dsh-debug-mode

by IAMLieutenant

DeepSeek Harness 用户记忆插件

Memory & ContextSessions & MessagesManifest valid

★ 3

↓ 235/wk

MIT

TypeScript

Oct 22, 2026

dsh plugin --profile web add dsh-tool-user-memory