openmatrix 0.1.62 → 0.1.64
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/dist/agents/agent-runner.js +19 -10
- package/dist/cli/commands/brainstorm.js +135 -18
- package/dist/cli/commands/complete.js +35 -2
- package/dist/cli/commands/start.js +6 -3
- package/dist/cli/commands/step.js +7 -1
- package/dist/orchestrator/executor.d.ts +19 -0
- package/dist/orchestrator/executor.js +77 -2
- package/dist/orchestrator/git-commit-manager.js +12 -2
- package/dist/orchestrator/phase-executor.d.ts +3 -0
- package/dist/orchestrator/phase-executor.js +445 -349
- package/dist/orchestrator/scheduler.d.ts +15 -1
- package/dist/orchestrator/scheduler.js +91 -18
- package/dist/orchestrator/state-machine.js +2 -0
- package/dist/storage/file-store.d.ts +9 -1
- package/dist/storage/file-store.js +24 -9
- package/dist/storage/state-manager.d.ts +5 -0
- package/dist/storage/state-manager.js +139 -54
- package/dist/types/index.d.ts +6 -0
- package/package.json +1 -1
- package/skills/auto.md +14 -2
- package/skills/brainstorm.md +13 -0
- package/skills/meeting.md +15 -0
- package/skills/start.md +10 -1
package/skills/meeting.md
CHANGED
|
@@ -345,4 +345,19 @@ openmatrix meeting --skip-all --message "批量跳过"
|
|
|
345
345
|
↓
|
|
346
346
|
恢复执行或标记完成
|
|
347
347
|
```
|
|
348
|
+
|
|
349
|
+
## 与 start 的集成
|
|
350
|
+
|
|
351
|
+
执行 `/om:start` 时:
|
|
352
|
+
1. 阻塞任务自动跳过,创建 Meeting 记录
|
|
353
|
+
2. 非阻塞任务继续执行,最大化并行度
|
|
354
|
+
3. 所有非阻塞任务完成后,自动提示有待处理的 Meeting
|
|
355
|
+
4. 用户使用 `/om:meeting` 统一处理阻塞问题
|
|
356
|
+
|
|
357
|
+
**全自动执行模式下的 Meeting 流程:**
|
|
358
|
+
```
|
|
359
|
+
/om:start → 执行任务 → 遇到阻塞 → 创建 Meeting → 跳过阻塞 → 继续执行其他任务
|
|
360
|
+
↓
|
|
361
|
+
所有非阻塞任务完成 → 提示 Meeting → /om:meeting → 用户处理 → 完成
|
|
362
|
+
```
|
|
348
363
|
</notes>
|
package/skills/start.md
CHANGED
|
@@ -131,7 +131,7 @@ AskUserQuestion({
|
|
|
131
131
|
question: "请选择执行模式:",
|
|
132
132
|
header: "执行模式",
|
|
133
133
|
options: [
|
|
134
|
-
{ label: "全自动执行 (推荐)", description: "
|
|
134
|
+
{ label: "全自动执行 (推荐)", description: "无需确认,自动完成,阻塞任务 (Meeting) 留到最后统一处理" },
|
|
135
135
|
{ label: "关键节点确认", description: "plan/merge 时暂停确认" },
|
|
136
136
|
{ label: "每阶段确认", description: "每个阶段完成后暂停" }
|
|
137
137
|
],
|
|
@@ -277,9 +277,18 @@ Agent-1 完成 → 写入 context.md → Agent-2 读取 Agent-1 的上下文 →
|
|
|
277
277
|
**Meeting 处理(auto 模式):** 记录并跳过,执行完成后统一展示。
|
|
278
278
|
|
|
279
279
|
**执行完成后:**
|
|
280
|
+
|
|
281
|
+
### Meeting 机制
|
|
282
|
+
|
|
283
|
+
在「全自动执行」模式下:
|
|
284
|
+
- 遇到阻塞任务时,创建 Meeting 记录并跳过该任务
|
|
285
|
+
- 继续执行其他独立任务,最大化并行度
|
|
286
|
+
- 所有非阻塞任务完成后,提示用户使用 `/om:meeting` 统一处理阻塞问题
|
|
287
|
+
|
|
280
288
|
```bash
|
|
281
289
|
openmatrix meeting --list
|
|
282
290
|
```
|
|
291
|
+
|
|
283
292
|
如有 pending Meeting,交互式处理。
|
|
284
293
|
|
|
285
294
|
所有任务完成后,执行最终 Git 提交(**必须使用 HEREDOC 格式**):
|