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

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  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 +74 -74
  7. package/dist/chunks/{ripgrep-8mnq8fdw.js → shell-06cb0fd0.js} +4 -4
  8. package/dist/chunks/{ripgrep-jdwwbwbn.js → shell-08hjcfds.js} +19 -19
  9. package/dist/chunks/{ripgrep-8h150kyy.js → shell-0aw7zksj.js} +7 -7
  10. package/dist/chunks/{ripgrep-79gxnefz.js → shell-0bvq92zm.js} +24 -24
  11. package/dist/chunks/{ripgrep-t550f9t1.js → shell-0gdmqesm.js} +4 -4
  12. package/dist/chunks/{ripgrep-zt5h3yfa.js → shell-0p4j4cv0.js} +9 -9
  13. package/dist/chunks/{ripgrep-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{ripgrep-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{ripgrep-jz1pxar4.js → shell-11nyajgd.js} +1 -1
  16. package/dist/chunks/{ripgrep-0sm34qmf.js → shell-13vh4t13.js} +15 -15
  17. package/dist/chunks/{ripgrep-8jpwh3cy.js → shell-15actg85.js} +30 -30
  18. package/dist/chunks/{ripgrep-qaw7gzvj.js → shell-19qt9ms0.js} +20 -20
  19. package/dist/chunks/{ripgrep-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{ripgrep-97czctv7.js → shell-1sr49ngx.js} +10 -10
  21. package/dist/chunks/{ripgrep-ypveyybc.js → shell-1tceadnv.js} +11 -11
  22. package/dist/chunks/{ripgrep-21r38tys.js → shell-21r38tys.js} +1 -1
  23. package/dist/chunks/{ripgrep-2402vzrj.js → shell-2402vzrj.js} +1 -1
  24. package/dist/chunks/{ripgrep-5epte933.js → shell-256nx13v.js} +3 -3
  25. package/dist/chunks/{ripgrep-es6p32db.js → shell-286ag1vh.js} +299 -299
  26. package/dist/chunks/{ripgrep-x6qre90b.js → shell-28aedara.js} +11 -11
  27. package/dist/chunks/{ripgrep-4y8bm76w.js → shell-28ebf1cb.js} +17 -17
  28. package/dist/chunks/{ripgrep-29x78va6.js → shell-29x78va6.js} +2 -2
  29. package/dist/chunks/{ripgrep-et0rkxxj.js → shell-2a4f6v5q.js} +8 -8
  30. package/dist/chunks/{ripgrep-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{ripgrep-gn2hfjap.js → shell-2n295dmf.js} +8 -8
  32. package/dist/chunks/{ripgrep-ag9w8cw1.js → shell-2qp6y8xf.js} +5 -5
  33. package/dist/chunks/{ripgrep-k9heqbmv.js → shell-35f3c8ak.js} +93 -93
  34. package/dist/chunks/{ripgrep-4pa8q4z1.js → shell-3657zqg5.js} +26 -26
  35. package/dist/chunks/{ripgrep-80wpcwwr.js → shell-3ef74p4c.js} +11 -11
  36. package/dist/chunks/{ripgrep-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{ripgrep-rp1syd7b.js → shell-3gqfk94q.js} +8 -8
  38. package/dist/chunks/{ripgrep-y8639ad0.js → shell-3h03gnyd.js} +21 -21
  39. package/dist/chunks/{ripgrep-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{ripgrep-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{ripgrep-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{ripgrep-8jzp8wqa.js → shell-4dsybr1x.js} +23 -23
  43. package/dist/chunks/{ripgrep-m77pw7dw.js → shell-4j54dnxn.js} +16 -16
  44. package/dist/chunks/{ripgrep-he5x26st.js → shell-4nqjb4pf.js} +20 -20
  45. package/dist/chunks/{ripgrep-r8p0psj5.js → shell-4nt81eez.js} +21 -21
  46. package/dist/chunks/{ripgrep-2fgn2we9.js → shell-4sn99hha.js} +5 -5
  47. package/dist/chunks/{ripgrep-4f0srg1f.js → shell-4t7xgrp5.js} +26 -26
  48. package/dist/chunks/{ripgrep-s2e9xs2h.js → shell-4ymq8kc4.js} +36 -36
  49. package/dist/chunks/{ripgrep-8w01d1n2.js → shell-4yzwshaw.js} +15 -15
  50. package/dist/chunks/{ripgrep-zw0mbbcz.js → shell-4zr3jzsn.js} +8 -8
  51. package/dist/chunks/{ripgrep-56gdpj1q.js → shell-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{ripgrep-06yesm3b.js → shell-58k5q12w.js} +30 -30
  53. package/dist/chunks/{ripgrep-5daktx2q.js → shell-5daktx2q.js} +1 -1
  54. package/dist/chunks/{ripgrep-9jc96w9w.js → shell-5k7whcx8.js} +26 -26
  55. package/dist/chunks/{ripgrep-kxm5s6yc.js → shell-5kbrmkke.js} +18 -18
  56. package/dist/chunks/{ripgrep-h6r3nrb9.js → shell-5mtzsd3b.js} +4 -4
  57. package/dist/chunks/{ripgrep-44e7s01k.js → shell-5p8jzcnz.js} +29 -29
  58. package/dist/chunks/{ripgrep-5rtg8v4f.js → shell-5rtg8v4f.js} +2 -2
  59. package/dist/chunks/{ripgrep-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{ripgrep-xxf1z6td.js → shell-5wq01ar5.js} +22 -22
  61. package/dist/chunks/{ripgrep-vcpz2z7s.js → shell-5wrt214j.js} +4 -4
  62. package/dist/chunks/{ripgrep-ahz9sev5.js → shell-5y2ymaq7.js} +12 -12
  63. package/dist/chunks/{ripgrep-sev8k0v9.js → shell-60b87sp0.js} +10 -10
  64. package/dist/chunks/{ripgrep-669tq793.js → shell-669tq793.js} +1 -1
  65. package/dist/chunks/{ripgrep-3vde3pvj.js → shell-6860rr66.js} +53 -53
  66. package/dist/chunks/{ripgrep-9cc1d2dv.js → shell-6d6xcght.js} +6 -6
  67. package/dist/chunks/shell-6kdq0pjd.js +4 -0
  68. package/dist/chunks/{ripgrep-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{ripgrep-0tes6vj0.js → shell-6zttb827.js} +23 -23
  70. package/dist/chunks/{ripgrep-71q4at8m.js → shell-71q4at8m.js} +1 -1
  71. package/dist/chunks/{ripgrep-r2zs1qxw.js → shell-724fmg57.js} +23 -23
  72. package/dist/chunks/{ripgrep-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{ripgrep-qgn6gcr1.js → shell-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{ripgrep-kez65ze9.js → shell-7r3neg1r.js} +35 -35
  75. package/dist/chunks/{ripgrep-w5d72rt0.js → shell-7xjyd7zv.js} +2 -2
  76. package/dist/chunks/{ripgrep-1bbkgx8g.js → shell-7yh4e7ss.js} +3 -3
  77. package/dist/chunks/{ripgrep-7b15y959.js → shell-844ef7ks.js} +8 -8
  78. package/dist/chunks/{ripgrep-dpzg5xnq.js → shell-84bp84rj.js} +6 -6
  79. package/dist/chunks/{ripgrep-mj489v08.js → shell-85tc3nc8.js} +12 -12
  80. package/dist/chunks/{ripgrep-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{ripgrep-2syw43ez.js → shell-8mgmrm9j.js} +5 -5
  82. package/dist/chunks/{ripgrep-37zh6x8p.js → shell-8nmhfs9c.js} +11 -11
  83. package/dist/chunks/{ripgrep-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  84. package/dist/chunks/{ripgrep-tyyv5ce2.js → shell-8q0t0smx.js} +1 -1
  85. package/dist/chunks/{ripgrep-h4121yxn.js → shell-8saayj0p.js} +47 -47
  86. package/dist/chunks/{ripgrep-yedx64dk.js → shell-8sp2z33n.js} +4 -4
  87. package/dist/chunks/{ripgrep-49nxeqwp.js → shell-8ymghxqk.js} +37 -37
  88. package/dist/chunks/{ripgrep-3wkcfg07.js → shell-91tfrhd1.js} +6 -6
  89. package/dist/chunks/{ripgrep-tex4jp26.js → shell-98depksn.js} +19 -19
  90. package/dist/chunks/{ripgrep-j2cgy6et.js → shell-9b2gkdkm.js} +25 -25
  91. package/dist/chunks/{ripgrep-1jvw600p.js → shell-a0b5fdkw.js} +30 -30
  92. package/dist/chunks/{ripgrep-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{ripgrep-q7d9vt9f.js → shell-a271x0pd.js} +11 -11
  94. package/dist/chunks/{ripgrep-aaet6srn.js → shell-aaet6srn.js} +2 -2
  95. package/dist/chunks/{ripgrep-4vrcg479.js → shell-am2x7dha.js} +46 -46
  96. package/dist/chunks/{ripgrep-f0xd9knp.js → shell-apkjg5f1.js} +1 -1
  97. package/dist/chunks/{ripgrep-kk00bynn.js → shell-axmvebxj.js} +4 -4
  98. package/dist/chunks/{ripgrep-tcs4ev01.js → shell-aypr84xx.js} +16 -16
  99. package/dist/chunks/{ripgrep-k9avwfq5.js → shell-b1hg7rtt.js} +1 -1
  100. package/dist/chunks/{ripgrep-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{ripgrep-qwn7812e.js → shell-bcgxfqk7.js} +9 -9
  102. package/dist/chunks/{ripgrep-3j8sdtpz.js → shell-bct739vz.js} +4 -4
  103. package/dist/chunks/{ripgrep-gzbkpp9m.js → shell-bdqrk2vk.js} +4 -4
  104. package/dist/chunks/{ripgrep-nk1anpaj.js → shell-bdyp82c4.js} +7 -7
  105. package/dist/chunks/{ripgrep-df5tg79n.js → shell-bfjqsf6d.js} +32 -32
  106. package/dist/chunks/{ripgrep-kmfbtjhd.js → shell-bj86b7kp.js} +34 -34
  107. package/dist/chunks/{ripgrep-ezcbab6y.js → shell-bs5y9wpc.js} +8 -8
  108. package/dist/chunks/{ripgrep-rxmh2sg9.js → shell-bsp1pkt4.js} +16 -16
  109. package/dist/chunks/{ripgrep-wds0x6j9.js → shell-bz4hpk94.js} +5 -5
  110. package/dist/chunks/{ripgrep-49p1g939.js → shell-bz5ac8yj.js} +11 -11
  111. package/dist/chunks/{ripgrep-6aqnmcny.js → shell-c5n3h355.js} +28 -28
  112. package/dist/chunks/{ripgrep-nwqvjhxj.js → shell-ca7n9cfq.js} +9 -9
  113. package/dist/chunks/{ripgrep-e5vq6wef.js → shell-cee4awht.js} +4 -4
  114. package/dist/chunks/{ripgrep-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{ripgrep-2c7f7wtp.js → shell-cgccaycz.js} +22 -22
  116. package/dist/chunks/{ripgrep-p9s0eh58.js → shell-cmmb813z.js} +45 -45
  117. package/dist/chunks/{ripgrep-88sz8qcd.js → shell-csf2jhsg.js} +4 -4
  118. package/dist/chunks/{ripgrep-2nv5fzs9.js → shell-czb7hhek.js} +13 -13
  119. package/dist/chunks/{ripgrep-d3tz2ej1.js → shell-d3tz2ej1.js} +2 -2
  120. package/dist/chunks/{ripgrep-nw2nz702.js → shell-d8nc1xcx.js} +4 -4
  121. package/dist/chunks/{ripgrep-k9m5ndvb.js → shell-da7pjdbd.js} +6 -6
  122. package/dist/chunks/{ripgrep-gr2hg8ez.js → shell-de5ahzfz.js} +15 -15
  123. package/dist/chunks/shell-deqxj2db.js +251 -0
  124. package/dist/chunks/{ripgrep-5sdgc7vh.js → shell-dg9hzp08.js} +15 -15
  125. package/dist/chunks/{ripgrep-2fcjxh44.js → shell-dmxnnmbc.js} +9 -9
  126. package/dist/chunks/{ripgrep-2jbbv5tb.js → shell-e1tdxk5c.js} +13 -13
  127. package/dist/chunks/{ripgrep-e5nv3ght.js → shell-e5nv3ght.js} +2 -2
  128. package/dist/chunks/{ripgrep-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{ripgrep-eb0ks5fv.js → shell-eg7y150x.js} +10 -10
  130. package/dist/chunks/{ripgrep-agmj7b0k.js → shell-er21d9gb.js} +9 -9
  131. package/dist/chunks/{ripgrep-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{ripgrep-01qf260s.js → shell-eyhpk03x.js} +11 -11
  133. package/dist/chunks/{ripgrep-31ybmgpq.js → shell-f00031fc.js} +17 -17
  134. package/dist/chunks/{ripgrep-84h9x75f.js → shell-f32czd11.js} +5 -5
  135. package/dist/chunks/{ripgrep-w9vf9qqj.js → shell-f58gpcny.js} +9 -9
  136. package/dist/chunks/{ripgrep-bs81dhpw.js → shell-f6dg4s51.js} +19 -19
  137. package/dist/chunks/{ripgrep-f828m53h.js → shell-f828m53h.js} +2 -2
  138. package/dist/chunks/{ripgrep-5d42m44n.js → shell-f8gkg4y9.js} +5 -5
  139. package/dist/chunks/{ripgrep-qf4kcv83.js → shell-fbw0akyd.js} +9 -9
  140. package/dist/chunks/{ripgrep-vfgx9b51.js → shell-fekeaz39.js} +3 -3
  141. package/dist/chunks/{ripgrep-vvccsdf3.js → shell-ff0htmxq.js} +6 -6
  142. package/dist/chunks/{ripgrep-4q6wvnkn.js → shell-fgga4tyk.js} +42 -42
  143. package/dist/chunks/{ripgrep-t13q6zse.js → shell-fk5v58mc.js} +14 -14
  144. package/dist/chunks/{ripgrep-jztv3xwp.js → shell-fqax9b7r.js} +172 -172
  145. package/dist/chunks/{ripgrep-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{ripgrep-n57z002n.js → shell-g15mg1fp.js} +7 -7
  147. package/dist/chunks/{ripgrep-ptse1bjf.js → shell-g99htbkw.js} +32 -32
  148. package/dist/chunks/{ripgrep-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{ripgrep-3y9bq3t8.js → shell-gg94j5y5.js} +6 -6
  150. package/dist/chunks/{ripgrep-38c78d9y.js → shell-gm46a55d.js} +8 -8
  151. package/dist/chunks/{ripgrep-e5atvjy6.js → shell-gmrsnwh8.js} +18 -18
  152. package/dist/chunks/{ripgrep-j78hbbge.js → shell-gntzjf7q.js} +43 -43
  153. package/dist/chunks/{ripgrep-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{ripgrep-892y1dhq.js → shell-gwz5q7xf.js} +31 -31
  155. package/dist/chunks/{ripgrep-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{ripgrep-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{ripgrep-ym7eccym.js → shell-h967t558.js} +6 -6
  158. package/dist/chunks/{ripgrep-q5zedzf9.js → shell-hjfxv1hf.js} +15 -15
  159. package/dist/chunks/{ripgrep-hjt4xg1x.js → shell-hjt4xg1x.js} +1 -1
  160. package/dist/chunks/{ripgrep-avsbzx7p.js → shell-hka8yjdz.js} +29 -29
  161. package/dist/chunks/{ripgrep-3ds7w9ed.js → shell-hmr3ea9n.js} +5 -5
  162. package/dist/chunks/{ripgrep-fv5ds83k.js → shell-hnf89hr7.js} +12 -12
  163. package/dist/chunks/{ripgrep-pj5x48v7.js → shell-hs3g5x4f.js} +6 -6
  164. package/dist/chunks/{ripgrep-60sb5knf.js → shell-j22hf46x.js} +5 -5
  165. package/dist/chunks/{ripgrep-n91t41cy.js → shell-j2q2mctg.js} +12 -12
  166. package/dist/chunks/{ripgrep-j56e64zr.js → shell-j56e64zr.js} +1 -1
  167. package/dist/chunks/{ripgrep-edbcpkh6.js → shell-j5krrq7s.js} +32 -32
  168. package/dist/chunks/{ripgrep-3gh58dm9.js → shell-jamwgqsw.js} +5 -5
  169. package/dist/chunks/{ripgrep-xean7qwc.js → shell-jm7w29aj.js} +21 -21
  170. package/dist/chunks/{ripgrep-nev01g0y.js → shell-jsj4eyt5.js} +4 -4
  171. package/dist/chunks/{ripgrep-hcz3zddy.js → shell-jv01nqvq.js} +5 -5
  172. package/dist/chunks/{ripgrep-zvt5dnpc.js → shell-jvf3yq6v.js} +4 -4
  173. package/dist/chunks/{ripgrep-jwcy2c2z.js → shell-jwcy2c2z.js} +1 -1
  174. package/dist/chunks/{ripgrep-mhwrm0j5.js → shell-jz6dexdk.js} +20 -20
  175. package/dist/chunks/{ripgrep-7h39wxaq.js → shell-k7gxh26f.js} +13 -13
  176. package/dist/chunks/{ripgrep-wa698kjv.js → shell-k943pb70.js} +49 -49
  177. package/dist/chunks/{ripgrep-egmb5x89.js → shell-kbdz3wd2.js} +30 -30
  178. package/dist/chunks/{ripgrep-gcngnys8.js → shell-kg219d3x.js} +23 -23
  179. package/dist/chunks/{ripgrep-mxr7eecd.js → shell-krapdeg3.js} +25 -25
  180. package/dist/chunks/{ripgrep-cbbc3wgw.js → shell-ks9y0tx3.js} +24 -24
  181. package/dist/chunks/{ripgrep-z9pcy3hm.js → shell-kv6kzmzw.js} +5 -5
  182. package/dist/chunks/{ripgrep-cd8pzhxg.js → shell-ky853516.js} +32 -32
  183. package/dist/chunks/{ripgrep-y83j6qwg.js → shell-m7p8symg.js} +7 -7
  184. package/dist/chunks/{ripgrep-g97bb4fb.js → shell-m7va1g8x.js} +2 -2
  185. package/dist/chunks/{ripgrep-m86bnw2c.js → shell-m86bnw2c.js} +2 -2
  186. package/dist/chunks/{ripgrep-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{ripgrep-ah8fqh7n.js → shell-mtvv3gsd.js} +30 -30
  188. package/dist/chunks/{ripgrep-t990yqw6.js → shell-myhx9xq2.js} +7 -7
  189. package/dist/chunks/{ripgrep-ddxnayy4.js → shell-n25js84d.js} +9 -9
  190. package/dist/chunks/{ripgrep-a2ejp4ca.js → shell-n3ej18g3.js} +29 -29
  191. package/dist/chunks/{ripgrep-rt5bks5t.js → shell-n64z6ayh.js} +20 -20
  192. package/dist/chunks/{ripgrep-nzqx2mf8.js → shell-nemptxrn.js} +39 -39
  193. package/dist/chunks/{ripgrep-x353b1jt.js → shell-ngts6ef0.js} +8 -8
  194. package/dist/chunks/{ripgrep-8vb99h00.js → shell-nj8bs39t.js} +6 -6
  195. package/dist/chunks/{ripgrep-p0b4ytnr.js → shell-p0b4ytnr.js} +1 -1
  196. package/dist/chunks/{ripgrep-53agvevm.js → shell-p3vxwp2p.js} +8 -8
  197. package/dist/chunks/{ripgrep-0hg8636t.js → shell-pjcjb8bs.js} +6 -6
  198. package/dist/chunks/{ripgrep-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{ripgrep-pknna89w.js → shell-pknna89w.js} +1 -1
  200. package/dist/chunks/{ripgrep-5j2tm17g.js → shell-pt4mvj74.js} +20 -20
  201. package/dist/chunks/{ripgrep-qfhza6js.js → shell-py8w2btc.js} +11 -11
  202. package/dist/chunks/{ripgrep-3g5g2h75.js → shell-q0fgvcgb.js} +13 -13
  203. package/dist/chunks/{ripgrep-0df5h2qy.js → shell-q12fghcp.js} +27 -27
  204. package/dist/chunks/{ripgrep-h4tg60r9.js → shell-q7436kvy.js} +9 -9
  205. package/dist/chunks/{ripgrep-mx4mv9ny.js → shell-q7j6kr81.js} +6 -6
  206. package/dist/chunks/{ripgrep-vskpp35t.js → shell-qj5hfmwn.js} +11 -11
  207. package/dist/chunks/{ripgrep-pcqp5rgh.js → shell-qk0ppmjd.js} +18 -18
  208. package/dist/chunks/{ripgrep-qsdy395h.js → shell-qsdy395h.js} +1 -1
  209. package/dist/chunks/{ripgrep-94325gp6.js → shell-r78s3j5q.js} +35 -35
  210. package/dist/chunks/{ripgrep-03cq7ksh.js → shell-r8b7ztcg.js} +17 -17
  211. package/dist/chunks/{ripgrep-r9mregkx.js → shell-r9mregkx.js} +2 -2
  212. package/dist/chunks/shell-rap9a73h.js +18 -0
  213. package/dist/chunks/{ripgrep-7gpx9yxs.js → shell-raxwcv5a.js} +18 -18
  214. package/dist/chunks/{ripgrep-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{ripgrep-2yqkqxm6.js → shell-rhbwnwxm.js} +12 -12
  216. package/dist/chunks/{ripgrep-9pbcs2te.js → shell-rq4xqzzd.js} +4 -4
  217. package/dist/chunks/{ripgrep-ds2g25h4.js → shell-rq8qh2nn.js} +32 -32
  218. package/dist/chunks/{ripgrep-bzryztkv.js → shell-s2n5r9er.js} +27 -27
  219. package/dist/chunks/{ripgrep-6qwwd18r.js → shell-s45sawj9.js} +4 -4
  220. package/dist/chunks/{ripgrep-s4enseaf.js → shell-s4enseaf.js} +2 -2
  221. package/dist/chunks/{ripgrep-9gf5hqrf.js → shell-sf7s3xnw.js} +62 -62
  222. package/dist/chunks/{ripgrep-1gfvv37n.js → shell-shk57n0j.js} +11 -11
  223. package/dist/chunks/{ripgrep-anjeghmy.js → shell-shkg2ahe.js} +58 -58
  224. package/dist/chunks/{ripgrep-j6rsnrbc.js → shell-sx1q5qav.js} +22 -22
  225. package/dist/chunks/{ripgrep-kn5jtnf9.js → shell-t38tzg53.js} +19 -19
  226. package/dist/chunks/{ripgrep-189gvxgf.js → shell-t44n027g.js} +14 -14
  227. package/dist/chunks/{ripgrep-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{ripgrep-2pyh63en.js → shell-tb399yc8.js} +22 -22
  229. package/dist/chunks/{ripgrep-tdd2jx9c.js → shell-tb9hrnng.js} +15 -15
  230. package/dist/chunks/{ripgrep-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{ripgrep-tdstcens.js → shell-tdstcens.js} +1 -1
  232. package/dist/chunks/{ripgrep-gfe8pz8k.js → shell-tezxby1z.js} +4 -4
  233. package/dist/chunks/{ripgrep-hma6wv7h.js → shell-tj413h3v.js} +14 -14
  234. package/dist/chunks/{ripgrep-wva7n27r.js → shell-tkg9rxzp.js} +8 -8
  235. package/dist/chunks/{ripgrep-ksqz3pap.js → shell-tkwws864.js} +19 -19
  236. package/dist/chunks/{ripgrep-bg6j762k.js → shell-tmaw6k1g.js} +5 -5
  237. package/dist/chunks/{ripgrep-v7wvwwvc.js → shell-tnsmn68n.js} +15 -15
  238. package/dist/chunks/{ripgrep-scq4khx8.js → shell-ts2x07a1.js} +1 -1
  239. package/dist/chunks/{ripgrep-tvtrv512.js → shell-tvtrv512.js} +1 -1
  240. package/dist/chunks/{ripgrep-20cnsgn6.js → shell-twygzwrg.js} +4 -4
  241. package/dist/chunks/{ripgrep-vpnc1spb.js → shell-v5enyfy9.js} +11 -11
  242. package/dist/chunks/{ripgrep-h3qyz6r3.js → shell-v8wr64pb.js} +2 -2
  243. package/dist/chunks/{ripgrep-x3qc7sc6.js → shell-vcfd1qyk.js} +24 -24
  244. package/dist/chunks/{ripgrep-veqvce7d.js → shell-veqvce7d.js} +1 -1
  245. package/dist/chunks/{ripgrep-66r4fn97.js → shell-vet9mkc8.js} +37 -37
  246. package/dist/chunks/{ripgrep-5jz398fa.js → shell-vfx00g3j.js} +23 -23
  247. package/dist/chunks/{ripgrep-bajakh74.js → shell-vkxpz7g2.js} +4 -4
  248. package/dist/chunks/{ripgrep-x8pc9v5x.js → shell-vnge3cnh.js} +12 -12
  249. package/dist/chunks/{ripgrep-0t098hqn.js → shell-vnwmzs4a.js} +5 -5
  250. package/dist/chunks/{ripgrep-4p3ge18s.js → shell-vq3jpdg0.js} +11 -11
  251. package/dist/chunks/{ripgrep-8j1202qn.js → shell-vq7zxmz5.js} +23 -23
  252. package/dist/chunks/{ripgrep-f4mjzmv8.js → shell-vz6ekzbd.js} +19 -19
  253. package/dist/chunks/{ripgrep-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{ripgrep-rsz70btv.js → shell-vzjym1fd.js} +12 -12
  255. package/dist/chunks/{ripgrep-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{ripgrep-4sct5deg.js → shell-wc2samf7.js} +19 -19
  257. package/dist/chunks/{ripgrep-wd87259q.js → shell-wd87259q.js} +1 -1
  258. package/dist/chunks/{ripgrep-12x6e8th.js → shell-wn0qm5qp.js} +17 -17
  259. package/dist/chunks/{ripgrep-ra713epb.js → shell-wn3yryga.js} +15 -15
  260. package/dist/chunks/{ripgrep-rg9pm5jb.js → shell-wztakc2g.js} +29 -29
  261. package/dist/chunks/{ripgrep-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{ripgrep-bdd1mh0w.js → shell-x9emb11y.js} +9 -9
  263. package/dist/chunks/{ripgrep-k1jy5w06.js → shell-xa8bg79b.js} +1 -1
  264. package/dist/chunks/{ripgrep-73gmm198.js → shell-xb02k0wq.js} +4 -4
  265. package/dist/chunks/{ripgrep-czw1qt7p.js → shell-xdaabq9e.js} +5 -5
  266. package/dist/chunks/{ripgrep-yp1jwc24.js → shell-xx3aj77c.js} +39 -39
  267. package/dist/chunks/{ripgrep-124zgskp.js → shell-xxs5sj5m.js} +5 -5
  268. package/dist/chunks/{ripgrep-6x0gytms.js → shell-xxvph2p0.js} +84 -84
  269. package/dist/chunks/{ripgrep-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{ripgrep-e1n4w09h.js → shell-y3nkzwnm.js} +28 -28
  271. package/dist/chunks/{ripgrep-21w4258z.js → shell-y992ahjm.js} +1 -1
  272. package/dist/chunks/{ripgrep-6rdgvekc.js → shell-yaym739t.js} +3 -3
  273. package/dist/chunks/{ripgrep-gmpff112.js → shell-ydkphrk6.js} +17 -17
  274. package/dist/chunks/{ripgrep-4rr9ghsb.js → shell-yhcttc12.js} +12 -12
  275. package/dist/chunks/{ripgrep-yp2x3t23.js → shell-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{ripgrep-a9tqjgec.js → shell-yqcnkns9.js} +15 -15
  277. package/dist/chunks/{ripgrep-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{ripgrep-jpzcdmvj.js → shell-ysm27kyh.js} +10 -10
  279. package/dist/chunks/{ripgrep-yt0fqk68.js → shell-yt0fqk68.js} +2 -2
  280. package/dist/chunks/{ripgrep-67dbk5sq.js → shell-yw5eewpj.js} +29 -29
  281. package/dist/chunks/{ripgrep-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{ripgrep-9bc93h43.js → shell-z9nnsx8f.js} +11 -11
  283. package/dist/chunks/{ripgrep-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{ripgrep-yseaw3zk.js → shell-zhgb2amq.js} +28 -28
  285. package/dist/chunks/{ripgrep-jt7tdy1h.js → shell-znbb05ss.js} +16 -16
  286. package/dist/chunks/{ripgrep-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{ripgrep-bn746h9y.js → shell-zrg5zcty.js} +9 -9
  288. package/dist/chunks/{ripgrep-ajbpkfam.js → shell-zwbb9m0v.js} +11 -11
  289. package/dist/chunks/{ripgrep-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +3 -3
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +78 -78
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +121 -121
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +125 -125
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +71 -71
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +9 -9
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +81 -81
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +101 -101
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +83 -83
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +135 -135
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +98 -98
  477. package/dist/model-resolver.js +96 -96
  478. package/dist/model.js +97 -97
  479. package/dist/models-dev.js +105 -105
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +108 -108
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +94 -94
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +89 -89
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +89 -89
  517. package/dist/plugin/provider/llmgateway.js +89 -89
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +89 -89
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +91 -91
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +119 -119
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +89 -89
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +73 -73
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +342 -342
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +91 -91
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +227 -227
  555. package/dist/project/schema.js +4 -4
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +85 -85
  558. package/dist/provider.js +96 -96
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +97 -97
  563. package/dist/reference/instructions.js +86 -86
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +81 -81
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +83 -83
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +76 -76
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +98 -98
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +170 -170
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +149 -149
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +220 -220
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +2 -2
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +123 -123
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +117 -117
  639. package/dist/tool/plugin/question.js +100 -100
  640. package/dist/tool/plugin/read.js +120 -120
  641. package/dist/tool/plugin/shell.js +216 -216
  642. package/dist/tool/plugin/skill.js +110 -110
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +119 -119
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/types/session/execution.d.ts +1 -1
  652. package/dist/types/session/session.d.ts +1 -1
  653. package/dist/types/session.d.ts +1 -1
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +3 -3
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +3 -3
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +1 -1
  671. package/dist/v1/config/mcp.js +2 -2
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +81 -81
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +8 -8
  690. package/dist/worktree/refresh.js +345 -345
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/ripgrep-0mesazry.js +0 -4
  695. package/dist/chunks/ripgrep-3xc7y499.js +0 -251
  696. package/dist/chunks/ripgrep-by5v678g.js +0 -18
  697. /package/dist/chunks/{ripgrep-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{ripgrep-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{ripgrep-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{ripgrep-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{ripgrep-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{ripgrep-2710q6r3.js → shell-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{ripgrep-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{ripgrep-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{ripgrep-359p4xyc.js → shell-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{ripgrep-3asan66x.js → shell-3asan66x.js} +0 -0
  707. /package/dist/chunks/{ripgrep-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{ripgrep-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{ripgrep-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{ripgrep-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{ripgrep-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{ripgrep-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{ripgrep-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{ripgrep-53557ph1.js → shell-53557ph1.js} +0 -0
  715. /package/dist/chunks/{ripgrep-550bvhaj.js → shell-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{ripgrep-6prwharc.js → shell-6prwharc.js} +0 -0
  717. /package/dist/chunks/{ripgrep-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{ripgrep-7m9af43g.js → shell-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{ripgrep-822emrt2.js → shell-822emrt2.js} +0 -0
  720. /package/dist/chunks/{ripgrep-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{ripgrep-8n3pysct.js → shell-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{ripgrep-922hggd3.js → shell-922hggd3.js} +0 -0
  723. /package/dist/chunks/{ripgrep-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{ripgrep-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{ripgrep-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{ripgrep-af5trqkr.js → shell-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{ripgrep-afrmfg78.js → shell-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{ripgrep-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{ripgrep-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{ripgrep-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{ripgrep-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{ripgrep-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{ripgrep-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{ripgrep-d9fn303g.js → shell-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{ripgrep-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{ripgrep-dajrwvna.js → shell-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{ripgrep-dap0rakb.js → shell-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{ripgrep-df08tz66.js → shell-df08tz66.js} +0 -0
  739. /package/dist/chunks/{ripgrep-dy18nga0.js → shell-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{ripgrep-e3qxr5gk.js → shell-e3qxr5gk.js} +0 -0
  741. /package/dist/chunks/{ripgrep-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{ripgrep-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{ripgrep-ec1grn59.js → shell-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{ripgrep-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{ripgrep-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{ripgrep-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{ripgrep-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{ripgrep-faypxj3z.js → shell-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{ripgrep-fd410y7t.js → shell-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{ripgrep-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{ripgrep-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{ripgrep-g86h250q.js → shell-g86h250q.js} +0 -0
  753. /package/dist/chunks/{ripgrep-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{ripgrep-gftt206x.js → shell-gftt206x.js} +0 -0
  755. /package/dist/chunks/{ripgrep-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{ripgrep-hk9envan.js → shell-hk9envan.js} +0 -0
  757. /package/dist/chunks/{ripgrep-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
  758. /package/dist/chunks/{ripgrep-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{ripgrep-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{ripgrep-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{ripgrep-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{ripgrep-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{ripgrep-mp448xyj.js → shell-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{ripgrep-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{ripgrep-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{ripgrep-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{ripgrep-njntx4h6.js → shell-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{ripgrep-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{ripgrep-q74kybfr.js → shell-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{ripgrep-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{ripgrep-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{ripgrep-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{ripgrep-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{ripgrep-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{ripgrep-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{ripgrep-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{ripgrep-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{ripgrep-twg0f83k.js → shell-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{ripgrep-w803qqfp.js → shell-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{ripgrep-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{ripgrep-wtztk69x.js → shell-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{ripgrep-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{ripgrep-x61499pn.js → shell-x61499pn.js} +0 -0
  784. /package/dist/chunks/{ripgrep-y44na4kk.js → shell-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{ripgrep-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{ripgrep-y8f7s663.js → shell-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{ripgrep-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{ripgrep-ym463w8f.js → shell-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{ripgrep-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
- Service73,
6
- node77
7
- } from "./ripgrep-189gvxgf.js";
5
+ Service75,
6
+ node80
7
+ } from "./shell-t44n027g.js";
8
8
  import {
9
- Service58,
10
- node61
11
- } from "./ripgrep-e5atvjy6.js";
9
+ Service72,
10
+ node76
11
+ } from "./shell-gmrsnwh8.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./ripgrep-tcezcvh9.js";
15
+ } from "./shell-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./ripgrep-9rqn6x4v.js";
18
+ } from "./shell-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: () => Options5,
25
- Service: () => Service57,
26
- configured: () => configured5,
24
+ Options: () => Options3,
25
+ Service: () => Service20,
26
+ configured: () => configured3,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer20,
29
- node: () => node60,
28
+ layer: () => layer10,
29
+ node: () => node24,
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 Options5 = Schema.Struct({
38
+ var Options3 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service57 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service20 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(Service57, Effect.gen(function* () {
62
- const location = yield* Service73;
63
- const ripgrep = yield* Service58;
61
+ var ripgrepLayer2 = Layer.effect(Service20, Effect.gen(function* () {
62
+ const location = yield* Service75;
63
+ const ripgrep = yield* Service72;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service57, 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 Service57.of({
108
+ return Service20.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(Service57, Effect.gen(function* () {
116
- const location = yield* Service73;
115
+ var fffLayer2 = Layer.effect(Service20, Effect.gen(function* () {
116
+ const location = yield* Service75;
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(Service57, 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 Service57.of({
129
+ return Service20.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service57.of({
134
+ return Service20.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(Service57, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer20 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service73;
177
+ var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service75;
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 configured5(options) {
186
- return makeLocationNode({ service: Service57, layer: layer20(options), deps: [node77, node61] });
185
+ function configured3(options) {
186
+ return makeLocationNode({ service: Service20, layer: layer10(options), deps: [node80, node76] });
187
187
  }
188
- var node60 = configured5();
188
+ var node24 = configured3();
189
189
 
190
- export { Options5, Service57, ripgrepLayer2, fffLayer2, layer20, configured5, node60, exports_search };
190
+ export { Options3, Service20, ripgrepLayer2, fffLayer2, layer10, configured3, node24, exports_search };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./ripgrep-6msgmcgs.js";
4
+ } from "./shell-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./ripgrep-qfa1cgps.js";
7
+ } from "./shell-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./ripgrep-8p4f9s12.js";
10
+ } from "./shell-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service55,
3
- node58,
2
+ Service46,
3
+ node49,
4
4
  canonical3
5
- } from "./ripgrep-wva7n27r.js";
5
+ } from "./shell-tkg9rxzp.js";
6
6
  import {
7
- Service47,
8
- node50
9
- } from "./ripgrep-vvccsdf3.js";
7
+ Service45,
8
+ node48
9
+ } from "./shell-ff0htmxq.js";
10
10
  import {
11
11
  Service22
12
- } from "./ripgrep-mj489v08.js";
12
+ } from "./shell-85tc3nc8.js";
13
13
  import {
14
14
  layer2
15
- } from "./ripgrep-3xc7y499.js";
15
+ } from "./shell-deqxj2db.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service55, Effect.gen(function* () {
20
+ return Layer.effect(Service46, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node50.replace(Layer.succeed(Service47, {
53
+ node48.replace(Layer.succeed(Service45, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node58.replace(Layer.succeed(Service55, map))
57
+ node49.replace(Layer.succeed(Service46, map))
58
58
  ];
59
59
  return map;
60
60
  }));
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./ripgrep-2a5m3afh.js";
5
+ } from "./shell-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./ripgrep-9rqn6x4v.js";
8
+ } from "./shell-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service66
7
- } from "./ripgrep-4q6wvnkn.js";
6
+ Service63
7
+ } from "./shell-fgga4tyk.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./ripgrep-2a5m3afh.js";
10
+ } from "./shell-2a5m3afh.js";
11
11
  import {
12
- Service59
13
- } from "./ripgrep-cbbc3wgw.js";
12
+ Service73
13
+ } from "./shell-ks9y0tx3.js";
14
14
  import {
15
- Service48
16
- } from "./ripgrep-03cq7ksh.js";
15
+ Service79
16
+ } from "./shell-r8b7ztcg.js";
17
17
  import {
18
- Service50
19
- } from "./ripgrep-p9s0eh58.js";
18
+ Service54
19
+ } from "./shell-cmmb813z.js";
20
20
  import {
21
- Service16,
21
+ Service53,
22
22
  resolvePath2
23
- } from "./ripgrep-7gpx9yxs.js";
23
+ } from "./shell-raxwcv5a.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./ripgrep-fxbjtjnd.js";
29
+ } from "./shell-fxbjtjnd.js";
30
30
  import {
31
- Service79,
31
+ Service61,
32
32
  name15
33
- } from "./ripgrep-tex4jp26.js";
33
+ } from "./shell-98depksn.js";
34
34
  import {
35
- NotFoundError5,
36
- Service40
37
- } from "./ripgrep-wa698kjv.js";
35
+ NotFoundError9,
36
+ Service58
37
+ } from "./shell-k943pb70.js";
38
38
  import {
39
- Service23
40
- } from "./ripgrep-k9heqbmv.js";
39
+ Service24
40
+ } from "./shell-35f3c8ak.js";
41
41
  import {
42
42
  scan2
43
- } from "./ripgrep-nev01g0y.js";
43
+ } from "./shell-jsj4eyt5.js";
44
44
  import {
45
45
  __export
46
- } from "./ripgrep-9rqn6x4v.js";
46
+ } from "./shell-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: () => Input7,
53
+ Plugin: () => Plugin7,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name7
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name7 = "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 Input7 = 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 Plugin7 = {
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* Service24;
122
+ const jobs = yield* Service79;
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* Service73;
125
+ const access = yield* Service53;
126
+ const shell = yield* Service58;
127
+ const shellSelect = yield* Service61;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service50;
130
- const config = yield* Service66;
129
+ const permission = yield* Service54;
130
+ const config = yield* Service63;
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: name7,
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: name7,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input4,
189
+ input: Input7,
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 NotFoundError9({ 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: name7,
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[name7];
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 { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin7, exports_shell };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./ripgrep-a2ejp4ca.js";
4
+ } from "./shell-n3ej18g3.js";
5
5
 
6
6
  // src/plugin/provider/zenmux.ts
7
7
  import { Effect } from "effect";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission2 = {};
7
7
  __export(exports_permission2, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission2,
10
- Info: () => Info24,
10
+ Info: () => Info22,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule3
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info24 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info22 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule3, Info24, exports_permission2 };
41
+ export { Action2, Object2, Rule3, Info22, exports_permission2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service73,
3
- node77
4
- } from "./ripgrep-189gvxgf.js";
2
+ Service75,
3
+ node80
4
+ } from "./shell-t44n027g.js";
5
5
  import {
6
6
  Key3,
7
- make19,
7
+ make18,
8
8
  combine2
9
- } from "./ripgrep-t550f9t1.js";
9
+ } from "./shell-0gdmqesm.js";
10
10
  import {
11
11
  __export
12
- } from "./ripgrep-9rqn6x4v.js";
12
+ } from "./shell-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service30,
19
- node: () => node35
18
+ Service: () => Service35,
19
+ node: () => node39
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service30, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service73;
29
- return Service30.of({
28
+ const location = yield* Service75;
29
+ return Service35.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make19({
31
+ make18({
32
32
  key: Key3.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make19({
52
+ make18({
53
53
  key: Key3.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node35 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node77] });
64
+ var node39 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node80] });
65
65
 
66
- export { Service30, node35, exports_builtins };
66
+ export { Service35, node39, exports_builtins };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./ripgrep-w5d72rt0.js";
5
+ } from "./shell-7xjyd7zv.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./ripgrep-2a5m3afh.js";
5
+ } from "./shell-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./ripgrep-9rqn6x4v.js";
8
+ } from "./shell-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
- Info7,
5
+ Info8,
6
6
  ID5,
7
7
  Name2
8
- } from "./ripgrep-2c7f7wtp.js";
8
+ } from "./shell-cgccaycz.js";
9
9
  import {
10
- Service66
11
- } from "./ripgrep-4q6wvnkn.js";
10
+ Service63
11
+ } from "./shell-fgga4tyk.js";
12
12
  import {
13
13
  __export
14
- } from "./ripgrep-9rqn6x4v.js";
14
+ } from "./shell-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
@@ -426,14 +426,14 @@ var Plugin42 = define({
426
426
  effect: Effect.fn(function* (ctx) {
427
427
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
428
428
  yield* ctx.skill.transform((editor) => {
429
- editor.add(Info7.make({
429
+ editor.add(Info8.make({
430
430
  id: ID5.make("opencode"),
431
431
  name: Name2.make("OpenCode"),
432
432
  description: OpencodeDescription2,
433
433
  path: AbsolutePath2.make("/builtin/opencode.md"),
434
434
  content: OpencodeContent2
435
435
  }));
436
- editor.add(Info7.make({
436
+ editor.add(Info8.make({
437
437
  id: ID5.make("report"),
438
438
  name: Name2.make("Report"),
439
439
  description: REPORT_DESCRIPTION,
@@ -462,7 +462,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
462
462
  `);
463
463
  });
464
464
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
465
- const config = yield* Service66;
465
+ const config = yield* Service63;
466
466
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
467
467
  });
468
468
  function terminal() {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info23
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info23 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info23 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info23, exports_skills };
21
+ export { Info16, exports_skills };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
9
  Entry: () => Entry3,
10
- Info: () => Info18
10
+ Info: () => Info15
11
11
  });
12
12
  import { Schema } from "effect";
13
13
  var Entry3 = Schema.Struct({
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry3, Info18, exports_formatter3 };
21
+ export { Entry3, Info15, exports_formatter3 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./ripgrep-f0mxakyp.js";
3
+ } from "./shell-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./ripgrep-w3wsvvr9.js";
6
+ } from "./shell-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./ripgrep-7bmhse3q.js";
9
+ } from "./shell-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./ripgrep-cf4snx6d.js";
12
+ } from "./shell-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./ripgrep-822emrt2.js";
15
+ } from "./shell-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./ripgrep-wd87259q.js";
18
+ } from "./shell-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./ripgrep-m9w0rfyh.js";
21
+ } from "./shell-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";