opencode-swarm 7.192.2 → 7.192.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 (76) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{auto-checkpoint-735m8sz7.js → auto-checkpoint-1xy6dprq.js} +4 -4
  4. package/dist/cli/{checkpoint-ptzc5jev.js → checkpoint-wvhmkgv5.js} +8 -8
  5. package/dist/cli/{coder-settlement-hh5165m1.js → coder-settlement-wpkmkgcf.js} +3 -3
  6. package/dist/cli/{config-doctor-wzzvhpcr.js → config-doctor-xvhejh7g.js} +7 -7
  7. package/dist/cli/{core-0jarm64k.js → core-yzgm8pcw.js} +1 -1
  8. package/dist/cli/{curator-f7crssw2.js → curator-3xh6246r.js} +25 -25
  9. package/dist/cli/{curator-drift-f4aqxz9e.js → curator-drift-5c041yaf.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-kxnzvhje.js → curator-llm-factory-6y7wrbvk.js} +25 -25
  11. package/dist/cli/{doctor-knowledge-receipt-phase-id-qvp1h3xv.js → doctor-knowledge-receipt-phase-id-cx6n5jtp.js} +4 -4
  12. package/dist/cli/{evidence-summary-service-379skych.js → evidence-summary-service-cc139a85.js} +9 -9
  13. package/dist/cli/{gate-evidence-b4cfrrgn.js → gate-evidence-7azk0xbt.js} +2 -2
  14. package/dist/cli/{guardrail-explain-tcnfc3te.js → guardrail-explain-b3y98j5b.js} +26 -26
  15. package/dist/cli/{guardrail-log-xe1evybk.js → guardrail-log-env1h4wr.js} +3 -3
  16. package/dist/cli/{guardrail-reset-jwx5hsgp.js → guardrail-reset-1404ymcw.js} +25 -25
  17. package/dist/cli/{hive-promoter-nks9a9s8.js → hive-promoter-hap3dh02.js} +25 -25
  18. package/dist/cli/{index-xf5v44qh.js → index-22ww8fjt.js} +1 -1
  19. package/dist/cli/{index-7a92gwbg.js → index-2qpme44n.js} +1 -1
  20. package/dist/cli/{index-ba87gkb4.js → index-54p1vs33.js} +2 -2
  21. package/dist/cli/{index-qta3x82z.js → index-5gyq54c5.js} +4296 -3283
  22. package/dist/cli/{index-k96fx4yw.js → index-6k70exke.js} +1 -1
  23. package/dist/cli/{index-89826pb5.js → index-6vwnm3sm.js} +2 -2
  24. package/dist/cli/{index-f54stv77.js → index-72eh47b2.js} +1 -1
  25. package/dist/cli/{index-878ksabw.js → index-c5gb6a86.js} +5 -5
  26. package/dist/cli/{index-914wsfyy.js → index-c6wzbs0g.js} +1 -1
  27. package/dist/cli/{index-q0bctx7k.js → index-c8fjbghs.js} +1 -1
  28. package/dist/cli/{index-5s74qd5b.js → index-cp9h2sqb.js} +1 -1
  29. package/dist/cli/{index-2y7y0bxf.js → index-ftatc9wj.js} +25 -25
  30. package/dist/cli/{index-yte4hqhv.js → index-g2phkwh2.js} +3 -3
  31. package/dist/cli/{index-w8e73tp0.js → index-gkr6ns9n.js} +2 -2
  32. package/dist/cli/{index-7bppy3ve.js → index-j4pxkvw3.js} +1 -1
  33. package/dist/cli/{index-xen0j48x.js → index-jb669k7s.js} +30 -8
  34. package/dist/cli/{index-ejq082zj.js → index-kn16k0fv.js} +1 -1
  35. package/dist/cli/{index-4tfr4j1a.js → index-myjqj3na.js} +3 -3
  36. package/dist/cli/{index-hcsz7bhg.js → index-q47snsb2.js} +3 -3
  37. package/dist/cli/{index-cf003krm.js → index-qzkrcz1r.js} +3 -3
  38. package/dist/cli/{index-w9y482mp.js → index-rqapvhh5.js} +1 -1
  39. package/dist/cli/{index-29z0w323.js → index-rsfvxaw0.js} +4 -4
  40. package/dist/cli/{index-qp3twbdz.js → index-s43zb23q.js} +27 -27
  41. package/dist/cli/{index-a83gmv2e.js → index-s68yyat0.js} +1 -1
  42. package/dist/cli/{index-w917g452.js → index-tww9qw9z.js} +6 -6
  43. package/dist/cli/{index-br28jc6d.js → index-v6ghzghn.js} +1 -1
  44. package/dist/cli/{index-asm2r4g2.js → index-vgktct21.js} +3 -3
  45. package/dist/cli/{index-ypvz2c60.js → index-xpwp9hw1.js} +1 -1
  46. package/dist/cli/{index-25zjz6kv.js → index-xwxqtdwz.js} +1 -1
  47. package/dist/cli/{index-4qreeddq.js → index-zya4a544.js} +2 -2
  48. package/dist/cli/index.js +26 -26
  49. package/dist/cli/{knowledge-escalator-gzzr7cy2.js → knowledge-escalator-eta167xh.js} +7 -7
  50. package/dist/cli/{knowledge-events-b16yc189.js → knowledge-events-mz25jn9f.js} +5 -5
  51. package/dist/cli/{knowledge-store-arj3by4h.js → knowledge-store-qd08dbws.js} +1 -1
  52. package/dist/cli/{knowledge-validator-b3qhjg0t.js → knowledge-validator-jyrsgamq.js} +2 -2
  53. package/dist/cli/{mcp-972t0jt0.js → mcp-4wgxc5ax.js} +1 -1
  54. package/dist/cli/{model-preflight-f1xvxk6e.js → model-preflight-4p3x4vma.js} +25 -25
  55. package/dist/cli/{pending-delegations-fv5xz799.js → pending-delegations-7hm6xgzw.js} +2 -2
  56. package/dist/cli/{pr-subscriptions-4mcwj33s.js → pr-subscriptions-2y3w5pyt.js} +1 -1
  57. package/dist/cli/{pr-workflow-gate-ap5cp211.js → pr-workflow-gate-y04z3z80.js} +25 -25
  58. package/dist/cli/{scan-cursor-tceyckdx.js → scan-cursor-2hpc6mxt.js} +2 -2
  59. package/dist/cli/{schema-pqevpe3m.js → schema-33k1e2cv.js} +1 -1
  60. package/dist/cli/{scope-persistence-ta6ydymv.js → scope-persistence-y769jep8.js} +5 -5
  61. package/dist/cli/{server-s9bfax7h.js → server-199m00cz.js} +25 -25
  62. package/dist/cli/{skill-generator-xdg4626x.js → skill-generator-b9by3739.js} +8 -8
  63. package/dist/cli/{snapshot-coordination-init-wn0hnwyv.js → snapshot-coordination-init-wyyn8ftk.js} +25 -25
  64. package/dist/cli/{speckit-checkoff-8x139jpf.js → speckit-checkoff-y2ywmh9k.js} +3 -3
  65. package/dist/cli/{worktree-collision-ownership-as8hnnff.js → worktree-collision-ownership-hg0yrc5b.js} +2 -2
  66. package/dist/cli/{worktree-isolation-7vrs8t9b.js → worktree-isolation-epbn1xgh.js} +25 -25
  67. package/dist/failures/provider-message-error.d.ts +2 -1
  68. package/dist/hooks/guardrails/tool-before.d.ts +19 -0
  69. package/dist/hooks/pr-workflow-gate.d.ts +8 -0
  70. package/dist/hooks/shell-executor-context.d.ts +43 -0
  71. package/dist/hooks/shell-write-detect.d.ts +44 -0
  72. package/dist/index.js +423 -420
  73. package/dist/services/pr-workflow-gh-readiness.d.ts +30 -0
  74. package/dist/tools/gh-evidence.d.ts +14 -0
  75. package/dist/turbo/lean/runner.d.ts +2 -0
  76. package/package.json +1 -1
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Issue #3099 R2-14 — workflow-scoped `gh` readiness.
3
+ *
4
+ * `gh` availability is otherwise only ever resolved lazily: the moment a tool
5
+ * that needs it runs (`src/tools/gh-evidence.ts` degrades with a typed
6
+ * `gh-not-found` payload, `src/tools/pr-review-submission.ts` fails its
7
+ * transport). Nothing checks at PR-workflow ACTIVATION, which is the last point
8
+ * where an operator can still act — and because the workflow is fail-open, a
9
+ * lane that cannot reach `gh` produces degraded output that then flows into
10
+ * reviewer and critic inputs instead of failing loudly.
11
+ *
12
+ * The generic missing-binary advisory cannot cover this: its checklist
13
+ * (`src/services/tool-doctor.ts`) is PATH-presence-only and deliberately
14
+ * excludes `gh`, whereas `resolveGhBinary` performs a behavioural
15
+ * `gh version` probe.
16
+ *
17
+ * Fail-open by contract: this module returns a string or null and NEVER throws.
18
+ * A resolver failure yields no advisory rather than blocking activation.
19
+ */
20
+ /** Prefixed so the entry is self-identifying inside the shared advisory array. */
21
+ export declare const GH_READINESS_ADVISORY_PREFIX = "gh-readiness:";
22
+ export declare const _internals: {
23
+ resolveGhBinary: () => string | null;
24
+ emit: (message: string) => void;
25
+ };
26
+ /**
27
+ * Returns a workflow-scoped readiness advisory when `gh` cannot be resolved,
28
+ * or null when it can (or when detection itself fails). Never throws.
29
+ */
30
+ export declare function collectPrWorkflowGhReadinessAdvisory(resolve: (() => string | null) | undefined): string | null;
@@ -28,6 +28,20 @@ export declare function resolveGhBinary(): string | null;
28
28
  * `__seedGitExecutableForTests` in `src/utils/git-executable.ts`.
29
29
  */
30
30
  export declare function __seedGhBinaryForTests(value: string | null): void;
31
+ /**
32
+ * Actionable guidance emitted when the gh CLI is not on PATH.
33
+ *
34
+ * There is DELIBERATELY no hidden REST fallback wired in. Two reasons make a
35
+ * silent transport swap unsafe: (1) the in-repo web_fetch tool pins a public IP,
36
+ * blocks loopback, and ignores HTTPS_PROXY, so it cannot be a general REST
37
+ * client from inside the plugin; (2) field-shape divergence — `gh --json`
38
+ * returns camelCase keys plus gh-only synthesized fields (statusCheckRollup,
39
+ * reviewDecision, mergeStateStatus) absent from the snake_case api.github.com
40
+ * REST payload, so auto-swapping transports would return a differently-shaped
41
+ * object under the same contract and mislead readers. Instead we hand the caller
42
+ * the exact REST URL and the gate-allowed degraded read path.
43
+ */
44
+ export declare function ghNotFoundGuidance(target: 'pr' | 'issue' | 'run', number: number, repo: string | undefined, logFailed: boolean): string;
31
45
  export declare const gh_evidence: ToolDefinition;
32
46
  export declare const _internals: {
33
47
  resolveGhBinaryCandidates: typeof resolveGhBinaryCandidates;
@@ -69,6 +69,8 @@ interface SessionClient {
69
69
  signal?: AbortSignal;
70
70
  }): Promise<{
71
71
  data: {
72
+ /** Assistant message; carries a provider refusal as `info.error`. */
73
+ info?: unknown;
72
74
  parts: Array<{
73
75
  type: string;
74
76
  text?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.192.2",
3
+ "version": "7.192.4",
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",