@opencode-ai/core 0.0.0-dev-18996 → 0.0.0-dev-18997

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (782) hide show
  1. package/dist/account/sql.js +2 -2
  2. package/dist/agent.js +70 -70
  3. package/dist/aisdk-native.js +3 -3
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +2 -2
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +78 -78
  8. package/dist/chunks/{ripgrep-0ag03ecw.js → tool-0ag03ecw.js} +2 -2
  9. package/dist/chunks/{ripgrep-atjngknp.js → tool-0c8rkv63.js} +14 -14
  10. package/dist/chunks/{ripgrep-wf7qa8th.js → tool-0gghny7y.js} +32 -32
  11. package/dist/chunks/{ripgrep-0gpahtwn.js → tool-0gpahtwn.js} +2 -2
  12. package/dist/chunks/{ripgrep-tqxs68gv.js → tool-0nfjz3rr.js} +2 -2
  13. package/dist/chunks/{ripgrep-0pc4kdn1.js → tool-0pc4kdn1.js} +2 -2
  14. package/dist/chunks/{ripgrep-0rz7yd7x.js → tool-0rz7yd7x.js} +1 -1
  15. package/dist/chunks/{ripgrep-136c8mz3.js → tool-136c8mz3.js} +3 -3
  16. package/dist/chunks/{ripgrep-xfb3hekn.js → tool-1p2haxa4.js} +3 -3
  17. package/dist/chunks/{ripgrep-0k9nzm2b.js → tool-1ww32adf.js} +1 -1
  18. package/dist/chunks/{ripgrep-zeb4e4mh.js → tool-25fav9bx.js} +9 -9
  19. package/dist/chunks/{ripgrep-264e1nfp.js → tool-264e1nfp.js} +2 -2
  20. package/dist/chunks/{ripgrep-bpfy940g.js → tool-2f626ajh.js} +15 -15
  21. package/dist/chunks/{ripgrep-2qq12ds3.js → tool-2qq12ds3.js} +3 -3
  22. package/dist/chunks/{ripgrep-2sqw2jjm.js → tool-2sqw2jjm.js} +3 -3
  23. package/dist/chunks/tool-2xs53ass.js +60 -0
  24. package/dist/chunks/{ripgrep-326j4s6w.js → tool-326j4s6w.js} +2 -2
  25. package/dist/chunks/{ripgrep-efn363sp.js → tool-37azw53r.js} +6 -6
  26. package/dist/chunks/{ripgrep-3chx3ng6.js → tool-3chx3ng6.js} +1 -1
  27. package/dist/chunks/{ripgrep-3ebhgms6.js → tool-3ebhgms6.js} +3 -3
  28. package/dist/chunks/{ripgrep-3ep0k87g.js → tool-3ep0k87g.js} +3 -3
  29. package/dist/chunks/{ripgrep-e4rnwfqe.js → tool-3hvzrfwf.js} +12 -12
  30. package/dist/chunks/{ripgrep-4nrcq5vt.js → tool-3jp0syc9.js} +6 -6
  31. package/dist/chunks/{ripgrep-3mc1hhwa.js → tool-3mc1hhwa.js} +3 -3
  32. package/dist/chunks/{ripgrep-3tg0cqem.js → tool-3tg0cqem.js} +1 -1
  33. package/dist/chunks/{ripgrep-vhkhv7ha.js → tool-3wn72n86.js} +10 -10
  34. package/dist/chunks/{ripgrep-wwxjq9x9.js → tool-3yy738vv.js} +3 -3
  35. package/dist/chunks/{ripgrep-dyey9v3v.js → tool-40y7w7y5.js} +3 -3
  36. package/dist/chunks/{ripgrep-42zyazrq.js → tool-42zyazrq.js} +1 -1
  37. package/dist/chunks/{ripgrep-6jdfsyr2.js → tool-46jpz8tn.js} +3 -3
  38. package/dist/chunks/{ripgrep-wwrr5shm.js → tool-4c3h8rfq.js} +14 -14
  39. package/dist/chunks/{ripgrep-9drvf8c1.js → tool-4gw4mpvn.js} +10 -10
  40. package/dist/chunks/{ripgrep-xp2hc80t.js → tool-4r2v7xfb.js} +154 -154
  41. package/dist/chunks/{ripgrep-mb2awe6b.js → tool-4rf36tc3.js} +2 -2
  42. package/dist/chunks/{ripgrep-4v6g3p22.js → tool-4v6g3p22.js} +1 -1
  43. package/dist/chunks/{ripgrep-4w0ckvbq.js → tool-4w0ckvbq.js} +3 -3
  44. package/dist/chunks/{ripgrep-4813mzx7.js → tool-508x366r.js} +15 -15
  45. package/dist/chunks/{ripgrep-gwf84xen.js → tool-50cw7zvb.js} +7 -7
  46. package/dist/chunks/{ripgrep-51t2tyks.js → tool-51t2tyks.js} +1 -1
  47. package/dist/chunks/{ripgrep-53jxjgr1.js → tool-53jxjgr1.js} +2 -2
  48. package/dist/chunks/{ripgrep-5b6jrtgb.js → tool-5dcaydx4.js} +5 -5
  49. package/dist/chunks/{ripgrep-5vbk082d.js → tool-5vbk082d.js} +2 -2
  50. package/dist/chunks/{ripgrep-hx0tezfe.js → tool-5vm0jdj9.js} +3 -3
  51. package/dist/chunks/{ripgrep-5y5kqjze.js → tool-5y5kqjze.js} +1 -1
  52. package/dist/chunks/{ripgrep-zhgrncgb.js → tool-616gr0wx.js} +6 -6
  53. package/dist/chunks/{ripgrep-ahm1gs7p.js → tool-663y5b2v.js} +46 -46
  54. package/dist/chunks/{ripgrep-66mds5ht.js → tool-66mds5ht.js} +1 -1
  55. package/dist/chunks/{ripgrep-68yag814.js → tool-68yag814.js} +1 -1
  56. package/dist/chunks/{ripgrep-6a909wmz.js → tool-6a909wmz.js} +2 -2
  57. package/dist/chunks/{ripgrep-6bxzghb6.js → tool-6bxzghb6.js} +1 -1
  58. package/dist/chunks/{ripgrep-qcaarv0w.js → tool-6d38fja3.js} +3 -3
  59. package/dist/chunks/{ripgrep-6hppa3xw.js → tool-6hppa3xw.js} +2 -2
  60. package/dist/chunks/{ripgrep-rrkfeyc1.js → tool-6qjj0m4q.js} +2 -2
  61. package/dist/chunks/{ripgrep-6vbv4je1.js → tool-6vbv4je1.js} +2 -2
  62. package/dist/chunks/{ripgrep-6wsfy4sp.js → tool-6wsfy4sp.js} +2 -2
  63. package/dist/chunks/{ripgrep-x8am67v7.js → tool-6xm7tcj7.js} +5 -5
  64. package/dist/chunks/{ripgrep-qmrak919.js → tool-70ncp6c1.js} +2 -2
  65. package/dist/chunks/{ripgrep-fxrdvbnx.js → tool-73ax3jaa.js} +11 -11
  66. package/dist/chunks/{ripgrep-rv98m6px.js → tool-74jeqw11.js} +7 -7
  67. package/dist/chunks/{ripgrep-htbe5bs0.js → tool-77rwgypr.js} +3 -3
  68. package/dist/chunks/{ripgrep-4kq0p860.js → tool-7jh3zw7n.js} +9 -9
  69. package/dist/chunks/{ripgrep-7myqjfx6.js → tool-7myqjfx6.js} +1 -1
  70. package/dist/chunks/{ripgrep-yjwdjfj0.js → tool-7prkhz8c.js} +2 -2
  71. package/dist/chunks/{ripgrep-45m9a5g1.js → tool-818edp32.js} +3 -3
  72. package/dist/chunks/{ripgrep-89ttfx5q.js → tool-89ttfx5q.js} +2 -2
  73. package/dist/chunks/{ripgrep-8ezmrsyj.js → tool-8ezmrsyj.js} +2 -2
  74. package/dist/chunks/{ripgrep-8manx9kj.js → tool-8manx9kj.js} +2 -2
  75. package/dist/chunks/{ripgrep-8y5vxhk7.js → tool-8y5vxhk7.js} +1 -1
  76. package/dist/chunks/{ripgrep-41d795jd.js → tool-90rbcqcr.js} +3 -3
  77. package/dist/chunks/{ripgrep-sdqd1mry.js → tool-92633kvy.js} +14 -14
  78. package/dist/chunks/{ripgrep-176r80k9.js → tool-99fm67tp.js} +4 -4
  79. package/dist/chunks/{ripgrep-9dbv6hqn.js → tool-9dbv6hqn.js} +2 -2
  80. package/dist/chunks/{ripgrep-kq4y4q06.js → tool-9h62k39y.js} +8 -8
  81. package/dist/chunks/{ripgrep-b9trhhvr.js → tool-9nbt8589.js} +3 -3
  82. package/dist/chunks/{ripgrep-67sywna6.js → tool-9rs6v63p.js} +7 -7
  83. package/dist/chunks/{ripgrep-1vgf3wjd.js → tool-a4hjy20a.js} +2 -2
  84. package/dist/chunks/{ripgrep-a6xqkezx.js → tool-a6xqkezx.js} +1 -1
  85. package/dist/chunks/{ripgrep-8eq730r7.js → tool-a70nwf1w.js} +6 -6
  86. package/dist/chunks/{ripgrep-f2qsavyc.js → tool-ab67dm2x.js} +15 -15
  87. package/dist/chunks/{ripgrep-af42tqdk.js → tool-af42tqdk.js} +2 -2
  88. package/dist/chunks/{ripgrep-wsbjcg82.js → tool-apabp85x.js} +3 -3
  89. package/dist/chunks/{ripgrep-tahaaga8.js → tool-aq4dtsxs.js} +6 -6
  90. package/dist/chunks/{ripgrep-ax34jjm3.js → tool-ax34jjm3.js} +7 -7
  91. package/dist/chunks/{ripgrep-2fjxe68a.js → tool-b3sesy6f.js} +6 -6
  92. package/dist/chunks/{ripgrep-sccqa5z4.js → tool-badkz0rm.js} +4 -4
  93. package/dist/chunks/{ripgrep-frq6e54n.js → tool-bbk505sh.js} +3 -3
  94. package/dist/chunks/{ripgrep-bd2mvb8t.js → tool-bd2mvb8t.js} +2 -2
  95. package/dist/chunks/{ripgrep-bnha4c96.js → tool-bnha4c96.js} +1 -1
  96. package/dist/chunks/{ripgrep-rvnd2zv0.js → tool-brppcdrr.js} +17 -17
  97. package/dist/chunks/{ripgrep-d6j9mvbe.js → tool-bsrgnv1f.js} +20 -20
  98. package/dist/chunks/{ripgrep-c54e84vp.js → tool-c54e84vp.js} +1 -1
  99. package/dist/chunks/{ripgrep-c55cgmsp.js → tool-c55cgmsp.js} +2 -2
  100. package/dist/chunks/{ripgrep-jthx6vab.js → tool-c5hk7zmf.js} +3 -3
  101. package/dist/chunks/{ripgrep-c8ya26sa.js → tool-c8ya26sa.js} +2 -2
  102. package/dist/chunks/{ripgrep-9nm8b6kv.js → tool-ccarkha1.js} +8 -8
  103. package/dist/chunks/{ripgrep-ckcq38kt.js → tool-ckcq38kt.js} +2 -2
  104. package/dist/chunks/{ripgrep-m7fy7rpx.js → tool-cnynrzx4.js} +4 -4
  105. package/dist/chunks/{ripgrep-9rvxagkh.js → tool-czxbt01h.js} +12 -12
  106. package/dist/chunks/{ripgrep-vdd0vmdz.js → tool-d18jsb5c.js} +5 -5
  107. package/dist/chunks/{ripgrep-d4h7vwhh.js → tool-d4h7vwhh.js} +2 -2
  108. package/dist/chunks/{ripgrep-t3xqfdz2.js → tool-da9pshct.js} +4 -4
  109. package/dist/chunks/{ripgrep-yxp17607.js → tool-daxrepdy.js} +10 -10
  110. package/dist/chunks/{ripgrep-hzf0n5qk.js → tool-ddntx4xg.js} +8 -8
  111. package/dist/chunks/{ripgrep-dexm22yg.js → tool-dexm22yg.js} +1 -1
  112. package/dist/chunks/{ripgrep-8mwfkgaw.js → tool-dkxhp46v.js} +2 -2
  113. package/dist/chunks/{ripgrep-vcjhsp7r.js → tool-dpkgw5cr.js} +6 -6
  114. package/dist/chunks/{ripgrep-x5xqe005.js → tool-drthn2kr.js} +3 -3
  115. package/dist/chunks/{ripgrep-dtm6fkaa.js → tool-dtm6fkaa.js} +2 -2
  116. package/dist/chunks/{ripgrep-dyhtrhy2.js → tool-dyhtrhy2.js} +1 -1
  117. package/dist/chunks/{ripgrep-dyrfpcd0.js → tool-dyrfpcd0.js} +1 -1
  118. package/dist/chunks/{ripgrep-e0n16vwa.js → tool-e0n16vwa.js} +2 -2
  119. package/dist/chunks/{ripgrep-tja8j2y8.js → tool-e5vshg0r.js} +5 -5
  120. package/dist/chunks/{ripgrep-fespahpz.js → tool-e60f453f.js} +9 -9
  121. package/dist/chunks/{ripgrep-eb87q0yv.js → tool-eb87q0yv.js} +1 -1
  122. package/dist/chunks/{ripgrep-zp28t7yk.js → tool-ec64mz3c.js} +5 -5
  123. package/dist/chunks/{ripgrep-edxnhgvj.js → tool-edxnhgvj.js} +1 -1
  124. package/dist/chunks/{ripgrep-esv5q40e.js → tool-esv5q40e.js} +1 -1
  125. package/dist/chunks/{ripgrep-etbnsc4s.js → tool-etbnsc4s.js} +2 -2
  126. package/dist/chunks/{ripgrep-ew2f4d89.js → tool-ew2f4d89.js} +4 -4
  127. package/dist/chunks/{ripgrep-mxffryfq.js → tool-ewn5wgp5.js} +9 -9
  128. package/dist/chunks/{ripgrep-z3hrqy8a.js → tool-ez77pq1q.js} +6 -6
  129. package/dist/chunks/{ripgrep-f2nhxfjt.js → tool-f2nhxfjt.js} +2 -2
  130. package/dist/chunks/{ripgrep-qd0brsh5.js → tool-f4tf29yz.js} +6 -6
  131. package/dist/chunks/{ripgrep-f8wvq04h.js → tool-f8wvq04h.js} +1 -1
  132. package/dist/chunks/{ripgrep-nfapca2z.js → tool-f9pzv4b8.js} +6 -6
  133. package/dist/chunks/{ripgrep-sm0e6bhy.js → tool-fcf17szs.js} +9 -9
  134. package/dist/chunks/{ripgrep-7a8bc6ht.js → tool-fmnxesf9.js} +3 -3
  135. package/dist/chunks/{ripgrep-9t1038ec.js → tool-fptaf3g7.js} +4 -4
  136. package/dist/chunks/{ripgrep-fqehnn9p.js → tool-fqehnn9p.js} +2 -2
  137. package/dist/chunks/{ripgrep-dv0zj7fk.js → tool-fsf5ya72.js} +15 -15
  138. package/dist/chunks/{ripgrep-c3g5fj2q.js → tool-g3t8m43p.js} +4 -4
  139. package/dist/chunks/{ripgrep-g9dd0fv6.js → tool-g9dd0fv6.js} +2 -2
  140. package/dist/chunks/{ripgrep-gb1z7yet.js → tool-gb1z7yet.js} +2 -2
  141. package/dist/chunks/{ripgrep-gc513wew.js → tool-gc513wew.js} +2 -2
  142. package/dist/chunks/{ripgrep-grfz4hhj.js → tool-grfz4hhj.js} +1 -1
  143. package/dist/chunks/{ripgrep-10qptxgd.js → tool-gt0macb5.js} +7 -7
  144. package/dist/chunks/{ripgrep-tszp4ekj.js → tool-gvkb6rm5.js} +8 -8
  145. package/dist/chunks/{ripgrep-h01zxzks.js → tool-h01zxzks.js} +4 -4
  146. package/dist/chunks/{ripgrep-9dj5pd8q.js → tool-h27g7z9n.js} +6 -6
  147. package/dist/chunks/{ripgrep-zqyywcy3.js → tool-h33qqm2d.js} +6 -6
  148. package/dist/chunks/{ripgrep-2333dmwb.js → tool-h5s94ycx.js} +5 -5
  149. package/dist/chunks/{ripgrep-1v0hf2gy.js → tool-h658vgf0.js} +2 -2
  150. package/dist/chunks/{ripgrep-6r7rsav3.js → tool-hcgt9g2n.js} +7 -7
  151. package/dist/chunks/{ripgrep-hgr9y616.js → tool-hgr9y616.js} +1 -1
  152. package/dist/chunks/{ripgrep-hpkeh7wf.js → tool-hpkeh7wf.js} +1 -1
  153. package/dist/chunks/{ripgrep-hs51b0fc.js → tool-hs51b0fc.js} +1 -1
  154. package/dist/chunks/{ripgrep-htmhxvv7.js → tool-htmhxvv7.js} +1 -1
  155. package/dist/chunks/{ripgrep-hvydqsq5.js → tool-hvydqsq5.js} +2 -2
  156. package/dist/chunks/{ripgrep-7ezxv4af.js → tool-hx02dr4w.js} +8 -8
  157. package/dist/chunks/{ripgrep-hy5n5jcn.js → tool-hy5n5jcn.js} +1 -1
  158. package/dist/chunks/{ripgrep-hzag9ake.js → tool-hzag9ake.js} +1 -1
  159. package/dist/chunks/{ripgrep-hzwx8p6y.js → tool-hzwx8p6y.js} +1 -1
  160. package/dist/chunks/{ripgrep-j0feex7e.js → tool-j0feex7e.js} +1 -1
  161. package/dist/chunks/{ripgrep-ybsjjmsq.js → tool-j0kyxvzn.js} +5 -5
  162. package/dist/chunks/{ripgrep-sbkc0v7s.js → tool-j0xxj63r.js} +3 -3
  163. package/dist/chunks/{ripgrep-mje6sx4a.js → tool-j6t4k458.js} +3 -3
  164. package/dist/chunks/{ripgrep-jar52fmb.js → tool-jar52fmb.js} +3 -3
  165. package/dist/chunks/{ripgrep-2bewv4ey.js → tool-jm9phj6a.js} +4 -4
  166. package/dist/chunks/{ripgrep-jqhp3fpz.js → tool-jqhp3fpz.js} +2 -2
  167. package/dist/chunks/{ripgrep-jr5m26np.js → tool-jr5m26np.js} +2 -2
  168. package/dist/chunks/{ripgrep-dce1bfc5.js → tool-jtb3ap05.js} +3 -3
  169. package/dist/chunks/{ripgrep-m6z66k75.js → tool-jtf0askg.js} +12 -12
  170. package/dist/chunks/{ripgrep-aav32bqa.js → tool-k25tjeqa.js} +6 -6
  171. package/dist/chunks/{ripgrep-1605kbke.js → tool-k3vrnyvn.js} +10 -10
  172. package/dist/chunks/{ripgrep-sambg1c9.js → tool-k40cej42.js} +48 -82
  173. package/dist/chunks/{ripgrep-k7hkdbw5.js → tool-k7hkdbw5.js} +2 -2
  174. package/dist/chunks/{ripgrep-kq3q54gz.js → tool-kq3q54gz.js} +1 -1
  175. package/dist/chunks/{ripgrep-kr9vgar1.js → tool-kr9vgar1.js} +1 -1
  176. package/dist/chunks/{ripgrep-m3k5wttq.js → tool-m3k5wttq.js} +4 -4
  177. package/dist/chunks/{ripgrep-m6a7zjhr.js → tool-m6a7zjhr.js} +1 -1
  178. package/dist/chunks/{ripgrep-y6e40hgk.js → tool-m6vttwnx.js} +3 -3
  179. package/dist/chunks/{ripgrep-m7jtgrng.js → tool-m7jtgrng.js} +2 -2
  180. package/dist/chunks/{ripgrep-c04gxx5z.js → tool-mcw6znb6.js} +13 -13
  181. package/dist/chunks/{ripgrep-5e8ys0c7.js → tool-mdxpzq8y.js} +5 -5
  182. package/dist/chunks/{ripgrep-7ek5ab74.js → tool-me4w3m8w.js} +9 -9
  183. package/dist/chunks/{ripgrep-mf0hyk7z.js → tool-mf0hyk7z.js} +1 -1
  184. package/dist/chunks/{ripgrep-mnyszbxc.js → tool-mnyszbxc.js} +1 -1
  185. package/dist/chunks/{ripgrep-wp8tr8ms.js → tool-mrpetabh.js} +3 -3
  186. package/dist/chunks/{ripgrep-ps9q8yy6.js → tool-mthy27mn.js} +15 -15
  187. package/dist/chunks/{ripgrep-mv81kt5z.js → tool-mv81kt5z.js} +2 -2
  188. package/dist/chunks/{ripgrep-my53s247.js → tool-my53s247.js} +1 -1
  189. package/dist/chunks/{ripgrep-ngzr6ypz.js → tool-ngzr6ypz.js} +2 -2
  190. package/dist/chunks/{ripgrep-nj6yqve1.js → tool-nj6yqve1.js} +2 -2
  191. package/dist/chunks/{ripgrep-nn16cgj7.js → tool-nn16cgj7.js} +1 -1
  192. package/dist/chunks/{ripgrep-wkkdha61.js → tool-np34kqfp.js} +4 -4
  193. package/dist/chunks/{ripgrep-ntev5d3k.js → tool-ntev5d3k.js} +3 -3
  194. package/dist/chunks/{ripgrep-823mpfpr.js → tool-nwh26h91.js} +10 -10
  195. package/dist/chunks/{ripgrep-0ctqd7et.js → tool-nxapxav8.js} +89 -89
  196. package/dist/chunks/{ripgrep-nz4de5b9.js → tool-nz4de5b9.js} +2 -2
  197. package/dist/chunks/{ripgrep-6xrrragk.js → tool-nznb1f3s.js} +2 -2
  198. package/dist/chunks/{ripgrep-p1m5qwvv.js → tool-p1m5qwvv.js} +1 -1
  199. package/dist/chunks/{ripgrep-p5gyct0y.js → tool-p5gyct0y.js} +1 -1
  200. package/dist/chunks/{ripgrep-g7t4cvrk.js → tool-pa6hb770.js} +4 -4
  201. package/dist/chunks/{ripgrep-dx5fmh73.js → tool-pe87s3se.js} +4 -4
  202. package/dist/chunks/{ripgrep-pk53j7qk.js → tool-pk53j7qk.js} +2 -2
  203. package/dist/chunks/{ripgrep-qtt1f7yf.js → tool-ptbm9ajw.js} +3 -3
  204. package/dist/chunks/{ripgrep-pves38xm.js → tool-pves38xm.js} +2 -2
  205. package/dist/chunks/{ripgrep-w21dct3k.js → tool-pwpvykev.js} +2 -2
  206. package/dist/chunks/{ripgrep-rceqa8d3.js → tool-px5fy12z.js} +7 -7
  207. package/dist/chunks/{ripgrep-r233xqmw.js → tool-pyz6rhr3.js} +5 -5
  208. package/dist/chunks/{ripgrep-0cq705ny.js → tool-q336c04d.js} +4 -4
  209. package/dist/chunks/{ripgrep-q606pcse.js → tool-q606pcse.js} +3 -3
  210. package/dist/chunks/{ripgrep-7t97kqrb.js → tool-qer0405w.js} +13 -13
  211. package/dist/chunks/{ripgrep-qf52r0wh.js → tool-qf52r0wh.js} +1 -1
  212. package/dist/chunks/{ripgrep-qfvp8zq7.js → tool-qfvp8zq7.js} +1 -1
  213. package/dist/chunks/{ripgrep-r9by2sg5.js → tool-qjpvd1qs.js} +6 -6
  214. package/dist/chunks/{ripgrep-3h1nn0sm.js → tool-qp5964mq.js} +2 -2
  215. package/dist/chunks/{ripgrep-04mr1kbv.js → tool-qpgxn38t.js} +5 -5
  216. package/dist/chunks/{ripgrep-qpxzqy01.js → tool-qpxzqy01.js} +1 -1
  217. package/dist/chunks/{ripgrep-qz5gwjr7.js → tool-qz5gwjr7.js} +3 -3
  218. package/dist/chunks/{ripgrep-r7a2r1m6.js → tool-r7a2r1m6.js} +2 -2
  219. package/dist/chunks/{ripgrep-r7z6wjth.js → tool-r7z6wjth.js} +1 -1
  220. package/dist/chunks/{ripgrep-efmaen3j.js → tool-r8wd8cb4.js} +3 -3
  221. package/dist/chunks/{ripgrep-r9d3d23r.js → tool-r9d3d23r.js} +1 -1
  222. package/dist/chunks/{ripgrep-rahat93a.js → tool-rahat93a.js} +1 -1
  223. package/dist/chunks/{ripgrep-y22ty55w.js → tool-rdngsam9.js} +7 -7
  224. package/dist/chunks/{ripgrep-d3aavq7p.js → tool-rj2hrzkv.js} +6 -6
  225. package/dist/chunks/{ripgrep-rr7wbarq.js → tool-rr7wbarq.js} +1 -1
  226. package/dist/chunks/{ripgrep-xrg02cqv.js → tool-rrd4ayzv.js} +6 -6
  227. package/dist/chunks/{ripgrep-mjnk038r.js → tool-rtxdyk4f.js} +5 -5
  228. package/dist/chunks/{ripgrep-2ax5kna0.js → tool-rtyam51d.js} +90 -90
  229. package/dist/chunks/{ripgrep-d3pb9ng0.js → tool-rwmdkmy6.js} +31 -31
  230. package/dist/chunks/{ripgrep-zz1t6cbp.js → tool-s0yna8ad.js} +3 -3
  231. package/dist/chunks/{ripgrep-s32nnj3r.js → tool-s32nnj3r.js} +1 -1
  232. package/dist/chunks/{ripgrep-1xp8c85c.js → tool-s4z3e42m.js} +8 -8
  233. package/dist/chunks/{ripgrep-h5svndmb.js → tool-sr8qhg83.js} +4 -4
  234. package/dist/chunks/{ripgrep-n11y4gaa.js → tool-sres5v6v.js} +5 -5
  235. package/dist/chunks/{ripgrep-jqfxjn4p.js → tool-szxt6w20.js} +4 -4
  236. package/dist/chunks/{ripgrep-ep55bdjp.js → tool-t4td4sde.js} +6 -6
  237. package/dist/chunks/{ripgrep-rwbt5kzd.js → tool-t8qsdtcd.js} +6 -6
  238. package/dist/chunks/tool-t9t544b9.js +38 -0
  239. package/dist/chunks/{ripgrep-wzvrbapk.js → tool-tajp0x9e.js} +24 -24
  240. package/dist/chunks/{ripgrep-1591vnw2.js → tool-trh83sx0.js} +11 -11
  241. package/dist/chunks/{ripgrep-yeh7g5xv.js → tool-v1fq06zy.js} +10 -10
  242. package/dist/chunks/{ripgrep-ge9z9saj.js → tool-v5wnykcn.js} +53 -53
  243. package/dist/chunks/{ripgrep-aqq7me5d.js → tool-v9qxqszp.js} +35 -27
  244. package/dist/chunks/{ripgrep-h7beqx7k.js → tool-v9rtp9t2.js} +4 -4
  245. package/dist/chunks/{ripgrep-vcwr2vpf.js → tool-vcwr2vpf.js} +1 -1
  246. package/dist/chunks/{ripgrep-q6p39g4j.js → tool-vd4vcx3n.js} +4 -4
  247. package/dist/chunks/{ripgrep-w8p7mghm.js → tool-vdcxn2x1.js} +61 -61
  248. package/dist/chunks/{ripgrep-rn1msgkv.js → tool-vg7fmanw.js} +9 -9
  249. package/dist/chunks/{ripgrep-hsx0srpf.js → tool-vpmnhrx5.js} +5 -5
  250. package/dist/chunks/{ripgrep-vynk8zbr.js → tool-vynk8zbr.js} +1 -1
  251. package/dist/chunks/{ripgrep-zpd0pxmk.js → tool-vywzpx0v.js} +10 -10
  252. package/dist/chunks/{ripgrep-zmtc2baj.js → tool-w3kfyrcx.js} +7 -7
  253. package/dist/chunks/{ripgrep-2eecv6wa.js → tool-w4fj57b9.js} +5 -5
  254. package/dist/chunks/{ripgrep-w5r9s7kx.js → tool-w5r9s7kx.js} +1 -1
  255. package/dist/chunks/{ripgrep-wbkt8qpj.js → tool-wbkt8qpj.js} +1 -1
  256. package/dist/chunks/{ripgrep-aby2dfns.js → tool-wd6r93kv.js} +7 -7
  257. package/dist/chunks/{ripgrep-wdqva41w.js → tool-wdqva41w.js} +1 -1
  258. package/dist/chunks/{ripgrep-wf5w4wph.js → tool-wf5w4wph.js} +1 -1
  259. package/dist/chunks/{ripgrep-wmxdh12w.js → tool-wmxdh12w.js} +1 -1
  260. package/dist/chunks/{ripgrep-qgz5v5bm.js → tool-wwwzeg61.js} +4 -4
  261. package/dist/chunks/{ripgrep-x3vb5b1t.js → tool-x3vb5b1t.js} +1 -1
  262. package/dist/chunks/{ripgrep-x4az4y7r.js → tool-x4az4y7r.js} +1 -1
  263. package/dist/chunks/{ripgrep-xdb88cdw.js → tool-xdb88cdw.js} +2 -2
  264. package/dist/chunks/{ripgrep-xe02v0q7.js → tool-xe02v0q7.js} +2 -2
  265. package/dist/chunks/{ripgrep-fa3txzxh.js → tool-xfj0mmd5.js} +8 -8
  266. package/dist/chunks/{ripgrep-nbjh3vz7.js → tool-xrvqwh20.js} +5 -5
  267. package/dist/chunks/{ripgrep-veda7ekx.js → tool-xtbbxnjj.js} +12 -12
  268. package/dist/chunks/{ripgrep-xws7arpm.js → tool-xws7arpm.js} +1 -1
  269. package/dist/chunks/{ripgrep-y515mbwq.js → tool-yx3tv32e.js} +7 -7
  270. package/dist/chunks/{ripgrep-w440ffk4.js → tool-z5tgxg9q.js} +18 -18
  271. package/dist/chunks/{ripgrep-9s8k2xje.js → tool-z68w9j5j.js} +10 -10
  272. package/dist/chunks/{ripgrep-z8c1ty6e.js → tool-z8c1ty6e.js} +1 -1
  273. package/dist/chunks/{ripgrep-5s33ctyn.js → tool-z9anvdnc.js} +4 -4
  274. package/dist/chunks/{ripgrep-zbqqnp0n.js → tool-zbqqnp0n.js} +1 -1
  275. package/dist/chunks/{ripgrep-zr1qjpg2.js → tool-zm8cj3b6.js} +9 -9
  276. package/dist/chunks/{ripgrep-zmbmd7xf.js → tool-zmbmd7xf.js} +2 -2
  277. package/dist/chunks/{ripgrep-zn935gjz.js → tool-zn935gjz.js} +1 -1
  278. package/dist/chunks/{ripgrep-zseh86v1.js → tool-zseh86v1.js} +2 -2
  279. package/dist/chunks/{ripgrep-zyyhrfr9.js → tool-zyyhrfr9.js} +1 -1
  280. package/dist/codemode/catalog.js +2 -2
  281. package/dist/codemode/instructions.js +4 -4
  282. package/dist/codemode/tool.js +4 -4
  283. package/dist/command.js +70 -70
  284. package/dist/config/discovery.js +88 -0
  285. package/dist/config/markdown.js +2 -2
  286. package/dist/config/normalize.js +20 -20
  287. package/dist/config/plugin/agent.js +129 -127
  288. package/dist/config/plugin/command.js +115 -113
  289. package/dist/config/plugin/compaction.js +168 -166
  290. package/dist/config/plugin/entry-observer.js +111 -109
  291. package/dist/config/plugin/formatter.js +116 -114
  292. package/dist/config/plugin/image.js +128 -126
  293. package/dist/config/plugin/instruction.js +85 -85
  294. package/dist/config/plugin/location-watcher.js +114 -112
  295. package/dist/config/plugin/mcp.js +124 -122
  296. package/dist/config/plugin/policy.js +113 -111
  297. package/dist/config/plugin/provider.js +112 -110
  298. package/dist/config/plugin/reference.js +116 -114
  299. package/dist/config/plugin/shell.js +115 -113
  300. package/dist/config/plugin/skill-file.js +98 -98
  301. package/dist/config/plugin/skill.js +132 -130
  302. package/dist/config/plugin/snapshot.js +114 -112
  303. package/dist/config/plugin/source.js +112 -110
  304. package/dist/config/plugin/tool-output.js +116 -114
  305. package/dist/config/plugin/websearch.js +112 -110
  306. package/dist/config/variable.js +4 -4
  307. package/dist/config/watch.js +9 -0
  308. package/dist/config.js +110 -108
  309. package/dist/credential/sql.js +3 -3
  310. package/dist/credential.js +71 -71
  311. package/dist/database/database.js +65 -65
  312. package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
  313. package/dist/database/drizzle/effect-sqlite/index.js +13 -13
  314. package/dist/database/drizzle/effect-sqlite/session.js +12 -12
  315. package/dist/database/drizzle/index.js +14 -14
  316. package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
  317. package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
  318. package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
  319. package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
  320. package/dist/database/drizzle/sqlite-core/effect/index.js +21 -21
  321. package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
  322. package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
  325. package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
  326. package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
  327. package/dist/database/drizzle.js +15 -15
  328. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
  329. package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
  330. package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
  331. package/dist/database/migration/20260225215848_workspace.js +2 -2
  332. package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
  333. package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
  334. package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
  335. package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
  336. package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
  337. package/dist/database/migration/20260323234822_events.js +2 -2
  338. package/dist/database/migration/20260410174513_workspace-name.js +2 -2
  339. package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
  340. package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
  341. package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
  342. package/dist/database/migration/20260428004200_add_session_path.js +2 -2
  343. package/dist/database/migration/20260501142318_next_venus.js +2 -2
  344. package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
  345. package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
  346. package/dist/database/migration/20260510033149_session_usage.js +2 -2
  347. package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
  348. package/dist/database/migration/20260511173437_session-metadata.js +2 -2
  349. package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
  350. package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
  351. package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
  352. package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
  353. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
  354. package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
  355. package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
  356. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
  357. package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
  358. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
  359. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
  360. package/dist/database/migration/20260611035744_credential.js +2 -2
  361. package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
  362. package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
  363. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
  364. package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
  365. package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
  366. package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
  367. package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
  368. package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
  369. package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
  370. package/dist/database/migration/20260812181746_session_inbox.js +2 -2
  371. package/dist/database/migration/20260812213948_worktree.js +2 -2
  372. package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
  373. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
  374. package/dist/database/migration.gen.js +48 -48
  375. package/dist/database/migration.js +50 -50
  376. package/dist/database/path.js +3 -3
  377. package/dist/database/schema.gen.js +2 -2
  378. package/dist/database/schema.sql.js +2 -2
  379. package/dist/database/sqlite.bun.js +2 -2
  380. package/dist/database/sqlite.js +2 -2
  381. package/dist/database/sqlite.node.js +2 -2
  382. package/dist/database/sqlite.workerd.js +2 -2
  383. package/dist/database/v1-migration.bun.js +77 -77
  384. package/dist/database/v1-migration.js +2 -2
  385. package/dist/database/v1-migration.noop.js +1 -1
  386. package/dist/effect/app-node-builder.js +344 -342
  387. package/dist/effect/app-node-platform.js +3 -3
  388. package/dist/effect/keyed-mutex.js +2 -2
  389. package/dist/effect/websocket-constructor.js +2 -2
  390. package/dist/environment/driver.js +1 -1
  391. package/dist/environment/environment.js +86 -86
  392. package/dist/environment/exec-defaults.js +3 -3
  393. package/dist/environment/files.js +2 -2
  394. package/dist/environment/index.js +86 -86
  395. package/dist/environment/local.js +3 -3
  396. package/dist/environment/memory.js +3 -3
  397. package/dist/environment/unavailable.js +1 -1
  398. package/dist/event/sql.js +2 -2
  399. package/dist/event-logger.js +68 -68
  400. package/dist/file-mutation.js +87 -87
  401. package/dist/file-retention.js +2 -2
  402. package/dist/file.js +2 -2
  403. package/dist/filesystem/fff.bun.js +2 -2
  404. package/dist/filesystem/fff.js +2 -2
  405. package/dist/filesystem/fff.node.js +2 -2
  406. package/dist/filesystem/fff.workerd.js +2 -2
  407. package/dist/filesystem/ignore.js +1 -1
  408. package/dist/filesystem/location-watcher-policy.js +3 -3
  409. package/dist/filesystem/location-watcher.js +219 -217
  410. package/dist/filesystem/protected.js +2 -2
  411. package/dist/filesystem/search.js +91 -91
  412. package/dist/filesystem/watcher-binding.js +2 -2
  413. package/dist/filesystem/watcher.js +4 -4
  414. package/dist/filesystem.js +92 -92
  415. package/dist/form.js +69 -69
  416. package/dist/formatter/builtins.js +3 -3
  417. package/dist/formatter.js +80 -80
  418. package/dist/generate.js +84 -84
  419. package/dist/git.js +5 -5
  420. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
  421. package/dist/github-copilot/chat/get-response-metadata.js +2 -2
  422. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
  423. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
  424. package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
  425. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
  426. package/dist/github-copilot/copilot-provider.js +18 -18
  427. package/dist/github-copilot/models.js +4 -4
  428. package/dist/github-copilot/openai-compatible-error.js +2 -2
  429. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
  430. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
  431. package/dist/github-copilot/responses/openai-error.js +2 -2
  432. package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
  433. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
  434. package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
  435. package/dist/github-copilot/responses/tool/file-search.js +2 -2
  436. package/dist/github-copilot/responses/tool/image-generation.js +2 -2
  437. package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
  438. package/dist/github-copilot/responses/tool/web-search.js +2 -2
  439. package/dist/id/id.js +2 -2
  440. package/dist/image/photon-wasm.bun.js +1 -1
  441. package/dist/image/photon-wasm.node.js +1 -1
  442. package/dist/image/photon-wasm.workerd.js +1 -1
  443. package/dist/image/photon.js +94 -94
  444. package/dist/image.js +94 -94
  445. package/dist/instance/service.js +2 -2
  446. package/dist/instance.js +343 -341
  447. package/dist/instruction-discovery.js +72 -72
  448. package/dist/instructions/builtins.js +80 -80
  449. package/dist/instructions/index.js +2 -2
  450. package/dist/integration/connection.js +2 -2
  451. package/dist/integration.js +75 -75
  452. package/dist/job.js +72 -72
  453. package/dist/kv/sql.js +3 -3
  454. package/dist/kv.js +68 -68
  455. package/dist/location-activity.js +80 -80
  456. package/dist/location-mutation.js +79 -79
  457. package/dist/location-service-map.js +79 -79
  458. package/dist/location-services.js +344 -342
  459. package/dist/location.js +78 -78
  460. package/dist/mcp/client.js +87 -87
  461. package/dist/mcp/index.js +93 -93
  462. package/dist/mcp/instructions.js +122 -122
  463. package/dist/mcp/oauth.js +2 -2
  464. package/dist/mcp/stdio.js +87 -87
  465. package/dist/mime.js +2 -2
  466. package/dist/model-resolver.js +81 -81
  467. package/dist/model.js +3 -3
  468. package/dist/models-dev.js +75 -75
  469. package/dist/oauth/page.js +2 -2
  470. package/dist/permission/saved.js +71 -71
  471. package/dist/permission/sql.js +6 -6
  472. package/dist/permission.js +95 -95
  473. package/dist/persistent-pty/binary.bun.js +2 -2
  474. package/dist/persistent-pty/binary.node.js +1 -1
  475. package/dist/persistent-pty/binary.workerd.js +1 -1
  476. package/dist/persistent-pty/daemon.js +2 -2
  477. package/dist/persistent-pty/index.js +73 -73
  478. package/dist/persistent-pty/pty-binding.js +2 -2
  479. package/dist/persistent-pty.js +74 -74
  480. package/dist/plugin/agent.js +96 -96
  481. package/dist/plugin/command.js +94 -94
  482. package/dist/plugin/hooks.js +3 -3
  483. package/dist/plugin/host.js +216 -214
  484. package/dist/plugin/instance.js +2 -2
  485. package/dist/plugin/internal.js +315 -313
  486. package/dist/plugin/mcp-codemode-exclusion.js +2 -2
  487. package/dist/plugin/models-dev.js +76 -76
  488. package/dist/plugin/module.js +3 -3
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +2 -2
  491. package/dist/plugin/provider/alibaba.js +3 -3
  492. package/dist/plugin/provider/amazon-bedrock.js +3 -3
  493. package/dist/plugin/provider/anthropic.js +3 -3
  494. package/dist/plugin/provider/azure.js +120 -118
  495. package/dist/plugin/provider/cerebras.js +3 -3
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -117
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -117
  498. package/dist/plugin/provider/cohere.js +3 -3
  499. package/dist/plugin/provider/configured.js +116 -114
  500. package/dist/plugin/provider/dynamic.js +3 -3
  501. package/dist/plugin/provider/factory.js +2 -2
  502. package/dist/plugin/provider/gateway.js +3 -3
  503. package/dist/plugin/provider/github-copilot.js +82 -82
  504. package/dist/plugin/provider/gitlab.js +4 -4
  505. package/dist/plugin/provider/google-vertex.js +3 -3
  506. package/dist/plugin/provider/kilo.js +3 -3
  507. package/dist/plugin/provider/llmgateway.js +77 -77
  508. package/dist/plugin/provider/lmstudio.js +117 -115
  509. package/dist/plugin/provider/mistral.js +3 -3
  510. package/dist/plugin/provider/nvidia.js +3 -3
  511. package/dist/plugin/provider/ollama.js +117 -115
  512. package/dist/plugin/provider/openai-compatible.js +2 -2
  513. package/dist/plugin/provider/openai.js +79 -79
  514. package/dist/plugin/provider/opencode.js +77 -77
  515. package/dist/plugin/provider/openrouter.js +4 -4
  516. package/dist/plugin/provider/perplexity.js +3 -3
  517. package/dist/plugin/provider/sap-ai-core.js +4 -4
  518. package/dist/plugin/provider/sdk-factory.js +2 -2
  519. package/dist/plugin/provider/snowflake-cortex.js +3 -3
  520. package/dist/plugin/provider/venice.js +3 -3
  521. package/dist/plugin/provider/vercel.js +3 -3
  522. package/dist/plugin/provider/vllm.js +117 -115
  523. package/dist/plugin/provider/xai.js +78 -78
  524. package/dist/plugin/provider/zenmux.js +3 -3
  525. package/dist/plugin/provider.js +156 -154
  526. package/dist/plugin/sdk.js +69 -69
  527. package/dist/plugin/service.js +2 -2
  528. package/dist/plugin/skill.js +129 -127
  529. package/dist/plugin/source-directory.js +2 -2
  530. package/dist/plugin/supervisor.js +330 -328
  531. package/dist/plugin/system-prompt.js +2 -2
  532. package/dist/plugin/update.js +3 -3
  533. package/dist/plugin/variant.js +3 -3
  534. package/dist/plugin/vcs/git.js +82 -82
  535. package/dist/plugin/vcs/hg.js +82 -82
  536. package/dist/plugin/warming.js +111 -109
  537. package/dist/plugin/websearch/exa.js +4 -4
  538. package/dist/plugin/websearch/firecrawl.js +5 -5
  539. package/dist/plugin/websearch/index.js +9 -9
  540. package/dist/plugin/websearch/mcp.js +3 -3
  541. package/dist/plugin/websearch/parallel.js +5 -5
  542. package/dist/plugin/websearch/tavily.js +3 -3
  543. package/dist/plugin.js +217 -215
  544. package/dist/project/schema.js +3 -3
  545. package/dist/project/sql.js +5 -5
  546. package/dist/project.js +77 -77
  547. package/dist/provider.js +2 -2
  548. package/dist/pty/protocol.js +1 -1
  549. package/dist/pty/pty.bun.js +1 -1
  550. package/dist/pty/pty.node.js +1 -1
  551. package/dist/pty/pty.workerd.js +1 -1
  552. package/dist/pty/schema.js +2 -2
  553. package/dist/pty/ticket.js +2 -2
  554. package/dist/pty.js +84 -84
  555. package/dist/reference/instructions.js +80 -80
  556. package/dist/reference.js +78 -78
  557. package/dist/repository-cache.js +74 -74
  558. package/dist/repository.js +2 -2
  559. package/dist/ripgrep/binary.js +3 -3
  560. package/dist/ripgrep.js +89 -89
  561. package/dist/rpc.js +79 -79
  562. package/dist/schema.js +2 -2
  563. package/dist/session/command.js +73 -73
  564. package/dist/session/compaction.js +138 -138
  565. package/dist/session/context.js +150 -150
  566. package/dist/session/environment.js +3 -3
  567. package/dist/session/error.js +4 -4
  568. package/dist/session/event.js +2 -2
  569. package/dist/session/execution/restart.js +210 -208
  570. package/dist/session/execution.js +117 -117
  571. package/dist/session/generate.js +153 -153
  572. package/dist/session/history.js +77 -77
  573. package/dist/session/inbox.js +77 -77
  574. package/dist/session/info.js +4 -4
  575. package/dist/session/instruction-entry.js +73 -73
  576. package/dist/session/instruction-state.js +10 -10
  577. package/dist/session/instructions.js +89 -89
  578. package/dist/session/message-updater.js +4 -4
  579. package/dist/session/message.js +2 -2
  580. package/dist/session/model-request.js +134 -134
  581. package/dist/session/model-transport.js +5 -5
  582. package/dist/session/move.js +80 -80
  583. package/dist/session/projector.js +83 -83
  584. package/dist/session/prompt.js +115 -115
  585. package/dist/session/revert.js +87 -87
  586. package/dist/session/run-coordinator.js +2 -2
  587. package/dist/session/runner/index.js +84 -84
  588. package/dist/session/runner/llm.js +226 -224
  589. package/dist/session/runner/max-steps.js +2 -2
  590. package/dist/session/runner/model.js +83 -83
  591. package/dist/session/runner/publish-llm-event.js +4 -4
  592. package/dist/session/runner/retry.js +72 -72
  593. package/dist/session/runner/step.js +143 -143
  594. package/dist/session/runner/to-llm-message.js +2 -2
  595. package/dist/session/schema.js +2 -2
  596. package/dist/session/session.js +173 -171
  597. package/dist/session/shell.js +132 -130
  598. package/dist/session/skill.js +99 -99
  599. package/dist/session/sql.js +6 -6
  600. package/dist/session/stats.js +71 -71
  601. package/dist/session/store.js +79 -79
  602. package/dist/session/subagent-completion.js +2 -2
  603. package/dist/session/system-prompt.js +2 -2
  604. package/dist/session/title.js +152 -152
  605. package/dist/session/to-session-error.js +108 -108
  606. package/dist/session/transfer.js +211 -209
  607. package/dist/session/usage.js +2 -2
  608. package/dist/session.js +207 -205
  609. package/dist/shell/parse.js +7 -7
  610. package/dist/shell/parser-wasm.bun.js +1 -1
  611. package/dist/shell/parser-wasm.node.js +1 -1
  612. package/dist/shell/parser-wasm.workerd.js +1 -1
  613. package/dist/shell/result.js +2 -2
  614. package/dist/shell/scan.js +1 -1
  615. package/dist/shell/select.js +4 -4
  616. package/dist/shell.js +129 -127
  617. package/dist/skill/discovery.js +3 -3
  618. package/dist/skill/instructions.js +97 -97
  619. package/dist/skill.js +96 -96
  620. package/dist/snapshot.js +80 -80
  621. package/dist/state.js +2 -2
  622. package/dist/tool/html-markdown.js +2 -2
  623. package/dist/tool/http-body.js +2 -2
  624. package/dist/tool/mcp.js +121 -121
  625. package/dist/tool/plugin/edit.js +108 -108
  626. package/dist/tool/plugin/file-diff.js +2 -2
  627. package/dist/tool/plugin/glob.js +111 -111
  628. package/dist/tool/plugin/grep.js +111 -111
  629. package/dist/tool/plugin/opencode.js +2 -2
  630. package/dist/tool/plugin/patch.js +108 -108
  631. package/dist/tool/plugin/question.js +97 -97
  632. package/dist/tool/plugin/read.js +114 -114
  633. package/dist/tool/plugin/shell.js +210 -208
  634. package/dist/tool/plugin/skill.js +97 -97
  635. package/dist/tool/plugin/subagent.js +209 -207
  636. package/dist/tool/plugin/webfetch.js +98 -98
  637. package/dist/tool/plugin/websearch.js +100 -100
  638. package/dist/tool/plugin/write.js +108 -108
  639. package/dist/tool/read-filesystem.js +94 -94
  640. package/dist/tool/runtime.js +2 -2
  641. package/dist/tool-output.js +5 -5
  642. package/dist/tool.js +114 -114
  643. package/dist/types/config/discovery.d.ts +35 -0
  644. package/dist/types/config/watch.d.ts +11 -0
  645. package/dist/types/filesystem/watcher.d.ts +19 -17
  646. package/dist/util/array.js +1 -1
  647. package/dist/util/error.js +2 -2
  648. package/dist/util/identifier.js +1 -1
  649. package/dist/util/iife.js +2 -2
  650. package/dist/util/lazy.js +2 -2
  651. package/dist/util/process-lock-ffi.bun.js +1 -1
  652. package/dist/util/process-lock-ffi.node.js +1 -1
  653. package/dist/util/process-lock-ffi.workerd.js +1 -1
  654. package/dist/util/process-lock.js +1 -1
  655. package/dist/util/slug.js +2 -2
  656. package/dist/util/token.js +2 -2
  657. package/dist/util/which.js +2 -2
  658. package/dist/util/wildcard.js +2 -2
  659. package/dist/v1/config/agent.js +4 -4
  660. package/dist/v1/config/attachment.js +3 -3
  661. package/dist/v1/config/command.js +2 -2
  662. package/dist/v1/config/config.js +15 -15
  663. package/dist/v1/config/error.js +3 -3
  664. package/dist/v1/config/formatter.js +2 -2
  665. package/dist/v1/config/layout.js +2 -2
  666. package/dist/v1/config/lsp.js +2 -2
  667. package/dist/v1/config/mcp.js +3 -3
  668. package/dist/v1/config/migrate.js +19 -19
  669. package/dist/v1/config/permission.js +2 -2
  670. package/dist/v1/config/plugin.js +2 -2
  671. package/dist/v1/config/provider-options.js +2 -2
  672. package/dist/v1/config/provider.js +3 -3
  673. package/dist/v1/config/server.js +3 -3
  674. package/dist/v1/config/skills.js +2 -2
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/vcs/patch.js +2 -2
  677. package/dist/vcs.js +81 -81
  678. package/dist/websearch.js +73 -73
  679. package/dist/wellknown/plugin.js +73 -73
  680. package/dist/wellknown.js +72 -72
  681. package/dist/workspace/driver.js +2 -2
  682. package/dist/workspace/sql.js +2 -2
  683. package/dist/workspace.js +69 -69
  684. package/dist/worktree/directory.js +3 -3
  685. package/dist/worktree/git.js +7 -7
  686. package/dist/worktree/sql.js +6 -6
  687. package/dist/worktree.js +82 -82
  688. package/package.json +7 -7
  689. /package/dist/chunks/{ripgrep-0cgt0xh2.js → tool-0cgt0xh2.js} +0 -0
  690. /package/dist/chunks/{ripgrep-0f48qthw.js → tool-0f48qthw.js} +0 -0
  691. /package/dist/chunks/{ripgrep-0zz82cjq.js → tool-0zz82cjq.js} +0 -0
  692. /package/dist/chunks/{ripgrep-1fb7bmpf.js → tool-1fb7bmpf.js} +0 -0
  693. /package/dist/chunks/{ripgrep-1wcz8fvj.js → tool-1wcz8fvj.js} +0 -0
  694. /package/dist/chunks/{ripgrep-29n7vfk2.js → tool-29n7vfk2.js} +0 -0
  695. /package/dist/chunks/{ripgrep-2qdx6zz3.js → tool-2qdx6zz3.js} +0 -0
  696. /package/dist/chunks/{ripgrep-2xb0r1c6.js → tool-2xb0r1c6.js} +0 -0
  697. /package/dist/chunks/{ripgrep-39ktntah.js → tool-39ktntah.js} +0 -0
  698. /package/dist/chunks/{ripgrep-3g3rpp2x.js → tool-3g3rpp2x.js} +0 -0
  699. /package/dist/chunks/{ripgrep-3w3ybtfd.js → tool-3w3ybtfd.js} +0 -0
  700. /package/dist/chunks/{ripgrep-47ty4mvs.js → tool-47ty4mvs.js} +0 -0
  701. /package/dist/chunks/{ripgrep-4b2tz2m9.js → tool-4b2tz2m9.js} +0 -0
  702. /package/dist/chunks/{ripgrep-5a5ch9ts.js → tool-5a5ch9ts.js} +0 -0
  703. /package/dist/chunks/{ripgrep-5va1yh78.js → tool-5va1yh78.js} +0 -0
  704. /package/dist/chunks/{ripgrep-61ek4hj9.js → tool-61ek4hj9.js} +0 -0
  705. /package/dist/chunks/{ripgrep-69qrqpw0.js → tool-69qrqpw0.js} +0 -0
  706. /package/dist/chunks/{ripgrep-6zqxzw0a.js → tool-6zqxzw0a.js} +0 -0
  707. /package/dist/chunks/{ripgrep-7n9qwqk4.js → tool-7n9qwqk4.js} +0 -0
  708. /package/dist/chunks/{ripgrep-8nn8kqcn.js → tool-8nn8kqcn.js} +0 -0
  709. /package/dist/chunks/{ripgrep-8rpfd2h6.js → tool-8rpfd2h6.js} +0 -0
  710. /package/dist/chunks/{ripgrep-8sj3ajy5.js → tool-8sj3ajy5.js} +0 -0
  711. /package/dist/chunks/{ripgrep-8w9tzfz1.js → tool-8w9tzfz1.js} +0 -0
  712. /package/dist/chunks/{ripgrep-906y0b6d.js → tool-906y0b6d.js} +0 -0
  713. /package/dist/chunks/{ripgrep-9dct5xhx.js → tool-9dct5xhx.js} +0 -0
  714. /package/dist/chunks/{ripgrep-9maxscqf.js → tool-9maxscqf.js} +0 -0
  715. /package/dist/chunks/{ripgrep-9sdtsapf.js → tool-9sdtsapf.js} +0 -0
  716. /package/dist/chunks/{ripgrep-a02svayp.js → tool-a02svayp.js} +0 -0
  717. /package/dist/chunks/{ripgrep-a83yvq99.js → tool-a83yvq99.js} +0 -0
  718. /package/dist/chunks/{ripgrep-ayevdmef.js → tool-ayevdmef.js} +0 -0
  719. /package/dist/chunks/{ripgrep-b02txbh8.js → tool-b02txbh8.js} +0 -0
  720. /package/dist/chunks/{ripgrep-bbqs2y60.js → tool-bbqs2y60.js} +0 -0
  721. /package/dist/chunks/{ripgrep-bjwj8hwv.js → tool-bjwj8hwv.js} +0 -0
  722. /package/dist/chunks/{ripgrep-brsh5f65.js → tool-brsh5f65.js} +0 -0
  723. /package/dist/chunks/{ripgrep-bxdhjb3y.js → tool-bxdhjb3y.js} +0 -0
  724. /package/dist/chunks/{ripgrep-bybkghrn.js → tool-bybkghrn.js} +0 -0
  725. /package/dist/chunks/{ripgrep-c77ad0vh.js → tool-c77ad0vh.js} +0 -0
  726. /package/dist/chunks/{ripgrep-cm67rqy2.js → tool-cm67rqy2.js} +0 -0
  727. /package/dist/chunks/{ripgrep-df3v2q6j.js → tool-df3v2q6j.js} +0 -0
  728. /package/dist/chunks/{ripgrep-dhcq6c44.js → tool-dhcq6c44.js} +0 -0
  729. /package/dist/chunks/{ripgrep-dht5baf0.js → tool-dht5baf0.js} +0 -0
  730. /package/dist/chunks/{ripgrep-dkmkay92.js → tool-dkmkay92.js} +0 -0
  731. /package/dist/chunks/{ripgrep-ehj9csmv.js → tool-ehj9csmv.js} +0 -0
  732. /package/dist/chunks/{ripgrep-em6xpscd.js → tool-em6xpscd.js} +0 -0
  733. /package/dist/chunks/{ripgrep-emmqknsm.js → tool-emmqknsm.js} +0 -0
  734. /package/dist/chunks/{ripgrep-ezs3tagn.js → tool-ezs3tagn.js} +0 -0
  735. /package/dist/chunks/{ripgrep-f14r7hfz.js → tool-f14r7hfz.js} +0 -0
  736. /package/dist/chunks/{ripgrep-f1jj19e8.js → tool-f1jj19e8.js} +0 -0
  737. /package/dist/chunks/{ripgrep-f4cp4g4a.js → tool-f4cp4g4a.js} +0 -0
  738. /package/dist/chunks/{ripgrep-faypg4r1.js → tool-faypg4r1.js} +0 -0
  739. /package/dist/chunks/{ripgrep-fg7fz4q3.js → tool-fg7fz4q3.js} +0 -0
  740. /package/dist/chunks/{ripgrep-fgbfdq62.js → tool-fgbfdq62.js} +0 -0
  741. /package/dist/chunks/{ripgrep-g23fad86.js → tool-g23fad86.js} +0 -0
  742. /package/dist/chunks/{ripgrep-gd5xeqc2.js → tool-gd5xeqc2.js} +0 -0
  743. /package/dist/chunks/{ripgrep-ghm4673n.js → tool-ghm4673n.js} +0 -0
  744. /package/dist/chunks/{ripgrep-ghwjy7my.js → tool-ghwjy7my.js} +0 -0
  745. /package/dist/chunks/{ripgrep-gy500k2r.js → tool-gy500k2r.js} +0 -0
  746. /package/dist/chunks/{ripgrep-hzeg9cfr.js → tool-hzeg9cfr.js} +0 -0
  747. /package/dist/chunks/{ripgrep-j07kk359.js → tool-j07kk359.js} +0 -0
  748. /package/dist/chunks/{ripgrep-jqms80b0.js → tool-jqms80b0.js} +0 -0
  749. /package/dist/chunks/{ripgrep-jve7t217.js → tool-jve7t217.js} +0 -0
  750. /package/dist/chunks/{ripgrep-k3e42drn.js → tool-k3e42drn.js} +0 -0
  751. /package/dist/chunks/{ripgrep-k8b45nas.js → tool-k8b45nas.js} +0 -0
  752. /package/dist/chunks/{ripgrep-kpdbz7gn.js → tool-kpdbz7gn.js} +0 -0
  753. /package/dist/chunks/{ripgrep-kxy11nzk.js → tool-kxy11nzk.js} +0 -0
  754. /package/dist/chunks/{ripgrep-kyyqvx4s.js → tool-kyyqvx4s.js} +0 -0
  755. /package/dist/chunks/{ripgrep-m8cbvarh.js → tool-m8cbvarh.js} +0 -0
  756. /package/dist/chunks/{ripgrep-ma60vzgv.js → tool-ma60vzgv.js} +0 -0
  757. /package/dist/chunks/{ripgrep-n3m50c2t.js → tool-n3m50c2t.js} +0 -0
  758. /package/dist/chunks/{ripgrep-nkm1m8dz.js → tool-nkm1m8dz.js} +0 -0
  759. /package/dist/chunks/{ripgrep-nsc0c3zb.js → tool-nsc0c3zb.js} +0 -0
  760. /package/dist/chunks/{ripgrep-qaarhjrp.js → tool-qaarhjrp.js} +0 -0
  761. /package/dist/chunks/{ripgrep-qc167nrn.js → tool-qc167nrn.js} +0 -0
  762. /package/dist/chunks/{ripgrep-qp95y4jb.js → tool-qp95y4jb.js} +0 -0
  763. /package/dist/chunks/{ripgrep-r8f4w671.js → tool-r8f4w671.js} +0 -0
  764. /package/dist/chunks/{ripgrep-rdfev9jy.js → tool-rdfev9jy.js} +0 -0
  765. /package/dist/chunks/{ripgrep-s7whb9gt.js → tool-s7whb9gt.js} +0 -0
  766. /package/dist/chunks/{ripgrep-se76j685.js → tool-se76j685.js} +0 -0
  767. /package/dist/chunks/{ripgrep-sem2g21k.js → tool-sem2g21k.js} +0 -0
  768. /package/dist/chunks/{ripgrep-snpn6bap.js → tool-snpn6bap.js} +0 -0
  769. /package/dist/chunks/{ripgrep-sp575ygv.js → tool-sp575ygv.js} +0 -0
  770. /package/dist/chunks/{ripgrep-tmb1f636.js → tool-tmb1f636.js} +0 -0
  771. /package/dist/chunks/{ripgrep-ttxf0gsy.js → tool-ttxf0gsy.js} +0 -0
  772. /package/dist/chunks/{ripgrep-tvmhrvfj.js → tool-tvmhrvfj.js} +0 -0
  773. /package/dist/chunks/{ripgrep-v2adqbbe.js → tool-v2adqbbe.js} +0 -0
  774. /package/dist/chunks/{ripgrep-vac9eqd2.js → tool-vac9eqd2.js} +0 -0
  775. /package/dist/chunks/{ripgrep-vpjkya7h.js → tool-vpjkya7h.js} +0 -0
  776. /package/dist/chunks/{ripgrep-wj4sxzqa.js → tool-wj4sxzqa.js} +0 -0
  777. /package/dist/chunks/{ripgrep-wwntjmk1.js → tool-wwntjmk1.js} +0 -0
  778. /package/dist/chunks/{ripgrep-wyqjaaa5.js → tool-wyqjaaa5.js} +0 -0
  779. /package/dist/chunks/{ripgrep-x4q807cx.js → tool-x4q807cx.js} +0 -0
  780. /package/dist/chunks/{ripgrep-yrqrg4vp.js → tool-yrqrg4vp.js} +0 -0
  781. /package/dist/chunks/{ripgrep-z47nswr2.js → tool-z47nswr2.js} +0 -0
  782. /package/dist/chunks/{ripgrep-zsf8rs93.js → tool-zsf8rs93.js} +0 -0
@@ -0,0 +1,38 @@
1
+ import {
2
+ __export
3
+ } from "./tool-vpjkya7h.js";
4
+
5
+ // src/config/watch.ts
6
+ var exports_watch = {};
7
+ __export(exports_watch, {
8
+ ConfigWatch: () => exports_watch,
9
+ plan: () => plan
10
+ });
11
+ import path from "path";
12
+ import { FSUtil } from "@opencode-ai/util/fs-util";
13
+ function plan(sources) {
14
+ const directories = [
15
+ ...sources.global ? [sources.global] : [],
16
+ ...sources.project.filter((root) => root.present).map((root) => root.path)
17
+ ];
18
+ const files = [
19
+ ...sources.direct,
20
+ ...sources.project.map((root) => root.path),
21
+ ...sources.explicit ? [sources.explicit] : []
22
+ ];
23
+ const parents = Map.groupBy(files.filter((file) => !directories.some((directory) => file !== directory && FSUtil.contains(directory, file))), (file) => path.dirname(file));
24
+ return new Map([
25
+ ...directories.map((path2) => ({
26
+ path: path2,
27
+ type: "directory",
28
+ ignore: ["node_modules", ".git", "**/{node_modules,.git}/**"]
29
+ })),
30
+ ...Array.from(parents, ([parent, files2]) => ({
31
+ path: parent,
32
+ type: "entries",
33
+ names: [...new Set(files2.map((file) => path.basename(file)))].toSorted()
34
+ }))
35
+ ].map((target) => [JSON.stringify(target), target]));
36
+ }
37
+
38
+ export { plan, exports_watch };
@@ -1,46 +1,46 @@
1
- import {
2
- exports_layout
3
- } from "./ripgrep-wdqva41w.js";
4
1
  import {
5
2
  exports_formatter
6
- } from "./ripgrep-4v6g3p22.js";
3
+ } from "./tool-4v6g3p22.js";
7
4
  import {
8
- exports_plugin
9
- } from "./ripgrep-wf5w4wph.js";
5
+ exports_provider
6
+ } from "./tool-g9dd0fv6.js";
10
7
  import {
11
- exports_command
12
- } from "./ripgrep-42zyazrq.js";
8
+ exports_mcp
9
+ } from "./tool-bd2mvb8t.js";
13
10
  import {
14
- exports_attachment
15
- } from "./ripgrep-ngzr6ypz.js";
11
+ exports_layout
12
+ } from "./tool-wdqva41w.js";
16
13
  import {
17
14
  exports_server
18
- } from "./ripgrep-xdb88cdw.js";
15
+ } from "./tool-xdb88cdw.js";
19
16
  import {
20
17
  exports_agent
21
- } from "./ripgrep-3ep0k87g.js";
22
- import {
23
- exports_mcp
24
- } from "./ripgrep-bd2mvb8t.js";
18
+ } from "./tool-3ep0k87g.js";
25
19
  import {
26
- exports_lsp
27
- } from "./ripgrep-hpkeh7wf.js";
20
+ exports_permission
21
+ } from "./tool-qfvp8zq7.js";
28
22
  import {
29
- exports_provider
30
- } from "./ripgrep-g9dd0fv6.js";
23
+ exports_attachment
24
+ } from "./tool-ngzr6ypz.js";
31
25
  import {
32
- exports_permission
33
- } from "./ripgrep-qfvp8zq7.js";
26
+ exports_command
27
+ } from "./tool-42zyazrq.js";
34
28
  import {
35
29
  exports_skills
36
- } from "./ripgrep-x3vb5b1t.js";
30
+ } from "./tool-x3vb5b1t.js";
31
+ import {
32
+ exports_plugin
33
+ } from "./tool-wf5w4wph.js";
34
+ import {
35
+ exports_lsp
36
+ } from "./tool-hpkeh7wf.js";
37
37
  import {
38
38
  NonNegativeInt,
39
39
  PositiveInt
40
- } from "./ripgrep-j07kk359.js";
40
+ } from "./tool-j07kk359.js";
41
41
  import {
42
42
  __export
43
- } from "./ripgrep-vpjkya7h.js";
43
+ } from "./tool-vpjkya7h.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  exports_question
3
- } from "./ripgrep-5e8ys0c7.js";
3
+ } from "./tool-mdxpzq8y.js";
4
4
  import {
5
5
  toLLMMessages
6
- } from "./ripgrep-g23fad86.js";
6
+ } from "./tool-g23fad86.js";
7
7
  import {
8
8
  exports_system_prompt
9
- } from "./ripgrep-hzwx8p6y.js";
9
+ } from "./tool-hzwx8p6y.js";
10
10
  import {
11
11
  exports_model_transport
12
- } from "./ripgrep-jr5m26np.js";
13
- import {
14
- exports_app
15
- } from "./ripgrep-hs51b0fc.js";
12
+ } from "./tool-jr5m26np.js";
16
13
  import {
17
14
  exports_tool
18
- } from "./ripgrep-gwf84xen.js";
15
+ } from "./tool-50cw7zvb.js";
19
16
  import {
20
17
  exports_permission
21
- } from "./ripgrep-7t97kqrb.js";
18
+ } from "./tool-qer0405w.js";
19
+ import {
20
+ exports_app
21
+ } from "./tool-hs51b0fc.js";
22
22
  import {
23
23
  exports_hooks
24
- } from "./ripgrep-xws7arpm.js";
24
+ } from "./tool-xws7arpm.js";
25
25
  import {
26
26
  __export
27
- } from "./ripgrep-vpjkya7h.js";
27
+ } from "./tool-vpjkya7h.js";
28
28
 
29
29
  // src/session/model-request.ts
30
30
  var exports_model_request = {};
@@ -1,21 +1,21 @@
1
- import {
2
- mapOpenAICompatibleFinishReason
3
- } from "./ripgrep-0cgt0xh2.js";
4
1
  import {
5
2
  openaiCompatibleProviderOptions
6
- } from "./ripgrep-a02svayp.js";
3
+ } from "./tool-a02svayp.js";
7
4
  import {
8
- convertToOpenAICompatibleChatMessages
9
- } from "./ripgrep-brsh5f65.js";
5
+ getResponseMetadata
6
+ } from "./tool-bbqs2y60.js";
7
+ import {
8
+ mapOpenAICompatibleFinishReason
9
+ } from "./tool-0cgt0xh2.js";
10
10
  import {
11
11
  prepareTools
12
- } from "./ripgrep-ezs3tagn.js";
12
+ } from "./tool-ezs3tagn.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure
15
- } from "./ripgrep-1wcz8fvj.js";
15
+ } from "./tool-1wcz8fvj.js";
16
16
  import {
17
- getResponseMetadata
18
- } from "./ripgrep-bbqs2y60.js";
17
+ convertToOpenAICompatibleChatMessages
18
+ } from "./tool-brsh5f65.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,87 +1,87 @@
1
1
  import {
2
- exports_websearch
3
- } from "./ripgrep-2fjxe68a.js";
2
+ exports_session
3
+ } from "./tool-663y5b2v.js";
4
4
  import {
5
- exports_generate
6
- } from "./ripgrep-41d795jd.js";
5
+ exports_mcp
6
+ } from "./tool-mcw6znb6.js";
7
7
  import {
8
8
  exports_vcs
9
- } from "./ripgrep-67sywna6.js";
9
+ } from "./tool-9rs6v63p.js";
10
10
  import {
11
- exports_rpc
12
- } from "./ripgrep-xrg02cqv.js";
13
- import {
14
- exports_persistent_pty
15
- } from "./ripgrep-q6p39g4j.js";
11
+ exports_generate
12
+ } from "./tool-90rbcqcr.js";
16
13
  import {
17
- exports_session
18
- } from "./ripgrep-ahm1gs7p.js";
14
+ exports_websearch
15
+ } from "./tool-b3sesy6f.js";
19
16
  import {
20
- exports_mcp
21
- } from "./ripgrep-c04gxx5z.js";
17
+ exports_rpc
18
+ } from "./tool-rrd4ayzv.js";
22
19
  import {
23
20
  exports_skill
24
- } from "./ripgrep-176r80k9.js";
25
- import {
26
- exports_command
27
- } from "./ripgrep-7a8bc6ht.js";
28
- import {
29
- exports_app
30
- } from "./ripgrep-hs51b0fc.js";
21
+ } from "./tool-99fm67tp.js";
31
22
  import {
32
23
  exports_reference
33
- } from "./ripgrep-tszp4ekj.js";
24
+ } from "./tool-gvkb6rm5.js";
34
25
  import {
35
- exports_catalog
36
- } from "./ripgrep-kq4y4q06.js";
26
+ exports_location_service_map
27
+ } from "./tool-a4hjy20a.js";
37
28
  import {
38
- exports_aisdk
39
- } from "./ripgrep-nj6yqve1.js";
29
+ exports_persistent_pty
30
+ } from "./tool-vd4vcx3n.js";
40
31
  import {
41
- exports_model
42
- } from "./ripgrep-8manx9kj.js";
32
+ exports_tool
33
+ } from "./tool-50cw7zvb.js";
43
34
  import {
44
- exports_provider
45
- } from "./ripgrep-68yag814.js";
35
+ exports_permission
36
+ } from "./tool-qer0405w.js";
46
37
  import {
47
- exports_integration
48
- } from "./ripgrep-hsx0srpf.js";
38
+ exports_agent
39
+ } from "./tool-bbk505sh.js";
49
40
  import {
50
- exports_credential
51
- } from "./ripgrep-5s33ctyn.js";
41
+ exports_app
42
+ } from "./tool-hs51b0fc.js";
52
43
  import {
53
- exports_location_service_map
54
- } from "./ripgrep-1vgf3wjd.js";
44
+ exports_command
45
+ } from "./tool-fmnxesf9.js";
55
46
  import {
56
- exports_kv
57
- } from "./ripgrep-wp8tr8ms.js";
47
+ exports_catalog
48
+ } from "./tool-9h62k39y.js";
58
49
  import {
59
- exports_tool
60
- } from "./ripgrep-gwf84xen.js";
50
+ exports_integration
51
+ } from "./tool-vpmnhrx5.js";
61
52
  import {
62
- exports_permission
63
- } from "./ripgrep-7t97kqrb.js";
53
+ exports_aisdk
54
+ } from "./tool-nj6yqve1.js";
64
55
  import {
65
- exports_agent
66
- } from "./ripgrep-frq6e54n.js";
56
+ exports_workspace
57
+ } from "./tool-px5fy12z.js";
67
58
  import {
68
59
  exports_hooks
69
- } from "./ripgrep-xws7arpm.js";
70
- import {
71
- exports_workspace
72
- } from "./ripgrep-rceqa8d3.js";
60
+ } from "./tool-xws7arpm.js";
73
61
  import {
74
62
  exports_location
75
- } from "./ripgrep-yjwdjfj0.js";
63
+ } from "./tool-7prkhz8c.js";
76
64
  import {
77
- exports_bus
78
- } from "./ripgrep-aav32bqa.js";
65
+ exports_credential
66
+ } from "./tool-z9anvdnc.js";
67
+ import {
68
+ exports_model
69
+ } from "./tool-8manx9kj.js";
70
+ import {
71
+ exports_provider
72
+ } from "./tool-68yag814.js";
73
+ import {
74
+ exports_kv
75
+ } from "./tool-mrpetabh.js";
79
76
  import {
80
77
  AbsolutePath
81
- } from "./ripgrep-j07kk359.js";
78
+ } from "./tool-j07kk359.js";
79
+ import {
80
+ exports_bus
81
+ } from "./tool-k25tjeqa.js";
82
82
  import {
83
83
  __export
84
- } from "./ripgrep-vpjkya7h.js";
84
+ } from "./tool-vpjkya7h.js";
85
85
 
86
86
  // src/plugin/host.ts
87
87
  var exports_host = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  load
3
- } from "./ripgrep-dkmkay92.js";
3
+ } from "./tool-dkmkay92.js";
4
4
  import {
5
5
  lazy
6
- } from "./ripgrep-8w9tzfz1.js";
6
+ } from "./tool-8w9tzfz1.js";
7
7
  import {
8
8
  __export
9
- } from "./ripgrep-vpjkya7h.js";
9
+ } from "./tool-vpjkya7h.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
@@ -71,9 +71,7 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
71
71
  lookup: (key) => Effect.gen(function* () {
72
72
  const pubsub = yield* Effect.acquireRelease(PubSub.unbounded(), (pubsub2) => PubSub.shutdown(pubsub2));
73
73
  const subscription = yield* Effect.acquireRelease(native.subscribe({
74
- type: key.type,
75
- target: key.target,
76
- ignore: key.ignore,
74
+ ...key,
77
75
  publish: (update) => PubSub.publishUnsafe(pubsub, update)
78
76
  }), (subscription2) => subscription2 ? Effect.promise(() => subscription2.unsubscribe()).pipe(Effect.ignoreCause, Effect.andThen(Effect.logInfo("watcher stopped", { path: key.target, type: key.type }))) : Effect.void, { interruptible: true });
79
77
  if (!subscription) {
@@ -89,21 +87,24 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
89
87
  return pubsub;
90
88
  })
91
89
  });
92
- const subscribe = (input) => {
90
+ const subscribe = Effect.fnUntraced(function* (input, onReady = Effect.void) {
93
91
  const target = path.resolve(input.path);
94
92
  const ignore = [...new Set(input.type === "directory" ? input.ignore ?? [] : [])].toSorted();
95
- return Effect.gen(function* () {
96
- yield* Effect.logInfo("watcher subscribe", {
97
- path: target,
98
- type: input.type,
99
- ignores: ignore.length
100
- });
101
- return Stream.unwrap(Effect.gen(function* () {
102
- const pubsub = yield* RcMap.get(watchers, { type: input.type, target, ignore });
103
- return Stream.fromPubSub(pubsub);
104
- }));
93
+ const names = [...new Set(input.type === "entries" ? input.names : [])].toSorted();
94
+ yield* Effect.logInfo("watcher subscribe", {
95
+ path: target,
96
+ type: input.type,
97
+ ignores: ignore.length
105
98
  });
106
- };
99
+ return Stream.unwrap(Effect.gen(function* () {
100
+ const pubsub = yield* RcMap.get(watchers, { type: input.type, target, ignore, names });
101
+ const subscription = yield* PubSub.subscribe(pubsub);
102
+ if (yield* PubSub.isShutdown(pubsub))
103
+ return Stream.empty;
104
+ yield* onReady;
105
+ return Stream.fromSubscription(subscription);
106
+ }));
107
+ });
107
108
  return Service.of({ subscribe });
108
109
  }));
109
110
  var testLayer = Layer.effectContext(Effect.gen(function* () {
@@ -111,9 +112,15 @@ var testLayer = Layer.effectContext(Effect.gen(function* () {
111
112
  const active = new Map;
112
113
  const native = Native.of({
113
114
  subscribe: (input) => Effect.sync(() => {
114
- subscriptions.push(input.type === "file" ? { path: input.target, type: "file" } : input.ignore.length > 0 ? { path: input.target, type: "directory", ignore: input.ignore } : { path: input.target, type: "directory" });
115
+ subscriptions.push(input.type === "file" ? { path: input.target, type: "file" } : input.type === "entries" ? { path: input.target, type: "entries", names: input.names } : input.ignore.length > 0 ? { path: input.target, type: "directory", ignore: input.ignore } : { path: input.target, type: "directory" });
115
116
  const ignored = input.ignore.map((entry) => path.resolve(input.target, entry));
116
- active.set(input.publish, input.type === "file" ? (target) => target === input.target : (target) => FSUtil.contains(input.target, target) && !ignored.some((entry) => FSUtil.contains(entry, target)));
117
+ active.set(input.publish, (target) => {
118
+ if (input.type === "file")
119
+ return target === input.target;
120
+ if (input.type === "entries")
121
+ return path.dirname(target) === input.target && input.names.includes(path.basename(target));
122
+ return FSUtil.contains(input.target, target) && !ignored.some((entry) => FSUtil.contains(entry, target));
123
+ });
117
124
  return {
118
125
  unsubscribe: () => {
119
126
  active.delete(input.publish);
@@ -138,17 +145,18 @@ var testLayer = Layer.effectContext(Effect.gen(function* () {
138
145
  }));
139
146
  var nativeLayer = Layer.succeed(Native, Native.of({
140
147
  subscribe: (input) => {
141
- if (input.type === "file") {
148
+ if (input.type === "file" || input.type === "entries") {
142
149
  return Effect.sync(() => {
143
- const directory = path.dirname(input.target);
150
+ const directory = input.type === "file" ? path.dirname(input.target) : input.target;
151
+ const names = new Set(input.type === "file" ? [path.basename(input.target)] : input.names);
144
152
  const subscription = watch(directory, { recursive: false }, (_event, file) => {
145
- if (file && path.resolve(directory, file.toString()) !== input.target)
153
+ if (file && !names.has(file))
146
154
  return;
147
- input.publish({ path: input.target, type: "update" });
155
+ for (const name of file ? [file] : names) {
156
+ input.publish({ path: path.join(directory, name), type: "update" });
157
+ }
148
158
  });
149
- if ("on" in subscription && typeof subscription.on === "function") {
150
- subscription.on("error", (error) => Effect.runFork(Effect.logError("watcher callback failed", { path: input.target, error })));
151
- }
159
+ subscription.on("error", (error) => Effect.runFork(Effect.logError("watcher callback failed", { path: directory, error })));
152
160
  return { unsubscribe: () => Promise.resolve(subscription.close()), backend: "node" };
153
161
  });
154
162
  }
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  exports_entry_observer
3
- } from "./ripgrep-mnyszbxc.js";
3
+ } from "./tool-mnyszbxc.js";
4
4
  import {
5
5
  exports_config
6
- } from "./ripgrep-sambg1c9.js";
6
+ } from "./tool-k40cej42.js";
7
7
  import {
8
8
  exports_tool_output
9
- } from "./ripgrep-ew2f4d89.js";
9
+ } from "./tool-ew2f4d89.js";
10
10
  import {
11
11
  __export
12
- } from "./ripgrep-vpjkya7h.js";
12
+ } from "./tool-vpjkya7h.js";
13
13
 
14
14
  // src/config/plugin/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime,
3
3
  orderSelectedFields
4
- } from "./ripgrep-k8b45nas.js";
4
+ } from "./tool-k8b45nas.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  makeDaemonTransport
3
- } from "./ripgrep-9maxscqf.js";
3
+ } from "./tool-9maxscqf.js";
4
4
  import {
5
5
  exports_select
6
- } from "./ripgrep-2qq12ds3.js";
6
+ } from "./tool-2qq12ds3.js";
7
7
  import {
8
8
  exports_bus
9
- } from "./ripgrep-aav32bqa.js";
9
+ } from "./tool-k25tjeqa.js";
10
10
  import {
11
11
  __export
12
- } from "./ripgrep-vpjkya7h.js";
12
+ } from "./tool-vpjkya7h.js";
13
13
 
14
14
  // src/persistent-pty/index.ts
15
15
  var exports_persistent_pty = {};
@@ -1,96 +1,96 @@
1
1
  import {
2
- OpencodePlugin
3
- } from "./ripgrep-zhgrncgb.js";
4
- import {
5
- VercelPlugin
6
- } from "./ripgrep-mv81kt5z.js";
7
- import {
8
- SapAICorePlugin
9
- } from "./ripgrep-zmbmd7xf.js";
2
+ SnowflakeCortexPlugin
3
+ } from "./tool-53jxjgr1.js";
10
4
  import {
11
- VenicePlugin
12
- } from "./ripgrep-k7hkdbw5.js";
5
+ OpenAIPlugin
6
+ } from "./tool-vg7fmanw.js";
13
7
  import {
14
- CerebrasPlugin
15
- } from "./ripgrep-qpxzqy01.js";
8
+ AnthropicPlugin
9
+ } from "./tool-xe02v0q7.js";
16
10
  import {
17
- DynamicProviderPlugin
18
- } from "./ripgrep-hzag9ake.js";
11
+ OllamaPlugin
12
+ } from "./tool-77rwgypr.js";
19
13
  import {
20
- AlibabaPlugin
21
- } from "./ripgrep-0pc4kdn1.js";
14
+ LLMGatewayPlugin
15
+ } from "./tool-pa6hb770.js";
22
16
  import {
23
- SnowflakeCortexPlugin
24
- } from "./ripgrep-53jxjgr1.js";
17
+ VercelPlugin
18
+ } from "./tool-mv81kt5z.js";
25
19
  import {
26
- ZenmuxPlugin
27
- } from "./ripgrep-8y5vxhk7.js";
20
+ CoherePlugin
21
+ } from "./tool-f2nhxfjt.js";
28
22
  import {
29
- GoogleVertexPlugin
30
- } from "./ripgrep-9dbv6hqn.js";
23
+ AmazonBedrockPlugin
24
+ } from "./tool-5vbk082d.js";
31
25
  import {
32
- OllamaPlugin
33
- } from "./ripgrep-htbe5bs0.js";
26
+ GitLabPlugin
27
+ } from "./tool-jar52fmb.js";
34
28
  import {
35
- OpenAIPlugin
36
- } from "./ripgrep-rn1msgkv.js";
29
+ CerebrasPlugin
30
+ } from "./tool-qpxzqy01.js";
37
31
  import {
38
- LLMGatewayPlugin
39
- } from "./ripgrep-g7t4cvrk.js";
32
+ NvidiaPlugin
33
+ } from "./tool-eb87q0yv.js";
40
34
  import {
41
- CloudflareWorkersAIPlugin
42
- } from "./ripgrep-mjnk038r.js";
35
+ OpenRouterPlugin
36
+ } from "./tool-ckcq38kt.js";
43
37
  import {
44
38
  GithubCopilotPlugin
45
- } from "./ripgrep-dv0zj7fk.js";
39
+ } from "./tool-fsf5ya72.js";
46
40
  import {
47
41
  AzurePlugin
48
- } from "./ripgrep-9rvxagkh.js";
49
- import {
50
- XAIPlugin
51
- } from "./ripgrep-zqyywcy3.js";
42
+ } from "./tool-czxbt01h.js";
52
43
  import {
53
- OpenAICompatiblePlugin
54
- } from "./ripgrep-dyhtrhy2.js";
44
+ MistralPlugin
45
+ } from "./tool-0ag03ecw.js";
55
46
  import {
56
47
  VLLMPlugin
57
- } from "./ripgrep-x5xqe005.js";
48
+ } from "./tool-drthn2kr.js";
58
49
  import {
59
- GatewayPlugin
60
- } from "./ripgrep-fqehnn9p.js";
50
+ VenicePlugin
51
+ } from "./tool-k7hkdbw5.js";
61
52
  import {
62
- LMStudioPlugin
63
- } from "./ripgrep-efmaen3j.js";
53
+ DynamicProviderPlugin
54
+ } from "./tool-hzag9ake.js";
64
55
  import {
65
- CoherePlugin
66
- } from "./ripgrep-f2nhxfjt.js";
56
+ AlibabaPlugin
57
+ } from "./tool-0pc4kdn1.js";
67
58
  import {
68
- OpenRouterPlugin
69
- } from "./ripgrep-ckcq38kt.js";
59
+ KiloPlugin
60
+ } from "./tool-m6a7zjhr.js";
70
61
  import {
71
- GitLabPlugin
72
- } from "./ripgrep-jar52fmb.js";
62
+ OpenAICompatiblePlugin
63
+ } from "./tool-dyhtrhy2.js";
73
64
  import {
74
- AmazonBedrockPlugin
75
- } from "./ripgrep-5vbk082d.js";
65
+ ZenmuxPlugin
66
+ } from "./tool-8y5vxhk7.js";
76
67
  import {
77
68
  CloudflareAIGatewayPlugin
78
- } from "./ripgrep-tja8j2y8.js";
69
+ } from "./tool-e5vshg0r.js";
79
70
  import {
80
- AnthropicPlugin
81
- } from "./ripgrep-xe02v0q7.js";
71
+ OpencodePlugin
72
+ } from "./tool-616gr0wx.js";
82
73
  import {
83
- KiloPlugin
84
- } from "./ripgrep-m6a7zjhr.js";
74
+ SapAICorePlugin
75
+ } from "./tool-zmbmd7xf.js";
85
76
  import {
86
- PerplexityPlugin
87
- } from "./ripgrep-af42tqdk.js";
77
+ GoogleVertexPlugin
78
+ } from "./tool-9dbv6hqn.js";
88
79
  import {
89
- MistralPlugin
90
- } from "./ripgrep-0ag03ecw.js";
80
+ XAIPlugin
81
+ } from "./tool-h33qqm2d.js";
91
82
  import {
92
- NvidiaPlugin
93
- } from "./ripgrep-eb87q0yv.js";
83
+ GatewayPlugin
84
+ } from "./tool-fqehnn9p.js";
85
+ import {
86
+ CloudflareWorkersAIPlugin
87
+ } from "./tool-rtxdyk4f.js";
88
+ import {
89
+ PerplexityPlugin
90
+ } from "./tool-af42tqdk.js";
91
+ import {
92
+ LMStudioPlugin
93
+ } from "./tool-r8wd8cb4.js";
94
94
 
95
95
  // src/plugin/provider.ts
96
96
  var ProviderPlugins = [