opencode-swarm 6.23.0 → 6.23.2
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 +33 -0
- package/dist/config/schema.d.ts +2 -2
- package/dist/gate-evidence.d.ts +56 -0
- package/dist/gate-evidence.test.d.ts +1 -0
- package/dist/hooks/delegation-gate.evidence.test.d.ts +4 -0
- package/dist/index.js +419 -163
- package/dist/tools/update-task-status.d.ts +11 -0
- package/package.json +1 -1
|
@@ -50,6 +50,17 @@ export interface ReviewerGateResult {
|
|
|
50
50
|
* @returns ReviewerGateResult indicating whether the gate is blocked
|
|
51
51
|
*/
|
|
52
52
|
export declare function checkReviewerGate(taskId: string, workingDirectory?: string): ReviewerGateResult;
|
|
53
|
+
/**
|
|
54
|
+
* Recovery mechanism: reconcile task state with delegation history.
|
|
55
|
+
* When reviewer/test_engineer delegations occurred but the state machine
|
|
56
|
+
* was not advanced (e.g., toolAfter didn't fire, subagent_type missing,
|
|
57
|
+
* cross-session gaps, or pure verification tasks without coder delegation),
|
|
58
|
+
* this function walks all delegation chains and advances the task state
|
|
59
|
+
* so that checkReviewerGate can make an accurate decision.
|
|
60
|
+
*
|
|
61
|
+
* @param taskId - The task ID to recover state for
|
|
62
|
+
*/
|
|
63
|
+
export declare function recoverTaskStateFromDelegations(taskId: string): void;
|
|
53
64
|
/**
|
|
54
65
|
* Execute the update_task_status tool.
|
|
55
66
|
* Validates the task_id and status, then updates the task status in the plan.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "6.23.
|
|
3
|
+
"version": "6.23.2",
|
|
4
4
|
"description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|