opencode-swarm 7.187.3 → 7.188.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 (92) 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/delegation-lifecycle.d.ts +4 -0
  4. package/dist/cli/{auto-checkpoint-521fehr3.js → auto-checkpoint-w2mjh5m3.js} +7 -7
  5. package/dist/cli/{checkpoint-czx5eken.js → checkpoint-eac282hg.js} +12 -12
  6. package/dist/cli/{coder-settlement-skfkfgt7.js → coder-settlement-40qspmep.js} +8 -8
  7. package/dist/cli/{config-doctor-t88fd5ra.js → config-doctor-p21xsvfn.js} +11 -11
  8. package/dist/cli/{core-fap9x47g.js → core-z7qs8s32.js} +1 -1
  9. package/dist/cli/{curation-policy-e1ce7ha8.js → curation-policy-v64ctcbd.js} +5 -5
  10. package/dist/cli/{curator-b7zzsv98.js → curator-csg36d2a.js} +35 -35
  11. package/dist/cli/{curator-drift-ea11apaw.js → curator-drift-z6c2ctqr.js} +5 -5
  12. package/dist/cli/{curator-llm-factory-758hynyn.js → curator-llm-factory-dtyyh77f.js} +35 -35
  13. package/dist/cli/{doctor-knowledge-receipt-phase-id-5768wb0n.js → doctor-knowledge-receipt-phase-id-gps8dpqr.js} +6 -6
  14. package/dist/cli/{evidence-summary-service-z2yj87tn.js → evidence-summary-service-txbkchx6.js} +15 -15
  15. package/dist/cli/{gate-evidence-m90ynftc.js → gate-evidence-bwyxrk3z.js} +5 -5
  16. package/dist/cli/{guardrail-explain-y2g82gqv.js → guardrail-explain-gxzdr8w4.js} +36 -36
  17. package/dist/cli/{guardrail-log-c50qd8sf.js → guardrail-log-ra5qbb4b.js} +6 -6
  18. package/dist/cli/{guardrail-reset-h7g9a90e.js → guardrail-reset-b0s11ban.js} +35 -35
  19. package/dist/cli/{hive-promoter-wpcn3wyz.js → hive-promoter-avvddtgc.js} +35 -35
  20. package/dist/cli/{index-bkcd3nwh.js → index-0v2svrev.js} +1 -1
  21. package/dist/cli/{index-by488z8m.js → index-41v699sv.js} +3 -3
  22. package/dist/cli/{index-sec8fwf1.js → index-4htcpbs4.js} +67 -48
  23. package/dist/cli/{index-h03j41jw.js → index-4m6k2r0v.js} +4 -4
  24. package/dist/cli/{index-naxtsh2e.js → index-4rjw95qw.js} +4 -4
  25. package/dist/cli/{index-4tmk29gc.js → index-5m06enb0.js} +1 -1
  26. package/dist/cli/{index-by7x4ty3.js → index-61pxv4sk.js} +35 -35
  27. package/dist/cli/{index-xpj149rz.js → index-7sbyvk99.js} +1 -1
  28. package/dist/cli/{index-japwz660.js → index-8pbtv6ea.js} +1 -1
  29. package/dist/cli/{index-w3xapqjq.js → index-9007eaeh.js} +3 -3
  30. package/dist/cli/{index-5ktekhxk.js → index-936d3ny7.js} +1 -1
  31. package/dist/cli/{index-02nzb100.js → index-9bjf0bhd.js} +2 -2
  32. package/dist/cli/{index-mh3nsv7v.js → index-a1tpp2fs.js} +2 -2
  33. package/dist/cli/{index-5x8zhfsq.js → index-aqe9x8ga.js} +3 -3
  34. package/dist/cli/{index-hrxr48p5.js → index-b9pz70d0.js} +2 -2
  35. package/dist/cli/{index-468s960k.js → index-c66ywect.js} +1 -1
  36. package/dist/cli/{index-a5pjm9zc.js → index-cb72p9w2.js} +2 -2
  37. package/dist/cli/{index-m3dcecc5.js → index-cdakr0yh.js} +37 -37
  38. package/dist/cli/{index-npkxp81s.js → index-cs6g43qy.js} +14 -9
  39. package/dist/cli/{index-7fekgghd.js → index-dxhd7dsr.js} +7 -7
  40. package/dist/cli/{index-ksvm96bz.js → index-edaj9qxn.js} +1 -1
  41. package/dist/cli/{index-zbv9t6p2.js → index-fdx38afm.js} +6 -6
  42. package/dist/cli/{index-45d3vpry.js → index-gy57hcy2.js} +1 -1
  43. package/dist/cli/{index-fk7s8btv.js → index-jd3hvnqn.js} +2 -2
  44. package/dist/cli/{index-ez4kkgcd.js → index-jn08bcaa.js} +3 -3
  45. package/dist/cli/{index-7ba0hdg4.js → index-mb1reyw3.js} +1 -1
  46. package/dist/cli/{index-h7p78r0w.js → index-mdbqm6w1.js} +4 -4
  47. package/dist/cli/{index-mdxrk3az.js → index-pswvtgdx.js} +3 -3
  48. package/dist/cli/{index-6551m2st.js → index-qgvmq92m.js} +2 -2
  49. package/dist/cli/{index-nsvm2j4x.js → index-rwabrcsg.js} +1 -1
  50. package/dist/cli/{index-w9p41945.js → index-swagbt0g.js} +1 -1
  51. package/dist/cli/{index-10h0jx4e.js → index-w4q0sw5g.js} +4 -4
  52. package/dist/cli/{index-6rdajskg.js → index-wkxhhyej.js} +138 -102
  53. package/dist/cli/{index-e3vbyy10.js → index-x73e0zkb.js} +1 -1
  54. package/dist/cli/{index-7t15ybzn.js → index-xrsfbr31.js} +3 -3
  55. package/dist/cli/{index-yk9vs9pw.js → index-z4zznftq.js} +2 -2
  56. package/dist/cli/{index-wvkbp1qr.js → index-zhnywrhs.js} +6 -6
  57. package/dist/cli/{index-zzgv4jy6.js → index-ztq5ag7q.js} +4 -4
  58. package/dist/cli/{index-v8ytrkrg.js → index-zvrfvtp3.js} +77 -11
  59. package/dist/cli/{index-q0am9gm3.js → index-zwgh0gty.js} +1 -1
  60. package/dist/cli/index.js +36 -36
  61. package/dist/cli/{knowledge-escalator-wzsxp6yg.js → knowledge-escalator-02z57h57.js} +12 -12
  62. package/dist/cli/{knowledge-events-dcchq50n.js → knowledge-events-yqfwghad.js} +10 -10
  63. package/dist/cli/{knowledge-link-zh9rzesj.js → knowledge-link-9gx2djyd.js} +4 -4
  64. package/dist/cli/{knowledge-store-p27r8wa9.js → knowledge-store-85rcyme4.js} +5 -5
  65. package/dist/cli/{knowledge-validator-rmtymth5.js → knowledge-validator-0fax9dq4.js} +7 -7
  66. package/dist/cli/{mcp-jr1rr2zd.js → mcp-rt2qxyc1.js} +1 -1
  67. package/dist/cli/{model-preflight-xzy5x4rt.js → model-preflight-yf57x1x7.js} +35 -35
  68. package/dist/cli/{pending-delegations-4k740a2c.js → pending-delegations-3emmnz2y.js} +7 -7
  69. package/dist/cli/{pr-subscriptions-515xdgjj.js → pr-subscriptions-mpwtbpdd.js} +7 -7
  70. package/dist/cli/{pr-workflow-gate-srpa0mds.js → pr-workflow-gate-0qzc2dbr.js} +35 -35
  71. package/dist/cli/{runner-tk1cmgzt.js → runner-x8sbydkw.js} +5 -5
  72. package/dist/cli/{scan-cursor-w89sck5y.js → scan-cursor-w0m9zjrr.js} +6 -6
  73. package/dist/cli/{schema-1mwgvrv7.js → schema-0w9q2h6j.js} +1 -1
  74. package/dist/cli/{scope-persistence-qen27qx7.js → scope-persistence-3mc615t3.js} +11 -11
  75. package/dist/cli/{server-rhz44ye9.js → server-h36cgr2m.js} +35 -35
  76. package/dist/cli/{skill-generator-05mxym3d.js → skill-generator-qaskynvt.js} +14 -14
  77. package/dist/cli/{snapshot-coordination-init-jjegs3v5.js → snapshot-coordination-init-j226zrvz.js} +35 -35
  78. package/dist/cli/{speckit-checkoff-3m04ks95.js → speckit-checkoff-6xa1f1qr.js} +3 -3
  79. package/dist/cli/{telemetry-vwxbsnye.js → telemetry-d0j31j5d.js} +1 -1
  80. package/dist/cli/{worktree-collision-ownership-0d73y8h0.js → worktree-collision-ownership-frtjkhms.js} +7 -7
  81. package/dist/cli/{worktree-isolation-d0vn38wb.js → worktree-isolation-c07qk28m.js} +35 -35
  82. package/dist/commands/close/align-stage.d.ts +26 -0
  83. package/dist/commands/close/context.d.ts +8 -0
  84. package/dist/commands/close/internals.d.ts +1 -1
  85. package/dist/commands/destructive-purge.d.ts +55 -27
  86. package/dist/commands/registry.d.ts +1 -1
  87. package/dist/hooks/knowledge-validator.d.ts +18 -1
  88. package/dist/index.js +20 -19
  89. package/dist/observability/catalog.d.ts +3 -3
  90. package/dist/telemetry.d.ts +15 -1
  91. package/dist/tools/repo-map.d.ts +4 -0
  92. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * The event catalog (issue #2029).
3
3
  *
4
- * Exactly 65 entries, matching the `TelemetryEvent` union at
5
- * `src/telemetry.ts:20-172`. Thirty-eight predate the #2029 contract; the 39th is
4
+ * Exactly 66 entries, matching the `TelemetryEvent` union at
5
+ * `src/telemetry.ts:27-210`. Thirty-eight predate the #2029 contract; the 39th is
6
6
  * `agent_conflict_detected` (previously emitted through a force-cast past the
7
7
  * type system), the 40th is `close_archive_result` (issue #2030 — the
8
8
  * structured close/archive result event), the 41st is the bounded diagnostic
@@ -89,7 +89,7 @@ export interface CatalogEntry {
89
89
  /**
90
90
  * Whether an event of this kind must carry `trace.parentSpanId`.
91
91
  *
92
- * `false` for all 65 entries today, and that is a truthful statement about
92
+ * `false` for all 66 entries today, and that is a truthful statement about
93
93
  * the current system rather than a placeholder: no producer supplies a
94
94
  * parent span, so `createObservation` never sets one. Setting this to `true`
95
95
  * for a kind whose producer cannot supply a parent would make every
@@ -41,7 +41,7 @@ export type TelemetryEvent = 'session_started' | 'session_ended' | 'agent_activa
41
41
  * `prm_hard_stop` TRIGGER emitted by `src/prm/escalation.ts`. A trigger with
42
42
  * no matching delivery means the containment never reached the agent.
43
43
  */
44
- | 'prm_hard_stop_delivered' | 'agent_conflict_detected' | 'close_archive_result' | 'knowledge_receipt_transition' | 'knowledge_maintenance' | 'residue_health' | 'context_telemetry_health' | 'skill_usage_health' | 'core_events_health' | 'shell_audit_health' | 'trajectory_health' | 'learning_health_alarm' | 'pr_subscription_health' | 'execution_attempt_recorded' | 'council_attempt' | 'council_round_transition' | 'council_attempt_unscoped' | 'context_source_attribution' | 'verdict_row_pipe_recovery' | 'training_vault_health';
44
+ | 'prm_hard_stop_delivered' | 'agent_conflict_detected' | 'close_archive_result' | 'knowledge_receipt_transition' | 'knowledge_maintenance' | 'residue_health' | 'context_telemetry_health' | 'skill_usage_health' | 'core_events_health' | 'shell_audit_health' | 'trajectory_health' | 'learning_health_alarm' | 'pr_subscription_health' | 'execution_attempt_recorded' | 'council_attempt' | 'council_round_transition' | 'council_attempt_unscoped' | 'context_source_attribution' | 'verdict_row_pipe_recovery' | 'training_vault_health' | 'plan_recovery_superseded';
45
45
  /** Stable classification for how a reviewer-gate decision was established. */
46
46
  export type ReviewerGateEvidenceKind = 'genuine' | 'fallback' | 'data_quality' | 'block';
47
47
  /**
@@ -527,6 +527,20 @@ export declare const telemetry: {
527
527
  token_budget_used: number;
528
528
  omitted_context_count: number;
529
529
  }): void;
530
+ /**
531
+ * Issue #2794 — plan-recovery supersession count, emitted exactly once per
532
+ * snapshot-coordination initialization attempt that settles superseded
533
+ * (settlement chokepoint in src/session/snapshot-coordination-init.ts).
534
+ * Counts ONLY — a within-process cumulative `count` and the closed
535
+ * two-value `trigger` vocabulary (`plan_recovery` = the typed
536
+ * PlanRecoverySupersededError path; `coordination_fence` = any
537
+ * generation-fence outcome) — no paths, no session or project identity,
538
+ * matching the observability contract's no-content-in-metrics rule.
539
+ */
540
+ planRecoverySuperseded(data: {
541
+ count: number;
542
+ trigger: "plan_recovery" | "coordination_fence";
543
+ }): void;
530
544
  };
531
545
  /**
532
546
  * Test-only dependency-injection seam. Production code calls
@@ -218,6 +218,10 @@ export declare const _internals: {
218
218
  token_budget_used: number;
219
219
  omitted_context_count: number;
220
220
  }): void;
221
+ planRecoverySuperseded(data: {
222
+ count: number;
223
+ trigger: "plan_recovery" | "coordination_fence";
224
+ }): void;
221
225
  };
222
226
  };
223
227
  export declare const repo_map: ReturnType<typeof createSwarmTool>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.187.3",
3
+ "version": "7.188.1",
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",