@opencode-ai/core 0.0.0-dev-19205 → 0.0.0-dev-19206

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 (477) hide show
  1. package/dist/agent.js +65 -65
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +5 -5
  5. package/dist/bus.js +58 -58
  6. package/dist/catalog.js +67 -67
  7. package/dist/chunks/{workspace-tcvwtwdv.js → workspace-02shy59d.js} +7 -7
  8. package/dist/chunks/{workspace-y7qh7890.js → workspace-08vfff8d.js} +12 -12
  9. package/dist/chunks/{workspace-271bx2e5.js → workspace-0cnhv3qf.js} +12 -12
  10. package/dist/chunks/{workspace-fvanntqq.js → workspace-0ft9cg2j.js} +5 -5
  11. package/dist/chunks/{workspace-radsv5bn.js → workspace-0m9qrfq6.js} +9 -9
  12. package/dist/chunks/{workspace-x154ebjh.js → workspace-0rp3e5tq.js} +11 -11
  13. package/dist/chunks/{workspace-bct739vz.js → workspace-0v53mg2y.js} +3 -3
  14. package/dist/chunks/{workspace-ytf4r5bp.js → workspace-0xm7qpx2.js} +6 -6
  15. package/dist/chunks/{workspace-jp5dra8g.js → workspace-14s8ve6g.js} +1 -1
  16. package/dist/chunks/{workspace-bjs50m4b.js → workspace-15q8ja5w.js} +7 -7
  17. package/dist/chunks/{workspace-zn8trsas.js → workspace-1az13xbf.js} +16 -16
  18. package/dist/chunks/{workspace-zarjf3s7.js → workspace-1d38sp2d.js} +29 -29
  19. package/dist/chunks/{workspace-yhkdd2kz.js → workspace-1dsg2200.js} +21 -21
  20. package/dist/chunks/{workspace-wckzh42d.js → workspace-1f056xm7.js} +15 -15
  21. package/dist/chunks/{workspace-9fhbt2be.js → workspace-1fr0tqjr.js} +18 -18
  22. package/dist/chunks/{workspace-zxsw3nsr.js → workspace-1mfbtjxb.js} +14 -14
  23. package/dist/chunks/{workspace-tynz9yxk.js → workspace-1n116cmy.js} +7 -7
  24. package/dist/chunks/{workspace-r8rw83k9.js → workspace-1p3pn5j2.js} +25 -25
  25. package/dist/chunks/{workspace-9hc93zyr.js → workspace-1sf7vy2t.js} +12 -12
  26. package/dist/chunks/{workspace-7tfg2zmn.js → workspace-1sfe7ky6.js} +1 -1
  27. package/dist/chunks/{workspace-1nn7y83w.js → workspace-1ychdjav.js} +3 -3
  28. package/dist/chunks/{workspace-f4g7wt00.js → workspace-23gv0zdg.js} +8 -8
  29. package/dist/chunks/{workspace-pfbznffx.js → workspace-26wdwrnz.js} +7 -7
  30. package/dist/chunks/{workspace-z0sbs2re.js → workspace-26zgvhc5.js} +20 -20
  31. package/dist/chunks/{workspace-axzt4st2.js → workspace-27kr4sm5.js} +10 -10
  32. package/dist/chunks/{workspace-pnpzjwqk.js → workspace-299e2dt2.js} +28 -28
  33. package/dist/chunks/{workspace-z63w68vq.js → workspace-29x78va6.js} +4 -4
  34. package/dist/chunks/{workspace-4pp1x3ye.js → workspace-2exv0ec5.js} +24 -24
  35. package/dist/chunks/{workspace-nxj5ea3t.js → workspace-2nvgamhk.js} +1 -1
  36. package/dist/chunks/{workspace-r82j2j5s.js → workspace-2q6fffbt.js} +7 -7
  37. package/dist/chunks/{workspace-3g2y1byn.js → workspace-2qg97hzz.js} +3 -3
  38. package/dist/chunks/{workspace-pjhc3vrw.js → workspace-2ymxnyba.js} +31 -31
  39. package/dist/chunks/{workspace-8tz2fejb.js → workspace-2z94zwvq.js} +22 -22
  40. package/dist/chunks/{workspace-mfqp6xfm.js → workspace-33w4ejhs.js} +7 -7
  41. package/dist/chunks/{workspace-qqhry4hf.js → workspace-38g1zr6k.js} +21 -21
  42. package/dist/chunks/{workspace-y7e6xj4q.js → workspace-3daa4g1v.js} +58 -58
  43. package/dist/chunks/{workspace-2t2kmzm4.js → workspace-3em4d78p.js} +6 -6
  44. package/dist/chunks/{workspace-7p5wxxxx.js → workspace-3pt88cnv.js} +34 -34
  45. package/dist/chunks/{workspace-mah8zyxa.js → workspace-3xx4d5mm.js} +13 -13
  46. package/dist/chunks/{workspace-tdv1x8ch.js → workspace-3zha5fxe.js} +4 -4
  47. package/dist/chunks/{workspace-n8qe30xq.js → workspace-42dkd7sx.js} +8 -8
  48. package/dist/chunks/{workspace-fhvjqr7f.js → workspace-4c5k13je.js} +1 -1
  49. package/dist/chunks/{workspace-bsg25x2z.js → workspace-4je2fxvw.js} +15 -15
  50. package/dist/chunks/{workspace-drmgzmfy.js → workspace-4ncgxvqt.js} +2 -2
  51. package/dist/chunks/{workspace-wpm9ga6w.js → workspace-4pewjvre.js} +24 -24
  52. package/dist/chunks/{workspace-xrryncgn.js → workspace-51j95d2n.js} +28 -28
  53. package/dist/chunks/{workspace-8zy2gh99.js → workspace-53aqkft6.js} +5 -5
  54. package/dist/chunks/{workspace-7dhzh695.js → workspace-58cavbtx.js} +35 -35
  55. package/dist/chunks/{workspace-7p6a67hm.js → workspace-5aea0cm8.js} +7 -7
  56. package/dist/chunks/{workspace-d4tfyaan.js → workspace-5bknnx47.js} +14 -14
  57. package/dist/chunks/{workspace-nkd0m12v.js → workspace-5fnfwqar.js} +3 -3
  58. package/dist/chunks/{workspace-far2rsft.js → workspace-5h39a1dm.js} +16 -16
  59. package/dist/chunks/{workspace-8rvhm2ed.js → workspace-5n8bw5jd.js} +16 -16
  60. package/dist/chunks/{workspace-wkm1m5t3.js → workspace-5tqraw3s.js} +19 -19
  61. package/dist/chunks/{workspace-35ddpz83.js → workspace-5ya3pzqb.js} +18 -18
  62. package/dist/chunks/{workspace-4w2mesf2.js → workspace-6a580c52.js} +8 -8
  63. package/dist/chunks/{workspace-dhyjrgft.js → workspace-6b2p5aj4.js} +1 -1
  64. package/dist/chunks/{workspace-2402vzrj.js → workspace-6h73sxmp.js} +4 -4
  65. package/dist/chunks/{workspace-60jjdk7y.js → workspace-6psnn554.js} +7 -7
  66. package/dist/chunks/{workspace-pfgzwmcs.js → workspace-6q7f5vec.js} +16 -16
  67. package/dist/chunks/{workspace-hyd6a1dg.js → workspace-6qf2c2tj.js} +11 -11
  68. package/dist/chunks/{workspace-emjf39gq.js → workspace-6qtxtvv3.js} +7 -7
  69. package/dist/chunks/{workspace-ndbqskvj.js → workspace-6tgpbghp.js} +44 -44
  70. package/dist/chunks/{workspace-65crtejd.js → workspace-6x1xzmh2.js} +32 -32
  71. package/dist/chunks/{workspace-2ady357n.js → workspace-6ym5me7r.js} +1 -1
  72. package/dist/chunks/{workspace-kjj7vg4z.js → workspace-71p24b9k.js} +9 -9
  73. package/dist/chunks/{workspace-9ppnsynd.js → workspace-73b15rm0.js} +6 -6
  74. package/dist/chunks/{workspace-8gq481r1.js → workspace-73k4pchm.js} +2 -2
  75. package/dist/chunks/{workspace-97f5v037.js → workspace-75yf2d83.js} +7 -7
  76. package/dist/chunks/{workspace-zzd0j898.js → workspace-790dmgwm.js} +81 -81
  77. package/dist/chunks/{workspace-g2fmcnne.js → workspace-7bykz4yq.js} +28 -28
  78. package/dist/chunks/{workspace-xcdna4jd.js → workspace-7mdqvcay.js} +17 -17
  79. package/dist/chunks/{workspace-sthbfsvd.js → workspace-7ms4crvm.js} +27 -27
  80. package/dist/chunks/{workspace-nh4ndjrr.js → workspace-7shbmbjs.js} +15 -15
  81. package/dist/chunks/{workspace-pa20sa4h.js → workspace-83rwgn00.js} +27 -27
  82. package/dist/chunks/{workspace-k82d1k56.js → workspace-887cxk3q.js} +26 -26
  83. package/dist/chunks/workspace-8cm0crvj.js +22 -0
  84. package/dist/chunks/{workspace-qgmahjq5.js → workspace-8gfg9fa9.js} +1 -1
  85. package/dist/chunks/{workspace-k6rrywxw.js → workspace-8wyaeg4f.js} +27 -27
  86. package/dist/chunks/{workspace-r5ef8gce.js → workspace-9g1gs4kw.js} +51 -51
  87. package/dist/chunks/{workspace-4p7rp1jt.js → workspace-9gxr4scd.js} +14 -14
  88. package/dist/chunks/{workspace-vwd9ve21.js → workspace-9ndspkn6.js} +40 -40
  89. package/dist/chunks/{workspace-4wzn6ynj.js → workspace-9vahnyy7.js} +28 -28
  90. package/dist/chunks/{workspace-bykg0h2w.js → workspace-9xbfg64q.js} +19 -19
  91. package/dist/chunks/{workspace-2rcaaecz.js → workspace-9y1phk8d.js} +1 -1
  92. package/dist/chunks/{workspace-8f46hmee.js → workspace-a06prz70.js} +20 -20
  93. package/dist/chunks/{workspace-b6bbhee8.js → workspace-abbbc954.js} +8 -8
  94. package/dist/chunks/{workspace-3pmbcp29.js → workspace-afbv9f56.js} +11 -11
  95. package/dist/chunks/{workspace-7x9ad5fb.js → workspace-ag9h44v0.js} +14 -14
  96. package/dist/chunks/{workspace-nxqkj03p.js → workspace-at08srpc.js} +8 -8
  97. package/dist/chunks/{workspace-c576t1j6.js → workspace-awaee7qt.js} +8 -8
  98. package/dist/chunks/{workspace-5ckspze9.js → workspace-axap54jj.js} +8 -8
  99. package/dist/chunks/{workspace-sw8m2hmk.js → workspace-b1k9kv2n.js} +8 -8
  100. package/dist/chunks/{workspace-99xnga9r.js → workspace-b1y4xw0c.js} +36 -36
  101. package/dist/chunks/workspace-b5v1mx8b.js +247 -0
  102. package/dist/chunks/{workspace-81nm525f.js → workspace-b6qqpdm6.js} +55 -55
  103. package/dist/chunks/{workspace-36vsdr69.js → workspace-b77p7m16.js} +4 -4
  104. package/dist/chunks/{workspace-edvaqj4j.js → workspace-bamdfj5e.js} +17 -17
  105. package/dist/chunks/{workspace-gpkgrk3z.js → workspace-bb1hbs33.js} +1 -1
  106. package/dist/chunks/{workspace-ma1ffcb4.js → workspace-bkskxy8f.js} +44 -44
  107. package/dist/chunks/{workspace-sbrc3g05.js → workspace-bkspb416.js} +19 -19
  108. package/dist/chunks/{workspace-sjedy0tv.js → workspace-bwj64pp5.js} +16 -16
  109. package/dist/chunks/{workspace-3tvaxgfx.js → workspace-c18feh58.js} +1 -1
  110. package/dist/chunks/{workspace-5y7zc6aq.js → workspace-c3g05zxw.js} +22 -22
  111. package/dist/chunks/{workspace-xsa9y6rb.js → workspace-cdg01fgv.js} +41 -41
  112. package/dist/chunks/{workspace-ddt2bs9e.js → workspace-cxmh4q5b.js} +3 -3
  113. package/dist/chunks/{workspace-85x8f8aa.js → workspace-czs0ktc4.js} +10 -10
  114. package/dist/chunks/{workspace-sj94kzgm.js → workspace-d9ahw93n.js} +7 -7
  115. package/dist/chunks/{workspace-v432x66a.js → workspace-ddae212z.js} +7 -7
  116. package/dist/chunks/{workspace-mebjn8ym.js → workspace-dfw42t3p.js} +12 -12
  117. package/dist/chunks/{workspace-y71avatq.js → workspace-dpkg50ah.js} +3 -3
  118. package/dist/chunks/{workspace-6btbfb8s.js → workspace-dtqckzya.js} +41 -41
  119. package/dist/chunks/{workspace-tf9n79be.js → workspace-e2yf3awb.js} +12 -12
  120. package/dist/chunks/{workspace-eg4pr325.js → workspace-ec12g7es.js} +8 -8
  121. package/dist/chunks/{workspace-d711ctq6.js → workspace-eex63d85.js} +24 -24
  122. package/dist/chunks/{workspace-1bbkgx8g.js → workspace-eq1pz5kg.js} +2 -2
  123. package/dist/chunks/{workspace-5pe0hmxx.js → workspace-exkc4pmy.js} +37 -37
  124. package/dist/chunks/{workspace-1acjjqhc.js → workspace-f2n192rq.js} +3 -3
  125. package/dist/chunks/{workspace-j11eh89n.js → workspace-f6nj9trh.js} +6 -6
  126. package/dist/chunks/{workspace-9r1rwy3c.js → workspace-f9mpeqg9.js} +304 -304
  127. package/dist/chunks/{workspace-6zrzqgzk.js → workspace-fhkhfcy1.js} +17 -17
  128. package/dist/chunks/{workspace-m44s4ae7.js → workspace-fsgbf32s.js} +42 -42
  129. package/dist/chunks/{workspace-yf54mt1p.js → workspace-fwq62jz8.js} +10 -10
  130. package/dist/chunks/{workspace-n0pwvc8d.js → workspace-fytxjr0t.js} +7 -7
  131. package/dist/chunks/{workspace-hrvm11jt.js → workspace-g2dy4bvs.js} +1 -1
  132. package/dist/chunks/{workspace-d72308c8.js → workspace-g2gt0w0k.js} +1 -1
  133. package/dist/chunks/{workspace-4rpbkfyg.js → workspace-gcbqk2d7.js} +1 -1
  134. package/dist/chunks/{workspace-j1hn46j4.js → workspace-gct447md.js} +33 -33
  135. package/dist/chunks/{workspace-bjppfg2a.js → workspace-gjk639ka.js} +11 -11
  136. package/dist/chunks/{workspace-kn073nsz.js → workspace-gnqmzrre.js} +3 -3
  137. package/dist/chunks/{workspace-vy6h5a2r.js → workspace-gpygrshq.js} +12 -12
  138. package/dist/chunks/{workspace-nsk2d1xz.js → workspace-h7r2tngz.js} +4 -4
  139. package/dist/chunks/{workspace-x0dx6k02.js → workspace-h7wx8bsz.js} +6 -6
  140. package/dist/chunks/{workspace-g19vc6v7.js → workspace-hc4b3kyg.js} +3 -3
  141. package/dist/chunks/{workspace-2ahv2hha.js → workspace-hg7v30t9.js} +26 -26
  142. package/dist/chunks/{workspace-z10vnmxm.js → workspace-hzk3f3w9.js} +1 -1
  143. package/dist/chunks/{workspace-paphc93g.js → workspace-j935v87r.js} +2 -2
  144. package/dist/chunks/{workspace-mwb1rh8h.js → workspace-jcyemy94.js} +3 -3
  145. package/dist/chunks/{workspace-vwwkt776.js → workspace-jdnwrjf1.js} +1 -1
  146. package/dist/chunks/{workspace-3yfazbhv.js → workspace-jfg9vhtf.js} +19 -19
  147. package/dist/chunks/{workspace-pyfyb4h2.js → workspace-jkmpdwd3.js} +11 -11
  148. package/dist/chunks/{workspace-prf0khpv.js → workspace-jxf2m3z8.js} +9 -9
  149. package/dist/chunks/{workspace-79xc10f4.js → workspace-k2qp0rt7.js} +1 -1
  150. package/dist/chunks/{workspace-p28j91f1.js → workspace-kjy8w8s9.js} +81 -81
  151. package/dist/chunks/{workspace-dzqzmdsn.js → workspace-kk24zd2y.js} +13 -13
  152. package/dist/chunks/{workspace-55fasg25.js → workspace-ksa22b7h.js} +21 -21
  153. package/dist/chunks/{workspace-hw4pv20g.js → workspace-kvsjn1dr.js} +1 -1
  154. package/dist/chunks/{workspace-m27hrjtw.js → workspace-m2a4t0ng.js} +7 -7
  155. package/dist/chunks/{workspace-z8vgejr7.js → workspace-m4z9c59b.js} +43 -43
  156. package/dist/chunks/{workspace-92rbr2mf.js → workspace-mcq5m1bp.js} +30 -30
  157. package/dist/chunks/{workspace-de8s0qqs.js → workspace-mg8hyy97.js} +1 -1
  158. package/dist/chunks/{workspace-6hh8tjw2.js → workspace-mtq6xxnx.js} +6 -6
  159. package/dist/chunks/{workspace-sd6hqhqe.js → workspace-mze1x712.js} +7 -7
  160. package/dist/chunks/{workspace-0myjdyv6.js → workspace-n38qs1ar.js} +7 -7
  161. package/dist/chunks/{workspace-t8c6dkjz.js → workspace-n3znvsxj.js} +27 -27
  162. package/dist/chunks/{workspace-vz6qr5p1.js → workspace-n9mr47st.js} +5 -5
  163. package/dist/chunks/{workspace-6mj9xsav.js → workspace-nbs0ykfc.js} +14 -14
  164. package/dist/chunks/{workspace-4fzx0x4v.js → workspace-ncq58g3v.js} +4 -4
  165. package/dist/chunks/{workspace-fbvatgqx.js → workspace-ne3cepmn.js} +26 -26
  166. package/dist/chunks/{workspace-afv5t5ae.js → workspace-nrsethgr.js} +9 -9
  167. package/dist/chunks/{workspace-5359xvc8.js → workspace-ny0zxbyn.js} +9 -9
  168. package/dist/chunks/{workspace-y0v6q609.js → workspace-p0c3najj.js} +11 -11
  169. package/dist/chunks/{workspace-b0z70ywn.js → workspace-p3e4re21.js} +1 -1
  170. package/dist/chunks/{workspace-ngmekjny.js → workspace-p60her7w.js} +4 -4
  171. package/dist/chunks/{workspace-3vc8p5k6.js → workspace-p9cgh5cx.js} +21 -21
  172. package/dist/chunks/{workspace-tp4ca0ax.js → workspace-pbm9wdgf.js} +30 -30
  173. package/dist/chunks/{workspace-3pxrk450.js → workspace-pemtn248.js} +9 -9
  174. package/dist/chunks/{workspace-yvj5jp1z.js → workspace-pp31gxcz.js} +11 -11
  175. package/dist/chunks/{workspace-yk8npxfk.js → workspace-psyvadj8.js} +20 -20
  176. package/dist/chunks/{workspace-3h4fnpgw.js → workspace-pv0vz98j.js} +24 -24
  177. package/dist/chunks/{workspace-tx5ymanw.js → workspace-q5qz2hrf.js} +5 -5
  178. package/dist/chunks/{workspace-4ns6x4rf.js → workspace-qa94ex90.js} +21 -21
  179. package/dist/chunks/{workspace-1vvbdqbr.js → workspace-qccejtqg.js} +21 -21
  180. package/dist/chunks/{workspace-kj9qd3t9.js → workspace-qfd9qq71.js} +8 -8
  181. package/dist/chunks/{workspace-2k8khapm.js → workspace-qgn6gcr1.js} +4 -4
  182. package/dist/chunks/{workspace-mcz55ydv.js → workspace-qm9pz3et.js} +12 -12
  183. package/dist/chunks/{workspace-ahrrvtaa.js → workspace-qmg25s5q.js} +162 -162
  184. package/dist/chunks/{workspace-cmd5jf8k.js → workspace-qysxp9er.js} +19 -19
  185. package/dist/chunks/{workspace-zgzs5n0b.js → workspace-r47hbn5b.js} +10 -10
  186. package/dist/chunks/{workspace-03vfzkzq.js → workspace-rh332c7c.js} +2 -2
  187. package/dist/chunks/{workspace-1p8bnmch.js → workspace-rh6rd7ag.js} +3 -3
  188. package/dist/chunks/{workspace-m8f081sj.js → workspace-rwdnysg3.js} +7 -7
  189. package/dist/chunks/{workspace-pw75w6wp.js → workspace-ryedxqw8.js} +17 -17
  190. package/dist/chunks/{workspace-s3wt6vds.js → workspace-ryqbnfzy.js} +15 -15
  191. package/dist/chunks/{workspace-0hmtqxr6.js → workspace-s5jrt9bk.js} +27 -27
  192. package/dist/chunks/{workspace-dj748nyr.js → workspace-s9zss5my.js} +3 -3
  193. package/dist/chunks/{workspace-tppvcy65.js → workspace-saxt99x3.js} +7 -7
  194. package/dist/chunks/{workspace-amczc845.js → workspace-sds4a60k.js} +30 -30
  195. package/dist/chunks/{workspace-wpcfp9tf.js → workspace-sh5m21hz.js} +22 -22
  196. package/dist/chunks/{workspace-f0fy18t3.js → workspace-sknpz32n.js} +17 -17
  197. package/dist/chunks/{workspace-x7m1j1fp.js → workspace-srqy7nqv.js} +8 -8
  198. package/dist/chunks/{workspace-5sg91gv8.js → workspace-st8ckam6.js} +15 -15
  199. package/dist/chunks/{workspace-28rw05gp.js → workspace-t1p47b9f.js} +21 -21
  200. package/dist/chunks/{workspace-9cnpj473.js → workspace-tqqej2s1.js} +7 -7
  201. package/dist/chunks/{workspace-6hnqpqne.js → workspace-txphwyev.js} +26 -26
  202. package/dist/chunks/{workspace-qdyb70sk.js → workspace-vnkjks7b.js} +4 -4
  203. package/dist/chunks/{workspace-f5emzv0f.js → workspace-vvjeya7q.js} +9 -9
  204. package/dist/chunks/{workspace-jf5tw5w7.js → workspace-vy98q6ff.js} +4 -4
  205. package/dist/chunks/{workspace-6qwb5pya.js → workspace-w1ffcc9d.js} +5 -5
  206. package/dist/chunks/{workspace-2x6b75ng.js → workspace-w5485gdf.js} +3 -3
  207. package/dist/chunks/{workspace-85xbc70q.js → workspace-w66tyvvj.js} +14 -14
  208. package/dist/chunks/{workspace-5meqwk0k.js → workspace-wb6ak81q.js} +7 -7
  209. package/dist/chunks/{workspace-p2cy59ta.js → workspace-wgsrss7e.js} +32 -32
  210. package/dist/chunks/{workspace-ygys01m5.js → workspace-wpq5yy6w.js} +15 -15
  211. package/dist/chunks/{workspace-cx0fx8se.js → workspace-wrmermdg.js} +6 -6
  212. package/dist/chunks/{workspace-1nk2mnc0.js → workspace-x1kwdf2s.js} +3 -3
  213. package/dist/chunks/{workspace-7vxh8h3h.js → workspace-xejx5qen.js} +3 -3
  214. package/dist/chunks/{workspace-883yd3e0.js → workspace-xh6gx1cc.js} +58 -58
  215. package/dist/chunks/{workspace-rnaezqx7.js → workspace-xqv8zwv4.js} +20 -20
  216. package/dist/chunks/{workspace-tsvywdvc.js → workspace-xrnk9xnq.js} +25 -25
  217. package/dist/chunks/{workspace-4m93txkv.js → workspace-xtgr6bb3.js} +12 -12
  218. package/dist/chunks/{workspace-93a8yfjt.js → workspace-y2cqme3r.js} +3 -3
  219. package/dist/chunks/{workspace-wp7kaye5.js → workspace-y4zd5vcz.js} +26 -26
  220. package/dist/chunks/{workspace-94hfyg4q.js → workspace-ybebmfe9.js} +14 -14
  221. package/dist/chunks/{workspace-ajtjthsy.js → workspace-yg7sb877.js} +1 -1
  222. package/dist/chunks/{workspace-w1ym465x.js → workspace-yqw5t43k.js} +8 -8
  223. package/dist/chunks/{workspace-3hszvgvz.js → workspace-z1crwnwx.js} +7 -7
  224. package/dist/chunks/workspace-z5h5yern.js +4 -0
  225. package/dist/chunks/{workspace-3cm4x8pz.js → workspace-z78tg67p.js} +3 -3
  226. package/dist/chunks/{workspace-hr77wr0b.js → workspace-z7edr7q6.js} +2 -2
  227. package/dist/chunks/{workspace-1cngsnb6.js → workspace-ze4dnq9c.js} +19 -19
  228. package/dist/chunks/{workspace-42my878b.js → workspace-zfnpc7fv.js} +1 -1
  229. package/dist/chunks/{workspace-3ay2m3f4.js → workspace-zs01jzak.js} +12 -12
  230. package/dist/chunks/{workspace-mzq59fwg.js → workspace-zzjc6qzr.js} +28 -28
  231. package/dist/codemode/instructions.js +4 -4
  232. package/dist/command.js +69 -69
  233. package/dist/config/discovery.js +63 -63
  234. package/dist/config/normalize.js +16 -16
  235. package/dist/config/plugin/agent.js +96 -96
  236. package/dist/config/plugin/command.js +182 -182
  237. package/dist/config/plugin/compaction.js +130 -130
  238. package/dist/config/plugin/formatter.js +96 -96
  239. package/dist/config/plugin/image.js +94 -94
  240. package/dist/config/plugin/instruction.js +70 -70
  241. package/dist/config/plugin/location-watcher.js +96 -96
  242. package/dist/config/plugin/mcp.js +106 -106
  243. package/dist/config/plugin/policy.js +93 -93
  244. package/dist/config/plugin/provider.js +92 -92
  245. package/dist/config/plugin/reference.js +96 -96
  246. package/dist/config/plugin/shell.js +97 -97
  247. package/dist/config/plugin/skill-file.js +79 -79
  248. package/dist/config/plugin/skill.js +114 -114
  249. package/dist/config/plugin/snapshot.js +94 -94
  250. package/dist/config/plugin/source.js +96 -96
  251. package/dist/config/plugin/tool-output.js +96 -96
  252. package/dist/config/plugin/websearch.js +94 -94
  253. package/dist/config/plugin/worktree.js +97 -97
  254. package/dist/config/variable.js +2 -2
  255. package/dist/config.js +99 -99
  256. package/dist/credential.js +66 -66
  257. package/dist/database/database.js +56 -56
  258. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  259. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  260. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  261. package/dist/database/drizzle/index.js +11 -11
  262. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  263. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  264. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  265. package/dist/database/drizzle.js +11 -11
  266. package/dist/database/migration.gen.js +36 -36
  267. package/dist/database/migration.js +38 -38
  268. package/dist/database/v1-migration.bun.js +14 -14
  269. package/dist/effect/app-node-builder.js +236 -236
  270. package/dist/effect/keyed-mutex.js +3 -3
  271. package/dist/environment/environment.js +71 -71
  272. package/dist/environment/index.js +73 -73
  273. package/dist/event-logger.js +14 -14
  274. package/dist/file-mutation.js +72 -72
  275. package/dist/filesystem/location-watcher-policy.js +5 -5
  276. package/dist/filesystem/location-watcher.js +196 -196
  277. package/dist/filesystem/search.js +80 -80
  278. package/dist/filesystem/watcher-binding.js +3 -3
  279. package/dist/filesystem/watcher.js +14 -14
  280. package/dist/filesystem.js +79 -79
  281. package/dist/form.js +69 -69
  282. package/dist/formatter/builtins.js +3 -3
  283. package/dist/formatter.js +70 -70
  284. package/dist/generate.js +71 -71
  285. package/dist/git.js +6 -6
  286. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  287. package/dist/github-copilot/copilot-provider.js +3 -3
  288. package/dist/github-copilot/models.js +7 -7
  289. package/dist/github-copilot/responses/openai-responses-language-model.js +8 -8
  290. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  291. package/dist/image/photon.js +1 -1
  292. package/dist/image.js +5 -5
  293. package/dist/instance/service.js +5 -5
  294. package/dist/instance.js +316 -316
  295. package/dist/instruction-discovery.js +69 -69
  296. package/dist/instructions/builtins.js +66 -66
  297. package/dist/instructions/index.js +5 -5
  298. package/dist/integration.js +68 -68
  299. package/dist/job.js +62 -62
  300. package/dist/kv.js +57 -57
  301. package/dist/location-activity.js +63 -63
  302. package/dist/location-mutation.js +67 -67
  303. package/dist/location-service-map.js +69 -69
  304. package/dist/location-services.js +314 -314
  305. package/dist/location.js +70 -70
  306. package/dist/mcp/client.js +20 -20
  307. package/dist/mcp/index.js +84 -84
  308. package/dist/mcp/instructions.js +102 -102
  309. package/dist/mcp/stdio.js +68 -68
  310. package/dist/modal/models.js +7 -7
  311. package/dist/model-resolver.js +70 -70
  312. package/dist/model.js +8 -8
  313. package/dist/models-dev.js +70 -70
  314. package/dist/permission/saved.js +64 -64
  315. package/dist/permission/sql.js +3 -3
  316. package/dist/permission.js +91 -91
  317. package/dist/persistent-pty/index.js +68 -68
  318. package/dist/persistent-pty.js +56 -56
  319. package/dist/plugin/agent.js +82 -82
  320. package/dist/plugin/command.js +77 -77
  321. package/dist/plugin/hooks.js +5 -5
  322. package/dist/plugin/host.js +187 -187
  323. package/dist/plugin/instance.js +5 -5
  324. package/dist/plugin/internal.js +286 -286
  325. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  326. package/dist/plugin/models-dev.js +61 -61
  327. package/dist/plugin/module.js +5 -5
  328. package/dist/plugin/optimize.js +3 -3
  329. package/dist/plugin/plan.js +80 -80
  330. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  331. package/dist/plugin/provider/anthropic.js +2 -2
  332. package/dist/plugin/provider/azure.js +97 -97
  333. package/dist/plugin/provider/cerebras.js +2 -2
  334. package/dist/plugin/provider/cloudflare-ai-gateway.js +96 -96
  335. package/dist/plugin/provider/cloudflare-workers-ai.js +96 -96
  336. package/dist/plugin/provider/configured.js +94 -94
  337. package/dist/plugin/provider/github-copilot.js +64 -64
  338. package/dist/plugin/provider/gitlab.js +3 -3
  339. package/dist/plugin/provider/google-vertex.js +2 -2
  340. package/dist/plugin/provider/kilo.js +2 -2
  341. package/dist/plugin/provider/llmgateway.js +60 -60
  342. package/dist/plugin/provider/lmstudio.js +95 -95
  343. package/dist/plugin/provider/modal.js +63 -63
  344. package/dist/plugin/provider/nvidia.js +2 -2
  345. package/dist/plugin/provider/ollama.js +97 -97
  346. package/dist/plugin/provider/openai.js +63 -63
  347. package/dist/plugin/provider/opencode.js +60 -60
  348. package/dist/plugin/provider/openrouter.js +3 -3
  349. package/dist/plugin/provider/sap-ai-core.js +2 -2
  350. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  351. package/dist/plugin/provider/vercel.js +2 -2
  352. package/dist/plugin/provider/vllm.js +97 -97
  353. package/dist/plugin/provider/xai.js +61 -61
  354. package/dist/plugin/provider/zenmux.js +2 -2
  355. package/dist/plugin/provider.js +129 -129
  356. package/dist/plugin/sdk.js +57 -57
  357. package/dist/plugin/service.js +3 -3
  358. package/dist/plugin/skill.js +110 -110
  359. package/dist/plugin/supervisor.js +305 -305
  360. package/dist/plugin/update.js +6 -6
  361. package/dist/plugin/variant.js +4 -4
  362. package/dist/plugin/vcs/git.js +67 -67
  363. package/dist/plugin/vcs/hg.js +67 -67
  364. package/dist/plugin/warming.js +92 -92
  365. package/dist/plugin/websearch/exa.js +6 -6
  366. package/dist/plugin/websearch/firecrawl.js +7 -7
  367. package/dist/plugin/websearch/index.js +7 -7
  368. package/dist/plugin/websearch/mcp.js +5 -5
  369. package/dist/plugin/websearch/parallel.js +5 -5
  370. package/dist/plugin/websearch/tavily.js +6 -6
  371. package/dist/plugin.js +195 -195
  372. package/dist/project/schema.js +7 -7
  373. package/dist/project/sql.js +2 -2
  374. package/dist/project.js +71 -71
  375. package/dist/provider.js +3 -3
  376. package/dist/pty/schema.js +3 -3
  377. package/dist/pty.js +79 -79
  378. package/dist/reference/instructions.js +70 -70
  379. package/dist/reference.js +72 -72
  380. package/dist/repository-cache.js +62 -62
  381. package/dist/repository.js +3 -3
  382. package/dist/ripgrep.js +75 -75
  383. package/dist/rpc.js +67 -67
  384. package/dist/session/command.js +58 -58
  385. package/dist/session/compaction.js +104 -104
  386. package/dist/session/context.js +124 -124
  387. package/dist/session/environment.js +5 -5
  388. package/dist/session/error.js +6 -6
  389. package/dist/session/execution/restart.js +124 -124
  390. package/dist/session/execution.js +105 -105
  391. package/dist/session/generate.js +123 -123
  392. package/dist/session/history.js +10 -10
  393. package/dist/session/inbox.js +68 -68
  394. package/dist/session/info.js +2 -2
  395. package/dist/session/instruction-entry.js +63 -63
  396. package/dist/session/instruction-state.js +5 -5
  397. package/dist/session/instructions.js +75 -75
  398. package/dist/session/model-request.js +89 -89
  399. package/dist/session/model-transport.js +3 -3
  400. package/dist/session/move.js +106 -106
  401. package/dist/session/projector.js +67 -67
  402. package/dist/session/prompt.js +83 -83
  403. package/dist/session/revert.js +69 -69
  404. package/dist/session/run-coordinator.js +3 -3
  405. package/dist/session/runner/index.js +3 -3
  406. package/dist/session/runner/llm.js +195 -195
  407. package/dist/session/runner/model.js +70 -70
  408. package/dist/session/runner/step.js +99 -99
  409. package/dist/session/schema.js +5 -5
  410. package/dist/session/session.js +144 -144
  411. package/dist/session/shell.js +109 -109
  412. package/dist/session/skill.js +81 -81
  413. package/dist/session/sql.js +3 -3
  414. package/dist/session/stats.js +12 -12
  415. package/dist/session/store.js +66 -66
  416. package/dist/session/subagent-job.js +176 -176
  417. package/dist/session/title.js +127 -127
  418. package/dist/session/to-session-error.js +88 -88
  419. package/dist/session/transfer.js +124 -124
  420. package/dist/session.js +190 -190
  421. package/dist/shell/parse.js +3 -3
  422. package/dist/shell/select.js +9 -9
  423. package/dist/shell.js +110 -110
  424. package/dist/skill/discovery.js +5 -5
  425. package/dist/skill/instructions.js +85 -85
  426. package/dist/skill.js +90 -90
  427. package/dist/snapshot.js +72 -72
  428. package/dist/tool/mcp.js +101 -101
  429. package/dist/tool/plugin/edit.js +95 -95
  430. package/dist/tool/plugin/glob.js +99 -99
  431. package/dist/tool/plugin/grep.js +99 -99
  432. package/dist/tool/plugin/opencode.js +3 -3
  433. package/dist/tool/plugin/patch.js +97 -97
  434. package/dist/tool/plugin/question.js +81 -81
  435. package/dist/tool/plugin/read.js +99 -99
  436. package/dist/tool/plugin/shell.js +186 -186
  437. package/dist/tool/plugin/skill.js +87 -87
  438. package/dist/tool/plugin/subagent.js +187 -187
  439. package/dist/tool/plugin/webfetch.js +86 -86
  440. package/dist/tool/plugin/websearch.js +92 -92
  441. package/dist/tool/plugin/write.js +95 -95
  442. package/dist/tool/read-filesystem.js +76 -76
  443. package/dist/tool-output.js +6 -6
  444. package/dist/tool.js +9 -9
  445. package/dist/v1/config/agent.js +4 -4
  446. package/dist/v1/config/attachment.js +3 -3
  447. package/dist/v1/config/command.js +5 -5
  448. package/dist/v1/config/config.js +11 -11
  449. package/dist/v1/config/error.js +3 -3
  450. package/dist/v1/config/formatter.js +7 -7
  451. package/dist/v1/config/lsp.js +5 -5
  452. package/dist/v1/config/mcp.js +3 -3
  453. package/dist/v1/config/migrate.js +3 -3
  454. package/dist/v1/config/permission.js +7 -7
  455. package/dist/v1/config/plugin.js +3 -3
  456. package/dist/v1/config/provider.js +3 -3
  457. package/dist/v1/config/skills.js +3 -3
  458. package/dist/vcs.js +70 -70
  459. package/dist/websearch.js +66 -66
  460. package/dist/wellknown/plugin.js +60 -60
  461. package/dist/wellknown.js +63 -63
  462. package/dist/workspace/driver.js +7 -7
  463. package/dist/workspace.js +65 -65
  464. package/dist/worktree/directory.js +3 -3
  465. package/dist/worktree/git.js +6 -6
  466. package/dist/worktree/refresh.js +304 -304
  467. package/dist/worktree/sql.js +3 -3
  468. package/dist/worktree.js +76 -76
  469. package/package.json +7 -7
  470. package/dist/chunks/workspace-9m2n3md9.js +0 -247
  471. package/dist/chunks/workspace-hh05q5c4.js +0 -22
  472. package/dist/chunks/workspace-w3vb4krt.js +0 -4
  473. /package/dist/chunks/{workspace-zkhm2pfg.js → workspace-20xfcnp3.js} +0 -0
  474. /package/dist/chunks/{workspace-8xd7p2c8.js → workspace-6npkw4fy.js} +0 -0
  475. /package/dist/chunks/{workspace-6vq97qmv.js → workspace-ce5fknq2.js} +0 -0
  476. /package/dist/chunks/{workspace-ma1hsyqq.js → workspace-p7ahaw0m.js} +0 -0
  477. /package/dist/chunks/{workspace-9qm9egsn.js → workspace-qvbcabdc.js} +0 -0
@@ -2,8 +2,8 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./workspace-p8qxwesx.js";
4
4
  import {
5
- Service76
6
- } from "./workspace-pfgzwmcs.js";
5
+ Service64
6
+ } from "./workspace-6q7f5vec.js";
7
7
  import {
8
8
  __export
9
9
  } from "./workspace-9rqn6x4v.js";
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service76;
26
+ const location = yield* Service64;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -9,23 +9,23 @@ import {
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event20,
13
- ID: () => ID18,
14
- Info: () => Info32,
12
+ Event: () => Event14,
13
+ ID: () => ID13,
14
+ Info: () => Info26,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode-ai/schema/project";
21
- var ID18 = Project.ID;
21
+ var ID13 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info32 = Project.Info;
23
+ var Info26 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event20 = Project.Event;
25
+ var Event14 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID18, Current3, Info32, UpdateInput4, Event20, Vcs3, exports_schema };
31
+ export { ID13, Current3, Info26, UpdateInput4, Event14, Vcs3, exports_schema };
@@ -5,28 +5,28 @@ import {
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./workspace-g19vc6v7.js";
8
+ } from "./workspace-hc4b3kyg.js";
9
9
  import {
10
- Service42,
11
- node45
12
- } from "./workspace-x7m1j1fp.js";
10
+ Service61,
11
+ node64
12
+ } from "./workspace-srqy7nqv.js";
13
13
  import {
14
14
  map2
15
- } from "./workspace-de8s0qqs.js";
15
+ } from "./workspace-mg8hyy97.js";
16
16
  import {
17
17
  ID14,
18
18
  VariantID2,
19
- Ref3
20
- } from "./workspace-f4g7wt00.js";
19
+ Ref4
20
+ } from "./workspace-23gv0zdg.js";
21
21
  import {
22
- ID12,
23
- Service70,
24
- node75
25
- } from "./workspace-zarjf3s7.js";
22
+ ID10,
23
+ Service60,
24
+ node63
25
+ } from "./workspace-1d38sp2d.js";
26
26
  import {
27
- Service69,
28
- node74
29
- } from "./workspace-wp7kaye5.js";
27
+ Service59,
28
+ node62
29
+ } from "./workspace-y4zd5vcz.js";
30
30
  import {
31
31
  __export
32
32
  } from "./workspace-9rqn6x4v.js";
@@ -35,14 +35,14 @@ import {
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service41,
38
+ Service: () => Service58,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedPackageError: () => UnsupportedPackageError3,
41
41
  VariantUnavailableError: () => VariantUnavailableError3,
42
42
  fromCatalogModel: () => fromCatalogModel2,
43
43
  hasPackage: () => hasPackage2,
44
- layer: () => layer18,
45
- node: () => node44,
44
+ layer: () => layer20,
45
+ node: () => node61,
46
46
  resolveModel: () => resolveModel2,
47
47
  withVariant: () => withVariant2
48
48
  });
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
81
81
  }
82
82
  }
83
83
 
84
- class Service41 extends Context.Service()("@opencode/ModelResolver") {
84
+ class Service58 extends Context.Service()("@opencode/ModelResolver") {
85
85
  }
86
86
  var withVariant2 = (model, variantID) => {
87
87
  const id = variantID === "default" ? undefined : variantID;
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
203
203
  });
204
204
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
205
205
  var hasPackage2 = (model) => Boolean(model.package);
206
- var layer18 = Layer.effect(Service41, Effect.gen(function* () {
207
- const catalog = yield* Service69;
208
- const integrations = yield* Service70;
206
+ var layer20 = Layer.effect(Service58, Effect.gen(function* () {
207
+ const catalog = yield* Service59;
208
+ const integrations = yield* Service60;
209
209
  const npm = yield* Npm.Service;
210
- const aisdk = yield* Service42;
210
+ const aisdk = yield* Service61;
211
211
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
212
212
  const provider = yield* catalog.provider.get(selected.providerID);
213
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
213
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
214
214
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
215
215
  const runtimeInfo = yield* withVariant2(selected, variant);
216
216
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -220,7 +220,7 @@ var layer18 = Layer.effect(Service41, Effect.gen(function* () {
220
220
  const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
221
221
  return {
222
222
  model: runtime,
223
- ref: Ref3.make({
223
+ ref: Ref4.make({
224
224
  id: selected.id,
225
225
  providerID: selected.providerID,
226
226
  ...variant === undefined ? {} : { variant }
@@ -230,7 +230,7 @@ var layer18 = Layer.effect(Service41, Effect.gen(function* () {
230
230
  limit: selected.limit
231
231
  };
232
232
  });
233
- return Service41.of({
233
+ return Service58.of({
234
234
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
235
235
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
236
236
  if (!selected)
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
247
247
  const name = packageName2(packageName);
248
248
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
249
249
  }
250
- var node44 = makeLocationNode({
251
- service: Service41,
252
- layer: layer18,
253
- deps: [node74, node75, Npm.node, node45]
250
+ var node61 = makeLocationNode({
251
+ service: Service58,
252
+ layer: layer20,
253
+ deps: [node62, node63, Npm.node, node64]
254
254
  });
255
255
 
256
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service41, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer18, node44, exports_model_resolver };
256
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node61, exports_model_resolver };
@@ -2,8 +2,8 @@ import {
2
2
  lazy2
3
3
  } from "./workspace-88xbtdfr.js";
4
4
  import {
5
- load2
6
- } from "./workspace-paphc93g.js";
5
+ load3
6
+ } from "./workspace-j935v87r.js";
7
7
  import {
8
8
  __export
9
9
  } from "./workspace-9rqn6x4v.js";
@@ -11,18 +11,18 @@ import {
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event10,
14
+ Event: () => Event7,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service56,
16
+ Options: () => Options6,
17
+ Service: () => Service48,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured6,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer22,
22
+ layer: () => layer18,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node59,
25
+ node: () => node51,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event10 = { Updated: FileSystem.Event.Changed };
36
+ var Event7 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load2());
39
+ return createWrapper(load3());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options6 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service56 extends Context.Service()("@opencode/Watcher") {
60
+ class Service48 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
65
+ var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service56.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service48.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service56.of({ subscribe });
108
+ return Service48.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service56).subscribe,
134
+ subscribe: Context.get(context, Service48).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service56, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service48, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service56, layer: layer22(options), deps: [nativeNode2] });
167
+ function configured6(options) {
168
+ return makeGlobalNode({ service: Service48, layer: layer18(options), deps: [nativeNode2] });
169
169
  }
170
- var node59 = configured8();
170
+ var node51 = configured6();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event10, hasNativeBinding2, Native3, Options9, Service56, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured8, node59, exports_watcher };
190
+ export { Event7, hasNativeBinding2, Native3, Options6, Service48, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured6, node51, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service62
3
- } from "./workspace-81nm525f.js";
2
+ Service39
3
+ } from "./workspace-b6qqpdm6.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
@@ -16,29 +16,29 @@ import {
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input10,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input7,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin42,
22
+ Plugin: () => Plugin8,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name10
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name10 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name7 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
37
  var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input10 = Schema.Struct({
41
+ var Input7 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input10.fields.format,
51
+ format: Input7.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin42 = {
95
+ var Plugin8 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service62;
99
+ const permission = yield* Service39;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name10,
101
+ name: name7,
102
102
  options: { codemode: false },
103
103
  description: description4,
104
- input: Input10,
104
+ input: Input7,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin42 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name10,
112
+ action: name7,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin42, extractTextFromHTML2, exports_webfetch };
170
+ export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin8, extractTextFromHTML2, exports_webfetch };
@@ -3,7 +3,7 @@ import {
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./workspace-g19vc6v7.js";
6
+ } from "./workspace-hc4b3kyg.js";
7
7
  import {
8
8
  __export
9
9
  } from "./workspace-9rqn6x4v.js";
@@ -13,9 +13,9 @@ var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service42,
16
+ Service: () => Service61,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node45
18
+ node: () => node64
19
19
  });
20
20
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service42 extends Context.Service()("@opencode/AISDK") {
139
+ class Service61 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service42, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service42, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service42.of({
179
+ const service = Service61.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
809
809
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
810
810
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
811
811
  }
812
- var node45 = makeLocationNode({ service: Service42, layer: locationLayer2, deps: [] });
812
+ var node64 = makeLocationNode({ service: Service61, layer: locationLayer2, deps: [] });
813
813
 
814
- export { InitError2, Service42, locationLayer2, node45, exports_aisdk };
814
+ export { InitError2, Service61, locationLayer2, node64, exports_aisdk };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service79
3
- } from "./workspace-d4tfyaan.js";
2
+ Service78
3
+ } from "./workspace-5bknnx47.js";
4
4
  import {
5
- Service76
6
- } from "./workspace-pfgzwmcs.js";
5
+ Service64
6
+ } from "./workspace-6q7f5vec.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service28
10
- } from "./workspace-r5ef8gce.js";
9
+ Service26
10
+ } from "./workspace-9g1gs4kw.js";
11
11
  import {
12
12
  __export
13
13
  } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command2 = {};
17
- __export(exports_command2, {
18
- CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin26
16
+ var exports_command = {};
17
+ __export(exports_command, {
18
+ CommandPlugin: () => exports_command,
19
+ Plugin: () => Plugin27
20
20
  });
21
21
  import { define } from "@opencode-ai/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin26 = define({
196
+ var Plugin27 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service76;
200
- const mcp = yield* Service28;
201
- const bus = yield* Service79;
199
+ const location = yield* Service64;
200
+ const mcp = yield* Service26;
201
+ const bus = yield* Service78;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin26, exports_command2 };
283
+ export { Plugin27, exports_command };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./workspace-d4tfyaan.js";
2
+ Service78,
3
+ node83
4
+ } from "./workspace-5bknnx47.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
8
  } from "./workspace-p8qxwesx.js";
9
9
  import {
10
- Ref4,
11
- Service76,
12
- node81
13
- } from "./workspace-pfgzwmcs.js";
10
+ Ref3,
11
+ Service64,
12
+ node67
13
+ } from "./workspace-6q7f5vec.js";
14
14
  import {
15
15
  __export
16
16
  } from "./workspace-9rqn6x4v.js";
@@ -19,15 +19,15 @@ import {
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service59,
22
+ Service: () => Service42,
23
23
  define: () => define2,
24
- node: () => node63
24
+ node: () => node45
25
25
  });
26
26
  import { define as define2 } from "@opencode-ai/schema/rpc";
27
27
  import { Event } from "@opencode-ai/schema/event";
28
28
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
29
29
  import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service59 extends Context.Service()("@opencode/Rpc") {
30
+ class Service42 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service59, Effect.gen(function* () {
43
- const bus = yield* Service79;
44
- const location = yield* Service76;
45
- const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
42
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
43
+ const bus = yield* Service78;
44
+ const location = yield* Service64;
45
+ const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const callContext = {
47
47
  error: (type, message, data) => new DeclaredError(type, message, data)
48
48
  };
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
81
81
  const event = registered.event;
82
82
  const data = yield* encode(event.schema, args[1]);
83
83
  return yield* bus.publish(registered.definition, data, {
84
- location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
84
+ location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
85
  }).pipe(Effect.asVoid);
86
86
  })
87
87
  }
@@ -115,19 +115,19 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
115
115
  const registered = events.get(name);
116
116
  if (!registered)
117
117
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
118
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
118
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service64, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
119
119
  }
120
120
  }
121
121
  };
122
122
  };
123
- return Service59.of({ register, call, client });
123
+ return Service42.of({ register, call, client });
124
124
  }));
125
- var node63 = makeLocationNode({ service: Service59, layer, deps: [node84, node81] });
125
+ var node45 = makeLocationNode({ service: Service42, layer, deps: [node83, node67] });
126
126
  var fields = {
127
127
  id: Event.ID,
128
128
  created: Schema.Finite,
129
129
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
130
- location: optional2(Ref4)
130
+ location: optional2(Ref3)
131
131
  };
132
132
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
133
133
  var jsonSchemas = new WeakMap;
@@ -203,8 +203,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
203
203
  ...payload,
204
204
  type: eventType(definition, name),
205
205
  data,
206
- location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
206
+ location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
207
207
  };
208
208
  });
209
209
 
210
- export { Service59, node63, exports_rpc, define2 };
210
+ export { Service42, node45, exports_rpc, define2 };
@@ -5,18 +5,18 @@ import {
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service51,
8
+ Service: () => Service46,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node54
10
+ node: () => node49
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
14
14
 
15
- class Service51 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service51, () => {
17
+ var layer = Layer.sync(Service46, () => {
18
18
  const environments = new Map;
19
- return Service51.of({
19
+ return Service46.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(Service51, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node54 = makeGlobalNode({ service: Service51, layer, deps: [] });
29
+ var node49 = makeGlobalNode({ service: Service46, layer, deps: [] });
30
30
 
31
- export { Service51, node54, exports_environment };
31
+ export { Service46, node49, exports_environment };