openmatrix 0.1.3 → 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
|
|
222
|
-
phaseExecutor.
|
|
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.
|
|
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",
|
|
@@ -32,7 +32,11 @@
|
|
|
32
32
|
"type": "commonjs",
|
|
33
33
|
"repository": {
|
|
34
34
|
"type": "git",
|
|
35
|
-
"url": "https://github.com/bigfish1913/openmatrix"
|
|
35
|
+
"url": "git+https://github.com/bigfish1913/openmatrix.git"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/bigfish1913/openmatrix#readme",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/bigfish1913/openmatrix/issues"
|
|
36
40
|
},
|
|
37
41
|
"dependencies": {
|
|
38
42
|
"@types/node": "^22.0.0",
|