目录:ACP 协议API 网关与控制器附件启动与插件管理客户端运行时客户端 UI 包上下文压缩上下文注入核心运行时凭据与授权交付物文档处理实验特性宿主扩展反馈通道文件系统目标与计划工具守卫Hooks 扩展宿主服务交互命令作业调度LLM 适配LSP 集成MCP 协议规划模式Agent 预设代码执行运行时运行时诊断沙箱定时调度SDK 与协议会话核心会话检索设置Shell 执行技能溢出存储SSH 远程执行存储子代理子进程终端待办类型契约框架 vendorWeb 访问Webhook工作流工作区
依赖链 · 上游(该插件依赖的前驱):
dsh-api-remotesdsh-api-session-controllerdsh-api-workspace-controllerdsh-client-connectiondsh-client-localedsh-client-ui-conversationdsh-client-ui-layoutdsh-client-ui-primitivesdsh-client-ui-rendererdsh-client-ui-sessiondsh-client-ui-sidebardsh-client-ui-sidebar-rightdsh-client-ui-tooldsh-client-ui-workspacedsh-scheduledsh-session
依赖链 · 下游(依赖该插件的节点):
无下游(叶子/被消费端)
同一拓扑层(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-schedule |
|---|---|
| 分组 | G06 · 客户端 UI 包 |
| 拓扑层 | Layer 15(层次遍历:被依赖方先于依赖方) |
| 源码路径 | packages/client/ui-schedule |
| 来源层 | L2 web-app bundle(base 之上装配) |
① 实现逻辑
以一份 Host 任务目录 CatalogSource 为中心:manager 读 remote.schedule.catalog / delete 并订阅 schedule/changed 与 connection/reset(src/client/index.ts:96-104),删除结果经 shell.overlay 的全局 toast 播报(index.ts:112)。apply 注册日程任务 tab 页型与侧栏 detail 页(index.ts:155-166)、main 面板 'schedules' 与侧栏入口(index.ts:168/178),并注册 scheduleTurnDefinition 让 schedule_create 的产物在 Turn 末尾以卡片呈现(index.ts:188-205)。会话头部 utilities 用每 Session 的独立 source 列活跃提醒(index.ts:208-229),sidebar.session.row.leading/hover 则投影共享目录给工作区行标记与悬浮列表(index.ts:231-241)。任务创建卡另经 schedule_create 结果与右栏 detail 绑定(schedule-turn.ts / task-tab-bindings.ts)。
内部结构动态 DAG(深色主题:橙色=上游依赖 · 绿色=下游依赖 · 棕色=外部seam · 蓝=本插件)
本插件
上游依赖
下游依赖
外部 seam
② 注册/提供(provides)
- main 面板 'schedules'(TaskManagerPage 任务管理页)+ sidebar.panellist 条目 TaskManagerIcon
- ctx.sidebarRightTabs 的日程任务页型 + sidebar.right.pane.tab / pane.tab.title 的任务详情页与标题
- conversation.session.header.utilities 条目 'schedule-catalog'(会话头部提醒目录与删除)
- conversation.chat.turnTail 条目 'schedule-created'(schedule_create 结果卡)
- sidebar.session.row.leading 条目 'schedule-mark' 与 sidebar.session.row.hover 条目 'schedule-tasks'(会话行任务标记与悬浮列表)
- shell.overlay 条目 'schedule.delete-toast'(全局删除结果提示)
③ 依赖(depends_on · 上游前驱)
dsh-api-remotesE1+E2
ctx.remote 与 Remote 事件面
src/client/index.ts:41 import + src/client/index.ts:93 ctx.remote
dsh-api-session-controllerE1+E2
会话定位与打开状态判定
src/client/session-link.ts:2 import + src/client/index.ts:136 ctx.sessions
dsh-client-localeE2
注册 schedule.catalog 与 schedule.manager 文案
src/client/index.ts:32 import + src/client/index.ts:89-90 ctx.locale.register
dsh-client-ui-conversationE2
注册 Turn 级日程定义并渲染 Turn 末尾卡
src/client/index.ts:33 import type + src/client/index.ts:188 ctx.uiConversation.events.register
dsh-client-ui-layoutE1+E2
读主面板选择并复用布局类型
src/client/index.ts:40 import type + src/client/DeleteToast.tsx:13
dsh-client-ui-primitivesE1
复用按钮/图标/toast 等控件
src/client/CatalogFeedback.tsx:3 import + src/client/DeleteToast.tsx:11
dsh-client-ui-rendererE1+E2
ctx.slots 槽注册表
src/client/index.ts:34 import type + src/client/index.ts:87 inject 'slots'
dsh-client-ui-sidebarE2
向侧栏面板列表注册任务入口
src/client/index.ts:36 import type + src/client/index.ts:178 slots.inject('sidebar.panellist')
dsh-client-ui-sidebar-rightE2
注册任务详情页型并打开详情 tab
src/client/index.ts:37 import type + src/client/index.ts:153 ctx.sidebarRight.tabsIn
dsh-client-ui-toolE1
复用工具视图类型/卡片
src/client/index.ts:38 import type + src/client/ScheduleCreateCard.tsx:3
dsh-client-ui-workspaceE2
从任务卡跳转到原始会话
src/client/index.ts:39 import type + src/client/index.ts:137 ctx.uiWorkspace.openSession
dsh-scheduleE1+E2
读/写/删 Host 日程任务与投递历史
src/client/index.ts:44 import + src/client/index.ts:97 ctx.remote.schedule.catalog()
dsh-sessionE1
会话身份与 surface 类型
src/client/index.ts:43 import type + src/client/schedule-turn.ts:12 import surface
④ 被依赖(dependents · 下游消费者)
无下游(叶子/被消费端)