@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
@@ -1,7 +1,7 @@
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";
@@ -10,32 +10,32 @@ import {
10
10
  } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- Agent: () => exports_agent3,
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event12,
18
- ID: () => ID9,
19
- Info: () => Info14,
17
+ Event: () => Event15,
18
+ ID: () => ID11,
19
+ Info: () => Info20,
20
20
  Name: () => Name3,
21
- Service: () => Service62,
21
+ Service: () => Service67,
22
22
  defaultID: () => defaultID2,
23
- node: () => node64
23
+ node: () => node71
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Array, Context, Effect, Layer } from "effect";
27
27
  import { Agent } from "@opencode/schema/agent";
28
- import { Event as Event12 } from "@opencode/schema/agent";
29
- var ID9 = Agent.ID;
28
+ import { Event as Event15 } from "@opencode/schema/agent";
29
+ var ID11 = Agent.ID;
30
30
  var Name3 = Agent.Name;
31
- var defaultID2 = ID9.make("build");
31
+ var defaultID2 = ID11.make("build");
32
32
  var Color2 = Agent.Color;
33
- var Info14 = Agent.Info;
33
+ var Info20 = Agent.Info;
34
34
 
35
- class Service62 extends Context.Service()("@opencode/Agent") {
35
+ class Service67 extends Context.Service()("@opencode/Agent") {
36
36
  }
37
- var layer = Layer.effect(Service62, Effect.gen(function* () {
38
- const bus = yield* Service81;
37
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
38
+ const bus = yield* Service82;
39
39
  const state = create3({
40
40
  name: "agent",
41
41
  initial: () => ({ agents: new Map }),
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
46
46
  editor.default = id;
47
47
  },
48
48
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info14.default(id);
49
+ const current = editor.agents.get(id) ?? Info20.default(id);
50
50
  if (!editor.agents.has(id))
51
51
  editor.agents.set(id, current);
52
52
  fn(current);
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
64
64
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
65
65
  if (configured)
66
66
  return configured;
67
- const build = selectable(data.agents.get(ID9.make("build")));
67
+ const build = selectable(data.agents.get(ID11.make("build")));
68
68
  if (build)
69
69
  return build;
70
70
  for (const agent of data.agents.values()) {
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
73
73
  return fallback;
74
74
  }
75
75
  };
76
- return Service62.of({
76
+ return Service67.of({
77
77
  transform: state.transform,
78
78
  reload: state.reload,
79
79
  get: Effect.fn("Agent.get")(function* (id) {
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
81
81
  }),
82
82
  resolve: Effect.fnUntraced(function* (id) {
83
83
  if (id !== undefined)
84
- return state.get().agents.get(ID9.make(id));
84
+ return state.get().agents.get(ID11.make(id));
85
85
  return selectedDefault();
86
86
  }),
87
87
  select: Effect.fn("Agent.select")(function* (id) {
88
88
  if (id !== undefined) {
89
- const selected = ID9.make(id);
89
+ const selected = ID11.make(id);
90
90
  return { id: selected, info: state.get().agents.get(selected) };
91
91
  }
92
92
  const info = selectedDefault();
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- var node64 = makeLocationNode({ service: Service62, layer, deps: [node84] });
104
+ var node71 = makeLocationNode({ service: Service67, layer, deps: [node86] });
105
105
 
106
- export { ID9, Name3, defaultID2, Color2, Info14, Service62, node64, exports_agent3, Event12 };
106
+ export { ID11, Name3, defaultID2, Color2, Info20, Service67, node71, exports_agent4, Event15 };
@@ -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/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
19
19
  }).pipe(Schema.optional)
20
20
  });
21
21
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
22
- var make6 = createLocalProviderPlugin2({
22
+ var make8 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make6 = createLocalProviderPlugin2({
38
38
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
39
39
  })
40
40
  });
41
- var LMStudioPlugin2 = make6();
41
+ var LMStudioPlugin2 = make8();
42
42
 
43
- export { make6, LMStudioPlugin2 };
43
+ export { make8, LMStudioPlugin2 };
@@ -6,8 +6,8 @@ import {
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service61,
10
- node: () => node63
9
+ Service: () => Service77,
10
+ node: () => node81
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service61 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service77 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service61, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service61.of({ has, register, trigger });
57
+ return Service77.of({ has, register, trigger });
58
58
  }));
59
- var node63 = makeLocationNode({ service: Service61, layer, deps: [] });
59
+ var node81 = makeLocationNode({ service: Service77, layer, deps: [] });
60
60
 
61
- export { Service61, node63, exports_hooks };
61
+ export { Service77, node81, exports_hooks };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make19,
4
+ make21,
5
5
  diffByKey2
6
- } from "./model-t550f9t1.js";
6
+ } from "./model-s8d7rejh.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2,
10
- available2,
11
- Service42,
12
- node45
13
- } from "./model-11m4y6qd.js";
10
+ available3,
11
+ Service51,
12
+ node53
13
+ } from "./model-k83c78af.js";
14
14
  import {
15
15
  __export
16
16
  } from "./model-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions4 = {};
20
- __export(exports_instructions4, {
21
- Service: () => Service31,
22
- SkillInstructions: () => exports_instructions4,
23
- node: () => node34
19
+ var exports_instructions2 = {};
20
+ __export(exports_instructions2, {
21
+ Service: () => Service36,
22
+ SkillInstructions: () => exports_instructions2,
23
+ node: () => node40
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,14 +60,14 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service31 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service36 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service31, Effect.gen(function* () {
66
- const skills = yield* Service42;
67
- return Service31.of({
65
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
66
+ const skills = yield* Service51;
67
+ return Service36.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make19({
69
+ const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
+ return make21({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node34 = makeLocationNode({ service: Service31, layer, deps: [node45] });
83
+ var node40 = makeLocationNode({ service: Service36, layer, deps: [node53] });
84
84
 
85
- export { Service31, node34, exports_instructions4 };
85
+ export { Service36, node40, exports_instructions2 };
@@ -6,11 +6,11 @@ import {
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options10,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options10 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options10, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };
@@ -1,18 +1,18 @@
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
- Service78,
7
- node81
8
- } from "./model-gyksvwm5.js";
6
+ Service79,
7
+ node83
8
+ } from "./model-ff251rbv.js";
9
9
  import {
10
10
  SessionEvent2
11
11
  } from "./model-ec1grn59.js";
12
12
  import {
13
- Service59,
14
- node61
15
- } from "./model-dw5aamzj.js";
13
+ Service65,
14
+ node69
15
+ } from "./model-tyawky02.js";
16
16
  import {
17
17
  __export
18
18
  } from "./model-9rqn6x4v.js";
@@ -20,9 +20,9 @@ import {
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service11,
23
+ Service: () => Service6,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node13
25
+ node: () => node8
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service11 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service6 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service11, Effect.gen(function* () {
38
- const bus = yield* Service81;
37
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
38
+ const bus = yield* Service82;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service59;
41
- const location = yield* Service78;
40
+ const store = yield* Service65;
41
+ const location = yield* Service79;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service11.of({ load });
87
+ return Service6.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node13 = makeLocationNode({
98
+ var node8 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node84, FSUtil.node, node81, node61]
101
+ deps: [node86, FSUtil.node, node83, node69]
102
102
  });
103
103
 
104
- export { Service11, node13, exports_instructions };
104
+ export { Service6, node8, exports_instructions };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID13,
2
+ ID14,
3
3
  Service72
4
- } from "./model-rm6mdncc.js";
4
+ } from "./model-r7ka9ch8.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID13.make(item.provider.id)))
22
+ if (!configured.has(ID14.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./model-4z58m4b4.js";
4
+ } from "./model-n1n192bv.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service83,
3
- node86
4
- } from "./model-3aq39rmm.js";
2
+ Service60,
3
+ node63
4
+ } from "./model-wr3xabqx.js";
5
5
  import {
6
6
  SessionMessage2
7
7
  } from "./model-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./model-b1a1n7cj.js";
10
+ } from "./model-my4zabxr.js";
11
11
  import {
12
12
  __export
13
13
  } from "./model-9rqn6x4v.js";
@@ -16,9 +16,9 @@ import {
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service48,
19
+ Service: () => Service50,
20
20
  make: () => make18,
21
- node: () => node50
21
+ node: () => node52
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service48 extends Context.Service()("@opencode/Job") {
51
+ class Service50 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
84
84
  return next;
85
85
  }
86
86
  var make18 = Effect.gen(function* () {
87
- const kv = yield* Service83;
87
+ const kv = yield* Service60;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -342,7 +342,7 @@ var make18 = Effect.gen(function* () {
342
342
  next.delete(entry[0]);
343
343
  return next;
344
344
  })));
345
- return Service48.of({
345
+ return Service50.of({
346
346
  get,
347
347
  start,
348
348
  wait,
@@ -354,7 +354,7 @@ var make18 = Effect.gen(function* () {
354
354
  completeBackground
355
355
  });
356
356
  });
357
- var layer = Layer.effect(Service48, make18);
358
- var node50 = makeGlobalNode({ service: Service48, layer, deps: [node86] });
357
+ var layer = Layer.effect(Service50, make18);
358
+ var node52 = makeGlobalNode({ service: Service50, layer, deps: [node63] });
359
359
 
360
- export { Service48, make18, node50, exports_job };
360
+ export { Service50, make18, node52, exports_job };
@@ -1,34 +1,34 @@
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
  Service73,
7
- node76
8
- } from "./model-svdem9xa.js";
7
+ node77
8
+ } from "./model-4zjcfn6g.js";
9
9
  import {
10
- Service79,
11
- node82
12
- } from "./model-zm14bp5n.js";
10
+ Service80,
11
+ node84
12
+ } from "./model-jmkbrx6z.js";
13
13
  import {
14
14
  Ref4,
15
- Service78,
16
- node81
17
- } from "./model-gyksvwm5.js";
15
+ Service79,
16
+ node83
17
+ } from "./model-ff251rbv.js";
18
18
  import {
19
19
  canonical3
20
- } from "./model-stfafkkt.js";
20
+ } from "./model-rpxwryvh.js";
21
21
  import {
22
22
  SessionEvent2
23
23
  } from "./model-ec1grn59.js";
24
24
  import {
25
- Service58,
26
- node60
27
- } from "./model-tg4ne0mz.js";
25
+ Service64,
26
+ node68
27
+ } from "./model-9dk8dbn0.js";
28
28
  import {
29
- Service51,
30
- node53
31
- } from "./model-7sr4khpq.js";
29
+ Service28,
30
+ node31
31
+ } from "./model-j142m76w.js";
32
32
  import {
33
33
  __export
34
34
  } from "./model-9rqn6x4v.js";
@@ -37,23 +37,23 @@ import {
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service13,
41
- node: () => node15
40
+ Service: () => Service25,
41
+ node: () => node28
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service13 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service25 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service13, Effect.gen(function* () {
51
- const bus = yield* Service81;
52
- const location = yield* Service78;
53
- const permission = yield* Service58;
50
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
51
+ const bus = yield* Service82;
52
+ const location = yield* Service79;
53
+ const permission = yield* Service64;
54
54
  const forms = yield* Service73;
55
- const rpc = yield* Service51;
56
- const project = yield* Service79;
55
+ const rpc = yield* Service28;
56
+ const project = yield* Service80;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service13.of({
83
+ return Service25.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node15 = makeLocationNode({
89
- service: Service13,
88
+ var node28 = makeLocationNode({
89
+ service: Service25,
90
90
  layer,
91
- deps: [node84, node81, node60, node82, node76, node53]
91
+ deps: [node86, node83, node68, node84, node77, node31]
92
92
  });
93
93
 
94
- export { Service13, node15, exports_location_lifecycle };
94
+ export { Service25, node28, exports_location_lifecycle };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service57
3
- } from "./model-j1mj860n.js";
2
+ Service76
3
+ } from "./model-tat11k01.js";
4
4
  import {
5
- Service46
6
- } from "./model-909p1r3q.js";
5
+ Service49
6
+ } from "./model-c8bydgjz.js";
7
7
  import {
8
8
  detect2
9
9
  } from "./model-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./model-4v7qdvcn.js";
12
+ } from "./model-f81tjggh.js";
13
13
  import {
14
- Service61
15
- } from "./model-5y480sgp.js";
14
+ Service77
15
+ } from "./model-2eegacq4.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./model-7vfd4xz9.js";
19
+ } from "./model-1gpb38yh.js";
20
20
  import {
21
21
  prepare3,
22
- Service42
23
- } from "./model-11m4y6qd.js";
22
+ Service51
23
+ } from "./model-k83c78af.js";
24
24
  import {
25
25
  __export
26
26
  } from "./model-9rqn6x4v.js";
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service46;
42
+ const instances = yield* Service49;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service61;
45
+ const hooks = yield* Service77;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service42;
64
+ const skillService = yield* Service51;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service57;
129
+ const image = yield* Service76;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));