@opencode/core 0.0.0-dev-20470 → 0.0.0-dev-20472

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 (795) 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 +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{mime-0a62tskg.js → tool-01vj6crb.js} +11 -11
  8. package/dist/chunks/{mime-dnxkq42g.js → tool-068serwz.js} +4 -4
  9. package/dist/chunks/{mime-6wqswahh.js → tool-0gtjmwnv.js} +32 -32
  10. package/dist/chunks/{mime-pmjfnjve.js → tool-0h1m2r9k.js} +7 -7
  11. package/dist/chunks/{mime-qgn6gcr1.js → tool-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{mime-e6psn9y2.js → tool-0ma4vy4p.js} +4 -4
  13. package/dist/chunks/{mime-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{mime-dphnx1wg.js → tool-0psyspmj.js} +17 -17
  15. package/dist/chunks/{mime-tz67dcvr.js → tool-0q6e04md.js} +47 -47
  16. package/dist/chunks/{mime-pr4tzdnn.js → tool-0qa6hg2d.js} +5 -5
  17. package/dist/chunks/{mime-0emb60td.js → tool-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{mime-kjfy6aqy.js → tool-0vz2twak.js} +16 -16
  19. package/dist/chunks/{mime-05t99dhf.js → tool-0wt4yx46.js} +3 -3
  20. package/dist/chunks/{mime-espax8zg.js → tool-0xqyf95c.js} +4 -4
  21. package/dist/chunks/{mime-n0tvkx1b.js → tool-0xvj5dy1.js} +13 -13
  22. package/dist/chunks/{mime-yt3hy1g9.js → tool-150yg2gd.js} +5 -5
  23. package/dist/chunks/{mime-d3ymxdyw.js → tool-16rtyza8.js} +26 -26
  24. package/dist/chunks/{mime-1yedb2yx.js → tool-17e7mjev.js} +9 -9
  25. package/dist/chunks/{mime-r8xr0va3.js → tool-1acjjqhc.js} +4 -4
  26. package/dist/chunks/{mime-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{mime-84h8c373.js → tool-1dvck2a7.js} +2 -2
  28. package/dist/chunks/{mime-068gpbd9.js → tool-1egym0t3.js} +41 -41
  29. package/dist/chunks/{mime-s9kb2yg2.js → tool-1m5kq2rb.js} +8 -8
  30. package/dist/chunks/{mime-21r38tys.js → tool-21r38tys.js} +1 -1
  31. package/dist/chunks/{mime-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{mime-b998q84g.js → tool-2rwb967c.js} +36 -36
  33. package/dist/chunks/{mime-7yb2ybf6.js → tool-2t0ky1d2.js} +13 -13
  34. package/dist/chunks/{mime-y6q12yz9.js → tool-2tmdj2y2.js} +51 -51
  35. package/dist/chunks/{mime-jvf3yq6v.js → tool-2vs2nh1n.js} +4 -4
  36. package/dist/chunks/{mime-66az4k2s.js → tool-2xap9sjc.js} +26 -26
  37. package/dist/chunks/{mime-w4cerd5t.js → tool-2ywzxrtj.js} +41 -41
  38. package/dist/chunks/{mime-tc2bp7te.js → tool-331jtpav.js} +10 -10
  39. package/dist/chunks/{mime-56gdpj1q.js → tool-33w4ejhs.js} +6 -6
  40. package/dist/chunks/{mime-mhm95nh1.js → tool-35nvda3r.js} +23 -23
  41. package/dist/chunks/{mime-zyvzzg4e.js → tool-367tnyhe.js} +15 -15
  42. package/dist/chunks/{mime-31770cq8.js → tool-39087s82.js} +10 -10
  43. package/dist/chunks/{mime-1ezwtg26.js → tool-3dxcfbvg.js} +8 -8
  44. package/dist/chunks/{mime-h377qqqs.js → tool-3ensxc03.js} +17 -17
  45. package/dist/chunks/{mime-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{mime-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{mime-mqf7qztk.js → tool-3hqn980y.js} +21 -21
  48. package/dist/chunks/{mime-3t793sqb.js → tool-3q5heb5a.js} +1 -1
  49. package/dist/chunks/{mime-nqv404gn.js → tool-3r13hppx.js} +2 -2
  50. package/dist/chunks/{mime-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{mime-m35a1js7.js → tool-3sthn561.js} +16 -16
  52. package/dist/chunks/{mime-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{mime-vjjxy6yb.js → tool-3vddgz3b.js} +6 -6
  54. package/dist/chunks/{mime-ddweaty3.js → tool-3ym878v0.js} +25 -25
  55. package/dist/chunks/{mime-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  56. package/dist/chunks/{mime-xrds2yvy.js → tool-46j8w8vf.js} +17 -17
  57. package/dist/chunks/{mime-43kvem2p.js → tool-47jkzegy.js} +5 -5
  58. package/dist/chunks/{mime-xe3c0b6j.js → tool-4gtnaf1q.js} +33 -33
  59. package/dist/chunks/{mime-06dj46ky.js → tool-4h10ah5b.js} +9 -9
  60. package/dist/chunks/{mime-51f5btjf.js → tool-4mwpykj0.js} +6 -6
  61. package/dist/chunks/{mime-4jyvzrab.js → tool-4nj4bn9q.js} +9 -9
  62. package/dist/chunks/{mime-z3zvc1my.js → tool-4pf9cp6z.js} +8 -8
  63. package/dist/chunks/{mime-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
  64. package/dist/chunks/{mime-g9v737mn.js → tool-4ve89d8e.js} +6 -6
  65. package/dist/chunks/{mime-zc96g2bq.js → tool-4xh45ynr.js} +13 -13
  66. package/dist/chunks/{mime-0h4fw62m.js → tool-53eqz1v2.js} +2 -2
  67. package/dist/chunks/{mime-54ma36ye.js → tool-54ma36ye.js} +1 -1
  68. package/dist/chunks/{mime-eyeb6xk3.js → tool-55n934x1.js} +17 -17
  69. package/dist/chunks/{mime-74e4jmfh.js → tool-56r9g34b.js} +26 -26
  70. package/dist/chunks/{mime-r4m5gmwp.js → tool-59376ey9.js} +11 -11
  71. package/dist/chunks/{mime-5daktx2q.js → tool-5daktx2q.js} +1 -1
  72. package/dist/chunks/{mime-xtax8pzg.js → tool-5dwsqdnn.js} +21 -21
  73. package/dist/chunks/{mime-8twmn6r7.js → tool-5hjzwc51.js} +20 -20
  74. package/dist/chunks/{mime-ewge9cav.js → tool-5hsj21bq.js} +14 -14
  75. package/dist/chunks/{mime-k3yea1v9.js → tool-5qwkxp89.js} +4 -4
  76. package/dist/chunks/{mime-675p05bk.js → tool-5rrd0wgj.js} +16 -16
  77. package/dist/chunks/{mime-6epc62pm.js → tool-5sb33w33.js} +5 -5
  78. package/dist/chunks/{mime-xn8j4qgz.js → tool-5spq5w86.js} +35 -35
  79. package/dist/chunks/{mime-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  80. package/dist/chunks/{mime-5xtgfte3.js → tool-5yzzbxa7.js} +8 -8
  81. package/dist/chunks/{mime-qecm58md.js → tool-64mbz47k.js} +6 -6
  82. package/dist/chunks/{mime-669tq793.js → tool-669tq793.js} +1 -1
  83. package/dist/chunks/{mime-f1yhsvj9.js → tool-6713qhv3.js} +3 -3
  84. package/dist/chunks/{mime-vnzmcpcw.js → tool-6f0yry1r.js} +11 -11
  85. package/dist/chunks/{mime-a8nehgcf.js → tool-6f1n1136.js} +26 -26
  86. package/dist/chunks/{mime-ratrq7cm.js → tool-6hh8tjw2.js} +4 -4
  87. package/dist/chunks/{mime-sg7q32v8.js → tool-6mz873gg.js} +34 -34
  88. package/dist/chunks/{mime-r27bg8y4.js → tool-6yrb0ee6.js} +47 -47
  89. package/dist/chunks/{mime-f75zav2x.js → tool-71az546q.js} +2 -2
  90. package/dist/chunks/{mime-86qjnnqk.js → tool-72rw85ce.js} +11 -11
  91. package/dist/chunks/{mime-a1gpj94z.js → tool-73tb2d7t.js} +3 -3
  92. package/dist/chunks/{mime-mfeg5k3q.js → tool-798nffs7.js} +7 -7
  93. package/dist/chunks/{mime-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  94. package/dist/chunks/{mime-jzsz9v64.js → tool-7dkh56cg.js} +34 -34
  95. package/dist/chunks/{mime-7e50kkn8.js → tool-7vd0q4gx.js} +22 -22
  96. package/dist/chunks/{mime-9s1fef2z.js → tool-7wnkabmt.js} +12 -12
  97. package/dist/chunks/{mime-8r9d4f7f.js → tool-7z0hsedk.js} +10 -10
  98. package/dist/chunks/{mime-bfrkyb4v.js → tool-7zrcenrt.js} +36 -36
  99. package/dist/chunks/{mime-gv2yjgzz.js → tool-83zz9by4.js} +10 -10
  100. package/dist/chunks/{mime-84txncab.js → tool-84txncab.js} +1 -1
  101. package/dist/chunks/{mime-ajkppa7x.js → tool-89fvn49q.js} +32 -32
  102. package/dist/chunks/{mime-n59v16j7.js → tool-89t0bv35.js} +83 -83
  103. package/dist/chunks/{mime-wmz9gz0a.js → tool-8a6ws7jr.js} +9 -9
  104. package/dist/chunks/{mime-2hr5nhwa.js → tool-8aaqm6qj.js} +8 -8
  105. package/dist/chunks/{mime-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  106. package/dist/chunks/{mime-wkhdexc5.js → tool-8efxrb1d.js} +5 -5
  107. package/dist/chunks/{mime-7jvpbwfz.js → tool-8nykf3n3.js} +27 -27
  108. package/dist/chunks/{mime-59gjxxx9.js → tool-8sbrsbjz.js} +25 -25
  109. package/dist/chunks/{mime-x5prftgx.js → tool-8vg2w7m1.js} +3 -3
  110. package/dist/chunks/{mime-57e9z27j.js → tool-90p59b3a.js} +8 -8
  111. package/dist/chunks/{mime-jexxy024.js → tool-93hpb89x.js} +3 -3
  112. package/dist/chunks/tool-99qazkpk.js +26 -0
  113. package/dist/chunks/{mime-kb9j3d72.js → tool-9e5bzkjp.js} +3 -3
  114. package/dist/chunks/{mime-d328dj5n.js → tool-9eyjn78q.js} +32 -32
  115. package/dist/chunks/{mime-s8d7rejh.js → tool-9t7a50xb.js} +4 -4
  116. package/dist/chunks/{mime-73sha07p.js → tool-a2954sdm.js} +21 -21
  117. package/dist/chunks/{mime-2j5t9zjq.js → tool-a3wk7f1b.js} +33 -33
  118. package/dist/chunks/{mime-xgrkhhdd.js → tool-a5my4mnh.js} +45 -45
  119. package/dist/chunks/{mime-0nde5ztd.js → tool-a694798e.js} +5 -5
  120. package/dist/chunks/{mime-aaet6srn.js → tool-aaet6srn.js} +2 -2
  121. package/dist/chunks/{mime-mncep7ma.js → tool-adrzke39.js} +9 -9
  122. package/dist/chunks/{mime-61w87evq.js → tool-apw32n9p.js} +37 -37
  123. package/dist/chunks/{mime-8ank75fn.js → tool-at1kfnmk.js} +4 -4
  124. package/dist/chunks/{mime-bpgchkmt.js → tool-azvg6g4c.js} +9 -9
  125. package/dist/chunks/{mime-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  126. package/dist/chunks/{mime-nvxd4a3z.js → tool-b8svndy5.js} +15 -15
  127. package/dist/chunks/{mime-t0dtkzr7.js → tool-b8y6m0vr.js} +13 -13
  128. package/dist/chunks/{mime-j8t255bq.js → tool-bnfyw5ja.js} +4 -4
  129. package/dist/chunks/{mime-mdy91dzd.js → tool-bxy1ctzg.js} +11 -11
  130. package/dist/chunks/{mime-y0hjkqeb.js → tool-bzchk968.js} +16 -16
  131. package/dist/chunks/{mime-cfsekr6v.js → tool-cfsekr6v.js} +2 -2
  132. package/dist/chunks/{mime-wtqdm9z0.js → tool-cq43qyqm.js} +16 -16
  133. package/dist/chunks/{mime-vm1e42pn.js → tool-cxhqznm4.js} +31 -31
  134. package/dist/chunks/{mime-38a0tmmt.js → tool-d0w45w1g.js} +6 -6
  135. package/dist/chunks/{mime-t67r96zt.js → tool-d1mxnk9b.js} +5 -5
  136. package/dist/chunks/{mime-ep96ymdh.js → tool-d6x8wjh2.js} +40 -40
  137. package/dist/chunks/{mime-cwa6csj7.js → tool-djszqvmq.js} +9 -9
  138. package/dist/chunks/{mime-nxm207yx.js → tool-dpkg50ah.js} +4 -4
  139. package/dist/chunks/{mime-qewcqqea.js → tool-dq6jrfnm.js} +20 -20
  140. package/dist/chunks/{mime-cvnmwk6c.js → tool-dxjv2ykb.js} +17 -17
  141. package/dist/chunks/{mime-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{mime-f7vgrd2g.js → tool-ekpgh6d5.js} +15 -15
  143. package/dist/chunks/{mime-2wzcstvr.js → tool-emd75jk3.js} +11 -11
  144. package/dist/chunks/{mime-3bzke43f.js → tool-etpckvav.js} +11 -11
  145. package/dist/chunks/{mime-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{mime-wvc0kw0p.js → tool-ev9z8jfx.js} +5 -5
  147. package/dist/chunks/{mime-qepntzbg.js → tool-f3y2xgd9.js} +20 -20
  148. package/dist/chunks/{mime-cw8j8gm3.js → tool-f4rymznk.js} +13 -13
  149. package/dist/chunks/{mime-m6f3t844.js → tool-f5gy8qwh.js} +8 -8
  150. package/dist/chunks/{mime-kvkq3jdm.js → tool-fnyka1s1.js} +7 -7
  151. package/dist/chunks/{mime-ye9wteb0.js → tool-frna90m0.js} +19 -19
  152. package/dist/chunks/{mime-v3ant3rv.js → tool-ftynxttp.js} +15 -15
  153. package/dist/chunks/{mime-8kch91gp.js → tool-fw3dky2w.js} +17 -17
  154. package/dist/chunks/{mime-5s91rp69.js → tool-fxp95myf.js} +17 -17
  155. package/dist/chunks/{mime-g5w8qwbj.js → tool-g5w8qwbj.js} +1 -1
  156. package/dist/chunks/{mime-s0224r3c.js → tool-g7xsht76.js} +8 -8
  157. package/dist/chunks/{mime-8439xzqf.js → tool-g9xjst3r.js} +19 -19
  158. package/dist/chunks/{mime-qy24xa0s.js → tool-gce79w0q.js} +15 -15
  159. package/dist/chunks/{mime-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{mime-3gc434y9.js → tool-grq1sczm.js} +11 -11
  161. package/dist/chunks/{mime-f4a4fymy.js → tool-gvv136sf.js} +4 -4
  162. package/dist/chunks/{mime-f29mbr7f.js → tool-gw7cjrad.js} +4 -4
  163. package/dist/chunks/{mime-3cegwx68.js → tool-h2b79v29.js} +2 -2
  164. package/dist/chunks/{mime-334pc9ed.js → tool-h2fzzx8t.js} +6 -6
  165. package/dist/chunks/{mime-1fmrbde1.js → tool-h6nxw0pd.js} +6 -6
  166. package/dist/chunks/{mime-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{mime-57t2akgp.js → tool-h85krvk7.js} +48 -48
  168. package/dist/chunks/{mime-knvbkgg0.js → tool-h8jdcdjx.js} +13 -13
  169. package/dist/chunks/{mime-ta9v1xwm.js → tool-hqm5br06.js} +300 -300
  170. package/dist/chunks/tool-ht5y0zrb.js +18 -0
  171. package/dist/chunks/{mime-15h1bbb3.js → tool-hv7gj7jm.js} +72 -72
  172. package/dist/chunks/{mime-pcqej2dj.js → tool-hva7ke4f.js} +22 -22
  173. package/dist/chunks/{mime-3zmmk8jr.js → tool-hvb31e4h.js} +18 -18
  174. package/dist/chunks/{mime-tv8mz1yx.js → tool-hwzc49pr.js} +20 -20
  175. package/dist/chunks/{mime-c738tryd.js → tool-j0yek2qa.js} +22 -22
  176. package/dist/chunks/{mime-e1kaz002.js → tool-j255ygs0.js} +15 -15
  177. package/dist/chunks/{mime-j56e64zr.js → tool-j56e64zr.js} +1 -1
  178. package/dist/chunks/{mime-21tqyygk.js → tool-j92d0j7v.js} +41 -41
  179. package/dist/chunks/{mime-x53sfaky.js → tool-jad3eb5n.js} +11 -11
  180. package/dist/chunks/{mime-q9ah5cgy.js → tool-jcws1aax.js} +32 -32
  181. package/dist/chunks/{mime-ykfv63at.js → tool-je52f75z.js} +10 -10
  182. package/dist/chunks/{mime-ap9q6hx1.js → tool-jgb1x1d9.js} +48 -48
  183. package/dist/chunks/{mime-h2tzjape.js → tool-jn6gv895.js} +23 -23
  184. package/dist/chunks/{mime-g190xswt.js → tool-k2h4r4s0.js} +4 -4
  185. package/dist/chunks/{mime-01vbh4b3.js → tool-k3vbf9cz.js} +13 -13
  186. package/dist/chunks/{mime-a8tz3pvz.js → tool-k3xmg675.js} +12 -12
  187. package/dist/chunks/{mime-v9c6pdvn.js → tool-kkbh4h1z.js} +23 -23
  188. package/dist/chunks/{mime-2va8heef.js → tool-kn3m44fm.js} +5 -5
  189. package/dist/chunks/{mime-stnejjkn.js → tool-kxcd4fwb.js} +5 -5
  190. package/dist/chunks/{mime-m7h1967w.js → tool-m028xtpq.js} +22 -22
  191. package/dist/chunks/{mime-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{mime-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{mime-qd6pb4xn.js → tool-mazbtkaa.js} +2 -2
  194. package/dist/chunks/{mime-fjdps7eb.js → tool-mp1xsmy4.js} +8 -8
  195. package/dist/chunks/{mime-j3rxv4am.js → tool-mpcan42b.js} +9 -9
  196. package/dist/chunks/{mime-pgzt0k19.js → tool-mvzzranc.js} +19 -19
  197. package/dist/chunks/{mime-5acs1xhz.js → tool-mx83wbf3.js} +9 -9
  198. package/dist/chunks/{mime-8n3f0kbg.js → tool-mydkh4yr.js} +24 -24
  199. package/dist/chunks/{mime-tkzj0056.js → tool-n1edfwxj.js} +4 -4
  200. package/dist/chunks/{mime-r8z1rt2e.js → tool-n2ckjg3g.js} +29 -29
  201. package/dist/chunks/{mime-mtwm9ezq.js → tool-n5bh2s1p.js} +21 -21
  202. package/dist/chunks/{mime-b8j60jjz.js → tool-n5w4zgy3.js} +5 -5
  203. package/dist/chunks/{mime-aq20xgnp.js → tool-n9p5arwt.js} +28 -28
  204. package/dist/chunks/{mime-cybsyzkk.js → tool-nas0hrdm.js} +28 -28
  205. package/dist/chunks/{mime-f2gtdjdp.js → tool-ndknajfb.js} +23 -23
  206. package/dist/chunks/{mime-q5nw5m1n.js → tool-ndqtf2h8.js} +6 -6
  207. package/dist/chunks/{mime-z6aw0mzm.js → tool-nzk3n54h.js} +15 -15
  208. package/dist/chunks/{mime-mqgb4hkm.js → tool-p2fthcwt.js} +8 -8
  209. package/dist/chunks/{mime-1evbeta6.js → tool-p7t1r6rx.js} +3 -3
  210. package/dist/chunks/{mime-ednvghyx.js → tool-p9dad75k.js} +44 -44
  211. package/dist/chunks/{mime-d6efa7rx.js → tool-pbcje335.js} +13 -13
  212. package/dist/chunks/{mime-2d57kztd.js → tool-pf2hb43r.js} +4 -4
  213. package/dist/chunks/{mime-aker6v60.js → tool-pg4efk5v.js} +12 -12
  214. package/dist/chunks/{mime-83mtbh1h.js → tool-pg6zqtd0.js} +3 -3
  215. package/dist/chunks/{mime-sfpt4edp.js → tool-pjf8abb1.js} +14 -14
  216. package/dist/chunks/{mime-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  217. package/dist/chunks/{mime-pknna89w.js → tool-pknna89w.js} +1 -1
  218. package/dist/chunks/{mime-r5q07pyt.js → tool-prwmz47j.js} +11 -11
  219. package/dist/chunks/{mime-c9x2jsqt.js → tool-q0vx6mrg.js} +9 -9
  220. package/dist/chunks/{mime-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
  221. package/dist/chunks/{mime-awfffjg5.js → tool-q4bnvgms.js} +171 -171
  222. package/dist/chunks/{mime-pfrtanrk.js → tool-qcjxs7e0.js} +32 -32
  223. package/dist/chunks/{mime-fq2g7c6x.js → tool-qhyrk8n4.js} +8 -8
  224. package/dist/chunks/{mime-9k8khh75.js → tool-qkfezwh6.js} +9 -9
  225. package/dist/chunks/{mime-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  226. package/dist/chunks/{mime-qsdy395h.js → tool-qsdy395h.js} +1 -1
  227. package/dist/chunks/{mime-2m35s2yg.js → tool-qws6d5dh.js} +22 -22
  228. package/dist/chunks/{mime-b46pamft.js → tool-r4w453tt.js} +15 -15
  229. package/dist/chunks/{mime-pmr4s4kc.js → tool-r98e92ep.js} +4 -4
  230. package/dist/chunks/{mime-b2142pzq.js → tool-rbch4nfr.js} +26 -26
  231. package/dist/chunks/{mime-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  232. package/dist/chunks/{mime-wt3b0rt6.js → tool-rg7q0c5m.js} +27 -27
  233. package/dist/chunks/{mime-372b9p0d.js → tool-rh254cas.js} +20 -20
  234. package/dist/chunks/{mime-mwa79a1d.js → tool-rnk9zdcq.js} +34 -34
  235. package/dist/chunks/{mime-3sbj3w55.js → tool-rtsswkxs.js} +11 -11
  236. package/dist/chunks/{mime-2jfwh2t6.js → tool-rvwqj9y7.js} +49 -49
  237. package/dist/chunks/{mime-7wg6a9xy.js → tool-rx58ztr1.js} +7 -7
  238. package/dist/chunks/{mime-3ewed21c.js → tool-s26hbv8p.js} +4 -4
  239. package/dist/chunks/{mime-vbnh33m2.js → tool-s73kxs4y.js} +27 -27
  240. package/dist/chunks/{mime-ajt55ttf.js → tool-sb3r03a7.js} +13 -13
  241. package/dist/chunks/{mime-hdkng2sj.js → tool-scgrse2b.js} +5 -5
  242. package/dist/chunks/{mime-0xn2111h.js → tool-sg9xgrkp.js} +4 -4
  243. package/dist/chunks/{mime-p6wgvgn6.js → tool-sjgd5m2j.js} +9 -9
  244. package/dist/chunks/{mime-69ywzg6c.js → tool-sp2t3vey.js} +22 -22
  245. package/dist/chunks/{mime-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{mime-2nhyf9gp.js → tool-tb0c9yyk.js} +32 -32
  247. package/dist/chunks/{mime-89znhe33.js → tool-tcezcvh9.js} +4 -4
  248. package/dist/chunks/{mime-tdstcens.js → tool-tdstcens.js} +1 -1
  249. package/dist/chunks/{mime-8316qx5p.js → tool-tk14y25j.js} +2 -2
  250. package/dist/chunks/{mime-ppm6qgbs.js → tool-tzhbwgz4.js} +36 -36
  251. package/dist/chunks/{mime-59he4xmr.js → tool-v9k40k21.js} +9 -9
  252. package/dist/chunks/{mime-wr2fe94x.js → tool-va7zg5qg.js} +41 -41
  253. package/dist/chunks/{mime-w53c1cz5.js → tool-var7mrn0.js} +53 -53
  254. package/dist/chunks/{mime-veqvce7d.js → tool-veqvce7d.js} +1 -1
  255. package/dist/chunks/{mime-nvhjw3b0.js → tool-vn72gsba.js} +4 -4
  256. package/dist/chunks/{mime-rx48dec3.js → tool-vqzmbesx.js} +9 -9
  257. package/dist/chunks/{mime-hnbdma03.js → tool-vx3qjymf.js} +82 -82
  258. package/dist/chunks/{mime-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{mime-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  260. package/dist/chunks/{mime-sy29epdy.js → tool-w3nq1sqw.js} +5 -5
  261. package/dist/chunks/{mime-cgjxc2h6.js → tool-w3v0pvk9.js} +12 -12
  262. package/dist/chunks/{mime-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{mime-qvy1qmm3.js → tool-w9wcng5w.js} +12 -12
  264. package/dist/chunks/{mime-wd87259q.js → tool-wd87259q.js} +1 -1
  265. package/dist/chunks/{mime-3gxdmg1p.js → tool-wk3n8732.js} +5 -5
  266. package/dist/chunks/{mime-694pv4x1.js → tool-wpd1znwd.js} +11 -11
  267. package/dist/chunks/{mime-rk1r2hx8.js → tool-wxyynt4w.js} +1 -1
  268. package/dist/chunks/{mime-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{mime-psbsx9ev.js → tool-x2ywm3mq.js} +10 -10
  270. package/dist/chunks/{mime-b3t7exkg.js → tool-x6kcbe24.js} +4 -4
  271. package/dist/chunks/{mime-3dj9ym1t.js → tool-xa1b8akp.js} +24 -24
  272. package/dist/chunks/{mime-e4mpcj2w.js → tool-xagah8e0.js} +5 -5
  273. package/dist/chunks/{mime-7w6qk0sn.js → tool-xdf1fj3c.js} +43 -43
  274. package/dist/chunks/{mime-zk9d4y74.js → tool-xf69e5gb.js} +8 -8
  275. package/dist/chunks/{mime-g66805e4.js → tool-xhf2mpzw.js} +20 -20
  276. package/dist/chunks/{mime-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
  277. package/dist/chunks/{mime-nrjkrfdk.js → tool-xv2d93bz.js} +8 -8
  278. package/dist/chunks/{mime-zz01mka2.js → tool-xvfphvy7.js} +47 -47
  279. package/dist/chunks/{mime-7xk7v40y.js → tool-xw2p2fks.js} +15 -15
  280. package/dist/chunks/{mime-qxjc9qry.js → tool-xyafkbt0.js} +3 -3
  281. package/dist/chunks/{mime-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  282. package/dist/chunks/{mime-yd2nyxdd.js → tool-yexd41ms.js} +14 -14
  283. package/dist/chunks/{mime-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  284. package/dist/chunks/{mime-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{mime-tg3dtvd2.js → tool-zb7rsj08.js} +22 -22
  286. package/dist/chunks/{mime-dy7dxchr.js → tool-ze55f0m3.js} +24 -24
  287. package/dist/chunks/{mime-cf5x6mq8.js → tool-zepa019x.js} +18 -18
  288. package/dist/chunks/{mime-t768gxq0.js → tool-zkd6xqbv.js} +1 -1
  289. package/dist/chunks/tool-zm2m1bym.js +252 -0
  290. package/dist/chunks/{mime-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{mime-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +84 -84
  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 +161 -161
  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 +125 -125
  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 +123 -123
  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 +124 -124
  319. package/dist/config/plugin/websearch.js +122 -122
  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 +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  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 +95 -95
  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/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +108 -108
  430. package/dist/form.js +82 -82
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +101 -101
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +91 -91
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +4 -4
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +362 -362
  458. package/dist/instruction-discovery.js +85 -85
  459. package/dist/instructions/builtins.js +87 -87
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +89 -89
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +73 -73
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-lifecycle.js +107 -107
  468. package/dist/location-service-map.js +86 -86
  469. package/dist/location-services.js +359 -359
  470. package/dist/location.js +89 -89
  471. package/dist/managed-policy.js +5 -5
  472. package/dist/mcp/client.js +105 -101
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +78 -78
  476. package/dist/mcp/stdio.js +90 -90
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +91 -91
  479. package/dist/model-resolver.js +98 -98
  480. package/dist/model.js +100 -100
  481. package/dist/models-dev.js +107 -107
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +80 -80
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +109 -109
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +88 -88
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +75 -75
  491. package/dist/plugin/agent.js +104 -104
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +3 -3
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +334 -334
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +96 -96
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +102 -102
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  505. package/dist/plugin/provider/azure.js +124 -124
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +93 -93
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +95 -95
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +78 -78
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +96 -96
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +79 -79
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +163 -163
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +141 -141
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +353 -353
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +229 -229
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +90 -90
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +91 -91
  566. package/dist/reference/instructions.js +87 -87
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +74 -74
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +153 -153
  578. package/dist/session/diff.js +88 -88
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +77 -77
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +93 -93
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +125 -125
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +105 -105
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +90 -90
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -98
  605. package/dist/session/runner/publish-llm-event.js +113 -113
  606. package/dist/session/runner/retry.js +4 -4
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +169 -169
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +103 -103
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +210 -210
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +157 -157
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +220 -220
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +216 -216
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +87 -87
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +122 -122
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +115 -115
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +101 -101
  645. package/dist/tool/plugin/read.js +117 -117
  646. package/dist/tool/plugin/shell.js +215 -215
  647. package/dist/tool/plugin/skill.js +111 -111
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +112 -112
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +3 -3
  673. package/dist/v1/config/mcp.js +2 -2
  674. package/dist/v1/config/migrate.js +92 -92
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/variant.js +93 -93
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +87 -87
  684. package/dist/websearch.js +74 -74
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +76 -76
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +8 -8
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +94 -94
  695. package/package.json +8 -8
  696. package/dist/chunks/mime-by5v678g.js +0 -18
  697. package/dist/chunks/mime-pj3sbc1q.js +0 -252
  698. package/dist/chunks/mime-shrvt0bc.js +0 -26
  699. /package/dist/chunks/{mime-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{mime-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{mime-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{mime-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{mime-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{mime-24dcb14g.js → tool-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{mime-2710q6r3.js → tool-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{mime-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{mime-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{mime-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  709. /package/dist/chunks/{mime-359p4xyc.js → tool-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{mime-3asan66x.js → tool-3asan66x.js} +0 -0
  711. /package/dist/chunks/{mime-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{mime-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{mime-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{mime-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{mime-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{mime-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{mime-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{mime-53557ph1.js → tool-53557ph1.js} +0 -0
  719. /package/dist/chunks/{mime-550bvhaj.js → tool-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{mime-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{mime-6prwharc.js → tool-6prwharc.js} +0 -0
  722. /package/dist/chunks/{mime-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{mime-7m9af43g.js → tool-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{mime-822emrt2.js → tool-822emrt2.js} +0 -0
  725. /package/dist/chunks/{mime-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{mime-8n3pysct.js → tool-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{mime-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{mime-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{mime-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{mime-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{mime-af5trqkr.js → tool-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{mime-afrmfg78.js → tool-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{mime-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{mime-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{mime-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{mime-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{mime-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{mime-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{mime-d9fn303g.js → tool-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{mime-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{mime-dajrwvna.js → tool-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{mime-dap0rakb.js → tool-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{mime-df08tz66.js → tool-df08tz66.js} +0 -0
  744. /package/dist/chunks/{mime-dy18nga0.js → tool-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{mime-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{mime-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{mime-ec1grn59.js → tool-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{mime-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{mime-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{mime-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{mime-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{mime-faypxj3z.js → tool-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{mime-fd410y7t.js → tool-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{mime-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{mime-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{mime-g86h250q.js → tool-g86h250q.js} +0 -0
  757. /package/dist/chunks/{mime-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{mime-gftt206x.js → tool-gftt206x.js} +0 -0
  759. /package/dist/chunks/{mime-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{mime-hk9envan.js → tool-hk9envan.js} +0 -0
  761. /package/dist/chunks/{mime-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{mime-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{mime-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{mime-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{mime-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{mime-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{mime-mp448xyj.js → tool-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{mime-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{mime-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{mime-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{mime-njntx4h6.js → tool-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{mime-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{mime-q74kybfr.js → tool-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{mime-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{mime-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{mime-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{mime-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{mime-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{mime-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{mime-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{mime-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{mime-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{mime-w803qqfp.js → tool-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{mime-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{mime-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{mime-wtztk69x.js → tool-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{mime-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{mime-x61499pn.js → tool-x61499pn.js} +0 -0
  789. /package/dist/chunks/{mime-y44na4kk.js → tool-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{mime-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{mime-y8f7s663.js → tool-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{mime-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{mime-ym463w8f.js → tool-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{mime-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{mime-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./mime-2wzcstvr.js";
3
+ } from "./tool-emd75jk3.js";
4
4
  import {
5
- Service82
6
- } from "./mime-675p05bk.js";
5
+ Service83
6
+ } from "./tool-5rrd0wgj.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./mime-xe3c0b6j.js";
9
+ Event20
10
+ } from "./tool-4gtnaf1q.js";
11
11
  import {
12
- ID14,
12
+ ID16,
13
13
  MethodID2
14
- } from "./mime-vm1e42pn.js";
14
+ } from "./tool-cxhqznm4.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./mime-pjvnvgmy.js";
18
+ } from "./tool-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID9,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./mime-xn8j4qgz.js";
23
+ } from "./tool-5spq5w86.js";
24
24
  import {
25
25
  get5
26
- } from "./mime-54ma36ye.js";
26
+ } from "./tool-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
47
47
  }));
48
48
  var decodeClaims = Schema.decodeUnknownOption(Claims);
49
49
  var browser = (app) => ({
50
- integrationID: ID14.make("openai"),
50
+ integrationID: ID16.make("openai"),
51
51
  method: {
52
52
  id: browserMethodID,
53
53
  type: "oauth",
@@ -120,7 +120,7 @@ function addressInUse(error) {
120
120
  return "code" in error && error.code === "EADDRINUSE";
121
121
  }
122
122
  var headless = (app) => ({
123
- integrationID: ID14.make("openai"),
123
+ integrationID: ID16.make("openai"),
124
124
  method: {
125
125
  id: headlessMethodID,
126
126
  type: "oauth",
@@ -165,7 +165,7 @@ var headless = (app) => ({
165
165
  var OpenAIPlugin2 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
- const bus = yield* Service82;
168
+ const bus = yield* Service83;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  let chatgpt;
171
171
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
181
181
  });
182
182
  yield* load();
183
183
  yield* ctx.provider.transform((providers) => {
184
- const item = providers.get(ID13.openai);
184
+ const item = providers.get(ID9.openai);
185
185
  if (!item)
186
186
  return;
187
187
  const account = chatgpt?.metadata?.accountID;
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
200
200
  });
201
201
  });
202
202
  yield* ctx.model.transform((models) => {
203
- for (const model of models.list(ID13.openai)) {
203
+ for (const model of models.list(ID9.openai)) {
204
204
  models.update(model.providerID, model.id, (draft) => {
205
205
  if (!chatgpt)
206
206
  return;
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
233
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
- }), { providerID: ID13.openai });
234
+ }), { providerID: ID9.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
237
237
  });
238
238
  for (const name of ["context", "compaction"])
239
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
239
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID9.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./mime-2wzcstvr.js";
3
+ } from "./tool-emd75jk3.js";
4
4
  import {
5
5
  call2
6
- } from "./mime-56gdpj1q.js";
6
+ } from "./tool-33w4ejhs.js";
7
7
  import {
8
8
  __export
9
- } from "./mime-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin36,
14
+ Plugin: () => Plugin21,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint3
16
+ endpoint: () => endpoint6
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint3 = "https://search.parallel.ai/mcp";
21
+ var endpoint6 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin36 = define({
50
+ var Plugin21 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin36 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin36 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint3, Plugin36, exports_parallel };
96
+ export { endpoint6, Plugin21, exports_parallel };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./mime-2a5m3afh.js";
6
+ } from "./tool-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./mime-1dazxqgg.js";
9
+ } from "./tool-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./mime-b6gygkdw.js";
12
+ } from "./tool-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./mime-aaet6srn.js";
15
+ } from "./tool-aaet6srn.js";
16
16
  import {
17
- Service80,
18
- node84
19
- } from "./mime-cvnmwk6c.js";
17
+ Service75,
18
+ node79
19
+ } from "./tool-dxjv2ykb.js";
20
20
  import {
21
- Service67,
22
- node69
23
- } from "./mime-8twmn6r7.js";
21
+ Service60,
22
+ node62
23
+ } from "./tool-5hjzwc51.js";
24
24
  import {
25
25
  __export
26
- } from "./mime-9rqn6x4v.js";
26
+ } from "./tool-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service66,
33
- node: () => node68
32
+ Service: () => Service59,
33
+ node: () => node61
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service66,
46
+ Service: () => Service59,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node68,
52
+ node: () => node61,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service66 extends Context.Service()("@opencode/Environment") {
61
+ class Service59 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service66, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service80;
66
- const workspace = yield* Service67;
65
+ const location = yield* Service75;
66
+ const workspace = yield* Service60;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service66.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service59.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node68 = makeLocationNode({
71
- service: Service66,
70
+ var node61 = makeLocationNode({
71
+ service: Service59,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node84, node69]
73
+ deps: [CrossSpawnSpawner.node, node79, node62]
74
74
  });
75
75
 
76
- export { Service66, node68, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service59, node61, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./mime-qy24xa0s.js";
3
+ } from "./tool-gce79w0q.js";
4
4
  import {
5
5
  lazy2
6
- } from "./mime-88xbtdfr.js";
6
+ } from "./tool-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./mime-y1fvbwt7.js";
9
+ } from "./tool-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./mime-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./mime-675p05bk.js";
2
+ Service83,
3
+ node87
4
+ } from "./tool-5rrd0wgj.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./mime-84txncab.js";
11
+ } from "./tool-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./mime-z5v4ffb3.js";
14
+ } from "./tool-z5v4ffb3.js";
15
15
  import {
16
- Service60,
17
- node62
18
- } from "./mime-g66805e4.js";
16
+ Service54,
17
+ node56
18
+ } from "./tool-xhf2mpzw.js";
19
19
  import {
20
20
  create3
21
- } from "./mime-rdw6cm16.js";
21
+ } from "./tool-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./mime-9rqn6x4v.js";
24
+ } from "./tool-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event12,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info20,
31
+ Info: () => Info8,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service59,
35
- Source: () => Source4,
36
- node: () => node61
34
+ Service: () => Service46,
35
+ Source: () => Source3,
36
+ node: () => node48
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event12 } from "@opencode/schema/reference";
42
+ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source4 = Reference.Source;
46
- var Info20 = Reference.Info;
45
+ var Source3 = Reference.Source;
46
+ var Info8 = Reference.Info;
47
47
 
48
- class Service59 extends Context.Service()("@opencode/Reference") {
48
+ class Service46 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service59, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service82;
53
- const cache = yield* Service60;
52
+ const bus = yield* Service83;
53
+ const cache = yield* Service54;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info20.make({ ...info, path: source.path })];
63
+ return [Info8.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info20.make({
75
+ Info8.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service59.of({
107
+ return Service46.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node61 = makeLocationNode({
116
- service: Service59,
115
+ var node48 = makeLocationNode({
116
+ service: Service46,
117
117
  layer,
118
- deps: [Global.node, node86, node62]
118
+ deps: [Global.node, node87, node56]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info20, Service59, node61, exports_reference2, Event12 };
121
+ export { LocalSource2, GitSource2, Source3, Info8, Service46, node48, exports_reference2, Event7 };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./mime-675p05bk.js";
2
+ Service83,
3
+ node87
4
+ } from "./tool-5rrd0wgj.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./mime-tazgh4e4.js";
9
+ } from "./tool-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./mime-zz01mka2.js";
12
+ } from "./tool-xvfphvy7.js";
13
13
  import {
14
- Service80,
15
- node84
16
- } from "./mime-cvnmwk6c.js";
14
+ Service75,
15
+ node79
16
+ } from "./tool-dxjv2ykb.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./mime-rdw6cm16.js";
20
+ } from "./tool-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./mime-9rqn6x4v.js";
23
+ } from "./tool-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -32,9 +32,9 @@ __export(exports_vcs, {
32
32
  Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service22,
35
+ Service: () => Service18,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node25
37
+ node: () => node21
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service22 extends Context.Service()("@opencode/Vcs") {
57
+ class Service18 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service22, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service80;
62
- const bus = yield* Service82;
61
+ const location = yield* Service75;
62
+ const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service22.of({
132
+ return Service18.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node25 = makeLocationNode({
191
- service: Service22,
190
+ var node21 = makeLocationNode({
191
+ service: Service18,
192
192
  layer,
193
- deps: [FSUtil.node, node84, node86]
193
+ deps: [FSUtil.node, node79, node87]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service22, node25, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service18, node21, exports_vcs };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service84
3
- } from "./mime-9s1fef2z.js";
2
+ Service77
3
+ } from "./tool-7wnkabmt.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./mime-0emb60td.js";
7
+ } from "./tool-0vbcp93d.js";
8
8
  import {
9
9
  __export
10
- } from "./mime-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  var make13 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service84;
23
+ const git = yield* Service77;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./mime-675p05bk.js";
3
+ Service83,
4
+ node87
5
+ } from "./tool-5rrd0wgj.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make22,
11
11
  diffByKey2
12
- } from "./mime-s8d7rejh.js";
12
+ } from "./tool-9t7a50xb.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./mime-z5v4ffb3.js";
15
+ } from "./tool-z5v4ffb3.js";
16
16
  import {
17
17
  create3
18
- } from "./mime-rdw6cm16.js";
18
+ } from "./tool-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./mime-9rqn6x4v.js";
21
+ } from "./tool-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event10,
26
+ Event: () => Event12,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options8,
30
- Service: () => Service55,
31
- configured: () => configured7,
32
- layer: () => layer22,
33
- node: () => node57
29
+ Options: () => Options7,
30
+ Service: () => Service57,
31
+ configured: () => configured6,
32
+ layer: () => layer21,
33
+ node: () => node59
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event10 = {
45
+ var Event12 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options8 = Schema.Struct({
48
+ var Options7 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service55 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service57 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
56
- const bus = yield* Service82;
55
+ var layer21 = (options) => Layer.effect(Service57, Effect.gen(function* () {
56
+ const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make21({
77
+ const source = (value) => make22({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service55.of({
93
+ return Service57.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured7(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service55,
110
- layer: layer22(options),
111
- deps: [node86]
109
+ service: Service57,
110
+ layer: layer21(options),
111
+ deps: [node87]
112
112
  });
113
113
  }
114
- var node57 = configured7();
114
+ var node59 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event10, Options8, Service55, layer22, configured7, node57, exports_instruction_discovery };
145
+ export { File2, Event12, Options7, Service57, layer21, configured6, node59, exports_instruction_discovery };