@opencode/core 0.0.0-dev-19395 → 0.0.0-dev-19399

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +71 -71
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{vcs-zad871sr.js → file-retention-00mqm9kf.js} +1 -1
  9. package/dist/chunks/{vcs-fz7dfd1z.js → file-retention-0c7cgf78.js} +15 -15
  10. package/dist/chunks/{vcs-xgjyy6vg.js → file-retention-0hrcbwcb.js} +5 -5
  11. package/dist/chunks/{vcs-hx1qbxx1.js → file-retention-0ngeez3a.js} +10 -10
  12. package/dist/chunks/{vcs-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{vcs-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{vcs-a8w3hdn7.js → file-retention-0t7z760j.js} +46 -46
  15. package/dist/chunks/{vcs-xf2jv3bw.js → file-retention-119b7byg.js} +4 -4
  16. package/dist/chunks/{vcs-jn9204f0.js → file-retention-134j3eet.js} +7 -7
  17. package/dist/chunks/{vcs-9bmf6k32.js → file-retention-1827chwd.js} +20 -20
  18. package/dist/chunks/{vcs-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{vcs-7whssrnc.js → file-retention-1e9w7pgh.js} +3 -3
  20. package/dist/chunks/{vcs-1eyaby9q.js → file-retention-1eyaby9q.js} +2 -2
  21. package/dist/chunks/{vcs-mmpwdc4q.js → file-retention-1k2tnacp.js} +11 -11
  22. package/dist/chunks/file-retention-1tmdjs9t.js +462 -0
  23. package/dist/chunks/{vcs-21r38tys.js → file-retention-21r38tys.js} +1 -1
  24. package/dist/chunks/{vcs-t55ej7gz.js → file-retention-21ryf78v.js} +21 -21
  25. package/dist/chunks/{vcs-nd6113q8.js → file-retention-28135z1y.js} +31 -31
  26. package/dist/chunks/{vcs-xwztew67.js → file-retention-28wz5byj.js} +23 -23
  27. package/dist/chunks/{vcs-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{vcs-9n8fbr8d.js → file-retention-2ccb660r.js} +28 -28
  29. package/dist/chunks/{vcs-q9j8w608.js → file-retention-2f9a9pt2.js} +7 -7
  30. package/dist/chunks/{vcs-c5db1mkp.js → file-retention-2sc17e8p.js} +22 -22
  31. package/dist/chunks/{vcs-344p1nha.js → file-retention-2xd4yy55.js} +18 -18
  32. package/dist/chunks/{vcs-6hxy2spn.js → file-retention-2xdev6fn.js} +18 -18
  33. package/dist/chunks/{vcs-6e42fpps.js → file-retention-2zw7ecjk.js} +11 -11
  34. package/dist/chunks/{vcs-v8fmfjc0.js → file-retention-3473k6gv.js} +41 -41
  35. package/dist/chunks/{vcs-0xjckwsk.js → file-retention-3bs74w5s.js} +11 -11
  36. package/dist/chunks/{vcs-2syw43ez.js → file-retention-3fqa324q.js} +17 -17
  37. package/dist/chunks/{vcs-dvha2n0q.js → file-retention-3gfm5d6h.js} +41 -41
  38. package/dist/chunks/{vcs-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{vcs-whd1ca54.js → file-retention-3n0zfn8x.js} +30 -30
  40. package/dist/chunks/{vcs-49w8mb30.js → file-retention-3pbjq009.js} +11 -11
  41. package/dist/chunks/{vcs-r8jh6khz.js → file-retention-3q5jhvr0.js} +13 -13
  42. package/dist/chunks/{vcs-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{vcs-qjnn74v4.js → file-retention-3szmpfme.js} +9 -9
  44. package/dist/chunks/{vcs-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{vcs-fpmq6gma.js → file-retention-3w0fmcng.js} +5 -5
  46. package/dist/chunks/{vcs-t5kxb07c.js → file-retention-3xgpxwfp.js} +36 -36
  47. package/dist/chunks/{vcs-vxqb7ghs.js → file-retention-3zqhk2eq.js} +23 -23
  48. package/dist/chunks/{vcs-z1pfg6df.js → file-retention-4066mr2m.js} +1 -1
  49. package/dist/chunks/{vcs-zgdqzk0q.js → file-retention-42932dp7.js} +30 -30
  50. package/dist/chunks/{vcs-9y8v17r0.js → file-retention-45jzk59f.js} +34 -34
  51. package/dist/chunks/{vcs-11tcp5y8.js → file-retention-46x4mgr1.js} +4 -4
  52. package/dist/chunks/{vcs-hjt4xg1x.js → file-retention-47gsdddb.js} +7 -7
  53. package/dist/chunks/{vcs-61hb1ky7.js → file-retention-48dytv8w.js} +9 -9
  54. package/dist/chunks/{vcs-yxmjadg6.js → file-retention-49cgsf1b.js} +8 -8
  55. package/dist/chunks/{vcs-g89yqc5t.js → file-retention-4a5dcn9p.js} +8 -8
  56. package/dist/chunks/{vcs-2skxfxks.js → file-retention-4b4nd6ae.js} +29 -29
  57. package/dist/chunks/{vcs-56y38jfj.js → file-retention-4t6k5kna.js} +6 -6
  58. package/dist/chunks/file-retention-5ame8c7x.js +247 -0
  59. package/dist/chunks/{vcs-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  60. package/dist/chunks/{vcs-y7qr3th8.js → file-retention-5rg25712.js} +4 -4
  61. package/dist/chunks/{vcs-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{vcs-1tj8392q.js → file-retention-5we933ec.js} +16 -16
  63. package/dist/chunks/{vcs-q1668d7a.js → file-retention-5yes1xn6.js} +64 -64
  64. package/dist/chunks/{vcs-9vp0n2tv.js → file-retention-64fks2yw.js} +7 -7
  65. package/dist/chunks/{vcs-saj784mb.js → file-retention-64jggb9x.js} +17 -17
  66. package/dist/chunks/{vcs-yvgq7aaq.js → file-retention-668fh7ad.js} +11 -11
  67. package/dist/chunks/{vcs-669tq793.js → file-retention-669tq793.js} +1 -1
  68. package/dist/chunks/{vcs-zhxtcv69.js → file-retention-68q29sss.js} +6 -6
  69. package/dist/chunks/{vcs-2402vzrj.js → file-retention-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{vcs-xekzrwwc.js → file-retention-6jnybvqn.js} +9 -9
  71. package/dist/chunks/{vcs-42kdhqse.js → file-retention-6jpkznw2.js} +3 -3
  72. package/dist/chunks/{vcs-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{vcs-qae1j65a.js → file-retention-6pn6hsyv.js} +43 -43
  74. package/dist/chunks/{vcs-vd7hjsen.js → file-retention-6q28cnrn.js} +21 -21
  75. package/dist/chunks/{vcs-y2wxp8w3.js → file-retention-6q7bn63r.js} +11 -11
  76. package/dist/chunks/{vcs-c0cn7p0d.js → file-retention-6z5pzs7n.js} +22 -22
  77. package/dist/chunks/{vcs-zemh05ww.js → file-retention-6zb5z6tv.js} +50 -50
  78. package/dist/chunks/{vcs-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
  79. package/dist/chunks/{vcs-73tb2d7t.js → file-retention-73tb2d7t.js} +1 -1
  80. package/dist/chunks/{vcs-q2027nw7.js → file-retention-79r1wrqa.js} +1 -1
  81. package/dist/chunks/{vcs-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{vcs-b7v6em5m.js → file-retention-7cgw87zy.js} +28 -28
  83. package/dist/chunks/{vcs-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
  84. package/dist/chunks/{vcs-9c53s05g.js → file-retention-7qf46qjz.js} +18 -18
  85. package/dist/chunks/{vcs-7dpj1ap7.js → file-retention-7wqh3n39.js} +8 -8
  86. package/dist/chunks/{vcs-2r3j351s.js → file-retention-80kybxvs.js} +29 -29
  87. package/dist/chunks/{vcs-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{vcs-yvevv6gs.js → file-retention-8d7y8amr.js} +8 -8
  89. package/dist/chunks/{vcs-zw18ytwa.js → file-retention-8fyn7nbd.js} +16 -16
  90. package/dist/chunks/{vcs-p2b45462.js → file-retention-8g9sv97x.js} +25 -25
  91. package/dist/chunks/{vcs-r7nsrefv.js → file-retention-8hbfdwcy.js} +8 -8
  92. package/dist/chunks/{vcs-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{vcs-y8r358t9.js → file-retention-8xy1c3m6.js} +34 -34
  94. package/dist/chunks/{vcs-dkxyp88y.js → file-retention-8zpsgj2b.js} +12 -12
  95. package/dist/chunks/{vcs-wj2xme94.js → file-retention-92fdtcd2.js} +19 -19
  96. package/dist/chunks/{vcs-tcwy5cxa.js → file-retention-93nrt0m8.js} +18 -18
  97. package/dist/chunks/{vcs-zr0gh2ck.js → file-retention-9ea8tgpj.js} +7 -7
  98. package/dist/chunks/{vcs-6a0dvt1c.js → file-retention-9j3xz1zz.js} +26 -26
  99. package/dist/chunks/{vcs-rsym84ch.js → file-retention-9pv0dm11.js} +5 -5
  100. package/dist/chunks/{vcs-fb8ft78w.js → file-retention-9w51vf9e.js} +13 -13
  101. package/dist/chunks/{vcs-2314za0f.js → file-retention-9y2tr22s.js} +17 -17
  102. package/dist/chunks/{vcs-x5qh4ear.js → file-retention-9zswys26.js} +9 -9
  103. package/dist/chunks/{vcs-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{vcs-cb6xbnd9.js → file-retention-a5axy371.js} +2 -2
  105. package/dist/chunks/{vcs-8e9n6h7v.js → file-retention-a9x5dmer.js} +40 -40
  106. package/dist/chunks/{vcs-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  107. package/dist/chunks/{vcs-n223nzpv.js → file-retention-as0z8btd.js} +19 -19
  108. package/dist/chunks/{vcs-2hyh68ab.js → file-retention-asmz7wyz.js} +8 -8
  109. package/dist/chunks/{vcs-9f01nfyh.js → file-retention-avhah0e4.js} +33 -33
  110. package/dist/chunks/{vcs-xdmmnt8a.js → file-retention-azbeba8p.js} +19 -19
  111. package/dist/chunks/{vcs-zqjyx7nf.js → file-retention-b40gkt47.js} +3 -3
  112. package/dist/chunks/{vcs-7rh6a6ws.js → file-retention-b527npp7.js} +3 -3
  113. package/dist/chunks/{vcs-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{vcs-7j156qnj.js → file-retention-b9qrp43n.js} +7 -7
  115. package/dist/chunks/{vcs-szgy4byf.js → file-retention-bha4atvq.js} +4 -4
  116. package/dist/chunks/{vcs-s9t88532.js → file-retention-bjgxqrgx.js} +20 -20
  117. package/dist/chunks/{vcs-zwtw7q3h.js → file-retention-bkew1va1.js} +21 -21
  118. package/dist/chunks/{vcs-hpsfqm6t.js → file-retention-bq1qrpc4.js} +33 -33
  119. package/dist/chunks/{vcs-xenp1w2e.js → file-retention-bqe02a37.js} +24 -24
  120. package/dist/chunks/{vcs-t1mpdz97.js → file-retention-bs9f176v.js} +23 -23
  121. package/dist/chunks/{vcs-0q8bjg63.js → file-retention-c3703spx.js} +17 -17
  122. package/dist/chunks/{vcs-e8ge1rnk.js → file-retention-c3kepfq8.js} +1 -1
  123. package/dist/chunks/{vcs-sn3frxay.js → file-retention-c89xx54h.js} +21 -21
  124. package/dist/chunks/{vcs-38adaqc0.js → file-retention-ce5fknq2.js} +5 -5
  125. package/dist/chunks/{vcs-n0z3pqra.js → file-retention-cffkaee3.js} +16 -16
  126. package/dist/chunks/{vcs-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
  127. package/dist/chunks/{vcs-97yt6tz7.js → file-retention-cqbh4pdx.js} +9 -9
  128. package/dist/chunks/{vcs-ncde1vfm.js → file-retention-crejgqmn.js} +29 -29
  129. package/dist/chunks/{vcs-322cebek.js → file-retention-ct6nrw4p.js} +22 -22
  130. package/dist/chunks/{vcs-sez905kk.js → file-retention-cvktwkpw.js} +13 -13
  131. package/dist/chunks/{vcs-bm0fk12v.js → file-retention-cyhq2t1m.js} +6 -6
  132. package/dist/chunks/{vcs-b5x0fzgx.js → file-retention-czg3njfj.js} +5 -5
  133. package/dist/chunks/{vcs-2bdr22tc.js → file-retention-d6cvva1z.js} +11 -11
  134. package/dist/chunks/{vcs-xnqpewkq.js → file-retention-d892y9cf.js} +19 -19
  135. package/dist/chunks/{vcs-tregh9zc.js → file-retention-d9sn21bc.js} +2 -2
  136. package/dist/chunks/{vcs-0xawnack.js → file-retention-dafzyq9v.js} +9 -9
  137. package/dist/chunks/{vcs-p85zvgpp.js → file-retention-dagpktc6.js} +19 -19
  138. package/dist/chunks/{vcs-7f3sjtrh.js → file-retention-dcj77ap2.js} +1 -1
  139. package/dist/chunks/{vcs-y11s4dzy.js → file-retention-dezkjabv.js} +47 -47
  140. package/dist/chunks/{vcs-dbnmvbfz.js → file-retention-dh5w6jnr.js} +17 -17
  141. package/dist/chunks/{vcs-9d5kbc3f.js → file-retention-dqw4nh5k.js} +13 -13
  142. package/dist/chunks/{vcs-18e56dsp.js → file-retention-dy6apmh8.js} +4 -4
  143. package/dist/chunks/{vcs-ny7d19mm.js → file-retention-dycay7z3.js} +11 -11
  144. package/dist/chunks/{vcs-t550f9t1.js → file-retention-eaj1djv9.js} +8 -8
  145. package/dist/chunks/{vcs-ejan8dcj.js → file-retention-eaymd3ha.js} +31 -31
  146. package/dist/chunks/{vcs-r345bmqf.js → file-retention-epk4gxbx.js} +8 -8
  147. package/dist/chunks/{vcs-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{vcs-293305v0.js → file-retention-f20n632k.js} +1 -1
  149. package/dist/chunks/{vcs-jm4wzrpc.js → file-retention-f26rrdg0.js} +18 -18
  150. package/dist/chunks/{vcs-t51qk8jz.js → file-retention-f3ngv102.js} +21 -21
  151. package/dist/chunks/{vcs-f828m53h.js → file-retention-f828m53h.js} +2 -2
  152. package/dist/chunks/{vcs-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{vcs-q0a87n6s.js → file-retention-fzbpccza.js} +157 -157
  154. package/dist/chunks/{vcs-a8pwa1qy.js → file-retention-gb71afdr.js} +7 -7
  155. package/dist/chunks/{vcs-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{vcs-3fc6dm20.js → file-retention-gdvy8fx6.js} +4 -4
  157. package/dist/chunks/{vcs-ekf56pyh.js → file-retention-gq3znaq8.js} +6 -6
  158. package/dist/chunks/{vcs-xbxfp9fr.js → file-retention-gv5ht3x9.js} +20 -20
  159. package/dist/chunks/{vcs-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{vcs-tnw3z0r3.js → file-retention-gw4m2xfm.js} +9 -9
  161. package/dist/chunks/{vcs-39etbsth.js → file-retention-gzdzd9hw.js} +5 -3
  162. package/dist/chunks/{vcs-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
  163. package/dist/chunks/{vcs-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{vcs-8025tcnx.js → file-retention-h6w9c8ra.js} +10 -10
  165. package/dist/chunks/{vcs-6n9s5ar1.js → file-retention-h85c66kh.js} +24 -24
  166. package/dist/chunks/{vcs-dvfmgnty.js → file-retention-hd0nvtm3.js} +86 -86
  167. package/dist/chunks/{vcs-hcz3zddy.js → file-retention-hnr5yq9h.js} +5 -5
  168. package/dist/chunks/{vcs-asn1qnte.js → file-retention-hwe7x4em.js} +6 -6
  169. package/dist/chunks/{vcs-m32k5ewn.js → file-retention-hxsmq6gn.js} +9 -9
  170. package/dist/chunks/{vcs-3v6f0sxy.js → file-retention-hzbc4891.js} +11 -11
  171. package/dist/chunks/{vcs-724n6vts.js → file-retention-j0bxb4ah.js} +3 -3
  172. package/dist/chunks/{vcs-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  173. package/dist/chunks/{vcs-7wdjtyr9.js → file-retention-j7wq2tw5.js} +3 -3
  174. package/dist/chunks/{vcs-5trk58xb.js → file-retention-jdh6s7jq.js} +8 -8
  175. package/dist/chunks/{vcs-806j49yq.js → file-retention-jfqtm2ew.js} +4 -4
  176. package/dist/chunks/{vcs-dyan1gdj.js → file-retention-jgn25pc6.js} +13 -13
  177. package/dist/chunks/file-retention-jqh9b0xq.js +18 -0
  178. package/dist/chunks/{vcs-jc4dg6w1.js → file-retention-jwd32b9n.js} +28 -28
  179. package/dist/chunks/{vcs-0j7ejgpp.js → file-retention-kdde0hy3.js} +31 -31
  180. package/dist/chunks/{vcs-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
  181. package/dist/chunks/{vcs-cny5rd43.js → file-retention-kh9sx4kg.js} +8 -8
  182. package/dist/chunks/{vcs-ejnvpq0e.js → file-retention-khze3a3k.js} +23 -23
  183. package/dist/chunks/{vcs-g5zf0djh.js → file-retention-kmv022h3.js} +1 -1
  184. package/dist/chunks/{vcs-whkfspvt.js → file-retention-kpxhgmm5.js} +9 -9
  185. package/dist/chunks/{vcs-javtnfvt.js → file-retention-kvx48ts1.js} +4 -4
  186. package/dist/chunks/{vcs-9qewa294.js → file-retention-kyk1sghh.js} +4 -4
  187. package/dist/chunks/{vcs-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{vcs-p0xz0qw3.js → file-retention-mfqd8mcm.js} +58 -58
  189. package/dist/chunks/{vcs-56gdpj1q.js → file-retention-mfqp6xfm.js} +6 -6
  190. package/dist/chunks/{vcs-42af65r7.js → file-retention-mggny1x7.js} +11 -11
  191. package/dist/chunks/{vcs-3gja20hk.js → file-retention-mjbqgqxy.js} +22 -22
  192. package/dist/chunks/{vcs-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
  193. package/dist/chunks/{vcs-pbrn5f3v.js → file-retention-mtbzr4rz.js} +22 -22
  194. package/dist/chunks/{vcs-zbj8enqw.js → file-retention-n0d0h331.js} +14 -14
  195. package/dist/chunks/{vcs-qaqx0ctg.js → file-retention-n5er4yqr.js} +5 -5
  196. package/dist/chunks/{vcs-5bqf1j7p.js → file-retention-n5mjs6e9.js} +12 -12
  197. package/dist/chunks/{vcs-qq8x5mwt.js → file-retention-n8c291r7.js} +4 -4
  198. package/dist/chunks/{vcs-42sz070e.js → file-retention-nqs1mevv.js} +13 -13
  199. package/dist/chunks/{vcs-f2mnfn4e.js → file-retention-nywecryx.js} +24 -24
  200. package/dist/chunks/{vcs-0j2ryfn1.js → file-retention-p3ev5vff.js} +15 -15
  201. package/dist/chunks/{vcs-j935v87r.js → file-retention-paphc93g.js} +2 -2
  202. package/dist/chunks/{vcs-b72zs1k5.js → file-retention-pfn03z7w.js} +15 -15
  203. package/dist/chunks/{vcs-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{vcs-pknna89w.js → file-retention-pknna89w.js} +1 -1
  205. package/dist/chunks/{vcs-tsrg9y4k.js → file-retention-q0bhfncr.js} +11 -11
  206. package/dist/chunks/{vcs-cwxby6pr.js → file-retention-q2t36530.js} +9 -9
  207. package/dist/chunks/{vcs-td6dvqbq.js → file-retention-q3tktawz.js} +23 -23
  208. package/dist/chunks/{vcs-xvaxs8h7.js → file-retention-q6c7we53.js} +25 -25
  209. package/dist/chunks/{vcs-ywhnyrnh.js → file-retention-qcfsefxz.js} +5 -5
  210. package/dist/chunks/{vcs-2d57kztd.js → file-retention-qqtwvk4z.js} +4 -4
  211. package/dist/chunks/{vcs-j61fmw0q.js → file-retention-qr8hg4qd.js} +39 -39
  212. package/dist/chunks/{vcs-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  213. package/dist/chunks/{vcs-hf061nqs.js → file-retention-qtkc3jn9.js} +30 -30
  214. package/dist/chunks/{vcs-a81jtvwz.js → file-retention-qwkytnft.js} +9 -9
  215. package/dist/chunks/{vcs-e2b6ma0f.js → file-retention-qyc89c7d.js} +16 -16
  216. package/dist/chunks/{vcs-0z1gmn2q.js → file-retention-r920brwh.js} +6 -6
  217. package/dist/chunks/{vcs-3jp54z3r.js → file-retention-rfnzy394.js} +1 -1
  218. package/dist/chunks/{vcs-2mnagb0e.js → file-retention-rz0qknjf.js} +5 -5
  219. package/dist/chunks/{vcs-2jscqjee.js → file-retention-s62ct2st.js} +23 -23
  220. package/dist/chunks/{vcs-g4q3msrz.js → file-retention-s6t0rwsm.js} +43 -43
  221. package/dist/chunks/{vcs-c90y15gp.js → file-retention-sb3f9prf.js} +27 -27
  222. package/dist/chunks/{vcs-vxwhkv8n.js → file-retention-sbbkemrk.js} +58 -58
  223. package/dist/chunks/{vcs-p7x6y357.js → file-retention-sgvet7nx.js} +32 -32
  224. package/dist/chunks/{vcs-p84dsdfh.js → file-retention-sgwh5nyn.js} +8 -8
  225. package/dist/chunks/{vcs-y4dgkp79.js → file-retention-sr2tjpn6.js} +4 -4
  226. package/dist/chunks/{vcs-d2aac7k2.js → file-retention-sra9araw.js} +5 -5
  227. package/dist/chunks/{vcs-az46815d.js → file-retention-sxjpata1.js} +11 -11
  228. package/dist/chunks/{vcs-3pjbzg35.js → file-retention-sxpd662g.js} +24 -24
  229. package/dist/chunks/{vcs-gc97qf6g.js → file-retention-sxvk7k3m.js} +14 -14
  230. package/dist/chunks/{vcs-3ac5ktn8.js → file-retention-t24p7ex1.js} +6 -6
  231. package/dist/chunks/{vcs-za6src2z.js → file-retention-t399q2xj.js} +14 -14
  232. package/dist/chunks/{vcs-7tnykybm.js → file-retention-t58cf551.js} +84 -84
  233. package/dist/chunks/{vcs-pgvfezyn.js → file-retention-t5e54489.js} +24 -24
  234. package/dist/chunks/{vcs-jfpzywp2.js → file-retention-t69nnh3p.js} +8 -8
  235. package/dist/chunks/{vcs-fktegx2y.js → file-retention-t8scngtx.js} +9 -9
  236. package/dist/chunks/{vcs-yx42xrh5.js → file-retention-t93xqn98.js} +20 -20
  237. package/dist/chunks/{vcs-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{vcs-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{vcs-tdstcens.js → file-retention-tdstcens.js} +1 -1
  240. package/dist/chunks/{vcs-dn8d2kn3.js → file-retention-tng3m0ce.js} +14 -14
  241. package/dist/chunks/{vcs-g4fhj9j9.js → file-retention-tnhmpjvz.js} +3 -3
  242. package/dist/chunks/{vcs-7nhg9xj1.js → file-retention-tqn298vm.js} +25 -8
  243. package/dist/chunks/{vcs-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  244. package/dist/chunks/{vcs-t0x5rdq8.js → file-retention-twy35tz0.js} +9 -9
  245. package/dist/chunks/{vcs-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  246. package/dist/chunks/{vcs-xwd9pbjm.js → file-retention-vmb5wq5w.js} +17 -17
  247. package/dist/chunks/file-retention-vmv0g9k6.js +22 -0
  248. package/dist/chunks/{vcs-qq11w61w.js → file-retention-vncycja5.js} +4 -4
  249. package/dist/chunks/{vcs-na7956ft.js → file-retention-vx5ha92z.js} +20 -20
  250. package/dist/chunks/{vcs-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{vcs-csf2jhsg.js → file-retention-w1k39n5e.js} +4 -4
  252. package/dist/chunks/{vcs-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{vcs-ccts7nrv.js → file-retention-w620p5yr.js} +13 -13
  254. package/dist/chunks/{vcs-bv56xrks.js → file-retention-wa9n8nyq.js} +4 -4
  255. package/dist/chunks/{vcs-wd87259q.js → file-retention-wd87259q.js} +1 -1
  256. package/dist/chunks/{vcs-231222c6.js → file-retention-wgczap0h.js} +4 -4
  257. package/dist/chunks/{vcs-4peq52f2.js → file-retention-wk8t53d4.js} +10 -10
  258. package/dist/chunks/{vcs-ryrzn0hq.js → file-retention-wsp1wrmp.js} +22 -22
  259. package/dist/chunks/{vcs-4x8h2e2v.js → file-retention-wvcagc7b.js} +8 -8
  260. package/dist/chunks/{vcs-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{vcs-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
  262. package/dist/chunks/{vcs-f6t691bq.js → file-retention-xen8hk45.js} +34 -34
  263. package/dist/chunks/{vcs-ktpjzrp6.js → file-retention-xfk4x188.js} +32 -32
  264. package/dist/chunks/{vcs-hsndfndq.js → file-retention-xfr3vftw.js} +30 -30
  265. package/dist/chunks/{vcs-s1tsa559.js → file-retention-xn49a5qb.js} +28 -28
  266. package/dist/chunks/{vcs-h5bkeg2y.js → file-retention-xwy71eq2.js} +12 -12
  267. package/dist/chunks/{vcs-kmzfa87h.js → file-retention-y0sfg4mt.js} +11 -11
  268. package/dist/chunks/{vcs-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{vcs-jwcy2c2z.js → file-retention-y71avatq.js} +4 -4
  270. package/dist/chunks/{vcs-0nkq71gm.js → file-retention-y7vx5bzy.js} +8 -8
  271. package/dist/chunks/{vcs-67j1j2dm.js → file-retention-yc76z00v.js} +39 -39
  272. package/dist/chunks/{vcs-z1ehnq90.js → file-retention-yfw68w0d.js} +2 -2
  273. package/dist/chunks/{vcs-xpapdg7w.js → file-retention-yj7xg7hy.js} +12 -12
  274. package/dist/chunks/{vcs-a2wdfrx5.js → file-retention-ymqytbem.js} +12 -12
  275. package/dist/chunks/{vcs-yp2x3t23.js → file-retention-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{vcs-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{vcs-s4enseaf.js → file-retention-yrznvahk.js} +2 -2
  278. package/dist/chunks/{vcs-2gfstk4p.js → file-retention-ys9khkza.js} +4 -4
  279. package/dist/chunks/{vcs-ae723g5c.js → file-retention-ywc1rzzj.js} +14 -14
  280. package/dist/chunks/{vcs-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{vcs-29x78va6.js → file-retention-z63w68vq.js} +6 -6
  282. package/dist/chunks/{vcs-br0bxb5z.js → file-retention-z7xj2rat.js} +4 -28
  283. package/dist/chunks/{vcs-m70sbz6t.js → file-retention-zcrspsvn.js} +4 -4
  284. package/dist/chunks/{vcs-hfjfxhhs.js → file-retention-zds35jxt.js} +22 -22
  285. package/dist/chunks/{vcs-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{vcs-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{vcs-9cmt1x0q.js → file-retention-zv9rb9jf.js} +7 -7
  288. package/dist/chunks/{vcs-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +77 -77
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +114 -114
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +100 -100
  425. package/dist/form.js +78 -78
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +89 -89
  429. package/dist/git.js +3 -3
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +78 -78
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +82 -82
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +76 -76
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +80 -80
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +82 -82
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +3 -5
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  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 +80 -80
  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 +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +115 -115
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +72 -72
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +341 -341
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +216 -216
  553. package/dist/project/schema.js +4 -4
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +75 -75
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +88 -88
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  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 +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +127 -127
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +218 -218
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +84 -84
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +111 -111
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +223 -223
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +147 -147
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +215 -215
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +213 -213
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +82 -82
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +119 -119
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +107 -107
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +15 -15
  648. package/dist/types/plugin/provider/amazon-bedrock.d.ts +0 -1
  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 +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  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 +3 -3
  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 +7 -7
  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 +4 -4
  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 +85 -85
  676. package/dist/websearch.js +78 -78
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +7 -7
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +5 -5
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +87 -87
  687. package/package.json +8 -8
  688. package/dist/chunks/vcs-4qn8k3dd.js +0 -22
  689. package/dist/chunks/vcs-bp3y7pxe.js +0 -462
  690. package/dist/chunks/vcs-dxj72tfx.js +0 -18
  691. package/dist/chunks/vcs-fjywsyk5.js +0 -247
  692. /package/dist/chunks/{vcs-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{vcs-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{vcs-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{vcs-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{vcs-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{vcs-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{vcs-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{vcs-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{vcs-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{vcs-3asan66x.js → file-retention-3asan66x.js} +0 -0
  702. /package/dist/chunks/{vcs-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{vcs-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{vcs-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{vcs-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{vcs-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{vcs-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{vcs-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{vcs-53557ph1.js → file-retention-53557ph1.js} +0 -0
  710. /package/dist/chunks/{vcs-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{vcs-6prwharc.js → file-retention-6prwharc.js} +0 -0
  712. /package/dist/chunks/{vcs-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{vcs-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{vcs-822emrt2.js → file-retention-822emrt2.js} +0 -0
  715. /package/dist/chunks/{vcs-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{vcs-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{vcs-922hggd3.js → file-retention-922hggd3.js} +0 -0
  718. /package/dist/chunks/{vcs-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{vcs-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{vcs-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{vcs-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{vcs-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{vcs-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{vcs-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{vcs-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{vcs-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{vcs-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{vcs-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{vcs-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{vcs-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{vcs-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{vcs-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{vcs-df08tz66.js → file-retention-df08tz66.js} +0 -0
  734. /package/dist/chunks/{vcs-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{vcs-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{vcs-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{vcs-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{vcs-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{vcs-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{vcs-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{vcs-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{vcs-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{vcs-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{vcs-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{vcs-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{vcs-g86h250q.js → file-retention-g86h250q.js} +0 -0
  747. /package/dist/chunks/{vcs-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{vcs-gftt206x.js → file-retention-gftt206x.js} +0 -0
  749. /package/dist/chunks/{vcs-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{vcs-hk9envan.js → file-retention-hk9envan.js} +0 -0
  751. /package/dist/chunks/{vcs-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{vcs-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{vcs-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{vcs-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{vcs-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{vcs-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{vcs-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{vcs-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{vcs-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{vcs-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{vcs-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{vcs-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{vcs-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{vcs-qapv375x.js → file-retention-qapv375x.js} +0 -0
  765. /package/dist/chunks/{vcs-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{vcs-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{vcs-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{vcs-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{vcs-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{vcs-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{vcs-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{vcs-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{vcs-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{vcs-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{vcs-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{vcs-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{vcs-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{vcs-x61499pn.js → file-retention-x61499pn.js} +0 -0
  779. /package/dist/chunks/{vcs-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{vcs-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{vcs-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{vcs-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{vcs-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service51
3
- } from "./vcs-p0xz0qw3.js";
2
+ Service71
3
+ } from "./file-retention-mfqd8mcm.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./vcs-4vcrnpx2.js";
7
+ } from "./file-retention-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./vcs-3v8g72cx.js";
10
+ } from "./file-retention-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input5,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input10,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin22,
22
+ Plugin: () => Plugin41,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name5
27
+ name: () => name10
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name5 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name10 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input5 = Schema.Struct({
41
+ var Input10 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input5.fields.format,
51
+ format: Input10.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin22 = {
95
+ var Plugin41 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service51;
99
+ const permission = yield* Service71;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name5,
101
+ name: name10,
102
102
  options: { codemode: false },
103
- description: description3,
104
- input: Input5,
103
+ description: description4,
104
+ input: Input10,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin22 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name5,
112
+ action: name10,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name5, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin22, extractTextFromHTML2, exports_webfetch };
170
+ export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin41, extractTextFromHTML2, exports_webfetch };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service66
7
- } from "./vcs-dvha2n0q.js";
6
+ Service62
7
+ } from "./file-retention-3gfm5d6h.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./vcs-2a5m3afh.js";
10
+ } from "./file-retention-2a5m3afh.js";
11
11
  import {
12
- Service72
13
- } from "./vcs-t55ej7gz.js";
12
+ Service57
13
+ } from "./file-retention-21ryf78v.js";
14
14
  import {
15
- Service78
16
- } from "./vcs-saj784mb.js";
15
+ Service61
16
+ } from "./file-retention-64jggb9x.js";
17
17
  import {
18
- Service51
19
- } from "./vcs-p0xz0qw3.js";
18
+ Service71
19
+ } from "./file-retention-mfqd8mcm.js";
20
20
  import {
21
- Service50,
21
+ Service26,
22
22
  resolvePath2
23
- } from "./vcs-fz7dfd1z.js";
23
+ } from "./file-retention-0c7cgf78.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./vcs-fxbjtjnd.js";
29
+ } from "./file-retention-fxbjtjnd.js";
30
30
  import {
31
- Service70,
31
+ Service56,
32
32
  name15
33
- } from "./vcs-wj2xme94.js";
33
+ } from "./file-retention-92fdtcd2.js";
34
34
  import {
35
- NotFoundError9,
36
- Service63
37
- } from "./vcs-y11s4dzy.js";
35
+ NotFoundError5,
36
+ Service48
37
+ } from "./file-retention-dezkjabv.js";
38
38
  import {
39
- Service20
40
- } from "./vcs-dvfmgnty.js";
39
+ Service27
40
+ } from "./file-retention-hd0nvtm3.js";
41
41
  import {
42
42
  scan2
43
- } from "./vcs-y4dgkp79.js";
43
+ } from "./file-retention-sr2tjpn6.js";
44
44
  import {
45
45
  __export
46
- } from "./vcs-9rqn6x4v.js";
46
+ } from "./file-retention-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input12,
53
- Plugin: () => Plugin30,
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin33,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name12
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name12 = "shell";
59
+ var name3 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input12 = Schema.Struct({
73
+ var Input3 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin30 = {
118
+ var Plugin33 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service20;
122
- const jobs = yield* Service78;
121
+ const sessions = yield* Service27;
122
+ const jobs = yield* Service61;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service72;
125
- const access = yield* Service50;
126
- const shell = yield* Service63;
127
- const shellSelect = yield* Service70;
124
+ const environment = yield* Service57;
125
+ const access = yield* Service26;
126
+ const shell = yield* Service48;
127
+ const shellSelect = yield* Service56;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service51;
130
- const config = yield* Service66;
129
+ const permission = yield* Service71;
130
+ const config = yield* Service62;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin30 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name12,
149
+ action: name3,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin30 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name12,
186
+ name: name3,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input12,
189
+ input: Input3,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin30 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError9({ id: info.id });
208
+ return yield* new NotFoundError5({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name12,
222
+ type: name3,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name12];
252
+ const tool = event.tools[name3];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin30, exports_shell2 };
260
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin33, exports_shell2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./vcs-e2b6ma0f.js";
2
+ Service78,
3
+ node83
4
+ } from "./file-retention-qyc89c7d.js";
5
5
  import {
6
6
  create3
7
- } from "./vcs-kg06axw8.js";
7
+ } from "./file-retention-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- Agent: () => exports_agent3,
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event14,
18
- ID: () => ID11,
19
- Info: () => Info13,
17
+ Event: () => Event20,
18
+ ID: () => ID18,
19
+ Info: () => Info33,
20
20
  Name: () => Name3,
21
- Service: () => Service54,
21
+ Service: () => Service77,
22
22
  defaultID: () => defaultID2,
23
- node: () => node58
23
+ node: () => node82
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event14 } from "@opencode/schema/agent";
30
+ import { Event as Event20 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID11 = Agent.ID;
33
+ var ID18 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID11.make("build");
35
+ var defaultID2 = ID18.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info13 = Agent.Info;
37
+ var Info33 = Agent.Info;
38
38
 
39
- class Service54 extends Context.Service()("@opencode/Agent") {
39
+ class Service77 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service54, Effect.gen(function* () {
42
- const bus = yield* Service77;
41
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
42
+ const bus = yield* Service78;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info13.default(id);
60
+ const defaults = Info33.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID11.make("build")));
82
+ const build = selectable(data.agents.get(ID18.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service54.of({
91
+ return Service77.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID11.make(id));
99
+ return state.get().agents.get(ID18.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID11.make(id);
104
+ const selected = ID18.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node58 = makeLocationNode({ service: Service54, layer, deps: [node82, Global.node] });
119
+ var node82 = makeLocationNode({ service: Service77, layer, deps: [node83, Global.node] });
120
120
 
121
- export { ID11, Name3, defaultID2, Color2, Info13, Service54, node58, exports_agent3, Event14 };
121
+ export { ID18, Name3, defaultID2, Color2, Info33, Service77, node82, exports_agent4, Event20 };
@@ -1,63 +1,63 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./vcs-6e42fpps.js";
2
+ Service79,
3
+ node84
4
+ } from "./file-retention-2zw7ecjk.js";
5
5
  import {
6
- Service77,
7
- node82
8
- } from "./vcs-e2b6ma0f.js";
6
+ Service78,
7
+ node83
8
+ } from "./file-retention-qyc89c7d.js";
9
9
  import {
10
- Service37,
11
- node40
12
- } from "./vcs-asn1qnte.js";
10
+ Service44,
11
+ node47
12
+ } from "./file-retention-hwe7x4em.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./vcs-922hggd3.js";
16
+ } from "./file-retention-922hggd3.js";
17
17
  import {
18
18
  Service75,
19
19
  node80
20
- } from "./vcs-6hxy2spn.js";
20
+ } from "./file-retention-2xdev6fn.js";
21
21
  import {
22
22
  Ref4
23
- } from "./vcs-z1ehnq90.js";
23
+ } from "./file-retention-yfw68w0d.js";
24
24
  import {
25
- Service38,
26
- node41
27
- } from "./vcs-0nkq71gm.js";
25
+ Service45,
26
+ node48
27
+ } from "./file-retention-y7vx5bzy.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./vcs-gftt206x.js";
30
+ } from "./file-retention-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./vcs-a81jtvwz.js";
32
+ NotFoundError9
33
+ } from "./file-retention-qwkytnft.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./vcs-ec1grn59.js";
36
+ } from "./file-retention-ec1grn59.js";
37
37
  import {
38
- Service34
39
- } from "./vcs-m70sbz6t.js";
38
+ Service41
39
+ } from "./file-retention-zcrspsvn.js";
40
40
  import {
41
- Service52,
42
- node56
43
- } from "./vcs-n223nzpv.js";
41
+ Service73,
42
+ node78
43
+ } from "./file-retention-as0z8btd.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service35,
48
- node38,
47
+ Service43,
48
+ node46,
49
49
  moveIDs2
50
- } from "./vcs-pgvfezyn.js";
50
+ } from "./file-retention-t5e54489.js";
51
51
  import {
52
- Service33,
53
- node37
54
- } from "./vcs-8e9n6h7v.js";
52
+ Service40,
53
+ node44
54
+ } from "./file-retention-a9x5dmer.js";
55
55
  import {
56
- node26
57
- } from "./vcs-pbrn5f3v.js";
56
+ node33
57
+ } from "./file-retention-mtbzr4rz.js";
58
58
  import {
59
59
  __export
60
- } from "./vcs-9rqn6x4v.js";
60
+ } from "./file-retention-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service21,
68
+ Service: () => Service28,
69
69
  SessionMove: () => exports_move,
70
- node: () => node25
70
+ node: () => node32
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service21 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service28 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service21, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
91
  const projects = yield* Service75;
92
- const locations = yield* Service38;
93
- const store = yield* Service52;
94
- const execution = yield* Service33;
95
- const instances = yield* Service37;
96
- const admission = yield* Service35;
97
- const database = yield* Service80;
98
- const bus = yield* Service77;
92
+ const locations = yield* Service45;
93
+ const store = yield* Service73;
94
+ const execution = yield* Service40;
95
+ const instances = yield* Service44;
96
+ const admission = yield* Service43;
97
+ const database = yield* Service79;
98
+ const bus = yield* Service78;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service34.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service21.of({
136
+ return Service28.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node25 = makeGlobalNode({
167
- service: Service21,
166
+ var node32 = makeGlobalNode({
167
+ service: Service28,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
172
  node80,
173
- node41,
174
- node56,
175
- node37,
176
- node40,
177
- node38,
178
- node85,
179
- node82,
180
- node26
173
+ node48,
174
+ node78,
175
+ node44,
176
+ node47,
177
+ node46,
178
+ node84,
179
+ node83,
180
+ node33
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node25, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node32, exports_move };