openmatrix 0.1.4 → 0.1.5

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.
@@ -186,9 +186,10 @@ exports.autoCommand = new commander_1.Command('auto')
186
186
  maxConcurrent: state.config.maxConcurrentAgents,
187
187
  taskTimeout: state.config.timeout * 1000
188
188
  });
189
- // 设置自动模式
189
+ // 设置自动模式和 RunId
190
190
  const phaseExecutor = executor.getPhaseExecutor();
191
191
  if (phaseExecutor) {
192
+ phaseExecutor.setRunId(state.runId);
192
193
  phaseExecutor.setAutoMode(true);
193
194
  }
194
195
  const result = await executor.step();
@@ -216,10 +216,13 @@ exports.startCommand = new commander_1.Command('start')
216
216
  maxConcurrent: state.config.maxConcurrentAgents,
217
217
  taskTimeout: state.config.timeout * 1000
218
218
  });
219
- // 设置 PhaseExecutor 的自动模式
219
+ // 设置 PhaseExecutor 的自动模式和 RunId
220
220
  const phaseExecutor = executor.getPhaseExecutor();
221
- if (phaseExecutor && executionMode === 'auto') {
222
- phaseExecutor.setAutoMode(true);
221
+ if (phaseExecutor) {
222
+ phaseExecutor.setRunId(state.runId);
223
+ if (executionMode === 'auto') {
224
+ phaseExecutor.setAutoMode(true);
225
+ }
223
226
  }
224
227
  const result = await executor.step();
225
228
  if (options.json) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmatrix",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "AI Agent task orchestration system with Claude Code Skills integration",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",