@opencode/core 0.0.0-dev-19539 → 0.0.0-dev-19540

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{wellknown-e0nfhzw1.js → tool-0299gjg5.js} +23 -23
  9. package/dist/chunks/{wellknown-77nagcj1.js → tool-02zskd6f.js} +4 -4
  10. package/dist/chunks/{wellknown-b8b3f19r.js → tool-0996nyz8.js} +9 -9
  11. package/dist/chunks/{wellknown-6pzpj85z.js → tool-0bqxz2km.js} +26 -26
  12. package/dist/chunks/{wellknown-2k8khapm.js → tool-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{wellknown-6w9kmp65.js → tool-0nbbv2dg.js} +91 -91
  14. package/dist/chunks/{wellknown-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{wellknown-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{wellknown-rq2kkvr3.js → tool-0r9sq1ay.js} +10 -10
  17. package/dist/chunks/{wellknown-4xrb88hm.js → tool-0veevydg.js} +28 -28
  18. package/dist/chunks/{wellknown-5zsm984v.js → tool-11021cf3.js} +6 -6
  19. package/dist/chunks/{wellknown-08cen3js.js → tool-19w2tstg.js} +28 -28
  20. package/dist/chunks/{wellknown-r8xr0va3.js → tool-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{wellknown-9j4e7e8q.js → tool-1c8etqjp.js} +7 -7
  22. package/dist/chunks/{wellknown-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{wellknown-5vc4apcq.js → tool-1fjf9qgp.js} +15 -15
  24. package/dist/chunks/{wellknown-728x28gm.js → tool-1jqgrzzt.js} +8 -8
  25. package/dist/chunks/{wellknown-vg4z5xy3.js → tool-1pwvfv87.js} +11 -11
  26. package/dist/chunks/tool-1qd3ycm2.js +26 -0
  27. package/dist/chunks/{wellknown-8hhpf1hm.js → tool-1qmbqjyv.js} +36 -36
  28. package/dist/chunks/{wellknown-s47e1ezx.js → tool-1r6pjnw8.js} +13 -13
  29. package/dist/chunks/{wellknown-2erey2nk.js → tool-20m8myk3.js} +11 -11
  30. package/dist/chunks/{wellknown-7vzhg19r.js → tool-20tfp5zs.js} +4 -4
  31. package/dist/chunks/{wellknown-21r38tys.js → tool-21r38tys.js} +1 -1
  32. package/dist/chunks/{wellknown-6h73sxmp.js → tool-2402vzrj.js} +5 -5
  33. package/dist/chunks/{wellknown-rwregw7w.js → tool-24dbyy2c.js} +10 -10
  34. package/dist/chunks/{wellknown-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{wellknown-mgjq6x1m.js → tool-2cv6r8s0.js} +41 -41
  36. package/dist/chunks/{wellknown-p7a4gs0b.js → tool-2fvqh1y6.js} +16 -16
  37. package/dist/chunks/{wellknown-851r6173.js → tool-2syw43ez.js} +14 -14
  38. package/dist/chunks/{wellknown-y94c40zx.js → tool-2v3pb6qd.js} +12 -12
  39. package/dist/chunks/{wellknown-dc76j9wz.js → tool-2vnwx32a.js} +8 -8
  40. package/dist/chunks/{wellknown-7esh47m3.js → tool-2vs9fmj2.js} +14 -14
  41. package/dist/chunks/{wellknown-23t8dfc0.js → tool-2z7ees0g.js} +4 -4
  42. package/dist/chunks/{wellknown-mfqp6xfm.js → tool-33w4ejhs.js} +9 -9
  43. package/dist/chunks/{wellknown-4m2pmvxz.js → tool-3c1tgrea.js} +6 -6
  44. package/dist/chunks/{wellknown-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{wellknown-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{wellknown-bksxygyb.js → tool-3se9mp31.js} +33 -33
  47. package/dist/chunks/{wellknown-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{wellknown-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{wellknown-3cfzdc8e.js → tool-3w2b2yj4.js} +5 -5
  50. package/dist/chunks/{wellknown-g8471784.js → tool-439n1kaq.js} +2 -2
  51. package/dist/chunks/{wellknown-kyjnjde5.js → tool-4cbqng7e.js} +8 -8
  52. package/dist/chunks/{wellknown-81swgkk7.js → tool-4frkg54w.js} +9 -9
  53. package/dist/chunks/{wellknown-d60v85tc.js → tool-4fxa00ze.js} +3 -3
  54. package/dist/chunks/{wellknown-hfpkbpzz.js → tool-4rgwgr9n.js} +4 -4
  55. package/dist/chunks/{wellknown-7m5f9412.js → tool-52fpbh6z.js} +8 -8
  56. package/dist/chunks/{wellknown-2023svme.js → tool-5cmqm0ev.js} +9 -9
  57. package/dist/chunks/{wellknown-5daktx2q.js → tool-5daktx2q.js} +1 -1
  58. package/dist/chunks/{wellknown-fexf5k2n.js → tool-5m0afy4r.js} +6 -6
  59. package/dist/chunks/{wellknown-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{wellknown-vavy50n7.js → tool-5vgkaf0c.js} +22 -22
  61. package/dist/chunks/{wellknown-9sh3b0bz.js → tool-5wj1bc2b.js} +4 -4
  62. package/dist/chunks/{wellknown-arwy73pv.js → tool-5zhzefj3.js} +17 -17
  63. package/dist/chunks/{wellknown-vt6mrpr2.js → tool-60cvmy65.js} +1 -1
  64. package/dist/chunks/{wellknown-y9hpkwc1.js → tool-62139ecc.js} +7 -7
  65. package/dist/chunks/{wellknown-vfnexndp.js → tool-64mbz47k.js} +6 -6
  66. package/dist/chunks/{wellknown-669tq793.js → tool-669tq793.js} +1 -1
  67. package/dist/chunks/{wellknown-2ab9sw28.js → tool-69xwbkdg.js} +37 -37
  68. package/dist/chunks/{wellknown-bnp0v6wa.js → tool-6ba819az.js} +29 -29
  69. package/dist/chunks/{wellknown-26qyng6q.js → tool-6jjd6916.js} +11 -11
  70. package/dist/chunks/{wellknown-h0w0a0x1.js → tool-6karmr7k.js} +9 -9
  71. package/dist/chunks/{wellknown-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{wellknown-cyvma0e0.js → tool-6qqxn8pv.js} +15 -15
  73. package/dist/chunks/{wellknown-ds9vkb33.js → tool-700r65qt.js} +168 -168
  74. package/dist/chunks/{wellknown-rzkmpk7g.js → tool-70wdtdtz.js} +69 -69
  75. package/dist/chunks/{wellknown-jhee3avx.js → tool-71b76pde.js} +12 -12
  76. package/dist/chunks/{wellknown-71q4at8m.js → tool-71q4at8m.js} +1 -1
  77. package/dist/chunks/{wellknown-6jvvt40y.js → tool-7690wq37.js} +9 -9
  78. package/dist/chunks/{wellknown-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{wellknown-qcx2jk2t.js → tool-7j0r01e2.js} +59 -59
  80. package/dist/chunks/{wellknown-ny23mpww.js → tool-7m06xexa.js} +10 -10
  81. package/dist/chunks/{wellknown-ygc9jv0b.js → tool-7pegcs5y.js} +2 -2
  82. package/dist/chunks/{wellknown-scrkxf2r.js → tool-7wcy2j48.js} +13 -13
  83. package/dist/chunks/{wellknown-akw77m90.js → tool-7xmcpp5k.js} +1 -1
  84. package/dist/chunks/tool-7z7rpcgx.js +247 -0
  85. package/dist/chunks/{wellknown-1at5eyj7.js → tool-8557jav9.js} +80 -80
  86. package/dist/chunks/{wellknown-ec6jknr9.js → tool-8cdvd9z3.js} +15 -15
  87. package/dist/chunks/{wellknown-1bx8nmgw.js → tool-8cwk6cmw.js} +9 -9
  88. package/dist/chunks/{wellknown-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{wellknown-vkyg9h5q.js → tool-8mxe8k4b.js} +22 -22
  90. package/dist/chunks/{wellknown-8p4f9s12.js → tool-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{wellknown-rmt0nbj5.js → tool-8rqvsz38.js} +4 -4
  92. package/dist/chunks/{wellknown-czy44wp6.js → tool-8s0z9n45.js} +5 -5
  93. package/dist/chunks/{wellknown-bbz20pt0.js → tool-8twyvpe7.js} +43 -43
  94. package/dist/chunks/{wellknown-7pd4ry3z.js → tool-8vsxpez5.js} +46 -46
  95. package/dist/chunks/{wellknown-bq71vxtg.js → tool-8wagbt41.js} +27 -27
  96. package/dist/chunks/{wellknown-as6kphby.js → tool-9eeg3wcp.js} +51 -51
  97. package/dist/chunks/{wellknown-zj09a0ew.js → tool-9h41vc4j.js} +4 -4
  98. package/dist/chunks/{wellknown-2qw1bc1t.js → tool-9h7qzzke.js} +24 -24
  99. package/dist/chunks/{wellknown-zvt5ka0t.js → tool-9j2xpqw0.js} +28 -28
  100. package/dist/chunks/{wellknown-myy8h7m5.js → tool-9me22cbr.js} +19 -19
  101. package/dist/chunks/{wellknown-d6ygf2cn.js → tool-9swcrqvc.js} +30 -30
  102. package/dist/chunks/{wellknown-wfq7e0xr.js → tool-9tmrnrc3.js} +20 -20
  103. package/dist/chunks/{wellknown-a1bz86dw.js → tool-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{wellknown-mz243gxw.js → tool-a4s526ga.js} +24 -24
  105. package/dist/chunks/{wellknown-kerhshr9.js → tool-a694798e.js} +5 -5
  106. package/dist/chunks/{wellknown-aaet6srn.js → tool-aaet6srn.js} +2 -2
  107. package/dist/chunks/{wellknown-q4eww03h.js → tool-aax1h56x.js} +1 -1
  108. package/dist/chunks/{wellknown-r61k027t.js → tool-ad6yvafe.js} +17 -17
  109. package/dist/chunks/{wellknown-fyj0f73f.js → tool-aedkfdwe.js} +16 -16
  110. package/dist/chunks/{wellknown-0t3pyjz3.js → tool-ankkda91.js} +9 -9
  111. package/dist/chunks/{wellknown-g4417hh3.js → tool-at81ej1z.js} +6 -6
  112. package/dist/chunks/{wellknown-428yx6p2.js → tool-awtg3954.js} +33 -33
  113. package/dist/chunks/{wellknown-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{wellknown-a8nah55w.js → tool-b8wa1ckd.js} +1 -1
  115. package/dist/chunks/{wellknown-z6brc79e.js → tool-ba3nnyyx.js} +10 -10
  116. package/dist/chunks/{wellknown-bha4atvq.js → tool-bajakh74.js} +4 -4
  117. package/dist/chunks/{wellknown-t9zs3egg.js → tool-bct739vz.js} +4 -4
  118. package/dist/chunks/{wellknown-j8zzr2am.js → tool-bdqrk2vk.js} +5 -5
  119. package/dist/chunks/{wellknown-txh28jzs.js → tool-bfc0h0ah.js} +8 -8
  120. package/dist/chunks/{wellknown-dwq8cef9.js → tool-bmwvampg.js} +35 -35
  121. package/dist/chunks/{wellknown-67esxyaq.js → tool-bnxh6nf1.js} +17 -17
  122. package/dist/chunks/{wellknown-b4cya9kz.js → tool-brahnmae.js} +11 -11
  123. package/dist/chunks/{wellknown-vzzkf86k.js → tool-c3nr3a1t.js} +28 -28
  124. package/dist/chunks/{wellknown-7sz98wh0.js → tool-c74bb4fg.js} +299 -299
  125. package/dist/chunks/{wellknown-860p72tc.js → tool-c8ftv886.js} +5 -5
  126. package/dist/chunks/{wellknown-cxqrqs6v.js → tool-cb1fb07j.js} +32 -32
  127. package/dist/chunks/{wellknown-d1v5nxx2.js → tool-cf4qthmf.js} +20 -20
  128. package/dist/chunks/{wellknown-cfpkc3c9.js → tool-cfpkc3c9.js} +2 -2
  129. package/dist/chunks/{wellknown-07vf46pq.js → tool-ctgxkhvw.js} +15 -15
  130. package/dist/chunks/{wellknown-g59p72yg.js → tool-dmpv135r.js} +47 -47
  131. package/dist/chunks/{wellknown-nm03esje.js → tool-ds93jj24.js} +3 -3
  132. package/dist/chunks/{wellknown-nw0178xm.js → tool-dssyvqwy.js} +33 -33
  133. package/dist/chunks/{wellknown-jqktx0eb.js → tool-e036a9pm.js} +28 -28
  134. package/dist/chunks/{wellknown-bndc73cn.js → tool-e5nv3ght.js} +5 -5
  135. package/dist/chunks/{wellknown-e6hmchc5.js → tool-e6hmchc5.js} +2 -2
  136. package/dist/chunks/{wellknown-pecb0brz.js → tool-ead3g9p8.js} +5 -5
  137. package/dist/chunks/{wellknown-bz0devez.js → tool-ee4a09y5.js} +10 -10
  138. package/dist/chunks/{wellknown-jnk338bk.js → tool-ekx6gx0x.js} +11 -11
  139. package/dist/chunks/{wellknown-xk2mzpsa.js → tool-enccs5rm.js} +32 -32
  140. package/dist/chunks/{wellknown-7yh4e7ss.js → tool-eq1pz5kg.js} +3 -3
  141. package/dist/chunks/{wellknown-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{wellknown-f828m53h.js → tool-f828m53h.js} +2 -2
  143. package/dist/chunks/{wellknown-nvde7z1v.js → tool-f9m0bqsz.js} +22 -22
  144. package/dist/chunks/{wellknown-gx2jmcw9.js → tool-fgg2p6ky.js} +11 -11
  145. package/dist/chunks/{wellknown-j60r5zmy.js → tool-fp7xghy5.js} +13 -13
  146. package/dist/chunks/{wellknown-23pqda6t.js → tool-fvanntqq.js} +6 -6
  147. package/dist/chunks/{wellknown-6xcwhts3.js → tool-fvgvh3wz.js} +11 -11
  148. package/dist/chunks/{wellknown-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{wellknown-rf98ft5w.js → tool-g4qfqx3z.js} +26 -26
  150. package/dist/chunks/{wellknown-qx2znyws.js → tool-g77pfeh0.js} +15 -15
  151. package/dist/chunks/{wellknown-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{wellknown-tmt7y050.js → tool-gf3w8mcy.js} +12 -12
  153. package/dist/chunks/{wellknown-fqj9nv8j.js → tool-gft05b0a.js} +8 -8
  154. package/dist/chunks/{wellknown-1hpbd1d8.js → tool-gg4bq2q4.js} +7 -7
  155. package/dist/chunks/{wellknown-n6c2qfs9.js → tool-gq3a5xex.js} +41 -41
  156. package/dist/chunks/{wellknown-g2ddh771.js → tool-gs4q6mge.js} +5 -5
  157. package/dist/chunks/{wellknown-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{wellknown-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{wellknown-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{wellknown-ferfphdt.js → tool-h7pjjeb1.js} +5 -5
  161. package/dist/chunks/{wellknown-6yjwfbhf.js → tool-hav2x4nq.js} +4 -4
  162. package/dist/chunks/{wellknown-hjt4xg1x.js → tool-hjt4xg1x.js} +1 -1
  163. package/dist/chunks/{wellknown-afdssyjb.js → tool-hn57h045.js} +4 -4
  164. package/dist/chunks/{wellknown-wtdkn21q.js → tool-hq9kk1eh.js} +5 -5
  165. package/dist/chunks/{wellknown-614nn5w1.js → tool-hrj7pjr8.js} +14 -14
  166. package/dist/chunks/{wellknown-twy35tz0.js → tool-hrvd6t1f.js} +9 -9
  167. package/dist/chunks/{wellknown-c982ejga.js → tool-hz30zgkd.js} +9 -9
  168. package/dist/chunks/{wellknown-40kjh9zt.js → tool-hz62r41k.js} +46 -46
  169. package/dist/chunks/{wellknown-tpej6hf6.js → tool-j12s1dt6.js} +6 -6
  170. package/dist/chunks/{wellknown-6ymj5c7p.js → tool-j27yjeep.js} +29 -29
  171. package/dist/chunks/{wellknown-hyn2ecqg.js → tool-j2wbkj1x.js} +48 -48
  172. package/dist/chunks/{wellknown-j56e64zr.js → tool-j56e64zr.js} +1 -1
  173. package/dist/chunks/{wellknown-ywq6n3vy.js → tool-jb2vcz8q.js} +57 -57
  174. package/dist/chunks/{wellknown-eyt4k3kj.js → tool-jmk5eqxp.js} +17 -17
  175. package/dist/chunks/{wellknown-8wrg7dkf.js → tool-jvhnejfk.js} +23 -23
  176. package/dist/chunks/{wellknown-jw80jp6b.js → tool-jw80jp6b.js} +1 -1
  177. package/dist/chunks/{wellknown-x569bdqa.js → tool-k2dherqe.js} +1 -1
  178. package/dist/chunks/{wellknown-7df9bwsb.js → tool-k2vvnb2e.js} +27 -27
  179. package/dist/chunks/{wellknown-2yc0zt1n.js → tool-k581jmxz.js} +14 -14
  180. package/dist/chunks/{wellknown-sz6k00j1.js → tool-k641sm4f.js} +12 -12
  181. package/dist/chunks/{wellknown-j7wq2tw5.js → tool-k6yq57aq.js} +3 -3
  182. package/dist/chunks/{wellknown-kte9e5my.js → tool-k7hfcg7n.js} +23 -23
  183. package/dist/chunks/{wellknown-t0fq93h8.js → tool-k9yfmsvc.js} +15 -15
  184. package/dist/chunks/{wellknown-y6a1dekx.js → tool-kac23fkg.js} +1 -1
  185. package/dist/chunks/{wellknown-vf49pxf8.js → tool-kaypvkzz.js} +19 -19
  186. package/dist/chunks/{wellknown-fy5rdmrn.js → tool-kdv4badm.js} +5 -5
  187. package/dist/chunks/{wellknown-kg06axw8.js → tool-kg06axw8.js} +1 -1
  188. package/dist/chunks/{wellknown-9cw4g2nz.js → tool-kgwhbhza.js} +19 -19
  189. package/dist/chunks/{wellknown-awhgpd7e.js → tool-khcc2y7p.js} +11 -11
  190. package/dist/chunks/{wellknown-7srhakrh.js → tool-khyy3z7c.js} +36 -36
  191. package/dist/chunks/{wellknown-v67r9x2e.js → tool-kjne0gnr.js} +13 -13
  192. package/dist/chunks/{wellknown-nftnfmm3.js → tool-kmqmddk0.js} +45 -45
  193. package/dist/chunks/{wellknown-66c64646.js → tool-kxqpg2a3.js} +6 -6
  194. package/dist/chunks/{wellknown-7j34szy8.js → tool-m21k6hwm.js} +20 -20
  195. package/dist/chunks/{wellknown-wtq9ytdv.js → tool-m70012hk.js} +14 -14
  196. package/dist/chunks/{wellknown-n2t4r3gh.js → tool-m7ah9b01.js} +22 -22
  197. package/dist/chunks/{wellknown-53dfrr0p.js → tool-m7xke3eb.js} +22 -22
  198. package/dist/chunks/{wellknown-xekzrwwc.js → tool-m86bnw2c.js} +9 -9
  199. package/dist/chunks/{wellknown-00h2wynw.js → tool-m8vzpnra.js} +22 -22
  200. package/dist/chunks/{wellknown-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  201. package/dist/chunks/{wellknown-55a4dvpq.js → tool-mbeywexs.js} +5 -5
  202. package/dist/chunks/{wellknown-paegk39x.js → tool-msq0jde0.js} +4 -4
  203. package/dist/chunks/{wellknown-307krdjp.js → tool-n02csdyp.js} +15 -15
  204. package/dist/chunks/{wellknown-tfqpcp74.js → tool-n89ph4ha.js} +9 -9
  205. package/dist/chunks/{wellknown-y0teaw91.js → tool-n96v1vx3.js} +15 -15
  206. package/dist/chunks/{wellknown-ddc0bqhb.js → tool-n9z12nhw.js} +8 -8
  207. package/dist/chunks/{wellknown-n6r2xd79.js → tool-nb6x7g5x.js} +4 -4
  208. package/dist/chunks/{wellknown-zr6mpnsb.js → tool-ngwpnmm2.js} +6 -6
  209. package/dist/chunks/{wellknown-1vr0zdnx.js → tool-nv6sgpkb.js} +6 -6
  210. package/dist/chunks/{wellknown-tk7tn7wd.js → tool-nwa6tt5d.js} +1 -1
  211. package/dist/chunks/tool-pf31ssb9.js +18 -0
  212. package/dist/chunks/{wellknown-vxq3cchq.js → tool-phptn4kh.js} +6 -6
  213. package/dist/chunks/{wellknown-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{wellknown-pknna89w.js → tool-pknna89w.js} +1 -1
  215. package/dist/chunks/{wellknown-ypgtt1w2.js → tool-pnbgbrcy.js} +35 -35
  216. package/dist/chunks/{wellknown-xjgyf5pt.js → tool-ppbs3dgs.js} +27 -27
  217. package/dist/chunks/{wellknown-rvsy3236.js → tool-pq99gyy2.js} +11 -11
  218. package/dist/chunks/{wellknown-rkmq0ftz.js → tool-pwh8btyp.js} +11 -11
  219. package/dist/chunks/{wellknown-pxsh4axf.js → tool-q0x9hp0x.js} +32 -32
  220. package/dist/chunks/{wellknown-cxv3b682.js → tool-q26tgv94.js} +8 -8
  221. package/dist/chunks/{wellknown-cfb5pb1y.js → tool-q6hf9b7c.js} +20 -20
  222. package/dist/chunks/{wellknown-kwfvtv90.js → tool-q8445bg1.js} +25 -25
  223. package/dist/chunks/tool-qapv375x.js +4 -0
  224. package/dist/chunks/{wellknown-f6brk7pj.js → tool-qcprappc.js} +12 -12
  225. package/dist/chunks/{wellknown-rz7nw9vv.js → tool-qnhx320f.js} +9 -9
  226. package/dist/chunks/{wellknown-qsdy395h.js → tool-qsdy395h.js} +1 -1
  227. package/dist/chunks/{wellknown-xb19yntf.js → tool-qvkbe7wj.js} +22 -22
  228. package/dist/chunks/{wellknown-8k6k9q3x.js → tool-r0trdc9p.js} +5 -5
  229. package/dist/chunks/{wellknown-b860jvh5.js → tool-r5vpk0b1.js} +4 -4
  230. package/dist/chunks/{wellknown-a6jgch9w.js → tool-r6w0w95m.js} +22 -22
  231. package/dist/chunks/{wellknown-sxg9z5jp.js → tool-r7h76vv8.js} +9 -9
  232. package/dist/chunks/{wellknown-t7hf8wx6.js → tool-r7x1my69.js} +3 -3
  233. package/dist/chunks/{wellknown-r9mregkx.js → tool-r9mregkx.js} +2 -2
  234. package/dist/chunks/{wellknown-e95g814e.js → tool-rcmaerg2.js} +15 -15
  235. package/dist/chunks/{wellknown-2d9jcxpv.js → tool-rdqxydgw.js} +16 -16
  236. package/dist/chunks/{wellknown-bb3w8y6r.js → tool-rdsy4w4t.js} +32 -32
  237. package/dist/chunks/{wellknown-97jqyest.js → tool-rfsjamy2.js} +28 -28
  238. package/dist/chunks/{wellknown-nvkvd3qt.js → tool-rmbepvtv.js} +17 -17
  239. package/dist/chunks/{wellknown-5fhs403j.js → tool-rms87t6p.js} +29 -29
  240. package/dist/chunks/{wellknown-1s2726j8.js → tool-s2hm79cz.js} +10 -10
  241. package/dist/chunks/{wellknown-m23nmkb4.js → tool-s7cmhz1c.js} +35 -35
  242. package/dist/chunks/{wellknown-zsjem71r.js → tool-sbshw81j.js} +26 -26
  243. package/dist/chunks/{wellknown-jwfqb58t.js → tool-smznf5zv.js} +9 -9
  244. package/dist/chunks/{wellknown-eaj1djv9.js → tool-t550f9t1.js} +8 -8
  245. package/dist/chunks/{wellknown-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{wellknown-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  247. package/dist/chunks/{wellknown-tdstcens.js → tool-tdstcens.js} +1 -1
  248. package/dist/chunks/{wellknown-ds6fr8we.js → tool-tgyrx776.js} +19 -19
  249. package/dist/chunks/{wellknown-ndya6qrf.js → tool-tjhqx05s.js} +46 -46
  250. package/dist/chunks/{wellknown-vxbt1qyf.js → tool-tpgw4r9p.js} +11 -11
  251. package/dist/chunks/{wellknown-tvtrv512.js → tool-tvtrv512.js} +1 -1
  252. package/dist/chunks/{wellknown-tx9qvpbt.js → tool-tx9qvpbt.js} +2 -2
  253. package/dist/chunks/{wellknown-v5dkyp31.js → tool-v5dkyp31.js} +1 -1
  254. package/dist/chunks/{wellknown-veqvce7d.js → tool-veqvce7d.js} +1 -1
  255. package/dist/chunks/{wellknown-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{wellknown-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{wellknown-mcndymyz.js → tool-w466msxf.js} +8 -8
  258. package/dist/chunks/{wellknown-wc1gtajg.js → tool-w6zk8pbt.js} +6 -6
  259. package/dist/chunks/{wellknown-rh2esky4.js → tool-w8dhyk9b.js} +11 -11
  260. package/dist/chunks/{wellknown-8r3d8rvc.js → tool-wadft2hn.js} +22 -22
  261. package/dist/chunks/{wellknown-wd87259q.js → tool-wd87259q.js} +1 -1
  262. package/dist/chunks/{wellknown-3jxyd7b8.js → tool-wp4wkpxj.js} +21 -21
  263. package/dist/chunks/{wellknown-xg9t41r3.js → tool-wqc6684y.js} +2 -2
  264. package/dist/chunks/{wellknown-m8f49s9b.js → tool-wrzcwb32.js} +13 -13
  265. package/dist/chunks/{wellknown-875jp0ab.js → tool-wwmkx8c8.js} +26 -26
  266. package/dist/chunks/{wellknown-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{wellknown-r08exq5n.js → tool-xgfrx0dg.js} +22 -22
  268. package/dist/chunks/{wellknown-f66vs8vk.js → tool-xk01n904.js} +8 -8
  269. package/dist/chunks/{wellknown-hmgwptan.js → tool-xvr1tfrz.js} +17 -17
  270. package/dist/chunks/{wellknown-pe8kj4am.js → tool-xwzeg4yz.js} +20 -20
  271. package/dist/chunks/{wellknown-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{wellknown-v6mp902x.js → tool-y1rf3ngb.js} +18 -18
  273. package/dist/chunks/{wellknown-dpkg50ah.js → tool-y71avatq.js} +4 -4
  274. package/dist/chunks/{wellknown-deh05xx4.js → tool-ycsy29mf.js} +19 -19
  275. package/dist/chunks/{wellknown-h4yhaw2e.js → tool-ypcyj4th.js} +18 -18
  276. package/dist/chunks/{wellknown-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{wellknown-yrznvahk.js → tool-yrznvahk.js} +2 -2
  278. package/dist/chunks/{wellknown-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{wellknown-z63w68vq.js → tool-z63w68vq.js} +2 -2
  280. package/dist/chunks/{wellknown-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{wellknown-w73e06md.js → tool-zmjtvdmj.js} +12 -12
  282. package/dist/chunks/{wellknown-sry1band.js → tool-zq6fa2xa.js} +6 -6
  283. package/dist/chunks/{wellknown-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{wellknown-fff7t2h9.js → tool-zv5xthkc.js} +11 -11
  285. package/dist/chunks/{wellknown-yerdpya6.js → tool-zvsxz435.js} +16 -16
  286. package/dist/chunks/{wellknown-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{wellknown-xjw8t61g.js → tool-zxqp5j27.js} +32 -32
  288. package/dist/chunks/{wellknown-65cnjpna.js → tool-zzd04jwc.js} +26 -26
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +80 -80
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +119 -119
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +157 -157
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +119 -119
  301. package/dist/config/plugin/image.js +117 -117
  302. package/dist/config/plugin/instruction.js +87 -87
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +128 -128
  305. package/dist/config/plugin/policy.js +116 -116
  306. package/dist/config/plugin/provider.js +115 -115
  307. package/dist/config/plugin/reference.js +119 -119
  308. package/dist/config/plugin/shell.js +120 -120
  309. package/dist/config/plugin/skill-file.js +99 -99
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +117 -117
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +119 -119
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +120 -120
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +84 -84
  321. package/dist/database/database.js +65 -65
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +363 -363
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +90 -90
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +92 -92
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +101 -101
  411. package/dist/file-mutation.js +91 -91
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +97 -97
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +100 -100
  426. package/dist/form.js +83 -83
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +84 -84
  429. package/dist/generate.js +90 -90
  430. package/dist/git.js +8 -8
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +3 -3
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +354 -354
  455. package/dist/instruction-discovery.js +82 -82
  456. package/dist/instructions/builtins.js +84 -84
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +87 -87
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-mutation.js +101 -101
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +351 -351
  467. package/dist/location.js +86 -86
  468. package/dist/mcp/client.js +88 -88
  469. package/dist/mcp/index.js +101 -101
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +87 -87
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +3 -3
  475. package/dist/model-resolver.js +87 -87
  476. package/dist/model.js +10 -10
  477. package/dist/models-dev.js +87 -87
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +79 -79
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +85 -85
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +101 -101
  488. package/dist/plugin/command.js +98 -98
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +215 -215
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +325 -325
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +76 -76
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +99 -99
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/azure.js +120 -120
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +116 -116
  507. package/dist/plugin/provider/digitalocean.js +80 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +81 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +77 -77
  516. package/dist/plugin/provider/lmstudio.js +119 -119
  517. package/dist/plugin/provider/modal.js +80 -80
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +119 -119
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +79 -79
  522. package/dist/plugin/provider/opencode.js +80 -80
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +119 -119
  532. package/dist/plugin/provider/xai.js +78 -78
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +344 -344
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +83 -83
  543. package/dist/plugin/vcs/hg.js +83 -83
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +226 -226
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +87 -87
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +96 -96
  561. package/dist/reference/instructions.js +86 -86
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +78 -78
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +83 -83
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +131 -131
  571. package/dist/session/context.js +149 -149
  572. package/dist/session/diff.js +85 -85
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +222 -222
  577. package/dist/session/execution.js +126 -126
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +89 -89
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +94 -94
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +115 -115
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +128 -128
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +102 -102
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +87 -87
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +227 -227
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +87 -87
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +112 -112
  601. package/dist/session/runner/step.js +123 -123
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +133 -133
  606. package/dist/session/skill.js +100 -100
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +84 -84
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +208 -208
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +153 -153
  614. package/dist/session/to-session-error.js +109 -109
  615. package/dist/session/transfer.js +218 -218
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +216 -216
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +15 -15
  622. package/dist/shell.js +135 -135
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +117 -117
  631. package/dist/tool/plugin/edit.js +117 -117
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +122 -122
  634. package/dist/tool/plugin/grep.js +122 -122
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +123 -123
  639. package/dist/tool/plugin/shell.js +215 -215
  640. package/dist/tool/plugin/skill.js +102 -102
  641. package/dist/tool/plugin/subagent.js +217 -217
  642. package/dist/tool/plugin/webfetch.js +107 -107
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +119 -119
  645. package/dist/tool/read-filesystem.js +98 -98
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +11 -11
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  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 +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +1 -1
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +3 -3
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +1 -1
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +2 -2
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +86 -86
  676. package/dist/websearch.js +81 -81
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +80 -80
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +6 -6
  684. package/dist/worktree/refresh.js +341 -341
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/wellknown-0mesazry.js +0 -4
  689. package/dist/chunks/wellknown-8rg17q0b.js +0 -26
  690. package/dist/chunks/wellknown-rap9a73h.js +0 -18
  691. package/dist/chunks/wellknown-w6rm0z24.js +0 -247
  692. /package/dist/chunks/{wellknown-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{wellknown-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{wellknown-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{wellknown-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{wellknown-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{wellknown-2710q6r3.js → tool-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{wellknown-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{wellknown-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{wellknown-359p4xyc.js → tool-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{wellknown-3asan66x.js → tool-3asan66x.js} +0 -0
  702. /package/dist/chunks/{wellknown-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{wellknown-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{wellknown-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{wellknown-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{wellknown-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{wellknown-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{wellknown-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{wellknown-53557ph1.js → tool-53557ph1.js} +0 -0
  710. /package/dist/chunks/{wellknown-550bvhaj.js → tool-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{wellknown-6prwharc.js → tool-6prwharc.js} +0 -0
  712. /package/dist/chunks/{wellknown-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{wellknown-7m9af43g.js → tool-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{wellknown-822emrt2.js → tool-822emrt2.js} +0 -0
  715. /package/dist/chunks/{wellknown-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{wellknown-8n3pysct.js → tool-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{wellknown-922hggd3.js → tool-922hggd3.js} +0 -0
  718. /package/dist/chunks/{wellknown-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{wellknown-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{wellknown-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{wellknown-af5trqkr.js → tool-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{wellknown-afrmfg78.js → tool-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{wellknown-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{wellknown-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{wellknown-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{wellknown-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{wellknown-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{wellknown-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{wellknown-d9fn303g.js → tool-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{wellknown-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{wellknown-dajrwvna.js → tool-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{wellknown-dap0rakb.js → tool-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{wellknown-df08tz66.js → tool-df08tz66.js} +0 -0
  734. /package/dist/chunks/{wellknown-dy18nga0.js → tool-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{wellknown-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{wellknown-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{wellknown-ec1grn59.js → tool-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{wellknown-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{wellknown-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{wellknown-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{wellknown-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{wellknown-faypxj3z.js → tool-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{wellknown-fd410y7t.js → tool-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{wellknown-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{wellknown-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{wellknown-g86h250q.js → tool-g86h250q.js} +0 -0
  747. /package/dist/chunks/{wellknown-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{wellknown-gftt206x.js → tool-gftt206x.js} +0 -0
  749. /package/dist/chunks/{wellknown-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{wellknown-hk9envan.js → tool-hk9envan.js} +0 -0
  751. /package/dist/chunks/{wellknown-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{wellknown-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{wellknown-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{wellknown-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{wellknown-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{wellknown-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{wellknown-mp448xyj.js → tool-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{wellknown-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{wellknown-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{wellknown-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{wellknown-njntx4h6.js → tool-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{wellknown-paphc93g.js → tool-paphc93g.js} +0 -0
  763. /package/dist/chunks/{wellknown-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{wellknown-q74kybfr.js → tool-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{wellknown-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{wellknown-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{wellknown-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{wellknown-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{wellknown-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{wellknown-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{wellknown-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{wellknown-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{wellknown-twg0f83k.js → tool-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{wellknown-w803qqfp.js → tool-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{wellknown-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{wellknown-wtztk69x.js → tool-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{wellknown-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{wellknown-x61499pn.js → tool-x61499pn.js} +0 -0
  779. /package/dist/chunks/{wellknown-y44na4kk.js → tool-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{wellknown-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{wellknown-y8f7s663.js → tool-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{wellknown-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{wellknown-ym463w8f.js → tool-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{wellknown-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID16,
3
- Service74
4
- } from "./wellknown-2qw1bc1t.js";
2
+ ID8,
3
+ Service62
4
+ } from "./tool-9h7qzzke.js";
5
5
  import {
6
- Service76
7
- } from "./wellknown-r61k027t.js";
6
+ Service68
7
+ } from "./tool-ad6yvafe.js";
8
8
  import {
9
- Service42
10
- } from "./wellknown-40kjh9zt.js";
9
+ Service51
10
+ } from "./tool-hz62r41k.js";
11
11
  import {
12
- Service40,
12
+ Service73,
13
13
  args2
14
- } from "./wellknown-vkyg9h5q.js";
14
+ } from "./tool-8mxe8k4b.js";
15
15
  import {
16
- Service23
17
- } from "./wellknown-6w9kmp65.js";
16
+ Service24
17
+ } from "./tool-0nbbv2dg.js";
18
18
  import {
19
- make10
20
- } from "./wellknown-gx2jmcw9.js";
19
+ make9
20
+ } from "./tool-fgg2p6ky.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./wellknown-5daktx2q.js";
23
+ } from "./tool-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./wellknown-9rqn6x4v.js";
26
+ } from "./tool-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin10
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin29
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin10 = define({
44
+ var Plugin29 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service42;
47
+ const config = yield* Service51;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin10 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service76;
57
+ const location = yield* Service68;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service40;
60
- const sessions = yield* Service23;
61
- const agents = yield* Service74;
62
- const subagents = yield* make10;
59
+ const shell = yield* Service73;
60
+ const sessions = yield* Service24;
61
+ const agents = yield* Service62;
62
+ const subagents = yield* make9;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin10 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID16.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin10, exports_command };
207
+ export { Plugin29, exports_command2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./wellknown-gftt206x.js";
3
+ } from "./tool-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -400,4 +400,4 @@ function update3(adapter, event) {
400
400
  return project(event);
401
401
  }
402
402
 
403
- export { update3, exports_message_updater };
403
+ export { update2, exports_message_updater };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info10,
12
+ Info: () => Info20,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info20 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info20, exports_mcp5 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID8,
2
+ ID13,
3
3
  Family2
4
- } from "./wellknown-614nn5w1.js";
4
+ } from "./tool-hrj7pjr8.js";
5
5
  import {
6
- Service42
7
- } from "./wellknown-40kjh9zt.js";
6
+ Service51
7
+ } from "./tool-hz62r41k.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./wellknown-9j4e7e8q.js";
10
+ } from "./tool-1c8etqjp.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service42;
39
+ const config = yield* Service51;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  catalog.model.update(providerID, item.key, (model) => {
66
- model.modelID = ID8.make(item.key);
66
+ model.modelID = ID13.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make7();
128
+ var LMStudioPlugin2 = make5();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make7, LMStudioPlugin2 };
145
+ export { make5, LMStudioPlugin2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service42
4
- } from "./wellknown-40kjh9zt.js";
3
+ Service51
4
+ } from "./tool-hz62r41k.js";
5
5
  import {
6
- Service47
7
- } from "./wellknown-f6brk7pj.js";
6
+ Service48
7
+ } from "./tool-qcprappc.js";
8
8
  import {
9
9
  observe2
10
- } from "./wellknown-qsdy395h.js";
10
+ } from "./tool-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin12
19
+ Plugin: () => Plugin43
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin12 = define({
23
+ var Plugin43 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service42;
27
- const output = yield* Service47;
26
+ const config = yield* Service51;
27
+ const output = yield* Service48;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin12 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin12, exports_tool_output };
41
+ export { Plugin43, exports_tool_output };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service44
3
- } from "./wellknown-mz243gxw.js";
2
+ Service63
3
+ } from "./tool-a4s526ga.js";
4
4
  import {
5
- Service13,
5
+ Service21,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./wellknown-j60r5zmy.js";
8
+ } from "./tool-fp7xghy5.js";
9
9
  import {
10
- Service19
11
- } from "./wellknown-e95g814e.js";
10
+ Service13
11
+ } from "./tool-rcmaerg2.js";
12
12
  import {
13
- Service71
14
- } from "./wellknown-ywq6n3vy.js";
13
+ Service59
14
+ } from "./tool-jb2vcz8q.js";
15
15
  import {
16
- Service56
17
- } from "./wellknown-h4yhaw2e.js";
16
+ Service17
17
+ } from "./tool-ypcyj4th.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./wellknown-6prwharc.js";
20
+ } from "./tool-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./wellknown-9rqn6x4v.js";
23
+ } from "./tool-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input9,
29
- Output: () => Output6,
30
- Plugin: () => Plugin42,
28
+ Input: () => Input10,
29
+ Output: () => Output7,
30
+ Plugin: () => Plugin11,
31
31
  WriteTool: () => exports_write,
32
- name: () => name9,
33
- toModelContent: () => toModelContent5
32
+ name: () => name10,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name9 = "write";
39
- var Input9 = Schema.Struct({
38
+ var name10 = "write";
39
+ var Input10 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output6 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin42 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin11 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service56;
56
- const fileMutation = yield* Service13;
57
- const environment = yield* Service44;
58
- const formatter = yield* Service19;
59
- const permission = yield* Service71;
55
+ const access = yield* Service17;
56
+ const fileMutation = yield* Service21;
57
+ const environment = yield* Service63;
58
+ const formatter = yield* Service13;
59
+ const permission = yield* Service59;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name9,
61
+ name: name10,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input9,
69
- output: Output6,
68
+ input: Input10,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name9, Input9, Output6, toModelContent5, Plugin42, exports_write };
101
+ export { name10, Input10, Output7, toModelContent4, Plugin11, exports_write };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./wellknown-qaymkmh1.js";
3
+ } from "./tool-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make6(input) {
8
+ function make8(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make6 };
264
+ export { make8 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./wellknown-qfa1cgps.js";
3
+ } from "./tool-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./wellknown-8p4f9s12.js";
6
+ } from "./tool-8p4f9s12.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
+ Service79,
4
+ node84
5
+ } from "./tool-zmjtvdmj.js";
6
+ import {
3
7
  Service78,
4
8
  node83
5
- } from "./wellknown-w73e06md.js";
6
- import {
7
- Service70,
8
- node75
9
- } from "./wellknown-ny23mpww.js";
9
+ } from "./tool-7m06xexa.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event13,
19
+ Event: () => Event11,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service54,
22
+ Service: () => Service55,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node60,
26
- resolve: () => resolve3
25
+ node: () => node58,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service54 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service55 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event13 = {
51
+ var Event11 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service54, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service70;
81
- const bus = yield* Service78;
80
+ const kv = yield* Service78;
81
+ const bus = yield* Service79;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event13.Updated, {});
112
+ yield* bus.publish(Event11.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service54.of({
115
+ return Service55.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event13.Updated, {});
128
+ yield* bus.publish(Event11.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event13.Updated, {});
141
+ yield* bus.publish(Event11.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node60 = makeGlobalNode({ service: Service54, layer, deps: [httpClient, node75, node83] });
146
+ var node58 = makeGlobalNode({ service: Service55, layer, deps: [httpClient, node83, node84] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service54, Event13, inspect2, resolve3, node60, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service55, Event11, inspect2, resolve2, node58, exports_wellknown };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service62
3
- } from "./wellknown-eyt4k3kj.js";
2
+ Service56
3
+ } from "./tool-jmk5eqxp.js";
4
4
  import {
5
- Service23
6
- } from "./wellknown-6w9kmp65.js";
5
+ Service24
6
+ } from "./tool-0nbbv2dg.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./wellknown-x1ezjp6w.js";
10
+ } from "./tool-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make10
19
+ make: () => make9
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service23;
24
- const jobs = yield* Service62;
22
+ var make9 = Effect.gen(function* () {
23
+ const sessions = yield* Service24;
24
+ const jobs = yield* Service56;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make10, exports_subagent_job };
61
+ export { make9, exports_subagent_job };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./wellknown-dpkg50ah.js";
3
+ } from "./tool-y71avatq.js";
4
4
  import {
5
- Service44,
6
- node49
7
- } from "./wellknown-mz243gxw.js";
5
+ Service63,
6
+ node66
7
+ } from "./tool-a4s526ga.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service13,
17
- node: () => node16,
16
+ Service: () => Service21,
17
+ node: () => node25,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service13 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service21 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service13, Effect.gen(function* () {
38
- const environment = yield* Service44;
37
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
38
+ const environment = yield* Service63;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service13.of({ withLock, write, writeTextPreservingBom });
59
+ return Service21.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node16 = makeLocationNode({ service: Service13, layer, deps: [node49] });
61
+ var node25 = makeLocationNode({ service: Service21, layer, deps: [node66] });
62
62
 
63
- export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
63
+ export { Service21, readText2, syncTextBom2, node25, exports_file_mutation };