@opencode/core 0.0.0-dev-20165 → 0.0.0-dev-20169

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{bus-1de9bfc6.js → mime-07xxyaze.js} +22 -22
  8. package/dist/chunks/{bus-82rhge12.js → mime-0996nyz8.js} +9 -9
  9. package/dist/chunks/{bus-p4h2ee3k.js → mime-0e9d45z6.js} +39 -39
  10. package/dist/chunks/{bus-wnbk6n9k.js → mime-0gs1t9y7.js} +26 -26
  11. package/dist/chunks/{bus-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{bus-1m2z8e7b.js → mime-0r9gc419.js} +7 -7
  13. package/dist/chunks/mime-0rjbbhdn.js +252 -0
  14. package/dist/chunks/{bus-4a6jpjer.js → mime-0ryd0fps.js} +5 -5
  15. package/dist/chunks/{bus-pwhnje2m.js → mime-0s890w15.js} +5 -5
  16. package/dist/chunks/{bus-0v53mg2y.js → mime-0v53mg2y.js} +1 -1
  17. package/dist/chunks/{bus-fnhgg4jn.js → mime-0x4ra8ng.js} +13 -13
  18. package/dist/chunks/{bus-4k0xqdp1.js → mime-16cax9zb.js} +8 -8
  19. package/dist/chunks/{bus-e5bgy2te.js → mime-1a49mg8n.js} +19 -19
  20. package/dist/chunks/{bus-xck3z9mf.js → mime-1cn8p0vk.js} +3 -3
  21. package/dist/chunks/{bus-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{bus-hax2a083.js → mime-1dybw484.js} +329 -329
  23. package/dist/chunks/{bus-w4j00t45.js → mime-1fw2a5v8.js} +17 -17
  24. package/dist/chunks/{bus-5saxw66x.js → mime-1kppbkx0.js} +25 -25
  25. package/dist/chunks/{bus-90xaeqwc.js → mime-1qspzcx3.js} +11 -11
  26. package/dist/chunks/{bus-21r38tys.js → mime-21r38tys.js} +1 -1
  27. package/dist/chunks/{bus-492h1gdm.js → mime-246wn8dt.js} +14 -14
  28. package/dist/chunks/{bus-6z9y85k1.js → mime-2735jr6x.js} +12 -12
  29. package/dist/chunks/{bus-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{bus-bkwphhr2.js → mime-2qtvb2sf.js} +14 -14
  31. package/dist/chunks/{bus-z9dd25k8.js → mime-2xqf92me.js} +1 -1
  32. package/dist/chunks/{bus-zr2g05xs.js → mime-2y6wvzw1.js} +8 -8
  33. package/dist/chunks/{bus-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{bus-f6k3fn9n.js → mime-3h23es9p.js} +46 -46
  35. package/dist/chunks/{bus-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{bus-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{bus-a59y5hzn.js → mime-3sz51aqf.js} +12 -12
  38. package/dist/chunks/{bus-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{bus-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{bus-kvj3dve3.js → mime-44ykbs4n.js} +11 -11
  41. package/dist/chunks/{bus-rp1mvs2e.js → mime-492avacy.js} +8 -8
  42. package/dist/chunks/{bus-x2d6vh57.js → mime-4a39hndw.js} +175 -175
  43. package/dist/chunks/{bus-p9annnb7.js → mime-4fewzrdd.js} +7 -7
  44. package/dist/chunks/{bus-wqk3mr70.js → mime-4mj1cvph.js} +23 -23
  45. package/dist/chunks/{bus-9ban3fzf.js → mime-4nxa3yrp.js} +13 -13
  46. package/dist/chunks/{bus-9nepbqpa.js → mime-4pwxaf10.js} +6 -6
  47. package/dist/chunks/{bus-2j6jsqwq.js → mime-4v0ac6w2.js} +12 -12
  48. package/dist/chunks/{bus-fftnqjnh.js → mime-4xvevn0r.js} +31 -31
  49. package/dist/chunks/{bus-b0d9tgj8.js → mime-547acfmc.js} +8 -8
  50. package/dist/chunks/{bus-33w4ejhs.js → mime-56gdpj1q.js} +6 -6
  51. package/dist/chunks/{bus-5p3qe974.js → mime-5796tcck.js} +3 -3
  52. package/dist/chunks/{bus-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
  53. package/dist/chunks/{bus-nyva0bg3.js → mime-58m92xrk.js} +21 -21
  54. package/dist/chunks/{bus-gxqmhm25.js → mime-5cta56rp.js} +1 -1
  55. package/dist/chunks/{bus-5daktx2q.js → mime-5daktx2q.js} +1 -1
  56. package/dist/chunks/{bus-vqymvczy.js → mime-5r6fx1qs.js} +17 -17
  57. package/dist/chunks/{bus-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{bus-tbyx57wx.js → mime-6260z82e.js} +19 -19
  59. package/dist/chunks/{bus-669tq793.js → mime-669tq793.js} +1 -1
  60. package/dist/chunks/{bus-rq3x7jf0.js → mime-6asax46e.js} +52 -52
  61. package/dist/chunks/{bus-621fsy7e.js → mime-6gb804jb.js} +32 -32
  62. package/dist/chunks/{bus-2402vzrj.js → mime-6h73sxmp.js} +5 -5
  63. package/dist/chunks/{bus-2j6e3bvk.js → mime-6ka24jaf.js} +17 -17
  64. package/dist/chunks/{bus-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{bus-wqezm4py.js → mime-6qx8bc3d.js} +31 -31
  66. package/dist/chunks/{bus-cazgjqaa.js → mime-6x3df6m5.js} +15 -15
  67. package/dist/chunks/{bus-5vfxef0j.js → mime-70dy1mpp.js} +8 -8
  68. package/dist/chunks/{bus-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{bus-ywkte6jb.js → mime-7e3zd5d4.js} +20 -20
  70. package/dist/chunks/{bus-qg0jgkcp.js → mime-84zt2byv.js} +9 -9
  71. package/dist/chunks/{bus-yvvvp4gn.js → mime-89bb6baa.js} +8 -8
  72. package/dist/chunks/{bus-4eq8w0dz.js → mime-8b6wz1s2.js} +4 -4
  73. package/dist/chunks/{bus-5wrpqmpn.js → mime-8cmactcw.js} +6 -6
  74. package/dist/chunks/{bus-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{bus-rptbjxz5.js → mime-8fvtg4q1.js} +22 -22
  76. package/dist/chunks/{bus-kbqbpb5y.js → mime-8pkr1zz8.js} +5 -5
  77. package/dist/chunks/{bus-w92k2e0p.js → mime-8sze2n9a.js} +4 -4
  78. package/dist/chunks/{bus-xcd0eash.js → mime-909p1r3q.js} +6 -6
  79. package/dist/chunks/{bus-94ek1h2f.js → mime-94ek1h2f.js} +2 -2
  80. package/dist/chunks/{bus-a5tc7nft.js → mime-96172wp9.js} +9 -9
  81. package/dist/chunks/{bus-5gpwaaa3.js → mime-9g6mcpc9.js} +27 -27
  82. package/dist/chunks/{bus-n9axn9y3.js → mime-9nj21xqc.js} +8 -8
  83. package/dist/chunks/{bus-nng2ktcm.js → mime-a3r4dcrj.js} +2 -2
  84. package/dist/chunks/{bus-aaet6srn.js → mime-aaet6srn.js} +2 -2
  85. package/dist/chunks/{bus-h23yh68c.js → mime-acp8wmh6.js} +23 -23
  86. package/dist/chunks/{bus-5e23jtee.js → mime-ae1n2vcd.js} +4 -4
  87. package/dist/chunks/{bus-0aphxhy3.js → mime-ak9msbxp.js} +8 -8
  88. package/dist/chunks/{bus-htnmj870.js → mime-amtxatrd.js} +38 -38
  89. package/dist/chunks/{bus-68xb8x64.js → mime-aq494hqz.js} +9 -9
  90. package/dist/chunks/{bus-75hmpj5n.js → mime-ax1mpjb7.js} +27 -27
  91. package/dist/chunks/{bus-zqkerfns.js → mime-axrwawvg.js} +9 -9
  92. package/dist/chunks/{bus-804gbpmx.js → mime-b6fp2acj.js} +21 -21
  93. package/dist/chunks/{bus-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  94. package/dist/chunks/{bus-9w24k8ft.js → mime-bdn7vv49.js} +9 -9
  95. package/dist/chunks/{bus-r9y96fy8.js → mime-bemp11m2.js} +92 -92
  96. package/dist/chunks/{bus-9e4j78a5.js → mime-bf4gbvg4.js} +15 -15
  97. package/dist/chunks/{bus-vy4zg7qh.js → mime-bm3m92rh.js} +12 -12
  98. package/dist/chunks/{bus-hb54f2e7.js → mime-byjwxeqw.js} +42 -42
  99. package/dist/chunks/{bus-x4f6av98.js → mime-bz63ghv0.js} +30 -30
  100. package/dist/chunks/{bus-23k6j2rh.js → mime-ccksk4yj.js} +15 -15
  101. package/dist/chunks/{bus-cs75ts80.js → mime-ce49hgg3.js} +3 -3
  102. package/dist/chunks/{bus-t2n45ka6.js → mime-chwtr2e5.js} +26 -26
  103. package/dist/chunks/{bus-pyp2czcp.js → mime-ck42neey.js} +35 -35
  104. package/dist/chunks/{bus-ajvebkcv.js → mime-ck4n2qmk.js} +7 -7
  105. package/dist/chunks/{bus-ckecvw8r.js → mime-ckecvw8r.js} +2 -2
  106. package/dist/chunks/{bus-s5met55r.js → mime-cmmdg65p.js} +8 -8
  107. package/dist/chunks/{bus-x1fhfwhd.js → mime-cmx4q0sw.js} +3 -3
  108. package/dist/chunks/{bus-7e0e9twk.js → mime-cs3vqxz8.js} +5 -5
  109. package/dist/chunks/{bus-y3t73a5g.js → mime-cvh6twbq.js} +10 -10
  110. package/dist/chunks/{bus-cwa6csj7.js → mime-cwa6csj7.js} +2 -2
  111. package/dist/chunks/{bus-xfdhhsh9.js → mime-d15a5crh.js} +16 -16
  112. package/dist/chunks/{bus-2yz1cbm3.js → mime-d1ejf2a0.js} +48 -48
  113. package/dist/chunks/{bus-hkfg6fzm.js → mime-d2aac7k2.js} +5 -5
  114. package/dist/chunks/{bus-m0nnjza8.js → mime-d6h5jf52.js} +11 -11
  115. package/dist/chunks/{bus-8r8xc86v.js → mime-ddzkc74p.js} +20 -20
  116. package/dist/chunks/{bus-p8a6mfpk.js → mime-denbd3k6.js} +31 -31
  117. package/dist/chunks/{bus-1r8wqweq.js → mime-dhcd5s6n.js} +14 -14
  118. package/dist/chunks/{bus-37s12vcn.js → mime-dj9sq318.js} +5 -5
  119. package/dist/chunks/{bus-qeg755aj.js → mime-djgw09t3.js} +12 -12
  120. package/dist/chunks/{bus-hzk9myad.js → mime-dmy463da.js} +15 -15
  121. package/dist/chunks/{bus-8gsyrf1v.js → mime-dtb55fr6.js} +10 -10
  122. package/dist/chunks/{bus-fqx7x8ej.js → mime-dx066ber.js} +9 -9
  123. package/dist/chunks/{bus-z7gsgqjy.js → mime-dyynjqpa.js} +39 -39
  124. package/dist/chunks/{bus-510m7gjw.js → mime-e6hmchc5.js} +5 -5
  125. package/dist/chunks/{bus-fe7dkewn.js → mime-ebhn8wwf.js} +17 -17
  126. package/dist/chunks/{bus-4w7sepzt.js → mime-ec7jv6ne.js} +50 -50
  127. package/dist/chunks/{bus-ecfe7b91.js → mime-ecfe7b91.js} +2 -2
  128. package/dist/chunks/{bus-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{bus-0x3w53kc.js → mime-empm8ahp.js} +28 -28
  130. package/dist/chunks/{bus-534vcbcv.js → mime-ennxz5nn.js} +20 -20
  131. package/dist/chunks/{bus-syyr0948.js → mime-eq9tcww4.js} +18 -18
  132. package/dist/chunks/{bus-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{bus-h8bd7r45.js → mime-ew79ghek.js} +6 -6
  134. package/dist/chunks/{bus-nxcrwpga.js → mime-f4d0s1t2.js} +16 -16
  135. package/dist/chunks/{bus-x2qdxhwm.js → mime-f5gy8qwh.js} +8 -8
  136. package/dist/chunks/{bus-v9cj5dav.js → mime-f6rek99c.js} +7 -7
  137. package/dist/chunks/mime-f81tjggh.js +18 -0
  138. package/dist/chunks/{bus-rrrgw129.js → mime-f9hgfqpn.js} +18 -18
  139. package/dist/chunks/{bus-hsxpg77g.js → mime-fbfwk3fg.js} +5 -5
  140. package/dist/chunks/{bus-cjbxtrec.js → mime-fk8kps10.js} +11 -11
  141. package/dist/chunks/{bus-bbb6qde0.js → mime-fqvsmr7a.js} +17 -17
  142. package/dist/chunks/{bus-9wdwr662.js → mime-fxfxepgh.js} +6 -6
  143. package/dist/chunks/{bus-g2dy75c5.js → mime-fya34y6j.js} +15 -15
  144. package/dist/chunks/{bus-ffdxvw45.js → mime-fydjrjbk.js} +21 -21
  145. package/dist/chunks/{bus-50mzsvk4.js → mime-g190xswt.js} +4 -4
  146. package/dist/chunks/{bus-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{bus-r0c8qkf4.js → mime-ghghsxj7.js} +19 -19
  148. package/dist/chunks/{bus-evhxqahe.js → mime-ghw31w7j.js} +10 -10
  149. package/dist/chunks/{bus-phycxd65.js → mime-gk9fhfww.js} +26 -26
  150. package/dist/chunks/{bus-11mp6xcc.js → mime-gs4bd3ck.js} +13 -13
  151. package/dist/chunks/mime-gv3av4nc.js +26 -0
  152. package/dist/chunks/{bus-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{bus-x5yxy9ce.js → mime-gyn306pg.js} +18 -18
  154. package/dist/chunks/{bus-9x3m2tdt.js → mime-h0jd11tf.js} +5 -5
  155. package/dist/chunks/{bus-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{bus-40e6w6a8.js → mime-h99x4ah1.js} +32 -32
  157. package/dist/chunks/{bus-yeddeprc.js → mime-hp23trsw.js} +32 -32
  158. package/dist/chunks/{bus-rrh5t7kc.js → mime-hvt58z0f.js} +29 -29
  159. package/dist/chunks/{bus-yk31kz7x.js → mime-j1nzbrzj.js} +27 -27
  160. package/dist/chunks/{bus-c0s8qqjn.js → mime-j26kfq5v.js} +10 -10
  161. package/dist/chunks/{bus-j56e64zr.js → mime-j56e64zr.js} +1 -1
  162. package/dist/chunks/{bus-pgp1nwjn.js → mime-j8m1p4p1.js} +4 -4
  163. package/dist/chunks/{bus-k53npxr2.js → mime-j9ty9cws.js} +1 -1
  164. package/dist/chunks/{bus-7w99qc9d.js → mime-jexxy024.js} +3 -3
  165. package/dist/chunks/{bus-m984pxrh.js → mime-jg3tkmqv.js} +22 -22
  166. package/dist/chunks/{bus-jh76kevn.js → mime-jpva2q9q.js} +11 -11
  167. package/dist/chunks/{bus-q612gbfm.js → mime-jq7v6dgk.js} +5 -5
  168. package/dist/chunks/{bus-7wmnk88b.js → mime-jqfs4f8t.js} +44 -44
  169. package/dist/chunks/{bus-jh3gssky.js → mime-jwm73ahz.js} +8 -8
  170. package/dist/chunks/{bus-nzks3jc8.js → mime-k3c624dm.js} +3 -3
  171. package/dist/chunks/{bus-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{bus-dg2cj1yd.js → mime-m6nec9qq.js} +4 -4
  173. package/dist/chunks/{bus-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{bus-e654zbkh.js → mime-mb4xa1j6.js} +36 -36
  175. package/dist/chunks/{bus-cfq2wmsc.js → mime-mbdf20a3.js} +16 -16
  176. package/dist/chunks/{bus-2p8k3371.js → mime-mbh094q3.js} +5 -5
  177. package/dist/chunks/{bus-0gdtjrb3.js → mime-me0b0vjg.js} +10 -10
  178. package/dist/chunks/{bus-jn4617zx.js → mime-mk2tfswv.js} +11 -11
  179. package/dist/chunks/{bus-89dazgd3.js → mime-mv8r48y5.js} +24 -24
  180. package/dist/chunks/{bus-mhkvc446.js → mime-mvfsc1pv.js} +3 -3
  181. package/dist/chunks/{bus-5xpznt2d.js → mime-mvksx64m.js} +4 -4
  182. package/dist/chunks/{bus-zfbsw1e6.js → mime-mw0cehm6.js} +3 -3
  183. package/dist/chunks/{bus-qjxrv95f.js → mime-mzqhsy22.js} +19 -19
  184. package/dist/chunks/{bus-a21e9xnq.js → mime-n2we63qy.js} +14 -14
  185. package/dist/chunks/{bus-6163gw13.js → mime-n4djqr79.js} +28 -28
  186. package/dist/chunks/{bus-sgr5k3cd.js → mime-neam7ak9.js} +27 -27
  187. package/dist/chunks/{bus-mp2z7kc7.js → mime-nr80y6k7.js} +19 -19
  188. package/dist/chunks/{bus-da8zkw49.js → mime-nsandnz2.js} +4 -4
  189. package/dist/chunks/{bus-wdqsqr18.js → mime-nyrwqgn4.js} +11 -5
  190. package/dist/chunks/{bus-8br708y6.js → mime-p0bpn1a8.js} +37 -37
  191. package/dist/chunks/{bus-dv1qgsyq.js → mime-p42hj8p8.js} +8 -8
  192. package/dist/chunks/{bus-7kjpmjj3.js → mime-phfznvh9.js} +80 -80
  193. package/dist/chunks/{bus-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{bus-z7ygcspq.js → mime-pjwpcx5g.js} +34 -34
  195. package/dist/chunks/{bus-pknna89w.js → mime-pknna89w.js} +1 -1
  196. package/dist/chunks/{bus-6vjn8bs4.js → mime-prpf8ftn.js} +2 -2
  197. package/dist/chunks/{bus-87d1fbvh.js → mime-py5b7878.js} +9 -9
  198. package/dist/chunks/{bus-6kgm0dkk.js → mime-q1tmktbx.js} +11 -11
  199. package/dist/chunks/{bus-tvztn4z4.js → mime-qczqf1dc.js} +28 -28
  200. package/dist/chunks/{bus-s6ygs1j2.js → mime-qed5jbce.js} +5 -5
  201. package/dist/chunks/{bus-2k8khapm.js → mime-qgn6gcr1.js} +5 -5
  202. package/dist/chunks/{bus-v0030e94.js → mime-qmp029tv.js} +13 -13
  203. package/dist/chunks/{bus-4hakzmxn.js → mime-qr124z36.js} +8 -8
  204. package/dist/chunks/{bus-drw4pjw7.js → mime-qrmaq0pw.js} +13 -13
  205. package/dist/chunks/{bus-qsdy395h.js → mime-qsdy395h.js} +1 -1
  206. package/dist/chunks/{bus-2ewbzxey.js → mime-r205r7v3.js} +35 -35
  207. package/dist/chunks/{bus-q6rf5bjx.js → mime-r2de5yng.js} +18 -18
  208. package/dist/chunks/{bus-6ersrjne.js → mime-r33ff4dw.js} +4 -4
  209. package/dist/chunks/{bus-h6r3nrb9.js → mime-r55vasa2.js} +4 -4
  210. package/dist/chunks/{bus-ad9vrafr.js → mime-r6fqv44t.js} +13 -13
  211. package/dist/chunks/{bus-s17swzag.js → mime-rdhh766h.js} +4 -4
  212. package/dist/chunks/{bus-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{bus-s8d7rejh.js → mime-rhjbct0v.js} +4 -4
  214. package/dist/chunks/{bus-bgs9y14h.js → mime-rmk2c50f.js} +5 -5
  215. package/dist/chunks/{bus-saap7xtw.js → mime-rpka6xkw.js} +23 -23
  216. package/dist/chunks/{bus-hqn196j8.js → mime-rs4eeekc.js} +9 -9
  217. package/dist/chunks/{bus-ezt4q7h3.js → mime-ryps5y1f.js} +22 -22
  218. package/dist/chunks/{bus-jtr8e0e5.js → mime-s3mp4eq0.js} +13 -13
  219. package/dist/chunks/{bus-rspj2gge.js → mime-sc7svgdt.js} +25 -25
  220. package/dist/chunks/{bus-0ba3e5df.js → mime-scnv85zn.js} +11 -11
  221. package/dist/chunks/{bus-bmnhc8s0.js → mime-sdaymwv4.js} +18 -18
  222. package/dist/chunks/{bus-bpfs35fb.js → mime-t0dhg9xm.js} +3 -3
  223. package/dist/chunks/{bus-1g7epwpd.js → mime-t2fc4mz5.js} +7 -7
  224. package/dist/chunks/{bus-ppjrrp6c.js → mime-t3wpcfc0.js} +22 -22
  225. package/dist/chunks/{bus-bd4t1mec.js → mime-t5a2hf0x.js} +7 -7
  226. package/dist/chunks/{bus-g8yxknp6.js → mime-t73dcxme.js} +9 -9
  227. package/dist/chunks/{bus-94fjsw4s.js → mime-t7vjw3g9.js} +10 -10
  228. package/dist/chunks/{bus-8m6wptmc.js → mime-ta6q38yf.js} +15 -15
  229. package/dist/chunks/{bus-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{bus-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{bus-tdstcens.js → mime-tdstcens.js} +1 -1
  232. package/dist/chunks/{bus-9dkf152x.js → mime-thpvyx44.js} +32 -32
  233. package/dist/chunks/{bus-znfp2xmy.js → mime-tme7ypnb.js} +17 -17
  234. package/dist/chunks/{bus-tvtrv512.js → mime-tvtrv512.js} +1 -1
  235. package/dist/chunks/{bus-j6rjj2pc.js → mime-tw1e01ej.js} +61 -61
  236. package/dist/chunks/{bus-y50wd8rz.js → mime-txm26eb2.js} +23 -23
  237. package/dist/chunks/{bus-veqvce7d.js → mime-veqvce7d.js} +1 -1
  238. package/dist/chunks/{bus-772ac9zj.js → mime-vg1ctdtm.js} +17 -17
  239. package/dist/chunks/{bus-t6qketva.js → mime-vps92m75.js} +9 -9
  240. package/dist/chunks/{bus-bjbmfypf.js → mime-vqm199mj.js} +32 -32
  241. package/dist/chunks/{bus-5eh95n78.js → mime-vs4a43ce.js} +58 -58
  242. package/dist/chunks/{bus-2qxex346.js → mime-vt049zkw.js} +16 -16
  243. package/dist/chunks/{bus-hxn9qyg6.js → mime-vv7f1353.js} +18 -18
  244. package/dist/chunks/{bus-10jtetaj.js → mime-vyqn3nqs.js} +4 -4
  245. package/dist/chunks/{bus-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{bus-ey157pts.js → mime-vzqv0rzd.js} +5 -5
  247. package/dist/chunks/{bus-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{bus-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{bus-21wqhget.js → mime-wbbqzpfk.js} +6 -6
  250. package/dist/chunks/{bus-wd3x2cqz.js → mime-wd3x2cqz.js} +2 -2
  251. package/dist/chunks/{bus-wd87259q.js → mime-wd87259q.js} +1 -1
  252. package/dist/chunks/{bus-4p660y5p.js → mime-wmras1aj.js} +22 -22
  253. package/dist/chunks/{bus-msfwm4k6.js → mime-ww571ven.js} +22 -22
  254. package/dist/chunks/{bus-mw3kn4cx.js → mime-wwz2c70k.js} +14 -14
  255. package/dist/chunks/{bus-ee5xchhv.js → mime-x0k0k3nk.js} +20 -20
  256. package/dist/chunks/{bus-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{bus-yebnd757.js → mime-x8wvmgka.js} +44 -44
  258. package/dist/chunks/{bus-wbns4mzj.js → mime-x960xs2s.js} +31 -31
  259. package/dist/chunks/{bus-k1mv0tmj.js → mime-xbmsj09z.js} +10 -10
  260. package/dist/chunks/{bus-kyp46z3n.js → mime-xdfcdmq0.js} +23 -23
  261. package/dist/chunks/{bus-75hjbzd4.js → mime-xdsb90ts.js} +11 -11
  262. package/dist/chunks/{bus-xep35038.js → mime-xf3wnvpw.js} +33 -33
  263. package/dist/chunks/{bus-57b9ws8p.js → mime-xfkkasph.js} +7 -7
  264. package/dist/chunks/{bus-mq14h6tz.js → mime-xjyydmb8.js} +9 -9
  265. package/dist/chunks/{bus-t9dc5kdx.js → mime-xjzb32y7.js} +13 -13
  266. package/dist/chunks/{bus-h5ak0366.js → mime-xjzvydkr.js} +26 -26
  267. package/dist/chunks/{bus-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{bus-nxjwhan3.js → mime-xpxhmcar.js} +9 -9
  269. package/dist/chunks/{bus-ps92wzvy.js → mime-xr349t4n.js} +11 -11
  270. package/dist/chunks/{bus-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{bus-y71avatq.js → mime-y71avatq.js} +1 -1
  272. package/dist/chunks/{bus-z0aj456m.js → mime-ybfnsx4m.js} +4 -4
  273. package/dist/chunks/{bus-2e96adxv.js → mime-ybhbtxjg.js} +6 -6
  274. package/dist/chunks/{bus-kwmf9msk.js → mime-yd0n98jr.js} +35 -35
  275. package/dist/chunks/{bus-8y4q0w2z.js → mime-ykbetyw3.js} +4 -4
  276. package/dist/chunks/{bus-yp2x3t23.js → mime-yp2x3t23.js} +1 -1
  277. package/dist/chunks/{bus-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{bus-yrznvahk.js → mime-yrznvahk.js} +2 -2
  279. package/dist/chunks/{bus-nb50r9px.js → mime-ywg7ry4y.js} +4 -4
  280. package/dist/chunks/{bus-sgr88nar.js → mime-ywvtc5g7.js} +28 -28
  281. package/dist/chunks/{bus-z07pqspn.js → mime-z07pqspn.js} +3 -3
  282. package/dist/chunks/{bus-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{bus-m67t35hs.js → mime-z19932rd.js} +27 -27
  284. package/dist/chunks/{bus-z63w68vq.js → mime-z63w68vq.js} +2 -2
  285. package/dist/chunks/{bus-0snn02bc.js → mime-zc2nbk21.js} +23 -23
  286. package/dist/chunks/{bus-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{bus-m81s8rjw.js → mime-zmb1q919.js} +30 -30
  288. package/dist/chunks/{bus-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{bus-baaqp4zd.js → mime-zvt5dnpc.js} +4 -4
  290. package/dist/chunks/{bus-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{bus-agvp0yme.js → mime-zy1hsbqs.js} +3 -3
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +162 -162
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +372 -372
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +93 -93
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +76 -76
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +83 -83
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +84 -84
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +102 -102
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +101 -101
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/compaction.js +133 -133
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +334 -334
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +120 -120
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +349 -349
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  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 +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +225 -225
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +84 -84
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +86 -86
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +3 -3
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +95 -95
  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 +128 -128
  581. package/dist/session/context.js +152 -152
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +153 -153
  589. package/dist/session/history.js +13 -13
  590. package/dist/session/inbox.js +86 -86
  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 +1 -1
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +229 -229
  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 +170 -170
  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 +210 -210
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +150 -150
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +220 -220
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  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 +11 -11
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  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 +125 -125
  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 +116 -116
  644. package/dist/tool/plugin/grep.js +124 -124
  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 +101 -101
  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 +215 -215
  653. package/dist/tool/plugin/webfetch.js +104 -104
  654. package/dist/tool/plugin/websearch.js +114 -114
  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 +12 -12
  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 +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  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 +3 -3
  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 +1 -1
  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 +78 -78
  690. package/dist/wellknown/plugin.js +74 -74
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +7 -7
  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 +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +94 -94
  700. package/package.json +8 -8
  701. package/dist/chunks/bus-3zb29hwj.js +0 -26
  702. package/dist/chunks/bus-jqh9b0xq.js +0 -18
  703. package/dist/chunks/bus-mtayj47y.js +0 -252
  704. /package/dist/chunks/{bus-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{bus-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{bus-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{bus-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{bus-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{bus-24dcb14g.js → mime-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{bus-2710q6r3.js → mime-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{bus-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{bus-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{bus-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{bus-359p4xyc.js → mime-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{bus-3asan66x.js → mime-3asan66x.js} +0 -0
  716. /package/dist/chunks/{bus-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{bus-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{bus-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{bus-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{bus-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{bus-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{bus-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{bus-53557ph1.js → mime-53557ph1.js} +0 -0
  724. /package/dist/chunks/{bus-550bvhaj.js → mime-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{bus-5qd3pb7m.js → mime-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{bus-6kdq0pjd.js → mime-6kdq0pjd.js} +0 -0
  727. /package/dist/chunks/{bus-6prwharc.js → mime-6prwharc.js} +0 -0
  728. /package/dist/chunks/{bus-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{bus-7m9af43g.js → mime-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{bus-822emrt2.js → mime-822emrt2.js} +0 -0
  731. /package/dist/chunks/{bus-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{bus-8n3pysct.js → mime-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{bus-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{bus-922hggd3.js → mime-922hggd3.js} +0 -0
  735. /package/dist/chunks/{bus-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{bus-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{bus-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{bus-af5trqkr.js → mime-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{bus-afrmfg78.js → mime-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{bus-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{bus-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{bus-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{bus-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{bus-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{bus-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{bus-d9fn303g.js → mime-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{bus-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{bus-dajrwvna.js → mime-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{bus-dap0rakb.js → mime-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{bus-df08tz66.js → mime-df08tz66.js} +0 -0
  751. /package/dist/chunks/{bus-dy18nga0.js → mime-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{bus-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{bus-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{bus-ec1grn59.js → mime-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{bus-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{bus-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{bus-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{bus-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{bus-faypxj3z.js → mime-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{bus-fd410y7t.js → mime-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{bus-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{bus-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{bus-g86h250q.js → mime-g86h250q.js} +0 -0
  764. /package/dist/chunks/{bus-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{bus-gftt206x.js → mime-gftt206x.js} +0 -0
  766. /package/dist/chunks/{bus-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{bus-hk9envan.js → mime-hk9envan.js} +0 -0
  768. /package/dist/chunks/{bus-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{bus-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{bus-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{bus-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{bus-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{bus-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{bus-mp448xyj.js → mime-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{bus-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{bus-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{bus-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{bus-njntx4h6.js → mime-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{bus-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{bus-q74kybfr.js → mime-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{bus-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{bus-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{bus-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{bus-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{bus-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{bus-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{bus-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{bus-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{bus-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{bus-w803qqfp.js → mime-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{bus-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{bus-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{bus-wtztk69x.js → mime-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{bus-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{bus-x61499pn.js → mime-x61499pn.js} +0 -0
  796. /package/dist/chunks/{bus-y44na4kk.js → mime-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{bus-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{bus-y8f7s663.js → mime-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{bus-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{bus-ym463w8f.js → mime-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{bus-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info28,
10
+ Info: () => Info21,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info28 = Connection.Info;
17
+ var Info21 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info21, key2, exports_connection };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./bus-a59y5hzn.js";
3
+ Service82,
4
+ node86
5
+ } from "./mime-3sz51aqf.js";
6
6
  import {
7
7
  __export
8
- } from "./bus-9rqn6x4v.js";
8
+ } from "./mime-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service4,
14
+ Service: () => Service10,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node6
16
+ layer: () => layer7,
17
+ node: () => node12
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service4 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service10 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
26
- const bus = yield* Service83;
25
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
26
+ const bus = yield* Service82;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service4.of({
29
+ return Service10.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node6 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node87] });
36
+ var node12 = makeGlobalNode({ service: Service10, layer: layer7, deps: [node86] });
37
37
 
38
- export { Updated2, Service4, layer5, node6, exports_sdk };
38
+ export { Updated2, Service10, layer7, node12, exports_sdk };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./bus-550bvhaj.js";
3
+ } from "./mime-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./bus-j5zkgpj8.js";
6
+ } from "./mime-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./bus-3asan66x.js";
9
+ } from "./mime-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./bus-bgs9y14h.js";
12
+ } from "./mime-rmk2c50f.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make21,
21
+ make: () => make20,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make21(source) {
53
+ function make20(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./bus-eh3zwz77.js";
3
+ } from "./mime-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./bus-e73j6tqm.js";
6
+ } from "./mime-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./bus-3wcehsnq.js";
9
+ } from "./mime-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./bus-dap0rakb.js";
12
+ } from "./mime-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./bus-4y7fprxs.js";
15
+ } from "./mime-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID13,
2
+ ID7,
3
3
  mergeOverlay2
4
- } from "./bus-xep35038.js";
4
+ } from "./mime-xf3wnvpw.js";
5
5
  import {
6
- ID12,
6
+ ID6,
7
7
  VariantID2,
8
- Info26,
8
+ Info19,
9
9
  compatibility2
10
- } from "./bus-2ewbzxey.js";
10
+ } from "./mime-r205r7v3.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./mime-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models2 = {};
17
- __export(exports_models2, {
18
- ModalModels: () => exports_models2,
19
- derive: () => derive3,
20
- get: () => get3,
21
- load: () => load3
16
+ var exports_models = {};
17
+ __export(exports_models, {
18
+ ModalModels: () => exports_models,
19
+ derive: () => derive2,
20
+ get: () => get2,
21
+ load: () => load2
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID7.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get3(baseURL, apiKey, existing) {
58
- return derive3(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get2(baseURL, apiKey, existing) {
58
+ return derive2(baseURL, await load2(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load2(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive3(baseURL, remote, existing) {
74
+ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID12.make(item.id);
78
+ const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID6.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info26.make({
98
- ...Info26.default(providerID, id),
97
+ return Info19.make({
98
+ ...Info19.default(providerID, id),
99
99
  id,
100
- modelID: ID12.make(remote.id),
100
+ modelID: ID6.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get3, load3, derive3, exports_models2 };
147
+ export { get2, load2, derive2, exports_models };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service83
3
- } from "./bus-a59y5hzn.js";
2
+ Service82
3
+ } from "./mime-3sz51aqf.js";
4
4
  import {
5
- Service70,
6
- Event15
7
- } from "./bus-1de9bfc6.js";
5
+ Service69,
6
+ Event17
7
+ } from "./mime-07xxyaze.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
@@ -20,8 +20,8 @@ import { Effect, Stream } from "effect";
20
20
  var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service83;
24
- const wellknown = yield* Service70;
23
+ const bus = yield* Service82;
24
+ const wellknown = yield* Service69;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,7 +41,7 @@ var Plugin2 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./bus-2a5m3afh.js";
3
+ } from "./mime-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./bus-922hggd3.js";
6
+ } from "./mime-922hggd3.js";
7
7
  import {
8
- Service80
9
- } from "./bus-492h1gdm.js";
8
+ Service79
9
+ } from "./mime-246wn8dt.js";
10
10
  import {
11
- Service54
12
- } from "./bus-89dazgd3.js";
11
+ Service77
12
+ } from "./mime-mv8r48y5.js";
13
13
  import {
14
- Service22
15
- } from "./bus-a21e9xnq.js";
14
+ Service17
15
+ } from "./mime-n2we63qy.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./bus-t2n45ka6.js";
21
+ } from "./mime-chwtr2e5.js";
22
22
  import {
23
- Service62
24
- } from "./bus-rq3x7jf0.js";
23
+ Service63
24
+ } from "./mime-6asax46e.js";
25
25
  import {
26
- Service27
27
- } from "./bus-znfp2xmy.js";
26
+ Service18
27
+ } from "./mime-tme7ypnb.js";
28
28
  import {
29
29
  __export
30
- } from "./bus-9rqn6x4v.js";
30
+ } from "./mime-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
@@ -35,7 +35,7 @@ __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
36
  Input: () => Input8,
37
37
  Output: () => Output6,
38
- Plugin: () => Plugin11,
38
+ Plugin: () => Plugin27,
39
39
  name: () => name8,
40
40
  toModelContent: () => toModelContent5
41
41
  });
@@ -63,14 +63,14 @@ var toModelContent5 = (entries, truncated = false) => {
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin11 = {
66
+ var Plugin27 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service54;
70
- const ripgrep = yield* Service22;
71
- const location = yield* Service80;
72
- const access = yield* Service27;
73
- const permission = yield* Service62;
69
+ const environment = yield* Service77;
70
+ const ripgrep = yield* Service17;
71
+ const location = yield* Service79;
72
+ const access = yield* Service18;
73
+ const permission = yield* Service63;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
75
  name: name8,
76
76
  options: { codemode: false },
@@ -125,4 +125,4 @@ var Plugin11 = {
125
125
  })
126
126
  };
127
127
 
128
- export { name8, Input8, Output6, toModelContent5, Plugin11, exports_glob };
128
+ export { name8, Input8, Output6, toModelContent5, Plugin27, exports_glob };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./bus-y71avatq.js";
3
+ } from "./mime-y71avatq.js";
4
4
  import {
5
- Service54,
6
- node56
7
- } from "./bus-89dazgd3.js";
5
+ Service77,
6
+ node80
7
+ } from "./mime-mv8r48y5.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service19,
17
- node: () => node22,
16
+ Service: () => Service29,
17
+ node: () => node32,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service19 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service29 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service19, Effect.gen(function* () {
38
- const environment = yield* Service54;
37
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
38
+ const environment = yield* Service77;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service19.of({ withLock, write, writeTextPreservingBom });
59
+ return Service29.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node22 = makeLocationNode({ service: Service19, layer, deps: [node56] });
61
+ var node32 = makeLocationNode({ service: Service29, layer, deps: [node80] });
62
62
 
63
- export { Service19, readText2, syncTextBom2, node22, exports_file_mutation };
63
+ export { Service29, readText2, syncTextBom2, node32, exports_file_mutation };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./bus-5t3nmthw.js";
3
+ } from "./mime-5t3nmthw.js";
4
4
  import {
5
- Service73,
6
- node77
7
- } from "./bus-7wmnk88b.js";
5
+ Service51,
6
+ node53
7
+ } from "./mime-jqfs4f8t.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service72,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer23,
20
- node: () => node76
17
+ Service: () => Service20,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer9,
20
+ node: () => node23
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service72 extends Context.Service()("@opencode/Generate") {
36
+ class Service20 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer23 = Layer.effect(Service72, Effect.gen(function* () {
38
+ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service73;
40
+ const resolver = yield* Service51;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer23 = Layer.effect(Service72, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service72.of({ text });
66
+ return Service20.of({ text });
67
67
  }));
68
- var node76 = makeLocationNode({
69
- service: Service72,
70
- layer: layer23,
71
- deps: [node77, llmClient2]
68
+ var node23 = makeLocationNode({
69
+ service: Service20,
70
+ layer: layer9,
71
+ deps: [node53, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service72, layer23, node76, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError2, Service20, layer9, node23, exports_generate };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service46
3
- } from "./bus-x5yxy9ce.js";
2
+ Service56
3
+ } from "./mime-gyn306pg.js";
4
4
  import {
5
- Service45
6
- } from "./bus-hb54f2e7.js";
5
+ Service55
6
+ } from "./mime-byjwxeqw.js";
7
7
  import {
8
8
  parse2
9
- } from "./bus-9wdwr662.js";
9
+ } from "./mime-fxfxepgh.js";
10
10
  import {
11
11
  __export
12
- } from "./bus-9rqn6x4v.js";
12
+ } from "./mime-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin39
18
+ Plugin: () => Plugin16
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin39 = define({
24
+ var Plugin16 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service45;
27
+ const config = yield* Service55;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service46;
29
+ const watcher = yield* Service56;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin39 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin39, exports_compatibility };
76
+ export { Plugin16, exports_compatibility };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service44,
3
- node47
4
- } from "./bus-wbns4mzj.js";
2
+ Service67,
3
+ node70
4
+ } from "./mime-x960xs2s.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  diffByKey2
10
- } from "./bus-s8d7rejh.js";
10
+ } from "./mime-rhjbct0v.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./mime-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions4 = {};
17
- __export(exports_instructions4, {
18
- ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service40,
20
- node: () => node43
16
+ var exports_instructions5 = {};
17
+ __export(exports_instructions5, {
18
+ ReferenceInstructions: () => exports_instructions5,
19
+ Service: () => Service37,
20
+ node: () => node41
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service40 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service37 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service40, Effect.gen(function* () {
63
- const references = yield* Service44;
64
- return Service40.of({
62
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
63
+ const references = yield* Service67;
64
+ return Service37.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make21({
71
+ return make20({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node43 = makeLocationNode({ service: Service40, layer, deps: [node47] });
84
+ var node41 = makeLocationNode({ service: Service37, layer, deps: [node70] });
85
85
 
86
- export { Service40, node43, exports_instructions4 };
86
+ export { Service37, node41, exports_instructions5 };