@opencode/core 0.0.0-dev-526 → 0.0.0-dev-528

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 (555) hide show
  1. package/dist/agent.js +73 -73
  2. package/dist/aisdk-native.js +82 -82
  3. package/dist/aisdk.js +87 -87
  4. package/dist/app.js +7 -7
  5. package/dist/artifact.js +215 -215
  6. package/dist/bus.js +66 -66
  7. package/dist/chunks/{repository-cache-rq5zfkmw.js → repository-cache-01k7epdz.js} +8 -8
  8. package/dist/chunks/{repository-cache-8qehcy0c.js → repository-cache-07h79106.js} +66 -66
  9. package/dist/chunks/{repository-cache-akk783yh.js → repository-cache-0mgzkh3z.js} +2 -2
  10. package/dist/chunks/{repository-cache-fvz47e7v.js → repository-cache-0nwj03m7.js} +9 -9
  11. package/dist/chunks/{repository-cache-dgw19g0z.js → repository-cache-0pkn334n.js} +10 -10
  12. package/dist/chunks/{repository-cache-0570svrq.js → repository-cache-0py1yhe6.js} +42 -42
  13. package/dist/chunks/{repository-cache-8z0w46qk.js → repository-cache-0pzj4jw3.js} +28 -28
  14. package/dist/chunks/{repository-cache-ytc8zafd.js → repository-cache-0qa09yhm.js} +18 -18
  15. package/dist/chunks/{repository-cache-xjbsd7zy.js → repository-cache-0s9gv0av.js} +7 -7
  16. package/dist/chunks/{repository-cache-nrv2xqv3.js → repository-cache-0z1679ht.js} +14 -14
  17. package/dist/chunks/{repository-cache-x150ncgg.js → repository-cache-19gkfjnk.js} +1 -1
  18. package/dist/chunks/{repository-cache-cg17g3bh.js → repository-cache-1cy6y56s.js} +14 -14
  19. package/dist/chunks/{repository-cache-qtf35215.js → repository-cache-1njtx4es.js} +3 -3
  20. package/dist/chunks/{repository-cache-rrcz77ds.js → repository-cache-1nr3zt2y.js} +14 -14
  21. package/dist/chunks/{repository-cache-8g483503.js → repository-cache-1r7fa2na.js} +24 -24
  22. package/dist/chunks/{repository-cache-btzjsk5g.js → repository-cache-1xvat539.js} +19 -19
  23. package/dist/chunks/{repository-cache-v5xy8wzz.js → repository-cache-20k00q4h.js} +9 -9
  24. package/dist/chunks/{repository-cache-cmbezbpz.js → repository-cache-23syddrh.js} +20 -20
  25. package/dist/chunks/{repository-cache-39v36dn9.js → repository-cache-25v3tgn9.js} +2 -2
  26. package/dist/chunks/{repository-cache-tb2mrvc9.js → repository-cache-26wfx3k0.js} +3 -3
  27. package/dist/chunks/{repository-cache-tshvvb5t.js → repository-cache-2715acwk.js} +9 -9
  28. package/dist/chunks/{repository-cache-1ep2p91f.js → repository-cache-27w5k9zf.js} +1 -1
  29. package/dist/chunks/{repository-cache-r9g39hxh.js → repository-cache-29rhhbmx.js} +48 -48
  30. package/dist/chunks/{repository-cache-p0rg1a2b.js → repository-cache-29z0zpha.js} +4 -4
  31. package/dist/chunks/{repository-cache-17b8a7h3.js → repository-cache-2a6tkf44.js} +6 -6
  32. package/dist/chunks/{repository-cache-50emzza2.js → repository-cache-2b2r7h3k.js} +7 -7
  33. package/dist/chunks/{repository-cache-36njk8b9.js → repository-cache-2fjhnpmp.js} +8 -8
  34. package/dist/chunks/{repository-cache-4r7b9kq0.js → repository-cache-2h56gaw8.js} +83 -83
  35. package/dist/chunks/{repository-cache-vsb7s5jc.js → repository-cache-2j89yb3m.js} +22 -22
  36. package/dist/chunks/{repository-cache-j0p3wt22.js → repository-cache-2kedh6bd.js} +7 -7
  37. package/dist/chunks/{repository-cache-ztf6n3de.js → repository-cache-2m2g9ynh.js} +3 -3
  38. package/dist/chunks/{repository-cache-3345d27s.js → repository-cache-2nz4tm3b.js} +49 -49
  39. package/dist/chunks/{repository-cache-kse531ts.js → repository-cache-2vpsg9px.js} +1 -1
  40. package/dist/chunks/{repository-cache-0p9dpm4j.js → repository-cache-30kxy8g4.js} +6 -6
  41. package/dist/chunks/{repository-cache-tjbc8cst.js → repository-cache-39zp4fx6.js} +52 -52
  42. package/dist/chunks/{repository-cache-ayjs7tqn.js → repository-cache-3cbjf1nt.js} +1 -1
  43. package/dist/chunks/{repository-cache-gsdm4vs4.js → repository-cache-3kpfxvz8.js} +1 -1
  44. package/dist/chunks/{repository-cache-n2byyn4z.js → repository-cache-3nbmnbm3.js} +19 -19
  45. package/dist/chunks/{repository-cache-6fbmsmtz.js → repository-cache-3xvj5eve.js} +6 -6
  46. package/dist/chunks/{repository-cache-kpgqb8fa.js → repository-cache-3z170p80.js} +13 -13
  47. package/dist/chunks/{repository-cache-yypes0b9.js → repository-cache-45zt72vt.js} +75 -75
  48. package/dist/chunks/{repository-cache-v4wwqybb.js → repository-cache-493fsfav.js} +4 -4
  49. package/dist/chunks/{repository-cache-23frs6jw.js → repository-cache-4rf2v3x4.js} +5 -5
  50. package/dist/chunks/{repository-cache-bvatbj32.js → repository-cache-4za56k4r.js} +29 -29
  51. package/dist/chunks/{repository-cache-z6d4vqry.js → repository-cache-546fe9fw.js} +5 -5
  52. package/dist/chunks/{repository-cache-g9m7dw8y.js → repository-cache-57dphzb6.js} +17 -17
  53. package/dist/chunks/{repository-cache-npycpjef.js → repository-cache-5badvev5.js} +36 -36
  54. package/dist/chunks/{repository-cache-51wjgk96.js → repository-cache-5gymyzcn.js} +22 -22
  55. package/dist/chunks/{repository-cache-72jpt517.js → repository-cache-5pp7cr08.js} +8 -8
  56. package/dist/chunks/{repository-cache-efmq5t8s.js → repository-cache-5rdk9bd3.js} +6 -6
  57. package/dist/chunks/{repository-cache-7e8fzpbf.js → repository-cache-5xt4hebh.js} +17 -17
  58. package/dist/chunks/{repository-cache-pzth02e8.js → repository-cache-5yb3jceh.js} +33 -33
  59. package/dist/chunks/{repository-cache-z6z16erj.js → repository-cache-5ytbsxg8.js} +44 -44
  60. package/dist/chunks/{repository-cache-vtkyewdg.js → repository-cache-62b0mtf4.js} +9 -9
  61. package/dist/chunks/{repository-cache-cfydbn62.js → repository-cache-64h1tw9f.js} +29 -29
  62. package/dist/chunks/{repository-cache-q65mdntm.js → repository-cache-6dqyy18z.js} +3 -3
  63. package/dist/chunks/{repository-cache-782sfg4x.js → repository-cache-6hbt1qs3.js} +2 -2
  64. package/dist/chunks/{repository-cache-z9fg28mj.js → repository-cache-6sb6jh13.js} +30 -30
  65. package/dist/chunks/{repository-cache-qg88eyhy.js → repository-cache-6tt6kcbb.js} +2 -2
  66. package/dist/chunks/{repository-cache-eab5fpag.js → repository-cache-78jn5b9r.js} +45 -45
  67. package/dist/chunks/{repository-cache-6y2b864j.js → repository-cache-79k544d0.js} +6 -6
  68. package/dist/chunks/{repository-cache-09mtnzdp.js → repository-cache-7j4pg84s.js} +1 -1
  69. package/dist/chunks/{repository-cache-aptmk1eg.js → repository-cache-7mvxqbtz.js} +7 -7
  70. package/dist/chunks/{repository-cache-8sxe6kv8.js → repository-cache-7qrph824.js} +1 -1
  71. package/dist/chunks/{repository-cache-m8g39vpr.js → repository-cache-87mrst72.js} +4 -4
  72. package/dist/chunks/{repository-cache-wcb4m75m.js → repository-cache-8degc2se.js} +2 -2
  73. package/dist/chunks/{repository-cache-mg4rrfgc.js → repository-cache-8g55cj9n.js} +9 -9
  74. package/dist/chunks/{repository-cache-h2wazp8s.js → repository-cache-8sbvrr13.js} +16 -16
  75. package/dist/chunks/{repository-cache-3qgwywyc.js → repository-cache-8t99kr38.js} +3 -3
  76. package/dist/chunks/{repository-cache-5gnsew3j.js → repository-cache-8w81yv1k.js} +16 -16
  77. package/dist/chunks/{repository-cache-mb7mbhnz.js → repository-cache-8z6m94af.js} +1 -1
  78. package/dist/chunks/{repository-cache-yn3x0myd.js → repository-cache-8zwaxxx0.js} +5 -5
  79. package/dist/chunks/{repository-cache-gv2m5n15.js → repository-cache-9b5t9yj0.js} +10 -10
  80. package/dist/chunks/{repository-cache-jqzkmxe2.js → repository-cache-9b9m7ffr.js} +41 -41
  81. package/dist/chunks/{repository-cache-r5f9wcnz.js → repository-cache-9ds2ve8j.js} +8 -8
  82. package/dist/chunks/{repository-cache-4w8rtzkq.js → repository-cache-9jtwx9cv.js} +23 -23
  83. package/dist/chunks/{repository-cache-45bqgdt1.js → repository-cache-9k3rss2s.js} +21 -21
  84. package/dist/chunks/{repository-cache-6avt71pb.js → repository-cache-9mm9ysz3.js} +31 -31
  85. package/dist/chunks/{repository-cache-3yzzx9pt.js → repository-cache-9tp3mnbx.js} +7 -7
  86. package/dist/chunks/{repository-cache-snws2sbm.js → repository-cache-a6cs5kbs.js} +7 -7
  87. package/dist/chunks/{repository-cache-zfbdpczg.js → repository-cache-ag9187ex.js} +12 -12
  88. package/dist/chunks/{repository-cache-tk4w63wn.js → repository-cache-amfhhqee.js} +3 -3
  89. package/dist/chunks/{repository-cache-x9aa95w6.js → repository-cache-arz3py2d.js} +7 -7
  90. package/dist/chunks/{repository-cache-s0qt78mh.js → repository-cache-ax5fhcrq.js} +14 -14
  91. package/dist/chunks/{repository-cache-3yycz9r1.js → repository-cache-axhyxf2f.js} +7 -7
  92. package/dist/chunks/{repository-cache-hqvawb3t.js → repository-cache-b4v9py3p.js} +10 -10
  93. package/dist/chunks/{repository-cache-cxd6nj8e.js → repository-cache-b8pf1f15.js} +3 -3
  94. package/dist/chunks/{repository-cache-9rqhy0gk.js → repository-cache-bb3pv0r8.js} +3 -3
  95. package/dist/chunks/{repository-cache-5skedt4e.js → repository-cache-beytjyxy.js} +11 -11
  96. package/dist/chunks/{repository-cache-js2thteb.js → repository-cache-bffda3dn.js} +1 -1
  97. package/dist/chunks/{repository-cache-y3p3hzkr.js → repository-cache-bmrg0j5c.js} +3 -3
  98. package/dist/chunks/{repository-cache-pcfp8313.js → repository-cache-bsyc285h.js} +29 -29
  99. package/dist/chunks/{repository-cache-v484v0gw.js → repository-cache-bxe80pjv.js} +11 -11
  100. package/dist/chunks/{repository-cache-gp7aa7a5.js → repository-cache-c3k30skk.js} +176 -176
  101. package/dist/chunks/{repository-cache-72mm92v7.js → repository-cache-c5b3skzj.js} +1 -1
  102. package/dist/chunks/{repository-cache-bkscep7p.js → repository-cache-c6fpyn17.js} +25 -25
  103. package/dist/chunks/{repository-cache-2dj158v7.js → repository-cache-c6nh8dtq.js} +33 -33
  104. package/dist/chunks/{repository-cache-jaq18jgp.js → repository-cache-c7gk57p6.js} +4 -4
  105. package/dist/chunks/{repository-cache-wfyv9gxw.js → repository-cache-ccxhfbhz.js} +3 -3
  106. package/dist/chunks/{repository-cache-j3f8hyeg.js → repository-cache-cpvd08na.js} +3 -3
  107. package/dist/chunks/{repository-cache-bm75jts0.js → repository-cache-ctzcwmse.js} +25 -25
  108. package/dist/chunks/{repository-cache-6dcr0hza.js → repository-cache-czq798y2.js} +22 -22
  109. package/dist/chunks/{repository-cache-848ppjek.js → repository-cache-d4hny0t5.js} +5 -5
  110. package/dist/chunks/{repository-cache-m5net9xv.js → repository-cache-d67b29ac.js} +19 -19
  111. package/dist/chunks/{repository-cache-8m9wc8b7.js → repository-cache-dg5d3hna.js} +12 -12
  112. package/dist/chunks/{repository-cache-5y9anawa.js → repository-cache-dhbx6sy4.js} +34 -34
  113. package/dist/chunks/{repository-cache-f9hv1gb2.js → repository-cache-dm5mvca5.js} +1 -1
  114. package/dist/chunks/{repository-cache-dqxfp8w4.js → repository-cache-dszypn43.js} +7 -7
  115. package/dist/chunks/{repository-cache-dgn1jfts.js → repository-cache-e7pg1y8b.js} +7 -7
  116. package/dist/chunks/{repository-cache-h03b4h8m.js → repository-cache-e7sgpp7y.js} +10 -10
  117. package/dist/chunks/{repository-cache-g1e2r5aa.js → repository-cache-egte8s1h.js} +3 -3
  118. package/dist/chunks/{repository-cache-zegmmy0x.js → repository-cache-ena87qa0.js} +7 -7
  119. package/dist/chunks/{repository-cache-fjxa2fmg.js → repository-cache-ewz1xrzs.js} +23 -23
  120. package/dist/chunks/{repository-cache-grzehpz7.js → repository-cache-ezna1kdx.js} +4 -4
  121. package/dist/chunks/{repository-cache-415p058j.js → repository-cache-f0gsxwdt.js} +35 -35
  122. package/dist/chunks/{repository-cache-gm5b10kj.js → repository-cache-fa5f1x46.js} +17 -17
  123. package/dist/chunks/{repository-cache-v15j3x2c.js → repository-cache-fcz6bf99.js} +15 -15
  124. package/dist/chunks/{repository-cache-fzbvjw9m.js → repository-cache-fdcaprj2.js} +7 -7
  125. package/dist/chunks/{repository-cache-q2582vz5.js → repository-cache-fdfebn0e.js} +10 -10
  126. package/dist/chunks/{repository-cache-cxj8s5x6.js → repository-cache-g3hywy9d.js} +55 -55
  127. package/dist/chunks/{repository-cache-e0cv4dhg.js → repository-cache-g737df5q.js} +28 -28
  128. package/dist/chunks/{repository-cache-yy2fst48.js → repository-cache-gcvthvy9.js} +25 -25
  129. package/dist/chunks/{repository-cache-t3qb3tsy.js → repository-cache-gd46tcps.js} +8 -8
  130. package/dist/chunks/{repository-cache-9qh0s6d7.js → repository-cache-gfmaa7tp.js} +30 -30
  131. package/dist/chunks/{repository-cache-va6gsnfx.js → repository-cache-gfxhew10.js} +29 -29
  132. package/dist/chunks/{repository-cache-tk8b4vwr.js → repository-cache-gh9kfc8w.js} +10 -10
  133. package/dist/chunks/{repository-cache-4sphdqh8.js → repository-cache-grf9tjbj.js} +1 -1
  134. package/dist/chunks/{repository-cache-d390zwf3.js → repository-cache-gx98s468.js} +9 -9
  135. package/dist/chunks/{repository-cache-vwjpa1de.js → repository-cache-h1hexrfd.js} +6 -6
  136. package/dist/chunks/{repository-cache-qpwcpmm3.js → repository-cache-h54mzg05.js} +9 -9
  137. package/dist/chunks/{repository-cache-nwnjpwmn.js → repository-cache-ha5pvhjp.js} +33 -33
  138. package/dist/chunks/{repository-cache-m756dwb2.js → repository-cache-hcjaw68q.js} +10 -10
  139. package/dist/chunks/{repository-cache-b8rw9snj.js → repository-cache-hh0xjw11.js} +12 -12
  140. package/dist/chunks/{repository-cache-hprj54m4.js → repository-cache-hr016kcx.js} +16 -16
  141. package/dist/chunks/{repository-cache-bnn3kspk.js → repository-cache-hvx2hsrq.js} +5 -5
  142. package/dist/chunks/{repository-cache-t4vf48t8.js → repository-cache-hx3mz2q2.js} +7 -7
  143. package/dist/chunks/{repository-cache-12x6ka2x.js → repository-cache-hyrvnwfd.js} +11 -11
  144. package/dist/chunks/{repository-cache-f3y09a63.js → repository-cache-j686bk8e.js} +15 -15
  145. package/dist/chunks/{repository-cache-46qwxyyd.js → repository-cache-j6chsmq0.js} +12 -12
  146. package/dist/chunks/{repository-cache-5m2mrva3.js → repository-cache-j87qp895.js} +7 -7
  147. package/dist/chunks/{repository-cache-2tehddh2.js → repository-cache-j88agwyx.js} +10 -10
  148. package/dist/chunks/{repository-cache-v3abn69z.js → repository-cache-jhbxs6t6.js} +19 -19
  149. package/dist/chunks/{repository-cache-a4jgyqzw.js → repository-cache-jp6z4wpe.js} +17 -17
  150. package/dist/chunks/{repository-cache-n56q8w6a.js → repository-cache-jr5zyxk8.js} +3 -3
  151. package/dist/chunks/{repository-cache-em1gn7m5.js → repository-cache-k5tbj3v7.js} +3 -3
  152. package/dist/chunks/{repository-cache-chjd737s.js → repository-cache-k6gkj8sq.js} +25 -25
  153. package/dist/chunks/{repository-cache-b7ph2qht.js → repository-cache-k98pysr4.js} +10 -10
  154. package/dist/chunks/{repository-cache-ct4sd734.js → repository-cache-k9zxkqdt.js} +7 -7
  155. package/dist/chunks/{repository-cache-e9q4wrrf.js → repository-cache-kajykse9.js} +9 -9
  156. package/dist/chunks/{repository-cache-0zmxd749.js → repository-cache-kaz2fjcv.js} +16 -16
  157. package/dist/chunks/{repository-cache-4cqdfm9b.js → repository-cache-kcayv8ke.js} +17 -17
  158. package/dist/chunks/{repository-cache-9b3d18bp.js → repository-cache-kfzqfkb3.js} +4 -4
  159. package/dist/chunks/{repository-cache-hy8c1z76.js → repository-cache-kmzgegqq.js} +7 -7
  160. package/dist/chunks/{repository-cache-zyfhsknv.js → repository-cache-kp2338hr.js} +7 -7
  161. package/dist/chunks/{repository-cache-d4tnbbq2.js → repository-cache-ktn9snrz.js} +28 -28
  162. package/dist/chunks/{repository-cache-g5mabqyd.js → repository-cache-kwxcmdyp.js} +25 -25
  163. package/dist/chunks/{repository-cache-8qsk2vh0.js → repository-cache-m2cdpaag.js} +7 -7
  164. package/dist/chunks/{repository-cache-882qc2za.js → repository-cache-m65y836m.js} +33 -33
  165. package/dist/chunks/{repository-cache-sn4kj4pg.js → repository-cache-mj5saj6r.js} +18 -18
  166. package/dist/chunks/{repository-cache-cnn6pg0y.js → repository-cache-mps3acpq.js} +18 -18
  167. package/dist/chunks/{repository-cache-7aa28e26.js → repository-cache-mx1sggm0.js} +12 -12
  168. package/dist/chunks/{repository-cache-enqnnpc3.js → repository-cache-mxscc1pg.js} +4 -4
  169. package/dist/chunks/{repository-cache-q1zvvpt4.js → repository-cache-mxw2nak8.js} +27 -27
  170. package/dist/chunks/{repository-cache-8h4cqdcj.js → repository-cache-myxb0t78.js} +16 -16
  171. package/dist/chunks/{repository-cache-nn7wnkbg.js → repository-cache-myyg890f.js} +2 -2
  172. package/dist/chunks/{repository-cache-5v8na3sb.js → repository-cache-mz89terr.js} +17 -17
  173. package/dist/chunks/{repository-cache-ewd1gnqy.js → repository-cache-n6va2c9d.js} +15 -15
  174. package/dist/chunks/{repository-cache-96y7z9qn.js → repository-cache-n9yh7hyp.js} +6 -6
  175. package/dist/chunks/{repository-cache-4evpypsk.js → repository-cache-nb6yaeef.js} +1 -1
  176. package/dist/chunks/{repository-cache-93xmyh8q.js → repository-cache-nn2nd58t.js} +3 -3
  177. package/dist/chunks/{repository-cache-94fryj18.js → repository-cache-nqcrxh81.js} +17 -17
  178. package/dist/chunks/{repository-cache-rj7jtxy8.js → repository-cache-nt907s04.js} +1 -1
  179. package/dist/chunks/{repository-cache-xx8vr308.js → repository-cache-nvjveesx.js} +4 -4
  180. package/dist/chunks/{repository-cache-wegkxhrn.js → repository-cache-nx4vzyjd.js} +1 -1
  181. package/dist/chunks/{repository-cache-btnkw9ag.js → repository-cache-nyc4jwvb.js} +3 -3
  182. package/dist/chunks/{repository-cache-qwz295ec.js → repository-cache-nyqjfy2e.js} +3 -3
  183. package/dist/chunks/repository-cache-p2w61xv2.js +26 -0
  184. package/dist/chunks/{repository-cache-1yq9hg58.js → repository-cache-p7vhpwh8.js} +4 -4
  185. package/dist/chunks/{repository-cache-paw95bap.js → repository-cache-pjrzy1fv.js} +4 -4
  186. package/dist/chunks/{repository-cache-fp2na9w8.js → repository-cache-pmdb5kqb.js} +9 -9
  187. package/dist/chunks/{repository-cache-04tv7frf.js → repository-cache-pn1g3a6b.js} +7 -7
  188. package/dist/chunks/{repository-cache-mawwhskg.js → repository-cache-pq5x890c.js} +35 -35
  189. package/dist/chunks/{repository-cache-y9b1qepv.js → repository-cache-pxdkb67n.js} +1 -1
  190. package/dist/chunks/{repository-cache-p32tcm88.js → repository-cache-q5awx74q.js} +18 -18
  191. package/dist/chunks/{repository-cache-7f08ed09.js → repository-cache-q8kegsck.js} +4 -4
  192. package/dist/chunks/{repository-cache-crg9fqw5.js → repository-cache-q8kkq9af.js} +30 -30
  193. package/dist/chunks/{repository-cache-mbdnt60s.js → repository-cache-q8sz04wn.js} +9 -9
  194. package/dist/chunks/{repository-cache-z7nw8j89.js → repository-cache-qcx27bba.js} +16 -16
  195. package/dist/chunks/{repository-cache-mfmzhgah.js → repository-cache-qf2y5843.js} +27 -27
  196. package/dist/chunks/{repository-cache-kj9n5bvh.js → repository-cache-qfz6bxfd.js} +3 -3
  197. package/dist/chunks/{repository-cache-nc3gng7j.js → repository-cache-qjm7skjg.js} +13 -13
  198. package/dist/chunks/{repository-cache-9j5jnrz7.js → repository-cache-qxj9svbk.js} +16 -16
  199. package/dist/chunks/{repository-cache-8h2qa1n6.js → repository-cache-qypgs8zr.js} +11 -11
  200. package/dist/chunks/{repository-cache-yr0w2dxp.js → repository-cache-r2exqn8m.js} +42 -42
  201. package/dist/chunks/{repository-cache-aa1zzdyt.js → repository-cache-r2xd20nt.js} +3 -3
  202. package/dist/chunks/{repository-cache-2axc9xxh.js → repository-cache-r3qynzkv.js} +4 -4
  203. package/dist/chunks/{repository-cache-qvvdt2ja.js → repository-cache-r49wveyz.js} +13 -13
  204. package/dist/chunks/{repository-cache-a0vq4gya.js → repository-cache-rc08zntw.js} +16 -16
  205. package/dist/chunks/repository-cache-rc2b0jp2.js +265 -0
  206. package/dist/chunks/{repository-cache-77y14vvw.js → repository-cache-rd95s4eh.js} +17 -17
  207. package/dist/chunks/{repository-cache-e5p1c2fw.js → repository-cache-rn6pxd58.js} +31 -31
  208. package/dist/chunks/{repository-cache-30dm8cba.js → repository-cache-rr1rxfq5.js} +4 -4
  209. package/dist/chunks/{repository-cache-d77r7qc3.js → repository-cache-rtywtvhn.js} +13 -13
  210. package/dist/chunks/{repository-cache-7994hmqy.js → repository-cache-rvses7jn.js} +6 -6
  211. package/dist/chunks/{repository-cache-90ct6wq4.js → repository-cache-rzg6y5rp.js} +3 -3
  212. package/dist/chunks/{repository-cache-3t2h34xm.js → repository-cache-s0wqfgtk.js} +1 -1
  213. package/dist/chunks/{repository-cache-ftsszdwq.js → repository-cache-s70ang1b.js} +13 -13
  214. package/dist/chunks/{repository-cache-9nkjg9qd.js → repository-cache-s92vvz56.js} +5 -5
  215. package/dist/chunks/{repository-cache-s1mx7mtb.js → repository-cache-sbqxq8d7.js} +25 -25
  216. package/dist/chunks/{repository-cache-ppwt3tm7.js → repository-cache-sdepy5w1.js} +8 -8
  217. package/dist/chunks/{repository-cache-grkapvb9.js → repository-cache-sdhf0kag.js} +17 -17
  218. package/dist/chunks/{repository-cache-ghrv1g9c.js → repository-cache-sdt5j0rm.js} +3 -3
  219. package/dist/chunks/{repository-cache-2hetaxtn.js → repository-cache-sejy4w8d.js} +28 -28
  220. package/dist/chunks/{repository-cache-0mw6d3es.js → repository-cache-sr1zjn91.js} +7 -7
  221. package/dist/chunks/{repository-cache-08wcsawn.js → repository-cache-sryexa64.js} +7 -7
  222. package/dist/chunks/{repository-cache-vdhhbsj6.js → repository-cache-syyqk6jb.js} +15 -15
  223. package/dist/chunks/{repository-cache-481fdjcd.js → repository-cache-szj7gq94.js} +18 -18
  224. package/dist/chunks/{repository-cache-40xydpb7.js → repository-cache-t6e15y7n.js} +11 -11
  225. package/dist/chunks/{repository-cache-4cgc2mha.js → repository-cache-tcdd0j6a.js} +37 -37
  226. package/dist/chunks/{repository-cache-408b6q7j.js → repository-cache-teav5kqk.js} +39 -39
  227. package/dist/chunks/{repository-cache-pyc3gczw.js → repository-cache-tfz3nrj2.js} +3 -3
  228. package/dist/chunks/{repository-cache-zr85smw1.js → repository-cache-tg60c1vc.js} +13 -13
  229. package/dist/chunks/{repository-cache-vs7ka571.js → repository-cache-tvh5czp4.js} +16 -16
  230. package/dist/chunks/{repository-cache-czmr4k41.js → repository-cache-txkphrpp.js} +4 -4
  231. package/dist/chunks/{repository-cache-rxc71ntg.js → repository-cache-txraym31.js} +10 -10
  232. package/dist/chunks/{repository-cache-jcb581g0.js → repository-cache-ty7fwe1m.js} +4 -4
  233. package/dist/chunks/{repository-cache-2kg89srt.js → repository-cache-v0t96s7a.js} +3 -3
  234. package/dist/chunks/{repository-cache-3h88s19f.js → repository-cache-v1b2af3n.js} +28 -28
  235. package/dist/chunks/{repository-cache-8x7spqqh.js → repository-cache-v1bhdy86.js} +13 -13
  236. package/dist/chunks/{repository-cache-ffqnykrn.js → repository-cache-v5aaewsh.js} +1 -1
  237. package/dist/chunks/{repository-cache-5zpqhmp2.js → repository-cache-v75htaq3.js} +4 -4
  238. package/dist/chunks/{repository-cache-fdk2wax1.js → repository-cache-va7fhdra.js} +12 -12
  239. package/dist/chunks/{repository-cache-0jgpnbrv.js → repository-cache-va9v51gf.js} +25 -25
  240. package/dist/chunks/{repository-cache-1cr485gj.js → repository-cache-vjezmxj7.js} +9 -9
  241. package/dist/chunks/{repository-cache-vt4r9rmy.js → repository-cache-vq0qa3sh.js} +7 -7
  242. package/dist/chunks/{repository-cache-x82vyxap.js → repository-cache-vwz836qd.js} +11 -11
  243. package/dist/chunks/{repository-cache-v22gz8xn.js → repository-cache-w0ps2z8r.js} +1 -1
  244. package/dist/chunks/{repository-cache-m9k28zk8.js → repository-cache-w5rnqnzk.js} +18 -18
  245. package/dist/chunks/{repository-cache-bvzx78na.js → repository-cache-wc4fcavx.js} +15 -15
  246. package/dist/chunks/{repository-cache-2cjdhjtw.js → repository-cache-wm532k7e.js} +7 -7
  247. package/dist/chunks/{repository-cache-hy1zxe59.js → repository-cache-ww69p07v.js} +49 -49
  248. package/dist/chunks/{repository-cache-xz07m27x.js → repository-cache-x4mcewfn.js} +3 -3
  249. package/dist/chunks/{repository-cache-9rgr5dz2.js → repository-cache-x5gqmg3e.js} +1 -1
  250. package/dist/chunks/{repository-cache-srqj4rh5.js → repository-cache-xamhfgf7.js} +5 -5
  251. package/dist/chunks/repository-cache-xgsdyv54.js +563 -0
  252. package/dist/chunks/{repository-cache-veyyzc6t.js → repository-cache-xhg8qxfh.js} +10 -10
  253. package/dist/chunks/{repository-cache-sw0fssa3.js → repository-cache-xrs5t3nf.js} +8 -8
  254. package/dist/chunks/{repository-cache-dwj3j26y.js → repository-cache-xvp44mbq.js} +12 -12
  255. package/dist/chunks/{repository-cache-ee0tfk34.js → repository-cache-xwc34858.js} +22 -22
  256. package/dist/chunks/{repository-cache-tpc6d58g.js → repository-cache-xx2fv02h.js} +15 -15
  257. package/dist/chunks/{repository-cache-mre5t62n.js → repository-cache-y6y8pfrx.js} +9 -9
  258. package/dist/chunks/{repository-cache-n2r2ftb0.js → repository-cache-y7b49pgm.js} +1 -1
  259. package/dist/chunks/{repository-cache-k0h67er9.js → repository-cache-y9j6hfb0.js} +13 -13
  260. package/dist/chunks/{repository-cache-wdt67p1g.js → repository-cache-y9vgbn35.js} +4 -4
  261. package/dist/chunks/{repository-cache-6jh19kms.js → repository-cache-yk22p589.js} +19 -19
  262. package/dist/chunks/{repository-cache-749e7hnk.js → repository-cache-yv94a9px.js} +26 -26
  263. package/dist/chunks/{repository-cache-4zed97g7.js → repository-cache-z42v0f3c.js} +8 -8
  264. package/dist/chunks/{repository-cache-z7cwk02r.js → repository-cache-zcphwgvb.js} +2 -2
  265. package/dist/codemode/execution.js +3 -3
  266. package/dist/codemode/fetch.js +118 -118
  267. package/dist/codemode/instructions.js +5 -5
  268. package/dist/codemode/tool.js +123 -123
  269. package/dist/command.js +77 -77
  270. package/dist/config/discovery.js +78 -78
  271. package/dist/config/integration.js +3 -3
  272. package/dist/config/normalize.js +91 -91
  273. package/dist/config/plugin/agent.js +105 -105
  274. package/dist/config/plugin/command.js +198 -198
  275. package/dist/config/plugin/compaction.js +140 -140
  276. package/dist/config/plugin/compatibility.js +121 -121
  277. package/dist/config/plugin/formatter.js +105 -105
  278. package/dist/config/plugin/image.js +104 -104
  279. package/dist/config/plugin/instruction.js +105 -105
  280. package/dist/config/plugin/location-watcher.js +106 -106
  281. package/dist/config/plugin/mcp.js +114 -114
  282. package/dist/config/plugin/policy.js +104 -104
  283. package/dist/config/plugin/provider.js +104 -104
  284. package/dist/config/plugin/reference.js +105 -105
  285. package/dist/config/plugin/shell.js +104 -104
  286. package/dist/config/plugin/skill-file.js +118 -118
  287. package/dist/config/plugin/skill.js +122 -122
  288. package/dist/config/plugin/snapshot.js +104 -104
  289. package/dist/config/plugin/source.js +107 -107
  290. package/dist/config/plugin/tool-output.js +105 -105
  291. package/dist/config/plugin/websearch.js +103 -103
  292. package/dist/config/plugin/worktree.js +106 -106
  293. package/dist/config.js +110 -110
  294. package/dist/credential.js +77 -77
  295. package/dist/database/database.js +65 -65
  296. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  297. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  298. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  299. package/dist/database/drizzle/index.js +8 -8
  300. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  301. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  302. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  303. package/dist/database/drizzle.js +8 -8
  304. package/dist/database/migration.gen.js +48 -48
  305. package/dist/database/migration.js +50 -50
  306. package/dist/database/v1-migration.bun.js +24 -24
  307. package/dist/effect/app-node-builder.js +274 -274
  308. package/dist/environment/environment.js +83 -83
  309. package/dist/environment/index.js +84 -84
  310. package/dist/event-logger.js +9 -9
  311. package/dist/file-access.js +130 -130
  312. package/dist/file-mutation.js +85 -85
  313. package/dist/file-write.js +133 -133
  314. package/dist/filesystem/file-watch.js +14 -14
  315. package/dist/filesystem/location-watcher-policy.js +5 -5
  316. package/dist/filesystem/location-watcher.js +214 -214
  317. package/dist/filesystem/protected.js +3 -3
  318. package/dist/filesystem/search.js +89 -89
  319. package/dist/filesystem/watcher.js +9 -9
  320. package/dist/filesystem.js +92 -92
  321. package/dist/form.js +79 -79
  322. package/dist/formatter.js +80 -80
  323. package/dist/generate.js +97 -97
  324. package/dist/git.js +6 -6
  325. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  326. package/dist/github-copilot/copilot-provider.js +3 -3
  327. package/dist/github-copilot/models.js +84 -84
  328. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  329. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  330. package/dist/image/photon.js +1 -1
  331. package/dist/image.js +5 -5
  332. package/dist/instance/service.js +5 -5
  333. package/dist/instance.js +366 -366
  334. package/dist/instruction-discovery.js +77 -77
  335. package/dist/instructions/builtins.js +80 -80
  336. package/dist/integration/connection.js +3 -3
  337. package/dist/integration.js +82 -82
  338. package/dist/job.js +71 -71
  339. package/dist/kv.js +70 -70
  340. package/dist/location-activity.js +79 -79
  341. package/dist/location-lifecycle.js +123 -123
  342. package/dist/location-service-map.js +80 -80
  343. package/dist/location-services.js +365 -365
  344. package/dist/location.js +83 -83
  345. package/dist/managed-policy.js +2 -2
  346. package/dist/mcp/client.js +21 -21
  347. package/dist/mcp/connection.js +81 -81
  348. package/dist/mcp/index.js +100 -100
  349. package/dist/mcp/instructions.js +153 -153
  350. package/dist/mcp/oauth.js +13 -13
  351. package/dist/mcp/stdio.js +81 -81
  352. package/dist/modal/models.js +84 -84
  353. package/dist/model-resolver.js +91 -91
  354. package/dist/model.js +93 -93
  355. package/dist/models-dev.js +95 -95
  356. package/dist/permission/saved.js +79 -79
  357. package/dist/permission/sql.js +3 -3
  358. package/dist/permission.js +126 -126
  359. package/dist/persistent-pty/index.js +83 -83
  360. package/dist/persistent-pty.js +69 -69
  361. package/dist/plugin/agent.js +70 -70
  362. package/dist/plugin/command.js +91 -91
  363. package/dist/plugin/goal.js +3 -3
  364. package/dist/plugin/hooks.js +5 -5
  365. package/dist/plugin/host.js +205 -205
  366. package/dist/plugin/identity.js +5 -5
  367. package/dist/plugin/instance.js +5 -5
  368. package/dist/plugin/internal.js +344 -344
  369. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  370. package/dist/plugin/models-dev.js +88 -88
  371. package/dist/plugin/module.js +101 -101
  372. package/dist/plugin/optimize.js +2 -2
  373. package/dist/plugin/plan.js +119 -119
  374. package/dist/plugin/provider/amazon-bedrock.js +86 -86
  375. package/dist/plugin/provider/azure.js +108 -108
  376. package/dist/plugin/provider/chatgpt.js +106 -106
  377. package/dist/plugin/provider/claude-agent/aisdk.js +92 -92
  378. package/dist/plugin/provider/claude-agent/claude/query-options.js +2 -2
  379. package/dist/plugin/provider/claude-agent/claude/sessions.js +8 -8
  380. package/dist/plugin/provider/claude-agent/claude/status.js +3 -3
  381. package/dist/plugin/provider/claude-agent/index.js +110 -110
  382. package/dist/plugin/provider/claude-agent/instructions.js +88 -88
  383. package/dist/plugin/provider/claude-agent/integration.js +89 -89
  384. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  385. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  386. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +3 -3
  387. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  388. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  389. package/dist/plugin/provider/claude-agent/provider.js +86 -86
  390. package/dist/plugin/provider/claude-agent/session.js +87 -87
  391. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  392. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  393. package/dist/plugin/provider/claude-agent/tools/server.js +3 -3
  394. package/dist/plugin/provider/cloudflare-ai-gateway.js +105 -105
  395. package/dist/plugin/provider/cloudflare-workers-ai.js +105 -105
  396. package/dist/plugin/provider/configured.js +101 -101
  397. package/dist/plugin/provider/credential-settings.js +71 -71
  398. package/dist/plugin/provider/digitalocean.js +88 -88
  399. package/dist/plugin/provider/github-copilot.js +90 -90
  400. package/dist/plugin/provider/gitlab.js +88 -88
  401. package/dist/plugin/provider/google-vertex.js +102 -102
  402. package/dist/plugin/provider/llmgateway.js +71 -71
  403. package/dist/plugin/provider/lmstudio.js +114 -114
  404. package/dist/plugin/provider/local.js +111 -111
  405. package/dist/plugin/provider/modal.js +88 -88
  406. package/dist/plugin/provider/ollama.js +114 -114
  407. package/dist/plugin/provider/openai-context-caps.js +86 -86
  408. package/dist/plugin/provider/openai.js +106 -106
  409. package/dist/plugin/provider/opencode.js +128 -128
  410. package/dist/plugin/provider/openrouter.js +84 -84
  411. package/dist/plugin/provider/poe.js +71 -71
  412. package/dist/plugin/provider/refresh.js +70 -70
  413. package/dist/plugin/provider/sap-ai-core.js +83 -83
  414. package/dist/plugin/provider/snowflake-cortex.js +105 -105
  415. package/dist/plugin/provider/vllm.js +112 -112
  416. package/dist/plugin/provider/xai.js +84 -84
  417. package/dist/plugin/provider.js +191 -191
  418. package/dist/plugin/sdk.js +71 -71
  419. package/dist/plugin/service.js +3 -3
  420. package/dist/plugin/skill.js +120 -120
  421. package/dist/plugin/supervisor.js +353 -353
  422. package/dist/plugin/tool-input-repair.js +3 -3
  423. package/dist/plugin/update.js +5 -5
  424. package/dist/plugin/vcs/git.js +77 -77
  425. package/dist/plugin/vcs/hg.js +79 -79
  426. package/dist/plugin/verbosity.js +86 -86
  427. package/dist/plugin/warming.js +105 -105
  428. package/dist/plugin/websearch/exa.js +6 -6
  429. package/dist/plugin/websearch/firecrawl.js +3 -3
  430. package/dist/plugin/websearch/index.js +8 -8
  431. package/dist/plugin/websearch/parallel.js +7 -7
  432. package/dist/plugin/websearch/tavily.js +6 -6
  433. package/dist/plugin/websearch/tinyfish.js +7 -7
  434. package/dist/plugin.js +209 -209
  435. package/dist/project/icon.js +3 -3
  436. package/dist/project/schema.js +7 -7
  437. package/dist/project/sql.js +2 -2
  438. package/dist/project.js +86 -86
  439. package/dist/provider.js +92 -92
  440. package/dist/pty.js +89 -89
  441. package/dist/reference/instructions.js +79 -79
  442. package/dist/reference.js +78 -78
  443. package/dist/repository-cache.js +74 -74
  444. package/dist/ripgrep.js +87 -87
  445. package/dist/rpc.js +80 -80
  446. package/dist/schedule/check.js +209 -209
  447. package/dist/schedule/sql.js +4 -4
  448. package/dist/schedule.js +211 -211
  449. package/dist/session/blob.js +103 -103
  450. package/dist/session/command.js +70 -70
  451. package/dist/session/compaction.js +140 -140
  452. package/dist/session/context.js +170 -170
  453. package/dist/session/diff.js +80 -80
  454. package/dist/session/environment.js +5 -5
  455. package/dist/session/error.js +4 -4
  456. package/dist/session/execution/restart.js +125 -125
  457. package/dist/session/execution.js +135 -135
  458. package/dist/session/generate.js +170 -170
  459. package/dist/session/history.js +109 -109
  460. package/dist/session/inbox.js +118 -118
  461. package/dist/session/info.js +2 -2
  462. package/dist/session/instruction-entry.js +71 -71
  463. package/dist/session/instruction-state.js +4 -4
  464. package/dist/session/instructions.js +114 -114
  465. package/dist/session/model-request.js +139 -139
  466. package/dist/session/model-transport.js +7 -7
  467. package/dist/session/move.js +134 -134
  468. package/dist/session/projector.js +114 -114
  469. package/dist/session/prompt.js +120 -120
  470. package/dist/session/revert.js +112 -112
  471. package/dist/session/runner/index.js +3 -3
  472. package/dist/session/runner/llm.js +213 -213
  473. package/dist/session/runner/model.js +92 -92
  474. package/dist/session/runner/publish-llm-event.js +121 -121
  475. package/dist/session/runner/retry.js +2 -2
  476. package/dist/session/runner/step.js +132 -132
  477. package/dist/session/runner/to-llm-message.js +110 -110
  478. package/dist/session/schema.js +5 -5
  479. package/dist/session/session.js +149 -149
  480. package/dist/session/shell.js +119 -119
  481. package/dist/session/skill.js +120 -120
  482. package/dist/session/sql.js +3 -3
  483. package/dist/session/stats.js +10 -10
  484. package/dist/session/store.js +115 -115
  485. package/dist/session/subagent-job.js +197 -197
  486. package/dist/session/system-prompt.js +5 -5
  487. package/dist/session/title.js +173 -173
  488. package/dist/session/to-session-error.js +120 -120
  489. package/dist/session/transfer.js +125 -125
  490. package/dist/session.js +205 -205
  491. package/dist/shared-cache.js +5 -5
  492. package/dist/shell/parse.js +3 -3
  493. package/dist/shell/select.js +12 -12
  494. package/dist/shell.js +122 -122
  495. package/dist/skill/discovery.js +5 -5
  496. package/dist/skill/instructions.js +124 -124
  497. package/dist/skill.js +127 -127
  498. package/dist/snapshot.js +86 -86
  499. package/dist/tool/mcp.js +154 -154
  500. package/dist/tool/plugin/artifact.js +196 -196
  501. package/dist/tool/plugin/edit.js +138 -138
  502. package/dist/tool/plugin/glob.js +143 -143
  503. package/dist/tool/plugin/grep.js +143 -143
  504. package/dist/tool/plugin/image-generate.js +206 -206
  505. package/dist/tool/plugin/mcp-resource.js +136 -136
  506. package/dist/tool/plugin/opencode.js +134 -134
  507. package/dist/tool/plugin/patch.js +139 -139
  508. package/dist/tool/plugin/question.js +119 -119
  509. package/dist/tool/plugin/read.js +144 -144
  510. package/dist/tool/plugin/schedule.js +214 -214
  511. package/dist/tool/plugin/shell.js +201 -201
  512. package/dist/tool/plugin/skill.js +124 -124
  513. package/dist/tool/plugin/subagent.js +204 -204
  514. package/dist/tool/plugin/todo.js +125 -125
  515. package/dist/tool/plugin/webfetch.js +125 -125
  516. package/dist/tool/plugin/websearch.js +126 -126
  517. package/dist/tool/plugin/write.js +136 -136
  518. package/dist/tool/read-filesystem.js +90 -90
  519. package/dist/tool/search.js +85 -85
  520. package/dist/tool-output.js +5 -5
  521. package/dist/tool.js +127 -127
  522. package/dist/usage-limits.js +81 -81
  523. package/dist/v1/config/agent.js +6 -6
  524. package/dist/v1/config/command.js +3 -3
  525. package/dist/v1/config/mcp.js +3 -3
  526. package/dist/v1/config/migrate.js +84 -84
  527. package/dist/v1/config/permission.js +3 -3
  528. package/dist/v1/config/plugin.js +3 -3
  529. package/dist/v1/config/provider.js +3 -3
  530. package/dist/variant.js +84 -84
  531. package/dist/vcs.js +82 -82
  532. package/dist/voice.js +79 -79
  533. package/dist/websearch.js +82 -82
  534. package/dist/wellknown/plugin.js +71 -71
  535. package/dist/wellknown.js +76 -76
  536. package/dist/workspace/driver.js +7 -7
  537. package/dist/workspace.js +78 -78
  538. package/dist/worktree/directory.js +1 -1
  539. package/dist/worktree/git.js +4 -4
  540. package/dist/worktree/sql.js +3 -3
  541. package/dist/worktree/strategies.js +82 -82
  542. package/dist/worktree.js +90 -90
  543. package/package.json +8 -8
  544. package/dist/chunks/repository-cache-8d14trmr.js +0 -265
  545. package/dist/chunks/repository-cache-db88sqcr.js +0 -563
  546. package/dist/chunks/repository-cache-fjk5hyjg.js +0 -26
  547. /package/dist/chunks/{repository-cache-b3bsgr18.js → repository-cache-4rfkerx3.js} +0 -0
  548. /package/dist/chunks/{repository-cache-775hqbnd.js → repository-cache-80mg3ag8.js} +0 -0
  549. /package/dist/chunks/{repository-cache-034tev2y.js → repository-cache-aj7mw0zk.js} +0 -0
  550. /package/dist/chunks/{repository-cache-vc0wvybf.js → repository-cache-dv70emh1.js} +0 -0
  551. /package/dist/chunks/{repository-cache-jhwvvc0w.js → repository-cache-ezznq673.js} +0 -0
  552. /package/dist/chunks/{repository-cache-d4v9tmah.js → repository-cache-gn8tkhbf.js} +0 -0
  553. /package/dist/chunks/{repository-cache-8wjgamp7.js → repository-cache-rmv7fhs4.js} +0 -0
  554. /package/dist/chunks/{repository-cache-ag70g5yp.js → repository-cache-rpczda7v.js} +0 -0
  555. /package/dist/chunks/{repository-cache-j9nxzz3g.js → repository-cache-ze75qvmd.js} +0 -0
@@ -2,10 +2,10 @@ import {
2
2
  requestExecutor2
3
3
  } from "./repository-cache-0ma9gw4f.js";
4
4
  import {
5
- ID20,
6
- Service87,
7
- node90
8
- } from "./repository-cache-749e7hnk.js";
5
+ ID17,
6
+ Service76,
7
+ node78
8
+ } from "./repository-cache-yv94a9px.js";
9
9
  import {
10
10
  __export
11
11
  } from "./repository-cache-9rqn6x4v.js";
@@ -14,11 +14,11 @@ import {
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError3,
17
- Service: () => Service86,
18
- UnavailableError: () => UnavailableError5,
17
+ Service: () => Service21,
18
+ UnavailableError: () => UnavailableError3,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer26,
21
- node: () => node89
20
+ layer: () => layer10,
21
+ node: () => node24
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,18 +31,18 @@ class InvalidRequestError3 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError5 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service86 extends Context.Service()("@opencode/Voice") {
40
+ class Service21 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer26 = Layer.effect(Service86, Effect.gen(function* () {
42
+ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service87;
45
- const findConnection = (provider, methods = ["key"]) => integrations.get(ID20.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
44
+ const integrations = yield* Service76;
45
+ const findConnection = (provider, methods = ["key"]) => integrations.get(ID17.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
46
46
  const source = Effect.fnUntraced(function* (engine) {
47
47
  const connection = yield* findConnection(engine.provider);
48
48
  if (connection)
@@ -67,10 +67,10 @@ var layer26 = Layer.effect(Service86, Effect.gen(function* () {
67
67
  if (!engine)
68
68
  return yield* new InvalidRequestError3({ message: `Unsupported voice model: ${input.model}` });
69
69
  const found = yield* source(engine);
70
- const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError5({ service: found.provider, message: error.message }))) : undefined;
70
+ const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: found.provider, message: error.message }))) : undefined;
71
71
  const access = found && credential && sessionAccess(found.provider, credential);
72
72
  if (found === undefined || access === undefined)
73
- return yield* new UnavailableError5({
73
+ return yield* new UnavailableError3({
74
74
  service: engine.provider,
75
75
  message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
76
76
  });
@@ -79,14 +79,14 @@ var layer26 = Layer.effect(Service86, Effect.gen(function* () {
79
79
  session: input.session,
80
80
  transport: input.transport,
81
81
  ...access
82
- }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError3({ message: error.message }) : new UnavailableError5({ message: error.message, service: found.provider })));
82
+ }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError3({ message: error.message }) : new UnavailableError3({ message: error.message, service: found.provider })));
83
83
  });
84
- return Service86.of({ models, session });
84
+ return Service21.of({ models, session });
85
85
  }));
86
- var node89 = makeLocationNode({
87
- service: Service86,
88
- layer: layer26,
89
- deps: [node90, requestExecutor2]
86
+ var node24 = makeLocationNode({
87
+ service: Service21,
88
+ layer: layer10,
89
+ deps: [node78, requestExecutor2]
90
90
  });
91
91
  var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
92
92
  var sessionAccess = (provider, credential) => {
@@ -108,4 +108,4 @@ var missingKeyMessage = {
108
108
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
109
109
  };
110
110
 
111
- export { InvalidRequestError3, UnavailableError5, Service86, layer26, node89, exports_voice };
111
+ export { InvalidRequestError3, UnavailableError3, Service21, layer10, node24, exports_voice };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID17
3
- } from "./repository-cache-2hetaxtn.js";
2
+ ID16
3
+ } from "./repository-cache-sejy4w8d.js";
4
4
  import {
5
5
  credentialSettings2,
6
6
  metadataSettings2
7
- } from "./repository-cache-efmq5t8s.js";
7
+ } from "./repository-cache-5rdk9bd3.js";
8
8
 
9
9
  // src/plugin/provider/amazon-bedrock.ts
10
10
  import { Effect } from "effect";
@@ -39,15 +39,15 @@ var AmazonBedrockPlugin2 = define({
39
39
  })))).filter(Boolean).toSorted();
40
40
  yield* ctx.integration.transform((editor) => {
41
41
  editor.method.update({
42
- integrationID: ID17.amazonBedrock,
42
+ integrationID: ID16.amazonBedrock,
43
43
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID17.amazonBedrock,
46
+ integrationID: ID16.amazonBedrock,
47
47
  method: { type: "key", label: "Bedrock API key" }
48
48
  });
49
49
  editor.method.update({
50
- integrationID: ID17.amazonBedrock,
50
+ integrationID: ID16.amazonBedrock,
51
51
  method: {
52
52
  id: "aws-profile",
53
53
  type: "external",
@@ -69,7 +69,7 @@ var AmazonBedrockPlugin2 = define({
69
69
  }
70
70
  });
71
71
  });
72
- const login = yield* credentialSettings2(ctx, ID17.amazonBedrock, (value) => value.type === "external" && value.methodID === "aws-profile" ? metadataSettings2(value.metadata, ["profile"]) : {});
72
+ const login = yield* credentialSettings2(ctx, ID16.amazonBedrock, (value) => value.type === "external" && value.methodID === "aws-profile" ? metadataSettings2(value.metadata, ["profile"]) : {});
73
73
  yield* ctx.provider.transform((evt) => {
74
74
  for (const item of evt.list()) {
75
75
  if (!isBedrock(item.provider))
@@ -77,7 +77,7 @@ var AmazonBedrockPlugin2 = define({
77
77
  evt.update(item.provider.id, (provider) => {
78
78
  const settings = {
79
79
  ...provider.settings,
80
- ...(provider.integrationID ?? provider.id) === ID17.amazonBedrock ? login.settings : {}
80
+ ...(provider.integrationID ?? provider.id) === ID16.amazonBedrock ? login.settings : {}
81
81
  };
82
82
  const chain = typeof settings.profile === "string" || CHAIN_ENV.some((name) => process.env[name]);
83
83
  if (chain && provider.activation === "auto")
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID22,
3
- Service89
4
- } from "./repository-cache-yy2fst48.js";
2
+ ID18,
3
+ Service77
4
+ } from "./repository-cache-gcvthvy9.js";
5
5
  import {
6
6
  onSwitch2
7
- } from "./repository-cache-0p9dpm4j.js";
7
+ } from "./repository-cache-30kxy8g4.js";
8
8
 
9
9
  // src/plugin/provider/credential-settings.ts
10
10
  import { Effect } from "effect";
@@ -16,10 +16,10 @@ var activeCredential2 = Effect.fnUntraced(function* (ctx, integrationID) {
16
16
  return { connection, credential };
17
17
  });
18
18
  var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
19
- const credentials = yield* Service89;
19
+ const credentials = yield* Service77;
20
20
  const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
21
21
  const connection = yield* ctx.integration.connection.active(integrationID);
22
- const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
22
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
23
23
  return stored ? select(stored.value) : {};
24
24
  });
25
25
  const current = { settings: yield* load() };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./repository-cache-4sphdqh8.js";
4
+ } from "./repository-cache-grf9tjbj.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
@@ -16,19 +16,19 @@ __export(exports_command4, {
16
16
  Command: () => exports_command4,
17
17
  Event: () => Event9,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info11,
20
- NotFoundError: () => NotFoundError6,
21
- Service: () => Service42,
22
- layer: () => layer17,
23
- node: () => node45
19
+ Info: () => Info12,
20
+ NotFoundError: () => NotFoundError8,
21
+ Service: () => Service53,
22
+ layer: () => layer19,
23
+ node: () => node55
24
24
  });
25
25
  import { Command } from "@opencode/schema/command";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  import { Event as Event9 } from "@opencode/schema/command";
29
- var Info11 = Command.Info;
29
+ var Info12 = Command.Info;
30
30
 
31
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
32
32
  command: Schema.String,
33
33
  message: Schema.String
34
34
  }) {
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
40
40
  }) {
41
41
  }
42
42
 
43
- class Service42 extends Context.Service()("@opencode/Command") {
43
+ class Service53 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer17 = Layer.effect(Service42, Effect.gen(function* () {
45
+ var layer19 = Layer.effect(Service53, Effect.gen(function* () {
46
46
  const bus = yield* Service90;
47
- const info = (definition) => Info11.make({
47
+ const info = (definition) => Info12.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
56
56
  }),
57
57
  notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
58
58
  });
59
- return Service42.of({
59
+ return Service53.of({
60
60
  reload: state.reload,
61
61
  transform: state.transform,
62
62
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -67,14 +67,14 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
67
67
  execute: Effect.fn("Command.execute")(function* (input) {
68
68
  const definition = state.get().get(input.name);
69
69
  if (!definition)
70
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
71
71
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
72
72
  })
73
73
  });
74
74
  }));
75
- var node45 = makeLocationNode({
76
- service: Service42,
77
- layer: layer17,
75
+ var node55 = makeLocationNode({
76
+ service: Service53,
77
+ layer: layer19,
78
78
  deps: [node93]
79
79
  });
80
80
  function errorMessage(error) {
@@ -87,4 +87,4 @@ function errorMessage(error) {
87
87
  return "Command execution failed";
88
88
  }
89
89
 
90
- export { Info11, NotFoundError6, ExecutionError2, Service42, layer17, node45, exports_command4, Event9 };
90
+ export { Info12, NotFoundError8, ExecutionError2, Service53, layer19, node55, exports_command4, Event9 };
@@ -2,8 +2,8 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
- Service82
6
- } from "./repository-cache-vs7ka571.js";
5
+ Service86
6
+ } from "./repository-cache-tvh5czp4.js";
7
7
  import {
8
8
  NotFound3
9
9
  } from "./repository-cache-svcy3p9a.js";
@@ -15,23 +15,23 @@ import {
15
15
  } from "./repository-cache-twssxy5n.js";
16
16
  import {
17
17
  invocation2,
18
- Service70
19
- } from "./repository-cache-jqzkmxe2.js";
18
+ Service66
19
+ } from "./repository-cache-9b9m7ffr.js";
20
20
  import {
21
- Service25
22
- } from "./repository-cache-6dcr0hza.js";
21
+ Service28
22
+ } from "./repository-cache-czq798y2.js";
23
23
  import {
24
- Service7
25
- } from "./repository-cache-ewd1gnqy.js";
24
+ Service9
25
+ } from "./repository-cache-n6va2c9d.js";
26
26
  import {
27
- ID11,
27
+ ID10,
28
28
  uri2,
29
29
  isUri2,
30
- Service69
31
- } from "./repository-cache-v3abn69z.js";
30
+ Service54
31
+ } from "./repository-cache-jhbxs6t6.js";
32
32
  import {
33
33
  isSafeSegment2
34
- } from "./repository-cache-xjbsd7zy.js";
34
+ } from "./repository-cache-0s9gv0av.js";
35
35
  import {
36
36
  BinaryFileError2,
37
37
  MediaIngestLimitError2,
@@ -41,9 +41,9 @@ import {
41
41
  FileContent2,
42
42
  TextPage2,
43
43
  ListPage2,
44
- Service34,
44
+ Service42,
45
45
  read2
46
- } from "./repository-cache-46qwxyyd.js";
46
+ } from "./repository-cache-j6chsmq0.js";
47
47
  import {
48
48
  __export
49
49
  } from "./repository-cache-9rqn6x4v.js";
@@ -51,17 +51,17 @@ import {
51
51
  // src/tool/plugin/read.ts
52
52
  var exports_read = {};
53
53
  __export(exports_read, {
54
- Input: () => Input4,
55
- Plugin: () => Plugin25,
54
+ Input: () => Input14,
55
+ Plugin: () => Plugin35,
56
56
  ReadTool: () => exports_read,
57
- name: () => name4,
58
- toModelContent: () => toModelContent3
57
+ name: () => name14,
58
+ toModelContent: () => toModelContent6
59
59
  });
60
60
  import { basename, dirname, join } from "path";
61
61
  import { ToolFailure } from "@opencode/ai/effect";
62
62
  import { Effect, Schema } from "effect";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var name4 = "read";
64
+ var name14 = "read";
65
65
  var FILENAME = "AGENTS.md";
66
66
  var LocationInput = Schema.Struct({
67
67
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -72,23 +72,23 @@ var LocationInput = Schema.Struct({
72
72
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
73
73
  })
74
74
  });
75
- var Input4 = LocationInput;
75
+ var Input14 = LocationInput;
76
76
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
77
- var Plugin25 = {
77
+ var Plugin35 = {
78
78
  id: "opencode.tool.read",
79
79
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
80
- const reader = yield* Service34;
81
- const access = yield* Service25;
82
- const permission = yield* Service70;
83
- const skills = yield* Service69;
84
- const sessionInstructions = yield* Service7;
80
+ const reader = yield* Service42;
81
+ const access = yield* Service28;
82
+ const permission = yield* Service66;
83
+ const skills = yield* Service54;
84
+ const sessionInstructions = yield* Service9;
85
85
  const fs = yield* FSUtil.Service;
86
- const location = yield* Service82;
86
+ const location = yield* Service86;
87
87
  yield* ctx.tool.transform((editor) => editor.add({
88
- name: name4,
88
+ name: name14,
89
89
  options: { codemode: false },
90
90
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
91
- input: Input4,
91
+ input: Input14,
92
92
  output: Output,
93
93
  execute: (input, context) => {
94
94
  return Effect.gen(function* () {
@@ -96,7 +96,7 @@ var Plugin25 = {
96
96
  const parsed = parseSkillUri(input.path);
97
97
  if (!parsed)
98
98
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
99
- const id = ID11.make(parsed.id);
99
+ const id = ID10.make(parsed.id);
100
100
  const skill = yield* skills.get(id);
101
101
  if (!skill || !isUri2(skill.path))
102
102
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
@@ -163,7 +163,7 @@ var Plugin25 = {
163
163
  return { output: result.content, path: result.path };
164
164
  }).pipe(Effect.map((result) => ({
165
165
  output: result.output,
166
- content: toModelContent3(result.path, input.offset, result.output),
166
+ content: toModelContent6(result.path, input.offset, result.output),
167
167
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
168
168
  })), Effect.mapError((error) => {
169
169
  if (error instanceof ToolFailure)
@@ -240,7 +240,7 @@ function parseSkillUri(value) {
240
240
  return;
241
241
  return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
242
242
  }
243
- var toModelContent3 = (path, offset, output) => {
243
+ var toModelContent6 = (path, offset, output) => {
244
244
  if (output.type === "file" && output.encoding === "base64")
245
245
  return [
246
246
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -276,4 +276,4 @@ var toModelContent3 = (path, offset, output) => {
276
276
  `);
277
277
  };
278
278
 
279
- export { name4, Input4, Plugin25, toModelContent3, exports_read };
279
+ export { name14, Input14, Plugin35, toModelContent6, exports_read };
@@ -1,10 +1,10 @@
1
- import {
2
- ID20,
3
- Service87,
4
- node90
5
- } from "./repository-cache-749e7hnk.js";
6
1
  import {
7
2
  ID17,
3
+ Service76,
4
+ node78
5
+ } from "./repository-cache-yv94a9px.js";
6
+ import {
7
+ ID16,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,21 +15,21 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service79,
19
- node82
20
- } from "./repository-cache-2hetaxtn.js";
18
+ Service75,
19
+ node77
20
+ } from "./repository-cache-sejy4w8d.js";
21
21
  import {
22
- Service66,
23
- node69
24
- } from "./repository-cache-hqvawb3t.js";
22
+ Service64,
23
+ node65
24
+ } from "./repository-cache-b4v9py3p.js";
25
25
  import {
26
- ID16,
26
+ ID15,
27
27
  VariantID2,
28
28
  Ref3,
29
- Service78,
30
- node81,
29
+ Service74,
30
+ node76,
31
31
  supportsText2
32
- } from "./repository-cache-z9fg28mj.js";
32
+ } from "./repository-cache-6sb6jh13.js";
33
33
  import {
34
34
  __export
35
35
  } from "./repository-cache-9rqn6x4v.js";
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service56,
44
+ Service: () => Service61,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer21,
52
- node: () => node58,
51
+ layer: () => layer23,
52
+ node: () => node62,
53
53
  resolveModel: () => resolveModel3,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -67,8 +67,8 @@ import { Auth, mergeHttpOptions } from "@opencode/ai/route";
67
67
  import { Context, Effect, Layer, Schema, Struct } from "effect";
68
68
  import { Npm } from "@opencode/util/npm";
69
69
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
70
- providerID: ID17,
71
- modelID: ID16,
70
+ providerID: ID16,
71
+ modelID: ID15,
72
72
  variant: VariantID2
73
73
  }) {
74
74
  get message() {
@@ -77,8 +77,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
77
77
  }
78
78
 
79
79
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
80
- providerID: ID17,
81
- modelID: ID16,
80
+ providerID: ID16,
81
+ modelID: ID15,
82
82
  package: Schema.String
83
83
  }) {
84
84
  get message() {
@@ -88,8 +88,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
88
88
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
89
89
 
90
90
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
91
- providerID: ID17,
92
- modelID: ID16,
91
+ providerID: ID16,
92
+ modelID: ID15,
93
93
  package: Schema.String,
94
94
  detail: Schema.String
95
95
  }) {
@@ -99,8 +99,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
99
99
  }
100
100
 
101
101
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
102
- providerID: ID17,
103
- modelID: ID16,
102
+ providerID: ID16,
103
+ modelID: ID15,
104
104
  package: Schema.String,
105
105
  phase: InitializationPhase2,
106
106
  detail: Schema.String
@@ -111,8 +111,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
111
111
  }
112
112
 
113
113
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
114
- providerID: ID17,
115
- modelID: ID16,
114
+ providerID: ID16,
115
+ modelID: ID15,
116
116
  variables: Schema.Array(Schema.String)
117
117
  }) {
118
118
  get message() {
@@ -121,8 +121,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
121
121
  }
122
122
 
123
123
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
124
- providerID: ID17,
125
- modelID: ID16,
124
+ providerID: ID16,
125
+ modelID: ID15,
126
126
  route: Schema.String
127
127
  }) {
128
128
  get message() {
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
130
130
  }
131
131
  }
132
132
 
133
- class Service56 extends Context.Service()("@opencode/ModelResolver") {
133
+ class Service61 extends Context.Service()("@opencode/ModelResolver") {
134
134
  }
135
135
  var withVariant2 = (model, variantID) => {
136
136
  const id = variantID === "default" ? undefined : variantID;
@@ -262,7 +262,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
262
262
  return tokenSettings(specifier, credential.access);
263
263
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
264
264
  return { auth: "sigv4" };
265
- if (model.providerID === ID17.azure)
265
+ if (model.providerID === ID16.azure)
266
266
  return tokenSettings(specifier, "azure-cli");
267
267
  return {};
268
268
  };
@@ -297,19 +297,19 @@ var causeMessage = (cause) => {
297
297
  };
298
298
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
299
299
  var hasPackage2 = (model) => Boolean(model.package);
300
- var layer21 = Layer.effect(Service56, Effect.gen(function* () {
301
- const providers = yield* Service79;
302
- const models = yield* Service78;
303
- const integrations = yield* Service87;
300
+ var layer23 = Layer.effect(Service61, Effect.gen(function* () {
301
+ const providers = yield* Service75;
302
+ const models = yield* Service74;
303
+ const integrations = yield* Service76;
304
304
  const npm = yield* Npm.Service;
305
- const aisdk = yield* Service66;
305
+ const aisdk = yield* Service64;
306
306
  const dependencies = {
307
307
  loadPackage: (specifier) => loadPackage2(specifier, npm),
308
308
  loadAISDK: (model) => aisdk.model(model)
309
309
  };
310
310
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
311
311
  const provider = yield* providers.get(selected.providerID);
312
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID20.make(selected.providerID));
312
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
313
313
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
314
314
  const selectedVariant = yield* withVariant2(selected, variant);
315
315
  const runtimeInfo = {
@@ -345,7 +345,7 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
345
345
  const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
346
346
  return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
347
347
  });
348
- return Service56.of({
348
+ return Service61.of({
349
349
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
350
350
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
351
351
  if (!selected)
@@ -404,10 +404,10 @@ function usesAPIKeyAuth(packageName) {
404
404
  return false;
405
405
  return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
406
406
  }
407
- var node58 = makeLocationNode({
408
- service: Service56,
409
- layer: layer21,
410
- deps: [node82, node81, node90, Npm.node, node69]
407
+ var node62 = makeLocationNode({
408
+ service: Service61,
409
+ layer: layer23,
410
+ deps: [node77, node76, node78, Npm.node, node65]
411
411
  });
412
412
 
413
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer21, node58, exports_model_resolver };
413
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service61, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer23, node62, exports_model_resolver };
@@ -8,11 +8,11 @@ import {
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service40,
11
+ Service: () => Service38,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer16,
13
+ layer: () => layer15,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node43
15
+ node: () => node41
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service40 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service40.of({ bind, close, closeAll });
370
+ return Service38.of({ bind, close, closeAll });
371
371
  }));
372
- var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node43 = makeGlobalNode({ service: Service40, layer: layer16, deps: [webSocketConstructor2] });
375
+ var node41 = makeGlobalNode({ service: Service38, layer: layer15, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service40, makeLayer2, layer16, node43, exports_model_transport };
377
+ export { Service38, makeLayer2, layer15, node41, exports_model_transport };