@opencode/core 0.0.0-dev-20615 → 0.0.0-dev-20621

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 (467) hide show
  1. package/dist/agent.js +62 -62
  2. package/dist/aisdk-native.js +65 -65
  3. package/dist/aisdk.js +70 -70
  4. package/dist/app.js +3 -3
  5. package/dist/bus.js +50 -50
  6. package/dist/chunks/{tool-w11tz2pw.js → tool-0xccjjzw.js} +26 -26
  7. package/dist/chunks/{tool-2zt2ydz3.js → tool-0y2egbcr.js} +6 -6
  8. package/dist/chunks/{tool-agssjnsy.js → tool-125pv97z.js} +7 -7
  9. package/dist/chunks/{tool-bwp70caj.js → tool-16pwk8my.js} +16 -16
  10. package/dist/chunks/{tool-a72skx39.js → tool-1cz6w5aa.js} +2 -2
  11. package/dist/chunks/{tool-fkngwg2k.js → tool-1ewxhx38.js} +30 -30
  12. package/dist/chunks/{tool-faawnrv4.js → tool-1x69mj4q.js} +9 -9
  13. package/dist/chunks/{tool-33w4ejhs.js → tool-1ygqh575.js} +4 -4
  14. package/dist/chunks/{tool-rfg5269m.js → tool-23mntapz.js} +6 -6
  15. package/dist/chunks/{tool-kzc3h1h3.js → tool-2k71kv7p.js} +3 -3
  16. package/dist/chunks/{tool-gnje2431.js → tool-2n6fa56a.js} +1 -1
  17. package/dist/chunks/{tool-djszqvmq.js → tool-2sejkfem.js} +7 -7
  18. package/dist/chunks/{tool-wcwsz0n1.js → tool-2xcf8v2e.js} +11 -11
  19. package/dist/chunks/{tool-642av4pa.js → tool-2zv0bcyv.js} +7 -7
  20. package/dist/chunks/{tool-gzwmz214.js → tool-303t2pvh.js} +26 -26
  21. package/dist/chunks/{tool-af6c9m8w.js → tool-350pbqn9.js} +25 -25
  22. package/dist/chunks/{tool-rvzqsjbs.js → tool-3936tkf8.js} +12 -12
  23. package/dist/chunks/{tool-t5rxgedn.js → tool-393z7mah.js} +3 -3
  24. package/dist/chunks/tool-39v3zkdd.js +26 -0
  25. package/dist/chunks/{tool-150yg2gd.js → tool-3j9bgvtg.js} +3 -3
  26. package/dist/chunks/{tool-pfhas51f.js → tool-3sdb20zb.js} +7 -7
  27. package/dist/chunks/{tool-maqk305m.js → tool-3w57jhwt.js} +6 -6
  28. package/dist/chunks/{tool-0mw89yjh.js → tool-3x1fhjfk.js} +4 -4
  29. package/dist/chunks/{tool-wrhmq8wv.js → tool-40gsab6q.js} +6 -6
  30. package/dist/chunks/{tool-dktv53ts.js → tool-42ayv7pm.js} +43 -43
  31. package/dist/chunks/{tool-w9wfhscg.js → tool-4c8s8kge.js} +5 -5
  32. package/dist/chunks/{tool-bbd0f1y9.js → tool-4jjk64j7.js} +11 -11
  33. package/dist/chunks/{tool-zhrz246t.js → tool-4mpv5s2v.js} +32 -32
  34. package/dist/chunks/{tool-722t8cr8.js → tool-4set99t9.js} +1 -1
  35. package/dist/chunks/{tool-55f5yhnr.js → tool-4xtwzbwp.js} +320 -320
  36. package/dist/chunks/{tool-7ex9xsd9.js → tool-51r1g0v9.js} +9 -9
  37. package/dist/chunks/{tool-xf8f9mz3.js → tool-56avvebe.js} +32 -32
  38. package/dist/chunks/{tool-s3skzd7w.js → tool-5jxm9yfz.js} +23 -23
  39. package/dist/chunks/{tool-0gh1f601.js → tool-61m1wdtq.js} +18 -18
  40. package/dist/chunks/{tool-1spn70p8.js → tool-66t34m9w.js} +25 -25
  41. package/dist/chunks/{tool-b2mfa9xz.js → tool-690bn0hf.js} +19 -19
  42. package/dist/chunks/{tool-3rtbn312.js → tool-6az9vrde.js} +25 -25
  43. package/dist/chunks/{tool-qkfezwh6.js → tool-6m1hjez2.js} +4 -4
  44. package/dist/chunks/{tool-sp63qzw1.js → tool-6qzp8a5z.js} +23 -23
  45. package/dist/chunks/{tool-hksy7w0e.js → tool-6w4tq3mb.js} +7 -7
  46. package/dist/chunks/{tool-f5gy8qwh.js → tool-6ysrkrkr.js} +7 -7
  47. package/dist/chunks/{tool-3t6p5jdv.js → tool-6zhvkmk5.js} +3 -3
  48. package/dist/chunks/{tool-gkh9snj0.js → tool-75v4x8jp.js} +16 -16
  49. package/dist/chunks/{tool-vq1q2ta7.js → tool-7crx08a4.js} +5 -5
  50. package/dist/chunks/{tool-at1f3efs.js → tool-7q4nzkb9.js} +11 -11
  51. package/dist/chunks/{tool-81xr82zh.js → tool-7rm45jzf.js} +4 -4
  52. package/dist/chunks/{tool-7d7rzqbv.js → tool-7vp466hh.js} +28 -28
  53. package/dist/chunks/{tool-ts9txmc3.js → tool-81bpzke5.js} +10 -10
  54. package/dist/chunks/{tool-1dvck2a7.js → tool-84h8c373.js} +1 -1
  55. package/dist/chunks/{tool-rh254cas.js → tool-853r27ye.js} +19 -19
  56. package/dist/chunks/{tool-sge72mws.js → tool-8h9kzq6c.js} +12 -12
  57. package/dist/chunks/{tool-qa3qhgw8.js → tool-8rqycdgd.js} +6 -6
  58. package/dist/chunks/{tool-2evx7vn6.js → tool-8sq1nazw.js} +26 -26
  59. package/dist/chunks/{tool-58pr7qh6.js → tool-9f2nvjyq.js} +1 -1
  60. package/dist/chunks/{tool-331jtpav.js → tool-9swdtjav.js} +4 -4
  61. package/dist/chunks/{tool-3aqx67na.js → tool-9tqp4rjd.js} +33 -33
  62. package/dist/chunks/{tool-90ytmqma.js → tool-9xafsdbn.js} +10 -10
  63. package/dist/chunks/{tool-gccjnz6h.js → tool-9y9sk2j9.js} +1 -1
  64. package/dist/chunks/{tool-73tb2d7t.js → tool-a1gpj94z.js} +2 -2
  65. package/dist/chunks/{tool-f2ynrejf.js → tool-a1jynv3g.js} +10 -10
  66. package/dist/chunks/{tool-01txzqdp.js → tool-a2gqrh8v.js} +28 -28
  67. package/dist/chunks/{tool-b5w00b0k.js → tool-a2zv89qz.js} +12 -12
  68. package/dist/chunks/{tool-zy43x3f1.js → tool-a3c7ahw6.js} +3 -3
  69. package/dist/chunks/{tool-k0aa2bpn.js → tool-a65exzz3.js} +9 -9
  70. package/dist/chunks/{tool-1e1wjnhp.js → tool-a7bsh1ec.js} +13 -13
  71. package/dist/chunks/{tool-3y377wv9.js → tool-addxnjmp.js} +3 -3
  72. package/dist/chunks/{tool-f372e9hx.js → tool-adfa1w2n.js} +4 -4
  73. package/dist/chunks/{tool-3hqn980y.js → tool-apme4279.js} +15 -15
  74. package/dist/chunks/{tool-58072hz9.js → tool-axe3mf62.js} +3 -3
  75. package/dist/chunks/{tool-j75aexbk.js → tool-b1axcb5r.js} +26 -26
  76. package/dist/chunks/{tool-hh30mmv6.js → tool-b750x627.js} +4 -4
  77. package/dist/chunks/{tool-jg9mfmbc.js → tool-b8yxdv3q.js} +15 -15
  78. package/dist/chunks/{tool-pwge32e4.js → tool-bbpgpzrp.js} +4 -4
  79. package/dist/chunks/{tool-4rs0m8vn.js → tool-bcr0ksmf.js} +9 -9
  80. package/dist/chunks/{tool-cx5j657v.js → tool-bvjdq5yq.js} +5 -5
  81. package/dist/chunks/{tool-9e5p6t2h.js → tool-bx021530.js} +11 -11
  82. package/dist/chunks/{tool-jebbcwb7.js → tool-c1ant5c1.js} +178 -178
  83. package/dist/chunks/{tool-qptn7k98.js → tool-c3227a7e.js} +12 -12
  84. package/dist/chunks/{tool-599d5hrs.js → tool-c7f2cwkk.js} +3 -3
  85. package/dist/chunks/{tool-xp6p1dgv.js → tool-cjdpndr5.js} +13 -13
  86. package/dist/chunks/{tool-qbsvtwmm.js → tool-cjxvfp5z.js} +7 -7
  87. package/dist/chunks/{tool-mx1sz4x7.js → tool-ck2jvgzg.js} +27 -27
  88. package/dist/chunks/{tool-tj5stkpz.js → tool-ckag18vk.js} +24 -24
  89. package/dist/chunks/{tool-j2mwjwzb.js → tool-csdqyeex.js} +11 -11
  90. package/dist/chunks/{tool-88t4yrn9.js → tool-ct5kn7sm.js} +17 -17
  91. package/dist/chunks/{tool-2zdrkm9b.js → tool-cwxwnzw8.js} +8 -8
  92. package/dist/chunks/{tool-98tegs2y.js → tool-cy8n646y.js} +21 -21
  93. package/dist/chunks/{tool-7z8hv35c.js → tool-cz3qxt32.js} +35 -35
  94. package/dist/chunks/{tool-gce79w0q.js → tool-czkrkmgx.js} +8 -8
  95. package/dist/chunks/{tool-kt3hcyyz.js → tool-d0m8bny5.js} +19 -19
  96. package/dist/chunks/{tool-v7wmy86e.js → tool-dbqekdzp.js} +4 -4
  97. package/dist/chunks/{tool-9bwc8hw1.js → tool-dcgfqf6n.js} +3 -3
  98. package/dist/chunks/{tool-vn72gsba.js → tool-dd40s8jk.js} +1 -1
  99. package/dist/chunks/{tool-wvpq0bw3.js → tool-dwktjsma.js} +1 -1
  100. package/dist/chunks/{tool-w1ry99tz.js → tool-e4gfb4rf.js} +14 -14
  101. package/dist/chunks/{tool-y3cnjxb9.js → tool-e4q1gg2w.js} +19 -19
  102. package/dist/chunks/{tool-0ma4vy4p.js → tool-eaxx2kzt.js} +1 -1
  103. package/dist/chunks/{tool-58xwj6qx.js → tool-egspt8cm.js} +57 -57
  104. package/dist/chunks/{tool-v5twwn9z.js → tool-entbm7rc.js} +16 -16
  105. package/dist/chunks/{tool-8bha9w2p.js → tool-f4tfcf42.js} +9 -9
  106. package/dist/chunks/{tool-71az546q.js → tool-f75zav2x.js} +1 -1
  107. package/dist/chunks/{tool-htbz2s2q.js → tool-fe6bz30b.js} +19 -19
  108. package/dist/chunks/{tool-9hvgyr50.js → tool-fgvy1g99.js} +35 -35
  109. package/dist/chunks/{tool-ewp9wevh.js → tool-fhm77ccb.js} +3 -3
  110. package/dist/chunks/{tool-5a9tff2n.js → tool-g0vvyb83.js} +10 -10
  111. package/dist/chunks/{tool-wh6zw745.js → tool-g24rjnnt.js} +3 -3
  112. package/dist/chunks/{tool-jghb6zsz.js → tool-g357tzjd.js} +24 -24
  113. package/dist/chunks/{tool-x48reza4.js → tool-g4ezwve1.js} +17 -17
  114. package/dist/chunks/{tool-6gwk5m7m.js → tool-g6tpgah0.js} +76 -76
  115. package/dist/chunks/{tool-c652knrp.js → tool-gdn38z0d.js} +142 -142
  116. package/dist/chunks/{tool-5hj0wrn5.js → tool-gfygj460.js} +10 -10
  117. package/dist/chunks/{tool-dy8n0qm6.js → tool-gkwkvfez.js} +14 -14
  118. package/dist/chunks/{tool-n5w4zgy3.js → tool-gx34rq0y.js} +4 -4
  119. package/dist/chunks/{tool-60vkhqe6.js → tool-gxds6sjc.js} +15 -15
  120. package/dist/chunks/{tool-atmvy895.js → tool-h43cy6bd.js} +7 -7
  121. package/dist/chunks/{tool-75ey17xe.js → tool-h65drem0.js} +17 -17
  122. package/dist/chunks/{tool-9m1qv4sr.js → tool-h6tdr0wz.js} +14 -14
  123. package/dist/chunks/{tool-7wnkabmt.js → tool-h9pcb0g7.js} +7 -7
  124. package/dist/chunks/{tool-ykkbspqz.js → tool-hmb6jn2z.js} +14 -14
  125. package/dist/chunks/{tool-wchs5kcb.js → tool-hqwyy3bj.js} +37 -3
  126. package/dist/chunks/{tool-3rwvqde1.js → tool-hv8s3tg2.js} +21 -21
  127. package/dist/chunks/{tool-1djc6rq1.js → tool-j1ba0jw9.js} +30 -30
  128. package/dist/chunks/{tool-q8dg0qrx.js → tool-j6rvrjb2.js} +16 -16
  129. package/dist/chunks/{tool-1402mhzs.js → tool-jy0x8hkf.js} +40 -40
  130. package/dist/chunks/{tool-svdf0mx4.js → tool-k1pmzggn.js} +29 -29
  131. package/dist/chunks/{tool-9e5bzkjp.js → tool-kb9j3d72.js} +1 -1
  132. package/dist/chunks/{tool-0vgvvwxq.js → tool-kc6hkr7d.js} +6 -6
  133. package/dist/chunks/{tool-esfye6zx.js → tool-kfdtc9qy.js} +9 -9
  134. package/dist/chunks/{tool-2vs2nh1n.js → tool-kne8f3cn.js} +3 -3
  135. package/dist/chunks/{tool-yk3b2hhw.js → tool-krzbbgtd.js} +8 -8
  136. package/dist/chunks/{tool-cavr175a.js → tool-kvvk39gs.js} +3 -3
  137. package/dist/chunks/{tool-vdqy2d40.js → tool-kzgmjn1f.js} +10 -10
  138. package/dist/chunks/{tool-ec3xbt7p.js → tool-m8tjqkzb.js} +4 -4
  139. package/dist/chunks/{tool-jb98t3yg.js → tool-m9kfb99s.js} +8 -8
  140. package/dist/chunks/{tool-h6nxw0pd.js → tool-mdmbfqgq.js} +7 -7
  141. package/dist/chunks/{tool-djravzrm.js → tool-mrtp8nr7.js} +9 -9
  142. package/dist/chunks/{tool-5qwkxp89.js → tool-mwwxnxty.js} +3 -3
  143. package/dist/chunks/{tool-4mwpykj0.js → tool-mx9vqzsb.js} +5 -5
  144. package/dist/chunks/{tool-wdg5bjkg.js → tool-mzraw8ha.js} +6 -6
  145. package/dist/chunks/{tool-p872nfyh.js → tool-mzrc21xj.js} +39 -39
  146. package/dist/chunks/{tool-n9gejz5b.js → tool-n3kz9j5v.js} +5 -5
  147. package/dist/chunks/{tool-v4zkdgc9.js → tool-n7c1m45s.js} +15 -15
  148. package/dist/chunks/{tool-p9why5pw.js → tool-na90p5sz.js} +28 -28
  149. package/dist/chunks/{tool-a4ae1mqs.js → tool-ncnm8wen.js} +1 -1
  150. package/dist/chunks/{tool-z98n36ea.js → tool-nesyhtff.js} +16 -16
  151. package/dist/chunks/{tool-eq44gh0z.js → tool-ng6f7xag.js} +17 -17
  152. package/dist/chunks/{tool-eg18rmn3.js → tool-nkxtzyv4.js} +23 -23
  153. package/dist/chunks/{tool-d13qwqgh.js → tool-npt101jb.js} +22 -22
  154. package/dist/chunks/{tool-k86ctsz1.js → tool-p10vm95c.js} +7 -7
  155. package/dist/chunks/{tool-0tbrh5mv.js → tool-p2y4rtdg.js} +29 -29
  156. package/dist/chunks/{tool-epxcr31w.js → tool-p6hyfmfc.js} +2 -2
  157. package/dist/chunks/{tool-7ad5y3s6.js → tool-pdssdm3r.js} +41 -41
  158. package/dist/chunks/{tool-9frdx5hm.js → tool-pjsqfx9m.js} +4 -4
  159. package/dist/chunks/{tool-rva2vaqy.js → tool-pnzjke2r.js} +15 -15
  160. package/dist/chunks/{tool-qycxan82.js → tool-pvnmdee5.js} +1 -1
  161. package/dist/chunks/{tool-psb6wvpf.js → tool-pz19f1h4.js} +11 -11
  162. package/dist/chunks/{tool-8m8eqb0p.js → tool-pzcaekwn.js} +11 -11
  163. package/dist/chunks/{tool-ht5y0zrb.js → tool-q509s3k3.js} +4 -4
  164. package/dist/chunks/{tool-mw7fyssf.js → tool-qbd5ma0n.js} +8 -8
  165. package/dist/chunks/{tool-15brx7xh.js → tool-qc3y4bn0.js} +24 -24
  166. package/dist/chunks/{tool-ycm51zrg.js → tool-qdm0xvfe.js} +1 -1
  167. package/dist/chunks/{tool-0jwsre1p.js → tool-qgn6gcr1.js} +4 -4
  168. package/dist/chunks/{tool-veqef7sc.js → tool-qk33d3eb.js} +4 -4
  169. package/dist/chunks/{tool-nm9kjter.js → tool-qt17f4h7.js} +12 -12
  170. package/dist/chunks/{tool-h412aj1p.js → tool-qtq3p0wt.js} +43 -43
  171. package/dist/chunks/{tool-dr9qm9pw.js → tool-qx8vbekt.js} +9 -9
  172. package/dist/chunks/{tool-8f6m8c4b.js → tool-r1z1z81h.js} +9 -9
  173. package/dist/chunks/{tool-1zqsf2j9.js → tool-r9t00hsy.js} +7 -7
  174. package/dist/chunks/{tool-4nj4bn9q.js → tool-r9w3djhf.js} +7 -7
  175. package/dist/chunks/{tool-c2jpvny9.js → tool-rjep82nj.js} +18 -18
  176. package/dist/chunks/{tool-e9w3b6g9.js → tool-rx871m47.js} +1 -1
  177. package/dist/chunks/{tool-ab5g3gyt.js → tool-rxn8twjw.js} +16 -16
  178. package/dist/chunks/{tool-z6c3x22d.js → tool-s7nv2rwz.js} +3 -3
  179. package/dist/chunks/{tool-0ay65vhm.js → tool-scqzf1nw.js} +11 -11
  180. package/dist/chunks/{tool-ngqw0ypv.js → tool-see9wd13.js} +77 -77
  181. package/dist/chunks/{tool-a5fdf1es.js → tool-semz41dm.js} +7 -7
  182. package/dist/chunks/{tool-d761m3y3.js → tool-sgd5yhbj.js} +8 -8
  183. package/dist/chunks/{tool-8aaqm6qj.js → tool-sm965ndy.js} +7 -7
  184. package/dist/chunks/{tool-2hzmp1dp.js → tool-swk0q7s9.js} +1 -1
  185. package/dist/chunks/{tool-v1gpf2yb.js → tool-sxt8reb7.js} +33 -33
  186. package/dist/chunks/{tool-8yavwngc.js → tool-tcyk0gcq.js} +13 -13
  187. package/dist/chunks/{tool-sj09p6fx.js → tool-tdtgstz8.js} +18 -18
  188. package/dist/chunks/{tool-nb12znkd.js → tool-tnjsmpmj.js} +18 -18
  189. package/dist/chunks/{tool-2stxsqvh.js → tool-tpypbtav.js} +2 -2
  190. package/dist/chunks/{tool-veq1ptvw.js → tool-txw06jcg.js} +22 -22
  191. package/dist/chunks/{tool-cjmm0qt3.js → tool-tytd2jm0.js} +51 -51
  192. package/dist/chunks/{tool-3srzt07f.js → tool-vcccfxhw.js} +39 -39
  193. package/dist/chunks/{tool-m6hkzgzt.js → tool-vdg7jmx3.js} +17 -17
  194. package/dist/chunks/{tool-e41k2zcz.js → tool-vk9cvn9d.js} +30 -30
  195. package/dist/chunks/{tool-6c0e94qj.js → tool-vpfpr37q.js} +9 -9
  196. package/dist/chunks/{tool-fqa841x5.js → tool-w0jh0ny2.js} +11 -11
  197. package/dist/chunks/{tool-8a6ws7jr.js → tool-w36j0bmk.js} +7 -7
  198. package/dist/chunks/{tool-k2rcv5mf.js → tool-w7jnj522.js} +13 -13
  199. package/dist/chunks/{tool-v4xb2j5s.js → tool-wdeky1ys.js} +19 -19
  200. package/dist/chunks/{tool-kvq6zm8d.js → tool-wfdj1abq.js} +9 -9
  201. package/dist/chunks/{tool-esx0q18m.js → tool-wk2zpc1v.js} +10 -10
  202. package/dist/chunks/{tool-m6pz7yaw.js → tool-wkqs3fc0.js} +21 -21
  203. package/dist/chunks/{tool-mh8avh3a.js → tool-wpgamtwv.js} +29 -29
  204. package/dist/chunks/{tool-7t6d0zf6.js → tool-wyyj98bv.js} +3 -3
  205. package/dist/chunks/{tool-x5z5qag1.js → tool-x2jd95r3.js} +23 -23
  206. package/dist/chunks/{tool-72rw85ce.js → tool-xcmk6yw7.js} +8 -8
  207. package/dist/chunks/{tool-4434d9q2.js → tool-xecxzrdp.js} +7 -7
  208. package/dist/chunks/{tool-3px2wxdf.js → tool-xqq6j46d.js} +18 -18
  209. package/dist/chunks/{tool-78ss49vf.js → tool-y6wve3t3.js} +11 -11
  210. package/dist/chunks/{tool-7v9xsq6d.js → tool-ydty4xqc.js} +18 -18
  211. package/dist/chunks/{tool-4rsta4nx.js → tool-ymj5q7t9.js} +22 -22
  212. package/dist/chunks/{tool-dh608gq4.js → tool-ynky3s72.js} +18 -18
  213. package/dist/chunks/{tool-2r4zy24c.js → tool-yptech69.js} +27 -27
  214. package/dist/chunks/{tool-emd75jk3.js → tool-yxe8956e.js} +3 -3
  215. package/dist/chunks/{tool-pfthk98r.js → tool-yxnaqxdh.js} +2 -2
  216. package/dist/chunks/{tool-nd79nxgk.js → tool-z26t8xx0.js} +14 -14
  217. package/dist/chunks/{tool-jyqxqm4f.js → tool-z5n58sqq.js} +7 -7
  218. package/dist/chunks/{tool-w3nq1sqw.js → tool-zab19jja.js} +7 -7
  219. package/dist/chunks/{tool-5bx9xx12.js → tool-zbt4vqdm.js} +20 -20
  220. package/dist/chunks/{tool-dfjg1bp5.js → tool-zcdqtjtf.js} +46 -46
  221. package/dist/chunks/{tool-xa84tjd1.js → tool-zqrhdrkc.js} +36 -36
  222. package/dist/chunks/{tool-3k34870w.js → tool-zr70bgmb.js} +16 -16
  223. package/dist/chunks/{tool-d2czbp48.js → tool-zsr4wwhv.js} +3 -3
  224. package/dist/codemode/instructions.js +3 -3
  225. package/dist/command.js +64 -64
  226. package/dist/config/discovery.js +58 -58
  227. package/dist/config/normalize.js +74 -74
  228. package/dist/config/plugin/agent.js +83 -83
  229. package/dist/config/plugin/command.js +156 -156
  230. package/dist/config/plugin/compaction.js +110 -110
  231. package/dist/config/plugin/compatibility.js +97 -97
  232. package/dist/config/plugin/formatter.js +84 -84
  233. package/dist/config/plugin/image.js +83 -83
  234. package/dist/config/plugin/instruction.js +63 -63
  235. package/dist/config/plugin/location-watcher.js +83 -83
  236. package/dist/config/plugin/mcp.js +87 -87
  237. package/dist/config/plugin/policy.js +83 -83
  238. package/dist/config/plugin/provider.js +83 -83
  239. package/dist/config/plugin/reference.js +84 -84
  240. package/dist/config/plugin/shell.js +81 -81
  241. package/dist/config/plugin/skill-file.js +73 -73
  242. package/dist/config/plugin/skill.js +98 -98
  243. package/dist/config/plugin/snapshot.js +83 -83
  244. package/dist/config/plugin/source.js +86 -86
  245. package/dist/config/plugin/tool-output.js +84 -84
  246. package/dist/config/plugin/websearch.js +82 -82
  247. package/dist/config/plugin/worktree.js +85 -85
  248. package/dist/config.js +89 -89
  249. package/dist/credential.js +61 -61
  250. package/dist/database/database.js +49 -49
  251. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  252. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  253. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  254. package/dist/database/drizzle/index.js +9 -9
  255. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  256. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  257. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  258. package/dist/database/drizzle.js +9 -9
  259. package/dist/database/migration.gen.js +38 -38
  260. package/dist/database/migration.js +39 -39
  261. package/dist/database/v1-migration.bun.js +11 -11
  262. package/dist/effect/app-node-builder.js +231 -231
  263. package/dist/environment/environment.js +65 -65
  264. package/dist/environment/index.js +67 -67
  265. package/dist/event-logger.js +9 -9
  266. package/dist/file-access.js +76 -76
  267. package/dist/file-mutation.js +66 -66
  268. package/dist/filesystem/location-watcher-policy.js +5 -5
  269. package/dist/filesystem/location-watcher.js +167 -167
  270. package/dist/filesystem/search.js +69 -69
  271. package/dist/filesystem/watcher.js +13 -13
  272. package/dist/filesystem.js +72 -72
  273. package/dist/form.js +63 -63
  274. package/dist/formatter/builtins.js +3 -3
  275. package/dist/formatter.js +63 -63
  276. package/dist/generate.js +75 -75
  277. package/dist/git.js +6 -6
  278. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
  279. package/dist/github-copilot/copilot-provider.js +3 -3
  280. package/dist/github-copilot/models.js +75 -75
  281. package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
  282. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  283. package/dist/image/photon.js +1 -1
  284. package/dist/image.js +5 -5
  285. package/dist/instance/service.js +5 -5
  286. package/dist/instance.js +293 -293
  287. package/dist/instruction-discovery.js +65 -65
  288. package/dist/instructions/builtins.js +62 -62
  289. package/dist/integration/connection.js +3 -3
  290. package/dist/integration.js +67 -67
  291. package/dist/job.js +56 -56
  292. package/dist/kv.js +54 -54
  293. package/dist/location-activity.js +54 -54
  294. package/dist/location-lifecycle.js +79 -79
  295. package/dist/location-service-map.js +62 -62
  296. package/dist/location-services.js +291 -291
  297. package/dist/location.js +65 -65
  298. package/dist/managed-policy.js +5 -5
  299. package/dist/mcp/client.js +19 -19
  300. package/dist/mcp/index.js +73 -73
  301. package/dist/mcp/instructions.js +94 -94
  302. package/dist/mcp/oauth.js +13 -13
  303. package/dist/mcp/stdio.js +62 -62
  304. package/dist/modal/models.js +75 -75
  305. package/dist/model-resolver.js +74 -74
  306. package/dist/model.js +76 -76
  307. package/dist/models-dev.js +76 -76
  308. package/dist/permission/saved.js +61 -61
  309. package/dist/permission/sql.js +3 -3
  310. package/dist/permission.js +83 -83
  311. package/dist/persistent-pty/index.js +61 -61
  312. package/dist/persistent-pty.js +53 -53
  313. package/dist/plugin/agent.js +74 -74
  314. package/dist/plugin/command.js +72 -72
  315. package/dist/plugin/host.js +164 -164
  316. package/dist/plugin/identity.js +3 -3
  317. package/dist/plugin/internal.js +266 -266
  318. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  319. package/dist/plugin/models-dev.js +71 -71
  320. package/dist/plugin/module.js +4 -4
  321. package/dist/plugin/plan.js +74 -74
  322. package/dist/plugin/provider/amazon-bedrock.js +66 -66
  323. package/dist/plugin/provider/azure.js +84 -84
  324. package/dist/plugin/provider/chatgpt.js +68 -68
  325. package/dist/plugin/provider/cloudflare-ai-gateway.js +81 -81
  326. package/dist/plugin/provider/cloudflare-workers-ai.js +81 -81
  327. package/dist/plugin/provider/configured.js +80 -80
  328. package/dist/plugin/provider/digitalocean.js +68 -68
  329. package/dist/plugin/provider/github-copilot.js +70 -70
  330. package/dist/plugin/provider/gitlab.js +68 -68
  331. package/dist/plugin/provider/google-vertex.js +66 -66
  332. package/dist/plugin/provider/llmgateway.js +56 -56
  333. package/dist/plugin/provider/lmstudio.js +84 -84
  334. package/dist/plugin/provider/local.js +81 -81
  335. package/dist/plugin/provider/modal.js +68 -68
  336. package/dist/plugin/provider/ollama.js +84 -84
  337. package/dist/plugin/provider/openai.js +67 -67
  338. package/dist/plugin/provider/opencode.js +71 -71
  339. package/dist/plugin/provider/openrouter.js +67 -67
  340. package/dist/plugin/provider/poe.js +56 -56
  341. package/dist/plugin/provider/prompt-cache-key.js +66 -66
  342. package/dist/plugin/provider/sap-ai-core.js +66 -66
  343. package/dist/plugin/provider/snowflake-cortex.js +82 -82
  344. package/dist/plugin/provider/vercel.js +66 -66
  345. package/dist/plugin/provider/vllm.js +84 -84
  346. package/dist/plugin/provider/xai.js +67 -67
  347. package/dist/plugin/provider.js +115 -115
  348. package/dist/plugin/sdk.js +51 -51
  349. package/dist/plugin/service.js +3 -3
  350. package/dist/plugin/skill.js +98 -98
  351. package/dist/plugin/supervisor.js +280 -280
  352. package/dist/plugin/tool-input-repair.js +3 -3
  353. package/dist/plugin/update.js +5 -5
  354. package/dist/plugin/vcs/git.js +62 -62
  355. package/dist/plugin/vcs/hg.js +62 -62
  356. package/dist/plugin/verbosity.js +69 -69
  357. package/dist/plugin/warming.js +82 -82
  358. package/dist/plugin/websearch/exa.js +6 -6
  359. package/dist/plugin/websearch/firecrawl.js +7 -7
  360. package/dist/plugin/websearch/index.js +8 -8
  361. package/dist/plugin/websearch/mcp.js +3 -3
  362. package/dist/plugin/websearch/parallel.js +7 -7
  363. package/dist/plugin/websearch/tavily.js +6 -6
  364. package/dist/plugin/websearch/tinyfish.js +7 -7
  365. package/dist/plugin.js +175 -175
  366. package/dist/project/schema.js +7 -7
  367. package/dist/project/sql.js +2 -2
  368. package/dist/project.js +66 -66
  369. package/dist/provider.js +77 -77
  370. package/dist/pty.js +68 -68
  371. package/dist/reference/instructions.js +59 -59
  372. package/dist/reference.js +64 -64
  373. package/dist/repository-cache.js +55 -55
  374. package/dist/ripgrep.js +66 -66
  375. package/dist/rpc.js +62 -62
  376. package/dist/session/command.js +55 -55
  377. package/dist/session/compaction.js +98 -98
  378. package/dist/session/context.js +114 -114
  379. package/dist/session/diff.js +63 -63
  380. package/dist/session/environment.js +5 -5
  381. package/dist/session/error.js +4 -4
  382. package/dist/session/execution/restart.js +108 -108
  383. package/dist/session/execution.js +95 -95
  384. package/dist/session/generate.js +113 -113
  385. package/dist/session/history.js +9 -9
  386. package/dist/session/inbox.js +63 -63
  387. package/dist/session/info.js +2 -2
  388. package/dist/session/instruction-entry.js +59 -59
  389. package/dist/session/instruction-state.js +4 -4
  390. package/dist/session/instructions.js +71 -71
  391. package/dist/session/model-request.js +82 -82
  392. package/dist/session/model-transport.js +3 -3
  393. package/dist/session/move.js +97 -97
  394. package/dist/session/projector.js +61 -61
  395. package/dist/session/prompt.js +76 -76
  396. package/dist/session/provider-context.js +3 -3
  397. package/dist/session/revert.js +64 -64
  398. package/dist/session/runner/index.js +3 -3
  399. package/dist/session/runner/llm.js +173 -173
  400. package/dist/session/runner/model.js +74 -74
  401. package/dist/session/runner/publish-llm-event.js +84 -84
  402. package/dist/session/runner/step.js +89 -89
  403. package/dist/session/runner/to-llm-message.js +2 -2
  404. package/dist/session/schema.js +5 -5
  405. package/dist/session/session.js +121 -121
  406. package/dist/session/shell.js +92 -92
  407. package/dist/session/skill.js +75 -75
  408. package/dist/session/sql.js +3 -3
  409. package/dist/session/stats.js +10 -10
  410. package/dist/session/store.js +64 -64
  411. package/dist/session/subagent-job.js +155 -155
  412. package/dist/session/title.js +115 -115
  413. package/dist/session/to-session-error.js +83 -83
  414. package/dist/session/transfer.js +107 -107
  415. package/dist/session.js +164 -164
  416. package/dist/shell/parse.js +2 -2
  417. package/dist/shell/select.js +5 -5
  418. package/dist/shell.js +93 -93
  419. package/dist/skill/discovery.js +5 -5
  420. package/dist/skill/instructions.js +75 -75
  421. package/dist/skill.js +84 -84
  422. package/dist/snapshot.js +67 -67
  423. package/dist/tool/mcp.js +93 -93
  424. package/dist/tool/plugin/edit.js +87 -87
  425. package/dist/tool/plugin/glob.js +90 -90
  426. package/dist/tool/plugin/grep.js +88 -88
  427. package/dist/tool/plugin/mcp-resource.js +85 -85
  428. package/dist/tool/plugin/opencode.js +3 -3
  429. package/dist/tool/plugin/patch.js +89 -89
  430. package/dist/tool/plugin/question.js +77 -77
  431. package/dist/tool/plugin/read.js +91 -91
  432. package/dist/tool/plugin/shell.js +157 -157
  433. package/dist/tool/plugin/skill.js +85 -85
  434. package/dist/tool/plugin/subagent.js +164 -164
  435. package/dist/tool/plugin/webfetch.js +80 -80
  436. package/dist/tool/plugin/websearch.js +83 -83
  437. package/dist/tool/plugin/write.js +89 -89
  438. package/dist/tool/read-filesystem.js +70 -70
  439. package/dist/tool-output.js +5 -5
  440. package/dist/tool.js +8 -8
  441. package/dist/v1/config/agent.js +4 -4
  442. package/dist/v1/config/command.js +5 -5
  443. package/dist/v1/config/mcp.js +3 -3
  444. package/dist/v1/config/migrate.js +67 -67
  445. package/dist/v1/config/permission.js +3 -3
  446. package/dist/v1/config/plugin.js +3 -3
  447. package/dist/v1/config/provider.js +3 -3
  448. package/dist/variant.js +67 -67
  449. package/dist/vcs.js +65 -65
  450. package/dist/websearch.js +63 -63
  451. package/dist/wellknown/plugin.js +55 -55
  452. package/dist/wellknown.js +58 -58
  453. package/dist/workspace/driver.js +7 -7
  454. package/dist/workspace.js +59 -59
  455. package/dist/worktree/directory.js +1 -1
  456. package/dist/worktree/git.js +4 -4
  457. package/dist/worktree/sql.js +3 -3
  458. package/dist/worktree/strategies.js +65 -65
  459. package/dist/worktree.js +71 -71
  460. package/package.json +9 -9
  461. package/dist/chunks/tool-cqsczj1k.js +0 -26
  462. /package/dist/chunks/{tool-64mbz47k.js → tool-08ed4zmw.js} +0 -0
  463. /package/dist/chunks/{tool-0vbcp93d.js → tool-0emb60td.js} +0 -0
  464. /package/dist/chunks/{tool-h2b79v29.js → tool-3cegwx68.js} +0 -0
  465. /package/dist/chunks/{tool-a694798e.js → tool-5d17xbav.js} +0 -0
  466. /package/dist/chunks/{tool-nxn2kzp1.js → tool-9thxh3x6.js} +0 -0
  467. /package/dist/chunks/{tool-99rd90tq.js → tool-mktzjf14.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./tool-emd75jk3.js";
3
+ } from "./tool-yxe8956e.js";
4
4
  import {
5
5
  Service83
6
- } from "./tool-ycm51zrg.js";
6
+ } from "./tool-qdm0xvfe.js";
7
7
  import {
8
- ID17,
8
+ ID15,
9
9
  OAuth3,
10
- Event20,
11
- Service81
12
- } from "./tool-1spn70p8.js";
10
+ Event19,
11
+ Service78
12
+ } from "./tool-66t34m9w.js";
13
13
  import {
14
14
  key2
15
- } from "./tool-3y377wv9.js";
15
+ } from "./tool-addxnjmp.js";
16
16
  import {
17
- ID16,
17
+ ID14,
18
18
  MethodID2
19
- } from "./tool-gzwmz214.js";
19
+ } from "./tool-303t2pvh.js";
20
20
  import {
21
21
  which2
22
22
  } from "./tool-qaymkmh1.js";
23
23
  import {
24
- ID9,
25
- Service66
26
- } from "./tool-e41k2zcz.js";
24
+ ID13,
25
+ Service76
26
+ } from "./tool-vk9cvn9d.js";
27
27
  import {
28
- ID8
29
- } from "./tool-p9why5pw.js";
28
+ ID5
29
+ } from "./tool-na90p5sz.js";
30
30
  import {
31
31
  iife2
32
32
  } from "./tool-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./tool-0vgvvwxq.js";
35
+ } from "./tool-kc6hkr7d.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make4(endpoints = {
70
+ function make5(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
74
74
  return define({
75
75
  id: "opencode.provider.azure",
76
76
  effect: Effect.fn(function* (ctx) {
77
- const configured = yield* configuredSettings2(ID9.azure);
77
+ const configured = yield* configuredSettings2(ID13.azure);
78
78
  const processes = yield* AppProcess.Service;
79
79
  const bus = yield* Service83;
80
- const credentials = yield* Service81;
81
- const providers = yield* Service66;
80
+ const credentials = yield* Service78;
81
+ const providers = yield* Service76;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -116,13 +116,13 @@ function make4(endpoints = {
116
116
  });
117
117
  yield* ctx.integration.transform((editor) => {
118
118
  editor.method.update({
119
- integrationID: ID9.azure,
119
+ integrationID: ID13.azure,
120
120
  method: { type: "key", label: "API key", form: form() }
121
121
  });
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID9.azure,
125
+ integrationID: ID13.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "oauth",
@@ -152,8 +152,8 @@ function make4(endpoints = {
152
152
  });
153
153
  });
154
154
  const load = Effect.fn("AzurePlugin.load")(function* () {
155
- const connection = yield* ctx.integration.connection.active(ID9.azure);
156
- const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
155
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
156
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
159
159
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -192,7 +192,7 @@ function make4(endpoints = {
192
192
  }));
193
193
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
194
194
  const connection = loaded.connection;
195
- const settings = (yield* providers.get(ID9.azure))?.settings;
195
+ const settings = (yield* providers.get(ID13.azure))?.settings;
196
196
  const name = loaded.resource ?? resolveResourceName(settings);
197
197
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
198
198
  if (loaded.connection !== connection)
@@ -214,11 +214,11 @@ function make4(endpoints = {
214
214
  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))));
215
215
  if (!found)
216
216
  return;
217
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID9.azure)))
217
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
218
218
  return;
219
219
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
220
220
  return;
221
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID9.azure)?.models.keys() ?? [], (id) => [
221
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
222
222
  id.toLowerCase(),
223
223
  id
224
224
  ]));
@@ -231,11 +231,11 @@ function make4(endpoints = {
231
231
  yield* ctx.model.reload();
232
232
  });
233
233
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
234
- const resourceFor = (provider) => provider.id === ID9.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
234
+ const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
235
235
  Object.assign(loaded, yield* load());
236
236
  yield* ctx.provider.transform((evt) => {
237
237
  for (const item of evt.list()) {
238
- if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
238
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
239
239
  continue;
240
240
  const resourceName = resourceFor(item.provider);
241
241
  const websocket = responsesWebSocketCapable(item.provider);
@@ -250,7 +250,7 @@ function make4(endpoints = {
250
250
  };
251
251
  });
252
252
  }
253
- const item = evt.get(ID9.azure);
253
+ const item = evt.get(ID13.azure);
254
254
  if (!item)
255
255
  return;
256
256
  evt.add({
@@ -261,7 +261,7 @@ function make4(endpoints = {
261
261
  });
262
262
  yield* ctx.model.transform((models) => {
263
263
  for (const item of models.provider.list()) {
264
- if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
264
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
265
265
  continue;
266
266
  const resourceName = resourceFor(item.provider);
267
267
  for (const model of models.list(item.provider.id)) {
@@ -273,20 +273,20 @@ function make4(endpoints = {
273
273
  }
274
274
  if (!loaded.deployments)
275
275
  return;
276
- const catalog = models.list(ID9.azure);
276
+ const catalog = models.list(ID13.azure);
277
277
  const deployed = deployedModels(loaded.deployments, catalog);
278
278
  for (const model of catalog) {
279
279
  if (!deployed.has(model.id))
280
- models.remove(ID9.azure, model.id);
280
+ models.remove(ID13.azure, model.id);
281
281
  }
282
282
  for (const [id, model] of deployed) {
283
- models.update(ID9.azure, id, (draft) => Object.assign(draft, model));
283
+ models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
284
284
  }
285
285
  });
286
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
286
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
287
287
  yield* refresh().pipe(Effect.forkScoped);
288
288
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
289
- const connection = yield* ctx.integration.connection.active(ID9.azure);
289
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
290
290
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
291
291
  return;
292
292
  })) : undefined;
@@ -298,7 +298,7 @@ function make4(endpoints = {
298
298
  return `Bearer ${current.access}`;
299
299
  });
300
300
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
301
- if (evt.model.providerID !== ID9.azure)
301
+ if (evt.model.providerID !== ID13.azure)
302
302
  return;
303
303
  const authorization = yield* bearer(evt.request.url);
304
304
  if (!authorization)
@@ -307,9 +307,9 @@ function make4(endpoints = {
307
307
  evt.request.headers.delete("x-api-key");
308
308
  evt.request.headers.set("authorization", authorization);
309
309
  evt.request.headers.set("user-agent", useragent2(ctx.app));
310
- }), { providerID: ID9.azure });
310
+ }), { providerID: ID13.azure });
311
311
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
312
- if (evt.model.providerID !== ID9.azure)
312
+ if (evt.model.providerID !== ID13.azure)
313
313
  return;
314
314
  const authorization = yield* bearer(evt.url);
315
315
  if (!authorization)
@@ -318,11 +318,11 @@ function make4(endpoints = {
318
318
  delete evt.headers["x-api-key"];
319
319
  evt.headers.authorization = authorization;
320
320
  evt.headers["user-agent"] = useragent2(ctx.app);
321
- }), { providerID: ID9.azure });
321
+ }), { providerID: ID13.azure });
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make4();
325
+ var AzurePlugin2 = make5();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
352
352
  const model = catalogModel(models, deployment);
353
353
  if (!model)
354
354
  return [];
355
- const id = ID8.make(deployment.name.toLowerCase());
355
+ const id = ID5.make(deployment.name.toLowerCase());
356
356
  const info = {
357
357
  ...structuredClone(model),
358
358
  id,
359
- modelID: ID8.make(deployment.name),
359
+ modelID: ID5.make(deployment.name),
360
360
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
361
361
  };
362
362
  return [[id, info]];
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make4, AzurePlugin2 };
381
+ export { make5, AzurePlugin2 };
@@ -2,18 +2,18 @@ import {
2
2
  PATCH_CONTEXT_LINES2
3
3
  } from "./tool-tazgh4e4.js";
4
4
  import {
5
- ID5,
6
- Service45
7
- } from "./tool-mh8avh3a.js";
5
+ ID7,
6
+ Service68
7
+ } from "./tool-wpgamtwv.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./tool-58072hz9.js";
10
+ } from "./tool-axe3mf62.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./tool-9frdx5hm.js";
13
+ } from "./tool-pjsqfx9m.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./tool-9e5bzkjp.js";
16
+ } from "./tool-kb9j3d72.js";
17
17
  import {
18
18
  __export
19
19
  } from "./tool-9rqn6x4v.js";
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service45;
84
+ const snapshot = yield* Service68;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID5.make(from),
91
- to: ID5.make(to),
90
+ from: ID7.make(from),
91
+ to: ID7.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service52
3
- } from "./tool-3srzt07f.js";
2
+ Service39
3
+ } from "./tool-vcccfxhw.js";
4
4
  import {
5
- Service10
6
- } from "./tool-djszqvmq.js";
5
+ Service11
6
+ } from "./tool-2sejkfem.js";
7
7
  import {
8
8
  observe2
9
9
  } from "./tool-qsdy395h.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin37
18
+ Plugin: () => Plugin40
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin37 = define({
22
+ var Plugin40 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service52;
26
- const policy = yield* Service10;
25
+ const config = yield* Service39;
26
+ const policy = yield* Service11;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin37 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin37, exports_location_watcher2 };
38
+ export { Plugin40, exports_location_watcher2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  call2
3
- } from "./tool-33w4ejhs.js";
3
+ } from "./tool-1ygqh575.js";
4
4
  import {
5
5
  __export
6
6
  } from "./tool-9rqn6x4v.js";
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin19,
11
+ Plugin: () => Plugin6,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint6
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint3 = "https://mcp.exa.ai/mcp";
18
+ var endpoint6 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin19 = define({
30
+ var Plugin6 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin19 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint3);
52
+ const url = new URL(endpoint6);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint3, Plugin19, exports_exa };
83
+ export { endpoint6, Plugin6, exports_exa };
@@ -9,22 +9,22 @@ import {
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service5,
13
- node: () => node6
12
+ Service: () => Service4,
13
+ node: () => node5
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service5 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service4 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service5, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service5.of({
27
+ return Service4.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node6 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
52
+ var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service5, node6, exports_update };
54
+ export { Service4, node5, exports_update };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./tool-ycm51zrg.js";
4
+ } from "./tool-qdm0xvfe.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
@@ -9,11 +9,11 @@ import {
9
9
  } from "./tool-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./tool-1402mhzs.js";
12
+ } from "./tool-jy0x8hkf.js";
13
13
  import {
14
- Service75,
15
- node79
16
- } from "./tool-ab5g3gyt.js";
14
+ Service80,
15
+ node84
16
+ } from "./tool-rxn8twjw.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info4,
32
+ Info: () => Info15,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service18,
35
+ Service: () => Service55,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node21
37
+ node: () => node58
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info15, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service18 extends Context.Service()("@opencode/Vcs") {
57
+ class Service55 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service18, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service75;
61
+ const location = yield* Service80;
62
62
  const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info15));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service18.of({
132
+ return Service55.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node21 = makeLocationNode({
191
- service: Service18,
190
+ var node58 = makeLocationNode({
191
+ service: Service55,
192
192
  layer,
193
- deps: [FSUtil.node, node79, node87]
193
+ deps: [FSUtil.node, node84, node87]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service18, node21, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info15, Mode2, DiffError2, InitializeError2, Service55, node58, exports_vcs };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./tool-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./tool-nxn2kzp1.js";
7
+ } from "./tool-9thxh3x6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service76,
3
- node80
4
- } from "./tool-1402mhzs.js";
2
+ Service81,
3
+ node85
4
+ } from "./tool-jy0x8hkf.js";
5
5
  import {
6
6
  __export
7
7
  } from "./tool-9rqn6x4v.js";
@@ -9,25 +9,25 @@ import {
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info23,
12
+ Info: () => Info27,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref3,
15
- Service: () => Service75,
14
+ Ref: () => Ref4,
15
+ Service: () => Service80,
16
16
  boundNode: () => boundNode2,
17
- node: () => node79,
17
+ node: () => node84,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info23, Ref as Ref3, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service75 extends Context.Service()("@opencode/Location") {
24
+ class Service80 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node79 = LayerNode.unbound(Service75, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service75, Effect.gen(function* () {
28
- const project = yield* Service76;
26
+ var node84 = LayerNode.unbound(Service80, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
+ const project = yield* Service81;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service75.of({
30
+ return Service80.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service75, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service75,
38
+ service: Service80,
39
39
  layer: layer(ref),
40
- deps: [node80]
40
+ deps: [node85]
41
41
  });
42
42
 
43
- export { Info23, Ref3, response2, Service75, node79, boundNode2, exports_location };
43
+ export { Info27, Ref4, response2, Service80, node84, boundNode2, exports_location };
@@ -9,7 +9,7 @@ import {
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info15,
12
+ Info: () => Info10,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info15 = Schema.Struct({
64
+ var Info10 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info15 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info15, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info10, exports_provider2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service75,
3
- node79
4
- } from "./tool-ab5g3gyt.js";
2
+ Service80,
3
+ node84
4
+ } from "./tool-rxn8twjw.js";
5
5
  import {
6
6
  Key3,
7
7
  make22,
@@ -15,18 +15,18 @@ import {
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service38,
19
- node: () => node41
18
+ Service: () => Service27,
19
+ node: () => node30
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service38 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service27 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service38, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service75;
29
- return Service38.of({
28
+ const location = yield* Service80;
29
+ return Service27.of({
30
30
  load: () => Effect.succeed(combine2([
31
31
  make22({
32
32
  key: Key3.make("core/date"),
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node41 = makeLocationNode({ service: Service38, layer, deps: [Global.node, node79] });
63
+ var node30 = makeLocationNode({ service: Service27, layer, deps: [Global.node, node84] });
64
64
 
65
- export { Service38, node41, exports_builtins };
65
+ export { Service27, node30, exports_builtins };