@opencode/core 0.0.0-dev-20439 → 0.0.0-dev-20440

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{variant-qvf13fnr.js → location-03qkt8xx.js} +11 -11
  8. package/dist/chunks/{variant-q0xm7vwc.js → location-0j77ygfz.js} +6 -6
  9. package/dist/chunks/{variant-25a4t902.js → location-0p1ba10h.js} +18 -18
  10. package/dist/chunks/{variant-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{variant-k86ryq5x.js → location-0q7vd0e7.js} +14 -14
  12. package/dist/chunks/{variant-c73eachg.js → location-0qyf8xfc.js} +6 -6
  13. package/dist/chunks/{variant-50bj4n03.js → location-0sprneqr.js} +22 -22
  14. package/dist/chunks/{variant-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{variant-v54kchrq.js → location-12g5858n.js} +11 -11
  16. package/dist/chunks/{variant-weg9ntdf.js → location-1645hs46.js} +9 -9
  17. package/dist/chunks/{variant-kqsbn90b.js → location-16hw9d12.js} +48 -48
  18. package/dist/chunks/{variant-1acjjqhc.js → location-1acjjqhc.js} +1 -1
  19. package/dist/chunks/{variant-p6wxjpka.js → location-1b4m0bzf.js} +4 -4
  20. package/dist/chunks/{variant-517vs525.js → location-1dangqhw.js} +8 -8
  21. package/dist/chunks/{variant-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{variant-1dvck2a7.js → location-1dvck2a7.js} +2 -2
  23. package/dist/chunks/{variant-07q3v8ms.js → location-1gb3jw67.js} +37 -37
  24. package/dist/chunks/{variant-6szg9m6g.js → location-1tdzqxb9.js} +28 -28
  25. package/dist/chunks/{variant-1f3k22r2.js → location-1w9zpvw0.js} +11 -11
  26. package/dist/chunks/{variant-yy9wtzs9.js → location-1zd5t2vq.js} +25 -25
  27. package/dist/chunks/{variant-tk612nqt.js → location-217k1aq0.js} +5 -5
  28. package/dist/chunks/{variant-21r38tys.js → location-21r38tys.js} +1 -1
  29. package/dist/chunks/{variant-tdjsa322.js → location-22kmp0xz.js} +27 -27
  30. package/dist/chunks/{variant-yf6pnrx7.js → location-23z2s8ty.js} +34 -34
  31. package/dist/chunks/{variant-fvxg17y2.js → location-256nx13v.js} +3 -3
  32. package/dist/chunks/{variant-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{variant-2v8pqagd.js → location-2aqr678w.js} +330 -330
  34. package/dist/chunks/{variant-4ts7tf6z.js → location-2ccvkpx1.js} +2 -2
  35. package/dist/chunks/{variant-ajwerf3h.js → location-2tcky1mt.js} +8 -8
  36. package/dist/chunks/{variant-y6kgs8hj.js → location-3124xjv5.js} +5 -5
  37. package/dist/chunks/{variant-hekxc47r.js → location-325sge2s.js} +1 -1
  38. package/dist/chunks/{variant-mfqp6xfm.js → location-33w4ejhs.js} +9 -9
  39. package/dist/chunks/{variant-p0b4ytnr.js → location-35agz59w.js} +6 -6
  40. package/dist/chunks/{variant-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{variant-f3sqmsb9.js → location-3fm26c60.js} +15 -15
  42. package/dist/chunks/{variant-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{variant-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{variant-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{variant-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{variant-xjza7kx6.js → location-42by9dkz.js} +11 -11
  47. package/dist/chunks/{variant-6nd6aznx.js → location-4aqnkmwy.js} +23 -23
  48. package/dist/chunks/{variant-pcxghkgz.js → location-4eq8w0dz.js} +4 -4
  49. package/dist/chunks/{variant-16w9ecqz.js → location-4r508d4e.js} +11 -11
  50. package/dist/chunks/{variant-g0cknp2d.js → location-4s3tpmrn.js} +13 -13
  51. package/dist/chunks/{variant-z4ym9awj.js → location-4x12h4qm.js} +46 -46
  52. package/dist/chunks/{variant-cann05ez.js → location-4yp603wd.js} +42 -42
  53. package/dist/chunks/{variant-aacyrw2e.js → location-56pbwxwa.js} +33 -33
  54. package/dist/chunks/{variant-5daktx2q.js → location-5daktx2q.js} +1 -1
  55. package/dist/chunks/{variant-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{variant-a72r2k07.js → location-5y599e6r.js} +17 -17
  57. package/dist/chunks/{variant-669tq793.js → location-669tq793.js} +1 -1
  58. package/dist/chunks/{variant-tfwvc9sw.js → location-67dtadj1.js} +5 -5
  59. package/dist/chunks/{variant-8j08zm4r.js → location-68kk42m8.js} +16 -16
  60. package/dist/chunks/{variant-tkx9gh3c.js → location-6dcrc66s.js} +9 -9
  61. package/dist/chunks/{variant-c0yg3yaa.js → location-6f7g1gep.js} +27 -27
  62. package/dist/chunks/{variant-svb96c7g.js → location-6hjx5zpb.js} +9 -9
  63. package/dist/chunks/{variant-41czef58.js → location-6rm5yzkt.js} +4 -4
  64. package/dist/chunks/{variant-6qmtfge3.js → location-6tp2e4nh.js} +14 -14
  65. package/dist/chunks/{variant-g8pm3x4z.js → location-6wpq4p86.js} +21 -21
  66. package/dist/chunks/{variant-3kcc9g8w.js → location-6yzh683s.js} +23 -23
  67. package/dist/chunks/{variant-zw6qz0tx.js → location-6z9mwsmt.js} +24 -24
  68. package/dist/chunks/{variant-71az546q.js → location-71az546q.js} +2 -2
  69. package/dist/chunks/{variant-vskqw7qy.js → location-75djp3vm.js} +29 -29
  70. package/dist/chunks/{variant-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{variant-2k8khapm.js → location-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/location-7fj5dwt0.js +18 -0
  73. package/dist/chunks/{variant-0g91z8as.js → location-7kxjkgp1.js} +12 -12
  74. package/dist/chunks/{variant-vj9qpvrk.js → location-7n68x724.js} +3 -3
  75. package/dist/chunks/{variant-0z8vjex2.js → location-7sd9q442.js} +9 -9
  76. package/dist/chunks/{variant-y6mhz57t.js → location-80scg3y3.js} +4 -4
  77. package/dist/chunks/{variant-hry7yjep.js → location-813cbmj3.js} +20 -20
  78. package/dist/chunks/{variant-84txncab.js → location-84txncab.js} +1 -1
  79. package/dist/chunks/{variant-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{variant-14v92p14.js → location-8eh0rnbq.js} +23 -23
  81. package/dist/chunks/{variant-z2zv94aj.js → location-8nzm4pg7.js} +31 -31
  82. package/dist/chunks/{variant-fd4k4kgm.js → location-8py83gfk.js} +5 -5
  83. package/dist/chunks/{variant-b53k4bdr.js → location-8t7qd4rg.js} +26 -26
  84. package/dist/chunks/{variant-5bgh4dzz.js → location-8wc3wjta.js} +8 -8
  85. package/dist/chunks/{variant-mc5axvaa.js → location-90qvvky9.js} +4 -4
  86. package/dist/chunks/{variant-rpnewtr1.js → location-90zqzmt2.js} +35 -35
  87. package/dist/chunks/{variant-c0d2pnej.js → location-992hz17m.js} +27 -27
  88. package/dist/chunks/{variant-t89fqycx.js → location-9c3np669.js} +8 -8
  89. package/dist/chunks/{variant-7r87hsp1.js → location-9d02ejc3.js} +13 -13
  90. package/dist/chunks/{variant-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
  91. package/dist/chunks/{variant-5xesbvpt.js → location-9xg80nvy.js} +10 -10
  92. package/dist/chunks/{variant-8kq48qmj.js → location-9yc87yg7.js} +11 -11
  93. package/dist/chunks/{variant-px5nxgea.js → location-a1w0edtg.js} +7 -7
  94. package/dist/chunks/{variant-gr8khd20.js → location-a5kvvdnp.js} +20 -20
  95. package/dist/chunks/{variant-w3jg838k.js → location-a881zpfh.js} +9 -9
  96. package/dist/chunks/{variant-aaet6srn.js → location-aaet6srn.js} +2 -2
  97. package/dist/chunks/{variant-xeav5w26.js → location-adxtbyr6.js} +8 -8
  98. package/dist/chunks/{variant-1hzkdvcb.js → location-af43y7nd.js} +26 -26
  99. package/dist/chunks/{variant-398qtpyw.js → location-ag8xxyx6.js} +16 -16
  100. package/dist/chunks/{variant-mzseknbn.js → location-ank5f68a.js} +9 -9
  101. package/dist/chunks/{variant-vxmbdp5g.js → location-apg4zytr.js} +2 -2
  102. package/dist/chunks/{variant-mkfpjzad.js → location-asbmekhj.js} +15 -15
  103. package/dist/chunks/{variant-scgrse2b.js → location-b3f8fkhc.js} +5 -5
  104. package/dist/chunks/{variant-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{variant-bcrgek8j.js → location-b86tfdzm.js} +11 -11
  106. package/dist/chunks/{variant-skgznvtr.js → location-b9rwv01j.js} +12 -12
  107. package/dist/chunks/{variant-9tcgwzn8.js → location-bnd5ydr3.js} +23 -23
  108. package/dist/chunks/{variant-ynpe6tcd.js → location-c0ke6nr1.js} +12 -12
  109. package/dist/chunks/{variant-vtfaj6fm.js → location-c1rz9jmh.js} +5 -5
  110. package/dist/chunks/{variant-zkr7fetz.js → location-cjvftz2e.js} +20 -20
  111. package/dist/chunks/{variant-cwa6csj7.js → location-cwa6csj7.js} +2 -2
  112. package/dist/chunks/{variant-wtas89nq.js → location-czb31bpy.js} +16 -16
  113. package/dist/chunks/{variant-qkn9jtjt.js → location-d74mdtkm.js} +11 -11
  114. package/dist/chunks/{variant-t2kw1cd0.js → location-d75b88se.js} +11 -11
  115. package/dist/chunks/{variant-shp9g25n.js → location-d8jzy0c0.js} +6 -6
  116. package/dist/chunks/{variant-cx4dwxh6.js → location-da6w1prp.js} +30 -30
  117. package/dist/chunks/{variant-dfe8djrf.js → location-dfe8djrf.js} +1 -1
  118. package/dist/chunks/{variant-ctmr8zqa.js → location-dhmh7aw6.js} +4 -4
  119. package/dist/chunks/{variant-32grcv6n.js → location-dmxvvwbd.js} +3 -3
  120. package/dist/chunks/{variant-5w4kbhzj.js → location-dnpvkg52.js} +36 -36
  121. package/dist/chunks/{variant-srjtz9mv.js → location-dqx71bew.js} +36 -36
  122. package/dist/chunks/{variant-9hwaqfsw.js → location-dsr2y3g9.js} +5 -5
  123. package/dist/chunks/{variant-m6pcnaq2.js → location-dx6krq16.js} +20 -20
  124. package/dist/chunks/{variant-8arhm12g.js → location-e1wndh8r.js} +24 -24
  125. package/dist/chunks/{variant-hfgwpwpp.js → location-e241tn6m.js} +9 -9
  126. package/dist/chunks/{variant-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
  127. package/dist/chunks/{variant-cjg42c8t.js → location-e6cr48re.js} +29 -29
  128. package/dist/chunks/{variant-xzrre6xp.js → location-e6hkw39t.js} +4 -4
  129. package/dist/chunks/{variant-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{variant-q6gppffy.js → location-eg94g7be.js} +22 -22
  131. package/dist/chunks/{variant-vcgjavzm.js → location-em2dyr67.js} +15 -15
  132. package/dist/chunks/{variant-7ph72h93.js → location-emg0brma.js} +16 -16
  133. package/dist/chunks/{variant-c2cehf6b.js → location-emwyyrd1.js} +7 -7
  134. package/dist/chunks/{variant-z01wj9c4.js → location-enwhk1j2.js} +18 -18
  135. package/dist/chunks/{variant-a1gpj94z.js → location-eq1pz5kg.js} +3 -3
  136. package/dist/chunks/{variant-kpbb4v73.js → location-eq65txyb.js} +19 -19
  137. package/dist/chunks/{variant-p4zjnn1b.js → location-etf6549t.js} +32 -32
  138. package/dist/chunks/{variant-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{variant-1qrvjt31.js → location-extssn6f.js} +18 -18
  140. package/dist/chunks/{variant-8vtqv0ab.js → location-f3zzdq7f.js} +33 -33
  141. package/dist/chunks/{variant-xs9h3ep0.js → location-f94a1y6m.js} +38 -38
  142. package/dist/chunks/{variant-jh4mddbt.js → location-f9nqsp9x.js} +14 -14
  143. package/dist/chunks/{variant-xrsga2b8.js → location-fy4vq0cf.js} +32 -32
  144. package/dist/chunks/{variant-p37cw4rj.js → location-g0445xdp.js} +8 -8
  145. package/dist/chunks/{variant-vxby77fw.js → location-g1sxm558.js} +8 -8
  146. package/dist/chunks/{variant-m359rxbq.js → location-g60b13bx.js} +24 -24
  147. package/dist/chunks/{variant-xzfnxand.js → location-gb1t5ear.js} +22 -22
  148. package/dist/chunks/{variant-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{variant-djsestcq.js → location-ge91jyf8.js} +33 -33
  150. package/dist/chunks/{variant-n8sna2wb.js → location-gh5z95q3.js} +9 -9
  151. package/dist/chunks/{variant-pp48bh1f.js → location-gp6frtdn.js} +185 -185
  152. package/dist/chunks/{variant-84gad1zv.js → location-gpnawc23.js} +12 -12
  153. package/dist/chunks/{variant-x8a719yx.js → location-gxp16drv.js} +13 -13
  154. package/dist/chunks/{variant-h2b79v29.js → location-h2b79v29.js} +2 -2
  155. package/dist/chunks/{variant-10cxjgch.js → location-h5je9f4x.js} +5 -5
  156. package/dist/chunks/{variant-qfb0b5c2.js → location-h6jz5xhf.js} +1 -1
  157. package/dist/chunks/{variant-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{variant-wh6zw745.js → location-h83xjv7f.js} +5 -5
  159. package/dist/chunks/{variant-eymke9sh.js → location-h9phamz0.js} +2 -2
  160. package/dist/chunks/{variant-32jztgwf.js → location-hc3dhjeq.js} +23 -23
  161. package/dist/chunks/{variant-6xwnd5n0.js → location-hfx60ehd.js} +54 -54
  162. package/dist/chunks/{variant-abp7q8sa.js → location-hpa0c1fz.js} +5 -5
  163. package/dist/chunks/{variant-4k5wkrh9.js → location-j2fqgjg4.js} +33 -33
  164. package/dist/chunks/{variant-j56e64zr.js → location-j56e64zr.js} +1 -1
  165. package/dist/chunks/{variant-9gn2e1q5.js → location-j8pqfbxb.js} +63 -63
  166. package/dist/chunks/{variant-pfj2krk7.js → location-jcbq1zyg.js} +15 -15
  167. package/dist/chunks/{variant-tdpndm1c.js → location-jgttmm4a.js} +5 -5
  168. package/dist/chunks/{variant-py3kkmfq.js → location-jktqzjpa.js} +8 -8
  169. package/dist/chunks/{variant-fhw597r0.js → location-jss687sr.js} +14 -14
  170. package/dist/chunks/{variant-17bspyb1.js → location-jtqztzh3.js} +50 -50
  171. package/dist/chunks/{variant-p226k876.js → location-jzhw4a2s.js} +6 -6
  172. package/dist/chunks/{variant-fqj9nv8j.js → location-k5m0fz1p.js} +6 -6
  173. package/dist/chunks/{variant-qr0tztqq.js → location-k6z6f32a.js} +36 -36
  174. package/dist/chunks/{variant-3v5tjer0.js → location-kgh2b2bb.js} +7 -7
  175. package/dist/chunks/{variant-396xe5we.js → location-kgxa73cw.js} +3 -3
  176. package/dist/chunks/{variant-7cx9cvsh.js → location-kj77vvpy.js} +1 -1
  177. package/dist/chunks/{variant-atg4dcqk.js → location-kqz56n1q.js} +4 -4
  178. package/dist/chunks/{variant-19wa5dg2.js → location-krj0eg2e.js} +6 -6
  179. package/dist/chunks/{variant-g1r7w4ks.js → location-krndrss9.js} +4 -4
  180. package/dist/chunks/{variant-dmsv4044.js → location-kxccgd9w.js} +22 -22
  181. package/dist/chunks/{variant-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{variant-94svnpff.js → location-m8jsr5mr.js} +5 -5
  183. package/dist/chunks/{variant-qdp2stk8.js → location-m9gf3t53.js} +15 -15
  184. package/dist/chunks/{variant-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{variant-kyd65svd.js → location-m9xh08tq.js} +27 -27
  186. package/dist/chunks/{variant-mazbtkaa.js → location-mazbtkaa.js} +2 -2
  187. package/dist/chunks/{variant-2y89dd9a.js → location-mb00kzbv.js} +15 -15
  188. package/dist/chunks/{variant-zfyd4z1t.js → location-mmawpaae.js} +11 -11
  189. package/dist/chunks/{variant-ypqp8gqh.js → location-mmd0gw8c.js} +28 -28
  190. package/dist/chunks/{variant-addxnjmp.js → location-mpk0rfs5.js} +4 -4
  191. package/dist/chunks/{variant-7wdw4sn7.js → location-mqjsfeb3.js} +16 -16
  192. package/dist/chunks/{variant-2g5mhw7z.js → location-mv09mkpd.js} +26 -26
  193. package/dist/chunks/{variant-trf9v1m0.js → location-netcfpy4.js} +10 -10
  194. package/dist/chunks/{variant-x9m4a9xf.js → location-nhb2zym4.js} +41 -41
  195. package/dist/chunks/{variant-hdtje8j6.js → location-nmpkdpqb.js} +9 -9
  196. package/dist/chunks/{variant-01n0fn3n.js → location-nn7fcnbv.js} +5 -5
  197. package/dist/chunks/{variant-6d98qxkn.js → location-np8489tv.js} +19 -19
  198. package/dist/chunks/{variant-pzw80991.js → location-npqbz8a8.js} +5 -5
  199. package/dist/chunks/{variant-ag3xtcd7.js → location-nqpfe4yw.js} +35 -35
  200. package/dist/chunks/{variant-baqpbr50.js → location-nsvjz0cs.js} +9 -9
  201. package/dist/chunks/{variant-fyqce8v0.js → location-nwephgj9.js} +13 -13
  202. package/dist/chunks/{variant-k3c624dm.js → location-nzks3jc8.js} +3 -3
  203. package/dist/chunks/location-p23xwksy.js +26 -0
  204. package/dist/chunks/{variant-18126dgn.js → location-p7stdnfg.js} +27 -27
  205. package/dist/chunks/{variant-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{variant-e30mydyk.js → location-pjx5ckar.js} +12 -12
  207. package/dist/chunks/{variant-pknna89w.js → location-pknna89w.js} +1 -1
  208. package/dist/chunks/{variant-predqs4e.js → location-pvpsxjwk.js} +23 -23
  209. package/dist/chunks/{variant-t62k6cwy.js → location-pwqr2q9q.js} +18 -18
  210. package/dist/chunks/{variant-x7kbtnka.js → location-px1tv9jh.js} +12 -12
  211. package/dist/chunks/{variant-2fhv8f0b.js → location-q0bh82a3.js} +44 -44
  212. package/dist/chunks/{variant-brp8zeym.js → location-q5xvhvda.js} +6 -6
  213. package/dist/chunks/{variant-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{variant-qsdy395h.js → location-qsdy395h.js} +1 -1
  215. package/dist/chunks/{variant-atm978tp.js → location-qtdzdy31.js} +15 -15
  216. package/dist/chunks/{variant-10zwexjt.js → location-qxjhtxm0.js} +18 -18
  217. package/dist/chunks/{variant-k844m94c.js → location-r083r3aj.js} +71 -71
  218. package/dist/chunks/location-r0x0b8pt.js +252 -0
  219. package/dist/chunks/{variant-qqtgdjgj.js → location-r21rr99m.js} +3 -3
  220. package/dist/chunks/{variant-vj7qk97t.js → location-r7bddz8h.js} +13 -13
  221. package/dist/chunks/{variant-54ma36ye.js → location-r94pvvab.js} +4 -4
  222. package/dist/chunks/{variant-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{variant-1qfm3kg7.js → location-re14xf2b.js} +88 -88
  224. package/dist/chunks/{variant-v86rjf98.js → location-rfrg8xj3.js} +16 -16
  225. package/dist/chunks/{variant-pgbadr74.js → location-rpfnbr88.js} +9 -9
  226. package/dist/chunks/{variant-b9dr4ekr.js → location-rsc5nvjd.js} +22 -22
  227. package/dist/chunks/{variant-9jgd0g1z.js → location-ryq0szgz.js} +8 -8
  228. package/dist/chunks/{variant-eaj1djv9.js → location-s8d7rejh.js} +6 -6
  229. package/dist/chunks/{variant-0sep86pb.js → location-sm3wmrvw.js} +58 -58
  230. package/dist/chunks/{variant-9a5pyt9z.js → location-svhm0fyq.js} +4 -4
  231. package/dist/chunks/{variant-sf4zj9sn.js → location-sxchd0y6.js} +10 -10
  232. package/dist/chunks/{variant-367xe4pb.js → location-t09n1j92.js} +21 -21
  233. package/dist/chunks/{variant-vd86y6dk.js → location-t56z8npx.js} +17 -17
  234. package/dist/chunks/{variant-nz6s4zm9.js → location-t7h9p78s.js} +17 -17
  235. package/dist/chunks/{variant-awte1d78.js → location-t90zj35m.js} +36 -36
  236. package/dist/chunks/{variant-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{variant-2myva995.js → location-tcay1cqt.js} +6 -6
  238. package/dist/chunks/{variant-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{variant-tdstcens.js → location-tdstcens.js} +1 -1
  240. package/dist/chunks/{variant-y1jyntcw.js → location-te5fms12.js} +42 -42
  241. package/dist/chunks/{variant-qd6m6a6s.js → location-thwpkt87.js} +20 -20
  242. package/dist/chunks/{variant-pmtnnnej.js → location-tmf6w2rh.js} +11 -11
  243. package/dist/chunks/{variant-49d935aw.js → location-tnd5nfdf.js} +6 -6
  244. package/dist/chunks/{variant-qkcvdzb0.js → location-tq5pwzt5.js} +15 -15
  245. package/dist/chunks/{variant-886x1de6.js → location-tqgzeth9.js} +29 -29
  246. package/dist/chunks/{variant-tvtrv512.js → location-tvtrv512.js} +1 -1
  247. package/dist/chunks/{variant-c5xf5z0j.js → location-tz3yymxp.js} +8 -8
  248. package/dist/chunks/{variant-3160htdx.js → location-v0c4n2cp.js} +5 -5
  249. package/dist/chunks/{variant-67h7xkhv.js → location-v79tvran.js} +23 -23
  250. package/dist/chunks/{variant-y0z8gwh2.js → location-vbzg75yf.js} +10 -10
  251. package/dist/chunks/{variant-d5fw341f.js → location-vemxbn5z.js} +18 -18
  252. package/dist/chunks/{variant-veqvce7d.js → location-veqvce7d.js} +1 -1
  253. package/dist/chunks/{variant-4erxxbbf.js → location-vg61vdbq.js} +35 -35
  254. package/dist/chunks/{variant-yt6cqe55.js → location-vj3r3k01.js} +11 -11
  255. package/dist/chunks/{variant-zc3c5803.js → location-vpkc3sbb.js} +35 -35
  256. package/dist/chunks/{variant-aj7xgpkt.js → location-vryj651x.js} +9 -9
  257. package/dist/chunks/{variant-dss9tgbb.js → location-vx27faas.js} +24 -24
  258. package/dist/chunks/{variant-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{variant-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  260. package/dist/chunks/{variant-xfkkasph.js → location-w19d8598.js} +5 -5
  261. package/dist/chunks/{variant-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{variant-wd87259q.js → location-wd87259q.js} +1 -1
  263. package/dist/chunks/{variant-6abt9vd9.js → location-wkpd98kw.js} +13 -13
  264. package/dist/chunks/{variant-zxgz6j12.js → location-wnf0vmz9.js} +7 -7
  265. package/dist/chunks/{variant-75dbh3sm.js → location-wnn0w2aw.js} +26 -26
  266. package/dist/chunks/{variant-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{variant-6hh8tjw2.js → location-xb02k0wq.js} +4 -4
  268. package/dist/chunks/{variant-g190xswt.js → location-xdk9p2qn.js} +21 -21
  269. package/dist/chunks/{variant-dmqcgk4z.js → location-xkntkrq7.js} +5 -5
  270. package/dist/chunks/{variant-28m0ec4d.js → location-xnvw6qay.js} +41 -41
  271. package/dist/chunks/{variant-ydr4sfaa.js → location-xq8mjgp9.js} +11 -11
  272. package/dist/chunks/{variant-qy1zqqd8.js → location-xqbw3ymd.js} +3 -3
  273. package/dist/chunks/{variant-97ch1fd3.js → location-xqsnpyss.js} +24 -24
  274. package/dist/chunks/{variant-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{variant-tjx3ap9d.js → location-y4709w2r.js} +40 -40
  276. package/dist/chunks/{variant-fw852r6x.js → location-y5nkv4ac.js} +10 -10
  277. package/dist/chunks/{variant-nxm207yx.js → location-y71avatq.js} +4 -4
  278. package/dist/chunks/{variant-hfa8a3rd.js → location-y71hsdwf.js} +22 -22
  279. package/dist/chunks/{variant-5gd79jxb.js → location-y878aysx.js} +8 -8
  280. package/dist/chunks/{variant-qxz90s08.js → location-y8mggemk.js} +21 -21
  281. package/dist/chunks/{variant-1d10jwk2.js → location-yc68shpb.js} +13 -13
  282. package/dist/chunks/{variant-bq6v1dby.js → location-yenj50gr.js} +93 -93
  283. package/dist/chunks/{variant-reg6q42h.js → location-yq14pbr7.js} +5 -5
  284. package/dist/chunks/{variant-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  285. package/dist/chunks/{variant-x1fg9w2t.js → location-ytkyka6t.js} +23 -23
  286. package/dist/chunks/{variant-mads3xza.js → location-yyg6k5dk.js} +12 -12
  287. package/dist/chunks/{variant-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/{variant-yqwyk71w.js → location-z7zmhm1c.js} +11 -11
  289. package/dist/chunks/{variant-jkvxnthz.js → location-zfs4r4te.js} +3 -3
  290. package/dist/chunks/{variant-pgsrtt9v.js → location-zfs8ae4p.js} +4 -4
  291. package/dist/chunks/{variant-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{variant-1brx5qyk.js → location-zs1a0fk2.js} +37 -37
  293. package/dist/chunks/{variant-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +11 -11
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +81 -81
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +96 -96
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +117 -117
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +78 -78
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +120 -120
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +96 -96
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +224 -224
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +89 -89
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +3 -3
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +7 -7
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +230 -230
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +113 -113
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +221 -221
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +221 -221
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +214 -214
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +218 -218
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +4 -4
  673. package/dist/v1/config/formatter.js +7 -7
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +1 -1
  684. package/dist/variant.js +93 -93
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/variant-611kkatt.js +0 -252
  700. package/dist/chunks/variant-hgd4btym.js +0 -18
  701. package/dist/chunks/variant-w191f00y.js +0 -26
  702. /package/dist/chunks/{variant-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{variant-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{variant-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{variant-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{variant-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{variant-24dcb14g.js → location-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{variant-2710q6r3.js → location-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{variant-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{variant-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{variant-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{variant-359p4xyc.js → location-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{variant-3asan66x.js → location-3asan66x.js} +0 -0
  714. /package/dist/chunks/{variant-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{variant-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{variant-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{variant-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{variant-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{variant-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{variant-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{variant-53557ph1.js → location-53557ph1.js} +0 -0
  722. /package/dist/chunks/{variant-550bvhaj.js → location-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{variant-6prwharc.js → location-6prwharc.js} +0 -0
  724. /package/dist/chunks/{variant-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{variant-7m9af43g.js → location-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{variant-822emrt2.js → location-822emrt2.js} +0 -0
  727. /package/dist/chunks/{variant-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{variant-8n3pysct.js → location-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{variant-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{variant-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{variant-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{variant-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{variant-af5trqkr.js → location-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{variant-afrmfg78.js → location-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{variant-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{variant-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{variant-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{variant-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{variant-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{variant-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{variant-d9fn303g.js → location-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{variant-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{variant-dajrwvna.js → location-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{variant-dap0rakb.js → location-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{variant-df08tz66.js → location-df08tz66.js} +0 -0
  746. /package/dist/chunks/{variant-dy18nga0.js → location-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{variant-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{variant-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{variant-ec1grn59.js → location-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{variant-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{variant-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{variant-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{variant-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{variant-faypxj3z.js → location-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{variant-fd410y7t.js → location-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{variant-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{variant-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{variant-g86h250q.js → location-g86h250q.js} +0 -0
  759. /package/dist/chunks/{variant-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{variant-gftt206x.js → location-gftt206x.js} +0 -0
  761. /package/dist/chunks/{variant-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{variant-hk9envan.js → location-hk9envan.js} +0 -0
  763. /package/dist/chunks/{variant-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{variant-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{variant-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{variant-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{variant-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{variant-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{variant-mp448xyj.js → location-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{variant-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{variant-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{variant-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{variant-njntx4h6.js → location-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{variant-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{variant-q74kybfr.js → location-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{variant-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{variant-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{variant-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{variant-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{variant-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{variant-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{variant-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{variant-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{variant-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{variant-w803qqfp.js → location-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{variant-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{variant-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{variant-wtztk69x.js → location-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{variant-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{variant-x61499pn.js → location-x61499pn.js} +0 -0
  791. /package/dist/chunks/{variant-y44na4kk.js → location-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{variant-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{variant-y8f7s663.js → location-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{variant-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{variant-ym463w8f.js → location-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{variant-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  797. /package/dist/chunks/{variant-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node61
5
- } from "./variant-xeav5w26.js";
4
+ node62
5
+ } from "./location-adxtbyr6.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./variant-p6wxjpka.js";
9
+ } from "./location-1b4m0bzf.js";
10
10
  import {
11
- Service75,
12
- node78
13
- } from "./variant-vxby77fw.js";
11
+ Service67,
12
+ node71
13
+ } from "./location-g1sxm558.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./variant-9gn2e1q5.js";
16
+ } from "./location-j8pqfbxb.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./variant-fhw597r0.js";
19
+ } from "./location-jss687sr.js";
20
20
  import {
21
21
  Error3
22
- } from "./variant-xzfnxand.js";
22
+ } from "./location-gb1t5ear.js";
23
23
  import {
24
- get5
25
- } from "./variant-54ma36ye.js";
24
+ get4
25
+ } from "./location-r94pvvab.js";
26
26
  import {
27
- Service21,
28
- node23
29
- } from "./variant-yqwyk71w.js";
27
+ Service36,
28
+ node40
29
+ } from "./location-z7zmhm1c.js";
30
30
  import {
31
31
  make15
32
- } from "./variant-xfkkasph.js";
32
+ } from "./location-w19d8598.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./variant-hekxc47r.js";
35
+ } from "./location-325sge2s.js";
36
36
  import {
37
37
  __export
38
- } from "./variant-9rqn6x4v.js";
38
+ } from "./location-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service20,
43
+ Service: () => Service35,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer9,
48
- node: () => node22,
47
+ layer: () => layer15,
48
+ node: () => node39,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -172,11 +172,11 @@ var boundImages2 = (messages) => {
172
172
  }));
173
173
  };
174
174
 
175
- class Service20 extends Context.Service()("@opencode/SessionModelRequest") {
175
+ class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
176
176
  }
177
- var layer9 = Layer.effect(Service20, Effect.gen(function* () {
178
- const hooks = yield* Service75;
179
- const transport = yield* Service21;
177
+ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
178
+ const hooks = yield* Service67;
179
+ const transport = yield* Service36;
180
180
  const app = yield* Metadata2;
181
181
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
182
182
  const session = input.session;
@@ -202,7 +202,7 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
202
202
  const entries = Object.entries(shaped.options);
203
203
  const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
204
204
  const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
205
- const affinity = get5(session);
205
+ const affinity = get4(session);
206
206
  const base = LLM.request({
207
207
  model: model.model,
208
208
  http: {
@@ -281,17 +281,17 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
281
281
  };
282
282
  });
283
283
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
284
- return Service20.of({
284
+ return Service35.of({
285
285
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
286
286
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
287
287
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
288
288
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
289
289
  });
290
290
  }));
291
- var node22 = makeLocationNode({
292
- service: Service20,
293
- layer: layer9,
294
- deps: [node78, node23, node61]
291
+ var node39 = makeLocationNode({
292
+ service: Service35,
293
+ layer: layer15,
294
+ deps: [node71, node40, node62]
295
295
  });
296
296
 
297
- export { baseTranscript2, unsupportedParts2, boundImages2, Service20, layer9, node22, exports_model_request };
297
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service35, layer15, node39, exports_model_request };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID7
3
- } from "./variant-rpnewtr1.js";
2
+ ID12
3
+ } from "./location-90zqzmt2.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./variant-hjbc5kem.js";
6
+ } from "./location-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -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 !== ID7.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID12.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 !== ID7.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./variant-xeav5w26.js";
3
+ } from "./location-adxtbyr6.js";
4
4
  import {
5
- Service83
6
- } from "./variant-x7kbtnka.js";
5
+ Service81
6
+ } from "./location-px1tv9jh.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./variant-djsestcq.js";
9
+ Event19
10
+ } from "./location-ge91jyf8.js";
11
11
  import {
12
12
  key2
13
- } from "./variant-addxnjmp.js";
13
+ } from "./location-mpk0rfs5.js";
14
14
  import {
15
- ID8,
15
+ ID13,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./variant-8vtqv0ab.js";
18
+ } from "./location-f3zzdq7f.js";
19
19
  import {
20
- Service56
21
- } from "./variant-517vs525.js";
20
+ Service21
21
+ } from "./location-1dangqhw.js";
22
22
  import {
23
- ID7,
23
+ ID12,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./variant-rpnewtr1.js";
26
+ } from "./location-90zqzmt2.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./variant-aacyrw2e.js";
29
+ } from "./location-56pbwxwa.js";
30
30
  import {
31
- ID5,
32
- Input14,
31
+ ID4,
32
+ Input13,
33
33
  Response2
34
- } from "./variant-kyd65svd.js";
34
+ } from "./location-m9xh08tq.js";
35
35
 
36
36
  // src/plugin/provider/opencode.ts
37
37
  import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
47
47
  var RemoteResponse = Schema.Struct({
48
48
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
49
49
  websearch: Schema.Struct({
50
- providerID: ID5
50
+ providerID: ID4
51
51
  }).pipe(Schema.optional),
52
52
  mcp: Schema.Struct({
53
53
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
99
99
  }
100
100
  function oauth(http) {
101
101
  return {
102
- integrationID: ID8.make("opencode"),
102
+ integrationID: ID13.make("opencode"),
103
103
  method: {
104
104
  id: methodID,
105
105
  type: "oauth",
@@ -163,10 +163,10 @@ function oauth(http) {
163
163
  var OpencodePlugin2 = define({
164
164
  id: "opencode.provider.opencode",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const bus = yield* Service83;
166
+ const bus = yield* Service81;
167
167
  const client = yield* HttpClient.HttpClient;
168
168
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
169
- const managed = yield* Service56;
169
+ const managed = yield* Service21;
170
170
  const scope = yield* Scope.Scope;
171
171
  const loading = Semaphore.makeUnsafe(1);
172
172
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
215
215
  providers.update(providerID, (provider) => {
216
216
  if (source && source.provider !== provider)
217
217
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
218
- provider.integrationID = ID8.make("opencode");
218
+ provider.integrationID = ID13.make("opencode");
219
219
  if (item.canonical !== undefined)
220
220
  provider.canonical = item.canonical;
221
221
  if (item.name !== undefined)
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
281
281
  sourceConnection: snapshot.connection
282
282
  });
283
283
  }
284
- const item = providers.get(ID7.opencode);
284
+ const item = providers.get(ID12.opencode);
285
285
  if (!item)
286
286
  return;
287
287
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
293
293
  });
294
294
  });
295
295
  yield* ctx.model.transform((models) => {
296
- const item = models.provider.get(ID7.opencode);
296
+ const item = models.provider.get(ID12.opencode);
297
297
  if (!item)
298
298
  return;
299
299
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
327
327
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
328
328
  const token = credential.type === "oauth" ? credential.access : credential.key;
329
329
  const server = yield* normalizeServer(serverUrl(credential));
330
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
330
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
331
331
  query: input.query,
332
332
  providerID: descriptor.providerID
333
333
  }));
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
382
382
  });
383
383
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
384
384
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
385
- explainers = yield* Effect.forEach(next.connection ? new Set([ID7.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
385
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
386
386
  });
387
387
  yield* guard(snapshot);
388
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
388
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
389
389
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
390
390
  })
391
391
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service83
3
- } from "./variant-x7kbtnka.js";
2
+ Service81
3
+ } from "./location-px1tv9jh.js";
4
4
  import {
5
- Service58,
6
- Event12
7
- } from "./variant-tjx3ap9d.js";
5
+ Service26,
6
+ Event7
7
+ } from "./location-y4709w2r.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service58;
33
- const bus = yield* Service83;
32
+ const modelsDev = yield* Service26;
33
+ const bus = yield* Service81;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
36
36
  for (const provider of loaded.data) {
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
63
63
  loaded.data = snapshots(data);
64
64
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
65
65
  };
66
- yield* bus.subscribe(Event12.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
66
+ yield* bus.subscribe(Event7.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
67
67
  const latest = yield* modelsDev.get();
68
68
  if (snapshots(latest) !== loaded.data)
69
69
  yield* apply(latest);
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID7
3
- } from "./variant-rpnewtr1.js";
2
+ ID12
3
+ } from "./location-90zqzmt2.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./variant-49d935aw.js";
6
+ } from "./location-tnd5nfdf.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID7.make("cloudflare-ai-gateway");
13
+ var providerID = ID12.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./variant-x7kbtnka.js";
2
+ Service81,
3
+ node85
4
+ } from "./location-px1tv9jh.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./variant-rdw6cm16.js";
8
+ } from "./location-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./variant-addxnjmp.js";
11
+ } from "./location-mpk0rfs5.js";
12
12
  import {
13
- ID8,
14
- Service63,
15
- node66,
16
- Event16
17
- } from "./variant-8vtqv0ab.js";
13
+ ID13,
14
+ Service75,
15
+ node79,
16
+ Event18
17
+ } from "./location-f3zzdq7f.js";
18
18
  import {
19
- Service80,
20
- node84
21
- } from "./variant-7ph72h93.js";
19
+ Service78,
20
+ node82
21
+ } from "./location-emg0brma.js";
22
22
  import {
23
23
  __export
24
- } from "./variant-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event15,
42
- ID: () => ID7,
43
- Info: () => Info22,
41
+ Event: () => Event17,
42
+ ID: () => ID12,
43
+ Info: () => Info26,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
- Request: () => Request2,
47
- Service: () => Service62,
46
+ Request: () => Request3,
47
+ Service: () => Service74,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node65,
57
+ node: () => node78,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event15 } from "@opencode/schema/provider";
72
- var ID7 = Provider.ID;
71
+ import { Event as Event17 } from "@opencode/schema/provider";
72
+ var ID12 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -223,13 +223,13 @@ function mergeHeaders2(base, overlay) {
223
223
  return result;
224
224
  }, new Map).values());
225
225
  }
226
- var Request2 = Provider.Request;
226
+ var Request3 = Provider.Request;
227
227
  var Compaction3 = Provider.Compaction;
228
228
  var Transport2 = Provider.Transport;
229
229
  var Settings2 = Provider.Settings;
230
- var Info22 = Provider.Info;
230
+ var Info26 = Provider.Info;
231
231
 
232
- class Service62 extends Context.Service()("@opencode/Provider") {
232
+ class Service74 extends Context.Service()("@opencode/Provider") {
233
233
  }
234
234
  var definitions = new WeakMap;
235
235
  function index(providerID, models) {
@@ -242,10 +242,10 @@ function index(providerID, models) {
242
242
  definitions.set(models, indexes);
243
243
  return result;
244
244
  }
245
- var layer = Layer.effect(Service62, Effect.gen(function* () {
246
- const bus = yield* Service83;
247
- const integrations = yield* Service63;
248
- const location = yield* Service80;
245
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
246
+ const bus = yield* Service81;
247
+ const integrations = yield* Service75;
248
+ const location = yield* Service78;
249
249
  const state = create3({
250
250
  name: "provider",
251
251
  initial: () => new Map,
@@ -256,7 +256,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
256
256
  const current = records.get(id);
257
257
  if (current)
258
258
  return current;
259
- const added = { provider: Info22.empty(id), models: new Map };
259
+ const added = { provider: Info26.empty(id), models: new Map };
260
260
  records.set(id, added);
261
261
  maps.add(added.models);
262
262
  return added;
@@ -337,7 +337,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
337
337
  const available = Array.from(records.values()).filter((record) => {
338
338
  if (record.provider.activation === "disabled")
339
339
  return false;
340
- const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
340
+ const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
341
341
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
342
342
  return false;
343
343
  if (record.provider.activation === "enabled")
@@ -363,8 +363,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
363
363
  location: { directory: location.directory, workspaceID: location.workspaceID }
364
364
  });
365
365
  });
366
- yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
367
- return Service62.of({
366
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
367
+ return Service74.of({
368
368
  transform: state.transform,
369
369
  reload: state.reload,
370
370
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -373,7 +373,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
373
373
  snapshot
374
374
  });
375
375
  }));
376
- var node65 = makeLocationNode({ service: Service62, layer, deps: [node87, node66, node84] });
376
+ var node78 = makeLocationNode({ service: Service74, layer, deps: [node85, node79, node82] });
377
377
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
378
378
  const module = yield* Effect.tryPromise({
379
379
  try: () => {
@@ -643,4 +643,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
643
643
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
644
644
  var decode = Schema2.decodeUnknownSync(Legacy);
645
645
 
646
- export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info22, Service62, node65, exports_provider3, Event15 };
646
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service74, node78, exports_provider3, Event17 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service53,
3
- node55
4
- } from "./variant-zw6qz0tx.js";
2
+ Service71,
3
+ node75
4
+ } from "./location-6z9mwsmt.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./variant-7ph72h93.js";
6
+ Service78,
7
+ node82
8
+ } from "./location-emg0brma.js";
9
9
  import {
10
- Service52,
11
- node54
12
- } from "./variant-z4ym9awj.js";
10
+ Service70,
11
+ node74
12
+ } from "./location-4x12h4qm.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./variant-zxq2ej10.js";
16
+ } from "./location-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./variant-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service2,
25
+ Service: () => Service6,
26
26
  empty: () => empty2,
27
- layer: () => layer4,
28
- node: () => node3
27
+ layer: () => layer5,
28
+ node: () => node7
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
- const config = yield* Service52;
40
- const watcher = yield* Service53;
38
+ var layer5 = Layer.effect(Service6, Effect.gen(function* () {
39
+ const config = yield* Service70;
40
+ const watcher = yield* Service71;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service80;
42
+ const location = yield* Service78;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service2.of({
61
+ return Service6.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node3 = makeLocationNode({
74
- service: Service2,
75
- layer: layer4,
76
- deps: [node54, FSUtil.node, node55, node84]
73
+ var node7 = makeLocationNode({
74
+ service: Service6,
75
+ layer: layer5,
76
+ deps: [node74, FSUtil.node, node75, node82]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service2,
80
- layer: Layer.succeed(Service2, Service2.of({
79
+ service: Service6,
80
+ layer: Layer.succeed(Service6, Service6.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service2, layer4, node3, empty2, exports_source };
140
+ export { Service6, layer5, node7, empty2, exports_source };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service50,
8
+ Service: () => Service42,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node52
10
+ node: () => node45
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service50 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service50, () => {
17
+ var layer = Layer.sync(Service42, () => {
18
18
  const environments = new Map;
19
- return Service50.of({
19
+ return Service42.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service50, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node52 = makeGlobalNode({ service: Service50, layer, deps: [] });
29
+ var node45 = makeGlobalNode({ service: Service42, layer, deps: [] });
30
30
 
31
- export { Service50, node52, exports_environment };
31
+ export { Service42, node45, exports_environment };