opencode-swarm 7.171.0 → 7.171.2

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 (79) 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/{coder-settlement-pn26zx36.js → coder-settlement-9e696204.js} +7 -7
  4. package/dist/cli/{config-doctor-jrhpq41y.js → config-doctor-zr748h4m.js} +2 -2
  5. package/dist/cli/{core-r0nbh1k2.js → core-aa3jmzcs.js} +1 -1
  6. package/dist/cli/{curation-policy-qemp257w.js → curation-policy-fakrpw5t.js} +4 -4
  7. package/dist/cli/{curator-drift-3ssjr0nx.js → curator-drift-r9r8gepb.js} +2 -2
  8. package/dist/cli/{curator-llm-factory-89yjg1m4.js → curator-llm-factory-nshzhgs4.js} +32 -32
  9. package/dist/cli/{curator-0g733bka.js → curator-xgpxtaf1.js} +32 -32
  10. package/dist/cli/{evidence-summary-service-4r7sqb2h.js → evidence-summary-service-5e2323zr.js} +13 -13
  11. package/dist/cli/{gate-evidence-f13tm63x.js → gate-evidence-5htpsr5y.js} +4 -4
  12. package/dist/cli/{guardrail-explain-kt4w2rt8.js → guardrail-explain-d0h0p73g.js} +33 -33
  13. package/dist/cli/{guardrail-log-18wdr04f.js → guardrail-log-heejmjce.js} +6 -6
  14. package/dist/cli/{guardrail-reset-795t6nah.js → guardrail-reset-rdqxeqy0.js} +32 -32
  15. package/dist/cli/{hive-promoter-gwtvg5vc.js → hive-promoter-n262tkm3.js} +32 -32
  16. package/dist/cli/{index-ttyvcxxb.js → index-04ph4jp2.js} +2 -2
  17. package/dist/cli/{index-9fxnn8xg.js → index-0caqxnby.js} +1 -1
  18. package/dist/cli/{index-ak3ca0nv.js → index-0yffa3np.js} +5 -5
  19. package/dist/cli/{index-xdw0m34m.js → index-11gz0few.js} +1 -1
  20. package/dist/cli/{index-wp0396m1.js → index-2ryy0cwt.js} +6 -6
  21. package/dist/cli/{index-sz75avt3.js → index-3jcp3zb6.js} +1 -1
  22. package/dist/cli/{index-k2cpsr0d.js → index-5a8q4qr5.js} +1 -1
  23. package/dist/cli/{index-znf55hyt.js → index-6k5aq7b9.js} +2 -2
  24. package/dist/cli/{index-zjkkz9qh.js → index-7hnjs7tf.js} +2 -2
  25. package/dist/cli/{index-4m7q9hqd.js → index-7qqwx64h.js} +5 -5
  26. package/dist/cli/{index-bvr0p6ns.js → index-95e3a9en.js} +1 -1
  27. package/dist/cli/{index-cravqkxf.js → index-9dz2ee2g.js} +55 -50
  28. package/dist/cli/{index-wy4txsws.js → index-9txyxbqc.js} +7 -7
  29. package/dist/cli/{index-npst1d4g.js → index-9vfp6g53.js} +34 -34
  30. package/dist/cli/{index-br3mvbsa.js → index-aa2eyfvr.js} +2 -2
  31. package/dist/cli/{index-4dpsvbdt.js → index-d79q2f8z.js} +3 -3
  32. package/dist/cli/{index-gxbesz2h.js → index-dsgc303n.js} +3 -3
  33. package/dist/cli/{index-7s5cm87j.js → index-e7yv4xw1.js} +2 -2
  34. package/dist/cli/{index-v3e19zzm.js → index-er6sk4e6.js} +1 -1
  35. package/dist/cli/{index-cex3emb2.js → index-evxd1art.js} +1 -1
  36. package/dist/cli/{index-mvcjc28t.js → index-f1rj1j8t.js} +279 -179
  37. package/dist/cli/{index-bernkwgf.js → index-g6nen3gt.js} +1 -1
  38. package/dist/cli/{index-sz9qnjd6.js → index-gq2zdxep.js} +5 -5
  39. package/dist/cli/{index-003d071j.js → index-j6rq132j.js} +6 -6
  40. package/dist/cli/{index-nmffafb0.js → index-jr6pypmj.js} +32 -32
  41. package/dist/cli/{index-cgpwjctj.js → index-kb66he4e.js} +1 -1
  42. package/dist/cli/{index-g93g1c5r.js → index-mazy938h.js} +1 -1
  43. package/dist/cli/{index-fdz0076x.js → index-nfs78aqj.js} +1 -1
  44. package/dist/cli/{index-d7yc4ys8.js → index-ph94evsh.js} +3 -3
  45. package/dist/cli/{index-dgpdnve5.js → index-q2yk70rs.js} +2 -1
  46. package/dist/cli/{index-0qa2cqyv.js → index-qcy7eg6z.js} +5 -5
  47. package/dist/cli/{index-7c0e181h.js → index-qdy4a48x.js} +1 -1
  48. package/dist/cli/{index-yj0qrgyc.js → index-r60cw2jt.js} +6 -6
  49. package/dist/cli/{index-b3nw1bzp.js → index-rrc08h4q.js} +3 -3
  50. package/dist/cli/{index-j92fe86t.js → index-vqb65csb.js} +9 -9
  51. package/dist/cli/{index-h17tpj0y.js → index-wfh89qct.js} +4 -4
  52. package/dist/cli/{index-dvbf6fpn.js → index-yqbnsmmv.js} +39 -0
  53. package/dist/cli/index.js +32 -32
  54. package/dist/cli/{knowledge-escalator-kpfm536v.js → knowledge-escalator-kn74r5w8.js} +10 -10
  55. package/dist/cli/{knowledge-events-t3e721m2.js → knowledge-events-7gpw741m.js} +8 -8
  56. package/dist/cli/{knowledge-link-refyc1fz.js → knowledge-link-vh9pfnb9.js} +3 -3
  57. package/dist/cli/{knowledge-store-sk2bhh52.js → knowledge-store-3f9kke7z.js} +4 -4
  58. package/dist/cli/{knowledge-validator-nmc56pbg.js → knowledge-validator-c2z68v8v.js} +6 -6
  59. package/dist/cli/{pending-delegations-ckshrtar.js → pending-delegations-d5c07rb7.js} +9 -9
  60. package/dist/cli/{pr-subscriptions-h81nme2p.js → pr-subscriptions-krv0jvds.js} +9 -9
  61. package/dist/cli/{pr-workflow-gate-m1k4b8mr.js → pr-workflow-gate-hmdht1he.js} +32 -32
  62. package/dist/cli/{runner-kzs5wbqh.js → runner-8m8qhngm.js} +4 -4
  63. package/dist/cli/{scan-cursor-e7varrte.js → scan-cursor-b57xxs3q.js} +5 -5
  64. package/dist/cli/{schema-nsb0saad.js → schema-r8tv8dqm.js} +1 -1
  65. package/dist/cli/{scope-persistence-2s5h5ry7.js → scope-persistence-0sc90mpj.js} +13 -13
  66. package/dist/cli/{skill-generator-wpq9j1nf.js → skill-generator-syxa1mxm.js} +12 -12
  67. package/dist/cli/{snapshot-coordination-init-8nhmhefs.js → snapshot-coordination-init-x18mwxyv.js} +32 -32
  68. package/dist/cli/{telemetry-z9scwfbz.js → telemetry-0mz37v3h.js} +1 -1
  69. package/dist/cli/{worktree-collision-ownership-2kmajcc9.js → worktree-collision-ownership-1tzw8qzp.js} +9 -9
  70. package/dist/cli/{worktree-isolation-kepgr7j2.js → worktree-isolation-ez0e48v3.js} +32 -32
  71. package/dist/db/observability-event-store.d.ts +17 -1
  72. package/dist/index.js +18 -17
  73. package/dist/observability/index.d.ts +1 -1
  74. package/dist/observability/observe.d.ts +6 -0
  75. package/dist/pr-review/reducer.d.ts +18 -10
  76. package/dist/pr-review/types.d.ts +43 -47
  77. package/dist/retention/dir-prune.d.ts +5 -1
  78. package/dist/telemetry.d.ts +10 -2
  79. package/package.json +2 -1
@@ -37,6 +37,7 @@
37
37
  */
38
38
  import type { ObservabilityEvent } from '../observability/envelope.js';
39
39
  import { extractWorkflowIds } from '../observability/legacy.js';
40
+ import { canonicalLineContent } from '../observability/observe.js';
40
41
  import { getGroupCommitWriter } from './group-commit-writer.js';
41
42
  import { getProjectDb } from './project-db.js';
42
43
  /** Hard cap on retained observability rows (DELETE-based retention). */
@@ -47,6 +48,14 @@ export declare const RETENTION_CHECK_INTERVAL = 512;
47
48
  export declare const HEALTH_UPSERT_INTERVAL = 256;
48
49
  /** Hard cap on a single serialized payload (oversize → quarantined stub). */
49
50
  export declare const MAX_EVENT_PAYLOAD_BYTES: number;
51
+ /**
52
+ * Kill switch for the local SQLite observability sink (issue #2487 AC5),
53
+ * mirroring `SWARM_OTLP_EXPORT_DISABLE`. Strictly `=== '1'`; read live on
54
+ * every call so env changes take effect without re-registration. Disables only
55
+ * the LIVE sink — `syncObservabilityImport` (the report-path legacy import)
56
+ * is intentionally never gated: JSONL + rebuildable import IS the rollback.
57
+ */
58
+ export declare function isObservabilitySinkDisabled(): boolean;
50
59
  export type IngestedVia = 'live' | 'import';
51
60
  export interface ObservabilityEventRow {
52
61
  rowid: number;
@@ -112,11 +121,17 @@ export declare function resetObservabilityEventSinkForTesting(): void;
112
121
  * the same batch on their throttle intervals so they can never race a live
113
122
  * append.
114
123
  */
115
- export declare function appendObservabilityEventDb(directory: string, canonical: ObservabilityEvent): void;
124
+ export declare function appendObservabilityEventDb(directory: string, canonical: ObservabilityEvent, canonicalContent?: string): void;
116
125
  export interface ObservabilityImportResult {
117
126
  imported: number;
118
127
  quarantined: number;
119
128
  skippedUnchanged: boolean;
129
+ /**
130
+ * Segments skipped because a live row (or a backfilled pre-upgrade live
131
+ * row) already carries their content hash — the issue #2487 overlap
132
+ * suppression. Always present (0 when nothing matched).
133
+ */
134
+ skippedLive: number;
120
135
  }
121
136
  /**
122
137
  * Incrementally import the bounded legacy `telemetry.jsonl(.1)` stream into
@@ -159,4 +174,5 @@ export declare const _internals: {
159
174
  getProjectDb: typeof getProjectDb;
160
175
  getGroupCommitWriter: typeof getGroupCommitWriter;
161
176
  extractWorkflowIds: typeof extractWorkflowIds;
177
+ canonicalLineContent: typeof canonicalLineContent;
162
178
  };