@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,32 +1,32 @@
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
6
  create3
7
- } from "./schema-kg06axw8.js";
7
+ } from "./file-retention-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./schema-hsq9qkqb.js";
10
+ } from "./file-retention-7bz1waha.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event8,
21
- ID: () => ID5,
22
- Info: () => Info7,
20
+ Event: () => Event11,
21
+ ID: () => ID7,
22
+ Info: () => Info10,
23
23
  Name: () => Name2,
24
- Service: () => Service40,
24
+ Service: () => Service52,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source3,
26
+ Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node44,
29
+ node: () => node58,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode-ai/schema/skill";
37
- import { Event as Event8 } from "@opencode-ai/schema/skill";
37
+ import { Event as Event11 } from "@opencode-ai/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source3 = Skill.Source;
42
- var Info7 = Skill.Info;
43
- var ID5 = Skill.ID;
41
+ var Source4 = Skill.Source;
42
+ var Info10 = Skill.Info;
43
+ var ID7 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service40 extends Context.Service()("@opencode/Skill") {
74
+ class Service52 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service40, Effect.gen(function* () {
77
- const bus = yield* Service79;
76
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
77
+ const bus = yield* Service77;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID5.make(id)),
83
+ get: (id) => editor.skills.get(ID7.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID5.make(id));
88
+ const current = editor.skills.get(ID7.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID5.make(id);
92
+ current.id = ID7.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID5.make(id));
95
+ editor.skills.delete(ID7.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service40.of({
100
+ return Service52.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node44 = makeLocationNode({
112
- service: Service40,
111
+ var node58 = makeLocationNode({
112
+ service: Service52,
113
113
  layer,
114
- deps: [node84]
114
+ deps: [node82]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service40, node44, exports_skill5, Event8 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID7, Name2, available2, toModelOutput3, prepare3, Service52, node58, exports_skill5, Event11 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node67
5
- } from "./schema-ga3x3tkz.js";
4
+ node38
5
+ } from "./file-retention-emmsgc7p.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./schema-rqdcv1n1.js";
9
+ } from "./file-retention-bx5n9ey0.js";
10
10
  import {
11
- Service69,
12
- node73
13
- } from "./schema-54y1e3qg.js";
11
+ Service72,
12
+ node77
13
+ } from "./file-retention-w6s4nrrc.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./schema-hsq9qkqb.js";
16
+ } from "./file-retention-7bz1waha.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./schema-qwh8c2js.js";
19
+ } from "./file-retention-ypnagvbr.js";
20
20
  import {
21
- Error4
22
- } from "./schema-23bjxdcp.js";
21
+ Error3
22
+ } from "./file-retention-twadq4ng.js";
23
23
  import {
24
- Service32,
25
- node37
26
- } from "./schema-1nt798q2.js";
24
+ Service26,
25
+ node31
26
+ } from "./file-retention-dyqxbeha.js";
27
27
  import {
28
- make15
29
- } from "./schema-hjt4xg1x.js";
28
+ make14
29
+ } from "./file-retention-nhy5jxhy.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./schema-v72m8j26.js";
32
+ } from "./file-retention-34jntwha.js";
33
33
  import {
34
34
  __export
35
- } from "./schema-9rqn6x4v.js";
35
+ } from "./file-retention-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service30,
40
+ Service: () => Service25,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer12,
45
- node: () => node35,
44
+ layer: () => layer10,
45
+ node: () => node30,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
@@ -62,7 +62,7 @@ var baseTranscript2 = (input) => {
62
62
  return {
63
63
  providerMetadataKey,
64
64
  system: [
65
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
65
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
66
66
  input.initial
67
67
  ].filter((part) => part.length > 0).map(SystemPart.make),
68
68
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
189
189
  return HttpClientResponse.fromWeb(sent, after.response);
190
190
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
191
191
 
192
- class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
192
+ class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
193
193
  }
194
- var layer12 = Layer.effect(Service30, Effect.gen(function* () {
195
- const hooks = yield* Service69;
196
- const transport = yield* Service32;
194
+ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
195
+ const hooks = yield* Service72;
196
+ const transport = yield* Service26;
197
197
  const app = yield* Metadata2;
198
198
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
199
199
  const session = input.scope.session;
@@ -201,7 +201,7 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
201
201
  const model = resolved.model;
202
202
  const tools = input.scope.tools ?? {
203
203
  definitions: [],
204
- execute: () => new Error4({ message: "Tools are not available for this request" })
204
+ execute: () => new Error3({ message: "Tools are not available for this request" })
205
205
  };
206
206
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
207
207
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -261,12 +261,12 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
261
261
  executeTool
262
262
  };
263
263
  });
264
- return Service30.of({ prepare });
264
+ return Service25.of({ prepare });
265
265
  }));
266
- var node35 = makeLocationNode({
267
- service: Service30,
268
- layer: layer12,
269
- deps: [node73, node37, node67]
266
+ var node30 = makeLocationNode({
267
+ service: Service25,
268
+ layer: layer10,
269
+ deps: [node77, node31, node38]
270
270
  });
271
271
 
272
- export { baseTranscript2, unsupportedParts2, boundImages2, Service30, layer12, node35, exports_model_request };
272
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service25, layer10, node30, exports_model_request };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID17,
2
+ ID18,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./schema-xfrwv263.js";
5
+ } from "./file-retention-9019yept.js";
6
6
  import {
7
- ID16
8
- } from "./schema-yx2cz2pp.js";
7
+ ID15
8
+ } from "./file-retention-4xzh45c0.js";
9
9
  import {
10
- Service79
11
- } from "./schema-6qptncg2.js";
10
+ Service77
11
+ } from "./file-retention-tmm76dnc.js";
12
12
  import {
13
13
  OAuth3,
14
- Event20
15
- } from "./schema-dcxg8drc.js";
14
+ Event19
15
+ } from "./file-retention-wwsspkj6.js";
16
16
  import {
17
- ID10,
17
+ ID8,
18
18
  MethodID2
19
- } from "./schema-vwd3d859.js";
19
+ } from "./file-retention-dtz2xhtw.js";
20
20
  import {
21
- Service59
22
- } from "./schema-hys3c6ky.js";
21
+ Service65
22
+ } from "./file-retention-p94mrc9t.js";
23
23
  import {
24
24
  get3
25
- } from "./schema-20evr3mp.js";
25
+ } from "./file-retention-gdjb7na3.js";
26
26
  import {
27
27
  useragent2
28
- } from "./schema-ga3x3tkz.js";
28
+ } from "./file-retention-emmsgc7p.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID10.make("github-copilot"),
60
+ integrationID: ID8.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,8 +155,8 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service59;
159
- const bus = yield* Service79;
158
+ const catalog = yield* Service65;
159
+ const bus = yield* Service77;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
162
162
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID17.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID17.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID18.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
176
  try: () => get3(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID17.githubCopilot);
190
+ const item = evt.provider.get(ID18.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID16.make(id)))
195
+ if (!loaded.models.has(ID15.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID16.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID16.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID17.githubCopilot)
220
+ if (evt.model.providerID !== ID18.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID17.githubCopilot)
229
+ if (evt.model.providerID !== ID18.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID17.githubCopilot });
239
+ }), { providerID: ID18.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID17.githubCopilot)
241
+ if (evt.model.providerID !== ID18.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID17.githubCopilot });
249
+ }), { providerID: ID18.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID17.githubCopilot)
251
+ if (evt.model.providerID !== ID18.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service79
3
- } from "./schema-6qptncg2.js";
2
+ Service77
3
+ } from "./file-retention-tmm76dnc.js";
4
4
  import {
5
5
  OAuth3,
6
- Event20
7
- } from "./schema-dcxg8drc.js";
6
+ Event19
7
+ } from "./file-retention-wwsspkj6.js";
8
8
  import {
9
- ID10,
9
+ ID8,
10
10
  MethodID2
11
- } from "./schema-vwd3d859.js";
11
+ } from "./file-retention-dtz2xhtw.js";
12
12
  import {
13
- ID17,
13
+ ID18,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./schema-xfrwv263.js";
16
+ } from "./file-retention-9019yept.js";
17
17
 
18
18
  // src/plugin/provider/opencode.ts
19
19
  import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
43
43
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
44
44
  function oauth(http) {
45
45
  return {
46
- integrationID: ID10.make("opencode"),
46
+ integrationID: ID8.make("opencode"),
47
47
  method: {
48
48
  id: methodID,
49
49
  type: "oauth",
@@ -84,7 +84,7 @@ function oauth(http) {
84
84
  var OpencodePlugin2 = define({
85
85
  id: "opencode.provider.opencode",
86
86
  effect: Effect.fn(function* (ctx) {
87
- const bus = yield* Service79;
87
+ const bus = yield* Service77;
88
88
  const http = yield* HttpClient.HttpClient;
89
89
  const loading = Semaphore.makeUnsafe(1);
90
90
  let connected = false;
@@ -111,7 +111,7 @@ var OpencodePlugin2 = define({
111
111
  catalog.provider.update(providerID, (provider) => {
112
112
  if (source && source.provider !== provider)
113
113
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
114
- provider.integrationID = ID10.make("opencode");
114
+ provider.integrationID = ID8.make("opencode");
115
115
  if (item.canonical !== undefined)
116
116
  provider.canonical = item.canonical;
117
117
  if (item.name !== undefined)
@@ -174,7 +174,7 @@ var OpencodePlugin2 = define({
174
174
  });
175
175
  }
176
176
  }
177
- const item = catalog.provider.get(ID17.opencode);
177
+ const item = catalog.provider.get(ID18.opencode);
178
178
  if (!item)
179
179
  return;
180
180
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
195
195
  }
196
196
  });
197
197
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
198
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
198
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
199
  })
200
200
  });
201
201
  function fetchProviders(http, value) {
@@ -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/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./schema-y71avatq.js";
3
+ } from "./file-retention-y71avatq.js";
4
4
  import {
5
- Service70,
6
- node74
7
- } from "./schema-trhjdf47.js";
5
+ Service40,
6
+ node45
7
+ } from "./file-retention-wh6fxssz.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
16
  Service: () => Service18,
17
- node: () => node22,
17
+ node: () => node21,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -35,7 +35,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
37
  var layer = Layer.effect(Service18, Effect.gen(function* () {
38
- const environment = yield* Service70;
38
+ const environment = yield* Service40;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -58,6 +58,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
58
58
  })));
59
59
  return Service18.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node22 = makeLocationNode({ service: Service18, layer, deps: [node74] });
61
+ var node21 = makeLocationNode({ service: Service18, layer, deps: [node45] });
62
62
 
63
- export { Service18, readText2, syncTextBom2, node22, exports_file_mutation };
63
+ export { Service18, readText2, syncTextBom2, node21, exports_file_mutation };
@@ -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/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./schema-xfrwv263.js";
4
+ } from "./file-retention-9019yept.js";
5
5
 
6
6
  // src/plugin/provider/nvidia.ts
7
7
  import { Effect } from "effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID16
3
- } from "./schema-yx2cz2pp.js";
2
+ ID15
3
+ } from "./file-retention-4xzh45c0.js";
4
4
  import {
5
- Service66
6
- } from "./schema-vecstcyh.js";
5
+ Service53
6
+ } from "./file-retention-gztfqjt6.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./schema-1s4vv42h.js";
9
+ } from "./file-retention-0dfa6scd.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make9(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service66;
29
+ const config = yield* Service53;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  catalog.model.update(providerID, item.id, (model) => {
56
- model.modelID = ID16.make(item.id);
56
+ model.modelID = ID15.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make7();
115
+ var VLLMPlugin2 = make9();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make7, VLLMPlugin2 };
137
+ export { make9, VLLMPlugin2 };
@@ -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/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make19,
21
+ make: () => make21,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make19(source) {
53
+ function make21(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./schema-xfrwv263.js";
4
+ } from "./file-retention-9019yept.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";