opencode-swarm 7.99.1 → 7.99.3
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/.opencode/skills/brainstorm/SKILL.md +11 -1
- package/.opencode/skills/loop/SKILL.md +13 -4
- package/.opencode/skills/plan/SKILL.md +8 -1
- package/.opencode/skills/specify/SKILL.md +4 -2
- package/dist/cli/{evidence-summary-service-gvd7mw7v.js → evidence-summary-service-wxarfgt8.js} +2 -2
- package/dist/cli/{guardrail-explain-6g1japmf.js → guardrail-explain-5fpwhqk5.js} +5 -5
- package/dist/cli/{index-qcr60fgm.js → index-6wgwybzj.js} +1 -1
- package/dist/cli/{index-we94wkty.js → index-94qwbx11.js} +48 -0
- package/dist/cli/{index-brpm7xs3.js → index-fhve3nj7.js} +152 -95
- package/dist/cli/{index-sy329dh4.js → index-nytjghhx.js} +1 -1
- package/dist/cli/{index-5fxjagjt.js → index-s3esnz7m.js} +1 -1
- package/dist/cli/{index-xy3gw0rw.js → index-y1fgp4xa.js} +5 -5
- package/dist/cli/index.js +4 -4
- package/dist/cli/{pending-delegations-c785p5n2.js → pending-delegations-vh2nae3n.js} +1 -1
- package/dist/cli/{pr-subscriptions-fqrzm0tv.js → pr-subscriptions-d57tq0c0.js} +2 -2
- package/dist/commands/loop.d.ts +5 -0
- package/dist/commands/registry.d.ts +5 -2
- package/dist/db/qa-gate-profile.d.ts +10 -0
- package/dist/hooks/auto-review.d.ts +1 -1
- package/dist/index.js +2124 -1869
- package/dist/plan/utils.d.ts +8 -3
- package/dist/tools/dispatch-lanes.d.ts +14 -0
- package/dist/tools/phase-complete/gates/gate-helpers.d.ts +2 -0
- package/dist/tools/phase-complete/gates/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/plan/utils.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
export declare function derivePlanId(plan: {
|
|
2
|
+
swarm: string;
|
|
3
|
+
title: string;
|
|
4
|
+
}): string;
|
|
1
5
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
6
|
+
* Collision-resistant binding for security-sensitive evidence that also stores
|
|
7
|
+
* the readable legacy plan_id. This preserves existing plan_id compatibility
|
|
8
|
+
* while giving gates a stable raw swarm/title fingerprint to compare.
|
|
4
9
|
*/
|
|
5
|
-
export declare function
|
|
10
|
+
export declare function derivePlanIdentityHash(plan: {
|
|
6
11
|
swarm: string;
|
|
7
12
|
title: string;
|
|
8
13
|
}): string;
|
|
@@ -113,6 +113,10 @@ export interface CollectLaneResultsResult {
|
|
|
113
113
|
}
|
|
114
114
|
export interface SessionOps {
|
|
115
115
|
create(args: {
|
|
116
|
+
body?: {
|
|
117
|
+
parentID?: string;
|
|
118
|
+
title?: string;
|
|
119
|
+
};
|
|
116
120
|
query: {
|
|
117
121
|
directory: string;
|
|
118
122
|
};
|
|
@@ -215,6 +219,7 @@ export declare const _internals: {
|
|
|
215
219
|
export declare const _test_exports: {
|
|
216
220
|
applyCommonPrompt: typeof applyCommonPrompt;
|
|
217
221
|
applyExplorerFormatSuffix: typeof applyExplorerFormatSuffix;
|
|
222
|
+
buildLaneSessionCreateArgs: typeof buildLaneSessionCreateArgs;
|
|
218
223
|
extractAssistantTranscript: typeof extractAssistantTranscript;
|
|
219
224
|
formatError: typeof formatError;
|
|
220
225
|
nextCollectPollInterval: typeof nextCollectPollInterval;
|
|
@@ -295,6 +300,15 @@ type ApplyCommonPromptResult = {
|
|
|
295
300
|
declare function applyCommonPrompt(lanes: DispatchLaneSpec[], commonPrompt: string | undefined): ApplyCommonPromptResult;
|
|
296
301
|
declare function applyExplorerFormatSuffix(lanes: DispatchLaneSpec[]): DispatchLaneSpec[];
|
|
297
302
|
declare function formatError(error: unknown): string;
|
|
303
|
+
declare function buildLaneSessionCreateArgs(directory: string, lane: DispatchLaneSpec, context: Pick<DispatchLanesExecutionContext, 'sessionID'>): {
|
|
304
|
+
body: {
|
|
305
|
+
parentID?: string;
|
|
306
|
+
title: string;
|
|
307
|
+
};
|
|
308
|
+
query: {
|
|
309
|
+
directory: string;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
298
312
|
declare function promptHash(lane: DispatchLaneSpec, directory: string, batchId: string): string;
|
|
299
313
|
export declare const dispatch_lanes: ReturnType<typeof createSwarmTool>;
|
|
300
314
|
export declare const dispatch_lanes_async: ReturnType<typeof createSwarmTool>;
|
|
@@ -36,4 +36,8 @@ export interface GateContext {
|
|
|
36
36
|
agentsDispatched: string[];
|
|
37
37
|
/** Non-blocking warning helper */
|
|
38
38
|
safeWarn: (message: string, error: unknown) => void;
|
|
39
|
+
/** Retrospective bundle accepted for this phase, if the retro gate loaded one */
|
|
40
|
+
loadedRetroBundle?: import('../../../config/evidence-schema').EvidenceBundle | null;
|
|
41
|
+
/** Task id for the accepted retrospective bundle, if one was loaded */
|
|
42
|
+
loadedRetroTaskId?: string | null;
|
|
39
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.99.
|
|
3
|
+
"version": "7.99.3",
|
|
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",
|