opencode-swarm 7.162.1 → 7.163.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 (69) hide show
  1. package/dist/cli/{coder-settlement-zrda71k0.js → coder-settlement-f1gtvcy8.js} +8 -8
  2. package/dist/cli/{config-doctor-gjw4hdvt.js → config-doctor-0fnqzqz1.js} +2 -2
  3. package/dist/cli/{core-q5j5a7fh.js → core-w81fk5sc.js} +1 -1
  4. package/dist/cli/{curation-policy-nv31cr6t.js → curation-policy-j12j2gvc.js} +5 -5
  5. package/dist/cli/{curator-njskp28b.js → curator-as495r18.js} +29 -29
  6. package/dist/cli/{curator-llm-factory-8d6kqsj1.js → curator-llm-factory-v8vwz20c.js} +29 -29
  7. package/dist/cli/{evidence-summary-service-5rry81jm.js → evidence-summary-service-51dxfcn5.js} +12 -12
  8. package/dist/cli/{gate-evidence-b6k9wng8.js → gate-evidence-nb1e8hz0.js} +5 -5
  9. package/dist/cli/{guardrail-explain-5yw549sm.js → guardrail-explain-z2qb6v67.js} +30 -30
  10. package/dist/cli/{guardrail-log-nrnx87ac.js → guardrail-log-2kwntcqw.js} +6 -6
  11. package/dist/cli/{guardrail-reset-zm5an5bw.js → guardrail-reset-mrxrc56j.js} +29 -29
  12. package/dist/cli/{hive-promoter-zzgnfhxr.js → hive-promoter-c62x2ncb.js} +29 -29
  13. package/dist/cli/{index-1eqbnwm6.js → index-0103w5pf.js} +2 -2
  14. package/dist/cli/{index-5a8nk165.js → index-08y8pccg.js} +4 -4
  15. package/dist/cli/{index-xtjvg1wx.js → index-0tervb1m.js} +63 -63
  16. package/dist/cli/{index-m24pv3f4.js → index-2n1ym7jb.js} +4 -4
  17. package/dist/cli/{index-j1gq4qm8.js → index-2v06a1yh.js} +5 -5
  18. package/dist/cli/{index-fx3em0dr.js → index-2zgjcmmc.js} +139 -45
  19. package/dist/cli/{index-a1bh2e4f.js → index-4p0wyz5p.js} +8 -8
  20. package/dist/cli/{index-y3fgbx8g.js → index-5056zmpt.js} +1 -1
  21. package/dist/cli/{index-m516tpxe.js → index-66073kej.js} +2 -2
  22. package/dist/cli/{index-w1sfjffe.js → index-7n9jznv0.js} +3 -3
  23. package/dist/cli/{index-rkr19fdv.js → index-8ada7ag7.js} +2 -2
  24. package/dist/cli/{index-nqbqkx4c.js → index-9crtmnqg.js} +1 -1
  25. package/dist/cli/{index-9m1ze4z4.js → index-cqgpvx2d.js} +1 -1
  26. package/dist/cli/{index-7322jr05.js → index-d3azve4r.js} +7 -7
  27. package/dist/cli/{index-bgzdwkpe.js → index-d9gdwh34.js} +1 -1
  28. package/dist/cli/{index-xsv6zv7n.js → index-etvq73mp.js} +31 -31
  29. package/dist/cli/{index-3gym3fjj.js → index-f923njwh.js} +6 -6
  30. package/dist/cli/{index-3fs3p6ck.js → index-g3znh2yd.js} +5 -5
  31. package/dist/cli/{index-v0t8z5ab.js → index-hm239n1p.js} +1 -1
  32. package/dist/cli/{index-wvfgkms6.js → index-kvra3nv1.js} +3 -3
  33. package/dist/cli/{index-hq1gdz0g.js → index-m1fvbah1.js} +2 -2
  34. package/dist/cli/{index-gwbxeh8j.js → index-ma52g2pq.js} +3 -3
  35. package/dist/cli/{index-3nsewz46.js → index-n2mhyect.js} +1 -1
  36. package/dist/cli/{index-63s6t3z4.js → index-n67vx5zw.js} +1 -1
  37. package/dist/cli/{index-z74stz9p.js → index-n985274d.js} +3 -3
  38. package/dist/cli/{index-f18bqg18.js → index-qynqyfgj.js} +3 -3
  39. package/dist/cli/{index-9cvfa8p8.js → index-r56f3f81.js} +1 -1
  40. package/dist/cli/{index-ttdjphep.js → index-swgy9xvk.js} +3 -3
  41. package/dist/cli/{index-gss86tj3.js → index-t34daffb.js} +2 -2
  42. package/dist/cli/{index-cjjcey0h.js → index-tnpf9wwv.js} +1 -1
  43. package/dist/cli/{index-vcen0ne4.js → index-x2f1f011.js} +1 -1
  44. package/dist/cli/{index-nbfpnb0w.js → index-xyhmt813.js} +1 -1
  45. package/dist/cli/{index-0myjf1y2.js → index-zjme8atd.js} +4 -4
  46. package/dist/cli/index.js +29 -29
  47. package/dist/cli/{knowledge-escalator-8y3adkn0.js → knowledge-escalator-fq7dm2g4.js} +11 -11
  48. package/dist/cli/{knowledge-events-mnexhwe2.js → knowledge-events-3zanyfkr.js} +9 -9
  49. package/dist/cli/{knowledge-link-jr8rqr39.js → knowledge-link-vmdj5e5d.js} +4 -4
  50. package/dist/cli/{knowledge-store-cp42ccd1.js → knowledge-store-vhehnw52.js} +5 -5
  51. package/dist/cli/{knowledge-validator-hwp1t6x3.js → knowledge-validator-0tt0pe6b.js} +7 -7
  52. package/dist/cli/{pending-delegations-jj5vaq9q.js → pending-delegations-b92pecbj.js} +4 -4
  53. package/dist/cli/{pr-subscriptions-mm6kyyv0.js → pr-subscriptions-2mkdt0ak.js} +4 -4
  54. package/dist/cli/{runner-d402vnq3.js → runner-3gw2njnx.js} +5 -5
  55. package/dist/cli/{scan-cursor-d75dh3hv.js → scan-cursor-1c8a3b0m.js} +6 -6
  56. package/dist/cli/{schema-djm1bhb8.js → schema-c554j5c8.js} +1 -1
  57. package/dist/cli/{scope-persistence-g0yc6dfa.js → scope-persistence-vtbcszvv.js} +8 -8
  58. package/dist/cli/{skill-generator-9ppgxz4j.js → skill-generator-0es21fck.js} +13 -13
  59. package/dist/cli/{telemetry-cmbjv240.js → telemetry-x4zggfd7.js} +1 -1
  60. package/dist/cli/{worktree-collision-ownership-061zmyyp.js → worktree-collision-ownership-043dg8gg.js} +4 -4
  61. package/dist/cli/{worktree-isolation-vk82698z.js → worktree-isolation-hk42yxw7.js} +29 -29
  62. package/dist/council/council-observability.d.ts +42 -0
  63. package/dist/index.js +6 -6
  64. package/dist/observability/catalog.d.ts +8 -4
  65. package/dist/observability/ids.d.ts +1 -1
  66. package/dist/observability/legacy.d.ts +6 -4
  67. package/dist/observability/observe.d.ts +1 -1
  68. package/dist/telemetry.d.ts +1 -1
  69. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * The event catalog (issue #2029).
3
3
  *
4
- * Exactly 56 entries, matching the `TelemetryEvent` union at
5
- * `src/telemetry.ts:15-131`. Thirty-eight predate the #2029 contract; the 39th is
4
+ * Exactly 59 entries, matching the `TelemetryEvent` union at
5
+ * `src/telemetry.ts:15-165`. 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
@@ -24,7 +24,11 @@
24
24
  * `pr_subscription_health` storage audit for the issue-#2042
25
25
  * `.swarm/pr-monitor/` subscription checkpoint store. The 52nd is
26
26
  * `delegation_cost_correction`, the 53rd is `delegation_cost_binding`, and the
27
- * 54th is `delegation_cost_join`. These late
27
+ * 54th is `delegation_cost_join`. The 57th is `council_attempt`, the 58th is
28
+ * `council_round_transition`, and the 59th is `council_attempt_unscoped`
29
+ * (issue #2046 item 9 — canonical council attempt / accepted-transition
30
+ * observations joined to the lifecycle correlation system via the
31
+ * server-derived `councilRoundId`). These late
28
32
  * additions are instances
29
33
  * of the defect class this contract exists to close: an event kind entering
30
34
  * the stream with no registration.
@@ -80,7 +84,7 @@ export interface CatalogEntry {
80
84
  /**
81
85
  * Whether an event of this kind must carry `trace.parentSpanId`.
82
86
  *
83
- * `false` for all 56 entries today, and that is a truthful statement about
87
+ * `false` for all 59 entries today, and that is a truthful statement about
84
88
  * the current system rather than a placeholder: no producer supplies a
85
89
  * parent span, so `createObservation` never sets one. Setting this to `true`
86
90
  * for a kind whose producer cannot supply a parent would make every
@@ -50,7 +50,7 @@ export declare function newEventId(): string;
50
50
  * Derive a correlated trace/span pair, consuming 24 bytes from the pool above.
51
51
  *
52
52
  * This exists for the hot path: `createObservation` runs on every `emit()`, and
53
- * src/telemetry.ts:315-317 documents that path as deliberately frugal.
53
+ * src/telemetry.ts:393-396 documents that path as deliberately frugal.
54
54
  */
55
55
  export declare function newTraceAndSpanId(): TraceAndSpanId;
56
56
  /**
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Two hard constraints govern every function here:
10
10
  * 1. **Never throw.** `emit()` documents a never-throw guarantee
11
- * (`src/telemetry.ts:266,294`) and `src/telemetry.test.ts:137-162`
11
+ * (`src/telemetry.ts:276,304`) and `src/telemetry.test.ts:137-162`
12
12
  * exercises circular objects, functions, `Symbol`s and `BigInt`s.
13
13
  * 2. **Never deep-traverse, clone, or serialize the payload.** Only
14
14
  * `Object.keys` (shallow) and own-key reads. See `LegacyProjectionSchema`
@@ -54,9 +54,11 @@ export declare function adaptLegacyTelemetryPayload(kind: string, data: unknown,
54
54
  * of the wrong type stays `undefined`. Only the mappings a producer actually
55
55
  * populates are implemented — `sessionId` to `hostSessionId`, `taskId`, `phase`
56
56
  * to `phaseId`, `laneId`, `batchId`, plus the canonical receipt payload keys
57
- * `knowledgeTraceId` and `knowledgeEntryId`. Unmapped IDs stay absent; inventing
58
- * an extraction for them would manufacture exactly the joins issue #2029 item 2
59
- * forbids.
57
+ * `knowledgeTraceId` and `knowledgeEntryId`, and the council round identity
58
+ * `councilRoundId` (producer: `src/council/council-observability.ts`, issue
59
+ * #2046 — the server-derived scope token, never a client-supplied label).
60
+ * Unmapped IDs stay absent; inventing an extraction for them would manufacture
61
+ * exactly the joins issue #2029 item 2 forbids.
60
62
  */
61
63
  export declare function extractWorkflowIds(data: unknown): WorkflowIds;
62
64
  /**
@@ -51,7 +51,7 @@ export declare function initObservability(input: InitObservabilityInput): void;
51
51
  * `BigInt` payload, not on an unknown kind, not on `null` or `undefined` data.
52
52
  * It never calls `JSON.stringify`, never clones, and never deep-traverses
53
53
  * `data` — `src/telemetry.test.ts:137-162` emits exactly those payloads and
54
- * asserts `emit()` does not throw, and `src/telemetry.ts:266` documents the
54
+ * asserts `emit()` does not throw, and `src/telemetry.ts:276` documents the
55
55
  * never-throw guarantee. If anything inside fails, a minimal valid event is
56
56
  * returned carrying `relationshipViolations: ['observation_build_failed']`.
57
57
  *
@@ -32,7 +32,7 @@ export type TelemetryEvent = 'session_started' | 'session_ended' | 'agent_activa
32
32
  * `prm_hard_stop` TRIGGER emitted by `src/prm/escalation.ts`. A trigger with
33
33
  * no matching delivery means the containment never reached the agent.
34
34
  */
35
- | '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';
35
+ | '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' | 'council_attempt' | 'council_round_transition' | 'council_attempt_unscoped';
36
36
  /** Stable classification for how a reviewer-gate decision was established. */
37
37
  export type ReviewerGateEvidenceKind = 'genuine' | 'fallback' | 'data_quality' | 'block';
38
38
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.162.1",
3
+ "version": "7.163.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",