opencode-swarm 7.143.5 → 7.143.6

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 (53) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +5 -5
  2. package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +129 -0
  3. package/dist/background/pending-delegations.d.ts +42 -1
  4. package/dist/background/pr-review-trigger-contract.d.ts +17 -0
  5. package/dist/cli/{config-doctor-y8wfw196.js → config-doctor-72zp0k4x.js} +2 -2
  6. package/dist/cli/{core-zszmexgm.js → core-aj0wmbg8.js} +1 -1
  7. package/dist/cli/{curator-e2sp925h.js → curator-2gt2835v.js} +18 -18
  8. package/dist/cli/{curator-llm-factory-xsg7wesn.js → curator-llm-factory-x1vjhrnc.js} +18 -18
  9. package/dist/cli/{evidence-summary-service-pfppq7mv.js → evidence-summary-service-yjr0662r.js} +6 -6
  10. package/dist/cli/{gate-evidence-23jnh3mb.js → gate-evidence-r3c7eqpz.js} +2 -2
  11. package/dist/cli/{guardrail-explain-byzmrgg1.js → guardrail-explain-f3zysesy.js} +19 -19
  12. package/dist/cli/{guardrail-log-nr2g7hbw.js → guardrail-log-eat71fnh.js} +3 -3
  13. package/dist/cli/{hive-promoter-cw08380z.js → hive-promoter-fyb40am9.js} +18 -18
  14. package/dist/cli/{index-p844tcrm.js → index-02nm8qhk.js} +3 -3
  15. package/dist/cli/{index-47z3jbxk.js → index-0adcjpyx.js} +3 -3
  16. package/dist/cli/{index-a1p87gew.js → index-36vry26a.js} +1 -1
  17. package/dist/cli/{index-51axj9vd.js → index-5d8ydxae.js} +399 -77
  18. package/dist/cli/{index-8aabbfhv.js → index-6vmazy9f.js} +8 -5
  19. package/dist/cli/{index-x64vt6sc.js → index-72zhsqgy.js} +2 -2
  20. package/dist/cli/{index-04x9wx7d.js → index-7bs015gm.js} +1 -1
  21. package/dist/cli/{index-tmc43mkc.js → index-92bm9ys3.js} +1 -1
  22. package/dist/cli/{index-7en3eq3k.js → index-bbv64s17.js} +1 -1
  23. package/dist/cli/{index-1kr1vey5.js → index-dtf2va28.js} +20 -20
  24. package/dist/cli/{index-jqxgdvr9.js → index-fn0k0vsa.js} +1 -1
  25. package/dist/cli/{index-dg1v2gnh.js → index-gzxz0s50.js} +1 -1
  26. package/dist/cli/{index-qdarzed6.js → index-hjy4txgr.js} +1 -1
  27. package/dist/cli/{index-mnj0ter5.js → index-kc2x117y.js} +3 -3
  28. package/dist/cli/{index-y8r7z30j.js → index-nd1j9wkw.js} +1 -1
  29. package/dist/cli/{index-xmje20we.js → index-peqmw3wr.js} +2 -2
  30. package/dist/cli/{index-q2nd6q9e.js → index-s7nb33pc.js} +1 -1
  31. package/dist/cli/{index-mbczeqs3.js → index-scj2asek.js} +5 -5
  32. package/dist/cli/{index-5866smj5.js → index-w1q9yy1e.js} +3 -3
  33. package/dist/cli/{index-a4dkd7m7.js → index-whyrhjsk.js} +1 -1
  34. package/dist/cli/{index-m7v7gggs.js → index-wjk00vwk.js} +4 -4
  35. package/dist/cli/{index-at0h6cd6.js → index-z4cv77tq.js} +2 -2
  36. package/dist/cli/index.js +18 -18
  37. package/dist/cli/{knowledge-escalator-1g4p844a.js → knowledge-escalator-ejpyrby0.js} +6 -6
  38. package/dist/cli/{knowledge-events-5699zzw0.js → knowledge-events-yw2kydyy.js} +4 -4
  39. package/dist/cli/{knowledge-store-m5qjn5kd.js → knowledge-store-j6gkk62e.js} +1 -1
  40. package/dist/cli/{knowledge-validator-xxnp8ear.js → knowledge-validator-xervpe5k.js} +2 -2
  41. package/dist/cli/{pending-delegations-b3pt3w5w.js → pending-delegations-19wg9j08.js} +5 -1
  42. package/dist/cli/{scan-cursor-qvky2yem.js → scan-cursor-x7a99wmq.js} +2 -2
  43. package/dist/cli/{schema-wgb37f83.js → schema-z141arx9.js} +1 -1
  44. package/dist/cli/{scope-persistence-0wrb7ptt.js → scope-persistence-js90c1f4.js} +4 -4
  45. package/dist/cli/{skill-generator-khaw3jjw.js → skill-generator-t202jza0.js} +7 -7
  46. package/dist/cli/{worktree-collision-ownership-bfz3drxm.js → worktree-collision-ownership-42bb3gcb.js} +1 -1
  47. package/dist/cli/{worktree-isolation-bv41gn3k.js → worktree-isolation-fbfvxw9a.js} +18 -18
  48. package/dist/hooks/pr-workflow-gate.d.ts +135 -1
  49. package/dist/index.js +20 -18
  50. package/dist/tools/complete-pr-workflow.d.ts +3 -1
  51. package/dist/tools/pr-workflow-status.d.ts +2 -2
  52. package/dist/tools/write-pr-review-trigger-eval.d.ts +2 -1
  53. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { completePrWorkflow } from '../hooks/pr-workflow-gate.js';
1
+ import { completePrWorkflow, readPrWorkflowGateState, settlePresumedStalePrWorkflowLanes } from '../hooks/pr-workflow-gate.js';
2
2
  import { createSwarmTool } from './create-tool.js';
3
3
  import { listPendingPrWorkflowCheckoutRestores } from './prepare-pr-workflow-checkout.js';
4
4
  export declare function executeCompletePrWorkflow(args: unknown, directory: string, context?: {
@@ -8,4 +8,6 @@ export declare const complete_pr_workflow: ReturnType<typeof createSwarmTool>;
8
8
  export declare const _internals: {
9
9
  completePrWorkflow: typeof completePrWorkflow;
10
10
  listPendingPrWorkflowCheckoutRestores: typeof listPendingPrWorkflowCheckoutRestores;
11
+ readPrWorkflowGateState: typeof readPrWorkflowGateState;
12
+ settlePresumedStalePrWorkflowLanes: typeof settlePresumedStalePrWorkflowLanes;
11
13
  };
@@ -1,6 +1,6 @@
1
1
  import { resolveCurrentGitHeadAsync, resolveIsWorkingTreeCleanAsync } from '../background/workspace-snapshot';
2
2
  import { classifyPrWorkflowGitState } from '../git/pr-workflow-state';
3
- import { readPrWorkflowGateState } from '../hooks/pr-workflow-gate';
3
+ import { readPrWorkflowGateStateForRecovery } from '../hooks/pr-workflow-gate';
4
4
  import { createSwarmTool } from './create-tool';
5
5
  /**
6
6
  * Truncate to an exact UTF-8 byte budget. `String.prototype.length`/`.slice`
@@ -20,7 +20,7 @@ declare function runGitCapture(directory: string, args: string[]): Promise<strin
20
20
  export declare const pr_workflow_status: ReturnType<typeof createSwarmTool>;
21
21
  /** Test seam mirroring gh-evidence's `_internals` (issue #507 DI convention). */
22
22
  export declare const _internals: {
23
- readPrWorkflowGateState: typeof readPrWorkflowGateState;
23
+ readPrWorkflowGateStateForRecovery: typeof readPrWorkflowGateStateForRecovery;
24
24
  resolveCurrentGitHeadAsync: typeof resolveCurrentGitHeadAsync;
25
25
  resolveIsWorkingTreeCleanAsync: typeof resolveIsWorkingTreeCleanAsync;
26
26
  runGitCapture: typeof runGitCapture;
@@ -1,11 +1,12 @@
1
1
  import { z } from 'zod';
2
- import { resolveExactMergeBase, resolvePrWorkflowRevisionDigest, resolvePrWorkflowRevisionDigestAsync } from '../background/workspace-snapshot.js';
2
+ import { resolveExactMergeBase, resolveExactMergeBaseAsync, resolvePrWorkflowRevisionDigest, resolvePrWorkflowRevisionDigestAsync } from '../background/workspace-snapshot.js';
3
3
  import { createSwarmTool } from './create-tool';
4
4
  export { PR_REVIEW_TRIGGER_DEFINITIONS } from '../background/pr-review-trigger-contract.js';
5
5
  export declare const _internals: {
6
6
  resolvePrWorkflowRevisionDigest: typeof resolvePrWorkflowRevisionDigest;
7
7
  resolvePrWorkflowRevisionDigestAsync: typeof resolvePrWorkflowRevisionDigestAsync;
8
8
  resolveMergeBase: typeof resolveExactMergeBase;
9
+ resolveMergeBaseAsync: typeof resolveExactMergeBaseAsync;
9
10
  };
10
11
  declare const WritePrReviewTriggerEvalArgsSchema: z.ZodObject<{
11
12
  run_id: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.143.5",
3
+ "version": "7.143.6",
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",