opencode-swarm 7.162.1 → 7.163.0
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.
- package/dist/cli/{coder-settlement-zrda71k0.js → coder-settlement-g2g5kkv5.js} +8 -8
- package/dist/cli/{config-doctor-gjw4hdvt.js → config-doctor-p16xr78z.js} +2 -2
- package/dist/cli/{core-q5j5a7fh.js → core-g088v0zt.js} +1 -1
- package/dist/cli/{curation-policy-nv31cr6t.js → curation-policy-j12j2gvc.js} +5 -5
- package/dist/cli/{curator-njskp28b.js → curator-3m8a8qsn.js} +29 -29
- package/dist/cli/{curator-llm-factory-8d6kqsj1.js → curator-llm-factory-p00hks4v.js} +29 -29
- package/dist/cli/{evidence-summary-service-5rry81jm.js → evidence-summary-service-4ghqakhx.js} +12 -12
- package/dist/cli/{gate-evidence-b6k9wng8.js → gate-evidence-4v8apasx.js} +5 -5
- package/dist/cli/{guardrail-explain-5yw549sm.js → guardrail-explain-smqenqtm.js} +30 -30
- package/dist/cli/{guardrail-log-nrnx87ac.js → guardrail-log-mmh4b4k4.js} +6 -6
- package/dist/cli/{guardrail-reset-zm5an5bw.js → guardrail-reset-zge5hg4p.js} +29 -29
- package/dist/cli/{hive-promoter-zzgnfhxr.js → hive-promoter-vxez5s7m.js} +29 -29
- package/dist/cli/{index-1eqbnwm6.js → index-0103w5pf.js} +2 -2
- package/dist/cli/{index-fx3em0dr.js → index-2zgjcmmc.js} +139 -45
- package/dist/cli/{index-a1bh2e4f.js → index-3ab9tczn.js} +8 -8
- package/dist/cli/{index-m516tpxe.js → index-3rjxbe1p.js} +2 -2
- package/dist/cli/{index-9cvfa8p8.js → index-453tzvkg.js} +1 -1
- package/dist/cli/{index-wvfgkms6.js → index-4t68xs0p.js} +3 -3
- package/dist/cli/{index-z74stz9p.js → index-4xggfhge.js} +3 -3
- package/dist/cli/{index-7322jr05.js → index-5hgn302x.js} +7 -7
- package/dist/cli/{index-w1sfjffe.js → index-7n9jznv0.js} +3 -3
- package/dist/cli/{index-xtjvg1wx.js → index-7wb2v7jg.js} +63 -63
- package/dist/cli/{index-rkr19fdv.js → index-8ada7ag7.js} +2 -2
- package/dist/cli/{index-nqbqkx4c.js → index-9crtmnqg.js} +1 -1
- package/dist/cli/{index-gss86tj3.js → index-axx3t3k7.js} +2 -2
- package/dist/cli/{index-9m1ze4z4.js → index-cqgpvx2d.js} +1 -1
- package/dist/cli/{index-0myjf1y2.js → index-eqkdjfqa.js} +4 -4
- package/dist/cli/{index-5a8nk165.js → index-f7t5fn4z.js} +4 -4
- package/dist/cli/{index-j1gq4qm8.js → index-g4bvsapf.js} +5 -5
- package/dist/cli/{index-v0t8z5ab.js → index-hm239n1p.js} +1 -1
- package/dist/cli/{index-y3fgbx8g.js → index-m4nhy4fp.js} +1 -1
- package/dist/cli/{index-vcen0ne4.js → index-m7yt3xmk.js} +1 -1
- package/dist/cli/{index-3nsewz46.js → index-n2mhyect.js} +1 -1
- package/dist/cli/{index-63s6t3z4.js → index-n67vx5zw.js} +1 -1
- package/dist/cli/{index-xsv6zv7n.js → index-nwa7ctyf.js} +31 -31
- package/dist/cli/{index-3gym3fjj.js → index-ptsmms01.js} +6 -6
- package/dist/cli/{index-m24pv3f4.js → index-pykfqsk0.js} +4 -4
- package/dist/cli/{index-3fs3p6ck.js → index-qy2rm1f6.js} +5 -5
- package/dist/cli/{index-cjjcey0h.js → index-rqh25ns3.js} +1 -1
- package/dist/cli/{index-f18bqg18.js → index-s8c6f9rr.js} +3 -3
- package/dist/cli/{index-gwbxeh8j.js → index-t4hs3qk6.js} +3 -3
- package/dist/cli/{index-ttdjphep.js → index-w0yn4rmh.js} +3 -3
- package/dist/cli/{index-hq1gdz0g.js → index-w1mc7gcm.js} +2 -2
- package/dist/cli/{index-nbfpnb0w.js → index-xyhmt813.js} +1 -1
- package/dist/cli/{index-bgzdwkpe.js → index-zgz81a8x.js} +1 -1
- package/dist/cli/index.js +29 -29
- package/dist/cli/{knowledge-escalator-8y3adkn0.js → knowledge-escalator-91d1n291.js} +11 -11
- package/dist/cli/{knowledge-events-mnexhwe2.js → knowledge-events-xrd9es3p.js} +9 -9
- package/dist/cli/{knowledge-link-jr8rqr39.js → knowledge-link-vmdj5e5d.js} +4 -4
- package/dist/cli/{knowledge-store-cp42ccd1.js → knowledge-store-2brg88cx.js} +5 -5
- package/dist/cli/{knowledge-validator-hwp1t6x3.js → knowledge-validator-s1v7kry2.js} +7 -7
- package/dist/cli/{pending-delegations-jj5vaq9q.js → pending-delegations-b341397j.js} +4 -4
- package/dist/cli/{pr-subscriptions-mm6kyyv0.js → pr-subscriptions-2mkdt0ak.js} +4 -4
- package/dist/cli/{runner-d402vnq3.js → runner-3gw2njnx.js} +5 -5
- package/dist/cli/{scan-cursor-d75dh3hv.js → scan-cursor-jm7j3w1c.js} +6 -6
- package/dist/cli/{schema-djm1bhb8.js → schema-6cpgnq4s.js} +1 -1
- package/dist/cli/{scope-persistence-g0yc6dfa.js → scope-persistence-q713ck5n.js} +8 -8
- package/dist/cli/{skill-generator-9ppgxz4j.js → skill-generator-z9bs6vdt.js} +13 -13
- package/dist/cli/{telemetry-cmbjv240.js → telemetry-x4zggfd7.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-061zmyyp.js → worktree-collision-ownership-drtv7jjp.js} +4 -4
- package/dist/cli/{worktree-isolation-vk82698z.js → worktree-isolation-534h3c2f.js} +29 -29
- package/dist/council/council-observability.d.ts +42 -0
- package/dist/index.js +6 -6
- package/dist/observability/catalog.d.ts +8 -4
- package/dist/observability/ids.d.ts +1 -1
- package/dist/observability/legacy.d.ts +6 -4
- package/dist/observability/observe.d.ts +1 -1
- package/dist/telemetry.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The event catalog (issue #2029).
|
|
3
3
|
*
|
|
4
|
-
* Exactly
|
|
5
|
-
* `src/telemetry.ts:15-
|
|
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`.
|
|
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
|
|
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:
|
|
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:
|
|
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
|
|
58
|
-
*
|
|
59
|
-
*
|
|
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:
|
|
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
|
*
|
package/dist/telemetry.d.ts
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "7.163.0",
|
|
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",
|