opencode-swarm 7.129.2 → 7.129.4

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.
Files changed (36) hide show
  1. package/dist/background/workspace-snapshot.d.ts +30 -0
  2. package/dist/cli/{curation-policy-vn1ybh31.js → curation-policy-s08pg90f.js} +2 -2
  3. package/dist/cli/{curator-rtpbkffc.js → curator-6ggzktne.js} +11 -11
  4. package/dist/cli/{curator-llm-factory-5dcetzsz.js → curator-llm-factory-w6ep20tm.js} +11 -11
  5. package/dist/cli/{dispatch-f4hj1cj7.js → dispatch-3mhgqj2x.js} +1 -1
  6. package/dist/cli/{guardrail-explain-27xbz1h2.js → guardrail-explain-0gr9wkj0.js} +12 -12
  7. package/dist/cli/{hive-promoter-7x33c575.js → hive-promoter-4x3470c9.js} +11 -11
  8. package/dist/cli/{index-s7tsx4v9.js → index-803bqrzq.js} +12 -12
  9. package/dist/cli/{index-wy5jy3m9.js → index-8fy8q1px.js} +3 -3
  10. package/dist/cli/{index-6n2jpz7x.js → index-9f71ye47.js} +2 -2
  11. package/dist/cli/{index-kj86tyrs.js → index-bz814zsm.js} +1 -1
  12. package/dist/cli/{index-40zn444p.js → index-f2y46pda.js} +179 -1
  13. package/dist/cli/{index-5fnc76da.js → index-hbbj7ktj.js} +1 -1
  14. package/dist/cli/{index-vpjvqkdq.js → index-hn1dxcr3.js} +1 -1
  15. package/dist/cli/{index-ate4rw9q.js → index-jke1z4f2.js} +59 -43
  16. package/dist/cli/{index-m8vrw3pt.js → index-mgz9nm4a.js} +4 -4
  17. package/dist/cli/{index-w2kp2zvf.js → index-n08cksd6.js} +3 -3
  18. package/dist/cli/{index-kxw2sx1d.js → index-nbdge8b6.js} +1 -1
  19. package/dist/cli/{index-pgyp3tta.js → index-nhexgq4a.js} +1 -1
  20. package/dist/cli/{index-waqvy9a5.js → index-x7wt1g4w.js} +2 -2
  21. package/dist/cli/{index-6w02qz7t.js → index-yxz0c97p.js} +10 -8
  22. package/dist/cli/index.js +11 -11
  23. package/dist/cli/{knowledge-escalator-5ytt2y9n.js → knowledge-escalator-jjyn29ht.js} +3 -3
  24. package/dist/cli/{knowledge-events-qnyfrsfv.js → knowledge-events-f75n3916.js} +1 -1
  25. package/dist/cli/{knowledge-store-yeybvcqw.js → knowledge-store-7sahm702.js} +1 -1
  26. package/dist/cli/{knowledge-validator-g2c4mbwa.js → knowledge-validator-rjwvafv3.js} +4 -4
  27. package/dist/cli/{scan-cursor-c5mcce5r.js → scan-cursor-518rhxyd.js} +2 -2
  28. package/dist/cli/{skill-generator-c77e0y98.js → skill-generator-hk6mc7pc.js} +5 -5
  29. package/dist/cli/{workspace-snapshot-aa0ggevw.js → workspace-snapshot-jwkjg790.js} +21 -1
  30. package/dist/hooks/pr-workflow-gate.d.ts +11 -3
  31. package/dist/index.js +13 -11
  32. package/dist/services/directive-predicate-runner.d.ts +6 -0
  33. package/dist/tools/dispatch-lanes.d.ts +3 -3
  34. package/dist/tools/run-pr-feedback-stage-a.d.ts +5 -1
  35. package/package.json +1 -1
  36. package/dist/config/loader-recovery.d.ts +0 -95
@@ -9,35 +9,55 @@ import {
9
9
  parsePorcelainPaths,
10
10
  readGitTextAtRevision,
11
11
  resolveCommitCountSince,
12
+ resolveCommitCountSinceAsync,
12
13
  resolveCurrentGitHead,
14
+ resolveCurrentGitHeadAsync,
13
15
  resolveCurrentUpstreamPushTarget,
16
+ resolveCurrentUpstreamPushTargetAsync,
14
17
  resolveCurrentUpstreamRemoteRef,
15
18
  resolveExactMergeBase,
19
+ resolveExactMergeBaseAsync,
16
20
  resolveExactRemoteBranchHead,
21
+ resolveExactRemoteBranchHeadAsync,
17
22
  resolveGitControlStateDigest,
23
+ resolveGitControlStateDigestAsync,
18
24
  resolveIsExactSingleChildCommit,
25
+ resolveIsExactSingleChildCommitAsync,
19
26
  resolveIsWorkingTreeClean,
27
+ resolveIsWorkingTreeCleanAsync,
20
28
  resolvePrReviewDiffStats,
29
+ resolvePrReviewDiffStatsAsync,
21
30
  resolvePrWorkflowRevisionDigest,
22
31
  resolvePrWorkflowRevisionDigestAsync,
23
32
  resolveRemoteRefsContainingHead,
33
+ resolveRemoteRefsContainingHeadAsync,
24
34
  workspaceSnapshotMatches
25
- } from "./index-40zn444p.js";
35
+ } from "./index-f2y46pda.js";
26
36
  import"./index-a76rekgs.js";
27
37
  export {
28
38
  workspaceSnapshotMatches,
39
+ resolveRemoteRefsContainingHeadAsync,
29
40
  resolveRemoteRefsContainingHead,
30
41
  resolvePrWorkflowRevisionDigestAsync,
31
42
  resolvePrWorkflowRevisionDigest,
43
+ resolvePrReviewDiffStatsAsync,
32
44
  resolvePrReviewDiffStats,
45
+ resolveIsWorkingTreeCleanAsync,
33
46
  resolveIsWorkingTreeClean,
47
+ resolveIsExactSingleChildCommitAsync,
34
48
  resolveIsExactSingleChildCommit,
49
+ resolveGitControlStateDigestAsync,
35
50
  resolveGitControlStateDigest,
51
+ resolveExactRemoteBranchHeadAsync,
36
52
  resolveExactRemoteBranchHead,
53
+ resolveExactMergeBaseAsync,
37
54
  resolveExactMergeBase,
38
55
  resolveCurrentUpstreamRemoteRef,
56
+ resolveCurrentUpstreamPushTargetAsync,
39
57
  resolveCurrentUpstreamPushTarget,
58
+ resolveCurrentGitHeadAsync,
40
59
  resolveCurrentGitHead,
60
+ resolveCommitCountSinceAsync,
41
61
  resolveCommitCountSince,
42
62
  readGitTextAtRevision,
43
63
  parsePorcelainPaths,
@@ -1,5 +1,5 @@
1
1
  import * as fsp from 'node:fs/promises';
2
- import { resolveCommitCountSince, resolveCurrentGitHead, resolveCurrentUpstreamPushTarget, resolveCurrentUpstreamRemoteRef, resolveExactRemoteBranchHead, resolveIsExactSingleChildCommit, resolveIsWorkingTreeClean, resolvePrReviewDiffStats, resolvePrWorkflowRevisionDigest, resolveRemoteRefsContainingHead } from '../background/workspace-snapshot.js';
2
+ import { resolveCommitCountSince, resolveCommitCountSinceAsync, resolveCurrentGitHead, resolveCurrentGitHeadAsync, resolveCurrentUpstreamPushTarget, resolveCurrentUpstreamPushTargetAsync, resolveCurrentUpstreamRemoteRef, resolveExactRemoteBranchHead, resolveExactRemoteBranchHeadAsync, resolveIsExactSingleChildCommit, resolveIsExactSingleChildCommitAsync, resolveIsWorkingTreeClean, resolveIsWorkingTreeCleanAsync, resolvePrReviewDiffStats, resolvePrReviewDiffStatsAsync, resolvePrWorkflowRevisionDigest, resolveRemoteRefsContainingHead, resolveRemoteRefsContainingHeadAsync } from '../background/workspace-snapshot.js';
3
3
  export declare const PR_REVIEW_BASE_DIMENSION_IDS: readonly ["intent-architecture", "correctness-state", "tests-falsifiability", "security-trust", "reliability-performance", "compatibility-delivery"];
4
4
  export declare const PR_REVIEW_REQUIRED_MICRO_LANE_IDS: readonly ["auth-identity-secrets", "untrusted-input-boundaries", "subprocess-platform", "concurrency-state", "dependencies-build-release", "api-schema-migrations", "test-infrastructure", "ui-accessibility-i18n", "privacy-observability", "generated-provenance", "unclassified-risk"];
5
5
  export type PrReviewBaseDimensionId = (typeof PR_REVIEW_BASE_DIMENSION_IDS)[number];
@@ -256,9 +256,9 @@ export declare function bindPrReviewBase(directory: string, sessionID: string, o
256
256
  * exact remediation command so callers can self-diagnose instead of
257
257
  * cascading into fictional root causes.
258
258
  */
259
- export declare function assertCurrentCheckoutHead(directory: string, expectedHead: string): string;
259
+ export declare function assertCurrentCheckoutHead(directory: string, expectedHead: string): Promise<string>;
260
260
  /** Prove that every PR-review lane reads the immutable checked-out PR tree. */
261
- export declare function assertPrReviewCleanCheckout(directory: string, mode?: PrWorkflowMode): void;
261
+ export declare function assertPrReviewCleanCheckout(directory: string, mode?: PrWorkflowMode): Promise<void>;
262
262
  export declare function enforcePrWorkflowDispatchLanesAsync(directory: string, sessionID: string, toolName: string): Promise<PrWorkflowGateState | null>;
263
263
  export declare function enforcePrReviewBaseDimensions(directory: string, sessionID: string, lanes: readonly PrWorkflowLaneSpec[], options: {
264
264
  batchId: string;
@@ -335,15 +335,23 @@ export declare const _test_exports: {
335
335
  resetTrackedStateCache: () => void;
336
336
  beforeTerminalClear: (() => Promise<void>) | undefined;
337
337
  resolveCurrentGitHead: typeof resolveCurrentGitHead;
338
+ resolveCurrentGitHeadAsync: typeof resolveCurrentGitHeadAsync;
338
339
  resolveCurrentUpstreamPushTarget: typeof resolveCurrentUpstreamPushTarget;
340
+ resolveCurrentUpstreamPushTargetAsync: typeof resolveCurrentUpstreamPushTargetAsync;
339
341
  resolveCurrentUpstreamRemoteRef: typeof resolveCurrentUpstreamRemoteRef;
340
342
  resolveExactRemoteBranchHead: typeof resolveExactRemoteBranchHead;
343
+ resolveExactRemoteBranchHeadAsync: typeof resolveExactRemoteBranchHeadAsync;
341
344
  resolveCommitCountSince: typeof resolveCommitCountSince;
345
+ resolveCommitCountSinceAsync: typeof resolveCommitCountSinceAsync;
342
346
  resolveIsWorkingTreeClean: typeof resolveIsWorkingTreeClean;
347
+ resolveIsWorkingTreeCleanAsync: typeof resolveIsWorkingTreeCleanAsync;
343
348
  resolveIsExactSingleChildCommit: typeof resolveIsExactSingleChildCommit;
349
+ resolveIsExactSingleChildCommitAsync: typeof resolveIsExactSingleChildCommitAsync;
344
350
  resolvePrReviewDiffStats: typeof resolvePrReviewDiffStats;
351
+ resolvePrReviewDiffStatsAsync: typeof resolvePrReviewDiffStatsAsync;
345
352
  resolvePrWorkflowRevisionDigest: typeof resolvePrWorkflowRevisionDigest;
346
353
  resolveRemoteRefsContainingHead: typeof resolveRemoteRefsContainingHead;
354
+ resolveRemoteRefsContainingHeadAsync: typeof resolveRemoteRefsContainingHeadAsync;
347
355
  parseCriticVerdict: typeof parseCriticVerdict;
348
356
  isProcessAlive: typeof isProcessAlive;
349
357
  rename: typeof fsp.rename;