@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,115 +1,115 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./schema-fv0bxyhd.js";
4
+ } from "./file-retention-h6h8wc8c.js";
5
5
  import {
6
- Service79,
7
- node84
8
- } from "./schema-6qptncg2.js";
6
+ Service77,
7
+ node82
8
+ } from "./file-retention-tmm76dnc.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./schema-mntxs535.js";
11
+ } from "./file-retention-mntxs535.js";
12
12
  import {
13
13
  SessionMessageTable2
14
- } from "./schema-hrvm11jt.js";
14
+ } from "./file-retention-hrvm11jt.js";
15
15
  import {
16
16
  prepare4
17
- } from "./schema-rm3yzcsd.js";
17
+ } from "./file-retention-snxwbbja.js";
18
18
  import {
19
19
  llmClient2
20
- } from "./schema-0e0xafbb.js";
20
+ } from "./file-retention-0e0xafbb.js";
21
21
  import {
22
22
  SessionMessage2
23
- } from "./schema-982e01ww.js";
23
+ } from "./file-retention-982e01ww.js";
24
24
  import {
25
25
  StepFailedError2
26
- } from "./schema-2cr5jxfp.js";
26
+ } from "./file-retention-tbcankzb.js";
27
27
  import {
28
28
  provenance2
29
- } from "./schema-rqdcv1n1.js";
29
+ } from "./file-retention-bx5n9ey0.js";
30
30
  import {
31
31
  decodeMessageRow2,
32
32
  preview2
33
- } from "./schema-pe5crvt1.js";
33
+ } from "./file-retention-tvgknxm1.js";
34
34
  import {
35
- Service55,
36
- node58
37
- } from "./schema-1v896bp7.js";
35
+ Service70,
36
+ node75
37
+ } from "./file-retention-4thyt0cr.js";
38
38
  import {
39
- Service32,
40
- node37
41
- } from "./schema-1nt798q2.js";
39
+ Service26,
40
+ node31
41
+ } from "./file-retention-dyqxbeha.js";
42
42
  import {
43
43
  baseTranscript2
44
- } from "./schema-q1nkzk48.js";
44
+ } from "./file-retention-xtbhkgqd.js";
45
45
  import {
46
- make4
47
- } from "./schema-bnfahk6g.js";
46
+ make5
47
+ } from "./file-retention-1r60bktf.js";
48
48
  import {
49
- Service4,
50
- node7
51
- } from "./schema-8aw20fxv.js";
49
+ Service6,
50
+ node9
51
+ } from "./file-retention-1q1y40j8.js";
52
52
  import {
53
- Service29,
54
- node34
55
- } from "./schema-npx3gdza.js";
53
+ Service22,
54
+ node26
55
+ } from "./file-retention-kz0qf9hw.js";
56
56
  import {
57
57
  serialized2,
58
58
  nextPromotable2,
59
59
  promote2
60
- } from "./schema-8mvvefrh.js";
60
+ } from "./file-retention-4map1fd3.js";
61
61
  import {
62
- Service2,
62
+ Service3,
63
63
  isUntitled2,
64
- node3
65
- } from "./schema-se2vkk77.js";
64
+ node4
65
+ } from "./file-retention-wsppk9kq.js";
66
66
  import {
67
67
  DrainResult2,
68
- Service43
69
- } from "./schema-kne8f3cn.js";
68
+ Service58
69
+ } from "./file-retention-afdssyjb.js";
70
70
  import {
71
- node45
72
- } from "./schema-p7v84xw5.js";
71
+ node48
72
+ } from "./file-retention-jpvwbg27.js";
73
73
  import {
74
- node72
75
- } from "./schema-m9p8h4jk.js";
74
+ node44
75
+ } from "./file-retention-r8xk55zx.js";
76
76
  import {
77
77
  Outcome2,
78
78
  make3
79
- } from "./schema-wwqw8y3k.js";
79
+ } from "./file-retention-kaxe1s77.js";
80
80
  import {
81
- Service33
82
- } from "./schema-rap9a73h.js";
81
+ Service31
82
+ } from "./file-retention-dxj72tfx.js";
83
83
  import {
84
- node17
85
- } from "./schema-g1bsba7w.js";
84
+ node24
85
+ } from "./file-retention-0287bcr4.js";
86
86
  import {
87
87
  MAX_STEPS_PROMPT2
88
- } from "./schema-y44na4kk.js";
88
+ } from "./file-retention-y44na4kk.js";
89
89
  import {
90
90
  __export
91
- } from "./schema-9rqn6x4v.js";
91
+ } from "./file-retention-9rqn6x4v.js";
92
92
 
93
93
  // src/session/runner/llm.ts
94
94
  var exports_llm = {};
95
95
  __export(exports_llm, {
96
96
  SessionRunnerLLM: () => exports_llm,
97
- node: () => node2
97
+ node: () => node3
98
98
  });
99
99
  import { Message } from "@opencode-ai/ai";
100
100
  import { and, desc, eq, sql } from "drizzle-orm";
101
101
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
102
102
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
103
103
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
104
- var layer = Layer.effect(Service43, Effect.gen(function* () {
105
- const bus = yield* Service79;
106
- const store = yield* Service55;
107
- const context = yield* Service29;
108
- const modelTransport = yield* Service32;
104
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
105
+ const bus = yield* Service77;
106
+ const store = yield* Service70;
107
+ const context = yield* Service22;
108
+ const modelTransport = yield* Service26;
109
109
  const db = (yield* Service80).db;
110
- const compaction = yield* Service4;
111
- const plugins = yield* Service33;
112
- const title = yield* Service2;
110
+ const compaction = yield* Service6;
111
+ const plugins = yield* Service31;
112
+ const title = yield* Service3;
113
113
  const steps = yield* make3;
114
114
  const titles = yield* FiberMap.make();
115
115
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
231
231
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
232
232
  const sessionID = first.session.id;
233
233
  let assistantMessageID = SessionMessage2.ID.create();
234
- const retry = yield* make4(bus, sessionID);
234
+ const retry = yield* make5(bus, sessionID);
235
235
  let initial = first;
236
236
  let recoverOverflow = true;
237
237
  let recoverContinuation = true;
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
351
351
  }
352
352
  }
353
353
  });
354
- return Service43.of({ drain });
354
+ return Service58.of({ drain });
355
355
  }));
356
- var node2 = makeLocationNode({
357
- service: Service43,
356
+ var node3 = makeLocationNode({
357
+ service: Service58,
358
358
  layer,
359
359
  deps: [
360
- node84,
360
+ node82,
361
361
  llmClient2,
362
- node34,
363
- node37,
364
- node58,
365
- node7,
366
- node17,
367
- node3,
368
- node45,
369
- node72,
362
+ node26,
363
+ node31,
364
+ node75,
365
+ node9,
366
+ node24,
367
+ node4,
368
+ node48,
369
+ node44,
370
370
  node85
371
371
  ]
372
372
  });
373
373
 
374
- export { node2, exports_llm };
374
+ export { node3, exports_llm };
@@ -1,56 +1,56 @@
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
- Event20,
7
- Service78,
8
- node83
9
- } from "./schema-dcxg8drc.js";
6
+ Event19,
7
+ Service74,
8
+ node79
9
+ } from "./file-retention-wwsspkj6.js";
10
10
  import {
11
- Service67,
12
- node71
13
- } from "./schema-kqtq9r6d.js";
11
+ Service54,
12
+ node60
13
+ } from "./file-retention-1p48dy4j.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./schema-p8qxwesx.js";
16
+ } from "./file-retention-p8qxwesx.js";
17
17
  import {
18
- Service72,
19
- node77
20
- } from "./schema-kwt11tv7.js";
18
+ Service75,
19
+ node80
20
+ } from "./file-retention-nqvfwm7d.js";
21
21
  import {
22
22
  substitute2
23
- } from "./schema-kvsjn1dr.js";
23
+ } from "./file-retention-hw4pv20g.js";
24
24
  import {
25
25
  normalize2
26
- } from "./schema-zs79rajt.js";
26
+ } from "./file-retention-08px7ct2.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./schema-92mcpazx.js";
30
+ } from "./file-retention-971pvjyy.js";
31
31
  import {
32
32
  plan2
33
- } from "./schema-0s9ayhjt.js";
33
+ } from "./file-retention-0s9ayhjt.js";
34
34
  import {
35
- Service76,
36
- Event19,
37
- node81
38
- } from "./schema-934rg3e5.js";
35
+ Service55,
36
+ Event13,
37
+ node61
38
+ } from "./file-retention-hvw9ez06.js";
39
39
  import {
40
40
  __export
41
- } from "./schema-9rqn6x4v.js";
41
+ } from "./file-retention-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service66,
47
+ Options: () => Options8,
48
+ Service: () => Service53,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured10,
51
51
  latest: () => latest2,
52
- layer: () => layer24,
53
- node: () => node70,
52
+ layer: () => layer20,
53
+ node: () => node59,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -71,14 +71,14 @@ import { Global } from "@opencode-ai/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options7 = Schema.Struct({
74
+ var Options8 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service66 extends Context.Service()("@opencode/Config") {
81
+ class Service53 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service66, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service53, service), Context.add(Test2, service));
96
96
  }));
97
- var layer24 = (options) => Layer.effect(Service66, Effect.gen(function* () {
97
+ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service72;
100
- const watcher = yield* Service67;
101
- const bus = yield* Service79;
102
- const credentials = yield* Service78;
103
- const wellknown = yield* Service76;
99
+ const location = yield* Service75;
100
+ const watcher = yield* Service54;
101
+ const bus = yield* Service77;
102
+ const credentials = yield* Service74;
103
+ const wellknown = yield* Service55;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -223,8 +223,8 @@ var layer24 = (options) => Layer.effect(Service66, Effect.gen(function* () {
223
223
  }, (effect) => reloadLock.withPermit(effect));
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event19.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,20 +235,20 @@ var layer24 = (options) => Layer.effect(Service66, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service66.of({
238
+ return Service53.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
242
242
  changes: () => Stream.fromPubSub(updates)
243
243
  });
244
244
  }));
245
- function configured8(options) {
245
+ function configured10(options) {
246
246
  return makeLocationNode({
247
- service: Service66,
248
- layer: layer24(options),
249
- deps: [node71, node84, FSUtil.node, Global.node, node77, node83, node81]
247
+ service: Service53,
248
+ layer: layer20(options),
249
+ deps: [node60, node82, FSUtil.node, Global.node, node80, node79, node61]
250
250
  });
251
251
  }
252
- var node70 = configured8();
252
+ var node59 = configured10();
253
253
 
254
- export { latest2, Options7, Service66, Test2, testLayer2, layer24, configured8, node70, exports_config };
254
+ export { latest2, Options8, Service53, Test2, testLayer2, layer20, configured10, node59, exports_config };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service66
4
- } from "./schema-vecstcyh.js";
3
+ Service53
4
+ } from "./file-retention-gztfqjt6.js";
5
5
  import {
6
6
  observe2
7
- } from "./schema-qsdy395h.js";
7
+ } from "./file-retention-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch = {};
14
14
  __export(exports_websearch, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin3
16
+ Plugin: () => Plugin18
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin3 = define({
20
+ var Plugin18 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service66;
23
+ const config = yield* Service53;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin3 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin3, exports_websearch };
35
+ export { Plugin18, exports_websearch };
@@ -1,43 +1,43 @@
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
10
  ID2
11
- } from "./schema-7zk4hah4.js";
11
+ } from "./file-retention-7zk4hah4.js";
12
12
  import {
13
- Service75,
13
+ Service50,
14
14
  login2,
15
- node80
16
- } from "./schema-d73w0rgx.js";
15
+ node56
16
+ } from "./file-retention-sr82n7vz.js";
17
17
  import {
18
18
  lazy2
19
- } from "./schema-88xbtdfr.js";
19
+ } from "./file-retention-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./schema-9rqn6x4v.js";
22
+ } from "./file-retention-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
27
  CreateInput: () => CreateInput2,
28
- Event: () => Event2,
28
+ Event: () => Event4,
29
29
  ExitedError: () => ExitedError2,
30
30
  Info: () => Info2,
31
31
  NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service13,
33
+ Service: () => Service20,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node16
35
+ node: () => node23
36
36
  });
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode-ai/schema/pty";
40
- import { Event as Event2 } from "@opencode-ai/schema/pty";
40
+ import { Event as Event4 } from "@opencode-ai/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service13 extends Context.Service()("@opencode/Pty") {
58
+ class Service20 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service13, Effect.gen(function* () {
61
- const bus = yield* Service79;
62
- const location = yield* Service72;
63
- const shell = yield* Service75;
60
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
61
+ const bus = yield* Service77;
62
+ const location = yield* Service75;
63
+ const shell = yield* Service50;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service13.of({ list, get, create, update, remove, write, attach });
271
+ return Service20.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node16 = makeLocationNode({
274
- service: Service13,
273
+ var node23 = makeLocationNode({
274
+ service: Service20,
275
275
  layer,
276
- deps: [node84, node77, node80]
276
+ deps: [node82, node80, node56]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node16, exports_pty, Event2 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service20, node23, exports_pty, Event4 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service67
3
- } from "./schema-kqtq9r6d.js";
2
+ Service54
3
+ } from "./file-retention-1p48dy4j.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./schema-p8qxwesx.js";
6
+ } from "./file-retention-p8qxwesx.js";
7
7
  import {
8
- Service72
9
- } from "./schema-kwt11tv7.js";
8
+ Service75
9
+ } from "./file-retention-nqvfwm7d.js";
10
10
  import {
11
- Service66
12
- } from "./schema-vecstcyh.js";
11
+ Service53
12
+ } from "./file-retention-gztfqjt6.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./schema-e8qch614.js";
16
+ Source4
17
+ } from "./file-retention-x2yzyww1.js";
18
18
  import {
19
- Service10
20
- } from "./schema-xr5vwsd4.js";
19
+ Service12
20
+ } from "./file-retention-4x0nmcjx.js";
21
21
  import {
22
22
  parse2
23
- } from "./schema-r25t3ann.js";
23
+ } from "./file-retention-5btxcb89.js";
24
24
  import {
25
25
  __export
26
- } from "./schema-9rqn6x4v.js";
26
+ } from "./file-retention-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill = {};
30
30
  __export(exports_skill, {
31
31
  ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin2
32
+ Plugin: () => Plugin13
33
33
  });
34
34
  import { define } from "@opencode-ai/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode-ai/util/fs-util";
36
36
  import { Global } from "@opencode-ai/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin2 = define({
39
+ var Plugin13 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service66;
43
- const discovery = yield* Service10;
42
+ const config = yield* Service53;
43
+ const discovery = yield* Service12;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service72;
47
- const watcher = yield* Service67;
46
+ const location = yield* Service75;
47
+ const watcher = yield* Service54;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin2 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source3.equals(item, source)))
90
+ if (result.some((item) => Source4.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -117,7 +117,7 @@ var Plugin2 = define({
117
117
  };
118
118
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
119
119
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
120
- source: Source3.key(source),
120
+ source: Source4.key(source),
121
121
  cause
122
122
  }).pipe(Effect.as([]))));
123
123
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -146,7 +146,7 @@ var Plugin2 = define({
146
146
  }
147
147
  }
148
148
  yield* Effect.logDebug("skill source loaded", {
149
- source: Source3.key(source),
149
+ source: Source4.key(source),
150
150
  type: source.type,
151
151
  directories,
152
152
  skills: skills.map((skill) => skill.id)
@@ -165,7 +165,7 @@ var Plugin2 = define({
165
165
  if (file) {
166
166
  yield* Effect.logInfo("skills rescanned", {
167
167
  file,
168
- sources: current.map(Source3.key),
168
+ sources: current.map(Source4.key),
169
169
  skills: loaded.skills.map((skill) => skill.id)
170
170
  });
171
171
  }
@@ -181,4 +181,4 @@ var Plugin2 = define({
181
181
  })
182
182
  });
183
183
 
184
- export { Plugin2, exports_skill };
184
+ export { Plugin13, exports_skill };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./schema-raa16g9g.js";
3
+ } from "./file-retention-bw7hten5.js";
4
4
  import {
5
5
  apply3
6
- } from "./schema-9qkzxvef.js";
6
+ } from "./file-retention-k1vkejwd.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -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/token.ts
6
6
  var exports_token = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./schema-se0s1eqw.js";
3
+ } from "./file-retention-se0s1eqw.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({