@opencode/core 0.0.0-dev-21340 → 0.0.0-dev-21344

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 (476) hide show
  1. package/dist/agent.js +65 -65
  2. package/dist/aisdk-native.js +68 -68
  3. package/dist/aisdk.js +71 -71
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +54 -54
  6. package/dist/chunks/{form-5wr9n5bc.js → form-03hw1891.js} +18 -18
  7. package/dist/chunks/{form-r2zk8jj2.js → form-05praa0f.js} +17 -17
  8. package/dist/chunks/{form-tpr2dqt6.js → form-06qmw05c.js} +19 -19
  9. package/dist/chunks/{form-4eh83hae.js → form-0nwnefwx.js} +21 -21
  10. package/dist/chunks/{form-rc9vttjd.js → form-12ceq3sd.js} +16 -16
  11. package/dist/chunks/{form-dtkj6t2x.js → form-16jfehqd.js} +30 -30
  12. package/dist/chunks/{form-svvda557.js → form-1851grx7.js} +9 -9
  13. package/dist/chunks/{form-jevsscxn.js → form-1a8kzx3z.js} +8 -8
  14. package/dist/chunks/{form-ym4b2kva.js → form-1f0rm155.js} +11 -11
  15. package/dist/chunks/{form-bjx1sjef.js → form-1ffvrpkg.js} +4 -4
  16. package/dist/chunks/{form-egwezsn2.js → form-1mn6fryd.js} +29 -29
  17. package/dist/chunks/{form-6yz0wx8n.js → form-1pxz8ven.js} +3 -3
  18. package/dist/chunks/{form-ngv1hrws.js → form-1rh4e964.js} +9 -9
  19. package/dist/chunks/{form-xx4eqekj.js → form-1v56txv5.js} +27 -27
  20. package/dist/chunks/{form-9sh4wc5j.js → form-1x11rq2a.js} +4 -4
  21. package/dist/chunks/{form-61s75xk5.js → form-1xag7s0d.js} +9 -9
  22. package/dist/chunks/{form-b0frvc6a.js → form-1zvfhj0e.js} +20 -20
  23. package/dist/chunks/{form-92swnv4m.js → form-22sd1qqc.js} +7 -7
  24. package/dist/chunks/{form-abnya1q3.js → form-24whbny8.js} +10 -10
  25. package/dist/chunks/{form-hhm4rk5s.js → form-251hxpd6.js} +1 -1
  26. package/dist/chunks/{form-ykbgc1mn.js → form-268xe8g9.js} +7 -7
  27. package/dist/chunks/{form-zcrspsvn.js → form-2vs2nh1n.js} +3 -3
  28. package/dist/chunks/{form-0jqywv5j.js → form-2z0hcvmw.js} +11 -11
  29. package/dist/chunks/{form-zqjsn67b.js → form-38cy47c3.js} +6 -6
  30. package/dist/chunks/{form-q0n5p59x.js → form-3gc7db2q.js} +8 -8
  31. package/dist/chunks/{form-7f8j414w.js → form-3jqnp5e1.js} +16 -16
  32. package/dist/chunks/{form-pww2q2ts.js → form-3kmbmqbb.js} +1 -1
  33. package/dist/chunks/{form-tprmfzaq.js → form-3mgq9tn8.js} +13 -13
  34. package/dist/chunks/{form-2tzz6wa4.js → form-3n01zwdf.js} +47 -47
  35. package/dist/chunks/{form-55xzanda.js → form-3snckwy5.js} +18 -18
  36. package/dist/chunks/{form-1n047p2a.js → form-3xh7hkzg.js} +16 -16
  37. package/dist/chunks/{form-7dx0mp5a.js → form-43pfpj47.js} +2 -2
  38. package/dist/chunks/{form-kgash78d.js → form-45ptwq2c.js} +4 -4
  39. package/dist/chunks/{form-n68wnkf7.js → form-46tcmqje.js} +19 -19
  40. package/dist/chunks/{form-kzbxs04q.js → form-48sw23k9.js} +16 -16
  41. package/dist/chunks/form-49xamyg9.js +257 -0
  42. package/dist/chunks/{form-tq73j5ey.js → form-4kpsjb1s.js} +5 -5
  43. package/dist/chunks/{form-zkdxs0f7.js → form-4r8b378w.js} +8 -8
  44. package/dist/chunks/{form-4fw7esra.js → form-4xf1jpfm.js} +3 -3
  45. package/dist/chunks/{form-qwert80r.js → form-517dcg1a.js} +4 -4
  46. package/dist/chunks/{form-nvbqagkz.js → form-5h12h0cy.js} +33 -33
  47. package/dist/chunks/{form-e3qxr5gk.js → form-5qd3pb7m.js} +2 -2
  48. package/dist/chunks/{form-mmjb59xw.js → form-5zh9a8yb.js} +22 -22
  49. package/dist/chunks/{form-4n9d0tgx.js → form-64vmcaw9.js} +41 -41
  50. package/dist/chunks/{form-jm9pv4jw.js → form-65mr19er.js} +10 -10
  51. package/dist/chunks/{form-91js1pam.js → form-6cw2sbjh.js} +16 -16
  52. package/dist/chunks/{form-jbr6yd38.js → form-7217af1g.js} +14 -14
  53. package/dist/chunks/{form-dbt3qtfn.js → form-7eh5v8ez.js} +22 -22
  54. package/dist/chunks/{form-0p4mvthy.js → form-7g9ka3b7.js} +13 -13
  55. package/dist/chunks/{form-4krksnp0.js → form-7je7e60q.js} +19 -19
  56. package/dist/chunks/{form-0bkg5nam.js → form-7n556vnp.js} +28 -28
  57. package/dist/chunks/{form-2nragry7.js → form-7xhhy66q.js} +12 -12
  58. package/dist/chunks/{form-a4f079eb.js → form-861n07f3.js} +16 -16
  59. package/dist/chunks/{form-n2fddagm.js → form-86d0rtkg.js} +8 -8
  60. package/dist/chunks/{form-tcezcvh9.js → form-89znhe33.js} +3 -3
  61. package/dist/chunks/form-8dempt9d.js +26 -0
  62. package/dist/chunks/{form-hxpm8s3f.js → form-8myr7ban.js} +3 -3
  63. package/dist/chunks/{form-rsrjg9aq.js → form-8pdcb37s.js} +180 -180
  64. package/dist/chunks/{form-ymx7xvyq.js → form-90gj6ab4.js} +20 -20
  65. package/dist/chunks/{form-r4gn9rws.js → form-9f3m9enf.js} +36 -36
  66. package/dist/chunks/{form-vawf6b6n.js → form-9hhx5af9.js} +2 -2
  67. package/dist/chunks/{form-6n9djq0h.js → form-9vkgtp31.js} +9 -9
  68. package/dist/chunks/{form-cf8mxv8s.js → form-9yd6k3gs.js} +27 -27
  69. package/dist/chunks/{form-fbvxegff.js → form-a5wmqwpc.js} +5 -5
  70. package/dist/chunks/{form-rp9znzbk.js → form-a9fy9mxz.js} +4 -4
  71. package/dist/chunks/{form-kbs0fn1w.js → form-awg6j8k5.js} +12 -12
  72. package/dist/chunks/{form-7zzdk6j1.js → form-bmkdxg01.js} +327 -327
  73. package/dist/chunks/{form-pbtbray8.js → form-brndm0ne.js} +18 -18
  74. package/dist/chunks/{form-bvse6ds2.js → form-c61xra83.js} +25 -25
  75. package/dist/chunks/{form-n8p3yyy1.js → form-c6jrq38e.js} +10 -10
  76. package/dist/chunks/{form-man6r55w.js → form-caz0srpv.js} +8 -8
  77. package/dist/chunks/{form-6xwkk55c.js → form-cdyfjk22.js} +7 -7
  78. package/dist/chunks/{form-b89refpb.js → form-cefkz2r6.js} +1 -1
  79. package/dist/chunks/{form-qc22nsxb.js → form-cjd6ew82.js} +16 -16
  80. package/dist/chunks/{form-px1ej7j2.js → form-ck9mnxsy.js} +19 -19
  81. package/dist/chunks/{form-8hpy5qx6.js → form-crj8jj8v.js} +24 -24
  82. package/dist/chunks/{form-am8khs7c.js → form-ct33827a.js} +24 -24
  83. package/dist/chunks/{form-g454qmhn.js → form-ctf2yk4c.js} +32 -32
  84. package/dist/chunks/{form-5g85rz3q.js → form-cyj5tmxp.js} +19 -19
  85. package/dist/chunks/{form-t0pyhqcw.js → form-d04ep358.js} +8 -8
  86. package/dist/chunks/{form-zerhytxa.js → form-d31hr9cr.js} +12 -12
  87. package/dist/chunks/{form-j9dnpnxm.js → form-d45h4px0.js} +55 -55
  88. package/dist/chunks/{form-kmgdj4b7.js → form-d7j2b6b5.js} +4 -4
  89. package/dist/chunks/{form-n9z01exy.js → form-dgp61zeh.js} +14 -14
  90. package/dist/chunks/{form-2sejkfem.js → form-djszqvmq.js} +7 -7
  91. package/dist/chunks/{form-y71avatq.js → form-dpkg50ah.js} +3 -3
  92. package/dist/chunks/{form-0s7awbhn.js → form-e03vnsya.js} +1 -1
  93. package/dist/chunks/{form-v70j0478.js → form-e0vw22bh.js} +9 -9
  94. package/dist/chunks/{form-j73xx5v2.js → form-e17kez53.js} +12 -12
  95. package/dist/chunks/{form-zpq5tdxv.js → form-e6b459zv.js} +24 -24
  96. package/dist/chunks/{form-vep9yay1.js → form-e7gxy7fd.js} +3 -3
  97. package/dist/chunks/{form-962zhnx1.js → form-eba4qtm8.js} +27 -27
  98. package/dist/chunks/{form-tvq4fmk2.js → form-ejrgmtaq.js} +7 -7
  99. package/dist/chunks/{form-ct5beqmq.js → form-eps22w94.js} +9 -9
  100. package/dist/chunks/{form-jqd7rvfh.js → form-es3vcbkv.js} +3 -3
  101. package/dist/chunks/{form-frnhj82z.js → form-exh5eq2b.js} +9 -9
  102. package/dist/chunks/{form-sagdypxn.js → form-f88m6yqb.js} +9 -9
  103. package/dist/chunks/{form-tekdv28b.js → form-fhvqd07r.js} +14 -14
  104. package/dist/chunks/{form-0qaxnjep.js → form-fj60yz2g.js} +21 -21
  105. package/dist/chunks/{form-wz9398tt.js → form-ft0vqakg.js} +40 -40
  106. package/dist/chunks/{form-e7a0tnjd.js → form-fww2ha2b.js} +8 -8
  107. package/dist/chunks/{form-nzndyyrp.js → form-fz4d0gag.js} +40 -40
  108. package/dist/chunks/{form-wdfe9bpp.js → form-g2t9s127.js} +4 -4
  109. package/dist/chunks/{form-aat25gmm.js → form-g4m4kdwx.js} +18 -18
  110. package/dist/chunks/{form-y7nndgyc.js → form-g686f6pq.js} +7 -7
  111. package/dist/chunks/{form-mc39ckc0.js → form-g6smwwgg.js} +10 -10
  112. package/dist/chunks/{form-ez4eysx7.js → form-g7cb5dsr.js} +27 -27
  113. package/dist/chunks/{form-tv2qmm1m.js → form-g97htqd3.js} +17 -17
  114. package/dist/chunks/{form-he8gezxy.js → form-ggd4e67m.js} +17 -17
  115. package/dist/chunks/{form-j2ahjm38.js → form-ggkcxy96.js} +8 -8
  116. package/dist/chunks/{form-b2zs7akg.js → form-ghxkdvab.js} +41 -41
  117. package/dist/chunks/{form-nb3eeafx.js → form-gnbbadj4.js} +45 -45
  118. package/dist/chunks/{form-adnpvf0n.js → form-gp275c3d.js} +78 -78
  119. package/dist/chunks/{form-h0et906m.js → form-gpmesn0v.js} +39 -39
  120. package/dist/chunks/{form-rpqs4zrr.js → form-gv897vmw.js} +13 -13
  121. package/dist/chunks/{form-eeeprd1m.js → form-gvj76kbm.js} +13 -13
  122. package/dist/chunks/{form-xed4prex.js → form-gwc3z95n.js} +20 -20
  123. package/dist/chunks/{form-g2brvksk.js → form-h1vf0xqq.js} +23 -23
  124. package/dist/chunks/{form-80zvrhj7.js → form-h2r6cra7.js} +24 -24
  125. package/dist/chunks/{form-67k81bmf.js → form-h3jggzk4.js} +1 -1
  126. package/dist/chunks/{form-w1xdw7re.js → form-hg8tkm75.js} +6 -6
  127. package/dist/chunks/{form-fxaymqdw.js → form-hq3c8me3.js} +3 -3
  128. package/dist/chunks/{form-wegah70x.js → form-hw9vqzfw.js} +40 -40
  129. package/dist/chunks/{form-2wzyh2nh.js → form-hzt320k7.js} +13 -13
  130. package/dist/chunks/{form-5e1pzs32.js → form-j1mj860n.js} +7 -7
  131. package/dist/chunks/{form-3xzhnrg0.js → form-j5897gd2.js} +21 -21
  132. package/dist/chunks/{form-h48rpa6y.js → form-jpatghfr.js} +7 -7
  133. package/dist/chunks/{form-1hqqab4s.js → form-jtf29y2t.js} +10 -10
  134. package/dist/chunks/{form-1tcnrg0s.js → form-k3qrda5j.js} +17 -17
  135. package/dist/chunks/{form-dk6zbvkj.js → form-k60xj1t7.js} +1 -1
  136. package/dist/chunks/{form-rvqf1hhw.js → form-kj0herga.js} +21 -21
  137. package/dist/chunks/{form-cqfbx4h9.js → form-km5g435h.js} +4 -4
  138. package/dist/chunks/{form-2jybnyep.js → form-kx5nz21w.js} +15 -15
  139. package/dist/chunks/{form-bvdpv0z0.js → form-m3s3xc92.js} +25 -25
  140. package/dist/chunks/{form-02sakfs1.js → form-mbtcjnsj.js} +7 -7
  141. package/dist/chunks/{form-aza9mb39.js → form-mjb8sty1.js} +12 -12
  142. package/dist/chunks/{form-xkhfjrgz.js → form-my4zabxr.js} +3 -3
  143. package/dist/chunks/{form-0r36wfjw.js → form-mze36jyg.js} +19 -19
  144. package/dist/chunks/{form-jhyjs82x.js → form-n3gv7a1h.js} +25 -25
  145. package/dist/chunks/{form-55m81wnp.js → form-nj7hqrdc.js} +8 -8
  146. package/dist/chunks/{form-kwqx9ezn.js → form-njd51qxm.js} +24 -24
  147. package/dist/chunks/{form-2aqgybcp.js → form-nkc1tx59.js} +21 -21
  148. package/dist/chunks/{form-rense280.js → form-nnatg56w.js} +22 -22
  149. package/dist/chunks/{form-pk9fe0rg.js → form-npw39rc8.js} +9 -9
  150. package/dist/chunks/{form-6yb97afg.js → form-ntwbnv8p.js} +7 -7
  151. package/dist/chunks/{form-g6f94y0n.js → form-nvb1bc80.js} +12 -12
  152. package/dist/chunks/{form-v13b12ef.js → form-nz56sr1f.js} +3 -3
  153. package/dist/chunks/{form-ckh33p24.js → form-p0ztmah6.js} +22 -22
  154. package/dist/chunks/{form-tp68cw24.js → form-p9z0zkdt.js} +19 -19
  155. package/dist/chunks/{form-50aa1a66.js → form-pgty7w5v.js} +33 -33
  156. package/dist/chunks/{form-54bvb9cj.js → form-pkywgpj6.js} +24 -24
  157. package/dist/chunks/{form-tg63fvkh.js → form-prv28kd3.js} +12 -12
  158. package/dist/chunks/{form-rt5r8wym.js → form-pxp0janp.js} +31 -31
  159. package/dist/chunks/{form-3n1993ym.js → form-pypvpsrm.js} +9 -9
  160. package/dist/chunks/{form-cd4peczh.js → form-q3nahge5.js} +29 -29
  161. package/dist/chunks/{form-vzs67vbf.js → form-q82c1dje.js} +77 -77
  162. package/dist/chunks/{form-2ypbq784.js → form-qfv36mrb.js} +4 -4
  163. package/dist/chunks/{form-fcrkznn8.js → form-qgn6gcr1.js} +4 -4
  164. package/dist/chunks/{form-zswrtyyf.js → form-qh43smsn.js} +16 -16
  165. package/dist/chunks/{form-je3wc35j.js → form-qm4y2xbd.js} +17 -17
  166. package/dist/chunks/{form-bbk4sw4d.js → form-qq5nsf62.js} +22 -22
  167. package/dist/chunks/{form-rq76fwbg.js → form-qy0p29jn.js} +16 -16
  168. package/dist/chunks/{form-5xhehs7n.js → form-ra3vfzv1.js} +7 -7
  169. package/dist/chunks/{form-16ptnzp4.js → form-rc6vcpxp.js} +24 -24
  170. package/dist/chunks/{form-cr0bat6b.js → form-rcmz3p1d.js} +14 -14
  171. package/dist/chunks/{form-6pc27hjz.js → form-rkprpv83.js} +4 -4
  172. package/dist/chunks/{form-jcj17ehp.js → form-rnwvn009.js} +11 -11
  173. package/dist/chunks/{form-t4t28t75.js → form-rsm4htgs.js} +16 -16
  174. package/dist/chunks/{form-jfqtm2ew.js → form-ryr25ayn.js} +3 -3
  175. package/dist/chunks/{form-99x6s37t.js → form-rzqnmzcf.js} +30 -30
  176. package/dist/chunks/{form-wgefzgwt.js → form-s031wkkr.js} +11 -11
  177. package/dist/chunks/{form-xxxym934.js → form-s26hbv8p.js} +3 -3
  178. package/dist/chunks/{form-7refdtwv.js → form-sacfpxxw.js} +1 -1
  179. package/dist/chunks/{form-ardm1wrc.js → form-sgphrwae.js} +45 -45
  180. package/dist/chunks/{form-y6qsrq0m.js → form-spvhq4rn.js} +5 -5
  181. package/dist/chunks/{form-ztter523.js → form-sqph2rem.js} +5 -5
  182. package/dist/chunks/{form-vjawge7b.js → form-svz1p6c6.js} +23 -23
  183. package/dist/chunks/{form-p4g7pjpc.js → form-sxcwrkvg.js} +4 -4
  184. package/dist/chunks/{form-4mwpykj0.js → form-sxzvkvgj.js} +5 -5
  185. package/dist/chunks/{form-pkj8hqbd.js → form-sz15zhhw.js} +8 -8
  186. package/dist/chunks/{form-1v8j23j1.js → form-t179r25m.js} +44 -44
  187. package/dist/chunks/{form-wkx7yw3s.js → form-t3afeeqz.js} +19 -19
  188. package/dist/chunks/{form-fh8k3p5m.js → form-t3dbhzng.js} +14 -14
  189. package/dist/chunks/{form-0gdmqesm.js → form-t550f9t1.js} +3 -3
  190. package/dist/chunks/{form-15nepkqg.js → form-t89fqycx.js} +7 -7
  191. package/dist/chunks/{form-s7vrpya1.js → form-tag4a24h.js} +4 -4
  192. package/dist/chunks/{form-dhb2hta4.js → form-tdqj5rj9.js} +3 -3
  193. package/dist/chunks/{form-hfnb13cj.js → form-tdvmxvqx.js} +1 -1
  194. package/dist/chunks/{form-cmwkp3r5.js → form-tpw6cwsb.js} +7 -7
  195. package/dist/chunks/{form-trya7axm.js → form-tre5yt63.js} +7 -7
  196. package/dist/chunks/{form-0javqkgf.js → form-v210v162.js} +7 -7
  197. package/dist/chunks/{form-bgg5jk8p.js → form-v4v0g7kw.js} +6 -6
  198. package/dist/chunks/{form-27jfxer4.js → form-vcxbe612.js} +2 -2
  199. package/dist/chunks/{form-g8j30dqw.js → form-vgcrqvce.js} +12 -12
  200. package/dist/chunks/{form-a8nkje97.js → form-w3qw7gwn.js} +9 -9
  201. package/dist/chunks/{form-482mympf.js → form-w4mkebwp.js} +30 -30
  202. package/dist/chunks/{form-mddns072.js → form-wa3r9qa9.js} +14 -14
  203. package/dist/chunks/{form-43833zpv.js → form-we3w1333.js} +1 -1
  204. package/dist/chunks/{form-361k30qc.js → form-whvnf6b4.js} +30 -30
  205. package/dist/chunks/{form-h9eccewq.js → form-wryv9aq9.js} +7 -7
  206. package/dist/chunks/{form-9sjyw1m6.js → form-wwvmde0v.js} +7 -7
  207. package/dist/chunks/{form-me4kkzkr.js → form-wz5ft07p.js} +1 -1
  208. package/dist/chunks/{form-54q14agg.js → form-x3fa5db0.js} +13 -13
  209. package/dist/chunks/{form-addxnjmp.js → form-x661k3y3.js} +3 -3
  210. package/dist/chunks/{form-qcws3hz9.js → form-x86nz4fc.js} +9 -9
  211. package/dist/chunks/{form-f3rpkqey.js → form-xc1f0rvb.js} +27 -27
  212. package/dist/chunks/{form-s90dqpw7.js → form-xvb5x7q0.js} +9 -9
  213. package/dist/chunks/{form-8xh436hj.js → form-xyxs5dm1.js} +4 -4
  214. package/dist/chunks/{form-kcvspnct.js → form-y0samtkt.js} +9 -9
  215. package/dist/chunks/{form-kbymfr7p.js → form-y3446w5g.js} +9 -9
  216. package/dist/chunks/{form-h71w788e.js → form-y56ehv6b.js} +8 -8
  217. package/dist/chunks/{form-bqsaj0qs.js → form-y5fzqhne.js} +15 -15
  218. package/dist/chunks/{form-whms72wd.js → form-yef9qky4.js} +39 -39
  219. package/dist/chunks/{form-qne3fa44.js → form-ygdna4kr.js} +3 -3
  220. package/dist/chunks/{form-4hfeq7yc.js → form-yj7k2rcj.js} +1 -1
  221. package/dist/chunks/{form-d2edjj1v.js → form-yvgq1qte.js} +12 -12
  222. package/dist/chunks/{form-6wg7wrda.js → form-yx0rmv9r.js} +5 -5
  223. package/dist/chunks/{form-78y8a3rg.js → form-z0p92055.js} +8 -8
  224. package/dist/chunks/{form-1krmxpby.js → form-zdha7q0e.js} +4 -4
  225. package/dist/chunks/{form-jdthh91w.js → form-zjndanvv.js} +19 -19
  226. package/dist/chunks/{form-yq6kw6eg.js → form-znjyvqyt.js} +27 -27
  227. package/dist/chunks/{form-ebkydghs.js → form-znm2wwgf.js} +5 -5
  228. package/dist/chunks/{form-yy1b5byj.js → form-zx383xpj.js} +6 -6
  229. package/dist/chunks/{form-a3c7ahw6.js → form-zy43x3f1.js} +3 -3
  230. package/dist/codemode/instructions.js +4 -4
  231. package/dist/command.js +67 -67
  232. package/dist/config/discovery.js +64 -64
  233. package/dist/config/normalize.js +77 -77
  234. package/dist/config/plugin/agent.js +88 -88
  235. package/dist/config/plugin/command.js +165 -165
  236. package/dist/config/plugin/compaction.js +117 -117
  237. package/dist/config/plugin/compatibility.js +107 -107
  238. package/dist/config/plugin/formatter.js +88 -88
  239. package/dist/config/plugin/image.js +88 -88
  240. package/dist/config/plugin/instruction.js +89 -89
  241. package/dist/config/plugin/location-watcher.js +88 -88
  242. package/dist/config/plugin/mcp.js +96 -96
  243. package/dist/config/plugin/policy.js +89 -89
  244. package/dist/config/plugin/provider.js +88 -88
  245. package/dist/config/plugin/reference.js +89 -89
  246. package/dist/config/plugin/shell.js +88 -88
  247. package/dist/config/plugin/skill-file.js +76 -76
  248. package/dist/config/plugin/skill.js +106 -106
  249. package/dist/config/plugin/snapshot.js +88 -88
  250. package/dist/config/plugin/source.js +89 -89
  251. package/dist/config/plugin/tool-output.js +88 -88
  252. package/dist/config/plugin/websearch.js +87 -87
  253. package/dist/config/plugin/worktree.js +88 -88
  254. package/dist/config.js +94 -94
  255. package/dist/credential.js +67 -67
  256. package/dist/database/database.js +52 -52
  257. package/dist/database/drizzle/effect-sqlite/driver.js +11 -11
  258. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  259. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  260. package/dist/database/drizzle/index.js +12 -12
  261. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  262. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  263. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  264. package/dist/database/drizzle.js +12 -12
  265. package/dist/database/migration.gen.js +40 -40
  266. package/dist/database/migration.js +41 -41
  267. package/dist/database/v1-migration.bun.js +9 -9
  268. package/dist/effect/app-node-builder.js +235 -235
  269. package/dist/effect/keyed-mutex.js +3 -3
  270. package/dist/environment/environment.js +69 -69
  271. package/dist/environment/index.js +71 -71
  272. package/dist/environment/unavailable.js +3 -3
  273. package/dist/event-logger.js +10 -10
  274. package/dist/file-access.js +79 -79
  275. package/dist/file-mutation.js +70 -70
  276. package/dist/filesystem/location-watcher-policy.js +5 -5
  277. package/dist/filesystem/location-watcher.js +179 -179
  278. package/dist/filesystem/protected.js +3 -3
  279. package/dist/filesystem/search.js +78 -78
  280. package/dist/filesystem/watcher-binding.js +3 -3
  281. package/dist/filesystem/watcher.js +14 -14
  282. package/dist/filesystem.js +77 -77
  283. package/dist/form.js +65 -65
  284. package/dist/formatter.js +66 -66
  285. package/dist/generate.js +81 -81
  286. package/dist/git.js +8 -8
  287. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  288. package/dist/github-copilot/copilot-provider.js +3 -3
  289. package/dist/github-copilot/models.js +78 -78
  290. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  291. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  292. package/dist/image/photon.js +1 -1
  293. package/dist/image.js +5 -5
  294. package/dist/instance/service.js +5 -5
  295. package/dist/instance.js +309 -309
  296. package/dist/instruction-discovery.js +68 -68
  297. package/dist/instructions/builtins.js +67 -67
  298. package/dist/instructions/index.js +3 -3
  299. package/dist/integration/connection.js +3 -3
  300. package/dist/integration.js +69 -69
  301. package/dist/job.js +62 -62
  302. package/dist/kv.js +57 -57
  303. package/dist/location-activity.js +56 -56
  304. package/dist/location-lifecycle.js +82 -82
  305. package/dist/location-service-map.js +66 -66
  306. package/dist/location-services.js +307 -307
  307. package/dist/location.js +67 -67
  308. package/dist/managed-policy.js +7 -7
  309. package/dist/mcp/client.js +18 -18
  310. package/dist/mcp/index.js +79 -79
  311. package/dist/mcp/instructions.js +98 -98
  312. package/dist/mcp/oauth.js +14 -14
  313. package/dist/mcp/stdio.js +66 -66
  314. package/dist/modal/models.js +78 -78
  315. package/dist/model-resolver.js +75 -75
  316. package/dist/model.js +77 -77
  317. package/dist/models-dev.js +86 -86
  318. package/dist/permission/saved.js +59 -59
  319. package/dist/permission.js +86 -86
  320. package/dist/persistent-pty/index.js +72 -72
  321. package/dist/persistent-pty.js +56 -56
  322. package/dist/plugin/agent.js +58 -58
  323. package/dist/plugin/command.js +76 -76
  324. package/dist/plugin/hooks.js +5 -5
  325. package/dist/plugin/host.js +172 -172
  326. package/dist/plugin/identity.js +3 -3
  327. package/dist/plugin/instance.js +5 -5
  328. package/dist/plugin/internal.js +281 -281
  329. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  330. package/dist/plugin/models-dev.js +75 -75
  331. package/dist/plugin/module.js +89 -89
  332. package/dist/plugin/optimize.js +3 -3
  333. package/dist/plugin/plan.js +77 -77
  334. package/dist/plugin/provider/amazon-bedrock.js +69 -69
  335. package/dist/plugin/provider/azure.js +89 -89
  336. package/dist/plugin/provider/chatgpt.js +87 -87
  337. package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
  338. package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
  339. package/dist/plugin/provider/configured.js +85 -85
  340. package/dist/plugin/provider/digitalocean.js +71 -71
  341. package/dist/plugin/provider/github-copilot.js +73 -73
  342. package/dist/plugin/provider/gitlab.js +71 -71
  343. package/dist/plugin/provider/google-vertex.js +86 -86
  344. package/dist/plugin/provider/llmgateway.js +62 -62
  345. package/dist/plugin/provider/lmstudio.js +98 -98
  346. package/dist/plugin/provider/local.js +95 -95
  347. package/dist/plugin/provider/modal.js +71 -71
  348. package/dist/plugin/provider/ollama.js +98 -98
  349. package/dist/plugin/provider/openai.js +89 -89
  350. package/dist/plugin/provider/opencode.js +76 -76
  351. package/dist/plugin/provider/openrouter.js +70 -70
  352. package/dist/plugin/provider/poe.js +62 -62
  353. package/dist/plugin/provider/sap-ai-core.js +69 -69
  354. package/dist/plugin/provider/snowflake-cortex.js +87 -87
  355. package/dist/plugin/provider/vercel.js +69 -69
  356. package/dist/plugin/provider/vllm.js +98 -98
  357. package/dist/plugin/provider/xai.js +70 -70
  358. package/dist/plugin/provider.js +133 -133
  359. package/dist/plugin/sdk.js +61 -61
  360. package/dist/plugin/service.js +3 -3
  361. package/dist/plugin/skill.js +107 -107
  362. package/dist/plugin/supervisor.js +297 -297
  363. package/dist/plugin/tool-input-repair.js +3 -3
  364. package/dist/plugin/update.js +6 -6
  365. package/dist/plugin/vcs/git.js +65 -65
  366. package/dist/plugin/vcs/hg.js +65 -65
  367. package/dist/plugin/verbosity.js +72 -72
  368. package/dist/plugin/warming.js +87 -87
  369. package/dist/plugin/websearch/exa.js +6 -6
  370. package/dist/plugin/websearch/firecrawl.js +7 -7
  371. package/dist/plugin/websearch/index.js +8 -8
  372. package/dist/plugin/websearch/mcp.js +3 -3
  373. package/dist/plugin/websearch/parallel.js +7 -7
  374. package/dist/plugin/websearch/tavily.js +6 -6
  375. package/dist/plugin/websearch/tinyfish.js +7 -7
  376. package/dist/plugin.js +183 -183
  377. package/dist/project/schema.js +7 -7
  378. package/dist/project.js +68 -68
  379. package/dist/provider.js +76 -76
  380. package/dist/pty.js +77 -77
  381. package/dist/reference/instructions.js +70 -70
  382. package/dist/reference.js +72 -72
  383. package/dist/repository-cache.js +62 -62
  384. package/dist/ripgrep.js +70 -70
  385. package/dist/rpc.js +66 -66
  386. package/dist/session/command.js +58 -58
  387. package/dist/session/compaction.js +96 -96
  388. package/dist/session/context.js +118 -118
  389. package/dist/session/diff.js +65 -65
  390. package/dist/session/environment.js +5 -5
  391. package/dist/session/error.js +2 -2
  392. package/dist/session/execution/restart.js +111 -111
  393. package/dist/session/execution.js +100 -100
  394. package/dist/session/generate.js +120 -120
  395. package/dist/session/history.js +8 -8
  396. package/dist/session/inbox.js +70 -70
  397. package/dist/session/info.js +2 -2
  398. package/dist/session/instruction-entry.js +60 -60
  399. package/dist/session/instruction-state.js +3 -3
  400. package/dist/session/instructions.js +74 -74
  401. package/dist/session/message-updater.js +3 -3
  402. package/dist/session/model-request.js +89 -89
  403. package/dist/session/model-transport.js +7 -7
  404. package/dist/session/move.js +103 -103
  405. package/dist/session/projector.js +67 -67
  406. package/dist/session/prompt.js +80 -80
  407. package/dist/session/revert.js +70 -70
  408. package/dist/session/run-coordinator.js +3 -3
  409. package/dist/session/runner/index.js +3 -3
  410. package/dist/session/runner/llm.js +181 -181
  411. package/dist/session/runner/model.js +77 -77
  412. package/dist/session/runner/publish-llm-event.js +87 -87
  413. package/dist/session/runner/step.js +93 -93
  414. package/dist/session/runner/to-llm-message.js +7 -7
  415. package/dist/session/schema.js +5 -5
  416. package/dist/session/session.js +130 -130
  417. package/dist/session/shell.js +101 -101
  418. package/dist/session/skill.js +78 -78
  419. package/dist/session/stats.js +8 -8
  420. package/dist/session/store.js +64 -64
  421. package/dist/session/subagent-job.js +166 -166
  422. package/dist/session/title.js +119 -119
  423. package/dist/session/to-session-error.js +86 -86
  424. package/dist/session/transfer.js +108 -108
  425. package/dist/session.js +171 -171
  426. package/dist/shell/parse.js +3 -3
  427. package/dist/shell/select.js +11 -11
  428. package/dist/shell.js +104 -104
  429. package/dist/skill/discovery.js +5 -5
  430. package/dist/skill/instructions.js +82 -82
  431. package/dist/skill.js +89 -89
  432. package/dist/snapshot.js +72 -72
  433. package/dist/tool/mcp.js +95 -95
  434. package/dist/tool/plugin/edit.js +91 -91
  435. package/dist/tool/plugin/glob.js +87 -87
  436. package/dist/tool/plugin/grep.js +93 -93
  437. package/dist/tool/plugin/mcp-resource.js +89 -89
  438. package/dist/tool/plugin/opencode.js +82 -82
  439. package/dist/tool/plugin/patch.js +89 -89
  440. package/dist/tool/plugin/question.js +78 -78
  441. package/dist/tool/plugin/read.js +96 -96
  442. package/dist/tool/plugin/shell.js +170 -170
  443. package/dist/tool/plugin/skill.js +88 -88
  444. package/dist/tool/plugin/subagent.js +173 -173
  445. package/dist/tool/plugin/todo.js +110 -110
  446. package/dist/tool/plugin/webfetch.js +85 -85
  447. package/dist/tool/plugin/websearch.js +87 -87
  448. package/dist/tool/plugin/write.js +91 -91
  449. package/dist/tool/read-filesystem.js +74 -74
  450. package/dist/tool-output.js +5 -5
  451. package/dist/tool.js +5 -5
  452. package/dist/v1/config/agent.js +6 -6
  453. package/dist/v1/config/command.js +3 -3
  454. package/dist/v1/config/mcp.js +3 -3
  455. package/dist/v1/config/migrate.js +70 -70
  456. package/dist/v1/config/permission.js +7 -7
  457. package/dist/v1/config/plugin.js +3 -3
  458. package/dist/v1/config/provider.js +3 -3
  459. package/dist/variant.js +72 -72
  460. package/dist/vcs.js +68 -68
  461. package/dist/voice.js +70 -70
  462. package/dist/websearch.js +68 -68
  463. package/dist/wellknown/plugin.js +60 -60
  464. package/dist/wellknown.js +65 -65
  465. package/dist/workspace/driver.js +5 -5
  466. package/dist/workspace.js +65 -65
  467. package/dist/worktree/git.js +7 -7
  468. package/dist/worktree/strategies.js +67 -67
  469. package/dist/worktree.js +75 -75
  470. package/package.json +8 -8
  471. package/dist/chunks/form-360h9knm.js +0 -26
  472. package/dist/chunks/form-ymafgmrd.js +0 -257
  473. /package/dist/chunks/{form-wptgs5cr.js → form-4q08mgzs.js} +0 -0
  474. /package/dist/chunks/{form-65qcyyma.js → form-gkn1t7a9.js} +0 -0
  475. /package/dist/chunks/{form-pfq1ksym.js → form-mjagy123.js} +0 -0
  476. /package/dist/chunks/{form-0bmnjpfs.js → form-ve45bn9x.js} +0 -0
@@ -3,14 +3,14 @@ import {
3
3
  } from "./form-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
9
+ ConfigPermissionV1: () => exports_permission,
10
10
  Entries: () => Entries2,
11
- Info: () => Info20,
11
+ Info: () => Info13,
12
12
  Object: () => Object2,
13
- Rule: () => Rule3
13
+ Rule: () => Rule2
14
14
  });
15
15
  import { Schema, SchemaGetter } from "effect";
16
16
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
19
19
  encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
20
20
  }));
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
22
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info20 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
24
+ var Info13 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule3, Info20, exports_permission2 };
31
+ export { Action2, Entries2, Object2, Rule2, Info13, exports_permission };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-kbymfr7p.js";
3
+ } from "./form-y3446w5g.js";
4
4
  import {
5
5
  Service85
6
- } from "./form-7dx0mp5a.js";
6
+ } from "./form-43pfpj47.js";
7
7
  import {
8
- ID18,
9
- Event21,
10
- Service84
11
- } from "./form-bvdpv0z0.js";
8
+ ID14,
9
+ Event18,
10
+ Service75
11
+ } from "./form-m3s3xc92.js";
12
12
  import {
13
13
  key2
14
- } from "./form-addxnjmp.js";
14
+ } from "./form-x661k3y3.js";
15
15
  import {
16
- ID14,
16
+ ID13,
17
17
  MethodID2
18
- } from "./form-bbk4sw4d.js";
18
+ } from "./form-qq5nsf62.js";
19
19
  import {
20
20
  which2
21
21
  } from "./form-qaymkmh1.js";
22
22
  import {
23
- ID13,
24
- Service76
25
- } from "./form-kwqx9ezn.js";
23
+ ID12,
24
+ Service73
25
+ } from "./form-njd51qxm.js";
26
26
  import {
27
- ID12
28
- } from "./form-bvse6ds2.js";
27
+ ID11
28
+ } from "./form-c61xra83.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./form-bgg5jk8p.js";
31
+ } from "./form-v4v0g7kw.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make8(endpoints = {
66
+ function make6(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID13.azure);
73
+ const configured = yield* configuredSettings2(ID12.azure);
74
74
  const processes = yield* AppProcess.Service;
75
75
  const bus = yield* Service85;
76
- const credentials = yield* Service84;
77
- const providers = yield* Service76;
76
+ const credentials = yield* Service75;
77
+ const providers = yield* Service73;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make8(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID13.azure,
103
+ integrationID: ID12.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID13.azure,
107
+ integrationID: ID12.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make8(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID13.azure,
125
+ integrationID: ID12.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make8(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID13.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make8(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID13.azure))?.settings;
185
+ const settings = (yield* providers.get(ID12.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make8(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make8(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make8(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID13.azure);
243
+ const item = evt.get(ID12.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make8(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make8(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID13.azure);
266
+ const catalog = models.list(ID12.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID13.azure, model.id);
270
+ models.remove(ID12.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID13.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make8(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID13.azure)
291
+ if (evt.model.providerID !== ID12.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make8(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID13.azure });
300
+ }), { providerID: ID12.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID13.azure)
302
+ if (evt.model.providerID !== ID12.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make8(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID13.azure });
311
+ }), { providerID: ID12.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make8();
315
+ var AzurePlugin2 = make6();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID12.make(deployment.name.toLowerCase());
345
+ const id = ID11.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID12.make(deployment.name),
349
+ modelID: ID11.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make8, AzurePlugin2 };
371
+ export { make6, AzurePlugin2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service74
3
- } from "./form-dbt3qtfn.js";
2
+ Service53
3
+ } from "./form-7eh5v8ez.js";
4
4
  import {
5
5
  AbsolutePath2
6
6
  } from "./form-z5v4ffb3.js";
7
7
  import {
8
- Service81
9
- } from "./form-2jybnyep.js";
8
+ Service82
9
+ } from "./form-kx5nz21w.js";
10
10
  import {
11
- Service73
12
- } from "./form-nb3eeafx.js";
11
+ Service52
12
+ } from "./form-gnbbadj4.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./form-zpq5tdxv.js";
16
+ Source4
17
+ } from "./form-e6b459zv.js";
18
18
  import {
19
- Service10
20
- } from "./form-y7nndgyc.js";
19
+ Service13
20
+ } from "./form-g686f6pq.js";
21
21
  import {
22
22
  parse2
23
- } from "./form-hxpm8s3f.js";
23
+ } from "./form-8myr7ban.js";
24
24
  import {
25
25
  ignore2,
26
26
  scan3
@@ -43,12 +43,12 @@ import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
43
43
  var Plugin41 = define({
44
44
  id: "opencode.config.skill",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const config = yield* Service73;
47
- const discovery = yield* Service10;
46
+ const config = yield* Service52;
47
+ const discovery = yield* Service13;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const global = yield* Global.Service;
50
- const location = yield* Service81;
51
- const watcher = yield* Service74;
50
+ const location = yield* Service82;
51
+ const watcher = yield* Service53;
52
52
  const loaded = {
53
53
  entries: yield* config.entries(),
54
54
  skills: []
@@ -91,7 +91,7 @@ var Plugin41 = define({
91
91
  const sources = () => {
92
92
  const result = [];
93
93
  const add = (source) => {
94
- if (result.some((item) => Source3.equals(item, source)))
94
+ if (result.some((item) => Source4.equals(item, source)))
95
95
  return;
96
96
  result.push(source);
97
97
  };
@@ -116,7 +116,7 @@ var Plugin41 = define({
116
116
  };
117
117
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
118
118
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
119
- source: Source3.key(source),
119
+ source: Source4.key(source),
120
120
  cause
121
121
  }).pipe(Effect.as([]))));
122
122
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -144,7 +144,7 @@ var Plugin41 = define({
144
144
  }
145
145
  }
146
146
  yield* Effect.logDebug("skill source loaded", {
147
- source: Source3.key(source),
147
+ source: Source4.key(source),
148
148
  type: source.type,
149
149
  directories,
150
150
  skills: skills.map((skill) => skill.id)
@@ -163,7 +163,7 @@ var Plugin41 = define({
163
163
  if (file) {
164
164
  yield* Effect.logInfo("skills rescanned", {
165
165
  file,
166
- sources: current.map(Source3.key),
166
+ sources: current.map(Source4.key),
167
167
  skills: loaded.skills.map((skill) => skill.id)
168
168
  });
169
169
  }
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-kbymfr7p.js";
3
+ } from "./form-y3446w5g.js";
4
4
  import {
5
5
  Service85
6
- } from "./form-7dx0mp5a.js";
6
+ } from "./form-43pfpj47.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./form-bvdpv0z0.js";
9
+ Event18
10
+ } from "./form-m3s3xc92.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./form-bbk4sw4d.js";
14
+ } from "./form-qq5nsf62.js";
15
15
  import {
16
- ID13
17
- } from "./form-kwqx9ezn.js";
16
+ ID12
17
+ } from "./form-njd51qxm.js";
18
18
  import {
19
- ID12,
19
+ ID11,
20
20
  Family2
21
- } from "./form-bvse6ds2.js";
21
+ } from "./form-c61xra83.js";
22
22
  import {
23
23
  bootstrap2
24
24
  } from "./form-pjvnvgmy.js";
@@ -27,8 +27,8 @@ import {
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID13.make("digitalocean");
31
- var integrationID = ID14.make("digitalocean");
30
+ var providerID = ID12.make("digitalocean");
31
+ var integrationID = ID13.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID12.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID11.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make18,
21
+ make: () => make19,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make18(source) {
53
+ function make19(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make18, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -5,18 +5,18 @@ import {
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service39,
8
+ Service: () => Service50,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node42
10
+ node: () => node52
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service39 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service50 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service39, () => {
17
+ var layer = Layer.sync(Service50, () => {
18
18
  const environments = new Map;
19
- return Service39.of({
19
+ return Service50.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service39, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node42 = makeGlobalNode({ service: Service39, layer, deps: [] });
29
+ var node52 = makeGlobalNode({ service: Service50, layer, deps: [] });
30
30
 
31
- export { Service39, node42, exports_environment };
31
+ export { Service50, node52, exports_environment };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./form-kwqx9ezn.js";
2
+ ID12
3
+ } from "./form-njd51qxm.js";
4
4
  import {
5
5
  loadSDKFactory2
6
6
  } from "./form-6q2bdcd1.js";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin14,
11
+ Plugin: () => Plugin24,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin14 = define({
18
+ var Plugin24 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin14, exports_tool_input_repair };
123
+ export { Plugin24, exports_tool_input_repair };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./form-dk6zbvkj.js";
5
+ } from "./form-k60xj1t7.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -6,17 +6,17 @@ import {
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service7,
10
10
  bound: () => bound2,
11
- node: () => node7
11
+ node: () => node9
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service7 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node7 = makeLocationNode({
19
- service: Service5,
18
+ var node9 = makeLocationNode({
19
+ service: Service7,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node7, bound2, exports_instance2 };
32
+ export { Service7, node9, bound2, exports_instance2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  call2
3
- } from "./form-bjx1sjef.js";
3
+ } from "./form-1ffvrpkg.js";
4
4
  import {
5
5
  __export
6
6
  } from "./form-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: () => Plugin6,
11
+ Plugin: () => Plugin18,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/http";
18
- var endpoint4 = "https://mcp.exa.ai/mcp";
18
+ var endpoint2 = "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 Plugin6 = define({
30
+ var Plugin18 = 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 Plugin6 = 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(endpoint4);
52
+ const url = new URL(endpoint2);
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 { endpoint4, Plugin6, exports_exa };
83
+ export { endpoint2, Plugin18, exports_exa };
@@ -9,23 +9,23 @@ import {
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event20,
13
- ID: () => ID17,
14
- Info: () => Info28,
12
+ Event: () => Event21,
13
+ ID: () => ID18,
14
+ Info: () => Info29,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput5,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID17 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info28 = Project.Info;
23
+ var Info29 = Project.Info;
24
24
  var UpdateInput5 = Project.UpdateInput;
25
- var Event20 = Project.Event;
25
+ var Event21 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID17, Current3, Info28, UpdateInput5, Event20, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info29, UpdateInput5, Event21, Vcs3, exports_schema };