@opencode/core 0.0.0-dev-20681 → 0.0.0-dev-20682

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-retention-j7ektg2c.js → model-resolver-0364ndsb.js} +44 -44
  8. package/dist/chunks/{file-retention-kd48n5vs.js → model-resolver-08d6azjt.js} +9 -9
  9. package/dist/chunks/{file-retention-tg7bkhef.js → model-resolver-0bg0bx69.js} +5 -5
  10. package/dist/chunks/{file-retention-q0xm7vwc.js → model-resolver-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{file-retention-8rg5szvb.js → model-resolver-0me0fk48.js} +4 -4
  12. package/dist/chunks/{file-retention-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-retention-kjwsf0xt.js → model-resolver-0q2fecvk.js} +11 -11
  14. package/dist/chunks/{file-retention-cpqeyayh.js → model-resolver-0tpcnmcw.js} +6 -6
  15. package/dist/chunks/{file-retention-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{file-retention-4y79czg2.js → model-resolver-0ybx6e4j.js} +16 -16
  17. package/dist/chunks/{file-retention-acw72k0x.js → model-resolver-10c97xc6.js} +9 -9
  18. package/dist/chunks/{file-retention-9fyy27dk.js → model-resolver-110b8ek2.js} +27 -27
  19. package/dist/chunks/{file-retention-a2x2qtap.js → model-resolver-11hct9f4.js} +27 -27
  20. package/dist/chunks/{file-retention-x0r517r6.js → model-resolver-11nrpngx.js} +14 -14
  21. package/dist/chunks/{file-retention-xe9nhgdy.js → model-resolver-14p1364x.js} +30 -30
  22. package/dist/chunks/{file-retention-sbc7xwzx.js → model-resolver-16zkvp84.js} +37 -37
  23. package/dist/chunks/{file-retention-23kkzav6.js → model-resolver-19y7fb49.js} +13 -13
  24. package/dist/chunks/{file-retention-rhraev7y.js → model-resolver-1acjjqhc.js} +4 -4
  25. package/dist/chunks/{file-retention-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{file-retention-r6pqrcmr.js → model-resolver-1p1pjvaa.js} +21 -21
  27. package/dist/chunks/{file-retention-h41w6thw.js → model-resolver-1y9c9szs.js} +23 -23
  28. package/dist/chunks/{file-retention-34x5nqhx.js → model-resolver-211z80cq.js} +7 -7
  29. package/dist/chunks/{file-retention-j1akhw48.js → model-resolver-24kyvzj3.js} +49 -49
  30. package/dist/chunks/{file-retention-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-retention-a1dq5efv.js → model-resolver-2becn8wt.js} +7 -7
  32. package/dist/chunks/{file-retention-4ts7tf6z.js → model-resolver-2ccvkpx1.js} +2 -2
  33. package/dist/chunks/{file-retention-ygrct2xs.js → model-resolver-2ex9v4dz.js} +27 -27
  34. package/dist/chunks/{file-retention-dagpcw60.js → model-resolver-2f659e5x.js} +11 -11
  35. package/dist/chunks/{file-retention-hh66qvd1.js → model-resolver-2mn1ra9m.js} +32 -32
  36. package/dist/chunks/{file-retention-rzwhqm3a.js → model-resolver-2txn9rvg.js} +1 -1
  37. package/dist/chunks/{file-retention-r6qhg5cx.js → model-resolver-2vecpzew.js} +18 -18
  38. package/dist/chunks/{file-retention-g0wmaxy9.js → model-resolver-2weqyc98.js} +25 -25
  39. package/dist/chunks/{file-retention-hm31tfx1.js → model-resolver-31xw4se4.js} +1 -1
  40. package/dist/chunks/{file-retention-q65awyea.js → model-resolver-33dajdt0.js} +84 -84
  41. package/dist/chunks/{file-retention-0f5x9ggt.js → model-resolver-38g0pyy9.js} +1 -1
  42. package/dist/chunks/{file-retention-h2b79v29.js → model-resolver-3cegwx68.js} +2 -2
  43. package/dist/chunks/{file-retention-jvm6vmtm.js → model-resolver-3dygqxay.js} +14 -14
  44. package/dist/chunks/{file-retention-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{file-retention-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{file-retention-zm4ck3vc.js → model-resolver-3jbr2x8z.js} +8 -8
  47. package/dist/chunks/{file-retention-mbf8d5kt.js → model-resolver-3qnt817w.js} +12 -12
  48. package/dist/chunks/{file-retention-03xyy9gs.js → model-resolver-3rd28rcz.js} +11 -11
  49. package/dist/chunks/{file-retention-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{file-retention-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{file-retention-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{file-retention-g2arkee0.js → model-resolver-40fy2d9q.js} +1 -1
  53. package/dist/chunks/{file-retention-820kspmq.js → model-resolver-4dfbsgcw.js} +20 -20
  54. package/dist/chunks/{file-retention-d3r92nc5.js → model-resolver-4twwj3gr.js} +8 -8
  55. package/dist/chunks/{file-retention-938z0aze.js → model-resolver-4warvet6.js} +22 -22
  56. package/dist/chunks/{file-retention-x9qn77dj.js → model-resolver-4x518902.js} +31 -31
  57. package/dist/chunks/{file-retention-dhxjrn4z.js → model-resolver-4yxeygct.js} +7 -7
  58. package/dist/chunks/{file-retention-n1n192bv.js → model-resolver-4z58m4b4.js} +4 -4
  59. package/dist/chunks/{file-retention-hwgkyev7.js → model-resolver-5120j63r.js} +10 -10
  60. package/dist/chunks/{file-retention-9ye852qw.js → model-resolver-55vcwskv.js} +8 -8
  61. package/dist/chunks/{file-retention-33w4ejhs.js → model-resolver-56gdpj1q.js} +6 -6
  62. package/dist/chunks/{file-retention-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  63. package/dist/chunks/{file-retention-wtqemd4y.js → model-resolver-5kp4xrh9.js} +7 -7
  64. package/dist/chunks/{file-retention-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{file-retention-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{file-retention-5cyysqwj.js → model-resolver-5vs2d7gx.js} +16 -16
  67. package/dist/chunks/{file-retention-nqxj0yn4.js → model-resolver-63db42yp.js} +2 -2
  68. package/dist/chunks/{file-retention-dktpvhqt.js → model-resolver-66hc15ng.js} +32 -32
  69. package/dist/chunks/{file-retention-70he5k1a.js → model-resolver-69fj14ep.js} +24 -24
  70. package/dist/chunks/{file-retention-zz29563v.js → model-resolver-6c6jf3me.js} +21 -21
  71. package/dist/chunks/{file-retention-mjymc32g.js → model-resolver-6m42r3np.js} +21 -21
  72. package/dist/chunks/{file-retention-vbpjx0bg.js → model-resolver-6qcr098f.js} +3 -3
  73. package/dist/chunks/{file-retention-a8skskqr.js → model-resolver-6x448rs9.js} +23 -23
  74. package/dist/chunks/{file-retention-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  75. package/dist/chunks/{file-retention-09fyqd88.js → model-resolver-77jv0j1h.js} +9 -9
  76. package/dist/chunks/{file-retention-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{file-retention-g8pw0xsb.js → model-resolver-7ecay89j.js} +11 -11
  78. package/dist/chunks/model-resolver-7mcy0e9k.js +26 -0
  79. package/dist/chunks/{file-retention-w49382pb.js → model-resolver-7s2tn799.js} +8 -8
  80. package/dist/chunks/{file-retention-gpdrbh7c.js → model-resolver-7y628me3.js} +23 -23
  81. package/dist/chunks/{file-retention-rjk8fnxb.js → model-resolver-83009cjb.js} +27 -27
  82. package/dist/chunks/{file-retention-1dvck2a7.js → model-resolver-84h8c373.js} +2 -2
  83. package/dist/chunks/{file-retention-w1eejvng.js → model-resolver-84txncab.js} +5 -5
  84. package/dist/chunks/{file-retention-ae3ekk0y.js → model-resolver-8bgdgvzg.js} +16 -16
  85. package/dist/chunks/{file-retention-edexehs9.js → model-resolver-8cv9sccg.js} +25 -25
  86. package/dist/chunks/{file-retention-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{file-retention-t83dx74p.js → model-resolver-8htghz5d.js} +18 -18
  88. package/dist/chunks/{file-retention-mbt5cw93.js → model-resolver-8kddseeh.js} +13 -13
  89. package/dist/chunks/{file-retention-bcfhhyy3.js → model-resolver-8nn1yj6z.js} +11 -11
  90. package/dist/chunks/{file-retention-s6d08xqn.js → model-resolver-8nwvde6v.js} +8 -8
  91. package/dist/chunks/{file-retention-8sze2n9a.js → model-resolver-8sze2n9a.js} +2 -2
  92. package/dist/chunks/{file-retention-phm79hns.js → model-resolver-8wf1bn9q.js} +9 -9
  93. package/dist/chunks/{file-retention-d9wzmzc3.js → model-resolver-8y31xnqm.js} +5 -5
  94. package/dist/chunks/{file-retention-myekv2e1.js → model-resolver-8z06avg2.js} +11 -11
  95. package/dist/chunks/{file-retention-ve6nm2s5.js → model-resolver-909p1r3q.js} +6 -6
  96. package/dist/chunks/{file-retention-vczt2j2e.js → model-resolver-94mn3p3s.js} +11 -11
  97. package/dist/chunks/{file-retention-37p191wt.js → model-resolver-9g5xkymg.js} +2 -2
  98. package/dist/chunks/{file-retention-mxt3wcgd.js → model-resolver-9n8a201b.js} +71 -71
  99. package/dist/chunks/{file-retention-fda9q8n1.js → model-resolver-a4jzv6pb.js} +23 -23
  100. package/dist/chunks/{file-retention-hes1j7ga.js → model-resolver-a7bcxdzj.js} +9 -9
  101. package/dist/chunks/{file-retention-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  102. package/dist/chunks/{file-retention-tx92n959.js → model-resolver-afjydgk3.js} +4 -4
  103. package/dist/chunks/{file-retention-5dxg2j8v.js → model-resolver-amehwh5s.js} +6 -6
  104. package/dist/chunks/{file-retention-6r09hpxq.js → model-resolver-av7v7zb0.js} +19 -19
  105. package/dist/chunks/{file-retention-473qxj02.js → model-resolver-azd5zvnq.js} +20 -20
  106. package/dist/chunks/{file-retention-b3f8fkhc.js → model-resolver-b3f8fkhc.js} +2 -2
  107. package/dist/chunks/{file-retention-mdyte87w.js → model-resolver-b3pet2zg.js} +4 -4
  108. package/dist/chunks/{file-retention-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{file-retention-8h3wwz5z.js → model-resolver-bd819fhp.js} +8 -8
  110. package/dist/chunks/{file-retention-ey888tbp.js → model-resolver-bmd39q5q.js} +13 -13
  111. package/dist/chunks/{file-retention-wtdswasp.js → model-resolver-btak5zqv.js} +8 -8
  112. package/dist/chunks/{file-retention-vr81r1wp.js → model-resolver-bth1fran.js} +11 -11
  113. package/dist/chunks/{file-retention-x9hm1kyg.js → model-resolver-c9kv66wf.js} +25 -25
  114. package/dist/chunks/model-resolver-ctefx7dc.js +18 -0
  115. package/dist/chunks/{file-retention-5kw0n2ma.js → model-resolver-ctzssw83.js} +8 -8
  116. package/dist/chunks/{file-retention-cwa6csj7.js → model-resolver-cwa6csj7.js} +2 -2
  117. package/dist/chunks/{file-retention-m7g7tjth.js → model-resolver-cxsfdq8a.js} +24 -24
  118. package/dist/chunks/{file-retention-6dnjeqe6.js → model-resolver-d355hkrp.js} +39 -43
  119. package/dist/chunks/{file-retention-2x9pw9ke.js → model-resolver-d8tgnve2.js} +5 -5
  120. package/dist/chunks/{file-retention-64cxtqk4.js → model-resolver-dafg2r43.js} +34 -34
  121. package/dist/chunks/{file-retention-1n632r5x.js → model-resolver-dm21k72n.js} +9 -9
  122. package/dist/chunks/{file-retention-5xrkpdm9.js → model-resolver-dmghp31x.js} +24 -24
  123. package/dist/chunks/{file-retention-64dv7wa4.js → model-resolver-dmkm46ch.js} +13 -13
  124. package/dist/chunks/{file-retention-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
  125. package/dist/chunks/{file-retention-srq67sk8.js → model-resolver-ds811dtb.js} +2 -2
  126. package/dist/chunks/{file-retention-mv92nc0c.js → model-resolver-dwyev0pn.js} +30 -30
  127. package/dist/chunks/{file-retention-ybqw3e3v.js → model-resolver-dxqyj49f.js} +3 -3
  128. package/dist/chunks/{file-retention-dzbjpkzp.js → model-resolver-dy92ps29.js} +6 -6
  129. package/dist/chunks/{file-retention-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  130. package/dist/chunks/{file-retention-0pgs73yf.js → model-resolver-e53gjx43.js} +41 -41
  131. package/dist/chunks/{file-retention-yb1jef8c.js → model-resolver-e5s5dhnn.js} +11 -11
  132. package/dist/chunks/{file-retention-750g53k3.js → model-resolver-e6vcv3sh.js} +19 -19
  133. package/dist/chunks/{file-retention-09hj56x9.js → model-resolver-e8sy2har.js} +31 -31
  134. package/dist/chunks/{file-retention-cstv7mkv.js → model-resolver-eatejewc.js} +5 -5
  135. package/dist/chunks/{file-retention-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{file-retention-jrpn6x2x.js → model-resolver-ep06henm.js} +18 -18
  137. package/dist/chunks/{file-retention-fa14k2vq.js → model-resolver-es92z2hg.js} +6 -6
  138. package/dist/chunks/{file-retention-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{file-retention-q01e5agj.js → model-resolver-evbj9t57.js} +45 -45
  140. package/dist/chunks/{file-retention-d1wgwwpz.js → model-resolver-eyxk1qnq.js} +33 -33
  141. package/dist/chunks/{file-retention-wsb67xeh.js → model-resolver-f00eh3k7.js} +11 -11
  142. package/dist/chunks/{file-retention-1f0b6d85.js → model-resolver-f53vpfqg.js} +12 -12
  143. package/dist/chunks/{file-retention-dpw5yek7.js → model-resolver-f5en7f74.js} +5 -5
  144. package/dist/chunks/{file-retention-71az546q.js → model-resolver-f75zav2x.js} +2 -2
  145. package/dist/chunks/{file-retention-8qyxgmca.js → model-resolver-fd65jbzw.js} +11 -11
  146. package/dist/chunks/{file-retention-s609sw4r.js → model-resolver-fd7cqx9x.js} +11 -11
  147. package/dist/chunks/{file-retention-sxz6gkc3.js → model-resolver-fm2qvscf.js} +7 -7
  148. package/dist/chunks/{file-retention-gpk0vexy.js → model-resolver-fvp47qe4.js} +20 -20
  149. package/dist/chunks/{file-retention-f76zd4y3.js → model-resolver-fzz3hcr3.js} +24 -24
  150. package/dist/chunks/{file-retention-1ajx6rf5.js → model-resolver-g0445xdp.js} +8 -8
  151. package/dist/chunks/{file-retention-nncbtphf.js → model-resolver-g2qj6ddr.js} +24 -24
  152. package/dist/chunks/{file-retention-0aneshm7.js → model-resolver-g3g4kd0v.js} +20 -20
  153. package/dist/chunks/{file-retention-wmns5nf0.js → model-resolver-g7rd8z26.js} +4 -4
  154. package/dist/chunks/{file-retention-gdgxkkph.js → model-resolver-gaav3xfc.js} +12 -12
  155. package/dist/chunks/{file-retention-3g8j9he4.js → model-resolver-gd0tnyjc.js} +1 -1
  156. package/dist/chunks/{file-retention-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{file-retention-ycw2jfrh.js → model-resolver-ge7bq23y.js} +29 -29
  158. package/dist/chunks/{file-retention-7c5mdn1c.js → model-resolver-gpnd5mkj.js} +9 -9
  159. package/dist/chunks/{file-retention-17sdckqj.js → model-resolver-grwyepjm.js} +17 -17
  160. package/dist/chunks/{file-retention-6cj95z3h.js → model-resolver-gz16832s.js} +26 -26
  161. package/dist/chunks/{file-retention-2e6ycnq2.js → model-resolver-h0wm3sd5.js} +4 -4
  162. package/dist/chunks/{file-retention-be4ddzaj.js → model-resolver-h14zrqyq.js} +20 -20
  163. package/dist/chunks/{file-retention-vnn4j5gh.js → model-resolver-h182e1ya.js} +12 -12
  164. package/dist/chunks/{file-retention-b929sp55.js → model-resolver-h4a7s26t.js} +6 -6
  165. package/dist/chunks/{file-retention-1m3hxyx8.js → model-resolver-h5eb1stf.js} +42 -42
  166. package/dist/chunks/{file-retention-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{file-retention-jbtmhr82.js → model-resolver-h76ep6gq.js} +11 -11
  168. package/dist/chunks/{file-retention-na6tqg4t.js → model-resolver-hh65bbrn.js} +9 -9
  169. package/dist/chunks/{file-retention-zafm009k.js → model-resolver-hhxvcfmq.js} +2 -2
  170. package/dist/chunks/{file-retention-y072d9hw.js → model-resolver-hnyhndd0.js} +3 -3
  171. package/dist/chunks/{file-retention-f9nevmwk.js → model-resolver-ht2a8fky.js} +9 -9
  172. package/dist/chunks/{file-retention-jahc66mj.js → model-resolver-hv8xeme1.js} +10 -10
  173. package/dist/chunks/{file-retention-mhkvc446.js → model-resolver-j028xdjb.js} +3 -3
  174. package/dist/chunks/{file-retention-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  175. package/dist/chunks/{file-retention-hdgxcmab.js → model-resolver-je7fg4hd.js} +25 -25
  176. package/dist/chunks/{file-retention-v71jy9y0.js → model-resolver-jjwtv0ah.js} +6 -6
  177. package/dist/chunks/{file-retention-he1kwnjy.js → model-resolver-jmskrp9g.js} +24 -24
  178. package/dist/chunks/{file-retention-y5nh7e22.js → model-resolver-jrqb24zm.js} +11 -11
  179. package/dist/chunks/{file-retention-fa9q739j.js → model-resolver-k4asghnp.js} +5 -5
  180. package/dist/chunks/{file-retention-xnj07x5h.js → model-resolver-kax3gvj5.js} +11 -11
  181. package/dist/chunks/{file-retention-9e5bzkjp.js → model-resolver-kb9j3d72.js} +3 -3
  182. package/dist/chunks/{file-retention-k0v1pxzb.js → model-resolver-km7an3ep.js} +17 -17
  183. package/dist/chunks/{file-retention-jvf3yq6v.js → model-resolver-kne8f3cn.js} +4 -4
  184. package/dist/chunks/{file-retention-kqx66hb9.js → model-resolver-kx9rc79n.js} +29 -29
  185. package/dist/chunks/{file-retention-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{file-retention-f5gy8qwh.js → model-resolver-m6f3t844.js} +8 -8
  187. package/dist/chunks/{file-retention-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{file-retention-ey8ksrh3.js → model-resolver-m9wbq610.js} +19 -19
  189. package/dist/chunks/{file-retention-njby6g43.js → model-resolver-meahagrb.js} +42 -42
  190. package/dist/chunks/{file-retention-pasrzgnm.js → model-resolver-mtf9y83c.js} +11 -11
  191. package/dist/chunks/{file-retention-n7m69k8w.js → model-resolver-mw9atry4.js} +10 -10
  192. package/dist/chunks/model-resolver-n66nyqav.js +253 -0
  193. package/dist/chunks/{file-retention-b674v2dg.js → model-resolver-n8vdnqrc.js} +5 -5
  194. package/dist/chunks/{file-retention-yvgnd6da.js → model-resolver-ngghfn62.js} +3 -3
  195. package/dist/chunks/{file-retention-gh5z95q3.js → model-resolver-nqc2a42y.js} +9 -9
  196. package/dist/chunks/{file-retention-2pbjjxkv.js → model-resolver-nv85q5yc.js} +13 -13
  197. package/dist/chunks/{file-retention-904an80t.js → model-resolver-nvkjfv9x.js} +18 -18
  198. package/dist/chunks/{file-retention-pgp1nwjn.js → model-resolver-nw91k3fh.js} +4 -4
  199. package/dist/chunks/{file-retention-crgh4fce.js → model-resolver-p5qcrc4c.js} +3 -3
  200. package/dist/chunks/{file-retention-x03f1vzf.js → model-resolver-pbwe4c5d.js} +86 -86
  201. package/dist/chunks/{file-retention-zcs7pzqw.js → model-resolver-pj9tg3xc.js} +29 -29
  202. package/dist/chunks/{file-retention-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{file-retention-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  204. package/dist/chunks/{file-retention-30846h32.js → model-resolver-pnaxc6j9.js} +8 -8
  205. package/dist/chunks/{file-retention-2c25w9p0.js → model-resolver-q8nwznbs.js} +4 -4
  206. package/dist/chunks/{file-retention-qgn6gcr1.js → model-resolver-qgn6gcr1.js} +1 -1
  207. package/dist/chunks/{file-retention-bcb25nnb.js → model-resolver-qhf50je4.js} +19 -19
  208. package/dist/chunks/{file-retention-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{file-retention-6ny0zgt8.js → model-resolver-qqbg84xg.js} +17 -17
  210. package/dist/chunks/{file-retention-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  211. package/dist/chunks/{file-retention-xyafkbt0.js → model-resolver-qxjc9qry.js} +3 -3
  212. package/dist/chunks/{file-retention-xsgjgyxe.js → model-resolver-r01t9b5y.js} +6 -6
  213. package/dist/chunks/{file-retention-nxb06eb5.js → model-resolver-r54yw92w.js} +11 -11
  214. package/dist/chunks/{file-retention-54ma36ye.js → model-resolver-r94pvvab.js} +4 -4
  215. package/dist/chunks/{file-retention-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{file-retention-1ffbm2jk.js → model-resolver-rp6bd9wq.js} +11 -11
  217. package/dist/chunks/{file-retention-w14eggg5.js → model-resolver-rs7zj18r.js} +9 -9
  218. package/dist/chunks/{file-retention-094k6nq6.js → model-resolver-rwegcfpf.js} +16 -16
  219. package/dist/chunks/{file-retention-2ymj8j9z.js → model-resolver-s6v33hhs.js} +5 -5
  220. package/dist/chunks/{file-retention-gq1kxapj.js → model-resolver-sgg17eyk.js} +16 -16
  221. package/dist/chunks/{file-retention-zzmbjfh5.js → model-resolver-sgksxw7g.js} +3 -3
  222. package/dist/chunks/{file-retention-arz7hw7x.js → model-resolver-ss358qx3.js} +3 -3
  223. package/dist/chunks/{file-retention-7jc2cdj1.js → model-resolver-ssrgjt3e.js} +8 -8
  224. package/dist/chunks/{file-retention-6j7shb91.js → model-resolver-t29swve2.js} +3 -3
  225. package/dist/chunks/{file-retention-fqy13z6k.js → model-resolver-t32zyhfe.js} +7 -7
  226. package/dist/chunks/{file-retention-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{file-retention-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
  228. package/dist/chunks/{file-retention-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  229. package/dist/chunks/{file-retention-y5chagx8.js → model-resolver-tg3ranp2.js} +26 -26
  230. package/dist/chunks/{file-retention-3cw3w3a5.js → model-resolver-tjscfx4m.js} +30 -30
  231. package/dist/chunks/{file-retention-57myy5jh.js → model-resolver-tk14y25j.js} +5 -5
  232. package/dist/chunks/{file-retention-bfzhmb2g.js → model-resolver-tptdvtpk.js} +20 -20
  233. package/dist/chunks/{file-retention-0mb4avxv.js → model-resolver-tttwfjc6.js} +5 -5
  234. package/dist/chunks/{file-retention-kpnjtwkv.js → model-resolver-txqvqyew.js} +41 -41
  235. package/dist/chunks/{file-retention-33kqnb84.js → model-resolver-v3n49zdf.js} +15 -15
  236. package/dist/chunks/{file-retention-4j03jpg8.js → model-resolver-vb454w7p.js} +3 -3
  237. package/dist/chunks/{file-retention-pvr6cp49.js → model-resolver-vbdkyqz4.js} +1 -1
  238. package/dist/chunks/{file-retention-ytkq3k3g.js → model-resolver-vbwbd6d7.js} +9 -9
  239. package/dist/chunks/{file-retention-cd4hwype.js → model-resolver-vepq4dqg.js} +52 -52
  240. package/dist/chunks/{file-retention-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  241. package/dist/chunks/{file-retention-64yxt7jn.js → model-resolver-vsn506cm.js} +20 -20
  242. package/dist/chunks/{file-retention-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{file-retention-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{file-retention-dzyv9zyr.js → model-resolver-w7zyscj3.js} +6 -6
  245. package/dist/chunks/{file-retention-xdexf0f6.js → model-resolver-wbprqre7.js} +13 -13
  246. package/dist/chunks/{file-retention-94bax37x.js → model-resolver-wbtjy708.js} +23 -23
  247. package/dist/chunks/{file-retention-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  248. package/dist/chunks/{file-retention-9jwk2z16.js → model-resolver-wdr7g53b.js} +26 -26
  249. package/dist/chunks/{file-retention-2ma8f05f.js → model-resolver-wgrcm666.js} +24 -24
  250. package/dist/chunks/{file-retention-n2srvep7.js → model-resolver-wj76ss2k.js} +4 -4
  251. package/dist/chunks/{file-retention-s8d7rejh.js → model-resolver-wv396vej.js} +8 -8
  252. package/dist/chunks/{file-retention-7qnnmmsd.js → model-resolver-wyy60m0y.js} +1 -1
  253. package/dist/chunks/{file-retention-50fv3yjs.js → model-resolver-wzmhb02r.js} +13 -13
  254. package/dist/chunks/{file-retention-3bc8czyk.js → model-resolver-x2d9qy7d.js} +5 -5
  255. package/dist/chunks/{file-retention-205pr9zd.js → model-resolver-x38qdzk1.js} +48 -48
  256. package/dist/chunks/{file-retention-5bvv5wt0.js → model-resolver-x623mxjj.js} +17 -17
  257. package/dist/chunks/{file-retention-mxvxcxwy.js → model-resolver-x661k3y3.js} +4 -4
  258. package/dist/chunks/{file-retention-4ffr5ypj.js → model-resolver-xbmhsw7f.js} +29 -29
  259. package/dist/chunks/{file-retention-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
  260. package/dist/chunks/{file-retention-4jvpaqy4.js → model-resolver-xjd9n2sp.js} +25 -25
  261. package/dist/chunks/{file-retention-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{file-retention-9qrc8kph.js → model-resolver-y0qr5jf7.js} +1 -1
  263. package/dist/chunks/{file-retention-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{file-retention-a1ekkk6g.js → model-resolver-y6v1v83p.js} +11 -11
  265. package/dist/chunks/{file-retention-ptx056q3.js → model-resolver-yc5k47t6.js} +18 -18
  266. package/dist/chunks/{file-retention-z9nc9d7h.js → model-resolver-yfa68f7n.js} +33 -33
  267. package/dist/chunks/{file-retention-rf6cmkn1.js → model-resolver-yg62bcth.js} +11 -11
  268. package/dist/chunks/{file-retention-zwrdb9pw.js → model-resolver-ymr5aw12.js} +9 -9
  269. package/dist/chunks/{file-retention-mna3rst0.js → model-resolver-ynx1sbyb.js} +11 -11
  270. package/dist/chunks/{file-retention-5ryzkr0h.js → model-resolver-yp8tn9p0.js} +17 -17
  271. package/dist/chunks/{file-retention-9faykjcc.js → model-resolver-ypjnx83w.js} +148 -148
  272. package/dist/chunks/{file-retention-gejtnehc.js → model-resolver-ypnjcb15.js} +33 -33
  273. package/dist/chunks/{file-retention-j57qcdj3.js → model-resolver-yvehv8j4.js} +21 -21
  274. package/dist/chunks/model-resolver-yvv17s0z.js +507 -0
  275. package/dist/chunks/{file-retention-wknvrshc.js → model-resolver-yyk24bey.js} +17 -17
  276. package/dist/chunks/{file-retention-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{file-retention-srm8s2qm.js → model-resolver-z0r25cb3.js} +12 -12
  278. package/dist/chunks/{file-retention-n37c4crj.js → model-resolver-z4ztj7g0.js} +9 -9
  279. package/dist/chunks/{file-retention-hwm35mvz.js → model-resolver-zf19209g.js} +3 -3
  280. package/dist/chunks/{file-retention-3qhw393j.js → model-resolver-zf4p7bms.js} +15 -15
  281. package/dist/chunks/{file-retention-3yef2cta.js → model-resolver-zny3dpd0.js} +8 -8
  282. package/dist/chunks/{file-retention-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{file-retention-g7bg1e3j.js → model-resolver-zwcyw4cb.js} +4 -4
  284. package/dist/chunks/{file-retention-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +70 -70
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +79 -79
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +105 -105
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +72 -72
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +130 -130
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +83 -83
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +102 -102
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +90 -90
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +76 -76
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +114 -114
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +114 -114
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +72 -72
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +216 -216
  551. package/dist/project/schema.js +4 -4
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +84 -84
  554. package/dist/provider.js +97 -97
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +89 -89
  558. package/dist/reference/instructions.js +87 -87
  559. package/dist/reference.js +89 -89
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +3 -3
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +135 -135
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +210 -210
  575. package/dist/session/execution.js +123 -123
  576. package/dist/session/generate.js +154 -154
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +82 -82
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +96 -96
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +2 -2
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +105 -105
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +75 -75
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +201 -201
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +210 -210
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +213 -213
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +7 -7
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +105 -105
  623. package/dist/skill.js +112 -112
  624. package/dist/snapshot.js +93 -93
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +114 -114
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +111 -111
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +114 -114
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/file-retention-08vhykfc.js +0 -253
  682. package/dist/chunks/file-retention-4hv31q0j.js +0 -507
  683. package/dist/chunks/file-retention-q509s3k3.js +0 -18
  684. package/dist/chunks/file-retention-qssvdjk7.js +0 -26
  685. /package/dist/chunks/{file-retention-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{file-retention-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{file-retention-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{file-retention-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{file-retention-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{file-retention-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{file-retention-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{file-retention-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{file-retention-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{file-retention-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{file-retention-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{file-retention-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  697. /package/dist/chunks/{file-retention-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{file-retention-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{file-retention-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{file-retention-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{file-retention-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{file-retention-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{file-retention-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{file-retention-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{file-retention-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  706. /package/dist/chunks/{file-retention-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{file-retention-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  708. /package/dist/chunks/{file-retention-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{file-retention-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-retention-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-retention-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-retention-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-retention-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-retention-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{file-retention-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-retention-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-retention-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-retention-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-retention-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-retention-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-retention-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-retention-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-retention-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-retention-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-retention-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-retention-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-retention-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-retention-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-retention-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-retention-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-retention-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-retention-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-retention-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-retention-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-retention-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-retention-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-retention-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-retention-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-retention-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-retention-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-retention-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-retention-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-retention-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-retention-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-retention-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-retention-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  747. /package/dist/chunks/{file-retention-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{file-retention-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{file-retention-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{file-retention-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{file-retention-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{file-retention-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{file-retention-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{file-retention-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{file-retention-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{file-retention-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{file-retention-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{file-retention-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{file-retention-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{file-retention-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{file-retention-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{file-retention-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{file-retention-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{file-retention-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{file-retention-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{file-retention-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{file-retention-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{file-retention-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{file-retention-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{file-retention-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{file-retention-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{file-retention-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{file-retention-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  774. /package/dist/chunks/{file-retention-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{file-retention-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{file-retention-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{file-retention-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{file-retention-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{file-retention-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{file-retention-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node40
4
- } from "./file-retention-a1ekkk6g.js";
3
+ node60
4
+ } from "./model-resolver-y6v1v83p.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./file-retention-7jc2cdj1.js";
8
+ } from "./model-resolver-ssrgjt3e.js";
9
9
  import {
10
- ID10,
11
- Service66,
12
- node69
13
- } from "./file-retention-he1kwnjy.js";
10
+ ID9,
11
+ Service56,
12
+ node58
13
+ } from "./model-resolver-jmskrp9g.js";
14
14
  import {
15
- ID15,
15
+ ID14,
16
16
  OAuth3
17
- } from "./file-retention-r6pqrcmr.js";
17
+ } from "./model-resolver-1p1pjvaa.js";
18
18
  import {
19
19
  ID13,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service69,
24
- node72
25
- } from "./file-retention-ygrct2xs.js";
23
+ Service73,
24
+ node77
25
+ } from "./model-resolver-2ex9v4dz.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./file-retention-z5v4ffb3.js";
28
+ } from "./model-resolver-z5v4ffb3.js";
29
29
  import {
30
- Info26,
30
+ Info27,
31
31
  Ref4,
32
32
  Service78,
33
33
  node82
34
- } from "./file-retention-fa9q739j.js";
34
+ } from "./model-resolver-k4asghnp.js";
35
35
  import {
36
36
  ID12,
37
- Service68,
38
- node71
39
- } from "./file-retention-a8skskqr.js";
37
+ Service72,
38
+ node76
39
+ } from "./model-resolver-6x448rs9.js";
40
40
  import {
41
- Service51,
42
- node54
43
- } from "./file-retention-f9nevmwk.js";
41
+ Service59,
42
+ node62
43
+ } from "./model-resolver-ht2a8fky.js";
44
44
  import {
45
- Service81,
46
- node85
47
- } from "./file-retention-f76zd4y3.js";
45
+ Service49,
46
+ node51
47
+ } from "./model-resolver-fzz3hcr3.js";
48
48
  import {
49
- Service83,
50
- node87
51
- } from "./file-retention-2pbjjxkv.js";
49
+ Service76,
50
+ node80
51
+ } from "./model-resolver-nv85q5yc.js";
52
52
  import {
53
- Service46,
54
- node49
55
- } from "./file-retention-kd48n5vs.js";
53
+ Service77,
54
+ node81
55
+ } from "./model-resolver-08d6azjt.js";
56
56
  import {
57
- ID7,
58
- Service58,
59
- node61
60
- } from "./file-retention-rjk8fnxb.js";
57
+ ID11,
58
+ Service71,
59
+ node75
60
+ } from "./model-resolver-83009cjb.js";
61
61
  import {
62
- ID16
63
- } from "./file-retention-zcs7pzqw.js";
62
+ ID10
63
+ } from "./model-resolver-pj9tg3xc.js";
64
64
  import {
65
- Service29,
66
- node32
67
- } from "./file-retention-j7ektg2c.js";
65
+ Service36,
66
+ node40
67
+ } from "./model-resolver-0364ndsb.js";
68
68
  import {
69
- Service67,
70
- node70
71
- } from "./file-retention-30846h32.js";
69
+ Service70,
70
+ node74
71
+ } from "./model-resolver-pnaxc6j9.js";
72
72
  import {
73
- Service63,
74
- node66
75
- } from "./file-retention-cd4hwype.js";
73
+ Service53,
74
+ node55
75
+ } from "./model-resolver-vepq4dqg.js";
76
76
  import {
77
- Service34,
78
- node37
79
- } from "./file-retention-x9hm1kyg.js";
77
+ Service52,
78
+ node54
79
+ } from "./model-resolver-c9kv66wf.js";
80
80
  import {
81
81
  Source3,
82
- Service36,
83
- node39
84
- } from "./file-retention-y5chagx8.js";
82
+ Service47,
83
+ node49
84
+ } from "./model-resolver-tg3ranp2.js";
85
85
  import {
86
- Info7,
87
- Service39,
88
- node43
89
- } from "./file-retention-m7g7tjth.js";
86
+ Info10,
87
+ Service51,
88
+ node53
89
+ } from "./model-resolver-cxsfdq8a.js";
90
+ import {
91
+ Service29,
92
+ node32
93
+ } from "./model-resolver-33dajdt0.js";
90
94
  import {
91
95
  Service19,
92
96
  node22
93
- } from "./file-retention-q65awyea.js";
97
+ } from "./model-resolver-xbmhsw7f.js";
94
98
  import {
95
- Service61,
96
- node64
97
- } from "./file-retention-4ffr5ypj.js";
99
+ Service21,
100
+ node24
101
+ } from "./model-resolver-7ecay89j.js";
98
102
  import {
99
- Service40,
100
- node44
101
- } from "./file-retention-g8pw0xsb.js";
103
+ Service22,
104
+ node25
105
+ } from "./model-resolver-km7an3ep.js";
102
106
  import {
103
- Service48,
104
- node51
105
- } from "./file-retention-k0v1pxzb.js";
107
+ ID4,
108
+ Service20,
109
+ node23
110
+ } from "./model-resolver-2weqyc98.js";
106
111
  import {
107
- ID6,
108
- Service47,
109
- node50
110
- } from "./file-retention-g0wmaxy9.js";
111
- import {
112
- Service38,
113
- node42
114
- } from "./file-retention-ae3ekk0y.js";
112
+ Service24,
113
+ node27
114
+ } from "./model-resolver-8bgdgvzg.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info6,
117
+ Info5,
118
118
  ListEntry3,
119
- Service37,
120
- node41
121
- } from "./file-retention-sbc7xwzx.js";
119
+ Service23,
120
+ node26
121
+ } from "./model-resolver-16zkvp84.js";
122
122
  import {
123
- Service49,
124
- node52
125
- } from "./file-retention-hdgxcmab.js";
123
+ Service25,
124
+ node28
125
+ } from "./model-resolver-je7fg4hd.js";
126
126
  import {
127
127
  __export
128
- } from "./file-retention-9rqn6x4v.js";
128
+ } from "./model-resolver-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,49 +143,49 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service66;
147
- const aisdk = yield* Service51;
148
- const providers = yield* Service68;
149
- const models = yield* Service58;
150
- const commands = yield* Service81;
146
+ const agents = yield* Service56;
147
+ const aisdk = yield* Service59;
148
+ const providers = yield* Service72;
149
+ const models = yield* Service71;
150
+ const commands = yield* Service49;
151
151
  const bus = yield* Service82;
152
- const integration = yield* Service69;
153
- const kv = yield* Service83;
154
- const mcp = yield* Service29;
152
+ const integration = yield* Service73;
153
+ const kv = yield* Service76;
154
+ const mcp = yield* Service36;
155
155
  const location = yield* Service78;
156
- const reference = yield* Service36;
157
- const rpc = yield* Service40;
158
- const skill = yield* Service39;
159
- const tools = yield* Service34;
160
- const vcs = yield* Service48;
161
- const websearch = yield* Service47;
162
- const generate = yield* Service49;
163
- const permission = yield* Service63;
164
- const hooks = yield* Service67;
165
- const sessions = yield* Service19;
166
- const persistentPty = yield* Service61;
167
- const locations = yield* Service46;
168
- const worktrees = yield* Service37;
169
- const worktreeStrategies = yield* Service38;
156
+ const reference = yield* Service47;
157
+ const rpc = yield* Service21;
158
+ const skill = yield* Service51;
159
+ const tools = yield* Service52;
160
+ const vcs = yield* Service22;
161
+ const websearch = yield* Service20;
162
+ const generate = yield* Service25;
163
+ const permission = yield* Service53;
164
+ const hooks = yield* Service70;
165
+ const sessions = yield* Service29;
166
+ const persistentPty = yield* Service19;
167
+ const locations = yield* Service77;
168
+ const worktrees = yield* Service23;
169
+ const worktreeStrategies = yield* Service24;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
- const locationInfo = () => new Info26({
171
+ const locationInfo = () => new Info27({
172
172
  directory: location.directory,
173
173
  workspaceID: location.workspaceID,
174
174
  project: location.project
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID16.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info6);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info5);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
185
  const location = yield* Service78;
186
- const agents = yield* Service66;
186
+ const agents = yield* Service56;
187
187
  return {
188
- location: new Info26({
188
+ location: new Info27({
189
189
  directory: location.directory,
190
190
  workspaceID: location.workspaceID,
191
191
  project: location.project
@@ -217,10 +217,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID10.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
222
- update: (id, update) => editor.update(ID10.make(id), update),
223
- remove: (id) => editor.remove(ID10.make(id))
220
+ get: (id) => mutable(editor.get(ID9.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
222
+ update: (id, update) => editor.update(ID9.make(id), update),
223
+ remove: (id) => editor.remove(ID9.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -262,14 +262,14 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  get: (id) => editor.get(ID12.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
267
  update: (id, update) => editor.update(ID12.make(id), update),
268
268
  remove: (id) => editor.remove(ID12.make(id)),
269
269
  models: {
270
270
  set: (id, models) => editor.models.set(ID12.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID7.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID7.make(modelID))
271
+ update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -280,12 +280,12 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
282
  list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID12.make(providerID), ID7.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID7.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID7.make(modelID)),
283
+ get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID7.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
@@ -364,10 +364,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
364
364
  reload: integration.reload,
365
365
  connection: {
366
366
  active: (id) => integration.connection.active(ID13.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection),
368
368
  status: (input) => integration.connection.status({
369
369
  integrationID: ID13.make(input.integrationID),
370
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.make(input.connection.id) } : input.connection,
370
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID14.make(input.connection.id) } : input.connection,
371
371
  status: input.status
372
372
  })
373
373
  },
@@ -391,9 +391,9 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
391
391
  if (ref && !isCurrentLocation(ref))
392
392
  return Effect.gen(function* () {
393
393
  const location = yield* Service78;
394
- const mcp = yield* Service29;
394
+ const mcp = yield* Service36;
395
395
  return {
396
- location: new Info26({
396
+ location: new Info27({
397
397
  directory: location.directory,
398
398
  workspaceID: location.workspaceID,
399
399
  project: location.project
@@ -442,7 +442,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
442
442
  callback({
443
443
  list: () => mutable(editor.list()),
444
444
  get: editor.get,
445
- add: (value) => editor.add(Schema.decodeUnknownSync(Info7)(value)),
445
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info10)(value)),
446
446
  update: editor.update,
447
447
  remove: editor.remove
448
448
  });
@@ -473,19 +473,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
473
473
  providers: () => response(websearch.providers()),
474
474
  query: (input) => response(websearch.query({
475
475
  query: input.query,
476
- providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
476
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
477
477
  })),
478
478
  reload: websearch.reload,
479
479
  transform: (callback) => websearch.transform((editor) => {
480
480
  callback({
481
481
  add: (definition) => editor.add({
482
- id: ID6.make(definition.id),
482
+ id: ID4.make(definition.id),
483
483
  name: definition.name,
484
484
  execute: definition.execute
485
485
  }),
486
486
  default: {
487
487
  get: editor.default.get,
488
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
488
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
489
489
  }
490
490
  });
491
491
  })
@@ -545,31 +545,31 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
545
545
  return context;
546
546
  });
547
547
  var requirements3 = LayerNode.group([
548
+ node60,
549
+ node58,
550
+ node62,
551
+ node76,
552
+ node75,
553
+ node51,
554
+ node86,
555
+ node77,
556
+ node80,
548
557
  node40,
549
- node69,
558
+ node82,
559
+ node49,
560
+ node24,
561
+ node53,
550
562
  node54,
551
- node71,
552
- node61,
553
- node85,
554
- node86,
555
- node72,
556
- node87,
563
+ node25,
564
+ node23,
565
+ node26,
566
+ node27,
567
+ node28,
568
+ node55,
569
+ node74,
557
570
  node32,
558
- node82,
559
- node39,
560
- node44,
561
- node43,
562
- node37,
563
- node51,
564
- node50,
565
- node41,
566
- node42,
567
- node52,
568
- node66,
569
- node70,
570
571
  node22,
571
- node64,
572
- node49
572
+ node81
573
573
  ]);
574
574
  function storage2(kv, pluginID) {
575
575
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./file-retention-vczt2j2e.js";
2
+ Service83,
3
+ node87
4
+ } from "./model-resolver-94mn3p3s.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./file-retention-7jc2cdj1.js";
8
+ } from "./model-resolver-ssrgjt3e.js";
9
9
  import {
10
10
  Service60,
11
11
  node63
12
- } from "./file-retention-d3r92nc5.js";
12
+ } from "./model-resolver-4twwj3gr.js";
13
13
  import {
14
- Service43,
15
- node46
16
- } from "./file-retention-ve6nm2s5.js";
14
+ Service46,
15
+ node48
16
+ } from "./model-resolver-909p1r3q.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-retention-ec1grn59.js";
19
+ } from "./model-resolver-ec1grn59.js";
20
20
  import {
21
- make19
22
- } from "./file-retention-rhraev7y.js";
21
+ make17
22
+ } from "./model-resolver-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service42
26
- } from "./file-retention-jvf3yq6v.js";
25
+ Service43
26
+ } from "./model-resolver-kne8f3cn.js";
27
27
  import {
28
- Service65,
29
- node68
30
- } from "./file-retention-5bvv5wt0.js";
28
+ Service54,
29
+ node56
30
+ } from "./model-resolver-x623mxjj.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./file-retention-0mb4avxv.js";
33
+ } from "./model-resolver-tttwfjc6.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./file-retention-5ryzkr0h.js";
36
+ } from "./model-resolver-yp8tn9p0.js";
37
37
  import {
38
38
  __export
39
- } from "./file-retention-9rqn6x4v.js";
39
+ } from "./model-resolver-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service41,
44
+ Service: () => Service42,
45
45
  SessionExecution: () => exports_execution,
46
46
  layer: () => layer16,
47
47
  node: () => node45,
48
- noopLayer: () => noopLayer3,
48
+ noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service41 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service42 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer16 = Layer.effect(Service41, Effect.gen(function* () {
63
- const store = yield* Service65;
64
- const instances = yield* Service43;
62
+ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
63
+ const store = yield* Service54;
64
+ const instances = yield* Service46;
65
65
  const bus = yield* Service82;
66
66
  const jobs = yield* Service60;
67
- const db = (yield* Service84).db;
67
+ const db = (yield* Service83).db;
68
68
  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);
69
69
  const claimOnCommit = (sessionID) => ({
70
70
  commit: () => store.claim(sessionID)
@@ -76,14 +76,14 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service42.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 }))));
79
+ const result = yield* Service43.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 }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make19({
86
+ const coordinator = yield* make17({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service41.of({
107
+ return Service42.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -124,11 +124,11 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
124
124
  });
125
125
  }));
126
126
  var node45 = makeGlobalNode({
127
- service: Service41,
127
+ service: Service42,
128
128
  layer: layer16,
129
- deps: [node68, node46, node86, node88, node63]
129
+ deps: [node56, node48, node86, node87, node63]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service41, Service41.of({
131
+ var noopLayer2 = Layer.succeed(Service42, Service42.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service41, Service41.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service41, terminal2, layer16, node45, noopLayer3, exports_execution };
140
+ export { Service42, terminal2, layer16, node45, noopLayer2, exports_execution };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make21,
4
+ make22,
5
5
  diffByKey2
6
- } from "./file-retention-s8d7rejh.js";
6
+ } from "./model-resolver-wv396vej.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2,
10
- available2,
11
- Service39,
12
- node43
13
- } from "./file-retention-m7g7tjth.js";
10
+ available3,
11
+ Service51,
12
+ node53
13
+ } from "./model-resolver-cxsfdq8a.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions3 = {};
20
20
  __export(exports_instructions3, {
21
- Service: () => Service26,
21
+ Service: () => Service32,
22
22
  SkillInstructions: () => exports_instructions3,
23
- node: () => node29
23
+ node: () => node36
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,15 +60,15 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service26 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service32 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service26, Effect.gen(function* () {
66
- const skills = yield* Service39;
67
- return Service26.of({
65
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
66
+ const skills = yield* Service51;
67
+ return Service32.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make21({
71
- key: Key3.make("core/skill-guidance"),
69
+ const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
+ return make22({
71
+ key: Key4.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
74
74
  render: {
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node29 = makeLocationNode({ service: Service26, layer, deps: [node43] });
83
+ var node36 = makeLocationNode({ service: Service32, layer, deps: [node53] });
84
84
 
85
- export { Service26, node29, exports_instructions3 };
85
+ export { Service32, node36, exports_instructions3 };