@opencode/core 0.0.0-dev-19301 → 0.0.0-dev-19306

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +83 -83
  8. package/dist/chunks/{workspace-4gwv5f10.js → file-retention-085p4wzr.js} +23 -23
  9. package/dist/chunks/{workspace-dh49hrje.js → file-retention-089z8d2q.js} +4 -4
  10. package/dist/chunks/{workspace-1q7njqr8.js → file-retention-0b96kjwf.js} +8 -8
  11. package/dist/chunks/{workspace-ys0mtxyj.js → file-retention-0e552dan.js} +26 -26
  12. package/dist/chunks/{workspace-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{workspace-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{workspace-hnr5yq9h.js → file-retention-0r7yqxbf.js} +5 -5
  15. package/dist/chunks/{workspace-99tbqkcw.js → file-retention-0rn2bysh.js} +12 -12
  16. package/dist/chunks/{workspace-ys6344d6.js → file-retention-0thxwbsq.js} +8 -8
  17. package/dist/chunks/{workspace-k8g0aq43.js → file-retention-11fxjgwx.js} +21 -21
  18. package/dist/chunks/{workspace-e21tmfke.js → file-retention-164jdkrd.js} +21 -21
  19. package/dist/chunks/{workspace-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{workspace-1dfhrqqs.js → file-retention-1dfhrqqs.js} +2 -2
  21. package/dist/chunks/{workspace-t0grjbht.js → file-retention-1h5gp861.js} +14 -14
  22. package/dist/chunks/{workspace-paegk39x.js → file-retention-1hc11dc4.js} +4 -4
  23. package/dist/chunks/{workspace-f9qrme3f.js → file-retention-1x4qabqm.js} +23 -23
  24. package/dist/chunks/{workspace-p0xsckgp.js → file-retention-1xwk6ww1.js} +6 -6
  25. package/dist/chunks/{workspace-21r38tys.js → file-retention-21r38tys.js} +1 -1
  26. package/dist/chunks/{workspace-886z29pe.js → file-retention-228st694.js} +8 -8
  27. package/dist/chunks/{workspace-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
  28. package/dist/chunks/{workspace-0n965jn0.js → file-retention-26nm669z.js} +35 -35
  29. package/dist/chunks/{workspace-vxpjwrg1.js → file-retention-27cjzptm.js} +36 -36
  30. package/dist/chunks/{workspace-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{workspace-wgdttpnq.js → file-retention-2f9mkkej.js} +15 -15
  32. package/dist/chunks/{workspace-thrcthqp.js → file-retention-2xcd4pkq.js} +9 -9
  33. package/dist/chunks/{workspace-vt4mzp30.js → file-retention-3ad4b8jh.js} +14 -14
  34. package/dist/chunks/{workspace-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{workspace-sh3bgw0e.js → file-retention-3fk22zg7.js} +18 -18
  36. package/dist/chunks/{workspace-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{workspace-6n88yxkj.js → file-retention-3pbjq009.js} +8 -8
  38. package/dist/chunks/{workspace-w79zsp0s.js → file-retention-3q1jyqhd.js} +1 -1
  39. package/dist/chunks/{workspace-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{workspace-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{workspace-71q4fb3j.js → file-retention-401vwfxe.js} +8 -8
  42. package/dist/chunks/{workspace-wsg88bk6.js → file-retention-43eky7fv.js} +90 -90
  43. package/dist/chunks/{workspace-snqjhxtt.js → file-retention-4a8afqtg.js} +11 -11
  44. package/dist/chunks/{workspace-481njsdn.js → file-retention-4c8bw516.js} +8 -8
  45. package/dist/chunks/{workspace-gj7hzhw3.js → file-retention-4e4kessa.js} +11 -11
  46. package/dist/chunks/{workspace-q5zg4735.js → file-retention-4jxr6rzv.js} +7 -7
  47. package/dist/chunks/{workspace-echv63h4.js → file-retention-4rcz7n1w.js} +13 -13
  48. package/dist/chunks/{workspace-k9k0s8f0.js → file-retention-4t92r5y5.js} +16 -16
  49. package/dist/chunks/{workspace-rxemfqdb.js → file-retention-4xr7dxah.js} +23 -23
  50. package/dist/chunks/{workspace-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  51. package/dist/chunks/{workspace-wjycmk11.js → file-retention-5ejrhezz.js} +7 -7
  52. package/dist/chunks/{workspace-nxpjh8w5.js → file-retention-5h2ak588.js} +25 -25
  53. package/dist/chunks/{workspace-bjk09qw6.js → file-retention-5kmyd2yp.js} +22 -22
  54. package/dist/chunks/{workspace-hpzydpnx.js → file-retention-5n3vgq58.js} +2 -2
  55. package/dist/chunks/{workspace-3tejw0k5.js → file-retention-5qkbsren.js} +15 -15
  56. package/dist/chunks/{workspace-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{workspace-8qdvcyb6.js → file-retention-5w90zcr2.js} +41 -41
  58. package/dist/chunks/{workspace-2mfnacv9.js → file-retention-5yf98bmk.js} +18 -18
  59. package/dist/chunks/{workspace-njna6xd1.js → file-retention-638rxdhc.js} +24 -24
  60. package/dist/chunks/{workspace-cmssp0z9.js → file-retention-63h173xj.js} +42 -42
  61. package/dist/chunks/{workspace-669tq793.js → file-retention-669tq793.js} +1 -1
  62. package/dist/chunks/{workspace-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{workspace-rn192n82.js → file-retention-6xyaxxp3.js} +27 -27
  64. package/dist/chunks/{workspace-92azg307.js → file-retention-70y17xeh.js} +5 -5
  65. package/dist/chunks/{workspace-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
  66. package/dist/chunks/{workspace-xgy598e9.js → file-retention-79v6krhr.js} +34 -34
  67. package/dist/chunks/{workspace-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{workspace-hhvjvf8g.js → file-retention-7hat9k3a.js} +4 -4
  69. package/dist/chunks/{workspace-0zxft7wv.js → file-retention-7hhdtzm1.js} +8 -8
  70. package/dist/chunks/{workspace-g1sb636y.js → file-retention-7tpxex51.js} +8 -8
  71. package/dist/chunks/{workspace-dgj0dq1g.js → file-retention-844ef7ks.js} +8 -8
  72. package/dist/chunks/{workspace-tjabks10.js → file-retention-84ajknms.js} +22 -22
  73. package/dist/chunks/{workspace-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{workspace-ze0f0baa.js → file-retention-8gjywk27.js} +25 -25
  75. package/dist/chunks/{workspace-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
  76. package/dist/chunks/{workspace-dmjeafns.js → file-retention-8rcbgw1c.js} +6 -6
  77. package/dist/chunks/{workspace-39atg463.js → file-retention-8rxc0pzs.js} +28 -28
  78. package/dist/chunks/{workspace-k2v8w9sh.js → file-retention-8t01676a.js} +11 -11
  79. package/dist/chunks/{workspace-c0zax72k.js → file-retention-8w2h3xst.js} +32 -32
  80. package/dist/chunks/{workspace-np51q5jj.js → file-retention-8xgh37q2.js} +39 -39
  81. package/dist/chunks/{workspace-hggyschk.js → file-retention-96yt6zt0.js} +1 -1
  82. package/dist/chunks/{workspace-xaz800th.js → file-retention-9c22vnh3.js} +28 -28
  83. package/dist/chunks/{workspace-jefma2gq.js → file-retention-9edcvf27.js} +10 -10
  84. package/dist/chunks/{workspace-h2nqgc31.js → file-retention-9fjt8dzc.js} +13 -13
  85. package/dist/chunks/{workspace-qdyrhweq.js → file-retention-9kze6ep1.js} +17 -17
  86. package/dist/chunks/{workspace-j7wq2tw5.js → file-retention-9vs0xtad.js} +3 -3
  87. package/dist/chunks/{workspace-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
  88. package/dist/chunks/file-retention-a5hbfrzd.js +247 -0
  89. package/dist/chunks/{workspace-qavvsbzn.js → file-retention-a6ycgxr6.js} +28 -28
  90. package/dist/chunks/{workspace-fjbrq6mf.js → file-retention-a8npxwp2.js} +11 -11
  91. package/dist/chunks/{workspace-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  92. package/dist/chunks/{workspace-hn57h045.js → file-retention-afdssyjb.js} +4 -4
  93. package/dist/chunks/{workspace-3m5pm5bg.js → file-retention-afqe321m.js} +38 -38
  94. package/dist/chunks/{workspace-p16wwb4c.js → file-retention-aks9j4w4.js} +18 -18
  95. package/dist/chunks/{workspace-v9v77gq9.js → file-retention-atnf5533.js} +18 -18
  96. package/dist/chunks/{workspace-qa3qhgw8.js → file-retention-b27vhd2z.js} +4 -4
  97. package/dist/chunks/{workspace-nr02nn09.js → file-retention-b4s1xj5x.js} +9 -9
  98. package/dist/chunks/{workspace-zg6etqwm.js → file-retention-b62r6jkh.js} +18 -18
  99. package/dist/chunks/{workspace-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{workspace-285sk89s.js → file-retention-b963bmgr.js} +13 -13
  101. package/dist/chunks/{workspace-8zz46eww.js → file-retention-bcvm2kkr.js} +17 -17
  102. package/dist/chunks/{workspace-j2vje5f9.js → file-retention-beqz24q2.js} +43 -43
  103. package/dist/chunks/{workspace-fxqygnfa.js → file-retention-bha4atvq.js} +4 -4
  104. package/dist/chunks/{workspace-n0g6fzce.js → file-retention-bvzpqjkv.js} +13 -13
  105. package/dist/chunks/{workspace-gdpvacec.js → file-retention-c5hwayjq.js} +4 -4
  106. package/dist/chunks/{workspace-4tyka3qy.js → file-retention-c85sskq6.js} +11 -11
  107. package/dist/chunks/{workspace-h26gkp4s.js → file-retention-cd428q19.js} +9 -9
  108. package/dist/chunks/{workspace-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
  109. package/dist/chunks/{workspace-wdby5any.js → file-retention-cjsb4aez.js} +4 -4
  110. package/dist/chunks/{workspace-4407emfp.js → file-retention-cmx0cyjn.js} +9 -9
  111. package/dist/chunks/{workspace-2rc0x19k.js → file-retention-cspft70r.js} +9 -9
  112. package/dist/chunks/{workspace-qa4rp7fn.js → file-retention-d09006c3.js} +9 -9
  113. package/dist/chunks/{workspace-cy127xek.js → file-retention-d2f1arkd.js} +22 -22
  114. package/dist/chunks/{workspace-6a1qkqw7.js → file-retention-d7y1ze3m.js} +18 -18
  115. package/dist/chunks/{workspace-w12rp218.js → file-retention-dhgj89qr.js} +3 -3
  116. package/dist/chunks/{workspace-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
  117. package/dist/chunks/{workspace-29zqcttt.js → file-retention-dr20mx92.js} +27 -27
  118. package/dist/chunks/{workspace-r533rs18.js → file-retention-e042tyrs.js} +10 -10
  119. package/dist/chunks/{workspace-7xdajtbq.js → file-retention-e5rkeknp.js} +7 -7
  120. package/dist/chunks/{workspace-2jmaghvr.js → file-retention-e6hd9jay.js} +4 -4
  121. package/dist/chunks/{workspace-02nrjc1r.js → file-retention-eaj1djv9.js} +4 -4
  122. package/dist/chunks/{workspace-y5j69yad.js → file-retention-ebah8r6x.js} +6 -6
  123. package/dist/chunks/{workspace-g8475x4p.js → file-retention-eenpnbqj.js} +10 -10
  124. package/dist/chunks/{workspace-7e5s0f2g.js → file-retention-eppr9y53.js} +6 -6
  125. package/dist/chunks/{workspace-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{workspace-tn0aqsam.js → file-retention-evbgk2k8.js} +5 -5
  127. package/dist/chunks/{workspace-bcatesge.js → file-retention-f2fvptgs.js} +48 -48
  128. package/dist/chunks/file-retention-f37dn1ey.js +462 -0
  129. package/dist/chunks/{workspace-k2h4r4s0.js → file-retention-f3ngv102.js} +4 -4
  130. package/dist/chunks/{workspace-f828m53h.js → file-retention-f828m53h.js} +2 -2
  131. package/dist/chunks/{workspace-sczgc2a3.js → file-retention-f8q7mv7a.js} +1 -1
  132. package/dist/chunks/{workspace-6drwn6fk.js → file-retention-ffprybq0.js} +17 -17
  133. package/dist/chunks/{workspace-9y444b6v.js → file-retention-fg50ch7r.js} +4 -4
  134. package/dist/chunks/{workspace-aan3cyfv.js → file-retention-fgh0kbhd.js} +1 -1
  135. package/dist/chunks/{workspace-wgnb6efq.js → file-retention-fhjm97q2.js} +10 -10
  136. package/dist/chunks/{workspace-0caq5a2p.js → file-retention-fhp7qqsj.js} +22 -22
  137. package/dist/chunks/{workspace-mp5h4hzc.js → file-retention-fp1hhbvz.js} +30 -30
  138. package/dist/chunks/{workspace-63bg78v6.js → file-retention-frhqnhmj.js} +12 -12
  139. package/dist/chunks/{workspace-bm3b3xby.js → file-retention-fvt1yp66.js} +33 -33
  140. package/dist/chunks/{workspace-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{workspace-ns261efr.js → file-retention-fygdb7h7.js} +3 -3
  142. package/dist/chunks/{workspace-d8nc1xcx.js → file-retention-fyymr9xg.js} +4 -4
  143. package/dist/chunks/{workspace-dcbt4rr2.js → file-retention-g1xb33sa.js} +30 -30
  144. package/dist/chunks/{workspace-92t0khks.js → file-retention-g8nf464k.js} +41 -41
  145. package/dist/chunks/{workspace-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{workspace-bv56xrks.js → file-retention-gj9xpvv3.js} +6 -6
  147. package/dist/chunks/{workspace-g43tytty.js → file-retention-gtb749hc.js} +15 -15
  148. package/dist/chunks/{workspace-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{workspace-egfwjd08.js → file-retention-gvrrxk8n.js} +58 -58
  150. package/dist/chunks/{workspace-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
  151. package/dist/chunks/{workspace-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{workspace-xekzrwwc.js → file-retention-h7ygw6q4.js} +9 -9
  153. package/dist/chunks/{workspace-6fqz5w64.js → file-retention-ha1ky52e.js} +15 -15
  154. package/dist/chunks/{workspace-1xx3n8by.js → file-retention-hces5vk3.js} +8 -8
  155. package/dist/chunks/{workspace-y3wj6ntt.js → file-retention-hgtjkr46.js} +11 -11
  156. package/dist/chunks/file-retention-hxa7m5za.js +4 -0
  157. package/dist/chunks/{workspace-wtcjs487.js → file-retention-j4jqbx4j.js} +11 -11
  158. package/dist/chunks/{workspace-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  159. package/dist/chunks/{workspace-pmr4s4kc.js → file-retention-j83byb14.js} +4 -4
  160. package/dist/chunks/{workspace-spt9fbav.js → file-retention-j8zzr2am.js} +5 -5
  161. package/dist/chunks/file-retention-jch0v1y2.js +22 -0
  162. package/dist/chunks/{workspace-kg892g7f.js → file-retention-jf6dr2d9.js} +36 -36
  163. package/dist/chunks/{workspace-qr3d7yj6.js → file-retention-jfmshy3a.js} +25 -25
  164. package/dist/chunks/{workspace-9e47yq11.js → file-retention-jj63jgrn.js} +8 -8
  165. package/dist/chunks/{workspace-wb6pntek.js → file-retention-jn37jswd.js} +22 -22
  166. package/dist/chunks/{workspace-an5gm3yx.js → file-retention-jnsa8b46.js} +1 -1
  167. package/dist/chunks/{workspace-t8f5a5hy.js → file-retention-jwws7wxw.js} +7 -7
  168. package/dist/chunks/{workspace-fb6ja2y4.js → file-retention-k16ay38w.js} +1 -1
  169. package/dist/chunks/{workspace-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
  170. package/dist/chunks/{workspace-r0vgb2sm.js → file-retention-ksz0h0wp.js} +1 -1
  171. package/dist/chunks/{workspace-63c29q5z.js → file-retention-m27pyyd3.js} +8 -8
  172. package/dist/chunks/{workspace-09vseg8s.js → file-retention-m3800wpb.js} +24 -24
  173. package/dist/chunks/{workspace-qgdc71e1.js → file-retention-m73qne7a.js} +3 -3
  174. package/dist/chunks/{workspace-vmjwh0y2.js → file-retention-m7hd4rhs.js} +27 -27
  175. package/dist/chunks/{workspace-c09967vq.js → file-retention-m7ty3jyf.js} +16 -16
  176. package/dist/chunks/{workspace-a78x0tqp.js → file-retention-m821g7ez.js} +17 -17
  177. package/dist/chunks/{workspace-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{workspace-0gqt70p3.js → file-retention-mb5m7hjx.js} +6 -6
  179. package/dist/chunks/{workspace-mwkcp274.js → file-retention-mb6jxekh.js} +32 -32
  180. package/dist/chunks/{workspace-39yd8fs4.js → file-retention-mbq90t60.js} +34 -34
  181. package/dist/chunks/{workspace-tq5h294s.js → file-retention-mdgez6a3.js} +16 -16
  182. package/dist/chunks/{workspace-s9039swt.js → file-retention-me5vgs2m.js} +34 -34
  183. package/dist/chunks/{workspace-56gdpj1q.js → file-retention-mfqp6xfm.js} +6 -6
  184. package/dist/chunks/{workspace-bsdhcv6e.js → file-retention-mhd0t4xv.js} +22 -22
  185. package/dist/chunks/{workspace-r5x6zcsm.js → file-retention-mhkvc446.js} +3 -3
  186. package/dist/chunks/{workspace-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
  187. package/dist/chunks/{workspace-3xztec2w.js → file-retention-mkw2wvv0.js} +8 -8
  188. package/dist/chunks/{workspace-fqghg761.js → file-retention-mqgfyy2s.js} +20 -20
  189. package/dist/chunks/{workspace-8cc7t6mx.js → file-retention-mwsztzac.js} +11 -11
  190. package/dist/chunks/{workspace-q5xvhvda.js → file-retention-mypwhdkk.js} +6 -6
  191. package/dist/chunks/{workspace-6prxjdtq.js → file-retention-n4pj3cng.js} +10 -10
  192. package/dist/chunks/{workspace-90h7kwk9.js → file-retention-n76fdqym.js} +5 -5
  193. package/dist/chunks/{workspace-fyjrpq2n.js → file-retention-nfkc2kma.js} +8 -8
  194. package/dist/chunks/{workspace-hjt4xg1x.js → file-retention-nhy5jxhy.js} +4 -4
  195. package/dist/chunks/{workspace-hs7fbk9e.js → file-retention-nk32hk52.js} +10 -10
  196. package/dist/chunks/{workspace-ca6ew4kd.js → file-retention-nn8g4bnz.js} +11 -11
  197. package/dist/chunks/{workspace-pbrpfg1g.js → file-retention-nwht2get.js} +12 -12
  198. package/dist/chunks/{workspace-2r2a59vh.js → file-retention-p06n4w0k.js} +18 -18
  199. package/dist/chunks/{workspace-dszepm9d.js → file-retention-p0r3vkqq.js} +5 -5
  200. package/dist/chunks/{workspace-e6451bx7.js → file-retention-p1gkab00.js} +24 -24
  201. package/dist/chunks/{workspace-twy35tz0.js → file-retention-p1wf2k30.js} +9 -9
  202. package/dist/chunks/{workspace-14encp35.js → file-retention-p3he229h.js} +9 -9
  203. package/dist/chunks/{workspace-1235z6h5.js → file-retention-p5jcd3cr.js} +11 -11
  204. package/dist/chunks/{workspace-d2aac7k2.js → file-retention-pecb0brz.js} +5 -5
  205. package/dist/chunks/{workspace-rkqzecgv.js → file-retention-pgpxt5ny.js} +30 -30
  206. package/dist/chunks/{workspace-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{workspace-pknna89w.js → file-retention-pknna89w.js} +1 -1
  208. package/dist/chunks/{workspace-xn9fr5jd.js → file-retention-pkxxvzx1.js} +27 -27
  209. package/dist/chunks/{workspace-g9s9j6xv.js → file-retention-pp615gng.js} +19 -19
  210. package/dist/chunks/{workspace-y8pp3er9.js → file-retention-pqrzdjtx.js} +17 -17
  211. package/dist/chunks/file-retention-q509s3k3.js +18 -0
  212. package/dist/chunks/{workspace-gxjpzw3n.js → file-retention-q7s3pq4a.js} +9 -9
  213. package/dist/chunks/{workspace-a9trz7xg.js → file-retention-q8k5va6t.js} +12 -12
  214. package/dist/chunks/{workspace-2k8khapm.js → file-retention-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{workspace-g22wb2pz.js → file-retention-qp4pmkb7.js} +16 -16
  216. package/dist/chunks/{workspace-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  217. package/dist/chunks/{workspace-mhte6216.js → file-retention-qth1fxpg.js} +23 -23
  218. package/dist/chunks/{workspace-512qfn16.js → file-retention-r0yk3wys.js} +27 -27
  219. package/dist/chunks/{workspace-rtnzfgta.js → file-retention-r1c48803.js} +62 -62
  220. package/dist/chunks/{workspace-tx10d39y.js → file-retention-r4cndbqv.js} +26 -26
  221. package/dist/chunks/{workspace-p37kmksf.js → file-retention-r4s8w3sh.js} +37 -37
  222. package/dist/chunks/{workspace-1acjjqhc.js → file-retention-r8xr0va3.js} +4 -4
  223. package/dist/chunks/{workspace-xep7y6dg.js → file-retention-r9babyk8.js} +1 -1
  224. package/dist/chunks/{workspace-jzcb5zg9.js → file-retention-rc2324vf.js} +9 -9
  225. package/dist/chunks/{workspace-zbcg40zh.js → file-retention-rc9898mc.js} +11 -11
  226. package/dist/chunks/{workspace-bzzbqws7.js → file-retention-rccdk6ga.js} +5 -5
  227. package/dist/chunks/{workspace-4a1gzb1y.js → file-retention-rkbztq4a.js} +24 -24
  228. package/dist/chunks/{workspace-81swgkk7.js → file-retention-rsym84ch.js} +7 -7
  229. package/dist/chunks/{workspace-we7qc7n1.js → file-retention-s841er54.js} +35 -35
  230. package/dist/chunks/{workspace-wpm2rk0p.js → file-retention-sf0yp864.js} +6 -6
  231. package/dist/chunks/{workspace-gh7n1bng.js → file-retention-t2y34ej4.js} +13 -13
  232. package/dist/chunks/{workspace-vh8m22te.js → file-retention-t4w73mrs.js} +46 -46
  233. package/dist/chunks/{workspace-q9jmjakx.js → file-retention-t4y4c1va.js} +171 -171
  234. package/dist/chunks/{workspace-ypfgjb30.js → file-retention-t9yc267w.js} +24 -24
  235. package/dist/chunks/{workspace-am5y2yzp.js → file-retention-ta89s5je.js} +24 -24
  236. package/dist/chunks/{workspace-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{workspace-89znhe33.js → file-retention-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{workspace-tdstcens.js → file-retention-tdstcens.js} +1 -1
  239. package/dist/chunks/{workspace-8734049b.js → file-retention-th1rzrqw.js} +10 -10
  240. package/dist/chunks/{workspace-jzh89m9h.js → file-retention-tmmaw7dm.js} +17 -17
  241. package/dist/chunks/{workspace-gxwzr3wg.js → file-retention-tmw9t85a.js} +10 -10
  242. package/dist/chunks/{workspace-f99k44yv.js → file-retention-tqaee6jy.js} +11 -11
  243. package/dist/chunks/{workspace-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  244. package/dist/chunks/{workspace-d9sn21bc.js → file-retention-tx1bbn1t.js} +2 -2
  245. package/dist/chunks/{workspace-62852zzh.js → file-retention-v0ak0tys.js} +19 -19
  246. package/dist/chunks/{workspace-7gh5mp13.js → file-retention-v4cx5xjq.js} +6 -6
  247. package/dist/chunks/{workspace-9jdakqgh.js → file-retention-v51hrxtf.js} +12 -12
  248. package/dist/chunks/{workspace-rvrc2w8n.js → file-retention-v6jrwn5c.js} +22 -22
  249. package/dist/chunks/{workspace-xgp3syj5.js → file-retention-v7k7pv50.js} +4 -4
  250. package/dist/chunks/{workspace-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  251. package/dist/chunks/{workspace-zgshgwpw.js → file-retention-vf4s9505.js} +16 -16
  252. package/dist/chunks/{workspace-r3fv6v1m.js → file-retention-vr7f0f2w.js} +26 -26
  253. package/dist/chunks/{workspace-a0z4fccy.js → file-retention-vrgc17vv.js} +4 -4
  254. package/dist/chunks/{workspace-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{workspace-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{workspace-z72x676g.js → file-retention-w899n6rm.js} +89 -89
  257. package/dist/chunks/{workspace-22ncyhda.js → file-retention-w9tpqwqq.js} +23 -23
  258. package/dist/chunks/{workspace-ep66wy90.js → file-retention-wct24b0s.js} +50 -50
  259. package/dist/chunks/{workspace-wd87259q.js → file-retention-wd87259q.js} +1 -1
  260. package/dist/chunks/{workspace-kq1a8t9t.js → file-retention-wgvs8t5x.js} +17 -17
  261. package/dist/chunks/{workspace-qy5sepm7.js → file-retention-wndheb9r.js} +6 -6
  262. package/dist/chunks/{workspace-rzr2835t.js → file-retention-wxqxce1x.js} +9 -9
  263. package/dist/chunks/{workspace-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{workspace-x0tn6qwv.js → file-retention-x35m90n0.js} +27 -27
  265. package/dist/chunks/{workspace-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
  266. package/dist/chunks/{workspace-bzg1m3qp.js → file-retention-xa4djcz0.js} +8 -8
  267. package/dist/chunks/{workspace-e2crwazr.js → file-retention-xdvgyr5e.js} +17 -17
  268. package/dist/chunks/{workspace-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{workspace-m8j1vn7p.js → file-retention-y3xzpef0.js} +15 -15
  270. package/dist/chunks/{workspace-hn51r0q8.js → file-retention-ykjy0bm0.js} +8 -8
  271. package/dist/chunks/{workspace-q80jwr34.js → file-retention-ymxag59m.js} +42 -42
  272. package/dist/chunks/{workspace-n5atw2w8.js → file-retention-yn2w03ty.js} +4 -4
  273. package/dist/chunks/{workspace-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{workspace-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
  275. package/dist/chunks/{workspace-b2wfqz6v.js → file-retention-yygg97b6.js} +30 -30
  276. package/dist/chunks/{workspace-5v3se96a.js → file-retention-yzn9e0gg.js} +11 -11
  277. package/dist/chunks/{workspace-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{workspace-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
  279. package/dist/chunks/{workspace-62jy5cfr.js → file-retention-z69s9t6b.js} +5 -5
  280. package/dist/chunks/{workspace-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{workspace-t7bagm3w.js → file-retention-zhxw6mnd.js} +2 -2
  282. package/dist/chunks/{workspace-05dnp20b.js → file-retention-znx0z9vv.js} +30 -30
  283. package/dist/chunks/{workspace-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{workspace-vg3c0nsb.js → file-retention-zwph3s3x.js} +15 -15
  285. package/dist/chunks/{workspace-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{workspace-j3mqfpt8.js → file-retention-zxrs8q2n.js} +53 -53
  287. package/dist/chunks/{workspace-j6c7mg19.js → file-retention-zznwmpd0.js} +5 -5
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +79 -79
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +124 -124
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +134 -134
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +111 -111
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +77 -77
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +85 -85
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +216 -216
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +102 -102
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +89 -89
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +77 -77
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +84 -84
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +82 -82
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +102 -102
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +82 -82
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +80 -80
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +117 -117
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +72 -72
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +338 -338
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +224 -224
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +83 -83
  554. package/dist/provider.js +7 -7
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +94 -94
  559. package/dist/reference/instructions.js +84 -84
  560. package/dist/reference.js +84 -84
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +91 -91
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +127 -127
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +124 -124
  575. package/dist/session/generate.js +146 -146
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +113 -113
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +223 -223
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +86 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +119 -119
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +169 -169
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +83 -83
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +205 -205
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +145 -145
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +218 -218
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +133 -133
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +100 -100
  622. package/dist/skill.js +105 -105
  623. package/dist/snapshot.js +84 -84
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +121 -121
  628. package/dist/tool/plugin/edit.js +115 -115
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +112 -112
  631. package/dist/tool/plugin/grep.js +118 -118
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +98 -98
  635. package/dist/tool/plugin/read.js +121 -121
  636. package/dist/tool/plugin/shell.js +206 -206
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +214 -214
  639. package/dist/tool/plugin/webfetch.js +107 -107
  640. package/dist/tool/plugin/websearch.js +107 -107
  641. package/dist/tool/plugin/write.js +117 -117
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +5 -5
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/formatter.js +3 -3
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +3 -3
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +85 -85
  673. package/dist/websearch.js +80 -80
  674. package/dist/wellknown/plugin.js +74 -74
  675. package/dist/wellknown.js +79 -79
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +76 -76
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +339 -339
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +91 -91
  684. package/package.json +8 -8
  685. package/dist/chunks/workspace-0mesazry.js +0 -4
  686. package/dist/chunks/workspace-6pjhpf77.js +0 -247
  687. package/dist/chunks/workspace-gap4xn4b.js +0 -22
  688. package/dist/chunks/workspace-rap9a73h.js +0 -18
  689. package/dist/chunks/workspace-tdn6ycjd.js +0 -462
  690. /package/dist/chunks/{workspace-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{workspace-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{workspace-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{workspace-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{workspace-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{workspace-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{workspace-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{workspace-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{workspace-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{workspace-3asan66x.js → file-retention-3asan66x.js} +0 -0
  700. /package/dist/chunks/{workspace-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{workspace-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{workspace-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{workspace-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{workspace-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{workspace-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{workspace-53557ph1.js → file-retention-53557ph1.js} +0 -0
  707. /package/dist/chunks/{workspace-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{workspace-6prwharc.js → file-retention-6prwharc.js} +0 -0
  709. /package/dist/chunks/{workspace-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{workspace-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{workspace-822emrt2.js → file-retention-822emrt2.js} +0 -0
  712. /package/dist/chunks/{workspace-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{workspace-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{workspace-922hggd3.js → file-retention-922hggd3.js} +0 -0
  715. /package/dist/chunks/{workspace-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{workspace-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{workspace-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{workspace-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{workspace-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{workspace-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{workspace-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{workspace-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{workspace-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{workspace-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{workspace-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{workspace-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{workspace-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{workspace-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{workspace-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{workspace-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{workspace-df08tz66.js → file-retention-df08tz66.js} +0 -0
  732. /package/dist/chunks/{workspace-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{workspace-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{workspace-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{workspace-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{workspace-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{workspace-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{workspace-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{workspace-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{workspace-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{workspace-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{workspace-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{workspace-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{workspace-g86h250q.js → file-retention-g86h250q.js} +0 -0
  745. /package/dist/chunks/{workspace-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{workspace-gftt206x.js → file-retention-gftt206x.js} +0 -0
  747. /package/dist/chunks/{workspace-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{workspace-hk9envan.js → file-retention-hk9envan.js} +0 -0
  749. /package/dist/chunks/{workspace-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{workspace-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{workspace-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{workspace-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{workspace-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{workspace-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{workspace-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{workspace-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{workspace-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{workspace-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{workspace-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{workspace-paphc93g.js → file-retention-paphc93g.js} +0 -0
  761. /package/dist/chunks/{workspace-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{workspace-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{workspace-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{workspace-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{workspace-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{workspace-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{workspace-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{workspace-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{workspace-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{workspace-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{workspace-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{workspace-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{workspace-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{workspace-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{workspace-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{workspace-x61499pn.js → file-retention-x61499pn.js} +0 -0
  777. /package/dist/chunks/{workspace-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{workspace-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{workspace-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{workspace-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{workspace-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service65
3
- } from "./workspace-q80jwr34.js";
2
+ Service70
3
+ } from "./file-retention-ymxag59m.js";
4
4
  import {
5
- ID11,
5
+ ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service64
10
- } from "./workspace-tx10d39y.js";
9
+ Service35
10
+ } from "./file-retention-r4cndbqv.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
18
- Input: () => Input9,
19
- Output: () => Output6,
20
- Plugin: () => Plugin27,
21
- SkillTool: () => exports_skill2,
22
- description: () => description5,
23
- name: () => name9,
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
+ Input: () => Input6,
19
+ Output: () => Output5,
20
+ Plugin: () => Plugin37,
21
+ SkillTool: () => exports_skill3,
22
+ description: () => description4,
23
+ name: () => name6,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name9 = "skill";
30
- var Input9 = Schema.Struct({
31
- id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name6 = "skill";
30
+ var Input6 = Schema.Struct({
31
+ id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output6 = Schema.Struct({
33
+ var Output5 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description5 = [
38
+ var description4 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description5 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin27 = {
46
+ var Plugin37 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service64;
51
- const permission = yield* Service65;
50
+ const skills = yield* Service35;
51
+ const permission = yield* Service70;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name9,
53
+ name: name6,
54
54
  options: { codemode: false },
55
- description: description5,
56
- input: Input9,
57
- output: Output6,
55
+ description: description4,
56
+ input: Input6,
57
+ output: Output5,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name9,
64
+ action: name6,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin27 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name9, Input9, Output6, description5, toModelOutput2, Plugin27, exports_skill2 };
82
+ export { name6, Input6, Output5, description4, toModelOutput2, Plugin37, exports_skill3 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID10,
2
+ ID18,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./workspace-63c29q5z.js";
5
+ } from "./file-retention-m27pyyd3.js";
6
6
  import {
7
- ID9,
7
+ ID10,
8
8
  VariantID2,
9
9
  Family2,
10
- Info23
11
- } from "./workspace-hs7fbk9e.js";
10
+ Info24
11
+ } from "./file-retention-nk32hk52.js";
12
12
  import {
13
13
  __export
14
- } from "./workspace-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID9.make(id);
90
+ const key = ID10.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info23.make({
115
- ...Info23.default(ID10.githubCopilot, id),
114
+ return Info24.make({
115
+ ...Info24.default(ID18.githubCopilot, id),
116
116
  id,
117
- modelID: ID9.make(remote.id),
118
- providerID: ID10.githubCopilot,
117
+ modelID: ID10.make(remote.id),
118
+ providerID: ID18.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
- Service76,
6
- node81
7
- } from "./workspace-c09967vq.js";
5
+ Service75,
6
+ node80
7
+ } from "./file-retention-m7ty3jyf.js";
8
8
  import {
9
- Service73,
10
- node77
11
- } from "./workspace-vt4mzp30.js";
9
+ Service54,
10
+ node59
11
+ } from "./file-retention-3ad4b8jh.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./workspace-89znhe33.js";
14
+ names3
15
+ } from "./file-retention-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./workspace-9rqn6x4v.js";
18
+ } from "./file-retention-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options10,
25
- Service: () => Service72,
26
- configured: () => configured10,
24
+ Options: () => Options2,
25
+ Service: () => Service15,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer25,
29
- node: () => node76,
28
+ layer: () => layer8,
29
+ node: () => node18,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options10 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service72 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service72, Effect.gen(function* () {
62
- const location = yield* Service76;
63
- const ripgrep = yield* Service73;
61
+ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
62
+ const location = yield* Service75;
63
+ const ripgrep = yield* Service54;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service72, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service72, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service72.of({
108
+ return Service15.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service72, Effect.gen(function* () {
116
- const location = yield* Service76;
115
+ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
116
+ const location = yield* Service75;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service72, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service72.of({
129
+ return Service15.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service72.of({
134
+ return Service15.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service72, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service76;
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service75;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured10(options) {
186
- return makeLocationNode({ service: Service72, layer: layer25(options), deps: [node81, node77] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node80, node59] });
187
187
  }
188
- var node76 = configured10();
188
+ var node18 = configured2();
189
189
 
190
- export { Options10, Service72, ripgrepLayer2, fffLayer2, layer25, configured10, node76, exports_search };
190
+ export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node18, exports_search };
@@ -1,49 +1,49 @@
1
1
  import {
2
- ID10,
2
+ ID18,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./workspace-63c29q5z.js";
8
+ } from "./file-retention-m27pyyd3.js";
9
9
  import {
10
- Service47,
11
- node51
12
- } from "./workspace-gj7hzhw3.js";
10
+ Service80,
11
+ node85
12
+ } from "./file-retention-4e4kessa.js";
13
13
  import {
14
14
  map2
15
- } from "./workspace-t7bagm3w.js";
15
+ } from "./file-retention-zhxw6mnd.js";
16
16
  import {
17
- ID9,
17
+ ID10,
18
18
  VariantID2,
19
19
  Ref3
20
- } from "./workspace-hs7fbk9e.js";
20
+ } from "./file-retention-nk32hk52.js";
21
21
  import {
22
- ID4,
23
- Service46,
24
- node50
25
- } from "./workspace-rn192n82.js";
22
+ ID8,
23
+ Service67,
24
+ node72
25
+ } from "./file-retention-6xyaxxp3.js";
26
26
  import {
27
- Service45,
28
- node49
29
- } from "./workspace-xaz800th.js";
27
+ Service66,
28
+ node71
29
+ } from "./file-retention-9c22vnh3.js";
30
30
  import {
31
31
  __export
32
- } from "./workspace-9rqn6x4v.js";
32
+ } from "./file-retention-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service44,
38
+ Service: () => Service65,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
42
42
  VariantUnavailableError: () => VariantUnavailableError3,
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
- layer: () => layer20,
46
- node: () => node48,
45
+ layer: () => layer24,
46
+ node: () => node70,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID10,
57
- modelID: ID9,
56
+ providerID: ID18,
57
+ modelID: ID10,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID10,
67
- modelID: ID9,
66
+ providerID: ID18,
67
+ modelID: ID10,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID10,
77
- modelID: ID9,
76
+ providerID: ID18,
77
+ modelID: ID10,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID10,
87
- modelID: ID9,
86
+ providerID: ID18,
87
+ modelID: ID10,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service44 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service65 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer20 = Layer.effect(Service44, Effect.gen(function* () {
222
- const catalog = yield* Service45;
223
- const integrations = yield* Service46;
221
+ var layer24 = Layer.effect(Service65, Effect.gen(function* () {
222
+ const catalog = yield* Service66;
223
+ const integrations = yield* Service67;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service47;
225
+ const aisdk = yield* Service80;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID4.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -246,7 +246,7 @@ var layer20 = Layer.effect(Service44, Effect.gen(function* () {
246
246
  compaction: selected.compaction
247
247
  };
248
248
  });
249
- return Service44.of({
249
+ return Service65.of({
250
250
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
251
251
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
252
252
  if (!selected)
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
263
263
  const name = packageName2(packageName);
264
264
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
265
265
  }
266
- var node48 = makeLocationNode({
267
- service: Service44,
268
- layer: layer20,
269
- deps: [node49, node50, Npm.node, node51]
266
+ var node70 = makeLocationNode({
267
+ service: Service65,
268
+ layer: layer24,
269
+ deps: [node71, node72, Npm.node, node85]
270
270
  });
271
271
 
272
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service44, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node48, exports_model_resolver };
272
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service65, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node70, exports_model_resolver };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./workspace-63c29q5z.js";
4
+ } from "./file-retention-m27pyyd3.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info24
5
- } from "./workspace-63c29q5z.js";
4
+ Info33
5
+ } from "./file-retention-m27pyyd3.js";
6
6
  import {
7
- Info23
8
- } from "./workspace-hs7fbk9e.js";
7
+ Info24
8
+ } from "./file-retention-nk32hk52.js";
9
9
  import {
10
- Service79,
11
- node84
12
- } from "./workspace-g22wb2pz.js";
10
+ Service78,
11
+ node83
12
+ } from "./file-retention-qp4pmkb7.js";
13
13
  import {
14
14
  create3
15
- } from "./workspace-kg06axw8.js";
15
+ } from "./file-retention-kg06axw8.js";
16
16
  import {
17
- ID4,
18
- Service46,
19
- node50
20
- } from "./workspace-rn192n82.js";
17
+ ID8,
18
+ Service67,
19
+ node72
20
+ } from "./file-retention-6xyaxxp3.js";
21
21
  import {
22
22
  __export
23
- } from "./workspace-9rqn6x4v.js";
23
+ } from "./file-retention-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event7,
30
- Service: () => Service45,
31
- node: () => node49
29
+ Event: () => Event14,
30
+ Service: () => Service66,
31
+ node: () => node71
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event7 } from "@opencode/schema/catalog";
36
+ import { Event as Event14 } from "@opencode/schema/catalog";
37
37
 
38
- class Service45 extends Context.Service()("@opencode/Catalog") {
38
+ class Service66 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service45, Effect.gen(function* () {
41
- const bus = yield* Service79;
42
- const integrations = yield* Service46;
40
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
41
+ const bus = yield* Service78;
42
+ const integrations = yield* Service67;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
72
72
  let current = editor.providers.get(providerID);
73
73
  if (!current) {
74
74
  current = {
75
- provider: Info24.empty(providerID),
75
+ provider: Info33.empty(providerID),
76
76
  models: new Map
77
77
  };
78
78
  editor.providers.set(providerID, current);
@@ -90,12 +90,12 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
90
90
  let record = editor.providers.get(providerID);
91
91
  if (!record) {
92
92
  record = {
93
- provider: Info24.empty(providerID),
93
+ provider: Info33.empty(providerID),
94
94
  models: new Map
95
95
  };
96
96
  editor.providers.set(providerID, record);
97
97
  }
98
- const model = record.models.get(modelID) ?? Info23.default(providerID, modelID);
98
+ const model = record.models.get(modelID) ?? Info24.default(providerID, modelID);
99
99
  if (!record.models.has(modelID))
100
100
  record.models.set(modelID, model);
101
101
  fn(model);
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
129
129
  }),
130
130
  available: Effect.fn("Catalog.provider.available")(function* () {
131
131
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
132
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID4.make(provider.id))));
132
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID8.make(provider.id))));
133
133
  })
134
134
  },
135
135
  model: {
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
184
184
  })
185
185
  }
186
186
  };
187
- return Service45.of(result);
187
+ return Service66.of(result);
188
188
  }));
189
189
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
190
- var node49 = makeLocationNode({ service: Service45, layer, deps: [node84, node50] });
190
+ var node71 = makeLocationNode({ service: Service66, layer, deps: [node83, node72] });
191
191
 
192
- export { Service45, node49, exports_catalog2, Event7 };
192
+ export { Service66, node71, exports_catalog2, Event14 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./workspace-922hggd3.js";
4
+ } from "./file-retention-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./workspace-y71avatq.js";
7
+ } from "./file-retention-dpkg50ah.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
@@ -15,11 +15,11 @@ __export(exports_git3, {
15
15
  Git: () => exports_git3,
16
16
  OperationError: () => OperationError3,
17
17
  Repository: () => Repository2,
18
- Service: () => Service78,
18
+ Service: () => Service77,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node83
22
+ node: () => node82
23
23
  });
24
24
  import path from "path";
25
25
  import { Context, Effect, Layer, Schema } from "effect";
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
85
85
  }) {
86
86
  }
87
87
 
88
- class Service78 extends Context.Service()("@opencode/Git") {
88
+ class Service77 extends Context.Service()("@opencode/Git") {
89
89
  }
90
- var layer = Layer.effect(Service78, Effect.gen(function* () {
90
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
91
91
  const fs = yield* FSUtil.Service;
92
92
  const proc = yield* AppProcess.Service;
93
93
  const locks = makeUnsafe2();
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
409
409
  kind: index === 0 ? "main" : "linked"
410
410
  }));
411
411
  });
412
- return Service78.of({
412
+ return Service77.of({
413
413
  repo: { discover, clone, create },
414
414
  remote: { get: remote },
415
415
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node82 = makeGlobalNode({ service: Service77, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service77, node82, exports_git3 };