DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Graph — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-graph

Graph

用于基于图的目标管理和看板可视化的 DeepSeek Harness 插件。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-graph@0.11.2
README兼容性版本

兼容性与来源证明

Graph 以 dsh-graph 发布,当前版本为 0.11.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.11.2stable
2026/9/17
0.11.1stable
2026/9/17
0.11.0stable
2026/9/14
查看其余 14 个版本收起版本
0.10.0stable
2026/9/12
0.9.2stable
2026/9/9
0.9.1stable
2026/9/7
0.8.3stable
2026/9/3
0.8.1stable
2026/9/1
0.7.3stable
2026/8/31
0.7.2stable
2026/8/27
0.7.1stable
2026/8/25
0.6.1stable
2026/8/23
0.5.2stable
2026/8/23
0.5.1stable
2026/8/22
0.4.3stable
2026/8/22
0.4.2stable
2026/8/22
0.4.0stable
2026/8/22
最新版
0.11.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
2.1 MB
文件数
60
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 10
周下载
451
安全扫描
✓ v0.11.2 扫描通过
最近提交
2026/9/17
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

README

dsh-graph

中文 | English


中文

概述

dsh-graph 是面向 DeepSeek Harness (DSH) 的目标看板插件。它将大模型智能体(Agent)的工作流组织为基于图的目标管理(Graph-based Goal Management)。

本插件采用一体化单包分发(npm 包名 dsh-graph),同时集成两大核心能力:

  • Host 端:向 DSH Agent 提供覆盖目标全生命周期的 graph_* 工具集,并暴露 /api/dsh-graph* REST API(支持看板投影、目标详情查询与写操作);
  • Client 端:无缝内嵌于 DSH Web 控制台(conversation.view 槽位)的浏览器二维泳道看板(lib/client.js),提供直观的可视化交互与实时追踪。

数据以本地纯文本与事件流形式存储于工作区的 .dsh-graph/ 目录,Git 友好、天然支持协同对账与审计追踪。


安装方式

在 DSH 环境中运行以下命令即可安装:

dsh plugin --profile <profile-name> add dsh-graph

环境要求:Node.js ≥ 22(包内预编译 core 运行时)。

依赖说明:宿主提供的核心包(@deepseek-ai/cordis ^4.0.2、@deepseek-ai/schemastery ^3.18.2、@deepseek-ai/dsh-settings ^0.1.5-rc.2)以 peerDependencies + peerDependenciesMeta.optional(DSH 生态惯例)声明,由 DSH 宿主环境提供,安装不产生 peer 告警;yaml 为插件自带运行依赖(声明在 dependencies 中),避免产生重复的核心包实例。

🚀 v0.11.1 新功能

  • backlog 卡片快速排期:目标弹窗标题区新增「📅 排期」按钮(与「⏸ 暂缓」对应),一键将 backlog 目标排入活跃版本或转为独立目标。
  • 共享卡转换工具:新增 graph_convert_card_to_shared / graph_convert_card_to_owned 工具。
  • 抽屉层级修复:版本管理抽屉与上下文卡片抽屉在 Safari 中不再被 DSH 默认 UI 遮挡。
  • 类型切换即时刷新:backlog 卡片切换 goal 类型后看板立即更新,无需 F5。
  • 拖拽到折叠泳道:卡片可拖拽到已折叠的版本或 backlog 泳道,自动展开并高亮。
  • 派发上下文去重:brief/directive 内容重复时自动去重;卡片预算诊断可追踪超预算来源。
  • graph_resolve_accept 修复:in_progress 状态下调用自动补迁移;blocked/delivered 等无映射状态明确报错。

DSH 版本兼容性:本版本(v0.11.1)已完整验证并支持 DeepSeek Harness v0.1.5-rc.2;兼容 0.1.5 系列与 0.1.2-alpha.x 及以上版本。

平台范围:Linux(WSL2)、原生 Windows、macOS 均已验证。

已知限制:macOS 上若工作区路径经显式传入且含符号链接(如位于 /tmp、/var 之下),会被拒绝并报 graph root symlink is not allowed;由 process.cwd() 推导的路径不受影响。

已发布版本支持通过 npm 与 dsh-market 生态分发。


核心特性

  • 四阶段生命周期状态机: 引擎严格约束状态迁移:draft → planning → collecting → ready → in_progress → review → delivered(任何阶段均可标记进入 blocked 阻塞状态)。
  • 判据先于执行(Criteria Before Execution): 在目标派发执行前必须登记明确的质量验收判据,最终评审严格依照逐条判据核验交付物,杜绝模糊交付。
  • 结构化上下文卡片: 支持文本(Text)、文件(File)、图片(Image)、数据(Data)等多种上下文类型。经历 empty → collecting → filled → reviewed 闭环生命周期,为执行子代理提供精确的上下文种子。
  • 二维泳道看板: 横向按生命周期阶段划分列,纵向按排期划分版本(Version)、暂存池(Backlog)与独立目标(Standalone)泳道;支持拖拽排期。
  • 流畅跨会话交接(Handoff & Supervisor Claim): 支持生成包含看板投影、长期记忆与关键环境事实的 HANDOFF.md,换会话后新 Supervisor 可幂等认领上下文并快速接管。
  • 现代交互与双主题适配: 完整适配深色与浅色双套主题(自动跟随 DSH 全局主题变量);外部数据更新时支持微光动画提醒(支持系统的 prefers-reduced-motion 无障碍降级);弹窗拖拽防误关。

Agent 工具速查表

dsh-graph 为 Agent 提供了完善的工具链,按功能划分为以下分类:

分类工具名称核心说明
目标生命周期graph_create_goal创建目标(默认放入 Backlog,可指定版本)
graph_rename_goal重命名目标标题
graph_set_description设置/更新目标描述正文(Markdown)
graph_set_goal_type设置目标类型(feature / bug / task / improvement / patch / chore)
graph_set_goal_tags设置目标标签列表(最多 20 个,乐观并发)
graph_amend_goal记录对目标的修订补充,可自动同步至描述
graph_transition推进目标状态机迁移(进入 blocked 需附原因)
graph_postpone_goal暂缓目标,移回 Backlog 并置为 draft
graph_archive_goal归档已完成或已废弃的目标
graph_unarchive_goal从归档中恢复目标
graph_delete_goal安全删除已归档的目标
graph_clean_worktree清理已验证的 worktree(用户确认后执行)
graph_list_worktrees查询 Git worktree 清理候选(只读,不自动删除)
质量判据graph_set_criteria登记目标验收判据(严格在执行前设定)
上下文卡片graph_add_card创建上下文卡片占位(text / file / image / data)
graph_bind_collect_card绑定收集子代理,卡片状态转为 collecting
graph_fill_card填充卡片内容并生成看板简要摘要
graph_review_card复核卡片内容(filled → reviewed)
graph_delete_card删除未在收集中的卡片
附件管理graph_store_attachment存储文件附件到目标
graph_delete_attachment删除目标附件
排期管理graph_move_goal在 Backlog、独立目标与版本之间移动排期

浏览器看板说明

内嵌于 DSH Web 界面:

  • 二维泳道布局:清晰展现多个版本的推进节奏,支持灵活查看不同泳道和阶段;
  • 实时流式更新:卡片与顶部状态栏直观反映 Agent 汇报的最新执行状态;外部文件变更触发动画闪烁;
  • 丰富弹窗与抽屉交互:点击卡片可展开目标详情弹窗,查看质量判据、上下文卡片与 Attempt 历史。

数据存储说明

插件数据保存在当前工作区下的 .dsh-graph/ 目录:

  • 自动初始化:首次在工作区运行工具时自动生成数据骨架,不包含多余 Demo 数据;
  • Git 友好:所有数据由纯文本 YAML/Markdown 与只追加(append-only)的 events.jsonl 组成;
  • 事件流对账:events.jsonl 记录每一次状态流转与操作,是唯一事实来源,可通过 graph_rebuild 随时对账;
  • 多 Worktree 适配:Git Linked Worktrees 自动解析归一到主工作树的同一 .dsh-graph/ 根目录。

English

Overview

dsh-graph is a goal-oriented kanban plugin for DeepSeek Harness (DSH), bringing Graph-based Goal Management into Agent workflows.

Distributed as a single unified package (npm package name: dsh-graph), it provides both halves out-of-the-box:

  • Host Side: Exposes a full suite of graph_* tools to DSH Agents covering the entire goal lifecycle, along with /api/dsh-graph* REST endpoints for board projections, goal details, and mutations;
  • Client Side: A browser 2D swimlane kanban board (lib/client.js) integrated into DSH Web (conversation.view slot) for intuitive visualization and real-time tracking.

All data is stored locally as human-readable files and an append-only event log under .dsh-graph/, making it Git-friendly, easily auditable, and collaborative.


Installation

Install the plugin using the DSH CLI:

dsh plugin --profile <profile-name> add dsh-graph

Requirements: Node.js ≥ 22 (includes precompiled core runtime).

Dependency Note: Core packages provided by the DSH host (@deepseek-ai/cordis ^4.0.2, @deepseek-ai/schemastery ^3.18.2, @deepseek-ai/dsh-settings ^0.1.5-rc.2) are declared under peerDependencies with peerDependenciesMeta.optional (standard DSH ecosystem convention), provided directly by the host runtime without peer dependency warnings during installation; yaml is retained in dependencies as a plugin-specific runtime dependency, preventing duplicate core package instances.

🚀 What's new in v0.11.1

  • Quick schedule for backlog cards: A "📅 Schedule" button in the goal modal title area (corresponding to the "⏸ Postpone" button) lets you schedule a backlog goal into an active version or convert it to a standalone goal with one click.
  • Shared card conversion tools: New graph_convert_card_to_shared / graph_convert_card_to_owned tools.
  • Drawer z-index fix: Version management drawer and context card drawer are no longer obscured by the DSH default UI in Safari (React Portal to body layer + z-index boost).
  • Type change instant refresh: Changing a backlog card's goal type updates the board immediately without F5.
  • Drag to collapsed lanes: Cards can be dragged onto collapsed version or backlog lanes, auto-expanding with highlight.
  • Dispatch context dedup: Duplicate brief/directive content is automatically deduplicated; card budget diagnostics track over-budget sources.
  • graph_resolve_accept fix: Calling on in_progress auto-completes the migration; blocked/delivered and other unmapped states return clear errors (including force channel).

DSH version compatibility: This release (v0.11.1) is fully verified against and supports DeepSeek Harness v0.1.5-rc.2; it also works on the 0.1.5 series and on 0.1.2-alpha.x and later.

Platform scope: verified on Linux (WSL2), native Windows, and macOS.

Known limitation: on macOS a workspace path that is explicitly supplied and contains a symlink (e.g. under /tmp or /var) is rejected with graph root symlink is not allowed. Paths derived from are unaffected.


Key Features

  • Four-Phase Lifecycle State Machine: Enforced by the core engine: draft → planning → collecting → ready → in_progress → review → delivered (with a blocked escape hatch available at any stage).
  • Criteria Before Execution: Acceptance criteria must be explicitly defined prior to execution. Deliverables in the review phase are verified strictly against individual criteria, preventing ambiguous delivery.
  • Context Cards: Supports Text, File, Image, and Data cards. Follows a structured lifecycle (empty → collecting → filled → reviewed) to seed precise task context for execution subagents.
  • 2D Swimlane Board: Columns represent lifecycle stages, while horizontal swimlanes organize goals by Version, Backlog, and Standalone categories, complete with drag-and-drop scheduling.
  • Seamless Session Handoff: Generate HANDOFF.md summarizing board projections, long-term memory, and environment facts. A new session can claim the Supervisor role idempotently via graph_claim_supervisor.
  • Modern UI & Dual-Theme Support: Full Dark and Light theme adaptation following DSH variables. Subtle pulse animations highlight external updates (with prefers-reduced-motion accessibility support); drag-safe modal text selection.

Agent Tools Reference

dsh-graph equips Agents with a comprehensive set of graph_* tools:

CategoryToolDescription
Goal Lifecyclegraph_create_goalCreate a goal (defaults to Backlog, optional Version)
graph_rename_goalRename goal title
graph_set_descriptionSet/update goal description body (Markdown)
graph_set_goal_typeSet goal type (feature / bug / task / improvement / patch / chore)
graph_set_goal_tagsSet goal tags (max 20, optimistic concurrency)
graph_amend_goalRecord amendments, optionally appending to description
graph_transitionAdvance goal through lifecycle states (reason required for blocked)
graph_postpone_goalPostpone goal back to Backlog as draft
graph_archive_goalArchive completed or obsolete goals
graph_unarchive_goalRestore goals from archive
graph_delete_goalSafely delete an archived goal
graph_clean_worktreeClean up a verified worktree (requires user confirmation)
graph_list_worktreesQuery Git worktree cleanup candidates (read-only, no auto-delete)
Quality Criteriagraph_set_criteriaDefine quality criteria (required prior to execution)
Context Cardsgraph_add_cardCreate a context card placeholder (text / file / image / data)
graph_bind_collect_cardBind collection subagent; marks card status as collecting
graph_fill_cardPopulate card content with a concise board summary
graph_review_cardReview card content (filled → reviewed)
graph_delete_card

Browser Kanban UI

Embedded directly within the DSH Web console:

  • 2D Swimlane Layout: View the progress of multiple versions and categories simultaneously;
  • Live Streaming Updates: Cards and the top status bar stream real-time execution updates; external file edits trigger visual highlights;
  • Interactive Modals & Drawers: Click cards to inspect quality criteria, context cards, attempt histories, and detailed instructions.

Data Storage

All data resides in .dsh-graph/ within your workspace:

  • Zero-Config Auto-Init: Generates directory structure automatically upon first tool call without dummy demo data;
  • Git Friendly: Managed as plain YAML/Markdown files and an append-only events.jsonl event log;
  • Auditability: events.jsonl serves as the authoritative single source of truth, reconcilable at any time via graph_rebuild;
  • Multi-Worktree Support: Git Linked Worktrees automatically resolve to the canonical graph root in the primary worktree.

License

MIT

执行派发graph_start_attempt派发执行 Attempt,启动并绑定可续轮子代理
graph_set_directive为下一次 Attempt 注入补充指令与边界要求
graph_record_attempt_handoff记录前序 Attempt 的返工约束与排查基线
graph_unbind_goal_child安全解绑目标执行子代理
记忆管理graph_memory_add写入按需/常驻记忆条目
graph_memory_recall按关键词检索记忆
graph_memory_remove删除指定记忆条目
graph_memory_replace替换已有记忆条目内容
状态汇报graph_report_status汇报当前 Attempt 进度(看板卡片实时显示)
graph_report_supervisor_statusSupervisor 汇报全局工作状态(顶部状态栏动画)
评审裁决graph_resolve_accept裁决交付验收(verdict: accept / object)
协作与交接graph_add_comment向目标追加可追溯的讨论与反馈历史
graph_handoff生成跨会话交接文档 HANDOFF.md
graph_claim_supervisor新会话接管 Supervisor 并更新会话元数据
graph_help输出插件功能说明与接管指引
数据与校验graph_validate执行全量不变式检查(状态、依赖环、卡片引用)
graph_rebuild从事件流完全重建目标状态并与元数据对账
process.cwd()

Official releases are distributed via npm and the dsh-market ecosystem.

Delete cards not currently collecting
Attachmentsgraph_store_attachmentStore file attachments to a goal
graph_delete_attachmentDelete a goal attachment
Schedulinggraph_move_goalMove goals between Backlog, Standalone, and Versions
Executiongraph_start_attemptDispatch an execution attempt and spawn a continuable subagent
graph_set_directiveInject instructions and boundaries for the upcoming attempt
graph_record_attempt_handoffRecord rework constraints, failure notes, and baseline
graph_unbind_goal_childSafely detach an execution subagent from a goal
Memorygraph_memory_addWrite on-demand / standing memory entries
graph_memory_recallRecall memory entries by keyword search
graph_memory_removeRemove a specific memory entry
graph_memory_replaceReplace an existing memory entry's content
Status Reportinggraph_report_statusReport progress of current attempt (live card display)
graph_report_supervisor_statusReport supervisor status (top status bar animation)
Review & Verdictgraph_resolve_acceptAccept or object to delivered attempts
Collaborationgraph_add_commentAppend historical discussion or human feedback
graph_handoffExport cross-session handover document (HANDOFF.md)
graph_claim_supervisorClaim supervisor role in new session & update metadata
graph_helpDisplay usage instructions and claim guide
Validationgraph_validateValidate full invariants (states, cycles, card refs)
graph_rebuildRebuild goal state from events.jsonl and reconcile