@opencode/core 0.0.0-dev-21661 → 0.0.0-dev-21662

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{model-retry-aj7mw0zk.js → mime-034tev2y.js} +2 -2
  8. package/dist/chunks/{model-retry-4fzjj0zw.js → mime-099h1hwj.js} +6 -6
  9. package/dist/chunks/{model-retry-xby873vx.js → mime-0akmrmk7.js} +24 -24
  10. package/dist/chunks/{model-retry-mw1nm45k.js → mime-0gewffq4.js} +12 -12
  11. package/dist/chunks/{model-retry-c5m2a8vb.js → mime-12a87htm.js} +8 -8
  12. package/dist/chunks/{model-retry-qxbnebsm.js → mime-12yp6zfs.js} +40 -40
  13. package/dist/chunks/{model-retry-ckhajkac.js → mime-18efg9pm.js} +11 -11
  14. package/dist/chunks/{model-retry-knncxtrw.js → mime-1dgpftbk.js} +7 -7
  15. package/dist/chunks/{model-retry-27w5k9zf.js → mime-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{model-retry-z4svz70a.js → mime-1f869mtq.js} +1 -1
  17. package/dist/chunks/{model-retry-w445jyrw.js → mime-1hshenye.js} +6 -6
  18. package/dist/chunks/{model-retry-w7cnq13e.js → mime-1jt66y4q.js} +36 -36
  19. package/dist/chunks/{model-retry-ygy08vjq.js → mime-1pt7st65.js} +27 -27
  20. package/dist/chunks/mime-1s6zx0v5.js +257 -0
  21. package/dist/chunks/{model-retry-aqtvbfp8.js → mime-1ta8vatk.js} +4 -4
  22. package/dist/chunks/{model-retry-1x2knyw4.js → mime-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{model-retry-yq1gzmdm.js → mime-1ynsyetg.js} +22 -22
  24. package/dist/chunks/{model-retry-4nh7jqqy.js → mime-2bpj5bas.js} +87 -87
  25. package/dist/chunks/{model-retry-9gzd5sdz.js → mime-2c6wxkce.js} +14 -14
  26. package/dist/chunks/{model-retry-z16rqh1h.js → mime-2qc2a76n.js} +9 -9
  27. package/dist/chunks/{model-retry-w1zjn144.js → mime-2r3n53wq.js} +11 -11
  28. package/dist/chunks/{model-retry-gmwwyjpc.js → mime-2trgpvge.js} +15 -15
  29. package/dist/chunks/{model-retry-yfyqcpqq.js → mime-2yvtks3w.js} +3 -3
  30. package/dist/chunks/{model-retry-2z1j29yd.js → mime-2z1j29yd.js} +1 -1
  31. package/dist/chunks/{model-retry-qbat39qr.js → mime-326newke.js} +4 -4
  32. package/dist/chunks/{model-retry-dmhcp16a.js → mime-3483qh8f.js} +13 -13
  33. package/dist/chunks/{model-retry-n7wnam13.js → mime-35y8wyjz.js} +8 -8
  34. package/dist/chunks/{model-retry-m2hnwcn8.js → mime-367y2685.js} +9 -9
  35. package/dist/chunks/{model-retry-33jrma66.js → mime-3fddq23p.js} +19 -19
  36. package/dist/chunks/{model-retry-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{model-retry-8wc2fpae.js → mime-3kdbrncp.js} +5 -5
  38. package/dist/chunks/{model-retry-3nnrz6f6.js → mime-3nnrz6f6.js} +1 -1
  39. package/dist/chunks/{model-retry-hg04c070.js → mime-3rn14jrq.js} +21 -21
  40. package/dist/chunks/{model-retry-2azy8kv6.js → mime-3ryz99p0.js} +4 -4
  41. package/dist/chunks/{model-retry-5ntvbkr3.js → mime-3x352axd.js} +24 -24
  42. package/dist/chunks/{model-retry-ea0wswcg.js → mime-3xr2c3vg.js} +42 -42
  43. package/dist/chunks/{model-retry-antzfpbp.js → mime-3yh7bp88.js} +17 -17
  44. package/dist/chunks/{model-retry-pppg3y1y.js → mime-40d1e0p0.js} +43 -43
  45. package/dist/chunks/{model-retry-a6zfrhwy.js → mime-4en5cy3a.js} +18 -18
  46. package/dist/chunks/{model-retry-v7edqz63.js → mime-4rs84ng6.js} +14 -14
  47. package/dist/chunks/{model-retry-4v008n1t.js → mime-4v008n1t.js} +1 -1
  48. package/dist/chunks/{model-retry-4xvmh7wp.js → mime-4xvmh7wp.js} +3 -3
  49. package/dist/chunks/{model-retry-rxcn9dmj.js → mime-57b792pb.js} +43 -43
  50. package/dist/chunks/{model-retry-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{model-retry-b6vsg801.js → mime-5nnwax6m.js} +5 -5
  52. package/dist/chunks/{model-retry-5bnhtwbz.js → mime-5sm65pen.js} +50 -50
  53. package/dist/chunks/{model-retry-6esdw8yj.js → mime-6esdw8yj.js} +1 -1
  54. package/dist/chunks/{model-retry-kj1j79ct.js → mime-6fpyxm8h.js} +11 -11
  55. package/dist/chunks/{model-retry-xn0dkv9k.js → mime-6g5dn60k.js} +10 -10
  56. package/dist/chunks/{model-retry-dw7m3xvw.js → mime-6gm6bk7h.js} +20 -20
  57. package/dist/chunks/{model-retry-6pjqjmy2.js → mime-6pjqjmy2.js} +1 -1
  58. package/dist/chunks/{model-retry-76cb1hcw.js → mime-76cb1hcw.js} +1 -1
  59. package/dist/chunks/{model-retry-nah043kf.js → mime-770pw0s1.js} +4 -4
  60. package/dist/chunks/{model-retry-1pd714jw.js → mime-78t3ejb4.js} +11 -11
  61. package/dist/chunks/{model-retry-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  62. package/dist/chunks/{model-retry-f49gwp6r.js → mime-7hkznkk2.js} +22 -22
  63. package/dist/chunks/{model-retry-m04867d5.js → mime-7hy4mxk4.js} +5 -5
  64. package/dist/chunks/{model-retry-7w2ypzdf.js → mime-7w2ypzdf.js} +1 -1
  65. package/dist/chunks/{model-retry-bdv51ks6.js → mime-7ymw8hcc.js} +42 -42
  66. package/dist/chunks/{model-retry-6fshephh.js → mime-7zghsshh.js} +24 -24
  67. package/dist/chunks/{model-retry-cmjj196d.js → mime-845h38vz.js} +33 -33
  68. package/dist/chunks/{model-retry-a8rk6bya.js → mime-86vkr6ja.js} +18 -18
  69. package/dist/chunks/{model-retry-tsemnbjg.js → mime-8dvrnm31.js} +30 -30
  70. package/dist/chunks/{model-retry-s6zqqgcc.js → mime-8e1vzrak.js} +24 -24
  71. package/dist/chunks/{model-retry-504h1h2p.js → mime-8f1s63js.js} +5 -5
  72. package/dist/chunks/{model-retry-gg5ajwfv.js → mime-8j2dev17.js} +32 -32
  73. package/dist/chunks/{model-retry-1gv4f02v.js → mime-8jmzjr3t.js} +5 -5
  74. package/dist/chunks/{model-retry-mt3ysty9.js → mime-8sxdqgb0.js} +6 -6
  75. package/dist/chunks/{model-retry-8wtp7s3z.js → mime-8wtp7s3z.js} +1 -1
  76. package/dist/chunks/{model-retry-18g90bpv.js → mime-8x9y3wj0.js} +9 -9
  77. package/dist/chunks/{model-retry-91rj84md.js → mime-91rj84md.js} +1 -1
  78. package/dist/chunks/{model-retry-09pgmfn5.js → mime-92xjtyzm.js} +3 -3
  79. package/dist/chunks/{model-retry-c3cfh5w6.js → mime-9562mf0m.js} +9 -9
  80. package/dist/chunks/{model-retry-h2v6w9fm.js → mime-9975mbgd.js} +21 -21
  81. package/dist/chunks/{model-retry-dvj9ct8m.js → mime-998yhzzq.js} +3 -3
  82. package/dist/chunks/{model-retry-1gde04cj.js → mime-99s58nzh.js} +9 -9
  83. package/dist/chunks/{model-retry-sdxydkh6.js → mime-9bbgn1zx.js} +12 -12
  84. package/dist/chunks/{model-retry-7vrs0mxf.js → mime-9ben7srh.js} +12 -12
  85. package/dist/chunks/{model-retry-bh48jfkc.js → mime-9mcfgtzv.js} +191 -191
  86. package/dist/chunks/{model-retry-e5dqjz6v.js → mime-9p9xqj3m.js} +8 -8
  87. package/dist/chunks/{model-retry-j5644rm0.js → mime-9tgdekzb.js} +46 -46
  88. package/dist/chunks/{model-retry-tx91wa5k.js → mime-9tvpxs1q.js} +4 -4
  89. package/dist/chunks/{model-retry-4p63kbz0.js → mime-a4ed5y5r.js} +19 -19
  90. package/dist/chunks/{model-retry-j8qp8vb7.js → mime-a5qzt3rb.js} +2 -2
  91. package/dist/chunks/{model-retry-thtmsm01.js → mime-ab5qny6w.js} +29 -29
  92. package/dist/chunks/{model-retry-sjxh0ebt.js → mime-aex04x02.js} +4 -4
  93. package/dist/chunks/{model-retry-dxtt3dn7.js → mime-afg4vg0a.js} +48 -48
  94. package/dist/chunks/{model-retry-cfkzqjea.js → mime-agbrqsyc.js} +24 -24
  95. package/dist/chunks/{model-retry-yy9yh1zy.js → mime-antc3kt1.js} +16 -16
  96. package/dist/chunks/{model-retry-1q6rtcwx.js → mime-at840swy.js} +11 -11
  97. package/dist/chunks/{model-retry-jq4gkdch.js → mime-avb6j7af.js} +39 -39
  98. package/dist/chunks/{model-retry-k4pkx3h8.js → mime-avyq2sch.js} +3 -3
  99. package/dist/chunks/{model-retry-61wyp4gr.js → mime-ay6kp039.js} +4 -4
  100. package/dist/chunks/{model-retry-3cbjf1nt.js → mime-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{model-retry-b0mv4wxm.js → mime-b0mv4wxm.js} +2 -2
  102. package/dist/chunks/{model-retry-q8skw5t4.js → mime-b3a0a1dt.js} +11 -11
  103. package/dist/chunks/{model-retry-fmhdrg4y.js → mime-b5hjsjtc.js} +28 -28
  104. package/dist/chunks/{model-retry-6pk7avk3.js → mime-b8fewz8c.js} +11 -11
  105. package/dist/chunks/{model-retry-sd3cteb1.js → mime-bdkfqjh1.js} +3 -3
  106. package/dist/chunks/{model-retry-hd9p2qrn.js → mime-be4ky1jx.js} +4 -4
  107. package/dist/chunks/{model-retry-bstexjd6.js → mime-bstexjd6.js} +1 -1
  108. package/dist/chunks/{model-retry-jav3q4wh.js → mime-c2q4mep3.js} +7 -7
  109. package/dist/chunks/{model-retry-t3mtxhe8.js → mime-c37dr9s5.js} +36 -36
  110. package/dist/chunks/{model-retry-c4970w7t.js → mime-c4970w7t.js} +1 -1
  111. package/dist/chunks/{model-retry-adfgt62e.js → mime-c5k488xh.js} +14 -14
  112. package/dist/chunks/{model-retry-9abfe0c3.js → mime-c99z4cs7.js} +15 -15
  113. package/dist/chunks/{model-retry-k2qg1sgb.js → mime-c9kxtag3.js} +26 -26
  114. package/dist/chunks/{model-retry-0etvtzr7.js → mime-cmrd856v.js} +11 -11
  115. package/dist/chunks/{model-retry-bdhbhy6a.js → mime-cn524wvf.js} +11 -11
  116. package/dist/chunks/{model-retry-7cy37jqv.js → mime-cp2r97hh.js} +7 -7
  117. package/dist/chunks/{model-retry-grv9e0a8.js → mime-cs9nhmnc.js} +35 -35
  118. package/dist/chunks/{model-retry-xp3wxx2t.js → mime-csp3r2wr.js} +19 -19
  119. package/dist/chunks/{model-retry-16z8xvrr.js → mime-cvh6tqsr.js} +12 -12
  120. package/dist/chunks/{model-retry-2wmk5873.js → mime-cwd8eagc.js} +4 -4
  121. package/dist/chunks/{model-retry-d2887f8n.js → mime-d2887f8n.js} +1 -1
  122. package/dist/chunks/{model-retry-d4v9tmah.js → mime-d4v9tmah.js} +2 -2
  123. package/dist/chunks/{model-retry-e3e7vv2j.js → mime-daavfx2n.js} +13 -13
  124. package/dist/chunks/{model-retry-ezfrkc6y.js → mime-dahs8mrh.js} +14 -14
  125. package/dist/chunks/{model-retry-7gq17r0e.js → mime-dcw54xmr.js} +9 -9
  126. package/dist/chunks/{model-retry-hk6b7xe4.js → mime-de78d3b2.js} +35 -35
  127. package/dist/chunks/{model-retry-y1249fzv.js → mime-dehah0wg.js} +14 -14
  128. package/dist/chunks/{model-retry-0gka690g.js → mime-dkq45v8d.js} +6 -6
  129. package/dist/chunks/{model-retry-dw8101p3.js → mime-dsxwdbtx.js} +21 -21
  130. package/dist/chunks/{model-retry-4j6ygzg0.js → mime-dvn6w1q7.js} +19 -19
  131. package/dist/chunks/{model-retry-xe04d561.js → mime-dw8r8nqw.js} +15 -15
  132. package/dist/chunks/{model-retry-xegc1gxr.js → mime-dxknpyv9.js} +17 -17
  133. package/dist/chunks/{model-retry-295s1tfa.js → mime-dywpt2jz.js} +13 -13
  134. package/dist/chunks/{model-retry-9wbkt707.js → mime-dz78pxbz.js} +28 -28
  135. package/dist/chunks/{model-retry-pdw6wz0h.js → mime-e3ynzpwe.js} +5 -5
  136. package/dist/chunks/{model-retry-tc3wr7kw.js → mime-e6zvexf0.js} +10 -10
  137. package/dist/chunks/{model-retry-e834z07m.js → mime-e834z07m.js} +1 -1
  138. package/dist/chunks/{model-retry-88wp77t0.js → mime-ec8872rv.js} +34 -34
  139. package/dist/chunks/{model-retry-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{model-retry-qvw98tg0.js → mime-egmw08v6.js} +5 -5
  141. package/dist/chunks/{model-retry-gj8x1tda.js → mime-es3s6s73.js} +5 -5
  142. package/dist/chunks/{model-retry-jzpxygg0.js → mime-esezyxfc.js} +9 -9
  143. package/dist/chunks/{model-retry-p4nbw5fh.js → mime-etb6jfd1.js} +32 -32
  144. package/dist/chunks/mime-ezna1kdx.js +18 -0
  145. package/dist/chunks/{model-retry-qyjpv9b5.js → mime-f6h5pjek.js} +22 -22
  146. package/dist/chunks/{model-retry-ktxkps69.js → mime-faz434mq.js} +68 -68
  147. package/dist/chunks/{model-retry-qe6vkhvx.js → mime-fb07bnzr.js} +15 -15
  148. package/dist/chunks/{model-retry-t00mk0ke.js → mime-fb9p315s.js} +24 -24
  149. package/dist/chunks/{model-retry-5r72z9dp.js → mime-fbjqxkhq.js} +8 -8
  150. package/dist/chunks/{model-retry-6z7s29v1.js → mime-fc77mr6m.js} +27 -27
  151. package/dist/chunks/{model-retry-20bsrc0x.js → mime-fch85cg6.js} +6 -6
  152. package/dist/chunks/{model-retry-fffv3p7h.js → mime-fffv3p7h.js} +1 -1
  153. package/dist/chunks/{model-retry-20nwq5j7.js → mime-fmc8gber.js} +10 -10
  154. package/dist/chunks/{model-retry-4efv169t.js → mime-fs4v9sqg.js} +7 -7
  155. package/dist/chunks/{model-retry-5v7kgtbj.js → mime-fwg6t5aa.js} +5 -5
  156. package/dist/chunks/{model-retry-g5h9c0rr.js → mime-g5h9c0rr.js} +2 -2
  157. package/dist/chunks/{model-retry-wjkdsmbm.js → mime-g7tvh7ca.js} +14 -14
  158. package/dist/chunks/{model-retry-pfyk31y2.js → mime-gbppfq5v.js} +5 -5
  159. package/dist/chunks/{model-retry-ghrzdqqx.js → mime-gfhhve88.js} +5 -5
  160. package/dist/chunks/{model-retry-vryb9jrf.js → mime-gkww2qs4.js} +8 -8
  161. package/dist/chunks/{model-retry-7xrq36hz.js → mime-grfdtbby.js} +42 -42
  162. package/dist/chunks/{model-retry-tjcpgb0t.js → mime-gx9515g0.js} +22 -22
  163. package/dist/chunks/{model-retry-h6yftxtc.js → mime-h0ra2w7t.js} +21 -21
  164. package/dist/chunks/{model-retry-pgeypdwc.js → mime-h5frkgzc.js} +27 -27
  165. package/dist/chunks/{model-retry-s71ympam.js → mime-h6chhj6a.js} +32 -32
  166. package/dist/chunks/{model-retry-0qev6pn3.js → mime-h7w2c8gt.js} +13 -13
  167. package/dist/chunks/{model-retry-gj9fd72a.js → mime-h99fb420.js} +19 -19
  168. package/dist/chunks/{model-retry-nekjk3x1.js → mime-hvqk9px9.js} +21 -21
  169. package/dist/chunks/{model-retry-pqrp5r8r.js → mime-hy03mgxa.js} +26 -26
  170. package/dist/chunks/{model-retry-fhjm4z34.js → mime-hymmg9xs.js} +32 -32
  171. package/dist/chunks/{model-retry-j113cymg.js → mime-j113cymg.js} +1 -1
  172. package/dist/chunks/{model-retry-jeyepegn.js → mime-j2e1pdqh.js} +7 -7
  173. package/dist/chunks/{model-retry-vck6kdh7.js → mime-j686yndx.js} +24 -24
  174. package/dist/chunks/{model-retry-akeabbgf.js → mime-j9d5v112.js} +6 -6
  175. package/dist/chunks/{model-retry-xv9gw8q2.js → mime-jf0x0mkb.js} +10 -10
  176. package/dist/chunks/{model-retry-sm6vx8r5.js → mime-jjby1v15.js} +21 -21
  177. package/dist/chunks/{model-retry-tx653dhe.js → mime-jqc4b6as.js} +21 -21
  178. package/dist/chunks/{model-retry-jt5vb9t1.js → mime-jw539tsy.js} +20 -20
  179. package/dist/chunks/{model-retry-pc1v25hk.js → mime-jx89vj1k.js} +3 -3
  180. package/dist/chunks/{model-retry-qy1wtshc.js → mime-k1ahy816.js} +8 -8
  181. package/dist/chunks/{model-retry-k814nvkf.js → mime-k814nvkf.js} +1 -1
  182. package/dist/chunks/{model-retry-wmtep305.js → mime-k8ha6td9.js} +30 -30
  183. package/dist/chunks/{model-retry-tbbj6rhj.js → mime-kcw2mt0q.js} +9 -9
  184. package/dist/chunks/{model-retry-qjqtgprh.js → mime-kfye5h0a.js} +5 -5
  185. package/dist/chunks/{model-retry-a634j94t.js → mime-khq36pg9.js} +13 -13
  186. package/dist/chunks/{model-retry-z26cgg3v.js → mime-ks4dhf3r.js} +20 -20
  187. package/dist/chunks/{model-retry-m1714858.js → mime-m1714858.js} +1 -1
  188. package/dist/chunks/{model-retry-vmfhgzt5.js → mime-m37sd98t.js} +4 -4
  189. package/dist/chunks/{model-retry-3x6mzmtb.js → mime-m5y7mrec.js} +37 -37
  190. package/dist/chunks/{model-retry-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{model-retry-rf0axqhe.js → mime-makr7g9p.js} +18 -18
  192. package/dist/chunks/{model-retry-maspj1v3.js → mime-maspj1v3.js} +1 -1
  193. package/dist/chunks/{model-retry-gddkg3ta.js → mime-mdrzmmdf.js} +24 -24
  194. package/dist/chunks/{model-retry-zp9devnn.js → mime-mh7750nv.js} +2 -2
  195. package/dist/chunks/{model-retry-vrq9j7rb.js → mime-mr6kd87r.js} +15 -15
  196. package/dist/chunks/{model-retry-wh6kfv27.js → mime-ms6fca56.js} +47 -47
  197. package/dist/chunks/{model-retry-sgsbvhae.js → mime-mtgfg349.js} +17 -17
  198. package/dist/chunks/{model-retry-4kxrtmfk.js → mime-mvm1cxx8.js} +34 -34
  199. package/dist/chunks/{model-retry-n0p0277s.js → mime-n0p0277s.js} +1 -1
  200. package/dist/chunks/{model-retry-cfkc8wvf.js → mime-n39q19g8.js} +4 -4
  201. package/dist/chunks/{model-retry-kt8g20y3.js → mime-nefyg2qe.js} +21 -21
  202. package/dist/chunks/{model-retry-kr6h74hd.js → mime-ngeq0yak.js} +4 -4
  203. package/dist/chunks/{model-retry-4z2d5fre.js → mime-nsm09qdn.js} +19 -19
  204. package/dist/chunks/{model-retry-rfqv2m6w.js → mime-nvq2cp9b.js} +6 -6
  205. package/dist/chunks/{model-retry-jzh23w2y.js → mime-nvxqht09.js} +2 -2
  206. package/dist/chunks/{model-retry-p015t6z3.js → mime-p015t6z3.js} +2 -2
  207. package/dist/chunks/{model-retry-wnr6a5h7.js → mime-p0ncpex0.js} +29 -29
  208. package/dist/chunks/{model-retry-5r8en0fy.js → mime-p6vdpmm7.js} +7 -7
  209. package/dist/chunks/{model-retry-v9ez2kgh.js → mime-p7vhpwh8.js} +5 -5
  210. package/dist/chunks/{model-retry-tfkjdz6t.js → mime-pbrndjvt.js} +23 -23
  211. package/dist/chunks/{model-retry-pknna89w.js → mime-pknna89w.js} +1 -1
  212. package/dist/chunks/{model-retry-hjw91gt8.js → mime-przv10k5.js} +4 -4
  213. package/dist/chunks/{model-retry-wecx54fa.js → mime-pw6tpjg0.js} +38 -38
  214. package/dist/chunks/{model-retry-d0h8t5hk.js → mime-q1akkz19.js} +11 -11
  215. package/dist/chunks/{model-retry-waexrkk0.js → mime-q8g6wzn7.js} +30 -30
  216. package/dist/chunks/{model-retry-8gpczyd8.js → mime-q9qe5dt4.js} +7 -7
  217. package/dist/chunks/{model-retry-wkgj5k69.js → mime-qesqfwsz.js} +5 -5
  218. package/dist/chunks/{model-retry-7d4vabvg.js → mime-qht88apq.js} +25 -25
  219. package/dist/chunks/{model-retry-s3aa97yb.js → mime-qhz1719s.js} +29 -29
  220. package/dist/chunks/{model-retry-8jztxfpf.js → mime-qjgzc4b4.js} +4 -4
  221. package/dist/chunks/{model-retry-r0yr0wbs.js → mime-r0yr0wbs.js} +1 -1
  222. package/dist/chunks/{model-retry-rb9dy4dg.js → mime-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{model-retry-1rpbm281.js → mime-rbg5ajna.js} +9 -9
  224. package/dist/chunks/{model-retry-w9w8mt4n.js → mime-rcbjwvze.js} +4 -4
  225. package/dist/chunks/{model-retry-7pg8rm12.js → mime-rgw8zdkq.js} +8 -8
  226. package/dist/chunks/{model-retry-bjhzkqyk.js → mime-rrad2nt9.js} +4 -4
  227. package/dist/chunks/{model-retry-qgmn31h3.js → mime-rrpm1tdr.js} +30 -30
  228. package/dist/chunks/{model-retry-rt5dr6hb.js → mime-rt5dr6hb.js} +1 -1
  229. package/dist/chunks/{model-retry-s7kyse9r.js → mime-s7kyse9r.js} +1 -1
  230. package/dist/chunks/{model-retry-r8a6rr1y.js → mime-sdw0stpz.js} +15 -15
  231. package/dist/chunks/{model-retry-945mzj2f.js → mime-shhwk7r4.js} +14 -14
  232. package/dist/chunks/{model-retry-cvqzdst0.js → mime-shxxcw0f.js} +4 -4
  233. package/dist/chunks/{model-retry-hnrrf75a.js → mime-sjefdf1p.js} +10 -10
  234. package/dist/chunks/{model-retry-a0ze7ap3.js → mime-sjsbybqr.js} +17 -17
  235. package/dist/chunks/{model-retry-sqjzf8x2.js → mime-sqjzf8x2.js} +1 -1
  236. package/dist/chunks/{model-retry-4eyfa5bt.js → mime-ss9hm05n.js} +18 -18
  237. package/dist/chunks/{model-retry-hfc726b7.js → mime-st7p3hwb.js} +2 -2
  238. package/dist/chunks/{model-retry-tczq8hjw.js → mime-tczq8hjw.js} +1 -1
  239. package/dist/chunks/{model-retry-vsdtm3y6.js → mime-tq360aqh.js} +19 -19
  240. package/dist/chunks/{model-retry-160yv0cs.js → mime-tqx9c315.js} +8 -8
  241. package/dist/chunks/{model-retry-ytzfdnxp.js → mime-tw8z5tpz.js} +18 -18
  242. package/dist/chunks/{model-retry-tw8zr1ps.js → mime-tw8zr1ps.js} +1 -1
  243. package/dist/chunks/{model-retry-twv2r8f4.js → mime-twv2r8f4.js} +2 -2
  244. package/dist/chunks/{model-retry-15b56cgm.js → mime-tx9renrs.js} +6 -6
  245. package/dist/chunks/{model-retry-v2r1d0zg.js → mime-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{model-retry-mfvka9j5.js → mime-v7qwy7k6.js} +9 -9
  247. package/dist/chunks/{model-retry-vd3b3yk9.js → mime-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{model-retry-veqvce7d.js → mime-veqvce7d.js} +1 -1
  249. package/dist/chunks/{model-retry-h86hs4jx.js → mime-vfaknrr0.js} +20 -20
  250. package/dist/chunks/{model-retry-g02cgtqg.js → mime-vgatjcfj.js} +78 -78
  251. package/dist/chunks/{model-retry-32s59e8p.js → mime-vgk61ywp.js} +9 -9
  252. package/dist/chunks/{model-retry-y3xtvwd4.js → mime-vp7nbskz.js} +14 -14
  253. package/dist/chunks/{model-retry-95x7pe01.js → mime-vxawy97t.js} +17 -17
  254. package/dist/chunks/{model-retry-w830et9m.js → mime-w24tx78k.js} +11 -11
  255. package/dist/chunks/{model-retry-yr0q3nx1.js → mime-w2cw001h.js} +6 -6
  256. package/dist/chunks/{model-retry-40za9wsf.js → mime-w2eysc6j.js} +9 -9
  257. package/dist/chunks/{model-retry-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{model-retry-wakvkjy4.js → mime-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{model-retry-r3hh8w6n.js → mime-way9x9na.js} +24 -24
  260. package/dist/chunks/{model-retry-wd87259q.js → mime-wd87259q.js} +1 -1
  261. package/dist/chunks/{model-retry-w687dnns.js → mime-wr3re1en.js} +4 -4
  262. package/dist/chunks/{model-retry-v1y7x4cv.js → mime-wsjhra5c.js} +14 -14
  263. package/dist/chunks/{model-retry-fn90fkvf.js → mime-wv25cjfq.js} +26 -26
  264. package/dist/chunks/{model-retry-txfdt2b0.js → mime-wvv9pwzq.js} +17 -17
  265. package/dist/chunks/{model-retry-gqy3s5ng.js → mime-wwf2h3h9.js} +23 -23
  266. package/dist/chunks/mime-x49m95er.js +523 -0
  267. package/dist/chunks/{model-retry-xvee63d2.js → mime-x6e5q3s7.js} +11 -11
  268. package/dist/chunks/{model-retry-8zmpysdb.js → mime-xa6jjthr.js} +1 -1
  269. package/dist/chunks/{model-retry-btsa3r6q.js → mime-xgp4rgab.js} +1 -1
  270. package/dist/chunks/{model-retry-ecw9kts4.js → mime-xn6a1j0y.js} +12 -12
  271. package/dist/chunks/{model-retry-kjgnzevm.js → mime-xrpfz6f8.js} +9 -9
  272. package/dist/chunks/{model-retry-daaznt2t.js → mime-xs1m5cpe.js} +4 -4
  273. package/dist/chunks/{model-retry-zjy8xeq5.js → mime-xvt56c4d.js} +35 -35
  274. package/dist/chunks/{model-retry-yb20nhc3.js → mime-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{model-retry-2352cqpm.js → mime-yks697c0.js} +20 -20
  276. package/dist/chunks/mime-ypydzh1y.js +26 -0
  277. package/dist/chunks/{model-retry-z0t0wh6t.js → mime-ytr2aw5s.js} +6 -6
  278. package/dist/chunks/{model-retry-x2s7p62g.js → mime-yywe7zex.js} +13 -13
  279. package/dist/chunks/{model-retry-0eaaaj4x.js → mime-yz0kavm7.js} +16 -16
  280. package/dist/chunks/{model-retry-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{model-retry-5bwswyjb.js → mime-z1a2w6sk.js} +28 -28
  282. package/dist/chunks/{model-retry-z38nccrw.js → mime-z38nccrw.js} +1 -1
  283. package/dist/chunks/{model-retry-p4gac2xv.js → mime-z44n2dnr.js} +25 -25
  284. package/dist/chunks/{model-retry-s7pe5jpp.js → mime-zc6v1jhv.js} +14 -14
  285. package/dist/chunks/{model-retry-1x14vdzp.js → mime-zeg0rdj0.js} +50 -50
  286. package/dist/chunks/{model-retry-zkg84ctx.js → mime-zkg84ctx.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +94 -94
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +363 -363
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +99 -99
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +109 -109
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +1 -1
  455. package/dist/instance.js +356 -356
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +91 -91
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +103 -103
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/socket-client.js +1 -1
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +99 -99
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +78 -78
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +109 -109
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +123 -123
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +166 -166
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -137
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +120 -120
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +115 -115
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +1 -1
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +95 -95
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +88 -88
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +79 -79
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +102 -102
  688. package/package.json +8 -8
  689. package/dist/chunks/model-retry-das67r30.js +0 -26
  690. package/dist/chunks/model-retry-ewms6j9b.js +0 -523
  691. package/dist/chunks/model-retry-f8ma18fn.js +0 -18
  692. package/dist/chunks/model-retry-qrbjjv6t.js +0 -257
  693. /package/dist/chunks/{model-retry-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{model-retry-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{model-retry-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{model-retry-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{model-retry-24dcb14g.js → mime-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{model-retry-2710q6r3.js → mime-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{model-retry-2bv980vf.js → mime-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{model-retry-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{model-retry-359p4xyc.js → mime-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{model-retry-3asan66x.js → mime-3asan66x.js} +0 -0
  703. /package/dist/chunks/{model-retry-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{model-retry-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{model-retry-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{model-retry-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{model-retry-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{model-retry-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{model-retry-53557ph1.js → mime-53557ph1.js} +0 -0
  710. /package/dist/chunks/{model-retry-550bvhaj.js → mime-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{model-retry-5fjb7ams.js → mime-5fjb7ams.js} +0 -0
  712. /package/dist/chunks/{model-retry-6prwharc.js → mime-6prwharc.js} +0 -0
  713. /package/dist/chunks/{model-retry-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{model-retry-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{model-retry-7m9af43g.js → mime-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{model-retry-822emrt2.js → mime-822emrt2.js} +0 -0
  717. /package/dist/chunks/{model-retry-84wd9syh.js → mime-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{model-retry-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{model-retry-8n3pysct.js → mime-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{model-retry-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{model-retry-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{model-retry-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{model-retry-a058387c.js → mime-a058387c.js} +0 -0
  724. /package/dist/chunks/{model-retry-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{model-retry-af5trqkr.js → mime-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{model-retry-afrmfg78.js → mime-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{model-retry-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{model-retry-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{model-retry-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{model-retry-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{model-retry-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{model-retry-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{model-retry-d9fn303g.js → mime-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{model-retry-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{model-retry-dajrwvna.js → mime-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{model-retry-dap0rakb.js → mime-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{model-retry-df08tz66.js → mime-df08tz66.js} +0 -0
  738. /package/dist/chunks/{model-retry-dy18nga0.js → mime-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{model-retry-e3qxr5gk.js → mime-e3qxr5gk.js} +0 -0
  740. /package/dist/chunks/{model-retry-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{model-retry-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{model-retry-ec1grn59.js → mime-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{model-retry-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{model-retry-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{model-retry-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{model-retry-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{model-retry-faypxj3z.js → mime-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{model-retry-fd410y7t.js → mime-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{model-retry-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{model-retry-g86h250q.js → mime-g86h250q.js} +0 -0
  751. /package/dist/chunks/{model-retry-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{model-retry-gftt206x.js → mime-gftt206x.js} +0 -0
  753. /package/dist/chunks/{model-retry-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{model-retry-hk9envan.js → mime-hk9envan.js} +0 -0
  755. /package/dist/chunks/{model-retry-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{model-retry-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{model-retry-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{model-retry-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{model-retry-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{model-retry-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{model-retry-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{model-retry-m18g726c.js → mime-m18g726c.js} +0 -0
  763. /package/dist/chunks/{model-retry-mp448xyj.js → mime-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{model-retry-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{model-retry-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{model-retry-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{model-retry-njntx4h6.js → mime-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{model-retry-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{model-retry-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{model-retry-q74kybfr.js → mime-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{model-retry-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{model-retry-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{model-retry-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{model-retry-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{model-retry-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{model-retry-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{model-retry-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{model-retry-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{model-retry-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
  780. /package/dist/chunks/{model-retry-w803qqfp.js → mime-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{model-retry-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{model-retry-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{model-retry-wjj7prxr.js → mime-wjj7prxr.js} +0 -0
  784. /package/dist/chunks/{model-retry-wtztk69x.js → mime-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{model-retry-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{model-retry-x61499pn.js → mime-x61499pn.js} +0 -0
  787. /package/dist/chunks/{model-retry-y44na4kk.js → mime-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{model-retry-y8f7s663.js → mime-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{model-retry-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{model-retry-ym463w8f.js → mime-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{model-retry-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{model-retry-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID13,
2
+ ID12,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./model-retry-pgeypdwc.js";
5
+ } from "./mime-h5frkgzc.js";
6
6
  import {
7
- ID12,
7
+ ID11,
8
8
  VariantID2,
9
9
  Family2,
10
- Info21
11
- } from "./model-retry-s71ympam.js";
10
+ Info20
11
+ } from "./mime-h6chhj6a.js";
12
12
  import {
13
13
  __export
14
- } from "./model-retry-9rqn6x4v.js";
14
+ } from "./mime-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID11.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info21.make({
122
- ...Info21.default(ID13.githubCopilot, id),
121
+ return Info20.make({
122
+ ...Info20.default(ID12.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID11.make(remote.id),
125
+ providerID: ID12.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-retry-z5v4ffb3.js";
5
+ } from "./mime-z5v4ffb3.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./model-retry-95x7pe01.js";
7
+ Service76,
8
+ node78
9
+ } from "./mime-vxawy97t.js";
10
10
  import {
11
- Service39,
12
- node42
13
- } from "./model-retry-gddkg3ta.js";
11
+ Service37,
12
+ node40
13
+ } from "./mime-mdrzmmdf.js";
14
14
  import {
15
15
  __export
16
- } from "./model-retry-9rqn6x4v.js";
16
+ } from "./mime-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event6,
27
+ Event: () => Event5,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
33
  NotFoundError: () => NotFoundError4,
34
- Service: () => Service38,
34
+ Service: () => Service36,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node41
37
+ node: () => node39
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event6 = FileSystem.Event;
95
+ var Event5 = FileSystem.Event;
96
96
 
97
- class Service38 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service36 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service38, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service82;
102
- const search = yield* Service39;
101
+ const location = yield* Service76;
102
+ const search = yield* Service37;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -118,7 +118,7 @@ var baseLayer = Layer.effect(Service38, Effect.gen(function* () {
118
118
  return yield* Effect.fail(new NotFoundError4({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service38.of({
121
+ return Service36.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service38, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node41 = makeLocationNode({
162
- service: Service38,
161
+ var node39 = makeLocationNode({
162
+ service: Service36,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node86, node42]
164
+ deps: [FSUtil.node, node78, node40]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service38, node41, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service36, node39, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./model-retry-hd9p2qrn.js";
4
+ } from "./mime-be4ky1jx.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-retry-vd3b3yk9.js";
8
+ } from "./mime-vd3b3yk9.js";
9
9
  import {
10
10
  key2
11
- } from "./model-retry-bjhzkqyk.js";
11
+ } from "./mime-rrad2nt9.js";
12
12
  import {
13
- ID14,
14
- Service79,
13
+ ID16,
14
+ Service80,
15
15
  node83,
16
16
  Event17
17
- } from "./model-retry-k2qg1sgb.js";
17
+ } from "./mime-c9kxtag3.js";
18
18
  import {
19
- Service82,
20
- node86
21
- } from "./model-retry-95x7pe01.js";
19
+ Service76,
20
+ node78
21
+ } from "./mime-vxawy97t.js";
22
22
  import {
23
23
  __export
24
- } from "./model-retry-9rqn6x4v.js";
24
+ } from "./mime-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -30,13 +30,13 @@ __export(exports_provider3, {
30
30
  Compaction: () => Compaction3,
31
31
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
32
32
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
33
- Event: () => Event16,
34
- ID: () => ID13,
35
- Info: () => Info22,
33
+ Event: () => Event15,
34
+ ID: () => ID12,
35
+ Info: () => Info21,
36
36
  LoadError: () => LoadError3,
37
37
  Provider: () => exports_provider3,
38
38
  Request: () => Request3,
39
- Service: () => Service78,
39
+ Service: () => Service72,
40
40
  Settings: () => Settings2,
41
41
  Transport: () => Transport2,
42
42
  aisdk: () => aisdk2,
@@ -48,7 +48,7 @@ __export(exports_provider3, {
48
48
  mergeOverlay: () => mergeOverlay2,
49
49
  modelSettings: () => modelSettings2,
50
50
  nativeSettings: () => nativeSettings2,
51
- node: () => node82,
51
+ node: () => node74,
52
52
  packageName: () => packageName2,
53
53
  timeout: () => timeout2,
54
54
  timeouts: () => timeouts2
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
323
323
  var decode = Schema.decodeUnknownSync(Legacy);
324
324
 
325
325
  // src/provider.ts
326
- import { Event as Event16 } from "@opencode/schema/provider";
327
- var ID13 = Provider.ID;
326
+ import { Event as Event15 } from "@opencode/schema/provider";
327
+ var ID12 = Provider.ID;
328
328
  var AISDK_PREFIX2 = "aisdk:";
329
329
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
330
330
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -538,9 +538,9 @@ var Request3 = Provider.Request;
538
538
  var Compaction3 = Provider.Compaction;
539
539
  var Transport2 = Provider.Transport;
540
540
  var Settings2 = Provider.Settings;
541
- var Info22 = Provider.Info;
541
+ var Info21 = Provider.Info;
542
542
 
543
- class Service78 extends Context.Service()("@opencode/Provider") {
543
+ class Service72 extends Context.Service()("@opencode/Provider") {
544
544
  }
545
545
  var definitions = new WeakMap;
546
546
  function index(providerID, models) {
@@ -553,10 +553,10 @@ function index(providerID, models) {
553
553
  definitions.set(models, indexes);
554
554
  return result;
555
555
  }
556
- var layer = Layer.effect(Service78, Effect2.gen(function* () {
556
+ var layer = Layer.effect(Service72, Effect2.gen(function* () {
557
557
  const bus = yield* Service85;
558
- const integrations = yield* Service79;
559
- const location = yield* Service82;
558
+ const integrations = yield* Service80;
559
+ const location = yield* Service76;
560
560
  const state = create3({
561
561
  name: "provider",
562
562
  initial: () => new Map,
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
567
567
  const current = records.get(id);
568
568
  if (current)
569
569
  return current;
570
- const added = { provider: Info22.empty(id), models: new Map };
570
+ const added = { provider: Info21.empty(id), models: new Map };
571
571
  records.set(id, added);
572
572
  maps.add(added.models);
573
573
  return added;
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
648
648
  const available = Array.from(records.values()).filter((record) => {
649
649
  if (record.provider.activation === "disabled")
650
650
  return false;
651
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
651
+ const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
652
652
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
653
653
  return false;
654
654
  if (record.provider.activation === "enabled")
@@ -675,7 +675,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
675
675
  });
676
676
  });
677
677
  yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
- return Service78.of({
678
+ return Service72.of({
679
679
  transform: state.transform,
680
680
  reload: state.reload,
681
681
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
684
684
  snapshot
685
685
  });
686
686
  }));
687
- var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node86] });
687
+ var node74 = makeLocationNode({ service: Service72, layer, deps: [node89, node83, node78] });
688
688
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
689
689
  const module = yield* Effect2.tryPromise({
690
690
  try: () => {
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
706
706
  return module;
707
707
  });
708
708
 
709
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service78, node82, exports_provider3, Event16 };
709
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service72, node74, exports_provider3, Event15 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./model-retry-hd9p2qrn.js";
4
+ } from "./mime-be4ky1jx.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-retry-vd3b3yk9.js";
8
+ } from "./mime-vd3b3yk9.js";
9
9
  import {
10
- Service82,
11
- node86
12
- } from "./model-retry-95x7pe01.js";
10
+ Service76,
11
+ node78
12
+ } from "./mime-vxawy97t.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID12,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service78,
20
- node82,
21
- Event16
22
- } from "./model-retry-pgeypdwc.js";
19
+ Service72,
20
+ node74,
21
+ Event15
22
+ } from "./mime-h5frkgzc.js";
23
23
  import {
24
24
  __export
25
- } from "./model-retry-9rqn6x4v.js";
25
+ } from "./mime-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,18 +30,18 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event15,
33
+ Event: () => Event14,
34
34
  Family: () => Family2,
35
- ID: () => ID12,
36
- Info: () => Info21,
35
+ ID: () => ID11,
36
+ Info: () => Info20,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service76,
40
+ Service: () => Service71,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node80,
44
+ node: () => node73,
45
45
  parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event15 } from "@opencode/schema/model";
53
- var ID12 = Model.ID;
52
+ import { Event as Event14 } from "@opencode/schema/model";
53
+ var ID11 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
56
56
  var ReasoningField2 = Model.ReasoningField;
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
67
67
  };
68
68
  var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
- var Info21 = Model.Info;
70
+ var Info20 = Model.Info;
71
71
 
72
- class Service76 extends Context.Service()("@opencode/Model") {
72
+ class Service71 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service76, Effect.gen(function* () {
75
- const providers = yield* Service78;
74
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
75
+ const providers = yield* Service72;
76
76
  const bus = yield* Service85;
77
- const location = yield* Service82;
77
+ const location = yield* Service76;
78
78
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
79
79
  let input;
80
80
  const state = create3({
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
120
120
  const models = writable(providerID);
121
121
  if (!models)
122
122
  return;
123
- const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
123
+ const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
124
124
  update(model);
125
125
  model.id = modelID;
126
126
  model.providerID = providerID;
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
189
189
  ];
190
190
  }));
191
191
  if (disableFree)
192
- for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
192
+ for (const providerID of [ID12.opencode, ID12.make("opencode-go")])
193
193
  byProvider.get(providerID)?.forEach((model, id, models) => {
194
194
  if (!model.cost.some((cost) => cost.input > 0))
195
195
  models.delete(id);
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
216
216
  location: { directory: location.directory, workspaceID: location.workspaceID }
217
217
  });
218
218
  });
219
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
- return Service76.of({
219
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
+ return Service71.of({
221
221
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
222
222
  reload,
223
223
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
236
236
  })
237
237
  });
238
238
  }));
239
- var node80 = makeLocationNode({ service: Service76, layer, deps: [node82, node89, node86] });
239
+ var node73 = makeLocationNode({ service: Service71, layer, deps: [node74, node89, node78] });
240
240
  var PREFERRED_FREE = [
241
241
  "big-pickle",
242
242
  "deepseek-v4.1-flash-free",
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
244
244
  "muse-spark-1.3-contributor-free"
245
245
  ];
246
246
  function preferFree(models) {
247
- const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
247
+ const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
248
248
  if (!freeOnly)
249
249
  return models;
250
250
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -263,9 +263,9 @@ function compatibility2(input) {
263
263
  function parse5(input) {
264
264
  const index = input.indexOf("/");
265
265
  return {
266
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
267
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
266
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
267
+ modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
268
268
  };
269
269
  }
270
270
 
271
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service76, node80, supportsText2, compatibility2, parse5, exports_model2, Event15 };
271
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service71, node73, supportsText2, compatibility2, parse5, exports_model2, Event14 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  batch2
3
- } from "./model-retry-vd3b3yk9.js";
3
+ } from "./mime-vd3b3yk9.js";
4
4
  import {
5
- Service58
6
- } from "./model-retry-qxbnebsm.js";
5
+ Service66
6
+ } from "./mime-12yp6zfs.js";
7
7
  import {
8
8
  match2
9
- } from "./model-retry-z38nccrw.js";
9
+ } from "./mime-z38nccrw.js";
10
10
  import {
11
- Service13,
11
+ Service16,
12
12
  statements2,
13
13
  decision2
14
- } from "./model-retry-20nwq5j7.js";
14
+ } from "./mime-fmc8gber.js";
15
15
  import {
16
16
  observe2
17
- } from "./model-retry-6pjqjmy2.js";
17
+ } from "./mime-6pjqjmy2.js";
18
18
  import {
19
19
  __export
20
- } from "./model-retry-9rqn6x4v.js";
20
+ } from "./mime-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/policy.ts
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin31
26
+ Plugin: () => Plugin34
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin31 = define({
30
+ var Plugin34 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service58;
34
- const managed = yield* Service13;
33
+ const config = yield* Service66;
34
+ const managed = yield* Service16;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -76,4 +76,4 @@ var Plugin31 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin31, exports_policy };
79
+ export { Plugin34, exports_policy };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./model-retry-95x7pe01.js";
2
+ Service76,
3
+ node78
4
+ } from "./mime-vxawy97t.js";
5
5
  import {
6
- Key3,
7
- make20,
6
+ Key4,
7
+ make21,
8
8
  combine2
9
- } from "./model-retry-e5dqjz6v.js";
9
+ } from "./mime-9p9xqj3m.js";
10
10
  import {
11
11
  __export
12
- } from "./model-retry-9rqn6x4v.js";
12
+ } from "./mime-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service35,
19
- node: () => node38
18
+ Service: () => Service24,
19
+ node: () => node27
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service24 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service35, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service82;
29
- return Service35.of({
28
+ const location = yield* Service76;
29
+ return Service24.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make20({
32
- key: Key3.make("core/date"),
31
+ make21({
32
+ key: Key4.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
35
35
  render: {
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make20({
41
- key: Key3.make("core/environment"),
40
+ make21({
41
+ key: Key4.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
44
44
  "<env>",
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node38 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node86] });
63
+ var node27 = makeLocationNode({ service: Service24, layer, deps: [Global.node, node78] });
64
64
 
65
- export { Service35, node38, exports_builtins };
65
+ export { Service24, node27, exports_builtins };