@opencode/core 0.0.0-dev-19368 → 0.0.0-dev-19369

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{instance-ebhk0gzw.js → tool-00gnxv30.js} +9 -9
  9. package/dist/chunks/{instance-n9vjy7vk.js → tool-01797ny4.js} +12 -12
  10. package/dist/chunks/{instance-gsqa3fkf.js → tool-08xgehk5.js} +4 -4
  11. package/dist/chunks/{instance-kpvyk30t.js → tool-0996nyz8.js} +9 -9
  12. package/dist/chunks/{instance-0hpxrkyb.js → tool-0hpxrkyb.js} +2 -2
  13. package/dist/chunks/{instance-e8t7n0n4.js → tool-0msc39tg.js} +6 -6
  14. package/dist/chunks/{instance-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{instance-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{instance-frf5pa85.js → tool-0xf6t1bc.js} +21 -21
  17. package/dist/chunks/{instance-bgwz9jn7.js → tool-0z93v4jy.js} +14 -14
  18. package/dist/chunks/{instance-adxneatt.js → tool-100kzw8g.js} +39 -39
  19. package/dist/chunks/{instance-91kzfy2j.js → tool-13tvcsgk.js} +11 -11
  20. package/dist/chunks/{instance-66m6ryhw.js → tool-1c2q116c.js} +22 -22
  21. package/dist/chunks/{instance-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{instance-kvx3xm55.js → tool-1famk9p6.js} +15 -15
  23. package/dist/chunks/{instance-840zxbq2.js → tool-1hgt76pw.js} +18 -18
  24. package/dist/chunks/{instance-w3q19cma.js → tool-1jwdep4c.js} +9 -9
  25. package/dist/chunks/{instance-cgw5255p.js → tool-1kh06mg4.js} +5 -5
  26. package/dist/chunks/{instance-21r38tys.js → tool-21r38tys.js} +1 -1
  27. package/dist/chunks/{instance-w1k39n5e.js → tool-22m95qs7.js} +4 -4
  28. package/dist/chunks/{instance-6h73sxmp.js → tool-2402vzrj.js} +5 -5
  29. package/dist/chunks/{instance-z63w68vq.js → tool-29x78va6.js} +6 -6
  30. package/dist/chunks/{instance-2a4f6v5q.js → tool-2a4f6v5q.js} +2 -2
  31. package/dist/chunks/{instance-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{instance-b1x7x3xx.js → tool-2aqbs40b.js} +11 -11
  33. package/dist/chunks/{instance-w57fgss2.js → tool-2ft9rrby.js} +4 -4
  34. package/dist/chunks/{instance-kv861fwr.js → tool-2gm42vdj.js} +13 -13
  35. package/dist/chunks/{instance-7dqw4kz8.js → tool-2k8khapm.js} +5 -5
  36. package/dist/chunks/{instance-a9ab9jmj.js → tool-2mnagb0e.js} +5 -5
  37. package/dist/chunks/{instance-n8yjw666.js → tool-2zk4ah9y.js} +9 -9
  38. package/dist/chunks/{instance-5xzd26eb.js → tool-31v57ene.js} +32 -32
  39. package/dist/chunks/{instance-mdrt31wt.js → tool-32xz9ffh.js} +11 -11
  40. package/dist/chunks/{instance-6j6s7zvs.js → tool-39etbsth.js} +2 -2
  41. package/dist/chunks/{instance-zqz4jdp2.js → tool-3a9e8ct5.js} +10 -10
  42. package/dist/chunks/{instance-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{instance-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{instance-rfgz8p3a.js → tool-3r6vp6xx.js} +10 -10
  45. package/dist/chunks/{instance-dhhafstk.js → tool-3r7whzgv.js} +7 -7
  46. package/dist/chunks/{instance-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{instance-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{instance-5qvyv5vg.js → tool-3zb9t6gq.js} +34 -34
  49. package/dist/chunks/{instance-5k2c2spf.js → tool-41e240wd.js} +11 -11
  50. package/dist/chunks/{instance-6y292xw6.js → tool-45zx1ce8.js} +24 -24
  51. package/dist/chunks/{instance-02zskd6f.js → tool-49hrpkdk.js} +4 -4
  52. package/dist/chunks/{instance-00btbdax.js → tool-4faz70f1.js} +53 -53
  53. package/dist/chunks/{instance-g2rrghcj.js → tool-4hnvk1d0.js} +17 -17
  54. package/dist/chunks/{instance-xbv5m7mc.js → tool-4jad23kz.js} +20 -20
  55. package/dist/chunks/{instance-2zmvsqxc.js → tool-4rggjvr2.js} +4 -4
  56. package/dist/chunks/{instance-9eve8eyk.js → tool-50kt3f8y.js} +4 -4
  57. package/dist/chunks/{instance-8jndy7jd.js → tool-50wkfpjr.js} +24 -24
  58. package/dist/chunks/{instance-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
  59. package/dist/chunks/{instance-d3apn3qh.js → tool-5aa4zf44.js} +25 -25
  60. package/dist/chunks/{instance-ercs2zy5.js → tool-5bnvv0fb.js} +25 -17
  61. package/dist/chunks/{instance-5c4hm403.js → tool-5c4hm403.js} +3 -3
  62. package/dist/chunks/{instance-5daktx2q.js → tool-5daktx2q.js} +1 -1
  63. package/dist/chunks/{instance-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{instance-tvmd4yt8.js → tool-622ah2gs.js} +26 -26
  65. package/dist/chunks/{instance-dp9wb4n0.js → tool-62gm3akr.js} +11 -11
  66. package/dist/chunks/{instance-5mvd7r80.js → tool-632pkhjb.js} +39 -39
  67. package/dist/chunks/{instance-9a6pd9wk.js → tool-638f9gty.js} +26 -26
  68. package/dist/chunks/{instance-669tq793.js → tool-669tq793.js} +1 -1
  69. package/dist/chunks/{instance-6an8es06.js → tool-6f5kdbjb.js} +30 -30
  70. package/dist/chunks/{instance-px7qcgj8.js → tool-6fyrr4w1.js} +4 -4
  71. package/dist/chunks/tool-6kdq0pjd.js +4 -0
  72. package/dist/chunks/{instance-dc76j9wz.js → tool-6m8y77r5.js} +8 -8
  73. package/dist/chunks/{instance-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{instance-fh1cj0jq.js → tool-6ppc03cv.js} +6 -6
  75. package/dist/chunks/{instance-25nmx83g.js → tool-6y4tgg16.js} +31 -31
  76. package/dist/chunks/{instance-71q4at8m.js → tool-71q4at8m.js} +1 -1
  77. package/dist/chunks/{instance-ty2jx0g0.js → tool-72cm32h1.js} +3 -3
  78. package/dist/chunks/{instance-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{instance-0ft9cg2j.js → tool-7ebn0nc0.js} +6 -6
  80. package/dist/chunks/{instance-ffx4mq6v.js → tool-7f3sjtrh.js} +1 -1
  81. package/dist/chunks/{instance-bx4qmb9g.js → tool-7gvwkz6m.js} +5 -5
  82. package/dist/chunks/{instance-8g55vyxc.js → tool-7j9rtswg.js} +6 -6
  83. package/dist/chunks/{instance-0trb1k4k.js → tool-7k1k30bt.js} +1 -1
  84. package/dist/chunks/{instance-hnmyxa6k.js → tool-7rzn7488.js} +37 -37
  85. package/dist/chunks/{instance-awbdwcvp.js → tool-81swgkk7.js} +2 -2
  86. package/dist/chunks/{instance-hvkz51ym.js → tool-83n1dzne.js} +29 -29
  87. package/dist/chunks/{instance-7qp9dbwx.js → tool-859kcgs2.js} +3 -3
  88. package/dist/chunks/{instance-7nvervjk.js → tool-89h3bp38.js} +20 -20
  89. package/dist/chunks/{instance-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{instance-cq9vh2fv.js → tool-8t1wrec1.js} +8 -8
  91. package/dist/chunks/{instance-7dg8pccb.js → tool-8xv0fcmg.js} +26 -26
  92. package/dist/chunks/{instance-rfnzy394.js → tool-8ypn74s0.js} +1 -1
  93. package/dist/chunks/{instance-km7jpebh.js → tool-910hnegs.js} +24 -24
  94. package/dist/chunks/{instance-h25mgkm2.js → tool-937nxygj.js} +8 -8
  95. package/dist/chunks/{instance-fagd81np.js → tool-99exew75.js} +43 -43
  96. package/dist/chunks/{instance-84vd1cs0.js → tool-9aqmr64f.js} +3 -3
  97. package/dist/chunks/{instance-bw29kp7d.js → tool-9hv8phah.js} +16 -16
  98. package/dist/chunks/{instance-4n7anxvp.js → tool-a1pcbmkx.js} +14 -14
  99. package/dist/chunks/{instance-1g7epwpd.js → tool-a46v4e4v.js} +7 -7
  100. package/dist/chunks/{instance-aaet6srn.js → tool-aaet6srn.js} +2 -2
  101. package/dist/chunks/{instance-4xbskmpe.js → tool-ag9w8cw1.js} +5 -5
  102. package/dist/chunks/{instance-rffakc6t.js → tool-amegs12p.js} +9 -9
  103. package/dist/chunks/{instance-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{instance-m3q4xbmf.js → tool-bgmt3wra.js} +25 -25
  105. package/dist/chunks/{instance-vzrz8rh7.js → tool-bnweey00.js} +4 -4
  106. package/dist/chunks/{instance-a1jbw6wk.js → tool-br0bxb5z.js} +3 -3
  107. package/dist/chunks/{instance-bv56xrks.js → tool-bv56xrks.js} +2 -2
  108. package/dist/chunks/{instance-d01awfpe.js → tool-c3er4f98.js} +15 -15
  109. package/dist/chunks/{instance-5h7k74mc.js → tool-c4ypf6wq.js} +18 -18
  110. package/dist/chunks/{instance-wqkncbjv.js → tool-ca9nbgzj.js} +9 -9
  111. package/dist/chunks/{instance-ytx6pywt.js → tool-ce8ketvm.js} +24 -24
  112. package/dist/chunks/{instance-hjsa270y.js → tool-cfxak8gp.js} +22 -22
  113. package/dist/chunks/{instance-q3zg87hy.js → tool-cgfvzygb.js} +16 -16
  114. package/dist/chunks/{instance-7b15y959.js → tool-cmwkp3r5.js} +8 -8
  115. package/dist/chunks/{instance-czw7y25w.js → tool-d38rwssd.js} +4 -4
  116. package/dist/chunks/{instance-4cgf21fz.js → tool-d5pcg4sb.js} +57 -57
  117. package/dist/chunks/{instance-5r5rxa4y.js → tool-d6bb4cvp.js} +12 -12
  118. package/dist/chunks/{instance-tm7zr4pr.js → tool-d8nc1xcx.js} +4 -4
  119. package/dist/chunks/{instance-v00rg87b.js → tool-d8q39vv3.js} +9 -9
  120. package/dist/chunks/{instance-p72z5xx6.js → tool-d9sn21bc.js} +2 -2
  121. package/dist/chunks/{instance-1rmngpxg.js → tool-dbnvakxz.js} +2 -2
  122. package/dist/chunks/{instance-kvw4zqcr.js → tool-dex3nr62.js} +64 -64
  123. package/dist/chunks/{instance-0cqcvrxj.js → tool-dhhdcexn.js} +19 -19
  124. package/dist/chunks/{instance-dj2t23y0.js → tool-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{instance-rqznsqxw.js → tool-dr8w6t5k.js} +8 -8
  126. package/dist/chunks/{instance-eeke5b1b.js → tool-dw8c19qb.js} +4 -4
  127. package/dist/chunks/{instance-naxreecs.js → tool-e67ygrb5.js} +20 -20
  128. package/dist/chunks/{instance-710w2ech.js → tool-e8ge1rnk.js} +1 -1
  129. package/dist/chunks/{instance-649x8vwy.js → tool-egp6178n.js} +10 -10
  130. package/dist/chunks/{instance-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{instance-rfg5pwyx.js → tool-ezs43bsy.js} +17 -17
  132. package/dist/chunks/{instance-enndethk.js → tool-f249p1w2.js} +8 -8
  133. package/dist/chunks/{instance-mm48g0z7.js → tool-f65fprkq.js} +10 -7
  134. package/dist/chunks/{instance-zv30fynd.js → tool-f9qak17s.js} +3 -3
  135. package/dist/chunks/{instance-y31b318c.js → tool-fab8hzt3.js} +4 -4
  136. package/dist/chunks/{instance-j8zzr2am.js → tool-fjvydvzm.js} +6 -6
  137. package/dist/chunks/{instance-qm29392x.js → tool-fsn1dw54.js} +5 -5
  138. package/dist/chunks/{instance-4d70nnfp.js → tool-fw7ks5z6.js} +16 -16
  139. package/dist/chunks/{instance-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{instance-8fa3dps7.js → tool-g0aj3r5p.js} +4 -4
  141. package/dist/chunks/{instance-zxgnc9zk.js → tool-g5zf0djh.js} +1 -1
  142. package/dist/chunks/{instance-m9qackvx.js → tool-g83yhva0.js} +18 -18
  143. package/dist/chunks/{instance-kqdhfbs0.js → tool-gc2r3arx.js} +80 -80
  144. package/dist/chunks/{instance-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{instance-t0x5rdq8.js → tool-gfqzzqy5.js} +9 -9
  146. package/dist/chunks/{instance-dzgqajh9.js → tool-gj7hk09m.js} +26 -26
  147. package/dist/chunks/{instance-yp8ya171.js → tool-gjsj0zqz.js} +148 -148
  148. package/dist/chunks/{instance-yyb7tjpc.js → tool-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{instance-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{instance-891xsxp1.js → tool-h1dazz20.js} +17 -17
  151. package/dist/chunks/{instance-8ccsmkea.js → tool-h30n9bbs.js} +17 -17
  152. package/dist/chunks/{instance-yaer3rya.js → tool-h47mvjjj.js} +30 -30
  153. package/dist/chunks/{instance-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{instance-hdnk95c8.js → tool-hdnk95c8.js} +2 -2
  155. package/dist/chunks/{instance-hjt4xg1x.js → tool-hjt4xg1x.js} +1 -1
  156. package/dist/chunks/{instance-2c0b9tk5.js → tool-hvcjdrj2.js} +4 -4
  157. package/dist/chunks/{instance-vpt56g2a.js → tool-hwe7x4em.js} +6 -6
  158. package/dist/chunks/{instance-j56e64zr.js → tool-j56e64zr.js} +1 -1
  159. package/dist/chunks/{instance-2f04pwep.js → tool-j7wq2tw5.js} +3 -3
  160. package/dist/chunks/{instance-paphc93g.js → tool-j935v87r.js} +2 -2
  161. package/dist/chunks/{instance-eafsmgxs.js → tool-j9eppgdd.js} +13 -13
  162. package/dist/chunks/{instance-1ajn7x1d.js → tool-j9tvrbwe.js} +22 -22
  163. package/dist/chunks/{instance-9qn3qky1.js → tool-jfpzywp2.js} +8 -8
  164. package/dist/chunks/{instance-jtw0qgy9.js → tool-jmm88pvs.js} +11 -11
  165. package/dist/chunks/{instance-vrmbk9b3.js → tool-jp8xd6mf.js} +12 -12
  166. package/dist/chunks/{instance-ejx21pzt.js → tool-jpchzm8t.js} +14 -14
  167. package/dist/chunks/{instance-bhn6nzqw.js → tool-jw7c8f1w.js} +13 -13
  168. package/dist/chunks/{instance-7hdvrc4w.js → tool-jwcaj6se.js} +22 -22
  169. package/dist/chunks/{instance-dtmjbvbn.js → tool-kf91f419.js} +14 -14
  170. package/dist/chunks/{instance-kg06axw8.js → tool-kg06axw8.js} +1 -1
  171. package/dist/chunks/{instance-snb2c079.js → tool-kk8fq19e.js} +24 -24
  172. package/dist/chunks/{instance-8tzdpj1k.js → tool-knvy7wqf.js} +20 -20
  173. package/dist/chunks/{instance-63e2pprf.js → tool-ktazsj8x.js} +9 -9
  174. package/dist/chunks/{instance-x6r00jnc.js → tool-kzx8z335.js} +49 -49
  175. package/dist/chunks/{instance-m0jqrx5p.js → tool-m0jqrx5p.js} +2 -2
  176. package/dist/chunks/{instance-efvawj0d.js → tool-m2krvp2x.js} +13 -13
  177. package/dist/chunks/{instance-a43s45q5.js → tool-m8gmjx38.js} +43 -43
  178. package/dist/chunks/{instance-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{instance-qbxb0yq0.js → tool-mfvn5m8d.js} +8 -8
  180. package/dist/chunks/{instance-mkcjrzeh.js → tool-mkcjrzeh.js} +1 -1
  181. package/dist/chunks/tool-ms6fawk6.js +247 -0
  182. package/dist/chunks/{instance-7yh4e7ss.js → tool-mvfsc1pv.js} +3 -3
  183. package/dist/chunks/{instance-19xzpcas.js → tool-myeama09.js} +41 -41
  184. package/dist/chunks/{instance-hhnemazm.js → tool-n17rpw7s.js} +11 -11
  185. package/dist/chunks/{instance-73q02ca8.js → tool-n6arc57m.js} +7 -7
  186. package/dist/chunks/{instance-e6720tr1.js → tool-n6pkm576.js} +21 -21
  187. package/dist/chunks/tool-n95b3jav.js +18 -0
  188. package/dist/chunks/{instance-5wxtjvz1.js → tool-nnxzqqg8.js} +15 -15
  189. package/dist/chunks/{instance-0aej6zys.js → tool-nqz62vb6.js} +23 -23
  190. package/dist/chunks/{instance-y6y301ds.js → tool-p514mdqe.js} +25 -25
  191. package/dist/chunks/{instance-vexpznsa.js → tool-p6604nm9.js} +8 -8
  192. package/dist/chunks/{instance-kybd2rxw.js → tool-p6rs3vpq.js} +7 -7
  193. package/dist/chunks/{instance-66x94rbx.js → tool-pc5wdgkb.js} +17 -17
  194. package/dist/chunks/{instance-knbz53vq.js → tool-pe0c0z4r.js} +18 -18
  195. package/dist/chunks/{instance-xx6xxkr7.js → tool-phwjyq2h.js} +19 -19
  196. package/dist/chunks/{instance-9tc5smpg.js → tool-pjmc1jwj.js} +23 -23
  197. package/dist/chunks/{instance-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{instance-pknna89w.js → tool-pknna89w.js} +1 -1
  199. package/dist/chunks/{instance-sw3r3x1t.js → tool-pnv527nz.js} +9 -9
  200. package/dist/chunks/{instance-8h515xwn.js → tool-pqkb2z9p.js} +15 -15
  201. package/dist/chunks/{instance-t9c17wmd.js → tool-ptq11xx0.js} +6 -6
  202. package/dist/chunks/{instance-gzqnxn46.js → tool-pwk28ted.js} +13 -13
  203. package/dist/chunks/{instance-h79vk5n1.js → tool-px9gxtsw.js} +30 -30
  204. package/dist/chunks/{instance-8qk9tw02.js → tool-q2027nw7.js} +1 -1
  205. package/dist/chunks/{instance-gbpp1m8e.js → tool-q5qadqqc.js} +4 -4
  206. package/dist/chunks/{instance-xnqtaz30.js → tool-q8rarcde.js} +22 -22
  207. package/dist/chunks/{instance-h7k619ye.js → tool-qaed280k.js} +3 -3
  208. package/dist/chunks/{instance-x0e6qwje.js → tool-qek8dtx8.js} +11 -11
  209. package/dist/chunks/{instance-yhj4pxny.js → tool-qfv804ab.js} +6 -6
  210. package/dist/chunks/{instance-nwcaskpv.js → tool-qjqdk9x8.js} +24 -24
  211. package/dist/chunks/{instance-qsdy395h.js → tool-qsdy395h.js} +1 -1
  212. package/dist/chunks/{instance-vqmr0pha.js → tool-qyyanj0n.js} +22 -22
  213. package/dist/chunks/{instance-9gqncv86.js → tool-qzkdxd86.js} +6 -6
  214. package/dist/chunks/{instance-prhmb2m0.js → tool-r1q74f54.js} +24 -24
  215. package/dist/chunks/{instance-np4m5fpj.js → tool-r86gmde5.js} +16 -16
  216. package/dist/chunks/{instance-qbsmd41d.js → tool-ra3gq1k7.js} +9 -9
  217. package/dist/chunks/{instance-d2t4e0c6.js → tool-rda0t9vq.js} +5 -5
  218. package/dist/chunks/{instance-eaj1djv9.js → tool-rhjbct0v.js} +8 -8
  219. package/dist/chunks/{instance-vnwmzs4a.js → tool-rmm45jmv.js} +5 -5
  220. package/dist/chunks/{instance-ew85ryxc.js → tool-rsv3dyxs.js} +11 -11
  221. package/dist/chunks/{instance-hqzv2zrf.js → tool-s006vazc.js} +10 -10
  222. package/dist/chunks/{instance-j3r1b2h2.js → tool-s0haq3v3.js} +18 -18
  223. package/dist/chunks/{instance-yrznvahk.js → tool-s4enseaf.js} +2 -2
  224. package/dist/chunks/{instance-c0b4e50e.js → tool-s6vet9p8.js} +6 -6
  225. package/dist/chunks/{instance-ektf7zmc.js → tool-s73q3448.js} +275 -275
  226. package/dist/chunks/{instance-f3ngv102.js → tool-s8j6jbjj.js} +21 -21
  227. package/dist/chunks/{instance-jkyr6s8g.js → tool-sj71rkrx.js} +11 -11
  228. package/dist/chunks/{instance-2a10s75x.js → tool-sq27dbnb.js} +9 -9
  229. package/dist/chunks/{instance-szn5gnby.js → tool-stbptvy9.js} +18 -18
  230. package/dist/chunks/{instance-808fjmsk.js → tool-sxnp3vqk.js} +17 -17
  231. package/dist/chunks/{instance-cjv0pc3e.js → tool-t0jgeayb.js} +11 -11
  232. package/dist/chunks/{instance-m2pqzy60.js → tool-t7yz8ad7.js} +8 -8
  233. package/dist/chunks/{instance-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{instance-taffhj1h.js → tool-tb8rp2yt.js} +24 -24
  235. package/dist/chunks/{instance-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{instance-tdstcens.js → tool-tdstcens.js} +1 -1
  237. package/dist/chunks/{instance-tvtrv512.js → tool-tvtrv512.js} +1 -1
  238. package/dist/chunks/{instance-cz5chahx.js → tool-tx1kta8e.js} +39 -39
  239. package/dist/chunks/{instance-9v3w9xbd.js → tool-v0ekqx65.js} +33 -33
  240. package/dist/chunks/{instance-j83byb14.js → tool-ve4pfa0n.js} +4 -4
  241. package/dist/chunks/{instance-veqvce7d.js → tool-veqvce7d.js} +1 -1
  242. package/dist/chunks/{instance-nq0sdxn2.js → tool-vfpkabdf.js} +10 -10
  243. package/dist/chunks/{instance-6hc7z342.js → tool-vmq7ehpy.js} +5 -5
  244. package/dist/chunks/{instance-a2rkxg63.js → tool-vmshp960.js} +24 -24
  245. package/dist/chunks/{instance-epnpy5yw.js → tool-vv3eqyfe.js} +8 -8
  246. package/dist/chunks/{instance-qez77x2d.js → tool-vycpdhb1.js} +26 -26
  247. package/dist/chunks/{instance-5z5zwjym.js → tool-vyqwgby1.js} +3 -3
  248. package/dist/chunks/{instance-j5ztw4z3.js → tool-vz6rz0af.js} +20 -20
  249. package/dist/chunks/{instance-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{instance-5q2yyvh3.js → tool-w3k36hrr.js} +3 -3
  251. package/dist/chunks/{instance-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{instance-c528srjm.js → tool-wbyq7e0t.js} +46 -46
  253. package/dist/chunks/{instance-wd87259q.js → tool-wd87259q.js} +1 -1
  254. package/dist/chunks/{instance-7z2ta81y.js → tool-wdn3ce2t.js} +11 -11
  255. package/dist/chunks/{instance-pvx4ycye.js → tool-wk58jv74.js} +3 -3
  256. package/dist/chunks/{instance-nm4299rz.js → tool-wpm2rk0p.js} +8 -8
  257. package/dist/chunks/{instance-wzq4pq7r.js → tool-ws5qfxv9.js} +9 -9
  258. package/dist/chunks/{instance-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{instance-x43y2vfs.js → tool-x43y2vfs.js} +2 -2
  260. package/dist/chunks/{instance-2wcm5qkf.js → tool-xanzpgaf.js} +24 -24
  261. package/dist/chunks/{instance-evpkjn8p.js → tool-xdepe7a5.js} +10 -10
  262. package/dist/chunks/{instance-7vc9j9wm.js → tool-xnap109e.js} +15 -15
  263. package/dist/chunks/{instance-x5tfqtqr.js → tool-xt6vqbst.js} +30 -30
  264. package/dist/chunks/{instance-h6cfxbqt.js → tool-xz0aj5bv.js} +34 -34
  265. package/dist/chunks/{instance-3440z6ev.js → tool-y0qtjk0t.js} +11 -11
  266. package/dist/chunks/{instance-zabjaqgp.js → tool-y0wsg1r3.js} +7 -7
  267. package/dist/chunks/{instance-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{instance-5v5531ga.js → tool-y4xwrefb.js} +25 -25
  269. package/dist/chunks/{instance-y71avatq.js → tool-y71avatq.js} +1 -1
  270. package/dist/chunks/{instance-gra1ppky.js → tool-yc73ry1q.js} +6 -6
  271. package/dist/chunks/{instance-r8xr0va3.js → tool-yp2x3t23.js} +4 -4
  272. package/dist/chunks/{instance-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{instance-9587dzg1.js → tool-ysd4x4y5.js} +25 -25
  274. package/dist/chunks/{instance-qdfk511a.js → tool-yvy73jwh.js} +15 -15
  275. package/dist/chunks/{instance-p0cja4mf.js → tool-ywhnyrnh.js} +5 -5
  276. package/dist/chunks/{instance-bq373rw2.js → tool-yxz14c3m.js} +39 -39
  277. package/dist/chunks/{instance-f5dy0vak.js → tool-yyxs5174.js} +9 -9
  278. package/dist/chunks/{instance-h3ps68as.js → tool-z03197zf.js} +38 -38
  279. package/dist/chunks/{instance-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{instance-s7xtjryh.js → tool-z1pfg6df.js} +1 -1
  281. package/dist/chunks/{instance-tzh4n3sb.js → tool-z9x25qgp.js} +16 -16
  282. package/dist/chunks/{instance-t9e6e84n.js → tool-zad871sr.js} +1 -1
  283. package/dist/chunks/{instance-mb44bqwd.js → tool-zbe5vsva.js} +23 -23
  284. package/dist/chunks/{instance-e2hjzebn.js → tool-zcrspsvn.js} +4 -4
  285. package/dist/chunks/{instance-rq775frq.js → tool-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{instance-h7bhx2wj.js → tool-zncx7357.js} +12 -12
  287. package/dist/chunks/{instance-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{instance-xjvexad5.js → tool-zxhfgthz.js} +2 -2
  289. package/dist/chunks/{instance-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +83 -83
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +115 -115
  298. package/dist/config/plugin/command.js +205 -205
  299. package/dist/config/plugin/compaction.js +155 -155
  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 +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +115 -115
  305. package/dist/config/plugin/mcp.js +124 -124
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +134 -134
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +113 -113
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +64 -64
  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.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +88 -88
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +68 -68
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +218 -218
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +96 -96
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +89 -89
  430. package/dist/git.js +3 -3
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +84 -84
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +128 -128
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +76 -76
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +97 -97
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +8 -8
  477. package/dist/models-dev.js +78 -78
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +97 -97
  488. package/dist/plugin/command.js +92 -92
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +131 -131
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +80 -80
  545. package/dist/plugin/vcs/hg.js +80 -80
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +3 -3
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +4 -4
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +75 -75
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +74 -74
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +91 -91
  568. package/dist/rpc.js +77 -77
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +123 -123
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +213 -213
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +146 -146
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +75 -75
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +111 -111
  588. package/dist/session/model-transport.js +5 -5
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +121 -121
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +167 -167
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +83 -83
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +206 -206
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +207 -207
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +15 -15
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +117 -117
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +118 -118
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +96 -96
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +107 -107
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/types/rpc.d.ts +1 -0
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +81 -81
  677. package/dist/websearch.js +80 -80
  678. package/dist/wellknown/plugin.js +74 -74
  679. package/dist/wellknown.js +79 -79
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +76 -76
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +5 -5
  685. package/dist/worktree/refresh.js +342 -342
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +89 -89
  688. package/package.json +8 -8
  689. package/dist/chunks/instance-0mesazry.js +0 -4
  690. package/dist/chunks/instance-7fj5dwt0.js +0 -18
  691. package/dist/chunks/instance-yb2z9g45.js +0 -247
  692. /package/dist/chunks/{instance-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{instance-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{instance-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{instance-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{instance-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{instance-2710q6r3.js → tool-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{instance-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{instance-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{instance-359p4xyc.js → tool-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{instance-3asan66x.js → tool-3asan66x.js} +0 -0
  702. /package/dist/chunks/{instance-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{instance-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{instance-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{instance-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{instance-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{instance-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{instance-53557ph1.js → tool-53557ph1.js} +0 -0
  709. /package/dist/chunks/{instance-550bvhaj.js → tool-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{instance-6prwharc.js → tool-6prwharc.js} +0 -0
  711. /package/dist/chunks/{instance-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{instance-7m9af43g.js → tool-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{instance-822emrt2.js → tool-822emrt2.js} +0 -0
  714. /package/dist/chunks/{instance-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{instance-8n3pysct.js → tool-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{instance-922hggd3.js → tool-922hggd3.js} +0 -0
  717. /package/dist/chunks/{instance-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{instance-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{instance-a1tpkmh4.js → tool-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{instance-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{instance-af5trqkr.js → tool-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{instance-afrmfg78.js → tool-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{instance-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{instance-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{instance-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{instance-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{instance-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{instance-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{instance-d9fn303g.js → tool-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{instance-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{instance-dajrwvna.js → tool-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{instance-dap0rakb.js → tool-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{instance-df08tz66.js → tool-df08tz66.js} +0 -0
  734. /package/dist/chunks/{instance-dy18nga0.js → tool-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{instance-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{instance-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{instance-ec1grn59.js → tool-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{instance-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{instance-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{instance-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{instance-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{instance-faypxj3z.js → tool-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{instance-fd410y7t.js → tool-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{instance-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{instance-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{instance-g86h250q.js → tool-g86h250q.js} +0 -0
  747. /package/dist/chunks/{instance-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{instance-gftt206x.js → tool-gftt206x.js} +0 -0
  749. /package/dist/chunks/{instance-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{instance-hk9envan.js → tool-hk9envan.js} +0 -0
  751. /package/dist/chunks/{instance-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{instance-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{instance-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{instance-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{instance-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{instance-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{instance-mp448xyj.js → tool-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{instance-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{instance-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{instance-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{instance-njntx4h6.js → tool-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{instance-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{instance-q74kybfr.js → tool-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{instance-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{instance-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{instance-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{instance-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{instance-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{instance-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{instance-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{instance-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{instance-twg0f83k.js → tool-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{instance-w803qqfp.js → tool-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{instance-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{instance-wtztk69x.js → tool-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{instance-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{instance-x61499pn.js → tool-x61499pn.js} +0 -0
  778. /package/dist/chunks/{instance-y44na4kk.js → tool-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{instance-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{instance-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{instance-ym463w8f.js → tool-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{instance-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instance-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node83
7
- } from "./instance-pvx4ycye.js";
7
+ } from "./tool-wk58jv74.js";
8
8
  import {
9
9
  ID18
10
- } from "./instance-awbdwcvp.js";
10
+ } from "./tool-81swgkk7.js";
11
11
  import {
12
12
  Slug2
13
- } from "./instance-gebd4c9n.js";
13
+ } from "./tool-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./instance-7qp9dbwx.js";
17
+ } from "./tool-859kcgs2.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./instance-2c0b9tk5.js";
21
+ } from "./tool-hvcjdrj2.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./instance-dj2t23y0.js";
24
+ } from "./tool-dj2t23y0.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./instance-m0jqrx5p.js";
27
+ } from "./tool-m0jqrx5p.js";
28
28
  import {
29
29
  Service76,
30
30
  node81
31
- } from "./instance-xjvexad5.js";
31
+ } from "./tool-zxhfgthz.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
34
  canonical2
35
- } from "./instance-yyb7tjpc.js";
35
+ } from "./tool-gv6a8nnw.js";
36
36
  import {
37
37
  make12
38
- } from "./instance-h7k619ye.js";
38
+ } from "./tool-qaed280k.js";
39
39
  import {
40
40
  create3
41
- } from "./instance-kg06axw8.js";
41
+ } from "./tool-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./instance-9rqn6x4v.js";
44
+ } from "./tool-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput3,
49
+ CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event5,
52
+ Event: () => Event6,
53
53
  Info: () => Info4,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
@@ -57,13 +57,13 @@ __export(exports_worktree2, {
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service18,
60
+ Service: () => Service24,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node22
66
+ node: () => node28
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -76,7 +76,7 @@ import { AppProcess } from "@opencode/util/process";
76
76
  import { ChildProcess } from "effect/unstable/process";
77
77
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
78
78
  var StrategyID2 = Worktree.StrategyID;
79
- var CreateInput3 = Worktree.CreateInput;
79
+ var CreateInput2 = Worktree.CreateInput;
80
80
  var RemoveInput2 = Worktree.RemoveInput;
81
81
  var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
@@ -100,11 +100,11 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event5 = Worktree.Event;
103
+ var Event6 = Worktree.Event;
104
104
 
105
- class Service18 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service24 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service18, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event5.Updated, { projectID });
138
+ yield* bus.publish(Event6.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service18.of({
260
+ return Service24.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,8 +269,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node22 = makeLocationNode({
273
- service: Service18,
272
+ var node28 = makeLocationNode({
273
+ service: Service24,
274
274
  layer,
275
275
  deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
276
276
  });
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service18, node22, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service24, node28, exports_worktree2, OperationError2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./instance-w1k39n5e.js";
4
+ } from "./tool-22m95qs7.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import { Message, ToolCallPart, ToolResultPart } from "@opencode/ai";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./instance-7qp9dbwx.js";
4
+ } from "./tool-859kcgs2.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./instance-y71avatq.js";
7
+ } from "./tool-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node59
12
- } from "./instance-nm4299rz.js";
11
+ node80
12
+ } from "./tool-wpm2rk0p.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./instance-faypxj3z.js";
15
+ } from "./tool-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./instance-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID7,
25
- Info: () => Info19,
24
+ ID: () => ID16,
25
+ Info: () => Info30,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service53,
27
+ Service: () => Service75,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured11,
30
- node: () => node58
30
+ node: () => node79
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID7 = Workspace.ID;
38
+ var ID16 = Workspace.ID;
39
39
 
40
- class Info19 extends Schema.Class("Workspace.Info")({
41
- id: ID7,
40
+ class Info30 extends Schema.Class("Workspace.Info")({
41
+ id: ID16,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info19 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID7,
53
+ workspaceID: ID16,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service53 extends Context.Service()("@opencode/Workspace") {
59
+ class Service75 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service53,
62
+ service: Service75,
63
63
  layer: layer(options),
64
- deps: [node85, node59]
64
+ deps: [node85, node80]
65
65
  });
66
- var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info19({
83
+ const info = (row, binding) => new Info30({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service53.of({
157
+ return Service75.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID7.create();
159
+ const workspaceID = input.id ?? ID16.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node58 = configured11();
224
+ var node79 = configured11();
225
225
 
226
- export { ID7, Info19, NotFound3, CreateConflict2, Service53, configured11, node58, exports_workspace };
226
+ export { ID16, Info30, NotFound3, CreateConflict2, Service75, configured11, node79, exports_workspace };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service54
3
- } from "./instance-2wcm5qkf.js";
2
+ Service49
3
+ } from "./tool-xanzpgaf.js";
4
4
  import {
5
- Service58
6
- } from "./instance-vpt56g2a.js";
5
+ Service44
6
+ } from "./tool-hwe7x4em.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./instance-7fj5dwt0.js";
9
+ } from "./tool-n95b3jav.js";
10
10
  import {
11
11
  __export
12
- } from "./instance-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service58;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
22
+ const instances = yield* Service44;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./instance-2c0b9tk5.js";
4
+ } from "./tool-hvcjdrj2.js";
5
5
  import {
6
6
  Service76,
7
7
  node81
8
- } from "./instance-xjvexad5.js";
8
+ } from "./tool-zxhfgthz.js";
9
9
  import {
10
- Service52,
11
- node57
12
- } from "./instance-e6720tr1.js";
10
+ Service74,
11
+ node78
12
+ } from "./tool-n6pkm576.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./instance-gd4qta3r.js";
15
+ } from "./tool-gd4qta3r.js";
16
16
  import {
17
- Service46,
17
+ Service73,
18
18
  args2,
19
- node50
20
- } from "./instance-frf5pa85.js";
19
+ node77
20
+ } from "./tool-0xf6t1bc.js";
21
21
  import {
22
- Service75,
23
- node80
24
- } from "./instance-dc76j9wz.js";
22
+ Service72,
23
+ node76
24
+ } from "./tool-6m8y77r5.js";
25
25
  import {
26
- Service44,
27
- node48
28
- } from "./instance-cq9vh2fv.js";
26
+ Service65,
27
+ node69
28
+ } from "./tool-8t1wrec1.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./instance-2f04pwep.js";
31
+ } from "./tool-j7wq2tw5.js";
32
32
  import {
33
33
  latest2,
34
- Service48,
35
- node52
36
- } from "./instance-hnmyxa6k.js";
34
+ Service67,
35
+ node71
36
+ } from "./tool-7rzn7488.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./instance-n9vjy7vk.js";
40
+ } from "./tool-01797ny4.js";
41
41
  import {
42
42
  __export
43
- } from "./instance-9rqn6x4v.js";
43
+ } from "./tool-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError9,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service43,
51
+ Service: () => Service64,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node47
54
+ node: () => node68
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service43 extends Context.Service()("@opencode/Shell") {
73
+ class Service64 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service43, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
91
  const location = yield* Service76;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service46;
94
- const environment = yield* Service52;
95
- const hooks = yield* Service75;
96
- const environments = yield* Service44;
97
- const config = yield* Service48;
93
+ const shell = yield* Service73;
94
+ const environment = yield* Service74;
95
+ const hooks = yield* Service72;
96
+ const environments = yield* Service65;
97
+ const config = yield* Service67;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError5({ id });
118
+ return yield* new NotFoundError9({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError9({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service43.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service64.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node47 = makeLocationNode({
320
- service: Service43,
319
+ var node68 = makeLocationNode({
320
+ service: Service64,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
324
  node81,
325
325
  Global.node,
326
- node50,
327
- node57,
328
- node80,
329
- node48,
330
- node52,
326
+ node77,
327
+ node78,
328
+ node76,
329
+ node69,
330
+ node71,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service43, cleanup2, node47, exports_shell4 };
335
+ export { NotFoundError9, RETENTION2, DIRECTORY2, Service64, cleanup2, node68, exports_shell4 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./instance-0trb1k4k.js";
5
+ } from "./tool-7k1k30bt.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./instance-ty2jx0g0.js";
11
+ } from "./tool-72cm32h1.js";
12
12
  import {
13
13
  __export
14
- } from "./instance-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service65
3
- } from "./instance-wzq4pq7r.js";
2
+ Service63
3
+ } from "./tool-ws5qfxv9.js";
4
4
  import {
5
- Service58
6
- } from "./instance-vpt56g2a.js";
5
+ Service44
6
+ } from "./tool-hwe7x4em.js";
7
7
  import {
8
8
  detect2
9
- } from "./instance-3smtnn6g.js";
9
+ } from "./tool-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./instance-7fj5dwt0.js";
12
+ } from "./tool-n95b3jav.js";
13
13
  import {
14
- Service75
15
- } from "./instance-dc76j9wz.js";
14
+ Service72
15
+ } from "./tool-6m8y77r5.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./instance-wqkncbjv.js";
19
+ } from "./tool-ca9nbgzj.js";
20
20
  import {
21
21
  prepare3,
22
- Service40
23
- } from "./instance-6y292xw6.js";
22
+ Service55
23
+ } from "./tool-45zx1ce8.js";
24
24
  import {
25
25
  __export
26
- } from "./instance-9rqn6x4v.js";
26
+ } from "./tool-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service58;
42
+ const instances = yield* Service44;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service75;
45
+ const hooks = yield* Service72;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service40;
64
+ const skillService = yield* Service55;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service65;
128
+ const image = yield* Service63;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./instance-7qp9dbwx.js";
4
+ } from "./tool-859kcgs2.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./instance-5c4hm403.js";
8
+ } from "./tool-5c4hm403.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load3
12
- } from "./instance-3440z6ev.js";
11
+ load2
12
+ } from "./tool-y0qtjk0t.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./instance-p72z5xx6.js";
15
+ } from "./tool-d9sn21bc.js";
16
16
  import {
17
17
  __export
18
- } from "./instance-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput5,
24
- Service: () => Service73,
24
+ Service: () => Service58,
25
25
  SessionStore: () => exports_store,
26
- node: () => node78
26
+ node: () => node62
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service73 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service58 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service73, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
58
58
  const { db } = yield* Service80;
59
- return Service73.of({
59
+ return Service58.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
99
99
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
100
100
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
101
101
  }),
102
- context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID, "latest")),
102
+ context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID, "latest")),
103
103
  message: Effect.fn("SessionStore.message")(function* (messageID) {
104
104
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
105
105
  return row ? {
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
126
126
  })
127
127
  });
128
128
  }));
129
- var node78 = makeGlobalNode({ service: Service73, layer, deps: [node85] });
129
+ var node62 = makeGlobalNode({ service: Service58, layer, deps: [node85] });
130
130
 
131
- export { ListInput5, Service73, node78, exports_store };
131
+ export { ListInput5, Service58, node62, exports_store };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./instance-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command4 = {};
7
- __export(exports_command4, {
8
- ConfigCommandV1: () => exports_command4,
9
- Info: () => Info16
6
+ var exports_command5 = {};
7
+ __export(exports_command5, {
8
+ ConfigCommandV1: () => exports_command5,
9
+ Info: () => Info20
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info16 = Schema.Struct({
12
+ var Info20 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info16, exports_command4 };
21
+ export { Info20, exports_command5 };