opencode-swarm 7.17.4 → 7.18.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/dist/cli/index.js +9 -1
- package/dist/evidence/lock.d.ts +1 -1
- package/dist/gate-evidence.d.ts +2 -2
- package/dist/index.js +2126 -1699
- package/dist/parallel/runtime-config.d.ts +11 -0
- package/dist/state/agent-run-context.d.ts +4 -4
- package/dist/state.d.ts +8 -13
- package/dist/tools/update-task-status.d.ts +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -34,7 +34,7 @@ var package_default;
|
|
|
34
34
|
var init_package = __esm(() => {
|
|
35
35
|
package_default = {
|
|
36
36
|
name: "opencode-swarm",
|
|
37
|
-
version: "7.
|
|
37
|
+
version: "7.18.1",
|
|
38
38
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
39
39
|
main: "dist/index.js",
|
|
40
40
|
types: "dist/index.d.ts",
|
|
@@ -20227,6 +20227,13 @@ var init_qa_gate_profile = __esm(() => {
|
|
|
20227
20227
|
final_council: false
|
|
20228
20228
|
};
|
|
20229
20229
|
});
|
|
20230
|
+
// src/parallel/runtime-config.ts
|
|
20231
|
+
var lockedProfileCache;
|
|
20232
|
+
var init_runtime_config = __esm(() => {
|
|
20233
|
+
init_plan_schema();
|
|
20234
|
+
lockedProfileCache = new Map;
|
|
20235
|
+
});
|
|
20236
|
+
|
|
20230
20237
|
// node_modules/quick-lru/index.js
|
|
20231
20238
|
var QuickLRU;
|
|
20232
20239
|
var init_quick_lru = __esm(() => {
|
|
@@ -20872,6 +20879,7 @@ function clearPendingCoderScope() {
|
|
|
20872
20879
|
var pendingCoderScopeByTaskId;
|
|
20873
20880
|
var init_delegation_gate = __esm(() => {
|
|
20874
20881
|
init_schema();
|
|
20882
|
+
init_runtime_config();
|
|
20875
20883
|
init_state();
|
|
20876
20884
|
init_telemetry();
|
|
20877
20885
|
init_logger();
|
package/dist/evidence/lock.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Evidence write-lock helper
|
|
2
|
+
* Evidence write-lock helper for concurrent Stage B evidence writers.
|
|
3
3
|
*
|
|
4
4
|
* Wraps every evidence read-modify-write path with a proper-lockfile-backed
|
|
5
5
|
* exclusive lock so that concurrent writers cannot interleave their
|
package/dist/gate-evidence.d.ts
CHANGED
|
@@ -44,13 +44,13 @@ export declare function expandRequiredGates(existingGates: string[], newAgentTyp
|
|
|
44
44
|
* If file exists: merges gate entry, expands required_gates via expandRequiredGates.
|
|
45
45
|
* Atomic write: temp file + rename.
|
|
46
46
|
*/
|
|
47
|
-
export declare function recordGateEvidence(directory: string, taskId: string, gate: string, sessionId: string, turbo?: boolean): Promise<void>;
|
|
47
|
+
export declare function recordGateEvidence(directory: string, taskId: string, gate: string, sessionId: string, turbo?: boolean, evidenceLockTimeoutMs?: number): Promise<void>;
|
|
48
48
|
/**
|
|
49
49
|
* Sets or expands required_gates WITHOUT recording a gate pass.
|
|
50
50
|
* Used when non-gate agents are dispatched (coder, explorer, sme, etc.).
|
|
51
51
|
* Creates evidence file if it doesn't exist yet.
|
|
52
52
|
*/
|
|
53
|
-
export declare function recordAgentDispatch(directory: string, taskId: string, agentType: string, turbo?: boolean): Promise<void>;
|
|
53
|
+
export declare function recordAgentDispatch(directory: string, taskId: string, agentType: string, turbo?: boolean, evidenceLockTimeoutMs?: number): Promise<void>;
|
|
54
54
|
/**
|
|
55
55
|
* Returns the TaskEvidence for a task, or null if file missing or parse error.
|
|
56
56
|
* Never throws.
|