@opencode/core 0.0.0-dev-21504 → 0.0.0-dev-21507

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 (791) 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 +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{command-02mvvr71.js → tool-02mvvr71.js} +3 -3
  8. package/dist/chunks/{command-cf25jgjj.js → tool-04cnhvec.js} +28 -28
  9. package/dist/chunks/{command-m4rj2mnd.js → tool-06v6246a.js} +45 -45
  10. package/dist/chunks/{command-0vbcp93d.js → tool-0emb60td.js} +2 -2
  11. package/dist/chunks/{command-xkxvzqg5.js → tool-0kdreaa3.js} +21 -21
  12. package/dist/chunks/{command-4bzs8rv8.js → tool-0pdt8dbx.js} +3 -3
  13. package/dist/chunks/{command-3f1rw1kg.js → tool-0sgefyfd.js} +4 -4
  14. package/dist/chunks/{command-y26vasy8.js → tool-10xea195.js} +29 -29
  15. package/dist/chunks/{command-qkgtmd8v.js → tool-118zcnpk.js} +23 -23
  16. package/dist/chunks/{command-bzeyqsqd.js → tool-1ep4rre3.js} +4 -4
  17. package/dist/chunks/{command-qhm64xy3.js → tool-1ey1ywa8.js} +36 -36
  18. package/dist/chunks/{command-7ean6v8x.js → tool-1hga77xc.js} +11 -11
  19. package/dist/chunks/{command-fkhc0ppg.js → tool-1vx9hbz5.js} +21 -21
  20. package/dist/chunks/{command-89f0qmxx.js → tool-208nnjmr.js} +4 -4
  21. package/dist/chunks/{command-389fpadm.js → tool-228mhbmk.js} +15 -15
  22. package/dist/chunks/{command-kks3c8v7.js → tool-26dhv5et.js} +17 -17
  23. package/dist/chunks/{command-27w5k9zf.js → tool-27w5k9zf.js} +2 -2
  24. package/dist/chunks/{command-sxjy2bbv.js → tool-283ssd4b.js} +14 -14
  25. package/dist/chunks/{command-e5cywx9b.js → tool-29gc4c91.js} +10 -10
  26. package/dist/chunks/{command-1q5vfyvt.js → tool-2ftt7040.js} +28 -28
  27. package/dist/chunks/{command-qqjrwnjf.js → tool-2mrwwyd2.js} +19 -19
  28. package/dist/chunks/{command-b7k2jn9m.js → tool-2vz2ewx5.js} +23 -23
  29. package/dist/chunks/{command-4aqng94r.js → tool-2z2nwxhc.js} +35 -35
  30. package/dist/chunks/{command-va3y7zmk.js → tool-332kxz91.js} +49 -49
  31. package/dist/chunks/{command-ecmkrhds.js → tool-34w1safd.js} +23 -23
  32. package/dist/chunks/{command-f8e526k5.js → tool-37cqxn50.js} +6 -6
  33. package/dist/chunks/{command-xsgk040k.js → tool-3ga20zad.js} +20 -20
  34. package/dist/chunks/{command-eh4k6x00.js → tool-3hahq16z.js} +19 -19
  35. package/dist/chunks/{command-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{command-56zeqtav.js → tool-3hjc3vgd.js} +10 -10
  37. package/dist/chunks/{command-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{command-y7cneyn5.js → tool-3q29hfa9.js} +21 -21
  39. package/dist/chunks/{command-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{command-ybc3kgcz.js → tool-3xbwwg1d.js} +15 -15
  41. package/dist/chunks/{command-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{command-47jkzegy.js → tool-43kvem2p.js} +5 -5
  43. package/dist/chunks/{command-37q05ven.js → tool-49jcyb13.js} +18 -18
  44. package/dist/chunks/{command-73t188jy.js → tool-4c8bw516.js} +8 -8
  45. package/dist/chunks/{command-6k581ess.js → tool-4dg0xz54.js} +6 -6
  46. package/dist/chunks/{command-3ggeeyj8.js → tool-4gt0zems.js} +8 -8
  47. package/dist/chunks/{command-9nyvt9wv.js → tool-4hvcvget.js} +12 -12
  48. package/dist/chunks/{command-0z7sm6e6.js → tool-4j0c97rp.js} +16 -16
  49. package/dist/chunks/{command-s81df8he.js → tool-4sj6rv93.js} +11 -11
  50. package/dist/chunks/{command-54ma36ye.js → tool-54ma36ye.js} +1 -1
  51. package/dist/chunks/{command-90mddc2j.js → tool-556pd3b9.js} +29 -29
  52. package/dist/chunks/{command-1tmptvb5.js → tool-5651m5ed.js} +34 -34
  53. package/dist/chunks/{command-e7gxy7fd.js → tool-5g57z1ma.js} +4 -4
  54. package/dist/chunks/{command-pgyp9qgz.js → tool-5gx51r66.js} +3 -3
  55. package/dist/chunks/{command-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{command-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{command-2me2cgjk.js → tool-5qmfkff2.js} +9 -9
  58. package/dist/chunks/{command-ptak7ehw.js → tool-5z2vrcz3.js} +2 -2
  59. package/dist/chunks/{command-hbbqk0nf.js → tool-64ddt51t.js} +8 -8
  60. package/dist/chunks/{command-dy3angj7.js → tool-66950z1s.js} +11 -11
  61. package/dist/chunks/{command-6827pfxn.js → tool-6827pfxn.js} +1 -1
  62. package/dist/chunks/{command-djqf971v.js → tool-687c5wp0.js} +23 -23
  63. package/dist/chunks/{command-yjekck1e.js → tool-6a3j6khd.js} +46 -46
  64. package/dist/chunks/{command-g5b8j3v4.js → tool-6j90fxgt.js} +17 -17
  65. package/dist/chunks/{command-yph07088.js → tool-6w39brh1.js} +5 -5
  66. package/dist/chunks/{command-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{command-4w7ecc6g.js → tool-6ygh4fgn.js} +24 -24
  68. package/dist/chunks/{command-775gj3j1.js → tool-775gj3j1.js} +2 -2
  69. package/dist/chunks/{command-wkhzxvmr.js → tool-7a5jr4d9.js} +22 -22
  70. package/dist/chunks/{command-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{command-ge44mx5n.js → tool-7dqsqf20.js} +50 -50
  72. package/dist/chunks/{command-v2m8q0xf.js → tool-7jvyaakv.js} +15 -15
  73. package/dist/chunks/{command-zq2x8b87.js → tool-82rbgap5.js} +12 -12
  74. package/dist/chunks/{command-84txncab.js → tool-84txncab.js} +1 -1
  75. package/dist/chunks/{command-6yz0wx8n.js → tool-8cbrfsed.js} +5 -5
  76. package/dist/chunks/{command-dwr5n885.js → tool-8edt2mn2.js} +81 -81
  77. package/dist/chunks/{command-r014m902.js → tool-8fs4gys7.js} +11 -11
  78. package/dist/chunks/{command-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{command-8mywswrd.js → tool-8mywswrd.js} +1 -1
  80. package/dist/chunks/{command-w2v961ax.js → tool-8pjxh0v6.js} +35 -37
  81. package/dist/chunks/{command-mgwe8qfe.js → tool-8ptwh2sj.js} +5 -5
  82. package/dist/chunks/{command-pwfkmcqs.js → tool-8qjra3pm.js} +29 -29
  83. package/dist/chunks/{command-8vcf4cwr.js → tool-8vcf4cwr.js} +2 -2
  84. package/dist/chunks/{command-xx33v6n7.js → tool-940py8pc.js} +14 -14
  85. package/dist/chunks/{command-s4q0hzws.js → tool-98e06m6b.js} +43 -41
  86. package/dist/chunks/{command-6y9j254c.js → tool-9ar0tc7e.js} +8 -8
  87. package/dist/chunks/{command-g0445xdp.js → tool-9hn6k4tm.js} +8 -8
  88. package/dist/chunks/{command-77qajvn3.js → tool-9ks7twft.js} +21 -21
  89. package/dist/chunks/tool-9mbmc05v.js +26 -0
  90. package/dist/chunks/{command-fp13yrwa.js → tool-9ny5hk10.js} +11 -11
  91. package/dist/chunks/{command-9wev2pgg.js → tool-9wev2pgg.js} +1 -1
  92. package/dist/chunks/{command-3c8ew9jt.js → tool-9y4hw6ff.js} +45 -45
  93. package/dist/chunks/{command-jpqeh2wc.js → tool-a3c7ahw6.js} +4 -4
  94. package/dist/chunks/{command-1e096zfv.js → tool-a6rw3yra.js} +26 -26
  95. package/dist/chunks/{command-8sse9e5v.js → tool-aher8bmf.js} +16 -16
  96. package/dist/chunks/{command-aj7mw0zk.js → tool-aj7mw0zk.js} +2 -2
  97. package/dist/chunks/{command-zahm10sn.js → tool-amdk1eh7.js} +16 -16
  98. package/dist/chunks/{command-r3npp4de.js → tool-awb2kyzs.js} +17 -17
  99. package/dist/chunks/{command-1k45a7y4.js → tool-az243w7k.js} +27 -27
  100. package/dist/chunks/{command-b11a7tx7.js → tool-b11a7tx7.js} +1 -1
  101. package/dist/chunks/{command-63kpjth9.js → tool-be2hac41.js} +9 -9
  102. package/dist/chunks/{command-wjr9rjd7.js → tool-bjx1sjef.js} +6 -6
  103. package/dist/chunks/{command-967benbv.js → tool-bz1rn4hs.js} +11 -11
  104. package/dist/chunks/{command-5epte933.js → tool-c2sed5cq.js} +2 -2
  105. package/dist/chunks/{command-cgh16r15.js → tool-c95ze8dw.js} +8 -8
  106. package/dist/chunks/{command-kkm66dmx.js → tool-cbre0k23.js} +7 -7
  107. package/dist/chunks/{command-96z498kx.js → tool-ccxm2ze4.js} +13 -13
  108. package/dist/chunks/{command-02pca900.js → tool-cnfb3fp5.js} +85 -85
  109. package/dist/chunks/{command-vdp67131.js → tool-cv6a5k53.js} +11 -11
  110. package/dist/chunks/{command-mv3xkgvr.js → tool-cv8w919v.js} +3 -3
  111. package/dist/chunks/{command-pkcmhgjr.js → tool-d7bshphg.js} +8 -8
  112. package/dist/chunks/{command-t8afp1a1.js → tool-d8e9t34v.js} +9 -9
  113. package/dist/chunks/{command-n6ngdxpd.js → tool-d99mbq37.js} +13 -13
  114. package/dist/chunks/{command-w7ef2pdc.js → tool-dbde4j0g.js} +4 -4
  115. package/dist/chunks/{command-nhxs7ffw.js → tool-df85n37n.js} +14 -14
  116. package/dist/chunks/{command-q13f50ex.js → tool-dgzw2v3x.js} +24 -24
  117. package/dist/chunks/{command-0depx116.js → tool-dhhj8p3k.js} +22 -22
  118. package/dist/chunks/{command-cpneeje0.js → tool-djszqvmq.js} +9 -9
  119. package/dist/chunks/{command-dvj9ct8m.js → tool-dvj9ct8m.js} +3 -3
  120. package/dist/chunks/{command-ckf8nxjz.js → tool-e2hjzebn.js} +4 -4
  121. package/dist/chunks/{command-t3znd8m3.js → tool-e5adrsfc.js} +32 -32
  122. package/dist/chunks/{command-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{command-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{command-wkpdpa51.js → tool-enwyhyab.js} +17 -17
  125. package/dist/chunks/{command-0ejg1h3y.js → tool-eryt761w.js} +29 -29
  126. package/dist/chunks/{command-c61wj0cv.js → tool-ewzj04x6.js} +7 -7
  127. package/dist/chunks/{command-0gapa1rm.js → tool-ex0pka66.js} +5 -5
  128. package/dist/chunks/{command-pv162s98.js → tool-f083g6z5.js} +4 -4
  129. package/dist/chunks/{command-3n39cpdf.js → tool-f3c2dd4g.js} +11 -11
  130. package/dist/chunks/{command-hr3ck4k2.js → tool-f46vcsvf.js} +11 -11
  131. package/dist/chunks/{command-fcrkznn8.js → tool-fcrkznn8.js} +1 -1
  132. package/dist/chunks/{command-fcy631f0.js → tool-fcy631f0.js} +1 -1
  133. package/dist/chunks/{command-r9w3djhf.js → tool-fdms3n6w.js} +9 -9
  134. package/dist/chunks/{command-e6knj4ky.js → tool-fgz8sgbp.js} +11 -11
  135. package/dist/chunks/{command-p5pcm5fj.js → tool-fhczpvra.js} +11 -11
  136. package/dist/chunks/{command-tt8gc4fv.js → tool-fn9t717r.js} +6 -6
  137. package/dist/chunks/{command-hqhd8mr3.js → tool-fr6mqtdc.js} +13 -13
  138. package/dist/chunks/{command-8nr013c3.js → tool-fyd5j4v9.js} +23 -23
  139. package/dist/chunks/{command-hnmmt9bt.js → tool-g0nc362r.js} +16 -16
  140. package/dist/chunks/{command-qznp475s.js → tool-g5bttqze.js} +8 -8
  141. package/dist/chunks/{command-fkj9mczz.js → tool-g98a52zh.js} +9 -9
  142. package/dist/chunks/{command-8gazrhqj.js → tool-gc1jma41.js} +33 -33
  143. package/dist/chunks/{command-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{command-a4xtrzqb.js → tool-gjeh15rb.js} +11 -11
  145. package/dist/chunks/{command-kqef9432.js → tool-gmy8fdpk.js} +4 -4
  146. package/dist/chunks/{command-mx1fmt33.js → tool-gn4fp5fa.js} +46 -46
  147. package/dist/chunks/{command-q7jg6b3k.js → tool-gq1qwanx.js} +14 -14
  148. package/dist/chunks/{command-tfsj72j2.js → tool-gy0p0s4q.js} +20 -20
  149. package/dist/chunks/{command-jhk62tbh.js → tool-gzsyx702.js} +5 -5
  150. package/dist/chunks/{command-chpbykcw.js → tool-h4dbkbzh.js} +7 -7
  151. package/dist/chunks/{command-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{command-1hy1achk.js → tool-hgchpp86.js} +25 -25
  153. package/dist/chunks/{command-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{command-9bs1c7ey.js → tool-hpbpadsk.js} +4 -4
  155. package/dist/chunks/{command-g02fgy81.js → tool-hveambb3.js} +6 -6
  156. package/dist/chunks/{command-mmqg1qye.js → tool-j0hvq876.js} +19 -19
  157. package/dist/chunks/{command-52ae0j7r.js → tool-j3nws6dg.js} +11 -11
  158. package/dist/chunks/{command-zttg29zn.js → tool-j7zvs761.js} +31 -31
  159. package/dist/chunks/{command-whq7nv3n.js → tool-j8kb6sns.js} +1 -1
  160. package/dist/chunks/{command-zbwvew5n.js → tool-jcjdxez0.js} +14 -14
  161. package/dist/chunks/{command-xwqx1eeb.js → tool-jf44gywc.js} +18 -18
  162. package/dist/chunks/{command-3egpthbr.js → tool-jj9ksvj6.js} +26 -26
  163. package/dist/chunks/{command-qjxnsekw.js → tool-jkwff1ec.js} +18 -18
  164. package/dist/chunks/{command-16swm0z2.js → tool-jmqp76t3.js} +6 -6
  165. package/dist/chunks/{command-y0mtf7j7.js → tool-jnz7tvg3.js} +5 -5
  166. package/dist/chunks/{command-6pc27hjz.js → tool-jws6fkes.js} +4 -4
  167. package/dist/chunks/{command-qk8cm41f.js → tool-k032gzcv.js} +28 -28
  168. package/dist/chunks/{command-zqgkxsdx.js → tool-k2svkm7d.js} +9 -9
  169. package/dist/chunks/{command-fkcvtbd2.js → tool-k52t8s6v.js} +9 -9
  170. package/dist/chunks/{command-72c5e6kf.js → tool-k5jfazps.js} +9 -9
  171. package/dist/chunks/{command-ws4zn9x6.js → tool-k7af4aa9.js} +11 -11
  172. package/dist/chunks/{command-mnves5jb.js → tool-kj78g2dw.js} +30 -30
  173. package/dist/chunks/{command-kwb1v3vj.js → tool-kwb1v3vj.js} +1 -1
  174. package/dist/chunks/{command-tdrv5nbk.js → tool-m103jfcn.js} +35 -35
  175. package/dist/chunks/{command-2g8sxgxk.js → tool-m49kcc85.js} +17 -17
  176. package/dist/chunks/{command-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{command-maspj1v3.js → tool-maspj1v3.js} +1 -1
  178. package/dist/chunks/{command-22rvfkr8.js → tool-mjj5jjh8.js} +5 -5
  179. package/dist/chunks/{command-kqv3x6rj.js → tool-mqqhst8y.js} +9 -9
  180. package/dist/chunks/{command-948dh3hk.js → tool-mqwsrn1d.js} +29 -29
  181. package/dist/chunks/{command-a4pbv56j.js → tool-mr48ebck.js} +16 -16
  182. package/dist/chunks/{command-addxnjmp.js → tool-mxvxcxwy.js} +4 -4
  183. package/dist/chunks/{command-a76s9319.js → tool-n1dmb866.js} +26 -26
  184. package/dist/chunks/{command-zp3b7061.js → tool-n2dhmw60.js} +21 -21
  185. package/dist/chunks/{command-0g6q6pfz.js → tool-n5wy83m1.js} +4 -4
  186. package/dist/chunks/{command-4kj8c1s4.js → tool-n9c7dk5h.js} +28 -28
  187. package/dist/chunks/{command-jjpxm7bv.js → tool-ndkkv98v.js} +17 -17
  188. package/dist/chunks/{command-na13574c.js → tool-np60s0wh.js} +26 -26
  189. package/dist/chunks/{command-dqrbwv0a.js → tool-ntecsb7f.js} +40 -40
  190. package/dist/chunks/{command-n1dcq2q6.js → tool-nxgc2w5h.js} +4 -4
  191. package/dist/chunks/{command-fxaymqdw.js → tool-ny8edt06.js} +4 -4
  192. package/dist/chunks/{command-nz56sr1f.js → tool-nz56sr1f.js} +2 -2
  193. package/dist/chunks/{command-jjcahp0d.js → tool-p14k59zn.js} +10 -10
  194. package/dist/chunks/tool-p2h6zvwc.js +18 -0
  195. package/dist/chunks/{command-9h6sayvh.js → tool-p3p03tan.js} +24 -24
  196. package/dist/chunks/tool-p5pn22a9.js +257 -0
  197. package/dist/chunks/{command-dh62xe4r.js → tool-pc1v25hk.js} +3 -3
  198. package/dist/chunks/{command-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{command-pknna89w.js → tool-pknna89w.js} +1 -1
  200. package/dist/chunks/{command-ratrq7cm.js → tool-qa3qhgw8.js} +4 -4
  201. package/dist/chunks/{command-wbsnpf72.js → tool-qg775g37.js} +48 -48
  202. package/dist/chunks/{command-drwq78ky.js → tool-qqeeq2t9.js} +7 -7
  203. package/dist/chunks/{command-qsdy395h.js → tool-qsdy395h.js} +1 -1
  204. package/dist/chunks/{command-97kmb959.js → tool-qvyxvxya.js} +33 -33
  205. package/dist/chunks/{command-32ca7668.js → tool-r4apxbbe.js} +18 -18
  206. package/dist/chunks/{command-283cyrsj.js → tool-rdfnpc7e.js} +1 -1
  207. package/dist/chunks/{command-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{command-0javqkgf.js → tool-rm4mkcw0.js} +9 -9
  209. package/dist/chunks/{command-83dfmwhh.js → tool-rp9an6k1.js} +24 -24
  210. package/dist/chunks/{command-mez53n4j.js → tool-rq2y2j0k.js} +13 -13
  211. package/dist/chunks/{command-8br0tfcm.js → tool-rs666mm1.js} +4 -4
  212. package/dist/chunks/{command-ejrgmtaq.js → tool-rscvxc63.js} +13 -13
  213. package/dist/chunks/{command-kt3b3w9s.js → tool-s14qqts9.js} +18 -18
  214. package/dist/chunks/{command-qd788sr8.js → tool-sfjj6pfb.js} +34 -34
  215. package/dist/chunks/{command-3vvdcvz1.js → tool-sgtpgegc.js} +30 -30
  216. package/dist/chunks/{command-t7e2bcer.js → tool-sjq3h641.js} +43 -43
  217. package/dist/chunks/{command-v9txjfgp.js → tool-skpzryv2.js} +12 -12
  218. package/dist/chunks/{command-syv4x271.js → tool-syv4x271.js} +1 -1
  219. package/dist/chunks/{command-t550f9t1.js → tool-t550f9t1.js} +1 -1
  220. package/dist/chunks/{command-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{command-z5bz21w3.js → tool-tbhbbw5y.js} +70 -70
  222. package/dist/chunks/{command-s5fqv55p.js → tool-tbv8yktb.js} +14 -14
  223. package/dist/chunks/{command-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  224. package/dist/chunks/{command-tdstcens.js → tool-tdstcens.js} +1 -1
  225. package/dist/chunks/{command-dcncen4d.js → tool-tec24ygv.js} +16 -16
  226. package/dist/chunks/{command-58qhexmz.js → tool-tewdvev1.js} +21 -21
  227. package/dist/chunks/{command-cevbxveq.js → tool-tfbr2nq1.js} +3 -3
  228. package/dist/chunks/{command-z0aj456m.js → tool-tjedn1bk.js} +4 -4
  229. package/dist/chunks/{command-bxqk5pf5.js → tool-tk1z8rcs.js} +9 -9
  230. package/dist/chunks/{command-ect4475a.js → tool-tx895r66.js} +18 -18
  231. package/dist/chunks/{command-tyytaxap.js → tool-tyytaxap.js} +1 -1
  232. package/dist/chunks/{command-e39nsbtg.js → tool-tz96d8h6.js} +9 -9
  233. package/dist/chunks/{command-z9d3cvam.js → tool-v28f4abg.js} +2 -2
  234. package/dist/chunks/{command-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  235. package/dist/chunks/{command-9vgsddc0.js → tool-vbj0m456.js} +5 -5
  236. package/dist/chunks/{command-veqvce7d.js → tool-veqvce7d.js} +1 -1
  237. package/dist/chunks/{command-jpjpmxdq.js → tool-vfm45d2v.js} +5 -5
  238. package/dist/chunks/{command-bqzx1cnv.js → tool-vj682sbm.js} +2 -2
  239. package/dist/chunks/{command-z9h9mhtp.js → tool-vmamyk2k.js} +17 -17
  240. package/dist/chunks/{command-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  241. package/dist/chunks/{command-95mrps0w.js → tool-w174qar2.js} +13 -13
  242. package/dist/chunks/{command-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{command-x0mpvren.js → tool-w492d1p5.js} +18 -18
  244. package/dist/chunks/{command-r54ry9rd.js → tool-w5pf37nm.js} +26 -26
  245. package/dist/chunks/{command-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
  246. package/dist/chunks/{command-ck6mh85g.js → tool-wb3hegf8.js} +16 -16
  247. package/dist/chunks/{command-nbbt34nq.js → tool-wbrx293h.js} +5 -5
  248. package/dist/chunks/{command-wd87259q.js → tool-wd87259q.js} +1 -1
  249. package/dist/chunks/{command-zdzmwh5k.js → tool-wjv6dtxz.js} +4 -4
  250. package/dist/chunks/{command-3wyzm26w.js → tool-wk61yqzs.js} +42 -42
  251. package/dist/chunks/{command-emyrjxnr.js → tool-wkrva1pr.js} +13 -13
  252. package/dist/chunks/{command-v0g0brx6.js → tool-wkrz5chy.js} +41 -41
  253. package/dist/chunks/{command-h1k4kx5h.js → tool-wn6r8baz.js} +11 -11
  254. package/dist/chunks/{command-6n0t37d6.js → tool-wsd2y1yv.js} +21 -21
  255. package/dist/chunks/{command-k9yvbbgh.js → tool-wtd34zkk.js} +7 -7
  256. package/dist/chunks/{command-jm03v3tw.js → tool-wy8rpyz3.js} +6 -6
  257. package/dist/chunks/{command-tk1wxqb9.js → tool-x030sm2p.js} +32 -32
  258. package/dist/chunks/{command-xsxxgc5h.js → tool-x13hnj69.js} +26 -26
  259. package/dist/chunks/{command-g8qdqr0p.js → tool-x36bd8da.js} +32 -32
  260. package/dist/chunks/{command-qcmbay3g.js → tool-x6etvh7w.js} +20 -20
  261. package/dist/chunks/{command-nt51sm0f.js → tool-xdzd716q.js} +5 -5
  262. package/dist/chunks/{command-e9zd77c1.js → tool-xzsd65cy.js} +20 -20
  263. package/dist/chunks/{command-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{command-jad02azz.js → tool-y51c8cm2.js} +177 -177
  265. package/dist/chunks/{command-n6mnjzyz.js → tool-y5r47bzr.js} +7 -7
  266. package/dist/chunks/{command-dpkg50ah.js → tool-y71avatq.js} +4 -4
  267. package/dist/chunks/{command-jg57jh00.js → tool-y9mdcbbm.js} +13 -13
  268. package/dist/chunks/{command-j7aq1t3e.js → tool-y9s9xvs6.js} +8 -8
  269. package/dist/chunks/{command-asnmz69s.js → tool-yc3qf5z0.js} +9 -9
  270. package/dist/chunks/{command-sr1qwj5a.js → tool-yja0x3kv.js} +330 -330
  271. package/dist/chunks/{command-y99cwb6p.js → tool-ymwgex1k.js} +20 -20
  272. package/dist/chunks/{command-ayyhc25y.js → tool-yvf18s5x.js} +12 -12
  273. package/dist/chunks/{command-4rsh6n8g.js → tool-yvz6gv03.js} +12 -12
  274. package/dist/chunks/{command-xyr4e3r8.js → tool-ywwdv83n.js} +15 -15
  275. package/dist/chunks/{command-wpm2rk0p.js → tool-yx0rmv9r.js} +4 -4
  276. package/dist/chunks/{command-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{command-z18fegx4.js → tool-z18fegx4.js} +1 -1
  278. package/dist/chunks/{command-wsphkq72.js → tool-z6sgjvvh.js} +10 -10
  279. package/dist/chunks/{command-w8wm14nc.js → tool-z7nbrbpb.js} +9 -9
  280. package/dist/chunks/{command-8rs56nfj.js → tool-zag9qx83.js} +24 -24
  281. package/dist/chunks/{command-9r15s34d.js → tool-zdwe30dy.js} +6 -6
  282. package/dist/chunks/{command-qby9dwvd.js → tool-ze75yzft.js} +8 -8
  283. package/dist/chunks/{command-et0erakc.js → tool-zfgqkgc5.js} +4 -4
  284. package/dist/chunks/{command-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{command-as1q5j0q.js → tool-zwgthjzd.js} +13 -13
  286. package/dist/chunks/{command-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{command-1m2v2j5e.js → tool-zyg44wv6.js} +10 -10
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +117 -117
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +83 -83
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +100 -100
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +111 -111
  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 +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  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 +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +225 -225
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +126 -126
  585. package/dist/session/generate.js +164 -164
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +87 -87
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +163 -163
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +215 -215
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +7 -7
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +116 -116
  633. package/dist/snapshot.js +91 -91
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -137
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +122 -122
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +217 -217
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +113 -113
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/session/model-request.d.ts +1 -1
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  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 +7 -7
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +1 -1
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +82 -82
  678. package/dist/websearch.js +84 -84
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +81 -81
  681. package/dist/workspace/driver.js +3 -3
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +82 -82
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +98 -98
  689. package/package.json +8 -8
  690. package/dist/chunks/command-06zctecw.js +0 -257
  691. package/dist/chunks/command-kj2kg6z0.js +0 -26
  692. package/dist/chunks/command-phz3h32g.js +0 -18
  693. /package/dist/chunks/{command-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{command-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{command-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{command-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{command-24dcb14g.js → tool-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{command-2710q6r3.js → tool-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{command-2bv980vf.js → tool-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{command-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{command-359p4xyc.js → tool-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{command-3asan66x.js → tool-3asan66x.js} +0 -0
  703. /package/dist/chunks/{command-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  704. /package/dist/chunks/{command-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{command-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{command-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{command-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{command-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{command-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{command-53557ph1.js → tool-53557ph1.js} +0 -0
  711. /package/dist/chunks/{command-550bvhaj.js → tool-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{command-5fjb7ams.js → tool-5fjb7ams.js} +0 -0
  713. /package/dist/chunks/{command-6prwharc.js → tool-6prwharc.js} +0 -0
  714. /package/dist/chunks/{command-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{command-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{command-7m9af43g.js → tool-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{command-822emrt2.js → tool-822emrt2.js} +0 -0
  718. /package/dist/chunks/{command-84wd9syh.js → tool-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{command-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{command-8n3pysct.js → tool-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{command-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{command-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{command-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{command-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{command-af5trqkr.js → tool-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{command-afrmfg78.js → tool-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{command-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{command-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{command-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{command-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{command-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{command-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{command-d9fn303g.js → tool-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{command-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{command-dajrwvna.js → tool-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{command-dap0rakb.js → tool-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{command-df08tz66.js → tool-df08tz66.js} +0 -0
  738. /package/dist/chunks/{command-dy18nga0.js → tool-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{command-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{command-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{command-ec1grn59.js → tool-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{command-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{command-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{command-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{command-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{command-faypxj3z.js → tool-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{command-fd410y7t.js → tool-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{command-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{command-g86h250q.js → tool-g86h250q.js} +0 -0
  750. /package/dist/chunks/{command-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{command-gftt206x.js → tool-gftt206x.js} +0 -0
  752. /package/dist/chunks/{command-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{command-hk9envan.js → tool-hk9envan.js} +0 -0
  754. /package/dist/chunks/{command-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{command-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{command-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{command-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{command-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{command-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{command-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{command-m18g726c.js → tool-m18g726c.js} +0 -0
  762. /package/dist/chunks/{command-mp448xyj.js → tool-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{command-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{command-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{command-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{command-njntx4h6.js → tool-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{command-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{command-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{command-q74kybfr.js → tool-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{command-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{command-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{command-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{command-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{command-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{command-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{command-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{command-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{command-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{command-w803qqfp.js → tool-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{command-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{command-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{command-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{command-wtztk69x.js → tool-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{command-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{command-x61499pn.js → tool-x61499pn.js} +0 -0
  786. /package/dist/chunks/{command-y44na4kk.js → tool-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{command-y8f7s663.js → tool-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{command-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{command-ym463w8f.js → tool-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{command-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{command-z9919s4g.js → tool-z9919s4g.js} +0 -0
package/dist/bus.js CHANGED
@@ -10,77 +10,77 @@ import {
10
10
  configured12,
11
11
  node89,
12
12
  exports_bus
13
- } from "./chunks/command-n1dcq2q6.js";
14
- import"./chunks/command-2710q6r3.js";
15
- import"./chunks/command-cevbxveq.js";
16
- import"./chunks/command-4bzs8rv8.js";
17
- import"./chunks/command-ge44mx5n.js";
18
- import"./chunks/command-q3sfg36h.js";
19
- import"./chunks/command-8n3pysct.js";
20
- import"./chunks/command-sdp7kfr6.js";
21
- import"./chunks/command-jzg6c2d5.js";
22
- import"./chunks/command-ygaqb7jw.js";
23
- import"./chunks/command-atq7p7m5.js";
24
- import"./chunks/command-y8f7s663.js";
25
- import"./chunks/command-w803qqfp.js";
26
- import"./chunks/command-mp448xyj.js";
27
- import"./chunks/command-jr7sbwjy.js";
28
- import"./chunks/command-q74kybfr.js";
29
- import"./chunks/command-df08tz66.js";
30
- import"./chunks/command-qrg20bc0.js";
31
- import"./chunks/command-msx8hqn2.js";
32
- import"./chunks/command-g86h250q.js";
33
- import"./chunks/command-hk9envan.js";
34
- import"./chunks/command-wer8tq1h.js";
35
- import"./chunks/command-ssg3fenm.js";
36
- import"./chunks/command-njntx4h6.js";
37
- import"./chunks/command-9a4afbnw.js";
38
- import"./chunks/command-8wj87zfr.js";
39
- import"./chunks/command-bmr6ed5q.js";
40
- import"./chunks/command-359p4xyc.js";
41
- import"./chunks/command-d9fn303g.js";
42
- import"./chunks/command-43n2bw4t.js";
43
- import"./chunks/command-4knz6hnm.js";
44
- import"./chunks/command-n3j8tn72.js";
45
- import"./chunks/command-wtztk69x.js";
46
- import"./chunks/command-m18g726c.js";
47
- import"./chunks/command-bkyjaxrp.js";
48
- import"./chunks/command-53557ph1.js";
49
- import"./chunks/command-n05xt0ee.js";
50
- import"./chunks/command-cvy3z8tj.js";
51
- import"./chunks/command-z9919s4g.js";
52
- import"./chunks/command-aqzs7mqg.js";
53
- import"./chunks/command-2c3vjs8z.js";
54
- import"./chunks/command-rcb2kzg1.js";
55
- import"./chunks/command-17cy0kzp.js";
56
- import"./chunks/command-1cnp2v09.js";
57
- import"./chunks/command-fd410y7t.js";
58
- import"./chunks/command-7akdwqpd.js";
59
- import"./chunks/command-7m9af43g.js";
60
- import"./chunks/command-84wd9syh.js";
61
- import"./chunks/command-j2ntwpah.js";
62
- import"./chunks/command-f6n9ztr4.js";
63
- import"./chunks/command-a6k6eb26.js";
64
- import"./chunks/command-d9jj8t3e.js";
65
- import"./chunks/command-e5kj55wp.js";
66
- import"./chunks/command-jwfs4k6c.js";
67
- import"./chunks/command-qb87gjwd.js";
68
- import"./chunks/command-0zkw76rk.js";
69
- import"./chunks/command-mgwe8qfe.js";
70
- import"./chunks/command-16swm0z2.js";
71
- import"./chunks/command-283cyrsj.js";
72
- import"./chunks/command-bqzx1cnv.js";
73
- import"./chunks/command-chpbykcw.js";
74
- import"./chunks/command-cf4snx6d.js";
75
- import"./chunks/command-m9w0rfyh.js";
76
- import"./chunks/command-7bmhse3q.js";
77
- import"./chunks/command-w3wsvvr9.js";
78
- import"./chunks/command-f0mxakyp.js";
79
- import"./chunks/command-822emrt2.js";
80
- import"./chunks/command-wd87259q.js";
81
- import"./chunks/command-emrn6kk6.js";
82
- import"./chunks/command-pkyv6v7h.js";
83
- import"./chunks/command-dpkg50ah.js";
13
+ } from "./chunks/tool-nxgc2w5h.js";
14
+ import"./chunks/tool-2710q6r3.js";
15
+ import"./chunks/tool-y71avatq.js";
16
+ import"./chunks/tool-tfbr2nq1.js";
17
+ import"./chunks/tool-0zkw76rk.js";
18
+ import"./chunks/tool-8ptwh2sj.js";
19
+ import"./chunks/tool-jmqp76t3.js";
20
+ import"./chunks/tool-rdfnpc7e.js";
21
+ import"./chunks/tool-vj682sbm.js";
22
+ import"./chunks/tool-h4dbkbzh.js";
23
+ import"./chunks/tool-f0mxakyp.js";
24
+ import"./chunks/tool-m9w0rfyh.js";
25
+ import"./chunks/tool-7bmhse3q.js";
26
+ import"./chunks/tool-822emrt2.js";
27
+ import"./chunks/tool-w3wsvvr9.js";
28
+ import"./chunks/tool-cf4snx6d.js";
29
+ import"./chunks/tool-wd87259q.js";
30
+ import"./chunks/tool-emrn6kk6.js";
31
+ import"./chunks/tool-0pdt8dbx.js";
32
+ import"./chunks/tool-pkyv6v7h.js";
33
+ import"./chunks/tool-7dqsqf20.js";
34
+ import"./chunks/tool-y8f7s663.js";
35
+ import"./chunks/tool-2c3vjs8z.js";
36
+ import"./chunks/tool-bmr6ed5q.js";
37
+ import"./chunks/tool-53557ph1.js";
38
+ import"./chunks/tool-qb87gjwd.js";
39
+ import"./chunks/tool-j2ntwpah.js";
40
+ import"./chunks/tool-7akdwqpd.js";
41
+ import"./chunks/tool-jr7sbwjy.js";
42
+ import"./chunks/tool-njntx4h6.js";
43
+ import"./chunks/tool-jzg6c2d5.js";
44
+ import"./chunks/tool-359p4xyc.js";
45
+ import"./chunks/tool-ygaqb7jw.js";
46
+ import"./chunks/tool-jwfs4k6c.js";
47
+ import"./chunks/tool-q3sfg36h.js";
48
+ import"./chunks/tool-17cy0kzp.js";
49
+ import"./chunks/tool-4knz6hnm.js";
50
+ import"./chunks/tool-df08tz66.js";
51
+ import"./chunks/tool-fd410y7t.js";
52
+ import"./chunks/tool-n05xt0ee.js";
53
+ import"./chunks/tool-wtztk69x.js";
54
+ import"./chunks/tool-cvy3z8tj.js";
55
+ import"./chunks/tool-e5kj55wp.js";
56
+ import"./chunks/tool-sdp7kfr6.js";
57
+ import"./chunks/tool-1cnp2v09.js";
58
+ import"./chunks/tool-ssg3fenm.js";
59
+ import"./chunks/tool-43n2bw4t.js";
60
+ import"./chunks/tool-rcb2kzg1.js";
61
+ import"./chunks/tool-9a4afbnw.js";
62
+ import"./chunks/tool-hk9envan.js";
63
+ import"./chunks/tool-atq7p7m5.js";
64
+ import"./chunks/tool-7m9af43g.js";
65
+ import"./chunks/tool-8n3pysct.js";
66
+ import"./chunks/tool-f6n9ztr4.js";
67
+ import"./chunks/tool-qrg20bc0.js";
68
+ import"./chunks/tool-m18g726c.js";
69
+ import"./chunks/tool-a6k6eb26.js";
70
+ import"./chunks/tool-aqzs7mqg.js";
71
+ import"./chunks/tool-8wj87zfr.js";
72
+ import"./chunks/tool-q74kybfr.js";
73
+ import"./chunks/tool-msx8hqn2.js";
74
+ import"./chunks/tool-g86h250q.js";
75
+ import"./chunks/tool-wer8tq1h.js";
76
+ import"./chunks/tool-d9jj8t3e.js";
77
+ import"./chunks/tool-84wd9syh.js";
78
+ import"./chunks/tool-bkyjaxrp.js";
79
+ import"./chunks/tool-n3j8tn72.js";
80
+ import"./chunks/tool-w803qqfp.js";
81
+ import"./chunks/tool-d9fn303g.js";
82
+ import"./chunks/tool-mp448xyj.js";
83
+ import"./chunks/tool-z9919s4g.js";
84
84
  export {
85
85
  exports_bus as Bus,
86
86
  InvalidDurableEventError2 as InvalidDurableEventError,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./command-5fjb7ams.js";
4
+ } from "./tool-5fjb7ams.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./command-syv4x271.js";
8
+ } from "./tool-syv4x271.js";
9
9
  import {
10
10
  __export
11
- } from "./command-9rqn6x4v.js";
11
+ } from "./tool-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./command-n1dcq2q6.js";
4
+ } from "./tool-nxgc2w5h.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./command-rdw6cm16.js";
8
+ } from "./tool-rdw6cm16.js";
9
9
  import {
10
- Service81,
11
- node85
12
- } from "./command-hnmmt9bt.js";
10
+ Service82,
11
+ node86
12
+ } from "./tool-g0nc362r.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID12,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service78,
20
- node82,
19
+ Service73,
20
+ node76,
21
21
  Event17
22
- } from "./command-1e096zfv.js";
22
+ } from "./tool-a6rw3yra.js";
23
23
  import {
24
24
  __export
25
- } from "./command-9rqn6x4v.js";
25
+ } from "./tool-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -32,16 +32,16 @@ __export(exports_model2, {
32
32
  Cost: () => Cost2,
33
33
  Event: () => Event16,
34
34
  Family: () => Family2,
35
- ID: () => ID12,
36
- Info: () => Info21,
35
+ ID: () => ID11,
36
+ Info: () => Info19,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service77,
40
+ Service: () => Service72,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node81,
44
+ node: () => node75,
45
45
  parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -50,7 +50,7 @@ import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
52
  import { Event as Event16 } from "@opencode/schema/model";
53
- var ID12 = Model.ID;
53
+ var ID11 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
56
56
  var ReasoningField2 = Model.ReasoningField;
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
67
67
  };
68
68
  var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
- var Info21 = Model.Info;
70
+ var Info19 = Model.Info;
71
71
 
72
- class Service77 extends Context.Service()("@opencode/Model") {
72
+ class Service72 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service77, Effect.gen(function* () {
75
- const providers = yield* Service78;
74
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
75
+ const providers = yield* Service73;
76
76
  const bus = yield* Service85;
77
- const location = yield* Service81;
77
+ const location = yield* Service82;
78
78
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
79
79
  let input;
80
80
  const state = create3({
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
120
120
  const models = writable(providerID);
121
121
  if (!models)
122
122
  return;
123
- const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
123
+ const model = draft(providerID, modelID) ?? Info19.default(providerID, modelID);
124
124
  update(model);
125
125
  model.id = modelID;
126
126
  model.providerID = providerID;
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
189
189
  ];
190
190
  }));
191
191
  if (disableFree)
192
- for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
192
+ for (const providerID of [ID12.opencode, ID12.make("opencode-go")])
193
193
  byProvider.get(providerID)?.forEach((model, id, models) => {
194
194
  if (!model.cost.some((cost) => cost.input > 0))
195
195
  models.delete(id);
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
217
217
  });
218
218
  });
219
219
  yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
- return Service77.of({
220
+ return Service72.of({
221
221
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
222
222
  reload,
223
223
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
236
236
  })
237
237
  });
238
238
  }));
239
- var node81 = makeLocationNode({ service: Service77, layer, deps: [node82, node89, node85] });
239
+ var node75 = makeLocationNode({ service: Service72, layer, deps: [node76, node89, node86] });
240
240
  var PREFERRED_FREE = [
241
241
  "big-pickle",
242
242
  "deepseek-v4.1-flash-free",
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
244
244
  "muse-spark-1.3-contributor-free"
245
245
  ];
246
246
  function preferFree(models) {
247
- const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
247
+ const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
248
248
  if (!freeOnly)
249
249
  return models;
250
250
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -263,9 +263,9 @@ function compatibility2(input) {
263
263
  function parse5(input) {
264
264
  const index = input.indexOf("/");
265
265
  return {
266
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
267
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
266
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
267
+ modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
268
268
  };
269
269
  }
270
270
 
271
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service77, node81, supportsText2, compatibility2, parse5, exports_model2, Event16 };
271
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service72, node75, supportsText2, compatibility2, parse5, exports_model2, Event16 };
@@ -1,10 +1,10 @@
1
- import {
2
- ID14,
3
- Service79,
4
- node83
5
- } from "./command-9h6sayvh.js";
6
1
  import {
7
2
  ID13,
3
+ Service74,
4
+ node77
5
+ } from "./tool-p3p03tan.js";
6
+ import {
7
+ ID12,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service78,
19
- node82
20
- } from "./command-1e096zfv.js";
18
+ Service73,
19
+ node76
20
+ } from "./tool-a6rw3yra.js";
21
21
  import {
22
- Service60,
23
- node63
24
- } from "./command-ayyhc25y.js";
22
+ Service71,
23
+ node74
24
+ } from "./tool-yvf18s5x.js";
25
25
  import {
26
- ID12,
26
+ ID11,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service77,
30
- node81,
29
+ Service72,
30
+ node75,
31
31
  supportsText2
32
- } from "./command-cf25jgjj.js";
32
+ } from "./tool-04cnhvec.js";
33
33
  import {
34
34
  __export
35
- } from "./command-9rqn6x4v.js";
35
+ } from "./tool-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service59,
44
+ Service: () => Service70,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer25,
52
- node: () => node62,
51
+ layer: () => layer27,
52
+ node: () => node73,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID13,
63
- modelID: ID12,
62
+ providerID: ID12,
63
+ modelID: ID11,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID13,
73
- modelID: ID12,
72
+ providerID: ID12,
73
+ modelID: ID11,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID13,
84
- modelID: ID12,
83
+ providerID: ID12,
84
+ modelID: ID11,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID13,
95
- modelID: ID12,
94
+ providerID: ID12,
95
+ modelID: ID11,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID13,
107
- modelID: ID12,
106
+ providerID: ID12,
107
+ modelID: ID11,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID13,
117
- modelID: ID12,
116
+ providerID: ID12,
117
+ modelID: ID11,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service59 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service70 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
234
234
  return tokenSettings(specifier, credential.access);
235
235
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
236
236
  return { auth: "sigv4" };
237
- if (model.providerID === ID13.azure)
237
+ if (model.providerID === ID12.azure)
238
238
  return tokenSettings(specifier, "azure-cli");
239
239
  return {};
240
240
  };
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
269
269
  };
270
270
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
271
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer25 = Layer.effect(Service59, Effect.gen(function* () {
273
- const providers = yield* Service78;
274
- const models = yield* Service77;
275
- const integrations = yield* Service79;
272
+ var layer27 = Layer.effect(Service70, Effect.gen(function* () {
273
+ const providers = yield* Service73;
274
+ const models = yield* Service72;
275
+ const integrations = yield* Service74;
276
276
  const npm = yield* Npm.Service;
277
- const aisdk = yield* Service60;
277
+ const aisdk = yield* Service71;
278
278
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
279
279
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
280
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
281
281
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
282
  const selectedVariant = yield* withVariant2(selected, variant);
283
283
  const runtimeInfo = {
@@ -304,7 +304,7 @@ var layer25 = Layer.effect(Service59, Effect.gen(function* () {
304
304
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
305
305
  };
306
306
  });
307
- return Service59.of({
307
+ return Service70.of({
308
308
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
309
309
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
310
310
  if (!selected)
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
321
321
  const name = packageName2(packageName);
322
322
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
323
323
  }
324
- var node62 = makeLocationNode({
325
- service: Service59,
326
- layer: layer25,
327
- deps: [node82, node81, node83, Npm.node, node63]
324
+ var node73 = makeLocationNode({
325
+ service: Service70,
326
+ layer: layer27,
327
+ deps: [node76, node75, node77, Npm.node, node74]
328
328
  });
329
329
 
330
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer25, node62, exports_model_resolver };
330
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service70, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer27, node73, exports_model_resolver };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./command-n1dcq2q6.js";
5
+ } from "./tool-nxgc2w5h.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make19,
11
11
  diffByKey2
12
- } from "./command-t550f9t1.js";
12
+ } from "./tool-t550f9t1.js";
13
13
  import {
14
14
  create3
15
- } from "./command-rdw6cm16.js";
15
+ } from "./tool-rdw6cm16.js";
16
16
  import {
17
17
  __export
18
- } from "./command-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event8,
23
+ Event: () => Event7,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options5,
27
- Service: () => Service43,
28
- configured: () => configured5,
29
- layer: () => layer19,
30
- node: () => node46
26
+ Options: () => Options4,
27
+ Service: () => Service37,
28
+ configured: () => configured4,
29
+ layer: () => layer17,
30
+ node: () => node40
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,17 +39,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key3.make("core/instructions");
42
- var Event8 = {
42
+ var Event7 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options5 = Schema.Struct({
45
+ var Options4 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service37 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
52
+ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
53
53
  const bus = yield* Service85;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -69,7 +69,7 @@ var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
74
  const source = (value) => make19({
75
75
  key,
@@ -87,7 +87,7 @@ var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service43.of({
90
+ return Service37.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured5(options) {
104
+ function configured4(options) {
105
105
  return makeLocationNode({
106
- service: Service43,
107
- layer: layer19(options),
106
+ service: Service37,
107
+ layer: layer17(options),
108
108
  deps: [node89]
109
109
  });
110
110
  }
111
- var node46 = configured5();
111
+ var node40 = configured4();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event8, Options5, Service43, layer19, configured5, node46, exports_instruction_discovery };
142
+ export { File2, Event7, Options4, Service37, layer17, configured4, node40, exports_instruction_discovery };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./command-ge44mx5n.js";
3
+ } from "./tool-7dqsqf20.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./command-pkyv6v7h.js";
6
+ } from "./tool-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};