opencode-swarm 7.129.1 → 7.129.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/dist/background/workspace-snapshot.d.ts +30 -0
- package/dist/cli/{curator-2nhjd2mn.js → curator-gay2gz5p.js} +2 -2
- package/dist/cli/{curator-llm-factory-xbstvmpx.js → curator-llm-factory-90803y01.js} +2 -2
- package/dist/cli/{guardrail-explain-87wprr65.js → guardrail-explain-axvx94rx.js} +3 -3
- package/dist/cli/{hive-promoter-va29r2p0.js → hive-promoter-3j6xp8gm.js} +2 -2
- package/dist/cli/{index-ty0xttaz.js → index-509jpmdd.js} +1 -1
- package/dist/cli/{index-gczs3jy7.js → index-9vbpy8f9.js} +56 -22
- package/dist/cli/{index-40zn444p.js → index-f2y46pda.js} +179 -1
- package/dist/cli/{index-3yd6bbnp.js → index-vjmmzhv0.js} +3 -3
- package/dist/cli/index.js +2 -2
- package/dist/cli/{workspace-snapshot-aa0ggevw.js → workspace-snapshot-jwkjg790.js} +21 -1
- package/dist/hooks/pr-workflow-gate.d.ts +24 -3
- package/dist/index.js +11 -9
- package/dist/tools/dispatch-lanes.d.ts +6 -3
- package/dist/tools/run-pr-feedback-stage-a.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { resolveExactMergeBaseAsync, resolvePrWorkflowRevisionDigestAsync } from '../background/workspace-snapshot.js';
|
|
3
|
+
import { type PrReviewDepthTier } from '../hooks/pr-workflow-gate.js';
|
|
3
4
|
import { createParallelDispatcher } from '../parallel/dispatcher/parallel-dispatcher.js';
|
|
4
5
|
import { createSwarmTool } from './create-tool.js';
|
|
5
6
|
export declare const MAX_PROMPT_CHARS = 80000;
|
|
@@ -61,6 +62,7 @@ declare const CollectLaneResultsArgsSchema: z.ZodObject<{
|
|
|
61
62
|
cancel_pending: z.ZodOptional<z.ZodBoolean>;
|
|
62
63
|
}, z.core.$strip>;
|
|
63
64
|
export type DispatchLaneSpec = z.infer<typeof LaneSchema>;
|
|
65
|
+
declare function validatePrReviewMicroDispatch(args: DispatchLanesAsyncArgs, depthTier: PrReviewDepthTier): void;
|
|
64
66
|
export type DispatchLanesArgs = z.infer<typeof DispatchLanesArgsSchema>;
|
|
65
67
|
export type DispatchLanesAsyncArgs = z.infer<typeof DispatchLanesAsyncArgsSchema>;
|
|
66
68
|
export type CollectLaneResultsArgs = z.infer<typeof CollectLaneResultsArgsSchema>;
|
|
@@ -234,12 +236,13 @@ export declare const _internals: {
|
|
|
234
236
|
getSessionOps: () => SessionOps | null;
|
|
235
237
|
getGeneratedAgentNames: () => readonly string[];
|
|
236
238
|
createParallelDispatcher: typeof createParallelDispatcher;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
+
resolvePrWorkflowRevisionDigestAsync: typeof resolvePrWorkflowRevisionDigestAsync;
|
|
240
|
+
resolveExactMergeBaseAsync: typeof resolveExactMergeBaseAsync;
|
|
239
241
|
now: () => number;
|
|
240
242
|
sleep: (ms: number) => Promise<void>;
|
|
241
243
|
};
|
|
242
244
|
export declare const _test_exports: {
|
|
245
|
+
validatePrReviewMicroDispatch: typeof validatePrReviewMicroDispatch;
|
|
243
246
|
applyCommonPrompt: typeof applyCommonPrompt;
|
|
244
247
|
applyExplorerFormatSuffix: typeof applyExplorerFormatSuffix;
|
|
245
248
|
applyPrWorkflowPromptContract: typeof applyPrWorkflowPromptContract;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { readGitTextAtRevision, resolveCurrentGitHead, resolveExactMergeBase, resolveGitControlStateDigest, resolvePrWorkflowRevisionDigest } from '../background/workspace-snapshot.js';
|
|
2
|
+
import { readGitTextAtRevision, resolveCurrentGitHead, resolveCurrentGitHeadAsync, resolveExactMergeBase, resolveExactMergeBaseAsync, resolveGitControlStateDigest, resolveGitControlStateDigestAsync, resolvePrWorkflowRevisionDigest, resolvePrWorkflowRevisionDigestAsync } from '../background/workspace-snapshot.js';
|
|
3
3
|
import { runExternalTool } from '../utils/external-tool-runner.js';
|
|
4
4
|
import { createSwarmTool } from './create-tool.js';
|
|
5
5
|
declare const STAGE_A_CATEGORIES: readonly ["build", "typecheck", "lint", "diff-check", "reproduction"];
|
|
@@ -57,9 +57,13 @@ export declare const _internals: {
|
|
|
57
57
|
runExternalTool: typeof runExternalTool;
|
|
58
58
|
readGitTextAtRevision: typeof readGitTextAtRevision;
|
|
59
59
|
resolveExactMergeBase: typeof resolveExactMergeBase;
|
|
60
|
+
resolveExactMergeBaseAsync: typeof resolveExactMergeBaseAsync;
|
|
60
61
|
resolveCurrentGitHead: typeof resolveCurrentGitHead;
|
|
62
|
+
resolveCurrentGitHeadAsync: typeof resolveCurrentGitHeadAsync;
|
|
61
63
|
resolveGitControlStateDigest: typeof resolveGitControlStateDigest;
|
|
64
|
+
resolveGitControlStateDigestAsync: typeof resolveGitControlStateDigestAsync;
|
|
62
65
|
resolvePrWorkflowRevisionDigest: typeof resolvePrWorkflowRevisionDigest;
|
|
66
|
+
resolvePrWorkflowRevisionDigestAsync: typeof resolvePrWorkflowRevisionDigestAsync;
|
|
63
67
|
isPlausibleStageACommand: typeof isPlausibleStageACommand;
|
|
64
68
|
discoverApplicableStageACategories: typeof discoverApplicableStageACategories;
|
|
65
69
|
discoverApplicableStageAObligations: typeof discoverApplicableStageAObligations;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.129.
|
|
3
|
+
"version": "7.129.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",
|