opencode-swarm 7.197.3 → 7.198.1

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 (108) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +10 -11
  2. package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +4 -2
  3. package/.opencode/skills/swarm-pr-review/references/parser-dry-run.md +5 -2
  4. package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +57 -42
  5. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  6. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  7. package/dist/agents/critic.d.ts +1 -1
  8. package/dist/cli/{auto-checkpoint-e6t09fc1.js → auto-checkpoint-26ds5st2.js} +8 -8
  9. package/dist/cli/{capability-probe-rty1315z.js → capability-probe-dwqn2609.js} +1 -1
  10. package/dist/cli/{checkpoint-5j752d1a.js → checkpoint-5e7hxsr9.js} +16 -16
  11. package/dist/cli/{coder-settlement-8t3yznbq.js → coder-settlement-temmr2pk.js} +12 -12
  12. package/dist/cli/{config-doctor-8pdsjzsw.js → config-doctor-raqmkf8g.js} +15 -15
  13. package/dist/cli/{core-1dty31az.js → core-f5pxzgmz.js} +3 -3
  14. package/dist/cli/{curation-policy-5hm6328s.js → curation-policy-m8ng2vm5.js} +6 -6
  15. package/dist/cli/{curator-9gwwtyjt.js → curator-5d6aaffq.js} +43 -43
  16. package/dist/cli/{curator-drift-7htrxbht.js → curator-drift-sw8bst80.js} +8 -8
  17. package/dist/cli/curator-llm-factory-20scw8ny.js +82 -0
  18. package/dist/cli/{doctor-knowledge-receipt-phase-id-y2v12h2y.js → doctor-knowledge-receipt-phase-id-6dvt55rx.js} +8 -8
  19. package/dist/cli/{evidence-summary-service-gthqb26q.js → evidence-summary-service-jj18ewdg.js} +19 -19
  20. package/dist/cli/{gate-evidence-xv1228n3.js → gate-evidence-rg41defg.js} +7 -7
  21. package/dist/cli/guardrail-explain-7ssdemv6.js +83 -0
  22. package/dist/cli/{guardrail-log-6f55sa60.js → guardrail-log-6xscgfvv.js} +7 -7
  23. package/dist/cli/{guardrail-reset-j9bk61er.js → guardrail-reset-1hkaxa2j.js} +43 -43
  24. package/dist/cli/{hive-promoter-6y24tdbf.js → hive-promoter-r06x96bw.js} +43 -43
  25. package/dist/cli/{index-2fwsd357.js → index-1s678rvg.js} +11 -11
  26. package/dist/cli/{index-pwgb4ysh.js → index-2z095p01.js} +4 -4
  27. package/dist/cli/{index-pd98xk00.js → index-4rgmr1v6.js} +45 -45
  28. package/dist/cli/{index-7rtq2t5n.js → index-4s3770gs.js} +3 -3
  29. package/dist/cli/{index-fws15qp0.js → index-6f0f4f29.js} +4 -4
  30. package/dist/cli/{index-c5xvm318.js → index-76mg98ac.js} +1 -1
  31. package/dist/cli/{index-tf3y0x41.js → index-7rnw65rv.js} +3 -3
  32. package/dist/cli/{index-dfrcc46h.js → index-84r9rydf.js} +2 -2
  33. package/dist/cli/{index-xmbtwtgw.js → index-89j5h1j9.js} +1 -1
  34. package/dist/cli/{index-bzfn85kq.js → index-8mrentmw.js} +8 -5
  35. package/dist/cli/{index-j8bgrxc8.js → index-8v6tps7r.js} +5 -5
  36. package/dist/cli/{index-z250fgd9.js → index-9t65hk8b.js} +2 -2
  37. package/dist/cli/{index-a4jwt70q.js → index-b3c63rv1.js} +72 -8
  38. package/dist/cli/{index-7m5cf6nb.js → index-by8tygxp.js} +7 -7
  39. package/dist/cli/{index-9exby7at.js → index-c23zrf6q.js} +5 -5
  40. package/dist/cli/{index-p0ha6zyg.js → index-c7tfbr1f.js} +4 -4
  41. package/dist/cli/{index-mpc3z3ky.js → index-cvvambjz.js} +3 -3
  42. package/dist/cli/{index-hy2fqapm.js → index-d31b2zvf.js} +1 -1
  43. package/dist/cli/{index-2jd8sark.js → index-d7vjc89k.js} +2 -2
  44. package/dist/cli/{index-6183at3v.js → index-e4hj8r57.js} +2 -2
  45. package/dist/cli/{index-1pek46cc.js → index-eabp3432.js} +177 -123
  46. package/dist/cli/{index-4b64v1kx.js → index-eqz96aes.js} +8 -3
  47. package/dist/cli/{index-yg2qwadj.js → index-ga0wqrrt.js} +2 -2
  48. package/dist/cli/{index-t7egd710.js → index-h67khmza.js} +1 -1
  49. package/dist/cli/{index-c602bgyp.js → index-j433hcvy.js} +5 -5
  50. package/dist/cli/{index-6dz5venm.js → index-je5bcka1.js} +3 -3
  51. package/dist/cli/{index-f87r78zb.js → index-jsstyk9q.js} +5 -5
  52. package/dist/cli/{index-z75fz6x3.js → index-m16yf21g.js} +4 -4
  53. package/dist/cli/{index-4gmxdkcd.js → index-mjmsq8t7.js} +2 -2
  54. package/dist/cli/{index-s67cbrd1.js → index-msns3h2f.js} +7 -7
  55. package/dist/cli/{index-aynf8fgp.js → index-nk6x7683.js} +13 -3
  56. package/dist/cli/{index-yf2z4j7s.js → index-p4xmq6aa.js} +1 -1
  57. package/dist/cli/{index-04xgdmps.js → index-q4mm1bt9.js} +17 -10
  58. package/dist/cli/{index-ypkfhqbc.js → index-qg6qn99c.js} +7 -7
  59. package/dist/cli/{index-crz772sx.js → index-rqxwv4q5.js} +1 -1
  60. package/dist/cli/{index-ax7n55cd.js → index-sdw5yhpt.js} +6 -6
  61. package/dist/cli/{index-mqk09xcm.js → index-sr8xjwzb.js} +6 -6
  62. package/dist/cli/{index-necqa5bj.js → index-t7qgt5yk.js} +2 -2
  63. package/dist/cli/{index-gc0aeth5.js → index-tdpfecs3.js} +2 -2
  64. package/dist/cli/{index-841jrejq.js → index-tzr2ne1t.js} +3 -3
  65. package/dist/cli/{index-ghckhk16.js → index-v30zmakk.js} +2 -2
  66. package/dist/cli/{index-svmhj9x2.js → index-vn7aqfwf.js} +43 -43
  67. package/dist/cli/{index-app2rmxv.js → index-wrn4khfb.js} +1 -1
  68. package/dist/cli/{index-yed14yth.js → index-x2htr95w.js} +53 -11
  69. package/dist/cli/{index-kphy4we7.js → index-xez06sc1.js} +1 -1
  70. package/dist/cli/{index-rpa47vzb.js → index-xp812shj.js} +2 -2
  71. package/dist/cli/{index-j8t1g5qd.js → index-xt4q610f.js} +1 -1
  72. package/dist/cli/{index-ry5g9s8d.js → index-yk1vnpzx.js} +1 -1
  73. package/dist/cli/index.js +44 -44
  74. package/dist/cli/{knowledge-escalator-xvkfez9d.js → knowledge-escalator-zhf9tdty.js} +14 -14
  75. package/dist/cli/{knowledge-events-t4enxfp7.js → knowledge-events-e7qvrkd6.js} +12 -12
  76. package/dist/cli/{knowledge-link-8bn2b7vr.js → knowledge-link-5qt3pe5v.js} +5 -5
  77. package/dist/cli/{knowledge-store-tdqx1z7e.js → knowledge-store-qjb8z6jp.js} +6 -6
  78. package/dist/cli/{knowledge-validator-3n52kff9.js → knowledge-validator-ahs75wc4.js} +8 -8
  79. package/dist/cli/{mcp-yqfahteb.js → mcp-g8r6nyw8.js} +1 -1
  80. package/dist/cli/{model-preflight-s3s7t38g.js → model-preflight-1z56pgg3.js} +43 -43
  81. package/dist/cli/{pending-delegations-j89ak26j.js → pending-delegations-8y45faem.js} +12 -12
  82. package/dist/cli/{pr-subscriptions-r5q1035f.js → pr-subscriptions-b0ty3vn8.js} +12 -12
  83. package/dist/cli/{pr-workflow-gate-dahpc06k.js → pr-workflow-gate-pf0f47jn.js} +45 -43
  84. package/dist/cli/{runner-rt2smh14.js → runner-rwya5yhg.js} +6 -6
  85. package/dist/cli/{scan-cursor-yjk3czah.js → scan-cursor-1xmy9d70.js} +7 -7
  86. package/dist/cli/{schema-1bs31fpf.js → schema-vdnqek4x.js} +5 -1
  87. package/dist/cli/{scope-persistence-0mpbc1ht.js → scope-persistence-vpge2pc2.js} +15 -15
  88. package/dist/cli/{server-8swemw8w.js → server-3rat1sk6.js} +43 -43
  89. package/dist/cli/{skill-generator-mx125j7w.js → skill-generator-0gwpqkd5.js} +16 -16
  90. package/dist/cli/{snapshot-coordination-init-sayvd15t.js → snapshot-coordination-init-a0dyeaqa.js} +43 -43
  91. package/dist/cli/{speckit-checkoff-76j7h7qt.js → speckit-checkoff-s9gvmcry.js} +4 -4
  92. package/dist/cli/{telemetry-vapc5q4p.js → telemetry-t3425cht.js} +1 -1
  93. package/dist/cli/{workspace-snapshot-e3kw9kpg.js → workspace-snapshot-bst64vey.js} +3 -3
  94. package/dist/cli/{worktree-collision-ownership-8f8c9bcr.js → worktree-collision-ownership-kp0tcg7f.js} +13 -13
  95. package/dist/cli/{worktree-isolation-kgfk5aj8.js → worktree-isolation-v2wf2ka9.js} +43 -43
  96. package/dist/config/loader.d.ts +31 -1
  97. package/dist/config/schema.d.ts +17 -0
  98. package/dist/hooks/guardrails/tool-before.d.ts +5 -2
  99. package/dist/hooks/pr-workflow-gate.d.ts +9 -0
  100. package/dist/index.js +54 -42
  101. package/dist/pr-review/legacy-transcript-adapter.d.ts +18 -0
  102. package/dist/sandbox/capability-probe.d.ts +1 -1
  103. package/dist/sdd/effective-spec.d.ts +48 -5
  104. package/dist/tools/dispatch-lanes.d.ts +18 -0
  105. package/opencode-swarm.schema.json +14 -0
  106. package/package.json +1 -1
  107. package/dist/cli/curator-llm-factory-ew2h0zed.js +0 -82
  108. package/dist/cli/guardrail-explain-h41yf31c.js +0 -83
@@ -80,14 +80,17 @@ export declare function _resetSandboxUnavailableWarningState(): void;
80
80
  * 2. a PowerShell-shaped body cannot execute under POSIX at all, so
81
81
  * Windows is authoritative;
82
82
  * 3. otherwise the tool's own executor: `bash` runs a POSIX shell; the
83
- * `shell` tool inherits base content detection.
83
+ * `shell` tool inherits base content detection ON WINDOWS ONLY. OpenCode 2
84
+ * dispatches terminal commands as `shell` on POSIX hosts too (#3323), where
85
+ * a Linux command that merely starts with `echo ` is not `cmd.exe` syntax,
86
+ * so off Windows the `shell` tool is a POSIX executor like `bash`.
84
87
  *
85
88
  * Exported so `/swarm guardrail explain` routes through the SAME decision
86
89
  * instead of a stale copy — its comment promises a mirror of
87
90
  * checkShellWriteScope, and a mirror that diverges answers "allow" for
88
91
  * commands the gate blocks (#3099 review finding).
89
92
  */
90
- export declare function resolveWindowsWriteAuthority(tool: string, command: string, detectedShellType: 'posix' | 'powershell' | 'cmd' | 'unix' | 'bash', shaped: boolean): 'powershell' | 'cmd' | null;
93
+ export declare function resolveWindowsWriteAuthority(tool: string, command: string, detectedShellType: 'posix' | 'powershell' | 'cmd' | 'unix' | 'bash', shaped: boolean, platform?: NodeJS.Platform): 'powershell' | 'cmd' | null;
91
94
  export declare function createToolBeforeHandler(ctx: ToolBeforeContext): (input: {
92
95
  tool: string;
93
96
  sessionID: string;
@@ -2491,6 +2491,15 @@ export declare function derivePrReviewPresentationOrder(directory: string, sessi
2491
2491
  * critic prioritizes them.
2492
2492
  */
2493
2493
  export declare function derivePrReviewOrderUnstableItems(directory: string, sessionID: string): Promise<string[]>;
2494
+ /**
2495
+ * Issue #3310: the composed reviewer-phase severities, keyed by item id, so a
2496
+ * critic dispatch can tell each assigned item's reviewer severity up front —
2497
+ * the critic transport requires UPHELD to keep that exact severity rank.
2498
+ * Read-only derivation with the same shape as the #2906 readers; an unset or
2499
+ * partially-settled reviewer phase yields an empty/partial map and the
2500
+ * dispatch-side caller renders nothing extra for unknown ids.
2501
+ */
2502
+ export declare function derivePrReviewReviewerSeverities(directory: string, sessionID: string): Promise<Map<string, string>>;
2494
2503
  /**
2495
2504
  * Issue #2906: the authoritative per-item order-agreement map for the findings
2496
2505
  * writer — the same reader shape as `readAuthoritativePrReviewCriticVerdicts`,