@opencode/core 0.0.0-dev-20712 → 0.0.0-dev-20715

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +70 -70
  7. package/dist/chunks/{form-25b7azff.js → provider-0cxmct1s.js} +50 -50
  8. package/dist/chunks/{form-46rybbhe.js → provider-0dhm1rcx.js} +33 -33
  9. package/dist/chunks/provider-0fsz745q.js +26 -0
  10. package/dist/chunks/{form-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{form-6kzp9tjq.js → provider-0r3c1bmw.js} +5 -5
  12. package/dist/chunks/{form-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{form-h9pdt6sj.js → provider-0wcth310.js} +24 -24
  14. package/dist/chunks/{form-kvyym21z.js → provider-0xqzcv5y.js} +20 -20
  15. package/dist/chunks/{form-1yjpjcr4.js → provider-1163jw7g.js} +16 -16
  16. package/dist/chunks/{form-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{form-1dvck2a7.js → provider-1dvck2a7.js} +2 -2
  18. package/dist/chunks/{form-x6srj39b.js → provider-1vjz8z3p.js} +12 -12
  19. package/dist/chunks/provider-1x11rq2a.js +18 -0
  20. package/dist/chunks/{form-mfjewbd5.js → provider-200hjz6c.js} +11 -11
  21. package/dist/chunks/{form-mkxprw0w.js → provider-28jwxmbs.js} +31 -31
  22. package/dist/chunks/{form-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{form-e2ekxyxj.js → provider-2jehwaqq.js} +18 -18
  24. package/dist/chunks/{form-15gefpzg.js → provider-2pa5b8yk.js} +8 -8
  25. package/dist/chunks/{form-777szttk.js → provider-2wq70wkw.js} +1 -1
  26. package/dist/chunks/{form-nyr8w1ke.js → provider-35x89qye.js} +9 -9
  27. package/dist/chunks/{form-srv86p4c.js → provider-3artydav.js} +4 -4
  28. package/dist/chunks/{form-03xyy9gs.js → provider-3d704yse.js} +8 -8
  29. package/dist/chunks/{form-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{form-5w9yjztw.js → provider-3g8j9he4.js} +1 -1
  31. package/dist/chunks/{form-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{form-7vfe0jxp.js → provider-3jkcmf8p.js} +28 -28
  33. package/dist/chunks/{form-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{form-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{form-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{form-zrq8kphx.js → provider-4a0nv7mx.js} +8 -8
  37. package/dist/chunks/{form-e5vfwkta.js → provider-4ggjnsff.js} +26 -26
  38. package/dist/chunks/{form-0k7fsqbg.js → provider-4jg3qfzk.js} +11 -11
  39. package/dist/chunks/{form-q1swvmxz.js → provider-4p6503b6.js} +3 -3
  40. package/dist/chunks/{form-4ts7tf6z.js → provider-4ts7tf6z.js} +2 -2
  41. package/dist/chunks/{form-6raz6jxr.js → provider-4wth5kqg.js} +49 -49
  42. package/dist/chunks/{form-emw1ng5r.js → provider-5225jpmy.js} +7 -7
  43. package/dist/chunks/{form-54ma36ye.js → provider-54ma36ye.js} +1 -1
  44. package/dist/chunks/{form-33w4ejhs.js → provider-56gdpj1q.js} +6 -6
  45. package/dist/chunks/{form-1t3ws46a.js → provider-5e63mr2f.js} +18 -18
  46. package/dist/chunks/{form-9655znhp.js → provider-5gcv7zty.js} +24 -24
  47. package/dist/chunks/{form-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{form-wte5p5wk.js → provider-5nwkeqz8.js} +15 -15
  49. package/dist/chunks/{form-mb14aw74.js → provider-5pyjqqve.js} +2 -2
  50. package/dist/chunks/{form-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
  51. package/dist/chunks/{form-en9mxp96.js → provider-5tcm9639.js} +9 -9
  52. package/dist/chunks/{form-3hfgbjq7.js → provider-630da412.js} +11 -11
  53. package/dist/chunks/{form-gtsdgcz5.js → provider-63hsd74t.js} +11 -11
  54. package/dist/chunks/{form-45dcvjxr.js → provider-675s81r7.js} +16 -16
  55. package/dist/chunks/{form-v1ymkx2n.js → provider-686wtdkb.js} +52 -52
  56. package/dist/chunks/{form-zhgd40h6.js → provider-6n0bth06.js} +14 -14
  57. package/dist/chunks/{form-cgmwfznc.js → provider-6vjyb6bm.js} +16 -16
  58. package/dist/chunks/{form-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{form-71az546q.js → provider-71az546q.js} +2 -2
  60. package/dist/chunks/{form-zz5bnwga.js → provider-71kzkcmq.js} +13 -13
  61. package/dist/chunks/{form-5fskm1g1.js → provider-72z33xd9.js} +10 -10
  62. package/dist/chunks/{form-r2m716tb.js → provider-79qaa2kf.js} +9 -9
  63. package/dist/chunks/{form-y6nafv0r.js → provider-7b47g8b6.js} +22 -22
  64. package/dist/chunks/{form-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{form-2k8khapm.js → provider-7dqw4kz8.js} +5 -5
  66. package/dist/chunks/{form-5hp5cn4k.js → provider-7grf3kn7.js} +14 -14
  67. package/dist/chunks/{form-1r523x99.js → provider-7t2zznky.js} +15 -15
  68. package/dist/chunks/{form-84txncab.js → provider-84txncab.js} +1 -1
  69. package/dist/chunks/{form-5k5eqdfy.js → provider-883bx3q0.js} +3 -3
  70. package/dist/chunks/{form-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
  71. package/dist/chunks/{form-28tchkyp.js → provider-8ez43tmm.js} +5 -5
  72. package/dist/chunks/{form-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
  73. package/dist/chunks/{form-63de3g4x.js → provider-8p5vgxq9.js} +22 -22
  74. package/dist/chunks/{form-9sw398jp.js → provider-93efcxnr.js} +11 -11
  75. package/dist/chunks/{form-2sjstzd9.js → provider-94q754p4.js} +13 -13
  76. package/dist/chunks/{form-ynxadk5f.js → provider-97xnjwjy.js} +29 -29
  77. package/dist/chunks/{form-dmhzqrvc.js → provider-9b4ap45w.js} +29 -29
  78. package/dist/chunks/{form-9e5bzkjp.js → provider-9e5bzkjp.js} +3 -3
  79. package/dist/chunks/{form-6rq4gtsx.js → provider-9mjt30x5.js} +6 -6
  80. package/dist/chunks/{form-kb04t352.js → provider-9n7nmex1.js} +28 -28
  81. package/dist/chunks/{form-x6a93ps9.js → provider-9qgmzpag.js} +23 -23
  82. package/dist/chunks/{form-608ttmbm.js → provider-9sh9j0nr.js} +25 -25
  83. package/dist/chunks/{form-4fyrm325.js → provider-9swj3qb0.js} +5 -5
  84. package/dist/chunks/{form-mh6zphse.js → provider-9y6jy3dq.js} +15 -15
  85. package/dist/chunks/{form-nj5d8b17.js → provider-a1t1y2at.js} +21 -21
  86. package/dist/chunks/{form-yw9j0rfh.js → provider-a3wx1jbb.js} +18 -18
  87. package/dist/chunks/{form-kr9cxk9c.js → provider-a5w1ak6r.js} +14 -14
  88. package/dist/chunks/{form-0mbme20d.js → provider-a77c81bz.js} +1 -1
  89. package/dist/chunks/{form-sryg0kp6.js → provider-a96zp7kx.js} +9 -9
  90. package/dist/chunks/{form-aaet6srn.js → provider-aaet6srn.js} +2 -2
  91. package/dist/chunks/{form-x661k3y3.js → provider-addxnjmp.js} +4 -4
  92. package/dist/chunks/{form-8wwj16a6.js → provider-ar4x8fwh.js} +25 -25
  93. package/dist/chunks/{form-s1q20etf.js → provider-asbm7bep.js} +8 -8
  94. package/dist/chunks/{form-gkjptba1.js → provider-atk28k01.js} +34 -34
  95. package/dist/chunks/{form-shpz0x2t.js → provider-axyvk8mh.js} +43 -43
  96. package/dist/chunks/{form-mbvtbt08.js → provider-b20rd8wa.js} +1 -1
  97. package/dist/chunks/{form-qygbw77c.js → provider-b3f8fkhc.js} +5 -5
  98. package/dist/chunks/{form-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{form-qvreyy9g.js → provider-b7b4ctej.js} +5 -5
  100. package/dist/chunks/{form-8xct5cxg.js → provider-bf70qq01.js} +11 -11
  101. package/dist/chunks/{form-nd1vxy83.js → provider-bq5mcjar.js} +7 -7
  102. package/dist/chunks/{form-72rw85ce.js → provider-bq7b46md.js} +11 -11
  103. package/dist/chunks/{form-m67a48vq.js → provider-bsprd9wx.js} +6 -6
  104. package/dist/chunks/{form-g31gf8f8.js → provider-btsxm90b.js} +20 -20
  105. package/dist/chunks/{form-4cp7wv5q.js → provider-bvrmbg7m.js} +28 -28
  106. package/dist/chunks/{form-h54hfh8j.js → provider-c1q86q08.js} +30 -30
  107. package/dist/chunks/{form-0z17ev8v.js → provider-c6exx9sn.js} +8 -8
  108. package/dist/chunks/{form-j4e6bw45.js → provider-c82bntt0.js} +16 -16
  109. package/dist/chunks/{form-vttgn2fv.js → provider-c8qt4twf.js} +15 -15
  110. package/dist/chunks/{form-tz4n1mmd.js → provider-ca7w653e.js} +4 -4
  111. package/dist/chunks/{form-gaxgkjf8.js → provider-cjaxcpwh.js} +6 -6
  112. package/dist/chunks/{form-vkbrv8jq.js → provider-ckae5vz2.js} +13 -13
  113. package/dist/chunks/{form-1hpgpzcd.js → provider-cq8qvfq0.js} +1 -1
  114. package/dist/chunks/{form-n9tvhd39.js → provider-cr2af70s.js} +33 -33
  115. package/dist/chunks/{form-nx2dw5kc.js → provider-d58pape2.js} +3 -3
  116. package/dist/chunks/{form-x961pzcr.js → provider-d8pv0bpk.js} +6 -6
  117. package/dist/chunks/{form-2y0gssv2.js → provider-ddv87j1s.js} +26 -26
  118. package/dist/chunks/{form-nxm207yx.js → provider-dpkg50ah.js} +4 -4
  119. package/dist/chunks/{form-a881zpfh.js → provider-dzw83ac5.js} +9 -9
  120. package/dist/chunks/{form-qeakwxs4.js → provider-dzyc8saa.js} +12 -12
  121. package/dist/chunks/{form-9t69bxse.js → provider-e594jqvs.js} +36 -36
  122. package/dist/chunks/{form-9e4dck5x.js → provider-eafxs9mq.js} +25 -25
  123. package/dist/chunks/{form-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{form-8qvzptz7.js → provider-em3h5ktn.js} +4 -4
  125. package/dist/chunks/{form-j8w9hkn2.js → provider-emkscysc.js} +16 -16
  126. package/dist/chunks/{form-0y0kf6wg.js → provider-er0jrn8y.js} +33 -33
  127. package/dist/chunks/{form-fy26h6d0.js → provider-et9t3xrf.js} +141 -141
  128. package/dist/chunks/{form-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{form-zpjz29v3.js → provider-evb2g34y.js} +17 -17
  130. package/dist/chunks/{form-vhb6rdqv.js → provider-exng67gk.js} +4 -4
  131. package/dist/chunks/{form-a9s5mds0.js → provider-f3mxqp4r.js} +10 -10
  132. package/dist/chunks/{form-vkp779ce.js → provider-f6721ndq.js} +20 -20
  133. package/dist/chunks/{form-4k43d9fa.js → provider-fb955k6m.js} +301 -301
  134. package/dist/chunks/{form-kt29frc8.js → provider-fgyh5agp.js} +17 -17
  135. package/dist/chunks/{form-qnt41q0e.js → provider-fn7ze3ge.js} +32 -32
  136. package/dist/chunks/{form-hemh68r6.js → provider-fqxxcg0w.js} +9 -9
  137. package/dist/chunks/{form-a8pj8mn0.js → provider-fs8w0zmv.js} +20 -20
  138. package/dist/chunks/{form-x6pyv2yz.js → provider-fwfdmgk0.js} +5 -5
  139. package/dist/chunks/{form-c2kh31mj.js → provider-g5e0vp13.js} +49 -49
  140. package/dist/chunks/{form-vftbjcp2.js → provider-g823fvbh.js} +5 -5
  141. package/dist/chunks/{form-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{form-ny70bwj6.js → provider-gxbn520v.js} +14 -14
  143. package/dist/chunks/provider-gxr3h1rx.js +253 -0
  144. package/dist/chunks/{form-cnjgabfw.js → provider-gyrnzjw3.js} +3 -3
  145. package/dist/chunks/{form-h2b79v29.js → provider-h2b79v29.js} +2 -2
  146. package/dist/chunks/{form-bq0rdahm.js → provider-h3v3p82m.js} +30 -30
  147. package/dist/chunks/{form-xhb76b6f.js → provider-h46ghxnv.js} +5 -5
  148. package/dist/chunks/{form-rrs16p2a.js → provider-h47zncjj.js} +47 -47
  149. package/dist/chunks/{form-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{form-jzw0rzw4.js → provider-h89hqrvr.js} +9 -9
  151. package/dist/chunks/{form-n3x7zedj.js → provider-h9aw24rm.js} +18 -18
  152. package/dist/chunks/{form-ftscd474.js → provider-hfjxbmbv.js} +35 -35
  153. package/dist/chunks/{form-p5hcnrhr.js → provider-hkcdsepw.js} +11 -11
  154. package/dist/chunks/{form-kagyhy09.js → provider-hq9fctt8.js} +24 -24
  155. package/dist/chunks/{form-4yezxa73.js → provider-htfe4xep.js} +12 -12
  156. package/dist/chunks/{form-6b2zjn2e.js → provider-hwjyn0yt.js} +9 -9
  157. package/dist/chunks/{form-252d8696.js → provider-j2d8gbxx.js} +4 -4
  158. package/dist/chunks/{form-7wpb6h90.js → provider-j4rg8v7x.js} +10 -10
  159. package/dist/chunks/{form-j56e64zr.js → provider-j56e64zr.js} +1 -1
  160. package/dist/chunks/{form-jhf3jymm.js → provider-j5w2yx54.js} +6 -6
  161. package/dist/chunks/{form-6rm5yzkt.js → provider-j8m1p4p1.js} +4 -4
  162. package/dist/chunks/{form-ey2d9ww2.js → provider-jer1we1k.js} +16 -16
  163. package/dist/chunks/{form-kzc3h1h3.js → provider-jewzahs7.js} +4 -4
  164. package/dist/chunks/{form-97w5rk9e.js → provider-jhpaar4x.js} +8 -8
  165. package/dist/chunks/{form-r64egdpd.js → provider-jkn47vnh.js} +21 -21
  166. package/dist/chunks/{form-pdcc66ph.js → provider-jknjpvsr.js} +9 -9
  167. package/dist/chunks/{form-rwkzbhyy.js → provider-jnatcwbn.js} +10 -10
  168. package/dist/chunks/{form-706k5x78.js → provider-jqv6rzpq.js} +26 -26
  169. package/dist/chunks/{form-8wrmbg2q.js → provider-jstdsz8v.js} +10 -10
  170. package/dist/chunks/{form-qf5hq1jc.js → provider-jzetxade.js} +27 -27
  171. package/dist/chunks/{form-saay569z.js → provider-kkvj9s3e.js} +26 -26
  172. package/dist/chunks/{form-6zwxhqpy.js → provider-krdch7pj.js} +8 -8
  173. package/dist/chunks/{form-g86s18q2.js → provider-kvk7rxxt.js} +4 -4
  174. package/dist/chunks/{form-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{form-m55qy151.js → provider-m55qy151.js} +2 -2
  176. package/dist/chunks/{form-4zpqjyc2.js → provider-m6b6gnnc.js} +28 -28
  177. package/dist/chunks/{form-vrxgzr22.js → provider-m6yg3xba.js} +4 -4
  178. package/dist/chunks/{form-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{form-mjymc32g.js → provider-magykp64.js} +4 -4
  180. package/dist/chunks/{form-p3bnm29a.js → provider-mf5aczd1.js} +57 -57
  181. package/dist/chunks/{form-x6qwvpbm.js → provider-mgea81st.js} +1 -1
  182. package/dist/chunks/{form-ertkbvpv.js → provider-mhkg45td.js} +8 -8
  183. package/dist/chunks/{form-tx5xyhq5.js → provider-mmm93z6s.js} +13 -13
  184. package/dist/chunks/{form-pq3gk156.js → provider-mqzwkyay.js} +8 -8
  185. package/dist/chunks/{form-y2ef215h.js → provider-mrrn9raq.js} +6 -6
  186. package/dist/chunks/{form-c1mfk2j0.js → provider-mrwncn17.js} +6 -6
  187. package/dist/chunks/{form-t11s7ysw.js → provider-msehjb4w.js} +20 -20
  188. package/dist/chunks/{form-eq1pz5kg.js → provider-mvfsc1pv.js} +3 -3
  189. package/dist/chunks/{form-dpahde6h.js → provider-mw934p8z.js} +5 -5
  190. package/dist/chunks/{form-3sj8yt8v.js → provider-n1n192bv.js} +4 -4
  191. package/dist/chunks/{form-ff7ybqyq.js → provider-n95t1fxk.js} +25 -25
  192. package/dist/chunks/{form-p72tmm3t.js → provider-nn9x3xk4.js} +18 -18
  193. package/dist/chunks/{form-71n2tkks.js → provider-nrpc045m.js} +20 -20
  194. package/dist/chunks/{form-5yzzbxa7.js → provider-p37cw4rj.js} +8 -8
  195. package/dist/chunks/{form-rrhp263n.js → provider-pfzgy8xd.js} +11 -11
  196. package/dist/chunks/{form-xrhtfqv1.js → provider-pgpna4x0.js} +11 -11
  197. package/dist/chunks/{form-cr9xg22w.js → provider-pj77w0m7.js} +13 -13
  198. package/dist/chunks/{form-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{form-pknna89w.js → provider-pknna89w.js} +1 -1
  200. package/dist/chunks/{form-8sze2n9a.js → provider-py3kkmfq.js} +6 -6
  201. package/dist/chunks/{form-etk2hy4s.js → provider-q00aa78a.js} +3 -3
  202. package/dist/chunks/{form-q0xm7vwc.js → provider-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{form-j6dqhm69.js → provider-q1jzmvv2.js} +5 -5
  204. package/dist/chunks/{form-qm0v3jhh.js → provider-qa3qhgw8.js} +7 -7
  205. package/dist/chunks/{form-e9pn449h.js → provider-qf84914d.js} +17 -17
  206. package/dist/chunks/{form-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{form-rwbyvv20.js → provider-qqjjkjcq.js} +12 -12
  208. package/dist/chunks/{form-qsdy395h.js → provider-qsdy395h.js} +1 -1
  209. package/dist/chunks/{form-kzn9b0yx.js → provider-qtegtbhz.js} +88 -88
  210. package/dist/chunks/{form-9pg2mgde.js → provider-qv4tz9he.js} +15 -15
  211. package/dist/chunks/{form-fsavhfb3.js → provider-qv8v460y.js} +2 -2
  212. package/dist/chunks/{form-xyafkbt0.js → provider-qxjc9qry.js} +3 -3
  213. package/dist/chunks/{form-v7dmft4n.js → provider-r539kmgw.js} +2 -2
  214. package/dist/chunks/{form-3cxatzex.js → provider-r9mzgt8p.js} +29 -29
  215. package/dist/chunks/{form-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{form-ejt9a4mc.js → provider-rebkrskg.js} +32 -32
  217. package/dist/chunks/{form-md3s2szf.js → provider-rem2z1nm.js} +45 -45
  218. package/dist/chunks/{form-jmh888fr.js → provider-rjq8wmvv.js} +12 -12
  219. package/dist/chunks/{form-q7xbkb5s.js → provider-rp460b50.js} +12 -12
  220. package/dist/chunks/{form-xfz669ft.js → provider-rpf1m9q9.js} +25 -25
  221. package/dist/chunks/{form-emchrq21.js → provider-rpyndq9k.js} +18 -18
  222. package/dist/chunks/{form-dfjxtsf9.js → provider-rrpq0de9.js} +12 -12
  223. package/dist/chunks/{form-xtzppgah.js → provider-rtx0fv89.js} +21 -21
  224. package/dist/chunks/{form-8y7xgh0n.js → provider-s22bddsw.js} +1 -1
  225. package/dist/chunks/{form-emsjfhry.js → provider-s2h6mypp.js} +8 -8
  226. package/dist/chunks/{form-w5svrknw.js → provider-s5anfxbm.js} +21 -21
  227. package/dist/chunks/{form-rhjbct0v.js → provider-s8d7rejh.js} +4 -4
  228. package/dist/chunks/{form-255xb92k.js → provider-sqyctcgc.js} +10 -10
  229. package/dist/chunks/{form-27dsvfdn.js → provider-swysz5cy.js} +9 -9
  230. package/dist/chunks/{form-h72p6djb.js → provider-t05r2vr9.js} +18 -18
  231. package/dist/chunks/{form-zncnmdzc.js → provider-t7abb039.js} +7 -7
  232. package/dist/chunks/{form-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{form-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{form-tdstcens.js → provider-tdstcens.js} +1 -1
  235. package/dist/chunks/{form-bq42tmev.js → provider-tev97ate.js} +15 -15
  236. package/dist/chunks/{form-sy0pmzyc.js → provider-v0es1rhs.js} +9 -9
  237. package/dist/chunks/{form-epw93366.js → provider-v1bj4jwe.js} +13 -13
  238. package/dist/chunks/{form-71mvzqvh.js → provider-v62tfx03.js} +42 -42
  239. package/dist/chunks/{form-q2mesgbk.js → provider-vd9vjdgs.js} +11 -11
  240. package/dist/chunks/{form-veqvce7d.js → provider-veqvce7d.js} +1 -1
  241. package/dist/chunks/{form-rdemb1sp.js → provider-vg67y24t.js} +82 -82
  242. package/dist/chunks/{form-jczht3en.js → provider-vn2kznjj.js} +9 -9
  243. package/dist/chunks/{form-bqhmrmw6.js → provider-vvbtn6nh.js} +17 -17
  244. package/dist/chunks/{form-c2sed5cq.js → provider-vx3jgdek.js} +3 -3
  245. package/dist/chunks/{form-svm2f7kt.js → provider-vx6r3xn6.js} +15 -15
  246. package/dist/chunks/{form-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{form-3jqrg18r.js → provider-w0yt0cjm.js} +8 -8
  248. package/dist/chunks/{form-mve1g6bp.js → provider-w29vd5cd.js} +18 -18
  249. package/dist/chunks/{form-rnvk8381.js → provider-w3gsm10c.js} +3 -3
  250. package/dist/chunks/{form-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{form-n6bnymb1.js → provider-w9bb24j5.js} +11 -11
  252. package/dist/chunks/{form-m35ayfrn.js → provider-wcvkvbpb.js} +24 -24
  253. package/dist/chunks/{form-wd87259q.js → provider-wd87259q.js} +1 -1
  254. package/dist/chunks/{form-w39jehkq.js → provider-wh6zw745.js} +5 -5
  255. package/dist/chunks/{form-xj01a2sc.js → provider-wmta3egy.js} +4 -4
  256. package/dist/chunks/{form-d79mvy98.js → provider-wns8ay1e.js} +2 -2
  257. package/dist/chunks/{form-3xjc4gvj.js → provider-wqmpetdc.js} +4 -4
  258. package/dist/chunks/{form-gp98pctq.js → provider-wyy8mfcf.js} +13 -13
  259. package/dist/chunks/{form-t405ddsp.js → provider-x2vdeafw.js} +17 -17
  260. package/dist/chunks/{form-03m92h0d.js → provider-x53ppcy8.js} +4 -4
  261. package/dist/chunks/{form-f4qc7wm0.js → provider-xapc6m05.js} +24 -24
  262. package/dist/chunks/{form-yp2cb2tg.js → provider-xc0h57n1.js} +11 -11
  263. package/dist/chunks/{form-xfkkasph.js → provider-xfkkasph.js} +1 -1
  264. package/dist/chunks/{form-6g3wr2ps.js → provider-xjgjzh58.js} +43 -43
  265. package/dist/chunks/{form-dmqcgk4z.js → provider-xkntkrq7.js} +5 -5
  266. package/dist/chunks/{form-kmhwdwzj.js → provider-xyj74bwc.js} +15 -15
  267. package/dist/chunks/{form-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{form-ydx4b4m1.js → provider-y6262bav.js} +14 -14
  269. package/dist/chunks/{form-8caf3z4f.js → provider-yb4kpkgb.js} +3 -3
  270. package/dist/chunks/{form-grt2nr2n.js → provider-yfy17yrv.js} +4 -4
  271. package/dist/chunks/{form-fn9c5fvq.js → provider-yhe36pxx.js} +9 -9
  272. package/dist/chunks/{form-hyf4z54j.js → provider-ykn1b1kp.js} +37 -39
  273. package/dist/chunks/{form-pdvk0jp2.js → provider-yngnnjh7.js} +12 -12
  274. package/dist/chunks/{form-yp2x3t23.js → provider-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{form-nsbrtvjc.js → provider-yv25bm5r.js} +17 -17
  276. package/dist/chunks/{form-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{form-nx17tqsy.js → provider-z11b7403.js} +13 -13
  278. package/dist/chunks/{form-nk25batw.js → provider-z2z8bnbf.js} +6 -6
  279. package/dist/chunks/{form-8j7w067x.js → provider-zd4j4ryc.js} +15 -15
  280. package/dist/chunks/{form-as7cf5zz.js → provider-zfs8ae4p.js} +4 -4
  281. package/dist/chunks/{form-7np7eqsh.js → provider-zjmhe51h.js} +15 -15
  282. package/dist/chunks/{form-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{form-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +86 -86
  289. package/dist/config/discovery.js +83 -83
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +100 -100
  292. package/dist/config/plugin/agent.js +119 -119
  293. package/dist/config/plugin/command.js +208 -208
  294. package/dist/config/plugin/compaction.js +155 -155
  295. package/dist/config/plugin/compatibility.js +135 -135
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +117 -117
  299. package/dist/config/plugin/instruction.js +91 -91
  300. package/dist/config/plugin/location-watcher.js +117 -117
  301. package/dist/config/plugin/mcp.js +126 -126
  302. package/dist/config/plugin/policy.js +118 -118
  303. package/dist/config/plugin/provider.js +117 -117
  304. package/dist/config/plugin/reference.js +119 -119
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +103 -103
  307. package/dist/config/plugin/skill.js +138 -138
  308. package/dist/config/plugin/snapshot.js +117 -117
  309. package/dist/config/plugin/source.js +120 -120
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +116 -116
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +122 -122
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +84 -84
  318. package/dist/database/database.js +67 -67
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration.gen.js +50 -50
  385. package/dist/database/migration.js +52 -52
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +94 -94
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +96 -96
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +71 -71
  409. package/dist/file-access.js +105 -105
  410. package/dist/file-mutation.js +95 -95
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +219 -219
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +104 -104
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +107 -107
  423. package/dist/form.js +85 -85
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +102 -102
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +100 -100
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +88 -88
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +86 -86
  456. package/dist/job.js +79 -79
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +74 -74
  459. package/dist/location-activity.js +132 -132
  460. package/dist/location-lifecycle.js +108 -108
  461. package/dist/location-service-map.js +87 -87
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +88 -88
  464. package/dist/managed-policy.js +2 -2
  465. package/dist/mcp/client.js +92 -92
  466. package/dist/mcp/index.js +110 -110
  467. package/dist/mcp/instructions.js +128 -128
  468. package/dist/mcp/oauth.js +79 -79
  469. package/dist/mcp/stdio.js +91 -91
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +100 -100
  472. package/dist/model-resolver.js +99 -99
  473. package/dist/model.js +99 -99
  474. package/dist/models-dev.js +104 -104
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +81 -81
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +110 -110
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +83 -83
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +76 -76
  484. package/dist/plugin/agent.js +77 -77
  485. package/dist/plugin/command.js +103 -103
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +212 -212
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +97 -97
  493. package/dist/plugin/module.js +118 -118
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +103 -103
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  498. package/dist/plugin/provider/azure.js +118 -118
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +95 -95
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +113 -113
  505. package/dist/plugin/provider/digitalocean.js +94 -94
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +96 -96
  509. package/dist/plugin/provider/gitlab.js +94 -94
  510. package/dist/plugin/provider/google-vertex.js +91 -91
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +79 -79
  513. package/dist/plugin/provider/lmstudio.js +117 -117
  514. package/dist/plugin/provider/local.js +114 -114
  515. package/dist/plugin/provider/modal.js +93 -93
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +117 -117
  518. package/dist/plugin/provider/openai.js +96 -96
  519. package/dist/plugin/provider/opencode.js +98 -98
  520. package/dist/plugin/provider/openrouter.js +92 -92
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +80 -80
  523. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  524. package/dist/plugin/provider/sap-ai-core.js +92 -92
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  527. package/dist/plugin/provider/vercel.js +91 -91
  528. package/dist/plugin/provider/vllm.js +117 -117
  529. package/dist/plugin/provider/xai.js +92 -92
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +77 -77
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +135 -135
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +344 -344
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +87 -87
  540. package/dist/plugin/vcs/hg.js +87 -87
  541. package/dist/plugin/verbosity.js +94 -94
  542. package/dist/plugin/warming.js +115 -115
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +219 -219
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +91 -91
  554. package/dist/provider.js +98 -98
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +90 -90
  558. package/dist/reference/instructions.js +88 -88
  559. package/dist/reference.js +86 -86
  560. package/dist/repository-cache.js +78 -78
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +98 -98
  564. package/dist/rpc.js +87 -87
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +75 -75
  568. package/dist/session/compaction.js +130 -130
  569. package/dist/session/context.js +152 -152
  570. package/dist/session/diff.js +89 -89
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +215 -215
  575. package/dist/session/execution.js +126 -126
  576. package/dist/session/generate.js +153 -153
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +85 -85
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +94 -94
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +121 -121
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +130 -130
  588. package/dist/session/projector.js +87 -87
  589. package/dist/session/prompt.js +106 -106
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +91 -91
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +223 -223
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +99 -99
  597. package/dist/session/runner/publish-llm-event.js +114 -114
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +126 -126
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +163 -163
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +104 -104
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +74 -74
  607. package/dist/session/store.js +86 -86
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +152 -152
  612. package/dist/session/to-session-error.js +112 -112
  613. package/dist/session/transfer.js +211 -211
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +214 -214
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +106 -106
  623. package/dist/skill.js +111 -111
  624. package/dist/snapshot.js +90 -90
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +127 -127
  629. package/dist/tool/plugin/edit.js +119 -119
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +125 -125
  632. package/dist/tool/plugin/grep.js +119 -119
  633. package/dist/tool/plugin/mcp-resource.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +121 -121
  636. package/dist/tool/plugin/question.js +104 -104
  637. package/dist/tool/plugin/read.js +126 -126
  638. package/dist/tool/plugin/shell.js +209 -209
  639. package/dist/tool/plugin/skill.js +110 -110
  640. package/dist/tool/plugin/subagent.js +213 -213
  641. package/dist/tool/plugin/webfetch.js +111 -111
  642. package/dist/tool/plugin/websearch.js +113 -113
  643. package/dist/tool/plugin/write.js +121 -121
  644. package/dist/tool/read-filesystem.js +101 -101
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +93 -93
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +92 -92
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +90 -90
  669. package/dist/websearch.js +85 -85
  670. package/dist/wellknown/plugin.js +77 -77
  671. package/dist/wellknown.js +80 -80
  672. package/dist/workspace/driver.js +7 -7
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +81 -81
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +90 -90
  679. package/dist/worktree.js +97 -97
  680. package/package.json +8 -8
  681. package/dist/chunks/form-6r9dv1tj.js +0 -26
  682. package/dist/chunks/form-q509s3k3.js +0 -18
  683. package/dist/chunks/form-sqaw2ayv.js +0 -253
  684. /package/dist/chunks/{form-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{form-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{form-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{form-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{form-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{form-24dcb14g.js → provider-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{form-2710q6r3.js → provider-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{form-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{form-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{form-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{form-359p4xyc.js → provider-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{form-3asan66x.js → provider-3asan66x.js} +0 -0
  696. /package/dist/chunks/{form-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{form-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{form-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{form-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{form-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{form-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{form-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{form-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{form-53557ph1.js → provider-53557ph1.js} +0 -0
  705. /package/dist/chunks/{form-550bvhaj.js → provider-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{form-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{form-6prwharc.js → provider-6prwharc.js} +0 -0
  708. /package/dist/chunks/{form-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{form-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{form-7m9af43g.js → provider-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{form-822emrt2.js → provider-822emrt2.js} +0 -0
  712. /package/dist/chunks/{form-84wd9syh.js → provider-84wd9syh.js} +0 -0
  713. /package/dist/chunks/{form-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{form-8n3pysct.js → provider-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{form-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{form-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{form-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{form-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{form-af5trqkr.js → provider-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{form-afrmfg78.js → provider-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{form-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{form-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{form-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{form-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{form-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{form-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{form-d9fn303g.js → provider-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{form-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{form-dajrwvna.js → provider-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{form-dap0rakb.js → provider-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{form-df08tz66.js → provider-df08tz66.js} +0 -0
  732. /package/dist/chunks/{form-dy18nga0.js → provider-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{form-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{form-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{form-ec1grn59.js → provider-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{form-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{form-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{form-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{form-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{form-faypxj3z.js → provider-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{form-fd410y7t.js → provider-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{form-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{form-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{form-g86h250q.js → provider-g86h250q.js} +0 -0
  745. /package/dist/chunks/{form-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{form-gftt206x.js → provider-gftt206x.js} +0 -0
  747. /package/dist/chunks/{form-hk9envan.js → provider-hk9envan.js} +0 -0
  748. /package/dist/chunks/{form-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{form-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{form-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{form-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{form-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{form-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{form-mp448xyj.js → provider-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{form-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{form-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{form-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{form-njntx4h6.js → provider-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{form-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{form-q74kybfr.js → provider-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{form-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{form-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{form-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{form-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{form-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{form-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{form-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{form-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{form-w803qqfp.js → provider-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{form-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{form-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{form-wtztk69x.js → provider-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{form-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{form-x61499pn.js → provider-x61499pn.js} +0 -0
  775. /package/dist/chunks/{form-y44na4kk.js → provider-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{form-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{form-y8f7s663.js → provider-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{form-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{form-ym463w8f.js → provider-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{form-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{form-z9919s4g.js → provider-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./form-vrxgzr22.js";
4
+ } from "./provider-m6yg3xba.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./form-84txncab.js";
11
+ } from "./provider-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./form-z5v4ffb3.js";
14
+ } from "./provider-z5v4ffb3.js";
15
15
  import {
16
16
  Service42,
17
17
  node44
18
- } from "./form-qeakwxs4.js";
18
+ } from "./provider-dzyc8saa.js";
19
19
  import {
20
20
  create3
21
- } from "./form-rdw6cm16.js";
21
+ } from "./provider-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./form-9rqn6x4v.js";
24
+ } from "./provider-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event5,
29
+ Event: () => Event6,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info6,
31
+ Info: () => Info7,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
34
  Service: () => Service41,
@@ -39,11 +39,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event5 } from "@opencode/schema/reference";
42
+ import { Event as Event6 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info6 = Reference.Info;
46
+ var Info7 = Reference.Info;
47
47
 
48
48
  class Service41 extends Context.Service()("@opencode/Reference") {
49
49
  }
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info6.make({ ...info, path: source.path })];
63
+ return [Info7.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info6.make({
75
+ Info7.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -118,4 +118,4 @@ var node43 = makeLocationNode({
118
118
  deps: [Global.node, node87, node44]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info6, Service41, node43, exports_reference2, Event5 };
121
+ export { LocalSource2, GitSource2, Source3, Info7, Service41, node43, exports_reference2, Event6 };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service52
3
- } from "./form-h9pdt6sj.js";
2
+ Service58
3
+ } from "./provider-0wcth310.js";
4
4
  import {
5
- Service15,
5
+ Service48,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./form-tx5xyhq5.js";
8
+ } from "./provider-mmm93z6s.js";
9
9
  import {
10
- Service20
11
- } from "./form-1r523x99.js";
10
+ Service15
11
+ } from "./provider-7t2zznky.js";
12
12
  import {
13
- Service60
14
- } from "./form-25b7azff.js";
13
+ Service64
14
+ } from "./provider-0cxmct1s.js";
15
15
  import {
16
- Service59
17
- } from "./form-mve1g6bp.js";
16
+ Service63
17
+ } from "./provider-w29vd5cd.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./form-6prwharc.js";
20
+ } from "./provider-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./form-9rqn6x4v.js";
23
+ } from "./provider-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input10,
29
- Output: () => Output7,
30
- Plugin: () => Plugin13,
28
+ Input: () => Input9,
29
+ Output: () => Output6,
30
+ Plugin: () => Plugin11,
31
31
  WriteTool: () => exports_write,
32
- name: () => name10,
32
+ name: () => name9,
33
33
  toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name10 = "write";
39
- var Input10 = Schema.Struct({
38
+ var name9 = "write";
39
+ var Input9 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output7 = Schema.Struct({
45
+ var Output6 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin13 = {
52
+ var Plugin11 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service59;
56
- const fileMutation = yield* Service15;
57
- const environment = yield* Service52;
58
- const formatter = yield* Service20;
59
- const permission = yield* Service60;
55
+ const access = yield* Service63;
56
+ const fileMutation = yield* Service48;
57
+ const environment = yield* Service58;
58
+ const formatter = yield* Service15;
59
+ const permission = yield* Service64;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name10,
61
+ name: name9,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input10,
69
- output: Output7,
68
+ input: Input9,
69
+ output: Output6,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name10, Input10, Output7, toModelContent5, Plugin13, exports_write };
101
+ export { name9, Input9, Output6, toModelContent5, Plugin11, exports_write };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service78
3
- } from "./form-1yjpjcr4.js";
2
+ Service80
3
+ } from "./provider-1163jw7g.js";
4
4
  import {
5
- Service52
6
- } from "./form-h9pdt6sj.js";
5
+ Service58
6
+ } from "./provider-0wcth310.js";
7
7
  import {
8
- Service15,
8
+ Service48,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./form-tx5xyhq5.js";
11
+ } from "./provider-mmm93z6s.js";
12
12
  import {
13
- Service20
14
- } from "./form-1r523x99.js";
13
+ Service15
14
+ } from "./provider-7t2zznky.js";
15
15
  import {
16
- Service60
17
- } from "./form-25b7azff.js";
16
+ Service64
17
+ } from "./provider-0cxmct1s.js";
18
18
  import {
19
- Service59,
19
+ Service63,
20
20
  resolvePath2
21
- } from "./form-mve1g6bp.js";
21
+ } from "./provider-w29vd5cd.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./form-6prwharc.js";
24
+ } from "./provider-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./form-9rqn6x4v.js";
27
+ } from "./provider-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input12,
33
+ Input: () => Input11,
34
34
  Output: () => Output8,
35
- Plugin: () => Plugin15,
36
- name: () => name12
35
+ Plugin: () => Plugin13,
36
+ name: () => name11
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name12 = "edit";
43
- var Input12 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -103,20 +103,20 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin15 = {
106
+ var Plugin13 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service59;
110
- const fileMutation = yield* Service15;
111
- const environment = yield* Service52;
112
- const formatter = yield* Service20;
113
- const location = yield* Service78;
114
- const permission = yield* Service60;
109
+ const access = yield* Service63;
110
+ const fileMutation = yield* Service48;
111
+ const environment = yield* Service58;
112
+ const formatter = yield* Service15;
113
+ const location = yield* Service80;
114
+ const permission = yield* Service64;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name12,
116
+ name: name11,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input12,
119
+ input: Input11,
120
120
  output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
@@ -194,4 +194,4 @@ var Plugin15 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name12, Input12, Output8, Plugin15, exports_edit };
197
+ export { name11, Input11, Output8, Plugin13, exports_edit };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./form-qnc92qwc.js";
4
+ } from "./provider-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./form-qfa1cgps.js";
7
+ } from "./provider-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./form-h2b79v29.js";
10
+ } from "./provider-h2b79v29.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-5fskm1g1.js";
3
+ } from "./provider-72z33xd9.js";
4
4
  import {
5
5
  OAuth3,
6
- Service81
7
- } from "./form-7vfe0jxp.js";
6
+ Service76
7
+ } from "./provider-3jkcmf8p.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./form-x6a93ps9.js";
11
+ } from "./provider-9qgmzpag.js";
12
12
  import {
13
13
  ID13,
14
14
  mergeOverlay2
15
- } from "./form-saay569z.js";
15
+ } from "./provider-kkvj9s3e.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -69,7 +69,7 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service81;
72
+ const credentials = yield* Service76;
73
73
  yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./form-z5v4ffb3.js";
4
+ } from "./provider-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
+ Service82,
9
+ node86
10
+ } from "./provider-rrpq0de9.js";
11
+ import {
8
12
  Service80,
9
13
  node84
10
- } from "./form-dfjxtsf9.js";
11
- import {
12
- Service78,
13
- node82
14
- } from "./form-1yjpjcr4.js";
14
+ } from "./provider-1163jw7g.js";
15
15
  import {
16
16
  create3
17
- } from "./form-rdw6cm16.js";
17
+ } from "./provider-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./form-9rqn6x4v.js";
20
+ } from "./provider-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
25
+ Error: () => Error3,
26
26
  ID: () => ID5,
27
- Service: () => Service55,
27
+ Service: () => Service43,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node58,
29
+ node: () => node45,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service55 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service43 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service55, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node58 = makeLocationNode({
144
- service: Service55,
143
+ var node45 = makeLocationNode({
144
+ service: Service43,
145
145
  layer,
146
- deps: [FSUtil.node, node84, Global.node, node82]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service55, Service55.of({
148
+ var noopLayer3 = Layer.succeed(Service43, Service43.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error5 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error5({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error5, Service55, node58, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error3, Service43, node45, noopLayer3, exports_snapshot2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./form-vrxgzr22.js";
4
+ } from "./provider-m6yg3xba.js";
5
5
  import {
6
6
  Key4,
7
7
  External2,
8
- Service81,
9
- node85
10
- } from "./form-7vfe0jxp.js";
8
+ Service76,
9
+ node80
10
+ } from "./provider-3jkcmf8p.js";
11
11
  import {
12
12
  create3
13
- } from "./form-rdw6cm16.js";
13
+ } from "./provider-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./form-x661k3y3.js";
16
+ } from "./provider-addxnjmp.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./form-kagyhy09.js";
20
+ } from "./provider-hq9fctt8.js";
21
21
  import {
22
22
  __export
23
- } from "./form-9rqn6x4v.js";
23
+ } from "./provider-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -35,18 +35,18 @@ __export(exports_integration, {
35
35
  CommandAttemptStatus: () => CommandAttemptStatus2,
36
36
  CommandMethod: () => CommandMethod2,
37
37
  EnvMethod: () => EnvMethod2,
38
- Event: () => Event17,
38
+ Event: () => Event18,
39
39
  ExternalMethod: () => ExternalMethod2,
40
40
  ID: () => ID14,
41
- Info: () => Info22,
41
+ Info: () => Info23,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
44
44
  Method: () => Method2,
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service76,
49
- node: () => node80
48
+ Service: () => Service75,
49
+ node: () => node79
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -68,7 +68,7 @@ import {
68
68
  import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/unstable/process";
71
- import { Event as Event17 } from "@opencode/schema/integration";
71
+ import { Event as Event18 } from "@opencode/schema/integration";
72
72
  var ID14 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
78
78
  var ExternalMethod2 = Integration.ExternalMethod;
79
79
  var EnvMethod2 = Integration.EnvMethod;
80
80
  var Method2 = Integration.Method;
81
- var Info22 = Integration.Info;
81
+ var Info23 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -107,13 +107,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service76 extends Context.Service()("@opencode/Integration") {
110
+ class Service75 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service76, Effect.gen(function* () {
116
- const credentials = yield* Service81;
115
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
116
+ const credentials = yield* Service76;
117
117
  const bus = yield* Service83;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
214
214
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
215
215
  return [...credentials, ...env];
216
216
  };
217
- const project = (entry, connections) => Info22.make({
217
+ const project = (entry, connections) => Info23.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service76.of({
450
+ return Service75.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node80 = makeLocationNode({
633
- service: Service76,
632
+ var node79 = makeLocationNode({
633
+ service: Service75,
634
634
  layer,
635
- deps: [node85, node87, AppProcess.node]
635
+ deps: [node80, node87, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event17 };
638
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event18 };