opencode-orchestrator 1.5.0 → 1.5.1
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
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
[](https://www.npmjs.com/package/opencode-orchestrator)
|
|
8
8
|
<!-- VERSION:START -->
|
|
9
|
-
**Version:** `1.5.
|
|
9
|
+
**Version:** `1.5.1`
|
|
10
10
|
<!-- VERSION:END -->
|
|
11
11
|
</div>
|
|
12
12
|
|
|
@@ -99,6 +99,8 @@ Mission controls:
|
|
|
99
99
|
3. `/cancel` and `/stop` deactivate the current mission loop.
|
|
100
100
|
4. The default mission iteration ceiling is `1,000,000,000`.
|
|
101
101
|
|
|
102
|
+
Role-aware agent sessions are created or reused on demand: Commander delegates Planner, Worker, and Reviewer tasks into a per-role session pool, then releases or cleans those sessions automatically after completion.
|
|
103
|
+
|
|
102
104
|
### Authorized Shell Listener TUI
|
|
103
105
|
|
|
104
106
|
For owned lab machines or explicitly authorized test environments, the bundled Rust CLI can run a multi-session TCP shell listener:
|
|
@@ -62,7 +62,6 @@ export declare class ParallelAgentManager {
|
|
|
62
62
|
private findBySession;
|
|
63
63
|
private handleTaskError;
|
|
64
64
|
private handleTaskComplete;
|
|
65
|
-
private recoverActiveTasks;
|
|
66
65
|
}
|
|
67
66
|
export declare const parallelAgentManager: {
|
|
68
67
|
getInstance: typeof ParallelAgentManager.getInstance;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
|
-
var __esm = (fn, res) => function __init() {
|
|
4
|
-
|
|
3
|
+
var __esm = (fn, res, err) => function __init() {
|
|
4
|
+
if (err) throw err[0];
|
|
5
|
+
try {
|
|
6
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
7
|
+
} catch (e) {
|
|
8
|
+
throw err = [e], e;
|
|
9
|
+
}
|
|
5
10
|
};
|
|
6
11
|
var __export = (target, all) => {
|
|
7
12
|
for (var name in all)
|
|
@@ -23038,9 +23043,6 @@ var ParallelAgentManager = class _ParallelAgentManager {
|
|
|
23038
23043
|
(task) => this.handleTaskComplete(task)
|
|
23039
23044
|
);
|
|
23040
23045
|
progressNotifier.setManager(this);
|
|
23041
|
-
this.recoverActiveTasks().catch((err) => {
|
|
23042
|
-
log("Recovery error:", err);
|
|
23043
|
-
});
|
|
23044
23046
|
}
|
|
23045
23047
|
static getInstance(client, directory, concurrencyConfig) {
|
|
23046
23048
|
if (!_ParallelAgentManager._instance) {
|
|
@@ -23193,8 +23195,6 @@ This task ensures the completeness of the unit before global integration.`,
|
|
|
23193
23195
|
}
|
|
23194
23196
|
progressNotifier.update();
|
|
23195
23197
|
}
|
|
23196
|
-
async recoverActiveTasks() {
|
|
23197
|
-
}
|
|
23198
23198
|
};
|
|
23199
23199
|
var parallelAgentManager = {
|
|
23200
23200
|
getInstance: ParallelAgentManager.getInstance.bind(ParallelAgentManager),
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "opencode-orchestrator",
|
|
3
3
|
"displayName": "OpenCode Orchestrator",
|
|
4
4
|
"description": "Multi-agent mission control for OpenCode with Commander, Planner, Worker, and Reviewer workflows.",
|
|
5
|
-
"version": "1.5.
|
|
5
|
+
"version": "1.5.1",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@types/node": "^24.13.1",
|
|
84
|
-
"esbuild": "^0.28.
|
|
84
|
+
"esbuild": "^0.28.1",
|
|
85
85
|
"shx": "^0.4.0",
|
|
86
86
|
"typescript": "^5.7.0",
|
|
87
87
|
"vitest": "^4.0.17"
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Task WAL (Write-Ahead Log) - REMOVED
|
|
3
|
-
*
|
|
4
|
-
* This module is deprecated and provides no-op stubs for backward compatibility.
|
|
5
|
-
* WAL was removed to reduce I/O overhead and simplify architecture.
|
|
6
|
-
*/
|
|
7
|
-
import type { ParallelTask } from "../interfaces/index.js";
|
|
8
|
-
export interface WALEntry {
|
|
9
|
-
timestamp: string;
|
|
10
|
-
action: string;
|
|
11
|
-
taskId: string;
|
|
12
|
-
data: Partial<ParallelTask>;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* No-op WAL - all methods are stubs
|
|
16
|
-
*/
|
|
17
|
-
export declare class TaskWAL {
|
|
18
|
-
init(): Promise<void>;
|
|
19
|
-
log(): Promise<void>;
|
|
20
|
-
flush(): Promise<void>;
|
|
21
|
-
readAll(): Promise<Map<string, ParallelTask>>;
|
|
22
|
-
compact(): Promise<void>;
|
|
23
|
-
}
|
|
24
|
-
export declare const taskWAL: TaskWAL;
|