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.
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { resolveExactMergeBase, resolvePrWorkflowRevisionDigest } from '../background/workspace-snapshot.js';
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
- resolvePrWorkflowRevisionDigest: typeof resolvePrWorkflowRevisionDigest;
238
- resolveExactMergeBase: typeof resolveExactMergeBase;
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.1",
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",