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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{provider-ceggp57d.js → model-resolver-0364ndsb.js} +50 -50
  8. package/dist/chunks/{provider-r21srstc.js → model-resolver-08d6azjt.js} +9 -9
  9. package/dist/chunks/{provider-v0es1rhs.js → model-resolver-0bg0bx69.js} +5 -5
  10. package/dist/chunks/{provider-0j77ygfz.js → model-resolver-0j77ygfz.js} +2 -2
  11. package/dist/chunks/{provider-zfs8ae4p.js → model-resolver-0me0fk48.js} +4 -4
  12. package/dist/chunks/{provider-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{provider-z5p4rthk.js → model-resolver-0q2fecvk.js} +15 -15
  14. package/dist/chunks/{provider-yhj4pxny.js → model-resolver-0tpcnmcw.js} +6 -6
  15. package/dist/chunks/{provider-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{provider-p37xk6xs.js → model-resolver-0ybx6e4j.js} +19 -19
  17. package/dist/chunks/{provider-f3nm3bta.js → model-resolver-10c97xc6.js} +9 -9
  18. package/dist/chunks/{provider-qg966khd.js → model-resolver-110b8ek2.js} +26 -26
  19. package/dist/chunks/{provider-6bckvax5.js → model-resolver-11hct9f4.js} +36 -36
  20. package/dist/chunks/{provider-1rrcny1n.js → model-resolver-11nrpngx.js} +8 -8
  21. package/dist/chunks/{provider-2dqyrpx6.js → model-resolver-14p1364x.js} +32 -32
  22. package/dist/chunks/{provider-9s2v53af.js → model-resolver-16zkvp84.js} +37 -37
  23. package/dist/chunks/{provider-2j6a3knx.js → model-resolver-19y7fb49.js} +15 -15
  24. package/dist/chunks/{provider-rhraev7y.js → model-resolver-1acjjqhc.js} +4 -4
  25. package/dist/chunks/{provider-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{provider-rzcwaxq6.js → model-resolver-1p1pjvaa.js} +27 -27
  27. package/dist/chunks/{provider-gt0fdqz0.js → model-resolver-1y9c9szs.js} +20 -20
  28. package/dist/chunks/{provider-12n9xz34.js → model-resolver-211z80cq.js} +7 -7
  29. package/dist/chunks/{provider-9t0pcyht.js → model-resolver-24kyvzj3.js} +60 -60
  30. package/dist/chunks/{provider-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{provider-tk6t2mry.js → model-resolver-2becn8wt.js} +5 -5
  32. package/dist/chunks/{provider-2ccvkpx1.js → model-resolver-2ccvkpx1.js} +2 -2
  33. package/dist/chunks/{provider-3yrxafvf.js → model-resolver-2ex9v4dz.js} +27 -27
  34. package/dist/chunks/{provider-demb5sft.js → model-resolver-2f659e5x.js} +11 -11
  35. package/dist/chunks/{provider-a067pk1x.js → model-resolver-2mn1ra9m.js} +31 -31
  36. package/dist/chunks/{provider-sdzadkts.js → model-resolver-2txn9rvg.js} +1 -1
  37. package/dist/chunks/{provider-49sk4a95.js → model-resolver-2vecpzew.js} +15 -15
  38. package/dist/chunks/{provider-fxpnwj9a.js → model-resolver-2weqyc98.js} +23 -23
  39. package/dist/chunks/{provider-kb2ga0yc.js → model-resolver-31xw4se4.js} +1 -1
  40. package/dist/chunks/{provider-qa6d3x9c.js → model-resolver-33dajdt0.js} +99 -99
  41. package/dist/chunks/{provider-7ef7sjs1.js → model-resolver-38g0pyy9.js} +4 -4
  42. package/dist/chunks/{provider-h2b79v29.js → model-resolver-3cegwx68.js} +2 -2
  43. package/dist/chunks/{provider-f5bkmxnp.js → model-resolver-3dygqxay.js} +5 -5
  44. package/dist/chunks/{provider-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{provider-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{provider-5eseg7e3.js → model-resolver-3jbr2x8z.js} +12 -12
  47. package/dist/chunks/{provider-txreye6p.js → model-resolver-3qnt817w.js} +12 -12
  48. package/dist/chunks/{provider-3rd28rcz.js → model-resolver-3rd28rcz.js} +3 -3
  49. package/dist/chunks/{provider-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{provider-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{provider-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{provider-dsambs2d.js → model-resolver-40fy2d9q.js} +1 -1
  53. package/dist/chunks/{provider-q1v438vp.js → model-resolver-4dfbsgcw.js} +24 -24
  54. package/dist/chunks/{provider-jtg94zdj.js → model-resolver-4twwj3gr.js} +14 -14
  55. package/dist/chunks/{provider-v5veevtb.js → model-resolver-4warvet6.js} +25 -25
  56. package/dist/chunks/{provider-wfez0vbj.js → model-resolver-4x518902.js} +35 -35
  57. package/dist/chunks/{provider-ybjg4sk1.js → model-resolver-4yxeygct.js} +9 -9
  58. package/dist/chunks/{provider-4z58m4b4.js → model-resolver-4z58m4b4.js} +1 -1
  59. package/dist/chunks/{provider-wn63y901.js → model-resolver-5120j63r.js} +10 -10
  60. package/dist/chunks/{provider-01tz8p99.js → model-resolver-55vcwskv.js} +5 -5
  61. package/dist/chunks/{provider-mfqp6xfm.js → model-resolver-56gdpj1q.js} +6 -6
  62. package/dist/chunks/{provider-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  63. package/dist/chunks/{provider-mb4va0jh.js → model-resolver-5kp4xrh9.js} +9 -9
  64. package/dist/chunks/{provider-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{provider-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{provider-3z3hyhzp.js → model-resolver-5vs2d7gx.js} +18 -18
  67. package/dist/chunks/{provider-drnf6xwf.js → model-resolver-63db42yp.js} +2 -2
  68. package/dist/chunks/{provider-nbsm2mze.js → model-resolver-66hc15ng.js} +30 -30
  69. package/dist/chunks/{provider-4238gvvk.js → model-resolver-69fj14ep.js} +22 -22
  70. package/dist/chunks/{provider-4n5tf1vb.js → model-resolver-6c6jf3me.js} +24 -24
  71. package/dist/chunks/{provider-6m42r3np.js → model-resolver-6m42r3np.js} +1 -1
  72. package/dist/chunks/{provider-8nmh5xtz.js → model-resolver-6qcr098f.js} +3 -3
  73. package/dist/chunks/{provider-kpjwkn2w.js → model-resolver-6x448rs9.js} +26 -26
  74. package/dist/chunks/{provider-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  75. package/dist/chunks/{provider-d3vd9tt0.js → model-resolver-77jv0j1h.js} +3 -3
  76. package/dist/chunks/{provider-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{provider-t65vya29.js → model-resolver-7ecay89j.js} +18 -18
  78. package/dist/chunks/model-resolver-7mcy0e9k.js +26 -0
  79. package/dist/chunks/{provider-7rwqf82v.js → model-resolver-7s2tn799.js} +8 -8
  80. package/dist/chunks/{provider-2a67dxr4.js → model-resolver-7y628me3.js} +30 -30
  81. package/dist/chunks/{provider-gb4s5hjx.js → model-resolver-83009cjb.js} +25 -25
  82. package/dist/chunks/{provider-1dvck2a7.js → model-resolver-84h8c373.js} +2 -2
  83. package/dist/chunks/{provider-84txncab.js → model-resolver-84txncab.js} +1 -1
  84. package/dist/chunks/{provider-gkvcm870.js → model-resolver-8bgdgvzg.js} +21 -21
  85. package/dist/chunks/{provider-wr5f2xar.js → model-resolver-8cv9sccg.js} +28 -28
  86. package/dist/chunks/{provider-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{provider-q9mkd3r6.js → model-resolver-8htghz5d.js} +18 -18
  88. package/dist/chunks/{provider-dd32f2vy.js → model-resolver-8kddseeh.js} +10 -10
  89. package/dist/chunks/{provider-3k933qym.js → model-resolver-8nn1yj6z.js} +11 -11
  90. package/dist/chunks/{provider-qa7zgbbm.js → model-resolver-8nwvde6v.js} +8 -8
  91. package/dist/chunks/{provider-w92k2e0p.js → model-resolver-8sze2n9a.js} +4 -4
  92. package/dist/chunks/{provider-f4f2ccwp.js → model-resolver-8wf1bn9q.js} +13 -13
  93. package/dist/chunks/{provider-gebtr55s.js → model-resolver-8y31xnqm.js} +5 -5
  94. package/dist/chunks/{provider-1fw2a5v8.js → model-resolver-8z06avg2.js} +15 -15
  95. package/dist/chunks/{provider-dzse07y5.js → model-resolver-909p1r3q.js} +6 -6
  96. package/dist/chunks/{provider-1fh7s5gq.js → model-resolver-94mn3p3s.js} +11 -11
  97. package/dist/chunks/{provider-b25x8xnb.js → model-resolver-9g5xkymg.js} +2 -2
  98. package/dist/chunks/{provider-6r3mnpr3.js → model-resolver-9n8a201b.js} +70 -70
  99. package/dist/chunks/{provider-asbthx8a.js → model-resolver-a4jzv6pb.js} +21 -21
  100. package/dist/chunks/{provider-3b9qt4hj.js → model-resolver-a7bcxdzj.js} +9 -9
  101. package/dist/chunks/{provider-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  102. package/dist/chunks/{provider-kb6vbnxp.js → model-resolver-afjydgk3.js} +4 -4
  103. package/dist/chunks/{provider-x2c1et5k.js → model-resolver-amehwh5s.js} +9 -9
  104. package/dist/chunks/{provider-j94rgt9d.js → model-resolver-av7v7zb0.js} +29 -29
  105. package/dist/chunks/{provider-78124vwp.js → model-resolver-azd5zvnq.js} +17 -17
  106. package/dist/chunks/{provider-b3f8fkhc.js → model-resolver-b3f8fkhc.js} +2 -2
  107. package/dist/chunks/{provider-b5mvcvwz.js → model-resolver-b3pet2zg.js} +4 -4
  108. package/dist/chunks/{provider-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{provider-9a7xdtq3.js → model-resolver-bd819fhp.js} +5 -5
  110. package/dist/chunks/{provider-ne7e5g4r.js → model-resolver-bmd39q5q.js} +15 -15
  111. package/dist/chunks/{provider-vz0zt1g9.js → model-resolver-btak5zqv.js} +10 -10
  112. package/dist/chunks/{provider-3ynd8b1x.js → model-resolver-bth1fran.js} +8 -8
  113. package/dist/chunks/{provider-01qztzme.js → model-resolver-c9kv66wf.js} +23 -23
  114. package/dist/chunks/model-resolver-ctefx7dc.js +18 -0
  115. package/dist/chunks/{provider-vevatqc6.js → model-resolver-ctzssw83.js} +8 -8
  116. package/dist/chunks/{provider-cpneeje0.js → model-resolver-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{provider-tfmm9y66.js → model-resolver-cxsfdq8a.js} +30 -30
  118. package/dist/chunks/{provider-qc96wspf.js → model-resolver-d355hkrp.js} +30 -34
  119. package/dist/chunks/{provider-w0v9d1gg.js → model-resolver-d8tgnve2.js} +12 -12
  120. package/dist/chunks/{provider-v7hamc0y.js → model-resolver-dafg2r43.js} +38 -38
  121. package/dist/chunks/{provider-ry082wg0.js → model-resolver-dm21k72n.js} +6 -6
  122. package/dist/chunks/{provider-y3zkxqzw.js → model-resolver-dmghp31x.js} +15 -15
  123. package/dist/chunks/{provider-jqk80qgm.js → model-resolver-dmkm46ch.js} +13 -13
  124. package/dist/chunks/{provider-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
  125. package/dist/chunks/{provider-36m3y9wg.js → model-resolver-ds811dtb.js} +2 -2
  126. package/dist/chunks/{provider-6zaadkrj.js → model-resolver-dwyev0pn.js} +23 -23
  127. package/dist/chunks/{provider-k5xrbeez.js → model-resolver-dxqyj49f.js} +1 -1
  128. package/dist/chunks/{provider-100eqymc.js → model-resolver-dy92ps29.js} +6 -6
  129. package/dist/chunks/{provider-ane35rw3.js → model-resolver-e53gjx43.js} +46 -46
  130. package/dist/chunks/{provider-6hpqnq82.js → model-resolver-e5s5dhnn.js} +11 -11
  131. package/dist/chunks/{provider-exdczdw5.js → model-resolver-e6vcv3sh.js} +18 -18
  132. package/dist/chunks/{provider-90xe4ebd.js → model-resolver-e8sy2har.js} +35 -35
  133. package/dist/chunks/{provider-rrpq0de9.js → model-resolver-eatejewc.js} +12 -12
  134. package/dist/chunks/{provider-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{provider-phee4dp3.js → model-resolver-ep06henm.js} +18 -18
  136. package/dist/chunks/{provider-qbx2hgn0.js → model-resolver-es92z2hg.js} +6 -6
  137. package/dist/chunks/{provider-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{provider-q0yrs87k.js → model-resolver-evbj9t57.js} +45 -45
  139. package/dist/chunks/{provider-cetvmtxy.js → model-resolver-eyxk1qnq.js} +34 -34
  140. package/dist/chunks/{provider-9e4j78a5.js → model-resolver-f00eh3k7.js} +17 -17
  141. package/dist/chunks/{provider-wjpb9jag.js → model-resolver-f53vpfqg.js} +13 -13
  142. package/dist/chunks/{provider-9116qanx.js → model-resolver-f5en7f74.js} +5 -5
  143. package/dist/chunks/{provider-71az546q.js → model-resolver-f75zav2x.js} +2 -2
  144. package/dist/chunks/{provider-60e3je0q.js → model-resolver-fd65jbzw.js} +11 -11
  145. package/dist/chunks/{provider-34qtjr2x.js → model-resolver-fd7cqx9x.js} +13 -13
  146. package/dist/chunks/{provider-a2ew8a62.js → model-resolver-fm2qvscf.js} +4 -4
  147. package/dist/chunks/{provider-nda1mvrc.js → model-resolver-fvp47qe4.js} +19 -19
  148. package/dist/chunks/{provider-9m6wd42k.js → model-resolver-fzz3hcr3.js} +25 -25
  149. package/dist/chunks/{provider-9hn6k4tm.js → model-resolver-g0445xdp.js} +8 -8
  150. package/dist/chunks/{provider-vyzvb1w9.js → model-resolver-g2qj6ddr.js} +21 -21
  151. package/dist/chunks/{provider-954g4k0y.js → model-resolver-g3g4kd0v.js} +12 -12
  152. package/dist/chunks/{provider-z2wp2s8j.js → model-resolver-g7rd8z26.js} +4 -4
  153. package/dist/chunks/{provider-j798b1wp.js → model-resolver-gaav3xfc.js} +13 -13
  154. package/dist/chunks/{provider-gd0tnyjc.js → model-resolver-gd0tnyjc.js} +1 -1
  155. package/dist/chunks/{provider-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{provider-d1d7m7z7.js → model-resolver-ge7bq23y.js} +26 -26
  157. package/dist/chunks/{provider-k1zrjmzp.js → model-resolver-gpnd5mkj.js} +9 -9
  158. package/dist/chunks/{provider-hvqy4awq.js → model-resolver-grwyepjm.js} +23 -23
  159. package/dist/chunks/{provider-fwpeyn7w.js → model-resolver-gz16832s.js} +32 -32
  160. package/dist/chunks/{provider-6xj9v251.js → model-resolver-h0wm3sd5.js} +4 -4
  161. package/dist/chunks/{provider-9nndfwsw.js → model-resolver-h14zrqyq.js} +20 -20
  162. package/dist/chunks/{provider-8s9x7mq3.js → model-resolver-h182e1ya.js} +12 -12
  163. package/dist/chunks/{provider-gnptjt5e.js → model-resolver-h4a7s26t.js} +8 -8
  164. package/dist/chunks/{provider-ybe0dkr4.js → model-resolver-h5eb1stf.js} +45 -45
  165. package/dist/chunks/{provider-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{provider-p0ejkak0.js → model-resolver-h76ep6gq.js} +11 -11
  167. package/dist/chunks/{provider-9adq9209.js → model-resolver-hh65bbrn.js} +13 -13
  168. package/dist/chunks/{provider-985w54n2.js → model-resolver-hhxvcfmq.js} +2 -2
  169. package/dist/chunks/{provider-mbdw8qpz.js → model-resolver-hnyhndd0.js} +3 -3
  170. package/dist/chunks/{provider-6v3gtav4.js → model-resolver-ht2a8fky.js} +9 -9
  171. package/dist/chunks/{provider-631g3xwd.js → model-resolver-hv8xeme1.js} +12 -12
  172. package/dist/chunks/{provider-eq1pz5kg.js → model-resolver-j028xdjb.js} +3 -3
  173. package/dist/chunks/{provider-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  174. package/dist/chunks/{provider-5pdj13gp.js → model-resolver-je7fg4hd.js} +25 -25
  175. package/dist/chunks/{provider-b5pdhpjr.js → model-resolver-jjwtv0ah.js} +6 -6
  176. package/dist/chunks/{provider-4e64r1z1.js → model-resolver-jmskrp9g.js} +18 -18
  177. package/dist/chunks/{provider-wv3twx2w.js → model-resolver-jrqb24zm.js} +11 -11
  178. package/dist/chunks/{provider-j0sgkhxp.js → model-resolver-k4asghnp.js} +14 -14
  179. package/dist/chunks/{provider-q4h7jhqx.js → model-resolver-kax3gvj5.js} +15 -15
  180. package/dist/chunks/{provider-9e5bzkjp.js → model-resolver-kb9j3d72.js} +3 -3
  181. package/dist/chunks/{provider-34wpv7v4.js → model-resolver-km7an3ep.js} +24 -24
  182. package/dist/chunks/{provider-baaqp4zd.js → model-resolver-kne8f3cn.js} +4 -4
  183. package/dist/chunks/{provider-3v63pd15.js → model-resolver-kx9rc79n.js} +21 -21
  184. package/dist/chunks/{provider-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{provider-hx2mnr5g.js → model-resolver-m6f3t844.js} +8 -8
  186. package/dist/chunks/{provider-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{provider-k751nkt0.js → model-resolver-m9wbq610.js} +27 -27
  188. package/dist/chunks/{provider-10bgy4f5.js → model-resolver-meahagrb.js} +41 -41
  189. package/dist/chunks/{provider-cx9z55d6.js → model-resolver-mtf9y83c.js} +11 -11
  190. package/dist/chunks/{provider-89tevzyb.js → model-resolver-mw9atry4.js} +3 -3
  191. package/dist/chunks/model-resolver-n66nyqav.js +253 -0
  192. package/dist/chunks/{provider-qne3fa44.js → model-resolver-n8vdnqrc.js} +5 -5
  193. package/dist/chunks/{provider-qmm8841s.js → model-resolver-ngghfn62.js} +3 -3
  194. package/dist/chunks/{provider-2j5hbwxg.js → model-resolver-nqc2a42y.js} +9 -9
  195. package/dist/chunks/{provider-pwvav0zc.js → model-resolver-nv85q5yc.js} +13 -13
  196. package/dist/chunks/{provider-cymm7g2a.js → model-resolver-nvkjfv9x.js} +18 -18
  197. package/dist/chunks/{provider-0xqyf95c.js → model-resolver-nw91k3fh.js} +4 -4
  198. package/dist/chunks/{provider-575tamff.js → model-resolver-p5qcrc4c.js} +3 -3
  199. package/dist/chunks/{provider-z30v2f0y.js → model-resolver-pbwe4c5d.js} +91 -91
  200. package/dist/chunks/{provider-m0p5n2gd.js → model-resolver-pj9tg3xc.js} +29 -29
  201. package/dist/chunks/{provider-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{provider-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  203. package/dist/chunks/{provider-7s451enq.js → model-resolver-pnaxc6j9.js} +7 -7
  204. package/dist/chunks/{provider-7hmthqft.js → model-resolver-q8nwznbs.js} +4 -4
  205. package/dist/chunks/{provider-2k8khapm.js → model-resolver-qgn6gcr1.js} +5 -5
  206. package/dist/chunks/{provider-ds0s37ch.js → model-resolver-qhf50je4.js} +22 -22
  207. package/dist/chunks/{provider-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{provider-qx41vpeg.js → model-resolver-qqbg84xg.js} +15 -15
  209. package/dist/chunks/{provider-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  210. package/dist/chunks/{provider-xyafkbt0.js → model-resolver-qxjc9qry.js} +3 -3
  211. package/dist/chunks/{provider-n57qrn3a.js → model-resolver-r01t9b5y.js} +6 -6
  212. package/dist/chunks/{provider-b2vb8hwy.js → model-resolver-r54yw92w.js} +11 -11
  213. package/dist/chunks/{provider-54ma36ye.js → model-resolver-r94pvvab.js} +4 -4
  214. package/dist/chunks/{provider-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{provider-xabyxep3.js → model-resolver-rp6bd9wq.js} +11 -11
  216. package/dist/chunks/{provider-hkznryjg.js → model-resolver-rs7zj18r.js} +11 -11
  217. package/dist/chunks/{provider-m9ya73e1.js → model-resolver-rwegcfpf.js} +16 -16
  218. package/dist/chunks/{provider-r6y3gdne.js → model-resolver-s6v33hhs.js} +8 -8
  219. package/dist/chunks/{provider-8xp68n0c.js → model-resolver-sgg17eyk.js} +22 -22
  220. package/dist/chunks/{provider-mgm0y126.js → model-resolver-sgksxw7g.js} +3 -3
  221. package/dist/chunks/{provider-my4zabxr.js → model-resolver-ss358qx3.js} +3 -3
  222. package/dist/chunks/{provider-camesg23.js → model-resolver-ssrgjt3e.js} +16 -16
  223. package/dist/chunks/{provider-gw6addyq.js → model-resolver-t29swve2.js} +3 -3
  224. package/dist/chunks/{provider-qtade0yk.js → model-resolver-t32zyhfe.js} +7 -7
  225. package/dist/chunks/{provider-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{provider-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{provider-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  228. package/dist/chunks/{provider-3bzv0xj2.js → model-resolver-tg3ranp2.js} +25 -25
  229. package/dist/chunks/{provider-3vx21hd1.js → model-resolver-tjscfx4m.js} +30 -30
  230. package/dist/chunks/{provider-6yz0wx8n.js → model-resolver-tk14y25j.js} +5 -5
  231. package/dist/chunks/{provider-qr6zbtg5.js → model-resolver-tptdvtpk.js} +23 -23
  232. package/dist/chunks/{provider-6bdjrfqv.js → model-resolver-tttwfjc6.js} +5 -5
  233. package/dist/chunks/{provider-s8tgv6a6.js → model-resolver-txqvqyew.js} +38 -38
  234. package/dist/chunks/{provider-a6ye7dvb.js → model-resolver-v3n49zdf.js} +17 -17
  235. package/dist/chunks/{provider-27pw3ak9.js → model-resolver-vb454w7p.js} +3 -3
  236. package/dist/chunks/{provider-acshqmx2.js → model-resolver-vbdkyqz4.js} +1 -1
  237. package/dist/chunks/{provider-deadrwyj.js → model-resolver-vbwbd6d7.js} +9 -9
  238. package/dist/chunks/{provider-nazh1x8e.js → model-resolver-vepq4dqg.js} +42 -42
  239. package/dist/chunks/{provider-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  240. package/dist/chunks/{provider-gweqbbvm.js → model-resolver-vsn506cm.js} +20 -20
  241. package/dist/chunks/{provider-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{provider-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{provider-f7k5gakn.js → model-resolver-w7zyscj3.js} +8 -8
  244. package/dist/chunks/{provider-rmvqbh99.js → model-resolver-wbprqre7.js} +13 -13
  245. package/dist/chunks/{provider-cyjnm7zn.js → model-resolver-wbtjy708.js} +22 -22
  246. package/dist/chunks/{provider-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  247. package/dist/chunks/{provider-qw7qt5pa.js → model-resolver-wdr7g53b.js} +30 -30
  248. package/dist/chunks/{provider-9jtqxrkx.js → model-resolver-wgrcm666.js} +15 -15
  249. package/dist/chunks/{provider-h90v2x9d.js → model-resolver-wj76ss2k.js} +4 -4
  250. package/dist/chunks/{provider-s8d7rejh.js → model-resolver-wv396vej.js} +8 -8
  251. package/dist/chunks/{provider-dzg2nmyy.js → model-resolver-wyy60m0y.js} +1 -1
  252. package/dist/chunks/{provider-hdwgjdm7.js → model-resolver-wzmhb02r.js} +14 -14
  253. package/dist/chunks/{provider-150yg2gd.js → model-resolver-x2d9qy7d.js} +5 -5
  254. package/dist/chunks/{provider-62c2dtz6.js → model-resolver-x38qdzk1.js} +48 -48
  255. package/dist/chunks/{provider-bqd2cxqp.js → model-resolver-x623mxjj.js} +17 -17
  256. package/dist/chunks/{provider-x661k3y3.js → model-resolver-x661k3y3.js} +1 -1
  257. package/dist/chunks/{provider-zy5vtpm1.js → model-resolver-xbmhsw7f.js} +33 -33
  258. package/dist/chunks/{provider-57b9ws8p.js → model-resolver-xfkkasph.js} +7 -7
  259. package/dist/chunks/{provider-fh64nspq.js → model-resolver-xjd9n2sp.js} +28 -28
  260. package/dist/chunks/{provider-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  261. package/dist/chunks/{provider-san3pcvd.js → model-resolver-y0qr5jf7.js} +1 -1
  262. package/dist/chunks/{provider-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{provider-azv5qb8x.js → model-resolver-y6v1v83p.js} +11 -11
  264. package/dist/chunks/{provider-h6aq45ge.js → model-resolver-yc5k47t6.js} +21 -21
  265. package/dist/chunks/{provider-1xt4h7fg.js → model-resolver-yfa68f7n.js} +31 -31
  266. package/dist/chunks/{provider-xh27xnk0.js → model-resolver-yg62bcth.js} +11 -11
  267. package/dist/chunks/{provider-203x8f6s.js → model-resolver-ymr5aw12.js} +18 -18
  268. package/dist/chunks/{provider-bk97wshp.js → model-resolver-ynx1sbyb.js} +8 -8
  269. package/dist/chunks/{provider-h6dsmzc8.js → model-resolver-yp8tn9p0.js} +24 -24
  270. package/dist/chunks/{provider-hzvph4yq.js → model-resolver-ypjnx83w.js} +133 -133
  271. package/dist/chunks/{provider-gbfdm2f9.js → model-resolver-ypnjcb15.js} +42 -42
  272. package/dist/chunks/{provider-838d4dha.js → model-resolver-yvehv8j4.js} +24 -24
  273. package/dist/chunks/model-resolver-yvv17s0z.js +507 -0
  274. package/dist/chunks/{provider-7nsvsbpq.js → model-resolver-yyk24bey.js} +20 -20
  275. package/dist/chunks/{provider-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{provider-3yzafwg0.js → model-resolver-z0r25cb3.js} +11 -11
  277. package/dist/chunks/{provider-z4ztj7g0.js → model-resolver-z4ztj7g0.js} +2 -2
  278. package/dist/chunks/{provider-6m0km96n.js → model-resolver-zf19209g.js} +3 -3
  279. package/dist/chunks/{provider-bk0akfxd.js → model-resolver-zf4p7bms.js} +17 -17
  280. package/dist/chunks/{provider-zv9njayc.js → model-resolver-zny3dpd0.js} +8 -8
  281. package/dist/chunks/{provider-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{provider-ycw12012.js → model-resolver-zwcyw4cb.js} +4 -4
  283. package/dist/chunks/{provider-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +114 -114
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +70 -70
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +99 -99
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +78 -78
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +1 -1
  454. package/dist/integration.js +83 -83
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +96 -96
  472. package/dist/model.js +96 -96
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +90 -90
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +3 -3
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +114 -114
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +2 -2
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +4 -4
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +95 -95
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +89 -89
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +3 -3
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +2 -2
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +105 -105
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +201 -201
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +153 -153
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +114 -114
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +118 -118
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +110 -110
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +3 -3
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +1 -1
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/provider-141rw18h.js +0 -507
  681. package/dist/chunks/provider-8557trs0.js +0 -26
  682. package/dist/chunks/provider-ckyzvwjx.js +0 -253
  683. package/dist/chunks/provider-hgd4btym.js +0 -18
  684. /package/dist/chunks/{provider-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{provider-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{provider-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{provider-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{provider-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{provider-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{provider-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{provider-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{provider-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{provider-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{provider-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{provider-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  696. /package/dist/chunks/{provider-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{provider-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{provider-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{provider-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{provider-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{provider-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{provider-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{provider-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{provider-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  705. /package/dist/chunks/{provider-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{provider-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  707. /package/dist/chunks/{provider-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{provider-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{provider-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{provider-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  711. /package/dist/chunks/{provider-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{provider-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{provider-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{provider-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{provider-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{provider-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{provider-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{provider-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{provider-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{provider-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{provider-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{provider-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{provider-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{provider-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{provider-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{provider-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{provider-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{provider-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{provider-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  730. /package/dist/chunks/{provider-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{provider-e3qxr5gk.js → model-resolver-e3qxr5gk.js} +0 -0
  732. /package/dist/chunks/{provider-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{provider-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{provider-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{provider-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{provider-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{provider-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{provider-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{provider-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{provider-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{provider-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{provider-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{provider-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  744. /package/dist/chunks/{provider-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{provider-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  746. /package/dist/chunks/{provider-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  747. /package/dist/chunks/{provider-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{provider-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{provider-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{provider-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{provider-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{provider-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{provider-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{provider-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{provider-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{provider-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{provider-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{provider-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{provider-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{provider-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{provider-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{provider-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{provider-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{provider-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{provider-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{provider-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{provider-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{provider-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{provider-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{provider-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{provider-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{provider-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{provider-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  774. /package/dist/chunks/{provider-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{provider-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{provider-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{provider-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{provider-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{provider-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{provider-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID13,
3
- Service75,
4
- node78
5
- } from "./provider-3yrxafvf.js";
3
+ Service73,
4
+ node77
5
+ } from "./model-resolver-2ex9v4dz.js";
6
6
  import {
7
7
  ID12,
8
8
  isAISDK2,
@@ -14,24 +14,24 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service74,
18
- node77
19
- } from "./provider-kpjwkn2w.js";
17
+ Service72,
18
+ node76
19
+ } from "./model-resolver-6x448rs9.js";
20
20
  import {
21
- Service61,
22
- node64
23
- } from "./provider-6v3gtav4.js";
21
+ Service59,
22
+ node62
23
+ } from "./model-resolver-ht2a8fky.js";
24
24
  import {
25
25
  ID11,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service73,
29
- node76,
28
+ Service71,
29
+ node75,
30
30
  supportsText2
31
- } from "./provider-gb4s5hjx.js";
31
+ } from "./model-resolver-83009cjb.js";
32
32
  import {
33
33
  __export
34
- } from "./provider-9rqn6x4v.js";
34
+ } from "./model-resolver-9rqn6x4v.js";
35
35
 
36
36
  // src/model-resolver.ts
37
37
  var exports_model_resolver = {};
@@ -40,7 +40,7 @@ __export(exports_model_resolver, {
40
40
  ModelConfigurationError: () => ModelConfigurationError2,
41
41
  ModelInitializationError: () => ModelInitializationError2,
42
42
  ModelResolver: () => exports_model_resolver,
43
- Service: () => Service60,
43
+ Service: () => Service58,
44
44
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
45
45
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
46
46
  UnsupportedPackageError: () => UnsupportedPackageError2,
@@ -48,7 +48,7 @@ __export(exports_model_resolver, {
48
48
  fromCatalogModel: () => fromCatalogModel2,
49
49
  hasPackage: () => hasPackage2,
50
50
  layer: () => layer21,
51
- node: () => node63,
51
+ node: () => node61,
52
52
  resolveModel: () => resolveModel2,
53
53
  withVariant: () => withVariant2
54
54
  });
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
121
121
  }
122
122
  }
123
123
 
124
- class Service60 extends Context.Service()("@opencode/ModelResolver") {
124
+ class Service58 extends Context.Service()("@opencode/ModelResolver") {
125
125
  }
126
126
  var withVariant2 = (model, variantID) => {
127
127
  const id = variantID === "default" ? undefined : variantID;
@@ -145,7 +145,7 @@ var fromCatalogModel2 = (model, credential, dependencies) => resolveCatalogModel
145
145
  return Effect.fail(new UnsupportedCompactionError2({ providerID: model.providerID, modelID: model.id, route: resolved.route.id }));
146
146
  }));
147
147
  var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(function* (model, credential, dependencies) {
148
- const resolved = prepareRuntimeModel(model, credential);
148
+ const resolved = prepareRuntimeModel(model);
149
149
  const configuration = credential?.type === "key" ? credential.configuration : undefined;
150
150
  const configured = { ...resolved.settings, ...credential?.metadata, ...configuration };
151
151
  if (isAISDK2(resolved.package)) {
@@ -191,14 +191,10 @@ var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(functio
191
191
  }) : initialization(resolved, "construct", cause)
192
192
  });
193
193
  });
194
- function prepareRuntimeModel(model, credential) {
195
- if (model.settings?.apiKey !== "" && (credential?.type !== "key" || credential.metadata === undefined))
194
+ function prepareRuntimeModel(model) {
195
+ if (model.settings?.apiKey !== "")
196
196
  return model;
197
- return {
198
- ...model,
199
- ...model.settings?.apiKey === "" ? { settings: Struct.omit(model.settings, ["apiKey"]) } : {},
200
- ...credential?.type === "key" && credential.metadata !== undefined ? { body: mergeOverlay2(model.body, credential.metadata) } : {}
201
- };
197
+ return { ...model, settings: Struct.omit(model.settings, ["apiKey"]) };
202
198
  }
203
199
  function validateProviderVariables(model, resolved) {
204
200
  const baseURL = resolved.route.endpoint.baseURL;
@@ -265,12 +261,12 @@ var causeMessage = (cause) => {
265
261
  };
266
262
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
267
263
  var hasPackage2 = (model) => Boolean(model.package);
268
- var layer21 = Layer.effect(Service60, Effect.gen(function* () {
269
- const providers = yield* Service74;
270
- const models = yield* Service73;
271
- const integrations = yield* Service75;
264
+ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
265
+ const providers = yield* Service72;
266
+ const models = yield* Service71;
267
+ const integrations = yield* Service73;
272
268
  const npm = yield* Npm.Service;
273
- const aisdk = yield* Service61;
269
+ const aisdk = yield* Service59;
274
270
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
275
271
  const provider = yield* providers.get(selected.providerID);
276
272
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
@@ -300,7 +296,7 @@ var layer21 = Layer.effect(Service60, Effect.gen(function* () {
300
296
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
301
297
  };
302
298
  });
303
- return Service60.of({
299
+ return Service58.of({
304
300
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
305
301
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
306
302
  if (!selected)
@@ -317,10 +313,10 @@ function usesAPIKeyAuth(packageName) {
317
313
  const name = packageName2(packageName);
318
314
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
319
315
  }
320
- var node63 = makeLocationNode({
321
- service: Service60,
316
+ var node61 = makeLocationNode({
317
+ service: Service58,
322
318
  layer: layer21,
323
- deps: [node77, node76, node78, Npm.node, node64]
319
+ deps: [node76, node75, node77, Npm.node, node62]
324
320
  });
325
321
 
326
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node63, exports_model_resolver };
322
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node61, exports_model_resolver };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./provider-camesg23.js";
3
+ Service82,
4
+ node86
5
+ } from "./model-resolver-ssrgjt3e.js";
6
6
  import {
7
7
  __export
8
- } from "./provider-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service4,
14
+ Service: () => Service7,
15
15
  Updated: () => Updated2,
16
16
  layer: () => layer5,
17
- node: () => node5
17
+ node: () => node8
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service4 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service7 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
26
- const bus = yield* Service83;
25
+ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
26
+ const bus = yield* Service82;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service4.of({
29
+ return Service7.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node5 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node87] });
36
+ var node8 = makeGlobalNode({ service: Service7, layer: layer5, deps: [node86] });
37
37
 
38
- export { Updated2, Service4, layer5, node5, exports_sdk };
38
+ export { Updated2, Service7, layer5, node8, exports_sdk };
@@ -1,80 +1,80 @@
1
- import {
2
- Service84
3
- } from "./provider-1fh7s5gq.js";
4
1
  import {
5
2
  Service83
6
- } from "./provider-camesg23.js";
3
+ } from "./model-resolver-94mn3p3s.js";
4
+ import {
5
+ Service82
6
+ } from "./model-resolver-ssrgjt3e.js";
7
7
  import {
8
- Service52
9
- } from "./provider-dzse07y5.js";
8
+ Service46
9
+ } from "./model-resolver-909p1r3q.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./provider-vzs5sf6e.js";
12
+ } from "./model-resolver-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./provider-gftt206x.js";
15
+ } from "./model-resolver-gftt206x.js";
16
16
  import {
17
- NotFoundError7,
17
+ NotFoundError8,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./provider-ry082wg0.js";
23
+ } from "./model-resolver-dm21k72n.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./provider-ec1grn59.js";
26
+ } from "./model-resolver-ec1grn59.js";
27
27
  import {
28
- Service58
29
- } from "./provider-bqd2cxqp.js";
28
+ Service54
29
+ } from "./model-resolver-x623mxjj.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service51
34
- } from "./provider-h6dsmzc8.js";
33
+ Service44
34
+ } from "./model-resolver-yp8tn9p0.js";
35
35
  import {
36
- Service49
37
- } from "./provider-gbfdm2f9.js";
36
+ Service42
37
+ } from "./model-resolver-ypnjcb15.js";
38
38
  import {
39
39
  prepare2
40
- } from "./provider-m9ya73e1.js";
40
+ } from "./model-resolver-rwegcfpf.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./provider-v5veevtb.js";
45
+ } from "./model-resolver-4warvet6.js";
46
46
  import {
47
47
  start2
48
- } from "./provider-k1zrjmzp.js";
48
+ } from "./model-resolver-gpnd5mkj.js";
49
49
  import {
50
- get4
51
- } from "./provider-8s9x7mq3.js";
50
+ get5
51
+ } from "./model-resolver-h182e1ya.js";
52
52
  import {
53
53
  __export
54
- } from "./provider-9rqn6x4v.js";
54
+ } from "./model-resolver-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make16
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service83;
67
- const database = yield* Service84;
68
- const store = yield* Service58;
69
- const instances = yield* Service52;
70
- const execution = yield* Service49;
71
- const admission = yield* Service51;
65
+ var make16 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service82;
67
+ const database = yield* Service83;
68
+ const store = yield* Service54;
69
+ const instances = yield* Service46;
70
+ const execution = yield* Service42;
71
+ const admission = yield* Service44;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError7({ sessionID });
77
+ return yield* new NotFoundError8({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service52, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service46, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service52, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service46, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service52, instances));
183
+ const skill = yield* get5({ session, skill: input.skill }).pipe(Effect.provideService(Service46, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service82, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make13, exports_session2 };
332
+ export { make16, exports_session2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./provider-gftt206x.js";
3
+ } from "./model-resolver-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./provider-my4zabxr.js";
6
+ } from "./model-resolver-ss358qx3.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -19,7 +19,7 @@ __export(exports_error, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError7,
22
+ NotFoundError: () => NotFoundError8,
23
23
  PromptConflictError: () => PromptConflictError2,
24
24
  SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
31
31
  import { Skill } from "@opencode/schema/skill";
32
32
  import { SessionError } from "@opencode/schema/session-error";
33
33
 
34
- class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
34
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
35
35
  sessionID: SessionSchema2.ID
36
36
  }) {
37
37
  }
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
116
116
  }) {
117
117
  }
118
118
 
119
- export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
119
+ export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service67,
3
- node70
4
- } from "./provider-4238gvvk.js";
2
+ Service64,
3
+ node67
4
+ } from "./model-resolver-69fj14ep.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./provider-j0sgkhxp.js";
6
+ Service78,
7
+ node82
8
+ } from "./model-resolver-k4asghnp.js";
9
9
  import {
10
- Service66,
11
- node69
12
- } from "./provider-ane35rw3.js";
10
+ Service63,
11
+ node66
12
+ } from "./model-resolver-e53gjx43.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./provider-zxq2ej10.js";
16
+ } from "./model-resolver-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./provider-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
@@ -36,10 +36,10 @@ import { fileURLToPath, pathToFileURL } from "url";
36
36
  class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
38
  var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
- const config = yield* Service66;
40
- const watcher = yield* Service67;
39
+ const config = yield* Service63;
40
+ const watcher = yield* Service64;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service80;
42
+ const location = yield* Service78;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -73,7 +73,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
73
73
  var node3 = makeLocationNode({
74
74
  service: Service2,
75
75
  layer: layer4,
76
- deps: [node69, FSUtil.node, node70, node84]
76
+ deps: [node66, FSUtil.node, node67, node82]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
79
  service: Service2,
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./provider-dpkg50ah.js";
3
+ } from "./model-resolver-dpkg50ah.js";
4
4
  import {
5
- Service78,
6
- node81
7
- } from "./provider-4n5tf1vb.js";
5
+ Service68,
6
+ node71
7
+ } from "./model-resolver-6c6jf3me.js";
8
8
  import {
9
9
  __export
10
- } from "./provider-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service48,
17
- node: () => node52,
16
+ Service: () => Service15,
17
+ node: () => node17,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service48 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service15 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service48, Effect.gen(function* () {
38
- const environment = yield* Service78;
37
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
38
+ const environment = yield* Service68;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service48.of({ withLock, write, writeTextPreservingBom });
59
+ return Service15.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node52 = makeLocationNode({ service: Service48, layer, deps: [node81] });
61
+ var node17 = makeLocationNode({ service: Service15, layer, deps: [node71] });
62
62
 
63
- export { Service48, readText2, syncTextBom2, node52, exports_file_mutation };
63
+ export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID12
3
- } from "./provider-kpjwkn2w.js";
3
+ } from "./model-resolver-6x448rs9.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./provider-6q2bdcd1.js";
6
+ } from "./model-resolver-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./provider-z5v4ffb3.js";
5
+ } from "./model-resolver-z5v4ffb3.js";
6
6
  import {
7
- Service80,
8
- node84
9
- } from "./provider-j0sgkhxp.js";
7
+ Service78,
8
+ node82
9
+ } from "./model-resolver-k4asghnp.js";
10
10
  import {
11
- Service40,
12
- node43
13
- } from "./provider-qg966khd.js";
11
+ Service27,
12
+ node30
13
+ } from "./model-resolver-110b8ek2.js";
14
14
  import {
15
15
  __export
16
- } from "./provider-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event7,
27
+ Event: () => Event6,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput3,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
34
  NotFoundError: () => NotFoundError4,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service39,
36
+ Service: () => Service26,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node42
40
+ node: () => node29
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -82,7 +82,7 @@ var Content2 = Schema.Struct({
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput3 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event7 = FileSystem.Event;
108
+ var Event6 = FileSystem.Event;
109
109
 
110
- class Service39 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service26 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service26, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service80;
115
- const search = yield* Service40;
114
+ const location = yield* Service78;
115
+ const search = yield* Service27;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -131,7 +131,7 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
131
131
  return yield* Effect.fail(new NotFoundError4({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service39.of({
134
+ return Service26.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
@@ -170,10 +170,10 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
170
170
  })
171
171
  });
172
172
  }));
173
- var node42 = makeLocationNode({
174
- service: Service39,
173
+ var node29 = makeLocationNode({
174
+ service: Service26,
175
175
  layer: baseLayer,
176
- deps: [FSUtil.node, node84, node43]
176
+ deps: [FSUtil.node, node82, node30]
177
177
  });
178
178
 
179
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service39, node42, exports_filesystem, Entry2, Match2, Submatch2 };
179
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service26, node29, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID11
3
- } from "./provider-gb4s5hjx.js";
3
+ } from "./model-resolver-83009cjb.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";