@opencode/core 0.0.0-dev-19305 → 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 +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{kv-9nnkqgar.js → file-retention-085p4wzr.js} +23 -23
  9. package/dist/chunks/{kv-j438vazm.js → file-retention-089z8d2q.js} +4 -4
  10. package/dist/chunks/{kv-tmxsk5ay.js → file-retention-0b96kjwf.js} +11 -11
  11. package/dist/chunks/{kv-a91jrmzy.js → file-retention-0e552dan.js} +26 -26
  12. package/dist/chunks/{kv-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{kv-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{kv-vmq7ehpy.js → file-retention-0r7yqxbf.js} +5 -5
  15. package/dist/chunks/{kv-edhs40p9.js → file-retention-0rn2bysh.js} +12 -12
  16. package/dist/chunks/{kv-j41a475f.js → file-retention-0thxwbsq.js} +11 -11
  17. package/dist/chunks/{kv-2zc5egdh.js → file-retention-11fxjgwx.js} +25 -25
  18. package/dist/chunks/{kv-0yz71n10.js → file-retention-164jdkrd.js} +19 -19
  19. package/dist/chunks/{kv-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{kv-1dfhrqqs.js → file-retention-1dfhrqqs.js} +2 -2
  21. package/dist/chunks/{kv-xeyrsf3e.js → file-retention-1h5gp861.js} +18 -18
  22. package/dist/chunks/{kv-paegk39x.js → file-retention-1hc11dc4.js} +4 -4
  23. package/dist/chunks/{kv-5fmfe22g.js → file-retention-1x4qabqm.js} +21 -21
  24. package/dist/chunks/{kv-7rr4f4n7.js → file-retention-1xwk6ww1.js} +6 -6
  25. package/dist/chunks/{kv-21r38tys.js → file-retention-21r38tys.js} +1 -1
  26. package/dist/chunks/{kv-d1z2e9b7.js → file-retention-228st694.js} +8 -8
  27. package/dist/chunks/{kv-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
  28. package/dist/chunks/{kv-xjmjzbm2.js → file-retention-26nm669z.js} +35 -35
  29. package/dist/chunks/{kv-jwa4fmm9.js → file-retention-27cjzptm.js} +42 -42
  30. package/dist/chunks/{kv-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{kv-pq2fa145.js → file-retention-2f9mkkej.js} +15 -15
  32. package/dist/chunks/{kv-strj3zkw.js → file-retention-2xcd4pkq.js} +9 -9
  33. package/dist/chunks/{kv-z3t3b1t8.js → file-retention-3ad4b8jh.js} +18 -18
  34. package/dist/chunks/{kv-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{kv-5zhnrkq5.js → file-retention-3fk22zg7.js} +20 -20
  36. package/dist/chunks/{kv-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{kv-818pfwc9.js → file-retention-3pbjq009.js} +8 -8
  38. package/dist/chunks/{kv-w79zsp0s.js → file-retention-3q1jyqhd.js} +1 -1
  39. package/dist/chunks/{kv-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{kv-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{kv-hm622x1n.js → file-retention-401vwfxe.js} +8 -8
  42. package/dist/chunks/{kv-z0jk54k5.js → file-retention-43eky7fv.js} +91 -91
  43. package/dist/chunks/{kv-maaqrbhp.js → file-retention-4a8afqtg.js} +11 -11
  44. package/dist/chunks/{kv-23279rje.js → file-retention-4c8bw516.js} +8 -8
  45. package/dist/chunks/{kv-n3fvjmy7.js → file-retention-4e4kessa.js} +11 -11
  46. package/dist/chunks/{kv-xp20cf23.js → file-retention-4jxr6rzv.js} +7 -7
  47. package/dist/chunks/{kv-06zq0e3e.js → file-retention-4rcz7n1w.js} +13 -13
  48. package/dist/chunks/{kv-2z2smmkn.js → file-retention-4t92r5y5.js} +16 -16
  49. package/dist/chunks/{kv-f0gm38sp.js → file-retention-4xr7dxah.js} +26 -26
  50. package/dist/chunks/{kv-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  51. package/dist/chunks/{kv-s6awdsy0.js → file-retention-5ejrhezz.js} +7 -7
  52. package/dist/chunks/{kv-0pa87wdg.js → file-retention-5h2ak588.js} +25 -25
  53. package/dist/chunks/{kv-zyj2twks.js → file-retention-5kmyd2yp.js} +18 -18
  54. package/dist/chunks/{kv-n91raeq2.js → file-retention-5n3vgq58.js} +2 -2
  55. package/dist/chunks/{kv-jkvd5y7z.js → file-retention-5qkbsren.js} +15 -15
  56. package/dist/chunks/{kv-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{kv-dvvjdwja.js → file-retention-5w90zcr2.js} +43 -43
  58. package/dist/chunks/{kv-yyqejxk6.js → file-retention-5yf98bmk.js} +18 -18
  59. package/dist/chunks/{kv-205hyhp5.js → file-retention-638rxdhc.js} +24 -24
  60. package/dist/chunks/{kv-5h3nb936.js → file-retention-63h173xj.js} +40 -40
  61. package/dist/chunks/{kv-669tq793.js → file-retention-669tq793.js} +1 -1
  62. package/dist/chunks/{kv-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{kv-45hb7f83.js → file-retention-6xyaxxp3.js} +27 -27
  64. package/dist/chunks/{kv-rmk2c50f.js → file-retention-70y17xeh.js} +5 -5
  65. package/dist/chunks/{kv-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
  66. package/dist/chunks/{kv-tdsjmbek.js → file-retention-79v6krhr.js} +35 -35
  67. package/dist/chunks/{kv-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{kv-rwtq93ad.js → file-retention-7hat9k3a.js} +4 -4
  69. package/dist/chunks/{kv-s30wkzvp.js → file-retention-7hhdtzm1.js} +10 -10
  70. package/dist/chunks/{kv-gqawmzqm.js → file-retention-7tpxex51.js} +8 -8
  71. package/dist/chunks/{kv-q26tgv94.js → file-retention-844ef7ks.js} +8 -8
  72. package/dist/chunks/{kv-0yjrx829.js → file-retention-84ajknms.js} +32 -32
  73. package/dist/chunks/{kv-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{kv-x2xe7v1f.js → file-retention-8gjywk27.js} +28 -28
  75. package/dist/chunks/{kv-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
  76. package/dist/chunks/{kv-czntfx8t.js → file-retention-8rcbgw1c.js} +6 -6
  77. package/dist/chunks/{kv-s5k7vegs.js → file-retention-8rxc0pzs.js} +28 -28
  78. package/dist/chunks/{kv-1qtzcvag.js → file-retention-8t01676a.js} +15 -15
  79. package/dist/chunks/{kv-wzcjkfks.js → file-retention-8w2h3xst.js} +30 -30
  80. package/dist/chunks/{kv-t6yvnw0e.js → file-retention-8xgh37q2.js} +39 -39
  81. package/dist/chunks/{kv-4whayx0s.js → file-retention-96yt6zt0.js} +1 -1
  82. package/dist/chunks/{kv-temcajp8.js → file-retention-9c22vnh3.js} +26 -26
  83. package/dist/chunks/{kv-nbddwgy7.js → file-retention-9edcvf27.js} +3 -3
  84. package/dist/chunks/{kv-qta1thjb.js → file-retention-9fjt8dzc.js} +16 -16
  85. package/dist/chunks/{kv-ffr714k0.js → file-retention-9kze6ep1.js} +18 -18
  86. package/dist/chunks/{kv-j7wq2tw5.js → file-retention-9vs0xtad.js} +3 -3
  87. package/dist/chunks/{kv-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
  88. package/dist/chunks/file-retention-a5hbfrzd.js +247 -0
  89. package/dist/chunks/{kv-ve1enffa.js → file-retention-a6ycgxr6.js} +28 -28
  90. package/dist/chunks/{kv-x62ywaz6.js → file-retention-a8npxwp2.js} +11 -11
  91. package/dist/chunks/{kv-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  92. package/dist/chunks/{kv-gst7axd9.js → file-retention-afdssyjb.js} +4 -4
  93. package/dist/chunks/{kv-j8vakhm6.js → file-retention-afqe321m.js} +25 -25
  94. package/dist/chunks/{kv-9j856hay.js → file-retention-aks9j4w4.js} +15 -15
  95. package/dist/chunks/{kv-7tr6s30h.js → file-retention-atnf5533.js} +16 -16
  96. package/dist/chunks/{kv-a2ew8a62.js → file-retention-b27vhd2z.js} +4 -4
  97. package/dist/chunks/{kv-q0me2p8d.js → file-retention-b4s1xj5x.js} +9 -9
  98. package/dist/chunks/{kv-1g7qrdvj.js → file-retention-b62r6jkh.js} +18 -18
  99. package/dist/chunks/{kv-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{kv-xgr9hw2t.js → file-retention-b963bmgr.js} +13 -13
  101. package/dist/chunks/{kv-5mgj9z2s.js → file-retention-bcvm2kkr.js} +15 -15
  102. package/dist/chunks/{kv-ys4qthf1.js → file-retention-beqz24q2.js} +42 -42
  103. package/dist/chunks/{kv-6s9eyz9r.js → file-retention-bha4atvq.js} +4 -4
  104. package/dist/chunks/{kv-60mz5h67.js → file-retention-bvzpqjkv.js} +13 -13
  105. package/dist/chunks/{kv-386yacj4.js → file-retention-c5hwayjq.js} +4 -4
  106. package/dist/chunks/{kv-y1ebma8p.js → file-retention-c85sskq6.js} +11 -11
  107. package/dist/chunks/{kv-tph2fk4h.js → file-retention-cd428q19.js} +9 -9
  108. package/dist/chunks/{kv-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
  109. package/dist/chunks/{kv-vze96k0n.js → file-retention-cjsb4aez.js} +4 -4
  110. package/dist/chunks/{kv-mrn7qyex.js → file-retention-cmx0cyjn.js} +9 -9
  111. package/dist/chunks/{kv-f3xjqa4w.js → file-retention-cspft70r.js} +9 -9
  112. package/dist/chunks/{kv-wk5z6jzv.js → file-retention-d09006c3.js} +9 -9
  113. package/dist/chunks/{kv-pepqf6ga.js → file-retention-d2f1arkd.js} +20 -20
  114. package/dist/chunks/{kv-e7sgzf74.js → file-retention-d7y1ze3m.js} +18 -18
  115. package/dist/chunks/{kv-w12rp218.js → file-retention-dhgj89qr.js} +3 -3
  116. package/dist/chunks/{kv-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
  117. package/dist/chunks/{kv-h1qq3dsd.js → file-retention-dr20mx92.js} +27 -27
  118. package/dist/chunks/{kv-b7xbmwj9.js → file-retention-e042tyrs.js} +5 -5
  119. package/dist/chunks/{kv-zg1cw4cj.js → file-retention-e5rkeknp.js} +7 -7
  120. package/dist/chunks/{kv-qz49fwgp.js → file-retention-e6hd9jay.js} +6 -6
  121. package/dist/chunks/{kv-eaj1djv9.js → file-retention-eaj1djv9.js} +1 -1
  122. package/dist/chunks/{kv-kzd68pqg.js → file-retention-ebah8r6x.js} +6 -6
  123. package/dist/chunks/{kv-xebmnhc4.js → file-retention-eenpnbqj.js} +10 -10
  124. package/dist/chunks/{kv-fj3qsqhh.js → file-retention-eppr9y53.js} +6 -6
  125. package/dist/chunks/{kv-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{kv-tn0aqsam.js → file-retention-evbgk2k8.js} +5 -5
  127. package/dist/chunks/{kv-9ft914dh.js → file-retention-f2fvptgs.js} +46 -46
  128. package/dist/chunks/file-retention-f37dn1ey.js +462 -0
  129. package/dist/chunks/{kv-g190xswt.js → file-retention-f3ngv102.js} +4 -4
  130. package/dist/chunks/{kv-f828m53h.js → file-retention-f828m53h.js} +2 -2
  131. package/dist/chunks/{kv-g9245y80.js → file-retention-f8q7mv7a.js} +1 -1
  132. package/dist/chunks/{kv-btdv9ryv.js → file-retention-ffprybq0.js} +20 -20
  133. package/dist/chunks/{kv-pmk1pqd6.js → file-retention-fg50ch7r.js} +4 -4
  134. package/dist/chunks/{kv-hx55d56e.js → file-retention-fgh0kbhd.js} +1 -1
  135. package/dist/chunks/{kv-nksescck.js → file-retention-fhjm97q2.js} +10 -10
  136. package/dist/chunks/{kv-bchv7rjf.js → file-retention-fhp7qqsj.js} +20 -20
  137. package/dist/chunks/{kv-pagkjc3y.js → file-retention-fp1hhbvz.js} +30 -30
  138. package/dist/chunks/{kv-erqeev50.js → file-retention-frhqnhmj.js} +15 -15
  139. package/dist/chunks/{kv-h11jv7vh.js → file-retention-fvt1yp66.js} +29 -29
  140. package/dist/chunks/{kv-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{kv-47r3zz0x.js → file-retention-fygdb7h7.js} +3 -3
  142. package/dist/chunks/{kv-h6z8d5tn.js → file-retention-fyymr9xg.js} +4 -4
  143. package/dist/chunks/{kv-wvssgkrf.js → file-retention-g1xb33sa.js} +32 -32
  144. package/dist/chunks/{kv-qy03xt3s.js → file-retention-g8nf464k.js} +26 -26
  145. package/dist/chunks/{kv-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{kv-nhvhf6q8.js → file-retention-gj9xpvv3.js} +6 -6
  147. package/dist/chunks/{kv-zvd5jbwb.js → file-retention-gtb749hc.js} +15 -15
  148. package/dist/chunks/{kv-th5km1p3.js → file-retention-gv6a8nnw.js} +5 -5
  149. package/dist/chunks/{kv-ej5hckht.js → file-retention-gvrrxk8n.js} +48 -48
  150. package/dist/chunks/{kv-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
  151. package/dist/chunks/{kv-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{kv-m2d0j7c0.js → file-retention-h7ygw6q4.js} +9 -9
  153. package/dist/chunks/{kv-0nddvemt.js → file-retention-ha1ky52e.js} +25 -25
  154. package/dist/chunks/{kv-csw7rs6s.js → file-retention-hces5vk3.js} +8 -8
  155. package/dist/chunks/{kv-wrvngkj1.js → file-retention-hgtjkr46.js} +11 -11
  156. package/dist/chunks/file-retention-hxa7m5za.js +4 -0
  157. package/dist/chunks/{kv-83p1geyf.js → file-retention-j4jqbx4j.js} +14 -14
  158. package/dist/chunks/{kv-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  159. package/dist/chunks/{kv-1a6p2twq.js → file-retention-j83byb14.js} +4 -4
  160. package/dist/chunks/{kv-pjedbq3k.js → file-retention-j8zzr2am.js} +6 -6
  161. package/dist/chunks/file-retention-jch0v1y2.js +22 -0
  162. package/dist/chunks/{kv-rentfk4q.js → file-retention-jf6dr2d9.js} +36 -36
  163. package/dist/chunks/{kv-qa0xdzs2.js → file-retention-jfmshy3a.js} +22 -22
  164. package/dist/chunks/{kv-t8bhz2vr.js → file-retention-jj63jgrn.js} +8 -8
  165. package/dist/chunks/{kv-hg4g3nha.js → file-retention-jn37jswd.js} +15 -15
  166. package/dist/chunks/{kv-x82mgsnk.js → file-retention-jnsa8b46.js} +1 -1
  167. package/dist/chunks/{kv-654ce46n.js → file-retention-jwws7wxw.js} +7 -7
  168. package/dist/chunks/{kv-g6ew7cqr.js → file-retention-k16ay38w.js} +1 -1
  169. package/dist/chunks/{kv-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
  170. package/dist/chunks/{kv-mp045f7j.js → file-retention-ksz0h0wp.js} +1 -1
  171. package/dist/chunks/{kv-yt2qvb82.js → file-retention-m27pyyd3.js} +8 -8
  172. package/dist/chunks/{kv-vk1ne14n.js → file-retention-m3800wpb.js} +24 -24
  173. package/dist/chunks/{kv-j235te6d.js → file-retention-m73qne7a.js} +3 -3
  174. package/dist/chunks/{kv-tgcgw25p.js → file-retention-m7hd4rhs.js} +22 -22
  175. package/dist/chunks/{kv-1r2zdtkd.js → file-retention-m7ty3jyf.js} +14 -14
  176. package/dist/chunks/{kv-y45g446j.js → file-retention-m821g7ez.js} +17 -17
  177. package/dist/chunks/{kv-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{kv-1x79khn6.js → file-retention-mb5m7hjx.js} +6 -6
  179. package/dist/chunks/{kv-8kxdp5sm.js → file-retention-mb6jxekh.js} +32 -32
  180. package/dist/chunks/{kv-t9ke5tbg.js → file-retention-mbq90t60.js} +46 -46
  181. package/dist/chunks/{kv-g3tb9zt0.js → file-retention-mdgez6a3.js} +20 -20
  182. package/dist/chunks/{kv-fs7g862w.js → file-retention-me5vgs2m.js} +34 -34
  183. package/dist/chunks/{kv-33w4ejhs.js → file-retention-mfqp6xfm.js} +9 -9
  184. package/dist/chunks/{kv-kx3d0pr1.js → file-retention-mhd0t4xv.js} +29 -29
  185. package/dist/chunks/{kv-73tb2d7t.js → file-retention-mhkvc446.js} +3 -3
  186. package/dist/chunks/{kv-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
  187. package/dist/chunks/{kv-swe4yj3v.js → file-retention-mkw2wvv0.js} +9 -9
  188. package/dist/chunks/{kv-c700j0vg.js → file-retention-mqgfyy2s.js} +20 -20
  189. package/dist/chunks/{kv-3ydrj0e1.js → file-retention-mwsztzac.js} +11 -11
  190. package/dist/chunks/{kv-hy7dp2k3.js → file-retention-mypwhdkk.js} +6 -6
  191. package/dist/chunks/{kv-gvp0w9xb.js → file-retention-n4pj3cng.js} +10 -10
  192. package/dist/chunks/{kv-njyck951.js → file-retention-n76fdqym.js} +5 -5
  193. package/dist/chunks/{kv-s3r3b7q0.js → file-retention-nfkc2kma.js} +9 -9
  194. package/dist/chunks/{kv-nhy5jxhy.js → file-retention-nhy5jxhy.js} +1 -1
  195. package/dist/chunks/{kv-hw39y2t2.js → file-retention-nk32hk52.js} +10 -10
  196. package/dist/chunks/{kv-631qzpxd.js → file-retention-nn8g4bnz.js} +14 -14
  197. package/dist/chunks/{kv-992nrvv2.js → file-retention-nwht2get.js} +15 -15
  198. package/dist/chunks/{kv-fx2zdwtr.js → file-retention-p06n4w0k.js} +14 -14
  199. package/dist/chunks/{kv-ff8r9ysp.js → file-retention-p0r3vkqq.js} +5 -5
  200. package/dist/chunks/{kv-xrw35cq0.js → file-retention-p1gkab00.js} +24 -24
  201. package/dist/chunks/{kv-t0x5rdq8.js → file-retention-p1wf2k30.js} +9 -9
  202. package/dist/chunks/{kv-1pgaj36c.js → file-retention-p3he229h.js} +9 -9
  203. package/dist/chunks/{kv-8d2c4t5g.js → file-retention-p5jcd3cr.js} +11 -11
  204. package/dist/chunks/{kv-ead3g9p8.js → file-retention-pecb0brz.js} +5 -5
  205. package/dist/chunks/{kv-54993ev7.js → file-retention-pgpxt5ny.js} +24 -24
  206. package/dist/chunks/{kv-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{kv-pknna89w.js → file-retention-pknna89w.js} +1 -1
  208. package/dist/chunks/{kv-2m7h6g0w.js → file-retention-pkxxvzx1.js} +23 -23
  209. package/dist/chunks/{kv-1rwkxv71.js → file-retention-pp615gng.js} +22 -22
  210. package/dist/chunks/{kv-4zhbjfra.js → file-retention-pqrzdjtx.js} +22 -22
  211. package/dist/chunks/file-retention-q509s3k3.js +18 -0
  212. package/dist/chunks/{kv-cz7fd6ea.js → file-retention-q7s3pq4a.js} +9 -9
  213. package/dist/chunks/{kv-2v31gz2r.js → file-retention-q8k5va6t.js} +13 -13
  214. package/dist/chunks/{kv-7dqw4kz8.js → file-retention-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{kv-fts5bq5k.js → file-retention-qp4pmkb7.js} +16 -16
  216. package/dist/chunks/{kv-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  217. package/dist/chunks/{kv-w2bv7fed.js → file-retention-qth1fxpg.js} +23 -23
  218. package/dist/chunks/{kv-6wswrqax.js → file-retention-r0yk3wys.js} +23 -23
  219. package/dist/chunks/{kv-1y13kvtj.js → file-retention-r1c48803.js} +71 -71
  220. package/dist/chunks/{kv-z1xgx1q6.js → file-retention-r4cndbqv.js} +26 -26
  221. package/dist/chunks/{kv-x636v8jx.js → file-retention-r4s8w3sh.js} +35 -35
  222. package/dist/chunks/{kv-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
  223. package/dist/chunks/{kv-ezn8zr4k.js → file-retention-r9babyk8.js} +1 -1
  224. package/dist/chunks/{kv-wzq4pq7r.js → file-retention-rc2324vf.js} +9 -9
  225. package/dist/chunks/{kv-9g1by0bf.js → file-retention-rc9898mc.js} +11 -11
  226. package/dist/chunks/{kv-979jzsrn.js → file-retention-rccdk6ga.js} +5 -5
  227. package/dist/chunks/{kv-385btzpz.js → file-retention-rkbztq4a.js} +24 -24
  228. package/dist/chunks/{kv-9pv0dm11.js → file-retention-rsym84ch.js} +5 -5
  229. package/dist/chunks/{kv-ekcx5as7.js → file-retention-s841er54.js} +35 -35
  230. package/dist/chunks/{kv-vt44rdpy.js → file-retention-sf0yp864.js} +8 -8
  231. package/dist/chunks/{kv-akzgzmy5.js → file-retention-t2y34ej4.js} +13 -13
  232. package/dist/chunks/{kv-bp5q4kjs.js → file-retention-t4w73mrs.js} +46 -46
  233. package/dist/chunks/{kv-nce8p23g.js → file-retention-t4y4c1va.js} +164 -164
  234. package/dist/chunks/{kv-vrx6ppv4.js → file-retention-t9yc267w.js} +24 -24
  235. package/dist/chunks/{kv-4dekfvbj.js → file-retention-ta89s5je.js} +33 -33
  236. package/dist/chunks/{kv-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{kv-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{kv-tdstcens.js → file-retention-tdstcens.js} +1 -1
  239. package/dist/chunks/{kv-rs0jkqyn.js → file-retention-th1rzrqw.js} +15 -15
  240. package/dist/chunks/{kv-vn5xh55y.js → file-retention-tmmaw7dm.js} +18 -18
  241. package/dist/chunks/{kv-esvgtq8n.js → file-retention-tmw9t85a.js} +13 -13
  242. package/dist/chunks/{kv-z7k2beek.js → file-retention-tqaee6jy.js} +11 -11
  243. package/dist/chunks/{kv-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  244. package/dist/chunks/{kv-d9sn21bc.js → file-retention-tx1bbn1t.js} +2 -2
  245. package/dist/chunks/{kv-8ydwgjmc.js → file-retention-v0ak0tys.js} +19 -19
  246. package/dist/chunks/{kv-hghep4wy.js → file-retention-v4cx5xjq.js} +6 -6
  247. package/dist/chunks/{kv-12v07r08.js → file-retention-v51hrxtf.js} +12 -12
  248. package/dist/chunks/{kv-sz3a1ten.js → file-retention-v6jrwn5c.js} +26 -26
  249. package/dist/chunks/{kv-qeh09qy1.js → file-retention-v7k7pv50.js} +4 -4
  250. package/dist/chunks/{kv-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  251. package/dist/chunks/{kv-vx7ccse2.js → file-retention-vf4s9505.js} +13 -13
  252. package/dist/chunks/{kv-2sswhhhj.js → file-retention-vr7f0f2w.js} +29 -29
  253. package/dist/chunks/{kv-2tavq0r4.js → file-retention-vrgc17vv.js} +4 -4
  254. package/dist/chunks/{kv-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{kv-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{kv-7jz404f1.js → file-retention-w899n6rm.js} +83 -83
  257. package/dist/chunks/{kv-sgdmzdqa.js → file-retention-w9tpqwqq.js} +23 -23
  258. package/dist/chunks/{kv-cm67pz5m.js → file-retention-wct24b0s.js} +51 -51
  259. package/dist/chunks/{kv-wd87259q.js → file-retention-wd87259q.js} +1 -1
  260. package/dist/chunks/{kv-4wz9d7kc.js → file-retention-wgvs8t5x.js} +20 -20
  261. package/dist/chunks/{kv-cbys0e10.js → file-retention-wndheb9r.js} +6 -6
  262. package/dist/chunks/{kv-xxwv7ftt.js → file-retention-wxqxce1x.js} +9 -9
  263. package/dist/chunks/{kv-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{kv-g98bfr3c.js → file-retention-x35m90n0.js} +23 -23
  265. package/dist/chunks/{kv-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
  266. package/dist/chunks/{kv-fafk78t6.js → file-retention-xa4djcz0.js} +5 -5
  267. package/dist/chunks/{kv-y30c2c2s.js → file-retention-xdvgyr5e.js} +17 -17
  268. package/dist/chunks/{kv-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{kv-e0j10c9k.js → file-retention-y3xzpef0.js} +15 -15
  270. package/dist/chunks/{kv-5jrfr8a0.js → file-retention-ykjy0bm0.js} +8 -8
  271. package/dist/chunks/{kv-fyfhjpam.js → file-retention-ymxag59m.js} +45 -45
  272. package/dist/chunks/{kv-7wdy64v3.js → file-retention-yn2w03ty.js} +4 -4
  273. package/dist/chunks/{kv-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{kv-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
  275. package/dist/chunks/{kv-wb7ykpge.js → file-retention-yygg97b6.js} +30 -30
  276. package/dist/chunks/{kv-2fa0tcff.js → file-retention-yzn9e0gg.js} +11 -11
  277. package/dist/chunks/{kv-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{kv-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
  279. package/dist/chunks/{kv-gey3b743.js → file-retention-z69s9t6b.js} +5 -5
  280. package/dist/chunks/{kv-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{kv-pf07gewk.js → file-retention-zhxw6mnd.js} +2 -2
  282. package/dist/chunks/{kv-ygcyspqj.js → file-retention-znx0z9vv.js} +30 -30
  283. package/dist/chunks/{kv-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{kv-0d8k8whk.js → file-retention-zwph3s3x.js} +15 -15
  285. package/dist/chunks/{kv-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{kv-d0acbv0h.js → file-retention-zxrs8q2n.js} +53 -53
  287. package/dist/chunks/{kv-pytnpz35.js → file-retention-zznwmpd0.js} +5 -5
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  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 +117 -117
  303. package/dist/config/plugin/mcp.js +126 -126
  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 +118 -118
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +115 -115
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  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 +79 -79
  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 +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +98 -98
  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 +91 -91
  428. package/dist/git.js +3 -3
  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 +7 -7
  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 +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +1 -1
  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 +133 -133
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +80 -80
  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 +7 -7
  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 +84 -84
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  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 +74 -74
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +131 -131
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  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 +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +4 -4
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +79 -79
  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 +92 -92
  559. package/dist/reference/instructions.js +84 -84
  560. package/dist/reference.js +80 -80
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +93 -93
  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 +122 -122
  575. package/dist/session/generate.js +148 -148
  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 +75 -75
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +88 -88
  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 +122 -122
  587. package/dist/session/projector.js +82 -82
  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 +225 -225
  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 +121 -121
  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 +1 -1
  610. package/dist/session/title.js +151 -151
  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 +13 -13
  619. package/dist/shell.js +133 -133
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +102 -102
  622. package/dist/skill.js +105 -105
  623. package/dist/snapshot.js +86 -86
  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 +120 -120
  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 +119 -119
  636. package/dist/tool/plugin/shell.js +212 -212
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +206 -206
  639. package/dist/tool/plugin/webfetch.js +107 -107
  640. package/dist/tool/plugin/websearch.js +109 -109
  641. package/dist/tool/plugin/write.js +113 -113
  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 +5 -5
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  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 +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +76 -76
  679. package/dist/worktree/directory.js +4 -4
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +341 -341
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +87 -87
  684. package/package.json +8 -8
  685. package/dist/chunks/kv-0kwcw7fy.js +0 -4
  686. package/dist/chunks/kv-18nhnycp.js +0 -22
  687. package/dist/chunks/kv-5mv3qnn6.js +0 -247
  688. package/dist/chunks/kv-pf31ssb9.js +0 -18
  689. package/dist/chunks/kv-z99gdnr1.js +0 -462
  690. /package/dist/chunks/{kv-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{kv-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{kv-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{kv-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{kv-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{kv-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{kv-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{kv-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{kv-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{kv-3asan66x.js → file-retention-3asan66x.js} +0 -0
  700. /package/dist/chunks/{kv-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{kv-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{kv-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{kv-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{kv-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{kv-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{kv-53557ph1.js → file-retention-53557ph1.js} +0 -0
  707. /package/dist/chunks/{kv-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{kv-6prwharc.js → file-retention-6prwharc.js} +0 -0
  709. /package/dist/chunks/{kv-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{kv-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{kv-822emrt2.js → file-retention-822emrt2.js} +0 -0
  712. /package/dist/chunks/{kv-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{kv-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{kv-922hggd3.js → file-retention-922hggd3.js} +0 -0
  715. /package/dist/chunks/{kv-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{kv-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{kv-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{kv-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{kv-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{kv-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{kv-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{kv-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{kv-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{kv-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{kv-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{kv-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{kv-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{kv-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{kv-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{kv-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{kv-df08tz66.js → file-retention-df08tz66.js} +0 -0
  732. /package/dist/chunks/{kv-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{kv-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{kv-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{kv-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{kv-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{kv-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{kv-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{kv-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{kv-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{kv-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{kv-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{kv-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{kv-g86h250q.js → file-retention-g86h250q.js} +0 -0
  745. /package/dist/chunks/{kv-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{kv-gftt206x.js → file-retention-gftt206x.js} +0 -0
  747. /package/dist/chunks/{kv-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{kv-hk9envan.js → file-retention-hk9envan.js} +0 -0
  749. /package/dist/chunks/{kv-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{kv-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{kv-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{kv-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{kv-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{kv-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{kv-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{kv-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{kv-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{kv-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{kv-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{kv-paphc93g.js → file-retention-paphc93g.js} +0 -0
  761. /package/dist/chunks/{kv-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{kv-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{kv-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{kv-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{kv-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{kv-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{kv-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{kv-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{kv-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{kv-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{kv-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{kv-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{kv-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{kv-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{kv-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{kv-x61499pn.js → file-retention-x61499pn.js} +0 -0
  777. /package/dist/chunks/{kv-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{kv-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{kv-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{kv-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{kv-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./kv-j41a475f.js";
3
+ } from "./file-retention-0thxwbsq.js";
4
4
  import {
5
5
  OAuth3,
6
- Service62
7
- } from "./kv-h11jv7vh.js";
6
+ Service69
7
+ } from "./file-retention-fvt1yp66.js";
8
8
  import {
9
- ID4,
9
+ ID8,
10
10
  MethodID2
11
- } from "./kv-45hb7f83.js";
11
+ } from "./file-retention-6xyaxxp3.js";
12
12
  import {
13
- ID11
14
- } from "./kv-yt2qvb82.js";
13
+ ID18
14
+ } from "./file-retention-m27pyyd3.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID11.make("xai");
26
+ var providerID = ID18.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID4.make("xai"),
46
+ integrationID: ID8.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service62;
72
- yield* Effect.forEach(yield* credentials.list(ID4.make("xai")), (credential) => {
71
+ const credentials = yield* Service69;
72
+ yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./kv-2a5m3afh.js";
5
+ } from "./file-retention-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./kv-9rqn6x4v.js";
8
+ } from "./file-retention-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service37,
9
+ Service: () => Service58,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service37 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service58 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service37, exports_runner };
18
+ export { DrainResult2, Service58, exports_runner };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-922hggd3.js";
4
- import {
5
- Service80,
6
- node85
7
- } from "./kv-z7k2beek.js";
3
+ } from "./file-retention-922hggd3.js";
8
4
  import {
9
5
  Service79,
10
6
  node84
11
- } from "./kv-fts5bq5k.js";
7
+ } from "./file-retention-tqaee6jy.js";
8
+ import {
9
+ Service78,
10
+ node83
11
+ } from "./file-retention-qp4pmkb7.js";
12
12
  import {
13
13
  Service77,
14
14
  node82
15
- } from "./kv-nbddwgy7.js";
15
+ } from "./file-retention-9edcvf27.js";
16
16
  import {
17
17
  ID17,
18
18
  Current3,
19
19
  Info32,
20
20
  UpdateInput4,
21
- Event19,
21
+ Event20,
22
22
  Vcs3
23
- } from "./kv-9pv0dm11.js";
23
+ } from "./file-retention-rsym84ch.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./kv-8p4f9s12.js";
27
+ } from "./file-retention-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./kv-cfpkc3c9.js";
30
+ } from "./file-retention-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./kv-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
@@ -40,10 +40,10 @@ __export(exports_project, {
40
40
  Info: () => Info31,
41
41
  NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service75,
43
+ Service: () => Service76,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node80,
46
+ node: () => node81,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service75 extends Context.Service()("@opencode/Project") {
74
+ class Service76 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,12 +94,12 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service75, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const git = yield* Service77;
100
100
  const proc = yield* AppProcess.Service;
101
- const bus = yield* Service79;
102
- const db = (yield* Service80).db;
101
+ const bus = yield* Service78;
102
+ const db = (yield* Service79).db;
103
103
  const announcing = new Set;
104
104
  const persist = Effect.fnUntraced(function* (project) {
105
105
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event19.Updated, fromRow(row));
110
+ yield* bus.publish(Event20.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -169,7 +169,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
169
169
  if (!row)
170
170
  return yield* new NotFoundError10({ projectID: input.projectID });
171
171
  const project = fromRow(row);
172
- yield* bus.publish(Event19.Updated, project);
172
+ yield* bus.publish(Event20.Updated, project);
173
173
  return project;
174
174
  });
175
175
  const cached = Effect.fnUntraced(function* (dir) {
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service75.of({ list, update, resolve });
274
+ return Service76.of({ list, update, resolve });
275
275
  }));
276
- var node80 = makeGlobalNode({
277
- service: Service75,
276
+ var node81 = makeGlobalNode({
277
+ service: Service76,
278
278
  layer,
279
- deps: [node84, node85, FSUtil.node, node82, AppProcess.node]
279
+ deps: [node83, node84, FSUtil.node, node82, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service75, node80, exports_project };
282
+ export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service76, node81, exports_project };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
- Info7,
6
- ID5,
5
+ Info6,
6
+ ID4,
7
7
  Name2
8
- } from "./kv-z1xgx1q6.js";
8
+ } from "./file-retention-r4cndbqv.js";
9
9
  import {
10
- Service60
11
- } from "./kv-9ft914dh.js";
10
+ Service44
11
+ } from "./file-retention-f2fvptgs.js";
12
12
  import {
13
13
  __export
14
- } from "./kv-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill2 = {};
18
18
  __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin20,
21
+ Plugin: () => Plugin29,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill2
24
24
  });
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
422
422
  var ReportContent2 = report_default;
423
423
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
424
424
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
425
- var Plugin20 = define({
425
+ var Plugin29 = define({
426
426
  id: "opencode.skill",
427
427
  effect: Effect.fn(function* (ctx) {
428
428
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
429
429
  yield* ctx.skill.transform((editor) => {
430
- editor.add(Info7.make({
431
- id: ID5.make("opencode"),
430
+ editor.add(Info6.make({
431
+ id: ID4.make("opencode"),
432
432
  name: Name2.make("OpenCode"),
433
433
  description: OpencodeDescription2,
434
434
  location: AbsolutePath2.make("/builtin/opencode.md"),
435
435
  content: OpencodeContent2
436
436
  }));
437
- editor.add(Info7.make({
438
- id: ID5.make("report"),
437
+ editor.add(Info6.make({
438
+ id: ID4.make("report"),
439
439
  name: Name2.make("Report"),
440
440
  description: REPORT_DESCRIPTION,
441
441
  slash: true,
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
464
464
  `);
465
465
  });
466
466
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
467
- const config = yield* Service60;
467
+ const config = yield* Service44;
468
468
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
469
469
  });
470
470
  function terminal() {
@@ -478,4 +478,4 @@ function shell() {
478
478
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
479
479
  }
480
480
 
481
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin20, exports_skill2 };
481
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin29, exports_skill2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service31,
3
- node35
4
- } from "./kv-g98bfr3c.js";
2
+ Service30,
3
+ node34
4
+ } from "./file-retention-x35m90n0.js";
5
5
  import {
6
6
  Key4,
7
7
  removed2,
8
8
  make21,
9
9
  diffByKey2
10
- } from "./kv-eaj1djv9.js";
10
+ } from "./file-retention-eaj1djv9.js";
11
11
  import {
12
12
  __export
13
- } from "./kv-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions4 = {};
17
- __export(exports_instructions4, {
18
- ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service27,
20
- node: () => node31
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
+ Service: () => Service23,
20
+ node: () => node28
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service23 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service27, Effect.gen(function* () {
63
- const references = yield* Service31;
64
- return Service27.of({
62
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
63
+ const references = yield* Service30;
64
+ return Service23.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node31 = makeLocationNode({ service: Service27, layer, deps: [node35] });
84
+ var node28 = makeLocationNode({ service: Service23, layer, deps: [node34] });
85
85
 
86
- export { Service27, node31, exports_instructions4 };
86
+ export { Service23, node28, exports_instructions3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info18
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info18 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info18, exports_command5 };
21
+ export { Info16, exports_command5 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service74
3
- } from "./kv-1r2zdtkd.js";
2
+ Service75
3
+ } from "./file-retention-m7ty3jyf.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2,
9
9
  chunksByFile2
10
- } from "./kv-tazgh4e4.js";
10
+ } from "./file-retention-tazgh4e4.js";
11
11
  import {
12
12
  DiffError2
13
- } from "./kv-w2bv7fed.js";
13
+ } from "./file-retention-qth1fxpg.js";
14
14
  import {
15
15
  __export
16
- } from "./kv-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/vcs/git.ts
19
19
  var exports_git = {};
20
20
  __export(exports_git, {
21
- Plugin: () => Plugin15,
21
+ Plugin: () => Plugin28,
22
22
  VcsGitPlugin: () => exports_git
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { Effect } from "effect";
26
26
  import { ChildProcess } from "effect/unstable/process";
27
27
  import { AppProcess } from "@opencode/util/process";
28
- var Plugin15 = define({
28
+ var Plugin28 = define({
29
29
  id: "opencode.vcs.git",
30
30
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
31
- const location = yield* Service74;
31
+ const location = yield* Service75;
32
32
  if (location.vcs?.type !== "git")
33
33
  return;
34
34
  const processes = yield* AppProcess.Service;
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
467
467
  return yield* diffAgainstRef(ctx, ref, options);
468
468
  });
469
469
 
470
- export { Plugin15, exports_git };
470
+ export { Plugin28, exports_git };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./kv-fts5bq5k.js";
2
+ Service78,
3
+ node83
4
+ } from "./file-retention-qp4pmkb7.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./kv-922hggd3.js";
8
+ } from "./file-retention-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service74,
12
- node79
13
- } from "./kv-1r2zdtkd.js";
11
+ Service75,
12
+ node80
13
+ } from "./file-retention-m7ty3jyf.js";
14
14
  import {
15
15
  __export
16
- } from "./kv-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service17,
22
+ Service: () => Service31,
23
23
  define: () => define2,
24
- node: () => node21
24
+ node: () => node35
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service17 extends Context.Service()("@opencode/Rpc") {
30
+ class Service31 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service17, Effect.gen(function* () {
43
- const bus = yield* Service79;
44
- const location = yield* Service74;
42
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
43
+ const bus = yield* Service78;
44
+ const location = yield* Service75;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const callContext = {
47
47
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -115,14 +115,14 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
115
115
  const registered = events.get(name);
116
116
  if (!registered)
117
117
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
118
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service74, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
118
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
119
119
  }
120
120
  }
121
121
  };
122
122
  };
123
- return Service17.of({ register, call, client });
123
+ return Service31.of({ register, call, client });
124
124
  }));
125
- var node21 = makeLocationNode({ service: Service17, layer, deps: [node84, node79] });
125
+ var node35 = makeLocationNode({ service: Service31, layer, deps: [node83, node80] });
126
126
  var fields = {
127
127
  id: Event.ID,
128
128
  created: Schema.Finite,
@@ -207,4 +207,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
207
207
  };
208
208
  });
209
209
 
210
- export { Service17, node21, exports_rpc, define2 };
210
+ export { Service31, node35, exports_rpc, define2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./kv-2a5m3afh.js";
5
+ } from "./file-retention-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./kv-9rqn6x4v.js";
8
+ } from "./file-retention-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service79
3
- } from "./kv-fts5bq5k.js";
2
+ Service78
3
+ } from "./file-retention-qp4pmkb7.js";
4
4
  import {
5
5
  OAuth3,
6
- Event14
7
- } from "./kv-h11jv7vh.js";
6
+ Event17
7
+ } from "./file-retention-fvt1yp66.js";
8
8
  import {
9
- ID4,
9
+ ID8,
10
10
  MethodID2
11
- } from "./kv-45hb7f83.js";
11
+ } from "./file-retention-6xyaxxp3.js";
12
12
  import {
13
- ID11,
13
+ ID18,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./kv-yt2qvb82.js";
16
+ } from "./file-retention-m27pyyd3.js";
17
17
 
18
18
  // src/plugin/provider/opencode.ts
19
19
  import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
43
43
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
44
44
  function oauth(http) {
45
45
  return {
46
- integrationID: ID4.make("opencode"),
46
+ integrationID: ID8.make("opencode"),
47
47
  method: {
48
48
  id: methodID,
49
49
  type: "oauth",
@@ -84,7 +84,7 @@ function oauth(http) {
84
84
  var OpencodePlugin2 = define({
85
85
  id: "opencode.provider.opencode",
86
86
  effect: Effect.fn(function* (ctx) {
87
- const bus = yield* Service79;
87
+ const bus = yield* Service78;
88
88
  const http = yield* HttpClient.HttpClient;
89
89
  const loading = Semaphore.makeUnsafe(1);
90
90
  let connected = false;
@@ -111,7 +111,7 @@ var OpencodePlugin2 = define({
111
111
  catalog.provider.update(providerID, (provider) => {
112
112
  if (source && source.provider !== provider)
113
113
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
114
- provider.integrationID = ID4.make("opencode");
114
+ provider.integrationID = ID8.make("opencode");
115
115
  if (item.canonical !== undefined)
116
116
  provider.canonical = item.canonical;
117
117
  if (item.name !== undefined)
@@ -174,7 +174,7 @@ var OpencodePlugin2 = define({
174
174
  });
175
175
  }
176
176
  }
177
- const item = catalog.provider.get(ID11.opencode);
177
+ const item = catalog.provider.get(ID18.opencode);
178
178
  if (!item)
179
179
  return;
180
180
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
195
195
  }
196
196
  });
197
197
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
198
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
198
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
199
  })
200
200
  });
201
201
  function fetchProviders(http, value) {
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./kv-922hggd3.js";
5
+ } from "./file-retention-922hggd3.js";
6
6
  import {
7
- Service52,
8
- node56
9
- } from "./kv-vk1ne14n.js";
7
+ Service55,
8
+ node60
9
+ } from "./file-retention-m3800wpb.js";
10
10
  import {
11
11
  Content2
12
- } from "./kv-6wswrqax.js";
12
+ } from "./file-retention-r0yk3wys.js";
13
13
  import {
14
14
  detect2
15
- } from "./kv-3smtnn6g.js";
15
+ } from "./file-retention-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./kv-9rqn6x4v.js";
18
+ } from "./file-retention-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service3,
36
+ Service: () => Service11,
37
37
  TextPage: () => TextPage2,
38
- node: () => node5,
38
+ node: () => node14,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service3, Effect.gen(function* () {
330
- const environment = yield* Service52;
331
- return Service3.of({
329
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
330
+ const environment = yield* Service55;
331
+ return Service11.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node5 = makeLocationNode({ service: Service3, layer, deps: [node56] });
336
+ var node14 = makeLocationNode({ service: Service11, layer, deps: [node60] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node5, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node14, exports_read_filesystem };