@opencode/core 0.0.0-dev-20483 → 0.0.0-dev-20485

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +1 -1
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-retention-299t90wb.js → model-038wgxtv.js} +23 -23
  8. package/dist/chunks/{file-retention-1tt22aw3.js → model-07e3556j.js} +20 -20
  9. package/dist/chunks/{file-retention-py5x8axh.js → model-08ths63p.js} +11 -11
  10. package/dist/chunks/{file-retention-n37c4crj.js → model-0996nyz8.js} +2 -2
  11. package/dist/chunks/{file-retention-pb2egvkv.js → model-09pc141r.js} +9 -9
  12. package/dist/chunks/{file-retention-2fcdk11z.js → model-0agwad7d.js} +58 -58
  13. package/dist/chunks/{file-retention-nx5d6twc.js → model-0etz39gn.js} +43 -43
  14. package/dist/chunks/{file-retention-tj5rcesx.js → model-0j5k85vb.js} +32 -32
  15. package/dist/chunks/{file-retention-eqkxs06z.js → model-0jkw1j53.js} +6 -6
  16. package/dist/chunks/{file-retention-0paq2nw3.js → model-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{file-retention-0r3c1bmw.js → model-0r3c1bmw.js} +2 -2
  18. package/dist/chunks/{file-retention-a8fr1h6x.js → model-0sgs1mbc.js} +174 -174
  19. package/dist/chunks/{file-retention-0vbcp93d.js → model-0vbcp93d.js} +2 -2
  20. package/dist/chunks/{file-retention-b1059kqh.js → model-0x8512f9.js} +28 -28
  21. package/dist/chunks/{file-retention-gmyr53yh.js → model-12rxm3gg.js} +15 -15
  22. package/dist/chunks/{file-retention-ynx963a9.js → model-17prjfpm.js} +12 -12
  23. package/dist/chunks/{file-retention-rhraev7y.js → model-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{file-retention-cmwkp3r5.js → model-1ajx6rf5.js} +8 -8
  25. package/dist/chunks/{file-retention-1dazxqgg.js → model-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{file-retention-xevbb3dk.js → model-1df8azz5.js} +24 -24
  27. package/dist/chunks/{file-retention-84h8c373.js → model-1dvck2a7.js} +2 -2
  28. package/dist/chunks/{file-retention-e7fybsm5.js → model-1hzrc3tk.js} +1 -1
  29. package/dist/chunks/{file-retention-0pdpn3pq.js → model-1phc8qeg.js} +13 -13
  30. package/dist/chunks/{file-retention-6yz0wx8n.js → model-1pxz8ven.js} +5 -5
  31. package/dist/chunks/{file-retention-1856z5gp.js → model-219g1411.js} +36 -36
  32. package/dist/chunks/{file-retention-g7b432k9.js → model-29k7ew3e.js} +6 -6
  33. package/dist/chunks/{file-retention-2a5m3afh.js → model-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{file-retention-qwvc2n28.js → model-2ccvtpy8.js} +25 -25
  35. package/dist/chunks/{file-retention-8bx78z2w.js → model-2cw2ysd6.js} +11 -11
  36. package/dist/chunks/{file-retention-gpvbq4ra.js → model-2hq8kthn.js} +24 -24
  37. package/dist/chunks/{file-retention-fcrkznn8.js → model-2k8khapm.js} +5 -5
  38. package/dist/chunks/{file-retention-ymxbsbk4.js → model-2q50h12w.js} +5 -5
  39. package/dist/chunks/{file-retention-msgz7vnx.js → model-2sznx2p4.js} +19 -19
  40. package/dist/chunks/{file-retention-1q0jybjw.js → model-2zybwwx3.js} +27 -27
  41. package/dist/chunks/{file-retention-1ygqh575.js → model-33w4ejhs.js} +6 -6
  42. package/dist/chunks/{file-retention-knp96k5g.js → model-37sfe3bm.js} +10 -10
  43. package/dist/chunks/{file-retention-4kx9erc0.js → model-3ab3fmem.js} +17 -17
  44. package/dist/chunks/{file-retention-3fc6dm20.js → model-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{file-retention-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{file-retention-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{file-retention-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{file-retention-n69ahfa0.js → model-3y4agpkd.js} +15 -15
  49. package/dist/chunks/{file-retention-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{file-retention-ypw91m64.js → model-44dr8ap3.js} +8 -8
  51. package/dist/chunks/{file-retention-24y4cr83.js → model-47het4ez.js} +24 -24
  52. package/dist/chunks/{file-retention-6y6b3v79.js → model-4fzxpz0x.js} +49 -49
  53. package/dist/chunks/{file-retention-4mat50dd.js → model-4p7fae02.js} +18 -18
  54. package/dist/chunks/{file-retention-4ts7tf6z.js → model-4ts7tf6z.js} +2 -2
  55. package/dist/chunks/{file-retention-f3md509a.js → model-4txtbyef.js} +16 -16
  56. package/dist/chunks/{file-retention-b47w6h91.js → model-501ysnmm.js} +13 -13
  57. package/dist/chunks/{file-retention-y1tbwvmr.js → model-51s6es2h.js} +19 -19
  58. package/dist/chunks/{file-retention-54ma36ye.js → model-54ma36ye.js} +1 -1
  59. package/dist/chunks/{file-retention-qsr9synt.js → model-5697fheg.js} +5 -5
  60. package/dist/chunks/{file-retention-yygvcae8.js → model-5crtsp9b.js} +9 -9
  61. package/dist/chunks/{file-retention-5daktx2q.js → model-5daktx2q.js} +1 -1
  62. package/dist/chunks/{file-retention-kgfzxw26.js → model-5g7rexsp.js} +10 -10
  63. package/dist/chunks/{file-retention-63b3jkh8.js → model-5j4dmmsv.js} +22 -22
  64. package/dist/chunks/{file-retention-7t9r5z7t.js → model-5jp7hb67.js} +6 -6
  65. package/dist/chunks/{file-retention-8xf2390s.js → model-5jpjgy91.js} +11 -11
  66. package/dist/chunks/{file-retention-5t3nmthw.js → model-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{file-retention-tnwsy8nb.js → model-5v18ah2v.js} +94 -94
  68. package/dist/chunks/{file-retention-2b07cd18.js → model-60a34fq7.js} +23 -23
  69. package/dist/chunks/{file-retention-669tq793.js → model-669tq793.js} +1 -1
  70. package/dist/chunks/{file-retention-9z7evyec.js → model-697r6qsh.js} +24 -24
  71. package/dist/chunks/{file-retention-pm3syzdj.js → model-6fvrsfkg.js} +25 -25
  72. package/dist/chunks/{file-retention-7r0r50e5.js → model-6vq97qmv.js} +5 -5
  73. package/dist/chunks/{file-retention-1pd86f1r.js → model-6xeymcnr.js} +10 -10
  74. package/dist/chunks/{file-retention-f75zav2x.js → model-71az546q.js} +2 -2
  75. package/dist/chunks/{file-retention-1qa1mw2k.js → model-71hbha9p.js} +50 -50
  76. package/dist/chunks/{file-retention-672hp4zj.js → model-71ryw543.js} +8 -8
  77. package/dist/chunks/{file-retention-a1gpj94z.js → model-73tb2d7t.js} +3 -3
  78. package/dist/chunks/{file-retention-cb03yeca.js → model-75ex3r9z.js} +19 -19
  79. package/dist/chunks/{file-retention-r6km2j76.js → model-75zxyf1y.js} +20 -20
  80. package/dist/chunks/{file-retention-e7rehdhe.js → model-76kesw26.js} +73 -73
  81. package/dist/chunks/{file-retention-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-retention-twwzjqdf.js → model-7dy85ahw.js} +6 -6
  83. package/dist/chunks/{file-retention-5fffgman.js → model-7h5hgt6k.js} +62 -62
  84. package/dist/chunks/{file-retention-emjm3mg5.js → model-7hz7r7dy.js} +20 -20
  85. package/dist/chunks/{file-retention-rfx500q8.js → model-7sb9v7px.js} +47 -47
  86. package/dist/chunks/{file-retention-da5crynx.js → model-7vk99ank.js} +5 -5
  87. package/dist/chunks/{file-retention-dqdxhkv7.js → model-7wcjkrs0.js} +6 -6
  88. package/dist/chunks/{file-retention-9ymnkqa3.js → model-813jgmaw.js} +22 -22
  89. package/dist/chunks/{file-retention-xh27xnk0.js → model-86qjnnqk.js} +11 -11
  90. package/dist/chunks/{file-retention-63r88w2b.js → model-88c09w79.js} +11 -11
  91. package/dist/chunks/{file-retention-19m1yqgd.js → model-89enqms3.js} +32 -32
  92. package/dist/chunks/{file-retention-tcezcvh9.js → model-89znhe33.js} +4 -4
  93. package/dist/chunks/{file-retention-tctwkzpn.js → model-8cy6v4vd.js} +35 -35
  94. package/dist/chunks/{file-retention-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{file-retention-zn9rd40w.js → model-8dgstwvc.js} +33 -33
  96. package/dist/chunks/{file-retention-9cgh24rp.js → model-8f10j8es.js} +27 -27
  97. package/dist/chunks/{file-retention-kxvjk49k.js → model-8h2gr9vp.js} +5 -5
  98. package/dist/chunks/{file-retention-gzfdgjtf.js → model-8n6ayns8.js} +15 -15
  99. package/dist/chunks/{file-retention-b4twkq7r.js → model-8sze2n9a.js} +2 -2
  100. package/dist/chunks/{file-retention-99z2e8tf.js → model-90zqj351.js} +25 -25
  101. package/dist/chunks/{file-retention-7np80qm3.js → model-9bxzc1hn.js} +2 -2
  102. package/dist/chunks/{file-retention-kb9j3d72.js → model-9e5bzkjp.js} +3 -3
  103. package/dist/chunks/{file-retention-2qasw89v.js → model-9mw9xj7j.js} +5 -5
  104. package/dist/chunks/{file-retention-8gszwhhd.js → model-a48zkktv.js} +7 -7
  105. package/dist/chunks/{file-retention-aaet6srn.js → model-aaet6srn.js} +2 -2
  106. package/dist/chunks/{file-retention-db2wf4at.js → model-addxnjmp.js} +4 -4
  107. package/dist/chunks/{file-retention-e4n08x2a.js → model-aghzj44m.js} +6 -6
  108. package/dist/chunks/{file-retention-xasyx0as.js → model-as7cf5zz.js} +4 -4
  109. package/dist/chunks/{file-retention-fwyzff2k.js → model-at4c9pms.js} +12 -12
  110. package/dist/chunks/{file-retention-rk1r2hx8.js → model-b69jv39p.js} +1 -1
  111. package/dist/chunks/{file-retention-b6gygkdw.js → model-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{file-retention-enpnrszd.js → model-bdg5fp48.js} +22 -22
  113. package/dist/chunks/{file-retention-44ak30pa.js → model-btbmdjwj.js} +4 -4
  114. package/dist/chunks/{file-retention-4sq4r2t8.js → model-bz9s2dkj.js} +3 -3
  115. package/dist/chunks/{file-retention-drvshtg5.js → model-c72vdqf6.js} +24 -24
  116. package/dist/chunks/{file-retention-htp67ewe.js → model-cd2w4432.js} +9 -9
  117. package/dist/chunks/{file-retention-byxd618f.js → model-cfc6ste8.js} +24 -24
  118. package/dist/chunks/{file-retention-q6e5294y.js → model-cg80w4wg.js} +38 -38
  119. package/dist/chunks/{file-retention-ntg2j34t.js → model-ck0ahkdp.js} +6 -6
  120. package/dist/chunks/{file-retention-9phb3768.js → model-crsxn195.js} +17 -17
  121. package/dist/chunks/{file-retention-tfwaqret.js → model-cs8mpvx0.js} +8 -8
  122. package/dist/chunks/{file-retention-4dhdfeb8.js → model-cvtzrr9c.js} +9 -9
  123. package/dist/chunks/{file-retention-cwa6csj7.js → model-cwa6csj7.js} +2 -2
  124. package/dist/chunks/{file-retention-8p4jk4hz.js → model-d31ggzr5.js} +16 -16
  125. package/dist/chunks/{file-retention-y43kper9.js → model-d7eq7yry.js} +30 -30
  126. package/dist/chunks/{file-retention-dqetav0t.js → model-d9smpnnn.js} +3 -3
  127. package/dist/chunks/{file-retention-vzgh18wv.js → model-daz5sg0c.js} +5 -5
  128. package/dist/chunks/{file-retention-gt8adb52.js → model-dgjsd0ga.js} +8 -8
  129. package/dist/chunks/{file-retention-6479pxty.js → model-dqkxv1e7.js} +5 -5
  130. package/dist/chunks/{file-retention-rqa1jxse.js → model-drnf6xwf.js} +2 -2
  131. package/dist/chunks/{file-retention-0r90g8yp.js → model-dvh3phbs.js} +22 -22
  132. package/dist/chunks/{file-retention-2e17eh3v.js → model-dwjfp2rp.js} +4 -4
  133. package/dist/chunks/{file-retention-m2fmqjsg.js → model-e1prbm9r.js} +26 -26
  134. package/dist/chunks/{file-retention-ehy2g33m.js → model-e22ewehh.js} +22 -22
  135. package/dist/chunks/{file-retention-qjz171mj.js → model-e699czct.js} +11 -11
  136. package/dist/chunks/{file-retention-2pvxx6w1.js → model-ecec8gfh.js} +5 -5
  137. package/dist/chunks/{file-retention-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{file-retention-91150f7p.js → model-efzthefc.js} +22 -22
  139. package/dist/chunks/{file-retention-c4rc6qkb.js → model-em3h5ktn.js} +4 -4
  140. package/dist/chunks/{file-retention-xvrdsv0z.js → model-esvm55dh.js} +8 -8
  141. package/dist/chunks/{file-retention-etq0c3wd.js → model-etq0c3wd.js} +1 -1
  142. package/dist/chunks/model-ewexgy4e.js +253 -0
  143. package/dist/chunks/{file-retention-qkpjj9ac.js → model-ex7a17jg.js} +11 -11
  144. package/dist/chunks/model-exn3fdxy.js +26 -0
  145. package/dist/chunks/{file-retention-2s45n8cs.js → model-f0qvdz3k.js} +6 -6
  146. package/dist/chunks/{file-retention-3v6j8f05.js → model-f3w8yar8.js} +10 -10
  147. package/dist/chunks/{file-retention-22s53sjq.js → model-f69b8y66.js} +10 -10
  148. package/dist/chunks/{file-retention-916ecn31.js → model-f6bgm0fy.js} +23 -23
  149. package/dist/chunks/{file-retention-cmp6hdh9.js → model-f6pqa65c.js} +13 -13
  150. package/dist/chunks/{file-retention-a2c5gk3p.js → model-fc674bdp.js} +3 -3
  151. package/dist/chunks/{file-retention-r5zhkawj.js → model-fm4gx2wh.js} +4 -4
  152. package/dist/chunks/{file-retention-g2y161wv.js → model-fp97dk2y.js} +8 -8
  153. package/dist/chunks/{file-retention-4mp36x47.js → model-g7n7v10r.js} +9 -9
  154. package/dist/chunks/{file-retention-pf3jdx00.js → model-g9mrszkn.js} +5 -5
  155. package/dist/chunks/{file-retention-cc9f4jmy.js → model-gb8ekxdy.js} +9 -9
  156. package/dist/chunks/{file-retention-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{file-retention-3kbc11ry.js → model-gdv5h7q7.js} +11 -11
  158. package/dist/chunks/{file-retention-8a6ws7jr.js → model-gh5z95q3.js} +9 -9
  159. package/dist/chunks/{file-retention-gr6b6mj1.js → model-gr6b6mj1.js} +1 -1
  160. package/dist/chunks/{file-retention-p4qz04xc.js → model-gt9pfhey.js} +48 -48
  161. package/dist/chunks/{file-retention-664q6xrj.js → model-gvzvf8z9.js} +21 -21
  162. package/dist/chunks/{file-retention-18k9cajk.js → model-gy71bdfa.js} +4 -4
  163. package/dist/chunks/{file-retention-3cegwx68.js → model-h2b79v29.js} +2 -2
  164. package/dist/chunks/{file-retention-4v3k5exv.js → model-h5mvh91p.js} +33 -33
  165. package/dist/chunks/{file-retention-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{file-retention-jnk7qm89.js → model-hj8xqgxx.js} +10 -10
  167. package/dist/chunks/{file-retention-cs1ase73.js → model-hpw55k04.js} +18 -18
  168. package/dist/chunks/{file-retention-89qfpw9h.js → model-hrmk24qx.js} +22 -22
  169. package/dist/chunks/{file-retention-j56e64zr.js → model-j56e64zr.js} +1 -1
  170. package/dist/chunks/{file-retention-6517zxh1.js → model-j8vpeap7.js} +12 -12
  171. package/dist/chunks/{file-retention-v81vxjx2.js → model-jez0550v.js} +11 -11
  172. package/dist/chunks/{file-retention-cy54bjc2.js → model-jh3gssky.js} +8 -8
  173. package/dist/chunks/{file-retention-hz0q9sdq.js → model-jpgzdbsd.js} +8 -8
  174. package/dist/chunks/{file-retention-q5asdkn4.js → model-k76fn4kw.js} +4 -4
  175. package/dist/chunks/{file-retention-xqs03zex.js → model-k9c08k2d.js} +30 -30
  176. package/dist/chunks/{file-retention-dyrnqeff.js → model-kgy301q9.js} +18 -18
  177. package/dist/chunks/{file-retention-5cj6t5k8.js → model-kjbb6xsn.js} +8 -8
  178. package/dist/chunks/{file-retention-e9rrx8nb.js → model-km6wx086.js} +17 -17
  179. package/dist/chunks/{file-retention-1tz386xc.js → model-kr4dq3rv.js} +32 -32
  180. package/dist/chunks/{file-retention-6g0d6zmv.js → model-kw2aa91g.js} +14 -14
  181. package/dist/chunks/{file-retention-qvp3ayyr.js → model-m24h2fcb.js} +4 -4
  182. package/dist/chunks/{file-retention-m3fdjcah.js → model-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{file-retention-24etr8ym.js → model-m8tjn3n8.js} +17 -17
  184. package/dist/chunks/{file-retention-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{file-retention-tezq3vq8.js → model-mckd0gz6.js} +32 -32
  186. package/dist/chunks/{file-retention-50mzsvk4.js → model-mjymc32g.js} +4 -4
  187. package/dist/chunks/{file-retention-cn1yc8yx.js → model-mk6maazp.js} +36 -36
  188. package/dist/chunks/{file-retention-hb0k09dj.js → model-mvy7k6n2.js} +11 -11
  189. package/dist/chunks/{file-retention-rya9vxen.js → model-mxt3es3f.js} +33 -33
  190. package/dist/chunks/{file-retention-48kw51zw.js → model-my4zabxr.js} +3 -3
  191. package/dist/chunks/{file-retention-h6wrxb9q.js → model-n5yrxb74.js} +28 -28
  192. package/dist/chunks/{file-retention-xxz7chtq.js → model-n97n1pdx.js} +29 -29
  193. package/dist/chunks/{file-retention-86qzxe6p.js → model-nb9p6b26.js} +4 -4
  194. package/dist/chunks/{file-retention-r8ngcrxq.js → model-nnsez8tv.js} +54 -54
  195. package/dist/chunks/{file-retention-v1gfxk1h.js → model-p05qy2sb.js} +8 -8
  196. package/dist/chunks/{file-retention-jqp48237.js → model-p3n0f46f.js} +35 -35
  197. package/dist/chunks/{file-retention-q3wbtnjt.js → model-pgphf0kf.js} +9 -9
  198. package/dist/chunks/model-phvtb2qf.js +507 -0
  199. package/dist/chunks/{file-retention-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{file-retention-pknna89w.js → model-pknna89w.js} +1 -1
  201. package/dist/chunks/{file-retention-yhws0ggv.js → model-pm611pbk.js} +10 -10
  202. package/dist/chunks/{file-retention-dc2qckmf.js → model-ppthwm7w.js} +15 -15
  203. package/dist/chunks/{file-retention-njg0144m.js → model-pzqdc8ks.js} +11 -11
  204. package/dist/chunks/{file-retention-q0xm7vwc.js → model-q0xm7vwc.js} +2 -2
  205. package/dist/chunks/model-q509s3k3.js +18 -0
  206. package/dist/chunks/{file-retention-mh3pfvhs.js → model-qgtd49nm.js} +3 -3
  207. package/dist/chunks/{file-retention-qnc92qwc.js → model-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{file-retention-qsdy395h.js → model-qsdy395h.js} +1 -1
  209. package/dist/chunks/{file-retention-w3x9v1nk.js → model-qvb3nf84.js} +8 -8
  210. package/dist/chunks/{file-retention-d0z5e1mn.js → model-qvct5ygj.js} +28 -28
  211. package/dist/chunks/{file-retention-xyafkbt0.js → model-qxjc9qry.js} +3 -3
  212. package/dist/chunks/{file-retention-dgk23zpj.js → model-r0fcwqjf.js} +30 -30
  213. package/dist/chunks/{file-retention-nc9ket9e.js → model-r3bdtpme.js} +7 -7
  214. package/dist/chunks/{file-retention-evhxnv2q.js → model-r6p7ac2e.js} +13 -13
  215. package/dist/chunks/{file-retention-1f27qpcc.js → model-rbhr2x85.js} +39 -39
  216. package/dist/chunks/{file-retention-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{file-retention-eaj1djv9.js → model-rhjbct0v.js} +8 -8
  218. package/dist/chunks/{file-retention-19wbe0f4.js → model-rn0hsr98.js} +19 -19
  219. package/dist/chunks/{file-retention-zcf427st.js → model-rn8xq1a1.js} +37 -37
  220. package/dist/chunks/{file-retention-26a94np2.js → model-rvd4wa3q.js} +45 -45
  221. package/dist/chunks/{file-retention-jx0q4spf.js → model-rytdy19x.js} +20 -20
  222. package/dist/chunks/{file-retention-wnk9exdz.js → model-rzfprt5n.js} +6 -6
  223. package/dist/chunks/{file-retention-rmzxb8wx.js → model-s0p3rwnk.js} +40 -40
  224. package/dist/chunks/{file-retention-1yxhyg8n.js → model-sajnc0bs.js} +12 -12
  225. package/dist/chunks/{file-retention-b3f8fkhc.js → model-scgrse2b.js} +5 -5
  226. package/dist/chunks/{file-retention-r4mw293q.js → model-scqzz155.js} +22 -22
  227. package/dist/chunks/{file-retention-taazwa2m.js → model-sgz4afxd.js} +16 -16
  228. package/dist/chunks/{file-retention-khtp5qmv.js → model-st7vrkqj.js} +20 -20
  229. package/dist/chunks/{file-retention-8tx99sfv.js → model-styw8a6f.js} +25 -25
  230. package/dist/chunks/{file-retention-bkb94af5.js → model-szdtaxh1.js} +42 -42
  231. package/dist/chunks/{file-retention-qw26wqbf.js → model-szsh9msw.js} +11 -11
  232. package/dist/chunks/{file-retention-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{file-retention-5nsj1v3b.js → model-tb71966t.js} +4 -4
  234. package/dist/chunks/{file-retention-tdstcens.js → model-tdstcens.js} +1 -1
  235. package/dist/chunks/{file-retention-ceb9zpqz.js → model-tfwg41v3.js} +9 -9
  236. package/dist/chunks/{file-retention-ratrq7cm.js → model-tkmwgdpd.js} +7 -7
  237. package/dist/chunks/{file-retention-j1516eyq.js → model-tnn50rwz.js} +22 -22
  238. package/dist/chunks/{file-retention-010svtsv.js → model-twqkm6qv.js} +26 -26
  239. package/dist/chunks/{file-retention-23ydc1ae.js → model-tx7sz9e4.js} +17 -17
  240. package/dist/chunks/{file-retention-v0es1rhs.js → model-v0es1rhs.js} +2 -2
  241. package/dist/chunks/{file-retention-s78w3mx6.js → model-v0qcg2ew.js} +32 -32
  242. package/dist/chunks/{file-retention-2dyhgb9n.js → model-v0qypzh8.js} +12 -12
  243. package/dist/chunks/{file-retention-6pxgffms.js → model-v21rmwhw.js} +10 -10
  244. package/dist/chunks/{file-retention-j4s13nb2.js → model-v5w5twdg.js} +13 -13
  245. package/dist/chunks/{file-retention-z421k0xb.js → model-v7ppr8mj.js} +15 -15
  246. package/dist/chunks/{file-retention-veqvce7d.js → model-veqvce7d.js} +1 -1
  247. package/dist/chunks/{file-retention-nvebafbr.js → model-vg2w4f0q.js} +13 -13
  248. package/dist/chunks/{file-retention-k5zhfa84.js → model-vn8yg3r1.js} +30 -30
  249. package/dist/chunks/{file-retention-q717ea4v.js → model-vz45eem2.js} +3 -3
  250. package/dist/chunks/{file-retention-vzcthcp8.js → model-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{file-retention-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{file-retention-w1eejvng.js → model-w1eejvng.js} +1 -1
  253. package/dist/chunks/{file-retention-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{file-retention-t3dkts0r.js → model-w644rytb.js} +11 -11
  255. package/dist/chunks/{file-retention-ez2gdk13.js → model-w9rw661y.js} +20 -20
  256. package/dist/chunks/{file-retention-wd87259q.js → model-wd87259q.js} +1 -1
  257. package/dist/chunks/{file-retention-2x8x7t3a.js → model-wqfjjqax.js} +36 -36
  258. package/dist/chunks/{file-retention-6akfc5px.js → model-wyh91q6x.js} +24 -24
  259. package/dist/chunks/{file-retention-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{file-retention-w2bejqka.js → model-x5yxy9ce.js} +22 -22
  261. package/dist/chunks/{file-retention-et5g45k6.js → model-xdwtyvvm.js} +11 -11
  262. package/dist/chunks/{file-retention-g5w8qwbj.js → model-xfkkasph.js} +4 -4
  263. package/dist/chunks/{file-retention-xkntkrq7.js → model-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{file-retention-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{file-retention-qeajncbp.js → model-y2xq9eg3.js} +16 -16
  266. package/dist/chunks/{file-retention-a39dgx1a.js → model-y6z2hynk.js} +8 -8
  267. package/dist/chunks/{file-retention-dpkg50ah.js → model-y71avatq.js} +4 -4
  268. package/dist/chunks/{file-retention-9ma816y3.js → model-y9xwgxxz.js} +25 -25
  269. package/dist/chunks/{file-retention-wvj3jknz.js → model-ybbb90ez.js} +96 -96
  270. package/dist/chunks/{file-retention-9wpkv8d5.js → model-yc1ky4es.js} +1 -1
  271. package/dist/chunks/{file-retention-cxpvh0dz.js → model-yjkcqmhb.js} +13 -13
  272. package/dist/chunks/{file-retention-f29mbr7f.js → model-yrcj3v3g.js} +4 -4
  273. package/dist/chunks/{file-retention-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{file-retention-dj02fe1d.js → model-yt7zdmr1.js} +34 -34
  275. package/dist/chunks/{file-retention-jc1gpg60.js → model-yxdaryky.js} +5 -5
  276. package/dist/chunks/{file-retention-nmpbqy18.js → model-yzyc98yn.js} +6 -6
  277. package/dist/chunks/{file-retention-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{file-retention-s9xxw18e.js → model-z7f9qxd7.js} +9 -9
  279. package/dist/chunks/{file-retention-kn16ews1.js → model-z93rnxyq.js} +17 -17
  280. package/dist/chunks/{file-retention-7kc72sy1.js → model-zf1pj567.js} +18 -18
  281. package/dist/chunks/{file-retention-d9y2dced.js → model-zkzvq0vc.js} +37 -37
  282. package/dist/chunks/{file-retention-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{file-retention-62e165w1.js → model-zscw2c1w.js} +19 -19
  284. package/dist/chunks/{file-retention-zxq2ej10.js → model-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 +83 -83
  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 +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  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 +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  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 +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  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 +85 -85
  319. package/dist/database/database.js +70 -70
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  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 +74 -74
  409. package/dist/file-access.js +104 -104
  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 +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +104 -104
  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 +103 -103
  427. package/dist/git.js +10 -10
  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 +355 -355
  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 +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +85 -85
  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 +96 -96
  473. package/dist/model.js +100 -100
  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 +82 -82
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  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 +327 -327
  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 +7 -7
  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/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  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 +115 -115
  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/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +70 -70
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +6 -6
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +222 -222
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +84 -84
  555. package/dist/provider.js +101 -101
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +99 -99
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +89 -89
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +97 -97
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +153 -153
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +123 -123
  577. package/dist/session/generate.js +154 -154
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +84 -84
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +79 -79
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +120 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +164 -164
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +75 -75
  608. package/dist/session/store.js +87 -87
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +155 -155
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +215 -215
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +213 -213
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +110 -110
  625. package/dist/snapshot.js +91 -91
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +126 -126
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +124 -124
  633. package/dist/tool/plugin/grep.js +122 -122
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +122 -122
  637. package/dist/tool/plugin/question.js +103 -103
  638. package/dist/tool/plugin/read.js +125 -125
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +111 -111
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +112 -112
  643. package/dist/tool/plugin/websearch.js +112 -112
  644. package/dist/tool/plugin/write.js +114 -114
  645. package/dist/tool/read-filesystem.js +100 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +12 -12
  649. package/dist/types/instance/service.d.ts +2 -2
  650. package/dist/types/instance.d.ts +2 -2
  651. package/dist/types/location-service-map.d.ts +3 -3
  652. package/dist/types/session/command.d.ts +1 -1
  653. package/dist/types/session/diff.d.ts +2 -2
  654. package/dist/types/session/generate.d.ts +3 -2
  655. package/dist/types/session/prompt.d.ts +1 -1
  656. package/dist/types/session/revert.d.ts +2 -2
  657. package/dist/types/session/runner/index.d.ts +2 -1
  658. package/dist/types/session/session.d.ts +4 -4
  659. package/dist/types/session/shell.d.ts +1 -1
  660. package/dist/types/session/skill.d.ts +1 -1
  661. package/dist/types/session.d.ts +5 -4
  662. package/dist/types/worktree.d.ts +2 -1
  663. package/dist/util/error-summary.js +1 -1
  664. package/dist/util/error.js +1 -1
  665. package/dist/util/git-executable.js +2 -2
  666. package/dist/util/iife.js +1 -1
  667. package/dist/util/lazy.js +1 -1
  668. package/dist/util/slug.js +1 -1
  669. package/dist/util/token.js +1 -1
  670. package/dist/util/which.js +1 -1
  671. package/dist/util/wildcard.js +1 -1
  672. package/dist/v1/config/agent.js +5 -5
  673. package/dist/v1/config/command.js +5 -5
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +2 -2
  681. package/dist/variant.js +93 -93
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +89 -89
  684. package/dist/websearch.js +82 -82
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +96 -96
  695. package/package.json +8 -8
  696. package/dist/chunks/file-retention-16e93gk9.js +0 -507
  697. package/dist/chunks/file-retention-1bmzne1w.js +0 -26
  698. package/dist/chunks/file-retention-9sh4wc5j.js +0 -18
  699. package/dist/chunks/file-retention-kdgzr6za.js +0 -252
  700. /package/dist/chunks/{file-retention-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{file-retention-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{file-retention-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{file-retention-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{file-retention-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{file-retention-24dcb14g.js → model-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{file-retention-2710q6r3.js → model-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{file-retention-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{file-retention-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{file-retention-34c7v6d4.js → model-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{file-retention-359p4xyc.js → model-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{file-retention-3asan66x.js → model-3asan66x.js} +0 -0
  712. /package/dist/chunks/{file-retention-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{file-retention-3w5fmr99.js → model-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{file-retention-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{file-retention-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{file-retention-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{file-retention-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{file-retention-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{file-retention-53557ph1.js → model-53557ph1.js} +0 -0
  720. /package/dist/chunks/{file-retention-550bvhaj.js → model-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{file-retention-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{file-retention-6prwharc.js → model-6prwharc.js} +0 -0
  723. /package/dist/chunks/{file-retention-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{file-retention-7m9af43g.js → model-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{file-retention-822emrt2.js → model-822emrt2.js} +0 -0
  726. /package/dist/chunks/{file-retention-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{file-retention-8n3pysct.js → model-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{file-retention-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{file-retention-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{file-retention-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{file-retention-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{file-retention-af5trqkr.js → model-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{file-retention-afrmfg78.js → model-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{file-retention-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{file-retention-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{file-retention-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{file-retention-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{file-retention-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{file-retention-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{file-retention-d9fn303g.js → model-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{file-retention-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{file-retention-dajrwvna.js → model-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{file-retention-dap0rakb.js → model-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{file-retention-df08tz66.js → model-df08tz66.js} +0 -0
  745. /package/dist/chunks/{file-retention-dy18nga0.js → model-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{file-retention-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{file-retention-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{file-retention-ec1grn59.js → model-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{file-retention-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{file-retention-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{file-retention-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{file-retention-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{file-retention-faypxj3z.js → model-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{file-retention-fd410y7t.js → model-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{file-retention-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{file-retention-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{file-retention-g86h250q.js → model-g86h250q.js} +0 -0
  758. /package/dist/chunks/{file-retention-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{file-retention-gftt206x.js → model-gftt206x.js} +0 -0
  760. /package/dist/chunks/{file-retention-hjbc5kem.js → model-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{file-retention-hk9envan.js → model-hk9envan.js} +0 -0
  762. /package/dist/chunks/{file-retention-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{file-retention-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{file-retention-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{file-retention-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{file-retention-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{file-retention-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{file-retention-mp448xyj.js → model-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{file-retention-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{file-retention-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{file-retention-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{file-retention-njntx4h6.js → model-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{file-retention-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{file-retention-q74kybfr.js → model-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{file-retention-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{file-retention-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{file-retention-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{file-retention-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{file-retention-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{file-retention-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{file-retention-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{file-retention-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{file-retention-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{file-retention-w803qqfp.js → model-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{file-retention-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{file-retention-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{file-retention-wtztk69x.js → model-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{file-retention-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{file-retention-x61499pn.js → model-x61499pn.js} +0 -0
  790. /package/dist/chunks/{file-retention-y44na4kk.js → model-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{file-retention-y8cydn3q.js → model-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{file-retention-y8f7s663.js → model-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{file-retention-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{file-retention-ym463w8f.js → model-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{file-retention-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{file-retention-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID9
3
- } from "./file-retention-tctwkzpn.js";
2
+ ID13
3
+ } from "./model-8cy6v4vd.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID9.googleVertex)
62
+ if (evt.model.providerID !== ID13.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./file-retention-qaymkmh1.js";
3
+ } from "./model-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./file-retention-3w5fmr99.js";
7
+ } from "./model-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./file-retention-xyafkbt0.js";
11
+ } from "./model-qxjc9qry.js";
12
12
  import {
13
13
  create3
14
- } from "./file-retention-rdw6cm16.js";
14
+ } from "./model-rdw6cm16.js";
15
15
  import {
16
- Service52,
17
- node56
18
- } from "./file-retention-s9xxw18e.js";
16
+ Service79,
17
+ node82
18
+ } from "./model-z7f9qxd7.js";
19
19
  import {
20
- Service78,
21
- node81
22
- } from "./file-retention-ypw91m64.js";
20
+ Service80,
21
+ node83
22
+ } from "./model-44dr8ap3.js";
23
23
  import {
24
24
  match2
25
- } from "./file-retention-y1fvbwt7.js";
25
+ } from "./model-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./file-retention-9rqn6x4v.js";
28
+ } from "./model-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error5,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service51,
38
+ Service: () => Service78,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node55
41
+ node: () => node81
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service51 extends Context.Service()("@opencode/Tool") {
54
+ class Service78 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service51, Effect.gen(function* () {
57
- const hooks = yield* Service78;
58
- const image = yield* Service52;
56
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
57
+ const hooks = yield* Service80;
58
+ const image = yield* Service79;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service51.of({
187
+ return Service78.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node55 = makeLocationNode({
277
- service: Service51,
276
+ var node81 = makeLocationNode({
277
+ service: Service78,
278
278
  layer,
279
- deps: [node81, node56]
279
+ deps: [node83, node82]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service51, node55, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service78, node81, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin16,
11
+ Plugin: () => Plugin9,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin16 = {
67
+ var Plugin9 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin16 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin16, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin9, exports_opencode };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
- Info14
6
- } from "./file-retention-50mzsvk4.js";
5
+ Info11
6
+ } from "./model-mjymc32g.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info12
15
+ Info: () => Info9
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info14)
47
+ permission: Schema.optional(Info11)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info9 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info12, exports_agent3 };
74
+ export { Info9, exports_agent3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -0,0 +1,253 @@
1
+ import {
2
+ node63
3
+ } from "./model-c72vdqf6.js";
4
+ import {
5
+ node76
6
+ } from "./model-n5yrxb74.js";
7
+ import {
8
+ node75
9
+ } from "./model-8dgstwvc.js";
10
+ import {
11
+ node78,
12
+ boundNode2
13
+ } from "./model-kw2aa91g.js";
14
+ import {
15
+ node74
16
+ } from "./model-8cy6v4vd.js";
17
+ import {
18
+ node64
19
+ } from "./model-jez0550v.js";
20
+ import {
21
+ node73
22
+ } from "./model-h5mvh91p.js";
23
+ import {
24
+ node51
25
+ } from "./model-6fvrsfkg.js";
26
+ import {
27
+ configured6,
28
+ node48
29
+ } from "./model-4fzxpz0x.js";
30
+ import {
31
+ node68
32
+ } from "./model-697r6qsh.js";
33
+ import {
34
+ node47
35
+ } from "./model-f6pqa65c.js";
36
+ import {
37
+ node17
38
+ } from "./model-8n6ayns8.js";
39
+ import {
40
+ node66
41
+ } from "./model-89enqms3.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node65
45
+ } from "./model-0x8512f9.js";
46
+ import {
47
+ node58
48
+ } from "./model-szdtaxh1.js";
49
+ import {
50
+ node39
51
+ } from "./model-w9rw661y.js";
52
+ import {
53
+ node82
54
+ } from "./model-z7f9qxd7.js";
55
+ import {
56
+ node31
57
+ } from "./model-nnsez8tv.js";
58
+ import {
59
+ Service53,
60
+ node55
61
+ } from "./model-0jkw1j53.js";
62
+ import {
63
+ node23
64
+ } from "./model-rytdy19x.js";
65
+ import {
66
+ node83
67
+ } from "./model-44dr8ap3.js";
68
+ import {
69
+ node60
70
+ } from "./model-0agwad7d.js";
71
+ import {
72
+ node56
73
+ } from "./model-501ysnmm.js";
74
+ import {
75
+ configured5,
76
+ node46
77
+ } from "./model-k9c08k2d.js";
78
+ import {
79
+ node24
80
+ } from "./model-75ex3r9z.js";
81
+ import {
82
+ node81
83
+ } from "./model-efzthefc.js";
84
+ import {
85
+ node28
86
+ } from "./model-qvct5ygj.js";
87
+ import {
88
+ node33
89
+ } from "./model-8f10j8es.js";
90
+ import {
91
+ node25
92
+ } from "./model-7hz7r7dy.js";
93
+ import {
94
+ node41
95
+ } from "./model-twqkm6qv.js";
96
+ import {
97
+ node26
98
+ } from "./model-hrmk24qx.js";
99
+ import {
100
+ node20
101
+ } from "./model-5v18ah2v.js";
102
+ import {
103
+ node32
104
+ } from "./model-kr4dq3rv.js";
105
+ import {
106
+ node45
107
+ } from "./model-zscw2c1w.js";
108
+ import {
109
+ node71
110
+ } from "./model-86qjnnqk.js";
111
+ import {
112
+ node43
113
+ } from "./model-71hbha9p.js";
114
+ import {
115
+ node52
116
+ } from "./model-hpw55k04.js";
117
+ import {
118
+ node36
119
+ } from "./model-cfc6ste8.js";
120
+ import {
121
+ node40
122
+ } from "./model-bdg5fp48.js";
123
+ import {
124
+ node35
125
+ } from "./model-gvzvf8z9.js";
126
+ import {
127
+ node18
128
+ } from "./model-scqzz155.js";
129
+ import {
130
+ node4
131
+ } from "./model-vn8yg3r1.js";
132
+ import {
133
+ Service14,
134
+ node16
135
+ } from "./model-wqfjjqax.js";
136
+ import {
137
+ node15
138
+ } from "./model-3ab3fmem.js";
139
+ import {
140
+ node10,
141
+ bound2
142
+ } from "./model-1ajx6rf5.js";
143
+ import {
144
+ node11
145
+ } from "./model-1df8azz5.js";
146
+ import {
147
+ node7
148
+ } from "./model-813jgmaw.js";
149
+ import {
150
+ node8
151
+ } from "./model-12rxm3gg.js";
152
+ import {
153
+ node5
154
+ } from "./model-mxt3es3f.js";
155
+ import {
156
+ node42
157
+ } from "./model-zkzvq0vc.js";
158
+ import {
159
+ node3
160
+ } from "./model-r0fcwqjf.js";
161
+ import {
162
+ node2
163
+ } from "./model-76kesw26.js";
164
+ import {
165
+ __export
166
+ } from "./model-9rqn6x4v.js";
167
+
168
+ // src/instance.ts
169
+ var exports_instance = {};
170
+ __export(exports_instance, {
171
+ Instance: () => exports_instance,
172
+ Service: () => Service53,
173
+ graph: () => graph2,
174
+ layer: () => layer2,
175
+ node: () => node55
176
+ });
177
+ import { Context, Effect, Layer } from "effect";
178
+ import { LayerNode } from "@opencode/util/effect/layer-node";
179
+ import { Node } from "@opencode/util/effect/app-node";
180
+ var nodes = [
181
+ node78,
182
+ node16,
183
+ node68,
184
+ node48,
185
+ node63,
186
+ node51,
187
+ node33,
188
+ node52,
189
+ node40,
190
+ node75,
191
+ node74,
192
+ node73,
193
+ node58,
194
+ node64,
195
+ node18,
196
+ node83,
197
+ node10,
198
+ node5,
199
+ node35,
200
+ node66,
201
+ node65,
202
+ node45,
203
+ node42,
204
+ node43,
205
+ node41,
206
+ node24,
207
+ node46,
208
+ node15,
209
+ node47,
210
+ node17,
211
+ node31,
212
+ node60,
213
+ node81,
214
+ node71,
215
+ node82,
216
+ node26,
217
+ node25,
218
+ node23,
219
+ node76,
220
+ node39,
221
+ node8,
222
+ node28,
223
+ node7,
224
+ node56,
225
+ node11,
226
+ node3,
227
+ node20,
228
+ node32,
229
+ node2,
230
+ node36,
231
+ node4
232
+ ];
233
+ var graph2 = LayerNode.group(nodes);
234
+ var vanillaReplacements = [
235
+ node48.replace(configured6({ project: false, global: false })),
236
+ node46.replace(configured5({ project: false, global: false }))
237
+ ];
238
+ function layer2(ref, options = {}) {
239
+ const startedAt = performance.now();
240
+ const replacements = [
241
+ ...options.discovery === false ? vanillaReplacements : [],
242
+ ...options.replacements ?? [],
243
+ node78.replace(boundNode2(ref)),
244
+ node10.replace(bound2(options.plugins ?? []))
245
+ ];
246
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service14).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
247
+ directory: ref.directory,
248
+ workspaceID: ref.workspaceID,
249
+ durationMs: Math.round(performance.now() - startedAt)
250
+ })));
251
+ }
252
+
253
+ export { graph2, layer2, exports_instance };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./file-retention-5t3nmthw.js";
3
+ } from "./model-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service38,
11
+ Service: () => Service27,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer15,
13
+ layer: () => layer11,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node41
15
+ node: () => node30
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service38.of({ bind, close, closeAll });
370
+ return Service27.of({ bind, close, closeAll });
371
371
  }));
372
- var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node41 = makeGlobalNode({ service: Service38, layer: layer15, deps: [webSocketConstructor2] });
375
+ var node30 = makeGlobalNode({ service: Service27, layer: layer11, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service38, makeLayer2, layer15, node41, exports_model_transport };
377
+ export { Service27, makeLayer2, layer11, node30, exports_model_transport };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin22
3
+ } from "./model-fp97dk2y.js";
4
+ import {
5
+ Plugin23
6
+ } from "./model-09pc141r.js";
7
+ import {
8
+ Plugin21
9
+ } from "./model-29k7ew3e.js";
10
+ import {
11
+ Plugin24
12
+ } from "./model-7vk99ank.js";
13
+ import {
14
+ Plugin25
15
+ } from "./model-pgphf0kf.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin22,
20
+ Plugin23,
21
+ Plugin21,
22
+ Plugin24,
23
+ Plugin25
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./file-retention-tctwkzpn.js";
3
+ } from "./model-8cy6v4vd.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./file-retention-4v3k5exv.js";
6
+ } from "./model-h5mvh91p.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2
15
+ resolve: () => resolve4
16
16
  });
17
- function resolve2(model, supports = [{ type: "effort" }]) {
17
+ function resolve4(model, supports = [{ type: "effort" }]) {
18
18
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
19
19
  if (!protocol)
20
20
  return [];
@@ -511,4 +511,4 @@ var PROTOCOLS = {
511
511
  [aisdk2("@jerome-benoit/sap-ai-provider-v2")]: sapAICore
512
512
  };
513
513
 
514
- export { resolve2, exports_variant };
514
+ export { resolve4, exports_variant };
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID8
3
- } from "./file-retention-4v3k5exv.js";
2
+ ID12
3
+ } from "./model-h5mvh91p.js";
4
4
  import {
5
- Service61
6
- } from "./file-retention-6y6b3v79.js";
5
+ Service45
6
+ } from "./model-4fzxpz0x.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./file-retention-wnk9exdz.js";
9
+ } from "./model-rzfprt5n.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service61;
29
+ const config = yield* Service45;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID8.make(item.id);
56
+ model.modelID = ID12.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make5();
115
+ var VLLMPlugin2 = make8();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make5, VLLMPlugin2 };
137
+ export { make8, VLLMPlugin2 };