feat(client): project managed services to digital employee
This commit is contained in:
@@ -1048,14 +1048,23 @@ ServiceLease
|
||||
- 当前依赖它的任务
|
||||
- 是否需要人工处理
|
||||
|
||||
当前客户端实现:
|
||||
|
||||
- `digitalEmployee:getSnapshot` 输出 `managedServices`,由 Agent、MCP Proxy、Computer Server、File Server、Lanproxy、GUI Agent Server 状态投射生成。
|
||||
- 每个服务包含 `serviceId`、`kind`、`status`、`requiresHumanAction`、`dependentTasks`、`instance`、`lease`。
|
||||
- embedded adapter 将其转换为 `workday.managed_services`,并写入 overview 指标、首页播报和 delivery lines。
|
||||
- 服务异常或必需服务未运行时,首页“当前动作 / 下一步”会提示对应服务和受影响任务。
|
||||
|
||||
### 产出
|
||||
|
||||
- 服务状态不只在客户端设置页展示,也进入数字员工的运行上下文。
|
||||
- 常驻服务具备 ManagedService / ServiceInstance / ServiceLease 的业务投影。
|
||||
|
||||
### 验收
|
||||
|
||||
- 服务异常时,数字员工首页能提示。
|
||||
- 服务恢复后,事件和状态同步更新。
|
||||
- 首页 overview 能看到服务运行数和需处理服务数。
|
||||
|
||||
## Phase 10:Plan Agent / Task Agent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user