@opencode-ai/core 0.0.0-beta-19266 → 0.0.0-beta-19271

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{schema-g1bsba7w.js → file-retention-0287bcr4.js} +20 -20
  9. package/dist/chunks/{schema-zs79rajt.js → file-retention-08px7ct2.js} +24 -24
  10. package/dist/chunks/{schema-1s4vv42h.js → file-retention-0dfa6scd.js} +7 -7
  11. package/dist/chunks/{schema-0e0xafbb.js → file-retention-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{schema-j8bjgp0m.js → file-retention-0egdgj0d.js} +23 -23
  13. package/dist/chunks/{schema-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{schema-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{schema-wbvdvtzj.js → file-retention-0r296h1k.js} +25 -25
  16. package/dist/chunks/{schema-0s9ayhjt.js → file-retention-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{schema-p6rz0yzk.js → file-retention-0sk2j9ke.js} +4 -4
  18. package/dist/chunks/{schema-4a774hnm.js → file-retention-0tfzfc80.js} +17 -17
  19. package/dist/chunks/{schema-3j8sdtpz.js → file-retention-0v53mg2y.js} +4 -4
  20. package/dist/chunks/{schema-jp934b96.js → file-retention-169jagr2.js} +7 -7
  21. package/dist/chunks/{schema-q2cdtxy5.js → file-retention-19qd847z.js} +6 -6
  22. package/dist/chunks/{schema-1ct4r87x.js → file-retention-1ct4r87x.js} +1 -1
  23. package/dist/chunks/{schema-9k252bfj.js → file-retention-1ggjvb61.js} +28 -28
  24. package/dist/chunks/{schema-fnxm8qas.js → file-retention-1hdmp3m0.js} +12 -12
  25. package/dist/chunks/{schema-xzzg2aw3.js → file-retention-1jh2bxey.js} +12 -12
  26. package/dist/chunks/{schema-kqtq9r6d.js → file-retention-1p48dy4j.js} +24 -24
  27. package/dist/chunks/{schema-8aw20fxv.js → file-retention-1q1y40j8.js} +28 -28
  28. package/dist/chunks/{schema-bnfahk6g.js → file-retention-1r60bktf.js} +6 -6
  29. package/dist/chunks/{schema-54m6nc3n.js → file-retention-1wcfs5an.js} +2 -2
  30. package/dist/chunks/{schema-r1dq9xr8.js → file-retention-1ydgq2r4.js} +5 -5
  31. package/dist/chunks/{schema-a35es3dn.js → file-retention-1z25nwdj.js} +43 -43
  32. package/dist/chunks/{schema-21r38tys.js → file-retention-21r38tys.js} +1 -1
  33. package/dist/chunks/{schema-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
  34. package/dist/chunks/{schema-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{schema-2ht70gj7.js → file-retention-2ht70gj7.js} +1 -1
  36. package/dist/chunks/{schema-pac8pssg.js → file-retention-2x7vmnaj.js} +23 -23
  37. package/dist/chunks/{schema-v610d21f.js → file-retention-34eb3mab.js} +24 -24
  38. package/dist/chunks/{schema-v72m8j26.js → file-retention-34jntwha.js} +1 -1
  39. package/dist/chunks/{schema-rqa18smj.js → file-retention-3dzp2ssk.js} +11 -11
  40. package/dist/chunks/{schema-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{schema-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{schema-ts04ntb8.js → file-retention-3hkvw3fm.js} +11 -11
  43. package/dist/chunks/{schema-x71fjkw5.js → file-retention-3jyr1z4v.js} +7 -7
  44. package/dist/chunks/{schema-3qzbfqsy.js → file-retention-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{schema-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{schema-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{schema-h5fs3t0a.js → file-retention-3v92ygys.js} +26 -26
  48. package/dist/chunks/{schema-6bsa9frc.js → file-retention-3yq3pj1g.js} +15 -15
  49. package/dist/chunks/{schema-454k5vzh.js → file-retention-454k5vzh.js} +1 -1
  50. package/dist/chunks/{schema-rbhd1hv4.js → file-retention-48dkwq03.js} +3 -3
  51. package/dist/chunks/{schema-sz9840t7.js → file-retention-4a8k7zg7.js} +9 -9
  52. package/dist/chunks/{schema-gjk5sn8n.js → file-retention-4gj1y2sv.js} +4 -4
  53. package/dist/chunks/{schema-418ebam3.js → file-retention-4jvbp95j.js} +4 -4
  54. package/dist/chunks/{schema-raxsvy8j.js → file-retention-4khp0kk4.js} +11 -11
  55. package/dist/chunks/{schema-8mvvefrh.js → file-retention-4map1fd3.js} +27 -27
  56. package/dist/chunks/{schema-4r2nyarf.js → file-retention-4r2nyarf.js} +1 -1
  57. package/dist/chunks/{schema-234pz9hm.js → file-retention-4rgjvnqr.js} +14 -14
  58. package/dist/chunks/{schema-1v896bp7.js → file-retention-4thyt0cr.js} +14 -14
  59. package/dist/chunks/{schema-xr5vwsd4.js → file-retention-4x0nmcjx.js} +9 -9
  60. package/dist/chunks/{schema-yx2cz2pp.js → file-retention-4xzh45c0.js} +12 -12
  61. package/dist/chunks/{schema-3g0e3esv.js → file-retention-503qcs8e.js} +20 -20
  62. package/dist/chunks/{schema-mj8wbps0.js → file-retention-51a45nv8.js} +41 -41
  63. package/dist/chunks/{schema-wb2q69yx.js → file-retention-52s6f7rv.js} +26 -26
  64. package/dist/chunks/{schema-8x2kyzb6.js → file-retention-530egx9a.js} +8 -8
  65. package/dist/chunks/file-retention-54w4zsch.js +247 -0
  66. package/dist/chunks/{schema-mfqp6xfm.js → file-retention-56gdpj1q.js} +6 -6
  67. package/dist/chunks/{schema-6926ty5t.js → file-retention-57xtfwrp.js} +8 -8
  68. package/dist/chunks/{schema-r25t3ann.js → file-retention-5btxcb89.js} +6 -6
  69. package/dist/chunks/{schema-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  70. package/dist/chunks/{schema-5fmxt4p5.js → file-retention-5fmxt4p5.js} +1 -1
  71. package/dist/chunks/{schema-ep3g8qaw.js → file-retention-5gejhz5w.js} +27 -27
  72. package/dist/chunks/{schema-d910tjb6.js → file-retention-5gnmt16f.js} +9 -9
  73. package/dist/chunks/{schema-g608hw24.js → file-retention-5j73ae1t.js} +16 -16
  74. package/dist/chunks/{schema-5jvc5tg2.js → file-retention-5jvc5tg2.js} +1 -1
  75. package/dist/chunks/{schema-zy7s2m3e.js → file-retention-5sdg7nhe.js} +13 -13
  76. package/dist/chunks/{schema-cy23n0eh.js → file-retention-63zheg14.js} +26 -26
  77. package/dist/chunks/{schema-ecpey84z.js → file-retention-64x7r6w5.js} +22 -22
  78. package/dist/chunks/{schema-7e1496vv.js → file-retention-654r7z1p.js} +4 -4
  79. package/dist/chunks/{schema-qwxk75cg.js → file-retention-6e53nqzr.js} +8 -8
  80. package/dist/chunks/{schema-4p7snnyp.js → file-retention-6nbxm2ze.js} +29 -29
  81. package/dist/chunks/{schema-d5agjf18.js → file-retention-6pcza54a.js} +27 -27
  82. package/dist/chunks/{schema-711hfp6y.js → file-retention-711hfp6y.js} +2 -2
  83. package/dist/chunks/{schema-72nftnjy.js → file-retention-72nftnjy.js} +2 -2
  84. package/dist/chunks/{schema-mhkvc446.js → file-retention-73tb2d7t.js} +3 -3
  85. package/dist/chunks/{schema-bpxz7ydq.js → file-retention-76zyzh78.js} +11 -11
  86. package/dist/chunks/{schema-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{schema-vrwt7trm.js → file-retention-7bnvhct6.js} +8 -8
  88. package/dist/chunks/{schema-hsq9qkqb.js → file-retention-7bz1waha.js} +60 -60
  89. package/dist/chunks/{schema-7dqw4kz8.js → file-retention-7dqw4kz8.js} +1 -1
  90. package/dist/chunks/{schema-sdygzg6k.js → file-retention-7dxvk8sj.js} +26 -26
  91. package/dist/chunks/{schema-7w1c3z11.js → file-retention-7jhvs3pe.js} +25 -25
  92. package/dist/chunks/{schema-s698gkv6.js → file-retention-7z9p2wdr.js} +6 -6
  93. package/dist/chunks/{schema-809xf7e2.js → file-retention-809xf7e2.js} +2 -2
  94. package/dist/chunks/{schema-p9071pdt.js → file-retention-8q8fk282.js} +46 -46
  95. package/dist/chunks/{schema-e51fc25h.js → file-retention-8tbmtt69.js} +9 -9
  96. package/dist/chunks/{schema-pfvd2csc.js → file-retention-8vmp5gpy.js} +1 -1
  97. package/dist/chunks/{schema-fk6yh78j.js → file-retention-8x1thw8y.js} +10 -10
  98. package/dist/chunks/{schema-xfrwv263.js → file-retention-9019yept.js} +6 -6
  99. package/dist/chunks/{schema-93a8yfjt.js → file-retention-93a8yfjt.js} +2 -2
  100. package/dist/chunks/{schema-92mcpazx.js → file-retention-971pvjyy.js} +5 -5
  101. package/dist/chunks/{schema-es1szyat.js → file-retention-9gwy9zfk.js} +15 -15
  102. package/dist/chunks/{schema-1awmdn6g.js → file-retention-9krggx7e.js} +8 -8
  103. package/dist/chunks/{schema-9qm9egsn.js → file-retention-9qm9egsn.js} +2 -2
  104. package/dist/chunks/{schema-8ay24fmk.js → file-retention-9rvda89d.js} +28 -28
  105. package/dist/chunks/{schema-wabsntfg.js → file-retention-9t0pwkeq.js} +17 -17
  106. package/dist/chunks/{schema-tnn3pxdz.js → file-retention-9w4m4ymy.js} +27 -27
  107. package/dist/chunks/file-retention-9yw3vay8.js +22 -0
  108. package/dist/chunks/{schema-vmv31r6s.js → file-retention-a296k1k9.js} +22 -22
  109. package/dist/chunks/{schema-9tk8rzfb.js → file-retention-a3mn64bp.js} +4 -4
  110. package/dist/chunks/{schema-fm2qvscf.js → file-retention-a46v4e4v.js} +4 -4
  111. package/dist/chunks/{schema-cyjkg8gk.js → file-retention-a98rapcn.js} +12 -12
  112. package/dist/chunks/{schema-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  113. package/dist/chunks/{schema-gnwcgnjb.js → file-retention-aamsyqd7.js} +35 -35
  114. package/dist/chunks/{schema-cm19gqaq.js → file-retention-ab1km4sg.js} +20 -20
  115. package/dist/chunks/{schema-kne8f3cn.js → file-retention-afdssyjb.js} +4 -4
  116. package/dist/chunks/{schema-ajtjthsy.js → file-retention-ajtjthsy.js} +2 -2
  117. package/dist/chunks/{schema-ne1yvy6p.js → file-retention-ambpxxez.js} +43 -43
  118. package/dist/chunks/{schema-81htp2jj.js → file-retention-azbx08pf.js} +5 -5
  119. package/dist/chunks/{schema-xvjj1qqy.js → file-retention-b49m8fgq.js} +1 -1
  120. package/dist/chunks/{schema-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{schema-17hja9f4.js → file-retention-b77p7m16.js} +6 -6
  122. package/dist/chunks/{schema-qk9vesgb.js → file-retention-b83hqy8d.js} +10 -10
  123. package/dist/chunks/{schema-b9wsbatv.js → file-retention-b9wsbatv.js} +1 -1
  124. package/dist/chunks/{schema-s53bq4vw.js → file-retention-bmes7amk.js} +32 -32
  125. package/dist/chunks/{schema-y4nzzd5t.js → file-retention-btc4hvws.js} +5 -5
  126. package/dist/chunks/{schema-xrtvrd4c.js → file-retention-btht280w.js} +4 -4
  127. package/dist/chunks/{schema-raa16g9g.js → file-retention-bw7hten5.js} +3 -3
  128. package/dist/chunks/{schema-rqdcv1n1.js → file-retention-bx5n9ey0.js} +4 -4
  129. package/dist/chunks/{schema-njdd8kjn.js → file-retention-cavx7z03.js} +83 -83
  130. package/dist/chunks/{schema-m2dwvqty.js → file-retention-cex0ectg.js} +9 -9
  131. package/dist/chunks/{schema-pkqzam1k.js → file-retention-cwd49fgd.js} +11 -11
  132. package/dist/chunks/{schema-d72308c8.js → file-retention-d72308c8.js} +2 -2
  133. package/dist/chunks/{schema-hf6ertck.js → file-retention-db39sy3g.js} +34 -34
  134. package/dist/chunks/{schema-39k66fkr.js → file-retention-df3cbvs4.js} +20 -20
  135. package/dist/chunks/{schema-vwd3d859.js → file-retention-dtz2xhtw.js} +27 -27
  136. package/dist/chunks/{schema-7rv5x4wn.js → file-retention-dwebx4g8.js} +13 -13
  137. package/dist/chunks/file-retention-dxj72tfx.js +18 -0
  138. package/dist/chunks/{schema-mbj5j0dx.js → file-retention-dxv3bfmb.js} +41 -41
  139. package/dist/chunks/{schema-pydn0w3e.js → file-retention-dykj04b8.js} +1 -1
  140. package/dist/chunks/{schema-1nt798q2.js → file-retention-dyqxbeha.js} +11 -11
  141. package/dist/chunks/{schema-fygtvtfb.js → file-retention-e0kn3btm.js} +60 -60
  142. package/dist/chunks/{schema-w7xrk89n.js → file-retention-e4fe74de.js} +15 -15
  143. package/dist/chunks/{schema-ps2ypmnz.js → file-retention-e5fc1vxw.js} +1 -1
  144. package/dist/chunks/{schema-g8qt226p.js → file-retention-e5vw0egj.js} +5 -5
  145. package/dist/chunks/{schema-46e97tr7.js → file-retention-eg4pr325.js} +10 -10
  146. package/dist/chunks/{schema-ga3x3tkz.js → file-retention-emmsgc7p.js} +11 -11
  147. package/dist/chunks/{schema-8da146zc.js → file-retention-emyx9er5.js} +5 -5
  148. package/dist/chunks/{schema-v45en8pj.js → file-retention-ep9enyxr.js} +18 -18
  149. package/dist/chunks/{schema-r9pjqsyf.js → file-retention-er3f8aqh.js} +30 -30
  150. package/dist/chunks/{schema-686b062j.js → file-retention-er9t76qp.js} +12 -12
  151. package/dist/chunks/{schema-he4jbf8x.js → file-retention-ezhxkjns.js} +36 -36
  152. package/dist/chunks/{schema-yjw6p547.js → file-retention-f268p0jz.js} +18 -18
  153. package/dist/chunks/{schema-8ak5gdn6.js → file-retention-f5y7cb2r.js} +14 -14
  154. package/dist/chunks/{schema-jdcvk5y7.js → file-retention-f60rqjgw.js} +11 -11
  155. package/dist/chunks/{schema-k7e3e2sr.js → file-retention-ff89hqjf.js} +16 -16
  156. package/dist/chunks/{schema-pt07xbnp.js → file-retention-fp34rt5y.js} +18 -18
  157. package/dist/chunks/{schema-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  158. package/dist/chunks/{schema-fxypknc8.js → file-retention-fxypknc8.js} +1 -1
  159. package/dist/chunks/{schema-spftfn4p.js → file-retention-fy8y407q.js} +51 -51
  160. package/dist/chunks/{schema-637qq8n2.js → file-retention-fz1pdqz4.js} +9 -9
  161. package/dist/chunks/{schema-s2e3zm9h.js → file-retention-g0j16pt1.js} +53 -53
  162. package/dist/chunks/{schema-7a2q0zfc.js → file-retention-g97k7hqe.js} +6 -6
  163. package/dist/chunks/{schema-8h2x3rhz.js → file-retention-g993n2k7.js} +11 -11
  164. package/dist/chunks/{schema-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{schema-20evr3mp.js → file-retention-gdjb7na3.js} +11 -11
  166. package/dist/chunks/{schema-jhzxqtm7.js → file-retention-gqv7w6by.js} +67 -67
  167. package/dist/chunks/{schema-vecstcyh.js → file-retention-gztfqjt6.js} +46 -46
  168. package/dist/chunks/{schema-yf1d8svm.js → file-retention-h42awfrh.js} +8 -8
  169. package/dist/chunks/{schema-tan6veb8.js → file-retention-h511sj23.js} +26 -26
  170. package/dist/chunks/{schema-a6h88whx.js → file-retention-h64bhzsz.js} +24 -24
  171. package/dist/chunks/{schema-fv0bxyhd.js → file-retention-h6h8wc8c.js} +3 -3
  172. package/dist/chunks/{schema-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  173. package/dist/chunks/{schema-heyhwy2w.js → file-retention-heyhwy2w.js} +1 -1
  174. package/dist/chunks/{schema-vpwgshky.js → file-retention-hpnhdz6t.js} +13 -13
  175. package/dist/chunks/{schema-hrvm11jt.js → file-retention-hrvm11jt.js} +3 -3
  176. package/dist/chunks/{schema-934rg3e5.js → file-retention-hvw9ez06.js} +20 -20
  177. package/dist/chunks/{schema-kvsjn1dr.js → file-retention-hw4pv20g.js} +2 -2
  178. package/dist/chunks/{schema-qb2yjf91.js → file-retention-jb9jk37q.js} +21 -21
  179. package/dist/chunks/{schema-p7v84xw5.js → file-retention-jpvwbg27.js} +32 -32
  180. package/dist/chunks/{schema-axmvebxj.js → file-retention-jw80jp6b.js} +21 -21
  181. package/dist/chunks/{schema-ehj7vx0b.js → file-retention-k03ey5t7.js} +11 -11
  182. package/dist/chunks/{schema-9qkzxvef.js → file-retention-k1vkejwd.js} +3 -3
  183. package/dist/chunks/{schema-k4bwy1x5.js → file-retention-k4bwy1x5.js} +1 -1
  184. package/dist/chunks/{schema-23r2qrzy.js → file-retention-k4eh3acx.js} +41 -41
  185. package/dist/chunks/{schema-wwqw8y3k.js → file-retention-kaxe1s77.js} +19 -19
  186. package/dist/chunks/{schema-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
  187. package/dist/chunks/{schema-c7jvcatc.js → file-retention-knefre3q.js} +5 -5
  188. package/dist/chunks/{schema-zmgxegv8.js → file-retention-kpev0jfb.js} +15 -15
  189. package/dist/chunks/{schema-npx3gdza.js → file-retention-kz0qf9hw.js} +86 -86
  190. package/dist/chunks/{schema-xgjy9czn.js → file-retention-m1z2avc0.js} +9 -9
  191. package/dist/chunks/{schema-0qvt9njx.js → file-retention-m6jejm1p.js} +40 -40
  192. package/dist/chunks/{schema-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{schema-0r9t8f77.js → file-retention-mr56sp72.js} +17 -17
  194. package/dist/chunks/{schema-wvycr4s3.js → file-retention-mwbry6nn.js} +4 -4
  195. package/dist/chunks/{schema-ah4q1w3j.js → file-retention-naqx5crp.js} +8 -8
  196. package/dist/chunks/{schema-hjt4xg1x.js → file-retention-nhy5jxhy.js} +4 -4
  197. package/dist/chunks/{schema-kwt11tv7.js → file-retention-nqvfwm7d.js} +17 -17
  198. package/dist/chunks/{schema-x8z6j3kk.js → file-retention-ny14xqs8.js} +3 -3
  199. package/dist/chunks/{schema-35ng7dkh.js → file-retention-p3p972wa.js} +5 -5
  200. package/dist/chunks/{schema-hys3c6ky.js → file-retention-p94mrc9t.js} +28 -28
  201. package/dist/chunks/{schema-j935v87r.js → file-retention-paphc93g.js} +2 -2
  202. package/dist/chunks/{schema-q1q8dpek.js → file-retention-pbp1se8d.js} +23 -23
  203. package/dist/chunks/{schema-rp8jz6x1.js → file-retention-pf2hb43r.js} +4 -4
  204. package/dist/chunks/{schema-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{schema-pknna89w.js → file-retention-pknna89w.js} +1 -1
  206. package/dist/chunks/{schema-j53fc2s1.js → file-retention-pr9g8gys.js} +6 -6
  207. package/dist/chunks/{schema-9c51rpw1.js → file-retention-pt1jjr6j.js} +9 -9
  208. package/dist/chunks/{schema-vt9wfr9s.js → file-retention-q38gs549.js} +21 -21
  209. package/dist/chunks/{schema-7gq8qbc1.js → file-retention-q7j76h9b.js} +15 -15
  210. package/dist/chunks/{schema-be3ps6fk.js → file-retention-qb3txf5b.js} +10 -10
  211. package/dist/chunks/{schema-7gg2m3zr.js → file-retention-qp4whs7y.js} +16 -16
  212. package/dist/chunks/{schema-7sd9q442.js → file-retention-qq8x5mwt.js} +4 -4
  213. package/dist/chunks/{schema-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  214. package/dist/chunks/{schema-f7502g1v.js → file-retention-qv0b9wx6.js} +6 -6
  215. package/dist/chunks/file-retention-qw80c7h1.js +462 -0
  216. package/dist/chunks/{schema-7d8vear2.js → file-retention-qykqfys3.js} +1 -1
  217. package/dist/chunks/{schema-z44293nx.js → file-retention-qzv1jgwe.js} +26 -26
  218. package/dist/chunks/{schema-85jr47cf.js → file-retention-r2d9jv9d.js} +9 -9
  219. package/dist/chunks/{schema-r8dhm0tv.js → file-retention-r8dhm0tv.js} +1 -1
  220. package/dist/chunks/{schema-m9p8h4jk.js → file-retention-r8xk55zx.js} +12 -12
  221. package/dist/chunks/{schema-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
  222. package/dist/chunks/{schema-2a1acymz.js → file-retention-rae26gbb.js} +8 -8
  223. package/dist/chunks/{schema-ntvpvfq2.js → file-retention-rdsh588k.js} +7 -7
  224. package/dist/chunks/{schema-kh25xj5f.js → file-retention-rpzf37ve.js} +32 -32
  225. package/dist/chunks/{schema-jdd7wz44.js → file-retention-rqwyf4a8.js} +30 -30
  226. package/dist/chunks/{schema-6fpeds7j.js → file-retention-rvfs50bv.js} +12 -12
  227. package/dist/chunks/{schema-9tjsbxxt.js → file-retention-rvhss2m2.js} +4 -4
  228. package/dist/chunks/{schema-sr948aj6.js → file-retention-rz8xxtng.js} +18 -18
  229. package/dist/chunks/{schema-wpa91s1b.js → file-retention-s283m12p.js} +178 -178
  230. package/dist/chunks/{schema-sba4qhjf.js → file-retention-sba4qhjf.js} +1 -1
  231. package/dist/chunks/{schema-ttmf2k06.js → file-retention-sbt1xe51.js} +8 -8
  232. package/dist/chunks/{schema-2t24vjmc.js → file-retention-sjghkmca.js} +25 -25
  233. package/dist/chunks/{schema-rm3yzcsd.js → file-retention-snxwbbja.js} +4 -4
  234. package/dist/chunks/{schema-8gsst550.js → file-retention-sqypgbm1.js} +18 -18
  235. package/dist/chunks/{schema-d73w0rgx.js → file-retention-sr82n7vz.js} +17 -17
  236. package/dist/chunks/{schema-81ggxfts.js → file-retention-sybecs9s.js} +9 -9
  237. package/dist/chunks/{schema-sn3nkvtj.js → file-retention-systxyed.js} +11 -11
  238. package/dist/chunks/{schema-6y0247yb.js → file-retention-t59a9e66.js} +9 -9
  239. package/dist/chunks/{schema-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{schema-2cr5jxfp.js → file-retention-tbcankzb.js} +9 -9
  241. package/dist/chunks/{schema-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{schema-f00jbxzz.js → file-retention-tcxthdpc.js} +20 -20
  243. package/dist/chunks/{schema-me8n0gqn.js → file-retention-tebfwd6f.js} +17 -17
  244. package/dist/chunks/{schema-tjykrgmx.js → file-retention-tjykrgmx.js} +1 -1
  245. package/dist/chunks/{schema-6qptncg2.js → file-retention-tmm76dnc.js} +12 -12
  246. package/dist/chunks/{schema-wf52tegj.js → file-retention-tmphv92d.js} +41 -41
  247. package/dist/chunks/{schema-t0dq411k.js → file-retention-tt4eawst.js} +3 -3
  248. package/dist/chunks/{schema-pe5crvt1.js → file-retention-tvgknxm1.js} +11 -11
  249. package/dist/chunks/{schema-23bjxdcp.js → file-retention-twadq4ng.js} +24 -24
  250. package/dist/chunks/{schema-1hnatcq2.js → file-retention-vev8ym6q.js} +6 -6
  251. package/dist/chunks/{schema-4jtjn2gj.js → file-retention-vhpcjtn1.js} +27 -27
  252. package/dist/chunks/{schema-cv95fcmp.js → file-retention-vnheh1tn.js} +5 -5
  253. package/dist/chunks/{schema-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{schema-54y1e3qg.js → file-retention-w6s4nrrc.js} +8 -8
  255. package/dist/chunks/{schema-wd87259q.js → file-retention-wd87259q.js} +1 -1
  256. package/dist/chunks/{schema-ey2qyrhf.js → file-retention-wdre2fsc.js} +21 -21
  257. package/dist/chunks/{schema-525tn4kx.js → file-retention-wg9v2026.js} +2 -2
  258. package/dist/chunks/{schema-trhjdf47.js → file-retention-wh6fxssz.js} +24 -24
  259. package/dist/chunks/{schema-2g49wpqd.js → file-retention-wn6ay9n5.js} +10 -10
  260. package/dist/chunks/{schema-se2vkk77.js → file-retention-wsppk9kq.js} +27 -27
  261. package/dist/chunks/{schema-dged69jn.js → file-retention-wt2bt8rh.js} +4 -4
  262. package/dist/chunks/{schema-dcxg8drc.js → file-retention-wwsspkj6.js} +31 -31
  263. package/dist/chunks/{schema-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{schema-e8qch614.js → file-retention-x2yzyww1.js} +28 -28
  265. package/dist/chunks/{schema-q1nkzk48.js → file-retention-xtbhkgqd.js} +32 -32
  266. package/dist/chunks/{schema-m9hdf67d.js → file-retention-xtzvz6z2.js} +30 -30
  267. package/dist/chunks/{schema-whnf76s8.js → file-retention-xvkjq10q.js} +13 -13
  268. package/dist/chunks/{schema-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{schema-fee8q97m.js → file-retention-y33rnh2q.js} +9 -9
  270. package/dist/chunks/{schema-y71avatq.js → file-retention-y71avatq.js} +1 -1
  271. package/dist/chunks/{schema-wa8a7neb.js → file-retention-y8vkqrwp.js} +1 -1
  272. package/dist/chunks/{schema-8d0pmt0f.js → file-retention-yd5ewqxr.js} +10 -10
  273. package/dist/chunks/{schema-6e958v7x.js → file-retention-yhr218qz.js} +4 -4
  274. package/dist/chunks/{schema-kaqw06zw.js → file-retention-yjfqme9d.js} +1 -1
  275. package/dist/chunks/{schema-6gdx6h15.js → file-retention-yjqf6ny1.js} +10 -10
  276. package/dist/chunks/{schema-qwh8c2js.js → file-retention-ypnagvbr.js} +11 -11
  277. package/dist/chunks/{schema-74y2dvrh.js → file-retention-z0jdk2ea.js} +38 -38
  278. package/dist/chunks/{schema-z1k01bn4.js → file-retention-z1k01bn4.js} +2 -2
  279. package/dist/chunks/{schema-29x78va6.js → file-retention-z63w68vq.js} +6 -6
  280. package/dist/chunks/{schema-01w7s3hf.js → file-retention-z78tg67p.js} +5 -5
  281. package/dist/chunks/{schema-8jn5w37c.js → file-retention-zc6h5zbx.js} +8 -8
  282. package/dist/chunks/{schema-7zsnkm1p.js → file-retention-zgvs89xm.js} +35 -35
  283. package/dist/chunks/{schema-sy7czwgb.js → file-retention-zhk34nm9.js} +6 -6
  284. package/dist/chunks/{schema-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{schema-p7xgpz7y.js → file-retention-zyjnrmzk.js} +9 -9
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +77 -77
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +19 -19
  293. package/dist/config/plugin/agent.js +115 -115
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +115 -115
  299. package/dist/config/plugin/instruction.js +85 -85
  300. package/dist/config/plugin/location-watcher.js +117 -117
  301. package/dist/config/plugin/mcp.js +124 -124
  302. package/dist/config/plugin/policy.js +114 -114
  303. package/dist/config/plugin/provider.js +113 -113
  304. package/dist/config/plugin/reference.js +117 -117
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +97 -97
  307. package/dist/config/plugin/skill.js +134 -134
  308. package/dist/config/plugin/snapshot.js +115 -115
  309. package/dist/config/plugin/source.js +115 -115
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +113 -113
  312. package/dist/config/plugin/worktree.js +116 -116
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +64 -64
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration.gen.js +47 -47
  382. package/dist/database/migration.js +49 -49
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +74 -74
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +360 -360
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +1 -1
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +88 -88
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +88 -88
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +72 -72
  406. package/dist/file-access.js +99 -99
  407. package/dist/file-mutation.js +87 -87
  408. package/dist/file-retention.js +1 -1
  409. package/dist/file.js +1 -1
  410. package/dist/filesystem/fff.bun.js +2 -2
  411. package/dist/filesystem/fff.js +1 -1
  412. package/dist/filesystem/fff.node.js +2 -2
  413. package/dist/filesystem/fff.workerd.js +2 -2
  414. package/dist/filesystem/ignore.js +1 -1
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +222 -222
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +95 -95
  419. package/dist/filesystem/watcher-binding.js +3 -3
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +96 -96
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +82 -82
  425. package/dist/generate.js +91 -91
  426. package/dist/git.js +7 -7
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +3 -3
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/id/id.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +351 -351
  451. package/dist/instruction-discovery.js +81 -81
  452. package/dist/instructions/builtins.js +82 -82
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +84 -84
  456. package/dist/job.js +77 -77
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +71 -71
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-mutation.js +99 -99
  461. package/dist/location-service-map.js +81 -81
  462. package/dist/location-services.js +348 -348
  463. package/dist/location.js +84 -84
  464. package/dist/mcp/client.js +86 -86
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +122 -122
  467. package/dist/mcp/oauth.js +3 -3
  468. package/dist/mcp/stdio.js +85 -85
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +3 -3
  471. package/dist/model-resolver.js +86 -86
  472. package/dist/model.js +8 -8
  473. package/dist/models-dev.js +82 -82
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +78 -78
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +110 -110
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +84 -84
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +73 -73
  483. package/dist/plugin/agent.js +97 -97
  484. package/dist/plugin/command.js +94 -94
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +213 -213
  487. package/dist/plugin/instance.js +5 -5
  488. package/dist/plugin/internal.js +322 -322
  489. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  490. package/dist/plugin/models-dev.js +75 -75
  491. package/dist/plugin/module.js +7 -7
  492. package/dist/plugin/optimize.js +4 -4
  493. package/dist/plugin/plan.js +97 -97
  494. package/dist/plugin/promise.js +1 -1
  495. package/dist/plugin/provider/alibaba.js +2 -2
  496. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  497. package/dist/plugin/provider/anthropic.js +2 -2
  498. package/dist/plugin/provider/azure.js +118 -118
  499. package/dist/plugin/provider/cerebras.js +2 -2
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +114 -114
  504. package/dist/plugin/provider/dynamic.js +2 -2
  505. package/dist/plugin/provider/factory.js +1 -1
  506. package/dist/plugin/provider/gateway.js +2 -2
  507. package/dist/plugin/provider/github-copilot.js +80 -80
  508. package/dist/plugin/provider/gitlab.js +3 -3
  509. package/dist/plugin/provider/google-vertex.js +2 -2
  510. package/dist/plugin/provider/kilo.js +2 -2
  511. package/dist/plugin/provider/llmgateway.js +76 -76
  512. package/dist/plugin/provider/lmstudio.js +115 -115
  513. package/dist/plugin/provider/mistral.js +2 -2
  514. package/dist/plugin/provider/modal.js +79 -79
  515. package/dist/plugin/provider/nvidia.js +2 -2
  516. package/dist/plugin/provider/ollama.js +117 -117
  517. package/dist/plugin/provider/openai-compatible.js +1 -1
  518. package/dist/plugin/provider/openai.js +80 -80
  519. package/dist/plugin/provider/opencode.js +76 -76
  520. package/dist/plugin/provider/openrouter.js +3 -3
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/sap-ai-core.js +3 -3
  523. package/dist/plugin/provider/sdk-factory.js +1 -1
  524. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  525. package/dist/plugin/provider/venice.js +2 -2
  526. package/dist/plugin/provider/vercel.js +2 -2
  527. package/dist/plugin/provider/vllm.js +117 -117
  528. package/dist/plugin/provider/xai.js +77 -77
  529. package/dist/plugin/provider/zenmux.js +2 -2
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +72 -72
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +133 -133
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +339 -339
  536. package/dist/plugin/update.js +6 -6
  537. package/dist/plugin/variant.js +4 -4
  538. package/dist/plugin/vcs/git.js +82 -82
  539. package/dist/plugin/vcs/hg.js +82 -82
  540. package/dist/plugin/warming.js +112 -112
  541. package/dist/plugin/websearch/exa.js +7 -7
  542. package/dist/plugin/websearch/firecrawl.js +6 -6
  543. package/dist/plugin/websearch/index.js +8 -8
  544. package/dist/plugin/websearch/mcp.js +4 -4
  545. package/dist/plugin/websearch/parallel.js +6 -6
  546. package/dist/plugin/websearch/tavily.js +6 -6
  547. package/dist/plugin.js +220 -220
  548. package/dist/project/schema.js +8 -8
  549. package/dist/project/sql.js +4 -4
  550. package/dist/project.js +83 -83
  551. package/dist/provider.js +5 -5
  552. package/dist/pty/protocol.js +1 -1
  553. package/dist/pty/schema.js +1 -1
  554. package/dist/pty/ticket.js +1 -1
  555. package/dist/pty.js +88 -88
  556. package/dist/reference/instructions.js +84 -84
  557. package/dist/reference.js +84 -84
  558. package/dist/repository-cache.js +76 -76
  559. package/dist/repository.js +1 -1
  560. package/dist/ripgrep/binary.js +2 -2
  561. package/dist/ripgrep.js +91 -91
  562. package/dist/rpc.js +81 -81
  563. package/dist/schema.js +1 -1
  564. package/dist/session/command.js +72 -72
  565. package/dist/session/compaction.js +127 -127
  566. package/dist/session/context.js +147 -147
  567. package/dist/session/environment.js +5 -5
  568. package/dist/session/error.js +7 -7
  569. package/dist/session/event.js +1 -1
  570. package/dist/session/execution/restart.js +219 -219
  571. package/dist/session/execution.js +122 -122
  572. package/dist/session/generate.js +148 -148
  573. package/dist/session/history.js +15 -15
  574. package/dist/session/inbox.js +88 -88
  575. package/dist/session/info.js +3 -3
  576. package/dist/session/instruction-entry.js +77 -77
  577. package/dist/session/instruction-state.js +8 -8
  578. package/dist/session/instructions.js +92 -92
  579. package/dist/session/message-updater.js +4 -4
  580. package/dist/session/message.js +1 -1
  581. package/dist/session/model-request.js +113 -113
  582. package/dist/session/model-transport.js +9 -9
  583. package/dist/session/move.js +126 -126
  584. package/dist/session/projector.js +84 -84
  585. package/dist/session/prompt.js +100 -100
  586. package/dist/session/provider-context.js +3 -3
  587. package/dist/session/revert.js +85 -85
  588. package/dist/session/run-coordinator.js +3 -3
  589. package/dist/session/runner/index.js +3 -3
  590. package/dist/session/runner/llm.js +225 -225
  591. package/dist/session/runner/max-steps.js +1 -1
  592. package/dist/session/runner/model.js +86 -86
  593. package/dist/session/runner/publish-llm-event.js +3 -3
  594. package/dist/session/runner/retry.js +110 -110
  595. package/dist/session/runner/step.js +119 -119
  596. package/dist/session/runner/to-llm-message.js +2 -2
  597. package/dist/session/schema.js +1 -1
  598. package/dist/session/session.js +169 -169
  599. package/dist/session/shell.js +131 -131
  600. package/dist/session/skill.js +98 -98
  601. package/dist/session/sql.js +5 -5
  602. package/dist/session/stats.js +71 -71
  603. package/dist/session/store.js +83 -83
  604. package/dist/session/subagent-completion.js +1 -1
  605. package/dist/session/subagent-job.js +205 -205
  606. package/dist/session/system-prompt.js +3 -3
  607. package/dist/session/title.js +149 -149
  608. package/dist/session/to-session-error.js +107 -107
  609. package/dist/session/transfer.js +213 -213
  610. package/dist/session/usage.js +1 -1
  611. package/dist/session.js +207 -207
  612. package/dist/shell/parse.js +6 -6
  613. package/dist/shell/result.js +1 -1
  614. package/dist/shell/scan.js +1 -1
  615. package/dist/shell/select.js +13 -13
  616. package/dist/shell.js +133 -133
  617. package/dist/skill/discovery.js +6 -6
  618. package/dist/skill/instructions.js +100 -100
  619. package/dist/skill.js +107 -107
  620. package/dist/snapshot.js +86 -86
  621. package/dist/state.js +1 -1
  622. package/dist/tool/html-markdown.js +1 -1
  623. package/dist/tool/http-body.js +1 -1
  624. package/dist/tool/mcp.js +119 -119
  625. package/dist/tool/plugin/edit.js +115 -115
  626. package/dist/tool/plugin/file-diff.js +1 -1
  627. package/dist/tool/plugin/glob.js +120 -120
  628. package/dist/tool/plugin/grep.js +118 -118
  629. package/dist/tool/plugin/opencode.js +3 -3
  630. package/dist/tool/plugin/patch.js +109 -109
  631. package/dist/tool/plugin/question.js +98 -98
  632. package/dist/tool/plugin/read.js +121 -121
  633. package/dist/tool/plugin/shell.js +210 -210
  634. package/dist/tool/plugin/skill.js +108 -108
  635. package/dist/tool/plugin/subagent.js +214 -214
  636. package/dist/tool/plugin/webfetch.js +105 -105
  637. package/dist/tool/plugin/websearch.js +107 -107
  638. package/dist/tool/plugin/write.js +117 -117
  639. package/dist/tool/read-filesystem.js +96 -96
  640. package/dist/tool/runtime.js +1 -1
  641. package/dist/tool-output.js +8 -8
  642. package/dist/tool.js +13 -13
  643. package/dist/util/error-summary.js +1 -1
  644. package/dist/util/error.js +1 -1
  645. package/dist/util/iife.js +1 -1
  646. package/dist/util/lazy.js +1 -1
  647. package/dist/util/slug.js +1 -1
  648. package/dist/util/token.js +1 -1
  649. package/dist/util/which.js +1 -1
  650. package/dist/util/wildcard.js +1 -1
  651. package/dist/v1/config/agent.js +7 -7
  652. package/dist/v1/config/attachment.js +4 -4
  653. package/dist/v1/config/command.js +3 -3
  654. package/dist/v1/config/config.js +16 -16
  655. package/dist/v1/config/error.js +4 -4
  656. package/dist/v1/config/formatter.js +3 -3
  657. package/dist/v1/config/layout.js +1 -1
  658. package/dist/v1/config/lsp.js +3 -3
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +4 -4
  661. package/dist/v1/config/permission.js +7 -7
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/v1/config/server.js +2 -2
  666. package/dist/v1/config/skills.js +3 -3
  667. package/dist/v1/permission.js +1 -1
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +85 -85
  670. package/dist/websearch.js +82 -82
  671. package/dist/wellknown/plugin.js +74 -74
  672. package/dist/wellknown.js +77 -77
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +78 -78
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +7 -7
  678. package/dist/worktree/refresh.js +340 -340
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree.js +89 -89
  681. package/package.json +8 -8
  682. package/dist/chunks/schema-54v3xmsq.js +0 -22
  683. package/dist/chunks/schema-ahspyapp.js +0 -247
  684. package/dist/chunks/schema-rap9a73h.js +0 -18
  685. package/dist/chunks/schema-za2svx48.js +0 -462
  686. /package/dist/chunks/{schema-0fabt78z.js → file-retention-0fabt78z.js} +0 -0
  687. /package/dist/chunks/{schema-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{schema-0vqp07g5.js → file-retention-0vqp07g5.js} +0 -0
  689. /package/dist/chunks/{schema-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{schema-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{schema-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{schema-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{schema-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{schema-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{schema-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{schema-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{schema-3asan66x.js → file-retention-3asan66x.js} +0 -0
  698. /package/dist/chunks/{schema-3t738kvx.js → file-retention-3t738kvx.js} +0 -0
  699. /package/dist/chunks/{schema-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{schema-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{schema-41nvscxy.js → file-retention-41nvscxy.js} +0 -0
  702. /package/dist/chunks/{schema-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{schema-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{schema-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{schema-53557ph1.js → file-retention-53557ph1.js} +0 -0
  706. /package/dist/chunks/{schema-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{schema-6prwharc.js → file-retention-6prwharc.js} +0 -0
  708. /package/dist/chunks/{schema-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{schema-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{schema-7zk4hah4.js → file-retention-7zk4hah4.js} +0 -0
  711. /package/dist/chunks/{schema-822emrt2.js → file-retention-822emrt2.js} +0 -0
  712. /package/dist/chunks/{schema-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{schema-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{schema-982e01ww.js → file-retention-982e01ww.js} +0 -0
  715. /package/dist/chunks/{schema-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{schema-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{schema-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{schema-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{schema-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{schema-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{schema-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{schema-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{schema-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{schema-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{schema-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{schema-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{schema-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{schema-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{schema-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{schema-df08tz66.js → file-retention-df08tz66.js} +0 -0
  731. /package/dist/chunks/{schema-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{schema-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{schema-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{schema-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{schema-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{schema-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{schema-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{schema-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{schema-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{schema-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{schema-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{schema-g86h250q.js → file-retention-g86h250q.js} +0 -0
  743. /package/dist/chunks/{schema-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{schema-hk9envan.js → file-retention-hk9envan.js} +0 -0
  745. /package/dist/chunks/{schema-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  746. /package/dist/chunks/{schema-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  747. /package/dist/chunks/{schema-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  748. /package/dist/chunks/{schema-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  749. /package/dist/chunks/{schema-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  750. /package/dist/chunks/{schema-mntxs535.js → file-retention-mntxs535.js} +0 -0
  751. /package/dist/chunks/{schema-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  752. /package/dist/chunks/{schema-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  753. /package/dist/chunks/{schema-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  754. /package/dist/chunks/{schema-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  755. /package/dist/chunks/{schema-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  756. /package/dist/chunks/{schema-p8qxwesx.js → file-retention-p8qxwesx.js} +0 -0
  757. /package/dist/chunks/{schema-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{schema-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{schema-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{schema-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{schema-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{schema-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{schema-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{schema-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{schema-se0s1eqw.js → file-retention-se0s1eqw.js} +0 -0
  766. /package/dist/chunks/{schema-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  767. /package/dist/chunks/{schema-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{schema-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  769. /package/dist/chunks/{schema-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{schema-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{schema-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{schema-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{schema-x1b8g1yb.js → file-retention-x1b8g1yb.js} +0 -0
  774. /package/dist/chunks/{schema-x61499pn.js → file-retention-x61499pn.js} +0 -0
  775. /package/dist/chunks/{schema-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{schema-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{schema-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{schema-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./schema-fv0bxyhd.js";
4
+ } from "./file-retention-h6h8wc8c.js";
5
5
  import {
6
- Service79,
7
- node84
8
- } from "./schema-6qptncg2.js";
6
+ Service77,
7
+ node82
8
+ } from "./file-retention-tmm76dnc.js";
9
9
  import {
10
- Service46,
11
- node49
12
- } from "./schema-sy7czwgb.js";
10
+ Service61,
11
+ node66
12
+ } from "./file-retention-zhk34nm9.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./schema-p8qxwesx.js";
16
+ } from "./file-retention-p8qxwesx.js";
17
17
  import {
18
- Service73,
19
- node78
20
- } from "./schema-wf52tegj.js";
18
+ Service76,
19
+ node81
20
+ } from "./file-retention-tmphv92d.js";
21
21
  import {
22
- Ref3
23
- } from "./schema-kwt11tv7.js";
22
+ Ref4
23
+ } from "./file-retention-nqvfwm7d.js";
24
24
  import {
25
- Service47,
26
- node50
27
- } from "./schema-be3ps6fk.js";
25
+ Service63,
26
+ node68
27
+ } from "./file-retention-qb3txf5b.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./schema-982e01ww.js";
30
+ } from "./file-retention-982e01ww.js";
31
31
  import {
32
- NotFoundError7
33
- } from "./schema-2cr5jxfp.js";
32
+ NotFoundError9
33
+ } from "./file-retention-tbcankzb.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./schema-mntxs535.js";
36
+ } from "./file-retention-mntxs535.js";
37
37
  import {
38
- Service43
39
- } from "./schema-kne8f3cn.js";
38
+ Service58
39
+ } from "./file-retention-afdssyjb.js";
40
40
  import {
41
- Service55,
42
- node58
43
- } from "./schema-1v896bp7.js";
41
+ Service70,
42
+ node75
43
+ } from "./file-retention-4thyt0cr.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service44,
48
- node47,
47
+ Service59,
48
+ node64,
49
49
  moveIDs2
50
- } from "./schema-8mvvefrh.js";
50
+ } from "./file-retention-4map1fd3.js";
51
51
  import {
52
- Service42,
53
- node46
54
- } from "./schema-0qvt9njx.js";
52
+ Service57,
53
+ node63
54
+ } from "./file-retention-m6jejm1p.js";
55
55
  import {
56
- node33
57
- } from "./schema-qb2yjf91.js";
56
+ node28
57
+ } from "./file-retention-jb9jk37q.js";
58
58
  import {
59
59
  __export
60
- } from "./schema-9rqn6x4v.js";
60
+ } from "./file-retention-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service28,
68
+ Service: () => Service23,
69
69
  SessionMove: () => exports_move,
70
- node: () => node32
70
+ node: () => node27
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service28 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service23 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service28, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service73;
92
- const locations = yield* Service47;
93
- const store = yield* Service55;
94
- const execution = yield* Service42;
95
- const instances = yield* Service46;
96
- const admission = yield* Service44;
91
+ const projects = yield* Service76;
92
+ const locations = yield* Service63;
93
+ const store = yield* Service70;
94
+ const execution = yield* Service57;
95
+ const instances = yield* Service61;
96
+ const admission = yield* Service59;
97
97
  const database = yield* Service80;
98
- const bus = yield* Service79;
98
+ const bus = yield* Service77;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError7({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref3.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref4.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service43.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service58.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service28.of({
136
+ return Service23.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node32 = makeGlobalNode({
167
- service: Service28,
166
+ var node27 = makeGlobalNode({
167
+ service: Service23,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node78,
173
- node50,
174
- node58,
175
- node46,
176
- node49,
177
- node47,
172
+ node81,
173
+ node68,
174
+ node75,
175
+ node63,
176
+ node66,
177
+ node64,
178
178
  node85,
179
- node84,
180
- node33
179
+ node82,
180
+ node28
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node32, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node27, exports_move };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service72,
3
- node77
4
- } from "./schema-kwt11tv7.js";
2
+ Service75,
3
+ node80
4
+ } from "./file-retention-nqvfwm7d.js";
5
5
  import {
6
6
  create3
7
- } from "./schema-kg06axw8.js";
7
+ } from "./file-retention-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service20,
17
- node: () => node24
16
+ Service: () => Service19,
17
+ node: () => node22
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode-ai/util/process";
24
- class Service20 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service19 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service20, Effect.gen(function* () {
27
- const location = yield* Service72;
26
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
27
+ const location = yield* Service75;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service20.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service19.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node24 = makeLocationNode({
91
- service: Service20,
90
+ var node22 = makeLocationNode({
91
+ service: Service19,
92
92
  layer,
93
- deps: [node77, AppProcess.node]
93
+ deps: [node80, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service20, node24, exports_formatter2 };
96
+ export { Service19, node22, exports_formatter2 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./schema-54m6nc3n.js";
5
+ } from "./file-retention-1wcfs5an.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./schema-hsq9qkqb.js";
3
+ } from "./file-retention-7bz1waha.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin26
12
+ Plugin: () => Plugin41
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode-ai/ai";
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin26 = define({
32
+ var Plugin41 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin26, exports_plan };
109
+ export { Plugin41, exports_plan };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./schema-p8qxwesx.js";
4
+ } from "./file-retention-p8qxwesx.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./schema-y71avatq.js";
7
+ } from "./file-retention-y71avatq.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-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: () => Service74,
18
+ Service: () => Service78,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node79
22
+ node: () => node83
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 Service74 extends Context.Service()("@opencode/Git") {
88
+ class Service78 extends Context.Service()("@opencode/Git") {
89
89
  }
90
- var layer = Layer.effect(Service74, Effect.gen(function* () {
90
+ var layer = Layer.effect(Service78, 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(Service74, Effect.gen(function* () {
409
409
  kind: index === 0 ? "main" : "linked"
410
410
  }));
411
411
  });
412
- return Service74.of({
412
+ return Service78.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(Service74, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node79 = makeGlobalNode({ service: Service74, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node83 = makeGlobalNode({ service: Service78, 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, Service74, node79, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured7,
11
- layer: () => layer23,
12
- make: () => make20,
13
- node: () => node67,
10
+ configured: () => configured5,
11
+ layer: () => layer15,
12
+ make: () => make15,
13
+ node: () => node38,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make20()
19
+ defaultValue: () => make15()
20
20
  });
21
- function make20(input = {}) {
21
+ function make15(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make20(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer23 = (input) => Layer.succeed(Metadata2, make20(input));
32
- var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
33
- var node67 = configured7();
31
+ var layer15 = (input) => Layer.succeed(Metadata2, make15(input));
32
+ var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer15(input), deps: [] });
33
+ var node38 = configured5();
34
34
 
35
- export { Metadata2, make20, useragent2, layer23, configured7, node67, exports_app };
35
+ export { Metadata2, make15, useragent2, layer15, configured5, node38, exports_app };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID17
3
- } from "./schema-xfrwv263.js";
2
+ ID18
3
+ } from "./file-retention-9019yept.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./schema-x1b8g1yb.js";
6
+ } from "./file-retention-x1b8g1yb.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID17.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID18.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID17.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID18.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-ga3x3tkz.js";
3
+ } from "./file-retention-emmsgc7p.js";
4
4
  import {
5
- Service79
6
- } from "./schema-6qptncg2.js";
5
+ Service77
6
+ } from "./file-retention-tmm76dnc.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./schema-dcxg8drc.js";
9
+ Event19
10
+ } from "./file-retention-wwsspkj6.js";
11
11
  import {
12
- ID10,
12
+ ID8,
13
13
  MethodID2
14
- } from "./schema-vwd3d859.js";
14
+ } from "./file-retention-dtz2xhtw.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./schema-pjvnvgmy.js";
18
+ } from "./file-retention-pjvnvgmy.js";
19
19
  import {
20
- ID17,
20
+ ID18,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./schema-xfrwv263.js";
23
+ } from "./file-retention-9019yept.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID10.make("openai"),
47
+ integrationID: ID8.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID10.make("openai"),
120
+ integrationID: ID8.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,10 +159,10 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin3 = define({
162
+ var OpenAIPlugin2 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service79;
165
+ const bus = yield* Service77;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID17.openai);
181
+ const item = evt.provider.get(ID18.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -221,9 +221,9 @@ var OpenAIPlugin3 = define({
221
221
  evt.baseURL = codexBaseURL;
222
222
  evt.headers.originator = "opencode";
223
223
  evt.headers["session-id"] = evt.sessionID;
224
- }), { providerID: ID17.openai });
224
+ }), { providerID: ID18.openai });
225
225
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
226
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
227
227
  })
228
228
  });
229
229
  function headers(contentType, app) {
@@ -314,4 +314,4 @@ function claim(token) {
314
314
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
315
315
  }
316
316
 
317
- export { OpenAIPlugin3 };
317
+ export { OpenAIPlugin2 };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service70
3
- } from "./schema-trhjdf47.js";
2
+ Service40
3
+ } from "./file-retention-wh6fxssz.js";
4
4
  import {
5
5
  Service18,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./schema-fee8q97m.js";
8
+ } from "./file-retention-y33rnh2q.js";
9
9
  import {
10
- Service20
11
- } from "./schema-w7xrk89n.js";
10
+ Service19
11
+ } from "./file-retention-e4fe74de.js";
12
12
  import {
13
- Service54
14
- } from "./schema-hsq9qkqb.js";
13
+ Service69
14
+ } from "./file-retention-7bz1waha.js";
15
15
  import {
16
- Service19
17
- } from "./schema-yjw6p547.js";
16
+ Service17
17
+ } from "./file-retention-f268p0jz.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./schema-6prwharc.js";
20
+ } from "./file-retention-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./schema-9rqn6x4v.js";
23
+ } from "./file-retention-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input2,
29
- Output: () => Output2,
30
- Plugin: () => Plugin33,
28
+ Input: () => Input6,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin23,
31
31
  WriteTool: () => exports_write,
32
- name: () => name2,
33
- toModelContent: () => toModelContent2
32
+ name: () => name6,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode-ai/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode-ai/util/bom";
38
- var name2 = "write";
39
- var Input2 = Schema.Struct({
38
+ var name6 = "write";
39
+ var Input6 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output2 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin33 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin23 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service19;
55
+ const access = yield* Service17;
56
56
  const fileMutation = yield* Service18;
57
- const environment = yield* Service70;
58
- const formatter = yield* Service20;
59
- const permission = yield* Service54;
57
+ const environment = yield* Service40;
58
+ const formatter = yield* Service19;
59
+ const permission = yield* Service69;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name2,
61
+ name: name6,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input2,
69
- output: Output2,
68
+ input: Input6,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name2, Input2, Output2, toModelContent2, Plugin33, exports_write };
101
+ export { name6, Input6, Output5, toModelContent4, Plugin23, exports_write };