@opencode/core 0.0.0-dev-19568 → 0.0.0-dev-19570

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{filesystem-4f8bfcxm.js → bus-0bmcfma8.js} +11 -11
  9. package/dist/chunks/{filesystem-6zp4xm1r.js → bus-0ch8qyvr.js} +22 -22
  10. package/dist/chunks/{filesystem-nhj3pk2g.js → bus-0ft5728k.js} +15 -15
  11. package/dist/chunks/bus-0mesazry.js +4 -0
  12. package/dist/chunks/{filesystem-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{filesystem-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{filesystem-8akv9m9x.js → bus-0q85yanv.js} +14 -14
  15. package/dist/chunks/{filesystem-myekw2gp.js → bus-0rvzsnzh.js} +17 -17
  16. package/dist/chunks/{filesystem-5ctrep3m.js → bus-13f55rxq.js} +8 -8
  17. package/dist/chunks/{filesystem-kdsged9e.js → bus-14e5s19a.js} +9 -9
  18. package/dist/chunks/{filesystem-fyvhdr9h.js → bus-17xskt1m.js} +9 -9
  19. package/dist/chunks/{filesystem-ka7bdmkm.js → bus-1971h2ty.js} +38 -38
  20. package/dist/chunks/{filesystem-mhkvc446.js → bus-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/{filesystem-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{filesystem-ethbh4z7.js → bus-1dcmyt7q.js} +2 -2
  23. package/dist/chunks/{filesystem-m87kjwf8.js → bus-1ffj5hr7.js} +11 -11
  24. package/dist/chunks/{filesystem-6j4fq2cq.js → bus-1g2kwc9g.js} +11 -11
  25. package/dist/chunks/{filesystem-5rjrjdee.js → bus-1gcg2swa.js} +6 -6
  26. package/dist/chunks/{filesystem-0b51tgne.js → bus-1mhgpmmh.js} +25 -25
  27. package/dist/chunks/{filesystem-4fbncvv5.js → bus-1r2qyred.js} +6 -6
  28. package/dist/chunks/{filesystem-21r38tys.js → bus-21r38tys.js} +1 -1
  29. package/dist/chunks/{filesystem-eb2yma87.js → bus-22rzttx5.js} +9 -9
  30. package/dist/chunks/{filesystem-vywwb7xw.js → bus-234dm2bj.js} +2 -2
  31. package/dist/chunks/{filesystem-xb7w47hd.js → bus-23saz1kp.js} +5 -5
  32. package/dist/chunks/{filesystem-2402vzrj.js → bus-2402vzrj.js} +1 -1
  33. package/dist/chunks/{filesystem-vcybtvp5.js → bus-271p385v.js} +9 -9
  34. package/dist/chunks/{filesystem-wcy83pfm.js → bus-27fdv82p.js} +13 -13
  35. package/dist/chunks/{filesystem-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{filesystem-erhcz2jb.js → bus-2ckzgqv3.js} +24 -24
  37. package/dist/chunks/{filesystem-pbky73a2.js → bus-2djskdmr.js} +3 -3
  38. package/dist/chunks/{filesystem-tdk2wfqj.js → bus-2f536cz1.js} +9 -9
  39. package/dist/chunks/{filesystem-fsma24dd.js → bus-2gp10rzn.js} +5 -5
  40. package/dist/chunks/{filesystem-607tc6va.js → bus-2k8khapm.js} +5 -5
  41. package/dist/chunks/{filesystem-jxn345vr.js → bus-2xyebys0.js} +17 -17
  42. package/dist/chunks/{filesystem-b1tz6w3s.js → bus-30mvjzmx.js} +30 -30
  43. package/dist/chunks/{filesystem-696tvegr.js → bus-30pqz63q.js} +32 -32
  44. package/dist/chunks/{filesystem-xrr0m7w9.js → bus-334mtn2p.js} +14 -14
  45. package/dist/chunks/bus-371w62z2.js +247 -0
  46. package/dist/chunks/{filesystem-jexxy024.js → bus-377tdzm5.js} +3 -3
  47. package/dist/chunks/{filesystem-ftyr94h4.js → bus-3bdnfhpy.js} +30 -30
  48. package/dist/chunks/{filesystem-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{filesystem-haa1g6we.js → bus-3fv80nb4.js} +33 -33
  50. package/dist/chunks/{filesystem-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{filesystem-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{filesystem-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{filesystem-rgrjgzhx.js → bus-462wv2j1.js} +20 -20
  54. package/dist/chunks/{filesystem-sf0gthgt.js → bus-4agbkdj3.js} +18 -18
  55. package/dist/chunks/{filesystem-64ddj6v7.js → bus-4b40vsya.js} +1 -1
  56. package/dist/chunks/{filesystem-4as8h3gg.js → bus-4dd5jxqt.js} +13 -13
  57. package/dist/chunks/{filesystem-bjbm878y.js → bus-4fgnkb88.js} +5 -5
  58. package/dist/chunks/{filesystem-3723sw29.js → bus-4g01fjsn.js} +5 -5
  59. package/dist/chunks/{filesystem-bs4q3tqg.js → bus-4jk0qxj4.js} +6 -6
  60. package/dist/chunks/bus-4kb6yah9.js +26 -0
  61. package/dist/chunks/{filesystem-f7ehr2sm.js → bus-4ph09amq.js} +9 -9
  62. package/dist/chunks/{filesystem-rxdk16p3.js → bus-4pk39vze.js} +20 -20
  63. package/dist/chunks/{filesystem-p0ydpdje.js → bus-4td4y4b3.js} +1 -1
  64. package/dist/chunks/{filesystem-tv2fxbte.js → bus-55sraxqh.js} +11 -8
  65. package/dist/chunks/{filesystem-33w4ejhs.js → bus-56gdpj1q.js} +6 -6
  66. package/dist/chunks/{filesystem-5daktx2q.js → bus-5daktx2q.js} +1 -1
  67. package/dist/chunks/{filesystem-975yhv65.js → bus-5g77nda4.js} +24 -24
  68. package/dist/chunks/{filesystem-thcje0ms.js → bus-5hhq8srk.js} +18 -18
  69. package/dist/chunks/{filesystem-3bxse654.js → bus-5ph07jxe.js} +11 -11
  70. package/dist/chunks/{filesystem-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{filesystem-4p7x74p9.js → bus-5ze6kv9s.js} +11 -11
  72. package/dist/chunks/{filesystem-ecfkvkmx.js → bus-5zr57rw5.js} +22 -22
  73. package/dist/chunks/{filesystem-9104srmq.js → bus-61r41eaq.js} +20 -20
  74. package/dist/chunks/{filesystem-298asx42.js → bus-641kt8g4.js} +25 -25
  75. package/dist/chunks/{filesystem-xb3nqwnp.js → bus-64wrsgp1.js} +61 -61
  76. package/dist/chunks/{filesystem-669tq793.js → bus-669tq793.js} +1 -1
  77. package/dist/chunks/{filesystem-4skj9pjn.js → bus-67dz7xe6.js} +4 -4
  78. package/dist/chunks/{filesystem-rph3zd4r.js → bus-6anwy9fs.js} +4 -4
  79. package/dist/chunks/{filesystem-dn7swrv3.js → bus-6dc8cscg.js} +28 -28
  80. package/dist/chunks/{filesystem-p0hmzt3n.js → bus-6dkvr0nf.js} +7 -7
  81. package/dist/chunks/{filesystem-zdx06d9s.js → bus-6g49tt7n.js} +29 -29
  82. package/dist/chunks/{filesystem-h0vwgry8.js → bus-6jb52xp7.js} +11 -11
  83. package/dist/chunks/{filesystem-72jmdy6r.js → bus-6kt1brbc.js} +29 -29
  84. package/dist/chunks/{filesystem-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  85. package/dist/chunks/{filesystem-71q4at8m.js → bus-71q4at8m.js} +1 -1
  86. package/dist/chunks/{filesystem-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{filesystem-ez02qrbp.js → bus-7d52b4ts.js} +1 -1
  88. package/dist/chunks/{filesystem-pecb0brz.js → bus-7gvwkz6m.js} +5 -5
  89. package/dist/chunks/{filesystem-xxj3pgp3.js → bus-7t19srph.js} +1 -1
  90. package/dist/chunks/{filesystem-b762qnyw.js → bus-7v8mrxea.js} +30 -30
  91. package/dist/chunks/{filesystem-5nrew705.js → bus-7x2gvtfy.js} +5 -5
  92. package/dist/chunks/{filesystem-81swgkk7.js → bus-81swgkk7.js} +2 -2
  93. package/dist/chunks/{filesystem-wqntmd11.js → bus-846kb21p.js} +6 -6
  94. package/dist/chunks/{filesystem-a2hw0sqp.js → bus-894aw507.js} +40 -40
  95. package/dist/chunks/{filesystem-89znhe33.js → bus-89znhe33.js} +1 -1
  96. package/dist/chunks/{filesystem-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  97. package/dist/chunks/{filesystem-1xzg4q7f.js → bus-8de9g2wa.js} +8 -8
  98. package/dist/chunks/{filesystem-cerc8atz.js → bus-8gs75axt.js} +18 -18
  99. package/dist/chunks/{filesystem-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
  100. package/dist/chunks/{filesystem-703jyx7f.js → bus-8ppq07x6.js} +8 -8
  101. package/dist/chunks/{filesystem-x6h9ntm8.js → bus-8ptxwh5a.js} +30 -30
  102. package/dist/chunks/{filesystem-re9amv7g.js → bus-9gs77c9s.js} +157 -157
  103. package/dist/chunks/{filesystem-zb3fmyt6.js → bus-9nkb7wgy.js} +286 -286
  104. package/dist/chunks/{filesystem-6kkxyhkv.js → bus-9ya5zr4m.js} +4 -4
  105. package/dist/chunks/{filesystem-4v46yx8e.js → bus-9yzj8nsj.js} +7 -7
  106. package/dist/chunks/{filesystem-wbcpzrvz.js → bus-a0rbwe21.js} +4 -4
  107. package/dist/chunks/{filesystem-5c4hm403.js → bus-a1bz86dw.js} +3 -3
  108. package/dist/chunks/{filesystem-fc5gyn3k.js → bus-a5fdd1f3.js} +9 -9
  109. package/dist/chunks/{filesystem-6gwpwpyd.js → bus-a7afs06d.js} +21 -21
  110. package/dist/chunks/{filesystem-aaet6srn.js → bus-aaet6srn.js} +2 -2
  111. package/dist/chunks/{filesystem-k2qtg38n.js → bus-amrfq6w6.js} +32 -32
  112. package/dist/chunks/{filesystem-6gypj2re.js → bus-b51m2zsk.js} +25 -25
  113. package/dist/chunks/{filesystem-rnfn6xxq.js → bus-b52vn635.js} +25 -25
  114. package/dist/chunks/{filesystem-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{filesystem-p5w9prz9.js → bus-bcerr2wv.js} +24 -24
  116. package/dist/chunks/{filesystem-xbv0k4ba.js → bus-bmfd5zff.js} +39 -39
  117. package/dist/chunks/{filesystem-evbgk2k8.js → bus-c78bbtc9.js} +5 -5
  118. package/dist/chunks/{filesystem-9j5jfgtr.js → bus-cby4dax6.js} +24 -24
  119. package/dist/chunks/{filesystem-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{filesystem-5whwrpxa.js → bus-cftjh0pp.js} +11 -8
  121. package/dist/chunks/{filesystem-y45wrhxb.js → bus-cgns8hyh.js} +8 -8
  122. package/dist/chunks/{filesystem-gft05b0a.js → bus-ctzssw83.js} +8 -8
  123. package/dist/chunks/{filesystem-vd431jt0.js → bus-cxjxmgke.js} +10 -10
  124. package/dist/chunks/{filesystem-eb4y5yy0.js → bus-d01nnmxe.js} +39 -39
  125. package/dist/chunks/{filesystem-a3r4dcrj.js → bus-d16qd7aj.js} +2 -2
  126. package/dist/chunks/{filesystem-t000jqpf.js → bus-d171mqxg.js} +17 -17
  127. package/dist/chunks/{filesystem-d979a45b.js → bus-djx5tkqn.js} +3 -3
  128. package/dist/chunks/{filesystem-7nwp8zja.js → bus-dphstccg.js} +11 -11
  129. package/dist/chunks/{filesystem-dpkg50ah.js → bus-dpkg50ah.js} +1 -1
  130. package/dist/chunks/{filesystem-qen1jmg8.js → bus-dxr9kpty.js} +33 -33
  131. package/dist/chunks/{filesystem-e5nv3ght.js → bus-e5nv3ght.js} +2 -2
  132. package/dist/chunks/{filesystem-xwwz9aqf.js → bus-ec8389mk.js} +4 -4
  133. package/dist/chunks/bus-ef5x83kb.js +15 -0
  134. package/dist/chunks/{filesystem-efttx8x1.js → bus-epdwxhd2.js} +3 -3
  135. package/dist/chunks/{filesystem-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{filesystem-dzhcmde1.js → bus-ezae1qs8.js} +6 -6
  137. package/dist/chunks/{filesystem-hdnk95c8.js → bus-f828m53h.js} +2 -2
  138. package/dist/chunks/{filesystem-y80z5qnm.js → bus-f9jtafww.js} +20 -20
  139. package/dist/chunks/{filesystem-pge2bfmc.js → bus-fgw8ghar.js} +11 -11
  140. package/dist/chunks/{filesystem-dq26kvy6.js → bus-fm1a330d.js} +18 -18
  141. package/dist/chunks/{filesystem-mrjzwcm0.js → bus-fpt1t5k9.js} +22 -22
  142. package/dist/chunks/{filesystem-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{filesystem-cpcnfgyy.js → bus-g4jtkv0q.js} +30 -30
  144. package/dist/chunks/{filesystem-gea7vc3h.js → bus-g6ddfetr.js} +5 -5
  145. package/dist/chunks/{filesystem-yrr26vyh.js → bus-g7392d0a.js} +25 -25
  146. package/dist/chunks/{filesystem-yawef6kw.js → bus-g79e3arp.js} +4 -4
  147. package/dist/chunks/{filesystem-yvrn8c55.js → bus-g8vphm7h.js} +10 -10
  148. package/dist/chunks/{filesystem-t7nbeyr2.js → bus-gd4ngw4f.js} +13 -13
  149. package/dist/chunks/{filesystem-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{filesystem-yrz8q0k0.js → bus-ger25q1p.js} +5 -5
  151. package/dist/chunks/{filesystem-nbvvbhgb.js → bus-ggnfx1zm.js} +78 -78
  152. package/dist/chunks/{filesystem-es5dr4fw.js → bus-ghhf1gy0.js} +8 -8
  153. package/dist/chunks/{filesystem-2b6sywcb.js → bus-gndjvj2z.js} +8 -8
  154. package/dist/chunks/{filesystem-c8266qxr.js → bus-gnrgb9v9.js} +8 -8
  155. package/dist/chunks/{filesystem-2bt6bea8.js → bus-gsx0ryk4.js} +9 -9
  156. package/dist/chunks/{filesystem-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{filesystem-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
  158. package/dist/chunks/{filesystem-zqngs88h.js → bus-h08befas.js} +11 -11
  159. package/dist/chunks/{filesystem-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{filesystem-k6z5z3xm.js → bus-hbd7vws1.js} +4 -4
  161. package/dist/chunks/{filesystem-2tfmgkzg.js → bus-hfdr1yjj.js} +4 -4
  162. package/dist/chunks/{filesystem-px514bpm.js → bus-hfxc90m1.js} +24 -24
  163. package/dist/chunks/{filesystem-ky7as88a.js → bus-hfzqgcyy.js} +16 -16
  164. package/dist/chunks/{filesystem-ecd1f3mq.js → bus-hj3k4jh9.js} +4 -4
  165. package/dist/chunks/{filesystem-p6j6tyky.js → bus-hk44n11j.js} +9 -9
  166. package/dist/chunks/{filesystem-631045jg.js → bus-hkyvkxds.js} +26 -26
  167. package/dist/chunks/{filesystem-8et7pj57.js → bus-hp2wwktp.js} +13 -13
  168. package/dist/chunks/bus-ht5y0zrb.js +18 -0
  169. package/dist/chunks/{filesystem-tryb73nk.js → bus-htxnrknq.js} +6 -6
  170. package/dist/chunks/{filesystem-zshj55xc.js → bus-j0n016qx.js} +25 -25
  171. package/dist/chunks/{filesystem-j56e64zr.js → bus-j56e64zr.js} +1 -1
  172. package/dist/chunks/{filesystem-5q02cxx3.js → bus-j83byb14.js} +4 -4
  173. package/dist/chunks/{filesystem-tm94zk3c.js → bus-j8mgqwvx.js} +16 -16
  174. package/dist/chunks/{filesystem-0jsm5b6f.js → bus-jggyssmj.js} +13 -13
  175. package/dist/chunks/{filesystem-qjnxxf51.js → bus-jv01nqvq.js} +5 -5
  176. package/dist/chunks/{filesystem-50mzsvk4.js → bus-jw80jp6b.js} +4 -4
  177. package/dist/chunks/{filesystem-w7cks01r.js → bus-jybjc72p.js} +16 -16
  178. package/dist/chunks/{filesystem-rxjvbk8n.js → bus-k04vznwt.js} +1 -1
  179. package/dist/chunks/{filesystem-rr25vpab.js → bus-k1pnz2cv.js} +10 -10
  180. package/dist/chunks/{filesystem-6qxnajbz.js → bus-k4ckfpra.js} +24 -24
  181. package/dist/chunks/{filesystem-arpbwta6.js → bus-kbedzpe2.js} +24 -24
  182. package/dist/chunks/{filesystem-0ezsa6vy.js → bus-kbj8wr2s.js} +36 -36
  183. package/dist/chunks/{filesystem-v4hmzr0r.js → bus-kbmmzrfa.js} +8 -8
  184. package/dist/chunks/{filesystem-kg06axw8.js → bus-kg06axw8.js} +1 -1
  185. package/dist/chunks/{filesystem-7061gxvt.js → bus-kjtbq1wq.js} +24 -24
  186. package/dist/chunks/{filesystem-1q26ypmg.js → bus-kq4p5btq.js} +16 -16
  187. package/dist/chunks/{filesystem-rfp29srv.js → bus-krxgbyqk.js} +27 -27
  188. package/dist/chunks/{filesystem-vjstzn3j.js → bus-kskytfej.js} +13 -13
  189. package/dist/chunks/{filesystem-jjf0vtdq.js → bus-kv6faprq.js} +14 -14
  190. package/dist/chunks/{filesystem-y3xz725g.js → bus-m437k3d3.js} +25 -25
  191. package/dist/chunks/{filesystem-mtd6x72z.js → bus-m733rx17.js} +6 -6
  192. package/dist/chunks/{filesystem-t15xvjkv.js → bus-m8kaps5v.js} +17 -17
  193. package/dist/chunks/{filesystem-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{filesystem-9c1k5ss1.js → bus-m9wy7qrr.js} +5 -5
  195. package/dist/chunks/{filesystem-s9q5j7ef.js → bus-mhct95dk.js} +8 -8
  196. package/dist/chunks/{filesystem-3e73f7fn.js → bus-mp5cac3t.js} +22 -22
  197. package/dist/chunks/{filesystem-x1cde7tm.js → bus-n21kq4ae.js} +11 -11
  198. package/dist/chunks/{filesystem-ypz4327q.js → bus-n6zxh35m.js} +4 -4
  199. package/dist/chunks/{filesystem-v7t6t3ee.js → bus-neh0hyzc.js} +26 -26
  200. package/dist/chunks/{filesystem-hjt4xg1x.js → bus-nhy5jxhy.js} +4 -4
  201. package/dist/chunks/{filesystem-wprd8xj9.js → bus-nja4g5ja.js} +15 -15
  202. package/dist/chunks/{filesystem-mmgf1rqt.js → bus-njsca4c1.js} +11 -11
  203. package/dist/chunks/{filesystem-57v6fmny.js → bus-nk8q2g86.js} +16 -16
  204. package/dist/chunks/{filesystem-fm98w790.js → bus-nnm0m2vm.js} +9 -9
  205. package/dist/chunks/{filesystem-fgsjaxv0.js → bus-nt8hxhfc.js} +3 -3
  206. package/dist/chunks/{filesystem-8aabwx5n.js → bus-ntzps28c.js} +20 -20
  207. package/dist/chunks/{filesystem-da6kr1wx.js → bus-nv5vn7qx.js} +2 -2
  208. package/dist/chunks/{filesystem-yqtqx2tb.js → bus-nvmga65c.js} +1 -1
  209. package/dist/chunks/{filesystem-xg954myy.js → bus-nxs71vds.js} +8 -8
  210. package/dist/chunks/{filesystem-t0x5rdq8.js → bus-p1wf2k30.js} +9 -9
  211. package/dist/chunks/{filesystem-z2708axn.js → bus-pd33rgkw.js} +25 -25
  212. package/dist/chunks/{filesystem-ga5yzwkb.js → bus-pekwdztj.js} +15 -15
  213. package/dist/chunks/{filesystem-bp0xbca5.js → bus-phre0exm.js} +41 -41
  214. package/dist/chunks/{filesystem-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  215. package/dist/chunks/{filesystem-yzpfgjrz.js → bus-pk8w8bk6.js} +6 -6
  216. package/dist/chunks/{filesystem-pknna89w.js → bus-pknna89w.js} +1 -1
  217. package/dist/chunks/{filesystem-75va9qk2.js → bus-prqh86n1.js} +11 -11
  218. package/dist/chunks/{filesystem-5762gc32.js → bus-ptn3epm2.js} +31 -31
  219. package/dist/chunks/{filesystem-fpnq3hwf.js → bus-pw6fdyzd.js} +13 -13
  220. package/dist/chunks/{filesystem-e7tx2v0e.js → bus-q6jxhr7p.js} +12 -12
  221. package/dist/chunks/{filesystem-tj8y1zy0.js → bus-qd28bed1.js} +15 -15
  222. package/dist/chunks/{filesystem-yx6mkdzk.js → bus-qpmbtp2f.js} +49 -49
  223. package/dist/chunks/{filesystem-kfs8rg3h.js → bus-qryfzg1h.js} +2 -2
  224. package/dist/chunks/{filesystem-qsdy395h.js → bus-qsdy395h.js} +1 -1
  225. package/dist/chunks/{filesystem-9qpqmwv0.js → bus-qv39a0h3.js} +8 -8
  226. package/dist/chunks/{filesystem-e99qm4q4.js → bus-qynpn6w3.js} +9 -9
  227. package/dist/chunks/{filesystem-r9mregkx.js → bus-r9mregkx.js} +2 -2
  228. package/dist/chunks/{filesystem-tkmwgdpd.js → bus-ratrq7cm.js} +7 -7
  229. package/dist/chunks/{filesystem-5m7h1hre.js → bus-rncwbxby.js} +15 -15
  230. package/dist/chunks/{filesystem-epn31rr5.js → bus-rp9eysdn.js} +7 -7
  231. package/dist/chunks/{filesystem-y9mn02hf.js → bus-rrsck48p.js} +16 -16
  232. package/dist/chunks/{filesystem-rk9hj1v7.js → bus-rxx5xmz4.js} +51 -51
  233. package/dist/chunks/{filesystem-eaj1djv9.js → bus-s8d7rejh.js} +6 -6
  234. package/dist/chunks/{filesystem-mzhavs24.js → bus-s9d6zh0h.js} +37 -37
  235. package/dist/chunks/{filesystem-nrtb1m71.js → bus-shjsgrxb.js} +13 -13
  236. package/dist/chunks/{filesystem-hfk3zaat.js → bus-sqh6nayk.js} +11 -11
  237. package/dist/chunks/{filesystem-rvzfv4w1.js → bus-ssx0akr1.js} +8 -8
  238. package/dist/chunks/{filesystem-0z4swx6k.js → bus-svmeqp0f.js} +12 -12
  239. package/dist/chunks/{filesystem-rgyfsfc5.js → bus-t1c45aet.js} +30 -30
  240. package/dist/chunks/{filesystem-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{filesystem-tdstcens.js → bus-tdstcens.js} +1 -1
  242. package/dist/chunks/{filesystem-0yf7gmgh.js → bus-tgnjgtxt.js} +3 -3
  243. package/dist/chunks/{filesystem-85c4hbm5.js → bus-th0k3b77.js} +19 -19
  244. package/dist/chunks/{filesystem-7krdaasy.js → bus-th5xa07d.js} +6 -6
  245. package/dist/chunks/{filesystem-ee5p72rr.js → bus-tmfmshf6.js} +3 -3
  246. package/dist/chunks/{filesystem-gb4851xq.js → bus-tns9284t.js} +30 -30
  247. package/dist/chunks/{filesystem-n8v6jt5n.js → bus-trqrstes.js} +18 -18
  248. package/dist/chunks/{filesystem-tvtrv512.js → bus-tvtrv512.js} +1 -1
  249. package/dist/chunks/{filesystem-mz2wz6jn.js → bus-v00d0rf7.js} +21 -21
  250. package/dist/chunks/{filesystem-7bnzk546.js → bus-ve6nm2s5.js} +6 -6
  251. package/dist/chunks/{filesystem-veqvce7d.js → bus-veqvce7d.js} +1 -1
  252. package/dist/chunks/{filesystem-9d82za01.js → bus-vgrnjjxn.js} +20 -20
  253. package/dist/chunks/{filesystem-7rrn560x.js → bus-vhvgae7m.js} +8 -8
  254. package/dist/chunks/{filesystem-06dxphr1.js → bus-vj81g6vn.js} +4 -4
  255. package/dist/chunks/{filesystem-nyr44rzh.js → bus-vqq20hcc.js} +47 -47
  256. package/dist/chunks/{filesystem-9v1c99ce.js → bus-vqy652gj.js} +81 -81
  257. package/dist/chunks/{filesystem-n7ghmjtx.js → bus-vwddtshc.js} +7 -7
  258. package/dist/chunks/{filesystem-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{filesystem-k1j6gk9a.js → bus-w3tyj9k1.js} +6 -6
  260. package/dist/chunks/{filesystem-1b5k9ny0.js → bus-w3wqnbwq.js} +10 -10
  261. package/dist/chunks/{filesystem-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{filesystem-7pqa36gv.js → bus-w5f57rs9.js} +12 -12
  263. package/dist/chunks/{filesystem-4mwvkeyx.js → bus-wam37p85.js} +10 -10
  264. package/dist/chunks/{filesystem-wd87259q.js → bus-wd87259q.js} +1 -1
  265. package/dist/chunks/{filesystem-xez80017.js → bus-wwkhhn1t.js} +16 -16
  266. package/dist/chunks/{filesystem-wcft5t0g.js → bus-wz2jsvc0.js} +20 -20
  267. package/dist/chunks/{filesystem-vz4k8wbp.js → bus-wzk3psm3.js} +4 -4
  268. package/dist/chunks/{filesystem-84r56gr5.js → bus-wzvxt2x2.js} +1 -1
  269. package/dist/chunks/{filesystem-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  270. package/dist/chunks/{filesystem-vm9edkyf.js → bus-xdgxy0vz.js} +17 -17
  271. package/dist/chunks/{filesystem-27fbez5x.js → bus-xrpv7mmk.js} +9 -9
  272. package/dist/chunks/{filesystem-9s312kc4.js → bus-xtgghfpp.js} +9 -9
  273. package/dist/chunks/{filesystem-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{filesystem-akfg16cj.js → bus-y8dsy1ds.js} +4 -4
  275. package/dist/chunks/{filesystem-8m5v51r2.js → bus-y95q8cn7.js} +40 -40
  276. package/dist/chunks/{filesystem-4f92c8s9.js → bus-ybkecxqz.js} +14 -14
  277. package/dist/chunks/{filesystem-e0tp7zzd.js → bus-yms94mzx.js} +20 -20
  278. package/dist/chunks/{filesystem-1acjjqhc.js → bus-yp2x3t23.js} +4 -4
  279. package/dist/chunks/{filesystem-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{filesystem-yrznvahk.js → bus-yrznvahk.js} +2 -2
  281. package/dist/chunks/{filesystem-nm2epvtw.js → bus-ytjjq03a.js} +21 -21
  282. package/dist/chunks/{filesystem-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{filesystem-z63w68vq.js → bus-z63w68vq.js} +2 -2
  284. package/dist/chunks/{filesystem-zvt5dnpc.js → bus-zcrspsvn.js} +4 -4
  285. package/dist/chunks/{filesystem-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{filesystem-3p9h8pr0.js → bus-zh3ex7ps.js} +10 -10
  287. package/dist/chunks/{filesystem-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{filesystem-2ah6ycde.js → bus-zt4wyys7.js} +26 -26
  289. package/dist/chunks/{filesystem-w2w9rvzr.js → bus-zwreznzq.js} +45 -45
  290. package/dist/chunks/{filesystem-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -79
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +19 -19
  298. package/dist/config/plugin/agent.js +121 -119
  299. package/dist/config/plugin/command.js +213 -212
  300. package/dist/config/plugin/compaction.js +159 -157
  301. package/dist/config/plugin/compatibility.js +137 -135
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +120 -119
  304. package/dist/config/plugin/image.js +119 -117
  305. package/dist/config/plugin/instruction.js +89 -87
  306. package/dist/config/plugin/location-watcher.js +119 -117
  307. package/dist/config/plugin/mcp.js +130 -128
  308. package/dist/config/plugin/policy.js +118 -116
  309. package/dist/config/plugin/provider.js +117 -115
  310. package/dist/config/plugin/reference.js +121 -119
  311. package/dist/config/plugin/shell.js +119 -118
  312. package/dist/config/plugin/skill-file.js +101 -99
  313. package/dist/config/plugin/skill.js +140 -138
  314. package/dist/config/plugin/snapshot.js +119 -117
  315. package/dist/config/plugin/source.js +121 -119
  316. package/dist/config/plugin/tool-output.js +121 -119
  317. package/dist/config/plugin/websearch.js +115 -113
  318. package/dist/config/plugin/worktree.js +122 -120
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +123 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -364
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -90
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +92 -90
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -101
  414. package/dist/file-mutation.js +93 -91
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -218
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +103 -102
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -86
  432. package/dist/generate.js +94 -94
  433. package/dist/git.js +6 -4
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +7 -7
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -355
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -84
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +132 -130
  467. package/dist/location-mutation.js +103 -101
  468. package/dist/location-service-map.js +85 -83
  469. package/dist/location-services.js +353 -352
  470. package/dist/location.js +80 -78
  471. package/dist/mcp/client.js +90 -88
  472. package/dist/mcp/index.js +101 -99
  473. package/dist/mcp/instructions.js +124 -122
  474. package/dist/mcp/oauth.js +3 -3
  475. package/dist/mcp/stdio.js +89 -87
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +7 -7
  478. package/dist/model-resolver.js +87 -87
  479. package/dist/model.js +8 -8
  480. package/dist/models-dev.js +83 -83
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -110
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -101
  491. package/dist/plugin/command.js +100 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -215
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -326
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +76 -76
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -99
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  504. package/dist/plugin/provider/azure.js +121 -120
  505. package/dist/plugin/provider/cerebras.js +2 -2
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -119
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -119
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -116
  510. package/dist/plugin/provider/digitalocean.js +80 -80
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +81 -81
  515. package/dist/plugin/provider/gitlab.js +3 -3
  516. package/dist/plugin/provider/google-vertex.js +2 -2
  517. package/dist/plugin/provider/kilo.js +2 -2
  518. package/dist/plugin/provider/llmgateway.js +77 -77
  519. package/dist/plugin/provider/lmstudio.js +121 -119
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +121 -119
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +79 -79
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -119
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +121 -119
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -158
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +137 -135
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +342 -341
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +85 -83
  546. package/dist/plugin/vcs/hg.js +85 -83
  547. package/dist/plugin/warming.js +116 -114
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +227 -226
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +79 -77
  559. package/dist/provider.js +7 -7
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +95 -94
  564. package/dist/reference/instructions.js +88 -86
  565. package/dist/reference.js +90 -88
  566. package/dist/repository-cache.js +80 -78
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +96 -95
  570. package/dist/rpc.js +85 -83
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +131 -129
  574. package/dist/session/context.js +151 -149
  575. package/dist/session/diff.js +87 -85
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +217 -216
  580. package/dist/session/execution.js +126 -124
  581. package/dist/session/generate.js +152 -150
  582. package/dist/session/history.js +13 -13
  583. package/dist/session/inbox.js +89 -89
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +92 -90
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +117 -115
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +130 -128
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -102
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -87
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -227
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +87 -87
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -112
  604. package/dist/session/runner/step.js +123 -121
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +172 -171
  608. package/dist/session/shell.js +134 -133
  609. package/dist/session/skill.js +102 -100
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -208
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +151 -149
  617. package/dist/session/to-session-error.js +111 -109
  618. package/dist/session/transfer.js +210 -209
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -212
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +15 -15
  625. package/dist/shell.js +134 -133
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +106 -104
  628. package/dist/skill.js +111 -109
  629. package/dist/snapshot.js +90 -88
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +125 -123
  634. package/dist/tool/plugin/edit.js +119 -117
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +121 -120
  637. package/dist/tool/plugin/grep.js +123 -122
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +119 -117
  640. package/dist/tool/plugin/question.js +104 -102
  641. package/dist/tool/plugin/read.js +124 -123
  642. package/dist/tool/plugin/shell.js +214 -213
  643. package/dist/tool/plugin/skill.js +110 -108
  644. package/dist/tool/plugin/subagent.js +218 -217
  645. package/dist/tool/plugin/webfetch.js +109 -107
  646. package/dist/tool/plugin/websearch.js +111 -109
  647. package/dist/tool/plugin/write.js +121 -119
  648. package/dist/tool/read-filesystem.js +95 -94
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +11 -11
  652. package/dist/types/util/git-executable.d.ts +2 -0
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +9 -0
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +3 -3
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +4 -4
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +88 -86
  681. package/dist/websearch.js +83 -83
  682. package/dist/wellknown/plugin.js +75 -75
  683. package/dist/wellknown.js +80 -80
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +79 -79
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -8
  689. package/dist/worktree/refresh.js +345 -344
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree.js +95 -93
  692. package/package.json +8 -8
  693. package/dist/chunks/filesystem-6kdq0pjd.js +0 -4
  694. package/dist/chunks/filesystem-q509s3k3.js +0 -18
  695. package/dist/chunks/filesystem-rh7ezj45.js +0 -26
  696. package/dist/chunks/filesystem-v8z7968n.js +0 -247
  697. /package/dist/chunks/{filesystem-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{filesystem-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{filesystem-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{filesystem-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{filesystem-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{filesystem-2710q6r3.js → bus-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{filesystem-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{filesystem-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{filesystem-359p4xyc.js → bus-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{filesystem-3asan66x.js → bus-3asan66x.js} +0 -0
  707. /package/dist/chunks/{filesystem-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{filesystem-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{filesystem-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{filesystem-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{filesystem-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{filesystem-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{filesystem-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{filesystem-53557ph1.js → bus-53557ph1.js} +0 -0
  715. /package/dist/chunks/{filesystem-550bvhaj.js → bus-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{filesystem-6prwharc.js → bus-6prwharc.js} +0 -0
  717. /package/dist/chunks/{filesystem-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{filesystem-7m9af43g.js → bus-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{filesystem-822emrt2.js → bus-822emrt2.js} +0 -0
  720. /package/dist/chunks/{filesystem-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{filesystem-8n3pysct.js → bus-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{filesystem-922hggd3.js → bus-922hggd3.js} +0 -0
  723. /package/dist/chunks/{filesystem-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{filesystem-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{filesystem-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{filesystem-af5trqkr.js → bus-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{filesystem-afrmfg78.js → bus-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{filesystem-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{filesystem-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{filesystem-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{filesystem-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{filesystem-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{filesystem-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{filesystem-d9fn303g.js → bus-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{filesystem-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{filesystem-dajrwvna.js → bus-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{filesystem-dap0rakb.js → bus-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{filesystem-df08tz66.js → bus-df08tz66.js} +0 -0
  739. /package/dist/chunks/{filesystem-dy18nga0.js → bus-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{filesystem-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{filesystem-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{filesystem-ec1grn59.js → bus-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{filesystem-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{filesystem-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{filesystem-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{filesystem-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{filesystem-faypxj3z.js → bus-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{filesystem-fd410y7t.js → bus-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{filesystem-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{filesystem-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{filesystem-g86h250q.js → bus-g86h250q.js} +0 -0
  752. /package/dist/chunks/{filesystem-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{filesystem-gftt206x.js → bus-gftt206x.js} +0 -0
  754. /package/dist/chunks/{filesystem-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{filesystem-hk9envan.js → bus-hk9envan.js} +0 -0
  756. /package/dist/chunks/{filesystem-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
  757. /package/dist/chunks/{filesystem-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{filesystem-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{filesystem-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{filesystem-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{filesystem-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{filesystem-mp448xyj.js → bus-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{filesystem-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{filesystem-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{filesystem-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{filesystem-njntx4h6.js → bus-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{filesystem-paphc93g.js → bus-paphc93g.js} +0 -0
  768. /package/dist/chunks/{filesystem-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{filesystem-q74kybfr.js → bus-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{filesystem-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{filesystem-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{filesystem-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{filesystem-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{filesystem-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{filesystem-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{filesystem-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{filesystem-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{filesystem-twg0f83k.js → bus-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{filesystem-w803qqfp.js → bus-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{filesystem-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{filesystem-wtztk69x.js → bus-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{filesystem-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{filesystem-x61499pn.js → bus-x61499pn.js} +0 -0
  784. /package/dist/chunks/{filesystem-y44na4kk.js → bus-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{filesystem-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{filesystem-y8f7s663.js → bus-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{filesystem-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{filesystem-ym463w8f.js → bus-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{filesystem-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./filesystem-vz4k8wbp.js";
4
+ } from "./bus-wzk3psm3.js";
5
5
  import {
6
- node37
7
- } from "./filesystem-6zp4xm1r.js";
6
+ node58
7
+ } from "./bus-0ch8qyvr.js";
8
8
  import {
9
- Service10,
10
- node13
11
- } from "./filesystem-erhcz2jb.js";
9
+ Service4,
10
+ node7
11
+ } from "./bus-2ckzgqv3.js";
12
12
  import {
13
- Service25
14
- } from "./filesystem-q509s3k3.js";
13
+ Service28
14
+ } from "./bus-ht5y0zrb.js";
15
15
  import {
16
- node16,
17
- ID2
18
- } from "./filesystem-rgrjgzhx.js";
16
+ node19,
17
+ ID3
18
+ } from "./bus-462wv2j1.js";
19
19
  import {
20
- Service8,
21
- node11
22
- } from "./filesystem-v4hmzr0r.js";
20
+ Service12,
21
+ node15
22
+ } from "./bus-kbmmzrfa.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./filesystem-zb3fmyt6.js";
26
+ } from "./bus-9nkb7wgy.js";
27
27
  import {
28
- make7,
28
+ make4,
29
29
  LoadError2
30
- } from "./filesystem-y45wrhxb.js";
30
+ } from "./bus-cgns8hyh.js";
31
31
  import {
32
32
  Updated2,
33
- Service7,
34
- node10
35
- } from "./filesystem-1b5k9ny0.js";
33
+ Service11,
34
+ node14
35
+ } from "./bus-w3wqnbwq.js";
36
36
  import {
37
- Service4,
38
- node7
39
- } from "./filesystem-f7ehr2sm.js";
37
+ Service10,
38
+ node13
39
+ } from "./bus-4ph09amq.js";
40
40
  import {
41
41
  __export
42
- } from "./filesystem-9rqn6x4v.js";
42
+ } from "./bus-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
115
115
  failures: [
116
116
  ...failures.values(),
117
117
  ...ordered.filter(duplicate).map((plugin) => ({
118
- id: ID2.make(plugin.id),
118
+ id: ID3.make(plugin.id),
119
119
  source: plugin.source ?? { type: "builtin" },
120
120
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
121
121
  features: { server: true, ...plugin.features }
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  };
126
126
  });
127
127
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service25;
129
- const sdk = yield* Service7;
130
- const instance = yield* Service8;
131
- const sources = yield* Service10;
132
- const modules = yield* make7();
128
+ const registry = yield* Service28;
129
+ const sdk = yield* Service11;
130
+ const instance = yield* Service12;
131
+ const sources = yield* Service4;
132
+ const modules = yield* make4();
133
133
  const bus = yield* Service79;
134
- const updates = yield* Service4;
134
+ const updates = yield* Service10;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node16,
210
- node10,
211
- node11,
212
- node13,
209
+ node19,
210
+ node14,
211
+ node15,
213
212
  node7,
213
+ node13,
214
214
  node84,
215
215
  Npm.node,
216
- node37,
216
+ node58,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service8,
9
+ Service: () => Service12,
10
10
  bound: () => bound2,
11
- node: () => node11
11
+ node: () => node15
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service8 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service12 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node11 = makeLocationNode({
19
- service: Service8,
18
+ var node15 = makeLocationNode({
19
+ service: Service12,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service8, Service8.of({ all: () => stamped }));
29
+ return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service8, node11, bound2, exports_instance2 };
32
+ export { Service12, node15, bound2, exports_instance2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./filesystem-vz4k8wbp.js";
4
+ } from "./bus-wzk3psm3.js";
5
5
  import {
6
6
  __export
7
- } from "./filesystem-9rqn6x4v.js";
7
+ } from "./bus-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -16,17 +16,17 @@ __export(exports_form, {
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID12,
20
- Info: () => Info26,
19
+ ID: () => ID11,
20
+ Info: () => Info24,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError7,
24
- Reply: () => Reply3,
25
- Service: () => Service62,
23
+ NotFoundError: () => NotFoundError8,
24
+ Reply: () => Reply2,
25
+ Service: () => Service67,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer21,
29
- node: () => node66,
28
+ layer: () => layer25,
29
+ node: () => node72,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
@@ -35,17 +35,17 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event16 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID12 = Form.ID;
39
- var Info26 = Form.Info;
38
+ var ID11 = Form.ID;
39
+ var Info24 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply3 = Form.Reply;
45
+ var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID12
47
+ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID11
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID12
56
+ id: ID11
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID12
64
+ id: ID11
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID12,
72
+ id: ID11,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service62 extends Context.Service()("@opencode/Form") {
82
+ class Service67 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer21 = Layer.effect(Service62, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service67, Effect.gen(function* () {
85
85
  const bus = yield* Service79;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID12.create();
92
+ const id = input.id ?? ID11.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer21 = Layer.effect(Service62, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service62.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service67.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node66 = makeLocationNode({ service: Service62, layer: layer21, deps: [node84] });
158
+ var node72 = makeLocationNode({ service: Service67, layer: layer25, deps: [node84] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID12, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service62, layer21, node66, validateAnswer2, validateFields2, exports_form, Event16 };
310
+ export { ID11, Info24, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service67, layer25, node72, validateAnswer2, validateFields2, exports_form, Event16 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service39
3
- } from "./filesystem-e99qm4q4.js";
2
+ Service49
3
+ } from "./bus-qynpn6w3.js";
4
4
  import {
5
- Service46
6
- } from "./filesystem-7bnzk546.js";
5
+ Service43
6
+ } from "./bus-ve6nm2s5.js";
7
7
  import {
8
8
  detect2
9
- } from "./filesystem-3smtnn6g.js";
9
+ } from "./bus-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./filesystem-q509s3k3.js";
12
+ } from "./bus-ht5y0zrb.js";
13
13
  import {
14
- Service58
15
- } from "./filesystem-1xzg4q7f.js";
14
+ Service73
15
+ } from "./bus-8de9g2wa.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./filesystem-dzhcmde1.js";
19
+ } from "./bus-ezae1qs8.js";
20
20
  import {
21
21
  prepare3,
22
- Service35
23
- } from "./filesystem-arpbwta6.js";
22
+ Service30
23
+ } from "./bus-kbedzpe2.js";
24
24
  import {
25
25
  __export
26
- } from "./filesystem-9rqn6x4v.js";
26
+ } from "./bus-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service46;
42
+ const instances = yield* Service43;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service58;
45
+ const hooks = yield* Service73;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service35;
64
+ const skillService = yield* Service30;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service39;
128
+ const image = yield* Service49;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./filesystem-vz4k8wbp.js";
4
+ } from "./bus-wzk3psm3.js";
5
5
  import {
6
6
  environment2
7
- } from "./filesystem-ecfkvkmx.js";
7
+ } from "./bus-5zr57rw5.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./filesystem-sk3qaz4a.js";
10
+ } from "./bus-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError9,
20
- Options: () => Options7,
19
+ NotFoundError: () => NotFoundError5,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service65,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured7,
25
- layer: () => layer23,
26
- node: () => node69
22
+ Service: () => Service37,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured3,
25
+ layer: () => layer13,
26
+ node: () => node41
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options7 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service65 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service37 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service65, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service37, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service65, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError9({ ptyID: id });
75
+ return yield* new NotFoundError5({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service65, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service65, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service65.of({
242
+ return Service37.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service65, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer23 = makeLayer();
259
- var configured7 = (options) => makeGlobalNode({
260
- service: Service65,
261
- layer: options === undefined ? layer23 : makeLayer(options),
258
+ var layer13 = makeLayer();
259
+ var configured3 = (options) => makeGlobalNode({
260
+ service: Service37,
261
+ layer: options === undefined ? layer13 : makeLayer(options),
262
262
  deps: [node84, Global.node]
263
263
  });
264
- var node69 = configured7();
264
+ var node41 = configured3();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options7, UnavailableError3, NotFoundError9, Service65, layer23, configured7, node69, exports_persistent_pty, Handoff2 };
304
+ export { Options3, UnavailableError2, NotFoundError5, Service37, layer13, configured3, node41, exports_persistent_pty, Handoff2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service32
3
- } from "./filesystem-8m5v51r2.js";
2
+ Service53
3
+ } from "./bus-y95q8cn7.js";
4
4
  import {
5
- Service28
6
- } from "./filesystem-a2hw0sqp.js";
5
+ Service29
6
+ } from "./bus-894aw507.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin35,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin22,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin35 = define({
20
+ var Plugin22 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service32;
28
- const mcp = yield* Service28;
27
+ const config = yield* Service53;
28
+ const mcp = yield* Service29;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin35, register2, exports_mcp2 };
49
+ export { Plugin22, register2, exports_mcp };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service62
3
- } from "./filesystem-7061gxvt.js";
2
+ Service67
3
+ } from "./bus-kjtbq1wq.js";
4
4
  import {
5
- Service54
6
- } from "./filesystem-rk9hj1v7.js";
5
+ Service69
6
+ } from "./bus-rxx5xmz4.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin47,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin47 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service62;
57
- const permission = yield* Service54;
56
+ const forms = yield* Service67;
57
+ const permission = yield* Service69;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
118
+ export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };