@opencode/core 0.0.0-dev-19879 → 0.0.0-dev-19882

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{model-resolver-6c0f2qr4.js → file-retention-0465j91r.js} +13 -13
  8. package/dist/chunks/{model-resolver-88sz8qcd.js → file-retention-06dxphr1.js} +4 -4
  9. package/dist/chunks/{model-resolver-g997j2fw.js → file-retention-081pkz04.js} +6 -6
  10. package/dist/chunks/{model-resolver-1289akr8.js → file-retention-0a2z30tt.js} +23 -23
  11. package/dist/chunks/{model-resolver-4sfv4160.js → file-retention-0ejh5z8n.js} +9 -9
  12. package/dist/chunks/{model-resolver-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{model-resolver-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{model-resolver-1zrjt9bj.js → file-retention-0xhrvaxm.js} +25 -25
  15. package/dist/chunks/{model-resolver-tx769sbk.js → file-retention-0xwbjxfr.js} +24 -24
  16. package/dist/chunks/{model-resolver-pnc00jwe.js → file-retention-161zx9cz.js} +11 -11
  17. package/dist/chunks/{model-resolver-417sk53s.js → file-retention-167dw5de.js} +30 -30
  18. package/dist/chunks/{model-resolver-sbwttkaf.js → file-retention-1dan17xy.js} +11 -11
  19. package/dist/chunks/{model-resolver-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{model-resolver-g1gqch2e.js → file-retention-1jetprvn.js} +4 -4
  21. package/dist/chunks/{model-resolver-3vm6db06.js → file-retention-1s6npp0x.js} +9 -9
  22. package/dist/chunks/{model-resolver-b9swv1kn.js → file-retention-1tr2x808.js} +24 -24
  23. package/dist/chunks/{model-resolver-m06q4kjh.js → file-retention-1w78bxtf.js} +9 -9
  24. package/dist/chunks/{model-resolver-1anfc26p.js → file-retention-1xy1s23z.js} +13 -13
  25. package/dist/chunks/{model-resolver-jcxvn8gn.js → file-retention-215n7470.js} +11 -11
  26. package/dist/chunks/{model-resolver-21r38tys.js → file-retention-21r38tys.js} +1 -1
  27. package/dist/chunks/{model-resolver-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
  28. package/dist/chunks/{model-resolver-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{model-resolver-2szjhpjf.js → file-retention-2avmftzw.js} +8 -8
  30. package/dist/chunks/{model-resolver-4xbskmpe.js → file-retention-2f0bjgcj.js} +5 -5
  31. package/dist/chunks/{model-resolver-fmrmvz2k.js → file-retention-2f81yahh.js} +30 -30
  32. package/dist/chunks/{model-resolver-pgxpsng8.js → file-retention-2kvyq317.js} +11 -11
  33. package/dist/chunks/{model-resolver-bhfhzr1m.js → file-retention-37b5a4wm.js} +25 -25
  34. package/dist/chunks/{model-resolver-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{model-resolver-1sejg8v7.js → file-retention-3fy2htfg.js} +25 -25
  36. package/dist/chunks/{model-resolver-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{model-resolver-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{model-resolver-jbfg7gfk.js → file-retention-3tpxjgq6.js} +43 -43
  39. package/dist/chunks/{model-resolver-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{model-resolver-b4y5hkjs.js → file-retention-3tvxnvmk.js} +32 -32
  41. package/dist/chunks/{model-resolver-c06y4pyh.js → file-retention-3y98hz0x.js} +91 -91
  42. package/dist/chunks/{model-resolver-hw2mbygq.js → file-retention-4an14yhs.js} +8 -8
  43. package/dist/chunks/{model-resolver-xynw923x.js → file-retention-4cf05jz0.js} +18 -18
  44. package/dist/chunks/{model-resolver-ydkhd2vj.js → file-retention-4cp2jqb2.js} +17 -17
  45. package/dist/chunks/{model-resolver-4v4bfvma.js → file-retention-4drgpw32.js} +5 -5
  46. package/dist/chunks/{model-resolver-6rhwg9p1.js → file-retention-4f92x3nk.js} +11 -11
  47. package/dist/chunks/{model-resolver-2mjhcg4p.js → file-retention-4fbyhaeh.js} +4 -4
  48. package/dist/chunks/{model-resolver-vnccmz7g.js → file-retention-4n8q391k.js} +18 -18
  49. package/dist/chunks/{model-resolver-sjx8sgwr.js → file-retention-4vc8sr10.js} +30 -30
  50. package/dist/chunks/{model-resolver-pw0s52c9.js → file-retention-4ygb4b7g.js} +2 -2
  51. package/dist/chunks/{model-resolver-9x2zw2dr.js → file-retention-50fcby8k.js} +11 -11
  52. package/dist/chunks/{model-resolver-pc8r89n2.js → file-retention-523mvypz.js} +29 -29
  53. package/dist/chunks/{model-resolver-r43n0tkv.js → file-retention-53tprqe9.js} +24 -24
  54. package/dist/chunks/{model-resolver-0vbwh1ma.js → file-retention-564f0z0w.js} +20 -20
  55. package/dist/chunks/{model-resolver-1ygqh575.js → file-retention-56gdpj1q.js} +9 -9
  56. package/dist/chunks/{model-resolver-awbdwcvp.js → file-retention-57ez7d0k.js} +7 -7
  57. package/dist/chunks/{model-resolver-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  58. package/dist/chunks/{model-resolver-e3qxr5gk.js → file-retention-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{model-resolver-wq2qj646.js → file-retention-5rddp1d9.js} +1 -1
  60. package/dist/chunks/{model-resolver-yc1a4vnp.js → file-retention-5s5jpmcb.js} +21 -21
  61. package/dist/chunks/{model-resolver-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  62. package/dist/chunks/file-retention-619r8v3y.js +18 -0
  63. package/dist/chunks/{model-resolver-669tq793.js → file-retention-669tq793.js} +1 -1
  64. package/dist/chunks/{model-resolver-zzn9gyf4.js → file-retention-66yb9ghn.js} +41 -41
  65. package/dist/chunks/{model-resolver-939csnrg.js → file-retention-673ngpmn.js} +5 -5
  66. package/dist/chunks/{model-resolver-mxq6csbx.js → file-retention-6bbyae08.js} +24 -24
  67. package/dist/chunks/{model-resolver-rnvw3hvm.js → file-retention-6dxv2793.js} +47 -47
  68. package/dist/chunks/{model-resolver-25m4ah6t.js → file-retention-6hh8tjw2.js} +7 -7
  69. package/dist/chunks/{model-resolver-e3att9pz.js → file-retention-6jr39b9q.js} +10 -10
  70. package/dist/chunks/{model-resolver-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{model-resolver-k8qkjtdv.js → file-retention-6tg303q8.js} +3 -3
  72. package/dist/chunks/{model-resolver-8wj3mj4g.js → file-retention-6tkqkfbf.js} +43 -43
  73. package/dist/chunks/{model-resolver-z3kzza17.js → file-retention-6v2v7y0g.js} +34 -34
  74. package/dist/chunks/{model-resolver-rp1g7e9y.js → file-retention-6xwcf1a8.js} +4 -4
  75. package/dist/chunks/{model-resolver-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{model-resolver-7dqw4kz8.js → file-retention-7dqw4kz8.js} +1 -1
  77. package/dist/chunks/{model-resolver-csdaj16z.js → file-retention-7w99qc9d.js} +3 -3
  78. package/dist/chunks/{model-resolver-c8f5h7fp.js → file-retention-8b167y8a.js} +20 -20
  79. package/dist/chunks/{model-resolver-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{model-resolver-84rk7f3f.js → file-retention-8fxnv50h.js} +40 -40
  81. package/dist/chunks/{model-resolver-764y3xsx.js → file-retention-8m0xfxha.js} +18 -18
  82. package/dist/chunks/{model-resolver-bf9gty6t.js → file-retention-8mgkexa6.js} +8 -8
  83. package/dist/chunks/{model-resolver-h65ecam0.js → file-retention-8mh6qs45.js} +3 -3
  84. package/dist/chunks/{model-resolver-dj2t23y0.js → file-retention-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{model-resolver-fre4m1z6.js → file-retention-8s3n9c7m.js} +24 -24
  86. package/dist/chunks/{model-resolver-mrv6ghce.js → file-retention-8y74cv5j.js} +16 -16
  87. package/dist/chunks/{model-resolver-dagg7nba.js → file-retention-8zqwde36.js} +1 -1
  88. package/dist/chunks/{model-resolver-pd5kn0n4.js → file-retention-954vm9zf.js} +6 -6
  89. package/dist/chunks/{model-resolver-5hkrv0vj.js → file-retention-984gzsd7.js} +30 -30
  90. package/dist/chunks/{model-resolver-8pp8jf47.js → file-retention-9hj87zcn.js} +2 -2
  91. package/dist/chunks/{model-resolver-nv7590vc.js → file-retention-9j9rrcym.js} +4 -4
  92. package/dist/chunks/{model-resolver-2c4qhs1k.js → file-retention-9x2j21m7.js} +32 -32
  93. package/dist/chunks/{model-resolver-5c4hm403.js → file-retention-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{model-resolver-p1tppetm.js → file-retention-a25dsj3m.js} +47 -47
  95. package/dist/chunks/{model-resolver-y1vhqzk3.js → file-retention-a9z38t8t.js} +25 -25
  96. package/dist/chunks/{model-resolver-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  97. package/dist/chunks/{model-resolver-mdqxewsd.js → file-retention-aaxh33wy.js} +8 -8
  98. package/dist/chunks/{model-resolver-v24739yc.js → file-retention-ab8cnxkj.js} +5 -5
  99. package/dist/chunks/{model-resolver-vdzspbnc.js → file-retention-af04s6ss.js} +2 -2
  100. package/dist/chunks/{model-resolver-6zwjjspm.js → file-retention-aj2jtzg2.js} +9 -9
  101. package/dist/chunks/{model-resolver-kfd1t4rr.js → file-retention-as6js5h3.js} +8 -8
  102. package/dist/chunks/{model-resolver-v73a4c74.js → file-retention-axe08f99.js} +21 -21
  103. package/dist/chunks/{model-resolver-9xk8zs32.js → file-retention-ayrh20bw.js} +7 -7
  104. package/dist/chunks/{model-resolver-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{model-resolver-v1h9wh0s.js → file-retention-b6q9rwn2.js} +25 -25
  106. package/dist/chunks/{model-resolver-m06x1evk.js → file-retention-bm43m6wm.js} +9 -9
  107. package/dist/chunks/{model-resolver-apn8f15b.js → file-retention-bscb95cy.js} +9 -9
  108. package/dist/chunks/{model-resolver-scq4khx8.js → file-retention-bz85s9hh.js} +1 -1
  109. package/dist/chunks/{model-resolver-cwa6csj7.js → file-retention-c765mh8b.js} +9 -9
  110. package/dist/chunks/{model-resolver-zwgxd679.js → file-retention-c86z6gw9.js} +10 -10
  111. package/dist/chunks/{model-resolver-cb5kpe73.js → file-retention-c8z6r1re.js} +12 -12
  112. package/dist/chunks/{model-resolver-nh07yg89.js → file-retention-c9dd285s.js} +55 -55
  113. package/dist/chunks/{model-resolver-616ym9rn.js → file-retention-c9fwgwbn.js} +18 -18
  114. package/dist/chunks/{model-resolver-h9xbmez1.js → file-retention-cf78hqg4.js} +17 -17
  115. package/dist/chunks/{model-resolver-m0jqrx5p.js → file-retention-cfpkc3c9.js} +2 -2
  116. package/dist/chunks/{model-resolver-cz18w411.js → file-retention-cfpt4yrn.js} +28 -28
  117. package/dist/chunks/{model-resolver-m0t6dn9n.js → file-retention-cgx608pj.js} +11 -11
  118. package/dist/chunks/{model-resolver-fzgxakwn.js → file-retention-cjwramev.js} +6 -6
  119. package/dist/chunks/{model-resolver-h7f8s8kx.js → file-retention-ckzj2a1x.js} +11 -11
  120. package/dist/chunks/{model-resolver-sdbkfcvv.js → file-retention-cq37gk0t.js} +4 -4
  121. package/dist/chunks/{model-resolver-7v4f4tb8.js → file-retention-d64bv18p.js} +18 -18
  122. package/dist/chunks/{model-resolver-5apets8e.js → file-retention-dd7met55.js} +6 -6
  123. package/dist/chunks/{model-resolver-r98e92ep.js → file-retention-dfe8djrf.js} +4 -4
  124. package/dist/chunks/{model-resolver-rq9gd7cy.js → file-retention-dkrr66w3.js} +13 -13
  125. package/dist/chunks/{model-resolver-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{model-resolver-xfkkasph.js → file-retention-drwq78ky.js} +4 -4
  127. package/dist/chunks/{model-resolver-th0g359r.js → file-retention-ds33edxf.js} +21 -21
  128. package/dist/chunks/{model-resolver-st9rbhtf.js → file-retention-dy7xfy74.js} +13 -13
  129. package/dist/chunks/{model-resolver-2fs90zrh.js → file-retention-e0v2rycq.js} +16 -16
  130. package/dist/chunks/{model-resolver-xztn33cf.js → file-retention-e3t6na1y.js} +1 -1
  131. package/dist/chunks/{model-resolver-4xj7jy5m.js → file-retention-eaew7zx1.js} +13 -13
  132. package/dist/chunks/{model-resolver-jn0tk1mz.js → file-retention-eeaf82dq.js} +8 -8
  133. package/dist/chunks/{model-resolver-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{model-resolver-7f0d2bbc.js → file-retention-eg6dj9bv.js} +33 -33
  135. package/dist/chunks/{model-resolver-2vs2nh1n.js → file-retention-embw8kgh.js} +4 -4
  136. package/dist/chunks/{model-resolver-erw5rpbs.js → file-retention-erw5rpbs.js} +2 -2
  137. package/dist/chunks/{model-resolver-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{model-resolver-c574q531.js → file-retention-f5yqwc0y.js} +8 -8
  139. package/dist/chunks/{model-resolver-7hrt1dkg.js → file-retention-f6e7w7qa.js} +4 -4
  140. package/dist/chunks/{model-resolver-hdnk95c8.js → file-retention-f828m53h.js} +2 -2
  141. package/dist/chunks/{model-resolver-bz4xne2a.js → file-retention-fja4vk1j.js} +9 -9
  142. package/dist/chunks/{model-resolver-a0qc5mea.js → file-retention-fk5jcdb3.js} +7 -7
  143. package/dist/chunks/{model-resolver-44ke2mar.js → file-retention-fkjmw100.js} +6 -6
  144. package/dist/chunks/{model-resolver-tat11k01.js → file-retention-fmcqyzhx.js} +9 -9
  145. package/dist/chunks/{model-resolver-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{model-resolver-yvqgzgm9.js → file-retention-g3d2w7hy.js} +10 -10
  147. package/dist/chunks/{model-resolver-m3cv1qmd.js → file-retention-g3y0met1.js} +42 -42
  148. package/dist/chunks/{model-resolver-xes5nzqf.js → file-retention-g92vxn4r.js} +136 -136
  149. package/dist/chunks/{model-resolver-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{model-resolver-19rvyxk9.js → file-retention-gj3qr6k7.js} +45 -45
  151. package/dist/chunks/{model-resolver-1v112ay2.js → file-retention-grfryzp0.js} +8 -8
  152. package/dist/chunks/file-retention-gsnhtkd6.js +252 -0
  153. package/dist/chunks/file-retention-gtjgk2yx.js +26 -0
  154. package/dist/chunks/{model-resolver-yyb7tjpc.js → file-retention-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{model-resolver-hbyhqfhs.js → file-retention-h4z1mxff.js} +5 -5
  156. package/dist/chunks/{model-resolver-5mtzsd3b.js → file-retention-h6r3nrb9.js} +4 -4
  157. package/dist/chunks/{model-resolver-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{model-resolver-nwb51fbw.js → file-retention-hd72gfym.js} +15 -15
  159. package/dist/chunks/{model-resolver-hhd0x5h8.js → file-retention-hen7z686.js} +28 -28
  160. package/dist/chunks/{model-resolver-2ekq1fhc.js → file-retention-hhahvva9.js} +2 -2
  161. package/dist/chunks/{model-resolver-rg6yn4zr.js → file-retention-hjqn29cc.js} +1 -1
  162. package/dist/chunks/{model-resolver-zc83q679.js → file-retention-hm8nq6aa.js} +3 -3
  163. package/dist/chunks/{model-resolver-s4gd82ff.js → file-retention-hpxktczp.js} +28 -28
  164. package/dist/chunks/{model-resolver-xwmqbvw4.js → file-retention-htdsj6r1.js} +18 -18
  165. package/dist/chunks/{model-resolver-qkprbssz.js → file-retention-j50syq5q.js} +15 -15
  166. package/dist/chunks/{model-resolver-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  167. package/dist/chunks/{model-resolver-0996nyz8.js → file-retention-j58c5xyq.js} +9 -9
  168. package/dist/chunks/{model-resolver-g74mfj6n.js → file-retention-jjs74g98.js} +9 -9
  169. package/dist/chunks/{model-resolver-ybq1nttj.js → file-retention-k0vw0a2j.js} +19 -19
  170. package/dist/chunks/{model-resolver-k3c624dm.js → file-retention-k3c624dm.js} +3 -3
  171. package/dist/chunks/{model-resolver-cdpzwh9k.js → file-retention-k4pgmrqs.js} +13 -13
  172. package/dist/chunks/{model-resolver-a83wf666.js → file-retention-k5q0tfv3.js} +40 -40
  173. package/dist/chunks/{model-resolver-4tb4y58c.js → file-retention-k779xt46.js} +27 -27
  174. package/dist/chunks/{model-resolver-7xhhf2aw.js → file-retention-k9avtbwf.js} +9 -9
  175. package/dist/chunks/{model-resolver-w0ddfprx.js → file-retention-kd4bpffd.js} +14 -14
  176. package/dist/chunks/{model-resolver-06s4385t.js → file-retention-kd60309v.js} +17 -17
  177. package/dist/chunks/{model-resolver-eahhehpg.js → file-retention-kkp8zx71.js} +4 -4
  178. package/dist/chunks/{model-resolver-qc9vtygz.js → file-retention-krmnc5cg.js} +11 -11
  179. package/dist/chunks/{model-resolver-qcwj7nge.js → file-retention-kz3hpxab.js} +3 -3
  180. package/dist/chunks/{model-resolver-af80h3am.js → file-retention-m06kr8rz.js} +19 -19
  181. package/dist/chunks/{model-resolver-z97es7vj.js → file-retention-m22wyk78.js} +25 -25
  182. package/dist/chunks/{model-resolver-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{model-resolver-a0b5drbd.js → file-retention-m474z1kw.js} +22 -22
  184. package/dist/chunks/{model-resolver-tzfx967f.js → file-retention-m6b0tvc0.js} +3 -3
  185. package/dist/chunks/{model-resolver-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{model-resolver-xdk9p2qn.js → file-retention-magykp64.js} +21 -21
  187. package/dist/chunks/{model-resolver-adywxnqa.js → file-retention-mejjs3gq.js} +11 -11
  188. package/dist/chunks/{model-resolver-d4rwqpz6.js → file-retention-mpc2mza6.js} +9 -9
  189. package/dist/chunks/{model-resolver-73tb2d7t.js → file-retention-mvfsc1pv.js} +3 -3
  190. package/dist/chunks/{model-resolver-k87n3mnb.js → file-retention-n3822xjh.js} +27 -27
  191. package/dist/chunks/{model-resolver-kq3kmm4s.js → file-retention-n7kj0nfb.js} +26 -26
  192. package/dist/chunks/{model-resolver-1nksd46f.js → file-retention-nfmjes2s.js} +6 -6
  193. package/dist/chunks/{model-resolver-tyqkzprt.js → file-retention-nng2ktcm.js} +2 -2
  194. package/dist/chunks/{model-resolver-pqtm16cx.js → file-retention-ns0rd2gc.js} +11 -11
  195. package/dist/chunks/{model-resolver-3tax330k.js → file-retention-nxz2ctde.js} +17 -17
  196. package/dist/chunks/{model-resolver-2d57kztd.js → file-retention-p0b4ytnr.js} +6 -6
  197. package/dist/chunks/{model-resolver-yw8xy3m8.js → file-retention-p3sjsf4c.js} +9 -9
  198. package/dist/chunks/{model-resolver-r5829pqs.js → file-retention-p7322rh5.js} +13 -13
  199. package/dist/chunks/{model-resolver-bw03vhcb.js → file-retention-p7nsp59h.js} +4 -4
  200. package/dist/chunks/{model-resolver-yn096dga.js → file-retention-p8z5rwmr.js} +16 -16
  201. package/dist/chunks/{model-resolver-x03qqaj0.js → file-retention-pb1eahw5.js} +11 -11
  202. package/dist/chunks/{model-resolver-0dnt9ggj.js → file-retention-pepar0ja.js} +80 -80
  203. package/dist/chunks/{model-resolver-b70qncxb.js → file-retention-phgk4j5x.js} +14 -14
  204. package/dist/chunks/{model-resolver-cmwkp3r5.js → file-retention-phstrbs2.js} +8 -8
  205. package/dist/chunks/{model-resolver-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{model-resolver-a1fb49zt.js → file-retention-pkav3n9h.js} +19 -19
  207. package/dist/chunks/{model-resolver-pknna89w.js → file-retention-pknna89w.js} +1 -1
  208. package/dist/chunks/{model-resolver-zvm8zp5s.js → file-retention-pnbe07hy.js} +5 -5
  209. package/dist/chunks/{model-resolver-wc674h98.js → file-retention-ppvrv3b5.js} +1 -1
  210. package/dist/chunks/{model-resolver-78mtxkg6.js → file-retention-pr2185cp.js} +1 -1
  211. package/dist/chunks/{model-resolver-m0rjhax7.js → file-retention-q116m3wp.js} +7 -7
  212. package/dist/chunks/{model-resolver-88tsvha8.js → file-retention-q126tr5h.js} +15 -15
  213. package/dist/chunks/{model-resolver-y6f4m1ja.js → file-retention-q67fkkta.js} +11 -11
  214. package/dist/chunks/{model-resolver-dyxd458n.js → file-retention-q7qrw62a.js} +11 -11
  215. package/dist/chunks/{model-resolver-c27esgm9.js → file-retention-qby9dwvd.js} +8 -8
  216. package/dist/chunks/{model-resolver-m5csp7t6.js → file-retention-qdme6shq.js} +18 -18
  217. package/dist/chunks/{model-resolver-zvpx4q1j.js → file-retention-qek8dtx8.js} +9 -9
  218. package/dist/chunks/file-retention-qez3s13j.js +492 -0
  219. package/dist/chunks/{model-resolver-14yjf0x4.js → file-retention-qn4ba14w.js} +5 -5
  220. package/dist/chunks/{model-resolver-3vf55zzj.js → file-retention-qnjwxcy5.js} +6 -6
  221. package/dist/chunks/{model-resolver-eb50jbx7.js → file-retention-qns4nxe6.js} +25 -25
  222. package/dist/chunks/{model-resolver-5kn4885k.js → file-retention-qqrhapfm.js} +21 -21
  223. package/dist/chunks/{model-resolver-ax8pt9gw.js → file-retention-qrsctp9r.js} +15 -15
  224. package/dist/chunks/{model-resolver-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  225. package/dist/chunks/{model-resolver-q3tbzv75.js → file-retention-qsxes4qb.js} +24 -24
  226. package/dist/chunks/{model-resolver-x660ftyb.js → file-retention-raq0bhdx.js} +16 -16
  227. package/dist/chunks/{model-resolver-dpxqvzet.js → file-retention-rd456c9t.js} +24 -24
  228. package/dist/chunks/{model-resolver-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{model-resolver-t550f9t1.js → file-retention-rhjbct0v.js} +4 -4
  230. package/dist/chunks/{model-resolver-dbz8g9vz.js → file-retention-rw8zzf0g.js} +5 -5
  231. package/dist/chunks/{model-resolver-t6bnr8x5.js → file-retention-s18791rc.js} +4 -4
  232. package/dist/chunks/{model-resolver-zhrmp06p.js → file-retention-s3xynfkg.js} +18 -18
  233. package/dist/chunks/{model-resolver-79cfd5na.js → file-retention-sb19sksh.js} +8 -8
  234. package/dist/chunks/{model-resolver-159hjbtj.js → file-retention-swsjrdwb.js} +10 -10
  235. package/dist/chunks/{model-resolver-f4nqg1rk.js → file-retention-t6kv9btv.js} +37 -37
  236. package/dist/chunks/{model-resolver-8hszhpj7.js → file-retention-t7d66bkg.js} +42 -42
  237. package/dist/chunks/{model-resolver-wwvdgax5.js → file-retention-t8g68kxt.js} +27 -27
  238. package/dist/chunks/{model-resolver-garff814.js → file-retention-t9taxymt.js} +3 -3
  239. package/dist/chunks/{model-resolver-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{model-resolver-qfavfwf5.js → file-retention-tb4jd28d.js} +6 -6
  241. package/dist/chunks/{model-resolver-hkpdzfw9.js → file-retention-tb78nqd6.js} +8 -8
  242. package/dist/chunks/{model-resolver-tbz0fdvh.js → file-retention-tbz0fdvh.js} +2 -2
  243. package/dist/chunks/{model-resolver-v43qsjh8.js → file-retention-tc5he9wg.js} +41 -41
  244. package/dist/chunks/{model-resolver-sxzvkvgj.js → file-retention-tcay1cqt.js} +6 -6
  245. package/dist/chunks/{model-resolver-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  246. package/dist/chunks/{model-resolver-tdstcens.js → file-retention-tdstcens.js} +1 -1
  247. package/dist/chunks/{model-resolver-b52ryf5f.js → file-retention-tjqchgqk.js} +14 -14
  248. package/dist/chunks/{model-resolver-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  249. package/dist/chunks/{model-resolver-mvda01ge.js → file-retention-v7ffx8ea.js} +20 -20
  250. package/dist/chunks/{model-resolver-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  251. package/dist/chunks/{model-resolver-2bryg182.js → file-retention-vwhz9c2y.js} +24 -24
  252. package/dist/chunks/{model-resolver-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{model-resolver-ha0p6w6v.js → file-retention-w2pkbhw2.js} +25 -25
  254. package/dist/chunks/{model-resolver-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{model-resolver-je6b98an.js → file-retention-w44rhn25.js} +28 -28
  256. package/dist/chunks/{model-resolver-cr9558d1.js → file-retention-w7dexayp.js} +27 -27
  257. package/dist/chunks/{model-resolver-8ha6ga5e.js → file-retention-was7srj9.js} +8 -8
  258. package/dist/chunks/{model-resolver-hr4hckmy.js → file-retention-wb2tsxva.js} +13 -13
  259. package/dist/chunks/{model-resolver-wd87259q.js → file-retention-wd87259q.js} +1 -1
  260. package/dist/chunks/{model-resolver-4kb9w903.js → file-retention-wda1wpd5.js} +13 -13
  261. package/dist/chunks/{model-resolver-pfbep0b9.js → file-retention-wjv2nsv8.js} +6 -6
  262. package/dist/chunks/{model-resolver-9qw467yc.js → file-retention-wkd68h98.js} +23 -23
  263. package/dist/chunks/{model-resolver-aagbmaqd.js → file-retention-wkx5y8be.js} +6 -6
  264. package/dist/chunks/{model-resolver-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{model-resolver-nnar0fsb.js → file-retention-xcc8tqnx.js} +10 -10
  266. package/dist/chunks/{model-resolver-m27169sy.js → file-retention-xh89e2hh.js} +26 -26
  267. package/dist/chunks/{model-resolver-7hxcqsga.js → file-retention-xmn7azz3.js} +14 -14
  268. package/dist/chunks/{model-resolver-sy3rdx9f.js → file-retention-xnr80fb6.js} +3 -3
  269. package/dist/chunks/{model-resolver-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-resolver-brav8yb8.js → file-retention-yc9v5tg1.js} +9 -9
  271. package/dist/chunks/{model-resolver-kxq74w2a.js → file-retention-yedm1x7m.js} +22 -22
  272. package/dist/chunks/{model-resolver-v8878m3p.js → file-retention-yj9gc6e9.js} +16 -16
  273. package/dist/chunks/{model-resolver-abkgffbm.js → file-retention-ykxsfcqd.js} +15 -15
  274. package/dist/chunks/{model-resolver-q9y4mng6.js → file-retention-ymjb4ggy.js} +17 -17
  275. package/dist/chunks/{model-resolver-6xbvwgke.js → file-retention-yn99y8fk.js} +7 -7
  276. package/dist/chunks/{model-resolver-1acjjqhc.js → file-retention-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{model-resolver-m2wxmj5v.js → file-retention-ypezmy3j.js} +5 -5
  278. package/dist/chunks/{model-resolver-36n4n3t4.js → file-retention-yq8wzs83.js} +75 -75
  279. package/dist/chunks/{model-resolver-3ye25fqg.js → file-retention-yrdrmcw9.js} +14 -14
  280. package/dist/chunks/{model-resolver-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{model-resolver-s4enseaf.js → file-retention-yrznvahk.js} +2 -2
  282. package/dist/chunks/{model-resolver-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{model-resolver-29x78va6.js → file-retention-z63w68vq.js} +6 -6
  284. package/dist/chunks/{model-resolver-rq775frq.js → file-retention-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{model-resolver-49gs54c4.js → file-retention-zmh7j08z.js} +25 -25
  286. package/dist/chunks/{model-resolver-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{model-resolver-gh3w682p.js → file-retention-zs7xhsyr.js} +17 -17
  288. package/dist/chunks/{model-resolver-v4chc4dc.js → file-retention-zvcs2h3f.js} +12 -12
  289. package/dist/chunks/{model-resolver-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +87 -87
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +80 -80
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +99 -99
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +80 -80
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +83 -83
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +82 -82
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +101 -101
  474. package/dist/mcp/instructions.js +125 -125
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +97 -97
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +77 -77
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +110 -110
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +81 -81
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +119 -119
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +6 -6
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +222 -222
  558. package/dist/project/schema.js +6 -6
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +83 -83
  561. package/dist/provider.js +96 -96
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +91 -91
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +131 -131
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +7 -7
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +223 -223
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +15 -15
  585. package/dist/session/inbox.js +89 -89
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +76 -76
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +123 -123
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +74 -74
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +153 -153
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +219 -219
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +92 -92
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +124 -124
  636. package/dist/tool/plugin/edit.js +113 -113
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +115 -115
  639. package/dist/tool/plugin/grep.js +121 -121
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +100 -100
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +107 -107
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +115 -115
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +7 -7
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +4 -4
  668. package/dist/v1/config/formatter.js +7 -7
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +2 -2
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +1 -1
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +77 -77
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/model-resolver-bffktq59.js +0 -26
  696. package/dist/chunks/model-resolver-cyydfs3c.js +0 -252
  697. package/dist/chunks/model-resolver-dxj72tfx.js +0 -18
  698. package/dist/chunks/model-resolver-eyk6r27j.js +0 -492
  699. /package/dist/chunks/{model-resolver-0mesazry.js → file-retention-0mesazry.js} +0 -0
  700. /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{model-resolver-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{model-resolver-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{model-resolver-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{model-resolver-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{model-resolver-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{model-resolver-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{model-resolver-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{model-resolver-3asan66x.js → file-retention-3asan66x.js} +0 -0
  711. /package/dist/chunks/{model-resolver-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{model-resolver-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{model-resolver-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{model-resolver-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{model-resolver-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{model-resolver-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{model-resolver-53557ph1.js → file-retention-53557ph1.js} +0 -0
  719. /package/dist/chunks/{model-resolver-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{model-resolver-6prwharc.js → file-retention-6prwharc.js} +0 -0
  721. /package/dist/chunks/{model-resolver-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{model-resolver-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{model-resolver-822emrt2.js → file-retention-822emrt2.js} +0 -0
  724. /package/dist/chunks/{model-resolver-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{model-resolver-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{model-resolver-922hggd3.js → file-retention-922hggd3.js} +0 -0
  727. /package/dist/chunks/{model-resolver-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{model-resolver-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{model-resolver-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{model-resolver-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{model-resolver-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{model-resolver-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{model-resolver-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{model-resolver-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{model-resolver-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{model-resolver-df08tz66.js → file-retention-df08tz66.js} +0 -0
  743. /package/dist/chunks/{model-resolver-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{model-resolver-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{model-resolver-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{model-resolver-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{model-resolver-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{model-resolver-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{model-resolver-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{model-resolver-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{model-resolver-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{model-resolver-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{model-resolver-g86h250q.js → file-retention-g86h250q.js} +0 -0
  756. /package/dist/chunks/{model-resolver-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{model-resolver-gftt206x.js → file-retention-gftt206x.js} +0 -0
  758. /package/dist/chunks/{model-resolver-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{model-resolver-hk9envan.js → file-retention-hk9envan.js} +0 -0
  760. /package/dist/chunks/{model-resolver-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{model-resolver-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{model-resolver-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{model-resolver-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{model-resolver-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{model-resolver-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{model-resolver-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{model-resolver-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{model-resolver-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{model-resolver-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{model-resolver-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{model-resolver-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{model-resolver-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{model-resolver-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{model-resolver-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{model-resolver-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{model-resolver-x61499pn.js → file-retention-x61499pn.js} +0 -0
  789. /package/dist/chunks/{model-resolver-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{model-resolver-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{model-resolver-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{model-resolver-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{model-resolver-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info14
13
+ Info: () => Info18
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info14 = Schema.Struct({
30
+ var Info18 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info14, exports_attachment };
34
+ export { Image2, Info18, exports_attachment };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./model-resolver-6rhwg9p1.js";
5
- import {
6
- latestSequence2,
7
2
  Service82,
8
3
  node86
9
- } from "./model-resolver-v8878m3p.js";
4
+ } from "./file-retention-4f92x3nk.js";
5
+ import {
6
+ latestSequence2,
7
+ Service81,
8
+ node85
9
+ } from "./file-retention-yj9gc6e9.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./model-resolver-5t3nmthw.js";
12
+ } from "./file-retention-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./model-resolver-ec1grn59.js";
15
+ } from "./file-retention-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./model-resolver-dyxd458n.js";
18
+ } from "./file-retention-q7qrw62a.js";
19
19
  import {
20
- Service52,
21
- node55
22
- } from "./model-resolver-gh3w682p.js";
20
+ Service64,
21
+ node67
22
+ } from "./file-retention-zs7xhsyr.js";
23
23
  import {
24
- Service27,
25
- node30
26
- } from "./model-resolver-0dnt9ggj.js";
24
+ Service24,
25
+ node27
26
+ } from "./file-retention-pepar0ja.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./model-resolver-tdstcens.js";
30
+ } from "./file-retention-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./model-resolver-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer3,
42
- node: () => node3
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
- const bus = yield* Service82;
61
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
+ const bus = yield* Service81;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service27;
65
- const store = yield* Service52;
66
- const db = (yield* Service83).db;
64
+ const context = yield* Service24;
65
+ const store = yield* Service64;
66
+ const db = (yield* Service82).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service2.of({ generate });
148
+ return Service3.of({ generate });
149
149
  }));
150
- var node3 = makeLocationNode({
151
- service: Service2,
150
+ var node4 = makeLocationNode({
151
+ service: Service3,
152
152
  layer: layer3,
153
- deps: [node86, llmClient2, node30, node55, node87]
153
+ deps: [node85, llmClient2, node27, node67, node86]
154
154
  });
155
155
 
156
- export { Service2, isUntitled2, layer3, node3, exports_title };
156
+ export { Service3, isUntitled2, layer3, node4, exports_title };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
5
  Service78
6
- } from "./model-resolver-939csnrg.js";
6
+ } from "./file-retention-673ngpmn.js";
7
7
  import {
8
- Service57
9
- } from "./model-resolver-zzn9gyf4.js";
8
+ Service53
9
+ } from "./file-retention-66yb9ghn.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./model-resolver-pc8r89n2.js";
13
+ } from "./file-retention-523mvypz.js";
14
14
  import {
15
15
  observe2
16
- } from "./model-resolver-qsdy395h.js";
16
+ } from "./file-retention-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./file-retention-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin37
25
+ Plugin: () => Plugin14
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin37 = define({
31
+ var Plugin14 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service57;
34
+ const config = yield* Service53;
35
35
  const location = yield* Service78;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin37, exports_reference };
75
+ export { Plugin14, exports_reference };
@@ -1,34 +1,34 @@
1
- import {
2
- Service83
3
- } from "./model-resolver-6rhwg9p1.js";
4
1
  import {
5
2
  Service82
6
- } from "./model-resolver-v8878m3p.js";
3
+ } from "./file-retention-4f92x3nk.js";
4
+ import {
5
+ Service81
6
+ } from "./file-retention-yj9gc6e9.js";
7
7
  import {
8
- Service42
9
- } from "./model-resolver-sxzvkvgj.js";
8
+ Service48
9
+ } from "./file-retention-tcay1cqt.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./model-resolver-922hggd3.js";
12
+ } from "./file-retention-922hggd3.js";
13
13
  import {
14
- ID6,
15
- Service47
16
- } from "./model-resolver-m27169sy.js";
14
+ ID5,
15
+ Service36
16
+ } from "./file-retention-xh89e2hh.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./model-resolver-ec1grn59.js";
19
+ } from "./file-retention-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./model-resolver-gftt206x.js";
22
+ } from "./file-retention-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./model-resolver-7xhhf2aw.js";
25
+ } from "./file-retention-k9avtbwf.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./model-resolver-5c4hm403.js";
28
+ } from "./file-retention-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./model-resolver-9rqn6x4v.js";
31
+ } from "./file-retention-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service42;
46
- const database = yield* Service83;
47
- const bus = yield* Service82;
45
+ const instances = yield* Service48;
46
+ const database = yield* Service82;
47
+ const bus = yield* Service81;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service47;
50
- const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service36;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service42;
78
- const bus = yield* Service82;
77
+ const instances = yield* Service48;
78
+ const bus = yield* Service81;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service47;
80
+ const snapshot = yield* Service36;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID6.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
5
  Service78,
6
6
  node82
7
- } from "./model-resolver-939csnrg.js";
7
+ } from "./file-retention-673ngpmn.js";
8
8
  import {
9
- Service20,
10
- node22
11
- } from "./model-resolver-xwmqbvw4.js";
9
+ Service67,
10
+ node70
11
+ } from "./file-retention-htdsj6r1.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./model-resolver-tcezcvh9.js";
15
+ } from "./file-retention-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./file-retention-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options2,
25
- Service: () => Service15,
26
- configured: () => configured2,
24
+ Options: () => Options3,
25
+ Service: () => Service18,
26
+ configured: () => configured3,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer8,
29
- node: () => node17,
28
+ layer: () => layer9,
29
+ node: () => node20,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options3 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service18 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
62
62
  const location = yield* Service78;
63
- const ripgrep = yield* Service20;
63
+ const ripgrep = yield* Service67;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service15.of({
108
+ return Service18.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
116
116
  const location = yield* Service78;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service15.of({
129
+ return Service18.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service15.of({
134
+ return Service18.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service78;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -182,9 +182,9 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node82, node22] });
185
+ function configured3(options) {
186
+ return makeLocationNode({ service: Service18, layer: layer9(options), deps: [node82, node70] });
187
187
  }
188
- var node17 = configured2();
188
+ var node20 = configured3();
189
189
 
190
- export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node17, exports_search };
190
+ export { Options3, Service18, ripgrepLayer2, fffLayer2, layer9, configured3, node20, exports_search };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-resolver-qfa1cgps.js";
3
+ } from "./file-retention-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,59 +1,59 @@
1
- import {
2
- Service83,
3
- node87
4
- } from "./model-resolver-6rhwg9p1.js";
5
1
  import {
6
2
  Service82,
7
3
  node86
8
- } from "./model-resolver-v8878m3p.js";
4
+ } from "./file-retention-4f92x3nk.js";
5
+ import {
6
+ Service81,
7
+ node85
8
+ } from "./file-retention-yj9gc6e9.js";
9
9
  import {
10
- Service65,
11
- node69
12
- } from "./model-resolver-q9y4mng6.js";
10
+ Service51,
11
+ node53
12
+ } from "./file-retention-ymjb4ggy.js";
13
13
  import {
14
- Service42,
15
- node44
16
- } from "./model-resolver-sxzvkvgj.js";
14
+ Service48,
15
+ node50
16
+ } from "./file-retention-tcay1cqt.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./model-resolver-ec1grn59.js";
19
+ } from "./file-retention-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./model-resolver-1acjjqhc.js";
21
+ make16
22
+ } from "./file-retention-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service40
26
- } from "./model-resolver-2vs2nh1n.js";
25
+ Service47
26
+ } from "./file-retention-embw8kgh.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./model-resolver-7xhhf2aw.js";
29
+ } from "./file-retention-k9avtbwf.js";
30
30
  import {
31
- Service52,
32
- node55
33
- } from "./model-resolver-gh3w682p.js";
31
+ Service64,
32
+ node67
33
+ } from "./file-retention-zs7xhsyr.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./model-resolver-g1gqch2e.js";
36
+ } from "./file-retention-1jetprvn.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./model-resolver-5hkrv0vj.js";
39
+ } from "./file-retention-984gzsd7.js";
40
40
  import {
41
41
  __export
42
- } from "./model-resolver-9rqn6x4v.js";
42
+ } from "./file-retention-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service39,
47
+ Service: () => Service46,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer17,
50
- node: () => node42,
51
- noopLayer: () => noopLayer2,
49
+ layer: () => layer19,
50
+ node: () => node49,
51
+ noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service39 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service46 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer17 = Layer.effect(Service39, Effect.gen(function* () {
69
- const store = yield* Service52;
70
- const instances = yield* Service42;
71
- const bus = yield* Service82;
72
- const jobs = yield* Service65;
73
- const db = (yield* Service83).db;
68
+ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
69
+ const store = yield* Service64;
70
+ const instances = yield* Service48;
71
+ const bus = yield* Service81;
72
+ const jobs = yield* Service51;
73
+ const db = (yield* Service82).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,14 +82,14 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service40.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make17({
92
+ const coordinator = yield* make16({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service39.of({
113
+ return Service46.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node42 = makeGlobalNode({
133
- service: Service39,
134
- layer: layer17,
135
- deps: [node55, node44, node86, node87, node69]
132
+ var node49 = makeGlobalNode({
133
+ service: Service46,
134
+ layer: layer19,
135
+ deps: [node67, node50, node85, node86, node53]
136
136
  });
137
- var noopLayer2 = Layer.succeed(Service39, Service39.of({
137
+ var noopLayer3 = Layer.succeed(Service46, Service46.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service39, terminal2, layer17, node42, noopLayer2, exports_execution };
146
+ export { Service46, terminal2, layer19, node49, noopLayer3, exports_execution };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};