asakumizy/dsh-graph-monitor ↗★ 0
graph-monitor
Graph Monitor plugin for DeepSeek Harness: define and customize GRAPH workflows, then visualize each node live as it executes — Waku-agent style topology chart with animated node/edge status, clickable node details, and a desktop trajectory-like monitor view.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:asakumizy/dsh-graph-monitor说明文档
阅读完整 README ↗使用手册
1. 对话命令 /workflow
在聊天输入框直接输入:
| 输入 | 效果 |
|---|---|
/workflow | 列出所有可用工作流(id + 名称 + 描述 + 节点/边数) |
/workflow | 运行指定工作流,结果以实时卡片形式显示在聊天流中 |
| 自然语言 | 模型根据系统提示自动调用 graph_monitor_run 工具 |
示例:
/workflow
/workflow text-pipeline hello world
2. Graph Monitor 页签
任意会话右侧切到 Graph Monitor 页签:
- 下拉框选择 workflow;
- 输入框填写运行输入,点「运行」;
- 节点逐个点亮(运行中紫、完成绿、失败红,行进边琥珀高亮);
- 点击任意节点查看执行详情;
- 拖动平移画布,
Ctrl + 滚轮缩放; - 「运行历史」回看任意一次运行。
3. 设置编辑器
设置 → Graph Monitor:
- 「新建 workflow」或「编辑」;
- 编辑 JSON(节点 / 边 / 条件路由 / fn 处理器);
- 「校验」确认合法;
- 「保存」后立即生效并持久化到
~/.dsh/graph-monitor/workflows/。
配置项
| 配置键 | 默认值 | 说明 |
|---|---|---|
nodeDelayMs | 750 | 普通节点模拟执行延迟(动画节奏) |
llmDelayMs | 950 | llm / agent / tool 节点模拟延迟 |
keepRuns | 20 | 保留的已完成运行记录数(LRU 淘汰) |
nodeExecutor | simulated | 执行后端:simulated(模拟)| real(绑定 DSH 真实能力,缺失回退模拟) |