dsh-agent-tasks 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -2
- package/index.js +1879 -0
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
-
#
|
|
1
|
+
# dsh-agent-tasks
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
AI-Agent-Hub 的**任务线 + agent 通信**工具集,共 **12 个 MCP 工具**。
|
|
4
|
+
|
|
5
|
+
## 工具清单
|
|
6
|
+
|
|
7
|
+
| 工具 | 作用 |
|
|
8
|
+
|---|---|
|
|
9
|
+
| `taskline_list` | 列出所有任务线 |
|
|
10
|
+
| `taskline_create` | 新建任务线(标题须带「<项目> · <成员>|<任务名>」) |
|
|
11
|
+
| `taskline_prompt` | 给某条线派活;默认 `mode:'triage'`(目标在跑就开分诊分身,不干等) |
|
|
12
|
+
| `taskline_messages` | 读某条线最近消息(带 eventId) |
|
|
13
|
+
| `taskline_rename` | 改线标题 |
|
|
14
|
+
| `taskline_archive` | 归档/恢复任务线(分身归档会自动落交接档案) |
|
|
15
|
+
| `taskline_wait` | 等某条线状态变化(例外工具,默认不用) |
|
|
16
|
+
| `taskline_goal_status` | 查某会话的 goal |
|
|
17
|
+
| `agent_message` | 给任意 agent 直接发消息(跨项目可用) |
|
|
18
|
+
| `resume_session` | 让会话从断点续跑 |
|
|
19
|
+
| `routing_put` | 把用户消息归到任务线 |
|
|
20
|
+
| `vision_read` | 纯文本模型的视觉兜底(能收图的模型不要用它) |
|
|
21
|
+
|
|
22
|
+
另含**管理者协议注入**:标题以 ` · Yat2` 结尾的会话,在第一次模型步骤注入一段管理者协议
|
|
23
|
+
(建 agent、派活、维护黑板、回报格式 ≤5 行)。
|
|
24
|
+
|
|
25
|
+
## 依赖
|
|
26
|
+
|
|
27
|
+
- `dsh-hub-core`(peer)
|
|
28
|
+
|
|
29
|
+
本包是**与 core 并列的第二个必装包**:`dsh-queue-triage`、`dsh-clone-handoff` 都依赖它。
|
|
30
|
+
|
|
31
|
+
## 状态
|
|
32
|
+
|
|
33
|
+
实现目前在 `hub-desktop-ui/index.js` 的工具注册点:`taskline_list:5786` … `vision_read:7435`
|
|
34
|
+
(共 12 处),管理者协议 `managerProtocol:232`。本包为占位,下一步搬入;
|
|
35
|
+
搬入后**工具只能注册一次**,其余包通过 `ctx.get('agentTasks')` 调用。
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
MIT
|