opencode-swarm 7.188.5 → 7.188.7

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 (91) hide show
  1. package/README.md +2 -2
  2. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  3. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  4. package/dist/cli/{auto-checkpoint-6z6dhqak.js → auto-checkpoint-1z9d2jrk.js} +8 -8
  5. package/dist/cli/{checkpoint-99vqentz.js → checkpoint-f8165pv4.js} +13 -13
  6. package/dist/cli/{coder-settlement-07dkrqvy.js → coder-settlement-gaby6spt.js} +9 -9
  7. package/dist/cli/{config-doctor-0pqexbab.js → config-doctor-4wgw6nak.js} +12 -12
  8. package/dist/cli/{core-zx4az38t.js → core-y89texpp.js} +2 -2
  9. package/dist/cli/{curation-policy-nxcx99yp.js → curation-policy-65ckmmd5.js} +5 -5
  10. package/dist/cli/{curator-drift-0ne6gnj0.js → curator-drift-rpwrx355.js} +6 -6
  11. package/dist/cli/{curator-llm-factory-gdedzs6k.js → curator-llm-factory-1qbcj7vs.js} +36 -36
  12. package/dist/cli/{curator-s08eqma1.js → curator-tkz65fvw.js} +36 -36
  13. package/dist/cli/{doctor-knowledge-receipt-phase-id-kpzaepq8.js → doctor-knowledge-receipt-phase-id-11q7en6t.js} +7 -7
  14. package/dist/cli/{evidence-summary-service-xadab4ym.js → evidence-summary-service-hn7vdm45.js} +16 -16
  15. package/dist/cli/{gate-evidence-c3d7ewv4.js → gate-evidence-sxh3r64f.js} +6 -6
  16. package/dist/cli/{guardrail-explain-enbr5ne9.js → guardrail-explain-e0wbeyk1.js} +37 -37
  17. package/dist/cli/{guardrail-log-0g59n4ae.js → guardrail-log-gzrj46h0.js} +7 -7
  18. package/dist/cli/{guardrail-reset-e0m3p15n.js → guardrail-reset-7z62s1j5.js} +36 -36
  19. package/dist/cli/{hive-promoter-1jb0t5g2.js → hive-promoter-88d95wk8.js} +36 -36
  20. package/dist/cli/{index-3b71hf2k.js → index-03ad14qc.js} +2 -2
  21. package/dist/cli/{index-sg2agtt5.js → index-0j5ggeem.js} +1 -1
  22. package/dist/cli/{index-j9swvmt3.js → index-1xa8wq76.js} +1 -1
  23. package/dist/cli/{index-txr48a64.js → index-2vtrjm19.js} +38 -38
  24. package/dist/cli/{index-vn8phy76.js → index-2wctq2hn.js} +1 -1
  25. package/dist/cli/{index-br33a6v7.js → index-5102w44y.js} +3 -3
  26. package/dist/cli/{index-98zfmfnn.js → index-61kszszd.js} +4 -4
  27. package/dist/cli/{index-0cdkb7e8.js → index-7eajwwfg.js} +4 -4
  28. package/dist/cli/{index-w5p9crxx.js → index-7k9hdn0b.js} +4 -4
  29. package/dist/cli/{index-03ng9y76.js → index-7zyktm9f.js} +7 -7
  30. package/dist/cli/{index-wx43mc8h.js → index-8q8783g0.js} +1 -1
  31. package/dist/cli/{index-8f0j6kf2.js → index-8sqyx5rh.js} +3 -3
  32. package/dist/cli/{index-z11watrb.js → index-8xabhfwr.js} +2 -2
  33. package/dist/cli/{index-ykaaejka.js → index-9czp2dcg.js} +3 -3
  34. package/dist/cli/{index-9qbn3chx.js → index-9tes309n.js} +1 -1
  35. package/dist/cli/{index-85npnq5t.js → index-a4s5yrdd.js} +4 -4
  36. package/dist/cli/{index-d95b3yce.js → index-c016phsk.js} +6 -6
  37. package/dist/cli/{index-4ak3ewt2.js → index-c937rpbm.js} +3 -3
  38. package/dist/cli/{index-h83221w1.js → index-d3rjvm9e.js} +3 -3
  39. package/dist/cli/{index-dd258pfn.js → index-eh0sg1pz.js} +4 -4
  40. package/dist/cli/{index-4m7cywkf.js → index-emh69vk9.js} +90 -77
  41. package/dist/cli/{index-9f7y0rym.js → index-ffmw6af9.js} +36 -36
  42. package/dist/cli/{index-cjekszvy.js → index-g39cmzpj.js} +600 -4
  43. package/dist/cli/{index-jevq7a7b.js → index-ghjg1rxe.js} +2 -2
  44. package/dist/cli/{index-5nwfz9bn.js → index-hh7pa3yk.js} +1 -1
  45. package/dist/cli/{index-jc2ndtdt.js → index-k8sarme1.js} +1 -1
  46. package/dist/cli/{index-p746x44z.js → index-kap459mr.js} +4 -4
  47. package/dist/cli/{index-bjh6cw86.js → index-m9g7s9ee.js} +4 -4
  48. package/dist/cli/{index-3jn6155r.js → index-pnfd3s7s.js} +1 -1
  49. package/dist/cli/{index-hq7mfqe5.js → index-q9kefh33.js} +1 -1
  50. package/dist/cli/{index-ar33mkxc.js → index-rw0c6qtt.js} +4 -4
  51. package/dist/cli/{index-f1wqew85.js → index-snwj9ptc.js} +2 -2
  52. package/dist/cli/{index-4zran0jk.js → index-twb3f4tk.js} +1 -1
  53. package/dist/cli/{index-dmdg2zay.js → index-wrdktgpy.js} +2 -2
  54. package/dist/cli/{index-1tgkj4mf.js → index-xj3k6x1h.js} +2 -2
  55. package/dist/cli/{index-n7vy4gb3.js → index-xsdphmet.js} +6 -6
  56. package/dist/cli/{index-vktygb4k.js → index-y3sk68m5.js} +2 -2
  57. package/dist/cli/{index-1kd2cbcz.js → index-y8z9x87e.js} +3 -3
  58. package/dist/cli/{index-fbwerevq.js → index-yj1cwps4.js} +1 -1
  59. package/dist/cli/{index-dmnvgc03.js → index-ytms8x1h.js} +4 -4
  60. package/dist/cli/{index-bstjg81q.js → index-zfbxfm2m.js} +33 -33
  61. package/dist/cli/index.js +37 -37
  62. package/dist/cli/{knowledge-escalator-c65r55bv.js → knowledge-escalator-ejfb2e7c.js} +13 -13
  63. package/dist/cli/{knowledge-events-exc94dr2.js → knowledge-events-3fzfehwy.js} +11 -11
  64. package/dist/cli/{knowledge-link-kgt3zx0c.js → knowledge-link-h4pdcnya.js} +4 -4
  65. package/dist/cli/{knowledge-store-b2qm637m.js → knowledge-store-swxk4tr6.js} +5 -5
  66. package/dist/cli/{knowledge-validator-44pn1xrn.js → knowledge-validator-0a1at9gm.js} +7 -7
  67. package/dist/cli/{mcp-6qjt8ey7.js → mcp-0ah7s1j0.js} +1 -1
  68. package/dist/cli/{model-preflight-dh9dadg8.js → model-preflight-nfvapzyj.js} +80 -36
  69. package/dist/cli/{pending-delegations-vcqw78d8.js → pending-delegations-hynywgkj.js} +7 -7
  70. package/dist/cli/{pr-subscriptions-2vp2sxjb.js → pr-subscriptions-k86p5qcn.js} +7 -7
  71. package/dist/cli/{pr-workflow-gate-cy24tc3c.js → pr-workflow-gate-3ett6hjh.js} +36 -36
  72. package/dist/cli/{runner-zeqpd2c2.js → runner-4hfmp1ag.js} +5 -5
  73. package/dist/cli/{scan-cursor-3hyz0qnh.js → scan-cursor-9961dhv1.js} +6 -6
  74. package/dist/cli/{schema-4s2nnpqt.js → schema-s5zbnzmv.js} +2 -2
  75. package/dist/cli/{scope-persistence-1bvaeene.js → scope-persistence-2w562h83.js} +12 -12
  76. package/dist/cli/{server-zb4j57w6.js → server-vrk0k61v.js} +36 -36
  77. package/dist/cli/{skill-generator-fqh79jr7.js → skill-generator-bfcjzp20.js} +15 -15
  78. package/dist/cli/{snapshot-coordination-init-v50k6v2v.js → snapshot-coordination-init-8ykpp5m6.js} +36 -36
  79. package/dist/cli/{speckit-checkoff-mcxxpmy4.js → speckit-checkoff-3x52vw64.js} +4 -4
  80. package/dist/cli/{telemetry-eq1cwq2x.js → telemetry-kvhe94gs.js} +1 -1
  81. package/dist/cli/{worktree-collision-ownership-fk6spbrf.js → worktree-collision-ownership-kjw1pqfc.js} +7 -7
  82. package/dist/cli/{worktree-isolation-ht89tqrc.js → worktree-isolation-xdgm4ekx.js} +36 -36
  83. package/dist/config/consumers.d.ts +35 -0
  84. package/dist/host/v2/events.d.ts +19 -1
  85. package/dist/host/v2/model-apply.d.ts +39 -0
  86. package/dist/host/v2/setup.d.ts +0 -35
  87. package/dist/index.js +16 -16
  88. package/dist/models/task-model-routing.d.ts +8 -0
  89. package/dist/services/model-preflight.d.ts +24 -0
  90. package/dist/utils/provider-error-classification.d.ts +30 -4
  91. package/package.json +1 -1
@@ -22,34 +22,34 @@ import {
22
22
  resolveWriteTargets,
23
23
  searchKnowledge,
24
24
  symbols
25
- } from "./index-4m7cywkf.js";
25
+ } from "./index-emh69vk9.js";
26
26
  import {
27
27
  checkFileAuthority,
28
28
  checkWriteTargetForSymlink
29
- } from "./index-w5p9crxx.js";
30
- import"./index-cjekszvy.js";
29
+ } from "./index-7k9hdn0b.js";
30
+ import"./index-g39cmzpj.js";
31
31
  import {
32
32
  _internals,
33
33
  saveEvidence
34
- } from "./index-1kd2cbcz.js";
34
+ } from "./index-y8z9x87e.js";
35
35
  import {
36
36
  getProfileForFile
37
37
  } from "./index-vx8a8w3b.js";
38
38
  import {
39
39
  pLimit
40
- } from "./index-jc2ndtdt.js";
41
- import"./index-z11watrb.js";
40
+ } from "./index-k8sarme1.js";
41
+ import"./index-8xabhfwr.js";
42
42
  import"./index-txdagbh7.js";
43
43
  import {
44
44
  resolveCohortId
45
- } from "./index-f1wqew85.js";
45
+ } from "./index-snwj9ptc.js";
46
46
  import"./index-rdec0y3z.js";
47
- import"./index-3jn6155r.js";
48
- import"./index-ar33mkxc.js";
49
- import"./index-4ak3ewt2.js";
50
- import"./index-n7vy4gb3.js";
47
+ import"./index-pnfd3s7s.js";
48
+ import"./index-rw0c6qtt.js";
49
+ import"./index-c937rpbm.js";
50
+ import"./index-xsdphmet.js";
51
51
  import"./index-kaqdzhj3.js";
52
- import"./index-ykaaejka.js";
52
+ import"./index-9czp2dcg.js";
53
53
  import"./index-cjapb4hy.js";
54
54
  import"./index-f6exny9m.js";
55
55
  import {
@@ -59,11 +59,11 @@ import {
59
59
  import"./index-q7sjgr1y.js";
60
60
  import {
61
61
  createSwarmTool
62
- } from "./index-85npnq5t.js";
62
+ } from "./index-a4s5yrdd.js";
63
63
  import {
64
64
  loadPlan,
65
65
  loadPlanJsonOnly
66
- } from "./index-03ng9y76.js";
66
+ } from "./index-7zyktm9f.js";
67
67
  import {
68
68
  containsControlChars,
69
69
  createTargetWithinRootValidator,
@@ -73,15 +73,15 @@ import {
73
73
  validateWorkspaceRoot
74
74
  } from "./index-6b295cas.js";
75
75
  import"./index-9nyqt3kb.js";
76
- import"./index-vn8phy76.js";
76
+ import"./index-2wctq2hn.js";
77
77
  import"./index-zsrtt42s.js";
78
- import"./index-fbwerevq.js";
79
- import"./index-8f0j6kf2.js";
80
- import"./index-1tgkj4mf.js";
78
+ import"./index-yj1cwps4.js";
79
+ import"./index-8sqyx5rh.js";
80
+ import"./index-xj3k6x1h.js";
81
81
  import"./index-g4fs6z4e.js";
82
- import"./index-0cdkb7e8.js";
83
- import"./index-p746x44z.js";
84
- import"./index-98zfmfnn.js";
82
+ import"./index-7eajwwfg.js";
83
+ import"./index-kap459mr.js";
84
+ import"./index-61kszszd.js";
85
85
  import"./index-m9zzj4ee.js";
86
86
  import"./index-7hr5m7yp.js";
87
87
  import"./index-2s7dvzff.js";
@@ -90,26 +90,26 @@ import {
90
90
  validateActionability,
91
91
  validateActionableFields,
92
92
  validateLesson
93
- } from "./index-bjh6cw86.js";
93
+ } from "./index-m9g7s9ee.js";
94
94
  import {
95
95
  resolveWorktreeId
96
- } from "./index-hq7mfqe5.js";
96
+ } from "./index-q9kefh33.js";
97
97
  import"./index-rtry5xyf.js";
98
- import"./index-br33a6v7.js";
98
+ import"./index-5102w44y.js";
99
99
  import"./index-kbkk7vnh.js";
100
100
  import"./index-0725jpp7.js";
101
101
  import {
102
102
  normalizeScopeFiles
103
- } from "./index-vktygb4k.js";
104
- import"./index-dmnvgc03.js";
105
- import"./index-dmdg2zay.js";
103
+ } from "./index-y3sk68m5.js";
104
+ import"./index-ytms8x1h.js";
105
+ import"./index-wrdktgpy.js";
106
106
  import"./index-x1eh2636.js";
107
107
  import"./index-ntda6tje.js";
108
108
  import"./index-9tvjwv01.js";
109
109
  import"./index-ry16d01s.js";
110
110
  import"./index-rdm3px0g.js";
111
111
  import"./index-7pmbnjvj.js";
112
- import"./index-j9swvmt3.js";
112
+ import"./index-1xa8wq76.js";
113
113
  import {
114
114
  computeContentHash,
115
115
  dedupeCapped,
@@ -119,14 +119,14 @@ import {
119
119
  reinforceSwarmKnowledgeEntry,
120
120
  resolveSwarmKnowledgePath,
121
121
  transactKnowledge
122
- } from "./index-d95b3yce.js";
122
+ } from "./index-c016phsk.js";
123
123
  import"./index-vzm6zre7.js";
124
124
  import"./index-ae75rja9.js";
125
- import"./index-wx43mc8h.js";
126
- import"./index-5nwfz9bn.js";
127
- import"./index-4zran0jk.js";
125
+ import"./index-8q8783g0.js";
126
+ import"./index-hh7pa3yk.js";
127
+ import"./index-twb3f4tk.js";
128
128
  import"./index-t7hmqgjy.js";
129
- import"./index-h83221w1.js";
129
+ import"./index-d3rjvm9e.js";
130
130
  import {
131
131
  canonicalRootKeyFresh,
132
132
  escapeRegex
@@ -143,7 +143,7 @@ import"./index-gx2vp8gx.js";
143
143
  import {
144
144
  loadGateOverrides,
145
145
  loadPluginConfigWithMeta
146
- } from "./index-9qbn3chx.js";
146
+ } from "./index-9tes309n.js";
147
147
  import {
148
148
  init_git_executable,
149
149
  resolveGitExecutableAsync
@@ -151,11 +151,11 @@ import {
151
151
  import {
152
152
  KnowledgeConfigSchema,
153
153
  init_schema
154
- } from "./index-jevq7a7b.js";
154
+ } from "./index-ghjg1rxe.js";
155
155
  import {
156
156
  TOOL_METADATA,
157
157
  init_tool_metadata
158
- } from "./index-bstjg81q.js";
158
+ } from "./index-zfbxfm2m.js";
159
159
  import {
160
160
  KNOWLEDGE_SCHEMA_VERSION,
161
161
  init_knowledge_types
@@ -33,37 +33,37 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-4ak3ewt2.js";
36
+ } from "./index-c937rpbm.js";
37
37
  import"./index-q7sjgr1y.js";
38
- import"./index-p746x44z.js";
39
- import"./index-98zfmfnn.js";
38
+ import"./index-kap459mr.js";
39
+ import"./index-61kszszd.js";
40
40
  import"./index-m9zzj4ee.js";
41
41
  import"./index-7hr5m7yp.js";
42
42
  import"./index-2s7dvzff.js";
43
- import"./index-bjh6cw86.js";
44
- import"./index-hq7mfqe5.js";
43
+ import"./index-m9g7s9ee.js";
44
+ import"./index-q9kefh33.js";
45
45
  import"./index-rtry5xyf.js";
46
- import"./index-br33a6v7.js";
46
+ import"./index-5102w44y.js";
47
47
  import"./index-kbkk7vnh.js";
48
48
  import"./index-0725jpp7.js";
49
- import"./index-j9swvmt3.js";
50
- import"./index-d95b3yce.js";
49
+ import"./index-1xa8wq76.js";
50
+ import"./index-c016phsk.js";
51
51
  import"./index-vzm6zre7.js";
52
52
  import"./index-ae75rja9.js";
53
- import"./index-wx43mc8h.js";
54
- import"./index-5nwfz9bn.js";
55
- import"./index-4zran0jk.js";
53
+ import"./index-8q8783g0.js";
54
+ import"./index-hh7pa3yk.js";
55
+ import"./index-twb3f4tk.js";
56
56
  import"./index-t7hmqgjy.js";
57
- import"./index-h83221w1.js";
57
+ import"./index-d3rjvm9e.js";
58
58
  import"./index-fzpt2djt.js";
59
59
  import"./index-ejhxgyvm.js";
60
60
  import"./index-7g4c7s5r.js";
61
61
  import"./index-p2tqzwh6.js";
62
62
  import"./index-gx2vp8gx.js";
63
- import"./index-9qbn3chx.js";
63
+ import"./index-9tes309n.js";
64
64
  import"./index-zxdawwc7.js";
65
- import"./index-jevq7a7b.js";
66
- import"./index-bstjg81q.js";
65
+ import"./index-ghjg1rxe.js";
66
+ import"./index-zfbxfm2m.js";
67
67
  import"./index-bk5tah7q.js";
68
68
  import"./index-gknz3bv1.js";
69
69
  import"./index-zpsr8rpc.js";
@@ -8,75 +8,75 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-4m7cywkf.js";
12
- import"./index-w5p9crxx.js";
13
- import"./index-cjekszvy.js";
14
- import"./index-1kd2cbcz.js";
11
+ } from "./index-emh69vk9.js";
12
+ import"./index-7k9hdn0b.js";
13
+ import"./index-g39cmzpj.js";
14
+ import"./index-y8z9x87e.js";
15
15
  import"./index-vx8a8w3b.js";
16
- import"./index-jc2ndtdt.js";
17
- import"./index-z11watrb.js";
16
+ import"./index-k8sarme1.js";
17
+ import"./index-8xabhfwr.js";
18
18
  import"./index-txdagbh7.js";
19
- import"./index-f1wqew85.js";
19
+ import"./index-snwj9ptc.js";
20
20
  import"./index-rdec0y3z.js";
21
- import"./index-3jn6155r.js";
22
- import"./index-ar33mkxc.js";
23
- import"./index-4ak3ewt2.js";
24
- import"./index-n7vy4gb3.js";
21
+ import"./index-pnfd3s7s.js";
22
+ import"./index-rw0c6qtt.js";
23
+ import"./index-c937rpbm.js";
24
+ import"./index-xsdphmet.js";
25
25
  import"./index-kaqdzhj3.js";
26
- import"./index-ykaaejka.js";
26
+ import"./index-9czp2dcg.js";
27
27
  import"./index-cjapb4hy.js";
28
28
  import"./index-f6exny9m.js";
29
29
  import"./index-pt7h91zc.js";
30
30
  import"./index-q7sjgr1y.js";
31
- import"./index-85npnq5t.js";
32
- import"./index-03ng9y76.js";
31
+ import"./index-a4s5yrdd.js";
32
+ import"./index-7zyktm9f.js";
33
33
  import"./index-6b295cas.js";
34
34
  import"./index-9nyqt3kb.js";
35
- import"./index-vn8phy76.js";
35
+ import"./index-2wctq2hn.js";
36
36
  import"./index-zsrtt42s.js";
37
- import"./index-fbwerevq.js";
38
- import"./index-8f0j6kf2.js";
39
- import"./index-1tgkj4mf.js";
37
+ import"./index-yj1cwps4.js";
38
+ import"./index-8sqyx5rh.js";
39
+ import"./index-xj3k6x1h.js";
40
40
  import"./index-g4fs6z4e.js";
41
- import"./index-0cdkb7e8.js";
42
- import"./index-p746x44z.js";
43
- import"./index-98zfmfnn.js";
41
+ import"./index-7eajwwfg.js";
42
+ import"./index-kap459mr.js";
43
+ import"./index-61kszszd.js";
44
44
  import"./index-m9zzj4ee.js";
45
45
  import"./index-7hr5m7yp.js";
46
46
  import"./index-2s7dvzff.js";
47
- import"./index-bjh6cw86.js";
48
- import"./index-hq7mfqe5.js";
47
+ import"./index-m9g7s9ee.js";
48
+ import"./index-q9kefh33.js";
49
49
  import"./index-rtry5xyf.js";
50
- import"./index-br33a6v7.js";
50
+ import"./index-5102w44y.js";
51
51
  import"./index-kbkk7vnh.js";
52
52
  import"./index-0725jpp7.js";
53
- import"./index-vktygb4k.js";
54
- import"./index-dmnvgc03.js";
55
- import"./index-dmdg2zay.js";
53
+ import"./index-y3sk68m5.js";
54
+ import"./index-ytms8x1h.js";
55
+ import"./index-wrdktgpy.js";
56
56
  import"./index-x1eh2636.js";
57
57
  import"./index-ntda6tje.js";
58
58
  import"./index-9tvjwv01.js";
59
59
  import"./index-ry16d01s.js";
60
60
  import"./index-rdm3px0g.js";
61
61
  import"./index-7pmbnjvj.js";
62
- import"./index-j9swvmt3.js";
63
- import"./index-d95b3yce.js";
62
+ import"./index-1xa8wq76.js";
63
+ import"./index-c016phsk.js";
64
64
  import"./index-vzm6zre7.js";
65
65
  import"./index-ae75rja9.js";
66
- import"./index-wx43mc8h.js";
67
- import"./index-5nwfz9bn.js";
68
- import"./index-4zran0jk.js";
66
+ import"./index-8q8783g0.js";
67
+ import"./index-hh7pa3yk.js";
68
+ import"./index-twb3f4tk.js";
69
69
  import"./index-t7hmqgjy.js";
70
- import"./index-h83221w1.js";
70
+ import"./index-d3rjvm9e.js";
71
71
  import"./index-fzpt2djt.js";
72
72
  import"./index-ejhxgyvm.js";
73
73
  import"./index-7g4c7s5r.js";
74
74
  import"./index-p2tqzwh6.js";
75
75
  import"./index-gx2vp8gx.js";
76
- import"./index-9qbn3chx.js";
76
+ import"./index-9tes309n.js";
77
77
  import"./index-zxdawwc7.js";
78
- import"./index-jevq7a7b.js";
79
- import"./index-bstjg81q.js";
78
+ import"./index-ghjg1rxe.js";
79
+ import"./index-zfbxfm2m.js";
80
80
  import"./index-bk5tah7q.js";
81
81
  import"./index-gknz3bv1.js";
82
82
  import"./index-zpsr8rpc.js";
@@ -7,14 +7,14 @@ import {
7
7
  parseSpeckitTasksContent,
8
8
  propagateSpeckitCheckoff,
9
9
  writeSpeckitCheckoffLedger
10
- } from "./index-fbwerevq.js";
10
+ } from "./index-yj1cwps4.js";
11
11
  import"./index-ejhxgyvm.js";
12
12
  import"./index-7g4c7s5r.js";
13
13
  import"./index-p2tqzwh6.js";
14
- import"./index-9qbn3chx.js";
14
+ import"./index-9tes309n.js";
15
15
  import"./index-zxdawwc7.js";
16
- import"./index-jevq7a7b.js";
17
- import"./index-bstjg81q.js";
16
+ import"./index-ghjg1rxe.js";
17
+ import"./index-zfbxfm2m.js";
18
18
  import"./index-bk5tah7q.js";
19
19
  import"./index-gknz3bv1.js";
20
20
  import"./index-zpsr8rpc.js";
@@ -14,7 +14,7 @@ import {
14
14
  startHeartbeatTracking,
15
15
  stopHeartbeatTracking,
16
16
  telemetry
17
- } from "./index-h83221w1.js";
17
+ } from "./index-d3rjvm9e.js";
18
18
  import"./index-fzpt2djt.js";
19
19
  import"./index-gknz3bv1.js";
20
20
  import"./index-zpsr8rpc.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  scanDelegationFallbacksForRecovery,
15
15
  scanDelegationsForRecovery
16
- } from "./index-0cdkb7e8.js";
16
+ } from "./index-7eajwwfg.js";
17
17
  import"./index-7hr5m7yp.js";
18
18
  import"./index-2s7dvzff.js";
19
19
  import"./index-x1eh2636.js";
@@ -22,15 +22,15 @@ import"./index-9tvjwv01.js";
22
22
  import"./index-ry16d01s.js";
23
23
  import"./index-rdm3px0g.js";
24
24
  import"./index-7pmbnjvj.js";
25
- import"./index-j9swvmt3.js";
26
- import"./index-d95b3yce.js";
25
+ import"./index-1xa8wq76.js";
26
+ import"./index-c016phsk.js";
27
27
  import"./index-vzm6zre7.js";
28
28
  import"./index-ae75rja9.js";
29
- import"./index-wx43mc8h.js";
30
- import"./index-5nwfz9bn.js";
31
- import"./index-4zran0jk.js";
29
+ import"./index-8q8783g0.js";
30
+ import"./index-hh7pa3yk.js";
31
+ import"./index-twb3f4tk.js";
32
32
  import"./index-t7hmqgjy.js";
33
- import"./index-h83221w1.js";
33
+ import"./index-d3rjvm9e.js";
34
34
  import {
35
35
  canonicalRootKeyFresh
36
36
  } from "./index-fzpt2djt.js";
@@ -21,77 +21,77 @@ import {
21
21
  sanitizeWorktreeTaskId,
22
22
  standardWorktreeByCallID,
23
23
  standardWorktreeSerializationSessions
24
- } from "./index-4m7cywkf.js";
25
- import"./index-w5p9crxx.js";
26
- import"./index-cjekszvy.js";
27
- import"./index-1kd2cbcz.js";
24
+ } from "./index-emh69vk9.js";
25
+ import"./index-7k9hdn0b.js";
26
+ import"./index-g39cmzpj.js";
27
+ import"./index-y8z9x87e.js";
28
28
  import"./index-vx8a8w3b.js";
29
- import"./index-jc2ndtdt.js";
30
- import"./index-z11watrb.js";
29
+ import"./index-k8sarme1.js";
30
+ import"./index-8xabhfwr.js";
31
31
  import"./index-txdagbh7.js";
32
- import"./index-f1wqew85.js";
32
+ import"./index-snwj9ptc.js";
33
33
  import"./index-rdec0y3z.js";
34
- import"./index-3jn6155r.js";
35
- import"./index-ar33mkxc.js";
36
- import"./index-4ak3ewt2.js";
37
- import"./index-n7vy4gb3.js";
34
+ import"./index-pnfd3s7s.js";
35
+ import"./index-rw0c6qtt.js";
36
+ import"./index-c937rpbm.js";
37
+ import"./index-xsdphmet.js";
38
38
  import"./index-kaqdzhj3.js";
39
- import"./index-ykaaejka.js";
39
+ import"./index-9czp2dcg.js";
40
40
  import"./index-cjapb4hy.js";
41
41
  import"./index-f6exny9m.js";
42
42
  import"./index-pt7h91zc.js";
43
43
  import"./index-q7sjgr1y.js";
44
- import"./index-85npnq5t.js";
45
- import"./index-03ng9y76.js";
44
+ import"./index-a4s5yrdd.js";
45
+ import"./index-7zyktm9f.js";
46
46
  import"./index-6b295cas.js";
47
47
  import"./index-9nyqt3kb.js";
48
- import"./index-vn8phy76.js";
48
+ import"./index-2wctq2hn.js";
49
49
  import"./index-zsrtt42s.js";
50
- import"./index-fbwerevq.js";
51
- import"./index-8f0j6kf2.js";
52
- import"./index-1tgkj4mf.js";
50
+ import"./index-yj1cwps4.js";
51
+ import"./index-8sqyx5rh.js";
52
+ import"./index-xj3k6x1h.js";
53
53
  import"./index-g4fs6z4e.js";
54
- import"./index-0cdkb7e8.js";
55
- import"./index-p746x44z.js";
56
- import"./index-98zfmfnn.js";
54
+ import"./index-7eajwwfg.js";
55
+ import"./index-kap459mr.js";
56
+ import"./index-61kszszd.js";
57
57
  import"./index-m9zzj4ee.js";
58
58
  import"./index-7hr5m7yp.js";
59
59
  import"./index-2s7dvzff.js";
60
- import"./index-bjh6cw86.js";
61
- import"./index-hq7mfqe5.js";
60
+ import"./index-m9g7s9ee.js";
61
+ import"./index-q9kefh33.js";
62
62
  import"./index-rtry5xyf.js";
63
63
  import {
64
64
  resolveWorktreeIsolationConfig
65
- } from "./index-br33a6v7.js";
65
+ } from "./index-5102w44y.js";
66
66
  import"./index-kbkk7vnh.js";
67
67
  import"./index-0725jpp7.js";
68
- import"./index-vktygb4k.js";
69
- import"./index-dmnvgc03.js";
70
- import"./index-dmdg2zay.js";
68
+ import"./index-y3sk68m5.js";
69
+ import"./index-ytms8x1h.js";
70
+ import"./index-wrdktgpy.js";
71
71
  import"./index-x1eh2636.js";
72
72
  import"./index-ntda6tje.js";
73
73
  import"./index-9tvjwv01.js";
74
74
  import"./index-ry16d01s.js";
75
75
  import"./index-rdm3px0g.js";
76
76
  import"./index-7pmbnjvj.js";
77
- import"./index-j9swvmt3.js";
78
- import"./index-d95b3yce.js";
77
+ import"./index-1xa8wq76.js";
78
+ import"./index-c016phsk.js";
79
79
  import"./index-vzm6zre7.js";
80
80
  import"./index-ae75rja9.js";
81
- import"./index-wx43mc8h.js";
82
- import"./index-5nwfz9bn.js";
83
- import"./index-4zran0jk.js";
81
+ import"./index-8q8783g0.js";
82
+ import"./index-hh7pa3yk.js";
83
+ import"./index-twb3f4tk.js";
84
84
  import"./index-t7hmqgjy.js";
85
- import"./index-h83221w1.js";
85
+ import"./index-d3rjvm9e.js";
86
86
  import"./index-fzpt2djt.js";
87
87
  import"./index-ejhxgyvm.js";
88
88
  import"./index-7g4c7s5r.js";
89
89
  import"./index-p2tqzwh6.js";
90
90
  import"./index-gx2vp8gx.js";
91
- import"./index-9qbn3chx.js";
91
+ import"./index-9tes309n.js";
92
92
  import"./index-zxdawwc7.js";
93
- import"./index-jevq7a7b.js";
94
- import"./index-bstjg81q.js";
93
+ import"./index-ghjg1rxe.js";
94
+ import"./index-zfbxfm2m.js";
95
95
  import"./index-bk5tah7q.js";
96
96
  import"./index-gknz3bv1.js";
97
97
  import"./index-zpsr8rpc.js";
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Config-consumption declaration (issue #2904) - the single source of truth for
3
+ * WHICH production code consumes each top-level `PluginConfigSchema` key.
4
+ *
5
+ * Every key MUST declare either `consumers` (repo-relative `path:symbol` citations,
6
+ * each verified by `bun run scripts/check-config-consumption.ts`) or `inert` (a
7
+ * reason string; `/swarm config doctor` then warns when a user's config file
8
+ * sets the key).
9
+ * Exhaustive by construction: `Record<TopLevelConfigKey, ...>` fails `bun run typecheck`
10
+ * the moment a schema key is added without an entry here.
11
+ *
12
+ * Citation rules (enforced by the gate):
13
+ * - citations live in non-test `src/**`; `src/config/schema.ts` is never a consumer
14
+ * (schema-definition is not consumption)
15
+ * - a citation into `src/services/config-doctor.ts` never satisfies the ratchet alone
16
+ * (that file references every key via its validateConfigKey cases); keys genuinely
17
+ * owned by the doctor are enumerated in the gate's DOCTOR_FILE_EXEMPT
18
+ * - DI/test seams (`_internals`, `_test_exports`) are never consumers
19
+ * - a reference means member access, bracket access, destructure shorthand, or a
20
+ * quoted case label - in code, not comments or string text (matcher details in
21
+ * scripts/check-config-consumption.ts)
22
+ */
23
+ import type { PluginConfigSchema } from './schema.js';
24
+ export type TopLevelConfigKey = keyof typeof PluginConfigSchema.shape;
25
+ /** `'src/path/to/file.ts:symbol'` - the symbol is a representative exported
26
+ * declaration in the cited file. The gate verifies the symbol is DECLARED in the
27
+ * file and that the FILE references the key (file-level reference; the symbol
28
+ * anchors the citation for human readers, it does not scope the search). */
29
+ export type ConsumerCitation = string;
30
+ export type ConfigConsumerDeclaration = {
31
+ consumers: ConsumerCitation[];
32
+ } | {
33
+ inert: string;
34
+ };
35
+ export declare const CONFIG_CONSUMERS: Record<TopLevelConfigKey, ConfigConsumerDeclaration>;
@@ -12,14 +12,22 @@
12
12
  * ------------------------+-------------------------------------------
13
13
  * session.idle → { type: 'session.idle', properties }
14
14
  * session.status.updated → { type: 'session.idle', properties } (state watch)
15
+ * session.status → { type: 'session.status', properties } (type-preserving; #3022)
15
16
  * session.text.delta → { type: 'message.part.updated', properties }
16
17
  * session.text.ended → { type: 'message.updated', properties }
17
18
  * session.tool.called → { type: 'message.part.updated', properties }
18
19
  * session.tool.success → { type: 'message.updated', properties }
19
20
  * session.tool.failed → { type: 'message.updated', properties }
20
21
  * session.execution.failed → { type: 'session.error', properties }
22
+ * session.error → { type: 'session.error', properties } (SDK dialect; #3022)
21
23
  * session.deleted / session.created → same-name v1 types
22
24
  *
25
+ * Payload dialect (#3022 D3 live capture): plugin-stream envelopes carry the
26
+ * payload under `data` (live 2.0.21 emits `session.execution.failed` with
27
+ * `data:{sessionID, error:{...}}`); the @opencode-ai/sdk SSE/REST dialect
28
+ * carries it under `properties` with the error event named `session.error`.
29
+ * Both names and both payload keys are accepted.
30
+ *
23
31
  * Unmapped event types are counted in a bounded debug log, never silently
24
32
  * assumed. This module is named deferred-/startDeferred- per the C6 await
25
33
  * convention (its awaits live in deferred-named helpers).
@@ -32,7 +40,17 @@ interface MappedEvent {
32
40
  /** Map a v2 event envelope onto the v1 handler input (or undefined). */
33
41
  export declare function mapV2EventToV1(envelope: V2EventEnvelope): MappedEvent | undefined;
34
42
  /**
35
- * Start the detached event pump. Returns a stop function. Named per the C6
43
+ * Seed v1 session identity from identity-bearing v2 envelopes (issue #3022 D1).
44
+ *
45
+ * Live capture (d3/run2.log): `session.created` and `session.agent.selected`
46
+ * carry `data.agent`. This runs PUMP-SIDE (not as mapper case labels — those
47
+ * names are in neither the SDK union nor the mapper's legacy allowlist, and
48
+ * Branch B of the v1 session.error arm resolves identity through
49
+ * `recordSessionChatAgent`'s map, the same bounded store the v1 chat boundary
50
+ * writes). Fail-open by construction: non-string fields are ignored.
51
+ */
52
+ export declare function seedSessionIdentityFromEnvelope(envelope: V2EventEnvelope): void;
53
+ /** Start the detached event pump. Returns a stop function. Named per the C6
36
54
  * convention (deferred).
37
55
  */
38
56
  export declare function startDeferredEventPump(ctx: V2PluginContext, hooks: V1HooksSubset): () => void;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * v2 runtime agent-model application (issue #3022, AC3).
3
+ *
4
+ * The v1 fallback loop closes through `output.message.model` at the
5
+ * chat.message boundary — a surface the v2 SessionPrompt event does not carry
6
+ * (docs/host/v2-hook-inventory.md row 13). The v2-native equivalent is
7
+ * rewriting the agent's `model` reference through the host-provided
8
+ * `ctx.agent.transform` entry: the AgentDraft editor is callback-scoped
9
+ * (src/host/v2/agents-commands.ts registers through the same primitive), so
10
+ * the apply re-invokes the stored transform surface at advance time.
11
+ *
12
+ * KEYING CONTRACT (plan-critic round 2): the v2 AgentEditor is keyed by the
13
+ * EXACT REGISTERED agent name (multi-swarm configs register `local_coder`
14
+ * etc.), and `editor.update(id, fn)` is create-or-update — callers MUST pass
15
+ * the registration key (`routeModel.exactAgentName`), never the bare
16
+ * prefix-stripped role, or a phantom bare-name agent would be created.
17
+ *
18
+ * Everything here is fail-open: with no registered surface (v1 hosts, or a v2
19
+ * host without the agent domain) the apply is a logged no-op.
20
+ */
21
+ import type { V2PluginContext } from './types';
22
+ /**
23
+ * Remember the v2 agent transform surface for later model rewrites. Called
24
+ * once from setup after agent registration; cleared on cleanup.
25
+ */
26
+ export declare function registerV2AgentTransformSurface(ctx: V2PluginContext): void;
27
+ /**
28
+ * Drop the registered surface and dispose every held apply registration
29
+ * (v2 cleanup). Best-effort: disposal failure is logged, never thrown.
30
+ */
31
+ export declare function clearV2AgentTransformSurface(): void;
32
+ /** True when a v2 apply surface is registered (test/diagnostic seam). */
33
+ export declare function hasV2AgentTransformSurface(): boolean;
34
+ /**
35
+ * Rewrite one registered agent's model to `modelString` ('provider/model').
36
+ * Returns true when a surface existed and the transform completed within the
37
+ * budget; false (logged, non-fatal) otherwise. No-op on v1 hosts.
38
+ */
39
+ export declare function applyV2AgentModelOverride(agentName: string, modelString: string): Promise<boolean>;