@opencode/core 0.0.0-dev-20614 → 0.0.0-dev-20615

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{rpc-4x4mpqjg.js → tool-01txzqdp.js} +27 -27
  8. package/dist/chunks/{rpc-7g3p7xqg.js → tool-0ay65vhm.js} +16 -16
  9. package/dist/chunks/{rpc-nnc3k97b.js → tool-0gh1f601.js} +24 -24
  10. package/dist/chunks/{rpc-0jwsre1p.js → tool-0jwsre1p.js} +1 -1
  11. package/dist/chunks/{rpc-bh4mgjf3.js → tool-0ma4vy4p.js} +4 -4
  12. package/dist/chunks/{rpc-gv3cf3j7.js → tool-0mw89yjh.js} +5 -5
  13. package/dist/chunks/{rpc-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{rpc-kxh9v5xk.js → tool-0tbrh5mv.js} +34 -34
  15. package/dist/chunks/{rpc-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{rpc-4ttaqta8.js → tool-0vgvvwxq.js} +6 -6
  17. package/dist/chunks/{rpc-8xytev0b.js → tool-1402mhzs.js} +42 -42
  18. package/dist/chunks/{rpc-kbqjp078.js → tool-150yg2gd.js} +5 -5
  19. package/dist/chunks/{rpc-5g6s6gv3.js → tool-15brx7xh.js} +28 -28
  20. package/dist/chunks/{rpc-1acjjqhc.js → tool-1acjjqhc.js} +1 -1
  21. package/dist/chunks/{rpc-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{rpc-3p2d7rey.js → tool-1djc6rq1.js} +30 -30
  23. package/dist/chunks/{rpc-1dvck2a7.js → tool-1dvck2a7.js} +2 -2
  24. package/dist/chunks/{rpc-x464wtgm.js → tool-1e1wjnhp.js} +7 -7
  25. package/dist/chunks/{rpc-xfrtpcsx.js → tool-1spn70p8.js} +30 -30
  26. package/dist/chunks/{rpc-533t3k18.js → tool-1zqsf2j9.js} +5 -5
  27. package/dist/chunks/{rpc-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{rpc-ws43kkxr.js → tool-2evx7vn6.js} +41 -41
  29. package/dist/chunks/{rpc-t11fnep0.js → tool-2hzmp1dp.js} +4 -4
  30. package/dist/chunks/{rpc-hf7v12ee.js → tool-2r4zy24c.js} +39 -39
  31. package/dist/chunks/{rpc-1m5xd0n6.js → tool-2stxsqvh.js} +4 -4
  32. package/dist/chunks/{rpc-embw8kgh.js → tool-2vs2nh1n.js} +4 -4
  33. package/dist/chunks/{rpc-b4p0zyye.js → tool-2zdrkm9b.js} +9 -9
  34. package/dist/chunks/{rpc-9fwpadhv.js → tool-2zt2ydz3.js} +8 -8
  35. package/dist/chunks/{rpc-vfq38zp6.js → tool-331jtpav.js} +11 -11
  36. package/dist/chunks/{rpc-56gdpj1q.js → tool-33w4ejhs.js} +6 -6
  37. package/dist/chunks/{rpc-ganvav3g.js → tool-3aqx67na.js} +31 -31
  38. package/dist/chunks/{rpc-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{rpc-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{rpc-8sdwqvxv.js → tool-3hqn980y.js} +24 -24
  41. package/dist/chunks/{rpc-nn9e7z2q.js → tool-3k34870w.js} +17 -17
  42. package/dist/chunks/{rpc-ez2jm7g9.js → tool-3px2wxdf.js} +20 -20
  43. package/dist/chunks/{rpc-zxyzpaq8.js → tool-3rtbn312.js} +27 -27
  44. package/dist/chunks/{rpc-0ncnx2my.js → tool-3rwvqde1.js} +9 -9
  45. package/dist/chunks/{rpc-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{rpc-f5j1xq8b.js → tool-3srzt07f.js} +42 -42
  47. package/dist/chunks/{rpc-1060qac4.js → tool-3t6p5jdv.js} +4 -4
  48. package/dist/chunks/{rpc-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{rpc-db2wf4at.js → tool-3y377wv9.js} +4 -4
  50. package/dist/chunks/{rpc-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{rpc-v0es1rhs.js → tool-4434d9q2.js} +9 -9
  52. package/dist/chunks/{rpc-c8bydgjz.js → tool-4mwpykj0.js} +6 -6
  53. package/dist/chunks/{rpc-y56ehv6b.js → tool-4nj4bn9q.js} +5 -5
  54. package/dist/chunks/{rpc-mqdbt0fy.js → tool-4rs0m8vn.js} +11 -11
  55. package/dist/chunks/{rpc-2gnsthxx.js → tool-4rsta4nx.js} +9 -9
  56. package/dist/chunks/{rpc-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
  57. package/dist/chunks/{rpc-54ma36ye.js → tool-54ma36ye.js} +1 -1
  58. package/dist/chunks/{rpc-5ajg84dh.js → tool-55f5yhnr.js} +318 -318
  59. package/dist/chunks/{rpc-pt1ss6jy.js → tool-58072hz9.js} +3 -3
  60. package/dist/chunks/{rpc-54nesnvt.js → tool-58pr7qh6.js} +3 -3
  61. package/dist/chunks/{rpc-t8wbkswq.js → tool-58xwj6qx.js} +70 -70
  62. package/dist/chunks/{rpc-b46f7b7m.js → tool-599d5hrs.js} +3 -3
  63. package/dist/chunks/{rpc-gmm6ztwy.js → tool-5a9tff2n.js} +13 -13
  64. package/dist/chunks/{rpc-5sz8h96m.js → tool-5bx9xx12.js} +26 -26
  65. package/dist/chunks/{rpc-5daktx2q.js → tool-5daktx2q.js} +1 -1
  66. package/dist/chunks/{rpc-xm0xxx27.js → tool-5hj0wrn5.js} +16 -16
  67. package/dist/chunks/{rpc-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  68. package/dist/chunks/{rpc-xs53z2pm.js → tool-5qwkxp89.js} +4 -4
  69. package/dist/chunks/{rpc-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{rpc-tpw6cwsb.js → tool-5yzzbxa7.js} +8 -8
  71. package/dist/chunks/{rpc-m5dx7gp5.js → tool-60vkhqe6.js} +20 -20
  72. package/dist/chunks/{rpc-g6tqb9ea.js → tool-642av4pa.js} +8 -8
  73. package/dist/chunks/{rpc-4pwxaf10.js → tool-64mbz47k.js} +6 -6
  74. package/dist/chunks/{rpc-yh215453.js → tool-6c0e94qj.js} +11 -11
  75. package/dist/chunks/{rpc-c9k1me9f.js → tool-6gwk5m7m.js} +89 -89
  76. package/dist/chunks/{rpc-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  77. package/dist/chunks/{rpc-71az546q.js → tool-71az546q.js} +2 -2
  78. package/dist/chunks/{rpc-bq45k8q5.js → tool-722t8cr8.js} +3 -3
  79. package/dist/chunks/{rpc-r9y2scxt.js → tool-72rw85ce.js} +11 -11
  80. package/dist/chunks/{rpc-r5x6zcsm.js → tool-73tb2d7t.js} +3 -3
  81. package/dist/chunks/{rpc-d2nh46vp.js → tool-75ey17xe.js} +19 -19
  82. package/dist/chunks/{rpc-22pj3101.js → tool-78ss49vf.js} +13 -13
  83. package/dist/chunks/{rpc-6h8sc7np.js → tool-7ad5y3s6.js} +45 -45
  84. package/dist/chunks/{rpc-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{rpc-xgj417n4.js → tool-7d7rzqbv.js} +25 -25
  86. package/dist/chunks/{rpc-6vv667e0.js → tool-7ex9xsd9.js} +11 -11
  87. package/dist/chunks/{rpc-r10837e4.js → tool-7t6d0zf6.js} +10 -10
  88. package/dist/chunks/{rpc-p2pqxjme.js → tool-7v9xsq6d.js} +28 -60
  89. package/dist/chunks/{rpc-cstv7mkv.js → tool-7wnkabmt.js} +12 -12
  90. package/dist/chunks/{rpc-jv4phnjg.js → tool-7z8hv35c.js} +38 -38
  91. package/dist/chunks/{rpc-1cbpavv6.js → tool-81xr82zh.js} +4 -4
  92. package/dist/chunks/{rpc-84txncab.js → tool-84txncab.js} +1 -1
  93. package/dist/chunks/{rpc-8t8h1kbj.js → tool-88t4yrn9.js} +18 -18
  94. package/dist/chunks/{rpc-k70p9jzb.js → tool-8a6ws7jr.js} +9 -9
  95. package/dist/chunks/{rpc-qvb3nf84.js → tool-8aaqm6qj.js} +8 -8
  96. package/dist/chunks/{rpc-p3apgj4x.js → tool-8bha9w2p.js} +10 -10
  97. package/dist/chunks/{rpc-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  98. package/dist/chunks/{rpc-p7jzk1rv.js → tool-8f6m8c4b.js} +9 -9
  99. package/dist/chunks/{rpc-ye9wgpct.js → tool-8m8eqb0p.js} +11 -11
  100. package/dist/chunks/{rpc-8pbkcx2g.js → tool-8yavwngc.js} +13 -13
  101. package/dist/chunks/{rpc-y2b68zde.js → tool-90ytmqma.js} +18 -18
  102. package/dist/chunks/{rpc-mz7phrdz.js → tool-98tegs2y.js} +21 -21
  103. package/dist/chunks/{rpc-rr08w51d.js → tool-99rd90tq.js} +48 -48
  104. package/dist/chunks/{rpc-mvag4927.js → tool-9bwc8hw1.js} +6 -6
  105. package/dist/chunks/{rpc-9e5bzkjp.js → tool-9e5bzkjp.js} +3 -3
  106. package/dist/chunks/{rpc-7m2qdy8r.js → tool-9e5p6t2h.js} +14 -14
  107. package/dist/chunks/{rpc-kgvvfrqy.js → tool-9frdx5hm.js} +3 -3
  108. package/dist/chunks/{rpc-1q3rafdy.js → tool-9hvgyr50.js} +32 -32
  109. package/dist/chunks/{rpc-jsd0es0t.js → tool-9m1qv4sr.js} +15 -15
  110. package/dist/chunks/{rpc-wv396vej.js → tool-9t7a50xb.js} +6 -6
  111. package/dist/chunks/{rpc-rk1r2hx8.js → tool-a4ae1mqs.js} +1 -1
  112. package/dist/chunks/{rpc-dcra6fsx.js → tool-a5fdf1es.js} +10 -10
  113. package/dist/chunks/{rpc-207ajt2h.js → tool-a694798e.js} +5 -5
  114. package/dist/chunks/{rpc-qrxmfht2.js → tool-a72skx39.js} +3 -3
  115. package/dist/chunks/{rpc-aaet6srn.js → tool-aaet6srn.js} +2 -2
  116. package/dist/chunks/{rpc-dp56tzpn.js → tool-ab5g3gyt.js} +17 -17
  117. package/dist/chunks/{rpc-chq8ys23.js → tool-af6c9m8w.js} +26 -26
  118. package/dist/chunks/{rpc-eqt6bb3f.js → tool-agssjnsy.js} +9 -9
  119. package/dist/chunks/{rpc-67hqjgmd.js → tool-at1f3efs.js} +16 -16
  120. package/dist/chunks/{rpc-166kng33.js → tool-at1kfnmk.js} +8 -8
  121. package/dist/chunks/{rpc-5nz0gkqr.js → tool-atmvy895.js} +8 -8
  122. package/dist/chunks/{rpc-60p83n7v.js → tool-b2mfa9xz.js} +24 -24
  123. package/dist/chunks/{rpc-c7y386sp.js → tool-b5w00b0k.js} +13 -13
  124. package/dist/chunks/{rpc-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  125. package/dist/chunks/{rpc-b9rkfy69.js → tool-bbd0f1y9.js} +15 -15
  126. package/dist/chunks/{rpc-cc9k568f.js → tool-bwp70caj.js} +13 -13
  127. package/dist/chunks/{rpc-a5k25c6v.js → tool-c2jpvny9.js} +18 -18
  128. package/dist/chunks/tool-c652knrp.js +253 -0
  129. package/dist/chunks/{rpc-cavr175a.js → tool-cavr175a.js} +1 -1
  130. package/dist/chunks/{rpc-8sze2n9a.js → tool-cfsekr6v.js} +6 -6
  131. package/dist/chunks/{rpc-sbvpbnqx.js → tool-cjmm0qt3.js} +54 -54
  132. package/dist/chunks/tool-cqsczj1k.js +26 -0
  133. package/dist/chunks/{rpc-rw8bmwyh.js → tool-cx5j657v.js} +5 -5
  134. package/dist/chunks/{rpc-emj040m8.js → tool-d13qwqgh.js} +22 -22
  135. package/dist/chunks/{rpc-f29mbr7f.js → tool-d2czbp48.js} +4 -4
  136. package/dist/chunks/{rpc-a1zzczhd.js → tool-d761m3y3.js} +9 -9
  137. package/dist/chunks/{rpc-z1y57tvr.js → tool-dfjg1bp5.js} +42 -42
  138. package/dist/chunks/{rpc-v5gcwjqe.js → tool-dh608gq4.js} +18 -18
  139. package/dist/chunks/{rpc-re7nxgv7.js → tool-djravzrm.js} +10 -10
  140. package/dist/chunks/{rpc-djszqvmq.js → tool-djszqvmq.js} +2 -2
  141. package/dist/chunks/{rpc-nsrpqm0g.js → tool-dktv53ts.js} +44 -44
  142. package/dist/chunks/{rpc-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
  143. package/dist/chunks/{rpc-3akk2h64.js → tool-dr9qm9pw.js} +11 -11
  144. package/dist/chunks/{rpc-ha1nyj3r.js → tool-dy8n0qm6.js} +18 -18
  145. package/dist/chunks/{rpc-n8vdb50h.js → tool-e41k2zcz.js} +25 -25
  146. package/dist/chunks/{rpc-3a4s300c.js → tool-e9w3b6g9.js} +2 -2
  147. package/dist/chunks/{rpc-fgcxm0dp.js → tool-ec3xbt7p.js} +5 -5
  148. package/dist/chunks/{rpc-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  149. package/dist/chunks/{rpc-09g16h6t.js → tool-eg18rmn3.js} +25 -25
  150. package/dist/chunks/{rpc-cazsvtfp.js → tool-emd75jk3.js} +4 -4
  151. package/dist/chunks/{rpc-890zyxch.js → tool-epxcr31w.js} +3 -3
  152. package/dist/chunks/{rpc-tnq8nysp.js → tool-eq44gh0z.js} +22 -22
  153. package/dist/chunks/{rpc-34py1zyz.js → tool-esfye6zx.js} +11 -11
  154. package/dist/chunks/{rpc-ba457dmc.js → tool-esx0q18m.js} +11 -11
  155. package/dist/chunks/{rpc-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  156. package/dist/chunks/{rpc-et4sjga4.js → tool-ewp9wevh.js} +3 -3
  157. package/dist/chunks/{rpc-4rkxrr4b.js → tool-f2ynrejf.js} +14 -14
  158. package/dist/chunks/{rpc-65t34tvq.js → tool-f372e9hx.js} +4 -4
  159. package/dist/chunks/{rpc-qmx1h8v8.js → tool-f5gy8qwh.js} +8 -8
  160. package/dist/chunks/{rpc-gdz0nm16.js → tool-faawnrv4.js} +12 -12
  161. package/dist/chunks/{rpc-kjb2hhrc.js → tool-fkngwg2k.js} +30 -30
  162. package/dist/chunks/{rpc-yep9hrs7.js → tool-fqa841x5.js} +16 -16
  163. package/dist/chunks/{rpc-xfkkasph.js → tool-g5w8qwbj.js} +4 -4
  164. package/dist/chunks/{rpc-qmgn8zg7.js → tool-gccjnz6h.js} +2 -2
  165. package/dist/chunks/{rpc-amzhydp5.js → tool-gce79w0q.js} +11 -11
  166. package/dist/chunks/{rpc-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  167. package/dist/chunks/{rpc-epn4jpn5.js → tool-gkh9snj0.js} +21 -21
  168. package/dist/chunks/{rpc-hwbjwdkm.js → tool-gnje2431.js} +1 -1
  169. package/dist/chunks/{rpc-dmmadak4.js → tool-gzwmz214.js} +32 -32
  170. package/dist/chunks/{rpc-h2b79v29.js → tool-h2b79v29.js} +2 -2
  171. package/dist/chunks/{rpc-0prrzmtk.js → tool-h412aj1p.js} +45 -45
  172. package/dist/chunks/{rpc-awrbzsy3.js → tool-h6nxw0pd.js} +6 -6
  173. package/dist/chunks/{rpc-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  174. package/dist/chunks/{rpc-cahzjz2e.js → tool-hh30mmv6.js} +4 -4
  175. package/dist/chunks/{rpc-9k7vhctz.js → tool-hksy7w0e.js} +9 -9
  176. package/dist/chunks/tool-ht5y0zrb.js +18 -0
  177. package/dist/chunks/{rpc-zy0p2a7a.js → tool-htbz2s2q.js} +19 -19
  178. package/dist/chunks/{rpc-2dm8nds3.js → tool-j2mwjwzb.js} +14 -14
  179. package/dist/chunks/{rpc-j56e64zr.js → tool-j56e64zr.js} +1 -1
  180. package/dist/chunks/{rpc-8a5fnp9s.js → tool-j75aexbk.js} +29 -29
  181. package/dist/chunks/{rpc-wcyz2dd7.js → tool-jb98t3yg.js} +9 -9
  182. package/dist/chunks/{rpc-fr4jfz3a.js → tool-jebbcwb7.js} +182 -182
  183. package/dist/chunks/{rpc-jcpqsrtw.js → tool-jg9mfmbc.js} +33 -33
  184. package/dist/chunks/{rpc-j33kjnzj.js → tool-jghb6zsz.js} +27 -27
  185. package/dist/chunks/{rpc-q4vm13ha.js → tool-jyqxqm4f.js} +8 -8
  186. package/dist/chunks/{rpc-xatn3nz0.js → tool-k0aa2bpn.js} +13 -13
  187. package/dist/chunks/{rpc-gbdg3f4q.js → tool-k2rcv5mf.js} +20 -20
  188. package/dist/chunks/{rpc-kfv9zcp7.js → tool-k86ctsz1.js} +5 -5
  189. package/dist/chunks/{rpc-r2dtq56c.js → tool-kt3hcyyz.js} +21 -21
  190. package/dist/chunks/{rpc-ztbftqy0.js → tool-kvq6zm8d.js} +11 -11
  191. package/dist/chunks/{rpc-4bm5ja14.js → tool-kzc3h1h3.js} +4 -4
  192. package/dist/chunks/{rpc-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  193. package/dist/chunks/{rpc-nh782qgx.js → tool-m6hkzgzt.js} +13 -13
  194. package/dist/chunks/{rpc-rfmbkq71.js → tool-m6pz7yaw.js} +27 -27
  195. package/dist/chunks/{rpc-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{rpc-maqk305m.js → tool-maqk305m.js} +3 -3
  197. package/dist/chunks/{rpc-3php8dd9.js → tool-mh8avh3a.js} +32 -32
  198. package/dist/chunks/{rpc-x2qsf20a.js → tool-mw7fyssf.js} +10 -10
  199. package/dist/chunks/{rpc-n6g6d2dh.js → tool-mx1sz4x7.js} +15 -15
  200. package/dist/chunks/{rpc-q0g1n7es.js → tool-n5w4zgy3.js} +8 -8
  201. package/dist/chunks/{rpc-nyztfb2d.js → tool-n9gejz5b.js} +5 -5
  202. package/dist/chunks/{rpc-zqsp6zp7.js → tool-nb12znkd.js} +20 -20
  203. package/dist/chunks/{rpc-2ew92v1r.js → tool-nd79nxgk.js} +11 -11
  204. package/dist/chunks/{rpc-6tf0ydvz.js → tool-ngqw0ypv.js} +89 -89
  205. package/dist/chunks/{rpc-ez9xjax4.js → tool-nm9kjter.js} +15 -15
  206. package/dist/chunks/{rpc-rzsd88wv.js → tool-nxn2kzp1.js} +7 -7
  207. package/dist/chunks/{rpc-thw44fjv.js → tool-p872nfyh.js} +51 -51
  208. package/dist/chunks/{rpc-nfeyqsva.js → tool-p9why5pw.js} +23 -23
  209. package/dist/chunks/{rpc-xdfgrpdn.js → tool-pfhas51f.js} +11 -11
  210. package/dist/chunks/{rpc-nffcmxy2.js → tool-pfthk98r.js} +3 -3
  211. package/dist/chunks/{rpc-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{rpc-pknna89w.js → tool-pknna89w.js} +1 -1
  213. package/dist/chunks/{rpc-fvkm2g5h.js → tool-psb6wvpf.js} +14 -14
  214. package/dist/chunks/{rpc-04qhygnj.js → tool-pwge32e4.js} +4 -4
  215. package/dist/chunks/{rpc-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
  216. package/dist/chunks/{rpc-gamycmfm.js → tool-q8dg0qrx.js} +18 -18
  217. package/dist/chunks/{rpc-t2fc4mz5.js → tool-qa3qhgw8.js} +4 -4
  218. package/dist/chunks/{rpc-ydcpfrjz.js → tool-qbsvtwmm.js} +7 -7
  219. package/dist/chunks/{rpc-f00eh3k7.js → tool-qkfezwh6.js} +11 -11
  220. package/dist/chunks/{rpc-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  221. package/dist/chunks/{rpc-5kbbpd5m.js → tool-qptn7k98.js} +20 -20
  222. package/dist/chunks/{rpc-qsdy395h.js → tool-qsdy395h.js} +1 -1
  223. package/dist/chunks/{rpc-jmkwhzjg.js → tool-qycxan82.js} +10 -10
  224. package/dist/chunks/{rpc-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{rpc-0ngd71wt.js → tool-rfg5269m.js} +11 -11
  226. package/dist/chunks/{rpc-fb7qthtr.js → tool-rh254cas.js} +16 -16
  227. package/dist/chunks/{rpc-xr0pdkzg.js → tool-rva2vaqy.js} +18 -18
  228. package/dist/chunks/{rpc-jcahdafx.js → tool-rvzqsjbs.js} +15 -15
  229. package/dist/chunks/{rpc-m3r53n7w.js → tool-s3skzd7w.js} +28 -28
  230. package/dist/chunks/{rpc-mha52fg8.js → tool-scgrse2b.js} +5 -5
  231. package/dist/chunks/{rpc-j70nvw5e.js → tool-sge72mws.js} +15 -15
  232. package/dist/chunks/{rpc-pz35sh5r.js → tool-sj09p6fx.js} +19 -19
  233. package/dist/chunks/{rpc-gvbrgmcd.js → tool-sp63qzw1.js} +32 -32
  234. package/dist/chunks/{rpc-wmh0e8qb.js → tool-svdf0mx4.js} +30 -30
  235. package/dist/chunks/{rpc-jbefk323.js → tool-t5rxgedn.js} +3 -3
  236. package/dist/chunks/{rpc-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{rpc-89znhe33.js → tool-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{rpc-tdstcens.js → tool-tdstcens.js} +1 -1
  239. package/dist/chunks/{rpc-sxcx047p.js → tool-tj5stkpz.js} +24 -24
  240. package/dist/chunks/{rpc-d1pty5dr.js → tool-ts9txmc3.js} +11 -11
  241. package/dist/chunks/{rpc-y20qkwyy.js → tool-v1gpf2yb.js} +34 -34
  242. package/dist/chunks/{rpc-pgp094pg.js → tool-v4xb2j5s.js} +21 -21
  243. package/dist/chunks/{rpc-krqgy3mh.js → tool-v4zkdgc9.js} +15 -15
  244. package/dist/chunks/{rpc-x86jqt50.js → tool-v5twwn9z.js} +20 -20
  245. package/dist/chunks/{rpc-bgvt1315.js → tool-v7wmy86e.js} +5 -5
  246. package/dist/chunks/{rpc-d7111vdp.js → tool-vdqy2d40.js} +11 -11
  247. package/dist/chunks/{rpc-wjknr5ax.js → tool-veq1ptvw.js} +24 -24
  248. package/dist/chunks/{rpc-9kb1jp1e.js → tool-veqef7sc.js} +5 -5
  249. package/dist/chunks/{rpc-veqvce7d.js → tool-veqvce7d.js} +1 -1
  250. package/dist/chunks/{rpc-pkqb68ka.js → tool-vn72gsba.js} +4 -4
  251. package/dist/chunks/{rpc-c91zzexf.js → tool-vq1q2ta7.js} +8 -8
  252. package/dist/chunks/{rpc-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{rpc-cskq1h98.js → tool-w11tz2pw.js} +31 -31
  254. package/dist/chunks/{rpc-brj6tsnm.js → tool-w1ry99tz.js} +17 -17
  255. package/dist/chunks/{rpc-w9vf9qqj.js → tool-w3nq1sqw.js} +9 -9
  256. package/dist/chunks/{rpc-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{rpc-3hrqzrgp.js → tool-w9wfhscg.js} +5 -5
  258. package/dist/chunks/{rpc-sq2hf2ex.js → tool-wchs5kcb.js} +3 -3
  259. package/dist/chunks/{rpc-bkejr317.js → tool-wcwsz0n1.js} +15 -15
  260. package/dist/chunks/{rpc-wd87259q.js → tool-wd87259q.js} +1 -1
  261. package/dist/chunks/{rpc-3045q0b3.js → tool-wdg5bjkg.js} +7 -7
  262. package/dist/chunks/{rpc-wh6zw745.js → tool-wh6zw745.js} +2 -2
  263. package/dist/chunks/{rpc-zpp3xwmp.js → tool-wrhmq8wv.js} +8 -8
  264. package/dist/chunks/{rpc-dhs4gavz.js → tool-wvpq0bw3.js} +1 -1
  265. package/dist/chunks/{rpc-rqda8125.js → tool-x48reza4.js} +20 -20
  266. package/dist/chunks/{rpc-1aqpvs29.js → tool-x5z5qag1.js} +32 -32
  267. package/dist/chunks/{rpc-td5nyq6t.js → tool-xa84tjd1.js} +43 -43
  268. package/dist/chunks/{rpc-zykqxywy.js → tool-xf8f9mz3.js} +32 -32
  269. package/dist/chunks/{rpc-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
  270. package/dist/chunks/{rpc-wmz5tzxy.js → tool-xp6p1dgv.js} +11 -11
  271. package/dist/chunks/{rpc-qxjc9qry.js → tool-xyafkbt0.js} +3 -3
  272. package/dist/chunks/{rpc-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{rpc-xagyt1w9.js → tool-y3cnjxb9.js} +18 -18
  274. package/dist/chunks/{rpc-2abnsckw.js → tool-ycm51zrg.js} +4 -4
  275. package/dist/chunks/{rpc-dbspd11k.js → tool-yk3b2hhw.js} +9 -9
  276. package/dist/chunks/{rpc-4rjamvcb.js → tool-ykkbspqz.js} +18 -18
  277. package/dist/chunks/{rpc-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{rpc-47jkzegy.js → tool-z6c3x22d.js} +5 -5
  279. package/dist/chunks/{rpc-1bjhhsef.js → tool-z98n36ea.js} +18 -18
  280. package/dist/chunks/{rpc-3d418hrh.js → tool-zhrz246t.js} +42 -42
  281. package/dist/chunks/{rpc-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{rpc-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{rpc-a2rpfkac.js → tool-zy43x3f1.js} +4 -4
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +117 -117
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +2 -2
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +9 -9
  421. package/dist/filesystem.js +104 -104
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +83 -83
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +89 -89
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +89 -89
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +96 -96
  473. package/dist/models-dev.js +99 -99
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +78 -78
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +82 -82
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +4 -4
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +90 -90
  553. package/dist/provider.js +95 -95
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +95 -95
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +85 -85
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +210 -210
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +7 -7
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +91 -91
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +122 -122
  631. package/dist/tool/plugin/grep.js +120 -120
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +105 -105
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +3 -3
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +2 -2
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +1 -1
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +87 -87
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +76 -76
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/rpc-2z7pspmn.js +0 -26
  682. package/dist/chunks/rpc-8zpd4q88.js +0 -253
  683. package/dist/chunks/rpc-pf31ssb9.js +0 -18
  684. /package/dist/chunks/{rpc-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{rpc-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{rpc-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{rpc-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{rpc-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{rpc-24dcb14g.js → tool-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{rpc-2710q6r3.js → tool-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{rpc-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{rpc-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{rpc-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{rpc-359p4xyc.js → tool-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{rpc-3asan66x.js → tool-3asan66x.js} +0 -0
  696. /package/dist/chunks/{rpc-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{rpc-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{rpc-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{rpc-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{rpc-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{rpc-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{rpc-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{rpc-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{rpc-53557ph1.js → tool-53557ph1.js} +0 -0
  705. /package/dist/chunks/{rpc-550bvhaj.js → tool-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{rpc-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{rpc-6prwharc.js → tool-6prwharc.js} +0 -0
  708. /package/dist/chunks/{rpc-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{rpc-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{rpc-7m9af43g.js → tool-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{rpc-822emrt2.js → tool-822emrt2.js} +0 -0
  712. /package/dist/chunks/{rpc-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{rpc-8n3pysct.js → tool-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{rpc-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{rpc-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{rpc-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{rpc-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{rpc-af5trqkr.js → tool-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{rpc-afrmfg78.js → tool-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{rpc-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{rpc-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{rpc-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{rpc-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{rpc-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{rpc-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{rpc-d9fn303g.js → tool-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{rpc-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{rpc-dajrwvna.js → tool-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{rpc-dap0rakb.js → tool-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{rpc-df08tz66.js → tool-df08tz66.js} +0 -0
  731. /package/dist/chunks/{rpc-dy18nga0.js → tool-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{rpc-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{rpc-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{rpc-ec1grn59.js → tool-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{rpc-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{rpc-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{rpc-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{rpc-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{rpc-faypxj3z.js → tool-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{rpc-fd410y7t.js → tool-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{rpc-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{rpc-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{rpc-g86h250q.js → tool-g86h250q.js} +0 -0
  744. /package/dist/chunks/{rpc-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{rpc-gftt206x.js → tool-gftt206x.js} +0 -0
  746. /package/dist/chunks/{rpc-hk9envan.js → tool-hk9envan.js} +0 -0
  747. /package/dist/chunks/{rpc-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{rpc-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{rpc-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{rpc-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{rpc-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{rpc-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{rpc-mp448xyj.js → tool-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{rpc-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{rpc-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{rpc-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{rpc-njntx4h6.js → tool-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{rpc-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{rpc-q74kybfr.js → tool-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{rpc-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{rpc-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{rpc-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{rpc-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{rpc-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{rpc-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{rpc-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{rpc-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{rpc-w803qqfp.js → tool-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{rpc-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{rpc-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{rpc-wtztk69x.js → tool-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{rpc-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{rpc-x61499pn.js → tool-x61499pn.js} +0 -0
  774. /package/dist/chunks/{rpc-y44na4kk.js → tool-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{rpc-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{rpc-y8f7s663.js → tool-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{rpc-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{rpc-ym463w8f.js → tool-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{rpc-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{rpc-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./rpc-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Service78,
6
- node82
7
- } from "./rpc-dp56tzpn.js";
5
+ Service75,
6
+ node79
7
+ } from "./tool-ab5g3gyt.js";
8
8
  import {
9
- Service56,
10
- node58
11
- } from "./rpc-2dm8nds3.js";
9
+ Service24,
10
+ node27
11
+ } from "./tool-j2mwjwzb.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./rpc-89znhe33.js";
14
+ names3
15
+ } from "./tool-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./rpc-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options7,
25
- Service: () => Service55,
26
- configured: () => configured6,
24
+ Options: () => Options2,
25
+ Service: () => Service23,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer21,
29
- node: () => node57,
28
+ layer: () => layer9,
29
+ node: () => node26,
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 Options7 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service55 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service23 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(Service55, Effect.gen(function* () {
62
- const location = yield* Service78;
63
- const ripgrep = yield* Service56;
61
+ var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
62
+ const location = yield* Service75;
63
+ const ripgrep = yield* Service24;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service55, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service55, 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 Service55.of({
108
+ return Service23.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(Service55, Effect.gen(function* () {
116
- const location = yield* Service78;
115
+ var fffLayer2 = Layer.effect(Service23, 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(Service55, 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 Service55.of({
129
+ return Service23.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service55.of({
134
+ return Service23.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(Service55, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service78;
177
+ var layer9 = (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 configured6(options) {
186
- return makeLocationNode({ service: Service55, layer: layer21(options), deps: [node82, node58] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service23, layer: layer9(options), deps: [node79, node27] });
187
187
  }
188
- var node57 = configured6();
188
+ var node26 = configured2();
189
189
 
190
- export { Options7, Service55, ripgrepLayer2, fffLayer2, layer21, configured6, node57, exports_search };
190
+ export { Options2, Service23, ripgrepLayer2, fffLayer2, layer9, configured2, node26, exports_search };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./rpc-2a5m3afh.js";
3
+ } from "./tool-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./rpc-z5v4ffb3.js";
6
+ } from "./tool-z5v4ffb3.js";
7
7
  import {
8
- Service78
9
- } from "./rpc-dp56tzpn.js";
8
+ Service75
9
+ } from "./tool-ab5g3gyt.js";
10
10
  import {
11
- Service57
12
- } from "./rpc-60p83n7v.js";
11
+ Service59
12
+ } from "./tool-b2mfa9xz.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service56
16
- } from "./rpc-2dm8nds3.js";
15
+ Service24
16
+ } from "./tool-j2mwjwzb.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./rpc-5g6s6gv3.js";
23
+ } from "./tool-15brx7xh.js";
24
24
  import {
25
- Service70
26
- } from "./rpc-z1y57tvr.js";
25
+ Service69
26
+ } from "./tool-dfjg1bp5.js";
27
27
  import {
28
- Service14
29
- } from "./rpc-gamycmfm.js";
28
+ Service15
29
+ } from "./tool-q8dg0qrx.js";
30
30
  import {
31
31
  __export
32
- } from "./rpc-9rqn6x4v.js";
32
+ } from "./tool-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input4,
39
- Output: () => Output3,
38
+ Input: () => Input5,
39
+ Output: () => Output4,
40
40
  Plugin: () => Plugin6,
41
- name: () => name4,
41
+ name: () => name5,
42
42
  toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name4 = "grep";
48
- var Input4 = Schema.Struct({
47
+ var name5 = "grep";
48
+ var Input5 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,7 +65,7 @@ var Input4 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output3 = Schema.Array(Match2);
68
+ var Output4 = Schema.Array(Match2);
69
69
  var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
@@ -86,23 +86,23 @@ var toModelContent3 = (matches, truncated = false) => {
86
86
  var Plugin6 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service57;
90
- const ripgrep = yield* Service56;
91
- const location = yield* Service78;
92
- const access = yield* Service14;
93
- const permission = yield* Service70;
89
+ const environment = yield* Service59;
90
+ const ripgrep = yield* Service24;
91
+ const location = yield* Service75;
92
+ const access = yield* Service15;
93
+ const permission = yield* Service69;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name4,
95
+ name: name5,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input4,
99
- output: Output3,
98
+ input: Input5,
99
+ output: Output4,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name4,
105
+ action: name5,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -154,4 +154,4 @@ var Plugin6 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name4, Input4, Output3, toModelContent3, Plugin6, exports_grep };
157
+ export { name5, Input5, Output4, toModelContent3, Plugin6, exports_grep };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID8
3
- } from "./rpc-n8vdb50h.js";
2
+ ID9
3
+ } from "./tool-e41k2zcz.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID8.make(id);
27
+ const providerID = ID9.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names4,
10
+ names: () => names3,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names4() {
44
+ function names3() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names4, paths2, exports_protected };
63
+ export { isHome2, names3, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./rpc-cazsvtfp.js";
3
+ } from "./tool-emd75jk3.js";
4
4
  import {
5
5
  Service83
6
- } from "./rpc-2abnsckw.js";
6
+ } from "./tool-ycm51zrg.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./rpc-xfrtpcsx.js";
9
+ Event20
10
+ } from "./tool-1spn70p8.js";
11
11
  import {
12
12
  key2
13
- } from "./rpc-db2wf4at.js";
13
+ } from "./tool-3y377wv9.js";
14
14
  import {
15
- ID9,
15
+ ID16,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./rpc-dmmadak4.js";
18
+ } from "./tool-gzwmz214.js";
19
19
  import {
20
- Service39
21
- } from "./rpc-qmx1h8v8.js";
20
+ Service14
21
+ } from "./tool-f5gy8qwh.js";
22
22
  import {
23
- ID8,
23
+ ID9,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./rpc-n8vdb50h.js";
26
+ } from "./tool-e41k2zcz.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./rpc-nfeyqsva.js";
29
+ } from "./tool-p9why5pw.js";
30
30
  import {
31
- ID5,
32
- Input14,
31
+ ID4,
32
+ Input13,
33
33
  Response2
34
- } from "./rpc-09g16h6t.js";
34
+ } from "./tool-eg18rmn3.js";
35
35
 
36
36
  // src/plugin/provider/opencode.ts
37
37
  import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
47
47
  var RemoteResponse = Schema.Struct({
48
48
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
49
49
  websearch: Schema.Struct({
50
- providerID: ID5
50
+ providerID: ID4
51
51
  }).pipe(Schema.optional),
52
52
  mcp: Schema.Struct({
53
53
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
99
99
  }
100
100
  function oauth(http) {
101
101
  return {
102
- integrationID: ID9.make("opencode"),
102
+ integrationID: ID16.make("opencode"),
103
103
  method: {
104
104
  id: methodID,
105
105
  type: "oauth",
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
166
166
  const bus = yield* Service83;
167
167
  const client = yield* HttpClient.HttpClient;
168
168
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
169
- const managed = yield* Service39;
169
+ const managed = yield* Service14;
170
170
  const scope = yield* Scope.Scope;
171
171
  const loading = Semaphore.makeUnsafe(1);
172
172
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
215
215
  providers.update(providerID, (provider) => {
216
216
  if (source && source.provider !== provider)
217
217
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
218
- provider.integrationID = ID9.make("opencode");
218
+ provider.integrationID = ID16.make("opencode");
219
219
  if (item.canonical !== undefined)
220
220
  provider.canonical = item.canonical;
221
221
  if (item.name !== undefined)
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
281
281
  sourceConnection: snapshot.connection
282
282
  });
283
283
  }
284
- const item = providers.get(ID8.opencode);
284
+ const item = providers.get(ID9.opencode);
285
285
  if (!item)
286
286
  return;
287
287
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
293
293
  });
294
294
  });
295
295
  yield* ctx.model.transform((models) => {
296
- const item = models.provider.get(ID8.opencode);
296
+ const item = models.provider.get(ID9.opencode);
297
297
  if (!item)
298
298
  return;
299
299
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
327
327
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
328
328
  const token = credential.type === "oauth" ? credential.access : credential.key;
329
329
  const server = yield* normalizeServer(serverUrl(credential));
330
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
330
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
331
331
  query: input.query,
332
332
  providerID: descriptor.providerID
333
333
  }));
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
382
382
  });
383
383
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
384
384
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
385
- explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
385
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
386
386
  });
387
387
  yield* guard(snapshot);
388
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
388
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
389
389
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
390
390
  })
391
391
  });
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service43
3
- } from "./rpc-fb7qthtr.js";
2
+ Service53
3
+ } from "./tool-rh254cas.js";
4
4
  import {
5
- Service42
6
- } from "./rpc-f5j1xq8b.js";
5
+ Service52
6
+ } from "./tool-3srzt07f.js";
7
7
  import {
8
8
  parse2
9
- } from "./rpc-mvag4927.js";
9
+ } from "./tool-9bwc8hw1.js";
10
10
  import {
11
11
  __export
12
- } from "./rpc-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin24
18
+ Plugin: () => Plugin42
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin24 = define({
24
+ var Plugin42 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service42;
27
+ const config = yield* Service52;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service43;
29
+ const watcher = yield* Service53;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin24 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin24, exports_compatibility };
76
+ export { Plugin42, exports_compatibility };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./rpc-2abnsckw.js";
4
+ } from "./tool-ycm51zrg.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./tool-veq1ptvw.js";
5
9
  import {
6
10
  Service76,
7
11
  node80
8
- } from "./rpc-wjknr5ax.js";
9
- import {
10
- Service79,
11
- node83
12
- } from "./rpc-8xytev0b.js";
12
+ } from "./tool-1402mhzs.js";
13
13
  import {
14
- Ref4,
15
- Service78,
16
- node82
17
- } from "./rpc-dp56tzpn.js";
14
+ Ref3,
15
+ Service75,
16
+ node79
17
+ } from "./tool-ab5g3gyt.js";
18
18
  import {
19
19
  canonical3
20
- } from "./rpc-d7111vdp.js";
20
+ } from "./tool-vdqy2d40.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./rpc-ec1grn59.js";
23
+ } from "./tool-ec1grn59.js";
24
24
  import {
25
- Service70,
26
- node74
27
- } from "./rpc-z1y57tvr.js";
25
+ Service69,
26
+ node73
27
+ } from "./tool-dfjg1bp5.js";
28
28
  import {
29
- Service74,
30
- node78
31
- } from "./rpc-zqsp6zp7.js";
29
+ Service68,
30
+ node72
31
+ } from "./tool-nb12znkd.js";
32
32
  import {
33
33
  __export
34
- } from "./rpc-9rqn6x4v.js";
34
+ } from "./tool-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service68,
41
- node: () => node72
40
+ Service: () => Service67,
41
+ node: () => node71
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service68 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service67 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service68, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
- const location = yield* Service78;
53
- const permission = yield* Service70;
54
- const forms = yield* Service76;
55
- const rpc = yield* Service74;
56
- const project = yield* Service79;
52
+ const location = yield* Service75;
53
+ const permission = yield* Service69;
54
+ const forms = yield* Service82;
55
+ const rpc = yield* Service68;
56
+ const project = yield* Service76;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -72,18 +72,18 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
72
72
  yield* forms.close;
73
73
  yield* rpc.close;
74
74
  yield* bus.publish(LocationEvent.Shutdown, {}, {
75
- location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
75
+ location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service68.of({
78
+ return Service67.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node72 = makeLocationNode({
84
- service: Service68,
83
+ var node71 = makeLocationNode({
84
+ service: Service67,
85
85
  layer,
86
- deps: [node87, node82, node74, node83, node80, node78]
86
+ deps: [node87, node79, node73, node80, node86, node72]
87
87
  });
88
88
 
89
- export { Service68, node72, exports_location_lifecycle };
89
+ export { Service67, node71, exports_location_lifecycle };