@opencode/core 0.0.0-dev-21430 → 0.0.0-dev-21453

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 +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{location-034tev2y.js → command-034tev2y.js} +2 -2
  8. package/dist/chunks/{location-74mnjb9k.js → command-06x1kmm3.js} +16 -16
  9. package/dist/chunks/{location-ar4nzpwm.js → command-0akze81x.js} +17 -17
  10. package/dist/chunks/{location-k0ze7r27.js → command-0g0zhkr3.js} +13 -13
  11. package/dist/chunks/{location-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{location-s041gtt0.js → command-14e2z5dd.js} +21 -21
  13. package/dist/chunks/{location-0spnvnyv.js → command-15k3sgvy.js} +20 -20
  14. package/dist/chunks/{location-1ep2p91f.js → command-1ep2p91f.js} +2 -2
  15. package/dist/chunks/{location-bzeyqsqd.js → command-1ep4rre3.js} +4 -4
  16. package/dist/chunks/{location-338tp1sw.js → command-1fdxsekg.js} +13 -13
  17. package/dist/chunks/{location-9bh5q6pj.js → command-1j8r0rfw.js} +2 -2
  18. package/dist/chunks/{location-w92k2e0p.js → command-1p07q0wb.js} +6 -6
  19. package/dist/chunks/{location-x2c0z4fa.js → command-1vge1skc.js} +85 -85
  20. package/dist/chunks/{location-vzcdy7t2.js → command-22pq31c6.js} +6 -6
  21. package/dist/chunks/{location-9jfsax2t.js → command-26v53g8c.js} +14 -14
  22. package/dist/chunks/{location-fqtvmpfq.js → command-2eegacq4.js} +8 -8
  23. package/dist/chunks/{location-fn7yw61f.js → command-2sq9cs44.js} +13 -13
  24. package/dist/chunks/{location-8n6gk45f.js → command-2xdwzbmw.js} +8 -8
  25. package/dist/chunks/{location-j973zg4r.js → command-31dmbqtz.js} +6 -6
  26. package/dist/chunks/{location-v97gy4rz.js → command-34a37mbe.js} +11 -11
  27. package/dist/chunks/{location-mzkqbs9t.js → command-37txpjr1.js} +5 -5
  28. package/dist/chunks/{location-yetj4y2f.js → command-3at1kaya.js} +184 -184
  29. package/dist/chunks/{location-e357gpbq.js → command-3c1qz3w8.js} +9 -9
  30. package/dist/chunks/{location-r771kefb.js → command-3db954pa.js} +11 -11
  31. package/dist/chunks/{location-ncmgswqr.js → command-3gq0bdpp.js} +11 -11
  32. package/dist/chunks/{location-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{location-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{location-9ceytgjn.js → command-3q9enysw.js} +30 -30
  35. package/dist/chunks/{location-xc1ymh3x.js → command-3se1dkn2.js} +9 -9
  36. package/dist/chunks/{location-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{location-020242mm.js → command-3xzwacgq.js} +13 -13
  38. package/dist/chunks/{location-addxnjmp.js → command-3y377wv9.js} +4 -4
  39. package/dist/chunks/{location-nymjqhfd.js → command-3ycmgy45.js} +16 -16
  40. package/dist/chunks/{location-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{location-76rvckpe.js → command-461nxmbv.js} +5 -5
  42. package/dist/chunks/{location-b674v2dg.js → command-47jkzegy.js} +5 -5
  43. package/dist/chunks/{location-bzgnhg0n.js → command-48pg14e9.js} +26 -26
  44. package/dist/chunks/{location-8h9rdd29.js → command-497kckq0.js} +54 -54
  45. package/dist/chunks/{location-21b844t5.js → command-4a84bgxb.js} +35 -35
  46. package/dist/chunks/{location-9p7ryr2b.js → command-4bw5k2yb.js} +7 -7
  47. package/dist/chunks/{location-mnc26hcw.js → command-4pmb27zq.js} +7 -7
  48. package/dist/chunks/{location-bhva45zq.js → command-4ppxeyv4.js} +14 -14
  49. package/dist/chunks/{location-w375ekyd.js → command-4q8stq7x.js} +17 -17
  50. package/dist/chunks/{location-kjdm35cs.js → command-4xpgt2w9.js} +5 -5
  51. package/dist/chunks/{location-3v68m8yr.js → command-53fvhgkr.js} +5 -5
  52. package/dist/chunks/{location-demjctvx.js → command-53tqp3se.js} +26 -26
  53. package/dist/chunks/{location-f32pwxtn.js → command-54ckgp8f.js} +11 -11
  54. package/dist/chunks/{location-54ma36ye.js → command-54ma36ye.js} +1 -1
  55. package/dist/chunks/{location-57b9ws8p.js → command-57b9ws8p.js} +1 -1
  56. package/dist/chunks/{location-axe3mf62.js → command-58072hz9.js} +3 -3
  57. package/dist/chunks/{location-j5yzhdah.js → command-5f9rj60p.js} +8 -8
  58. package/dist/chunks/{location-zajs041s.js → command-5hy62t2w.js} +32 -32
  59. package/dist/chunks/{location-fmvmqg86.js → command-5kxh3622.js} +28 -28
  60. package/dist/chunks/{location-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{location-1a95124r.js → command-5thbj1d7.js} +11 -11
  62. package/dist/chunks/{location-vmt5mznf.js → command-61bp3nch.js} +6 -6
  63. package/dist/chunks/{location-6827pfxn.js → command-6827pfxn.js} +1 -1
  64. package/dist/chunks/{location-2pz8qhez.js → command-69thrbjb.js} +9 -9
  65. package/dist/chunks/{location-w9vf9qqj.js → command-6n4b0dsb.js} +9 -9
  66. package/dist/chunks/{location-hfhp5k6j.js → command-6p77gfgj.js} +3 -3
  67. package/dist/chunks/{location-83xz3hbj.js → command-6snphvfm.js} +32 -32
  68. package/dist/chunks/{location-f5gknkdx.js → command-6x8zv1ga.js} +16 -16
  69. package/dist/chunks/{location-6xb47vfp.js → command-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{location-5g57z1ma.js → command-76p14g35.js} +4 -4
  71. package/dist/chunks/{location-775gj3j1.js → command-775gj3j1.js} +2 -2
  72. package/dist/chunks/{location-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{location-fcrkznn8.js → command-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{location-7v6vae4w.js → command-7v6vae4w.js} +3 -3
  75. package/dist/chunks/{location-waskdk5r.js → command-81f7vt2z.js} +4 -4
  76. package/dist/chunks/{location-84txncab.js → command-84txncab.js} +1 -1
  77. package/dist/chunks/{location-dsyqdg7y.js → command-85bd81md.js} +42 -42
  78. package/dist/chunks/{location-ek46kvq2.js → command-86br03e3.js} +8 -8
  79. package/dist/chunks/{location-4sem758r.js → command-86jr8x5y.js} +10 -10
  80. package/dist/chunks/{location-9zsn4ryv.js → command-87g5j40b.js} +11 -11
  81. package/dist/chunks/{location-snt75n4w.js → command-87gdc6tq.js} +3 -3
  82. package/dist/chunks/{location-8m6m0r52.js → command-8m6m0r52.js} +1 -1
  83. package/dist/chunks/{location-8mywswrd.js → command-8mywswrd.js} +1 -1
  84. package/dist/chunks/{location-ctz7jbry.js → command-8s1fj8xg.js} +8 -8
  85. package/dist/chunks/{location-tw7m84f2.js → command-8ybx9dv8.js} +1 -1
  86. package/dist/chunks/{location-x3h37q7j.js → command-9h10jqva.js} +20 -20
  87. package/dist/chunks/{location-m64xvjj1.js → command-9pkkzrmj.js} +5 -5
  88. package/dist/chunks/{location-tgvsetpk.js → command-9tjr5tfj.js} +13 -13
  89. package/dist/chunks/{location-9wev2pgg.js → command-9wev2pgg.js} +1 -1
  90. package/dist/chunks/{location-6xp44e9y.js → command-a37705eh.js} +21 -21
  91. package/dist/chunks/{location-h9pnpq88.js → command-a3c7ahw6.js} +4 -4
  92. package/dist/chunks/{location-9t8hw933.js → command-a8q1nc8j.js} +18 -18
  93. package/dist/chunks/{location-fd08frkx.js → command-abhakzek.js} +5 -5
  94. package/dist/chunks/{location-am1vdybj.js → command-am1vdybj.js} +4 -4
  95. package/dist/chunks/{location-v4r857ee.js → command-amznas3s.js} +33 -33
  96. package/dist/chunks/{location-ysdyyay3.js → command-anffd6jp.js} +24 -24
  97. package/dist/chunks/{location-fp99e1xt.js → command-avnbws58.js} +18 -18
  98. package/dist/chunks/{location-gnx3cc6w.js → command-axp4ehpq.js} +8 -8
  99. package/dist/chunks/{location-3adnxn06.js → command-b3eecbxp.js} +4 -4
  100. package/dist/chunks/{location-sf4c3jp0.js → command-b7eb9p8b.js} +27 -27
  101. package/dist/chunks/{location-e3naqsya.js → command-b9dbntts.js} +22 -22
  102. package/dist/chunks/{location-98hve3fq.js → command-bc4d43x0.js} +30 -30
  103. package/dist/chunks/{location-vwsfg3fg.js → command-bh36nkqs.js} +23 -23
  104. package/dist/chunks/{location-n2r55xd1.js → command-bh5ww8rh.js} +45 -45
  105. package/dist/chunks/{location-6559rxr6.js → command-bhz4wbbx.js} +6 -6
  106. package/dist/chunks/{location-bjx1sjef.js → command-bjx1sjef.js} +2 -2
  107. package/dist/chunks/{location-2tbztjht.js → command-bn5wyt58.js} +30 -30
  108. package/dist/chunks/{location-hyarejjy.js → command-bx2c7yn7.js} +11 -11
  109. package/dist/chunks/{location-wvzvsjpz.js → command-byat028d.js} +19 -19
  110. package/dist/chunks/{location-xmrc0ft6.js → command-cp7wvvqd.js} +12 -12
  111. package/dist/chunks/{location-dmw8mvpz.js → command-cqhbfnr1.js} +30 -30
  112. package/dist/chunks/{location-m97symvc.js → command-cr1mssy2.js} +33 -33
  113. package/dist/chunks/{location-c765mh8b.js → command-cwa6csj7.js} +9 -9
  114. package/dist/chunks/{location-sm4k3a60.js → command-cyqt27pd.js} +5 -5
  115. package/dist/chunks/{location-q84pcmhe.js → command-cywftvdx.js} +68 -68
  116. package/dist/chunks/{location-d63sgyqh.js → command-d53g1a3y.js} +9 -9
  117. package/dist/chunks/{location-y49bgj8b.js → command-d9xzyqvc.js} +18 -18
  118. package/dist/chunks/{location-k0wzqvjk.js → command-dd1wce65.js} +43 -43
  119. package/dist/chunks/{location-hsr8yxc9.js → command-dfse8kb6.js} +18 -18
  120. package/dist/chunks/{location-dgzq35zb.js → command-dgzq35zb.js} +3 -3
  121. package/dist/chunks/{location-dpkg50ah.js → command-dpkg50ah.js} +1 -1
  122. package/dist/chunks/{location-qg3jze5q.js → command-dqqwr2kk.js} +11 -11
  123. package/dist/chunks/{location-a1cwsqdb.js → command-dshe5yp9.js} +35 -35
  124. package/dist/chunks/{location-eej6y6fw.js → command-eej6y6fw.js} +2 -2
  125. package/dist/chunks/{location-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{location-d1ftyfm1.js → command-ej25e5st.js} +23 -23
  127. package/dist/chunks/{location-ysjtvpas.js → command-ejndb8vb.js} +5 -5
  128. package/dist/chunks/{location-ph842b28.js → command-etttfj1t.js} +4 -4
  129. package/dist/chunks/{location-nc7xb224.js → command-f6znfd8x.js} +42 -42
  130. package/dist/chunks/{location-fcy631f0.js → command-fcy631f0.js} +1 -1
  131. package/dist/chunks/{location-xc0mr4yb.js → command-frsbz4zz.js} +7 -7
  132. package/dist/chunks/{location-m15ha2ry.js → command-fvvr5s83.js} +6 -6
  133. package/dist/chunks/{location-jm6wfgtn.js → command-g1bk0rvk.js} +10 -10
  134. package/dist/chunks/{location-n7dc1ar6.js → command-gc8554r3.js} +45 -45
  135. package/dist/chunks/{location-c3dg826k.js → command-gcyw4s3t.js} +26 -26
  136. package/dist/chunks/{location-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{location-mmyy2hne.js → command-gf0da6cn.js} +19 -19
  138. package/dist/chunks/{location-313pbxt2.js → command-gjs4gkbj.js} +21 -21
  139. package/dist/chunks/{location-gg795btt.js → command-gknwg3d3.js} +24 -24
  140. package/dist/chunks/{location-8zbn9c46.js → command-gws60q17.js} +2 -2
  141. package/dist/chunks/{location-8w3e00az.js → command-h69hk4jg.js} +46 -46
  142. package/dist/chunks/{location-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{location-3y1df9hb.js → command-hgr5fehx.js} +3 -3
  144. package/dist/chunks/{location-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
  145. package/dist/chunks/{location-qacj84y4.js → command-hkk11q6k.js} +36 -36
  146. package/dist/chunks/{location-yvy8rc3z.js → command-hqct51j7.js} +18 -18
  147. package/dist/chunks/{location-5663gavc.js → command-hqcwm3sg.js} +20 -20
  148. package/dist/chunks/{location-68d09h7d.js → command-hx1srwd5.js} +15 -15
  149. package/dist/chunks/{location-yh8p5p3y.js → command-hztdnym9.js} +17 -17
  150. package/dist/chunks/{location-b04q5t5m.js → command-j89nzgjf.js} +29 -29
  151. package/dist/chunks/{location-vgqhef6t.js → command-jj5bew2e.js} +50 -50
  152. package/dist/chunks/{location-dbapnq8x.js → command-jksyzxb8.js} +5 -5
  153. package/dist/chunks/{location-fr4cd36j.js → command-jn4zdy1z.js} +16 -16
  154. package/dist/chunks/{location-stn64ya2.js → command-jnwbf985.js} +15 -15
  155. package/dist/chunks/{location-7sn7bbtk.js → command-jr1c3etd.js} +8 -8
  156. package/dist/chunks/{location-tnv0fyap.js → command-jy9jz103.js} +11 -11
  157. package/dist/chunks/{location-gafzn91c.js → command-k0vsesgg.js} +24 -24
  158. package/dist/chunks/{location-0f97zcpq.js → command-k1nwc2sn.js} +10 -10
  159. package/dist/chunks/{location-8ft9mnds.js → command-k2xckaw8.js} +28 -28
  160. package/dist/chunks/{location-n5q7pmwt.js → command-kbyad70m.js} +322 -322
  161. package/dist/chunks/{location-pr35srdg.js → command-kbznsqxf.js} +11 -11
  162. package/dist/chunks/{location-ets9hpqy.js → command-khehvdjk.js} +18 -18
  163. package/dist/chunks/{location-fxaymqdw.js → command-khmqacep.js} +4 -4
  164. package/dist/chunks/{location-bfk5x8m4.js → command-kks8wa7e.js} +24 -24
  165. package/dist/chunks/{location-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
  166. package/dist/chunks/command-m1grcskh.js +257 -0
  167. package/dist/chunks/{location-qhft0c11.js → command-m28354wd.js} +5 -5
  168. package/dist/chunks/{location-jgwkv6jn.js → command-m89j5wza.js} +4 -4
  169. package/dist/chunks/{location-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{location-asa024m6.js → command-ma9kyv73.js} +46 -46
  171. package/dist/chunks/{location-maspj1v3.js → command-maspj1v3.js} +1 -1
  172. package/dist/chunks/{location-bzb0xpje.js → command-mf528kyb.js} +18 -18
  173. package/dist/chunks/{location-mjjmqb1d.js → command-mfp0neqk.js} +22 -22
  174. package/dist/chunks/{location-nry4qgac.js → command-mk379379.js} +3 -3
  175. package/dist/chunks/{location-aecj3y8p.js → command-mkhd10ty.js} +15 -15
  176. package/dist/chunks/command-mr3dex66.js +26 -0
  177. package/dist/chunks/{location-dgsn3vfw.js → command-mr3qe865.js} +46 -46
  178. package/dist/chunks/{location-k5tmaff0.js → command-n7er3eab.js} +34 -34
  179. package/dist/chunks/{location-jhn3db5w.js → command-nhsdda1g.js} +11 -11
  180. package/dist/chunks/{location-rqxnffma.js → command-njwf2h5j.js} +11 -11
  181. package/dist/chunks/{location-b28fxhss.js → command-nq0h700v.js} +13 -13
  182. package/dist/chunks/{location-hyvp8sn8.js → command-nr352xqj.js} +1 -1
  183. package/dist/chunks/{location-h01qn727.js → command-ns3jj6y3.js} +18 -18
  184. package/dist/chunks/{location-ya11n351.js → command-nxq8z62t.js} +14 -14
  185. package/dist/chunks/{location-e3x0acme.js → command-nyzqtb2y.js} +21 -21
  186. package/dist/chunks/{location-nz56sr1f.js → command-nz56sr1f.js} +2 -2
  187. package/dist/chunks/{location-9hn6k4tm.js → command-p37cw4rj.js} +8 -8
  188. package/dist/chunks/{location-garxcygd.js → command-p6ern3p6.js} +20 -20
  189. package/dist/chunks/{location-1wyvxh86.js → command-p84vce2c.js} +11 -11
  190. package/dist/chunks/{location-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{location-pknna89w.js → command-pknna89w.js} +1 -1
  192. package/dist/chunks/{location-v2f1b6th.js → command-ppqq8y70.js} +5 -5
  193. package/dist/chunks/{location-r9w3djhf.js → command-prq7hedt.js} +9 -9
  194. package/dist/chunks/{location-jzxww0nw.js → command-pz7h80dq.js} +16 -16
  195. package/dist/chunks/{location-0ferak4p.js → command-q5vfa25v.js} +16 -16
  196. package/dist/chunks/{location-jg8pxvea.js → command-q99gfpgg.js} +3 -3
  197. package/dist/chunks/{location-jdsf1v6s.js → command-qes6m8vb.js} +23 -23
  198. package/dist/chunks/{location-cpq8ekdt.js → command-qmmgpbwc.js} +25 -25
  199. package/dist/chunks/{location-gg3qganw.js → command-qrtwq0eh.js} +8 -8
  200. package/dist/chunks/{location-qsdy395h.js → command-qsdy395h.js} +1 -1
  201. package/dist/chunks/{location-338tmc2w.js → command-r0etpgas.js} +34 -34
  202. package/dist/chunks/{location-e80seqcp.js → command-r2z489rp.js} +3 -3
  203. package/dist/chunks/command-rap9a73h.js +18 -0
  204. package/dist/chunks/{location-ryr25ayn.js → command-ratrq7cm.js} +4 -4
  205. package/dist/chunks/{location-ac8jf0gv.js → command-ravky6v4.js} +27 -27
  206. package/dist/chunks/{location-p1wfrhak.js → command-rcas954y.js} +20 -20
  207. package/dist/chunks/{location-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{location-4qxrp1dj.js → command-rf7bhes0.js} +36 -36
  209. package/dist/chunks/{location-txx63mhx.js → command-rpnyj0cb.js} +81 -81
  210. package/dist/chunks/{location-hmcw1xv3.js → command-rscrykr4.js} +30 -30
  211. package/dist/chunks/{location-p2d2ky5d.js → command-rvmmw9hn.js} +4 -4
  212. package/dist/chunks/{location-e9vjet1j.js → command-s3k0j0zg.js} +4 -4
  213. package/dist/chunks/{location-t4dwgtwr.js → command-s5ng6h1y.js} +11 -11
  214. package/dist/chunks/{location-xx7k8td3.js → command-s5r7j2ea.js} +4 -4
  215. package/dist/chunks/{location-s8d7rejh.js → command-s8d7rejh.js} +1 -1
  216. package/dist/chunks/{location-28zjsd3e.js → command-sbdjwzg5.js} +18 -18
  217. package/dist/chunks/{location-aacha31a.js → command-sp9nn688.js} +12 -12
  218. package/dist/chunks/{location-4pdt9v4n.js → command-syv31cvt.js} +9 -9
  219. package/dist/chunks/{location-syv4x271.js → command-syv4x271.js} +1 -1
  220. package/dist/chunks/{location-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{location-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  222. package/dist/chunks/{location-tdstcens.js → command-tdstcens.js} +1 -1
  223. package/dist/chunks/{location-3r2m892a.js → command-tdyk1y3q.js} +35 -35
  224. package/dist/chunks/{location-tm0kqsz3.js → command-tm0kqsz3.js} +1 -1
  225. package/dist/chunks/{location-fn9t717r.js → command-tt8gc4fv.js} +6 -6
  226. package/dist/chunks/{location-v210v162.js → command-tx0gtb9m.js} +9 -9
  227. package/dist/chunks/{location-tyk0w0pd.js → command-tyk0w0pd.js} +3 -3
  228. package/dist/chunks/{location-tyytaxap.js → command-tyytaxap.js} +1 -1
  229. package/dist/chunks/{location-trya7axm.js → command-tz35mf6x.js} +6 -6
  230. package/dist/chunks/{location-62v5rbec.js → command-tzv31cm4.js} +13 -13
  231. package/dist/chunks/{location-vt1s2zds.js → command-v20a42cg.js} +4 -4
  232. package/dist/chunks/{location-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
  233. package/dist/chunks/{location-x1n877dv.js → command-v8cs5gsq.js} +20 -20
  234. package/dist/chunks/{location-veqvce7d.js → command-veqvce7d.js} +1 -1
  235. package/dist/chunks/{location-jpb42pwq.js → command-vkdxcejq.js} +10 -10
  236. package/dist/chunks/{location-zgkfskaa.js → command-vmyf36rx.js} +42 -42
  237. package/dist/chunks/{location-wxy29yzb.js → command-vsm45mx7.js} +11 -11
  238. package/dist/chunks/{location-kypjhz4q.js → command-vty708x5.js} +14 -14
  239. package/dist/chunks/{location-tcay1cqt.js → command-vvccsdf3.js} +5 -5
  240. package/dist/chunks/{location-z6z736zf.js → command-vvx0ahez.js} +27 -27
  241. package/dist/chunks/{location-rdmm8wx1.js → command-vzrdb6x9.js} +3 -3
  242. package/dist/chunks/{location-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{location-07wcwaet.js → command-w0n6gnt9.js} +11 -11
  244. package/dist/chunks/{location-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{location-wbq5q4f0.js → command-w5xp9r00.js} +17 -17
  246. package/dist/chunks/{location-wakvkjy4.js → command-wakvkjy4.js} +1 -1
  247. package/dist/chunks/{location-0qe50jst.js → command-wazpdbd3.js} +11 -11
  248. package/dist/chunks/{location-wd87259q.js → command-wd87259q.js} +1 -1
  249. package/dist/chunks/{location-n63hq1yp.js → command-wedt70z2.js} +32 -32
  250. package/dist/chunks/{location-y05taef3.js → command-wgzgvsr8.js} +17 -17
  251. package/dist/chunks/{location-zec5t9m9.js → command-wp5fex1h.js} +4 -4
  252. package/dist/chunks/{location-fwy8kg2k.js → command-wy4tkx13.js} +2 -2
  253. package/dist/chunks/{location-d63h9wdy.js → command-x084xcqe.js} +28 -28
  254. package/dist/chunks/{location-dys7k0s0.js → command-x1ge9cxs.js} +8 -8
  255. package/dist/chunks/{location-m7kdtezn.js → command-xebswx6q.js} +13 -13
  256. package/dist/chunks/{location-6k57be7g.js → command-xfjms2yf.js} +30 -30
  257. package/dist/chunks/{location-5csbs030.js → command-xfwyxa0r.js} +14 -14
  258. package/dist/chunks/{location-38vrzhk4.js → command-xhw0dpzq.js} +9 -9
  259. package/dist/chunks/{location-77y8wgeh.js → command-xkpx58x0.js} +3 -3
  260. package/dist/chunks/{location-vdnac628.js → command-xmhs9py1.js} +21 -21
  261. package/dist/chunks/{location-22zynyp8.js → command-xvc40k3r.js} +32 -32
  262. package/dist/chunks/{location-xw9fg8fb.js → command-xw9fg8fb.js} +2 -2
  263. package/dist/chunks/{location-2excde36.js → command-xzb6sdgh.js} +22 -22
  264. package/dist/chunks/{location-t2xhzx1r.js → command-y02z6wf6.js} +32 -32
  265. package/dist/chunks/{location-6fbgyqx2.js → command-y0t9c3b8.js} +24 -24
  266. package/dist/chunks/{location-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{location-dkrr3wvc.js → command-y28amm4t.js} +15 -15
  268. package/dist/chunks/{location-phz50fbd.js → command-y7nndgyc.js} +9 -9
  269. package/dist/chunks/{location-a2wnnmtd.js → command-y8b4jftr.js} +7 -7
  270. package/dist/chunks/{location-d99zq9a9.js → command-y9pep639.js} +21 -21
  271. package/dist/chunks/{location-g4fwqmp5.js → command-yetrppan.js} +13 -13
  272. package/dist/chunks/{location-1g1nqesa.js → command-yppjc11p.js} +22 -22
  273. package/dist/chunks/{location-6hq2s9rg.js → command-yy6cvr68.js} +32 -32
  274. package/dist/chunks/{location-h1s5a7fb.js → command-z07xh9t5.js} +44 -44
  275. package/dist/chunks/{location-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{location-z18fegx4.js → command-z18fegx4.js} +1 -1
  277. package/dist/chunks/{location-1x8ctv13.js → command-z2vhj21h.js} +5 -5
  278. package/dist/chunks/{location-gg5w8wvf.js → command-z5kwvp43.js} +7 -7
  279. package/dist/chunks/{location-scdee33y.js → command-zbqtqq82.js} +2 -2
  280. package/dist/chunks/{location-bvjxnz85.js → command-zej84cff.js} +4 -4
  281. package/dist/chunks/{location-zp589yax.js → command-zf2st5d0.js} +12 -12
  282. package/dist/chunks/{location-516j2px1.js → command-zj8bmmts.js} +15 -15
  283. package/dist/chunks/{location-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{location-829bc28g.js → command-zsd94d5t.js} +17 -17
  285. package/dist/chunks/{location-dhmh7aw6.js → command-zvt5dnpc.js} +4 -4
  286. package/dist/chunks/{location-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +3 -3
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +212 -212
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +114 -114
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +227 -227
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +3 -3
  455. package/dist/instance.js +359 -359
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +91 -91
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +154 -154
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +91 -91
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +100 -100
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +82 -82
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +111 -111
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +115 -115
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +72 -72
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +132 -132
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  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 +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +5 -5
  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 +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  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 +92 -92
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  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 +220 -220
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +166 -166
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +93 -93
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  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 +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +162 -162
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +166 -166
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +216 -216
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +91 -91
  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 +139 -139
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +111 -111
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +84 -84
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +87 -87
  689. package/dist/worktree.js +92 -92
  690. package/package.json +8 -8
  691. package/dist/chunks/location-48fz5dd2.js +0 -257
  692. package/dist/chunks/location-ht5y0zrb.js +0 -18
  693. package/dist/chunks/location-z6xb3w2g.js +0 -26
  694. /package/dist/chunks/{location-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{location-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{location-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{location-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{location-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{location-24dcb14g.js → command-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{location-2710q6r3.js → command-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{location-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{location-2bv980vf.js → command-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{location-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{location-359p4xyc.js → command-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{location-3asan66x.js → command-3asan66x.js} +0 -0
  706. /package/dist/chunks/{location-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{location-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{location-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{location-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{location-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{location-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{location-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{location-53557ph1.js → command-53557ph1.js} +0 -0
  714. /package/dist/chunks/{location-550bvhaj.js → command-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{location-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{location-6prwharc.js → command-6prwharc.js} +0 -0
  717. /package/dist/chunks/{location-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{location-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{location-7m9af43g.js → command-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{location-822emrt2.js → command-822emrt2.js} +0 -0
  721. /package/dist/chunks/{location-84wd9syh.js → command-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{location-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{location-8n3pysct.js → command-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{location-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{location-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{location-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{location-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{location-af5trqkr.js → command-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{location-afrmfg78.js → command-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{location-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{location-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{location-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{location-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{location-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{location-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{location-d9fn303g.js → command-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{location-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{location-dajrwvna.js → command-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{location-dap0rakb.js → command-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{location-df08tz66.js → command-df08tz66.js} +0 -0
  741. /package/dist/chunks/{location-dy18nga0.js → command-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{location-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{location-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{location-ec1grn59.js → command-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{location-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{location-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{location-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{location-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{location-faypxj3z.js → command-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{location-fd410y7t.js → command-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{location-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{location-g86h250q.js → command-g86h250q.js} +0 -0
  753. /package/dist/chunks/{location-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{location-gftt206x.js → command-gftt206x.js} +0 -0
  755. /package/dist/chunks/{location-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{location-hk9envan.js → command-hk9envan.js} +0 -0
  757. /package/dist/chunks/{location-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{location-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{location-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{location-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{location-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{location-jze0r7bz.js → command-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{location-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{location-m18g726c.js → command-m18g726c.js} +0 -0
  765. /package/dist/chunks/{location-mp448xyj.js → command-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{location-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{location-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{location-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{location-njntx4h6.js → command-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{location-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{location-pyv0edze.js → command-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{location-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{location-q74kybfr.js → command-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{location-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{location-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{location-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{location-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{location-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{location-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{location-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{location-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{location-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{location-w803qqfp.js → command-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{location-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{location-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{location-wjj7prxr.js → command-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{location-wtztk69x.js → command-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{location-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{location-x61499pn.js → command-x61499pn.js} +0 -0
  790. /package/dist/chunks/{location-y44na4kk.js → command-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{location-y8f7s663.js → command-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{location-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{location-ym463w8f.js → command-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{location-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{location-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-y05taef3.js";
2
+ Service78,
3
+ node82
4
+ } from "./command-wgzgvsr8.js";
5
5
  import {
6
6
  Key3,
7
7
  make21,
8
8
  combine2
9
- } from "./location-s8d7rejh.js";
9
+ } from "./command-s8d7rejh.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service35,
19
- node: () => node38
18
+ Service: () => Service38,
19
+ node: () => node41
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service38 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service35, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service82;
29
- return Service35.of({
28
+ const location = yield* Service78;
29
+ return Service38.of({
30
30
  load: () => Effect.succeed(combine2([
31
31
  make21({
32
32
  key: Key3.make("core/date"),
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node38 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node86] });
63
+ var node41 = makeLocationNode({ service: Service38, layer, deps: [Global.node, node82] });
64
64
 
65
- export { Service35, node38, exports_builtins };
65
+ export { Service38, node41, exports_builtins };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./location-88xbtdfr.js";
3
+ } from "./command-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./location-5qd3pb7m.js";
6
+ } from "./command-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./command-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event12,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service59,
16
+ Options: () => Options10,
17
+ Service: () => Service66,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured10,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer24,
22
+ layer: () => layer26,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node61,
25
+ node: () => node69,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event12 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options10 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service59 extends Context.Service()("@opencode/Watcher") {
60
+ class Service66 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer24 = (options) => Layer.effect(Service59, Effect.gen(function* () {
65
+ var layer26 = (options) => Layer.effect(Service66, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service59.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service66.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service59, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service59.of({ subscribe });
108
+ return Service66.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service59).subscribe,
134
+ subscribe: Context.get(context, Service66).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service59, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service66, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service59, layer: layer24(options), deps: [nativeNode2] });
167
+ function configured10(options) {
168
+ return makeGlobalNode({ service: Service66, layer: layer26(options), deps: [nativeNode2] });
169
169
  }
170
- var node61 = configured9();
170
+ var node69 = configured10();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options9, Service59, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node61, exports_watcher };
190
+ export { Event12, hasNativeBinding2, Native3, Options10, Service66, Test3, layer26, testLayer3, nativeLayer2, nativeNode2, configured10, node69, exports_watcher };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./location-hfhp5k6j.js";
4
+ } from "./command-6p77gfgj.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./location-bvjxnz85.js";
8
+ } from "./command-zej84cff.js";
9
9
  import {
10
- Service50,
10
+ Service49,
11
11
  node52
12
- } from "./location-dkrr3wvc.js";
12
+ } from "./command-y28amm4t.js";
13
13
  import {
14
- Service48,
14
+ Service47,
15
15
  node50
16
- } from "./location-tcay1cqt.js";
16
+ } from "./command-vvccsdf3.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-ec1grn59.js";
19
+ } from "./command-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./location-5g57z1ma.js";
21
+ make18
22
+ } from "./command-76p14g35.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service46
26
- } from "./location-dhmh7aw6.js";
25
+ Service44
26
+ } from "./command-zvt5dnpc.js";
27
27
  import {
28
- Service73,
29
- node77
30
- } from "./location-9jfsax2t.js";
28
+ Service75,
29
+ node79
30
+ } from "./command-26v53g8c.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./location-1x8ctv13.js";
33
+ } from "./command-z2vhj21h.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./location-p1wfrhak.js";
36
+ } from "./command-rcas954y.js";
37
37
  import {
38
38
  __export
39
- } from "./location-9rqn6x4v.js";
39
+ } from "./command-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service45,
44
+ Service: () => Service43,
45
45
  SessionExecution: () => exports_execution,
46
46
  layer: () => layer20,
47
- node: () => node48,
47
+ node: () => node47,
48
48
  noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service45 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service43 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer20 = Layer.effect(Service45, Effect.gen(function* () {
63
- const store = yield* Service73;
64
- const instances = yield* Service48;
62
+ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
63
+ const store = yield* Service75;
64
+ const instances = yield* Service47;
65
65
  const bus = yield* Service85;
66
- const jobs = yield* Service50;
66
+ const jobs = yield* Service49;
67
67
  const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make17({
86
+ const coordinator = yield* make18({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service45.of({
107
+ return Service43.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node48 = makeGlobalNode({
127
- service: Service45,
126
+ var node47 = makeGlobalNode({
127
+ service: Service43,
128
128
  layer: layer20,
129
- deps: [node77, node50, node89, node90, node52]
129
+ deps: [node79, node50, node89, node90, node52]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service45, Service45.of({
131
+ var noopLayer3 = Layer.succeed(Service43, Service43.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service45, Service45.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service45, terminal2, layer20, node48, noopLayer3, exports_execution };
140
+ export { Service43, terminal2, layer20, node47, noopLayer3, exports_execution };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-hyarejjy.js";
3
+ } from "./command-bx2c7yn7.js";
4
4
  import {
5
5
  Service85
6
- } from "./location-bvjxnz85.js";
6
+ } from "./command-zej84cff.js";
7
7
  import {
8
- ID16,
8
+ ID17,
9
9
  Event20,
10
- Service80
11
- } from "./location-garxcygd.js";
10
+ Service83
11
+ } from "./command-p6ern3p6.js";
12
12
  import {
13
13
  key2
14
- } from "./location-addxnjmp.js";
14
+ } from "./command-3y377wv9.js";
15
15
  import {
16
- ID14,
16
+ ID16,
17
17
  MethodID2
18
- } from "./location-fmvmqg86.js";
18
+ } from "./command-5kxh3622.js";
19
19
  import {
20
20
  which2
21
- } from "./location-qaymkmh1.js";
21
+ } from "./command-qaymkmh1.js";
22
22
  import {
23
- ID13,
24
- Service77
25
- } from "./location-83xz3hbj.js";
23
+ ID9,
24
+ Service70
25
+ } from "./command-6snphvfm.js";
26
26
  import {
27
- ID7
28
- } from "./location-98hve3fq.js";
27
+ ID8
28
+ } from "./command-bc4d43x0.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./location-vzcdy7t2.js";
31
+ } from "./command-22pq31c6.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make6(endpoints = {
66
+ function make5(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID13.azure);
73
+ const configured = yield* configuredSettings2(ID9.azure);
74
74
  const processes = yield* AppProcess.Service;
75
75
  const bus = yield* Service85;
76
- const credentials = yield* Service80;
77
- const providers = yield* Service77;
76
+ const credentials = yield* Service83;
77
+ const providers = yield* Service70;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make6(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID13.azure,
103
+ integrationID: ID9.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID13.azure,
107
+ integrationID: ID9.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make6(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID13.azure,
125
+ integrationID: ID9.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make6(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID13.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID9.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make6(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID13.azure))?.settings;
185
+ const settings = (yield* providers.get(ID9.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make6(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID9.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID9.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make6(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID9.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make6(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID13.azure);
243
+ const item = evt.get(ID9.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make6(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make6(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID13.azure);
266
+ const catalog = models.list(ID9.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID13.azure, model.id);
270
+ models.remove(ID9.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID9.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID13.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID9.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make6(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID13.azure)
291
+ if (evt.model.providerID !== ID9.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make6(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID13.azure });
300
+ }), { providerID: ID9.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID13.azure)
302
+ if (evt.model.providerID !== ID9.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make6(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID13.azure });
311
+ }), { providerID: ID9.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make6();
315
+ var AzurePlugin2 = make5();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID7.make(deployment.name.toLowerCase());
345
+ const id = ID8.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID7.make(deployment.name),
349
+ modelID: ID8.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make6, AzurePlugin2 };
371
+ export { make5, AzurePlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./location-ym463w8f.js";
3
+ } from "./command-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./location-6559rxr6.js";
4
+ } from "./command-bhz4wbbx.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./location-asa024m6.js";
8
+ } from "./command-ma9kyv73.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./location-fmvmqg86.js";
11
+ } from "./command-5kxh3622.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./location-n2r55xd1.js";
19
+ } from "./command-bh5ww8rh.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./location-m7kdtezn.js";
23
+ } from "./command-xebswx6q.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -5,19 +5,19 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./location-tazgh4e4.js";
8
+ } from "./command-tazgh4e4.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./location-ef5x83kb.js";
11
+ } from "./command-ef5x83kb.js";
12
12
  import {
13
- Service82
14
- } from "./location-y05taef3.js";
13
+ Service78
14
+ } from "./command-wgzgvsr8.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./location-vdnac628.js";
17
+ } from "./command-xmhs9py1.js";
18
18
  import {
19
19
  __export
20
- } from "./location-9rqn6x4v.js";
20
+ } from "./command-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
@@ -36,7 +36,7 @@ import { AppProcess } from "@opencode/util/process";
36
36
  var Plugin3 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service82;
39
+ const location = yield* Service78;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./location-emrn6kk6.js";
4
+ } from "./command-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./location-9p7ryr2b.js";
7
+ } from "./command-4bw5k2yb.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";