目录:ACP 协议API 网关与控制器附件启动与插件管理客户端运行时客户端 UI 包上下文压缩上下文注入核心运行时凭据与授权交付物文档处理实验特性宿主扩展反馈通道文件系统目标与计划工具守卫Hooks 扩展宿主服务交互命令作业调度LLM 适配LSP 集成MCP 协议规划模式Agent 预设代码执行运行时运行时诊断沙箱定时调度SDK 与协议会话核心会话检索设置Shell 执行技能溢出存储SSH 远程执行存储子代理子进程终端待办类型契约框架 vendorWeb 访问Webhook工作流工作区
依赖链 · 上游(该插件依赖的前驱):
dsh-api-session-controllerdsh-client-localedsh-client-ui-chatdsh-client-ui-conversationdsh-client-ui-primitivesdsh-client-ui-rendererdsh-client-ui-sessiondsh-client-ui-workspacedsh-sessiondsh-tool-workflow
依赖链 · 下游(依赖该插件的节点):
无下游(叶子/被消费端)
同一拓扑层(Layer 15,层次遍历层序):
dsh-client-ui-agent-presetdsh-client-ui-brand-officialdsh-client-ui-commandsdsh-client-ui-directory-picker-browsedsh-client-ui-directory-picker-nativedsh-client-ui-plugin-managerdsh-client-ui-referencedsh-client-ui-scheduledsh-client-ui-sidebar-browserdsh-client-ui-sidebar-documentpreviewdsh-client-ui-sidebar-filesdsh-client-ui-sidebar-terminaldsh-client-ui-skilldsh-client-ui-subagentdsh-client-ui-workflow-rundsh-experimental-client-ui-agent-team
插件信息
| 包名 | @deepseek-ai/dsh-client-ui-workflow-run |
|---|---|
| 分组 | G06 · 客户端 UI 包 |
| 拓扑层 | Layer 15(层次遍历:被依赖方先于依赖方) |
| 源码路径 | packages/client/ui-workflow-run |
| 来源层 | L2 web-app bundle(base 之上装配) |
① 实现逻辑
注册 durable workflow-run 会话节点:apply 用 ctx.uiConversation.events.register 挂载 workflowRunDefinition(src/client/index.ts:27),并向 'conversation.chat.node' 注册 key='workflow-run' 的 WorkflowRunPanel,注入 openSession 用于打开成员子会话(src/client/index.ts:29-36)。workflow-definition.ts 从工具 workflow agent start/end 事件折叠出 phase/member 状态并产出 keyed Chat 数据(src/client/workflow-definition.ts:41-60)。
内部结构动态 DAG(深色主题:橙色=上游依赖 · 绿色=下游依赖 · 棕色=外部seam · 蓝=本插件)
本插件
上游依赖
下游依赖
外部 seam
② 注册/提供(provides)
- ConversationNodeDefinition 'workflow-run'(注册进 uiConversation.events)
- slot conversation.chat.node key='workflow-run' 的 WorkflowRunPanel 渲染
- ChatNodeDataMap 'workflow-run' 数据契约
③ 依赖(depends_on · 上游前驱)
dsh-api-session-controllerE1
读取会话列表状态与导航目标类型
src/client/WorkflowRunPanel.tsx:10 SessionListState/SessionTarget
dsh-client-localeE1+E2
注册 workflowRun 字典
src/client/index.ts:5 + src/client/index.ts:28 ctx.locale.register
dsh-client-ui-conversationE1+E2
注册会话节点定义并读取 ConversationNodeContext
src/client/index.ts:7 import + src/client/index.ts:27 ctx.uiConversation.events.register
dsh-client-ui-workspaceE1+E2
从工作流面板导航到成员会话
src/client/index.ts:10 import type + src/client/index.ts:34 ctx.uiWorkspace.openSession
dsh-tool-workflowE1
解析工具侧工作流成员事件数据
src/client/workflow-definition.ts:8 ToolWorkflowAgentStartData/EndData
④ 被依赖(dependents · 下游消费者)
无下游(叶子/被消费端)