@opencode/core 0.0.0-dev-286 → 0.0.0-dev-289

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 (839) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +91 -91
  3. package/dist/aisdk-native.js +101 -101
  4. package/dist/aisdk.js +107 -107
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +83 -83
  7. package/dist/chunks/{worktree-034tev2y.js → bus-034tev2y.js} +2 -2
  8. package/dist/chunks/{worktree-8nt2cb5r.js → bus-035gwyrd.js} +21 -21
  9. package/dist/chunks/{worktree-wyeqency.js → bus-03tkxxad.js} +7 -7
  10. package/dist/chunks/{worktree-sqjzf8x2.js → bus-0j7gp832.js} +4 -4
  11. package/dist/chunks/{worktree-4pn94wwk.js → bus-0ng08tej.js} +44 -44
  12. package/dist/chunks/{worktree-p65b0w7p.js → bus-0rxmz96k.js} +17 -17
  13. package/dist/chunks/{worktree-0yrht1zy.js → bus-0wbhgcbg.js} +27 -27
  14. package/dist/chunks/{worktree-xyg4a4db.js → bus-12hm338z.js} +5 -5
  15. package/dist/chunks/{worktree-1aqsckx4.js → bus-1aqsckx4.js} +1 -1
  16. package/dist/chunks/{worktree-excj9cfq.js → bus-1c5h7qx9.js} +33 -33
  17. package/dist/chunks/{worktree-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{worktree-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
  19. package/dist/chunks/{worktree-204s3925.js → bus-204s3925.js} +1 -1
  20. package/dist/chunks/{worktree-djd49kbm.js → bus-29x0cc93.js} +2 -2
  21. package/dist/chunks/{worktree-kfkfrd1x.js → bus-2a3k1wv5.js} +16 -16
  22. package/dist/chunks/{worktree-tm1e699v.js → bus-2cm6e4d9.js} +9 -9
  23. package/dist/chunks/{worktree-e324kbrg.js → bus-2ekpsjrd.js} +8 -8
  24. package/dist/chunks/{worktree-fmvebq1c.js → bus-2fp4k9wp.js} +4 -4
  25. package/dist/chunks/{worktree-mqcm7x31.js → bus-2h0p855r.js} +21 -21
  26. package/dist/chunks/{worktree-bda28c86.js → bus-2m3n8trw.js} +21 -21
  27. package/dist/chunks/{worktree-spf8w817.js → bus-2nhtnnqc.js} +5 -5
  28. package/dist/chunks/{worktree-hc4wny2n.js → bus-2r3850vs.js} +11 -11
  29. package/dist/chunks/{worktree-yxcs01xt.js → bus-2r961k25.js} +24 -24
  30. package/dist/chunks/{worktree-2zp5a6yg.js → bus-2zp5a6yg.js} +1 -1
  31. package/dist/chunks/{worktree-pgkwnhrk.js → bus-31c2mw6w.js} +30 -34
  32. package/dist/chunks/{worktree-33e37e6x.js → bus-3ab4thcb.js} +17 -17
  33. package/dist/chunks/{worktree-d4qb2rc3.js → bus-3bgf9gas.js} +4 -4
  34. package/dist/chunks/{worktree-z4ex9h9e.js → bus-3cdb6jh7.js} +11 -11
  35. package/dist/chunks/{worktree-3m85peyv.js → bus-3gtbytbs.js} +32 -32
  36. package/dist/chunks/{worktree-nxw21s73.js → bus-3hcdh98k.js} +21 -21
  37. package/dist/chunks/{worktree-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{worktree-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
  39. package/dist/chunks/{worktree-4pw98qd4.js → bus-3p57dcxh.js} +4 -4
  40. package/dist/chunks/{worktree-xrpfz6f8.js → bus-40hpa6ae.js} +9 -9
  41. package/dist/chunks/{worktree-hp6wkjcv.js → bus-46g4z5g0.js} +30 -30
  42. package/dist/chunks/{worktree-3ndyf3yw.js → bus-48w6hcnx.js} +54 -54
  43. package/dist/chunks/{worktree-neary136.js → bus-49csh3aq.js} +8 -8
  44. package/dist/chunks/{worktree-cbcbsb56.js → bus-4bwthz3m.js} +6 -6
  45. package/dist/chunks/{worktree-4dx1dgte.js → bus-4dx1dgte.js} +1 -1
  46. package/dist/chunks/{worktree-rbndg51d.js → bus-4e0wk5h0.js} +6 -6
  47. package/dist/chunks/{worktree-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
  48. package/dist/chunks/{worktree-4v008n1t.js → bus-4v008n1t.js} +1 -1
  49. package/dist/chunks/{worktree-1y6cskgh.js → bus-4ymxdy0q.js} +39 -39
  50. package/dist/chunks/{worktree-jedcwhf5.js → bus-51eb7mjh.js} +27 -27
  51. package/dist/chunks/{worktree-f7n1ssex.js → bus-52a7vhz9.js} +9 -9
  52. package/dist/chunks/{worktree-c1sj1bpn.js → bus-55g8rfra.js} +3 -3
  53. package/dist/chunks/{worktree-0ex9mpwx.js → bus-575z11gq.js} +91 -91
  54. package/dist/chunks/{worktree-s4d4pvet.js → bus-5bh17wth.js} +4 -4
  55. package/dist/chunks/{worktree-3wq0w81j.js → bus-5m1vxyv7.js} +22 -22
  56. package/dist/chunks/{worktree-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{worktree-9t20sdzg.js → bus-5pqt1ves.js} +6 -6
  58. package/dist/chunks/{worktree-1yq9hg58.js → bus-5zrxpy3q.js} +5 -5
  59. package/dist/chunks/{worktree-w2g8c1h4.js → bus-65qft472.js} +45 -45
  60. package/dist/chunks/{worktree-scmk72rv.js → bus-67zhfnr5.js} +5 -5
  61. package/dist/chunks/{worktree-dgjy22zw.js → bus-69qaetne.js} +10 -10
  62. package/dist/chunks/{worktree-7fz6tcfs.js → bus-6asry735.js} +20 -20
  63. package/dist/chunks/{worktree-2a9pjh68.js → bus-6drawnv9.js} +4 -4
  64. package/dist/chunks/{worktree-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
  65. package/dist/chunks/{worktree-nnx8h4m9.js → bus-6hwszbb1.js} +10 -10
  66. package/dist/chunks/{worktree-ja63h2sr.js → bus-6xqtcmxs.js} +5 -5
  67. package/dist/chunks/{worktree-wp5xvy6f.js → bus-76484c78.js} +34 -34
  68. package/dist/chunks/{worktree-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{worktree-t2cdwvq5.js → bus-7c67ap9y.js} +22 -22
  70. package/dist/chunks/{worktree-zwrzbpfr.js → bus-7cen1ph9.js} +18 -18
  71. package/dist/chunks/{worktree-7kr66rt3.js → bus-7kr66rt3.js} +1 -1
  72. package/dist/chunks/{worktree-w59ytyqq.js → bus-7qgpgca8.js} +9 -9
  73. package/dist/chunks/{worktree-7n4tbjx2.js → bus-7t2s76wb.js} +21 -21
  74. package/dist/chunks/{worktree-b85szd7h.js → bus-7w2fvyx3.js} +8 -8
  75. package/dist/chunks/{worktree-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{worktree-cb1dvkmt.js → bus-7y699k02.js} +18 -18
  77. package/dist/chunks/bus-7yv5xa0k.js +18 -0
  78. package/dist/chunks/{worktree-ec3b2sgd.js → bus-84dshbdw.js} +8 -8
  79. package/dist/chunks/{worktree-25h84942.js → bus-8b3vzgkx.js} +4 -4
  80. package/dist/chunks/{worktree-qjgzc4b4.js → bus-8jztxfpf.js} +4 -4
  81. package/dist/chunks/{worktree-rjdkgttt.js → bus-8qdv48w6.js} +18 -18
  82. package/dist/chunks/{worktree-cgqrqfdd.js → bus-8sykf8qj.js} +11 -11
  83. package/dist/chunks/{worktree-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
  84. package/dist/chunks/{worktree-90zstvax.js → bus-90zstvax.js} +1 -1
  85. package/dist/chunks/{worktree-kgh589a5.js → bus-92xfmazx.js} +13 -13
  86. package/dist/chunks/{worktree-9gmxhkaz.js → bus-97kyzmq9.js} +16 -16
  87. package/dist/chunks/{worktree-ava6h5x1.js → bus-9gw8ma18.js} +6 -6
  88. package/dist/chunks/{worktree-pqv6jrxt.js → bus-a2cs3nkj.js} +26 -26
  89. package/dist/chunks/{worktree-h4yv4fhz.js → bus-a3abfedh.js} +191 -191
  90. package/dist/chunks/{worktree-e239qjg7.js → bus-a8xhnh8r.js} +7 -7
  91. package/dist/chunks/{worktree-2japvek7.js → bus-akbqzhz4.js} +2 -2
  92. package/dist/chunks/{worktree-d08zvrj3.js → bus-awcvvmmh.js} +14 -14
  93. package/dist/chunks/{worktree-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
  94. package/dist/chunks/{worktree-xj8tbvnx.js → bus-ays56k31.js} +34 -34
  95. package/dist/chunks/{worktree-tf0tk0fq.js → bus-b2zx6heh.js} +23 -23
  96. package/dist/chunks/{worktree-07fp8s5y.js → bus-b3jxbtnx.js} +29 -29
  97. package/dist/chunks/{worktree-zay1k5wv.js → bus-b3tzc6nv.js} +15 -15
  98. package/dist/chunks/{worktree-b6vsg801.js → bus-b6vsg801.js} +2 -2
  99. package/dist/chunks/{worktree-9yke2vdy.js → bus-bffjwd0h.js} +11 -11
  100. package/dist/chunks/{worktree-xmx7xj34.js → bus-br0kkpnn.js} +7 -7
  101. package/dist/chunks/{worktree-bstexjd6.js → bus-bstexjd6.js} +1 -1
  102. package/dist/chunks/{worktree-ssfehs1z.js → bus-c9t2ty9q.js} +4 -4
  103. package/dist/chunks/{worktree-pjb3r7bt.js → bus-cpq36wag.js} +7 -7
  104. package/dist/chunks/{worktree-ezgss49s.js → bus-cpzqp2fy.js} +26 -26
  105. package/dist/chunks/{worktree-jxvtabbt.js → bus-cs03zenh.js} +23 -23
  106. package/dist/chunks/{worktree-4gwbv0ae.js → bus-cthv9wj3.js} +4 -4
  107. package/dist/chunks/{worktree-rg0cxenw.js → bus-cvdbenw8.js} +2 -2
  108. package/dist/chunks/{worktree-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
  109. package/dist/chunks/{worktree-8jne4ghb.js → bus-d01pvx5j.js} +30 -30
  110. package/dist/chunks/{worktree-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
  111. package/dist/chunks/{worktree-650ewqdt.js → bus-d77s9pbc.js} +3 -3
  112. package/dist/chunks/{worktree-8d99dfzw.js → bus-dak0tad4.js} +13 -13
  113. package/dist/chunks/{worktree-yegyxjwk.js → bus-de541ebn.js} +47 -47
  114. package/dist/chunks/{worktree-m89858wj.js → bus-dgma0v0g.js} +3 -3
  115. package/dist/chunks/{worktree-k1xjwggj.js → bus-dpv800ng.js} +13 -13
  116. package/dist/chunks/{worktree-dr3d1mr5.js → bus-drnpqen8.js} +19 -19
  117. package/dist/chunks/{worktree-dt77769w.js → bus-dt77769w.js} +1 -1
  118. package/dist/chunks/{worktree-81db11mx.js → bus-e2hnaftq.js} +13 -13
  119. package/dist/chunks/{worktree-x46kzsvj.js → bus-e2tz7wpg.js} +20 -20
  120. package/dist/chunks/{worktree-5w6mnkbc.js → bus-e6eh7vrv.js} +11 -11
  121. package/dist/chunks/{worktree-e834z07m.js → bus-e834z07m.js} +1 -1
  122. package/dist/chunks/{worktree-vjmsebym.js → bus-e8jekyry.js} +9 -9
  123. package/dist/chunks/{worktree-tc90wnbk.js → bus-ebc9sjza.js} +44 -44
  124. package/dist/chunks/{worktree-923ftqyh.js → bus-eez5fkq7.js} +8 -8
  125. package/dist/chunks/{worktree-s88qfkmz.js → bus-ef57czcv.js} +4 -4
  126. package/dist/chunks/{worktree-m7fyhed3.js → bus-ep9jv767.js} +20 -20
  127. package/dist/chunks/{worktree-vmfhgzt5.js → bus-eqmd2tfz.js} +7 -7
  128. package/dist/chunks/{worktree-n6jhfx9n.js → bus-eqsxy33h.js} +28 -28
  129. package/dist/chunks/{worktree-7dtjcr74.js → bus-etdqq0cw.js} +19 -19
  130. package/dist/chunks/{worktree-x5xpvpef.js → bus-ezxqpfxm.js} +23 -23
  131. package/dist/chunks/{worktree-45dn5ykg.js → bus-f4d37vpd.js} +21 -21
  132. package/dist/chunks/{worktree-0v2kj0w9.js → bus-f7vg2spm.js} +19 -19
  133. package/dist/chunks/{worktree-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
  134. package/dist/chunks/{worktree-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
  135. package/dist/chunks/{worktree-k536nnb8.js → bus-fhgnjd8f.js} +3 -3
  136. package/dist/chunks/{worktree-bgg6fpfq.js → bus-fny70jpy.js} +8 -8
  137. package/dist/chunks/{worktree-tmt7mk16.js → bus-fnzf6hh4.js} +36 -36
  138. package/dist/chunks/{worktree-hf8dhk55.js → bus-fq6jwnpn.js} +14 -14
  139. package/dist/chunks/{worktree-qqpbcr2p.js → bus-frqt40cp.js} +4 -4
  140. package/dist/chunks/{worktree-6h85yzk8.js → bus-fs5n14ns.js} +5 -5
  141. package/dist/chunks/{worktree-sqx6yyec.js → bus-fx9j3hb4.js} +8 -8
  142. package/dist/chunks/{worktree-7c9g9s0q.js → bus-fyet71y6.js} +13 -13
  143. package/dist/chunks/{worktree-qk8rxpda.js → bus-fzc03kzf.js} +8 -8
  144. package/dist/chunks/{worktree-t4zc915k.js → bus-g0c8njd6.js} +17 -17
  145. package/dist/chunks/{worktree-0q1r2kjj.js → bus-g1wftvqf.js} +20 -20
  146. package/dist/chunks/{worktree-gnm090bx.js → bus-g4fxxdad.js} +11 -11
  147. package/dist/chunks/{worktree-18g90bpv.js → bus-gcjdgkn2.js} +9 -9
  148. package/dist/chunks/{worktree-cnj75yzs.js → bus-h0rg6s60.js} +4 -4
  149. package/dist/chunks/{worktree-c1nvaaxv.js → bus-h1qqpagn.js} +4 -4
  150. package/dist/chunks/{worktree-6sayp01d.js → bus-h3z5mgtw.js} +25 -25
  151. package/dist/chunks/{worktree-mj3htrn7.js → bus-h4dxcp4f.js} +17 -17
  152. package/dist/chunks/{worktree-860029p8.js → bus-h9mbsjx4.js} +11 -11
  153. package/dist/chunks/{worktree-hndjt1e9.js → bus-hcysmks0.js} +11 -11
  154. package/dist/chunks/{worktree-7a1k840q.js → bus-hdmjpy1q.js} +17 -17
  155. package/dist/chunks/{worktree-2f5kzt4v.js → bus-hfvb93vm.js} +7 -7
  156. package/dist/chunks/{worktree-hgfegmhz.js → bus-hgfegmhz.js} +3 -3
  157. package/dist/chunks/{worktree-qq6sz745.js → bus-hgkk61tq.js} +18 -18
  158. package/dist/chunks/{worktree-hh7kjqtw.js → bus-hh7kjqtw.js} +1 -1
  159. package/dist/chunks/{worktree-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
  160. package/dist/chunks/{worktree-w8ps3wcc.js → bus-hpzmd9sp.js} +20 -20
  161. package/dist/chunks/{worktree-2j819t2x.js → bus-hvj4yv7n.js} +23 -23
  162. package/dist/chunks/{worktree-160yv0cs.js → bus-hw621kav.js} +8 -8
  163. package/dist/chunks/{worktree-33e1kph9.js → bus-jf9mttxe.js} +15 -15
  164. package/dist/chunks/{worktree-jfaecv01.js → bus-jfaecv01.js} +1 -1
  165. package/dist/chunks/{worktree-97p996b3.js → bus-jfeae8gq.js} +11 -11
  166. package/dist/chunks/{worktree-yx3jcsf5.js → bus-jgb4byfw.js} +36 -36
  167. package/dist/chunks/{worktree-97jk9fzp.js → bus-jh0n380r.js} +35 -35
  168. package/dist/chunks/{worktree-rjtdrb56.js → bus-jh77bd4v.js} +9 -9
  169. package/dist/chunks/{worktree-q2nqdedq.js → bus-jns8hwea.js} +9 -9
  170. package/dist/chunks/{worktree-n6jcsk88.js → bus-jpspt4jx.js} +9 -9
  171. package/dist/chunks/{worktree-9k2mwdeg.js → bus-jpvcj0cc.js} +6 -6
  172. package/dist/chunks/{worktree-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
  173. package/dist/chunks/{worktree-g0zebgfm.js → bus-k0a6q0yn.js} +22 -22
  174. package/dist/chunks/{worktree-gfhpa9gk.js → bus-k4xj7eng.js} +42 -42
  175. package/dist/chunks/{worktree-k814nvkf.js → bus-k814nvkf.js} +1 -1
  176. package/dist/chunks/{worktree-ts8fcpse.js → bus-k8awy0q8.js} +12 -12
  177. package/dist/chunks/{worktree-kcg78dnn.js → bus-kcg78dnn.js} +2 -2
  178. package/dist/chunks/{worktree-w66j29kr.js → bus-kcvnx629.js} +15 -15
  179. package/dist/chunks/{worktree-erny1hp5.js → bus-kep337bh.js} +30 -30
  180. package/dist/chunks/{worktree-211v3ywx.js → bus-kjtxyeth.js} +31 -31
  181. package/dist/chunks/{worktree-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
  182. package/dist/chunks/{worktree-df3kbw4d.js → bus-ktbdp5sq.js} +16 -16
  183. package/dist/chunks/{worktree-2mh92g0w.js → bus-kwd8c3vr.js} +11 -11
  184. package/dist/chunks/{worktree-09fe5ez7.js → bus-kxycnn0n.js} +11 -11
  185. package/dist/chunks/{worktree-m1714858.js → bus-m1714858.js} +1 -1
  186. package/dist/chunks/{worktree-wacb14vy.js → bus-m2gbvgsm.js} +7 -7
  187. package/dist/chunks/{worktree-0b8vrwjw.js → bus-m543aemt.js} +36 -36
  188. package/dist/chunks/{worktree-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{worktree-mb7mbhnz.js → bus-mb7mbhnz.js} +3 -3
  190. package/dist/chunks/{worktree-fkc1f79k.js → bus-mckw022z.js} +43 -43
  191. package/dist/chunks/{worktree-gcye4jv7.js → bus-mf08p8w6.js} +4 -4
  192. package/dist/chunks/{worktree-hk7hszd6.js → bus-mg78vh23.js} +29 -29
  193. package/dist/chunks/{worktree-4m8q87vh.js → bus-mkxsbdpa.js} +12 -12
  194. package/dist/chunks/{worktree-hyns4byn.js → bus-mq74yj6v.js} +26 -26
  195. package/dist/chunks/{worktree-chfqv0dp.js → bus-mrghrmjv.js} +8 -8
  196. package/dist/chunks/{worktree-2rar789x.js → bus-mv9srazj.js} +11 -11
  197. package/dist/chunks/{worktree-666ta36x.js → bus-mvnn004m.js} +16 -16
  198. package/dist/chunks/{worktree-nah043kf.js → bus-nah043kf.js} +1 -1
  199. package/dist/chunks/{worktree-3776k8q5.js → bus-nbb711pz.js} +11 -11
  200. package/dist/chunks/{worktree-wm1vm6w0.js → bus-ngqtdgwj.js} +11 -11
  201. package/dist/chunks/{worktree-xr8j28en.js → bus-nxkdkrxs.js} +45 -45
  202. package/dist/chunks/{worktree-gg4yr8n1.js → bus-ny5rdk5x.js} +21 -21
  203. package/dist/chunks/{worktree-p015t6z3.js → bus-p015t6z3.js} +2 -2
  204. package/dist/chunks/{worktree-x8mt7ajg.js → bus-p7xmw0vp.js} +32 -32
  205. package/dist/chunks/{worktree-gvnfypps.js → bus-pcg52kfg.js} +14 -14
  206. package/dist/chunks/{worktree-1ktbs3mv.js → bus-pftwp2vv.js} +85 -85
  207. package/dist/chunks/{worktree-pknna89w.js → bus-pknna89w.js} +1 -1
  208. package/dist/chunks/{worktree-71ygcs51.js → bus-pt50s3rp.js} +17 -17
  209. package/dist/chunks/{worktree-c325tjb6.js → bus-pvky507n.js} +16 -16
  210. package/dist/chunks/{worktree-532k8p5d.js → bus-q1fzghr8.js} +5 -5
  211. package/dist/chunks/{worktree-e1s0q7va.js → bus-q4tyq9ws.js} +5 -5
  212. package/dist/chunks/{worktree-rp6wgn9y.js → bus-q6jcx9v8.js} +17 -17
  213. package/dist/chunks/{worktree-5knxw5zw.js → bus-q7etwwh3.js} +350 -346
  214. package/dist/chunks/{worktree-0b2ad458.js → bus-qcejv4vs.js} +12 -12
  215. package/dist/chunks/{worktree-m7zsfgfm.js → bus-qen3sb0r.js} +21 -21
  216. package/dist/chunks/{worktree-6xk3x19f.js → bus-qhpag1je.js} +84 -84
  217. package/dist/chunks/{worktree-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
  218. package/dist/chunks/{worktree-qqvy8y24.js → bus-qqvy8y24.js} +1 -1
  219. package/dist/chunks/{worktree-wh471sqx.js → bus-qzp5va9j.js} +5 -5
  220. package/dist/chunks/{worktree-y7rptanb.js → bus-r13t3b9j.js} +8 -8
  221. package/dist/chunks/{worktree-r542h3bh.js → bus-r542h3bh.js} +1 -1
  222. package/dist/chunks/{worktree-b7wjnj3v.js → bus-ra8788f1.js} +16 -16
  223. package/dist/chunks/{worktree-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
  224. package/dist/chunks/{worktree-360wd41x.js → bus-rbhxwcn9.js} +29 -29
  225. package/dist/chunks/{worktree-zn3yprmb.js → bus-rea9cvrf.js} +13 -13
  226. package/dist/chunks/{worktree-7dvsg837.js → bus-rg3ak8wp.js} +12 -12
  227. package/dist/chunks/{worktree-f9201ej8.js → bus-rn70abkx.js} +25 -25
  228. package/dist/chunks/{worktree-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
  229. package/dist/chunks/{worktree-d6cs52tr.js → bus-s1ahy3nk.js} +25 -25
  230. package/dist/chunks/{worktree-95sp4hdf.js → bus-s6h2s3rz.js} +4 -4
  231. package/dist/chunks/{worktree-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
  232. package/dist/chunks/{worktree-7dwprhna.js → bus-sdvwnsbz.js} +43 -43
  233. package/dist/chunks/{worktree-zgntrsrs.js → bus-sf2xpkzh.js} +11 -11
  234. package/dist/chunks/{worktree-v8vd993n.js → bus-sj7nrpyn.js} +8 -8
  235. package/dist/chunks/{worktree-tx8ht019.js → bus-sn9h79g5.js} +15 -15
  236. package/dist/chunks/{worktree-d1r5081s.js → bus-sqbb0ctm.js} +5 -5
  237. package/dist/chunks/{worktree-b3mzhchz.js → bus-sstzxn5v.js} +30 -30
  238. package/dist/chunks/{worktree-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
  239. package/dist/chunks/{worktree-qzm6q9ch.js → bus-t1ncm3sw.js} +6 -6
  240. package/dist/chunks/{worktree-37kqz87b.js → bus-t8jxhxf0.js} +6 -6
  241. package/dist/chunks/{worktree-zy2d75w1.js → bus-tah5h4rf.js} +29 -29
  242. package/dist/chunks/{worktree-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
  243. package/dist/chunks/{worktree-nn94syh7.js → bus-tgq44zsz.js} +42 -42
  244. package/dist/chunks/{worktree-qr9qsn55.js → bus-tjpr2y5p.js} +32 -32
  245. package/dist/chunks/{worktree-5w72mvse.js → bus-tk3aqx3r.js} +5 -5
  246. package/dist/chunks/{worktree-mnsxfp09.js → bus-tk6xpnq1.js} +14 -14
  247. package/dist/chunks/{worktree-45hyrqvj.js → bus-tpgbm1m3.js} +6 -6
  248. package/dist/chunks/{worktree-2mnk3cpz.js → bus-tqqfg69e.js} +4 -4
  249. package/dist/chunks/{worktree-twssxy5n.js → bus-twssxy5n.js} +2 -2
  250. package/dist/chunks/{worktree-mf3y8h86.js → bus-v2870mkz.js} +58 -58
  251. package/dist/chunks/{worktree-sy53apyv.js → bus-v2j1w0x8.js} +27 -27
  252. package/dist/chunks/{worktree-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
  253. package/dist/chunks/{worktree-ag4vvxdv.js → bus-v8tswgn5.js} +5 -5
  254. package/dist/chunks/{worktree-82h3a1kw.js → bus-vbye706w.js} +22 -22
  255. package/dist/chunks/{worktree-2xfesqhp.js → bus-vh504zcn.js} +26 -26
  256. package/dist/chunks/{worktree-bq56hyj9.js → bus-vk9zw07y.js} +8 -8
  257. package/dist/chunks/{worktree-jr92mdzz.js → bus-vn19g02f.js} +11 -11
  258. package/dist/chunks/{worktree-n73q7gnv.js → bus-vngmfa0y.js} +23 -23
  259. package/dist/chunks/{worktree-rj9j3as3.js → bus-vqy5ky1c.js} +55 -55
  260. package/dist/chunks/{worktree-thj7mhbr.js → bus-vt4e1yq1.js} +18 -18
  261. package/dist/chunks/{worktree-4pzvwjr2.js → bus-vyba483h.js} +4 -4
  262. package/dist/chunks/{worktree-7q0y7xkk.js → bus-w169zm22.js} +11 -11
  263. package/dist/chunks/{worktree-w2eysc6j.js → bus-w2eysc6j.js} +2 -2
  264. package/dist/chunks/{worktree-v0t96s7a.js → bus-w35wzz9x.js} +4 -4
  265. package/dist/chunks/{worktree-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  266. package/dist/chunks/{worktree-6nyhrb0p.js → bus-w544y36y.js} +33 -33
  267. package/dist/chunks/{worktree-9t9nbwt3.js → bus-w5tfs3xv.js} +38 -38
  268. package/dist/chunks/{worktree-s7xmnr8t.js → bus-w67s4ywc.js} +4 -4
  269. package/dist/chunks/{worktree-0h8y3ex8.js → bus-w687dnns.js} +4 -4
  270. package/dist/chunks/{worktree-76cb1hcw.js → bus-w8qtt4th.js} +4 -4
  271. package/dist/chunks/{worktree-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
  272. package/dist/chunks/{worktree-wd87259q.js → bus-wd87259q.js} +1 -1
  273. package/dist/chunks/{worktree-wegkxhrn.js → bus-wegkxhrn.js} +2 -2
  274. package/dist/chunks/{worktree-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
  275. package/dist/chunks/{worktree-wa49e47f.js → bus-x98gaemw.js} +10 -10
  276. package/dist/chunks/{worktree-dyk9s1ne.js → bus-xcax8ehy.js} +4 -4
  277. package/dist/chunks/{worktree-ynq9889m.js → bus-xekbftp9.js} +33 -33
  278. package/dist/chunks/{worktree-1yhff8da.js → bus-xn1nx1d0.js} +12 -12
  279. package/dist/chunks/{worktree-d5k5mzsn.js → bus-xqy8bnpk.js} +32 -32
  280. package/dist/chunks/{worktree-4bzxpxbh.js → bus-xx90gxeb.js} +5 -5
  281. package/dist/chunks/{worktree-z14rfht5.js → bus-xxpp7b8h.js} +10 -10
  282. package/dist/chunks/{worktree-dq4stdtd.js → bus-y13v0twb.js} +4 -4
  283. package/dist/chunks/{worktree-2db5r0en.js → bus-yajc3msk.js} +5 -5
  284. package/dist/chunks/{worktree-yara3q77.js → bus-yara3q77.js} +2 -2
  285. package/dist/chunks/{worktree-c9n14t9e.js → bus-yawcbgfa.js} +9 -9
  286. package/dist/chunks/{worktree-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
  287. package/dist/chunks/{worktree-k0jpvv7x.js → bus-yerc3n1d.js} +20 -20
  288. package/dist/chunks/{worktree-eyq3zjg1.js → bus-yhbr98pk.js} +1 -1
  289. package/dist/chunks/{worktree-8yazd8jn.js → bus-yjrvtctt.js} +33 -33
  290. package/dist/chunks/{worktree-80kgc7k1.js → bus-ykcfw5aj.js} +38 -38
  291. package/dist/chunks/bus-ywk8mg2g.js +257 -0
  292. package/dist/chunks/{worktree-jpnvh877.js → bus-z4bv03nd.js} +8 -8
  293. package/dist/chunks/{worktree-2sctd9r8.js → bus-zdtacmaj.js} +13 -13
  294. package/dist/chunks/{worktree-qnqasnye.js → bus-zg0jbn27.js} +6 -6
  295. package/dist/chunks/{worktree-7w11hwx0.js → bus-zg8ezejd.js} +26 -26
  296. package/dist/chunks/{worktree-abbaypxx.js → bus-zjrxxzj0.js} +18 -18
  297. package/dist/chunks/{worktree-sfmvmqfk.js → bus-zjsk2z5z.js} +3 -3
  298. package/dist/chunks/{worktree-b9bzekrm.js → bus-zks02zyq.js} +26 -26
  299. package/dist/chunks/{worktree-1wvf0ff0.js → bus-zp9gm7r4.js} +7 -7
  300. package/dist/chunks/{worktree-vqqftvvv.js → bus-zr86xb8x.js} +11 -11
  301. package/dist/chunks/{worktree-chw17fk3.js → bus-zs176x18.js} +16 -16
  302. package/dist/chunks/{worktree-gf7njwar.js → bus-zv45q5yw.js} +23 -23
  303. package/dist/codemode/catalog.js +1 -1
  304. package/dist/codemode/instructions.js +9 -9
  305. package/dist/codemode/tool.js +3 -3
  306. package/dist/codemode/web.js +1 -1
  307. package/dist/command.js +95 -95
  308. package/dist/config/discovery.js +96 -96
  309. package/dist/config/integration.js +3 -3
  310. package/dist/config/managed.js +1 -1
  311. package/dist/config/markdown.js +1 -1
  312. package/dist/config/normalize.js +111 -111
  313. package/dist/config/plugin/agent.js +129 -129
  314. package/dist/config/plugin/command.js +226 -226
  315. package/dist/config/plugin/compaction.js +169 -169
  316. package/dist/config/plugin/compatibility.js +149 -149
  317. package/dist/config/plugin/entry-observer.js +1 -1
  318. package/dist/config/plugin/formatter.js +130 -130
  319. package/dist/config/plugin/image.js +129 -129
  320. package/dist/config/plugin/instruction.js +129 -129
  321. package/dist/config/plugin/location-watcher.js +129 -129
  322. package/dist/config/plugin/mcp.js +136 -136
  323. package/dist/config/plugin/policy.js +129 -129
  324. package/dist/config/plugin/provider.js +129 -129
  325. package/dist/config/plugin/reference.js +131 -131
  326. package/dist/config/plugin/shell.js +131 -131
  327. package/dist/config/plugin/skill-file.js +145 -145
  328. package/dist/config/plugin/skill-scan.js +1 -1
  329. package/dist/config/plugin/skill.js +152 -152
  330. package/dist/config/plugin/snapshot.js +129 -129
  331. package/dist/config/plugin/source.js +132 -132
  332. package/dist/config/plugin/tool-output.js +130 -130
  333. package/dist/config/plugin/websearch.js +130 -130
  334. package/dist/config/plugin/worktree.js +131 -131
  335. package/dist/config/variable.js +1 -1
  336. package/dist/config/watch.js +1 -1
  337. package/dist/config.js +134 -134
  338. package/dist/console-access.js +1 -1
  339. package/dist/credential/sql.js +2 -2
  340. package/dist/credential.js +93 -93
  341. package/dist/database/database.js +82 -82
  342. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  343. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  344. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  345. package/dist/database/drizzle/index.js +15 -15
  346. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  347. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  348. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  349. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  350. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  351. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  352. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  353. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  354. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  355. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  356. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  357. package/dist/database/drizzle.js +16 -16
  358. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  359. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  360. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  361. package/dist/database/migration/20260225215848_workspace.js +1 -1
  362. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  363. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  364. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  365. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  366. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  367. package/dist/database/migration/20260323234822_events.js +1 -1
  368. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  369. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  370. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  371. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  372. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  373. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  374. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  375. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  376. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  377. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  378. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  379. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  380. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  381. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  382. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  383. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  384. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  385. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  386. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  387. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  388. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  389. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  390. package/dist/database/migration/20260611035744_credential.js +1 -1
  391. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  392. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  393. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  394. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  395. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  396. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  397. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  398. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  399. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  400. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  401. package/dist/database/migration/20260812213948_worktree.js +1 -1
  402. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  403. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  404. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  405. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  406. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  407. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  408. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  409. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  410. package/dist/database/migration/20261025123711_blob.js +1 -1
  411. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  412. package/dist/database/migration/20261026223005_schedule.js +1 -1
  413. package/dist/database/migration/20261029002625_session_part.js +1 -1
  414. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  415. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  416. package/dist/database/migration.gen.js +59 -59
  417. package/dist/database/migration.js +61 -61
  418. package/dist/database/path.js +2 -2
  419. package/dist/database/schema.gen.js +1 -1
  420. package/dist/database/schema.sql.js +1 -1
  421. package/dist/database/sqlite.bun.js +1 -1
  422. package/dist/database/sqlite.js +1 -1
  423. package/dist/database/sqlite.node.js +1 -1
  424. package/dist/database/sqlite.workerd.js +1 -1
  425. package/dist/database/v1-migration.bun.js +97 -97
  426. package/dist/database/v1-migration.js +1 -1
  427. package/dist/effect/app-node-builder.js +392 -392
  428. package/dist/effect/app-node-platform.js +2 -2
  429. package/dist/effect/keyed-mutex.js +3 -3
  430. package/dist/effect/websocket-constructor.js +1 -1
  431. package/dist/environment/driver.js +1 -1
  432. package/dist/environment/environment.js +105 -105
  433. package/dist/environment/exec-defaults.js +2 -2
  434. package/dist/environment/files.js +1 -1
  435. package/dist/environment/index.js +107 -107
  436. package/dist/environment/local.js +2 -2
  437. package/dist/environment/memory.js +2 -2
  438. package/dist/environment/unavailable.js +3 -3
  439. package/dist/event/sql.js +1 -1
  440. package/dist/event-logger.js +82 -82
  441. package/dist/file-access.js +155 -155
  442. package/dist/file-mutation.js +106 -106
  443. package/dist/file-retention.js +1 -1
  444. package/dist/filesystem/fff.bun.js +2 -2
  445. package/dist/filesystem/fff.js +1 -1
  446. package/dist/filesystem/fff.node.js +2 -2
  447. package/dist/filesystem/fff.workerd.js +2 -2
  448. package/dist/filesystem/file-watch.js +88 -88
  449. package/dist/filesystem/location-watcher-policy.js +6 -6
  450. package/dist/filesystem/location-watcher.js +239 -239
  451. package/dist/filesystem/protected.js +3 -3
  452. package/dist/filesystem/search.js +111 -111
  453. package/dist/filesystem/watcher-binding.js +1 -1
  454. package/dist/filesystem/watcher.js +11 -11
  455. package/dist/filesystem.js +116 -116
  456. package/dist/form.js +90 -90
  457. package/dist/formatter/builtins.js +2 -2
  458. package/dist/formatter.js +99 -99
  459. package/dist/generate.js +121 -121
  460. package/dist/git.js +9 -9
  461. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  462. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  463. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  464. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  465. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  466. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  467. package/dist/github-copilot/copilot-provider.js +17 -17
  468. package/dist/github-copilot/models.js +111 -111
  469. package/dist/github-copilot/openai-compatible-error.js +1 -1
  470. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  471. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  472. package/dist/github-copilot/responses/openai-error.js +1 -1
  473. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  474. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  475. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  476. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  477. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  478. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  479. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  480. package/dist/image/notice.js +3 -3
  481. package/dist/image/photon-normalize.js +1 -1
  482. package/dist/image/photon-worker.js +1 -1
  483. package/dist/image/photon.js +4 -4
  484. package/dist/image.js +6 -6
  485. package/dist/instance/service.js +5 -5
  486. package/dist/instance.js +383 -383
  487. package/dist/instruction-discovery.js +92 -92
  488. package/dist/instructions/builtins.js +99 -99
  489. package/dist/instructions/index.js +3 -3
  490. package/dist/integration/connection.js +3 -3
  491. package/dist/integration.js +95 -95
  492. package/dist/job.js +86 -86
  493. package/dist/kv/sql.js +2 -2
  494. package/dist/kv.js +83 -83
  495. package/dist/location-activity.js +171 -171
  496. package/dist/location-lifecycle.js +149 -149
  497. package/dist/location-service-map.js +98 -98
  498. package/dist/location-services.js +380 -380
  499. package/dist/location.js +95 -95
  500. package/dist/managed-policy.js +3 -3
  501. package/dist/mcp/client.js +103 -103
  502. package/dist/mcp/index.js +115 -115
  503. package/dist/mcp/instructions.js +175 -175
  504. package/dist/mcp/oauth.js +88 -88
  505. package/dist/mcp/socket-client.js +1 -1
  506. package/dist/mcp/stdio.js +102 -102
  507. package/dist/mime.js +1 -1
  508. package/dist/modal/models.js +111 -111
  509. package/dist/model-resolver.js +111 -111
  510. package/dist/model-retry.js +1 -1
  511. package/dist/model.js +112 -112
  512. package/dist/models-dev/v1.js +1 -1
  513. package/dist/models-dev.js +120 -120
  514. package/dist/oauth/page.js +1 -1
  515. package/dist/permission/saved.js +92 -92
  516. package/dist/permission/sql.js +5 -5
  517. package/dist/permission.js +152 -152
  518. package/dist/persistent-pty/binary.bun.js +1 -1
  519. package/dist/persistent-pty/daemon.js +1 -1
  520. package/dist/persistent-pty/index.js +98 -98
  521. package/dist/persistent-pty/pty-binding.js +1 -1
  522. package/dist/persistent-pty.js +85 -85
  523. package/dist/plugin/agent.js +84 -84
  524. package/dist/plugin/command.js +112 -112
  525. package/dist/plugin/goal.js +3 -3
  526. package/dist/plugin/hooks.js +5 -5
  527. package/dist/plugin/host.js +232 -232
  528. package/dist/plugin/identity.js +5 -5
  529. package/dist/plugin/instance.js +5 -5
  530. package/dist/plugin/internal.js +359 -359
  531. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  532. package/dist/plugin/models-dev.js +109 -109
  533. package/dist/plugin/module.js +128 -128
  534. package/dist/plugin/optimize.js +2 -2
  535. package/dist/plugin/plan.js +145 -145
  536. package/dist/plugin/promise.js +1 -1
  537. package/dist/plugin/provider/amazon-bedrock.js +103 -103
  538. package/dist/plugin/provider/azure.js +129 -129
  539. package/dist/plugin/provider/cerebras.js +1 -1
  540. package/dist/plugin/provider/chatgpt.js +129 -129
  541. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
  542. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
  543. package/dist/plugin/provider/configured.js +125 -125
  544. package/dist/plugin/provider/credential-settings.js +84 -84
  545. package/dist/plugin/provider/databricks.js +1 -1
  546. package/dist/plugin/provider/digitalocean.js +105 -105
  547. package/dist/plugin/provider/dynamic.js +2 -2
  548. package/dist/plugin/provider/github-copilot.js +107 -107
  549. package/dist/plugin/provider/gitlab.js +106 -106
  550. package/dist/plugin/provider/google-vertex.js +126 -126
  551. package/dist/plugin/provider/kilo.js +1 -1
  552. package/dist/plugin/provider/llmgateway.js +88 -88
  553. package/dist/plugin/provider/lmstudio.js +138 -138
  554. package/dist/plugin/provider/local.js +135 -135
  555. package/dist/plugin/provider/modal.js +104 -104
  556. package/dist/plugin/provider/neon.js +1 -1
  557. package/dist/plugin/provider/nvidia.js +1 -1
  558. package/dist/plugin/provider/ollama.js +138 -138
  559. package/dist/plugin/provider/openai-context-caps.js +102 -102
  560. package/dist/plugin/provider/openai.js +129 -129
  561. package/dist/plugin/provider/opencode.js +131 -131
  562. package/dist/plugin/provider/openrouter.js +103 -103
  563. package/dist/plugin/provider/poe.js +89 -89
  564. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  565. package/dist/plugin/provider/sap-ai-core.js +103 -103
  566. package/dist/plugin/provider/sdk-factory.js +1 -1
  567. package/dist/plugin/provider/snowflake-cortex.js +128 -128
  568. package/dist/plugin/provider/vllm.js +138 -138
  569. package/dist/plugin/provider/xai.js +103 -103
  570. package/dist/plugin/provider/zenmux.js +1 -1
  571. package/dist/plugin/provider.js +178 -179
  572. package/dist/plugin/sdk.js +86 -86
  573. package/dist/plugin/service.js +3 -3
  574. package/dist/plugin/skill.js +146 -146
  575. package/dist/plugin/source-directory.js +1 -1
  576. package/dist/plugin/supervisor.js +371 -371
  577. package/dist/plugin/tool-input-repair.js +4 -4
  578. package/dist/plugin/update.js +6 -6
  579. package/dist/plugin/vcs/git.js +98 -98
  580. package/dist/plugin/vcs/hg.js +96 -96
  581. package/dist/plugin/verbosity.js +105 -105
  582. package/dist/plugin/warming.js +127 -127
  583. package/dist/plugin/websearch/exa.js +7 -7
  584. package/dist/plugin/websearch/firecrawl.js +8 -8
  585. package/dist/plugin/websearch/index.js +9 -9
  586. package/dist/plugin/websearch/mcp.js +2 -2
  587. package/dist/plugin/websearch/parallel.js +6 -6
  588. package/dist/plugin/websearch/tavily.js +6 -6
  589. package/dist/plugin/websearch/tinyfish.js +6 -6
  590. package/dist/plugin.js +243 -243
  591. package/dist/project/icon.js +5 -5
  592. package/dist/project/schema.js +2 -2
  593. package/dist/project/sql.js +4 -4
  594. package/dist/project.js +94 -94
  595. package/dist/provider.js +111 -111
  596. package/dist/pty/protocol.js +1 -1
  597. package/dist/pty/ticket.js +1 -1
  598. package/dist/pty.js +110 -110
  599. package/dist/reference/instructions.js +100 -100
  600. package/dist/reference.js +102 -102
  601. package/dist/repository-cache.js +92 -92
  602. package/dist/repository.js +1 -1
  603. package/dist/ripgrep/binary.js +2 -2
  604. package/dist/ripgrep.js +109 -109
  605. package/dist/rpc.js +98 -98
  606. package/dist/schedule/check.js +237 -237
  607. package/dist/schedule/sql.js +6 -6
  608. package/dist/schedule.js +251 -251
  609. package/dist/schema.js +1 -1
  610. package/dist/session/affinity.js +1 -1
  611. package/dist/session/background.js +1 -1
  612. package/dist/session/blob.js +128 -128
  613. package/dist/session/command.js +84 -84
  614. package/dist/session/compaction.js +171 -171
  615. package/dist/session/context.js +195 -195
  616. package/dist/session/diff.js +100 -100
  617. package/dist/session/environment.js +5 -5
  618. package/dist/session/error.js +5 -5
  619. package/dist/session/event.js +1 -1
  620. package/dist/session/execution/restart.js +241 -241
  621. package/dist/session/execution.js +161 -161
  622. package/dist/session/generate.js +197 -197
  623. package/dist/session/history.js +135 -135
  624. package/dist/session/inbox.js +146 -146
  625. package/dist/session/info.js +3 -3
  626. package/dist/session/instruction-entry.js +89 -89
  627. package/dist/session/instruction-state.js +8 -8
  628. package/dist/session/instructions.js +140 -140
  629. package/dist/session/message-updater.js +2 -2
  630. package/dist/session/message.js +1 -1
  631. package/dist/session/model-request.js +162 -162
  632. package/dist/session/model-transport.js +9 -9
  633. package/dist/session/move.js +163 -163
  634. package/dist/session/projector.js +142 -142
  635. package/dist/session/prompt.js +147 -147
  636. package/dist/session/recent-text.js +1 -1
  637. package/dist/session/revert.js +138 -138
  638. package/dist/session/run-coordinator.js +3 -3
  639. package/dist/session/runner/index.js +3 -3
  640. package/dist/session/runner/llm.js +246 -246
  641. package/dist/session/runner/max-steps.js +1 -1
  642. package/dist/session/runner/model.js +112 -112
  643. package/dist/session/runner/publish-llm-event.js +148 -148
  644. package/dist/session/runner/retry.js +5 -5
  645. package/dist/session/runner/step.js +161 -161
  646. package/dist/session/runner/to-llm-message.js +136 -136
  647. package/dist/session/schema.js +5 -5
  648. package/dist/session/session.js +179 -179
  649. package/dist/session/shell.js +143 -143
  650. package/dist/session/skill.js +146 -146
  651. package/dist/session/sql.js +5 -5
  652. package/dist/session/stats.js +83 -83
  653. package/dist/session/store.js +141 -141
  654. package/dist/session/stored.js +2 -2
  655. package/dist/session/subagent-completion.js +3 -3
  656. package/dist/session/subagent-job.js +226 -226
  657. package/dist/session/system-prompt.js +5 -5
  658. package/dist/session/title.js +199 -199
  659. package/dist/session/to-session-error.js +147 -147
  660. package/dist/session/transfer.js +234 -234
  661. package/dist/session/usage.js +1 -1
  662. package/dist/session.js +230 -230
  663. package/dist/shell/parse.js +6 -6
  664. package/dist/shell/result.js +1 -1
  665. package/dist/shell/scan.js +1 -1
  666. package/dist/shell/select.js +11 -11
  667. package/dist/shell.js +145 -145
  668. package/dist/skill/discovery.js +6 -6
  669. package/dist/skill/instructions.js +150 -150
  670. package/dist/skill.js +153 -153
  671. package/dist/snapshot.js +105 -105
  672. package/dist/state.js +1 -1
  673. package/dist/tool/html-markdown.js +1 -1
  674. package/dist/tool/http-body.js +1 -1
  675. package/dist/tool/mcp.js +174 -174
  676. package/dist/tool/plugin/edit.js +163 -163
  677. package/dist/tool/plugin/file-diff.js +1 -1
  678. package/dist/tool/plugin/glob.js +167 -167
  679. package/dist/tool/plugin/grep.js +167 -167
  680. package/dist/tool/plugin/image-generate.js +228 -228
  681. package/dist/tool/plugin/mcp-resource.js +161 -161
  682. package/dist/tool/plugin/opencode.js +160 -160
  683. package/dist/tool/plugin/patch.js +165 -165
  684. package/dist/tool/plugin/question.js +147 -147
  685. package/dist/tool/plugin/read.js +168 -168
  686. package/dist/tool/plugin/schedule.js +243 -243
  687. package/dist/tool/plugin/shell.js +228 -228
  688. package/dist/tool/plugin/skill.js +156 -156
  689. package/dist/tool/plugin/subagent.js +233 -233
  690. package/dist/tool/plugin/todo.js +152 -152
  691. package/dist/tool/plugin/webfetch.js +154 -154
  692. package/dist/tool/plugin/websearch.js +154 -154
  693. package/dist/tool/plugin/write.js +165 -165
  694. package/dist/tool/read-filesystem.js +114 -114
  695. package/dist/tool/runtime.js +1 -1
  696. package/dist/tool-output.js +7 -7
  697. package/dist/tool.js +16 -16
  698. package/dist/usage-limits.js +95 -95
  699. package/dist/util/error-summary.js +1 -1
  700. package/dist/util/git-executable.js +3 -3
  701. package/dist/util/lazy.js +1 -1
  702. package/dist/util/slug.js +1 -1
  703. package/dist/util/token.js +1 -1
  704. package/dist/util/which.js +1 -1
  705. package/dist/util/wildcard.js +1 -1
  706. package/dist/v1/config/agent.js +5 -5
  707. package/dist/v1/config/command.js +5 -5
  708. package/dist/v1/config/mcp.js +4 -4
  709. package/dist/v1/config/migrate.js +104 -104
  710. package/dist/v1/config/permission.js +3 -3
  711. package/dist/v1/config/plugin.js +3 -3
  712. package/dist/v1/config/provider-options.js +1 -1
  713. package/dist/v1/config/provider.js +4 -4
  714. package/dist/variant.js +105 -105
  715. package/dist/vcs/patch.js +1 -1
  716. package/dist/vcs.js +101 -101
  717. package/dist/voice.js +100 -100
  718. package/dist/websearch.js +94 -94
  719. package/dist/wellknown/plugin.js +84 -84
  720. package/dist/wellknown.js +91 -91
  721. package/dist/workspace/driver.js +7 -7
  722. package/dist/workspace/sql.js +1 -1
  723. package/dist/workspace.js +92 -92
  724. package/dist/worktree/directory.js +2 -2
  725. package/dist/worktree/git.js +11 -11
  726. package/dist/worktree/sql.js +5 -5
  727. package/dist/worktree/strategies.js +101 -101
  728. package/dist/worktree.js +112 -112
  729. package/package.json +8 -8
  730. package/dist/chunks/worktree-f8ma18fn.js +0 -18
  731. package/dist/chunks/worktree-vnp0me3e.js +0 -257
  732. /package/dist/chunks/{worktree-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  733. /package/dist/chunks/{worktree-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  734. /package/dist/chunks/{worktree-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  735. /package/dist/chunks/{worktree-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  736. /package/dist/chunks/{worktree-1kah00gy.js → bus-1kah00gy.js} +0 -0
  737. /package/dist/chunks/{worktree-24dcb14g.js → bus-24dcb14g.js} +0 -0
  738. /package/dist/chunks/{worktree-2710q6r3.js → bus-2710q6r3.js} +0 -0
  739. /package/dist/chunks/{worktree-2bv980vf.js → bus-2bv980vf.js} +0 -0
  740. /package/dist/chunks/{worktree-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  741. /package/dist/chunks/{worktree-359p4xyc.js → bus-359p4xyc.js} +0 -0
  742. /package/dist/chunks/{worktree-3asan66x.js → bus-3asan66x.js} +0 -0
  743. /package/dist/chunks/{worktree-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  744. /package/dist/chunks/{worktree-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  745. /package/dist/chunks/{worktree-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  746. /package/dist/chunks/{worktree-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  747. /package/dist/chunks/{worktree-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  748. /package/dist/chunks/{worktree-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  749. /package/dist/chunks/{worktree-53557ph1.js → bus-53557ph1.js} +0 -0
  750. /package/dist/chunks/{worktree-550bvhaj.js → bus-550bvhaj.js} +0 -0
  751. /package/dist/chunks/{worktree-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
  752. /package/dist/chunks/{worktree-6prwharc.js → bus-6prwharc.js} +0 -0
  753. /package/dist/chunks/{worktree-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
  754. /package/dist/chunks/{worktree-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  755. /package/dist/chunks/{worktree-7m9af43g.js → bus-7m9af43g.js} +0 -0
  756. /package/dist/chunks/{worktree-7stb81gk.js → bus-7stb81gk.js} +0 -0
  757. /package/dist/chunks/{worktree-822emrt2.js → bus-822emrt2.js} +0 -0
  758. /package/dist/chunks/{worktree-84wd9syh.js → bus-84wd9syh.js} +0 -0
  759. /package/dist/chunks/{worktree-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  760. /package/dist/chunks/{worktree-8n3pysct.js → bus-8n3pysct.js} +0 -0
  761. /package/dist/chunks/{worktree-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  762. /package/dist/chunks/{worktree-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  763. /package/dist/chunks/{worktree-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  764. /package/dist/chunks/{worktree-a058387c.js → bus-a058387c.js} +0 -0
  765. /package/dist/chunks/{worktree-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  766. /package/dist/chunks/{worktree-af5trqkr.js → bus-af5trqkr.js} +0 -0
  767. /package/dist/chunks/{worktree-afrmfg78.js → bus-afrmfg78.js} +0 -0
  768. /package/dist/chunks/{worktree-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  769. /package/dist/chunks/{worktree-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  770. /package/dist/chunks/{worktree-beh6qq61.js → bus-beh6qq61.js} +0 -0
  771. /package/dist/chunks/{worktree-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  772. /package/dist/chunks/{worktree-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  773. /package/dist/chunks/{worktree-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  774. /package/dist/chunks/{worktree-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
  775. /package/dist/chunks/{worktree-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  776. /package/dist/chunks/{worktree-d9fn303g.js → bus-d9fn303g.js} +0 -0
  777. /package/dist/chunks/{worktree-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  778. /package/dist/chunks/{worktree-dap0rakb.js → bus-dap0rakb.js} +0 -0
  779. /package/dist/chunks/{worktree-df08tz66.js → bus-df08tz66.js} +0 -0
  780. /package/dist/chunks/{worktree-dy18nga0.js → bus-dy18nga0.js} +0 -0
  781. /package/dist/chunks/{worktree-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  782. /package/dist/chunks/{worktree-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  783. /package/dist/chunks/{worktree-ean2d8b5.js → bus-ean2d8b5.js} +0 -0
  784. /package/dist/chunks/{worktree-ec1grn59.js → bus-ec1grn59.js} +0 -0
  785. /package/dist/chunks/{worktree-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  786. /package/dist/chunks/{worktree-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  787. /package/dist/chunks/{worktree-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  788. /package/dist/chunks/{worktree-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  789. /package/dist/chunks/{worktree-faypxj3z.js → bus-faypxj3z.js} +0 -0
  790. /package/dist/chunks/{worktree-fd410y7t.js → bus-fd410y7t.js} +0 -0
  791. /package/dist/chunks/{worktree-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
  792. /package/dist/chunks/{worktree-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  793. /package/dist/chunks/{worktree-g86h250q.js → bus-g86h250q.js} +0 -0
  794. /package/dist/chunks/{worktree-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  795. /package/dist/chunks/{worktree-gftt206x.js → bus-gftt206x.js} +0 -0
  796. /package/dist/chunks/{worktree-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
  797. /package/dist/chunks/{worktree-hk9envan.js → bus-hk9envan.js} +0 -0
  798. /package/dist/chunks/{worktree-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  799. /package/dist/chunks/{worktree-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  800. /package/dist/chunks/{worktree-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  801. /package/dist/chunks/{worktree-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  802. /package/dist/chunks/{worktree-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  803. /package/dist/chunks/{worktree-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
  804. /package/dist/chunks/{worktree-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
  805. /package/dist/chunks/{worktree-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  806. /package/dist/chunks/{worktree-m18g726c.js → bus-m18g726c.js} +0 -0
  807. /package/dist/chunks/{worktree-mp448xyj.js → bus-mp448xyj.js} +0 -0
  808. /package/dist/chunks/{worktree-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  809. /package/dist/chunks/{worktree-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  810. /package/dist/chunks/{worktree-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  811. /package/dist/chunks/{worktree-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
  812. /package/dist/chunks/{worktree-nh4v3znn.js → bus-nh4v3znn.js} +0 -0
  813. /package/dist/chunks/{worktree-njntx4h6.js → bus-njntx4h6.js} +0 -0
  814. /package/dist/chunks/{worktree-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
  815. /package/dist/chunks/{worktree-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  816. /package/dist/chunks/{worktree-q74kybfr.js → bus-q74kybfr.js} +0 -0
  817. /package/dist/chunks/{worktree-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  818. /package/dist/chunks/{worktree-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  819. /package/dist/chunks/{worktree-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  820. /package/dist/chunks/{worktree-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  821. /package/dist/chunks/{worktree-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  822. /package/dist/chunks/{worktree-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  823. /package/dist/chunks/{worktree-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  824. /package/dist/chunks/{worktree-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  825. /package/dist/chunks/{worktree-stkk57rt.js → bus-stkk57rt.js} +0 -0
  826. /package/dist/chunks/{worktree-t03h4f5z.js → bus-t03h4f5z.js} +0 -0
  827. /package/dist/chunks/{worktree-ty7weeps.js → bus-ty7weeps.js} +0 -0
  828. /package/dist/chunks/{worktree-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
  829. /package/dist/chunks/{worktree-w803qqfp.js → bus-w803qqfp.js} +0 -0
  830. /package/dist/chunks/{worktree-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  831. /package/dist/chunks/{worktree-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  832. /package/dist/chunks/{worktree-wtztk69x.js → bus-wtztk69x.js} +0 -0
  833. /package/dist/chunks/{worktree-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  834. /package/dist/chunks/{worktree-x61499pn.js → bus-x61499pn.js} +0 -0
  835. /package/dist/chunks/{worktree-y44na4kk.js → bus-y44na4kk.js} +0 -0
  836. /package/dist/chunks/{worktree-y8f7s663.js → bus-y8f7s663.js} +0 -0
  837. /package/dist/chunks/{worktree-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  838. /package/dist/chunks/{worktree-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
  839. /package/dist/chunks/{worktree-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-qjgzc4b4.js";
3
+ } from "./bus-8jztxfpf.js";
4
4
  import {
5
5
  Service86,
6
- node89
7
- } from "./worktree-9yke2vdy.js";
6
+ node90
7
+ } from "./bus-bffjwd0h.js";
8
8
  import {
9
- Event19,
10
- Service80,
11
- node83
12
- } from "./worktree-8jne4ghb.js";
9
+ Event17,
10
+ Service75,
11
+ node78
12
+ } from "./bus-d01pvx5j.js";
13
13
  import {
14
14
  Service83,
15
- node86
16
- } from "./worktree-pjb3r7bt.js";
15
+ node87
16
+ } from "./bus-cpq36wag.js";
17
17
  import {
18
- Service55,
19
- node58
20
- } from "./worktree-g0zebgfm.js";
18
+ Service80,
19
+ node83
20
+ } from "./bus-k0a6q0yn.js";
21
21
  import {
22
22
  ID15,
23
- Service79,
24
- node82
25
- } from "./worktree-b7wjnj3v.js";
23
+ Service76,
24
+ node79
25
+ } from "./bus-ra8788f1.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./worktree-204s3925.js";
29
+ } from "./bus-204s3925.js";
30
30
  import {
31
- ID14,
31
+ ID13,
32
32
  MethodID2,
33
- Service78,
34
- node81
35
- } from "./worktree-yxcs01xt.js";
33
+ Service74,
34
+ node77
35
+ } from "./bus-2r961k25.js";
36
36
  import {
37
37
  __export
38
- } from "./worktree-9rqn6x4v.js";
38
+ } from "./bus-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service35,
52
+ Service: () => Service33,
53
53
  Status: () => Status3,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured3,
56
- layer: () => layer16,
57
- node: () => node38
56
+ layer: () => layer14,
57
+ node: () => node36
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -104,7 +104,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
104
104
  var endpointLoads = makeUnsafe2();
105
105
  var cloneConfig = (config) => structuredClone(config);
106
106
 
107
- class Service35 extends Context.Service()("@opencode/MCP") {
107
+ class Service33 extends Context.Service()("@opencode/MCP") {
108
108
  }
109
109
  var Options3 = Schema.Struct({
110
110
  clientInfo: Schema.optional(Schema.Struct({
@@ -112,13 +112,13 @@ var Options3 = Schema.Struct({
112
112
  version: Schema.String
113
113
  }))
114
114
  });
115
- var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
115
+ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
116
116
  const location = yield* Service83;
117
- const environment = yield* Service55;
117
+ const environment = yield* Service80;
118
118
  const bus = yield* Service86;
119
- const forms = yield* Service79;
120
- const integration = yield* Service78;
121
- const credentials = yield* Service80;
119
+ const forms = yield* Service76;
120
+ const integration = yield* Service74;
121
+ const credentials = yield* Service75;
122
122
  const root = yield* Effect.scope;
123
123
  const fork = yield* FiberSet.makeRuntime();
124
124
  const servers = yield* Scope.fork(root, "parallel");
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
133
133
  return;
134
134
  const remote = entry.config;
135
135
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
136
- const integrationID = ID14.make(suffix);
136
+ const integrationID = ID13.make(suffix);
137
137
  entry.integrationID = integrationID;
138
138
  owned.add(integrationID);
139
139
  const methodID = MethodID2.make(suffix);
@@ -149,7 +149,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
149
149
  method: { id: methodID, type: "oauth", label: name },
150
150
  authorize: () => Effect.gen(function* () {
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service80, credentials));
152
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
153
153
  })
154
154
  });
155
155
  }).pipe(Scope.provide(scope));
@@ -164,7 +164,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
164
164
  if (entry.config.type !== "remote" || !entry.integrationID)
165
165
  return;
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service80, credentials));
167
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
168
168
  });
169
169
  const elicitation = {
170
170
  create: (input) => Effect.gen(function* () {
@@ -272,7 +272,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
272
272
  entry.scope = scope;
273
273
  const authProvider = yield* connectProvider(entry);
274
274
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
275
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope));
275
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service80, environment), Scope.provide(scope));
276
276
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
277
277
  if (Exit.isSuccess(result)) {
278
278
  entry.client = result.value.connection;
@@ -373,7 +373,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
373
373
  let closed = false;
374
374
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
375
375
  closed = true;
376
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
376
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service80, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
377
377
  const register = Effect.gen(function* () {
378
378
  if (closed) {
379
379
  yield* Scope.close(scope, Exit.void);
@@ -452,7 +452,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
452
452
  yield* startServer(name, entry);
453
453
  }).pipe(locks.withLock(name));
454
454
  });
455
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
455
+ fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
456
456
  const state = create3({
457
457
  name: "mcp",
458
458
  initial: () => ({
@@ -478,7 +478,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
478
478
  }),
479
479
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
480
480
  });
481
- return Service35.of({
481
+ return Service33.of({
482
482
  transform: state.transform,
483
483
  reload: state.reload,
484
484
  servers: Effect.fn("MCP.servers")(function* () {
@@ -613,12 +613,12 @@ function mergeCatalogs(catalogs) {
613
613
  }
614
614
  function configured3(options) {
615
615
  return makeLocationNode({
616
- service: Service35,
617
- layer: layer16(options),
618
- deps: [node86, node58, node89, node82, node81, node83]
616
+ service: Service33,
617
+ layer: layer14(options),
618
+ deps: [node87, node83, node90, node79, node77, node78]
619
619
  });
620
620
  }
621
- var node38 = configured3();
621
+ var node36 = configured3();
622
622
  function toElicitationField(key, property, required) {
623
623
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
624
624
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
669
669
  }
670
670
  }
671
671
 
672
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options3, layer16, configured3, node38, exports_mcp4 };
672
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service33, Options3, layer14, configured3, node36, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
- Service69
6
- } from "./worktree-3ndyf3yw.js";
5
+ Service60
6
+ } from "./bus-48w6hcnx.js";
7
7
  import {
8
- Info8,
8
+ Info11,
9
9
  ID5,
10
10
  Name2
11
- } from "./worktree-0q1r2kjj.js";
11
+ } from "./bus-g1wftvqf.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
18
18
  __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin48,
21
+ Plugin: () => Plugin45,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill3
24
24
  });
@@ -430,19 +430,19 @@ var OpencodeContent2 = opencode_default;
430
430
  var ReportContent2 = report_default;
431
431
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
432
432
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
433
- var Plugin48 = define({
433
+ var Plugin45 = define({
434
434
  id: "opencode.skill",
435
435
  effect: Effect.fn(function* (ctx) {
436
436
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
437
437
  yield* ctx.skill.transform((editor) => {
438
- editor.add(Info8.make({
438
+ editor.add(Info11.make({
439
439
  id: ID5.make("opencode"),
440
440
  name: Name2.make("OpenCode"),
441
441
  description: OpencodeDescription2,
442
442
  path: AbsolutePath2.make("/builtin/opencode.md"),
443
443
  content: OpencodeContent2
444
444
  }));
445
- editor.add(Info8.make({
445
+ editor.add(Info11.make({
446
446
  id: ID5.make("report"),
447
447
  name: Name2.make("Report"),
448
448
  description: REPORT_DESCRIPTION,
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
472
472
  `);
473
473
  });
474
474
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
475
- const config = yield* Service69;
475
+ const config = yield* Service60;
476
476
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
477
477
  });
478
478
  function terminal() {
@@ -486,4 +486,4 @@ function shell() {
486
486
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
487
487
  }
488
488
 
489
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin48, exports_skill3 };
489
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin45, exports_skill3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./worktree-b85szd7h.js";
3
+ } from "./bus-7w2fvyx3.js";
4
4
  import {
5
- Service65
6
- } from "./worktree-tc90wnbk.js";
5
+ Service53
6
+ } from "./bus-ebc9sjza.js";
7
7
  import {
8
- Service19
9
- } from "./worktree-x5xpvpef.js";
8
+ Service15
9
+ } from "./bus-ezxqpfxm.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./worktree-d4v9tmah.js";
12
+ } from "./bus-d4v9tmah.js";
13
13
  import {
14
- Info13,
14
+ Info7,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./worktree-9t9nbwt3.js";
19
+ } from "./bus-w5tfs3xv.js";
20
20
  import {
21
21
  __export
22
- } from "./worktree-9rqn6x4v.js";
22
+ } from "./bus-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin21,
30
+ Plugin: () => Plugin17,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -105,11 +105,11 @@ var ModelsOutput = Schema.Struct({
105
105
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
106
106
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
107
107
  });
108
- var Plugin21 = {
108
+ var Plugin17 = {
109
109
  id: "opencode.tools",
110
110
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
111
- const access = yield* Service19;
112
- const permission = yield* Service65;
111
+ const access = yield* Service15;
112
+ const permission = yield* Service53;
113
113
  const hook = (event) => Effect.sync(() => {
114
114
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
115
115
  });
@@ -161,7 +161,7 @@ var Plugin21 = {
161
161
  name: "worktree_create",
162
162
  description: "Create a named worktree. Returns its directory.",
163
163
  input: WorktreeCreateInput2,
164
- output: Info13,
164
+ output: Info7,
165
165
  options: { namespace: "opencode", codemode: true, pinned: true },
166
166
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
167
167
  });
@@ -258,4 +258,4 @@ function removeFailure(directory, error) {
258
258
  return `Unable to remove worktree ${directory}.`;
259
259
  }
260
260
 
261
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin21, exports_opencode };
261
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin17, exports_opencode };
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./worktree-z5v4ffb3.js";
5
+ } from "./bus-z5v4ffb3.js";
6
6
  import {
7
7
  Service83,
8
- node86
9
- } from "./worktree-pjb3r7bt.js";
8
+ node87
9
+ } from "./bus-cpq36wag.js";
10
10
  import {
11
- Service37,
12
- node40
13
- } from "./worktree-tf0tk0fq.js";
11
+ Service78,
12
+ node81
13
+ } from "./bus-b2zx6heh.js";
14
14
  import {
15
15
  __export
16
- } from "./worktree-9rqn6x4v.js";
16
+ } from "./bus-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event5,
27
+ Event: () => Event19,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError5,
34
- Service: () => Service36,
33
+ NotFoundError: () => NotFoundError12,
34
+ Service: () => Service77,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node39
37
+ node: () => node80
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError12 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content2 = Schema.Struct({
68
+ var Content3 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event5 = FileSystem.Event;
95
+ var Event19 = FileSystem.Event;
96
96
 
97
- class Service36 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service77 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
101
  const location = yield* Service83;
102
- const search = yield* Service37;
102
+ const search = yield* Service78;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError5({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError12({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError5({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError12({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError12({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError5({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError12({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service36.of({
121
+ return Service77.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError12({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError5({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError12({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError5({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError12({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node39 = makeLocationNode({
162
- service: Service36,
161
+ var node80 = makeLocationNode({
162
+ service: Service77,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node86, node40]
164
+ deps: [FSUtil.node, node87, node81]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service36, node39, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError12, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event19, Service77, node80, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service86,
3
- node89
4
- } from "./worktree-9yke2vdy.js";
3
+ node90
4
+ } from "./bus-bffjwd0h.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./worktree-204s3925.js";
8
+ } from "./bus-204s3925.js";
9
9
  import {
10
10
  Service83,
11
- node86
12
- } from "./worktree-pjb3r7bt.js";
11
+ node87
12
+ } from "./bus-cpq36wag.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID11,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service77,
20
- node80,
21
- Event16
22
- } from "./worktree-zy2d75w1.js";
19
+ Service68,
20
+ node70,
21
+ Event14
22
+ } from "./bus-tah5h4rf.js";
23
23
  import {
24
24
  __export
25
- } from "./worktree-9rqn6x4v.js";
25
+ } from "./bus-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,19 +30,19 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event15,
33
+ Event: () => Event13,
34
34
  Family: () => Family2,
35
- ID: () => ID12,
36
- Info: () => Info22,
35
+ ID: () => ID10,
36
+ Info: () => Info20,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref3,
40
- Service: () => Service74,
40
+ Service: () => Service67,
41
41
  Type: () => Type2,
42
42
  VariantID: () => VariantID2,
43
43
  compatibility: () => compatibility2,
44
44
  mergeCapabilities: () => mergeCapabilities2,
45
- node: () => node77,
45
+ node: () => node69,
46
46
  parse: () => parse5,
47
47
  supportsText: () => supportsText2
48
48
  });
@@ -50,8 +50,8 @@ import { Model } from "@opencode/schema/model";
50
50
  import { Context, Effect, Layer, Stream } from "effect";
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import { freeze } from "immer";
53
- import { Event as Event15 } from "@opencode/schema/model";
54
- var ID12 = Model.ID;
53
+ import { Event as Event13 } from "@opencode/schema/model";
54
+ var ID10 = Model.ID;
55
55
  var VariantID2 = Model.VariantID;
56
56
  var Family2 = Model.Family;
57
57
  var ReasoningField2 = Model.ReasoningField;
@@ -69,12 +69,12 @@ var mergeCapabilities2 = (config, base) => {
69
69
  var Cost2 = Model.Cost;
70
70
  var Type2 = Model.Type;
71
71
  var Ref3 = Model.Ref;
72
- var Info22 = Model.Info;
72
+ var Info20 = Model.Info;
73
73
 
74
- class Service74 extends Context.Service()("@opencode/Model") {
74
+ class Service67 extends Context.Service()("@opencode/Model") {
75
75
  }
76
- var layer = Layer.effect(Service74, Effect.gen(function* () {
77
- const providers = yield* Service77;
76
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
77
+ const providers = yield* Service68;
78
78
  const bus = yield* Service86;
79
79
  const location = yield* Service83;
80
80
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
122
122
  const models = writable(providerID);
123
123
  if (!models)
124
124
  return;
125
- const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
125
+ const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
126
126
  update(model);
127
127
  model.id = modelID;
128
128
  model.providerID = providerID;
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
191
191
  ];
192
192
  }));
193
193
  if (disableFree)
194
- for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
194
+ for (const providerID of [ID11.opencode, ID11.make("opencode-go")])
195
195
  byProvider.get(providerID)?.forEach((model, id, models) => {
196
196
  if (!model.cost.some((cost) => cost.input > 0))
197
197
  models.delete(id);
@@ -227,8 +227,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
227
227
  location: { directory: location.directory, workspaceID: location.workspaceID }
228
228
  });
229
229
  });
230
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
231
- return Service74.of({
230
+ yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
231
+ return Service67.of({
232
232
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
233
233
  reload,
234
234
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
247
247
  })
248
248
  });
249
249
  }));
250
- var node77 = makeLocationNode({ service: Service74, layer, deps: [node80, node89, node86] });
250
+ var node69 = makeLocationNode({ service: Service67, layer, deps: [node70, node90, node87] });
251
251
  var PREFERRED_FREE = [
252
252
  "big-pickle",
253
253
  "deepseek-v4.1-flash-free",
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
255
255
  "muse-spark-1.3-contributor-free"
256
256
  ];
257
257
  function preferFree(models) {
258
- const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
258
+ const freeOnly = models.every((model) => model.providerID === ID11.opencode && !model.cost.some((cost) => cost.input > 0));
259
259
  if (!freeOnly)
260
260
  return models;
261
261
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -274,9 +274,9 @@ function compatibility2(input) {
274
274
  function parse5(input) {
275
275
  const index = input.indexOf("/");
276
276
  return {
277
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
278
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
277
+ providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
278
+ modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
279
279
  };
280
280
  }
281
281
 
282
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service74, node77, supportsText2, compatibility2, parse5, exports_model2, Event15 };
282
+ export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info20, Service67, node69, supportsText2, compatibility2, parse5, exports_model2, Event13 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/console-access.ts
6
6
  var exports_console_access = {};