@opencode/core 0.0.0-dev-21023 → 0.0.0-dev-21027

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{permission-sw5a1q9a.js → tool-01t36tg3.js} +42 -42
  8. package/dist/chunks/{permission-f54vpcxy.js → tool-07fb0sq0.js} +13 -13
  9. package/dist/chunks/{permission-4vr5rdhf.js → tool-0bjrbxj3.js} +22 -22
  10. package/dist/chunks/{permission-61rweyp5.js → tool-0fgjfwm5.js} +5 -5
  11. package/dist/chunks/{permission-7dqw4kz8.js → tool-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{permission-x7skvj3h.js → tool-0q78z8wc.js} +11 -11
  13. package/dist/chunks/{permission-c44thn5s.js → tool-0reb07hh.js} +6 -6
  14. package/dist/chunks/{permission-h5wejvtq.js → tool-0tndnf13.js} +21 -21
  15. package/dist/chunks/{permission-q1ftaqkm.js → tool-0vakwkee.js} +26 -26
  16. package/dist/chunks/{permission-tkcrbpkc.js → tool-0vawvjhj.js} +6 -6
  17. package/dist/chunks/{permission-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{permission-fz45jk9b.js → tool-0w6w9fz6.js} +14 -14
  19. package/dist/chunks/{permission-7q28eq2j.js → tool-12j10hcs.js} +93 -93
  20. package/dist/chunks/{permission-zrq8kphx.js → tool-166kng33.js} +8 -8
  21. package/dist/chunks/{permission-shq4beby.js → tool-1bmjn0qh.js} +8 -8
  22. package/dist/chunks/{permission-t5m9xkgn.js → tool-1gdff4pf.js} +10 -10
  23. package/dist/chunks/{permission-s6m7wfzt.js → tool-1sn90gb4.js} +19 -19
  24. package/dist/chunks/{permission-embw8kgh.js → tool-1vezggaq.js} +4 -4
  25. package/dist/chunks/{permission-x22rbv90.js → tool-20m9xb7p.js} +37 -37
  26. package/dist/chunks/{permission-d9gevvpm.js → tool-27f0285z.js} +84 -84
  27. package/dist/chunks/{permission-9sgsjpgv.js → tool-2ggw9qke.js} +11 -11
  28. package/dist/chunks/{permission-yjxce2nx.js → tool-2jrf0397.js} +23 -23
  29. package/dist/chunks/{permission-h7s7r6s9.js → tool-31xfzrxg.js} +5 -5
  30. package/dist/chunks/{permission-3rtxz4nr.js → tool-3cwb9jzf.js} +7 -7
  31. package/dist/chunks/{permission-e3rhhtj9.js → tool-3djbzr3c.js} +21 -21
  32. package/dist/chunks/{permission-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{permission-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{permission-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{permission-nw04411h.js → tool-3n76ftvs.js} +38 -38
  36. package/dist/chunks/{permission-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{permission-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{permission-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{permission-04x4ngvz.js → tool-4020new0.js} +6 -6
  40. package/dist/chunks/{permission-gfffhgfj.js → tool-436seg2v.js} +1 -1
  41. package/dist/chunks/{permission-2rehhz5t.js → tool-43fay8tn.js} +11 -11
  42. package/dist/chunks/{permission-d2jkdthw.js → tool-45teq17z.js} +15 -15
  43. package/dist/chunks/{permission-xazx5qmq.js → tool-4747cwex.js} +11 -11
  44. package/dist/chunks/{permission-7ybv8rt8.js → tool-4e5pn4jt.js} +5 -5
  45. package/dist/chunks/{permission-52cjarja.js → tool-4k8q0s1e.js} +21 -21
  46. package/dist/chunks/{permission-t5fwpa4s.js → tool-4kj8mwjy.js} +13 -13
  47. package/dist/chunks/{permission-rc677eqa.js → tool-4m26txwv.js} +26 -26
  48. package/dist/chunks/{permission-cr3q6dfx.js → tool-4nrp0c99.js} +9 -9
  49. package/dist/chunks/{permission-tdr6v81y.js → tool-4qb6esnv.js} +24 -24
  50. package/dist/chunks/{permission-y3pjwe43.js → tool-4zp8myha.js} +20 -20
  51. package/dist/chunks/{permission-2evnpasp.js → tool-4zs78ha8.js} +4 -4
  52. package/dist/chunks/{permission-54ma36ye.js → tool-54ma36ye.js} +1 -1
  53. package/dist/chunks/{permission-62fbspee.js → tool-5627zfvx.js} +20 -20
  54. package/dist/chunks/{permission-ve8ym7hj.js → tool-5jkej3gj.js} +50 -50
  55. package/dist/chunks/{permission-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{permission-z23bwpym.js → tool-5nfvqhja.js} +10 -10
  57. package/dist/chunks/{permission-w40fwtt5.js → tool-5q5nh3sy.js} +6 -6
  58. package/dist/chunks/{permission-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{permission-ks04pcd7.js → tool-5rwcywtx.js} +27 -27
  60. package/dist/chunks/{permission-00apgy02.js → tool-6hgfbb6p.js} +15 -15
  61. package/dist/chunks/{permission-y56ehv6b.js → tool-6hjx5zpb.js} +9 -9
  62. package/dist/chunks/{permission-sz143kbc.js → tool-6htb5gr0.js} +11 -11
  63. package/dist/chunks/{permission-47jkzegy.js → tool-6kzp9tjq.js} +5 -5
  64. package/dist/chunks/{permission-w92k2e0p.js → tool-6pc27hjz.js} +4 -4
  65. package/dist/chunks/{permission-59rbqqpw.js → tool-6q8kncxp.js} +5 -5
  66. package/dist/chunks/{permission-8w2cnjsp.js → tool-6sghnyqr.js} +16 -16
  67. package/dist/chunks/{permission-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{permission-80v8rtq2.js → tool-6yacqn2k.js} +11 -11
  69. package/dist/chunks/{permission-kkxq1rvg.js → tool-73e552s4.js} +17 -17
  70. package/dist/chunks/{permission-775gj3j1.js → tool-775gj3j1.js} +2 -2
  71. package/dist/chunks/{permission-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{permission-kxqnpj86.js → tool-7n3bkkdp.js} +24 -24
  73. package/dist/chunks/{permission-ft5ccetf.js → tool-7qb04ksq.js} +17 -17
  74. package/dist/chunks/{permission-k7myrtme.js → tool-7qdpe4cb.js} +9 -9
  75. package/dist/chunks/{permission-zp7ch8at.js → tool-7qyahes4.js} +29 -29
  76. package/dist/chunks/{permission-krrwhgcx.js → tool-7tbkgw72.js} +22 -22
  77. package/dist/chunks/{permission-84txncab.js → tool-84txncab.js} +1 -1
  78. package/dist/chunks/{permission-qk3m6f42.js → tool-871668nt.js} +13 -13
  79. package/dist/chunks/{permission-89znhe33.js → tool-89znhe33.js} +1 -1
  80. package/dist/chunks/{permission-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{permission-j09zfasm.js → tool-91qna3x0.js} +3 -3
  82. package/dist/chunks/{permission-89sqfr9e.js → tool-96r9dk5h.js} +16 -16
  83. package/dist/chunks/{permission-8b5wx0er.js → tool-9a94vrwg.js} +39 -39
  84. package/dist/chunks/{permission-5fk5prd3.js → tool-9hkdgzmv.js} +8 -8
  85. package/dist/chunks/{permission-c7wy2byy.js → tool-9nr0k19d.js} +1 -1
  86. package/dist/chunks/{permission-xy8zxf3a.js → tool-9rmtxcny.js} +11 -11
  87. package/dist/chunks/{permission-53nebdj4.js → tool-9rz0s9vq.js} +9 -9
  88. package/dist/chunks/{permission-35ja2k0w.js → tool-9y9sk2j9.js} +2 -2
  89. package/dist/chunks/{permission-k5m01s9x.js → tool-9ydk86ss.js} +58 -58
  90. package/dist/chunks/{permission-s3cppfsb.js → tool-a7p75jc5.js} +8 -8
  91. package/dist/chunks/{permission-0xvfz0d9.js → tool-ab5hd1e3.js} +24 -24
  92. package/dist/chunks/{permission-rbt4m20h.js → tool-abadc73r.js} +14 -14
  93. package/dist/chunks/{permission-mxvxcxwy.js → tool-addxnjmp.js} +4 -4
  94. package/dist/chunks/{permission-nb9p6b26.js → tool-afrtgck4.js} +4 -4
  95. package/dist/chunks/{permission-hf80ks7v.js → tool-aqegtsfq.js} +5 -5
  96. package/dist/chunks/{permission-nvxqht09.js → tool-axe3mf62.js} +3 -3
  97. package/dist/chunks/{permission-7dhxgjnh.js → tool-az2ak1fn.js} +27 -27
  98. package/dist/chunks/{permission-b3f8fkhc.js → tool-b3f8fkhc.js} +2 -2
  99. package/dist/chunks/{permission-wtedc2ez.js → tool-b6j5xzrd.js} +27 -27
  100. package/dist/chunks/{permission-fdk5j20n.js → tool-bc7dxhqv.js} +5 -5
  101. package/dist/chunks/{permission-g5nfb62w.js → tool-bjfh2y0a.js} +35 -35
  102. package/dist/chunks/{permission-56psxqzf.js → tool-bjzmfjgq.js} +14 -14
  103. package/dist/chunks/{permission-wnvag7bd.js → tool-bqqze0bz.js} +23 -23
  104. package/dist/chunks/{permission-ptmeq6fb.js → tool-bsc349qs.js} +330 -330
  105. package/dist/chunks/{permission-3msvj1np.js → tool-bvr8yq7m.js} +32 -32
  106. package/dist/chunks/{permission-bjbqwag1.js → tool-bwp6pqna.js} +26 -26
  107. package/dist/chunks/{permission-nd4tfyg0.js → tool-bx7n6myc.js} +9 -9
  108. package/dist/chunks/{permission-6cvxkkb7.js → tool-by3f32n0.js} +28 -28
  109. package/dist/chunks/{permission-es1vcfrp.js → tool-c1fqxshp.js} +3 -3
  110. package/dist/chunks/{permission-xzmvz71f.js → tool-c1ngfaaf.js} +9 -9
  111. package/dist/chunks/{permission-b2vdwqgm.js → tool-c3qawk1f.js} +22 -22
  112. package/dist/chunks/{permission-xnrwq8hx.js → tool-c8cbefa2.js} +4 -4
  113. package/dist/chunks/{permission-t5e0qftg.js → tool-ccdthk42.js} +20 -20
  114. package/dist/chunks/{permission-7vs17q0t.js → tool-ccn484d6.js} +3 -3
  115. package/dist/chunks/{permission-pgp1nwjn.js → tool-cp937pt4.js} +4 -4
  116. package/dist/chunks/{permission-m9c2yzp8.js → tool-cv7zkw6d.js} +47 -47
  117. package/dist/chunks/{permission-3w1g5pmr.js → tool-cw03ndct.js} +4 -4
  118. package/dist/chunks/{permission-fkaf0mbg.js → tool-cz6pgrah.js} +36 -36
  119. package/dist/chunks/{permission-w9zc1j69.js → tool-d1weh077.js} +2 -2
  120. package/dist/chunks/{permission-h9wp8z5w.js → tool-d2czbp48.js} +4 -4
  121. package/dist/chunks/{permission-24js1q9e.js → tool-d4658f60.js} +8 -8
  122. package/dist/chunks/{permission-86kb2rqt.js → tool-d4843n8f.js} +31 -31
  123. package/dist/chunks/{permission-dqxsqydv.js → tool-dqxsqydv.js} +1 -1
  124. package/dist/chunks/{permission-de76y8ke.js → tool-dre3mh8q.js} +5 -5
  125. package/dist/chunks/{permission-57b9ws8p.js → tool-drwq78ky.js} +5 -5
  126. package/dist/chunks/{permission-6w011226.js → tool-e0aypp2c.js} +7 -7
  127. package/dist/chunks/{permission-p6p40emm.js → tool-e9rp6zjw.js} +22 -22
  128. package/dist/chunks/{permission-b27vhd2z.js → tool-edrmdtr5.js} +7 -7
  129. package/dist/chunks/{permission-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{permission-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{permission-tx3p4c1h.js → tool-efbjw4je.js} +11 -11
  132. package/dist/chunks/{permission-qhp59fkk.js → tool-erpzfxtv.js} +19 -19
  133. package/dist/chunks/{permission-e4t4m9wx.js → tool-esxsxdtm.js} +21 -21
  134. package/dist/chunks/{permission-7z0yjmdb.js → tool-evcnqajx.js} +27 -27
  135. package/dist/chunks/{permission-q6phcmgv.js → tool-ezy28dwm.js} +11 -11
  136. package/dist/chunks/{permission-1egd8tfm.js → tool-f124mjt0.js} +19 -19
  137. package/dist/chunks/{permission-va0v5gef.js → tool-f3cd59m9.js} +1 -1
  138. package/dist/chunks/{permission-wkr77wxw.js → tool-f5cw550v.js} +23 -23
  139. package/dist/chunks/{permission-1s9zyj6r.js → tool-fgy4jrac.js} +4 -4
  140. package/dist/chunks/{permission-rhww208c.js → tool-fqt76dtj.js} +14 -14
  141. package/dist/chunks/{permission-qmqgtz8f.js → tool-ft3hqk2c.js} +9 -9
  142. package/dist/chunks/{permission-fxaymqdw.js → tool-fxaymqdw.js} +1 -1
  143. package/dist/chunks/{permission-5xtgfte3.js → tool-g0445xdp.js} +6 -6
  144. package/dist/chunks/{permission-sr538j3y.js → tool-g0ebsb7w.js} +16 -16
  145. package/dist/chunks/{permission-k53yy7pw.js → tool-g5hnex30.js} +33 -33
  146. package/dist/chunks/{permission-8ewbkqjs.js → tool-g88qc0rs.js} +11 -11
  147. package/dist/chunks/{permission-z55y8ceb.js → tool-g8p1nq0c.js} +7 -7
  148. package/dist/chunks/{permission-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{permission-kymaazr1.js → tool-gj7b0stj.js} +4 -4
  150. package/dist/chunks/{permission-zfa7ynd8.js → tool-gk4m79v4.js} +18 -18
  151. package/dist/chunks/{permission-g3p48v6a.js → tool-gyn58nzm.js} +17 -17
  152. package/dist/chunks/{permission-3gv8v2v9.js → tool-gzxvfr9h.js} +25 -25
  153. package/dist/chunks/{permission-9srxgycv.js → tool-h1mvd9nt.js} +5 -5
  154. package/dist/chunks/{permission-vzfbn5hk.js → tool-h2n9jjkq.js} +16 -16
  155. package/dist/chunks/{permission-zggjzm3b.js → tool-h6bky6ca.js} +3 -3
  156. package/dist/chunks/{permission-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{permission-n86bj756.js → tool-ha6a199g.js} +14 -14
  158. package/dist/chunks/{permission-a465vq1g.js → tool-hfm3768t.js} +15 -15
  159. package/dist/chunks/{permission-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  160. package/dist/chunks/{permission-2ryng5r3.js → tool-hkffa77z.js} +4 -4
  161. package/dist/chunks/{permission-xd46p04h.js → tool-hxg485bt.js} +15 -15
  162. package/dist/chunks/{permission-zst6p8bn.js → tool-j4bzjt4e.js} +6 -6
  163. package/dist/chunks/{permission-ec8nysdw.js → tool-j60sz84g.js} +29 -29
  164. package/dist/chunks/{permission-6g107h22.js → tool-jk540des.js} +2 -2
  165. package/dist/chunks/{permission-gv6wxqss.js → tool-k4z4pfzw.js} +45 -45
  166. package/dist/chunks/{permission-9m2tpsz1.js → tool-k5m21wex.js} +20 -20
  167. package/dist/chunks/{permission-4ca9k2k9.js → tool-kfdkvwtq.js} +5 -5
  168. package/dist/chunks/{permission-0q7h3m0r.js → tool-khbn7h8s.js} +9 -9
  169. package/dist/chunks/{permission-4ece66pg.js → tool-kjwzqyf2.js} +47 -47
  170. package/dist/chunks/{permission-z99r91g9.js → tool-kk3ptvrd.js} +42 -42
  171. package/dist/chunks/{permission-sdymsmch.js → tool-kt2d8jz0.js} +28 -28
  172. package/dist/chunks/{permission-qrw8efy6.js → tool-m389c5cq.js} +57 -57
  173. package/dist/chunks/{permission-78s3r0bw.js → tool-m7707mrb.js} +45 -45
  174. package/dist/chunks/{permission-41qj65tx.js → tool-m8c4x33k.js} +3 -3
  175. package/dist/chunks/{permission-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{permission-maspj1v3.js → tool-maspj1v3.js} +1 -1
  177. package/dist/chunks/{permission-6mq77kn0.js → tool-me5fzwjd.js} +13 -13
  178. package/dist/chunks/{permission-czdnbs3v.js → tool-meza9nwc.js} +43 -43
  179. package/dist/chunks/{permission-e1w47gxy.js → tool-mkj7w19c.js} +26 -26
  180. package/dist/chunks/{permission-1h1q22qe.js → tool-mngzetc9.js} +18 -18
  181. package/dist/chunks/{permission-845dwr63.js → tool-mqf2wszw.js} +24 -24
  182. package/dist/chunks/{permission-z47mhk4h.js → tool-ms8afdx3.js} +11 -11
  183. package/dist/chunks/{permission-kqv3x6rj.js → tool-mv3hx7wz.js} +9 -9
  184. package/dist/chunks/{permission-mb46117y.js → tool-n2seafqy.js} +20 -20
  185. package/dist/chunks/{permission-q4x97hvd.js → tool-ne0v3mcr.js} +12 -12
  186. package/dist/chunks/{permission-829m196e.js → tool-neh9qwyn.js} +12 -12
  187. package/dist/chunks/{permission-zkzq42m7.js → tool-nfq9k2qg.js} +22 -22
  188. package/dist/chunks/{permission-vxadv7hv.js → tool-njq4v3ck.js} +30 -30
  189. package/dist/chunks/{permission-becrz2zd.js → tool-nrsgf78h.js} +11 -11
  190. package/dist/chunks/{permission-c70wgqnt.js → tool-p48tkg4d.js} +12 -12
  191. package/dist/chunks/{permission-a98p1s0p.js → tool-pa866ny5.js} +11 -11
  192. package/dist/chunks/{permission-h692q3hg.js → tool-pdw1sk9c.js} +28 -28
  193. package/dist/chunks/{permission-4z7aqr9p.js → tool-pes0tbvz.js} +15 -15
  194. package/dist/chunks/{permission-kn8spddv.js → tool-pewbjeww.js} +12 -12
  195. package/dist/chunks/tool-phpwwk39.js +253 -0
  196. package/dist/chunks/{permission-3drzayab.js → tool-pje47fk7.js} +14 -14
  197. package/dist/chunks/{permission-23xej63c.js → tool-pjsqfx9m.js} +9 -9
  198. package/dist/chunks/{permission-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{permission-pknna89w.js → tool-pknna89w.js} +1 -1
  200. package/dist/chunks/{permission-tcay1cqt.js → tool-prmgem5b.js} +6 -6
  201. package/dist/chunks/{permission-6jzanskr.js → tool-ptzgpnc3.js} +27 -27
  202. package/dist/chunks/{permission-w80p8xjq.js → tool-pz1gbv8g.js} +14 -14
  203. package/dist/chunks/{permission-0j77ygfz.js → tool-q0xm7vwc.js} +6 -6
  204. package/dist/chunks/{permission-4dg124c5.js → tool-q4fmv0xv.js} +5 -5
  205. package/dist/chunks/tool-q509s3k3.js +18 -0
  206. package/dist/chunks/tool-q9a0p4yb.js +26 -0
  207. package/dist/chunks/{permission-ydgy0jv4.js → tool-qn56gx0x.js} +6 -6
  208. package/dist/chunks/{permission-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{permission-qsdy395h.js → tool-qsdy395h.js} +1 -1
  210. package/dist/chunks/{permission-kg0yqcjm.js → tool-r0s4cps9.js} +13 -13
  211. package/dist/chunks/{permission-yp2x3t23.js → tool-r8xr0va3.js} +4 -4
  212. package/dist/chunks/{permission-5kb9zkdh.js → tool-r8yr4pbq.js} +19 -19
  213. package/dist/chunks/{permission-4w212fwn.js → tool-rd6jcjw6.js} +29 -29
  214. package/dist/chunks/{permission-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{permission-tkb22qbm.js → tool-rert0e01.js} +2 -2
  216. package/dist/chunks/{permission-c41wscbt.js → tool-rj3eygr5.js} +2 -2
  217. package/dist/chunks/{permission-xhm4b58r.js → tool-rkea8fjp.js} +22 -22
  218. package/dist/chunks/{permission-jery7aj9.js → tool-rpdh36zp.js} +24 -24
  219. package/dist/chunks/{permission-nnmmcjtc.js → tool-rrbf5752.js} +4 -4
  220. package/dist/chunks/{permission-gvg3qxq8.js → tool-s1mwa3em.js} +17 -17
  221. package/dist/chunks/{permission-4dzm2vgm.js → tool-s5jbqbt2.js} +4 -4
  222. package/dist/chunks/{permission-rhjbct0v.js → tool-s8d7rejh.js} +4 -4
  223. package/dist/chunks/{permission-aq0qtksj.js → tool-s90vv90s.js} +32 -32
  224. package/dist/chunks/{permission-c8ax2afj.js → tool-sa8ekw3f.js} +2 -2
  225. package/dist/chunks/{permission-rj13zmb6.js → tool-sbhhmpa1.js} +5 -5
  226. package/dist/chunks/{permission-092eae9t.js → tool-sexk3xwd.js} +42 -42
  227. package/dist/chunks/{permission-rmc0d8tn.js → tool-sjs4cgq8.js} +13 -13
  228. package/dist/chunks/{permission-eaebrh2a.js → tool-swcgf9tw.js} +73 -73
  229. package/dist/chunks/{permission-7b794baq.js → tool-swg2czr5.js} +30 -30
  230. package/dist/chunks/{permission-r2z489rp.js → tool-sxcaecc0.js} +3 -3
  231. package/dist/chunks/{permission-tn9kj30j.js → tool-sxd457kj.js} +20 -20
  232. package/dist/chunks/{permission-syv4x271.js → tool-syv4x271.js} +1 -1
  233. package/dist/chunks/{permission-602xwz5w.js → tool-sz25zewp.js} +18 -18
  234. package/dist/chunks/{permission-5cmbdvrd.js → tool-t25nyb44.js} +18 -18
  235. package/dist/chunks/{permission-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{permission-tdstcens.js → tool-tdstcens.js} +1 -1
  237. package/dist/chunks/{permission-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
  238. package/dist/chunks/{permission-99m7qm8b.js → tool-tmdsjbh9.js} +16 -16
  239. package/dist/chunks/{permission-p2mj82dr.js → tool-tnpc41a5.js} +3 -3
  240. package/dist/chunks/{permission-j7z3fkjv.js → tool-trhb4xzf.js} +51 -51
  241. package/dist/chunks/{permission-946k40fp.js → tool-trpqdd18.js} +13 -13
  242. package/dist/chunks/{permission-tyytaxap.js → tool-tyytaxap.js} +1 -1
  243. package/dist/chunks/{permission-fpecnkgp.js → tool-v0es1rhs.js} +9 -9
  244. package/dist/chunks/{permission-9z0dngc7.js → tool-v0hgep7b.js} +17 -17
  245. package/dist/chunks/{permission-bbn1dcba.js → tool-v703bhdd.js} +30 -30
  246. package/dist/chunks/{permission-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  247. package/dist/chunks/{permission-1h655jtg.js → tool-vcvkpszh.js} +12 -12
  248. package/dist/chunks/{permission-veqvce7d.js → tool-veqvce7d.js} +1 -1
  249. package/dist/chunks/{permission-kjdm35cs.js → tool-vrrq7v3g.js} +5 -5
  250. package/dist/chunks/{permission-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{permission-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{permission-fvebqfs2.js → tool-w4dca2d6.js} +27 -27
  253. package/dist/chunks/{permission-wd87259q.js → tool-wd87259q.js} +1 -1
  254. package/dist/chunks/{permission-g6y5maz5.js → tool-wj5c1p6d.js} +50 -50
  255. package/dist/chunks/{permission-1ffvrpkg.js → tool-wjr9rjd7.js} +9 -9
  256. package/dist/chunks/{permission-nhpttcny.js → tool-wx95s5vn.js} +26 -26
  257. package/dist/chunks/{permission-gcgj809c.js → tool-wy6dfgcn.js} +23 -23
  258. package/dist/chunks/{permission-ftymc9fb.js → tool-x0rtsm8e.js} +183 -183
  259. package/dist/chunks/{permission-tcz7t3f6.js → tool-x1dvw4cn.js} +13 -13
  260. package/dist/chunks/{permission-zh17qtwe.js → tool-x3cmp8k1.js} +37 -37
  261. package/dist/chunks/{permission-7d0ykqmj.js → tool-x988sc1p.js} +17 -17
  262. package/dist/chunks/{permission-nzw6j1y2.js → tool-xbprrnbe.js} +27 -27
  263. package/dist/chunks/{permission-vhjr3aps.js → tool-xc0stz1c.js} +35 -35
  264. package/dist/chunks/{permission-djxpjw65.js → tool-xcwxhh1p.js} +9 -9
  265. package/dist/chunks/{permission-0cgs9dz5.js → tool-xfemfc1r.js} +14 -14
  266. package/dist/chunks/{permission-eae131xq.js → tool-xhx94tt7.js} +9 -9
  267. package/dist/chunks/{permission-a01j9zgm.js → tool-xj1aydcy.js} +5 -5
  268. package/dist/chunks/{permission-ra99svef.js → tool-xqdej0ab.js} +24 -24
  269. package/dist/chunks/{permission-yqc6bamn.js → tool-xybefm6f.js} +1 -1
  270. package/dist/chunks/{permission-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{permission-dpkg50ah.js → tool-y71avatq.js} +4 -4
  272. package/dist/chunks/{permission-2dryst3t.js → tool-y945vb8n.js} +8 -8
  273. package/dist/chunks/{permission-jzm320fm.js → tool-yd16xvn4.js} +9 -9
  274. package/dist/chunks/{permission-2vhphq2x.js → tool-yvqbnyr5.js} +30 -30
  275. package/dist/chunks/{permission-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{permission-nxy4phdy.js → tool-z3zv6y4t.js} +34 -34
  277. package/dist/chunks/{permission-ef4d86wb.js → tool-z7bx7nj5.js} +7 -7
  278. package/dist/chunks/{permission-eect42cy.js → tool-ze6bq4cz.js} +5 -5
  279. package/dist/chunks/{permission-6q5me1ng.js → tool-zm3rhkfq.js} +11 -11
  280. package/dist/chunks/{permission-7c9k9v5a.js → tool-zpbcv7tg.js} +3 -3
  281. package/dist/chunks/{permission-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{permission-p691epkf.js → tool-zrr3y58q.js} +10 -10
  283. package/dist/chunks/{permission-nhzj3rkj.js → tool-zsf4swtr.js} +15 -15
  284. package/dist/chunks/{permission-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +11 -11
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +120 -120
  294. package/dist/config/plugin/command.js +209 -209
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +102 -102
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +103 -103
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +73 -73
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +109 -109
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +100 -100
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +78 -78
  487. package/dist/plugin/command.js +104 -104
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +3 -3
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +125 -125
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  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/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +90 -90
  558. package/dist/provider.js +101 -101
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +93 -93
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +3 -3
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +92 -92
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +215 -215
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +15 -15
  624. package/dist/shell.js +130 -130
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +112 -112
  628. package/dist/snapshot.js +91 -91
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +124 -124
  636. package/dist/tool/plugin/grep.js +122 -122
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +120 -120
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +123 -123
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +107 -107
  644. package/dist/tool/plugin/subagent.js +212 -212
  645. package/dist/tool/plugin/webfetch.js +114 -114
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +100 -100
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +82 -82
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/permission-9zdhvgqs.js +0 -18
  686. package/dist/chunks/permission-khbbrmym.js +0 -253
  687. package/dist/chunks/permission-wnarkw3d.js +0 -26
  688. /package/dist/chunks/{permission-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{permission-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{permission-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{permission-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{permission-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{permission-24dcb14g.js → tool-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{permission-2710q6r3.js → tool-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{permission-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{permission-2bv980vf.js → tool-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{permission-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{permission-359p4xyc.js → tool-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{permission-3asan66x.js → tool-3asan66x.js} +0 -0
  700. /package/dist/chunks/{permission-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{permission-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{permission-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{permission-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{permission-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{permission-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{permission-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{permission-53557ph1.js → tool-53557ph1.js} +0 -0
  708. /package/dist/chunks/{permission-550bvhaj.js → tool-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{permission-6prwharc.js → tool-6prwharc.js} +0 -0
  710. /package/dist/chunks/{permission-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{permission-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{permission-7m9af43g.js → tool-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{permission-822emrt2.js → tool-822emrt2.js} +0 -0
  714. /package/dist/chunks/{permission-84wd9syh.js → tool-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{permission-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{permission-8n3pysct.js → tool-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{permission-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{permission-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{permission-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{permission-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{permission-af5trqkr.js → tool-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{permission-afrmfg78.js → tool-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{permission-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{permission-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{permission-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{permission-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{permission-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{permission-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{permission-d9fn303g.js → tool-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{permission-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{permission-dajrwvna.js → tool-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{permission-dap0rakb.js → tool-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{permission-df08tz66.js → tool-df08tz66.js} +0 -0
  734. /package/dist/chunks/{permission-dy18nga0.js → tool-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{permission-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{permission-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{permission-ec1grn59.js → tool-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{permission-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{permission-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{permission-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{permission-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{permission-faypxj3z.js → tool-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{permission-fd410y7t.js → tool-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{permission-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{permission-g86h250q.js → tool-g86h250q.js} +0 -0
  746. /package/dist/chunks/{permission-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{permission-gftt206x.js → tool-gftt206x.js} +0 -0
  748. /package/dist/chunks/{permission-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{permission-hk9envan.js → tool-hk9envan.js} +0 -0
  750. /package/dist/chunks/{permission-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{permission-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{permission-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{permission-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{permission-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{permission-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{permission-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{permission-m18g726c.js → tool-m18g726c.js} +0 -0
  758. /package/dist/chunks/{permission-mp448xyj.js → tool-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{permission-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{permission-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{permission-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{permission-njntx4h6.js → tool-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{permission-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{permission-pyv0edze.js → tool-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{permission-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{permission-q74kybfr.js → tool-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{permission-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{permission-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{permission-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{permission-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{permission-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{permission-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{permission-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{permission-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{permission-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{permission-w803qqfp.js → tool-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{permission-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{permission-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{permission-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{permission-wtztk69x.js → tool-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{permission-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{permission-x61499pn.js → tool-x61499pn.js} +0 -0
  783. /package/dist/chunks/{permission-y44na4kk.js → tool-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{permission-y8f7s663.js → tool-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{permission-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{permission-ym463w8f.js → tool-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{permission-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{permission-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./permission-q4x97hvd.js";
2
+ Service83,
3
+ node87
4
+ } from "./tool-ne0v3mcr.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./permission-tazgh4e4.js";
9
+ } from "./tool-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./permission-78s3r0bw.js";
12
+ } from "./tool-m7707mrb.js";
13
13
  import {
14
- Service80,
15
- node84
16
- } from "./permission-89sqfr9e.js";
14
+ Service81,
15
+ node85
16
+ } from "./tool-96r9dk5h.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./permission-rdw6cm16.js";
20
+ } from "./tool-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./permission-9rqn6x4v.js";
23
+ } from "./tool-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info8,
32
+ Info: () => Info13,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service45,
35
+ Service: () => Service42,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node48
37
+ node: () => node46
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info13, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service45 extends Context.Service()("@opencode/Vcs") {
57
+ class Service42 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service45, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service80;
62
- const bus = yield* Service84;
61
+ const location = yield* Service81;
62
+ const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info13));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service45.of({
132
+ return Service42.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node48 = makeLocationNode({
191
- service: Service45,
190
+ var node46 = makeLocationNode({
191
+ service: Service42,
192
192
  layer,
193
- deps: [FSUtil.node, node84, node88]
193
+ deps: [FSUtil.node, node85, node87]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, InitializeError2, Service45, node48, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info13, Mode2, DiffError2, InitializeError2, Service42, node46, exports_vcs };
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID11,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./permission-k53yy7pw.js";
7
+ } from "./tool-g5hnex30.js";
8
8
  import {
9
9
  __export
10
- } from "./permission-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service53,
17
+ Service: () => Service76,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node55
19
+ node: () => node80
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID11,
154
+ providerID: ID13,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service53 extends Context.Service()("@opencode/AISDK") {
162
+ class Service76 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service53, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service76, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service53, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service53.of({
202
+ const service = Service76.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node55 = makeLocationNode({ service: Service53, layer: locationLayer2, deps: [] });
877
+ var node80 = makeLocationNode({ service: Service76, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service53, locationLayer2, node55, exports_aisdk };
879
+ export { InitError2, Service76, locationLayer2, node80, exports_aisdk };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
9
+ ConfigPermissionV1: () => exports_permission,
10
10
  Entries: () => Entries2,
11
- Info: () => Info18,
11
+ Info: () => Info9,
12
12
  Object: () => Object2,
13
- Rule: () => Rule3
13
+ Rule: () => Rule2
14
14
  });
15
15
  import { Schema, SchemaGetter } from "effect";
16
16
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
19
19
  encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
20
20
  }));
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
22
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info18 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
24
+ var Info9 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule3, Info18, exports_permission2 };
31
+ export { Action2, Entries2, Object2, Rule2, Info9, exports_permission };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service84
3
- } from "./permission-q4x97hvd.js";
2
+ Service83
3
+ } from "./tool-ne0v3mcr.js";
4
4
  import {
5
- Service37
6
- } from "./permission-tdr6v81y.js";
5
+ Service31
6
+ } from "./tool-4qb6esnv.js";
7
7
  import {
8
8
  Error3
9
- } from "./permission-kxqnpj86.js";
9
+ } from "./tool-7n3bkkdp.js";
10
10
  import {
11
- Service38
12
- } from "./permission-2rehhz5t.js";
11
+ Service43
12
+ } from "./tool-43fay8tn.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./permission-23xej63c.js";
15
+ } from "./tool-pjsqfx9m.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./permission-ec1grn59.js";
18
+ } from "./tool-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./permission-9srxgycv.js";
21
+ } from "./tool-h1mvd9nt.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./permission-tdstcens.js";
24
+ } from "./tool-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./permission-p2mj82dr.js";
27
+ } from "./tool-tnpc41a5.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./permission-b3f8fkhc.js";
30
+ } from "./tool-b3f8fkhc.js";
31
31
  import {
32
32
  __export
33
- } from "./permission-9rqn6x4v.js";
33
+ } from "./tool-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make9
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
55
- const bus = yield* Service84;
54
+ var make9 = Effect.gen(function* () {
55
+ const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service37;
58
- const toolOutput = yield* Service38;
57
+ const snapshots = yield* Service31;
58
+ const toolOutput = yield* Service43;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
223
223
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
224
224
  };
225
225
 
226
- export { Outcome2, make3, exports_step };
226
+ export { Outcome2, make9, exports_step };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./permission-7vs17q0t.js";
4
+ } from "./tool-ccn484d6.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./permission-2710q6r3.js";
8
+ } from "./tool-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./permission-dpkg50ah.js";
11
+ } from "./tool-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./permission-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service84,
21
+ Service: () => Service83,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node88,
27
+ node: () => node87,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service84 extends Context.Service()("@opencode/Bus") {
79
+ class Service83 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service84,
83
+ service: Service83,
84
84
  deps: [node89],
85
- layer: Layer.effect(Service84, Effect.gen(function* () {
85
+ layer: Layer.effect(Service83, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service84.of({
528
+ return Service83.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node88 = configured12();
542
+ var node87 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service84, configured12, node88, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./permission-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./permission-78s3r0bw.js";
6
+ } from "./tool-m7707mrb.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./permission-89sqfr9e.js";
8
+ Service81,
9
+ node85
10
+ } from "./tool-96r9dk5h.js";
11
11
  import {
12
- Service61,
13
- node64
14
- } from "./permission-k5m01s9x.js";
12
+ Service71,
13
+ node75
14
+ } from "./tool-9ydk86ss.js";
15
15
  import {
16
16
  __export
17
- } from "./permission-9rqn6x4v.js";
17
+ } from "./tool-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -51,8 +51,8 @@ var invocation = (context) => ({
51
51
  });
52
52
  var layer = Layer.effect(Service16, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service80;
55
- const permission = yield* Service61;
54
+ const location = yield* Service81;
55
+ const permission = yield* Service71;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -103,6 +103,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
103
103
  });
104
104
  return Service16.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node18 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node84, node64] });
106
+ var node18 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node85, node75] });
107
107
 
108
108
  export { Kind2, ResolveInput2, Service16, resolvePath2, node18, exports_file_access };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./permission-rdw6cm16.js";
3
+ } from "./tool-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./permission-qaymkmh1.js";
6
+ } from "./tool-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./permission-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options6,
15
- Service: () => Service60,
14
+ Options: () => Options10,
15
+ Service: () => Service49,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured7,
18
+ configured: () => configured10,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list4,
21
+ list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node63,
24
+ node: () => node53,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options6 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service60 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service49 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list4(options, bin) {
187
+ async function list3(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service60.of({
202
+ return Service49.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list4(options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
+ list: () => Effect.promise(() => list3(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured7(options) {
210
- return makeLocationNode({ service: Service60, layer: layer(options), deps: [Global.node] });
209
+ function configured10(options) {
210
+ return makeLocationNode({ service: Service49, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node63 = configured7();
212
+ var node53 = configured10();
213
213
 
214
- export { Options6, Service60, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node63, exports_select };
214
+ export { Options10, Service49, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list3, configured10, node53, exports_select };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./permission-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./permission-89sqfr9e.js";
5
+ Service81,
6
+ node85
7
+ } from "./tool-96r9dk5h.js";
8
8
  import {
9
- Service77,
10
- node80
11
- } from "./permission-0cgs9dz5.js";
9
+ Service58,
10
+ node62
11
+ } from "./tool-xfemfc1r.js";
12
12
  import {
13
13
  isHome2,
14
14
  names4
15
- } from "./permission-89znhe33.js";
15
+ } from "./tool-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./permission-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options10,
25
- Service: () => Service76,
26
- configured: () => configured10,
24
+ Options: () => Options7,
25
+ Service: () => Service41,
26
+ configured: () => configured7,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer27,
29
- node: () => node79,
28
+ layer: () => layer20,
29
+ node: () => node45,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options10 = Schema.Struct({
38
+ var Options7 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service76 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service41 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service76, Effect.gen(function* () {
62
- const location = yield* Service80;
63
- const ripgrep = yield* Service77;
61
+ var ripgrepLayer2 = Layer.effect(Service41, Effect.gen(function* () {
62
+ const location = yield* Service81;
63
+ const ripgrep = yield* Service58;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service76, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service76.of({
108
+ return Service41.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service76, Effect.gen(function* () {
116
- const location = yield* Service80;
115
+ var fffLayer2 = Layer.effect(Service41, Effect.gen(function* () {
116
+ const location = yield* Service81;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service76, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service76.of({
129
+ return Service41.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service76.of({
134
+ return Service41.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service76, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer27 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service80;
177
+ var layer20 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service81;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured10(options) {
186
- return makeLocationNode({ service: Service76, layer: layer27(options), deps: [node84, node80] });
185
+ function configured7(options) {
186
+ return makeLocationNode({ service: Service41, layer: layer20(options), deps: [node85, node62] });
187
187
  }
188
- var node79 = configured10();
188
+ var node45 = configured7();
189
189
 
190
- export { Options10, Service76, ripgrepLayer2, fffLayer2, layer27, configured10, node79, exports_search };
190
+ export { Options7, Service41, ripgrepLayer2, fffLayer2, layer20, configured7, node45, exports_search };