@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,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node52
5
- } from "./model-resolver-jcxvn8gn.js";
4
+ node55
5
+ } from "./file-retention-215n7470.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./model-resolver-88sz8qcd.js";
9
+ } from "./file-retention-06dxphr1.js";
10
10
  import {
11
- Service61,
12
- node64
13
- } from "./model-resolver-c27esgm9.js";
11
+ Service66,
12
+ node69
13
+ } from "./file-retention-qby9dwvd.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./model-resolver-19rvyxk9.js";
16
+ } from "./file-retention-gj3qr6k7.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./model-resolver-a0qc5mea.js";
19
+ } from "./file-retention-fk5jcdb3.js";
20
20
  import {
21
- Error4
22
- } from "./model-resolver-fre4m1z6.js";
21
+ Error3
22
+ } from "./file-retention-8s3n9c7m.js";
23
23
  import {
24
- Service38,
25
- node41
26
- } from "./model-resolver-sbwttkaf.js";
24
+ Service33,
25
+ node37
26
+ } from "./file-retention-1dan17xy.js";
27
27
  import {
28
- make15
29
- } from "./model-resolver-xfkkasph.js";
28
+ make14
29
+ } from "./file-retention-drwq78ky.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./model-resolver-scq4khx8.js";
32
+ } from "./file-retention-bz85s9hh.js";
33
33
  import {
34
34
  __export
35
- } from "./model-resolver-9rqn6x4v.js";
35
+ } from "./file-retention-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service37,
40
+ Service: () => Service32,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer15,
45
- node: () => node40,
44
+ layer: () => layer14,
45
+ node: () => node36,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service37 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service32 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer15 = Layer.effect(Service37, Effect.gen(function* () {
156
- const hooks = yield* Service61;
157
- const transport = yield* Service38;
155
+ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
156
+ const hooks = yield* Service66;
157
+ const transport = yield* Service33;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error4({ message: "Tools are not available for this request" })
165
+ execute: () => new Error3({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -252,17 +252,17 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service37.of({
255
+ return Service32.of({
256
256
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
257
257
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
258
258
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
259
259
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
260
260
  });
261
261
  }));
262
- var node40 = makeLocationNode({
263
- service: Service37,
264
- layer: layer15,
265
- deps: [node64, node41, node52]
262
+ var node36 = makeLocationNode({
263
+ service: Service32,
264
+ layer: layer14,
265
+ deps: [node69, node37, node55]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service37, layer15, node40, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service32, layer14, node36, exports_model_request };
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID11,
3
- Info23,
2
+ ID10,
3
+ Info24,
4
4
  SessionSchema2
5
- } from "./model-resolver-csdaj16z.js";
5
+ } from "./file-retention-7w99qc9d.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./model-resolver-922hggd3.js";
8
+ } from "./file-retention-922hggd3.js";
9
9
  import {
10
- Service83,
11
- node87
12
- } from "./model-resolver-6rhwg9p1.js";
13
- import {
14
- isSynced2,
15
10
  Service82,
16
11
  node86
17
- } from "./model-resolver-v8878m3p.js";
12
+ } from "./file-retention-4f92x3nk.js";
13
+ import {
14
+ isSynced2,
15
+ Service81,
16
+ node85
17
+ } from "./file-retention-yj9gc6e9.js";
18
18
  import {
19
19
  Service79,
20
20
  node83
21
- } from "./model-resolver-b9swv1kn.js";
21
+ } from "./file-retention-1tr2x808.js";
22
22
  import {
23
- Service42,
24
- node44
25
- } from "./model-resolver-sxzvkvgj.js";
23
+ Service48,
24
+ node50
25
+ } from "./file-retention-tcay1cqt.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./model-resolver-ec1grn59.js";
28
+ } from "./file-retention-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./model-resolver-5c4hm403.js";
31
+ } from "./file-retention-a1bz86dw.js";
32
32
  import {
33
- node43
34
- } from "./model-resolver-5hkrv0vj.js";
33
+ node51
34
+ } from "./file-retention-984gzsd7.js";
35
35
  import {
36
36
  current2
37
- } from "./model-resolver-sdbkfcvv.js";
37
+ } from "./file-retention-cq37gk0t.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./model-resolver-x660ftyb.js";
40
+ } from "./file-retention-raq0bhdx.js";
41
41
  import {
42
42
  Slug2
43
- } from "./model-resolver-gebd4c9n.js";
43
+ } from "./file-retention-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node33
47
- } from "./model-resolver-a0b5drbd.js";
46
+ node32
47
+ } from "./file-retention-m474z1kw.js";
48
48
  import {
49
49
  Metadata2,
50
- node52
51
- } from "./model-resolver-jcxvn8gn.js";
50
+ node55
51
+ } from "./file-retention-215n7470.js";
52
52
  import {
53
- NotFoundError7,
53
+ NotFoundError9,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./model-resolver-7xhhf2aw.js";
64
+ } from "./file-retention-k9avtbwf.js";
65
65
  import {
66
66
  ListInput5,
67
- Service52,
68
- node55
69
- } from "./model-resolver-gh3w682p.js";
67
+ Service64,
68
+ node67
69
+ } from "./file-retention-zs7xhsyr.js";
70
70
  import {
71
- Service65,
72
- node69
73
- } from "./model-resolver-q9y4mng6.js";
71
+ Service51,
72
+ node53
73
+ } from "./file-retention-ymjb4ggy.js";
74
74
  import {
75
- Service39,
76
- node42
77
- } from "./model-resolver-jbfg7gfk.js";
75
+ Service46,
76
+ node49
77
+ } from "./file-retention-3tpxjgq6.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./model-resolver-5t3nmthw.js";
80
+ } from "./file-retention-5t3nmthw.js";
81
81
  import {
82
- Service38,
83
- node41
84
- } from "./model-resolver-sbwttkaf.js";
82
+ Service33,
83
+ node37
84
+ } from "./file-retention-1dan17xy.js";
85
85
  import {
86
86
  generate2
87
- } from "./model-resolver-zhrmp06p.js";
87
+ } from "./file-retention-s3xynfkg.js";
88
88
  import {
89
89
  execute2
90
- } from "./model-resolver-mdqxewsd.js";
90
+ } from "./file-retention-aaxh33wy.js";
91
91
  import {
92
- Service49,
93
- node51
94
- } from "./model-resolver-m06q4kjh.js";
92
+ Service52,
93
+ node54
94
+ } from "./file-retention-1w78bxtf.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service29,
100
- node32
101
- } from "./model-resolver-nh07yg89.js";
99
+ Service23,
100
+ node26
101
+ } from "./file-retention-c9dd285s.js";
102
102
  import {
103
- Service56,
104
- node59
105
- } from "./model-resolver-jn0tk1mz.js";
103
+ Service40,
104
+ node43
105
+ } from "./file-retention-eeaf82dq.js";
106
106
  import {
107
- make14
108
- } from "./model-resolver-f4nqg1rk.js";
107
+ make12
108
+ } from "./file-retention-t6kv9btv.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./model-resolver-9x2zw2dr.js";
112
+ } from "./file-retention-50fcby8k.js";
113
113
  import {
114
114
  __export
115
- } from "./model-resolver-9rqn6x4v.js";
115
+ } from "./file-retention-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID11,
126
+ ID: () => ID10,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info23,
128
+ Info: () => Info24,
129
129
  ListAnchor: () => ListAnchor2,
130
130
  ListInput: () => ListInput3,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError7,
133
+ NotFoundError: () => NotFoundError9,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service26,
135
+ Service: () => Service22,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node29
141
+ node: () => node25
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -149,26 +149,26 @@ import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
151
  var ListInput3 = ListInput5;
152
- class Service26 extends Context.Service()("@opencode/Session") {
152
+ class Service22 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service26, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
- const database = yield* Service83;
156
+ const database = yield* Service82;
157
157
  const db = database.db;
158
- const bus = yield* Service82;
158
+ const bus = yield* Service81;
159
159
  const projects = yield* Service79;
160
- const execution = yield* Service39;
160
+ const execution = yield* Service46;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service38;
163
- const store = yield* Service52;
164
- const instances = yield* Service42;
165
- const moves = yield* Service29;
166
- const jobs = yield* Service65;
167
- const environments = yield* Service56;
168
- const locations = yield* Service49;
169
- const sessions = yield* make14();
162
+ const transport = yield* Service33;
163
+ const store = yield* Service64;
164
+ const instances = yield* Service48;
165
+ const moves = yield* Service23;
166
+ const jobs = yield* Service51;
167
+ const environments = yield* Service40;
168
+ const locations = yield* Service52;
169
+ const sessions = yield* make12();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service26.of({
171
+ const result = Service22.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError7({ sessionID: input.parentID });
179
+ return yield* new NotFoundError9({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service82, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service42, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service48, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
326
326
  });
327
327
  return result;
328
328
  }));
329
- var node29 = Node.makeGlobalNode({
330
- service: Service26,
329
+ var node25 = Node.makeGlobalNode({
330
+ service: Service22,
331
331
  layer,
332
332
  deps: [
333
- node69,
334
- node59,
335
- node87,
333
+ node53,
334
+ node43,
336
335
  node86,
336
+ node85,
337
337
  node83,
338
- node42,
339
- node41,
338
+ node49,
339
+ node37,
340
340
  llmClient2,
341
- node55,
342
- node44,
343
- node43,
344
- node32,
345
- node33,
341
+ node67,
342
+ node50,
346
343
  node51,
344
+ node26,
345
+ node32,
346
+ node54,
347
347
  FSUtil.node,
348
- node52
348
+ node55
349
349
  ]
350
350
  });
351
351
 
352
- export { ListAnchor2, ListInput3, Service26, node29, exports_session };
352
+ export { ListAnchor2, ListInput3, Service22, node25, exports_session };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-jcxvn8gn.js";
3
+ } from "./file-retention-215n7470.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin8,
11
+ Plugin: () => Plugin40,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint6
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint4 = "https://api.tavily.com/search";
18
+ var endpoint6 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin8 = define({
32
+ var Plugin40 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin8 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin8 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin8, exports_tavily };
80
+ export { endpoint6, Plugin40, exports_tavily };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service82
3
- } from "./model-resolver-v8878m3p.js";
2
+ Service81
3
+ } from "./file-retention-yj9gc6e9.js";
4
4
  import {
5
- Service66
6
- } from "./model-resolver-1anfc26p.js";
5
+ Service57
6
+ } from "./file-retention-1xy1s23z.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./model-resolver-rdw6cm16.js";
12
+ } from "./file-retention-rdw6cm16.js";
13
13
  import {
14
- Service31,
14
+ Service35,
15
15
  awaitActivation2
16
- } from "./model-resolver-dxj72tfx.js";
16
+ } from "./file-retention-619r8v3y.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./model-resolver-xes5nzqf.js";
21
+ } from "./file-retention-g92vxn4r.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./file-retention-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service31,
33
+ Service: () => Service35,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node23
37
+ node: () => node21
38
38
  });
39
39
  import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service31, Effect.gen(function* () {
44
- const bus = yield* Service82;
45
- const kv = yield* Service66;
43
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
44
+ const bus = yield* Service81;
45
+ const kv = yield* Service57;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service31.of({
208
+ return Service35.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node23 = Node.makeLocationNode({
226
- service: Service31,
225
+ var node21 = Node.makeLocationNode({
226
+ service: Service35,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node23, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
231
+ export { node21, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  ID9
3
- } from "./model-resolver-th0g359r.js";
3
+ } from "./file-retention-ds33edxf.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-resolver-922hggd3.js";
6
+ } from "./file-retention-922hggd3.js";
7
7
  import {
8
- Info13
9
- } from "./model-resolver-x03qqaj0.js";
8
+ Info14
9
+ } from "./file-retention-pb1eahw5.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./model-resolver-7hrt1dkg.js";
12
+ } from "./file-retention-f6e7w7qa.js";
13
13
  import {
14
14
  latest2,
15
- Service57
16
- } from "./model-resolver-zzn9gyf4.js";
15
+ Service53
16
+ } from "./file-retention-66yb9ghn.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./model-resolver-5daktx2q.js";
19
+ } from "./file-retention-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./model-resolver-9rqn6x4v.js";
22
+ } from "./file-retention-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin42
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin20
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info13);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin42 = define({
47
+ var Plugin20 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service57;
50
+ const config = yield* Service53;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin42, exports_agent2 };
164
+ export { Plugin20, exports_agent };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./model-resolver-eh3zwz77.js";
3
+ } from "./file-retention-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./model-resolver-e73j6tqm.js";
6
+ } from "./file-retention-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./model-resolver-3wcehsnq.js";
9
+ } from "./file-retention-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./model-resolver-dap0rakb.js";
12
+ } from "./file-retention-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./model-resolver-4y7fprxs.js";
15
+ } from "./file-retention-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {