opencode-swarm 7.186.1 → 7.186.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 (93) 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/{auto-checkpoint-fsd4a9q9.js → auto-checkpoint-c7ykm2vt.js} +8 -8
  4. package/dist/cli/{checkpoint-rc61fd93.js → checkpoint-jafvsq23.js} +16 -16
  5. package/dist/cli/{coder-settlement-x198191a.js → coder-settlement-n00djebn.js} +12 -12
  6. package/dist/cli/{config-doctor-mj4ae4jn.js → config-doctor-17yft6hp.js} +2 -2
  7. package/dist/cli/{core-fvsjr20m.js → core-trk38w53.js} +3 -3
  8. package/dist/cli/{curation-policy-pxwagyh7.js → curation-policy-1zdsb3h0.js} +6 -6
  9. package/dist/cli/{curator-drift-t150w08d.js → curator-drift-b6cjgsq3.js} +8 -8
  10. package/dist/cli/curator-llm-factory-a1hy89ea.js +81 -0
  11. package/dist/cli/{curator-h7j1xse4.js → curator-yvp2e7tk.js} +41 -41
  12. package/dist/cli/{evidence-summary-service-h42y6hwq.js → evidence-summary-service-9vh0t896.js} +19 -19
  13. package/dist/cli/{gate-evidence-c7caa5x2.js → gate-evidence-tbjsm6r8.js} +7 -7
  14. package/dist/cli/guardrail-explain-a16eabym.js +82 -0
  15. package/dist/cli/{guardrail-log-hcr5rptq.js → guardrail-log-4kj5e7da.js} +7 -7
  16. package/dist/cli/{guardrail-reset-fqgf5sdb.js → guardrail-reset-fstvd42q.js} +41 -41
  17. package/dist/cli/{hive-promoter-632ewk29.js → hive-promoter-68prvn82.js} +41 -41
  18. package/dist/cli/{index-w6w6ny06.js → index-1f7mkb7p.js} +58 -58
  19. package/dist/cli/{index-dbcwvc1v.js → index-1m3502g5.js} +7 -7
  20. package/dist/cli/{index-pe1wgpvg.js → index-27yspj61.js} +7 -7
  21. package/dist/cli/{index-8fnayk3x.js → index-3h80xyek.js} +5 -5
  22. package/dist/cli/{index-qg0nhcke.js → index-3w0v6n9x.js} +5 -5
  23. package/dist/cli/{index-c5e1wr7h.js → index-4tpwp24b.js} +2 -2
  24. package/dist/cli/{index-gbmsvfp2.js → index-52s3tsmj.js} +2 -2
  25. package/dist/cli/{index-4z0zdcd7.js → index-5cybjkj0.js} +3 -3
  26. package/dist/cli/{index-nnmgg6z6.js → index-5qbm61fh.js} +1 -1
  27. package/dist/cli/{index-9z9g1897.js → index-5z1xrkaa.js} +2 -2
  28. package/dist/cli/{index-0t61279z.js → index-70m4cxys.js} +3 -3
  29. package/dist/cli/{index-gjrs1epm.js → index-8ehsv9yw.js} +1 -1
  30. package/dist/cli/{index-xe34ymp8.js → index-8n2emawn.js} +2 -2
  31. package/dist/cli/{index-hmwnegkz.js → index-8r96zar7.js} +1 -1
  32. package/dist/cli/{index-bpqw4n2f.js → index-98hksf1k.js} +1 -1
  33. package/dist/cli/{index-xkxt1b08.js → index-a07nc99k.js} +3 -3
  34. package/dist/cli/{index-ef3pecd4.js → index-b58k1wy8.js} +178 -142
  35. package/dist/cli/{index-92bbwjek.js → index-cbpggzdm.js} +2 -2
  36. package/dist/cli/{index-3rd7gqfg.js → index-d7kz64yr.js} +2 -2
  37. package/dist/cli/{index-jwkybwv0.js → index-f2mtzrsr.js} +4 -4
  38. package/dist/cli/{index-03d68zxw.js → index-fxvthwwk.js} +43 -43
  39. package/dist/cli/{index-hq9f7fwf.js → index-g23nwtfq.js} +2 -2
  40. package/dist/cli/{index-m8dry0a6.js → index-g319bdeh.js} +1 -1
  41. package/dist/cli/{index-chaa1v0b.js → index-g7rp7200.js} +5 -5
  42. package/dist/cli/{index-q9wnbz9q.js → index-gvch83kc.js} +1 -1
  43. package/dist/cli/{index-92y6cpqn.js → index-h8pb617g.js} +2 -2
  44. package/dist/cli/{index-8jq3jsas.js → index-hdeqj1k4.js} +1 -1
  45. package/dist/cli/{index-5v1sqv3m.js → index-j2m9q6w1.js} +1 -1
  46. package/dist/cli/{index-syt8wykh.js → index-js4spqjf.js} +4 -4
  47. package/dist/cli/{index-4h6e73bx.js → index-k3gz8b6j.js} +7 -7
  48. package/dist/cli/{index-y7s92gte.js → index-kbcx6rqh.js} +2 -2
  49. package/dist/cli/{index-t46swpqf.js → index-mdxqv3r9.js} +1 -1
  50. package/dist/cli/{index-mnb1pg1n.js → index-mqc6phah.js} +4 -4
  51. package/dist/cli/{index-teyvb5tr.js → index-msejg9hk.js} +1 -1
  52. package/dist/cli/{index-ay508kfq.js → index-n8aep8en.js} +5 -5
  53. package/dist/cli/{index-98j268bh.js → index-nq6evkky.js} +4 -4
  54. package/dist/cli/{index-hw8w4mkh.js → index-pppczpa6.js} +41 -41
  55. package/dist/cli/{index-010en5sq.js → index-q4vf9k47.js} +1 -1
  56. package/dist/cli/{index-qj7ewgrf.js → index-qd5pnbz9.js} +8 -8
  57. package/dist/cli/{index-ptp6d5mm.js → index-s5ek7jdr.js} +11 -11
  58. package/dist/cli/{index-w12y73z5.js → index-sqksezk4.js} +1 -1
  59. package/dist/cli/{index-ezttvjcf.js → index-tnt9dnvm.js} +7 -7
  60. package/dist/cli/{index-j42256hj.js → index-w3fyzw3s.js} +1 -1
  61. package/dist/cli/{index-vvajq163.js → index-y8prb5a1.js} +3 -3
  62. package/dist/cli/{index-6cjpmvpa.js → index-y9wsfekf.js} +1 -1
  63. package/dist/cli/{index-wrhf5apg.js → index-zyx7p0kb.js} +2 -2
  64. package/dist/cli/index.js +42 -42
  65. package/dist/cli/{knowledge-escalator-gajaew60.js → knowledge-escalator-7xdvw9qy.js} +13 -13
  66. package/dist/cli/{knowledge-events-fsbgfz4z.js → knowledge-events-hp5yr9dm.js} +11 -11
  67. package/dist/cli/{knowledge-link-jnnk0nmk.js → knowledge-link-5jhded41.js} +5 -5
  68. package/dist/cli/{knowledge-store-vaq1g1dx.js → knowledge-store-7erepd4t.js} +6 -6
  69. package/dist/cli/{knowledge-validator-pdr6m77a.js → knowledge-validator-ejdh74qq.js} +8 -8
  70. package/dist/cli/{mcp-5sn4e5t2.js → mcp-msrbe1bx.js} +1 -1
  71. package/dist/cli/{model-preflight-z9p55ssn.js → model-preflight-gsesc142.js} +41 -41
  72. package/dist/cli/{pending-delegations-asyc469v.js → pending-delegations-97pcsaak.js} +12 -12
  73. package/dist/cli/{pr-subscriptions-nacx8r6a.js → pr-subscriptions-p0dm693y.js} +12 -12
  74. package/dist/cli/{pr-workflow-gate-j3r636zg.js → pr-workflow-gate-y122hbd1.js} +41 -41
  75. package/dist/cli/{runner-fns4esbf.js → runner-fbmancth.js} +6 -6
  76. package/dist/cli/{scan-cursor-y9rchz83.js → scan-cursor-yp2kvnjz.js} +7 -7
  77. package/dist/cli/{schema-g377jsvv.js → schema-0jatfw66.js} +1 -1
  78. package/dist/cli/{scope-persistence-dtympt37.js → scope-persistence-hqw7br2s.js} +15 -15
  79. package/dist/cli/{server-n51pvxds.js → server-kyqq4pan.js} +41 -41
  80. package/dist/cli/{skill-generator-k3hnf8xx.js → skill-generator-0hbmdy2p.js} +15 -15
  81. package/dist/cli/{snapshot-coordination-init-k1f93806.js → snapshot-coordination-init-akt1wad4.js} +41 -41
  82. package/dist/cli/{speckit-checkoff-w7qbrzph.js → speckit-checkoff-rnfy30qb.js} +4 -4
  83. package/dist/cli/{telemetry-n6y2sjhg.js → telemetry-3bjvjbcp.js} +1 -1
  84. package/dist/cli/{workspace-snapshot-1sa8m2ea.js → workspace-snapshot-hcgztg7w.js} +3 -3
  85. package/dist/cli/{worktree-collision-ownership-4yxah5wy.js → worktree-collision-ownership-q4604rmc.js} +13 -13
  86. package/dist/cli/{worktree-isolation-p0pz81a1.js → worktree-isolation-5bafpzf9.js} +41 -41
  87. package/dist/index.d.ts +21 -0
  88. package/dist/index.js +11 -11
  89. package/dist/review/evidence.d.ts +8 -4
  90. package/dist/services/cost-accounting.d.ts +21 -12
  91. package/package.json +1 -1
  92. package/dist/cli/curator-llm-factory-29cswvhr.js +0 -81
  93. package/dist/cli/guardrail-explain-yfd11za1.js +0 -82
@@ -61,10 +61,14 @@ export interface AutoReviewEvidence {
61
61
  model_calls: number;
62
62
  diff_bytes: number;
63
63
  prompt_bytes: number;
64
- tokens_input: number;
65
- tokens_output: number;
66
- tokens_reasoning: number;
67
- tokens_cache: number;
64
+ /**
65
+ * #2789: null when no dispatch held a known value for the axis —
66
+ * unknown is never folded to zero.
67
+ */
68
+ tokens_input: number | null;
69
+ tokens_output: number | null;
70
+ tokens_reasoning: number | null;
71
+ tokens_cache: number | null;
68
72
  cost_usd: number | null;
69
73
  cost_source: 'reported' | 'estimated' | 'unavailable';
70
74
  /** Bounded per-dispatch provenance; scalar totals remain compatibility projections. */
@@ -46,10 +46,15 @@ export type PricingConfig = {
46
46
  subscription_unbilled?: boolean;
47
47
  };
48
48
  export type TokenUsage = {
49
- tokens_input: number;
50
- tokens_output: number;
51
- tokens_reasoning: number;
52
- tokens_cache: number;
49
+ /**
50
+ * #2789: each axis is `number | null`. `null` means the producer did not
51
+ * hold the value (unknown); a numeric value — including an explicit 0 —
52
+ * is a KNOWN measurement. Zero is never fabricated for an absent axis.
53
+ */
54
+ tokens_input: number | null;
55
+ tokens_output: number | null;
56
+ tokens_reasoning: number | null;
57
+ tokens_cache: number | null;
53
58
  };
54
59
  export type DelegationCostFields = TokenUsage & {
55
60
  cost_usd: number | null;
@@ -81,12 +86,15 @@ export type CostSummary = {
81
86
  total_cost_usd: number;
82
87
  total_reported_usd: number;
83
88
  total_estimated_usd: number;
84
- total_input_tokens: number;
85
- total_output_tokens: number;
86
- total_reasoning_tokens: number;
87
- total_cache_tokens: number;
89
+ /** #2789: null when no delegation contributed a known value for the axis. */
90
+ total_input_tokens: number | null;
91
+ total_output_tokens: number | null;
92
+ total_reasoning_tokens: number | null;
93
+ total_cache_tokens: number | null;
88
94
  delegations: number;
89
95
  unavailable_delegations: number;
96
+ /** #2789: delegations whose token axes were all unknown (no known axis). */
97
+ unknown_usage_delegations: number;
90
98
  by_agent: CostSummaryRow[];
91
99
  by_task: CostSummaryRow[];
92
100
  by_gate: CostSummaryRow[];
@@ -110,10 +118,11 @@ export type CostSummaryRow = {
110
118
  name: string;
111
119
  delegations: number;
112
120
  cost_usd: number;
113
- input_tokens: number;
114
- output_tokens: number;
115
- reasoning_tokens: number;
116
- cache_tokens: number;
121
+ /** #2789: null when no delegation in this row held a known value. */
122
+ input_tokens: number | null;
123
+ output_tokens: number | null;
124
+ reasoning_tokens: number | null;
125
+ cache_tokens: number | null;
117
126
  unavailable_delegations: number;
118
127
  };
119
128
  export declare const BUNDLED_MODEL_PRICING: Record<string, ModelPricing>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.186.1",
3
+ "version": "7.186.2",
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",
@@ -1,81 +0,0 @@
1
- // @bun
2
- import {
3
- createCuratorLLMDelegate
4
- } from "./index-ef3pecd4.js";
5
- import"./index-vvajq163.js";
6
- import"./index-hmwnegkz.js";
7
- import"./index-chaa1v0b.js";
8
- import"./index-7bxssqaf.js";
9
- import"./index-w12y73z5.js";
10
- import"./index-92y6cpqn.js";
11
- import"./index-txdagbh7.js";
12
- import"./index-xe34ymp8.js";
13
- import"./index-rdec0y3z.js";
14
- import"./index-0t61279z.js";
15
- import"./index-4h6e73bx.js";
16
- import"./index-mnb1pg1n.js";
17
- import"./index-qg0nhcke.js";
18
- import"./index-9z9g1897.js";
19
- import"./index-dbcwvc1v.js";
20
- import"./index-cjapb4hy.js";
21
- import"./index-wrhf5apg.js";
22
- import"./index-pt7h91zc.js";
23
- import"./index-q7sjgr1y.js";
24
- import"./index-syt8wykh.js";
25
- import"./index-ptp6d5mm.js";
26
- import"./index-6b295cas.js";
27
- import"./index-9nyqt3kb.js";
28
- import"./index-8jq3jsas.js";
29
- import"./index-zsrtt42s.js";
30
- import"./index-3rd7gqfg.js";
31
- import"./index-98j268bh.js";
32
- import"./index-4z0zdcd7.js";
33
- import"./index-g4fs6z4e.js";
34
- import"./index-ezttvjcf.js";
35
- import"./index-qj7ewgrf.js";
36
- import"./index-5v1sqv3m.js";
37
- import"./index-2s7dvzff.js";
38
- import"./index-jwkybwv0.js";
39
- import"./index-bpqw4n2f.js";
40
- import"./index-rtry5xyf.js";
41
- import"./index-hq9f7fwf.js";
42
- import"./index-frcemc0b.js";
43
- import"./index-0725jpp7.js";
44
- import"./index-8fnayk3x.js";
45
- import"./index-ay508kfq.js";
46
- import"./index-y7s92gte.js";
47
- import"./index-010en5sq.js";
48
- import"./index-q9wnbz9q.js";
49
- import"./index-t46swpqf.js";
50
- import"./index-ry16d01s.js";
51
- import"./index-rdm3px0g.js";
52
- import"./index-7pmbnjvj.js";
53
- import"./index-92bbwjek.js";
54
- import"./index-pe1wgpvg.js";
55
- import"./index-vzm6zre7.js";
56
- import"./index-ae75rja9.js";
57
- import"./index-gjrs1epm.js";
58
- import"./index-c5e1wr7h.js";
59
- import"./index-6cjpmvpa.js";
60
- import"./index-t7hmqgjy.js";
61
- import"./index-w6w6ny06.js";
62
- import"./index-mc72pk74.js";
63
- import"./index-c1ggtmpm.js";
64
- import"./index-ejhxgyvm.js";
65
- import"./index-7g4c7s5r.js";
66
- import"./index-m8dry0a6.js";
67
- import"./index-gx2vp8gx.js";
68
- import"./index-teyvb5tr.js";
69
- import"./index-zxdawwc7.js";
70
- import"./index-nnmgg6z6.js";
71
- import"./index-48jvqqfa.js";
72
- import"./index-bk5tah7q.js";
73
- import"./index-gknz3bv1.js";
74
- import"./index-zpsr8rpc.js";
75
- import"./index-wvghb3x6.js";
76
- import"./index-9rwhas09.js";
77
- import"./index-zgwm4ryv.js";
78
- import"./index-a76rekgs.js";
79
- export {
80
- createCuratorLLMDelegate
81
- };
@@ -1,82 +0,0 @@
1
- // @bun
2
- import {
3
- handleGuardrailExplain
4
- } from "./index-gbmsvfp2.js";
5
- import"./index-ef3pecd4.js";
6
- import"./index-vvajq163.js";
7
- import"./index-hmwnegkz.js";
8
- import"./index-chaa1v0b.js";
9
- import"./index-7bxssqaf.js";
10
- import"./index-w12y73z5.js";
11
- import"./index-92y6cpqn.js";
12
- import"./index-txdagbh7.js";
13
- import"./index-xe34ymp8.js";
14
- import"./index-rdec0y3z.js";
15
- import"./index-0t61279z.js";
16
- import"./index-4h6e73bx.js";
17
- import"./index-mnb1pg1n.js";
18
- import"./index-qg0nhcke.js";
19
- import"./index-9z9g1897.js";
20
- import"./index-dbcwvc1v.js";
21
- import"./index-cjapb4hy.js";
22
- import"./index-wrhf5apg.js";
23
- import"./index-pt7h91zc.js";
24
- import"./index-q7sjgr1y.js";
25
- import"./index-syt8wykh.js";
26
- import"./index-ptp6d5mm.js";
27
- import"./index-6b295cas.js";
28
- import"./index-9nyqt3kb.js";
29
- import"./index-8jq3jsas.js";
30
- import"./index-zsrtt42s.js";
31
- import"./index-3rd7gqfg.js";
32
- import"./index-98j268bh.js";
33
- import"./index-4z0zdcd7.js";
34
- import"./index-g4fs6z4e.js";
35
- import"./index-ezttvjcf.js";
36
- import"./index-qj7ewgrf.js";
37
- import"./index-5v1sqv3m.js";
38
- import"./index-2s7dvzff.js";
39
- import"./index-jwkybwv0.js";
40
- import"./index-bpqw4n2f.js";
41
- import"./index-rtry5xyf.js";
42
- import"./index-hq9f7fwf.js";
43
- import"./index-frcemc0b.js";
44
- import"./index-0725jpp7.js";
45
- import"./index-8fnayk3x.js";
46
- import"./index-ay508kfq.js";
47
- import"./index-y7s92gte.js";
48
- import"./index-010en5sq.js";
49
- import"./index-q9wnbz9q.js";
50
- import"./index-t46swpqf.js";
51
- import"./index-ry16d01s.js";
52
- import"./index-rdm3px0g.js";
53
- import"./index-7pmbnjvj.js";
54
- import"./index-92bbwjek.js";
55
- import"./index-pe1wgpvg.js";
56
- import"./index-vzm6zre7.js";
57
- import"./index-ae75rja9.js";
58
- import"./index-gjrs1epm.js";
59
- import"./index-c5e1wr7h.js";
60
- import"./index-6cjpmvpa.js";
61
- import"./index-t7hmqgjy.js";
62
- import"./index-w6w6ny06.js";
63
- import"./index-mc72pk74.js";
64
- import"./index-c1ggtmpm.js";
65
- import"./index-ejhxgyvm.js";
66
- import"./index-7g4c7s5r.js";
67
- import"./index-m8dry0a6.js";
68
- import"./index-gx2vp8gx.js";
69
- import"./index-teyvb5tr.js";
70
- import"./index-zxdawwc7.js";
71
- import"./index-nnmgg6z6.js";
72
- import"./index-48jvqqfa.js";
73
- import"./index-bk5tah7q.js";
74
- import"./index-gknz3bv1.js";
75
- import"./index-zpsr8rpc.js";
76
- import"./index-wvghb3x6.js";
77
- import"./index-9rwhas09.js";
78
- import"./index-zgwm4ryv.js";
79
- import"./index-a76rekgs.js";
80
- export {
81
- handleGuardrailExplain
82
- };