@opencode/core 0.0.0-dev-19939 → 0.0.0-dev-19961

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +74 -74
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{agent-na3cbkd8.js → tool-052jad2t.js} +41 -41
  8. package/dist/chunks/{agent-msq0jde0.js → tool-06dxphr1.js} +4 -4
  9. package/dist/chunks/{agent-4h52jw7j.js → tool-0dzbpygc.js} +22 -22
  10. package/dist/chunks/{agent-p3gycn8b.js → tool-0h7zqhk1.js} +13 -13
  11. package/dist/chunks/{agent-e4q8186z.js → tool-0mw5jzcs.js} +3 -3
  12. package/dist/chunks/{agent-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{agent-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{agent-d6jhtwvw.js → tool-0qsq8avf.js} +18 -18
  15. package/dist/chunks/{agent-3801kdgp.js → tool-0ryd0fps.js} +5 -5
  16. package/dist/chunks/{agent-sv3vsz9b.js → tool-10jtetaj.js} +6 -6
  17. package/dist/chunks/tool-1ck0eb67.js +252 -0
  18. package/dist/chunks/{agent-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{agent-q5qvysx4.js → tool-1nxe83bq.js} +9 -9
  20. package/dist/chunks/{agent-kfgkb3w8.js → tool-207vtrn6.js} +1 -1
  21. package/dist/chunks/{agent-21r38tys.js → tool-21r38tys.js} +1 -1
  22. package/dist/chunks/{agent-5sqqcv2m.js → tool-223h8e4b.js} +27 -27
  23. package/dist/chunks/{agent-c9rn2ffm.js → tool-227eqkj4.js} +33 -33
  24. package/dist/chunks/{agent-2402vzrj.js → tool-2402vzrj.js} +1 -1
  25. package/dist/chunks/{agent-m85h0kfj.js → tool-26aezvr0.js} +2 -2
  26. package/dist/chunks/{agent-stv5gz7c.js → tool-27v469nr.js} +13 -13
  27. package/dist/chunks/{agent-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{agent-xxcf9j2r.js → tool-2c24r6b8.js} +8 -8
  29. package/dist/chunks/{agent-fex5691d.js → tool-2d46v4jb.js} +6 -6
  30. package/dist/chunks/{agent-zryg9yjn.js → tool-2hsfmsjg.js} +18 -18
  31. package/dist/chunks/{agent-2k8khapm.js → tool-2k8khapm.js} +1 -1
  32. package/dist/chunks/{agent-5e7r050g.js → tool-2q12e7yc.js} +1 -1
  33. package/dist/chunks/{agent-hrekjq5z.js → tool-2qez6wf9.js} +15 -15
  34. package/dist/chunks/{agent-eqkxs06z.js → tool-321x2wtd.js} +6 -6
  35. package/dist/chunks/{agent-036j9pep.js → tool-356sz14e.js} +23 -23
  36. package/dist/chunks/{agent-gxzbat11.js → tool-3cwbe53h.js} +32 -32
  37. package/dist/chunks/{agent-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{agent-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{agent-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{agent-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{agent-ymf79dpk.js → tool-483vxbq6.js} +6 -6
  42. package/dist/chunks/{agent-3y8yawqa.js → tool-4969znen.js} +16 -16
  43. package/dist/chunks/{agent-1qyqkqe4.js → tool-4mw75b8e.js} +9 -9
  44. package/dist/chunks/{agent-3w2b2yj4.js → tool-4xbskmpe.js} +5 -5
  45. package/dist/chunks/{agent-1jqm4hqw.js → tool-533n7pr6.js} +23 -23
  46. package/dist/chunks/{agent-1ygqh575.js → tool-56gdpj1q.js} +9 -9
  47. package/dist/chunks/{agent-5c4hm403.js → tool-5c4hm403.js} +3 -3
  48. package/dist/chunks/{agent-5daktx2q.js → tool-5daktx2q.js} +1 -1
  49. package/dist/chunks/{agent-zwmb00wq.js → tool-5e9skgpm.js} +15 -15
  50. package/dist/chunks/{agent-y5df08dr.js → tool-5npp0aqe.js} +12 -12
  51. package/dist/chunks/{agent-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{agent-fhsfb5wx.js → tool-5yk85840.js} +20 -20
  53. package/dist/chunks/{agent-2gbsvbx5.js → tool-5zc6skgb.js} +12 -12
  54. package/dist/chunks/{agent-fb6r9czn.js → tool-62297ddh.js} +22 -22
  55. package/dist/chunks/{agent-2421mgk7.js → tool-63ppx069.js} +14 -14
  56. package/dist/chunks/{agent-669tq793.js → tool-669tq793.js} +1 -1
  57. package/dist/chunks/{agent-wrrgj8p2.js → tool-6713kt06.js} +23 -23
  58. package/dist/chunks/{agent-h5wn60w9.js → tool-69tq260k.js} +4 -4
  59. package/dist/chunks/{agent-y68y97fv.js → tool-6htwetdg.js} +13 -13
  60. package/dist/chunks/{agent-8qvkbm9p.js → tool-6khsxrsf.js} +4 -4
  61. package/dist/chunks/{agent-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{agent-a3n0gq8j.js → tool-6nfxmhqk.js} +14 -14
  63. package/dist/chunks/{agent-75hzh59n.js → tool-6tty3e9h.js} +4 -4
  64. package/dist/chunks/{agent-dv7xn15p.js → tool-6yj6tbhz.js} +22 -22
  65. package/dist/chunks/{agent-z1gnkr1t.js → tool-6zd6bfsr.js} +6 -6
  66. package/dist/chunks/tool-70jsskm8.js +18 -0
  67. package/dist/chunks/{agent-qby9dwvd.js → tool-73kdj4zj.js} +8 -8
  68. package/dist/chunks/{agent-gf7f2369.js → tool-751d8h98.js} +8 -8
  69. package/dist/chunks/{agent-2sejkfem.js → tool-79qaa2kf.js} +9 -9
  70. package/dist/chunks/{agent-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{agent-7t7d5q2p.js → tool-7jqfrm98.js} +8 -8
  72. package/dist/chunks/{agent-gsdsh762.js → tool-7kshtdzt.js} +12 -12
  73. package/dist/chunks/{agent-vfyx1xy1.js → tool-7mmmgkzb.js} +24 -24
  74. package/dist/chunks/{agent-1t7nvzsm.js → tool-7ykgbnpc.js} +10 -10
  75. package/dist/chunks/{agent-sr79cq9d.js → tool-8b47r7w2.js} +11 -11
  76. package/dist/chunks/{agent-hra2zf6w.js → tool-8d78w7dx.js} +10 -10
  77. package/dist/chunks/{agent-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{agent-1h68bbz1.js → tool-8ehm0xb8.js} +92 -92
  79. package/dist/chunks/{agent-vg3tvwdk.js → tool-8j0g64bg.js} +25 -25
  80. package/dist/chunks/{agent-x9s20f53.js → tool-8qdtywy4.js} +47 -47
  81. package/dist/chunks/{agent-qg0jgkcp.js → tool-8tz9mcp0.js} +9 -9
  82. package/dist/chunks/{agent-0qths4nn.js → tool-92gxwggs.js} +14 -14
  83. package/dist/chunks/{agent-6f2v6d3h.js → tool-952y256t.js} +13 -13
  84. package/dist/chunks/{agent-2dd34nca.js → tool-953ef62m.js} +15 -15
  85. package/dist/chunks/{agent-vx884nfc.js → tool-96gp88bm.js} +24 -24
  86. package/dist/chunks/{agent-1qsp6rhw.js → tool-96y5k2e2.js} +41 -41
  87. package/dist/chunks/{agent-1mhtqdf9.js → tool-9df2h92x.js} +46 -45
  88. package/dist/chunks/{agent-c85qzh5t.js → tool-9dnsb0hw.js} +18 -18
  89. package/dist/chunks/{agent-s2v47wsv.js → tool-9erckna5.js} +9 -9
  90. package/dist/chunks/{agent-r8d6a4tf.js → tool-9g3bpc12.js} +28 -28
  91. package/dist/chunks/tool-9kw8973d.js +28 -0
  92. package/dist/chunks/{agent-ercet7pm.js → tool-9mp97stb.js} +10 -10
  93. package/dist/chunks/{agent-5akn35ws.js → tool-9zrmz628.js} +11 -11
  94. package/dist/chunks/{agent-qn4ba14w.js → tool-9zzv5pgc.js} +5 -5
  95. package/dist/chunks/{agent-m2k0n4kz.js → tool-a6h4rwtp.js} +21 -21
  96. package/dist/chunks/{agent-np2d4m60.js → tool-a771gyms.js} +18 -18
  97. package/dist/chunks/{agent-aaet6srn.js → tool-aaet6srn.js} +2 -2
  98. package/dist/chunks/{agent-40ttqsg0.js → tool-aeh0dgne.js} +7 -7
  99. package/dist/chunks/{agent-ckf8nxjz.js → tool-afdssyjb.js} +4 -4
  100. package/dist/chunks/{agent-8r83crvb.js → tool-ag7x3tep.js} +19 -19
  101. package/dist/chunks/{agent-dfmg44zt.js → tool-ah7j68gv.js} +17 -17
  102. package/dist/chunks/{agent-pb1eahw5.js → tool-anarwj6h.js} +8 -8
  103. package/dist/chunks/{agent-bp4eqg1s.js → tool-arm62n8x.js} +41 -41
  104. package/dist/chunks/{agent-afbgadfc.js → tool-as54p17p.js} +36 -36
  105. package/dist/chunks/{agent-5pvas20d.js → tool-ayj8hn2b.js} +9 -9
  106. package/dist/chunks/{agent-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{agent-xr4jxd3n.js → tool-b92hwcrq.js} +26 -26
  108. package/dist/chunks/{agent-esjpzfqh.js → tool-bqm56rap.js} +16 -16
  109. package/dist/chunks/{agent-4ns3h2re.js → tool-bqszwq89.js} +4 -4
  110. package/dist/chunks/{agent-xryzejns.js → tool-btasn2qa.js} +3 -3
  111. package/dist/chunks/{agent-9kz8gdr8.js → tool-bv9vpxf1.js} +15 -15
  112. package/dist/chunks/{agent-d2aac7k2.js → tool-bx4qmb9g.js} +5 -5
  113. package/dist/chunks/{agent-pstg3rfm.js → tool-bz85s9hh.js} +1 -1
  114. package/dist/chunks/{agent-bkyn6bwe.js → tool-c14p3nf7.js} +39 -39
  115. package/dist/chunks/{agent-magykp64.js → tool-cavr175a.js} +4 -4
  116. package/dist/chunks/{agent-q2q7z127.js → tool-cb9s9s15.js} +30 -30
  117. package/dist/chunks/{agent-85xfn293.js → tool-cf04bqj1.js} +6 -6
  118. package/dist/chunks/{agent-7gvs7gck.js → tool-ch0wdc2q.js} +18 -18
  119. package/dist/chunks/{agent-rz1656kd.js → tool-crjg2n55.js} +329 -318
  120. package/dist/chunks/{agent-sm46077v.js → tool-cvqzmya4.js} +26 -26
  121. package/dist/chunks/{agent-wh950sxe.js → tool-cxpv6f5j.js} +10 -10
  122. package/dist/chunks/{agent-w9rjmhg2.js → tool-d1nag333.js} +18 -18
  123. package/dist/chunks/{agent-57ez7d0k.js → tool-d9s573fh.js} +2 -2
  124. package/dist/chunks/{agent-ptadzx8h.js → tool-dcrzta4z.js} +12 -12
  125. package/dist/chunks/{agent-2ajemesj.js → tool-dhj1bndq.js} +32 -32
  126. package/dist/chunks/{agent-dj2t23y0.js → tool-dj2t23y0.js} +2 -2
  127. package/dist/chunks/{agent-6hvxcsy0.js → tool-dns740p1.js} +11 -11
  128. package/dist/chunks/{agent-y71avatq.js → tool-dpkg50ah.js} +4 -4
  129. package/dist/chunks/{agent-xfkkasph.js → tool-drwq78ky.js} +4 -4
  130. package/dist/chunks/{agent-6h3wybc7.js → tool-dtz9s4b3.js} +6 -6
  131. package/dist/chunks/{agent-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{agent-nv0zfvs3.js → tool-egh78b95.js} +77 -77
  133. package/dist/chunks/{agent-erw5rpbs.js → tool-erw5rpbs.js} +2 -2
  134. package/dist/chunks/{agent-6nfzt672.js → tool-et1rwp1c.js} +11 -11
  135. package/dist/chunks/{agent-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{agent-fab8hzt3.js → tool-evq6r5pz.js} +4 -4
  137. package/dist/chunks/{agent-pa8pe2x7.js → tool-eys57y9b.js} +8 -8
  138. package/dist/chunks/{agent-z24rsk7e.js → tool-f17sp9w8.js} +37 -37
  139. package/dist/chunks/{agent-2yc73x9z.js → tool-f3yhmzb7.js} +14 -14
  140. package/dist/chunks/{agent-wavy99wc.js → tool-fadk8h2y.js} +11 -11
  141. package/dist/chunks/{agent-vhvn8xxs.js → tool-fp9zptb1.js} +27 -27
  142. package/dist/chunks/{agent-0m0tvs7x.js → tool-fwrss4ad.js} +4 -4
  143. package/dist/chunks/{agent-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{agent-0nde5ztd.js → tool-fyjp43ss.js} +5 -5
  145. package/dist/chunks/{agent-edf18fwt.js → tool-g1a4gtq5.js} +28 -28
  146. package/dist/chunks/{agent-81eajdsq.js → tool-g49j1kpf.js} +17 -17
  147. package/dist/chunks/{agent-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{agent-q06j225y.js → tool-ggvw6grp.js} +32 -32
  149. package/dist/chunks/{agent-fwgtty9p.js → tool-gk46542b.js} +9 -9
  150. package/dist/chunks/{agent-yhykjk6q.js → tool-gns1g86j.js} +27 -27
  151. package/dist/chunks/{agent-rbbtr4pm.js → tool-gwcbygb9.js} +35 -18
  152. package/dist/chunks/{agent-00x4qneg.js → tool-h04cqsq0.js} +8 -8
  153. package/dist/chunks/{agent-s0agc963.js → tool-h10s6dah.js} +8 -8
  154. package/dist/chunks/{agent-g3dvzzsn.js → tool-h2xwsekh.js} +20 -20
  155. package/dist/chunks/{agent-7z7az0f5.js → tool-h6jr292a.js} +4 -4
  156. package/dist/chunks/{agent-h6r3nrb9.js → tool-h6r3nrb9.js} +1 -1
  157. package/dist/chunks/{agent-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{agent-hdnk95c8.js → tool-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{agent-408rqjm7.js → tool-hjj1jfge.js} +11 -11
  160. package/dist/chunks/{agent-m0cf690c.js → tool-hkx1eav1.js} +17 -17
  161. package/dist/chunks/{agent-vk3p7bbt.js → tool-hs2gas49.js} +11 -11
  162. package/dist/chunks/{agent-d7b96y43.js → tool-j020r4b8.js} +21 -21
  163. package/dist/chunks/{agent-2d57kztd.js → tool-j15mfg1p.js} +6 -6
  164. package/dist/chunks/{agent-bcwpxhz1.js → tool-j2m1k0mf.js} +5 -5
  165. package/dist/chunks/{agent-j56e64zr.js → tool-j56e64zr.js} +1 -1
  166. package/dist/chunks/{agent-cqtv3ntd.js → tool-jcqz283k.js} +32 -32
  167. package/dist/chunks/{agent-c0mr470r.js → tool-jkhbgvt8.js} +17 -17
  168. package/dist/chunks/{agent-ddjv2rf1.js → tool-js4h49s3.js} +40 -40
  169. package/dist/chunks/{agent-y8zr9mrm.js → tool-jyyhzxje.js} +11 -11
  170. package/dist/chunks/{agent-zh9a0jmt.js → tool-jzcaxwhd.js} +9 -9
  171. package/dist/chunks/{agent-ak1tpw6q.js → tool-k0ageqhp.js} +2 -2
  172. package/dist/chunks/{agent-k3c624dm.js → tool-k3c624dm.js} +3 -3
  173. package/dist/chunks/{agent-2e96adxv.js → tool-k9avtbwf.js} +6 -6
  174. package/dist/chunks/{agent-9gfem6tc.js → tool-k9gc50dd.js} +3 -3
  175. package/dist/chunks/{agent-5h6kfehj.js → tool-kc4njv9x.js} +3 -3
  176. package/dist/chunks/{agent-d858xzj7.js → tool-kkp8zx71.js} +4 -4
  177. package/dist/chunks/{agent-mjhmz48d.js → tool-kkye0g1c.js} +31 -31
  178. package/dist/chunks/{agent-60ng53x8.js → tool-kkzze73x.js} +9 -9
  179. package/dist/chunks/{agent-k9kj6xed.js → tool-knb7evpn.js} +6 -6
  180. package/dist/chunks/tool-kt46ze3v.js +26 -0
  181. package/dist/chunks/{agent-d72aarx9.js → tool-kwy905ev.js} +15 -15
  182. package/dist/chunks/{agent-wmvgvm9g.js → tool-kzb7j8ba.js} +10 -10
  183. package/dist/chunks/{agent-m0jqrx5p.js → tool-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/{agent-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{agent-bd3mgvaw.js → tool-m3k2zkjm.js} +8 -8
  186. package/dist/chunks/{agent-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/tool-mb4e1d4e.js +60 -0
  188. package/dist/chunks/{agent-eyxhp5jq.js → tool-mb7h37gf.js} +15 -15
  189. package/dist/chunks/{agent-w28840qy.js → tool-mbdx9w3r.js} +13 -13
  190. package/dist/chunks/{agent-geknskw0.js → tool-mjanay65.js} +18 -18
  191. package/dist/chunks/{agent-b7b1bvw5.js → tool-mpqms32c.js} +90 -90
  192. package/dist/chunks/{agent-35zpsenw.js → tool-ms8h2pfd.js} +21 -21
  193. package/dist/chunks/{agent-mhkvc446.js → tool-mvfsc1pv.js} +3 -3
  194. package/dist/chunks/{agent-yp1ctj3c.js → tool-n36tynep.js} +10 -10
  195. package/dist/chunks/{agent-zqq6ndec.js → tool-n9asgjfy.js} +42 -42
  196. package/dist/chunks/{agent-36x1j5qv.js → tool-ncb7wxzt.js} +8 -8
  197. package/dist/chunks/{agent-6hft2jmv.js → tool-ne9ed71s.js} +4 -4
  198. package/dist/chunks/{agent-nng2ktcm.js → tool-nng2ktcm.js} +2 -2
  199. package/dist/chunks/{agent-phr2avsp.js → tool-nqxt4fmg.js} +10 -10
  200. package/dist/chunks/{agent-273f65v8.js → tool-nstzyrqb.js} +37 -37
  201. package/dist/chunks/{agent-wavj6ccy.js → tool-nt5fy3c2.js} +13 -13
  202. package/dist/chunks/{agent-p28j5sbe.js → tool-p28j5sbe.js} +2 -2
  203. package/dist/chunks/{agent-abxv7css.js → tool-p2tjmvvm.js} +9 -9
  204. package/dist/chunks/{agent-qyjnxv1z.js → tool-p2vw6waa.js} +1 -1
  205. package/dist/chunks/{agent-3g2nmk79.js → tool-p7g6sxqe.js} +29 -29
  206. package/dist/chunks/{agent-03heh432.js → tool-p8bq92d1.js} +37 -37
  207. package/dist/chunks/{agent-kbsfj81n.js → tool-p8gjgk5f.js} +15 -15
  208. package/dist/chunks/{agent-27s8bqjz.js → tool-p8jkva87.js} +7 -7
  209. package/dist/chunks/{agent-h6b8nah8.js → tool-pc244188.js} +4 -4
  210. package/dist/chunks/{agent-5758n57s.js → tool-pd7bzezz.js} +16 -16
  211. package/dist/chunks/{agent-xm6kpq0w.js → tool-pe8d6tfn.js} +21 -21
  212. package/dist/chunks/{agent-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{agent-pknna89w.js → tool-pknna89w.js} +1 -1
  214. package/dist/chunks/{agent-gw84rn5c.js → tool-pnbm2g53.js} +31 -31
  215. package/dist/chunks/{agent-k7myrtme.js → tool-px76j0pk.js} +9 -9
  216. package/dist/chunks/{agent-mjq5y8n2.js → tool-pyd82k98.js} +3 -3
  217. package/dist/chunks/{agent-ggcsatw5.js → tool-pz9ad17p.js} +3 -3
  218. package/dist/chunks/{agent-dv98y0zm.js → tool-q65dfppr.js} +32 -32
  219. package/dist/chunks/{agent-py6xadtm.js → tool-q7r7q8jv.js} +34 -34
  220. package/dist/chunks/tool-qapv375x.js +4 -0
  221. package/dist/chunks/{agent-xy5p8xg6.js → tool-qmh3qcq0.js} +20 -20
  222. package/dist/chunks/{agent-qsdy395h.js → tool-qsdy395h.js} +1 -1
  223. package/dist/chunks/{agent-mhh2wvta.js → tool-qvmr90x2.js} +16 -16
  224. package/dist/chunks/{agent-5taftw3n.js → tool-qwvthsc1.js} +9 -9
  225. package/dist/chunks/{agent-hvge4a7b.js → tool-qxdz2nh0.js} +21 -21
  226. package/dist/chunks/{agent-d4sp9rf7.js → tool-qz02d4gv.js} +13 -15
  227. package/dist/chunks/{agent-r8xr0va3.js → tool-r8xr0va3.js} +1 -1
  228. package/dist/chunks/{agent-vgmb0hzp.js → tool-r9ezg2qv.js} +24 -24
  229. package/dist/chunks/{agent-wk5z6jzv.js → tool-r9w3djhf.js} +9 -9
  230. package/dist/chunks/{agent-as7cad1b.js → tool-rb4bj52x.js} +9 -9
  231. package/dist/chunks/{agent-g71wmdzk.js → tool-rcs6zvep.js} +141 -141
  232. package/dist/chunks/{agent-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  233. package/dist/chunks/{agent-rhjbct0v.js → tool-rhjbct0v.js} +1 -1
  234. package/dist/chunks/{agent-zeh9ct20.js → tool-rq775frq.js} +2 -2
  235. package/dist/chunks/{agent-vwpw6jr3.js → tool-rs2j7e68.js} +47 -47
  236. package/dist/chunks/{agent-5zs99abn.js → tool-rtjdhp7j.js} +7 -7
  237. package/dist/chunks/{agent-bv2m8j2f.js → tool-s5zt3m1z.js} +10 -10
  238. package/dist/chunks/{agent-kcjc17br.js → tool-sa82vsrh.js} +13 -13
  239. package/dist/chunks/{agent-9aaedtqt.js → tool-sbnjvcyv.js} +6 -6
  240. package/dist/chunks/{agent-178916dd.js → tool-se013gpv.js} +8 -8
  241. package/dist/chunks/{agent-nxnb0v57.js → tool-shtf6z8w.js} +5 -5
  242. package/dist/chunks/{agent-348gb89b.js → tool-t1835t6e.js} +28 -28
  243. package/dist/chunks/{agent-t9zs3egg.js → tool-t9zs3egg.js} +1 -1
  244. package/dist/chunks/{agent-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{agent-89znhe33.js → tool-tcezcvh9.js} +4 -4
  246. package/dist/chunks/{agent-tdstcens.js → tool-tdstcens.js} +1 -1
  247. package/dist/chunks/{agent-pj88hhxz.js → tool-tkg6e3eb.js} +14 -14
  248. package/dist/chunks/{agent-psw0wqrt.js → tool-tp36e26b.js} +25 -25
  249. package/dist/chunks/{agent-x9hcbvs5.js → tool-tr36y7yy.js} +17 -17
  250. package/dist/chunks/{agent-ww76mnf4.js → tool-tvdq5ra2.js} +34 -34
  251. package/dist/chunks/{agent-tvtrv512.js → tool-tvtrv512.js} +1 -1
  252. package/dist/chunks/{agent-v452jk09.js → tool-ty38hkz0.js} +21 -21
  253. package/dist/chunks/{agent-fpx40r7k.js → tool-v199xdse.js} +16 -16
  254. package/dist/chunks/{agent-dxk73e61.js → tool-v2a3veg8.js} +8 -8
  255. package/dist/chunks/{agent-b27vhd2z.js → tool-v5dkyp31.js} +4 -4
  256. package/dist/chunks/{agent-veqvce7d.js → tool-veqvce7d.js} +1 -1
  257. package/dist/chunks/{agent-f7xr7q4y.js → tool-vx3ypjf6.js} +24 -24
  258. package/dist/chunks/{agent-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{agent-xgec815d.js → tool-w0by17jr.js} +27 -27
  260. package/dist/chunks/{agent-cwp77bqy.js → tool-w0exn9qd.js} +32 -32
  261. package/dist/chunks/{agent-rvs7jmzp.js → tool-w2zggh9c.js} +48 -48
  262. package/dist/chunks/{agent-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{agent-7fqa2d9w.js → tool-wcbhsh5x.js} +22 -22
  264. package/dist/chunks/{agent-wd87259q.js → tool-wd87259q.js} +1 -1
  265. package/dist/chunks/{agent-cpvt4mkc.js → tool-wfrx59p8.js} +1 -1
  266. package/dist/chunks/{agent-ykcyj6g6.js → tool-wm0tnrwj.js} +11 -11
  267. package/dist/chunks/{agent-eqfk2yd1.js → tool-wnzj6q9c.js} +8 -8
  268. package/dist/chunks/{agent-wyx8ky32.js → tool-wrcedmy5.js} +18 -18
  269. package/dist/chunks/{agent-ynx1zemv.js → tool-wt8p9awf.js} +25 -25
  270. package/dist/chunks/{agent-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{agent-mf1nywb3.js → tool-x38yyj79.js} +23 -23
  272. package/dist/chunks/{agent-fkf189j2.js → tool-xgamz1br.js} +7 -7
  273. package/dist/chunks/{agent-r23bba5b.js → tool-xhfakj7b.js} +29 -29
  274. package/dist/chunks/{agent-5dr2wz0s.js → tool-xq2w2bqm.js} +16 -16
  275. package/dist/chunks/{agent-5544h6er.js → tool-xqsp1avr.js} +13 -13
  276. package/dist/chunks/{agent-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{agent-43zyxgq8.js → tool-ybw5q8sx.js} +1 -1
  278. package/dist/chunks/{agent-34gj4vpn.js → tool-yqjvyrkg.js} +20 -20
  279. package/dist/chunks/{agent-xydn9a3q.js → tool-yrcva06b.js} +60 -60
  280. package/dist/chunks/{agent-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{agent-yrznvahk.js → tool-yrznvahk.js} +2 -2
  282. package/dist/chunks/{agent-gv6a8nnw.js → tool-yyb7tjpc.js} +2 -2
  283. package/dist/chunks/{agent-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{agent-z63w68vq.js → tool-z63w68vq.js} +2 -2
  285. package/dist/chunks/{agent-s2jjmt0q.js → tool-zf1tr6ve.js} +3 -3
  286. package/dist/chunks/{agent-nrm6eza0.js → tool-zfn6rd9c.js} +6 -6
  287. package/dist/chunks/{agent-k8awv4zh.js → tool-zjy3ah92.js} +2 -2
  288. package/dist/chunks/{agent-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{agent-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +123 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +76 -76
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +220 -220
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +7 -7
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +73 -73
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +1 -1
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +79 -79
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +357 -356
  471. package/dist/location.js +84 -84
  472. package/dist/managed-policy.js +10 -0
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +77 -77
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +106 -106
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +87 -87
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +119 -119
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +93 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -158
  541. package/dist/plugin/sdk.js +73 -73
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +350 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +222 -222
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +83 -83
  562. package/dist/provider.js +92 -92
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +95 -95
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +223 -223
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +83 -83
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +1 -1
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +74 -74
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +219 -219
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +213 -213
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +7 -7
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +104 -104
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +86 -86
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +104 -104
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +106 -106
  647. package/dist/tool/plugin/subagent.js +210 -210
  648. package/dist/tool/plugin/webfetch.js +111 -111
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +115 -115
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +16 -16
  655. package/dist/types/config/plugin/policy.d.ts +2 -1
  656. package/dist/types/managed-policy.d.ts +19 -0
  657. package/dist/types/plugin/internal.d.ts +4 -2
  658. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +91 -91
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +1 -1
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +90 -90
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +88 -88
  688. package/dist/websearch.js +83 -83
  689. package/dist/wellknown/plugin.js +73 -73
  690. package/dist/wellknown.js +76 -76
  691. package/dist/workspace/driver.js +3 -3
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +73 -73
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +88 -88
  698. package/dist/worktree.js +95 -95
  699. package/package.json +8 -8
  700. package/dist/chunks/agent-6kdq0pjd.js +0 -4
  701. package/dist/chunks/agent-6x899grp.js +0 -49
  702. package/dist/chunks/agent-eceerw08.js +0 -252
  703. package/dist/chunks/agent-rap9a73h.js +0 -18
  704. package/dist/chunks/agent-wgj0x3s5.js +0 -26
  705. /package/dist/chunks/{agent-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{agent-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{agent-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{agent-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{agent-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{agent-24dcb14g.js → tool-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{agent-2710q6r3.js → tool-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{agent-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{agent-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{agent-359p4xyc.js → tool-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{agent-3asan66x.js → tool-3asan66x.js} +0 -0
  716. /package/dist/chunks/{agent-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{agent-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{agent-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{agent-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{agent-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{agent-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{agent-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{agent-53557ph1.js → tool-53557ph1.js} +0 -0
  724. /package/dist/chunks/{agent-550bvhaj.js → tool-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{agent-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{agent-6prwharc.js → tool-6prwharc.js} +0 -0
  727. /package/dist/chunks/{agent-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{agent-7m9af43g.js → tool-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{agent-7w99qc9d.js → tool-7w99qc9d.js} +0 -0
  730. /package/dist/chunks/{agent-822emrt2.js → tool-822emrt2.js} +0 -0
  731. /package/dist/chunks/{agent-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{agent-8n3pysct.js → tool-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{agent-922hggd3.js → tool-922hggd3.js} +0 -0
  734. /package/dist/chunks/{agent-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{agent-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{agent-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{agent-af5trqkr.js → tool-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{agent-afrmfg78.js → tool-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{agent-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{agent-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{agent-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{agent-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{agent-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{agent-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{agent-d9fn303g.js → tool-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{agent-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{agent-dajrwvna.js → tool-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{agent-dap0rakb.js → tool-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{agent-df08tz66.js → tool-df08tz66.js} +0 -0
  750. /package/dist/chunks/{agent-dy18nga0.js → tool-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{agent-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{agent-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{agent-ec1grn59.js → tool-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{agent-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{agent-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{agent-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{agent-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{agent-faypxj3z.js → tool-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{agent-fd410y7t.js → tool-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{agent-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{agent-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{agent-g86h250q.js → tool-g86h250q.js} +0 -0
  763. /package/dist/chunks/{agent-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{agent-gftt206x.js → tool-gftt206x.js} +0 -0
  765. /package/dist/chunks/{agent-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{agent-hk9envan.js → tool-hk9envan.js} +0 -0
  767. /package/dist/chunks/{agent-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{agent-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{agent-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{agent-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{agent-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{agent-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{agent-mp448xyj.js → tool-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{agent-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{agent-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{agent-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{agent-njntx4h6.js → tool-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{agent-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{agent-q74kybfr.js → tool-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{agent-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{agent-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{agent-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{agent-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{agent-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{agent-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{agent-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{agent-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{agent-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{agent-twg0f83k.js → tool-twg0f83k.js} +0 -0
  790. /package/dist/chunks/{agent-w803qqfp.js → tool-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{agent-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{agent-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{agent-wtztk69x.js → tool-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{agent-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{agent-x61499pn.js → tool-x61499pn.js} +0 -0
  796. /package/dist/chunks/{agent-y44na4kk.js → tool-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{agent-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{agent-y8f7s663.js → tool-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{agent-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{agent-ym463w8f.js → tool-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{agent-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./agent-rhjbct0v.js";
6
+ } from "./tool-rhjbct0v.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./agent-zqq6ndec.js";
9
+ } from "./tool-n9asgjfy.js";
10
10
  import {
11
- Service38,
12
- node41
13
- } from "./agent-rvs7jmzp.js";
11
+ Service24,
12
+ node27
13
+ } from "./tool-w2zggh9c.js";
14
14
  import {
15
15
  namespace2,
16
- name13
17
- } from "./agent-2ajemesj.js";
16
+ name14
17
+ } from "./tool-dhj1bndq.js";
18
18
  import {
19
19
  __export
20
- } from "./agent-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions5 = {};
24
- __export(exports_instructions5, {
25
- McpInstructions: () => exports_instructions5,
26
- Service: () => Service34,
27
- layer: () => layer11,
28
- node: () => node37
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service22,
27
+ layer: () => layer10,
28
+ node: () => node25
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,11 +61,11 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service34 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service22 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer11 = Layer.effect(Service34, Effect.gen(function* () {
67
- const mcp = yield* Service38;
68
- return Service34.of({
66
+ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
67
+ const mcp = yield* Service24;
68
+ return Service22.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
70
  const source = (value) => make20({
71
71
  key: Key3.make("core/mcp-guidance"),
@@ -86,7 +86,7 @@ var layer11 = Layer.effect(Service34, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service34, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node37 = makeLocationNode({ service: Service34, layer: layer11, deps: [node41] });
99
+ var node25 = makeLocationNode({ service: Service22, layer: layer10, deps: [node27] });
100
100
 
101
- export { Service34, layer11, node37, exports_instructions5 };
101
+ export { Service22, layer10, node25, exports_instructions4 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry3,
11
- Info: () => Info17,
10
+ Entry: () => Entry4,
11
+ Info: () => Info15,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry3 = Schema.Union([
19
+ var Entry4 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
82
+ var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info17, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info15, exports_lsp };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./agent-43zyxgq8.js";
5
+ } from "./tool-ybw5q8sx.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./agent-nrm6eza0.js";
11
+ } from "./tool-zfn6rd9c.js";
12
12
  import {
13
13
  __export
14
- } from "./agent-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./agent-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./agent-pj88hhxz.js";
5
+ Service80,
6
+ node84
7
+ } from "./tool-tkg6e3eb.js";
8
8
  import {
9
- Service71,
10
- node74
11
- } from "./agent-c85qzh5t.js";
9
+ Service45,
10
+ node48
11
+ } from "./tool-9dnsb0hw.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./agent-89znhe33.js";
14
+ names3
15
+ } from "./tool-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./agent-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: () => Service70,
26
- configured: () => configured10,
24
+ Options: () => Options4,
25
+ Service: () => Service44,
26
+ configured: () => configured4,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer24,
29
- node: () => node73,
28
+ layer: () => layer16,
29
+ node: () => node47,
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 Options4 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service70 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service44 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(Service70, Effect.gen(function* () {
62
- const location = yield* Service79;
63
- const ripgrep = yield* Service71;
61
+ var ripgrepLayer2 = Layer.effect(Service44, Effect.gen(function* () {
62
+ const location = yield* Service80;
63
+ const ripgrep = yield* Service45;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service70, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service70, 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 Service70.of({
108
+ return Service44.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(Service70, Effect.gen(function* () {
116
- const location = yield* Service79;
115
+ var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
116
+ const location = yield* Service80;
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(Service70, 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 Service70.of({
129
+ return Service44.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service70.of({
134
+ return Service44.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(Service70, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer24 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service79;
177
+ var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service80;
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: Service70, layer: layer24(options), deps: [node83, node74] });
185
+ function configured4(options) {
186
+ return makeLocationNode({ service: Service44, layer: layer16(options), deps: [node84, node48] });
187
187
  }
188
- var node73 = configured10();
188
+ var node47 = configured4();
189
189
 
190
- export { Options10, Service70, ripgrepLayer2, fffLayer2, layer24, configured10, node73, exports_search };
190
+ export { Options4, Service44, ripgrepLayer2, fffLayer2, layer16, configured4, node47, exports_search };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service79
3
- } from "./agent-pj88hhxz.js";
2
+ Service80
3
+ } from "./tool-tkg6e3eb.js";
4
4
  import {
5
5
  latest2,
6
- Service50
7
- } from "./agent-bkyn6bwe.js";
6
+ Service47
7
+ } from "./tool-c14p3nf7.js";
8
8
  import {
9
- Service14
10
- } from "./agent-2dd34nca.js";
9
+ Service30
10
+ } from "./tool-953ef62m.js";
11
11
  import {
12
- make9
13
- } from "./agent-mhkvc446.js";
12
+ make4
13
+ } from "./tool-mvfsc1pv.js";
14
14
  import {
15
15
  observe2
16
- } from "./agent-qsdy395h.js";
16
+ } from "./tool-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./agent-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin35
25
+ Plugin: () => Plugin24
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
30
30
  import { Npm } from "@opencode/util/npm";
31
31
  import { AppProcess } from "@opencode/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin35 = define({
33
+ var Plugin24 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
- const config = yield* Service50;
37
- const formatter = yield* Service14;
36
+ const config = yield* Service47;
37
+ const formatter = yield* Service30;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
- const location = yield* Service79;
40
+ const location = yield* Service80;
41
41
  const npm = yield* Npm.Service;
42
42
  const processes = yield* AppProcess.Service;
43
43
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -45,7 +45,7 @@ var Plugin35 = define({
45
45
  const configured = latest2(loaded.entries, "formatter");
46
46
  if (!configured)
47
47
  return;
48
- const builtIns = make9({
48
+ const builtIns = make4({
49
49
  directory: location.directory,
50
50
  worktree: location.project.directory,
51
51
  fs,
@@ -74,4 +74,4 @@ var Plugin35 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin35, exports_formatter };
77
+ export { Plugin24, exports_formatter };
@@ -1,59 +1,59 @@
1
+ import {
2
+ Service84,
3
+ node88
4
+ } from "./tool-wm0tnrwj.js";
1
5
  import {
2
6
  Service83,
3
7
  node87
4
- } from "./agent-ykcyj6g6.js";
5
- import {
6
- Service82,
7
- node86
8
- } from "./agent-5dr2wz0s.js";
8
+ } from "./tool-xq2w2bqm.js";
9
9
  import {
10
- Service59,
11
- node62
12
- } from "./agent-zwmb00wq.js";
10
+ Service63,
11
+ node66
12
+ } from "./tool-5e9skgpm.js";
13
13
  import {
14
- Service57,
15
- node60
16
- } from "./agent-eqkxs06z.js";
14
+ Service61,
15
+ node64
16
+ } from "./tool-321x2wtd.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./agent-ec1grn59.js";
19
+ } from "./tool-ec1grn59.js";
20
20
  import {
21
21
  make18
22
- } from "./agent-r8xr0va3.js";
22
+ } from "./tool-r8xr0va3.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service55
26
- } from "./agent-ckf8nxjz.js";
25
+ Service58
26
+ } from "./tool-afdssyjb.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./agent-2e96adxv.js";
29
+ } from "./tool-k9avtbwf.js";
30
30
  import {
31
- Service62,
32
- node65
33
- } from "./agent-x9hcbvs5.js";
31
+ Service66,
32
+ node69
33
+ } from "./tool-tr36y7yy.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./agent-h6b8nah8.js";
36
+ } from "./tool-pc244188.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./agent-m2k0n4kz.js";
39
+ } from "./tool-a6h4rwtp.js";
40
40
  import {
41
41
  __export
42
- } from "./agent-9rqn6x4v.js";
42
+ } from "./tool-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service54,
47
+ Service: () => Service57,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer21,
50
- node: () => node58,
49
+ layer: () => layer22,
50
+ node: () => node61,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service54 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service57 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer21 = Layer.effect(Service54, Effect.gen(function* () {
69
- const store = yield* Service62;
70
- const instances = yield* Service57;
71
- const bus = yield* Service82;
72
- const jobs = yield* Service59;
73
- const db = (yield* Service83).db;
68
+ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
69
+ const store = yield* Service66;
70
+ const instances = yield* Service61;
71
+ const bus = yield* Service83;
72
+ const jobs = yield* Service63;
73
+ const db = (yield* Service84).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,7 +82,7 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service55.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -110,7 +110,7 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service54.of({
113
+ return Service57.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node58 = makeGlobalNode({
133
- service: Service54,
134
- layer: layer21,
135
- deps: [node65, node60, node86, node87, node62]
132
+ var node61 = makeGlobalNode({
133
+ service: Service57,
134
+ layer: layer22,
135
+ deps: [node69, node64, node87, node88, node66]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service54, Service54.of({
137
+ var noopLayer3 = Layer.succeed(Service57, Service57.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service54, Service54.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service54, terminal2, layer21, node58, noopLayer3, exports_execution };
146
+ export { Service57, terminal2, layer22, node61, noopLayer3, exports_execution };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service50
4
- } from "./agent-bkyn6bwe.js";
3
+ Service47
4
+ } from "./tool-c14p3nf7.js";
5
5
  import {
6
- Service39
7
- } from "./agent-hvge4a7b.js";
6
+ Service41
7
+ } from "./tool-qxdz2nh0.js";
8
8
  import {
9
9
  observe2
10
- } from "./agent-qsdy395h.js";
10
+ } from "./tool-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./agent-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin45
19
+ Plugin: () => Plugin28
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin45 = define({
23
+ var Plugin28 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service50;
27
- const snapshot = yield* Service39;
26
+ const config = yield* Service47;
27
+ const snapshot = yield* Service41;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin45 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin45, exports_snapshot };
38
+ export { Plugin28, exports_snapshot };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./agent-tazgh4e4.js";
10
+ } from "./tool-tazgh4e4.js";
11
11
  import {
12
- Service79
13
- } from "./agent-pj88hhxz.js";
12
+ Service80
13
+ } from "./tool-tkg6e3eb.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./agent-mf1nywb3.js";
16
+ } from "./tool-x38yyj79.js";
17
17
  import {
18
18
  __export
19
- } from "./agent-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin4,
24
+ Plugin: () => Plugin34,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin4 = define({
33
+ var Plugin34 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service79;
36
+ const location = yield* Service80;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin4, exports_hg };
191
+ export { Plugin34, exports_hg };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./agent-emrn6kk6.js";
4
+ } from "./tool-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./agent-27s8bqjz.js";
7
+ } from "./tool-p8jkva87.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./agent-3w5fmr99.js";
4
+ } from "./tool-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./agent-m3fdjcah.js";
8
+ } from "./tool-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./agent-9rqn6x4v.js";
11
+ } from "./tool-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};