dsh-agent-observability

DSH PLUGIN模型与账号接入

仓库 beibeihk/dsh-agent-observability

模型与账号接入 L4 · 沙盒安装通过 安全审查:低风险 可信度:银 可安装插件
安装这个插件

为 DeepSeek Harness 提供基于事件证据的隐私优先可观测性分析,重建会话轨迹、计算可靠性指标并导出失败用例。

一句话选型结论

按资料字段整理

dsh-agent-observability 是模型与账号接入类的 DSH 可安装插件,验证等级 L4 · 沙盒安装通过,安全审查为低风险,列出 5 项功能,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类模型与账号接入 收录类型可安装插件 验证等级L4 · 沙盒安装通过 安全审查低风险
验证等级 L4 L4 · 沙盒安装通过
GitHub 星标 0 复刻 0 · 未关闭 issue 0
最近更新 2026-10-03 创建于 2026-10-03
README 10.2 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:beibeihk/dsh-agent-observability#v0.1.0
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-agent-observability:为 DeepSeek Harness 提供事件溯源式可靠性分析

  • 重建会话到工具调用轨迹
  • 计算可靠性指标
  • 检测十类可观测故障模式
  • 导出失败用例供评测
  • 生成静态 HTML 报告

适用场景

智能体编排

上游标签

agent-evaluationagent-observabilityai-agentcoding-agentdeepseek-harnessdsh-plugin

验证等级与安全审查

L4 · 沙盒安装通过
自动化流程结论,不是人工审核
验证等级L4 · 沙盒安装通过安装命令在隔离沙盒内真实执行成功,无依赖错误
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度银综合仓库活跃度与验证结果

上面的结论来自上游最近一次自动化验证(2026-10-08): 同一套检查会在插件发新版后重跑,页面显示的是最新一次的逐项结果。

逐项检查结果

L1 · 已找到 ✓ 通过
  • L1.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L2 · 结构化 ✓ 通过
  • L2.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L3 · 安装规范 ✓ 通过
  • L3.1_INSTALL_COMMAND_PARSED 安装命令已解析 方式:安装规范解析
  • L3.2_DSH_VERSION_DECLARED DSH 版本已声明 方式:DSH 版本声明
L4 · 安装已测 ✓ 通过
  • L4.1_INSTALL_EXECUTED_CONFINED 受限沙盒内执行安装 方式:沙盒安装执行
  • L4.2_INSTALL_SUCCESS 沙盒安装成功 方式:沙盒安装执行
  • L4.3_ARTIFACT_CONFIRMED 安装产物已确认 方式:沙盒安装执行
L5 · 运行已测 ✕ 未通过
  • L5.1_INSTALL_PASSED_SANDBOXED 沙盒安装通过 方式:沙盒安装执行
  • L5.2_WEB_BOOT_READY Web 启动就绪 插件目录树加载失败
  • L5.3_HTTP_SERVED HTTP 服务响应

风险详情

  • 审查结论 通过
  • 结论说明 vet 静态分析未发现可疑行为,判定为干净(clean)。
  • 风险计数 严重 0 / 高 0 / 中 0
  • 风险详情 未发现严重或警告级问题。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L4:在沙盒里真实装过,依赖能装上,不是纸面声明。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 列出了 5 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在模型与账号接入场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-agent-observability当前 L4 · 沙盒安装通过 低风险 0 未标注 有
archify L4 · 沙盒安装通过 低风险 8.0 万 未标注 有
DeepSeek-Reasonix L4 · 沙盒安装通过 低风险 3.6 万 未标注 有
nocobase L3 · 安装规范通过 低风险 2.5 万 0.1.1-rc.2 无
learn-harness-engineering L4 · 沙盒安装通过 低风险 2.0 万 未标注 有
dsh-our-free-model 未做沙盒验证 未标注 8,064 未标注 无

仓库档案

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方beibeihk仓库 dsh-agent-observability · 默认分支 main
分类模型与账号接入ai
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言TypeScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-03 · 2026-10-03最后推送 2026-10-03
本站收录2026-10-03首次进入本站目录的时间

README 全文

10.2 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-agent-observability

Community plugin for DeepSeek Harness. Event-grounded, privacy-first, eval-ready reliability analysis. No official affiliation or endorsement.

中文 · Demo report · Technical report · Study guide

Quick Start

Install Node.js ^22.19.0 || >=24, pnpm, and the tested Harness release. The plugin is published on npm.

npm install --global @deepseek-ai/dsh@0.2.0-rc.2 pnpm
dsh plugin --profile web add @beibeihk/dsh-agent-observability@0.1.0

Enable: dsh plugin add selects the bundle automatically. Confirm the agent-observability row:

dsh --profile web --dump-config

Run:

dsh web

Run your usual task in Web (your own model credentials are required), then submit /observe in that session. The command returns metrics and findings without a model turn. Reports also export automatically at durable turn completion and session flush.

View report: /observe prints its directory. Open report.html locally. Default location: $DSH_HOME/profiles/web/observability// (DSH_HOME defaults to ~/.dsh). Files: trace.json, trace.jsonl, summary.json, summary.csv, eval.jsonl, report.txt, report.html.

Alternatively, download the prebuilt .tgz from v0.1.0 and run dsh plugin --profile web add ./beibeihk-dsh-agent-observability-0.1.0.tgz. The registry package is byte-for-byte identical to that release artifact. Publication and registry installation verification.

Keyless, reproducible demo

git clone https://github.com/beibeihk/dsh-agent-observability.git
cd dsh-agent-observability
npm ci --ignore-scripts
npm run demo

The demo packs the built plugin, installs it with the real dsh plugin --profile headless add, and runs the real dsh --profile headless --patch ... with an offline deterministic adapter and tool. It uses an isolated project-local .demo-home, disables Harness telemetry for this experiment, and writes artifacts/demo/report.html, trace.jsonl, and summary.json. No paid API calls. Example details.

What it does

Reconstructs Session → Turn → Step → Model settlement → Tool call/result trajectories from committed session evidence. Computes reliability metrics, detects bounded observable patterns, cites exact event sequence numbers, and exports failure cases for later evaluation. Normalized schema.

Why

A console log cannot reliably distinguish retries from steps, a cancelled turn from an errored one, or a surface rewrite from a second tool result. The Harness session log records the facts the model context derives from; this plugin uses those facts without rewriting them.

Example Output

Session Reliability Report
Status: completed
Turns: 1 | Steps: 2 | Model requests (settled): 2
Tool calls: 1 | Successes: 1 | Failures: 0 | Cancelled: 0
Detected Issues:
- None detected

This excerpt comes from the offline Harness demo. Full output · Dashboard. The dashboard is static HTML with no scripts, external assets, or arbitrary overall score.

Failure Detectors

ID Observable pattern Default
F01 Call without terminal result in a closed, complete interval Error; suppressed for cancellation/fork closure
F02 Multiple terminal results in the same turn/step/call Error; surface replacements excluded
F03 Consecutive equivalent calls 3 calls within 60 s
F04 Same tool fails across consecutive steps 3 failures
F05 Excessive settled model attempts per step More than 3
F07 Durable abnormal turn termination Error/interruption; warnings for policy/token limits
F08 Call-to-result latency above threshold More than 30 s
F09 High tool error ratio More than 50%, at least 4 success/error results
F10 Frequent logged request/context changes At least 5; informational
T01 Observed tool error Informational; recovery can still complete

F06 is deferred: model text and tool success do not objectively establish task progress. Findings detect evidence-backed runtime and trajectory patterns, not all agent failure causes or answer correctness. Definitions, examples and false-positive risks.

Architecture

The official dsh.bundle.patch inserts one Cordis plugin. It injects sessions and sessionQuery, subscribes to observe-only session/event, and replays seeds through asynchronous sessionQuery.observeSession() leases. A typed local ctx.dshObservability service exposes trace(), export(), flush() and a diagnostic. Optional ctx.commands contributes /observe as a human command. All listeners and services unwind with their Cordis fiber.

No loop modification, monkey patches, node_modules edits, waterfall interception, additional model tool schemas, or prompt injection. Architecture · Integration.

Privacy

Metadata-only by default. No telemetry is sent by this plugin. Capture requires captureContent: true; redaction remains enabled. Reasoning blocks and embedded assistant streams are always excluded. Exported content hashes cover redacted content; argument equality uses an ephemeral session-keyed HMAC. Opaque tool metadata is never copied. Privacy and threat limits.

The upstream Harness has its own telemetry and provider session-log behavior; installing this plugin does not change either. Our demo explicitly opts out of Harness telemetry. Capturing plaintext into Harness itself is outside this plugin's redaction layer.

Performance

npm run benchmark runs 130 labeled synthetic traces, a 10,000-event recorder microbenchmark and the published Session event-dispatch benchmark. On Node 24.12.0 / Windows x64, the recorder adds 9.62 μs/event in metadata mode; official Session.append plus observation adds 34.20 μs/event (+79.67% in that message-only microbenchmark). Content mode adds 27.64 μs/event in the latter. These figures exclude model latency and disk I/O and do not describe end-to-end task overhead. Heap/RSS deltas are noisy, GC-sensitive measurements. Raw results · Method and limitations.

The 130 synthetic traces produce 130 true-positive session/type label pairs, zero false positives and zero false negatives (precision/recall 1.0). They come from 13 designed templates with limited variation, not independent real-world tasks; this validates the specified rules, not general agent accuracy.

Memory is bounded by maxSessions (64), maxEvents (100,000 per retained session), and maxContentBytes (16 KiB per captured payload). Bounded history bootstrap and export queues report saturation. Writes are asynchronous batched snapshots at turn/flush boundaries, with atomic replacement of each file. There is no token-level write or fsync.

Compatibility

Tested against published DeepSeek Harness 0.2.0-rc.2, Cordis 4.0.4, and its current logical session format. Peers declare the exact tested prerelease; engines.dsh repeats it as metadata. No claim for other releases or 0.2.1-alpha.1. Compatibility evidence.

Development

npm ci --ignore-scripts
npm run validate
npm run test:coverage
npm run benchmark
npm run demo
npm pack

CI runs lint, typecheck, offline tests, build, synthetic benchmark and the packed official-launcher demo on Node 22.19+ and 24. Only published package exports are imported in production; deprecated synchronous session readers occur only in test files.

Limitations

Usage totals cover only assistant messages with reported counters; usage_coverage exposes coverage. Settled request counts omit attempts lost before durable settlement. No inferred context utilization, task-progress score, network trace, hidden reasoning, full PTC subcall model, or real-world accuracy claim. Fork metrics count child-owned work; inherited evidence remains explicitly marked. Config reload is tested as dispose/remount/replay; a filesystem-driven source-HMR stress matrix is not claimed.

Files are individually atomic, not a multi-file transaction. A hard crash can lose the not-yet-exported interval; previous completed JSONL snapshots remain parseable. No automatic disk retention deletion: remove old hashed session directories when needed. Retention and recovery.

Roadmap

Versioned exporters and detector functions are the extension seam for Agent Reliability Observatory adapters, OpenTelemetry, benchmark adapters and opt-in judges. V1 keeps deterministic rules and local files; it does not implement remote telemetry or judge-based labels.

MIT · © 2026 Kun Huang. DeepSeek Harness is a trademark of DeepSeek; this community project uses the recommended DSH naming convention.

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
dsh-agent-observability 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:beibeihk/dsh-agent-observability#v0.1.0` 即可。

dsh-agent-observability 的验证等级是什么意思?

L4 · 沙盒安装通过。安装命令在隔离沙盒内真实执行成功,无依赖错误

dsh-agent-observability 安全吗?

低风险。vet 静态分析未发现可疑行为,判定为干净(clean)。

dsh-agent-observability 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-agent-observability 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-agent-observability 有哪些功能?

重建会话到工具调用轨迹、计算可靠性指标、检测十类可观测故障模式、导出失败用例供评测、生成静态 HTML 报告。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

模型与账号接入
按星标排序,可作替代方案

archify

archify

从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

L4 · 沙盒安装通过 8.0 万 星

nocobase

nocobase

L3 · 安装规范通过 2.5 万 星

dsh-our-free-model

dsh-our-free-model

为 DeepSeek Harness 挂载免登录、免 API Key 的免费前沿模型通道,装完即用,并附用量看板与 OpenAI 兼容本地转

未标注验证等级 8,064 星

dsh-purge

dsh-purge

dsh-purge 是一款 DeepSeek Harness 设置插件,可修改默认副本、权限策略和工具限制,并添加规则卡片以分组应用补丁,支

L5 · 运行验证通过 4,573 星

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 2026-10-08。