@opencode/core 0.0.0-dev-19602 → 0.0.0-dev-19607

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{ripgrep-t550f9t1.js → bus-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{ripgrep-yt0fqk68.js → bus-0f9afca0.js} +5 -5
  9. package/dist/chunks/{ripgrep-1gfvv37n.js → bus-0ffvsmqa.js} +11 -11
  10. package/dist/chunks/{ripgrep-49nxeqwp.js → bus-0h0xn3fd.js} +30 -30
  11. package/dist/chunks/{ripgrep-03cq7ksh.js → bus-0hng8cbp.js} +17 -17
  12. package/dist/chunks/{ripgrep-qgn6gcr1.js → bus-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{ripgrep-kn5jtnf9.js → bus-0n6rap9z.js} +19 -19
  14. package/dist/chunks/{ripgrep-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{ripgrep-31ybmgpq.js → bus-0pwp6vee.js} +17 -17
  16. package/dist/chunks/{ripgrep-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{ripgrep-hcz3zddy.js → bus-0r7yqxbf.js} +5 -5
  18. package/dist/chunks/{ripgrep-8j1202qn.js → bus-11nsfp7x.js} +23 -23
  19. package/dist/chunks/{ripgrep-gn2hfjap.js → bus-15nepkqg.js} +8 -8
  20. package/dist/chunks/{ripgrep-p0b4ytnr.js → bus-15zevn5w.js} +6 -6
  21. package/dist/chunks/{ripgrep-nw2nz702.js → bus-179189h4.js} +4 -4
  22. package/dist/chunks/{ripgrep-ds2g25h4.js → bus-1c2v1v3n.js} +32 -32
  23. package/dist/chunks/{ripgrep-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  24. package/dist/chunks/bus-1m7ztpz9.js +26 -0
  25. package/dist/chunks/{ripgrep-hma6wv7h.js → bus-1p84h329.js} +18 -18
  26. package/dist/chunks/{ripgrep-0sm34qmf.js → bus-1vh9c756.js} +17 -17
  27. package/dist/chunks/{ripgrep-czw1qt7p.js → bus-1xj9a01p.js} +5 -5
  28. package/dist/chunks/{ripgrep-21r38tys.js → bus-21r38tys.js} +1 -1
  29. package/dist/chunks/{ripgrep-x3qc7sc6.js → bus-236xsrf6.js} +24 -24
  30. package/dist/chunks/{ripgrep-2nv5fzs9.js → bus-2596a819.js} +13 -13
  31. package/dist/chunks/{ripgrep-gmpff112.js → bus-25k60r6z.js} +17 -17
  32. package/dist/chunks/{ripgrep-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{ripgrep-kxm5s6yc.js → bus-2fqncqd8.js} +27 -27
  34. package/dist/chunks/{ripgrep-2jbbv5tb.js → bus-2hhrjxd4.js} +16 -16
  35. package/dist/chunks/{ripgrep-qaw7gzvj.js → bus-2p5j9sv7.js} +17 -17
  36. package/dist/chunks/{ripgrep-q7d9vt9f.js → bus-2ryrfs8t.js} +18 -18
  37. package/dist/chunks/{ripgrep-j6rsnrbc.js → bus-2t9y4ena.js} +22 -22
  38. package/dist/chunks/{ripgrep-6x0gytms.js → bus-2vvyjm96.js} +86 -86
  39. package/dist/chunks/{ripgrep-vskpp35t.js → bus-2wmcpc5j.js} +11 -11
  40. package/dist/chunks/{ripgrep-56gdpj1q.js → bus-33w4ejhs.js} +6 -6
  41. package/dist/chunks/{ripgrep-dpzg5xnq.js → bus-36eabxvj.js} +6 -6
  42. package/dist/chunks/{ripgrep-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{ripgrep-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{ripgrep-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{ripgrep-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{ripgrep-f0xd9knp.js → bus-3vk31qq0.js} +1 -1
  47. package/dist/chunks/{ripgrep-n57z002n.js → bus-3vnz1vry.js} +14 -14
  48. package/dist/chunks/{ripgrep-vcpz2z7s.js → bus-437w8xnq.js} +4 -4
  49. package/dist/chunks/{ripgrep-ksqz3pap.js → bus-4czdean4.js} +19 -19
  50. package/dist/chunks/{ripgrep-3ds7w9ed.js → bus-4fb4zfkv.js} +3 -3
  51. package/dist/chunks/{ripgrep-qwn7812e.js → bus-4ma4crhq.js} +18 -18
  52. package/dist/chunks/{ripgrep-2fgn2we9.js → bus-4sn99hha.js} +5 -5
  53. package/dist/chunks/{ripgrep-1jvw600p.js → bus-4vdg0vy0.js} +32 -32
  54. package/dist/chunks/{ripgrep-892y1dhq.js → bus-4xgsacd1.js} +19 -19
  55. package/dist/chunks/{ripgrep-0t098hqn.js → bus-5d17xbav.js} +5 -5
  56. package/dist/chunks/{ripgrep-5daktx2q.js → bus-5daktx2q.js} +1 -1
  57. package/dist/chunks/{ripgrep-zw0mbbcz.js → bus-5dfrxsm4.js} +8 -8
  58. package/dist/chunks/{ripgrep-4sct5deg.js → bus-5nc0fa0s.js} +23 -23
  59. package/dist/chunks/{ripgrep-2pyh63en.js → bus-5pjsqvg3.js} +22 -22
  60. package/dist/chunks/{ripgrep-e3qxr5gk.js → bus-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{ripgrep-q5zedzf9.js → bus-5rr0th1e.js} +15 -15
  62. package/dist/chunks/{ripgrep-6qwwd18r.js → bus-5rvay4qb.js} +4 -4
  63. package/dist/chunks/{ripgrep-jz1pxar4.js → bus-5t01hw7s.js} +1 -1
  64. package/dist/chunks/{ripgrep-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{ripgrep-m77pw7dw.js → bus-62akg8e4.js} +24 -24
  66. package/dist/chunks/{ripgrep-vvccsdf3.js → bus-63xctefh.js} +6 -6
  67. package/dist/chunks/{ripgrep-669tq793.js → bus-669tq793.js} +1 -1
  68. package/dist/chunks/{ripgrep-p9s0eh58.js → bus-686zvbc5.js} +64 -64
  69. package/dist/chunks/{ripgrep-vfgx9b51.js → bus-6cr8vpfb.js} +3 -3
  70. package/dist/chunks/{ripgrep-2402vzrj.js → bus-6h73sxmp.js} +5 -5
  71. package/dist/chunks/{ripgrep-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{ripgrep-wa698kjv.js → bus-6xf9vr65.js} +51 -51
  73. package/dist/chunks/{ripgrep-71q4at8m.js → bus-71q4at8m.js} +1 -1
  74. package/dist/chunks/{ripgrep-ym7eccym.js → bus-72774a2p.js} +6 -6
  75. package/dist/chunks/{ripgrep-1bbkgx8g.js → bus-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{ripgrep-189gvxgf.js → bus-73z097ay.js} +14 -14
  77. package/dist/chunks/{ripgrep-rg9pm5jb.js → bus-7414g21f.js} +43 -43
  78. package/dist/chunks/{ripgrep-tcs4ev01.js → bus-74ag36aw.js} +19 -19
  79. package/dist/chunks/{ripgrep-a2ejp4ca.js → bus-75tpbtqb.js} +35 -35
  80. package/dist/chunks/{ripgrep-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{ripgrep-6rdgvekc.js → bus-7kj26btf.js} +3 -3
  82. package/dist/chunks/{ripgrep-agmj7b0k.js → bus-7vgsmbaw.js} +9 -9
  83. package/dist/chunks/{ripgrep-7gpx9yxs.js → bus-7zgx3034.js} +18 -18
  84. package/dist/chunks/{ripgrep-tcezcvh9.js → bus-89znhe33.js} +4 -4
  85. package/dist/chunks/{ripgrep-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{ripgrep-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{ripgrep-ajbpkfam.js → bus-8pbhr5rb.js} +11 -11
  88. package/dist/chunks/{ripgrep-wva7n27r.js → bus-8qvaa28h.js} +10 -10
  89. package/dist/chunks/{ripgrep-df5tg79n.js → bus-9a5x4ndh.js} +32 -32
  90. package/dist/chunks/{ripgrep-e1n4w09h.js → bus-9cebcpzz.js} +30 -30
  91. package/dist/chunks/{ripgrep-es6p32db.js → bus-9gwk1d27.js} +310 -310
  92. package/dist/chunks/{ripgrep-9bc93h43.js → bus-9m5kzw0e.js} +11 -11
  93. package/dist/chunks/{ripgrep-y8639ad0.js → bus-9yma6mz2.js} +24 -24
  94. package/dist/chunks/{ripgrep-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{ripgrep-wds0x6j9.js → bus-a3e7ey2w.js} +5 -5
  96. package/dist/chunks/{ripgrep-vpnc1spb.js → bus-a4f8rw7k.js} +11 -11
  97. package/dist/chunks/{ripgrep-aaet6srn.js → bus-aaet6srn.js} +2 -2
  98. package/dist/chunks/{ripgrep-4p3ge18s.js → bus-aef6edcj.js} +11 -11
  99. package/dist/chunks/{ripgrep-44e7s01k.js → bus-aez8skhx.js} +35 -35
  100. package/dist/chunks/{ripgrep-x353b1jt.js → bus-at1kfnmk.js} +8 -8
  101. package/dist/chunks/{ripgrep-8h150kyy.js → bus-atssdtxp.js} +6 -6
  102. package/dist/chunks/{ripgrep-12x6e8th.js → bus-ay1e4s3v.js} +17 -17
  103. package/dist/chunks/{ripgrep-h3qyz6r3.js → bus-b5ky3g00.js} +2 -2
  104. package/dist/chunks/{ripgrep-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{ripgrep-d3tz2ej1.js → bus-b8ey678w.js} +9 -9
  106. package/dist/chunks/{ripgrep-2c7f7wtp.js → bus-bbtrsqmd.js} +28 -28
  107. package/dist/chunks/{ripgrep-8jzp8wqa.js → bus-bc94wkq6.js} +28 -28
  108. package/dist/chunks/{ripgrep-gzbkpp9m.js → bus-bdqrk2vk.js} +4 -4
  109. package/dist/chunks/{ripgrep-8jpwh3cy.js → bus-bje2m678.js} +30 -30
  110. package/dist/chunks/{ripgrep-rxmh2sg9.js → bus-brbkvpcb.js} +14 -14
  111. package/dist/chunks/{ripgrep-kmfbtjhd.js → bus-c3nbwr53.js} +34 -34
  112. package/dist/chunks/{ripgrep-4f0srg1f.js → bus-c72vda60.js} +29 -29
  113. package/dist/chunks/{ripgrep-s2e9xs2h.js → bus-c833tjt1.js} +32 -32
  114. package/dist/chunks/{ripgrep-5j2tm17g.js → bus-c9f7p254.js} +20 -20
  115. package/dist/chunks/{ripgrep-zvt5dnpc.js → bus-ca7w653e.js} +4 -4
  116. package/dist/chunks/{ripgrep-ra713epb.js → bus-cadqg8yk.js} +20 -20
  117. package/dist/chunks/{ripgrep-nwqvjhxj.js → bus-cdvm88eq.js} +9 -9
  118. package/dist/chunks/{ripgrep-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{ripgrep-x8pc9v5x.js → bus-cj2xyb66.js} +20 -20
  120. package/dist/chunks/{ripgrep-ypveyybc.js → bus-cnb5z5cf.js} +11 -11
  121. package/dist/chunks/{ripgrep-67dbk5sq.js → bus-cpng0f85.js} +28 -28
  122. package/dist/chunks/{ripgrep-pj5x48v7.js → bus-cq1ssszz.js} +6 -6
  123. package/dist/chunks/{ripgrep-jdwwbwbn.js → bus-cst62dfw.js} +19 -19
  124. package/dist/chunks/{ripgrep-zt5h3yfa.js → bus-d09006c3.js} +2 -2
  125. package/dist/chunks/{ripgrep-bg6j762k.js → bus-d1e2r7xq.js} +10 -10
  126. package/dist/chunks/{ripgrep-21w4258z.js → bus-dbmkm35e.js} +1 -1
  127. package/dist/chunks/{ripgrep-tdd2jx9c.js → bus-dn2g8ty9.js} +15 -15
  128. package/dist/chunks/{ripgrep-jwcy2c2z.js → bus-dpkg50ah.js} +4 -4
  129. package/dist/chunks/{ripgrep-6aqnmcny.js → bus-dpmm3pd1.js} +30 -30
  130. package/dist/chunks/{ripgrep-bn746h9y.js → bus-e16t29dh.js} +6 -6
  131. package/dist/chunks/{ripgrep-e5nv3ght.js → bus-e5nv3ght.js} +2 -2
  132. package/dist/chunks/{ripgrep-hjt4xg1x.js → bus-e82z9tr0.js} +7 -7
  133. package/dist/chunks/{ripgrep-80wpcwwr.js → bus-eebdtnk6.js} +11 -11
  134. package/dist/chunks/{ripgrep-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{ripgrep-r2zs1qxw.js → bus-engx0f1y.js} +23 -23
  136. package/dist/chunks/{ripgrep-gcngnys8.js → bus-eq4mjx14.js} +28 -28
  137. package/dist/chunks/{ripgrep-38c78d9y.js → bus-erswsgcd.js} +8 -8
  138. package/dist/chunks/{ripgrep-jt7tdy1h.js → bus-ete3mxyp.js} +16 -16
  139. package/dist/chunks/{ripgrep-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{ripgrep-kez65ze9.js → bus-ewp6a6x8.js} +25 -25
  141. package/dist/chunks/{ripgrep-f828m53h.js → bus-f828m53h.js} +2 -2
  142. package/dist/chunks/{ripgrep-k9m5ndvb.js → bus-fcxm0egy.js} +15 -15
  143. package/dist/chunks/{ripgrep-anjeghmy.js → bus-fec9d9pd.js} +60 -60
  144. package/dist/chunks/{ripgrep-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{ripgrep-bajakh74.js → bus-fxqygnfa.js} +4 -4
  146. package/dist/chunks/{ripgrep-xxf1z6td.js → bus-fz5sfred.js} +22 -22
  147. package/dist/chunks/{ripgrep-x6qre90b.js → bus-g4rgasps.js} +11 -11
  148. package/dist/chunks/{ripgrep-w5d72rt0.js → bus-g8n86g3v.js} +2 -2
  149. package/dist/chunks/{ripgrep-97czctv7.js → bus-gbcrwt4m.js} +13 -13
  150. package/dist/chunks/{ripgrep-ah8fqh7n.js → bus-gcrpxwkb.js} +25 -25
  151. package/dist/chunks/{ripgrep-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{ripgrep-cbbc3wgw.js → bus-gemkh5vt.js} +24 -24
  153. package/dist/chunks/{ripgrep-0hg8636t.js → bus-gmjjhz4f.js} +9 -9
  154. package/dist/chunks/{ripgrep-3y9bq3t8.js → bus-gx8hye9g.js} +6 -6
  155. package/dist/chunks/{ripgrep-7h39wxaq.js → bus-gzyaaj9q.js} +13 -13
  156. package/dist/chunks/{ripgrep-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{ripgrep-v7wvwwvc.js → bus-h11wzpyy.js} +22 -22
  158. package/dist/chunks/{ripgrep-jpzcdmvj.js → bus-h3sg4en2.js} +10 -10
  159. package/dist/chunks/{ripgrep-egmb5x89.js → bus-h3ysd6bx.js} +36 -36
  160. package/dist/chunks/{ripgrep-bdd1mh0w.js → bus-h686kfbk.js} +9 -9
  161. package/dist/chunks/{ripgrep-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{ripgrep-m86bnw2c.js → bus-h7ygw6q4.js} +9 -9
  163. package/dist/chunks/{ripgrep-nev01g0y.js → bus-hp23vqgj.js} +4 -4
  164. package/dist/chunks/{ripgrep-0tes6vj0.js → bus-hs3grr87.js} +21 -21
  165. package/dist/chunks/{ripgrep-tyyv5ce2.js → bus-hspc2tk9.js} +1 -1
  166. package/dist/chunks/{ripgrep-j78hbbge.js → bus-hvk5xh9a.js} +43 -43
  167. package/dist/chunks/{ripgrep-2fcjxh44.js → bus-hy39tjkp.js} +9 -9
  168. package/dist/chunks/{ripgrep-ddxnayy4.js → bus-j2149bqs.js} +11 -11
  169. package/dist/chunks/{ripgrep-mx4mv9ny.js → bus-j35w4m74.js} +6 -6
  170. package/dist/chunks/{ripgrep-j56e64zr.js → bus-j56e64zr.js} +1 -1
  171. package/dist/chunks/{ripgrep-g97bb4fb.js → bus-jca4demv.js} +2 -2
  172. package/dist/chunks/{ripgrep-n91t41cy.js → bus-jcmyxw9c.js} +12 -12
  173. package/dist/chunks/{ripgrep-t990yqw6.js → bus-jdc9ax8k.js} +10 -10
  174. package/dist/chunks/{ripgrep-3vde3pvj.js → bus-jg1rg3jc.js} +43 -43
  175. package/dist/chunks/{ripgrep-0df5h2qy.js → bus-jgpr3qf1.js} +27 -27
  176. package/dist/chunks/{ripgrep-y83j6qwg.js → bus-jssqjg8j.js} +7 -7
  177. package/dist/chunks/{ripgrep-et0rkxxj.js → bus-k5m0fz1p.js} +8 -8
  178. package/dist/chunks/{ripgrep-4y8bm76w.js → bus-kdh23bg8.js} +19 -19
  179. package/dist/chunks/{ripgrep-5d42m44n.js → bus-kffdrsz9.js} +5 -5
  180. package/dist/chunks/{ripgrep-k1jy5w06.js → bus-km7e3hxy.js} +1 -1
  181. package/dist/chunks/{ripgrep-4pa8q4z1.js → bus-ktjqq88n.js} +32 -32
  182. package/dist/chunks/{ripgrep-49p1g939.js → bus-kxdh0s6n.js} +11 -11
  183. package/dist/chunks/{ripgrep-nk1anpaj.js → bus-m4gm00jg.js} +7 -7
  184. package/dist/chunks/{ripgrep-4q6wvnkn.js → bus-m4sagrtb.js} +49 -49
  185. package/dist/chunks/{ripgrep-53agvevm.js → bus-m63gtq16.js} +11 -11
  186. package/dist/chunks/{ripgrep-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{ripgrep-avsbzx7p.js → bus-mca7v45c.js} +32 -32
  188. package/dist/chunks/{ripgrep-kk00bynn.js → bus-mjymc32g.js} +21 -21
  189. package/dist/chunks/{ripgrep-mxr7eecd.js → bus-mx0gp0c3.js} +33 -33
  190. package/dist/chunks/{ripgrep-5sdgc7vh.js → bus-mz0r0wg6.js} +18 -18
  191. package/dist/chunks/{ripgrep-k9avwfq5.js → bus-n81xd9d5.js} +1 -1
  192. package/dist/chunks/{ripgrep-jztv3xwp.js → bus-nkj12b6c.js} +179 -179
  193. package/dist/chunks/{ripgrep-4vrcg479.js → bus-nnq4n2qn.js} +46 -46
  194. package/dist/chunks/{ripgrep-gfe8pz8k.js → bus-nrtvwtgm.js} +4 -4
  195. package/dist/chunks/{ripgrep-2yqkqxm6.js → bus-nzh27kh4.js} +13 -13
  196. package/dist/chunks/{ripgrep-qfhza6js.js → bus-nzzy63ds.js} +5 -5
  197. package/dist/chunks/{ripgrep-06yesm3b.js → bus-p33wnvsh.js} +23 -23
  198. package/dist/chunks/{ripgrep-yseaw3zk.js → bus-p53n7dng.js} +30 -30
  199. package/dist/chunks/{ripgrep-88sz8qcd.js → bus-paegk39x.js} +4 -4
  200. package/dist/chunks/{ripgrep-xean7qwc.js → bus-pbky2mmf.js} +27 -27
  201. package/dist/chunks/{ripgrep-8mnq8fdw.js → bus-pbp9sz76.js} +4 -4
  202. package/dist/chunks/bus-pf31ssb9.js +18 -0
  203. package/dist/chunks/{ripgrep-20cnsgn6.js → bus-pfrpta5e.js} +6 -6
  204. package/dist/chunks/{ripgrep-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{ripgrep-pknna89w.js → bus-pknna89w.js} +1 -1
  206. package/dist/chunks/{ripgrep-2syw43ez.js → bus-ppj42jsj.js} +12 -12
  207. package/dist/chunks/{ripgrep-cd8pzhxg.js → bus-pw2ze8eb.js} +32 -32
  208. package/dist/chunks/{ripgrep-mj489v08.js → bus-pwpvhpkp.js} +18 -18
  209. package/dist/chunks/{ripgrep-yedx64dk.js → bus-q09v2a5f.js} +4 -4
  210. package/dist/chunks/{ripgrep-3j8sdtpz.js → bus-q2b1ymqp.js} +4 -4
  211. package/dist/chunks/{ripgrep-5epte933.js → bus-q3t37ft6.js} +3 -3
  212. package/dist/chunks/{ripgrep-5jz398fa.js → bus-q529tzg0.js} +23 -23
  213. package/dist/chunks/{ripgrep-qf4kcv83.js → bus-q73r15kw.js} +9 -9
  214. package/dist/chunks/{ripgrep-eb0ks5fv.js → bus-q7wya2ft.js} +10 -10
  215. package/dist/chunks/bus-qapv375x.js +4 -0
  216. package/dist/chunks/{ripgrep-9gf5hqrf.js → bus-qed01h9c.js} +67 -67
  217. package/dist/chunks/{ripgrep-ezcbab6y.js → bus-qrs9zw48.js} +11 -11
  218. package/dist/chunks/{ripgrep-qsdy395h.js → bus-qsdy395h.js} +1 -1
  219. package/dist/chunks/{ripgrep-nzqx2mf8.js → bus-qyeevtht.js} +41 -41
  220. package/dist/chunks/{ripgrep-h6r3nrb9.js → bus-r55vasa2.js} +4 -4
  221. package/dist/chunks/{ripgrep-r9mregkx.js → bus-r9mregkx.js} +2 -2
  222. package/dist/chunks/{ripgrep-3gh58dm9.js → bus-r9nkdn48.js} +5 -5
  223. package/dist/chunks/{ripgrep-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{ripgrep-tex4jp26.js → bus-rkhcyd8j.js} +11 -11
  225. package/dist/chunks/{ripgrep-9jc96w9w.js → bus-sg1mp0wp.js} +28 -28
  226. package/dist/chunks/{ripgrep-3g5g2h75.js → bus-sm8rghk4.js} +13 -13
  227. package/dist/chunks/{ripgrep-60sb5knf.js → bus-ss6xz6nm.js} +11 -11
  228. package/dist/chunks/{ripgrep-8w01d1n2.js → bus-stb1hwq0.js} +15 -15
  229. package/dist/chunks/{ripgrep-t13q6zse.js → bus-t32f9ypw.js} +14 -14
  230. package/dist/chunks/{ripgrep-ptse1bjf.js → bus-t3qrjm11.js} +34 -34
  231. package/dist/chunks/{ripgrep-pcqp5rgh.js → bus-t402yjt7.js} +24 -24
  232. package/dist/chunks/{ripgrep-rt5bks5t.js → bus-t5t549nc.js} +20 -20
  233. package/dist/chunks/{ripgrep-w9vf9qqj.js → bus-tat11k01.js} +9 -9
  234. package/dist/chunks/{ripgrep-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{ripgrep-scq4khx8.js → bus-tcg29b4q.js} +1 -1
  236. package/dist/chunks/{ripgrep-84h9x75f.js → bus-tdhe5xga.js} +11 -11
  237. package/dist/chunks/{ripgrep-tdstcens.js → bus-tdstcens.js} +1 -1
  238. package/dist/chunks/{ripgrep-e5vq6wef.js → bus-te6cpsjw.js} +4 -4
  239. package/dist/chunks/{ripgrep-37zh6x8p.js → bus-th34e5xy.js} +11 -11
  240. package/dist/chunks/{ripgrep-gv6a8nnw.js → bus-th5km1p3.js} +5 -5
  241. package/dist/chunks/{ripgrep-73gmm198.js → bus-tkmwgdpd.js} +7 -7
  242. package/dist/chunks/{ripgrep-rsz70btv.js → bus-tsg9kv8a.js} +12 -12
  243. package/dist/chunks/{ripgrep-tvtrv512.js → bus-tvtrv512.js} +1 -1
  244. package/dist/chunks/{ripgrep-ag9w8cw1.js → bus-tz2bjj40.js} +5 -5
  245. package/dist/chunks/{ripgrep-124zgskp.js → bus-v1ksr1cs.js} +5 -5
  246. package/dist/chunks/{ripgrep-bs81dhpw.js → bus-v21t5zre.js} +24 -24
  247. package/dist/chunks/{ripgrep-yp1jwc24.js → bus-v2tpmsmj.js} +41 -41
  248. package/dist/chunks/{ripgrep-7b15y959.js → bus-v4hmzr0r.js} +8 -8
  249. package/dist/chunks/{ripgrep-veqvce7d.js → bus-veqvce7d.js} +1 -1
  250. package/dist/chunks/{ripgrep-rp1syd7b.js → bus-vgg4xkgc.js} +5 -5
  251. package/dist/chunks/{ripgrep-79gxnefz.js → bus-vw8bwat5.js} +28 -28
  252. package/dist/chunks/{ripgrep-z9pcy3hm.js → bus-vxn7m0sk.js} +5 -5
  253. package/dist/chunks/{ripgrep-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{ripgrep-9pbcs2te.js → bus-w0sf05pe.js} +4 -4
  255. package/dist/chunks/{ripgrep-94325gp6.js → bus-w35y2yw8.js} +37 -37
  256. package/dist/chunks/{ripgrep-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{ripgrep-k9heqbmv.js → bus-w5k3gg8r.js} +94 -94
  258. package/dist/chunks/{ripgrep-4rr9ghsb.js → bus-w6dzfd7x.js} +12 -12
  259. package/dist/chunks/{ripgrep-gr2hg8ez.js → bus-wb72v9a5.js} +15 -15
  260. package/dist/chunks/{ripgrep-wd87259q.js → bus-wd87259q.js} +1 -1
  261. package/dist/chunks/{ripgrep-5rtg8v4f.js → bus-wq4mgxca.js} +4 -4
  262. package/dist/chunks/{ripgrep-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{ripgrep-j2cgy6et.js → bus-x60djdrf.js} +27 -27
  264. package/dist/chunks/bus-x88d9nzm.js +251 -0
  265. package/dist/chunks/{ripgrep-a9tqjgec.js → bus-xevfw74a.js} +27 -27
  266. package/dist/chunks/{ripgrep-mhwrm0j5.js → bus-xp1v9ajb.js} +28 -28
  267. package/dist/chunks/{ripgrep-3wkcfg07.js → bus-xpfz5w62.js} +6 -6
  268. package/dist/chunks/{ripgrep-fv5ds83k.js → bus-xpgn474g.js} +12 -12
  269. package/dist/chunks/{ripgrep-h4tg60r9.js → bus-xsxe7432.js} +9 -9
  270. package/dist/chunks/{ripgrep-66r4fn97.js → bus-xx2kx86r.js} +42 -42
  271. package/dist/chunks/{ripgrep-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{ripgrep-h4121yxn.js → bus-ycxk46z7.js} +47 -47
  273. package/dist/chunks/{ripgrep-8vb99h00.js → bus-yd9ketrd.js} +3 -3
  274. package/dist/chunks/{ripgrep-e5atvjy6.js → bus-yjjca98t.js} +14 -14
  275. package/dist/chunks/{ripgrep-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{ripgrep-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{ripgrep-s4enseaf.js → bus-yrznvahk.js} +2 -2
  278. package/dist/chunks/{ripgrep-9cc1d2dv.js → bus-yx0rmv9r.js} +8 -8
  279. package/dist/chunks/{ripgrep-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{ripgrep-29x78va6.js → bus-z63w68vq.js} +6 -6
  281. package/dist/chunks/{ripgrep-bzryztkv.js → bus-zakjc7j6.js} +31 -31
  282. package/dist/chunks/{ripgrep-sev8k0v9.js → bus-zbj7r6th.js} +10 -10
  283. package/dist/chunks/{ripgrep-he5x26st.js → bus-zcxhpjvf.js} +15 -15
  284. package/dist/chunks/{ripgrep-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{ripgrep-edbcpkh6.js → bus-zg4yt3jb.js} +35 -35
  286. package/dist/chunks/{ripgrep-r8p0psj5.js → bus-zn1xqtaw.js} +28 -28
  287. package/dist/chunks/{ripgrep-f4mjzmv8.js → bus-zp0g5kd9.js} +19 -19
  288. package/dist/chunks/{ripgrep-01qf260s.js → bus-zp47re1r.js} +11 -11
  289. package/dist/chunks/{ripgrep-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{ripgrep-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +84 -84
  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 +159 -159
  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 +122 -122
  309. package/dist/config/plugin/provider.js +121 -121
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  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 +123 -123
  318. package/dist/config/plugin/worktree.js +125 -125
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +71 -71
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  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 +223 -223
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +101 -101
  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 +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +137 -137
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +87 -87
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +99 -99
  473. package/dist/mcp/instructions.js +124 -124
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +96 -96
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +101 -101
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +118 -118
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +79 -79
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +94 -94
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +89 -89
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +89 -89
  518. package/dist/plugin/provider/llmgateway.js +89 -89
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +89 -89
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +89 -89
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +342 -342
  543. package/dist/plugin/update.js +2 -2
  544. package/dist/plugin/variant.js +91 -91
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +120 -120
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +4 -4
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +227 -227
  556. package/dist/project/schema.js +4 -4
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +85 -85
  559. package/dist/provider.js +100 -100
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +91 -91
  564. package/dist/reference/instructions.js +88 -88
  565. package/dist/reference.js +90 -90
  566. package/dist/repository-cache.js +76 -76
  567. package/dist/repository.js +3 -3
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +94 -94
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +133 -133
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +223 -223
  580. package/dist/session/execution.js +128 -128
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +87 -87
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +113 -113
  591. package/dist/session/model-transport.js +5 -5
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +98 -98
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +123 -123
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +172 -172
  608. package/dist/session/shell.js +137 -137
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +153 -153
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +220 -220
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +217 -217
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +7 -7
  625. package/dist/shell.js +139 -139
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +111 -111
  629. package/dist/snapshot.js +90 -90
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +123 -123
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +115 -115
  637. package/dist/tool/plugin/grep.js +123 -123
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +104 -104
  641. package/dist/tool/plugin/read.js +124 -124
  642. package/dist/tool/plugin/shell.js +216 -216
  643. package/dist/tool/plugin/skill.js +112 -112
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +109 -109
  646. package/dist/tool/plugin/websearch.js +113 -113
  647. package/dist/tool/plugin/write.js +121 -121
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +13 -13
  652. package/dist/types/session/execution.d.ts +1 -1
  653. package/dist/types/session/session.d.ts +1 -1
  654. package/dist/types/session.d.ts +1 -1
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +7 -7
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +4 -4
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/refresh.js +345 -345
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree.js +93 -93
  694. package/package.json +8 -8
  695. package/dist/chunks/ripgrep-0mesazry.js +0 -4
  696. package/dist/chunks/ripgrep-3xc7y499.js +0 -251
  697. package/dist/chunks/ripgrep-ahz9sev5.js +0 -26
  698. package/dist/chunks/ripgrep-by5v678g.js +0 -18
  699. /package/dist/chunks/{ripgrep-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{ripgrep-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{ripgrep-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{ripgrep-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{ripgrep-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{ripgrep-2710q6r3.js → bus-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{ripgrep-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{ripgrep-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{ripgrep-359p4xyc.js → bus-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{ripgrep-3asan66x.js → bus-3asan66x.js} +0 -0
  709. /package/dist/chunks/{ripgrep-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{ripgrep-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{ripgrep-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{ripgrep-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{ripgrep-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{ripgrep-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{ripgrep-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{ripgrep-53557ph1.js → bus-53557ph1.js} +0 -0
  717. /package/dist/chunks/{ripgrep-550bvhaj.js → bus-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{ripgrep-6prwharc.js → bus-6prwharc.js} +0 -0
  719. /package/dist/chunks/{ripgrep-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{ripgrep-7m9af43g.js → bus-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{ripgrep-822emrt2.js → bus-822emrt2.js} +0 -0
  722. /package/dist/chunks/{ripgrep-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{ripgrep-8n3pysct.js → bus-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{ripgrep-922hggd3.js → bus-922hggd3.js} +0 -0
  725. /package/dist/chunks/{ripgrep-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{ripgrep-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{ripgrep-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{ripgrep-af5trqkr.js → bus-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{ripgrep-afrmfg78.js → bus-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{ripgrep-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{ripgrep-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{ripgrep-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{ripgrep-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{ripgrep-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{ripgrep-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{ripgrep-d9fn303g.js → bus-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{ripgrep-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{ripgrep-dajrwvna.js → bus-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{ripgrep-dap0rakb.js → bus-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{ripgrep-df08tz66.js → bus-df08tz66.js} +0 -0
  741. /package/dist/chunks/{ripgrep-dy18nga0.js → bus-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{ripgrep-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{ripgrep-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{ripgrep-ec1grn59.js → bus-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{ripgrep-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{ripgrep-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{ripgrep-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{ripgrep-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{ripgrep-faypxj3z.js → bus-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{ripgrep-fd410y7t.js → bus-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{ripgrep-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{ripgrep-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{ripgrep-g86h250q.js → bus-g86h250q.js} +0 -0
  754. /package/dist/chunks/{ripgrep-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{ripgrep-gftt206x.js → bus-gftt206x.js} +0 -0
  756. /package/dist/chunks/{ripgrep-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{ripgrep-hk9envan.js → bus-hk9envan.js} +0 -0
  758. /package/dist/chunks/{ripgrep-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
  759. /package/dist/chunks/{ripgrep-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{ripgrep-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{ripgrep-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{ripgrep-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{ripgrep-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{ripgrep-mp448xyj.js → bus-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{ripgrep-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{ripgrep-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{ripgrep-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{ripgrep-njntx4h6.js → bus-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{ripgrep-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{ripgrep-q74kybfr.js → bus-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{ripgrep-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{ripgrep-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{ripgrep-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{ripgrep-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{ripgrep-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{ripgrep-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{ripgrep-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{ripgrep-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{ripgrep-twg0f83k.js → bus-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{ripgrep-w803qqfp.js → bus-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{ripgrep-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{ripgrep-wtztk69x.js → bus-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{ripgrep-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{ripgrep-x61499pn.js → bus-x61499pn.js} +0 -0
  785. /package/dist/chunks/{ripgrep-y44na4kk.js → bus-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{ripgrep-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{ripgrep-y8f7s663.js → bus-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{ripgrep-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{ripgrep-ym463w8f.js → bus-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{ripgrep-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service66
7
- } from "./ripgrep-4q6wvnkn.js";
6
+ Service40
7
+ } from "./bus-m4sagrtb.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./ripgrep-2a5m3afh.js";
10
+ } from "./bus-2a5m3afh.js";
11
11
  import {
12
- Service59
13
- } from "./ripgrep-cbbc3wgw.js";
12
+ Service53
13
+ } from "./bus-gemkh5vt.js";
14
14
  import {
15
- Service48
16
- } from "./ripgrep-03cq7ksh.js";
15
+ Service42
16
+ } from "./bus-0hng8cbp.js";
17
17
  import {
18
- Service50
19
- } from "./ripgrep-p9s0eh58.js";
18
+ Service68
19
+ } from "./bus-686zvbc5.js";
20
20
  import {
21
- Service16,
21
+ Service67,
22
22
  resolvePath2
23
- } from "./ripgrep-7gpx9yxs.js";
23
+ } from "./bus-7zgx3034.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./ripgrep-fxbjtjnd.js";
29
+ } from "./bus-fxbjtjnd.js";
30
30
  import {
31
- Service79,
31
+ Service78,
32
32
  name15
33
- } from "./ripgrep-tex4jp26.js";
33
+ } from "./bus-rkhcyd8j.js";
34
34
  import {
35
- NotFoundError5,
36
- Service40
37
- } from "./ripgrep-wa698kjv.js";
35
+ NotFoundError4,
36
+ Service38
37
+ } from "./bus-6xf9vr65.js";
38
38
  import {
39
- Service23
40
- } from "./ripgrep-k9heqbmv.js";
39
+ Service19
40
+ } from "./bus-w5k3gg8r.js";
41
41
  import {
42
42
  scan2
43
- } from "./ripgrep-nev01g0y.js";
43
+ } from "./bus-hp23vqgj.js";
44
44
  import {
45
45
  __export
46
- } from "./ripgrep-9rqn6x4v.js";
46
+ } from "./bus-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin23,
54
- ShellTool: () => exports_shell2,
55
- name: () => name4
52
+ Input: () => Input5,
53
+ Plugin: () => Plugin6,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name5
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name5 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input4 = Schema.Struct({
73
+ var Input5 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin23 = {
118
+ var Plugin6 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service23;
122
- const jobs = yield* Service48;
121
+ const sessions = yield* Service19;
122
+ const jobs = yield* Service42;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service59;
125
- const access = yield* Service16;
126
- const shell = yield* Service40;
127
- const shellSelect = yield* Service79;
124
+ const environment = yield* Service53;
125
+ const access = yield* Service67;
126
+ const shell = yield* Service38;
127
+ const shellSelect = yield* Service78;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service50;
130
- const config = yield* Service66;
129
+ const permission = yield* Service68;
130
+ const config = yield* Service40;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin23 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name4,
149
+ action: name5,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin23 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name4,
186
+ name: name5,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input4,
189
+ input: Input5,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin23 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError5({ id: info.id });
208
+ return yield* new NotFoundError4({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name4,
222
+ type: name5,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name4];
252
+ const tool = event.tools[name5];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin23, exports_shell2 };
263
+ export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin6, exports_shell };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./ripgrep-0paq2nw3.js";
4
+ } from "./bus-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./ripgrep-a2ejp4ca.js";
7
+ } from "./bus-75tpbtqb.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./ripgrep-44e7s01k.js";
11
+ } from "./bus-aez8skhx.js";
12
12
  import {
13
13
  __export
14
- } from "./ripgrep-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service80,
4
- node84
5
- } from "./ripgrep-rxmh2sg9.js";
3
+ Service79,
4
+ node83
5
+ } from "./bus-brbkvpcb.js";
6
6
  import {
7
7
  __export
8
- } from "./ripgrep-9rqn6x4v.js";
8
+ } from "./bus-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service4,
15
15
  Updated: () => Updated2,
16
- layer: () => layer6,
17
- node: () => node8
16
+ layer: () => layer5,
17
+ node: () => node7
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service4 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer6 = Layer.effect(Service5, Effect.gen(function* () {
26
- const bus = yield* Service80;
25
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
26
+ const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service4.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node8 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node84] });
36
+ var node7 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node83] });
37
37
 
38
- export { Updated2, Service5, layer6, node8, exports_sdk };
38
+ export { Updated2, Service4, layer5, node7, exports_sdk };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./ripgrep-5t3nmthw.js";
3
+ } from "./bus-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
@@ -12,7 +12,7 @@ __export(exports_model_transport, {
12
12
  SessionModelTransport: () => exports_model_transport,
13
13
  layer: () => layer11,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node33
15
+ node: () => node32
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -361,6 +361,6 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
361
361
  var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node33 = makeGlobalNode({ service: Service28, layer: layer11, deps: [webSocketConstructor2] });
364
+ var node32 = makeGlobalNode({ service: Service28, layer: layer11, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service28, makeLayer2, layer11, node33, exports_model_transport };
366
+ export { Service28, makeLayer2, layer11, node32, exports_model_transport };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node86
5
- } from "./ripgrep-49p1g939.js";
4
+ node50
5
+ } from "./bus-kxdh0s6n.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./ripgrep-88sz8qcd.js";
9
+ } from "./bus-paegk39x.js";
10
10
  import {
11
- Service65,
12
- node69
13
- } from "./ripgrep-x353b1jt.js";
11
+ Service74,
12
+ node78
13
+ } from "./bus-at1kfnmk.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./ripgrep-p9s0eh58.js";
16
+ } from "./bus-686zvbc5.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./ripgrep-n57z002n.js";
19
+ } from "./bus-3vnz1vry.js";
20
20
  import {
21
- Error5
22
- } from "./ripgrep-x3qc7sc6.js";
21
+ Error4
22
+ } from "./bus-236xsrf6.js";
23
23
  import {
24
24
  Service28,
25
- node33
26
- } from "./ripgrep-qfhza6js.js";
25
+ node32
26
+ } from "./bus-nzzy63ds.js";
27
27
  import {
28
- make15
29
- } from "./ripgrep-hjt4xg1x.js";
28
+ make13
29
+ } from "./bus-e82z9tr0.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./ripgrep-scq4khx8.js";
32
+ } from "./bus-tcg29b4q.js";
33
33
  import {
34
34
  __export
35
- } from "./ripgrep-9rqn6x4v.js";
35
+ } from "./bus-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
@@ -42,7 +42,7 @@ __export(exports_model_request, {
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
44
  layer: () => layer10,
45
- node: () => node32,
45
+ node: () => node31,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -153,7 +153,7 @@ var boundImages2 = (messages) => {
153
153
  class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
155
  var layer10 = Layer.effect(Service27, Effect.gen(function* () {
156
- const hooks = yield* Service65;
156
+ const hooks = yield* Service74;
157
157
  const transport = yield* Service28;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
@@ -162,7 +162,7 @@ var layer10 = Layer.effect(Service27, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error5({ message: "Tools are not available for this request" })
165
+ execute: () => new Error4({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -251,10 +251,10 @@ var layer10 = Layer.effect(Service27, Effect.gen(function* () {
251
251
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
252
252
  });
253
253
  }));
254
- var node32 = makeLocationNode({
254
+ var node31 = makeLocationNode({
255
255
  service: Service27,
256
256
  layer: layer10,
257
- deps: [node69, node33, node86]
257
+ deps: [node78, node32, node50]
258
258
  });
259
259
 
260
- export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer10, node32, exports_model_request };
260
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer10, node31, exports_model_request };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./ripgrep-922hggd3.js";
4
+ } from "./bus-922hggd3.js";
5
5
  import {
6
- Service73,
7
- node77
8
- } from "./ripgrep-189gvxgf.js";
6
+ Service72,
7
+ node76
8
+ } from "./bus-73z097ay.js";
9
9
  import {
10
- Service57,
11
- node60
12
- } from "./ripgrep-1jvw600p.js";
10
+ Service48,
11
+ node52
12
+ } from "./bus-4vdg0vy0.js";
13
13
  import {
14
14
  __export
15
- } from "./ripgrep-9rqn6x4v.js";
15
+ } from "./bus-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -20,31 +20,31 @@ __export(exports_filesystem, {
20
20
  Content: () => Content2,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
- Entry: () => Entry2,
24
- Event: () => Event12,
23
+ Entry: () => Entry4,
24
+ Event: () => Event8,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput5,
29
+ ListInput: () => ListInput3,
30
30
  Match: () => Match2,
31
- NotFoundError: () => NotFoundError8,
31
+ NotFoundError: () => NotFoundError6,
32
32
  ReadInput: () => ReadInput2,
33
- Service: () => Service56,
33
+ Service: () => Service47,
34
34
  Submatch: () => Submatch2,
35
- node: () => node59
35
+ node: () => node51
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import path from "path";
39
39
  import { Context, Effect, Layer, Schema } from "effect";
40
40
  import { FSUtil } from "@opencode/util/fs-util";
41
41
  import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode/schema/filesystem";
42
- import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
42
+ import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
43
43
  var ReadInput2 = Schema.Struct({
44
44
  path: RelativePath2
45
45
  });
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
+ class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
48
48
  path: RelativePath2
49
49
  }) {
50
50
  }
@@ -55,7 +55,7 @@ var Content2 = Schema.Struct({
55
55
  encoding: Schema.Literals(["utf8", "base64"]),
56
56
  mime: Schema.String
57
57
  }).annotate({ identifier: "FileSystem.Content" });
58
- var ListInput5 = Schema.Struct({
58
+ var ListInput3 = Schema.Struct({
59
59
  path: Schema.String.pipe(Schema.optional)
60
60
  });
61
61
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
78
78
  limit: Schema.optionalKey(PositiveInt2)
79
79
  }) {
80
80
  }
81
- var Event12 = FileSystem.Event;
81
+ var Event8 = FileSystem.Event;
82
82
 
83
- class Service56 extends Context.Service()("@opencode/FileSystem") {
83
+ class Service47 extends Context.Service()("@opencode/FileSystem") {
84
84
  }
85
- var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
85
+ var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
86
86
  const fs = yield* FSUtil.Service;
87
- const location = yield* Service73;
88
- const search = yield* Service57;
87
+ const location = yield* Service72;
88
+ const search = yield* Service48;
89
89
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
90
90
  const resolve = Effect.fnUntraced(function* (input) {
91
91
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
96
96
  return yield* Effect.die(new Error("Path escapes the location"));
97
97
  return { absolute, real, directory: location.directory };
98
98
  });
99
- return Service56.of({
99
+ return Service47.of({
100
100
  find: search.find,
101
101
  read: Effect.fn("FileSystem.read")(function* (input) {
102
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
103
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
102
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
103
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
104
104
  if (info.type !== "File")
105
105
  return yield* Effect.die(new Error("Path is not a file"));
106
106
  return {
107
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error))),
107
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error))),
108
108
  mime: FSUtil.mimeType(target.real)
109
109
  };
110
110
  }),
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node59 = makeLocationNode({
132
- service: Service56,
131
+ var node51 = makeLocationNode({
132
+ service: Service47,
133
133
  layer: baseLayer,
134
- deps: [FSUtil.node, node77, node60]
134
+ deps: [FSUtil.node, node76, node52]
135
135
  });
136
136
 
137
- export { FindInput2, ReadInput2, NotFoundError8, Content2, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event12, Service56, node59, exports_filesystem, Entry2, Match2, Submatch2 };
137
+ export { FindInput2, ReadInput2, NotFoundError6, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service47, node51, exports_filesystem, Entry4, Match2, Submatch2 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info10,
8
+ Info: () => Info27,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info10 = SessionProviderContext.Info;
22
+ var Info27 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info10, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info27, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
- Service73
6
- } from "./ripgrep-189gvxgf.js";
5
+ Service72
6
+ } from "./bus-73z097ay.js";
7
7
  import {
8
- Service16
9
- } from "./ripgrep-7gpx9yxs.js";
8
+ Service67
9
+ } from "./bus-7zgx3034.js";
10
10
  import {
11
- Service10
12
- } from "./ripgrep-j6rsnrbc.js";
11
+ Service6
12
+ } from "./bus-2t9y4ena.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./ripgrep-2a5m3afh.js";
15
+ } from "./bus-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service11
27
- } from "./ripgrep-tdd2jx9c.js";
26
+ Service5
27
+ } from "./bus-dn2g8ty9.js";
28
28
  import {
29
29
  __export
30
- } from "./ripgrep-9rqn6x4v.js";
30
+ } from "./bus-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input8,
36
- Plugin: () => Plugin28,
35
+ Input: () => Input10,
36
+ Plugin: () => Plugin11,
37
37
  ReadTool: () => exports_read,
38
- name: () => name8,
39
- toModelContent: () => toModelContent3
38
+ name: () => name10,
39
+ toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name8 = "read";
45
+ var name10 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input8 = LocationInput;
56
+ var Input10 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin28 = {
58
+ var Plugin11 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service11;
62
- const access = yield* Service16;
63
- const sessionInstructions = yield* Service10;
61
+ const reader = yield* Service5;
62
+ const access = yield* Service67;
63
+ const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service73;
65
+ const location = yield* Service72;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name8,
67
+ name: name10,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input8,
70
+ input: Input10,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin28 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent5(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent3 = (path, offset, output) => {
147
+ var toModelContent5 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name8, Input8, Plugin28, toModelContent3, exports_read };
183
+ export { name10, Input10, Plugin11, toModelContent5, exports_read };