@opencode/core 0.0.0-dev-20981 → 0.0.0-dev-20982

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 (474) hide show
  1. package/dist/agent.js +73 -73
  2. package/dist/aisdk-native.js +71 -71
  3. package/dist/aisdk.js +76 -76
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +65 -65
  6. package/dist/chunks/{model-zwh4a1ab.js → model-04ym1fwe.js} +5 -5
  7. package/dist/chunks/{model-efwcmd71.js → model-0fjeggm9.js} +9 -9
  8. package/dist/chunks/{model-7j1a6jdx.js → model-0m0wxxk9.js} +18 -18
  9. package/dist/chunks/{model-d8mxpyz7.js → model-0njq27v6.js} +37 -37
  10. package/dist/chunks/{model-cwzd7x1t.js → model-0ppgc59f.js} +4 -4
  11. package/dist/chunks/{model-0nsjxa2x.js → model-13wqnzak.js} +3 -3
  12. package/dist/chunks/{model-w1yg9qkm.js → model-16nrxpzh.js} +16 -16
  13. package/dist/chunks/{model-r2jsz6zh.js → model-1a5352wv.js} +4 -4
  14. package/dist/chunks/{model-v9j8n8rs.js → model-1bwe3qwc.js} +8 -8
  15. package/dist/chunks/{model-x804m9tz.js → model-1dds5gcz.js} +23 -23
  16. package/dist/chunks/{model-7vfd4xz9.js → model-1gpb38yh.js} +5 -5
  17. package/dist/chunks/{model-tzgwpa0q.js → model-1qreg6w5.js} +30 -30
  18. package/dist/chunks/{model-fxaymqdw.js → model-1w2wqhfv.js} +3 -3
  19. package/dist/chunks/{model-t66atx3n.js → model-1wv6ewf4.js} +16 -16
  20. package/dist/chunks/{model-2k71kv7p.js → model-1y283654.js} +3 -3
  21. package/dist/chunks/{model-aq7k84zy.js → model-20zrxk89.js} +12 -12
  22. package/dist/chunks/{model-2h69y2j1.js → model-228yc791.js} +25 -25
  23. package/dist/chunks/{model-cqbr470d.js → model-249n4y23.js} +4 -4
  24. package/dist/chunks/{model-5y480sgp.js → model-2eegacq4.js} +7 -7
  25. package/dist/chunks/{model-t1vvqrnj.js → model-2gft9see.js} +21 -21
  26. package/dist/chunks/{model-fcrkznn8.js → model-2k8khapm.js} +4 -4
  27. package/dist/chunks/{model-810ve36t.js → model-30ezw4dz.js} +20 -20
  28. package/dist/chunks/{model-dw52cd0g.js → model-30x88qrh.js} +3 -3
  29. package/dist/chunks/{model-gd0tnyjc.js → model-3g8j9he4.js} +1 -1
  30. package/dist/chunks/{model-6qyp6q13.js → model-3n54exg3.js} +12 -12
  31. package/dist/chunks/{model-674w987k.js → model-3vhfphj7.js} +32 -32
  32. package/dist/chunks/{model-zxf3xmnj.js → model-3xvck7mv.js} +14 -14
  33. package/dist/chunks/{model-cz1na6pr.js → model-41k1h118.js} +16 -16
  34. package/dist/chunks/{model-87qbasm5.js → model-453djzx7.js} +8 -8
  35. package/dist/chunks/{model-4wytv71p.js → model-4e171ha0.js} +1 -1
  36. package/dist/chunks/{model-dc27vedx.js → model-4kca7kha.js} +25 -25
  37. package/dist/chunks/{model-nng5j9h6.js → model-4p1qn5j9.js} +3 -3
  38. package/dist/chunks/{model-1e0t64bm.js → model-4z3vwhnt.js} +9 -9
  39. package/dist/chunks/{model-svdem9xa.js → model-4zjcfn6g.js} +16 -16
  40. package/dist/chunks/{model-hk9t36gz.js → model-568arzm9.js} +3 -3
  41. package/dist/chunks/{model-h83xjv7f.js → model-57myy5jh.js} +3 -3
  42. package/dist/chunks/{model-vjvcezxg.js → model-5a7z4yxf.js} +8 -8
  43. package/dist/chunks/{model-n7m069ya.js → model-5e81dfca.js} +39 -39
  44. package/dist/chunks/{model-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
  45. package/dist/chunks/{model-mksqe0jy.js → model-5s0x098x.js} +19 -19
  46. package/dist/chunks/{model-5agp6482.js → model-5xzyc826.js} +26 -26
  47. package/dist/chunks/{model-09cyt2wq.js → model-61sfa1aj.js} +24 -24
  48. package/dist/chunks/{model-m77chmsg.js → model-6897dy4y.js} +8 -8
  49. package/dist/chunks/{model-yyq8xdja.js → model-68yh2fx3.js} +320 -320
  50. package/dist/chunks/{model-mm8a7tkj.js → model-6eadky4a.js} +48 -48
  51. package/dist/chunks/{model-w8038a0g.js → model-6epe09p4.js} +37 -37
  52. package/dist/chunks/{model-da571fjn.js → model-6exrpman.js} +22 -22
  53. package/dist/chunks/{model-a63pq2m6.js → model-6hh0p4jj.js} +9 -9
  54. package/dist/chunks/{model-wgahhr0x.js → model-6kg1vfnr.js} +7 -7
  55. package/dist/chunks/{model-dt5p2gzz.js → model-6nsfmgdp.js} +25 -25
  56. package/dist/chunks/model-6vb0jgt0.js +26 -0
  57. package/dist/chunks/{model-xscv4v2z.js → model-6w1q88cy.js} +7 -7
  58. package/dist/chunks/{model-hsn420a8.js → model-6x53d5fk.js} +13 -13
  59. package/dist/chunks/{model-e29c15sd.js → model-782zrs06.js} +3 -3
  60. package/dist/chunks/{model-11n2fvbk.js → model-79rwpvn4.js} +38 -38
  61. package/dist/chunks/{model-kas6drz3.js → model-7hbcydxm.js} +30 -30
  62. package/dist/chunks/{model-zy3z5mtm.js → model-7j4s1nts.js} +13 -13
  63. package/dist/chunks/{model-k16ggyyw.js → model-7nh8f0wn.js} +26 -26
  64. package/dist/chunks/{model-gsxrv0fy.js → model-7pw8yz1b.js} +9 -9
  65. package/dist/chunks/{model-fe4vsmnr.js → model-7x0qfkxs.js} +9 -9
  66. package/dist/chunks/{model-gwda5h78.js → model-81njmjsm.js} +9 -9
  67. package/dist/chunks/{model-w30whbb5.js → model-866gnewa.js} +12 -12
  68. package/dist/chunks/{model-n5ckd50m.js → model-868thhtj.js} +33 -33
  69. package/dist/chunks/{model-8a6bygkp.js → model-8beabzaw.js} +8 -8
  70. package/dist/chunks/{model-agkn6djb.js → model-8bv2d044.js} +17 -17
  71. package/dist/chunks/{model-wge3n3kq.js → model-8kamc0n0.js} +7 -7
  72. package/dist/chunks/{model-sfk668n4.js → model-8rez7pc9.js} +4 -4
  73. package/dist/chunks/{model-v577e917.js → model-918hk0p8.js} +17 -17
  74. package/dist/chunks/{model-142fkw1n.js → model-97868axb.js} +15 -15
  75. package/dist/chunks/{model-tg4ne0mz.js → model-9dk8dbn0.js} +51 -51
  76. package/dist/chunks/{model-mn4hnxkt.js → model-9jryrv3a.js} +12 -12
  77. package/dist/chunks/{model-nktcn7bv.js → model-9m88xfvv.js} +35 -35
  78. package/dist/chunks/{model-tfpgne2e.js → model-9syxb0r3.js} +10 -10
  79. package/dist/chunks/{model-gsndwzqv.js → model-ac9zsgge.js} +17 -17
  80. package/dist/chunks/{model-x661k3y3.js → model-addxnjmp.js} +3 -3
  81. package/dist/chunks/{model-z5crsmww.js → model-ajzsbz6h.js} +3 -3
  82. package/dist/chunks/{model-2ach13s2.js → model-ap7d67yw.js} +42 -42
  83. package/dist/chunks/{model-dyvsbq8q.js → model-apnwk0zd.js} +10 -10
  84. package/dist/chunks/{model-5gw5nkjt.js → model-aspgww5t.js} +82 -82
  85. package/dist/chunks/{model-kx2n7v0t.js → model-avj7e4e4.js} +10 -10
  86. package/dist/chunks/{model-m82j3vqr.js → model-b1et22ex.js} +26 -26
  87. package/dist/chunks/{model-7z93154z.js → model-b3dw1nxt.js} +21 -21
  88. package/dist/chunks/{model-hs2sc01j.js → model-bcffw6zz.js} +41 -41
  89. package/dist/chunks/{model-rgrzrdjr.js → model-bpxpvztg.js} +22 -22
  90. package/dist/chunks/{model-e5yhdxdz.js → model-bq5355gp.js} +41 -41
  91. package/dist/chunks/{model-cmwkp3r5.js → model-br0tr5aq.js} +7 -7
  92. package/dist/chunks/{model-cxmm8qc0.js → model-bsqtyhzw.js} +27 -27
  93. package/dist/chunks/{model-909p1r3q.js → model-c8bydgjz.js} +5 -5
  94. package/dist/chunks/{model-6w89m9p1.js → model-cazcby7s.js} +19 -19
  95. package/dist/chunks/{model-zswvs50y.js → model-csjk4z4y.js} +17 -17
  96. package/dist/chunks/{model-mxjbaaz4.js → model-dbz9e5sv.js} +20 -20
  97. package/dist/chunks/{model-msyrw4bq.js → model-dd5e861g.js} +4 -4
  98. package/dist/chunks/{model-m5b2t9yd.js → model-dexdmn7s.js} +55 -55
  99. package/dist/chunks/{model-k6zkg7sr.js → model-dhfmk2zr.js} +7 -7
  100. package/dist/chunks/{model-zvt5dnpc.js → model-dhmh7aw6.js} +3 -3
  101. package/dist/chunks/{model-8sgxnewj.js → model-dm0nfydx.js} +8 -8
  102. package/dist/chunks/{model-y71avatq.js → model-dpkg50ah.js} +3 -3
  103. package/dist/chunks/{model-ktgr00t7.js → model-drnf6xwf.js} +1 -1
  104. package/dist/chunks/{model-f6g8pkb4.js → model-dxw5vmgr.js} +16 -16
  105. package/dist/chunks/{model-t9fz1x23.js → model-e01gj4cd.js} +62 -62
  106. package/dist/chunks/{model-r2z489rp.js → model-ed1g29hy.js} +2 -2
  107. package/dist/chunks/{model-nsnm0d77.js → model-efjxf17k.js} +38 -38
  108. package/dist/chunks/{model-y2tp8ndf.js → model-ekw32q82.js} +9 -9
  109. package/dist/chunks/{model-1gh4n1ba.js → model-es9h6wy0.js} +4 -4
  110. package/dist/chunks/{model-xkcm35ep.js → model-exwpqpdy.js} +4 -4
  111. package/dist/chunks/{model-zn6ek04n.js → model-f6fz9g7x.js} +6 -6
  112. package/dist/chunks/{model-z1dnb0jf.js → model-f6j4pfw7.js} +12 -12
  113. package/dist/chunks/{model-4v7qdvcn.js → model-f81tjggh.js} +4 -4
  114. package/dist/chunks/{model-gyksvwm5.js → model-ff251rbv.js} +15 -15
  115. package/dist/chunks/{model-7src2pyj.js → model-fjb8erg1.js} +6 -6
  116. package/dist/chunks/{model-zvk9pegx.js → model-fng1q3a6.js} +34 -34
  117. package/dist/chunks/{model-0996nyz8.js → model-fqcgpcra.js} +8 -8
  118. package/dist/chunks/{model-1rd80ksx.js → model-g5ppxhgr.js} +16 -16
  119. package/dist/chunks/{model-xthmztap.js → model-gj1adh3k.js} +20 -20
  120. package/dist/chunks/{model-z6c3x22d.js → model-gj71zhbs.js} +3 -3
  121. package/dist/chunks/{model-qxcp4ttm.js → model-gs2he756.js} +182 -182
  122. package/dist/chunks/{model-cxkbmgp7.js → model-gtr46jpy.js} +12 -12
  123. package/dist/chunks/{model-hrg0xqaw.js → model-h3cseehx.js} +27 -27
  124. package/dist/chunks/{model-x5wrmng7.js → model-hcv80w8f.js} +9 -9
  125. package/dist/chunks/{model-8kw59tg1.js → model-hh74v2b0.js} +16 -16
  126. package/dist/chunks/{model-gxra9ntr.js → model-hjd8wwja.js} +22 -22
  127. package/dist/chunks/{model-0b5g1ynf.js → model-hkffa77z.js} +1 -1
  128. package/dist/chunks/{model-2ypdw6v4.js → model-hvh251q6.js} +8 -8
  129. package/dist/chunks/{model-605fdbxk.js → model-hz9wj0ed.js} +1 -1
  130. package/dist/chunks/{model-7sr4khpq.js → model-j142m76w.js} +16 -16
  131. package/dist/chunks/{model-q79edn6k.js → model-jcgcvvgv.js} +19 -19
  132. package/dist/chunks/{model-7dmr3qxn.js → model-jj9d5szw.js} +11 -11
  133. package/dist/chunks/{model-6g107h22.js → model-jk540des.js} +1 -1
  134. package/dist/chunks/{model-zm14bp5n.js → model-jmkbrx6z.js} +40 -40
  135. package/dist/chunks/{model-wr9rbap8.js → model-jvjaj5rz.js} +14 -14
  136. package/dist/chunks/{model-xeea7gjf.js → model-jwwy4gf7.js} +5 -5
  137. package/dist/chunks/{model-x076sjt5.js → model-k4h0p2n0.js} +6 -6
  138. package/dist/chunks/{model-2p142bke.js → model-k6fa6tfe.js} +14 -14
  139. package/dist/chunks/{model-11m4y6qd.js → model-k83c78af.js} +26 -26
  140. package/dist/chunks/{model-sddez406.js → model-kkjc9dy5.js} +13 -13
  141. package/dist/chunks/{model-8dt2m3qt.js → model-kvw3mq9v.js} +9 -9
  142. package/dist/chunks/{model-rs6n5dpz.js → model-kx1gjmzp.js} +5 -5
  143. package/dist/chunks/{model-em98dst4.js → model-m0b7pkkd.js} +28 -28
  144. package/dist/chunks/{model-b1a1n7cj.js → model-my4zabxr.js} +3 -3
  145. package/dist/chunks/{model-4z58m4b4.js → model-n1n192bv.js} +3 -3
  146. package/dist/chunks/{model-tdw1jchh.js → model-n5n1zjbv.js} +32 -32
  147. package/dist/chunks/{model-zhspmtmh.js → model-n724kc2b.js} +3 -3
  148. package/dist/chunks/{model-xheas1rx.js → model-n8ja6an3.js} +8 -8
  149. package/dist/chunks/{model-0d7p0p78.js → model-nd7vcjm8.js} +13 -13
  150. package/dist/chunks/{model-kh162zpt.js → model-nf4ty3xq.js} +21 -21
  151. package/dist/chunks/{model-y8k4q3en.js → model-nf63sdyz.js} +19 -19
  152. package/dist/chunks/{model-xsa1hygm.js → model-nfh0qqsf.js} +21 -21
  153. package/dist/chunks/{model-2stkn66k.js → model-nftsbvkz.js} +25 -25
  154. package/dist/chunks/{model-4ybf7fnk.js → model-npyp060g.js} +8 -8
  155. package/dist/chunks/{model-jekssrtq.js → model-npypc4rd.js} +7 -7
  156. package/dist/chunks/{model-h2ssqnba.js → model-p2c1p7fg.js} +4 -4
  157. package/dist/chunks/{model-smdpqrpz.js → model-p3mytphf.js} +22 -22
  158. package/dist/chunks/{model-5z0y4e44.js → model-p7jr90hv.js} +15 -15
  159. package/dist/chunks/{model-0br3sbwn.js → model-pg3d8dpb.js} +3 -3
  160. package/dist/chunks/{model-d7x0sh0y.js → model-phz50fbd.js} +7 -7
  161. package/dist/chunks/{model-2pfz9zj6.js → model-pk4brtys.js} +29 -29
  162. package/dist/chunks/{model-xnv46bg2.js → model-pyz1vfrp.js} +21 -21
  163. package/dist/chunks/{model-0j77ygfz.js → model-q0xm7vwc.js} +4 -4
  164. package/dist/chunks/{model-kaxyez5z.js → model-q2736rqt.js} +17 -17
  165. package/dist/chunks/{model-2qg26xbp.js → model-q504mf2g.js} +2 -2
  166. package/dist/chunks/{model-cekk119z.js → model-q81gz903.js} +3 -3
  167. package/dist/chunks/{model-2mcax4ft.js → model-qbfqzset.js} +12 -12
  168. package/dist/chunks/{model-kbxmpcp5.js → model-qjcj5bxx.js} +9 -9
  169. package/dist/chunks/{model-999bzrsf.js → model-qpzj3qa9.js} +5 -5
  170. package/dist/chunks/{model-k4dt4j6g.js → model-qwsskq9g.js} +20 -20
  171. package/dist/chunks/{model-zqm6kvvn.js → model-qy52ep8z.js} +16 -16
  172. package/dist/chunks/{model-rdza6gx1.js → model-r2a53ztr.js} +13 -13
  173. package/dist/chunks/{model-8vkaqw1w.js → model-r35mg9et.js} +12 -12
  174. package/dist/chunks/{model-f20efee0.js → model-r6734q5n.js} +10 -10
  175. package/dist/chunks/{model-qxhhhvy1.js → model-r6xwq2vk.js} +17 -17
  176. package/dist/chunks/{model-rm6mdncc.js → model-r7ka9ch8.js} +18 -18
  177. package/dist/chunks/{model-sbem282a.js → model-rgqhra37.js} +25 -25
  178. package/dist/chunks/{model-gj4dz15w.js → model-rh2yf6b2.js} +11 -11
  179. package/dist/chunks/{model-stfafkkt.js → model-rpxwryvh.js} +8 -8
  180. package/dist/chunks/{model-9c2gx1av.js → model-rsswyzw7.js} +12 -12
  181. package/dist/chunks/{model-s7ev4p20.js → model-rzn7k92n.js} +2 -2
  182. package/dist/chunks/{model-hpje1asd.js → model-s4q167yz.js} +16 -16
  183. package/dist/chunks/{model-t550f9t1.js → model-s8d7rejh.js} +3 -3
  184. package/dist/chunks/{model-479aec3e.js → model-sffa00cj.js} +26 -26
  185. package/dist/chunks/{model-b8rasqmm.js → model-sfj6zb2f.js} +85 -85
  186. package/dist/chunks/{model-pygwap58.js → model-sjyz1h2d.js} +24 -24
  187. package/dist/chunks/{model-8arnnpza.js → model-sk663hk0.js} +26 -26
  188. package/dist/chunks/{model-nhyne0rh.js → model-sxkxnm8w.js} +4 -4
  189. package/dist/chunks/{model-a2ew8a62.js → model-sxz6gkc3.js} +6 -6
  190. package/dist/chunks/{model-j1mj860n.js → model-tat11k01.js} +7 -7
  191. package/dist/chunks/{model-b22wppy7.js → model-ts98378q.js} +4 -4
  192. package/dist/chunks/{model-1j6m29mr.js → model-txm3e8qz.js} +8 -8
  193. package/dist/chunks/{model-dw5aamzj.js → model-tyawky02.js} +15 -15
  194. package/dist/chunks/{model-6g7e4dd5.js → model-v0es1rhs.js} +5 -5
  195. package/dist/chunks/{model-0f58zsv5.js → model-v9sgcpv9.js} +41 -41
  196. package/dist/chunks/{model-h9v0byjp.js → model-v9vx4ha1.js} +7 -7
  197. package/dist/chunks/{model-neg72jb9.js → model-vbktcqf2.js} +18 -18
  198. package/dist/chunks/{model-jwah6ncg.js → model-vdqx43ex.js} +1 -1
  199. package/dist/chunks/{model-t89fqycx.js → model-vgx6weyf.js} +7 -7
  200. package/dist/chunks/{model-nzep555n.js → model-vpdcaygd.js} +36 -36
  201. package/dist/chunks/{model-jqjtjqm5.js → model-vta2cxva.js} +14 -14
  202. package/dist/chunks/{model-6hernfpx.js → model-vtdgthxf.js} +20 -20
  203. package/dist/chunks/{model-84txncab.js → model-w1eejvng.js} +4 -4
  204. package/dist/chunks/{model-b3f8fkhc.js → model-wecqtg5s.js} +3 -3
  205. package/dist/chunks/{model-yb5kpwm0.js → model-wj5z0n6a.js} +16 -16
  206. package/dist/chunks/{model-pff3x97k.js → model-wk6sqcc5.js} +8 -8
  207. package/dist/chunks/model-wk815h5a.js +253 -0
  208. package/dist/chunks/{model-3aq39rmm.js → model-wr3xabqx.js} +11 -11
  209. package/dist/chunks/{model-x76z1jaq.js → model-wwhqjdsn.js} +16 -16
  210. package/dist/chunks/{model-edr8mr1d.js → model-wwncb6zf.js} +12 -12
  211. package/dist/chunks/{model-gs3mfcxs.js → model-wzf7q3t7.js} +27 -27
  212. package/dist/chunks/{model-s8cdmyqk.js → model-wzvjkcye.js} +17 -17
  213. package/dist/chunks/{model-x4za3xcr.js → model-x04pqkrt.js} +1 -1
  214. package/dist/chunks/{model-c0eqp439.js → model-xea223yn.js} +1 -1
  215. package/dist/chunks/{model-mvp4hync.js → model-xmk3nhga.js} +17 -17
  216. package/dist/chunks/{model-1b2xjh8d.js → model-y9yrahrn.js} +16 -16
  217. package/dist/chunks/{model-bjx1sjef.js → model-ywt8jp22.js} +7 -7
  218. package/dist/chunks/{model-z7tka8yh.js → model-yxebmv17.js} +21 -21
  219. package/dist/chunks/{model-c4ads7bv.js → model-z164wy97.js} +14 -14
  220. package/dist/chunks/{model-b888nyxg.js → model-z1j5fswa.js} +1 -1
  221. package/dist/chunks/{model-f3ttcj74.js → model-z4526mx1.js} +15 -15
  222. package/dist/chunks/{model-22xnzr80.js → model-z5d5yc96.js} +9 -9
  223. package/dist/chunks/{model-t4dv37ma.js → model-zm0hys1r.js} +18 -18
  224. package/dist/chunks/{model-y8y4787y.js → model-zmfgr60r.js} +7 -7
  225. package/dist/chunks/{model-bc32chh7.js → model-zmtn6p76.js} +12 -12
  226. package/dist/chunks/{model-fketk0k4.js → model-znj2jcy4.js} +8 -8
  227. package/dist/chunks/{model-az68kh8z.js → model-zr2nq6gp.js} +1 -1
  228. package/dist/chunks/{model-57w6ys69.js → model-zzdhwppw.js} +45 -45
  229. package/dist/codemode/instructions.js +2 -2
  230. package/dist/command.js +75 -75
  231. package/dist/config/discovery.js +66 -66
  232. package/dist/config/normalize.js +80 -80
  233. package/dist/config/plugin/agent.js +96 -96
  234. package/dist/config/plugin/command.js +177 -177
  235. package/dist/config/plugin/compaction.js +126 -126
  236. package/dist/config/plugin/compatibility.js +111 -111
  237. package/dist/config/plugin/formatter.js +95 -95
  238. package/dist/config/plugin/image.js +94 -94
  239. package/dist/config/plugin/instruction.js +93 -93
  240. package/dist/config/plugin/location-watcher.js +94 -94
  241. package/dist/config/plugin/mcp.js +104 -104
  242. package/dist/config/plugin/policy.js +95 -95
  243. package/dist/config/plugin/provider.js +92 -92
  244. package/dist/config/plugin/reference.js +96 -96
  245. package/dist/config/plugin/shell.js +96 -96
  246. package/dist/config/plugin/skill-file.js +81 -81
  247. package/dist/config/plugin/skill.js +112 -112
  248. package/dist/config/plugin/snapshot.js +94 -94
  249. package/dist/config/plugin/source.js +97 -97
  250. package/dist/config/plugin/tool-output.js +95 -95
  251. package/dist/config/plugin/websearch.js +95 -95
  252. package/dist/config/plugin/worktree.js +95 -95
  253. package/dist/config/variable.js +2 -2
  254. package/dist/config.js +96 -96
  255. package/dist/credential.js +67 -67
  256. package/dist/database/database.js +63 -63
  257. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  258. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  259. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  260. package/dist/database/drizzle/index.js +10 -10
  261. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  262. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  263. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  264. package/dist/database/drizzle.js +10 -10
  265. package/dist/database/migration.gen.js +40 -40
  266. package/dist/database/migration.js +42 -42
  267. package/dist/database/v1-migration.bun.js +12 -12
  268. package/dist/effect/app-node-builder.js +234 -234
  269. package/dist/effect/keyed-mutex.js +3 -3
  270. package/dist/environment/environment.js +75 -75
  271. package/dist/environment/index.js +80 -80
  272. package/dist/environment/unavailable.js +3 -3
  273. package/dist/event-logger.js +14 -14
  274. package/dist/file-access.js +84 -84
  275. package/dist/file-mutation.js +76 -76
  276. package/dist/filesystem/location-watcher.js +187 -187
  277. package/dist/filesystem/search.js +79 -79
  278. package/dist/filesystem/watcher-binding.js +3 -3
  279. package/dist/filesystem/watcher.js +8 -8
  280. package/dist/filesystem.js +76 -76
  281. package/dist/form.js +66 -66
  282. package/dist/formatter/builtins.js +3 -3
  283. package/dist/formatter.js +71 -71
  284. package/dist/generate.js +83 -83
  285. package/dist/git.js +7 -7
  286. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  287. package/dist/github-copilot/copilot-provider.js +3 -3
  288. package/dist/github-copilot/models.js +81 -81
  289. package/dist/github-copilot/responses/openai-responses-language-model.js +4 -4
  290. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +2 -2
  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 +317 -317
  295. package/dist/instruction-discovery.js +74 -74
  296. package/dist/instructions/builtins.js +71 -71
  297. package/dist/instructions/index.js +3 -3
  298. package/dist/integration/connection.js +3 -3
  299. package/dist/integration.js +71 -71
  300. package/dist/job.js +65 -65
  301. package/dist/kv.js +62 -62
  302. package/dist/location-activity.js +56 -56
  303. package/dist/location-lifecycle.js +87 -87
  304. package/dist/location-service-map.js +70 -70
  305. package/dist/location-services.js +316 -316
  306. package/dist/location.js +71 -71
  307. package/dist/managed-policy.js +7 -7
  308. package/dist/mcp/client.js +18 -18
  309. package/dist/mcp/index.js +87 -87
  310. package/dist/mcp/instructions.js +107 -107
  311. package/dist/mcp/oauth.js +11 -11
  312. package/dist/mcp/stdio.js +72 -72
  313. package/dist/modal/models.js +81 -81
  314. package/dist/model-resolver.js +80 -80
  315. package/dist/model.js +80 -80
  316. package/dist/models-dev.js +89 -89
  317. package/dist/permission/saved.js +66 -66
  318. package/dist/permission.js +91 -91
  319. package/dist/persistent-pty/index.js +76 -76
  320. package/dist/persistent-pty.js +62 -62
  321. package/dist/plugin/agent.js +66 -66
  322. package/dist/plugin/command.js +84 -84
  323. package/dist/plugin/hooks.js +5 -5
  324. package/dist/plugin/host.js +181 -181
  325. package/dist/plugin/identity.js +3 -3
  326. package/dist/plugin/instance.js +5 -5
  327. package/dist/plugin/internal.js +290 -290
  328. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  329. package/dist/plugin/models-dev.js +78 -78
  330. package/dist/plugin/module.js +95 -95
  331. package/dist/plugin/plan.js +82 -82
  332. package/dist/plugin/provider/amazon-bedrock.js +72 -72
  333. package/dist/plugin/provider/azure.js +95 -95
  334. package/dist/plugin/provider/chatgpt.js +93 -93
  335. package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
  336. package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
  337. package/dist/plugin/provider/configured.js +91 -91
  338. package/dist/plugin/provider/digitalocean.js +74 -74
  339. package/dist/plugin/provider/github-copilot.js +76 -76
  340. package/dist/plugin/provider/gitlab.js +74 -74
  341. package/dist/plugin/provider/google-vertex.js +92 -92
  342. package/dist/plugin/provider/llmgateway.js +66 -66
  343. package/dist/plugin/provider/lmstudio.js +104 -104
  344. package/dist/plugin/provider/local.js +101 -101
  345. package/dist/plugin/provider/modal.js +74 -74
  346. package/dist/plugin/provider/ollama.js +104 -104
  347. package/dist/plugin/provider/openai.js +93 -93
  348. package/dist/plugin/provider/opencode.js +79 -79
  349. package/dist/plugin/provider/openrouter.js +73 -73
  350. package/dist/plugin/provider/poe.js +66 -66
  351. package/dist/plugin/provider/sap-ai-core.js +72 -72
  352. package/dist/plugin/provider/snowflake-cortex.js +93 -93
  353. package/dist/plugin/provider/vercel.js +72 -72
  354. package/dist/plugin/provider/vllm.js +104 -104
  355. package/dist/plugin/provider/xai.js +73 -73
  356. package/dist/plugin/provider.js +138 -138
  357. package/dist/plugin/sdk.js +66 -66
  358. package/dist/plugin/service.js +3 -3
  359. package/dist/plugin/skill.js +112 -112
  360. package/dist/plugin/supervisor.js +307 -307
  361. package/dist/plugin/tool-input-repair.js +3 -3
  362. package/dist/plugin/update.js +6 -6
  363. package/dist/plugin/vcs/git.js +70 -70
  364. package/dist/plugin/vcs/hg.js +70 -70
  365. package/dist/plugin/verbosity.js +75 -75
  366. package/dist/plugin/warming.js +93 -93
  367. package/dist/plugin/websearch/exa.js +6 -6
  368. package/dist/plugin/websearch/firecrawl.js +7 -7
  369. package/dist/plugin/websearch/index.js +8 -8
  370. package/dist/plugin/websearch/mcp.js +5 -5
  371. package/dist/plugin/websearch/parallel.js +7 -7
  372. package/dist/plugin/websearch/tavily.js +6 -6
  373. package/dist/plugin/websearch/tinyfish.js +7 -7
  374. package/dist/plugin.js +194 -194
  375. package/dist/project/schema.js +5 -5
  376. package/dist/project.js +72 -72
  377. package/dist/provider.js +77 -77
  378. package/dist/pty.js +82 -82
  379. package/dist/reference/instructions.js +76 -76
  380. package/dist/reference.js +74 -74
  381. package/dist/repository-cache.js +68 -68
  382. package/dist/repository.js +3 -3
  383. package/dist/ripgrep.js +76 -76
  384. package/dist/rpc.js +70 -70
  385. package/dist/session/command.js +64 -64
  386. package/dist/session/compaction.js +107 -107
  387. package/dist/session/context.js +126 -126
  388. package/dist/session/diff.js +70 -70
  389. package/dist/session/environment.js +5 -5
  390. package/dist/session/error.js +4 -4
  391. package/dist/session/execution/restart.js +116 -116
  392. package/dist/session/execution.js +102 -102
  393. package/dist/session/generate.js +127 -127
  394. package/dist/session/history.js +8 -8
  395. package/dist/session/inbox.js +70 -70
  396. package/dist/session/info.js +2 -2
  397. package/dist/session/instruction-entry.js +63 -63
  398. package/dist/session/instruction-state.js +2 -2
  399. package/dist/session/instructions.js +78 -78
  400. package/dist/session/model-request.js +94 -94
  401. package/dist/session/model-transport.js +5 -5
  402. package/dist/session/move.js +104 -104
  403. package/dist/session/projector.js +68 -68
  404. package/dist/session/prompt.js +85 -85
  405. package/dist/session/provider-context.js +3 -3
  406. package/dist/session/revert.js +71 -71
  407. package/dist/session/runner/index.js +3 -3
  408. package/dist/session/runner/llm.js +189 -189
  409. package/dist/session/runner/model.js +80 -80
  410. package/dist/session/runner/publish-llm-event.js +90 -90
  411. package/dist/session/runner/retry.js +3 -3
  412. package/dist/session/runner/step.js +100 -100
  413. package/dist/session/runner/to-llm-message.js +2 -2
  414. package/dist/session/schema.js +5 -5
  415. package/dist/session/session.js +138 -138
  416. package/dist/session/shell.js +108 -108
  417. package/dist/session/skill.js +83 -83
  418. package/dist/session/stats.js +10 -10
  419. package/dist/session/store.js +69 -69
  420. package/dist/session/subagent-job.js +175 -175
  421. package/dist/session/title.js +123 -123
  422. package/dist/session/to-session-error.js +89 -89
  423. package/dist/session/transfer.js +116 -116
  424. package/dist/session.js +180 -180
  425. package/dist/shell/parse.js +3 -3
  426. package/dist/shell/select.js +11 -11
  427. package/dist/shell.js +111 -111
  428. package/dist/skill/discovery.js +5 -5
  429. package/dist/skill/instructions.js +87 -87
  430. package/dist/skill.js +92 -92
  431. package/dist/snapshot.js +73 -73
  432. package/dist/tool/mcp.js +104 -104
  433. package/dist/tool/plugin/edit.js +99 -99
  434. package/dist/tool/plugin/glob.js +102 -102
  435. package/dist/tool/plugin/grep.js +100 -100
  436. package/dist/tool/plugin/mcp-resource.js +95 -95
  437. package/dist/tool/plugin/opencode.js +87 -87
  438. package/dist/tool/plugin/patch.js +101 -101
  439. package/dist/tool/plugin/question.js +83 -83
  440. package/dist/tool/plugin/read.js +103 -103
  441. package/dist/tool/plugin/shell.js +181 -181
  442. package/dist/tool/plugin/skill.js +91 -91
  443. package/dist/tool/plugin/subagent.js +182 -182
  444. package/dist/tool/plugin/webfetch.js +89 -89
  445. package/dist/tool/plugin/websearch.js +94 -94
  446. package/dist/tool/plugin/write.js +101 -101
  447. package/dist/tool/read-filesystem.js +79 -79
  448. package/dist/tool-output.js +6 -6
  449. package/dist/tool.js +9 -9
  450. package/dist/v1/config/agent.js +6 -6
  451. package/dist/v1/config/command.js +5 -5
  452. package/dist/v1/config/error.js +3 -3
  453. package/dist/v1/config/mcp.js +3 -3
  454. package/dist/v1/config/migrate.js +73 -73
  455. package/dist/v1/config/permission.js +7 -7
  456. package/dist/v1/config/plugin.js +3 -3
  457. package/dist/v1/config/provider.js +3 -3
  458. package/dist/variant.js +73 -73
  459. package/dist/vcs.js +73 -73
  460. package/dist/websearch.js +73 -73
  461. package/dist/wellknown/plugin.js +65 -65
  462. package/dist/wellknown.js +70 -70
  463. package/dist/workspace/driver.js +7 -7
  464. package/dist/workspace.js +71 -71
  465. package/dist/worktree/git.js +4 -4
  466. package/dist/worktree/strategies.js +72 -72
  467. package/dist/worktree.js +80 -80
  468. package/package.json +8 -8
  469. package/dist/chunks/model-fz6md8dw.js +0 -26
  470. package/dist/chunks/model-s3zr8hxy.js +0 -253
  471. /package/dist/chunks/{model-5hx7d1d6.js → model-6xw3seg4.js} +0 -0
  472. /package/dist/chunks/{model-f1q4hcq2.js → model-khxmfjj5.js} +0 -0
  473. /package/dist/chunks/{model-d7hemvnj.js → model-n7gz5fxy.js} +0 -0
  474. /package/dist/chunks/{model-f7ma11rg.js → model-nzs7qp78.js} +0 -0
@@ -2,25 +2,25 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./model-z5v4ffb3.js";
4
4
  import {
5
- Info8,
6
- ID5,
5
+ Info9,
6
+ ID6,
7
7
  Name2
8
- } from "./model-11m4y6qd.js";
8
+ } from "./model-k83c78af.js";
9
9
  import {
10
- Service64
11
- } from "./model-n7m069ya.js";
10
+ Service56
11
+ } from "./model-5e81dfca.js";
12
12
  import {
13
13
  __export
14
14
  } from "./model-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill3 = {};
18
+ __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin11,
21
+ Plugin: () => Plugin45,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill3
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -424,20 +424,20 @@ var OpencodeContent2 = opencode_default;
424
424
  var ReportContent2 = report_default;
425
425
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
426
426
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
427
- var Plugin11 = define({
427
+ var Plugin45 = define({
428
428
  id: "opencode.skill",
429
429
  effect: Effect.fn(function* (ctx) {
430
430
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
431
431
  yield* ctx.skill.transform((editor) => {
432
- editor.add(Info8.make({
433
- id: ID5.make("opencode"),
432
+ editor.add(Info9.make({
433
+ id: ID6.make("opencode"),
434
434
  name: Name2.make("OpenCode"),
435
435
  description: OpencodeDescription2,
436
436
  path: AbsolutePath2.make("/builtin/opencode.md"),
437
437
  content: OpencodeContent2
438
438
  }));
439
- editor.add(Info8.make({
440
- id: ID5.make("report"),
439
+ editor.add(Info9.make({
440
+ id: ID6.make("report"),
441
441
  name: Name2.make("Report"),
442
442
  description: REPORT_DESCRIPTION,
443
443
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service64;
469
+ const config = yield* Service56;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin45, exports_skill3 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./model-edr8mr1d.js";
2
+ Service83,
3
+ node87
4
+ } from "./model-wwncb6zf.js";
5
5
  import {
6
- Service81,
7
- node84
8
- } from "./model-zqm6kvvn.js";
6
+ Service82,
7
+ node86
8
+ } from "./model-qy52ep8z.js";
9
9
  import {
10
10
  SessionMessage2
11
11
  } from "./model-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./model-7vfd4xz9.js";
14
+ } from "./model-1gpb38yh.js";
15
15
  import {
16
16
  SessionEvent2
17
17
  } from "./model-ec1grn59.js";
@@ -20,77 +20,77 @@ import {
20
20
  } from "./model-c1fqxshp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./model-0b5g1ynf.js";
23
+ } from "./model-hkffa77z.js";
24
24
  import {
25
25
  provenance2
26
- } from "./model-4z58m4b4.js";
26
+ } from "./model-n1n192bv.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./model-m77chmsg.js";
30
+ } from "./model-6897dy4y.js";
31
31
  import {
32
- Service59,
33
- node61
34
- } from "./model-dw5aamzj.js";
32
+ Service65,
33
+ node69
34
+ } from "./model-tyawky02.js";
35
35
  import {
36
- Service13,
37
- node15
38
- } from "./model-674w987k.js";
36
+ Service25,
37
+ node28
38
+ } from "./model-3vhfphj7.js";
39
39
  import {
40
40
  llmClient2
41
41
  } from "./model-775gj3j1.js";
42
42
  import {
43
- Service35,
43
+ Service34,
44
44
  node38
45
- } from "./model-4ybf7fnk.js";
45
+ } from "./model-npyp060g.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./model-dc27vedx.js";
48
+ } from "./model-4kca7kha.js";
49
49
  import {
50
- make10
51
- } from "./model-b3f8fkhc.js";
50
+ make4
51
+ } from "./model-wecqtg5s.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./model-999bzrsf.js";
54
+ } from "./model-qpzj3qa9.js";
55
55
  import {
56
- Service9,
57
- node11,
56
+ Service8,
57
+ node10,
58
58
  estimatePrompt2
59
- } from "./model-hs2sc01j.js";
59
+ } from "./model-bcffw6zz.js";
60
60
  import {
61
- Service27,
62
- node31
63
- } from "./model-b8rasqmm.js";
61
+ Service30,
62
+ node33
63
+ } from "./model-sfj6zb2f.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./model-6hernfpx.js";
68
+ } from "./model-vtdgthxf.js";
69
69
  import {
70
70
  Service2,
71
71
  isUntitled2,
72
72
  node3
73
- } from "./model-7j1a6jdx.js";
73
+ } from "./model-0m0wxxk9.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service44
77
- } from "./model-zvt5dnpc.js";
76
+ Service46
77
+ } from "./model-dhmh7aw6.js";
78
78
  import {
79
- node42
80
- } from "./model-xsa1hygm.js";
79
+ node46
80
+ } from "./model-nfh0qqsf.js";
81
81
  import {
82
- node85
83
- } from "./model-87qbasm5.js";
82
+ node89
83
+ } from "./model-453djzx7.js";
84
84
  import {
85
85
  Outcome2,
86
86
  make3
87
- } from "./model-1b2xjh8d.js";
87
+ } from "./model-y9yrahrn.js";
88
88
  import {
89
- Service29
90
- } from "./model-4v7qdvcn.js";
89
+ Service40
90
+ } from "./model-f81tjggh.js";
91
91
  import {
92
- node24
93
- } from "./model-mxjbaaz4.js";
92
+ node20
93
+ } from "./model-dbz9e5sv.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
96
  } from "./model-y44na4kk.js";
@@ -110,15 +110,15 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
112
  var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
113
- var layer = Layer.effect(Service44, Effect.gen(function* () {
114
- const bus = yield* Service81;
115
- const lifecycle = yield* Service13;
116
- const store = yield* Service59;
117
- const context = yield* Service27;
118
- const modelTransport = yield* Service35;
119
- const db = (yield* Service85).db;
120
- const compaction = yield* Service9;
121
- const plugins = yield* Service29;
113
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
114
+ const bus = yield* Service82;
115
+ const lifecycle = yield* Service25;
116
+ const store = yield* Service65;
117
+ const context = yield* Service30;
118
+ const modelTransport = yield* Service34;
119
+ const db = (yield* Service83).db;
120
+ const compaction = yield* Service8;
121
+ const plugins = yield* Service40;
122
122
  const title = yield* Service2;
123
123
  const steps = yield* make3;
124
124
  const titles = yield* FiberMap.make();
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
241
241
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
242
242
  const sessionID = first.session.id;
243
243
  let assistantMessageID = SessionMessage2.ID.create();
244
- const retry = yield* make10(bus, sessionID);
244
+ const retry = yield* make4(bus, sessionID);
245
245
  let initial = first;
246
246
  let recoverOverflow = true;
247
247
  let recoverContinuation = true;
@@ -373,24 +373,24 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
373
373
  }
374
374
  }
375
375
  });
376
- return Service44.of({ drain });
376
+ return Service46.of({ drain });
377
377
  }));
378
378
  var node2 = makeLocationNode({
379
- service: Service44,
379
+ service: Service46,
380
380
  layer,
381
381
  deps: [
382
- node84,
383
- node15,
382
+ node86,
383
+ node28,
384
384
  llmClient2,
385
- node31,
385
+ node33,
386
386
  node38,
387
- node61,
388
- node11,
389
- node24,
387
+ node69,
388
+ node10,
389
+ node20,
390
390
  node3,
391
- node42,
392
- node85,
393
- node89
391
+ node46,
392
+ node89,
393
+ node87
394
394
  ]
395
395
  });
396
396
 
@@ -5,7 +5,7 @@ import {
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/process";
8
- function make9(input) {
8
+ function make5(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make9 };
264
+ export { make5 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
2
+ ID14,
3
3
  Service72,
4
- node75
5
- } from "./model-rm6mdncc.js";
4
+ node76
5
+ } from "./model-r7ka9ch8.js";
6
6
  import {
7
- ID12,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -16,20 +16,20 @@ import {
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
18
  Service71,
19
- node74
20
- } from "./model-kh162zpt.js";
19
+ node75
20
+ } from "./model-nf4ty3xq.js";
21
21
  import {
22
- Service68,
23
- node70
24
- } from "./model-kx2n7v0t.js";
22
+ Service69,
23
+ node73
24
+ } from "./model-avj7e4e4.js";
25
25
  import {
26
- ID11,
26
+ ID12,
27
27
  VariantID2,
28
28
  Ref2,
29
29
  Service70,
30
- node73,
30
+ node74,
31
31
  supportsText2
32
- } from "./model-x804m9tz.js";
32
+ } from "./model-1dds5gcz.js";
33
33
  import {
34
34
  __export
35
35
  } from "./model-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: () => Service67,
44
+ Service: () => Service68,
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: () => layer24,
52
- node: () => node69,
51
+ layer: () => layer25,
52
+ node: () => node72,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID12,
63
- modelID: ID11,
62
+ providerID: ID13,
63
+ modelID: ID12,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID12,
73
- modelID: ID11,
72
+ providerID: ID13,
73
+ modelID: ID12,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID12,
84
- modelID: ID11,
83
+ providerID: ID13,
84
+ modelID: ID12,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID12,
95
- modelID: ID11,
94
+ providerID: ID13,
95
+ modelID: ID12,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID12,
107
- modelID: ID11,
106
+ providerID: ID13,
107
+ modelID: ID12,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID12,
117
- modelID: ID11,
116
+ providerID: ID13,
117
+ modelID: ID12,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service67 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service68 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
236
236
  return tokenSettings(specifier, credential.access);
237
237
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
238
238
  return { auth: "sigv4" };
239
- if (model.providerID === ID12.azure)
239
+ if (model.providerID === ID13.azure)
240
240
  return tokenSettings(specifier, "azure-cli");
241
241
  return {};
242
242
  };
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
271
271
  };
272
272
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
273
273
  var hasPackage2 = (model) => Boolean(model.package);
274
- var layer24 = Layer.effect(Service67, Effect.gen(function* () {
274
+ var layer25 = Layer.effect(Service68, Effect.gen(function* () {
275
275
  const providers = yield* Service71;
276
276
  const models = yield* Service70;
277
277
  const integrations = yield* Service72;
278
278
  const npm = yield* Npm.Service;
279
- const aisdk = yield* Service68;
279
+ const aisdk = yield* Service69;
280
280
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
281
281
  const provider = yield* providers.get(selected.providerID);
282
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
282
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
283
283
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
284
284
  const selectedVariant = yield* withVariant2(selected, variant);
285
285
  const runtimeInfo = {
@@ -306,7 +306,7 @@ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
306
306
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
307
307
  };
308
308
  });
309
- return Service67.of({
309
+ return Service68.of({
310
310
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
311
311
  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)))));
312
312
  if (!selected)
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
323
323
  const name = packageName2(packageName);
324
324
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
325
325
  }
326
- var node69 = makeLocationNode({
327
- service: Service67,
328
- layer: layer24,
329
- deps: [node74, node73, node75, Npm.node, node70]
326
+ var node72 = makeLocationNode({
327
+ service: Service68,
328
+ layer: layer25,
329
+ deps: [node75, node74, node76, Npm.node, node73]
330
330
  });
331
331
 
332
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service67, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node69, exports_model_resolver };
332
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service68, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer25, node72, exports_model_resolver };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-tfpgne2e.js";
3
+ } from "./model-9syxb0r3.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Service74
7
- } from "./model-mksqe0jy.js";
7
+ } from "./model-5s0x098x.js";
8
8
  import {
9
- ID13,
9
+ ID14,
10
10
  MethodID2
11
- } from "./model-rm6mdncc.js";
11
+ } from "./model-r7ka9ch8.js";
12
12
  import {
13
- ID12,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./model-kh162zpt.js";
15
+ } from "./model-nf4ty3xq.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID12.make("xai");
27
+ var providerID = ID13.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID13.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -70,7 +70,7 @@ var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
72
  const credentials = yield* Service74;
73
- yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./model-jqjtjqm5.js";
3
+ } from "./model-vta2cxva.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make7 = createLocalProviderPlugin2({
37
+ var make6 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make7();
70
+ var OllamaPlugin2 = make6();
71
71
 
72
- export { make7, OllamaPlugin2 };
72
+ export { make6, OllamaPlugin2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID12
3
- } from "./model-kh162zpt.js";
2
+ ID13
3
+ } from "./model-nf4ty3xq.js";
4
4
  import {
5
5
  iife2
6
6
  } from "./model-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./model-nhyne0rh.js";
9
+ } from "./model-sxkxnm8w.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID12.make("cloudflare-workers-ai");
15
+ var providerID = ID13.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service64
3
- } from "./model-n7m069ya.js";
2
+ Service56
3
+ } from "./model-5e81dfca.js";
4
4
  import {
5
5
  Service10
6
6
  } from "./model-djszqvmq.js";
@@ -15,14 +15,14 @@ import {
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin34
18
+ Plugin: () => Plugin21
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin34 = define({
22
+ var Plugin21 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service64;
25
+ const config = yield* Service56;
26
26
  const policy = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
@@ -35,4 +35,4 @@ var Plugin34 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin34, exports_location_watcher2 };
38
+ export { Plugin21, exports_location_watcher2 };