opencode-swarm 7.52.2 → 7.53.0
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 +52 -31
- package/dist/cli/index.js +205 -105
- package/dist/commands/pr-feedback.d.ts +23 -0
- package/dist/commands/pr-ref.d.ts +106 -0
- package/dist/commands/pr-review.d.ts +8 -2
- package/dist/commands/registry.d.ts +7 -0
- package/dist/index.js +481 -329
- package/dist/state.d.ts +16 -0
- package/package.json +1 -1
package/dist/state.d.ts
CHANGED
|
@@ -425,6 +425,22 @@ export declare function advanceTaskState(session: AgentSessionState, taskId: str
|
|
|
425
425
|
minimumMembers?: number;
|
|
426
426
|
requireAllMembers?: boolean;
|
|
427
427
|
}): void;
|
|
428
|
+
/**
|
|
429
|
+
* Returns true iff calling `advanceTaskState(session, taskId, newState)` would
|
|
430
|
+
* succeed without throwing. Use this predicate to guard call sites that cannot
|
|
431
|
+
* catch `INVALID_TASK_STATE_TRANSITION` as a control-flow mechanism.
|
|
432
|
+
*
|
|
433
|
+
* Does NOT perform side effects or emit telemetry.
|
|
434
|
+
*
|
|
435
|
+
* @param session - The agent session state
|
|
436
|
+
* @param taskId - The task identifier
|
|
437
|
+
* @param newState - The requested new state
|
|
438
|
+
* @param councilConfig - Optional council quorum config (required when newState='complete')
|
|
439
|
+
*/
|
|
440
|
+
export declare function canAdvanceTaskState(session: AgentSessionState, taskId: string, newState: TaskWorkflowState, councilConfig?: {
|
|
441
|
+
minimumMembers?: number;
|
|
442
|
+
requireAllMembers?: boolean;
|
|
443
|
+
}): boolean;
|
|
428
444
|
/**
|
|
429
445
|
* Advance the per-task workflow state machine AND persist the corresponding
|
|
430
446
|
* plan.json status at meaningful workflow boundaries.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.53.0",
|
|
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",
|