deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Starfie1d1272/dsh-builtin-toggles
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
简体中文 | English
DeepSeek Harness Web 的 evidence-backed 内置 capability Inspector;9 个经过审阅的 UI controls 只是极窄、fail-closed 的附加能力。
非官方社区插件(unofficial community plugin)。与 DeepSeek Harness 官方无关,不受官方支持。
本插件位于 设置 → 插件 → 内置插件。它显示由 Host 生成的 capability inspection:审阅事实、profile override、可持久化性、兼容性和 mutation eligibility 均由服务端计算。检查结果按 composition scope 区分:Host/profile 组合与按会话挂载的 Agent 预设组合即使使用相同 id(如 tool-bash)也不会互相误判为重复。

截图环境:published @deepseek-ai/dsh@0.1.0-rc.6、内置 standard Agent 预设、本插件当前版本;数据未伪造。Host 不公开稳定 runtime release identity,因此 Compatibility 如实显示 unverified / 运行时身份不可用。(另两张真实截图保存在 docs/assets/:builtin-toggles-anomalies.png 展示干净 rc.6 + 内置 standard Agent 预设下仅异常项为 0,builtin-toggles-agent-preset-scope.png 展示 26 个按会话挂载的 Agent 预设组合条目。)
前置:已初始化的 DSH web profile。后续公开 DSH 版本可能仍可安装或运行,但除非经过明确 review,不自动成为 supported/reviewed baseline。
已安装 dsh CLI:
dsh plugin --profile web add dsh-builtin-toggles
dsh web
使用 npx(无需全局安装 dsh):
npx @deepseek-ai/dsh plugin --profile web add dsh-builtin-toggles
npx @deepseek-ai/dsh web
安装后重启 DSH web/gateway,使启动时读取 bundle 层。
Entry.id(含 tree-owner 链)。Host 与内置 standard Agent 预设中合法的同 ID 各自归属不同 composition scope,不产生 duplicate_runtime_id 或 new_official_entry;同一 scope 内的真正碰撞仍然 drifted 并 fail-closed。Agent 预设条目由服务端 DTO 直接锁定:policy=locked(reason agent-preset)、mutationEligibility=ineligible,绝不借用同 bare-id Host 行的可管理性,也不会变成 Web-profile 可管理项。v1 的 profileOverride.state / profilePersistence.status 值域保持不变(preset 行保守投影为 unavailable/unwritable),真实语义由新增 additive 字段 configuration.profileApplicability(applicable/not-applicable)表达,且不把这种「不适用」当异常。tool-* / plan-mode 等按会话由 Agent 预设组装,单独标注,绝不误认为 profile override。ui-deliverables、ui-jobs、ui-goal、ui-message-feedback、ui-model-selection、ui-agent-preset、ui-skill、ui-subagent、ui-trajectory。它们是纯界面 leaf,作用于 web profile、影响全部 Web 会话、不编辑 Agent 预设;强制开关更新 Host 并持久化,恢复继承交由 DSH profile/HMR 重组下层值。GET /api/builtin-toggles/v1/inspection 是稳定、无本地化文案的机器接口,提供 inventory、审阅基线、配置三态、compatibility 和 eligibility。详见 Inspection API v1。可管理性只来自 src/policy.ts 中的精确 MANAGEABLE_IDS allowlist。每次 POST 都在服务端重新校验 allowlist、body、entry、@deepseek-ai/* 包身份、self protection、eligibility 和 profile writer;浏览器从不是授权边界。
loopback 和显式 trusted host 都能读取 API;所有 configuration mutation 则额外要求 loopback same-origin。trustedHosts 只用于 DNS rebinding 防御,不是认证。v1 的 access.mutation 如实表示当前请求的传输访问;它不同于每条 capability 的 mutationEligibility。远程 Inspector 是只读。
@deepseek-ai/dsh-base@0.1.0-rc.6 与 @deepseek-ai/dsh-web-app@0.1.0-rc.6 artifacts,不是 >= rc.6 的版本范围承诺。unverified;不从模块路径、私有字段或版本猜测身份。runtime_release_identity_unavailable 只导致 unverified,不会单独把兼容性变成 drifted。完整维护边界见 COMPATIBILITY.md,安全报告见 SECURITY.md。
dsh-builtin-toggles;display product:Evidence-backed Built-in Capability Inspector;仅 Web profile。disabled override。已安装 dsh CLI:
dsh plugin --profile web remove dsh-builtin-toggles
使用 npx:
npx @deepseek-ai/dsh plugin --profile web remove dsh-builtin-toggles
然后重启。插件不会擅自删除用户 profile 内容。
pnpm install
pnpm typecheck
pnpm test
pnpm build
pnpm pack:check
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。