@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,57 +1,57 @@
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
- Service72,
7
- node77
8
- } from "./schema-kwt11tv7.js";
6
+ Service75,
7
+ node80
8
+ } from "./file-retention-nqvfwm7d.js";
9
9
  import {
10
- Service70,
11
- node74
12
- } from "./schema-trhjdf47.js";
10
+ Service40,
11
+ node45
12
+ } from "./file-retention-wh6fxssz.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./schema-gd4qta3r.js";
15
+ } from "./file-retention-gd4qta3r.js";
16
16
  import {
17
- Service75,
17
+ Service50,
18
18
  args2,
19
- node80
20
- } from "./schema-d73w0rgx.js";
19
+ node56
20
+ } from "./file-retention-sr82n7vz.js";
21
21
  import {
22
- Service69,
23
- node73
24
- } from "./schema-54y1e3qg.js";
22
+ Service72,
23
+ node77
24
+ } from "./file-retention-w6s4nrrc.js";
25
25
  import {
26
- Service65,
27
- node69
28
- } from "./schema-6926ty5t.js";
26
+ Service38,
27
+ node43
28
+ } from "./file-retention-57xtfwrp.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./schema-0vqp07g5.js";
31
+ } from "./file-retention-0vqp07g5.js";
32
32
  import {
33
33
  latest2,
34
- Service66,
35
- node70
36
- } from "./schema-vecstcyh.js";
34
+ Service53,
35
+ node59
36
+ } from "./file-retention-gztfqjt6.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./schema-m9p8h4jk.js";
40
+ } from "./file-retention-r8xk55zx.js";
41
41
  import {
42
42
  __export
43
- } from "./schema-9rqn6x4v.js";
43
+ } from "./file-retention-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError9,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service64,
51
+ Service: () => Service37,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node68
54
+ node: () => node42
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode-ai/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode-ai/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode-ai/util/fs-util";
64
64
  import { Global } from "@opencode-ai/util/global";
65
- class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service64 extends Context.Service()("@opencode/Shell") {
73
+ class Service37 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service64, Effect.gen(function* () {
90
- const bus = yield* Service79;
91
- const location = yield* Service72;
89
+ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
90
+ const bus = yield* Service77;
91
+ const location = yield* Service75;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service75;
94
- const environment = yield* Service70;
95
- const hooks = yield* Service69;
96
- const environments = yield* Service65;
97
- const config = yield* Service66;
93
+ const shell = yield* Service50;
94
+ const environment = yield* Service40;
95
+ const hooks = yield* Service72;
96
+ const environments = yield* Service38;
97
+ const config = yield* Service53;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError9({ id });
118
+ return yield* new NotFoundError5({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError9({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service64.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service37.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node68 = makeLocationNode({
320
- service: Service64,
319
+ var node42 = makeLocationNode({
320
+ service: Service37,
321
321
  layer: layer(),
322
322
  deps: [
323
- node84,
324
- node77,
325
- Global.node,
323
+ node82,
326
324
  node80,
327
- node74,
328
- node73,
329
- node69,
330
- node70,
325
+ Global.node,
326
+ node56,
327
+ node45,
328
+ node77,
329
+ node43,
330
+ node59,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError9, RETENTION2, DIRECTORY2, Service64, cleanup2, node68, exports_shell4 };
335
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service37, cleanup2, node42, exports_shell4 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./schema-kg06axw8.js";
3
+ } from "./file-retention-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service9,
13
- node: () => node12
12
+ Service: () => Service7,
13
+ node: () => node10
14
14
  });
15
15
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service9, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service9.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node12 = makeLocationNode({ service: Service9, layer, deps: [] });
51
+ var node10 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service9, node12, exports_location_watcher_policy };
53
+ export { Service7, node10, exports_location_watcher_policy };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./schema-y71avatq.js";
3
+ } from "./file-retention-y71avatq.js";
4
4
  import {
5
- Service79,
6
- node84
7
- } from "./schema-6qptncg2.js";
5
+ Service77,
6
+ node82
7
+ } from "./file-retention-tmm76dnc.js";
8
8
  import {
9
- Event20,
10
- Service78,
11
- node83
12
- } from "./schema-dcxg8drc.js";
9
+ Event19,
10
+ Service74,
11
+ node79
12
+ } from "./file-retention-wwsspkj6.js";
13
13
  import {
14
- Service72,
15
- node77
16
- } from "./schema-kwt11tv7.js";
14
+ Service75,
15
+ node80
16
+ } from "./file-retention-nqvfwm7d.js";
17
17
  import {
18
- Service70,
19
- node74
20
- } from "./schema-trhjdf47.js";
18
+ Service40,
19
+ node45
20
+ } from "./file-retention-wh6fxssz.js";
21
21
  import {
22
- ID11,
23
- Service61,
24
- node64
25
- } from "./schema-4p7snnyp.js";
22
+ ID9,
23
+ Service67,
24
+ node72
25
+ } from "./file-retention-6nbxm2ze.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./schema-kg06axw8.js";
29
+ } from "./file-retention-kg06axw8.js";
30
30
  import {
31
- ID10,
31
+ ID8,
32
32
  MethodID2,
33
- Service60,
34
- node63
35
- } from "./schema-vwd3d859.js";
33
+ Service66,
34
+ node71
35
+ } from "./file-retention-dtz2xhtw.js";
36
36
  import {
37
37
  __export
38
- } from "./schema-9rqn6x4v.js";
38
+ } from "./file-retention-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options5,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options4,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service39,
59
+ Service: () => Service32,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured5,
66
- layer: () => layer16,
67
- node: () => node43
65
+ configured: () => configured4,
66
+ layer: () => layer14,
67
+ node: () => node36
68
68
  });
69
69
  import { Mcp } from "@opencode-ai/schema/mcp";
70
70
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID10.pipe(Schema.optional)
84
+ integrationID: ID8.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service39 extends Context.Service()("@opencode/MCP") {
168
+ class Service32 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options5 = Schema.Struct({
170
+ var Options4 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
177
- const location = yield* Service72;
178
- const environment = yield* Service70;
179
- const bus = yield* Service79;
180
- const forms = yield* Service61;
181
- const integration = yield* Service60;
182
- const credentials = yield* Service78;
176
+ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
177
+ const location = yield* Service75;
178
+ const environment = yield* Service40;
179
+ const bus = yield* Service77;
180
+ const forms = yield* Service67;
181
+ const integration = yield* Service66;
182
+ const credentials = yield* Service74;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID10.make(suffix);
194
+ const integrationID = ID8.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError4({ server: name });
219
+ return yield* new NotFoundError3({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -315,7 +315,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID11.create();
318
+ const formID = ID9.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service70, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service40, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service39.of({
590
+ return Service32.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured5(options) {
710
+ function configured4(options) {
711
711
  return makeLocationNode({
712
- service: Service39,
713
- layer: layer16(options),
714
- deps: [node77, node74, node84, node64, node63, node83]
712
+ service: Service32,
713
+ layer: layer14(options),
714
+ deps: [node80, node45, node82, node72, node71, node79]
715
715
  });
716
716
  }
717
- var node43 = configured5();
717
+ var node36 = configured4();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service39, Options5, layer16, configured5, node43, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options4, layer14, configured4, node36, exports_mcp4 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./schema-fxgpk5d8.js";
3
+ } from "./file-retention-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./schema-g4wezp1m.js";
6
+ } from "./file-retention-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./schema-x61499pn.js";
9
+ } from "./file-retention-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./schema-af5trqkr.js";
12
+ } from "./file-retention-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./schema-afrmfg78.js";
15
+ } from "./file-retention-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./schema-x0ckcb58.js";
18
+ } from "./file-retention-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-ga3x3tkz.js";
3
+ } from "./file-retention-emmsgc7p.js";
4
4
  import {
5
5
  OAuth3,
6
- Service78
7
- } from "./schema-dcxg8drc.js";
6
+ Service74
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
14
- } from "./schema-xfrwv263.js";
13
+ ID18
14
+ } from "./file-retention-9019yept.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID17.make("xai");
26
+ var providerID = ID18.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID10.make("xai"),
46
+ integrationID: ID8.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service78;
72
- yield* Effect.forEach(yield* credentials.list(ID10.make("xai")), (credential) => {
71
+ const credentials = yield* Service74;
72
+ yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -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/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,17 +1,17 @@
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,
7
+ ID15,
8
8
  VariantID2,
9
9
  Family2,
10
- Info31
11
- } from "./schema-yx2cz2pp.js";
10
+ Info29
11
+ } from "./file-retention-4xzh45c0.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models2 = {};
@@ -87,7 +87,7 @@ async function get3(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID16.make(id);
90
+ const key = ID15.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info31.make({
115
- ...Info31.default(ID17.githubCopilot, id),
114
+ return Info29.make({
115
+ ...Info29.default(ID18.githubCopilot, id),
116
116
  id,
117
- modelID: ID16.make(remote.id),
118
- providerID: ID17.githubCopilot,
117
+ modelID: ID15.make(remote.id),
118
+ providerID: ID18.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),