@opencode/core 0.0.0-dev-21354 → 0.0.0-dev-21357

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 +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{model-resolver-rsa08myv.js → config-0146ehcd.js} +39 -39
  8. package/dist/chunks/{model-resolver-awpkagge.js → config-01dnnh97.js} +12 -12
  9. package/dist/chunks/{model-resolver-g2qxcqrf.js → config-01w2j48t.js} +184 -184
  10. package/dist/chunks/{model-resolver-16t55p56.js → config-098mw7j8.js} +17 -17
  11. package/dist/chunks/{model-resolver-tt71e4t5.js → config-0am8fjdy.js} +22 -22
  12. package/dist/chunks/{model-resolver-t550f9t1.js → config-0gdmqesm.js} +4 -4
  13. package/dist/chunks/{model-resolver-mnvhm04t.js → config-0k354qyb.js} +34 -34
  14. package/dist/chunks/{model-resolver-fczeefh4.js → config-0q3gqcca.js} +3 -3
  15. package/dist/chunks/{model-resolver-nvqyc4x4.js → config-0ryw2dh8.js} +21 -21
  16. package/dist/chunks/{model-resolver-0vbcp93d.js → config-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{model-resolver-4v7ngy20.js → config-0xqyf95c.js} +4 -4
  18. package/dist/chunks/{model-resolver-0jq9fyba.js → config-11dqjexa.js} +9 -9
  19. package/dist/chunks/{model-resolver-5a4rr9ep.js → config-11pezjhg.js} +32 -32
  20. package/dist/chunks/{model-resolver-8m8th7g9.js → config-12tcmyxx.js} +29 -29
  21. package/dist/chunks/{model-resolver-zenctmbx.js → config-15rsdq6e.js} +34 -34
  22. package/dist/chunks/{model-resolver-gv2b8e0t.js → config-15wkt9r0.js} +28 -28
  23. package/dist/chunks/{model-resolver-5v9zgnrp.js → config-180t97jp.js} +32 -32
  24. package/dist/chunks/{model-resolver-bzeyqsqd.js → config-1ep4rre3.js} +4 -4
  25. package/dist/chunks/{model-resolver-bjx1sjef.js → config-1ffvrpkg.js} +6 -6
  26. package/dist/chunks/{model-resolver-vhbqgehn.js → config-1h3v5wkf.js} +56 -56
  27. package/dist/chunks/{model-resolver-7jav1qs0.js → config-1zbharsm.js} +10 -10
  28. package/dist/chunks/{model-resolver-sk5hrgtc.js → config-22sd1qqc.js} +8 -8
  29. package/dist/chunks/{model-resolver-gzdnfxqj.js → config-2c9v7a19.js} +28 -28
  30. package/dist/chunks/{model-resolver-vbrars45.js → config-2dryst3t.js} +8 -8
  31. package/dist/chunks/{model-resolver-nme8cjen.js → config-2n7mj27j.js} +8 -8
  32. package/dist/chunks/{model-resolver-zqbntp8m.js → config-2s6fx24g.js} +13 -13
  33. package/dist/chunks/{model-resolver-sr8at2s6.js → config-2tbjjbgs.js} +23 -23
  34. package/dist/chunks/{model-resolver-t5j7jw81.js → config-2vvbbmgf.js} +5 -5
  35. package/dist/chunks/{model-resolver-bt2m3cq7.js → config-2y5zvhyc.js} +33 -33
  36. package/dist/chunks/{model-resolver-w232x9j5.js → config-32pxjafj.js} +13 -13
  37. package/dist/chunks/{model-resolver-9s481m48.js → config-3fzp089a.js} +14 -14
  38. package/dist/chunks/{model-resolver-3hepkmqq.js → config-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{model-resolver-q6jqqp9b.js → config-3hpw86qk.js} +5 -5
  40. package/dist/chunks/{model-resolver-3hwn7j4h.js → config-3hwn7j4h.js} +2 -2
  41. package/dist/chunks/{model-resolver-hkz952tc.js → config-3m8ztwev.js} +43 -43
  42. package/dist/chunks/{model-resolver-ttrv0ee4.js → config-3nkcb2f7.js} +22 -22
  43. package/dist/chunks/{model-resolver-3smtnn6g.js → config-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{model-resolver-3tvqynh2.js → config-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{model-resolver-sctb5je3.js → config-3v7yvdjz.js} +20 -20
  46. package/dist/chunks/{model-resolver-3zsf4n22.js → config-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{model-resolver-eq20ba7x.js → config-4adxw2q2.js} +6 -6
  48. package/dist/chunks/{model-resolver-2a6rn6yr.js → config-4mwpykj0.js} +6 -6
  49. package/dist/chunks/{model-resolver-377tx7tw.js → config-4q9d5zmx.js} +30 -30
  50. package/dist/chunks/{model-resolver-hr20tfp9.js → config-4sgmmrrd.js} +24 -24
  51. package/dist/chunks/{model-resolver-gps0vx81.js → config-4ww92429.js} +94 -94
  52. package/dist/chunks/{model-resolver-bacj9t34.js → config-4xdpab2z.js} +9 -9
  53. package/dist/chunks/{model-resolver-e930j4e4.js → config-4ywq529d.js} +9 -9
  54. package/dist/chunks/{model-resolver-kntzm8s7.js → config-50dha6f4.js} +13 -13
  55. package/dist/chunks/{model-resolver-g90hexag.js → config-52jgfbpk.js} +51 -51
  56. package/dist/chunks/{model-resolver-88fjbbyn.js → config-52v926c4.js} +28 -28
  57. package/dist/chunks/{model-resolver-54ma36ye.js → config-54ma36ye.js} +1 -1
  58. package/dist/chunks/{model-resolver-kjdm35cs.js → config-57myy5jh.js} +5 -5
  59. package/dist/chunks/{model-resolver-8n9x2wf6.js → config-5epte933.js} +3 -3
  60. package/dist/chunks/{model-resolver-kqv3x6rj.js → config-5fec3t3w.js} +4 -4
  61. package/dist/chunks/{model-resolver-5m9w47nd.js → config-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{model-resolver-q4v9s1ey.js → config-5n3frxbd.js} +8 -8
  63. package/dist/chunks/{model-resolver-7dtw93gw.js → config-5pt2mcnr.js} +35 -35
  64. package/dist/chunks/{model-resolver-qe9z13v3.js → config-5qfavyey.js} +22 -22
  65. package/dist/chunks/{model-resolver-prcvzp3b.js → config-5s9rh5zt.js} +27 -27
  66. package/dist/chunks/{model-resolver-qrv63xef.js → config-5ve7jj82.js} +5 -5
  67. package/dist/chunks/config-619r8v3y.js +18 -0
  68. package/dist/chunks/{model-resolver-w55jn1kt.js → config-63ak3stf.js} +8 -8
  69. package/dist/chunks/{model-resolver-6827pfxn.js → config-6827pfxn.js} +1 -1
  70. package/dist/chunks/{model-resolver-zyhj209a.js → config-6drhhcgp.js} +18 -18
  71. package/dist/chunks/{model-resolver-e0vbf2p2.js → config-6mg66w46.js} +13 -13
  72. package/dist/chunks/{model-resolver-7fkffz83.js → config-6pc27hjz.js} +8 -8
  73. package/dist/chunks/{model-resolver-16qtt0td.js → config-6rk0qtx5.js} +9 -9
  74. package/dist/chunks/{model-resolver-6xb47vfp.js → config-6xb47vfp.js} +1 -1
  75. package/dist/chunks/{model-resolver-775gj3j1.js → config-775gj3j1.js} +2 -2
  76. package/dist/chunks/{model-resolver-7bmhse3q.js → config-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{model-resolver-6dt87k62.js → config-7byx5q39.js} +30 -30
  78. package/dist/chunks/config-7qbkbymg.js +257 -0
  79. package/dist/chunks/{model-resolver-5ycagacq.js → config-7rkcz7sg.js} +4 -4
  80. package/dist/chunks/{model-resolver-wgwbykmc.js → config-7rsqhaa1.js} +13 -13
  81. package/dist/chunks/{model-resolver-7v6vae4w.js → config-7v6vae4w.js} +3 -3
  82. package/dist/chunks/{model-resolver-84txncab.js → config-84txncab.js} +1 -1
  83. package/dist/chunks/{model-resolver-jqyzchqw.js → config-8a27v2a9.js} +6 -6
  84. package/dist/chunks/{model-resolver-he2rnee2.js → config-8jqzjjgp.js} +1 -1
  85. package/dist/chunks/{model-resolver-xjy4dz85.js → config-8m3cssw6.js} +18 -18
  86. package/dist/chunks/{model-resolver-8m6m0r52.js → config-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{model-resolver-8mywswrd.js → config-8mywswrd.js} +1 -1
  88. package/dist/chunks/{model-resolver-2kgvm4ga.js → config-8p4aw0bd.js} +25 -25
  89. package/dist/chunks/{model-resolver-jvfpmyx9.js → config-8qbxhjh4.js} +20 -20
  90. package/dist/chunks/{model-resolver-xztctcj7.js → config-8rgyadme.js} +8 -8
  91. package/dist/chunks/{model-resolver-h6ag9tfj.js → config-8ypvz7qz.js} +24 -24
  92. package/dist/chunks/{model-resolver-0y23mm2p.js → config-9b55rd9h.js} +11 -11
  93. package/dist/chunks/{model-resolver-t67qckpp.js → config-9c366hpc.js} +17 -17
  94. package/dist/chunks/{model-resolver-5yzzbxa7.js → config-9hn6k4tm.js} +8 -8
  95. package/dist/chunks/{model-resolver-6hen7d63.js → config-9ndxqh6g.js} +29 -29
  96. package/dist/chunks/{model-resolver-xq54jxm8.js → config-9ph9narp.js} +11 -11
  97. package/dist/chunks/{model-resolver-n62bhn6h.js → config-9q85pybg.js} +27 -27
  98. package/dist/chunks/{model-resolver-q4x9wazd.js → config-9qgvjr2e.js} +3 -3
  99. package/dist/chunks/{model-resolver-4134zm2w.js → config-9r3hany2.js} +27 -27
  100. package/dist/chunks/{model-resolver-rba33dr3.js → config-9r4817sq.js} +9 -9
  101. package/dist/chunks/{model-resolver-6zyxy6vr.js → config-9yy9ab6f.js} +48 -48
  102. package/dist/chunks/{model-resolver-76rvckpe.js → config-a01j9zgm.js} +5 -5
  103. package/dist/chunks/{model-resolver-b27vhd2z.js → config-a2ew8a62.js} +4 -4
  104. package/dist/chunks/{model-resolver-aq38rpj0.js → config-amaj7c21.js} +9 -9
  105. package/dist/chunks/{model-resolver-kmq3cj41.js → config-amv78yhn.js} +28 -28
  106. package/dist/chunks/{model-resolver-qswqrcwe.js → config-av20eqx4.js} +3 -3
  107. package/dist/chunks/{model-resolver-m0k3p8s9.js → config-b0sy7btn.js} +20 -20
  108. package/dist/chunks/config-b7an2wpv.js +517 -0
  109. package/dist/chunks/{model-resolver-cefkz2r6.js → config-b89refpb.js} +4 -4
  110. package/dist/chunks/{model-resolver-xkgtb7n5.js → config-ba4pvmzc.js} +47 -47
  111. package/dist/chunks/{model-resolver-syv183bv.js → config-bcmq4rdz.js} +7 -7
  112. package/dist/chunks/{model-resolver-8h28ekbz.js → config-bjje5kk1.js} +17 -17
  113. package/dist/chunks/{model-resolver-2sz974pf.js → config-bnaqkdcm.js} +28 -28
  114. package/dist/chunks/{model-resolver-q0nrsbdj.js → config-by382cv3.js} +10 -10
  115. package/dist/chunks/{model-resolver-pty45f7z.js → config-bzkayexk.js} +22 -22
  116. package/dist/chunks/{model-resolver-c1fqxshp.js → config-c1fqxshp.js} +3 -3
  117. package/dist/chunks/{model-resolver-htk2qbym.js → config-c53xjpva.js} +6 -6
  118. package/dist/chunks/{model-resolver-r799sh1q.js → config-c6zmkhp3.js} +21 -21
  119. package/dist/chunks/{model-resolver-q63t359z.js → config-c72jc7ts.js} +6 -6
  120. package/dist/chunks/{model-resolver-bdehnvdw.js → config-cac2amd6.js} +37 -37
  121. package/dist/chunks/{model-resolver-qm7j4bgw.js → config-cgsh41s3.js} +45 -45
  122. package/dist/chunks/{model-resolver-1psxftkd.js → config-cj7b5bvp.js} +22 -22
  123. package/dist/chunks/{model-resolver-h3g77kky.js → config-cja2h5j5.js} +15 -15
  124. package/dist/chunks/{model-resolver-1g0trf6w.js → config-cpzrm4es.js} +18 -18
  125. package/dist/chunks/{model-resolver-3h19w961.js → config-czx6xwt7.js} +15 -15
  126. package/dist/chunks/{model-resolver-gcvbawqp.js → config-d7nwkqpz.js} +16 -16
  127. package/dist/chunks/{model-resolver-svmspn7k.js → config-d9xej2qg.js} +4 -4
  128. package/dist/chunks/{model-resolver-9gzkep83.js → config-dcm3phq5.js} +14 -14
  129. package/dist/chunks/{model-resolver-3y377wv9.js → config-dgpsrprm.js} +4 -4
  130. package/dist/chunks/{model-resolver-2k71kv7p.js → config-dj68pnee.js} +4 -4
  131. package/dist/chunks/{model-resolver-y71avatq.js → config-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{model-resolver-qqeeq2t9.js → config-drwq78ky.js} +7 -7
  133. package/dist/chunks/{model-resolver-3c9v7fz9.js → config-e1n9zcw9.js} +14 -14
  134. package/dist/chunks/{model-resolver-gyk6nsb6.js → config-e411ahfn.js} +8 -8
  135. package/dist/chunks/{model-resolver-91dnb5t9.js → config-e7pp2s8c.js} +11 -11
  136. package/dist/chunks/{model-resolver-3kpnj44v.js → config-e8gmhsy9.js} +68 -68
  137. package/dist/chunks/{model-resolver-crfkxg47.js → config-eb2d9dj2.js} +2 -2
  138. package/dist/chunks/{model-resolver-kpcbcdy7.js → config-edj4339e.js} +4 -4
  139. package/dist/chunks/{model-resolver-eej6y6fw.js → config-eej6y6fw.js} +2 -2
  140. package/dist/chunks/{model-resolver-ef5x83kb.js → config-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{model-resolver-bnzbpt6f.js → config-esa7kqcn.js} +18 -18
  142. package/dist/chunks/{model-resolver-m9gxmxmt.js → config-eyh2h61y.js} +16 -16
  143. package/dist/chunks/{model-resolver-mcv1jzh9.js → config-f04b7fkv.js} +20 -20
  144. package/dist/chunks/{model-resolver-kcq0jhd1.js → config-f04qpyrt.js} +23 -23
  145. package/dist/chunks/{model-resolver-ajasdxgg.js → config-f4kwc7sz.js} +3 -3
  146. package/dist/chunks/{model-resolver-03f7gaj9.js → config-f6ssxvba.js} +32 -32
  147. package/dist/chunks/{model-resolver-tjkhcpzj.js → config-f8e526k5.js} +6 -6
  148. package/dist/chunks/{model-resolver-qgn6gcr1.js → config-fcrkznn8.js} +5 -5
  149. package/dist/chunks/{model-resolver-fcy631f0.js → config-fcy631f0.js} +1 -1
  150. package/dist/chunks/{model-resolver-g1thfskw.js → config-ffxepqpn.js} +30 -30
  151. package/dist/chunks/{model-resolver-hffg64zm.js → config-fvwy1vyc.js} +4 -4
  152. package/dist/chunks/{model-resolver-k7myrtme.js → config-fw181sc9.js} +9 -9
  153. package/dist/chunks/{model-resolver-ny8edt06.js → config-fxaymqdw.js} +4 -4
  154. package/dist/chunks/{model-resolver-bp6qvqjj.js → config-g2yfkae0.js} +42 -42
  155. package/dist/chunks/{model-resolver-b6rs5hhk.js → config-g31rm23e.js} +18 -18
  156. package/dist/chunks/{model-resolver-q11cbr1m.js → config-g3fevjja.js} +22 -22
  157. package/dist/chunks/{model-resolver-e2yycdng.js → config-g5yn26t0.js} +11 -11
  158. package/dist/chunks/{model-resolver-1tknn31b.js → config-g80172w6.js} +19 -19
  159. package/dist/chunks/{model-resolver-gd4qta3r.js → config-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{model-resolver-73wr0wn5.js → config-gn31e51v.js} +11 -11
  161. package/dist/chunks/{model-resolver-e6jb2a33.js → config-gnnqajqc.js} +6 -6
  162. package/dist/chunks/{model-resolver-gc8nt84s.js → config-gxeds83z.js} +33 -33
  163. package/dist/chunks/{model-resolver-h6vf3j39.js → config-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{model-resolver-ya7hh75j.js → config-ha0sjevb.js} +3 -3
  165. package/dist/chunks/{model-resolver-d2c2r0dp.js → config-hbkz9y4g.js} +15 -15
  166. package/dist/chunks/{model-resolver-hgz4x7wa.js → config-hgz4x7wa.js} +1 -1
  167. package/dist/chunks/{model-resolver-6gejepc3.js → config-hqam50bx.js} +19 -19
  168. package/dist/chunks/{model-resolver-mq8c8wma.js → config-j3bw3kw0.js} +23 -23
  169. package/dist/chunks/{model-resolver-3nx0ym5x.js → config-jcbq9qyv.js} +19 -19
  170. package/dist/chunks/{model-resolver-984c2jwc.js → config-jge05sef.js} +6 -6
  171. package/dist/chunks/{model-resolver-m3bqnvcv.js → config-jgmf5dt5.js} +8 -8
  172. package/dist/chunks/{model-resolver-4vdcag56.js → config-jkcvv5zp.js} +14 -14
  173. package/dist/chunks/{model-resolver-8mqj9xbr.js → config-jscyxzwk.js} +4 -4
  174. package/dist/chunks/{model-resolver-94wae3rr.js → config-jzd62m09.js} +12 -12
  175. package/dist/chunks/{model-resolver-yentwms3.js → config-k850gnf2.js} +5 -5
  176. package/dist/chunks/{model-resolver-13n3hwre.js → config-kcz5hpxv.js} +14 -14
  177. package/dist/chunks/config-kdcahg00.js +26 -0
  178. package/dist/chunks/{model-resolver-mmsbh3wq.js → config-kstnevy1.js} +5 -5
  179. package/dist/chunks/{model-resolver-kwb1v3vj.js → config-kwb1v3vj.js} +1 -1
  180. package/dist/chunks/{model-resolver-cck04ss7.js → config-kxkke69v.js} +9 -9
  181. package/dist/chunks/{model-resolver-h9ta6350.js → config-kz72sk14.js} +27 -27
  182. package/dist/chunks/{model-resolver-evrqa78t.js → config-m5paqf2g.js} +32 -32
  183. package/dist/chunks/{model-resolver-2tj97pmg.js → config-m5s739gf.js} +40 -40
  184. package/dist/chunks/{model-resolver-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{model-resolver-maspj1v3.js → config-maspj1v3.js} +1 -1
  186. package/dist/chunks/{model-resolver-zpz5hs3v.js → config-mpk95cj2.js} +11 -11
  187. package/dist/chunks/{model-resolver-hktqavzm.js → config-mrxs1jjw.js} +23 -23
  188. package/dist/chunks/{model-resolver-d9wzmzc3.js → config-mtrbqqrq.js} +5 -5
  189. package/dist/chunks/{model-resolver-xcypc51k.js → config-mwfpcask.js} +45 -45
  190. package/dist/chunks/{model-resolver-953qjn97.js → config-n0f1vr5p.js} +10 -10
  191. package/dist/chunks/{model-resolver-z1cx7jj0.js → config-n6jsk7we.js} +48 -48
  192. package/dist/chunks/{model-resolver-v9t9bmqx.js → config-nekmryzb.js} +31 -31
  193. package/dist/chunks/{model-resolver-nma959mg.js → config-nma959mg.js} +1 -1
  194. package/dist/chunks/{model-resolver-e0fw30bj.js → config-nn3p50dy.js} +19 -19
  195. package/dist/chunks/{model-resolver-nhpkjp8j.js → config-nvcb2me1.js} +11 -11
  196. package/dist/chunks/{model-resolver-7j2zvw39.js → config-nzxs01ks.js} +14 -14
  197. package/dist/chunks/{model-resolver-2r67f062.js → config-p4g5r354.js} +34 -34
  198. package/dist/chunks/{model-resolver-6fabj146.js → config-p6tf2z3c.js} +11 -11
  199. package/dist/chunks/{model-resolver-46p5gayd.js → config-p88vvsz3.js} +4 -4
  200. package/dist/chunks/{model-resolver-s30r45k4.js → config-pfgcdf6c.js} +5 -5
  201. package/dist/chunks/{model-resolver-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{model-resolver-pknna89w.js → config-pknna89w.js} +1 -1
  203. package/dist/chunks/{model-resolver-smak4gza.js → config-qap5887j.js} +15 -15
  204. package/dist/chunks/{model-resolver-mcexwfpj.js → config-qc37ryp5.js} +14 -14
  205. package/dist/chunks/{model-resolver-py4ye5jk.js → config-qdm6e7vz.js} +50 -50
  206. package/dist/chunks/{model-resolver-c1f0ef0e.js → config-qefw6cfz.js} +14 -14
  207. package/dist/chunks/{model-resolver-qnc92qwc.js → config-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{model-resolver-47jkzegy.js → config-qne3fa44.js} +5 -5
  209. package/dist/chunks/{model-resolver-km4rycv7.js → config-qp9tjspb.js} +25 -25
  210. package/dist/chunks/{model-resolver-3yqxwn64.js → config-qpvqe435.js} +49 -49
  211. package/dist/chunks/{model-resolver-qsdy395h.js → config-qsdy395h.js} +1 -1
  212. package/dist/chunks/{model-resolver-j75xb4yb.js → config-qvapsqgq.js} +1 -1
  213. package/dist/chunks/{model-resolver-8asjp7hq.js → config-r19d657x.js} +32 -32
  214. package/dist/chunks/{model-resolver-ft3hqk2c.js → config-r2m716tb.js} +9 -9
  215. package/dist/chunks/{model-resolver-h5kde8xe.js → config-r2mahbrd.js} +23 -23
  216. package/dist/chunks/{model-resolver-71jhssm2.js → config-r5d9wbyh.js} +7 -7
  217. package/dist/chunks/{model-resolver-rdw6cm16.js → config-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{model-resolver-rert0e01.js → config-rert0e01.js} +2 -2
  219. package/dist/chunks/{model-resolver-rj3eygr5.js → config-rj3eygr5.js} +2 -2
  220. package/dist/chunks/{model-resolver-bw7h8fsx.js → config-rmg23tmx.js} +14 -14
  221. package/dist/chunks/{model-resolver-0d74j82x.js → config-s0dvnttc.js} +4 -4
  222. package/dist/chunks/{model-resolver-sa8ekw3f.js → config-sa8ekw3f.js} +2 -2
  223. package/dist/chunks/{model-resolver-d6acxb5p.js → config-skhmt099.js} +9 -9
  224. package/dist/chunks/{model-resolver-cqq90766.js → config-snbmbkyq.js} +12 -12
  225. package/dist/chunks/{model-resolver-syv4x271.js → config-syv4x271.js} +1 -1
  226. package/dist/chunks/{model-resolver-kw1e5yb6.js → config-t364h0ga.js} +25 -25
  227. package/dist/chunks/{model-resolver-g1xbyxhn.js → config-t8x95368.js} +11 -11
  228. package/dist/chunks/{model-resolver-tazgh4e4.js → config-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{model-resolver-tcezcvh9.js → config-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{model-resolver-tdstcens.js → config-tdstcens.js} +1 -1
  231. package/dist/chunks/{model-resolver-q4w1a1ev.js → config-tgnctp9w.js} +13 -13
  232. package/dist/chunks/{model-resolver-wpn34573.js → config-tj1mb8k7.js} +19 -19
  233. package/dist/chunks/{model-resolver-tm0kqsz3.js → config-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{model-resolver-tt8gc4fv.js → config-tt8gc4fv.js} +3 -3
  235. package/dist/chunks/{model-resolver-tyytaxap.js → config-tyytaxap.js} +1 -1
  236. package/dist/chunks/{model-resolver-nz56sr1f.js → config-v13b12ef.js} +5 -5
  237. package/dist/chunks/{model-resolver-v7p4zvkq.js → config-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{model-resolver-8y8pe54n.js → config-v9km43zh.js} +40 -40
  239. package/dist/chunks/{model-resolver-e7gxy7fd.js → config-vep9yay1.js} +4 -4
  240. package/dist/chunks/{model-resolver-veqvce7d.js → config-veqvce7d.js} +1 -1
  241. package/dist/chunks/{model-resolver-nzr8rkf6.js → config-vn2b5ja7.js} +11 -11
  242. package/dist/chunks/{model-resolver-wmsgs64j.js → config-vpdhx3rn.js} +8 -8
  243. package/dist/chunks/{model-resolver-0z62s2d8.js → config-vs4d0xe8.js} +17 -17
  244. package/dist/chunks/{model-resolver-pbptwtxn.js → config-vt49cx54.js} +16 -16
  245. package/dist/chunks/{model-resolver-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{model-resolver-f1b05866.js → config-w3h4062d.js} +2 -2
  247. package/dist/chunks/{model-resolver-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{model-resolver-y5cvjd5e.js → config-w9enybe6.js} +7 -7
  249. package/dist/chunks/{model-resolver-m2b6v9cc.js → config-w9qd1epz.js} +10 -10
  250. package/dist/chunks/{model-resolver-wd87259q.js → config-wd87259q.js} +1 -1
  251. package/dist/chunks/{model-resolver-qprs721h.js → config-wezx3yaj.js} +15 -15
  252. package/dist/chunks/{model-resolver-y4pqvk03.js → config-wty6bgg7.js} +5 -5
  253. package/dist/chunks/{model-resolver-nvq1gv7c.js → config-wymva24z.js} +11 -11
  254. package/dist/chunks/{model-resolver-d3v28z1t.js → config-x6pefea0.js} +5 -5
  255. package/dist/chunks/{model-resolver-t1ns4htq.js → config-x7c6yhp3.js} +13 -13
  256. package/dist/chunks/{model-resolver-rf6pxv7z.js → config-x9z4gqn5.js} +9 -9
  257. package/dist/chunks/{model-resolver-af3s9495.js → config-xd76gghg.js} +79 -79
  258. package/dist/chunks/{model-resolver-g56rc5zd.js → config-xkyhk0aw.js} +14 -14
  259. package/dist/chunks/{model-resolver-rscvxc63.js → config-xkzfnk1e.js} +18 -18
  260. package/dist/chunks/{model-resolver-25er9rbr.js → config-xsyaf836.js} +11 -11
  261. package/dist/chunks/{model-resolver-wmbhbf7k.js → config-y06s3qmd.js} +25 -25
  262. package/dist/chunks/{model-resolver-wv50gdba.js → config-y0ce904t.js} +26 -26
  263. package/dist/chunks/{model-resolver-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{model-resolver-6b89zbgc.js → config-y45vxbtn.js} +12 -12
  265. package/dist/chunks/{model-resolver-z733aene.js → config-y72zmemf.js} +8 -8
  266. package/dist/chunks/{model-resolver-hz2tqvgg.js → config-ybacsgwy.js} +33 -33
  267. package/dist/chunks/{model-resolver-7x4gmhf6.js → config-ykgnd92y.js} +12 -12
  268. package/dist/chunks/{model-resolver-967benbv.js → config-ynmknp8q.js} +8 -8
  269. package/dist/chunks/{model-resolver-mbq1c8qd.js → config-ys7bpb1s.js} +19 -19
  270. package/dist/chunks/{model-resolver-84ha93mn.js → config-yswgg9qv.js} +25 -25
  271. package/dist/chunks/{model-resolver-2jhpg0z0.js → config-yt2d26s8.js} +13 -13
  272. package/dist/chunks/{model-resolver-tx0gtb9m.js → config-ywwy23a8.js} +7 -7
  273. package/dist/chunks/{model-resolver-z2rrnsn5.js → config-yz37vbp4.js} +2 -2
  274. package/dist/chunks/{model-resolver-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{model-resolver-z18fegx4.js → config-z18fegx4.js} +1 -1
  276. package/dist/chunks/{model-resolver-k9kzfgz6.js → config-z348g6gc.js} +23 -23
  277. package/dist/chunks/{model-resolver-65zyc1z3.js → config-z6z398pq.js} +6 -6
  278. package/dist/chunks/{model-resolver-x24jdsad.js → config-z88jw627.js} +6 -6
  279. package/dist/chunks/{model-resolver-g5fw83fw.js → config-z8swzr19.js} +8 -8
  280. package/dist/chunks/{model-resolver-zvt5dnpc.js → config-zcrspsvn.js} +4 -4
  281. package/dist/chunks/{model-resolver-qt2d63t9.js → config-zevtz36z.js} +7 -7
  282. package/dist/chunks/{model-resolver-hzw94499.js → config-zg7zaxa7.js} +27 -27
  283. package/dist/chunks/{model-resolver-pqrhrnaw.js → config-zj1j3pwt.js} +11 -11
  284. package/dist/chunks/{model-resolver-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{model-resolver-t5205bkj.js → config-zs3nsmqd.js} +9 -9
  286. package/dist/chunks/{model-resolver-zxq2ej10.js → config-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +11 -11
  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 +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  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 +118 -118
  304. package/dist/config/plugin/mcp.js +123 -123
  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 +138 -138
  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 +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  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 +97 -97
  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 +76 -76
  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 +221 -221
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +76 -76
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +8 -8
  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 +93 -93
  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 +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  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 +158 -158
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +87 -87
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +123 -123
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +111 -111
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +88 -88
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +157 -157
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +212 -212
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +214 -214
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +107 -107
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +108 -108
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +86 -86
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +98 -98
  690. package/package.json +8 -8
  691. package/dist/chunks/model-resolver-1ajxh176.js +0 -26
  692. package/dist/chunks/model-resolver-43a422m2.js +0 -257
  693. package/dist/chunks/model-resolver-6tdfsx48.js +0 -517
  694. package/dist/chunks/model-resolver-pf31ssb9.js +0 -18
  695. /package/dist/chunks/{model-resolver-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{model-resolver-0zkw76rk.js → config-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{model-resolver-17cy0kzp.js → config-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{model-resolver-1cnp2v09.js → config-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{model-resolver-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{model-resolver-24dcb14g.js → config-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{model-resolver-2710q6r3.js → config-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{model-resolver-2axfhc9x.js → config-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{model-resolver-2bv980vf.js → config-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{model-resolver-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{model-resolver-359p4xyc.js → config-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{model-resolver-3asan66x.js → config-3asan66x.js} +0 -0
  707. /package/dist/chunks/{model-resolver-3t0ybcrp.js → config-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{model-resolver-3v8g72cx.js → config-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{model-resolver-3wcehsnq.js → config-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{model-resolver-43n2bw4t.js → config-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{model-resolver-4knz6hnm.js → config-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{model-resolver-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{model-resolver-4y7fprxs.js → config-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{model-resolver-53557ph1.js → config-53557ph1.js} +0 -0
  715. /package/dist/chunks/{model-resolver-550bvhaj.js → config-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{model-resolver-6prwharc.js → config-6prwharc.js} +0 -0
  717. /package/dist/chunks/{model-resolver-6q2bdcd1.js → config-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{model-resolver-7akdwqpd.js → config-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{model-resolver-7m9af43g.js → config-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{model-resolver-822emrt2.js → config-822emrt2.js} +0 -0
  721. /package/dist/chunks/{model-resolver-84wd9syh.js → config-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{model-resolver-88xbtdfr.js → config-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{model-resolver-8n3pysct.js → config-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{model-resolver-8wj87zfr.js → config-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{model-resolver-9a4afbnw.js → config-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{model-resolver-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{model-resolver-a6k6eb26.js → config-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{model-resolver-af5trqkr.js → config-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{model-resolver-afrmfg78.js → config-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{model-resolver-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{model-resolver-atq7p7m5.js → config-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{model-resolver-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{model-resolver-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{model-resolver-cf4snx6d.js → config-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{model-resolver-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{model-resolver-d9fn303g.js → config-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{model-resolver-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{model-resolver-dajrwvna.js → config-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{model-resolver-dap0rakb.js → config-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{model-resolver-df08tz66.js → config-df08tz66.js} +0 -0
  741. /package/dist/chunks/{model-resolver-dy18nga0.js → config-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{model-resolver-e3qxr5gk.js → config-e3qxr5gk.js} +0 -0
  743. /package/dist/chunks/{model-resolver-e5kj55wp.js → config-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{model-resolver-e73j6tqm.js → config-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{model-resolver-ec1grn59.js → config-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{model-resolver-eh3zwz77.js → config-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{model-resolver-emrn6kk6.js → config-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{model-resolver-f0mxakyp.js → config-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{model-resolver-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{model-resolver-faypxj3z.js → config-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{model-resolver-fd410y7t.js → config-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{model-resolver-g4wezp1m.js → config-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{model-resolver-g86h250q.js → config-g86h250q.js} +0 -0
  754. /package/dist/chunks/{model-resolver-gebd4c9n.js → config-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{model-resolver-gftt206x.js → config-gftt206x.js} +0 -0
  756. /package/dist/chunks/{model-resolver-hcxmzztb.js → config-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{model-resolver-hk9envan.js → config-hk9envan.js} +0 -0
  758. /package/dist/chunks/{model-resolver-j2ntwpah.js → config-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{model-resolver-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{model-resolver-jjkms2e6.js → config-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{model-resolver-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{model-resolver-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{model-resolver-jze0r7bz.js → config-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{model-resolver-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{model-resolver-m18g726c.js → config-m18g726c.js} +0 -0
  766. /package/dist/chunks/{model-resolver-mp448xyj.js → config-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{model-resolver-msx8hqn2.js → config-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{model-resolver-n05xt0ee.js → config-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{model-resolver-n3j8tn72.js → config-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{model-resolver-njntx4h6.js → config-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-pkyv6v7h.js → config-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{model-resolver-pyv0edze.js → config-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{model-resolver-q3sfg36h.js → config-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{model-resolver-q74kybfr.js → config-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qaymkmh1.js → config-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qb87gjwd.js → config-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qfa1cgps.js → config-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qg3g05ea.js → config-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qrg20bc0.js → config-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{model-resolver-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{model-resolver-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{model-resolver-ssg3fenm.js → config-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{model-resolver-ve7vex1e.js → config-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{model-resolver-w803qqfp.js → config-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{model-resolver-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{model-resolver-wer8tq1h.js → config-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{model-resolver-wjj7prxr.js → config-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wtztk69x.js → config-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{model-resolver-x0ckcb58.js → config-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{model-resolver-x61499pn.js → config-x61499pn.js} +0 -0
  791. /package/dist/chunks/{model-resolver-y44na4kk.js → config-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{model-resolver-y8f7s663.js → config-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{model-resolver-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{model-resolver-ym463w8f.js → config-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{model-resolver-z5v4ffb3.js → config-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{model-resolver-z9919s4g.js → config-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service85
3
- } from "./model-resolver-4vdcag56.js";
4
- import {
5
- ID18,
6
- Event21,
7
2
  Service84
8
- } from "./model-resolver-v9t9bmqx.js";
3
+ } from "./config-jkcvv5zp.js";
4
+ import {
5
+ ID16,
6
+ Event20,
7
+ Service82
8
+ } from "./config-nekmryzb.js";
9
9
  import {
10
- ID13
11
- } from "./model-resolver-6hen7d63.js";
10
+ ID12
11
+ } from "./config-9ndxqh6g.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./model-resolver-q63t359z.js";
14
+ } from "./config-c72jc7ts.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service84;
45
- const bus = yield* Service85;
44
+ const credentials = yield* Service82;
45
+ const bus = yield* Service84;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
48
48
  }));
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID12.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID12.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID12.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID13.googleVertex,
81
+ integrationID: ID12.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID13.googleVertex,
85
+ integrationID: ID12.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event21.Updated, Event21.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-resolver-gftt206x.js";
3
+ } from "./config-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./model-resolver-8n9x2wf6.js";
6
+ } from "./config-5epte933.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./model-resolver-tjkhcpzj.js";
9
+ } from "./config-f8e526k5.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./model-resolver-t550f9t1.js";
13
+ } from "./config-0gdmqesm.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./model-resolver-c1fqxshp.js";
16
+ } from "./config-c1fqxshp.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./model-resolver-cefkz2r6.js";
20
+ } from "./config-b89refpb.js";
21
21
  import {
22
22
  messageToText2
23
- } from "./model-resolver-8mywswrd.js";
23
+ } from "./config-8mywswrd.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./config-9rqn6x4v.js";
27
27
 
28
28
  // src/session/history.ts
29
29
  var exports_history = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-resolver-qswqrcwe.js";
4
+ } from "./config-av20eqx4.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-resolver-y71avatq.js";
7
+ } from "./config-dpkg50ah.js";
8
8
  import {
9
- Service85,
10
- node89
11
- } from "./model-resolver-4vdcag56.js";
9
+ Service84,
10
+ node87
11
+ } from "./config-jkcvv5zp.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./model-resolver-ec1grn59.js";
14
+ } from "./config-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./model-resolver-gftt206x.js";
17
+ } from "./config-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./model-resolver-8n9x2wf6.js";
20
+ } from "./config-5epte933.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./model-resolver-c1fqxshp.js";
24
+ } from "./config-c1fqxshp.js";
25
25
  import {
26
26
  decodeMessageRowSync2
27
- } from "./model-resolver-xztctcj7.js";
27
+ } from "./config-8rgyadme.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./config-9rqn6x4v.js";
31
31
 
32
32
  // src/session/inbox.ts
33
33
  var exports_inbox = {};
@@ -35,12 +35,12 @@ __export(exports_inbox, {
35
35
  Compaction: () => Compaction2,
36
36
  CompactionPayload: () => CompactionPayload2,
37
37
  Delivery: () => Delivery2,
38
- Info: () => Info9,
38
+ Info: () => Info6,
39
39
  Item: () => Item2,
40
40
  LifecycleConflict: () => LifecycleConflict2,
41
41
  Move: () => Move2,
42
42
  MovePayload: () => MovePayload2,
43
- Service: () => Service45,
43
+ Service: () => Service42,
44
44
  SessionInbox: () => exports_inbox,
45
45
  Synthetic: () => Synthetic2,
46
46
  SyntheticPayload: () => SyntheticPayload2,
@@ -48,12 +48,12 @@ __export(exports_inbox, {
48
48
  UserPayload: () => UserPayload2,
49
49
  find: () => find2,
50
50
  has: () => has2,
51
- layer: () => layer21,
51
+ layer: () => layer20,
52
52
  list: () => list3,
53
- make: () => make15,
53
+ make: () => make16,
54
54
  moveIDs: () => moveIDs2,
55
55
  nextPromotable: () => nextPromotable2,
56
- node: () => node47,
56
+ node: () => node44,
57
57
  projectAdmitted: () => projectAdmitted2,
58
58
  projectCancelled: () => projectCancelled2,
59
59
  projectDelivered: () => projectDelivered2,
@@ -68,7 +68,7 @@ import {
68
68
  Compaction as Compaction2,
69
69
  CompactionPayload as CompactionPayload2,
70
70
  Delivery as Delivery2,
71
- Info as Info9,
71
+ Info as Info6,
72
72
  Item as Item2,
73
73
  Move as Move2,
74
74
  MovePayload as MovePayload2,
@@ -153,12 +153,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
153
153
  return yield* new LifecycleConflict2({ id });
154
154
  });
155
155
 
156
- class Service45 extends Context.Service()("@opencode/SessionInbox") {
156
+ class Service42 extends Context.Service()("@opencode/SessionInbox") {
157
157
  }
158
- var make15 = Effect.fn("SessionInbox.make")(function* () {
158
+ var make16 = Effect.fn("SessionInbox.make")(function* () {
159
159
  const database = yield* Service86;
160
160
  const db = database.db;
161
- const bus = yield* Service85;
161
+ const bus = yield* Service84;
162
162
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
163
163
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
164
164
  if (existing === undefined)
@@ -175,7 +175,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
175
175
  inboxID: request.id,
176
176
  sessionID: request.sessionID,
177
177
  item: request.item
178
- }).pipe(Effect.map((event) => Info9.make({
178
+ }).pipe(Effect.map((event) => Info6.make({
179
179
  id: request.id,
180
180
  sessionID: request.sessionID,
181
181
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -229,8 +229,8 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
229
229
  queue
230
230
  };
231
231
  });
232
- var layer21 = Layer.effect(Service45, make15());
233
- var node47 = makeGlobalNode({ service: Service45, layer: layer21, deps: [node90, node89] });
232
+ var layer20 = Layer.effect(Service42, make16());
233
+ var node44 = makeGlobalNode({ service: Service42, layer: layer20, deps: [node90, node87] });
234
234
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
235
235
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
236
236
  if (message !== undefined)
@@ -328,4 +328,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
328
328
  return rows;
329
329
  }));
330
330
 
331
- export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service45, make15, layer21, node47, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
331
+ export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make16, layer20, node44, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service67
3
- } from "./model-resolver-z1cx7jj0.js";
2
+ Service69
3
+ } from "./config-n6jsk7we.js";
4
4
  import {
5
- Service7
6
- } from "./model-resolver-hkz952tc.js";
5
+ Service14
6
+ } from "./config-3m8ztwev.js";
7
7
  import {
8
8
  observe2
9
- } from "./model-resolver-qsdy395h.js";
9
+ } from "./config-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./config-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin22
18
+ Plugin: () => Plugin45
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin22 = define({
22
+ var Plugin45 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service67;
26
- const compaction = yield* Service7;
25
+ const config = yield* Service69;
26
+ const compaction = yield* Service14;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin22 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin22, exports_compaction };
42
+ export { Plugin45, exports_compaction };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID8
3
- } from "./model-resolver-hr20tfp9.js";
2
+ ID9
3
+ } from "./config-4sgmmrrd.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-resolver-z5v4ffb3.js";
6
+ } from "./config-z5v4ffb3.js";
7
7
  import {
8
- Info17
9
- } from "./model-resolver-967benbv.js";
8
+ Info15
9
+ } from "./config-ynmknp8q.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./model-resolver-8mqj9xbr.js";
12
+ } from "./config-jscyxzwk.js";
13
13
  import {
14
14
  latest2,
15
- Service67
16
- } from "./model-resolver-z1cx7jj0.js";
15
+ Service69
16
+ } from "./config-n6jsk7we.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./model-resolver-8m6m0r52.js";
19
+ } from "./config-8m6m0r52.js";
20
20
  import {
21
21
  __export
22
- } from "./model-resolver-9rqn6x4v.js";
22
+ } from "./config-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
26
26
  __export(exports_agent2, {
27
27
  ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin23
28
+ Plugin: () => Plugin35
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin23 = define({
47
+ var Plugin35 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service67;
50
+ const config = yield* Service69;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin23 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID8.make(configuredDefault));
79
+ editor.default(ID9.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID8.make(id);
85
+ const agentID = ID9.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin23, exports_agent2 };
164
+ export { Plugin35, exports_agent2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service2,
9
+ Service: () => Service3,
10
10
  bound: () => bound2,
11
- node: () => node3
11
+ node: () => node4
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service2 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service3 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node3 = makeLocationNode({
19
- service: Service2,
18
+ var node4 = makeLocationNode({
19
+ service: Service3,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
29
+ return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service2, node3, bound2, exports_instance2 };
32
+ export { Service3, node4, bound2, exports_instance2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./model-resolver-4vdcag56.js";
2
+ Service84,
3
+ node87
4
+ } from "./config-jkcvv5zp.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-resolver-rdw6cm16.js";
8
+ } from "./config-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./model-resolver-3y377wv9.js";
11
+ } from "./config-dgpsrprm.js";
12
12
  import {
13
- ID16,
14
- Service82,
15
- node86,
13
+ ID15,
14
+ Service81,
15
+ node84,
16
16
  Event19
17
- } from "./model-resolver-h9ta6350.js";
17
+ } from "./config-kz72sk14.js";
18
18
  import {
19
19
  Service78,
20
- node82
21
- } from "./model-resolver-rba33dr3.js";
20
+ node81
21
+ } from "./config-9r4817sq.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./config-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -39,13 +39,13 @@ __export(exports_provider3, {
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
41
41
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
42
- Event: () => Event17,
43
- ID: () => ID13,
44
- Info: () => Info22,
42
+ Event: () => Event16,
43
+ ID: () => ID12,
44
+ Info: () => Info20,
45
45
  LoadError: () => LoadError3,
46
46
  Provider: () => exports_provider3,
47
47
  Request: () => Request3,
48
- Service: () => Service77,
48
+ Service: () => Service74,
49
49
  Settings: () => Settings2,
50
50
  Transport: () => Transport2,
51
51
  aisdk: () => aisdk2,
@@ -57,7 +57,7 @@ __export(exports_provider3, {
57
57
  mergeOverlay: () => mergeOverlay2,
58
58
  modelSettings: () => modelSettings2,
59
59
  nativeSettings: () => nativeSettings2,
60
- node: () => node81,
60
+ node: () => node77,
61
61
  packageName: () => packageName2,
62
62
  timeout: () => timeout2,
63
63
  timeouts: () => timeouts2
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
71
71
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
72
72
  import { Credential } from "@opencode/schema/credential";
73
73
  import { freeze } from "immer";
74
- import { Event as Event17 } from "@opencode/schema/provider";
75
- var ID13 = Provider.ID;
74
+ import { Event as Event16 } from "@opencode/schema/provider";
75
+ var ID12 = Provider.ID;
76
76
  var AISDK_PREFIX2 = "aisdk:";
77
77
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
78
78
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
283
283
  var Compaction3 = Provider.Compaction;
284
284
  var Transport2 = Provider.Transport;
285
285
  var Settings2 = Provider.Settings;
286
- var Info22 = Provider.Info;
286
+ var Info20 = Provider.Info;
287
287
 
288
- class Service77 extends Context.Service()("@opencode/Provider") {
288
+ class Service74 extends Context.Service()("@opencode/Provider") {
289
289
  }
290
290
  var definitions = new WeakMap;
291
291
  function index(providerID, models) {
@@ -298,9 +298,9 @@ function index(providerID, models) {
298
298
  definitions.set(models, indexes);
299
299
  return result;
300
300
  }
301
- var layer = Layer.effect(Service77, Effect.gen(function* () {
302
- const bus = yield* Service85;
303
- const integrations = yield* Service82;
301
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
302
+ const bus = yield* Service84;
303
+ const integrations = yield* Service81;
304
304
  const location = yield* Service78;
305
305
  const state = create3({
306
306
  name: "provider",
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
312
312
  const current = records.get(id);
313
313
  if (current)
314
314
  return current;
315
- const added = { provider: Info22.empty(id), models: new Map };
315
+ const added = { provider: Info20.empty(id), models: new Map };
316
316
  records.set(id, added);
317
317
  maps.add(added.models);
318
318
  return added;
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
393
393
  const available = Array.from(records.values()).filter((record) => {
394
394
  if (record.provider.activation === "disabled")
395
395
  return false;
396
- const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
396
+ const integration = byID.get(record.provider.integrationID ?? ID15.make(record.provider.id));
397
397
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
398
398
  return false;
399
399
  if (record.provider.activation === "enabled")
@@ -420,7 +420,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
420
420
  });
421
421
  });
422
422
  yield* bus.subscribe([Event19.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
423
- return Service77.of({
423
+ return Service74.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
429
429
  snapshot
430
430
  });
431
431
  }));
432
- var node81 = makeLocationNode({ service: Service77, layer, deps: [node89, node86, node82] });
432
+ var node77 = makeLocationNode({ service: Service74, layer, deps: [node87, node84, node81] });
433
433
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
434
434
  const module = yield* Effect.tryPromise({
435
435
  try: () => {
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
699
699
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
700
700
  var decode = Schema2.decodeUnknownSync(Legacy);
701
701
 
702
- 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, Service77, node81, exports_provider3, Event17 };
702
+ 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, Info20, Service74, node77, exports_provider3, Event16 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID13,
2
+ ID12,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./model-resolver-6hen7d63.js";
7
+ } from "./config-9ndxqh6g.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./config-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service63,
17
+ Service: () => Service50,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node65
19
+ node: () => node52
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID13,
154
+ providerID: ID12,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service63 extends Context.Service()("@opencode/AISDK") {
162
+ class Service50 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service63, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service50, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service63, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service63.of({
202
+ const service = Service50.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node65 = makeLocationNode({ service: Service63, layer: locationLayer2, deps: [] });
877
+ var node52 = makeLocationNode({ service: Service50, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service63, locationLayer2, node65, exports_aisdk };
879
+ export { InitError2, Service50, locationLayer2, node52, exports_aisdk };