@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,52 +1,52 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./schema-6qptncg2.js";
2
+ Service77,
3
+ node82
4
+ } from "./file-retention-tmm76dnc.js";
5
5
  import {
6
- node71
7
- } from "./schema-kqtq9r6d.js";
6
+ node60
7
+ } from "./file-retention-1p48dy4j.js";
8
8
  import {
9
- Service3,
10
- node6
11
- } from "./schema-wbvdvtzj.js";
9
+ Service4,
10
+ node7
11
+ } from "./file-retention-0r296h1k.js";
12
12
  import {
13
- Service33
14
- } from "./schema-rap9a73h.js";
13
+ Service31
14
+ } from "./file-retention-dxj72tfx.js";
15
15
  import {
16
- node17,
16
+ node24,
17
17
  ID3
18
- } from "./schema-g1bsba7w.js";
18
+ } from "./file-retention-0287bcr4.js";
19
19
  import {
20
- Service7,
21
- node10
22
- } from "./schema-2a1acymz.js";
20
+ Service5,
21
+ node8
22
+ } from "./file-retention-rae26gbb.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./schema-za2svx48.js";
26
+ } from "./file-retention-qw80c7h1.js";
27
27
  import {
28
- make5,
28
+ make4,
29
29
  LoadError2
30
- } from "./schema-vrwt7trm.js";
30
+ } from "./file-retention-7bnvhct6.js";
31
31
  import {
32
32
  Updated2,
33
- Service6,
34
- node9
35
- } from "./schema-xzzg2aw3.js";
33
+ Service10,
34
+ node13
35
+ } from "./file-retention-1jh2bxey.js";
36
36
  import {
37
- Service5,
38
- node8
39
- } from "./schema-xgjy9czn.js";
37
+ Service11,
38
+ node14
39
+ } from "./file-retention-m1z2avc0.js";
40
40
  import {
41
41
  __export
42
- } from "./schema-9rqn6x4v.js";
42
+ } from "./file-retention-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
46
46
  __export(exports_supervisor, {
47
47
  PluginSupervisor: () => exports_supervisor,
48
48
  layer: () => layer4,
49
- node: () => node5
49
+ node: () => node6
50
50
  });
51
51
  import { Event } from "@opencode-ai/schema/config";
52
52
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  };
126
126
  });
127
127
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service33;
129
- const sdk = yield* Service6;
130
- const instance = yield* Service7;
131
- const sources = yield* Service3;
132
- const modules = yield* make5();
133
- const bus = yield* Service79;
134
- const updates = yield* Service5;
128
+ const registry = yield* Service31;
129
+ const sdk = yield* Service10;
130
+ const instance = yield* Service5;
131
+ const sources = yield* Service4;
132
+ const modules = yield* make4();
133
+ const bus = yield* Service77;
134
+ const updates = yield* Service11;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node17,
210
- node9,
211
- node10,
212
- node6,
209
+ node24,
210
+ node13,
213
211
  node8,
214
- node84,
212
+ node7,
213
+ node14,
214
+ node82,
215
215
  Npm.node,
216
- node71,
216
+ node60,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -221,6 +221,6 @@ function pluginSource(target) {
221
221
  return { type: "local", path: target };
222
222
  return { type: "package", target };
223
223
  }
224
- var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
224
+ var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
225
225
 
226
- export { layer4, node5, exports_supervisor };
226
+ export { layer4, node6, exports_supervisor };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service79
3
- } from "./schema-6qptncg2.js";
2
+ Service77
3
+ } from "./file-retention-tmm76dnc.js";
4
4
  import {
5
- Service41
6
- } from "./schema-p7v84xw5.js";
5
+ Service42
6
+ } from "./file-retention-jpvwbg27.js";
7
7
  import {
8
- Error4
9
- } from "./schema-23bjxdcp.js";
8
+ Error3
9
+ } from "./file-retention-twadq4ng.js";
10
10
  import {
11
- Service68
12
- } from "./schema-m9p8h4jk.js";
11
+ Service39
12
+ } from "./file-retention-r8xk55zx.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./schema-2cr5jxfp.js";
15
+ } from "./file-retention-tbcankzb.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./schema-mntxs535.js";
18
+ } from "./file-retention-mntxs535.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./schema-xrtvrd4c.js";
21
+ } from "./file-retention-btht280w.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./schema-tjykrgmx.js";
24
+ } from "./file-retention-tjykrgmx.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./schema-3qzbfqsy.js";
27
+ } from "./file-retention-3qzbfqsy.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./schema-bnfahk6g.js";
30
+ } from "./file-retention-1r60bktf.js";
31
31
  import {
32
32
  __export
33
- } from "./schema-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
54
  var make3 = Effect.gen(function* () {
55
- const bus = yield* Service79;
55
+ const bus = yield* Service77;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service41;
58
- const toolOutput = yield* Service68;
57
+ const snapshots = yield* Service42;
58
+ const toolOutput = yield* Service39;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error4({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./schema-xfrwv263.js";
4
+ } from "./file-retention-9019yept.js";
5
5
  import {
6
6
  __export
7
- } from "./schema-9rqn6x4v.js";
7
+ } from "./file-retention-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/variant.ts
10
10
  var exports_variant = {};
11
11
  __export(exports_variant, {
12
- Plugin: () => Plugin30,
12
+ Plugin: () => Plugin43,
13
13
  VariantPlugin: () => exports_variant,
14
14
  generate: () => generate2
15
15
  });
16
16
  import { Effect } from "effect";
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
18
18
  import { Model } from "@opencode-ai/schema/model";
19
- var Plugin30 = define({
19
+ var Plugin43 = define({
20
20
  id: "opencode.variant",
21
21
  effect: Effect.fn(function* (ctx) {
22
22
  yield* ctx.catalog.transform((catalog) => {
@@ -52,4 +52,4 @@ function generate2(model, provider) {
52
52
  }));
53
53
  }
54
54
 
55
- export { Plugin30, generate2, exports_variant };
55
+ export { Plugin43, generate2, exports_variant };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./schema-fv0bxyhd.js";
4
+ } from "./file-retention-h6h8wc8c.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make19,
8
+ make21,
9
9
  combine2
10
- } from "./schema-6e958v7x.js";
10
+ } from "./file-retention-yhr218qz.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./schema-hrvm11jt.js";
13
+ } from "./file-retention-hrvm11jt.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info6,
21
+ Info: () => Info4,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service31,
25
+ Service: () => Service24,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node36,
29
+ node: () => node29,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode-ai/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info6 = InstructionEntry.Info;
37
+ var Info4 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service31 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service24 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make19({
64
+ var source = (entry) => make21({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make19({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service31, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
79
79
  const { db } = yield* Service80;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service31.of({ list, put, remove, load });
111
+ return Service24.of({ list, put, remove, load });
112
112
  }));
113
- var node36 = makeLocationNode({ service: Service31, layer, deps: [node85] });
113
+ var node29 = makeLocationNode({ service: Service24, layer, deps: [node85] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node36, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service24, node29, exports_instruction_entry };
@@ -1,114 +1,114 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./schema-fv0bxyhd.js";
4
+ } from "./file-retention-h6h8wc8c.js";
5
5
  import {
6
- ID9,
7
- Service57,
8
- node60
9
- } from "./schema-ep3g8qaw.js";
6
+ ID13,
7
+ Service73,
8
+ node78
9
+ } from "./file-retention-5gejhz5w.js";
10
10
  import {
11
- Service59,
12
- node62
13
- } from "./schema-hys3c6ky.js";
11
+ Service65,
12
+ node70
13
+ } from "./file-retention-p94mrc9t.js";
14
14
  import {
15
15
  combine2
16
- } from "./schema-6e958v7x.js";
16
+ } from "./file-retention-yhr218qz.js";
17
17
  import {
18
18
  make13
19
- } from "./schema-e51fc25h.js";
19
+ } from "./file-retention-8tbmtt69.js";
20
20
  import {
21
- Service63,
22
- node66
23
- } from "./schema-z44293nx.js";
21
+ Service47,
22
+ node53
23
+ } from "./file-retention-qzv1jgwe.js";
24
24
  import {
25
- Service72,
26
- node77
27
- } from "./schema-kwt11tv7.js";
25
+ Service75,
26
+ node80
27
+ } from "./file-retention-nqvfwm7d.js";
28
28
  import {
29
- Service36,
30
- node40
31
- } from "./schema-k7e3e2sr.js";
29
+ Service27,
30
+ node32
31
+ } from "./file-retention-ff89hqjf.js";
32
32
  import {
33
33
  AgentNotFoundError2
34
- } from "./schema-2cr5jxfp.js";
34
+ } from "./file-retention-tbcankzb.js";
35
35
  import {
36
36
  provenance2
37
- } from "./schema-rqdcv1n1.js";
37
+ } from "./file-retention-bx5n9ey0.js";
38
38
  import {
39
39
  entriesForRunner2
40
- } from "./schema-pe5crvt1.js";
41
- import {
42
- Service55,
43
- node58
44
- } from "./schema-1v896bp7.js";
40
+ } from "./file-retention-tvgknxm1.js";
45
41
  import {
46
- Service52,
47
- node55
48
- } from "./schema-23bjxdcp.js";
49
- import {
50
- Service38,
51
- node42
52
- } from "./schema-9k252bfj.js";
42
+ Service70,
43
+ node75
44
+ } from "./file-retention-4thyt0cr.js";
53
45
  import {
54
46
  Service35,
55
- node39
56
- } from "./schema-vt9wfr9s.js";
57
- import {
58
- Service34,
59
- node38
60
- } from "./schema-8gsst550.js";
47
+ node40
48
+ } from "./file-retention-twadq4ng.js";
61
49
  import {
62
- Service37,
63
- node41
64
- } from "./schema-0r9t8f77.js";
50
+ Service29,
51
+ node34
52
+ } from "./file-retention-1ggjvb61.js";
65
53
  import {
66
- Service31,
67
- node36
68
- } from "./schema-zmgxegv8.js";
54
+ Service28,
55
+ node33
56
+ } from "./file-retention-q38gs549.js";
69
57
  import {
70
58
  Service30,
71
59
  node35
72
- } from "./schema-q1nkzk48.js";
60
+ } from "./file-retention-sqypgbm1.js";
61
+ import {
62
+ Service33,
63
+ node37
64
+ } from "./file-retention-mr56sp72.js";
65
+ import {
66
+ Service24,
67
+ node29
68
+ } from "./file-retention-kpev0jfb.js";
69
+ import {
70
+ Service25,
71
+ node30
72
+ } from "./file-retention-xtbhkgqd.js";
73
73
  import {
74
- Service45,
75
- node48
76
- } from "./schema-zy7s2m3e.js";
74
+ Service60,
75
+ node65
76
+ } from "./file-retention-5sdg7nhe.js";
77
77
  import {
78
78
  __export
79
- } from "./schema-9rqn6x4v.js";
79
+ } from "./file-retention-9rqn6x4v.js";
80
80
 
81
81
  // src/session/context.ts
82
82
  var exports_context = {};
83
83
  __export(exports_context, {
84
- Service: () => Service29,
84
+ Service: () => Service22,
85
85
  SessionContext: () => exports_context,
86
- node: () => node34
86
+ node: () => node26
87
87
  });
88
88
  import { Model } from "@opencode-ai/schema/model";
89
89
  import { Context, Effect, Layer } from "effect";
90
90
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
91
- class Service29 extends Context.Service()("@opencode/SessionContext") {
91
+ class Service22 extends Context.Service()("@opencode/SessionContext") {
92
92
  }
93
- var layer = Layer.effect(Service29, Effect.gen(function* () {
94
- const agents = yield* Service57;
95
- const builtins = yield* Service36;
96
- const catalog = yield* Service59;
93
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
94
+ const agents = yield* Service73;
95
+ const builtins = yield* Service27;
96
+ const catalog = yield* Service65;
97
97
  const db = (yield* Service80).db;
98
- const discovery = yield* Service63;
99
- const entries = yield* Service31;
100
- const location = yield* Service72;
101
- const mcpInstructions = yield* Service35;
102
- const mcpTools = yield* Service38;
103
- const models = yield* Service45;
104
- const modelRequests = yield* Service30;
105
- const referenceInstructions = yield* Service34;
106
- const skillInstructions = yield* Service37;
107
- const store = yield* Service55;
108
- const registry = yield* Service52;
98
+ const discovery = yield* Service47;
99
+ const entries = yield* Service24;
100
+ const location = yield* Service75;
101
+ const mcpInstructions = yield* Service28;
102
+ const mcpTools = yield* Service29;
103
+ const models = yield* Service60;
104
+ const modelRequests = yield* Service25;
105
+ const referenceInstructions = yield* Service30;
106
+ const skillInstructions = yield* Service33;
107
+ const store = yield* Service70;
108
+ const registry = yield* Service35;
109
109
  const resolveModel = (session) => models.resolve(session, catalog.model.available);
110
110
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
111
- const agent = yield* agents.get(ID9.make("title"));
111
+ const agent = yield* agents.get(ID13.make("title"));
112
112
  if (!agent)
113
113
  return;
114
114
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
183
183
  tools: selection.tools
184
184
  };
185
185
  });
186
- return Service29.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
186
+ return Service22.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
187
187
  }));
188
188
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
189
- var node34 = makeLocationNode({
190
- service: Service29,
189
+ var node26 = makeLocationNode({
190
+ service: Service22,
191
191
  layer,
192
192
  deps: [
193
- node60,
194
- node62,
193
+ node78,
194
+ node70,
195
195
  node85,
196
- node40,
197
- node66,
198
- node36,
199
- node77,
200
- node39,
201
- node42,
202
- node38,
203
- node48,
196
+ node32,
197
+ node53,
198
+ node29,
199
+ node80,
200
+ node33,
201
+ node34,
204
202
  node35,
205
- node58,
206
- node41,
207
- node55
203
+ node65,
204
+ node30,
205
+ node75,
206
+ node37,
207
+ node40
208
208
  ]
209
209
  });
210
210
 
211
- export { Service29, node34, exports_context };
211
+ export { Service22, node26, exports_context };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./schema-y71avatq.js";
3
+ } from "./file-retention-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service5,
13
- node: () => node8
12
+ Service: () => Service11,
13
+ node: () => node14
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode-ai/util/npm";
17
17
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service5 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service11 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service5, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service5.of({
27
+ return Service11.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node8 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
52
+ var node14 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
53
53
 
54
- export { Service5, node8, exports_update };
54
+ export { Service11, node14, exports_update };