@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,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-m2b6v9cc.js";
3
+ } from "./config-w9qd1epz.js";
4
4
  import {
5
- Service85
6
- } from "./model-resolver-4vdcag56.js";
7
- import {
8
- ID18,
9
- Event21,
10
5
  Service84
11
- } from "./model-resolver-v9t9bmqx.js";
6
+ } from "./config-jkcvv5zp.js";
7
+ import {
8
+ ID16,
9
+ Event20,
10
+ Service82
11
+ } from "./config-nekmryzb.js";
12
12
  import {
13
13
  key2
14
- } from "./model-resolver-3y377wv9.js";
14
+ } from "./config-dgpsrprm.js";
15
15
  import {
16
- ID16,
16
+ ID15,
17
17
  MethodID2
18
- } from "./model-resolver-h9ta6350.js";
18
+ } from "./config-kz72sk14.js";
19
19
  import {
20
20
  which2
21
- } from "./model-resolver-qaymkmh1.js";
21
+ } from "./config-qaymkmh1.js";
22
22
  import {
23
- ID13,
24
- Service77
25
- } from "./model-resolver-6hen7d63.js";
23
+ ID12,
24
+ Service74
25
+ } from "./config-9ndxqh6g.js";
26
26
  import {
27
- ID12
28
- } from "./model-resolver-03f7gaj9.js";
27
+ ID11
28
+ } from "./config-f6ssxvba.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./model-resolver-q63t359z.js";
31
+ } from "./config-c72jc7ts.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make6(endpoints = {
66
+ function make3(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID13.azure);
73
+ const configured = yield* configuredSettings2(ID12.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service85;
76
- const credentials = yield* Service84;
77
- const providers = yield* Service77;
75
+ const bus = yield* Service84;
76
+ const credentials = yield* Service82;
77
+ const providers = yield* Service74;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make6(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID13.azure,
103
+ integrationID: ID12.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID13.azure,
107
+ integrationID: ID12.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make6(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID13.azure,
125
+ integrationID: ID12.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make6(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID13.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make6(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID13.azure))?.settings;
185
+ const settings = (yield* providers.get(ID12.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make6(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make6(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make6(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID13.azure);
243
+ const item = evt.get(ID12.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make6(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make6(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID13.azure);
266
+ const catalog = models.list(ID12.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID13.azure, model.id);
270
+ models.remove(ID12.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID13.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make6(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID13.azure)
291
+ if (evt.model.providerID !== ID12.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make6(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID13.azure });
300
+ }), { providerID: ID12.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID13.azure)
302
+ if (evt.model.providerID !== ID12.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make6(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID13.azure });
311
+ }), { providerID: ID12.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make6();
315
+ var AzurePlugin2 = make3();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID12.make(deployment.name.toLowerCase());
345
+ const id = ID11.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID12.make(deployment.name),
349
+ modelID: ID11.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make6, AzurePlugin2 };
371
+ export { make3, AzurePlugin2 };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./model-resolver-tazgh4e4.js";
10
+ } from "./config-tazgh4e4.js";
11
11
  import {
12
12
  Service78
13
- } from "./model-resolver-rba33dr3.js";
13
+ } from "./config-9r4817sq.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./model-resolver-ttrv0ee4.js";
16
+ } from "./config-3nkcb2f7.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./config-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin5,
24
+ Plugin: () => Plugin22,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin5 = define({
33
+ var Plugin22 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service78;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin5, exports_hg };
201
+ export { Plugin22, exports_hg };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-m2b6v9cc.js";
3
+ } from "./config-w9qd1epz.js";
4
4
  import {
5
- Service85
6
- } from "./model-resolver-4vdcag56.js";
5
+ Service84
6
+ } from "./config-jkcvv5zp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./model-resolver-v9t9bmqx.js";
9
+ Event20
10
+ } from "./config-nekmryzb.js";
11
11
  import {
12
- ID16,
12
+ ID15,
13
13
  MethodID2
14
- } from "./model-resolver-h9ta6350.js";
14
+ } from "./config-kz72sk14.js";
15
15
  import {
16
- ID13
17
- } from "./model-resolver-6hen7d63.js";
16
+ ID12
17
+ } from "./config-9ndxqh6g.js";
18
18
  import {
19
- ID12,
19
+ ID11,
20
20
  Family2
21
- } from "./model-resolver-03f7gaj9.js";
21
+ } from "./config-f6ssxvba.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./model-resolver-pjvnvgmy.js";
24
+ } from "./config-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID13.make("digitalocean");
31
- var integrationID = ID16.make("digitalocean");
30
+ var providerID = ID12.make("digitalocean");
31
+ var integrationID = ID15.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service85;
119
+ const bus = yield* Service84;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID12.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID11.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,25 +1,25 @@
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
- Service81,
7
- node85
8
- } from "./model-resolver-953qjn97.js";
6
+ Service73,
7
+ node76
8
+ } from "./config-n0f1vr5p.js";
9
9
  import {
10
10
  create3
11
- } from "./model-resolver-rdw6cm16.js";
11
+ } from "./config-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./config-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event14,
21
- ID: () => ID10,
22
- Input: () => Input15,
20
+ Event: () => Event5,
21
+ ID: () => ID4,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service73,
31
+ Service: () => Service22,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node75
33
+ node: () => node25
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event14 } from "@opencode/schema/websearch";
41
- var ID10 = WebSearch.ID;
40
+ import { Event as Event5 } from "@opencode/schema/websearch";
41
+ var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input15 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID10, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID10
53
+ providerID: ID4
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID10,
61
+ providerID: ID4,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service73 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service22 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service73, Effect.gen(function* () {
69
- const bus = yield* Service85;
70
- const kv = yield* Service81;
68
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
69
+ const bus = yield* Service84;
70
+ const kv = yield* Service73;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service73.of({
127
+ return Service22.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node75 = makeLocationNode({
188
- service: Service73,
187
+ var node25 = makeLocationNode({
188
+ service: Service22,
189
189
  layer,
190
- deps: [node89, node85]
190
+ deps: [node87, node76]
191
191
  });
192
192
 
193
- export { ID10, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service73, node75, exports_websearch3, Event14 };
193
+ export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service22, node25, exports_websearch3, Event5 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./model-resolver-y1fvbwt7.js";
3
+ } from "./config-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service17,
12
+ Service: () => Service56,
13
13
  decision: () => decision2,
14
- layer: () => layer10,
15
- node: () => node19,
14
+ layer: () => layer23,
15
+ node: () => node58,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service17 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service56 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer10 = Layer.effect(Service17, Effect.gen(function* () {
24
+ var layer23 = Layer.effect(Service56, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service17.of({
27
+ return Service56.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node19 = makeGlobalNode({ service: Service17, layer: layer10, deps: [] });
39
+ var node58 = makeGlobalNode({ service: Service56, layer: layer23, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service17, layer10, node19, statements2, decision2, exports_managed_policy };
53
+ export { Service56, layer23, node58, statements2, decision2, exports_managed_policy };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-m2b6v9cc.js";
3
+ } from "./config-w9qd1epz.js";
4
4
  import {
5
- Service85
6
- } from "./model-resolver-4vdcag56.js";
5
+ Service84
6
+ } from "./config-jkcvv5zp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./model-resolver-v9t9bmqx.js";
9
+ Event20
10
+ } from "./config-nekmryzb.js";
11
11
  import {
12
12
  key2
13
- } from "./model-resolver-3y377wv9.js";
13
+ } from "./config-dgpsrprm.js";
14
14
  import {
15
- ID16,
15
+ ID15,
16
16
  MethodID2
17
- } from "./model-resolver-h9ta6350.js";
17
+ } from "./config-kz72sk14.js";
18
18
  import {
19
- ID13,
19
+ ID12,
20
20
  aisdk2,
21
- Service77
22
- } from "./model-resolver-6hen7d63.js";
21
+ Service74
22
+ } from "./config-9ndxqh6g.js";
23
23
  import {
24
- ID12,
25
- Info21
26
- } from "./model-resolver-03f7gaj9.js";
24
+ ID11,
25
+ Info19
26
+ } from "./config-f6ssxvba.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./model-resolver-pjvnvgmy.js";
30
+ } from "./config-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
35
35
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
- var providerID = ID13.gitlab;
39
- var integrationID = ID16.make("gitlab");
38
+ var providerID = ID12.gitlab;
39
+ var integrationID = ID15.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service77;
61
- const bus = yield* Service85;
60
+ const providers = yield* Service74;
61
+ const bus = yield* Service84;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
64
64
  const loaded = {};
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info21.default(providerID, ID12.make(model.id)),
188
+ ...Info19.default(providerID, ID11.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
219
219
  });
220
220
  }));
221
221
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
222
- if (evt.model.providerID !== ID13.gitlab)
222
+ if (evt.model.providerID !== ID12.gitlab)
223
223
  return;
224
224
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
225
225
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./model-resolver-qnc92qwc.js";
4
+ } from "./config-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./model-resolver-qfa1cgps.js";
7
+ } from "./config-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./model-resolver-rj3eygr5.js";
10
+ } from "./config-rj3eygr5.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";