opencode-swarm 7.184.15 → 7.184.17

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 (71) 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/background/pending-delegations.d.ts +8 -0
  4. package/dist/cli/{auto-checkpoint-r4r2kr4z.js → auto-checkpoint-8whpytsm.js} +4 -4
  5. package/dist/cli/{checkpoint-vwhxez4r.js → checkpoint-zjtcn0tx.js} +8 -8
  6. package/dist/cli/{coder-settlement-8769tw6w.js → coder-settlement-0z8sr1ep.js} +3 -3
  7. package/dist/cli/{config-doctor-q6s9ady1.js → config-doctor-4zwh0dkn.js} +2 -2
  8. package/dist/cli/{core-4c59hesb.js → core-fqbga0z4.js} +1 -1
  9. package/dist/cli/{curator-drift-9nrhkxxw.js → curator-drift-44ba54w1.js} +5 -5
  10. package/dist/cli/{curator-j6cf1fsv.js → curator-fkebhqnh.js} +24 -24
  11. package/dist/cli/{curator-llm-factory-v0jt8819.js → curator-llm-factory-65qve6xk.js} +24 -24
  12. package/dist/cli/{evidence-summary-service-1m2nm513.js → evidence-summary-service-e6wesfq2.js} +9 -9
  13. package/dist/cli/{gate-evidence-rpdz5gs2.js → gate-evidence-8chc9f8q.js} +2 -2
  14. package/dist/cli/{guardrail-explain-ssr3ncme.js → guardrail-explain-2prdgvjk.js} +25 -25
  15. package/dist/cli/{guardrail-log-eka0rn8v.js → guardrail-log-t0ketv64.js} +3 -3
  16. package/dist/cli/{guardrail-reset-88s9h1hp.js → guardrail-reset-rzva9emn.js} +24 -24
  17. package/dist/cli/{hive-promoter-nwxx9w9p.js → hive-promoter-h60dddna.js} +24 -24
  18. package/dist/cli/{index-kyef5s4c.js → index-0pvvktht.js} +1 -1
  19. package/dist/cli/{index-sk0rezqg.js → index-0zjg4kt5.js} +1 -1
  20. package/dist/cli/{index-yd6y7r7j.js → index-48we80k1.js} +3 -3
  21. package/dist/cli/{index-9whef455.js → index-4v60grax.js} +1 -1
  22. package/dist/cli/{index-07hc23sf.js → index-50q314wd.js} +1 -1
  23. package/dist/cli/{index-48mh32sj.js → index-7n1pfpnj.js} +1 -1
  24. package/dist/cli/{index-px6s47ts.js → index-8twhrz1w.js} +24 -24
  25. package/dist/cli/{index-19brwwba.js → index-a7y29h92.js} +2 -2
  26. package/dist/cli/{index-prsrnfk6.js → index-bktc2g9n.js} +2 -2
  27. package/dist/cli/{index-nab1g7xp.js → index-cyn2cb6k.js} +37 -10
  28. package/dist/cli/{index-6yy4vdcz.js → index-denfahc5.js} +1 -1
  29. package/dist/cli/{index-148qddzf.js → index-dky6qwrk.js} +1 -1
  30. package/dist/cli/{index-g54vra87.js → index-drndbj24.js} +2 -2
  31. package/dist/cli/{index-2vnqer6v.js → index-e708d35g.js} +3 -3
  32. package/dist/cli/{index-vxry9wvc.js → index-gx03v1y5.js} +5 -5
  33. package/dist/cli/{index-j8fz5ag3.js → index-hk2cap4d.js} +3 -3
  34. package/dist/cli/{index-t31jmv18.js → index-hx4jkj05.js} +3 -3
  35. package/dist/cli/{index-b3hm5456.js → index-kxacpqwf.js} +1 -1
  36. package/dist/cli/{index-pb1yb6yj.js → index-m8342y3n.js} +1 -1
  37. package/dist/cli/{index-bv2fmsxx.js → index-naxrpyb0.js} +3 -3
  38. package/dist/cli/{index-k7tqv8z5.js → index-pak3x772.js} +3710 -3546
  39. package/dist/cli/{index-m5t6z50p.js → index-pef8ay7c.js} +1 -1
  40. package/dist/cli/{index-c2sr40yt.js → index-r472pepw.js} +1 -1
  41. package/dist/cli/{index-xhpqgxa5.js → index-sfsydeh8.js} +1 -1
  42. package/dist/cli/{index-m2sxww5e.js → index-vs1y869b.js} +26 -26
  43. package/dist/cli/{index-tqfrj80g.js → index-ww747mdg.js} +1 -1
  44. package/dist/cli/{index-4gf774pe.js → index-wxr5me67.js} +1 -1
  45. package/dist/cli/{index-rce6h5t2.js → index-y0534tfs.js} +5 -5
  46. package/dist/cli/{index-8nw4j5ph.js → index-y8gxcmnj.js} +4 -4
  47. package/dist/cli/index.js +25 -25
  48. package/dist/cli/{knowledge-escalator-7a8z30n1.js → knowledge-escalator-kdeqdj0h.js} +6 -6
  49. package/dist/cli/{knowledge-events-yqf2m1y9.js → knowledge-events-6fs0tz97.js} +4 -4
  50. package/dist/cli/{knowledge-store-pz47p7pz.js → knowledge-store-z3fee1x1.js} +1 -1
  51. package/dist/cli/{knowledge-validator-azhzywe2.js → knowledge-validator-sz1bmbvt.js} +2 -2
  52. package/dist/cli/{mcp-fwry0xx8.js → mcp-e1cnm4k3.js} +1 -1
  53. package/dist/cli/{model-preflight-x4rtj869.js → model-preflight-936dhs10.js} +24 -24
  54. package/dist/cli/{pending-delegations-1egznk0k.js → pending-delegations-m0vf63yd.js} +2 -2
  55. package/dist/cli/{pr-subscriptions-08w3nwe3.js → pr-subscriptions-2gvfff4q.js} +1 -1
  56. package/dist/cli/{pr-workflow-gate-w83p2tej.js → pr-workflow-gate-68rg74bk.js} +26 -24
  57. package/dist/cli/{scan-cursor-mehbaf4e.js → scan-cursor-qzsanqx4.js} +2 -2
  58. package/dist/cli/{schema-010qjq6e.js → schema-jx4v0hg7.js} +1 -1
  59. package/dist/cli/{scope-persistence-j3qrkcss.js → scope-persistence-qk1h0c13.js} +5 -5
  60. package/dist/cli/{server-sdk45b8b.js → server-z9az3wc5.js} +24 -24
  61. package/dist/cli/{skill-generator-scq1qwzj.js → skill-generator-h0veywz6.js} +7 -7
  62. package/dist/cli/{snapshot-coordination-init-211yqfne.js → snapshot-coordination-init-mwrvch16.js} +24 -24
  63. package/dist/cli/{speckit-checkoff-pa43b1wv.js → speckit-checkoff-skyray2c.js} +3 -3
  64. package/dist/cli/{worktree-collision-ownership-fsdmtk62.js → worktree-collision-ownership-wvxm7q1h.js} +2 -2
  65. package/dist/cli/{worktree-isolation-hgwzq1ag.js → worktree-isolation-bmzkxa64.js} +24 -24
  66. package/dist/config/skill-contract-digest.d.ts +20 -0
  67. package/dist/hooks/pr-workflow-gate.d.ts +387 -0
  68. package/dist/hooks/pr-workflow-response-gate.d.ts +2 -0
  69. package/dist/index.js +484 -478
  70. package/dist/services/pr-workflow-skill-contract.d.ts +45 -0
  71. package/package.json +1 -1
@@ -0,0 +1,45 @@
1
+ import type { PrWorkflowMode } from '../hooks/pr-workflow-gate.js';
2
+ /** Stamped skill owning each mode's runtime protocol. */
3
+ export declare const PR_WORKFLOW_MODE_SKILL: Record<PrWorkflowMode, string>;
4
+ /** Activation budget mirrors the init-time sync ceiling (src/index.ts). */
5
+ export declare const SKILL_CONTRACT_ACTIVATION_BUDGET_MS = 2000;
6
+ /**
7
+ * Wake budget is tighter: the wake path also owes the continuation prompt
8
+ * inside its existing wakeTimeoutMs/boundaryWatchdogMs envelopes.
9
+ */
10
+ export declare const SKILL_CONTRACT_WAKE_BUDGET_MS = 750;
11
+ /**
12
+ * Shared advisory cap: the service's return bound, the gate-state schema's
13
+ * `.max()`, and the append guard all derive from this one constant (a desync
14
+ * would make the CAS writer's parse throw and silently drop advisories).
15
+ */
16
+ export declare const MAX_SKILL_CONTRACT_ADVISORIES = 8;
17
+ /**
18
+ * Nearest ancestor of `startDir` containing a package.json, bounded walk.
19
+ *
20
+ * Module-relative `'..'` arithmetic is NOT bundle-safe (Copilot review on
21
+ * PR #2875): this module is inlined into `dist/index.js` by the plugin
22
+ * build, so at runtime `import.meta.url` points ONE level below the package
23
+ * root (`dist/`), while in source form it sits two levels deep
24
+ * (`src/services/`). Walking up to the nearest package.json yields the
25
+ * package root in both layouts.
26
+ */
27
+ export declare function nearestPackageRootFrom(startDir: string): string | undefined;
28
+ /**
29
+ * Test seams (AGENTS.md invariant 7: `_internals` DI over `mock.module`).
30
+ * Restore in afterEach; see the sibling precedents in bundled-skills.ts.
31
+ */
32
+ export declare const _internals: {
33
+ resolvePackageRoot: () => string;
34
+ resolveUserGlobalHome: () => string;
35
+ syncBundled: (projectDirectory: string, packageRoot: string, quiet: boolean) => Promise<void>;
36
+ };
37
+ /**
38
+ * Verify the mode's stamped skill copies against the shipped canonical and
39
+ * heal the bundled copy. Returns actionable advisories (also routed through
40
+ * `advisoryWarn`); [] on a clean host. Fail-open: any internal error becomes
41
+ * a single advisory and never throws.
42
+ */
43
+ export declare function ensurePrWorkflowSkillContractsFresh(directory: string, mode: PrWorkflowMode, options?: {
44
+ budgetMs?: number;
45
+ }): Promise<string[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.184.15",
3
+ "version": "7.184.17",
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",