@opencode/core 0.0.0-dev-20081 → 0.0.0-dev-20082

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{provider-jk28b3wq.js → mime-00kjgt8x.js} +32 -32
  8. package/dist/chunks/{provider-nq2bdnnt.js → mime-038cbjbn.js} +14 -14
  9. package/dist/chunks/{provider-yfsnday6.js → mime-05ay0q20.js} +38 -38
  10. package/dist/chunks/{provider-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{provider-yjptyezs.js → mime-0r7yqxbf.js} +5 -5
  12. package/dist/chunks/{provider-3rtxz4nr.js → mime-0tzy42a9.js} +8 -8
  13. package/dist/chunks/{provider-mp0zvkr9.js → mime-153c4z9z.js} +17 -17
  14. package/dist/chunks/{provider-6ey51n48.js → mime-16q9e8vm.js} +7 -7
  15. package/dist/chunks/{provider-nwprk3pz.js → mime-170hdxs4.js} +4 -4
  16. package/dist/chunks/{provider-x7whjj4n.js → mime-182s9w42.js} +308 -308
  17. package/dist/chunks/{provider-dwhz4sb6.js → mime-1a12bnb5.js} +3 -3
  18. package/dist/chunks/{provider-r8xr0va3.js → mime-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{provider-wppc7r2t.js → mime-1bpqmtaz.js} +14 -14
  20. package/dist/chunks/{provider-a25v8pqq.js → mime-1d35eqgr.js} +5 -5
  21. package/dist/chunks/{provider-brdwt0ds.js → mime-1dah21z9.js} +35 -35
  22. package/dist/chunks/{provider-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{provider-626ykbw3.js → mime-1ef46ta4.js} +11 -11
  24. package/dist/chunks/{provider-6zn87t6x.js → mime-1fypxrxq.js} +43 -43
  25. package/dist/chunks/{provider-w4arg62q.js → mime-1nzs1dt7.js} +6 -6
  26. package/dist/chunks/{provider-rgtdre32.js → mime-1p7zzgff.js} +16 -16
  27. package/dist/chunks/{provider-ht5dkjxb.js → mime-1q9kvn7y.js} +8 -8
  28. package/dist/chunks/{provider-0x5b3vy1.js → mime-1rzq4h8b.js} +6 -6
  29. package/dist/chunks/{provider-1ygqh575.js → mime-1ygqh575.js} +2 -2
  30. package/dist/chunks/{provider-rtbgwnjd.js → mime-209t9eg4.js} +13 -13
  31. package/dist/chunks/{provider-21r38tys.js → mime-21r38tys.js} +1 -1
  32. package/dist/chunks/{provider-2402vzrj.js → mime-2402vzrj.js} +1 -1
  33. package/dist/chunks/{provider-483kse91.js → mime-26nae1tf.js} +9 -9
  34. package/dist/chunks/{provider-z63w68vq.js → mime-29x78va6.js} +6 -6
  35. package/dist/chunks/{provider-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{provider-z4ygwn82.js → mime-2bekqz3a.js} +12 -12
  37. package/dist/chunks/{provider-v0tcgb28.js → mime-2gw68b84.js} +18 -18
  38. package/dist/chunks/{provider-qgn6gcr1.js → mime-2k8khapm.js} +5 -5
  39. package/dist/chunks/{provider-qm204dz4.js → mime-2kdwgsh2.js} +2 -2
  40. package/dist/chunks/{provider-cz2kfr7d.js → mime-2mfz3bef.js} +3 -3
  41. package/dist/chunks/{provider-wntb1c0g.js → mime-2s2q4h4d.js} +6 -6
  42. package/dist/chunks/{provider-g182t41k.js → mime-2s5q0hbn.js} +50 -50
  43. package/dist/chunks/{provider-4m2hcyae.js → mime-2vm2mn6r.js} +31 -31
  44. package/dist/chunks/{provider-f73rjn58.js → mime-2vs2nh1n.js} +4 -4
  45. package/dist/chunks/{provider-pcfctzn4.js → mime-2xnfx9dh.js} +17 -17
  46. package/dist/chunks/{provider-t6rqekt4.js → mime-30vqxvem.js} +6 -6
  47. package/dist/chunks/{provider-5fwmp4v5.js → mime-35kmpahp.js} +4 -4
  48. package/dist/chunks/{provider-583e1kgc.js → mime-37mgqk6f.js} +19 -19
  49. package/dist/chunks/{provider-1dg03anb.js → mime-39jcvt2n.js} +2 -2
  50. package/dist/chunks/{provider-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  51. package/dist/chunks/{provider-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  52. package/dist/chunks/{provider-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  53. package/dist/chunks/{provider-cfx7m4ef.js → mime-3t50tqxz.js} +10 -10
  54. package/dist/chunks/{provider-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  55. package/dist/chunks/{provider-9xvq3m7s.js → mime-3w0fmcng.js} +5 -5
  56. package/dist/chunks/{provider-y5dj3dxk.js → mime-3wrtxrr4.js} +6 -6
  57. package/dist/chunks/{provider-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  58. package/dist/chunks/{provider-zs9c6f6y.js → mime-41km3kz5.js} +20 -20
  59. package/dist/chunks/{provider-wxv20f1z.js → mime-44d35g97.js} +23 -23
  60. package/dist/chunks/{provider-c74pjr4b.js → mime-4b4ywecx.js} +10 -10
  61. package/dist/chunks/{provider-11shpjhc.js → mime-4crc4jdm.js} +3 -3
  62. package/dist/chunks/{provider-kfcyjpg8.js → mime-4fvze959.js} +43 -43
  63. package/dist/chunks/{provider-7289fqfg.js → mime-54g84kz9.js} +9 -9
  64. package/dist/chunks/{provider-rzz71nkp.js → mime-55b8r06m.js} +65 -65
  65. package/dist/chunks/{provider-drwq78ky.js → mime-57b9ws8p.js} +5 -5
  66. package/dist/chunks/{provider-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
  67. package/dist/chunks/{provider-1p8x96d2.js → mime-5bev5725.js} +11 -11
  68. package/dist/chunks/{provider-6w0yw6t0.js → mime-5cmajn7h.js} +7 -7
  69. package/dist/chunks/{provider-5daktx2q.js → mime-5daktx2q.js} +1 -1
  70. package/dist/chunks/{provider-5ekn9679.js → mime-5ekn9679.js} +1 -1
  71. package/dist/chunks/{provider-7v81x33d.js → mime-5fb55ywp.js} +9 -9
  72. package/dist/chunks/{provider-f8wkwma2.js → mime-5s4prcyn.js} +27 -27
  73. package/dist/chunks/{provider-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{provider-444r4drm.js → mime-5w36kk3z.js} +21 -21
  75. package/dist/chunks/{provider-p37cw4rj.js → mime-5yzzbxa7.js} +8 -8
  76. package/dist/chunks/{provider-v8ew62n7.js → mime-646tc8py.js} +4 -4
  77. package/dist/chunks/{provider-3dv8501d.js → mime-6540dvt1.js} +7 -7
  78. package/dist/chunks/{provider-669tq793.js → mime-669tq793.js} +1 -1
  79. package/dist/chunks/{provider-fdms3n6w.js → mime-6hjx5zpb.js} +9 -9
  80. package/dist/chunks/{provider-c0se6qj2.js → mime-6j8bnvkm.js} +2 -2
  81. package/dist/chunks/{provider-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
  82. package/dist/chunks/{provider-kcvawfm7.js → mime-6r5c0w9g.js} +26 -26
  83. package/dist/chunks/{provider-sz6yn7q3.js → mime-6rfetefd.js} +3 -3
  84. package/dist/chunks/{provider-2jhntd1c.js → mime-77a7k1x9.js} +27 -27
  85. package/dist/chunks/{provider-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{provider-1w85egtv.js → mime-7p4zv7at.js} +15 -14
  87. package/dist/chunks/{provider-9z7dfynh.js → mime-7r6qf5r7.js} +16 -16
  88. package/dist/chunks/{provider-msf09fhm.js → mime-7tycp833.js} +9 -9
  89. package/dist/chunks/{provider-zjnvhswx.js → mime-7wny7pda.js} +11 -11
  90. package/dist/chunks/{provider-nxhte90z.js → mime-82e83hjb.js} +13 -13
  91. package/dist/chunks/{provider-m38g9vj0.js → mime-83m6sd17.js} +4 -4
  92. package/dist/chunks/{provider-d858xzj7.js → mime-86qzxe6p.js} +4 -4
  93. package/dist/chunks/{provider-ykkx6rx5.js → mime-887dxsd3.js} +28 -28
  94. package/dist/chunks/{provider-tcezcvh9.js → mime-89znhe33.js} +4 -4
  95. package/dist/chunks/{provider-3eghbq6c.js → mime-8ac1j38b.js} +20 -20
  96. package/dist/chunks/{provider-hmjryk6b.js → mime-8cawjpeg.js} +74 -74
  97. package/dist/chunks/{provider-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  98. package/dist/chunks/{provider-atzrj6z4.js → mime-8wpn150k.js} +5 -5
  99. package/dist/chunks/{provider-94ek1h2f.js → mime-94ek1h2f.js} +2 -2
  100. package/dist/chunks/{provider-cjwqz1xn.js → mime-94qf5r5e.js} +11 -11
  101. package/dist/chunks/{provider-jg5jybkd.js → mime-9522f170.js} +9 -9
  102. package/dist/chunks/{provider-njfpvtym.js → mime-95demef3.js} +18 -18
  103. package/dist/chunks/{provider-zed4mej1.js → mime-96hjzxkc.js} +14 -14
  104. package/dist/chunks/{provider-mt4r3ktz.js → mime-97sgz6yw.js} +17 -17
  105. package/dist/chunks/{provider-9tfb63c1.js → mime-a1bdy4ck.js} +11 -11
  106. package/dist/chunks/{provider-dc7b9519.js → mime-a7hf18pz.js} +12 -12
  107. package/dist/chunks/{provider-aaet6srn.js → mime-aaet6srn.js} +2 -2
  108. package/dist/chunks/{provider-dg2cj1yd.js → mime-ae0nwvy8.js} +4 -4
  109. package/dist/chunks/{provider-b7j7903f.js → mime-afed7ext.js} +5 -5
  110. package/dist/chunks/{provider-9cfx1f1g.js → mime-ajt4fata.js} +5 -5
  111. package/dist/chunks/{provider-f0ce8fyc.js → mime-amgtyp96.js} +17 -17
  112. package/dist/chunks/{provider-8bxtdccr.js → mime-anq3081s.js} +10 -10
  113. package/dist/chunks/{provider-886a4kvd.js → mime-b2vtx10y.js} +27 -27
  114. package/dist/chunks/{provider-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{provider-21981gj5.js → mime-b95dy7zp.js} +4 -4
  116. package/dist/chunks/{provider-nd8t3rxx.js → mime-bbjzvta2.js} +13 -13
  117. package/dist/chunks/{provider-983tcqe7.js → mime-bc3t5yes.js} +24 -24
  118. package/dist/chunks/mime-bdqechhr.js +26 -0
  119. package/dist/chunks/{provider-ppb0jbcv.js → mime-bg87x2pg.js} +13 -13
  120. package/dist/chunks/{provider-ybhbtxjg.js → mime-bpcm8v83.js} +9 -9
  121. package/dist/chunks/{provider-f0g62jwn.js → mime-bshz36e2.js} +37 -37
  122. package/dist/chunks/{provider-aekkhrjq.js → mime-btb741xx.js} +4 -4
  123. package/dist/chunks/{provider-s736366c.js → mime-c1ckp43n.js} +7 -7
  124. package/dist/chunks/{provider-t18fb8m5.js → mime-c8cch34d.js} +10 -10
  125. package/dist/chunks/{provider-a56n2bgv.js → mime-cf1secj6.js} +21 -21
  126. package/dist/chunks/{provider-mnbh32fx.js → mime-cjwramev.js} +6 -6
  127. package/dist/chunks/{provider-ckecvw8r.js → mime-ckecvw8r.js} +2 -2
  128. package/dist/chunks/{provider-pgahk4v0.js → mime-d1r7fz6b.js} +11 -11
  129. package/dist/chunks/{provider-p44d8wdy.js → mime-d2aac7k2.js} +5 -5
  130. package/dist/chunks/{provider-25wm0g8j.js → mime-d44j1b50.js} +8 -8
  131. package/dist/chunks/{provider-8wry8wmy.js → mime-d866bxqg.js} +11 -11
  132. package/dist/chunks/{provider-mpjm327k.js → mime-de35ch4m.js} +11 -11
  133. package/dist/chunks/{provider-pmr4s4kc.js → mime-dfe8djrf.js} +4 -4
  134. package/dist/chunks/{provider-nxf437fc.js → mime-dp1ryh00.js} +16 -16
  135. package/dist/chunks/{provider-289htsz9.js → mime-dqm8k5gs.js} +33 -33
  136. package/dist/chunks/{provider-5f8r53dv.js → mime-ds0wtj4e.js} +1 -1
  137. package/dist/chunks/{provider-z1x1gfhs.js → mime-dtt66365.js} +24 -24
  138. package/dist/chunks/{provider-1n7vwgcr.js → mime-dy59ndr5.js} +52 -52
  139. package/dist/chunks/{provider-48e6h404.js → mime-e0ps24dg.js} +24 -24
  140. package/dist/chunks/{provider-z2d9ad0a.js → mime-e18zzkty.js} +5 -5
  141. package/dist/chunks/{provider-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
  142. package/dist/chunks/{provider-1tmaqf5z.js → mime-e8yv0hf3.js} +4 -4
  143. package/dist/chunks/{provider-9e3vcssh.js → mime-ec87kc5z.js} +4 -4
  144. package/dist/chunks/{provider-t9cmg2g5.js → mime-ed1snsbs.js} +28 -28
  145. package/dist/chunks/{provider-1pgwehn0.js → mime-eefhezaq.js} +130 -130
  146. package/dist/chunks/{provider-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{provider-qaqqfk1g.js → mime-ekv8efyj.js} +11 -11
  148. package/dist/chunks/{provider-bw7ephcx.js → mime-emzh0g24.js} +22 -22
  149. package/dist/chunks/{provider-mhkvc446.js → mime-eq1pz5kg.js} +3 -3
  150. package/dist/chunks/{provider-erw5rpbs.js → mime-erw5rpbs.js} +2 -2
  151. package/dist/chunks/{provider-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  152. package/dist/chunks/{provider-ydh4z9kh.js → mime-evbat1kq.js} +30 -30
  153. package/dist/chunks/{provider-2j5dfjra.js → mime-ey8kmd5x.js} +18 -18
  154. package/dist/chunks/{provider-k53npxr2.js → mime-ezyw3hyt.js} +1 -1
  155. package/dist/chunks/{provider-djyzjjqa.js → mime-f0p6wgfs.js} +15 -15
  156. package/dist/chunks/{provider-gqvaak2s.js → mime-f1q6nvme.js} +1 -1
  157. package/dist/chunks/{provider-dxr1feyg.js → mime-f2dxdeh3.js} +14 -14
  158. package/dist/chunks/{provider-c08eebd0.js → mime-fcmgfk6f.js} +22 -22
  159. package/dist/chunks/{provider-z9rwy7fx.js → mime-fee1sgdn.js} +22 -22
  160. package/dist/chunks/{provider-hbyhqfhs.js → mime-fhz5gfgy.js} +5 -5
  161. package/dist/chunks/{provider-jw3ammcf.js → mime-fp67s591.js} +16 -16
  162. package/dist/chunks/{provider-jexxy024.js → mime-fpnx24t4.js} +3 -3
  163. package/dist/chunks/{provider-1e9cjvdj.js → mime-fs57cj69.js} +7 -7
  164. package/dist/chunks/{provider-m28tfe1w.js → mime-g2y161wv.js} +8 -8
  165. package/dist/chunks/{provider-tesvfhj5.js → mime-g51zwe1j.js} +15 -15
  166. package/dist/chunks/{provider-csqp4m5b.js → mime-ga3gdcep.js} +8 -8
  167. package/dist/chunks/{provider-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  168. package/dist/chunks/{provider-r1b6zck5.js → mime-gqegm53c.js} +11 -11
  169. package/dist/chunks/{provider-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
  170. package/dist/chunks/{provider-vmax8pys.js → mime-gxvazm9p.js} +11 -11
  171. package/dist/chunks/{provider-gfbdweg3.js → mime-h0cakgky.js} +5 -5
  172. package/dist/chunks/{provider-h6r3nrb9.js → mime-h6r3nrb9.js} +1 -1
  173. package/dist/chunks/{provider-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  174. package/dist/chunks/{provider-0nb8tj3r.js → mime-h877p9eh.js} +8 -8
  175. package/dist/chunks/{provider-yq2cczkq.js → mime-hdzt82x2.js} +9 -9
  176. package/dist/chunks/mime-hr9dp009.js +4 -0
  177. package/dist/chunks/{provider-jbfcvfnq.js → mime-hvjvz7ze.js} +10 -10
  178. package/dist/chunks/{provider-ax84d1xf.js → mime-j36xhj14.js} +30 -30
  179. package/dist/chunks/{provider-j56e64zr.js → mime-j56e64zr.js} +1 -1
  180. package/dist/chunks/{provider-rb0gn87w.js → mime-j9j6vs9t.js} +24 -24
  181. package/dist/chunks/{provider-8y2fx2dx.js → mime-jpf1a9kn.js} +46 -46
  182. package/dist/chunks/{provider-n46pycax.js → mime-jpxt7vtw.js} +5 -5
  183. package/dist/chunks/{provider-hz0q9sdq.js → mime-k1qrnqst.js} +8 -8
  184. package/dist/chunks/{provider-6kbcyghs.js → mime-k28tmd1k.js} +2 -2
  185. package/dist/chunks/{provider-k3c624dm.js → mime-k3c624dm.js} +3 -3
  186. package/dist/chunks/{provider-xjg1npdn.js → mime-k4q19yth.js} +13 -13
  187. package/dist/chunks/{provider-9m3e72t0.js → mime-k70wg4vh.js} +1 -1
  188. package/dist/chunks/{provider-1g7epwpd.js → mime-k8962brh.js} +4 -4
  189. package/dist/chunks/{provider-xf0nr9dv.js → mime-kb6gw2zp.js} +4 -4
  190. package/dist/chunks/{provider-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{provider-ex7nm40d.js → mime-m5mm7eg1.js} +7 -7
  192. package/dist/chunks/{provider-ah363fah.js → mime-m6q70yxa.js} +25 -25
  193. package/dist/chunks/{provider-6cbkac1a.js → mime-m72tqvbf.js} +17 -17
  194. package/dist/chunks/{provider-sw9z901w.js → mime-m7x0jkmn.js} +3 -3
  195. package/dist/chunks/{provider-qvk0gew2.js → mime-m9pdr671.js} +32 -32
  196. package/dist/chunks/{provider-6r79s7vx.js → mime-m9rvph0x.js} +8 -8
  197. package/dist/chunks/{provider-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{provider-gp0s93m5.js → mime-mb1qbq9t.js} +26 -26
  199. package/dist/chunks/{provider-57qh049z.js → mime-mbpz5yq0.js} +11 -11
  200. package/dist/chunks/{provider-3qmd0ebz.js → mime-mdr8ar5f.js} +12 -12
  201. package/dist/chunks/{provider-zcqg046m.js → mime-mgmaefw5.js} +6 -6
  202. package/dist/chunks/{provider-qhvf1q99.js → mime-mtxqaypk.js} +88 -88
  203. package/dist/chunks/{provider-mvksx64m.js → mime-n1ka8r9d.js} +4 -4
  204. package/dist/chunks/{provider-anj6srtj.js → mime-nd3qgbwe.js} +10 -10
  205. package/dist/chunks/{provider-vg2ry8eg.js → mime-ndz9h71m.js} +3 -3
  206. package/dist/chunks/{provider-b2att0km.js → mime-ny1bawyf.js} +17 -17
  207. package/dist/chunks/{provider-znn6tx0t.js → mime-p3vh2ta0.js} +21 -21
  208. package/dist/chunks/{provider-qkjm0tr9.js → mime-p43tgfkg.js} +34 -34
  209. package/dist/chunks/{provider-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{provider-pknna89w.js → mime-pknna89w.js} +1 -1
  211. package/dist/chunks/{provider-kkagwda7.js → mime-q2kneea3.js} +11 -11
  212. package/dist/chunks/{provider-a3r4dcrj.js → mime-q970vn6j.js} +2 -2
  213. package/dist/chunks/{provider-wx7bb5kt.js → mime-q9s0hka4.js} +4 -4
  214. package/dist/chunks/{provider-qg0jgkcp.js → mime-qg0jgkcp.js} +2 -2
  215. package/dist/chunks/{provider-t19n1wc4.js → mime-qm1jf1xc.js} +25 -25
  216. package/dist/chunks/{provider-2sejkfem.js → mime-qmqgtz8f.js} +9 -9
  217. package/dist/chunks/{provider-n9srjkx5.js → mime-qms6mpje.js} +20 -20
  218. package/dist/chunks/{provider-y7x142mt.js → mime-qs001aqx.js} +11 -11
  219. package/dist/chunks/{provider-qsdy395h.js → mime-qsdy395h.js} +1 -1
  220. package/dist/chunks/{provider-xz41y20a.js → mime-qvzr2hby.js} +43 -43
  221. package/dist/chunks/{provider-q38jyk3g.js → mime-qxatxkvx.js} +9 -9
  222. package/dist/chunks/{provider-0dtxedqk.js → mime-r3q38ah7.js} +10 -10
  223. package/dist/chunks/{provider-ngqyks8r.js → mime-rb662jkw.js} +12 -12
  224. package/dist/chunks/{provider-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{provider-rmk2c50f.js → mime-rf80fxgj.js} +5 -5
  226. package/dist/chunks/{provider-yrznvahk.js → mime-s4enseaf.js} +2 -2
  227. package/dist/chunks/{provider-f8y27661.js → mime-sk4fpzkz.js} +16 -16
  228. package/dist/chunks/{provider-8tn24nrr.js → mime-skqqy3tc.js} +7 -7
  229. package/dist/chunks/{provider-9gea571p.js → mime-sxzvkvgj.js} +6 -6
  230. package/dist/chunks/{provider-csrebfve.js → mime-t2cfyv1x.js} +11 -11
  231. package/dist/chunks/{provider-rhjbct0v.js → mime-t550f9t1.js} +4 -4
  232. package/dist/chunks/{provider-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{provider-tdstcens.js → mime-tdstcens.js} +1 -1
  234. package/dist/chunks/{provider-tgsp8mvr.js → mime-tggd67fe.js} +13 -13
  235. package/dist/chunks/{provider-7nrrz4vd.js → mime-tgwh4g45.js} +3 -3
  236. package/dist/chunks/{provider-tvtrv512.js → mime-tvtrv512.js} +1 -1
  237. package/dist/chunks/{provider-ff7nd16b.js → mime-twqbsrwr.js} +17 -17
  238. package/dist/chunks/mime-v1faaxn9.js +18 -0
  239. package/dist/chunks/{provider-tkkrdc9c.js → mime-v553wp33.js} +48 -48
  240. package/dist/chunks/{provider-r3rxn5pd.js → mime-v6v677s0.js} +24 -24
  241. package/dist/chunks/{provider-veqvce7d.js → mime-veqvce7d.js} +1 -1
  242. package/dist/chunks/{provider-9jtm8sj6.js → mime-vfwfag5t.js} +24 -24
  243. package/dist/chunks/{provider-gvv1stch.js → mime-vh73hc5m.js} +31 -31
  244. package/dist/chunks/{provider-vtxr0yy2.js → mime-vtxr0yy2.js} +2 -2
  245. package/dist/chunks/{provider-cavfk19g.js → mime-vw5a0rfv.js} +2 -2
  246. package/dist/chunks/{provider-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{provider-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{provider-6pc27hjz.js → mime-w92k2e0p.js} +4 -4
  249. package/dist/chunks/{provider-9e8epedj.js → mime-wbtxmsag.js} +12 -12
  250. package/dist/chunks/{provider-wd3x2cqz.js → mime-wd3x2cqz.js} +2 -2
  251. package/dist/chunks/{provider-wd87259q.js → mime-wd87259q.js} +1 -1
  252. package/dist/chunks/{provider-f5mwwqd1.js → mime-ws8b7tts.js} +11 -11
  253. package/dist/chunks/{provider-f5krr7qf.js → mime-ws8rf1n9.js} +18 -18
  254. package/dist/chunks/{provider-6gcfy764.js → mime-wskervgn.js} +14 -14
  255. package/dist/chunks/{provider-cx0f5p4g.js → mime-wvjy0rkm.js} +3 -3
  256. package/dist/chunks/{provider-kbt7gmx1.js → mime-ww3mp7jv.js} +3 -3
  257. package/dist/chunks/{provider-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{provider-73f5j550.js → mime-x2hpphy2.js} +3 -3
  259. package/dist/chunks/{provider-zh0v86tx.js → mime-x5n162sr.js} +13 -13
  260. package/dist/chunks/{provider-esj47bpe.js → mime-x5xe3x08.js} +40 -40
  261. package/dist/chunks/{provider-41bwr5r8.js → mime-x6yn2080.js} +24 -24
  262. package/dist/chunks/{provider-b658d458.js → mime-x9eqy100.js} +11 -11
  263. package/dist/chunks/{provider-gwnkz9kd.js → mime-xaqyyngn.js} +8 -8
  264. package/dist/chunks/{provider-a8bn8zg0.js → mime-xdk9p2qn.js} +21 -21
  265. package/dist/chunks/mime-xgn2qchc.js +252 -0
  266. package/dist/chunks/{provider-pgs636hh.js → mime-xgnbgapz.js} +1 -1
  267. package/dist/chunks/{provider-pe68j9z1.js → mime-xjtpc5ew.js} +21 -21
  268. package/dist/chunks/{provider-avk2ac34.js → mime-xmj1c5tj.js} +18 -18
  269. package/dist/chunks/{provider-046r0309.js → mime-xswfpnnj.js} +6 -6
  270. package/dist/chunks/{provider-et9e7fw3.js → mime-xw1kh6e4.js} +23 -23
  271. package/dist/chunks/{provider-mtv0dtrw.js → mime-xxc26qrd.js} +15 -15
  272. package/dist/chunks/{provider-9zzqfxsg.js → mime-xy6tzccz.js} +1 -1
  273. package/dist/chunks/{provider-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{provider-nve209ha.js → mime-y5xqhydv.js} +29 -29
  275. package/dist/chunks/{provider-7pqtqgjh.js → mime-y6n4fsc2.js} +24 -24
  276. package/dist/chunks/{provider-y71avatq.js → mime-y71avatq.js} +1 -1
  277. package/dist/chunks/{provider-72j1trj5.js → mime-ycy6en70.js} +20 -20
  278. package/dist/chunks/{provider-9mdnhvbk.js → mime-ydsngzkh.js} +1 -1
  279. package/dist/chunks/{provider-z006jn0q.js → mime-ye8z0dg9.js} +9 -9
  280. package/dist/chunks/{provider-c8b4sgfz.js → mime-yew08yk0.js} +41 -41
  281. package/dist/chunks/{provider-thynrszz.js → mime-yk00c7b3.js} +3 -3
  282. package/dist/chunks/{provider-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{provider-z07pqspn.js → mime-z07pqspn.js} +3 -3
  284. package/dist/chunks/{provider-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{provider-sya0r9rt.js → mime-z8c0yagb.js} +23 -23
  286. package/dist/chunks/{provider-r3pam6y0.js → mime-z90jk03v.js} +22 -22
  287. package/dist/chunks/{provider-s1neazx1.js → mime-zefpc43y.js} +16 -16
  288. package/dist/chunks/{provider-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{provider-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{provider-0xezjjjn.js → mime-zrq8kphx.js} +8 -8
  291. package/dist/chunks/{provider-8fwstqvg.js → mime-zsmwpmw6.js} +12 -12
  292. package/dist/chunks/{provider-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +88 -88
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +79 -79
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +225 -225
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +108 -108
  433. package/dist/form.js +80 -80
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +362 -362
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +80 -80
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +359 -359
  475. package/dist/location.js +81 -81
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +124 -124
  480. package/dist/mcp/oauth.js +75 -75
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +91 -91
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +94 -94
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +82 -82
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +113 -113
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +86 -86
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +333 -333
  504. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +5 -5
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +91 -91
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +120 -120
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +120 -120
  530. package/dist/plugin/provider/openai.js +92 -92
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +120 -120
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +70 -70
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +139 -139
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +348 -348
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +84 -84
  553. package/dist/plugin/vcs/hg.js +84 -84
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +6 -6
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +93 -93
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +3 -3
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +98 -98
  571. package/dist/reference/instructions.js +85 -85
  572. package/dist/reference.js +87 -87
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -97
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +132 -132
  581. package/dist/session/context.js +150 -150
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +221 -221
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +151 -151
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +90 -90
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +77 -77
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +208 -208
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +154 -154
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +214 -214
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +220 -220
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +2 -2
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +102 -102
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +123 -123
  641. package/dist/tool/plugin/edit.js +118 -118
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +122 -122
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +110 -110
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +7 -7
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +82 -82
  690. package/dist/wellknown/plugin.js +74 -74
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/provider-0mesazry.js +0 -4
  702. package/dist/chunks/provider-5syzq0vf.js +0 -26
  703. package/dist/chunks/provider-gyce5qg1.js +0 -18
  704. package/dist/chunks/provider-x77c26sk.js +0 -252
  705. /package/dist/chunks/{provider-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{provider-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{provider-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{provider-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{provider-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{provider-24dcb14g.js → mime-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{provider-2710q6r3.js → mime-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{provider-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{provider-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{provider-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{provider-359p4xyc.js → mime-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{provider-3asan66x.js → mime-3asan66x.js} +0 -0
  717. /package/dist/chunks/{provider-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{provider-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{provider-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{provider-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{provider-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{provider-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{provider-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{provider-53557ph1.js → mime-53557ph1.js} +0 -0
  725. /package/dist/chunks/{provider-550bvhaj.js → mime-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{provider-6prwharc.js → mime-6prwharc.js} +0 -0
  727. /package/dist/chunks/{provider-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{provider-7m9af43g.js → mime-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{provider-822emrt2.js → mime-822emrt2.js} +0 -0
  730. /package/dist/chunks/{provider-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{provider-8n3pysct.js → mime-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{provider-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{provider-922hggd3.js → mime-922hggd3.js} +0 -0
  734. /package/dist/chunks/{provider-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{provider-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{provider-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{provider-af5trqkr.js → mime-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{provider-afrmfg78.js → mime-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{provider-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{provider-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{provider-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{provider-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{provider-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{provider-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{provider-d9fn303g.js → mime-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{provider-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{provider-dajrwvna.js → mime-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{provider-dap0rakb.js → mime-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{provider-df08tz66.js → mime-df08tz66.js} +0 -0
  750. /package/dist/chunks/{provider-dy18nga0.js → mime-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{provider-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{provider-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{provider-ec1grn59.js → mime-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{provider-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{provider-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{provider-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{provider-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{provider-faypxj3z.js → mime-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{provider-fd410y7t.js → mime-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{provider-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{provider-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{provider-g86h250q.js → mime-g86h250q.js} +0 -0
  763. /package/dist/chunks/{provider-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{provider-gftt206x.js → mime-gftt206x.js} +0 -0
  765. /package/dist/chunks/{provider-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{provider-hk9envan.js → mime-hk9envan.js} +0 -0
  767. /package/dist/chunks/{provider-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{provider-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{provider-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{provider-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{provider-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{provider-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{provider-mp448xyj.js → mime-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{provider-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{provider-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{provider-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{provider-njntx4h6.js → mime-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{provider-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{provider-q74kybfr.js → mime-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{provider-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{provider-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{provider-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{provider-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{provider-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{provider-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{provider-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{provider-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{provider-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{provider-w803qqfp.js → mime-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{provider-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{provider-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{provider-wtztk69x.js → mime-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{provider-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{provider-x61499pn.js → mime-x61499pn.js} +0 -0
  795. /package/dist/chunks/{provider-y44na4kk.js → mime-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{provider-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{provider-y8f7s663.js → mime-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{provider-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{provider-ym463w8f.js → mime-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{provider-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./provider-922hggd3.js";
3
+ } from "./mime-922hggd3.js";
4
4
  import {
5
5
  Info6,
6
- ID5,
6
+ ID3,
7
7
  Name2
8
- } from "./provider-zjnvhswx.js";
8
+ } from "./mime-7wny7pda.js";
9
9
  import {
10
- Service39
11
- } from "./provider-esj47bpe.js";
10
+ Service58
11
+ } from "./mime-x5xe3x08.js";
12
12
  import {
13
13
  __export
14
- } from "./provider-9rqn6x4v.js";
14
+ } from "./mime-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill = {};
18
18
  __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin16,
21
+ Plugin: () => Plugin12,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill
24
24
  });
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin16 = define({
428
+ var Plugin12 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
433
  editor.add(Info6.make({
434
- id: ID5.make("opencode"),
434
+ id: ID3.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
440
  editor.add(Info6.make({
441
- id: ID5.make("report"),
441
+ id: ID3.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service39;
469
+ const config = yield* Service58;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin16, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin12, exports_skill };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./provider-2a5m3afh.js";
5
+ } from "./mime-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./provider-9rqn6x4v.js";
8
+ } from "./mime-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info22,
8
+ Info: () => Info9,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info22 = SessionProviderContext.Info;
22
+ var Info9 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
49
49
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
50
50
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
51
51
 
52
- export { Info22, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
52
+ export { Info9, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./provider-922hggd3.js";
4
+ } from "./mime-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./provider-y71avatq.js";
7
+ } from "./mime-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./provider-tazgh4e4.js";
12
+ } from "./mime-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./provider-ef5x83kb.js";
15
+ } from "./mime-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./provider-9rqn6x4v.js";
18
+ } from "./mime-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./provider-zr2ceqn5.js";
3
+ } from "./mime-zr2ceqn5.js";
4
4
  import {
5
- Service40
6
- } from "./provider-z1x1gfhs.js";
5
+ Service59
6
+ } from "./mime-dtt66365.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
25
  var make3 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service40;
26
+ const watcher = yield* Service59;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./provider-cx0f5p4g.js";
4
+ } from "./mime-wvjy0rkm.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./provider-ckecvw8r.js";
7
+ } from "./mime-ckecvw8r.js";
8
8
  import {
9
9
  __export
10
- } from "./provider-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID9,
17
- Info: () => Info23,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID5,
17
+ Info: () => Info10,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service67,
21
- node: () => node71
20
+ Service: () => Service56,
21
+ node: () => node58
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID9 = PermissionSaved.ID;
29
- var Info23 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID5 = PermissionSaved.ID;
29
+ var Info10 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service67 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service56 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service67, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID9.create(),
60
+ id: ID5.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service67.of({ list, add, remove });
69
+ return Service56.of({ list, add, remove });
70
70
  }));
71
- var node71 = makeGlobalNode({ service: Service67, layer, deps: [node88] });
71
+ var node58 = makeGlobalNode({ service: Service56, layer, deps: [node88] });
72
72
 
73
- export { ID9, Info23, ListInput5, AddInput2, Service67, node71, exports_saved };
73
+ export { ID5, Info10, ListInput4, AddInput2, Service56, node58, exports_saved };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./provider-cx0f5p4g.js";
4
+ } from "./mime-wvjy0rkm.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./provider-3hepkmqq.js";
7
+ } from "./mime-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./provider-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service72,
17
- node: () => node76
16
+ Service: () => Service62,
17
+ node: () => node65
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service72 extends Context.Service()("@opencode/KV") {
22
+ class Service62 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service72, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
25
25
  const db = (yield* Service84).db;
26
- return Service72.of({
26
+ return Service62.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node88] });
54
+ var node65 = makeGlobalNode({ service: Service62, layer, deps: [node88] });
55
55
 
56
- export { Service72, node76, exports_kv };
56
+ export { Service62, node65, exports_kv };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service80
3
- } from "./provider-qm204dz4.js";
3
+ } from "./mime-2kdwgsh2.js";
4
4
  import {
5
- Service50
6
- } from "./provider-pe68j9z1.js";
5
+ Service69
6
+ } from "./mime-xjtpc5ew.js";
7
7
  import {
8
- Service49,
8
+ Service38,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./provider-ppb0jbcv.js";
11
+ } from "./mime-bg87x2pg.js";
12
12
  import {
13
- Service52
14
- } from "./provider-nq2bdnnt.js";
13
+ Service37
14
+ } from "./mime-038cbjbn.js";
15
15
  import {
16
- Service65
17
- } from "./provider-1n7vwgcr.js";
16
+ Service54
17
+ } from "./mime-dy59ndr5.js";
18
18
  import {
19
- Service61,
19
+ Service53,
20
20
  resolvePath2
21
- } from "./provider-mtv0dtrw.js";
21
+ } from "./mime-xxc26qrd.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./provider-6prwharc.js";
24
+ } from "./mime-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./provider-9rqn6x4v.js";
27
+ } from "./mime-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: () => Input8,
33
+ Input: () => Input9,
34
34
  Output: () => Output7,
35
- Plugin: () => Plugin25,
36
- name: () => name8
35
+ Plugin: () => Plugin44,
36
+ name: () => name9
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 name8 = "edit";
43
- var Input8 = Schema.Struct({
42
+ var name9 = "edit";
43
+ var Input9 = 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 Plugin25 = {
106
+ var Plugin44 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service61;
110
- const fileMutation = yield* Service49;
111
- const environment = yield* Service50;
112
- const formatter = yield* Service52;
109
+ const access = yield* Service53;
110
+ const fileMutation = yield* Service38;
111
+ const environment = yield* Service69;
112
+ const formatter = yield* Service37;
113
113
  const location = yield* Service80;
114
- const permission = yield* Service65;
114
+ const permission = yield* Service54;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name8,
116
+ name: name9,
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: Input8,
119
+ input: Input9,
120
120
  output: Output7,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
@@ -194,4 +194,4 @@ var Plugin25 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name8, Input8, Output7, Plugin25, exports_edit };
197
+ export { name9, Input9, Output7, Plugin44, exports_edit };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./provider-2a5m3afh.js";
5
+ } from "./mime-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./provider-9rqn6x4v.js";
8
+ } from "./mime-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./provider-cx0f5p4g.js";
4
+ } from "./mime-wvjy0rkm.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./provider-2710q6r3.js";
8
+ } from "./mime-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./provider-y71avatq.js";
11
+ } from "./mime-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./provider-9rqn6x4v.js";
14
+ } from "./mime-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./provider-21981gj5.js";
4
+ } from "./mime-b95dy7zp.js";
5
5
  import {
6
6
  Key4,
7
7
  Service78,
8
8
  node82
9
- } from "./provider-z9rwy7fx.js";
9
+ } from "./mime-fee1sgdn.js";
10
10
  import {
11
11
  create3
12
- } from "./provider-rdw6cm16.js";
12
+ } from "./mime-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./provider-zs9c6f6y.js";
16
+ } from "./mime-41km3kz5.js";
17
17
  import {
18
18
  __export
19
- } from "./provider-9rqn6x4v.js";
19
+ } from "./mime-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -40,8 +40,8 @@ __export(exports_integration, {
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service77,
44
- node: () => node81
43
+ Service: () => Service76,
44
+ node: () => node80
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -100,12 +100,12 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service77 extends Context.Service()("@opencode/Integration") {
103
+ class Service76 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service77, Effect.gen(function* () {
108
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
109
109
  const credentials = yield* Service78;
110
110
  const bus = yield* Service83;
111
111
  const processes = yield* AppProcess.Service;
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
431
431
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
432
432
  return CommandAttempt2.make({ attemptID, time });
433
433
  });
434
- return Service77.of({
434
+ return Service76.of({
435
435
  transform: state.transform,
436
436
  reload: state.reload,
437
437
  revision: state.revision,
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
580
580
  }
581
581
  });
582
582
  }));
583
- var node81 = makeLocationNode({
584
- service: Service77,
583
+ var node80 = makeLocationNode({
584
+ service: Service76,
585
585
  layer,
586
586
  deps: [node82, node87, AppProcess.node]
587
587
  });
588
588
 
589
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
589
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./provider-21981gj5.js";
4
+ } from "./mime-b95dy7zp.js";
5
5
  import {
6
6
  create3
7
- } from "./provider-rdw6cm16.js";
7
+ } from "./mime-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./provider-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event15,
18
- ID: () => ID10,
19
- Info: () => Info24,
17
+ Event: () => Event9,
18
+ ID: () => ID7,
19
+ Info: () => Info12,
20
20
  Name: () => Name3,
21
- Service: () => Service68,
21
+ Service: () => Service57,
22
22
  defaultID: () => defaultID2,
23
- node: () => node72
23
+ node: () => node59
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event15 } from "@opencode/schema/agent";
30
+ import { Event as Event9 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID10 = Agent.ID;
33
+ var ID7 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID10.make("build");
35
+ var defaultID2 = ID7.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info24 = Agent.Info;
37
+ var Info12 = Agent.Info;
38
38
 
39
- class Service68 extends Context.Service()("@opencode/Agent") {
39
+ class Service57 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service68, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info24.default(id);
60
+ const defaults = Info12.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID10.make("build")));
82
+ const build = selectable(data.agents.get(ID7.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service68.of({
91
+ return Service57.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID10.make(id));
99
+ return state.get().agents.get(ID7.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID10.make(id);
104
+ const selected = ID7.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node72 = makeLocationNode({ service: Service68, layer, deps: [node87, Global.node] });
119
+ var node59 = makeLocationNode({ service: Service57, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID10, Name3, defaultID2, Color2, Info24, Service68, node72, exports_agent4, Event15 };
121
+ export { ID7, Name3, defaultID2, Color2, Info12, Service57, node59, exports_agent3, Event9 };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin6
3
+ } from "./mime-g2y161wv.js";
4
+ import {
5
+ Plugin5
6
+ } from "./mime-9522f170.js";
7
+ import {
8
+ Plugin8
9
+ } from "./mime-m5mm7eg1.js";
10
+ import {
11
+ Plugin4
12
+ } from "./mime-ga3gdcep.js";
13
+ import {
14
+ Plugin7
15
+ } from "./mime-5cmajn7h.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin6,
20
+ Plugin5,
21
+ Plugin8,
22
+ Plugin4,
23
+ Plugin7
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };