@opencode/core 0.0.0-dev-20774 → 0.0.0-dev-20775

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 (478) hide show
  1. package/dist/agent.js +65 -65
  2. package/dist/aisdk-native.js +63 -63
  3. package/dist/aisdk.js +68 -68
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +55 -55
  6. package/dist/chunks/{location-36v99zb6.js → location-09asyzbj.js} +10 -10
  7. package/dist/chunks/{location-q0xm7vwc.js → location-0j77ygfz.js} +4 -4
  8. package/dist/chunks/{location-gseqh7y5.js → location-0p1raf8m.js} +21 -21
  9. package/dist/chunks/{location-wcab5d7q.js → location-0r16tc9t.js} +6 -6
  10. package/dist/chunks/{location-eapgentd.js → location-15z50455.js} +19 -19
  11. package/dist/chunks/{location-m3971pjk.js → location-19asy4jh.js} +16 -16
  12. package/dist/chunks/{location-rhraev7y.js → location-1acjjqhc.js} +3 -3
  13. package/dist/chunks/{location-6d5my1ea.js → location-1ffbm2jk.js} +9 -9
  14. package/dist/chunks/{location-pedttwxr.js → location-1g96y08y.js} +7 -7
  15. package/dist/chunks/{location-eqj35hys.js → location-1j6m9z8v.js} +31 -31
  16. package/dist/chunks/{location-7fj5dwt0.js → location-1x11rq2a.js} +4 -4
  17. package/dist/chunks/{location-p9w1c4fh.js → location-1yhdpabq.js} +12 -12
  18. package/dist/chunks/{location-77xysqe6.js → location-21zr8p49.js} +5 -5
  19. package/dist/chunks/{location-wssyxk27.js → location-2btnaz5j.js} +18 -18
  20. package/dist/chunks/{location-4ts7tf6z.js → location-2ccvkpx1.js} +1 -1
  21. package/dist/chunks/{location-3ftqq3j8.js → location-2d0zrvb9.js} +181 -181
  22. package/dist/chunks/{location-a8bn8zg0.js → location-2pnhn36q.js} +20 -20
  23. package/dist/chunks/{location-1y9xp183.js → location-2rehhz5t.js} +8 -8
  24. package/dist/chunks/{location-0z2z9ezx.js → location-2rzygbsc.js} +7 -7
  25. package/dist/chunks/{location-savccbnq.js → location-2sdrxmhf.js} +31 -31
  26. package/dist/chunks/{location-f73rjn58.js → location-2vs2nh1n.js} +3 -3
  27. package/dist/chunks/{location-4gvf9rzc.js → location-32vwv81y.js} +2 -2
  28. package/dist/chunks/{location-1ygqh575.js → location-33w4ejhs.js} +4 -4
  29. package/dist/chunks/{location-4n607a2z.js → location-3bc8czyk.js} +3 -3
  30. package/dist/chunks/{location-twanzasj.js → location-3bnybhwv.js} +5 -5
  31. package/dist/chunks/{location-farvs0j6.js → location-3bv3jwr8.js} +13 -13
  32. package/dist/chunks/{location-5tpw5fwb.js → location-3g10c0nv.js} +4 -4
  33. package/dist/chunks/{location-rj1g0c9z.js → location-3k3te7za.js} +4 -4
  34. package/dist/chunks/{location-czy5pfnh.js → location-3msgmyha.js} +7 -7
  35. package/dist/chunks/{location-288wtq47.js → location-3nchn6gg.js} +8 -8
  36. package/dist/chunks/{location-f9ergr2z.js → location-3ra60fwk.js} +8 -8
  37. package/dist/chunks/{location-rnnnfbw7.js → location-46f7t24m.js} +13 -13
  38. package/dist/chunks/{location-11dqjexa.js → location-4nj4bn9q.js} +7 -7
  39. package/dist/chunks/{location-g1bc2t46.js → location-4t6c5kv5.js} +24 -24
  40. package/dist/chunks/{location-brggcc39.js → location-4y5nd1mc.js} +30 -30
  41. package/dist/chunks/{location-gw7cjrad.js → location-5dkn69vz.js} +3 -3
  42. package/dist/chunks/{location-7ekcnbwa.js → location-5jjk48mt.js} +26 -26
  43. package/dist/chunks/{location-k6367mvk.js → location-5jx09pxm.js} +25 -25
  44. package/dist/chunks/location-5t9rrsta.js +26 -0
  45. package/dist/chunks/{location-510enc9r.js → location-5tmy9zrn.js} +9 -9
  46. package/dist/chunks/{location-1kexfm1y.js → location-69y7y1vt.js} +87 -87
  47. package/dist/chunks/{location-d41hc979.js → location-6eebjgwm.js} +3 -3
  48. package/dist/chunks/{location-33gaavb8.js → location-6jt2mj9c.js} +33 -33
  49. package/dist/chunks/{location-swtxrcf0.js → location-6mkt9mm7.js} +33 -33
  50. package/dist/chunks/{location-d8ck81wr.js → location-6sqw58ss.js} +8 -8
  51. package/dist/chunks/{location-mcrt8a46.js → location-6x4f2nxf.js} +19 -19
  52. package/dist/chunks/{location-1pxz8ven.js → location-6yz0wx8n.js} +3 -3
  53. package/dist/chunks/{location-368k0mgv.js → location-756q5zcd.js} +15 -15
  54. package/dist/chunks/{location-1qrp5yz4.js → location-75bh4ajr.js} +6 -6
  55. package/dist/chunks/{location-7ke8vxpx.js → location-7bq79643.js} +37 -37
  56. package/dist/chunks/{location-djqvkhft.js → location-7cxwgp8h.js} +10 -10
  57. package/dist/chunks/{location-af8mc2ra.js → location-7jhf9c6g.js} +7 -7
  58. package/dist/chunks/{location-pw5zjs1v.js → location-7p986w0g.js} +9 -9
  59. package/dist/chunks/{location-msn8sz9h.js → location-7r962cny.js} +20 -20
  60. package/dist/chunks/{location-fn64ej17.js → location-7s5y6dw1.js} +48 -48
  61. package/dist/chunks/{location-5v2fwzy1.js → location-7taj1gp1.js} +33 -33
  62. package/dist/chunks/{location-k09pycdv.js → location-82ztv55b.js} +18 -18
  63. package/dist/chunks/{location-2ha1v7qw.js → location-830hjgb9.js} +1 -1
  64. package/dist/chunks/{location-63db42yp.js → location-85xxa1xb.js} +1 -1
  65. package/dist/chunks/{location-srq8z0b0.js → location-8a6ws7jr.js} +7 -7
  66. package/dist/chunks/{location-63krnhgr.js → location-8e1vnns2.js} +1 -1
  67. package/dist/chunks/{location-6hjayvw0.js → location-8pxk0waf.js} +4 -4
  68. package/dist/chunks/{location-bkp7wwcv.js → location-8sb414s3.js} +39 -39
  69. package/dist/chunks/{location-rq5t05qg.js → location-8snsr8xz.js} +18 -18
  70. package/dist/chunks/{location-cfsekr6v.js → location-8sze2n9a.js} +5 -5
  71. package/dist/chunks/{location-9k8v6d5w.js → location-8tb93y3v.js} +6 -6
  72. package/dist/chunks/{location-cyhsea0k.js → location-8tt02aa5.js} +7 -7
  73. package/dist/chunks/{location-w9w8c5s2.js → location-8vd0j1f8.js} +13 -13
  74. package/dist/chunks/{location-fcrnmcwp.js → location-95ee23zy.js} +1 -1
  75. package/dist/chunks/{location-gjbyz4wh.js → location-966y4f2f.js} +16 -16
  76. package/dist/chunks/{location-pkm68pcq.js → location-98bzyxjk.js} +23 -23
  77. package/dist/chunks/{location-2wcpgrf5.js → location-9ay8cp4x.js} +7 -7
  78. package/dist/chunks/{location-jb2r3891.js → location-9de4qsp2.js} +20 -20
  79. package/dist/chunks/{location-5qjvepv9.js → location-9dpd9382.js} +8 -8
  80. package/dist/chunks/{location-tghtnfzz.js → location-9jvk4y4z.js} +89 -89
  81. package/dist/chunks/{location-mhkvc446.js → location-a1gpj94z.js} +2 -2
  82. package/dist/chunks/{location-8xcxajtx.js → location-a2eq7efn.js} +14 -14
  83. package/dist/chunks/{location-zajgawmg.js → location-a7jqre2k.js} +23 -23
  84. package/dist/chunks/{location-86qzxe6p.js → location-a89e0tac.js} +3 -3
  85. package/dist/chunks/{location-frz66pft.js → location-aeqpwm0h.js} +11 -11
  86. package/dist/chunks/{location-pkqb68ka.js → location-as7cf5zz.js} +1 -1
  87. package/dist/chunks/{location-qbjx7vtc.js → location-asbt5hc3.js} +9 -9
  88. package/dist/chunks/{location-3ng9c4h1.js → location-atrnmt3x.js} +25 -25
  89. package/dist/chunks/{location-q5z81sq7.js → location-ax1c0hpd.js} +44 -44
  90. package/dist/chunks/{location-eb1krxtt.js → location-ayf7de5y.js} +22 -22
  91. package/dist/chunks/{location-kfw6wn9j.js → location-ayk9da8a.js} +63 -63
  92. package/dist/chunks/{location-5nesw8k5.js → location-aymppdes.js} +18 -18
  93. package/dist/chunks/{location-f0rkppvs.js → location-b0cjfwep.js} +10 -10
  94. package/dist/chunks/{location-qygbw77c.js → location-b3f8fkhc.js} +3 -3
  95. package/dist/chunks/{location-ss358qx3.js → location-ba07h9gm.js} +3 -3
  96. package/dist/chunks/{location-s111bhqz.js → location-bah8gbxw.js} +7 -7
  97. package/dist/chunks/{location-r7srsjaq.js → location-bf4gbvg4.js} +12 -12
  98. package/dist/chunks/{location-v6vf82bk.js → location-bfdarn04.js} +30 -30
  99. package/dist/chunks/{location-h5z75e8b.js → location-bhjqanaq.js} +7 -7
  100. package/dist/chunks/{location-c4apb3t6.js → location-bprjyzj4.js} +14 -14
  101. package/dist/chunks/{location-frypca04.js → location-bqgthy8n.js} +9 -9
  102. package/dist/chunks/{location-jp0p4yja.js → location-brwsd5y5.js} +28 -28
  103. package/dist/chunks/{location-hpbkp3jv.js → location-c3k6pm0m.js} +9 -9
  104. package/dist/chunks/{location-4vygzm8z.js → location-c529yjm2.js} +15 -15
  105. package/dist/chunks/{location-mxyxeq91.js → location-c9jygpac.js} +326 -326
  106. package/dist/chunks/{location-9qap1kz0.js → location-cadbnk3n.js} +22 -22
  107. package/dist/chunks/{location-1z0fzhfg.js → location-cek985gc.js} +22 -22
  108. package/dist/chunks/{location-296sdbys.js → location-cy5473yv.js} +61 -61
  109. package/dist/chunks/{location-nvq72y7j.js → location-cycet1pr.js} +1 -1
  110. package/dist/chunks/{location-9hn6k4tm.js → location-czfptnv9.js} +7 -7
  111. package/dist/chunks/{location-n456zfcg.js → location-d1zydk9p.js} +30 -30
  112. package/dist/chunks/{location-bf3zn255.js → location-d8q1c04z.js} +15 -15
  113. package/dist/chunks/{location-2kxzs1z5.js → location-d9hw3rrm.js} +25 -25
  114. package/dist/chunks/{location-89bv08xb.js → location-da7cwfsq.js} +27 -27
  115. package/dist/chunks/{location-x5zkgxzc.js → location-dca2v3qb.js} +8 -8
  116. package/dist/chunks/{location-5a6870bg.js → location-dq9pghd8.js} +16 -16
  117. package/dist/chunks/{location-tzph5200.js → location-dv5jzpe1.js} +4 -4
  118. package/dist/chunks/{location-ssesc4qa.js → location-dxnfbexj.js} +6 -6
  119. package/dist/chunks/{location-94t80y57.js → location-dyjc66w4.js} +27 -27
  120. package/dist/chunks/{location-bfexnhf9.js → location-e3bfyvz4.js} +54 -54
  121. package/dist/chunks/{location-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
  122. package/dist/chunks/{location-4yxknn6d.js → location-e4w2kpmf.js} +9 -9
  123. package/dist/chunks/{location-gen3kpyr.js → location-e66rkf12.js} +19 -19
  124. package/dist/chunks/{location-0m0pvxq1.js → location-e6fsf12c.js} +10 -10
  125. package/dist/chunks/{location-jkr4b8s0.js → location-e9f9fkm3.js} +30 -30
  126. package/dist/chunks/{location-fag3n04b.js → location-ea95x05p.js} +24 -24
  127. package/dist/chunks/{location-e8vwfchq.js → location-eaezvagx.js} +7 -7
  128. package/dist/chunks/{location-a0tnr6vv.js → location-ek753qrj.js} +5 -5
  129. package/dist/chunks/{location-rpep4epa.js → location-exm7qxnh.js} +21 -21
  130. package/dist/chunks/{location-38phfjcn.js → location-eye44qas.js} +7 -7
  131. package/dist/chunks/{location-00q60weh.js → location-f0q4wdtr.js} +16 -16
  132. package/dist/chunks/{location-n2gztfrf.js → location-f3nmm34k.js} +21 -21
  133. package/dist/chunks/{location-7vgmnxtx.js → location-f5ca9dwf.js} +4 -4
  134. package/dist/chunks/{location-7dqw4kz8.js → location-fcrkznn8.js} +4 -4
  135. package/dist/chunks/{location-y9jy459z.js → location-fwbpahwh.js} +2 -2
  136. package/dist/chunks/{location-bm46emxx.js → location-fwh2zgtw.js} +10 -10
  137. package/dist/chunks/{location-xm77r8mk.js → location-g9ak4sjw.js} +9 -9
  138. package/dist/chunks/{location-bgqmeeks.js → location-g9fnv454.js} +38 -38
  139. package/dist/chunks/{location-4gpcyrrc.js → location-gb9b0k6n.js} +9 -9
  140. package/dist/chunks/{location-syqhgwq0.js → location-gknjsggn.js} +3 -3
  141. package/dist/chunks/{location-pddm9hjh.js → location-gspcenjq.js} +5 -5
  142. package/dist/chunks/{location-9mm32rc6.js → location-gwfc688y.js} +14 -14
  143. package/dist/chunks/{location-geg4sp68.js → location-gy93zegn.js} +8 -8
  144. package/dist/chunks/{location-5psc1bef.js → location-h12ndvyr.js} +12 -12
  145. package/dist/chunks/{location-dmqcgk4z.js → location-h7s7r6s9.js} +6 -5
  146. package/dist/chunks/location-hed9jrmp.js +253 -0
  147. package/dist/chunks/{location-bb98p2sm.js → location-hekf1c5w.js} +7 -7
  148. package/dist/chunks/{location-rsc8qfyv.js → location-hg7mrb4w.js} +7 -7
  149. package/dist/chunks/{location-r4czyjgq.js → location-hhd5kg11.js} +11 -11
  150. package/dist/chunks/{location-y1vh2ynk.js → location-hjkk9tvw.js} +14 -14
  151. package/dist/chunks/{location-fw4jt8zs.js → location-hp2pwxv9.js} +31 -31
  152. package/dist/chunks/{location-7qkbpcez.js → location-j1qv9ecs.js} +6 -6
  153. package/dist/chunks/{location-n0ntqt9g.js → location-jc2mtm7q.js} +43 -43
  154. package/dist/chunks/{location-fqb2p7cx.js → location-jfqtm2ew.js} +3 -3
  155. package/dist/chunks/{location-7zt5x37y.js → location-jhdf29st.js} +1 -1
  156. package/dist/chunks/{location-yrwx0ryy.js → location-js51bcx5.js} +18 -18
  157. package/dist/chunks/{location-taakedrx.js → location-k8p89crg.js} +43 -43
  158. package/dist/chunks/{location-15a8baq2.js → location-kjms2vrd.js} +9 -9
  159. package/dist/chunks/{location-1wg0848n.js → location-kpgz6ev9.js} +32 -32
  160. package/dist/chunks/{location-0901hh4n.js → location-kttg2wpw.js} +38 -38
  161. package/dist/chunks/{location-fcryy9bm.js → location-kvkh2tnc.js} +9 -9
  162. package/dist/chunks/{location-d0n0cznh.js → location-kxg060tx.js} +23 -23
  163. package/dist/chunks/{location-6penkyg2.js → location-mdp3e6p6.js} +32 -32
  164. package/dist/chunks/{location-22e0sng0.js → location-mjac82m3.js} +14 -14
  165. package/dist/chunks/{location-jv7qrkz2.js → location-mk1p5ebg.js} +20 -20
  166. package/dist/chunks/{location-1hd2en9h.js → location-n21dbq43.js} +1 -1
  167. package/dist/chunks/{location-twfjgwa6.js → location-nbrfrcy0.js} +2 -2
  168. package/dist/chunks/{location-4w5gk0mh.js → location-ngkn9htn.js} +13 -13
  169. package/dist/chunks/{location-rj26dvxy.js → location-ntemkh0x.js} +29 -29
  170. package/dist/chunks/{location-0eednbcc.js → location-nw13281a.js} +10 -10
  171. package/dist/chunks/{location-sacwgt96.js → location-p0aj1n0s.js} +46 -46
  172. package/dist/chunks/{location-ccyehgd0.js → location-pw009p93.js} +2 -2
  173. package/dist/chunks/{location-bvjs27d2.js → location-qam56xsc.js} +1 -1
  174. package/dist/chunks/{location-20ketkdt.js → location-qccn18aw.js} +20 -20
  175. package/dist/chunks/{location-pcj0rjsp.js → location-qer0ttcg.js} +5 -5
  176. package/dist/chunks/{location-smnkpcw6.js → location-qjskteme.js} +4 -4
  177. package/dist/chunks/{location-0r3c1bmw.js → location-qne3fa44.js} +3 -3
  178. package/dist/chunks/{location-czbv8z0y.js → location-qpg39g1v.js} +28 -28
  179. package/dist/chunks/{location-nc482bkw.js → location-qzrn5gaa.js} +8 -8
  180. package/dist/chunks/{location-w7r147nf.js → location-r23aaksv.js} +1 -1
  181. package/dist/chunks/{location-q753jdth.js → location-rdxaq8bh.js} +21 -21
  182. package/dist/chunks/{location-bhhh305g.js → location-rg98346q.js} +17 -17
  183. package/dist/chunks/{location-wv396vej.js → location-rhjbct0v.js} +7 -7
  184. package/dist/chunks/{location-32yxbfvn.js → location-rkxa6zgp.js} +16 -16
  185. package/dist/chunks/{location-ch1g95xj.js → location-rp0hxcbj.js} +9 -9
  186. package/dist/chunks/{location-r3s6mbe4.js → location-rsxcvxxn.js} +9 -9
  187. package/dist/chunks/{location-ckhb8p3a.js → location-rz5rekj6.js} +11 -11
  188. package/dist/chunks/{location-zwdpfek5.js → location-rza1ksjw.js} +29 -29
  189. package/dist/chunks/{location-yvvvp4gn.js → location-rzs3gq0x.js} +7 -7
  190. package/dist/chunks/{location-8fefh7g5.js → location-s0828w64.js} +27 -27
  191. package/dist/chunks/{location-8mc742af.js → location-s7ng95pt.js} +23 -23
  192. package/dist/chunks/{location-m7er9qjp.js → location-sejb9e2v.js} +15 -15
  193. package/dist/chunks/{location-p67zypcs.js → location-sx4ak346.js} +10 -10
  194. package/dist/chunks/{location-fpq9acqp.js → location-sxzvkvgj.js} +5 -5
  195. package/dist/chunks/{location-h4ckqw4f.js → location-tc14gx3q.js} +9 -9
  196. package/dist/chunks/{location-avjs8rwt.js → location-ted02x33.js} +51 -51
  197. package/dist/chunks/{location-f7a9ata7.js → location-tgzbhyj9.js} +3 -3
  198. package/dist/chunks/{location-w81mkxs7.js → location-tkj00vfs.js} +3 -3
  199. package/dist/chunks/{location-ezy2bptn.js → location-tprb9ykm.js} +5 -5
  200. package/dist/chunks/{location-wmwmmf9p.js → location-tsq3qyw6.js} +11 -11
  201. package/dist/chunks/{location-cyhwh2m5.js → location-v85wqnzs.js} +18 -18
  202. package/dist/chunks/{location-p1cpmwyf.js → location-vc4tj14c.js} +16 -16
  203. package/dist/chunks/{location-44ak30pa.js → location-vfjhn2wd.js} +3 -3
  204. package/dist/chunks/{location-s1337sdb.js → location-vgbc38w6.js} +21 -21
  205. package/dist/chunks/{location-pfvarswz.js → location-vkzh2jfz.js} +20 -20
  206. package/dist/chunks/{location-q4vqpvdd.js → location-w6nf2t4d.js} +15 -15
  207. package/dist/chunks/{location-edjm0cp8.js → location-w86wbf1j.js} +41 -41
  208. package/dist/chunks/{location-y2zmc9zv.js → location-wgrzeraf.js} +18 -18
  209. package/dist/chunks/{location-hyzby332.js → location-wmvjtpcg.js} +15 -15
  210. package/dist/chunks/{location-z2q0v0ax.js → location-wnbbbc1f.js} +8 -8
  211. package/dist/chunks/{location-2j4zxht4.js → location-wraxjda7.js} +13 -13
  212. package/dist/chunks/{location-w89t5azj.js → location-x1ayq2cp.js} +20 -20
  213. package/dist/chunks/{location-v099rn53.js → location-x375nta7.js} +2 -2
  214. package/dist/chunks/{location-dy2ggsev.js → location-x3g43msc.js} +25 -25
  215. package/dist/chunks/{location-a9568cjm.js → location-x45ymrje.js} +31 -31
  216. package/dist/chunks/{location-1krkd5b8.js → location-x46t862s.js} +11 -11
  217. package/dist/chunks/{location-9f668h4q.js → location-x4s254pk.js} +9 -9
  218. package/dist/chunks/{location-db2wf4at.js → location-x661k3y3.js} +3 -3
  219. package/dist/chunks/{location-jnra9z53.js → location-x9q78qat.js} +15 -15
  220. package/dist/chunks/{location-g5w8qwbj.js → location-xfkkasph.js} +3 -3
  221. package/dist/chunks/{location-4c4k5wey.js → location-xs9sm4qv.js} +14 -14
  222. package/dist/chunks/{location-qp5zfzrm.js → location-y2072sec.js} +13 -13
  223. package/dist/chunks/{location-4bfey5n7.js → location-y7h48m45.js} +4 -4
  224. package/dist/chunks/{location-q9fmzgve.js → location-ychzzj24.js} +4 -4
  225. package/dist/chunks/{location-jwbqxjt0.js → location-yda4wkbn.js} +16 -16
  226. package/dist/chunks/{location-ma4d79jn.js → location-yern2px4.js} +18 -18
  227. package/dist/chunks/{location-fgj24z8y.js → location-z5xex4x1.js} +12 -12
  228. package/dist/chunks/{location-qw00nmad.js → location-z86epv9q.js} +21 -21
  229. package/dist/chunks/{location-x7x00081.js → location-zc6x355b.js} +1 -1
  230. package/dist/codemode/instructions.js +6 -6
  231. package/dist/command.js +65 -65
  232. package/dist/config/discovery.js +58 -58
  233. package/dist/config/normalize.js +72 -72
  234. package/dist/config/plugin/agent.js +85 -85
  235. package/dist/config/plugin/command.js +168 -168
  236. package/dist/config/plugin/compaction.js +119 -119
  237. package/dist/config/plugin/compatibility.js +103 -103
  238. package/dist/config/plugin/formatter.js +86 -86
  239. package/dist/config/plugin/image.js +85 -85
  240. package/dist/config/plugin/instruction.js +65 -65
  241. package/dist/config/plugin/location-watcher.js +84 -84
  242. package/dist/config/plugin/mcp.js +93 -93
  243. package/dist/config/plugin/policy.js +86 -86
  244. package/dist/config/plugin/provider.js +85 -85
  245. package/dist/config/plugin/reference.js +87 -87
  246. package/dist/config/plugin/shell.js +85 -85
  247. package/dist/config/plugin/skill-file.js +73 -73
  248. package/dist/config/plugin/skill.js +104 -104
  249. package/dist/config/plugin/snapshot.js +85 -85
  250. package/dist/config/plugin/source.js +88 -88
  251. package/dist/config/plugin/tool-output.js +86 -86
  252. package/dist/config/plugin/websearch.js +84 -84
  253. package/dist/config/plugin/worktree.js +86 -86
  254. package/dist/config/variable.js +2 -2
  255. package/dist/config.js +91 -91
  256. package/dist/credential.js +64 -64
  257. package/dist/database/database.js +50 -50
  258. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  259. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  260. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  261. package/dist/database/drizzle/index.js +8 -8
  262. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  263. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  264. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  265. package/dist/database/drizzle.js +8 -8
  266. package/dist/database/migration.gen.js +40 -40
  267. package/dist/database/migration.js +41 -41
  268. package/dist/database/v1-migration.bun.js +9 -9
  269. package/dist/effect/app-node-builder.js +235 -235
  270. package/dist/environment/environment.js +65 -65
  271. package/dist/environment/index.js +67 -67
  272. package/dist/event-logger.js +13 -13
  273. package/dist/file-access.js +76 -76
  274. package/dist/file-mutation.js +66 -66
  275. package/dist/filesystem/location-watcher.js +182 -182
  276. package/dist/filesystem/search.js +73 -73
  277. package/dist/filesystem/watcher-binding.js +3 -3
  278. package/dist/filesystem/watcher.js +14 -14
  279. package/dist/filesystem.js +76 -76
  280. package/dist/form.js +68 -68
  281. package/dist/formatter/builtins.js +3 -3
  282. package/dist/formatter.js +63 -63
  283. package/dist/generate.js +73 -73
  284. package/dist/git.js +6 -6
  285. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  286. package/dist/github-copilot/copilot-provider.js +3 -3
  287. package/dist/github-copilot/models.js +65 -65
  288. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  289. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  290. package/dist/image/photon.js +1 -1
  291. package/dist/image.js +5 -5
  292. package/dist/instance/service.js +5 -5
  293. package/dist/instance.js +311 -311
  294. package/dist/instruction-discovery.js +66 -66
  295. package/dist/instructions/builtins.js +63 -63
  296. package/dist/instructions/index.js +5 -5
  297. package/dist/integration/connection.js +3 -3
  298. package/dist/integration.js +66 -66
  299. package/dist/job.js +59 -59
  300. package/dist/kv.js +55 -55
  301. package/dist/location-activity.js +55 -55
  302. package/dist/location-lifecycle.js +79 -79
  303. package/dist/location-service-map.js +62 -62
  304. package/dist/location-services.js +307 -307
  305. package/dist/location.js +61 -61
  306. package/dist/managed-policy.js +7 -7
  307. package/dist/mcp/client.js +16 -16
  308. package/dist/mcp/index.js +79 -79
  309. package/dist/mcp/instructions.js +97 -97
  310. package/dist/mcp/oauth.js +13 -13
  311. package/dist/mcp/stdio.js +62 -62
  312. package/dist/modal/models.js +65 -65
  313. package/dist/model-resolver.js +72 -72
  314. package/dist/model.js +74 -74
  315. package/dist/models-dev.js +81 -81
  316. package/dist/permission/saved.js +61 -61
  317. package/dist/permission.js +89 -89
  318. package/dist/persistent-pty/index.js +69 -69
  319. package/dist/persistent-pty.js +55 -55
  320. package/dist/plugin/agent.js +56 -56
  321. package/dist/plugin/command.js +70 -70
  322. package/dist/plugin/hooks.js +5 -5
  323. package/dist/plugin/host.js +176 -176
  324. package/dist/plugin/identity.js +3 -3
  325. package/dist/plugin/instance.js +5 -5
  326. package/dist/plugin/internal.js +284 -284
  327. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  328. package/dist/plugin/models-dev.js +70 -70
  329. package/dist/plugin/module.js +84 -84
  330. package/dist/plugin/optimize.js +4 -4
  331. package/dist/plugin/plan.js +74 -74
  332. package/dist/plugin/provider/amazon-bedrock.js +64 -64
  333. package/dist/plugin/provider/azure.js +86 -86
  334. package/dist/plugin/provider/chatgpt.js +66 -66
  335. package/dist/plugin/provider/cloudflare-ai-gateway.js +83 -83
  336. package/dist/plugin/provider/cloudflare-workers-ai.js +83 -83
  337. package/dist/plugin/provider/configured.js +82 -82
  338. package/dist/plugin/provider/digitalocean.js +66 -66
  339. package/dist/plugin/provider/github-copilot.js +68 -68
  340. package/dist/plugin/provider/gitlab.js +66 -66
  341. package/dist/plugin/provider/google-vertex.js +83 -83
  342. package/dist/plugin/provider/llmgateway.js +57 -57
  343. package/dist/plugin/provider/lmstudio.js +86 -86
  344. package/dist/plugin/provider/local.js +83 -83
  345. package/dist/plugin/provider/modal.js +66 -66
  346. package/dist/plugin/provider/ollama.js +86 -86
  347. package/dist/plugin/provider/openai.js +67 -67
  348. package/dist/plugin/provider/opencode.js +71 -71
  349. package/dist/plugin/provider/openrouter.js +65 -65
  350. package/dist/plugin/provider/poe.js +57 -57
  351. package/dist/plugin/provider/prompt-cache-key.js +64 -64
  352. package/dist/plugin/provider/sap-ai-core.js +64 -64
  353. package/dist/plugin/provider/snowflake-cortex.js +84 -84
  354. package/dist/plugin/provider/vercel.js +64 -64
  355. package/dist/plugin/provider/vllm.js +86 -86
  356. package/dist/plugin/provider/xai.js +65 -65
  357. package/dist/plugin/provider.js +121 -121
  358. package/dist/plugin/sdk.js +52 -52
  359. package/dist/plugin/service.js +3 -3
  360. package/dist/plugin/skill.js +104 -104
  361. package/dist/plugin/supervisor.js +299 -299
  362. package/dist/plugin/tool-input-repair.js +3 -3
  363. package/dist/plugin/update.js +5 -5
  364. package/dist/plugin/vcs/git.js +62 -62
  365. package/dist/plugin/vcs/hg.js +62 -62
  366. package/dist/plugin/verbosity.js +67 -67
  367. package/dist/plugin/warming.js +84 -84
  368. package/dist/plugin/websearch/exa.js +6 -6
  369. package/dist/plugin/websearch/firecrawl.js +7 -7
  370. package/dist/plugin/websearch/index.js +8 -8
  371. package/dist/plugin/websearch/mcp.js +3 -3
  372. package/dist/plugin/websearch/parallel.js +5 -5
  373. package/dist/plugin/websearch/tavily.js +6 -6
  374. package/dist/plugin/websearch/tinyfish.js +7 -7
  375. package/dist/plugin.js +183 -183
  376. package/dist/project.js +60 -60
  377. package/dist/provider.js +75 -75
  378. package/dist/pty.js +64 -64
  379. package/dist/reference/instructions.js +65 -65
  380. package/dist/reference.js +69 -69
  381. package/dist/repository-cache.js +59 -59
  382. package/dist/ripgrep.js +68 -68
  383. package/dist/rpc.js +62 -62
  384. package/dist/session/command.js +56 -56
  385. package/dist/session/compaction.js +103 -103
  386. package/dist/session/context.js +119 -119
  387. package/dist/session/diff.js +62 -62
  388. package/dist/session/environment.js +5 -5
  389. package/dist/session/error.js +6 -6
  390. package/dist/session/execution/restart.js +116 -116
  391. package/dist/session/execution.js +99 -99
  392. package/dist/session/generate.js +118 -118
  393. package/dist/session/history.js +8 -8
  394. package/dist/session/inbox.js +63 -63
  395. package/dist/session/info.js +2 -2
  396. package/dist/session/instruction-entry.js +58 -58
  397. package/dist/session/instruction-state.js +2 -2
  398. package/dist/session/instructions.js +70 -70
  399. package/dist/session/message-updater.js +3 -3
  400. package/dist/session/model-request.js +89 -89
  401. package/dist/session/model-transport.js +7 -7
  402. package/dist/session/move.js +101 -101
  403. package/dist/session/projector.js +61 -61
  404. package/dist/session/prompt.js +76 -76
  405. package/dist/session/provider-context.js +3 -3
  406. package/dist/session/revert.js +63 -63
  407. package/dist/session/run-coordinator.js +3 -3
  408. package/dist/session/runner/index.js +3 -3
  409. package/dist/session/runner/llm.js +187 -187
  410. package/dist/session/runner/model.js +72 -72
  411. package/dist/session/runner/publish-llm-event.js +84 -84
  412. package/dist/session/runner/retry.js +3 -3
  413. package/dist/session/runner/step.js +93 -93
  414. package/dist/session/runner/to-llm-message.js +2 -2
  415. package/dist/session/schema.js +5 -5
  416. package/dist/session/session.js +131 -131
  417. package/dist/session/shell.js +98 -98
  418. package/dist/session/skill.js +75 -75
  419. package/dist/session/stats.js +8 -8
  420. package/dist/session/store.js +64 -64
  421. package/dist/session/subagent-job.js +167 -167
  422. package/dist/session/system-prompt.js +3 -3
  423. package/dist/session/title.js +116 -116
  424. package/dist/session/to-session-error.js +83 -83
  425. package/dist/session/transfer.js +113 -113
  426. package/dist/session.js +178 -178
  427. package/dist/shell/parse.js +4 -4
  428. package/dist/shell/select.js +12 -12
  429. package/dist/shell.js +101 -101
  430. package/dist/skill/discovery.js +5 -5
  431. package/dist/skill/instructions.js +79 -79
  432. package/dist/skill.js +82 -82
  433. package/dist/snapshot.js +69 -69
  434. package/dist/tool/mcp.js +96 -96
  435. package/dist/tool/plugin/edit.js +85 -85
  436. package/dist/tool/plugin/glob.js +92 -92
  437. package/dist/tool/plugin/grep.js +94 -94
  438. package/dist/tool/plugin/mcp-resource.js +87 -87
  439. package/dist/tool/plugin/opencode.js +81 -81
  440. package/dist/tool/plugin/patch.js +91 -91
  441. package/dist/tool/plugin/question.js +75 -75
  442. package/dist/tool/plugin/read.js +95 -95
  443. package/dist/tool/plugin/shell.js +173 -173
  444. package/dist/tool/plugin/skill.js +83 -83
  445. package/dist/tool/plugin/subagent.js +176 -176
  446. package/dist/tool/plugin/webfetch.js +83 -83
  447. package/dist/tool/plugin/websearch.js +84 -84
  448. package/dist/tool/plugin/write.js +93 -93
  449. package/dist/tool/read-filesystem.js +70 -70
  450. package/dist/tool-output.js +5 -5
  451. package/dist/tool.js +11 -11
  452. package/dist/types/session/history.d.ts +32 -0
  453. package/dist/types/session/transfer.d.ts +19 -0
  454. package/dist/v1/config/agent.js +6 -6
  455. package/dist/v1/config/command.js +3 -3
  456. package/dist/v1/config/error.js +3 -3
  457. package/dist/v1/config/mcp.js +3 -3
  458. package/dist/v1/config/migrate.js +65 -65
  459. package/dist/v1/config/permission.js +7 -7
  460. package/dist/v1/config/plugin.js +3 -3
  461. package/dist/v1/config/provider.js +3 -3
  462. package/dist/variant.js +65 -65
  463. package/dist/vcs.js +65 -65
  464. package/dist/websearch.js +61 -61
  465. package/dist/wellknown/plugin.js +57 -57
  466. package/dist/wellknown.js +62 -62
  467. package/dist/workspace/driver.js +5 -5
  468. package/dist/workspace.js +62 -62
  469. package/dist/worktree/git.js +5 -5
  470. package/dist/worktree/strategies.js +64 -64
  471. package/dist/worktree.js +70 -70
  472. package/package.json +8 -8
  473. package/dist/chunks/location-350gfnr7.js +0 -26
  474. package/dist/chunks/location-xzkm26z5.js +0 -253
  475. /package/dist/chunks/{location-y8dg3yja.js → location-b564mtnb.js} +0 -0
  476. /package/dist/chunks/{location-kerhshr9.js → location-fegk541e.js} +0 -0
  477. /package/dist/chunks/{location-5camtqdd.js → location-shfh3dfx.js} +0 -0
  478. /package/dist/chunks/{location-c0gy5km3.js → location-wfyw2gqh.js} +0 -0
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service50,
18
+ Service: () => Service38,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node53
21
+ node: () => node41
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service50 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service38 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service50, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service50.of({
119
+ return Service38.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node53 = makeLocationNode({
137
- service: Service50,
136
+ var node41 = makeLocationNode({
137
+ service: Service38,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service50, node53, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service38, node41, exports_tool_output2 };
@@ -10,11 +10,11 @@ import {
10
10
  gitExecutable2
11
11
  } from "./location-ef5x83kb.js";
12
12
  import {
13
- Service75
14
- } from "./location-w9w8c5s2.js";
13
+ Service80
14
+ } from "./location-8vd0j1f8.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./location-n2gztfrf.js";
17
+ } from "./location-f3nmm34k.js";
18
18
  import {
19
19
  __export
20
20
  } from "./location-9rqn6x4v.js";
@@ -22,7 +22,7 @@ import {
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin2,
25
+ Plugin: () => Plugin17,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/unstable/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin2 = define({
36
+ var Plugin17 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service75;
39
+ const location = yield* Service80;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin2, exports_git };
556
+ export { Plugin17, exports_git };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./location-510enc9r.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-5tmy9zrn.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  External2,
8
- Service69,
9
- node73
10
- } from "./location-n456zfcg.js";
8
+ Service77,
9
+ node81
10
+ } from "./location-d1zydk9p.js";
11
11
  import {
12
12
  create3
13
13
  } from "./location-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./location-db2wf4at.js";
16
+ } from "./location-x661k3y3.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./location-jp0p4yja.js";
20
+ } from "./location-brwsd5y5.js";
21
21
  import {
22
22
  __export
23
23
  } from "./location-9rqn6x4v.js";
@@ -35,18 +35,18 @@ __export(exports_integration, {
35
35
  CommandAttemptStatus: () => CommandAttemptStatus2,
36
36
  CommandMethod: () => CommandMethod2,
37
37
  EnvMethod: () => EnvMethod2,
38
- Event: () => Event16,
38
+ Event: () => Event18,
39
39
  ExternalMethod: () => ExternalMethod2,
40
- ID: () => ID10,
41
- Info: () => Info19,
40
+ ID: () => ID14,
41
+ Info: () => Info22,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
44
44
  Method: () => Method2,
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service67,
49
- node: () => node71
48
+ Service: () => Service76,
49
+ node: () => node80
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -68,8 +68,8 @@ import {
68
68
  import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/unstable/process";
71
- import { Event as Event16 } from "@opencode/schema/integration";
72
- var ID10 = Integration.ID;
71
+ import { Event as Event18 } from "@opencode/schema/integration";
72
+ var ID14 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
75
75
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
78
78
  var ExternalMethod2 = Integration.ExternalMethod;
79
79
  var EnvMethod2 = Integration.EnvMethod;
80
80
  var Method2 = Integration.Method;
81
- var Info19 = Integration.Info;
81
+ var Info22 = Integration.Info;
82
82
  var Attempt2 = Integration.Attempt;
83
83
  var AttemptStatus2 = Integration.AttemptStatus;
84
84
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
101
101
  }
102
102
 
103
103
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
104
- integrationID: ID10,
104
+ integrationID: ID14,
105
105
  attemptID: AttemptID2
106
106
  }) {
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service67 extends Context.Service()("@opencode/Integration") {
110
+ class Service76 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service67, Effect.gen(function* () {
116
- const credentials = yield* Service69;
117
- const bus = yield* Service78;
115
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
116
+ const credentials = yield* Service77;
117
+ const bus = yield* Service83;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
120
120
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
214
214
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
215
215
  return [...credentials, ...env];
216
216
  };
217
- const project = (entry, connections) => Info19.make({
217
+ const project = (entry, connections) => Info22.make({
218
218
  id: entry.ref.id,
219
219
  name: entry.ref.name,
220
220
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
301
301
  const persistence = yield* createCredential({
302
302
  integrationID: attempt.integrationID,
303
303
  label: attempt.label,
304
- value: Key3.make({ type: "key", key: exit.value })
304
+ value: Key4.make({ type: "key", key: exit.value })
305
305
  }).pipe(Effect.asVoid, Effect.exit);
306
306
  const settledAt = yield* Clock.currentTimeMillis;
307
307
  const terminal = Exit.isSuccess(persistence) ? {
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service67.of({
450
+ return Service76.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
469
469
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
470
470
  if (connection.type === "env") {
471
471
  const key = process.env[connection.name];
472
- return key ? Key3.make({ type: "key", key }) : undefined;
472
+ return key ? Key4.make({ type: "key", key }) : undefined;
473
473
  }
474
474
  const credential = yield* credentials.get(connection.id);
475
475
  if (!credential)
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
502
502
  yield* createCredential({
503
503
  integrationID: input.integrationID,
504
504
  label: input.label,
505
- value: Key3.make({
505
+ value: Key4.make({
506
506
  type: "key",
507
507
  key: input.key,
508
508
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node71 = makeLocationNode({
633
- service: Service67,
632
+ var node80 = makeLocationNode({
633
+ service: Service76,
634
634
  layer,
635
- deps: [node73, node82, AppProcess.node]
635
+ deps: [node81, node87, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service67, node71, exports_integration, Event16 };
638
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
@@ -6,13 +6,13 @@ import {
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service57,
9
+ Service: () => Service40,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service57 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service40 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service57, exports_runner };
18
+ export { DrainResult2, Service40, exports_runner };
@@ -2,13 +2,13 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./location-2ha1v7qw.js";
5
+ } from "./location-830hjgb9.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make24,
10
10
  makeWithDefaults2
11
- } from "./location-twfjgwa6.js";
11
+ } from "./location-nbrfrcy0.js";
12
12
  import {
13
13
  __export
14
14
  } from "./location-9rqn6x4v.js";
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
10
10
  __export(exports_mcp, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
12
  WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin12,
11
+ Plugin: () => Plugin25,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin12 = define({
18
+ var Plugin25 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin12, exports_tool_input_repair };
123
+ export { Plugin25, exports_tool_input_repair };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service78,
4
- node82
5
- } from "./location-510enc9r.js";
3
+ Service83,
4
+ node87
5
+ } from "./location-5tmy9zrn.js";
6
6
  import {
7
7
  __export
8
8
  } from "./location-9rqn6x4v.js";
@@ -23,7 +23,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
23
23
  class Service4 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
25
  var layer4 = Layer.effect(Service4, Effect.gen(function* () {
26
- const bus = yield* Service78;
26
+ const bus = yield* Service83;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
29
  return Service4.of({
@@ -33,6 +33,6 @@ var layer4 = Layer.effect(Service4, Effect.gen(function* () {
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node82] });
36
+ var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node87] });
37
37
 
38
38
  export { Updated2, Service4, layer4, node5, exports_sdk };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service49
3
- } from "./location-9qap1kz0.js";
2
+ Service71
3
+ } from "./location-cadbnk3n.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./location-wv396vej.js";
6
+ } from "./location-rhjbct0v.js";
7
7
  import {
8
8
  AbsolutePath2
9
9
  } from "./location-z5v4ffb3.js";
10
10
  import {
11
11
  File2,
12
- Service47
13
- } from "./location-8fefh7g5.js";
12
+ Service45
13
+ } from "./location-s0828w64.js";
14
14
  import {
15
- Service75
16
- } from "./location-w9w8c5s2.js";
15
+ Service80
16
+ } from "./location-8vd0j1f8.js";
17
17
  import {
18
18
  __export
19
19
  } from "./location-9rqn6x4v.js";
@@ -22,7 +22,7 @@ import {
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin44
25
+ Plugin: () => Plugin46
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
30
30
  import { sameDirectory } from "@opencode/util/path";
31
31
  import { dirname, join } from "path";
32
32
  import { Effect, PubSub, Semaphore, Stream } from "effect";
33
- var Plugin44 = define({
33
+ var Plugin46 = define({
34
34
  id: "opencode.config.instruction",
35
35
  effect: Effect.fn(function* () {
36
- const discovery = yield* Service47;
36
+ const discovery = yield* Service45;
37
37
  if (!discovery.project && !discovery.global)
38
38
  return;
39
39
  yield* Effect.gen(function* () {
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
- const location = yield* Service75;
43
- const watcher = yield* Service49;
42
+ const location = yield* Service80;
43
+ const watcher = yield* Service71;
44
44
  const changes = yield* PubSub.sliding(1);
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  const start = yield* fs.resolve(location.directory);
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
115
115
  return [start, ...ancestorDirectories(dirname(start), stop)];
116
116
  }
117
117
 
118
- export { Plugin44, exports_instruction };
118
+ export { Plugin46, exports_instruction };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID9
3
- } from "./location-swtxrcf0.js";
2
+ ID13
3
+ } from "./location-6mkt9mm7.js";
4
4
  import {
5
5
  loadSDKFactory2
6
6
  } from "./location-6q2bdcd1.js";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID9.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID9.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./location-s111bhqz.js";
3
+ } from "./location-bah8gbxw.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 make4 = createLocalProviderPlugin2({
22
+ var make6 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make4 = 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 = make4();
41
+ var LMStudioPlugin2 = make6();
42
42
 
43
- export { make4, LMStudioPlugin2 };
43
+ export { make6, LMStudioPlugin2 };
@@ -9,11 +9,11 @@ import {
9
9
  chunksByFile2
10
10
  } from "./location-tazgh4e4.js";
11
11
  import {
12
- Service75
13
- } from "./location-w9w8c5s2.js";
12
+ Service80
13
+ } from "./location-8vd0j1f8.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./location-n2gztfrf.js";
16
+ } from "./location-f3nmm34k.js";
17
17
  import {
18
18
  __export
19
19
  } from "./location-9rqn6x4v.js";
@@ -21,7 +21,7 @@ import {
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin8,
24
+ Plugin: () => Plugin16,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin8 = define({
33
+ var Plugin16 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service75;
36
+ const location = yield* Service80;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin8, exports_hg };
201
+ export { Plugin16, exports_hg };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service59
3
- } from "./location-fpq9acqp.js";
2
+ Service42
3
+ } from "./location-sxzvkvgj.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./location-7fj5dwt0.js";
6
+ } from "./location-1x11rq2a.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./location-e8vwfchq.js";
9
+ } from "./location-eaezvagx.js";
10
10
  import {
11
- Service44
12
- } from "./location-w89t5azj.js";
11
+ Service48
12
+ } from "./location-x1ayq2cp.js";
13
13
  import {
14
14
  __export
15
15
  } from "./location-9rqn6x4v.js";
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service59;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
25
+ const instances = yield* Service42;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Ref4
3
- } from "./location-w9w8c5s2.js";
3
+ } from "./location-8vd0j1f8.js";
4
4
  import {
5
5
  __export
6
6
  } from "./location-9rqn6x4v.js";
@@ -9,9 +9,9 @@ import {
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service66,
12
+ Service: () => Service68,
13
13
  canonical: () => canonical3,
14
- node: () => node70,
14
+ node: () => node72,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service66 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service68 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service66, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service68, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node70 = LayerNode.unbound(Service66, Node.tags.values.global);
27
+ var node72 = LayerNode.unbound(Service68, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service66;
29
+ const locations = yield* Service68;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service66, node70, reload2, canonical3, exports_location_service_map };
48
+ export { Service68, node72, reload2, canonical3, exports_location_service_map };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service75,
3
- node79
4
- } from "./location-w9w8c5s2.js";
2
+ Service80,
3
+ node84
4
+ } from "./location-8vd0j1f8.js";
5
5
  import {
6
6
  create3
7
7
  } from "./location-rdw6cm16.js";
@@ -13,18 +13,18 @@ import {
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service13,
17
- node: () => node15
16
+ Service: () => Service17,
17
+ node: () => node19
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/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 Service13 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service17 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service13, Effect.gen(function* () {
27
- const location = yield* Service75;
26
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
27
+ const location = yield* Service80;
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(Service13, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service13.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service17.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node15 = makeLocationNode({
91
- service: Service13,
90
+ var node19 = makeLocationNode({
91
+ service: Service17,
92
92
  layer,
93
- deps: [node79, AppProcess.node]
93
+ deps: [node84, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service13, node15, exports_formatter2 };
96
+ export { Service17, node19, exports_formatter2 };