@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,29 +1,29 @@
1
1
  import {
2
- Service48
3
- } from "./vcs-cwxby6pr.js";
2
+ Service69
3
+ } from "./file-retention-q2t36530.js";
4
4
  import {
5
- Service37
6
- } from "./vcs-asn1qnte.js";
5
+ Service44
6
+ } from "./file-retention-hwe7x4em.js";
7
7
  import {
8
8
  detect2
9
- } from "./vcs-3smtnn6g.js";
9
+ } from "./file-retention-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./vcs-dxj72tfx.js";
12
+ } from "./file-retention-jqh9b0xq.js";
13
13
  import {
14
- Service71
15
- } from "./vcs-5trk58xb.js";
14
+ Service80
15
+ } from "./file-retention-jdh6s7jq.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./vcs-a81jtvwz.js";
19
+ } from "./file-retention-qwkytnft.js";
20
20
  import {
21
21
  prepare3,
22
- Service43
23
- } from "./vcs-s1tsa559.js";
22
+ Service70
23
+ } from "./file-retention-xn49a5qb.js";
24
24
  import {
25
25
  __export
26
- } from "./vcs-9rqn6x4v.js";
26
+ } from "./file-retention-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service37;
42
+ const instances = yield* Service44;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service71;
45
+ const hooks = yield* Service80;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service43;
64
+ const skillService = yield* Service70;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service48;
128
+ const image = yield* Service69;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./vcs-3w5fmr99.js";
7
+ } from "./file-retention-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./vcs-x43y2vfs.js";
11
+ } from "./file-retention-x43y2vfs.js";
12
12
  import {
13
13
  create3
14
- } from "./vcs-kg06axw8.js";
14
+ } from "./file-retention-kg06axw8.js";
15
15
  import {
16
- Service48,
17
- node52
18
- } from "./vcs-cwxby6pr.js";
16
+ Service69,
17
+ node74
18
+ } from "./file-retention-q2t36530.js";
19
19
  import {
20
- Service71,
21
- node75
22
- } from "./vcs-5trk58xb.js";
20
+ Service80,
21
+ node85
22
+ } from "./file-retention-jdh6s7jq.js";
23
23
  import {
24
24
  match2
25
- } from "./vcs-y1fvbwt7.js";
25
+ } from "./file-retention-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./vcs-9rqn6x4v.js";
28
+ } from "./file-retention-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content2,
35
- Error: () => Error2,
34
+ Content: () => Content3,
35
+ Error: () => Error5,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service41,
38
+ Service: () => Service68,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node44
41
+ node: () => node73
42
42
  });
43
- import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service41 extends Context.Service()("@opencode/Tool") {
54
+ class Service68 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service41, Effect.gen(function* () {
57
- const hooks = yield* Service71;
58
- const image = yield* Service48;
56
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
57
+ const hooks = yield* Service80;
58
+ const image = yield* Service69;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service41.of({
183
+ return Service68.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node44 = makeLocationNode({
266
- service: Service41,
265
+ var node73 = makeLocationNode({
266
+ service: Service68,
267
267
  layer,
268
- deps: [node75, node52]
268
+ deps: [node85, node74]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service41, node44, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service68, node73, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error5,
9
+ Error: () => Error4,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make20,
14
- node: () => node78,
13
+ make: () => make19,
14
+ node: () => node63,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make20 = (driver) => driver;
32
+ var make19 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node78 = registryNode2({});
47
+ var node63 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node78, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node63, exports_driver };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./vcs-6msgmcgs.js";
4
+ } from "./file-retention-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./vcs-qfa1cgps.js";
7
+ } from "./file-retention-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,105 +1,105 @@
1
1
  import {
2
2
  AlibabaPlugin2
3
- } from "./vcs-71q4at8m.js";
3
+ } from "./file-retention-71q4at8m.js";
4
4
  import {
5
5
  AmazonBedrockPlugin2
6
- } from "./vcs-br0bxb5z.js";
6
+ } from "./file-retention-z7xj2rat.js";
7
7
  import {
8
8
  AnthropicPlugin2
9
- } from "./vcs-q2027nw7.js";
9
+ } from "./file-retention-79r1wrqa.js";
10
10
  import {
11
11
  AzurePlugin2
12
- } from "./vcs-f2mnfn4e.js";
12
+ } from "./file-retention-nywecryx.js";
13
13
  import {
14
14
  CerebrasPlugin2
15
- } from "./vcs-e8ge1rnk.js";
15
+ } from "./file-retention-c3kepfq8.js";
16
16
  import {
17
17
  CloudflareAIGatewayPlugin2
18
- } from "./vcs-3ac5ktn8.js";
18
+ } from "./file-retention-t24p7ex1.js";
19
19
  import {
20
20
  CloudflareWorkersAIPlugin2
21
- } from "./vcs-zhxtcv69.js";
21
+ } from "./file-retention-68q29sss.js";
22
22
  import {
23
23
  CoherePlugin2
24
- } from "./vcs-z0bkrqjs.js";
24
+ } from "./file-retention-z0bkrqjs.js";
25
25
  import {
26
26
  DigitalOceanPlugin2
27
- } from "./vcs-b72zs1k5.js";
27
+ } from "./file-retention-pfn03z7w.js";
28
28
  import {
29
29
  DynamicProviderPlugin2
30
- } from "./vcs-vzcthcp8.js";
30
+ } from "./file-retention-vzcthcp8.js";
31
31
  import {
32
32
  GatewayPlugin2
33
- } from "./vcs-669tq793.js";
33
+ } from "./file-retention-669tq793.js";
34
34
  import {
35
35
  GithubCopilotPlugin2
36
- } from "./vcs-ktpjzrp6.js";
36
+ } from "./file-retention-xfk4x188.js";
37
37
  import {
38
38
  GitLabPlugin2
39
- } from "./vcs-xf2jv3bw.js";
39
+ } from "./file-retention-119b7byg.js";
40
40
  import {
41
41
  GoogleVertexPlugin2
42
- } from "./vcs-2mnagb0e.js";
42
+ } from "./file-retention-rz0qknjf.js";
43
43
  import {
44
44
  KiloPlugin2
45
- } from "./vcs-z1pfg6df.js";
45
+ } from "./file-retention-4066mr2m.js";
46
46
  import {
47
47
  LLMGatewayPlugin2
48
- } from "./vcs-bm0fk12v.js";
48
+ } from "./file-retention-cyhq2t1m.js";
49
49
  import {
50
50
  LMStudioPlugin2
51
- } from "./vcs-hx1qbxx1.js";
51
+ } from "./file-retention-0ngeez3a.js";
52
52
  import {
53
53
  MistralPlugin2
54
- } from "./vcs-mkcjrzeh.js";
54
+ } from "./file-retention-mkcjrzeh.js";
55
55
  import {
56
56
  ModalPlugin2
57
- } from "./vcs-na7956ft.js";
57
+ } from "./file-retention-vx5ha92z.js";
58
58
  import {
59
59
  NvidiaPlugin2
60
- } from "./vcs-g5zf0djh.js";
60
+ } from "./file-retention-kmv022h3.js";
61
61
  import {
62
62
  OllamaPlugin2
63
- } from "./vcs-4peq52f2.js";
63
+ } from "./file-retention-wk8t53d4.js";
64
64
  import {
65
65
  OpenAIPlugin2
66
- } from "./vcs-1tj8392q.js";
66
+ } from "./file-retention-5we933ec.js";
67
67
  import {
68
68
  SnowflakeCortexPlugin2
69
- } from "./vcs-xdmmnt8a.js";
69
+ } from "./file-retention-azbeba8p.js";
70
70
  import {
71
71
  OpenAICompatiblePlugin2
72
- } from "./vcs-hrnqkpcd.js";
72
+ } from "./file-retention-hrnqkpcd.js";
73
73
  import {
74
74
  OpencodePlugin2
75
- } from "./vcs-za6src2z.js";
75
+ } from "./file-retention-t399q2xj.js";
76
76
  import {
77
77
  OpenRouterPlugin2
78
- } from "./vcs-2gfstk4p.js";
78
+ } from "./file-retention-ys9khkza.js";
79
79
  import {
80
80
  PerplexityPlugin2
81
- } from "./vcs-veqvce7d.js";
81
+ } from "./file-retention-veqvce7d.js";
82
82
  import {
83
83
  PoePlugin2
84
- } from "./vcs-b5x0fzgx.js";
84
+ } from "./file-retention-czg3njfj.js";
85
85
  import {
86
86
  SapAICorePlugin2
87
- } from "./vcs-ywhnyrnh.js";
87
+ } from "./file-retention-qcfsefxz.js";
88
88
  import {
89
89
  VercelPlugin2
90
- } from "./vcs-zad871sr.js";
90
+ } from "./file-retention-00mqm9kf.js";
91
91
  import {
92
92
  VenicePlugin2
93
- } from "./vcs-yrhqyw5v.js";
93
+ } from "./file-retention-yrhqyw5v.js";
94
94
  import {
95
95
  VLLMPlugin2
96
- } from "./vcs-9vp0n2tv.js";
96
+ } from "./file-retention-64fks2yw.js";
97
97
  import {
98
98
  XAIPlugin2
99
- } from "./vcs-yvgq7aaq.js";
99
+ } from "./file-retention-668fh7ad.js";
100
100
  import {
101
101
  ZenmuxPlugin2
102
- } from "./vcs-7f3sjtrh.js";
102
+ } from "./file-retention-dcj77ap2.js";
103
103
 
104
104
  // src/plugin/provider.ts
105
105
  var ProviderPlugins2 = [
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID11,
2
+ ID18,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./vcs-c90y15gp.js";
5
+ } from "./file-retention-sb3f9prf.js";
6
6
  import {
7
7
  merge2
8
- } from "./vcs-p0xz0qw3.js";
8
+ } from "./file-retention-mfqd8mcm.js";
9
9
  import {
10
10
  __export
11
- } from "./vcs-9rqn6x4v.js";
11
+ } from "./file-retention-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin39
17
+ Plugin: () => Plugin28
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin39 = define({
93
+ var Plugin28 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin39 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID11.make("general"), (item) => {
103
+ editor.update(ID18.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID11.make("explore"), (item) => {
109
+ editor.update(ID18.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin39 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID11.make("compaction"), (item) => {
128
+ editor.update(ID18.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID11.make("title"), (item) => {
133
+ editor.update(ID18.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID11.make("summary"), (item) => {
140
+ editor.update(ID18.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin39 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin39, exports_agent2 };
151
+ export { Plugin28, exports_agent2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./vcs-kg06axw8.js";
3
+ } from "./file-retention-kg06axw8.js";
4
4
  import {
5
5
  which2
6
- } from "./vcs-qaymkmh1.js";
6
+ } from "./file-retention-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options10,
15
- Service: () => Service70,
14
+ Options: () => Options6,
15
+ Service: () => Service56,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured7,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node74,
24
+ node: () => node60,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve2
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options10 = Schema.Struct({
46
+ var Options6 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service70 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service56 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve2(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service70.of({
202
+ return Service56.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
- function configured10(options) {
209
- return makeLocationNode({ service: Service70, layer: layer(options), deps: [Global.node] });
208
+ function configured7(options) {
209
+ return makeLocationNode({ service: Service56, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node74 = configured10();
211
+ var node60 = configured7();
212
212
 
213
- export { Options10, Service70, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured10, node74, exports_select };
213
+ export { Options6, Service56, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured7, node60, exports_select };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./vcs-922hggd3.js";
5
+ } from "./file-retention-922hggd3.js";
6
6
  import {
7
- Service72,
8
- node76
9
- } from "./vcs-t55ej7gz.js";
7
+ Service57,
8
+ node61
9
+ } from "./file-retention-21ryf78v.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./vcs-8d7r5vzw.js";
12
+ } from "./file-retention-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./vcs-9rqn6x4v.js";
15
+ } from "./file-retention-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service62,
24
- node: () => node66
23
+ Service: () => Service18,
24
+ node: () => node22
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service62 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service18 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service62, Effect.gen(function* () {
67
- const environment = yield* Service72;
66
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
67
+ const environment = yield* Service57;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service62.of({
95
+ return Service18.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node66 = makeLocationNode({ service: Service62, layer, deps: [node76, RipgrepBinary2.node] });
178
+ var node22 = makeLocationNode({ service: Service18, layer, deps: [node61, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service62, node66, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service18, node22, exports_ripgrep };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service47
3
- } from "./vcs-6n9s5ar1.js";
2
+ Service54
3
+ } from "./file-retention-h85c66kh.js";
4
4
  import {
5
- Service51
6
- } from "./vcs-p0xz0qw3.js";
5
+ Service71
6
+ } from "./file-retention-mfqd8mcm.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service47;
57
- const permission = yield* Service51;
56
+ const forms = yield* Service54;
57
+ const permission = yield* Service71;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name13,
60
60
  options: { codemode: false },