@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
- Service85,
6
- node89
7
- } from "./model-edr8mr1d.js";
5
+ Service83,
6
+ node87
7
+ } from "./model-wwncb6zf.js";
8
8
  import {
9
- Service81,
10
- node84
11
- } from "./model-zqm6kvvn.js";
9
+ Service82,
10
+ node86
11
+ } from "./model-qy52ep8z.js";
12
12
  import {
13
- Service80,
14
- node83
15
- } from "./model-2ypdw6v4.js";
13
+ Service81,
14
+ node85
15
+ } from "./model-hvh251q6.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info28,
19
+ Info29,
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./model-6g7e4dd5.js";
23
+ } from "./model-v0es1rhs.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
@@ -36,14 +36,14 @@ import {
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info27,
39
+ ID: () => ID17,
40
+ Info: () => Info28,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node84,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID16 = ID17;
59
+ var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info27 = Info28;
62
+ var Info28 = Info29;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
65
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID16
66
+ projectID: ID17
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service79 extends Context.Service()("@opencode/Project") {
77
+ class Service80 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,12 +98,12 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service79, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service80;
103
+ const git = yield* Service81;
104
104
  const proc = yield* AppProcess.Service;
105
- const bus = yield* Service81;
106
- const db = (yield* Service85).db;
105
+ const bus = yield* Service82;
106
+ const db = (yield* Service83).db;
107
107
  const announcing = new Set;
108
108
  const persist = Effect.fnUntraced(function* (project) {
109
109
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID16.global,
151
+ previous: project.previous ?? ID17.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
187
187
  yield* bus.publish(Event21.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID16.make(root) : undefined;
226
+ return root ? ID17.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID16.make(node) : undefined;
242
+ return node ? ID17.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
248
248
  const id = previous ?? (yield* hgRoot(worktree));
249
249
  return {
250
250
  previous,
251
- id: id ?? ID16.global,
251
+ id: id ?? ID17.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* persist({
267
267
  previous,
268
- id: id ?? ID16.global,
268
+ id: id ?? ID17.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID16.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -304,20 +304,20 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
304
304
  yield* bus.publish(Event21.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service79.of({ list, update, activate, resolve, sweep });
307
+ return Service80.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node82 = makeGlobalNode({
310
- service: Service79,
309
+ var node84 = makeGlobalNode({
310
+ service: Service80,
311
311
  layer,
312
- deps: [node84, node89, FSUtil.node, node83, AppProcess.node]
312
+ deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service79;
317
+ const project = yield* Service80;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node82]
320
+ deps: [node84]
321
321
  });
322
322
 
323
- export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service79, node82, sweepNode2, exports_project };
323
+ export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service80, node84, sweepNode2, exports_project };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-tfpgne2e.js";
3
+ } from "./model-9syxb0r3.js";
4
4
  import {
5
- Service81
6
- } from "./model-zqm6kvvn.js";
5
+ Service82
6
+ } from "./model-qy52ep8z.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event20
10
- } from "./model-mksqe0jy.js";
10
+ } from "./model-5s0x098x.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./model-rm6mdncc.js";
14
+ } from "./model-r7ka9ch8.js";
15
15
  import {
16
- ID12
17
- } from "./model-kh162zpt.js";
16
+ ID13
17
+ } from "./model-nf4ty3xq.js";
18
18
  import {
19
- ID11,
19
+ ID12,
20
20
  Family2
21
- } from "./model-x804m9tz.js";
21
+ } from "./model-1dds5gcz.js";
22
22
  import {
23
23
  bootstrap2
24
24
  } from "./model-pjvnvgmy.js";
@@ -27,8 +27,8 @@ import {
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID12.make("digitalocean");
31
- var integrationID = ID13.make("digitalocean");
30
+ var providerID = ID13.make("digitalocean");
31
+ var integrationID = ID14.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service81;
119
+ const bus = yield* Service82;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID11.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID12.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./model-kh162zpt.js";
3
+ } from "./model-nf4ty3xq.js";
4
4
  import {
5
5
  Service70
6
- } from "./model-x804m9tz.js";
6
+ } from "./model-1dds5gcz.js";
7
7
  import {
8
8
  __export
9
9
  } from "./model-9rqn6x4v.js";
@@ -11,7 +11,7 @@ import {
11
11
  // src/plugin/verbosity.ts
12
12
  var exports_verbosity = {};
13
13
  __export(exports_verbosity, {
14
- Plugin: () => Plugin12,
14
+ Plugin: () => Plugin48,
15
15
  VerbosityPlugin: () => exports_verbosity
16
16
  });
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -27,7 +27,7 @@ var gateways = new Set([
27
27
  "@opencode/ai/providers/vercel-ai-gateway",
28
28
  aisdk2("@ai-sdk/gateway")
29
29
  ]);
30
- var Plugin12 = define({
30
+ var Plugin48 = define({
31
31
  id: "opencode.prompt.verbosity",
32
32
  effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
33
33
  const models = yield* Service70;
@@ -70,4 +70,4 @@ function openAIModelID(model) {
70
70
  return id.slice("openai/".length);
71
71
  }
72
72
 
73
- export { Plugin12, exports_verbosity };
73
+ export { Plugin48, exports_verbosity };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./model-kh162zpt.js";
4
+ } from "./model-nf4ty3xq.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./model-x804m9tz.js";
7
+ } from "./model-1dds5gcz.js";
8
8
  import {
9
9
  latest2,
10
- Service64
11
- } from "./model-n7m069ya.js";
10
+ Service56
11
+ } from "./model-5e81dfca.js";
12
12
  import {
13
13
  resolve2
14
- } from "./model-s7ev4p20.js";
14
+ } from "./model-rzn7k92n.js";
15
15
  import {
16
16
  observe2
17
17
  } from "./model-qsdy395h.js";
@@ -31,7 +31,7 @@ import { Effect } from "effect";
31
31
  var Plugin28 = define({
32
32
  id: "opencode.config.provider",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service64;
34
+ const config = yield* Service56;
35
35
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
36
36
  yield* ctx.integration.transform((integrations) => {
37
37
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -1,12 +1,12 @@
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
6
  reserveSequence2,
7
- Service81,
8
- node84
9
- } from "./model-zqm6kvvn.js";
7
+ Service82,
8
+ node86
9
+ } from "./model-qy52ep8z.js";
10
10
  import {
11
11
  SessionEvent2
12
12
  } from "./model-ec1grn59.js";
@@ -33,16 +33,16 @@ import {
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./model-6hernfpx.js";
36
+ } from "./model-vtdgthxf.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./model-0b5g1ynf.js";
42
+ } from "./model-hkffa77z.js";
43
43
  import {
44
44
  initialize2
45
- } from "./model-c4ads7bv.js";
45
+ } from "./model-z164wy97.js";
46
46
  import {
47
47
  Slug2
48
48
  } from "./model-gebd4c9n.js";
@@ -55,7 +55,7 @@ var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node30
58
+ node: () => node35
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -279,8 +279,8 @@ function projectIdle(db, event) {
279
279
  });
280
280
  }
281
281
  var layer = Layer.effectDiscard(Effect.gen(function* () {
282
- const bus = yield* Service81;
283
- const db = (yield* Service85).db;
282
+ const bus = yield* Service82;
283
+ const db = (yield* Service83).db;
284
284
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
285
285
  const stored = yield* db.insert(SessionTable2).values({
286
286
  id: event.data.sessionID,
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
467
467
  return publishSessionUsage(db, bus, event.data.sessionID);
468
468
  }), Effect.forkScoped({ startImmediately: true }));
469
469
  }));
470
- var node30 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node89] });
470
+ var node35 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node87] });
471
471
 
472
- export { SessionAlreadyProjected2, node30, exports_projector };
472
+ export { SessionAlreadyProjected2, node35, exports_projector };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service81,
3
- node84
4
- } from "./model-zqm6kvvn.js";
2
+ Service82,
3
+ node86
4
+ } from "./model-qy52ep8z.js";
5
5
  import {
6
6
  create3
7
7
  } from "./model-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./model-tg4ne0mz.js";
10
+ } from "./model-9dk8dbn0.js";
11
11
  import {
12
12
  __export
13
13
  } from "./model-9rqn6x4v.js";
@@ -17,16 +17,16 @@ var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event9,
21
- ID: () => ID5,
22
- Info: () => Info8,
20
+ Event: () => Event10,
21
+ ID: () => ID6,
22
+ Info: () => Info9,
23
23
  Name: () => Name2,
24
- Service: () => Service42,
24
+ Service: () => Service51,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
- available: () => available2,
29
- node: () => node45,
28
+ available: () => available3,
29
+ node: () => node53,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event9 } from "@opencode/schema/skill";
37
+ import { Event as Event10 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info8 = Skill.Info;
43
- var ID5 = Skill.ID;
42
+ var Info9 = Skill.Info;
43
+ var ID6 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
- var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
45
+ var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
47
47
  const directory = path.dirname(skill.path);
48
48
  return [
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service42 extends Context.Service()("@opencode/Skill") {
74
+ class Service51 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service42, Effect.gen(function* () {
77
- const bus = yield* Service81;
76
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
77
+ const bus = yield* Service82;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID5.make(id)),
83
+ get: (id) => editor.skills.get(ID6.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID5.make(id));
88
+ const current = editor.skills.get(ID6.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID5.make(id);
92
+ current.id = ID6.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID5.make(id));
95
+ editor.skills.delete(ID6.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service42.of({
100
+ return Service51.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node45 = makeLocationNode({
112
- service: Service42,
111
+ var node53 = makeLocationNode({
112
+ service: Service51,
113
113
  layer,
114
- deps: [node84]
114
+ deps: [node86]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID5, Name2, available2, toModelOutput3, prepare3, Service42, node45, exports_skill5, Event9 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID6, Name2, available3, toModelOutput3, prepare3, Service51, node53, exports_skill5, Event10 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service78,
3
- node81
4
- } from "./model-gyksvwm5.js";
2
+ Service79,
3
+ node83
4
+ } from "./model-ff251rbv.js";
5
5
  import {
6
6
  create3
7
7
  } from "./model-rdw6cm16.js";
@@ -13,18 +13,18 @@ import {
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service15,
17
- node: () => node17
16
+ Service: () => Service78,
17
+ node: () => node82
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service15 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service78 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service15, Effect.gen(function* () {
27
- const location = yield* Service78;
26
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
27
+ const location = yield* Service79;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service15.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service78.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node17 = makeLocationNode({
91
- service: Service15,
90
+ var node82 = makeLocationNode({
91
+ service: Service78,
92
92
  layer,
93
- deps: [node81, AppProcess.node]
93
+ deps: [node83, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service15, node17, exports_formatter2 };
96
+ export { Service78, node82, exports_formatter2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service81
3
- } from "./model-zqm6kvvn.js";
2
+ Service82
3
+ } from "./model-qy52ep8z.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./model-x804m9tz.js";
6
+ } from "./model-1dds5gcz.js";
7
7
  import {
8
- Service20,
9
- Event4
10
- } from "./model-d8mxpyz7.js";
8
+ Service15,
9
+ Event2
10
+ } from "./model-0njq27v6.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,8 +32,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
32
32
  var ModelsDevPlugin2 = define({
33
33
  id: "opencode.models.dev",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const modelsDev = yield* Service20;
36
- const bus = yield* Service81;
35
+ const modelsDev = yield* Service15;
36
+ const bus = yield* Service82;
37
37
  const loaded = { data: snapshots(yield* modelsDev.get()) };
38
38
  yield* ctx.integration.transform((integrations) => {
39
39
  for (const provider of loaded.data) {
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
66
66
  loaded.data = snapshots(data);
67
67
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
68
68
  };
69
- yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
70
70
  const latest = yield* modelsDev.get();
71
71
  if (snapshots(latest) !== loaded.data)
72
72
  yield* apply(latest);
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./model-kh162zpt.js";
2
+ ID13
3
+ } from "./model-nf4ty3xq.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
35
35
  })))).filter(Boolean).toSorted();
36
36
  yield* ctx.integration.transform((editor) => {
37
37
  editor.method.update({
38
- integrationID: ID12.amazonBedrock,
38
+ integrationID: ID13.amazonBedrock,
39
39
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
40
40
  });
41
41
  editor.method.update({
42
- integrationID: ID12.amazonBedrock,
42
+ integrationID: ID13.amazonBedrock,
43
43
  method: { type: "key", label: "Bedrock API key" }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID12.amazonBedrock,
46
+ integrationID: ID13.amazonBedrock,
47
47
  method: {
48
48
  id: "aws-profile",
49
49
  type: "external",