@opencode/core 0.0.0-dev-20294 → 0.0.0-dev-20295

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 +77 -77
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-k73wm98n.js → location-016zrmbp.js} +38 -38
  8. package/dist/chunks/{repository-8m7dbv6d.js → location-03b5ykzw.js} +3 -3
  9. package/dist/chunks/{repository-jvf3yq6v.js → location-06x8he3q.js} +4 -4
  10. package/dist/chunks/{repository-g2se78h0.js → location-09mh3h53.js} +15 -15
  11. package/dist/chunks/{repository-pykzy8ep.js → location-0g11kb4v.js} +16 -16
  12. package/dist/chunks/{repository-19b6gxjs.js → location-0jvg19fh.js} +20 -20
  13. package/dist/chunks/{repository-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-x8x9h4hg.js → location-13xegjf9.js} +33 -33
  15. package/dist/chunks/{repository-sv5c2zxk.js → location-15zraegk.js} +28 -28
  16. package/dist/chunks/{repository-6pmv43wt.js → location-16a16tg4.js} +7 -7
  17. package/dist/chunks/{repository-n9k80d2m.js → location-18rp1xkf.js} +8 -8
  18. package/dist/chunks/{repository-ybw404hh.js → location-1akzjdkx.js} +22 -22
  19. package/dist/chunks/{repository-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{repository-wa5jcfmw.js → location-1gmrbm9q.js} +13 -13
  21. package/dist/chunks/{repository-knh73zev.js → location-1jysqf0q.js} +28 -28
  22. package/dist/chunks/{repository-mpcnc0n1.js → location-1qetcq2f.js} +2 -2
  23. package/dist/chunks/location-1s2cnys0.js +252 -0
  24. package/dist/chunks/{repository-5r2rf0nq.js → location-1zr7j3r4.js} +5 -5
  25. package/dist/chunks/{repository-21r38tys.js → location-21r38tys.js} +1 -1
  26. package/dist/chunks/{repository-3b9kky5h.js → location-25h6wh0b.js} +33 -33
  27. package/dist/chunks/{repository-wj9mseqa.js → location-27z7pma6.js} +16 -16
  28. package/dist/chunks/{repository-83rdsyqm.js → location-299n82gd.js} +8 -8
  29. package/dist/chunks/{repository-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{repository-7dqw4kz8.js → location-2k8khapm.js} +5 -5
  31. package/dist/chunks/{repository-rvfwzs2a.js → location-2r60reda.js} +12 -12
  32. package/dist/chunks/{repository-2y34zzjz.js → location-2y34zzjz.js} +1 -1
  33. package/dist/chunks/{repository-fcdb6q1z.js → location-2zxaccxt.js} +10 -10
  34. package/dist/chunks/{repository-cmsgt7am.js → location-30pndsv9.js} +4 -4
  35. package/dist/chunks/{repository-bw624gy4.js → location-3ez35teb.js} +15 -15
  36. package/dist/chunks/{repository-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{repository-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{repository-tdhe5xga.js → location-3pbjq009.js} +8 -8
  39. package/dist/chunks/{repository-qg0jgkcp.js → location-3pe7sts8.js} +9 -9
  40. package/dist/chunks/{repository-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{repository-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{repository-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{repository-hd8vw2pw.js → location-427t97hr.js} +1 -1
  44. package/dist/chunks/{repository-x0skcyz0.js → location-46t99vnr.js} +13 -13
  45. package/dist/chunks/{repository-akrnt5pz.js → location-4928d4yw.js} +11 -11
  46. package/dist/chunks/{repository-mvj8ndq3.js → location-4c9fncqc.js} +3 -3
  47. package/dist/chunks/{repository-7y0vmfhg.js → location-4gma0qdv.js} +8 -8
  48. package/dist/chunks/{repository-bs9hg8dp.js → location-4jmq7cn8.js} +14 -14
  49. package/dist/chunks/{repository-9fnp4mg3.js → location-4r1h02t6.js} +26 -26
  50. package/dist/chunks/{repository-y1hpjhb0.js → location-4sb5xsr0.js} +16 -16
  51. package/dist/chunks/{repository-m1m46bga.js → location-4v0x0v53.js} +53 -53
  52. package/dist/chunks/{repository-p53a8atn.js → location-4vgcem2z.js} +1 -1
  53. package/dist/chunks/{repository-x3pdy2ky.js → location-51n8w2am.js} +6 -6
  54. package/dist/chunks/{repository-54ma36ye.js → location-54ma36ye.js} +1 -1
  55. package/dist/chunks/{repository-1ygqh575.js → location-56gdpj1q.js} +9 -9
  56. package/dist/chunks/{repository-28jks9yb.js → location-58exf9s3.js} +18 -18
  57. package/dist/chunks/{repository-cp0ek693.js → location-5aserzf1.js} +11 -11
  58. package/dist/chunks/{repository-0vkpmgbt.js → location-5bpccfdn.js} +8 -8
  59. package/dist/chunks/{repository-5daktx2q.js → location-5daktx2q.js} +1 -1
  60. package/dist/chunks/{repository-8ta41r54.js → location-5j3nemfx.js} +24 -24
  61. package/dist/chunks/{repository-ynmv8dbs.js → location-5kbmmh0w.js} +9 -9
  62. package/dist/chunks/{repository-52kykq2z.js → location-5ns8y5nv.js} +8 -8
  63. package/dist/chunks/{repository-mmcph4q4.js → location-5pc7ckbf.js} +41 -41
  64. package/dist/chunks/{repository-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{repository-mzywpf3p.js → location-5xpznt2d.js} +4 -4
  66. package/dist/chunks/{repository-qzy69xxq.js → location-613reg7y.js} +7 -7
  67. package/dist/chunks/{repository-669tq793.js → location-669tq793.js} +1 -1
  68. package/dist/chunks/{repository-j93j9byk.js → location-6bass0b7.js} +16 -16
  69. package/dist/chunks/{repository-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{repository-f6jjas3f.js → location-6nex2bx1.js} +26 -26
  71. package/dist/chunks/{repository-thtzhryg.js → location-6yvxz189.js} +6 -6
  72. package/dist/chunks/{repository-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{repository-w92k2e0p.js → location-7fkffz83.js} +6 -6
  74. package/dist/chunks/{repository-0hpqhmg5.js → location-7ybfkyhv.js} +19 -19
  75. package/dist/chunks/{repository-bdx7mas8.js → location-7ysj2gw8.js} +27 -27
  76. package/dist/chunks/{repository-57ez7d0k.js → location-81swgkk7.js} +7 -7
  77. package/dist/chunks/{repository-w1eejvng.js → location-84txncab.js} +5 -5
  78. package/dist/chunks/{repository-w9bdab02.js → location-87eb0wvk.js} +30 -30
  79. package/dist/chunks/{repository-hpfvhvya.js → location-8aaqm6qj.js} +8 -8
  80. package/dist/chunks/{repository-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{repository-cn62kwfv.js → location-8j5e0nxw.js} +35 -35
  82. package/dist/chunks/{repository-4m95e5xq.js → location-8pv27hsx.js} +17 -17
  83. package/dist/chunks/{repository-6kzh7v0b.js → location-8t9r9m98.js} +24 -24
  84. package/dist/chunks/{repository-eg2xygd3.js → location-8x023p49.js} +6 -6
  85. package/dist/chunks/{repository-g2042726.js → location-8zqs9j7p.js} +11 -11
  86. package/dist/chunks/{repository-p8hnm1nw.js → location-92r5fjaa.js} +25 -25
  87. package/dist/chunks/{repository-gfvb90ym.js → location-94ek1h2f.js} +2 -2
  88. package/dist/chunks/{repository-50jssn3y.js → location-96xc4j73.js} +9 -9
  89. package/dist/chunks/{repository-d0kzhv0j.js → location-9h6052ys.js} +34 -34
  90. package/dist/chunks/{repository-brmf2hf9.js → location-9jbrny13.js} +21 -21
  91. package/dist/chunks/{repository-r3pe7rtq.js → location-9sm9gfq3.js} +20 -20
  92. package/dist/chunks/{repository-s1bapamg.js → location-a1b9eenk.js} +4 -4
  93. package/dist/chunks/{repository-1vcb7p82.js → location-a6zkzxs1.js} +15 -15
  94. package/dist/chunks/{repository-aaet6srn.js → location-aaet6srn.js} +2 -2
  95. package/dist/chunks/location-aba4y9w7.js +26 -0
  96. package/dist/chunks/{repository-xbepgsdw.js → location-ajpn13bz.js} +22 -22
  97. package/dist/chunks/{repository-jjvmyn1y.js → location-ambwqhm0.js} +66 -66
  98. package/dist/chunks/{repository-vgb6a2zp.js → location-aqxvbtvc.js} +8 -8
  99. package/dist/chunks/{repository-fhb7j999.js → location-at8brtyc.js} +18 -18
  100. package/dist/chunks/{repository-4n607a2z.js → location-axs6pdy0.js} +5 -5
  101. package/dist/chunks/{repository-x0600czv.js → location-b09hzw3k.js} +2 -2
  102. package/dist/chunks/{repository-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{repository-a9k4z3j9.js → location-b7t5wn2m.js} +20 -20
  104. package/dist/chunks/{repository-qbwywm89.js → location-bj3zhn3q.js} +2 -2
  105. package/dist/chunks/{repository-yqy8qetg.js → location-bnty75vp.js} +3 -3
  106. package/dist/chunks/{repository-gbwn371a.js → location-bpc3jfqy.js} +11 -11
  107. package/dist/chunks/{repository-2wt8p97z.js → location-bwqnkjsb.js} +17 -17
  108. package/dist/chunks/{repository-yfychzeb.js → location-bx8vey6p.js} +21 -21
  109. package/dist/chunks/{repository-t0fxg8b9.js → location-c78bbtc9.js} +5 -5
  110. package/dist/chunks/{repository-fgkd623f.js → location-ckbtgcas.js} +12 -12
  111. package/dist/chunks/{repository-54tcyq79.js → location-ckecvw8r.js} +2 -2
  112. package/dist/chunks/{repository-cpy6gm2a.js → location-cpy6gm2a.js} +1 -1
  113. package/dist/chunks/{repository-w9e6cfzq.js → location-cqhb2t13.js} +21 -21
  114. package/dist/chunks/{repository-q9s2wchy.js → location-csp167nn.js} +3 -3
  115. package/dist/chunks/{repository-z0xq2v1s.js → location-cw1jgv1w.js} +8 -8
  116. package/dist/chunks/{repository-cwa6csj7.js → location-cwa6csj7.js} +2 -2
  117. package/dist/chunks/{repository-5xtgfte3.js → location-czfptnv9.js} +8 -8
  118. package/dist/chunks/{repository-75s06ger.js → location-d3z5vgb9.js} +89 -89
  119. package/dist/chunks/{repository-gr7cmsbq.js → location-d725fnbd.js} +18 -18
  120. package/dist/chunks/{repository-sf5yjpcs.js → location-dnh5am79.js} +9 -9
  121. package/dist/chunks/{repository-3xyp34gk.js → location-dvfstcq5.js} +8 -8
  122. package/dist/chunks/{repository-2cmv458r.js → location-e89xj288.js} +5 -5
  123. package/dist/chunks/{repository-ejeqwj0w.js → location-eae26f42.js} +13 -13
  124. package/dist/chunks/{repository-pjt329ss.js → location-eag70mrj.js} +3 -3
  125. package/dist/chunks/{repository-ecfe7b91.js → location-ecfe7b91.js} +2 -2
  126. package/dist/chunks/{repository-qp3v07n2.js → location-ednp5hmx.js} +8 -8
  127. package/dist/chunks/{repository-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{repository-2w1sghnn.js → location-ek5t7eqg.js} +6 -6
  129. package/dist/chunks/{repository-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{repository-c474ncq9.js → location-f0v8xfz9.js} +19 -19
  131. package/dist/chunks/{repository-yp2x3t23.js → location-f2n192rq.js} +4 -4
  132. package/dist/chunks/{repository-mjymc32g.js → location-f3ngv102.js} +4 -4
  133. package/dist/chunks/{repository-x4x4w9ve.js → location-f3rj20sn.js} +13 -13
  134. package/dist/chunks/{repository-rvs18j5z.js → location-f5qn67hn.js} +319 -319
  135. package/dist/chunks/{repository-vc31r3zd.js → location-f6qf1r64.js} +9 -9
  136. package/dist/chunks/{repository-8w5neka9.js → location-f99pqswk.js} +34 -34
  137. package/dist/chunks/{repository-3z9zcdgn.js → location-f9qcgrnz.js} +24 -24
  138. package/dist/chunks/{repository-e85g35n7.js → location-fg6vqa6w.js} +33 -33
  139. package/dist/chunks/{repository-xvp1j2dc.js → location-g5agzp2h.js} +5 -5
  140. package/dist/chunks/{repository-ratrq7cm.js → location-g8d3gcyj.js} +5 -5
  141. package/dist/chunks/{repository-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{repository-fjmsqycw.js → location-gq9kk5at.js} +6 -6
  143. package/dist/chunks/{repository-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  144. package/dist/chunks/{repository-kcfw5k6d.js → location-gydr4vsc.js} +9 -9
  145. package/dist/chunks/{repository-ebmxv542.js → location-gz5dk3bq.js} +5 -5
  146. package/dist/chunks/{repository-mkmyr10v.js → location-h23ctypg.js} +14 -14
  147. package/dist/chunks/{repository-scyxybgw.js → location-h345add1.js} +8 -8
  148. package/dist/chunks/{repository-pd23kvzh.js → location-h3qzgcp1.js} +13 -13
  149. package/dist/chunks/{repository-qscpncy3.js → location-h3s7v34z.js} +6 -6
  150. package/dist/chunks/{repository-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{repository-yees5yn6.js → location-hhc9atkh.js} +15 -15
  152. package/dist/chunks/{repository-87ezq1ce.js → location-hmr7k35w.js} +25 -25
  153. package/dist/chunks/{repository-ntzq23qa.js → location-hn61d6g7.js} +6 -6
  154. package/dist/chunks/{repository-19zwwnfa.js → location-hn75rfyg.js} +11 -11
  155. package/dist/chunks/{repository-r5vjqpht.js → location-hngjveb4.js} +10 -10
  156. package/dist/chunks/{repository-4wwqnvbr.js → location-hnr8f6ws.js} +4 -4
  157. package/dist/chunks/{repository-dew5gbm6.js → location-hq78f3qw.js} +33 -33
  158. package/dist/chunks/{repository-fkx959jc.js → location-hre7hyen.js} +17 -17
  159. package/dist/chunks/{repository-73tb2d7t.js → location-j028xdjb.js} +3 -3
  160. package/dist/chunks/{repository-j56e64zr.js → location-j56e64zr.js} +1 -1
  161. package/dist/chunks/{repository-cq8d0ptr.js → location-j5fma2v7.js} +34 -34
  162. package/dist/chunks/{repository-7j0c068z.js → location-j6h5z8n4.js} +12 -12
  163. package/dist/chunks/{repository-vncycja5.js → location-j83byb14.js} +4 -4
  164. package/dist/chunks/{repository-g8atgw3j.js → location-j8zvn2fh.js} +8 -8
  165. package/dist/chunks/{repository-4d9efcsa.js → location-jdhe76k5.js} +1 -1
  166. package/dist/chunks/{repository-277eer69.js → location-jewzahs7.js} +4 -4
  167. package/dist/chunks/{repository-zexqyf06.js → location-jf5a25sz.js} +43 -43
  168. package/dist/chunks/{repository-s182s2zc.js → location-jggnvhtg.js} +51 -51
  169. package/dist/chunks/{repository-856ceffp.js → location-jmasdga9.js} +42 -42
  170. package/dist/chunks/{repository-86d5j3vh.js → location-jtfh4wfs.js} +26 -26
  171. package/dist/chunks/{repository-vxssw4qv.js → location-k0h4mfgc.js} +46 -46
  172. package/dist/chunks/{repository-ghv7h55a.js → location-kk3cv3zh.js} +1 -1
  173. package/dist/chunks/{repository-pztqrn0p.js → location-kn0epzjf.js} +11 -11
  174. package/dist/chunks/{repository-z4djtsmk.js → location-knetett0.js} +48 -48
  175. package/dist/chunks/{repository-k79tzb9n.js → location-kp8q1t60.js} +9 -9
  176. package/dist/chunks/{repository-wdea4gcq.js → location-kx6ewwgc.js} +1 -1
  177. package/dist/chunks/{repository-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{repository-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{repository-fmnw2r23.js → location-mam35mvc.js} +9 -9
  180. package/dist/chunks/{repository-18vsvbhm.js → location-math506r.js} +24 -24
  181. package/dist/chunks/{repository-gz56tzj2.js → location-mc8ws243.js} +18 -18
  182. package/dist/chunks/{repository-1w1f4pd6.js → location-mn2xmmev.js} +14 -14
  183. package/dist/chunks/{repository-2ydsszd5.js → location-mntfxcz2.js} +4 -4
  184. package/dist/chunks/{repository-mpk0rfs5.js → location-mpk0rfs5.js} +1 -1
  185. package/dist/chunks/{repository-9aj1bw61.js → location-mq8f5nmh.js} +30 -30
  186. package/dist/chunks/{repository-aezgccn6.js → location-mw2h8ask.js} +16 -16
  187. package/dist/chunks/{repository-zknh836p.js → location-n0ppq016.js} +11 -11
  188. package/dist/chunks/{repository-rswr9y71.js → location-n1m68ejj.js} +20 -20
  189. package/dist/chunks/{repository-95crna3w.js → location-n5rr0bsk.js} +11 -11
  190. package/dist/chunks/{repository-v84na98c.js → location-n77hk0vh.js} +12 -12
  191. package/dist/chunks/{repository-hc5t8axk.js → location-nw7gx7cz.js} +28 -28
  192. package/dist/chunks/{repository-3py87nww.js → location-nwnnebx3.js} +23 -23
  193. package/dist/chunks/{repository-z83thqvg.js → location-nxhp6d1h.js} +18 -18
  194. package/dist/chunks/{repository-nzks3jc8.js → location-nzks3jc8.js} +3 -3
  195. package/dist/chunks/{repository-y54hr7f3.js → location-patgj9rf.js} +9 -9
  196. package/dist/chunks/{repository-86mrmjc9.js → location-pb18q5py.js} +31 -31
  197. package/dist/chunks/{repository-yt0fqk68.js → location-pecb0brz.js} +5 -5
  198. package/dist/chunks/{repository-y6zfrytz.js → location-pg092y7m.js} +23 -23
  199. package/dist/chunks/{repository-33djd3yz.js → location-pgsw580e.js} +11 -11
  200. package/dist/chunks/{repository-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{repository-pknna89w.js → location-pknna89w.js} +1 -1
  202. package/dist/chunks/{repository-nqdgrntv.js → location-pr72k1jg.js} +13 -13
  203. package/dist/chunks/{repository-28w42cxn.js → location-prww9d41.js} +12 -12
  204. package/dist/chunks/{repository-805s2bhx.js → location-ps9c259y.js} +15 -15
  205. package/dist/chunks/{repository-vac7npjk.js → location-px4zyfbx.js} +10 -10
  206. package/dist/chunks/{repository-jcqt8fek.js → location-pxya9xw6.js} +13 -13
  207. package/dist/chunks/{repository-vh8736dd.js → location-q7sva9xj.js} +9 -9
  208. package/dist/chunks/{repository-cszxnbmn.js → location-qahgzyff.js} +15 -15
  209. package/dist/chunks/{repository-vpy2jm9e.js → location-qgt4e7dm.js} +8 -8
  210. package/dist/chunks/{repository-14jy69rb.js → location-qqcp2fey.js} +5 -5
  211. package/dist/chunks/{repository-57b9ws8p.js → location-qqeeq2t9.js} +4 -4
  212. package/dist/chunks/{repository-r8mtfjmr.js → location-qrarvdac.js} +13 -13
  213. package/dist/chunks/{repository-1qkgxr4g.js → location-qrpna819.js} +15 -15
  214. package/dist/chunks/{repository-qsdy395h.js → location-qsdy395h.js} +1 -1
  215. package/dist/chunks/{repository-mgp6rfqa.js → location-qtpgf39r.js} +1 -1
  216. package/dist/chunks/{repository-4w5f3qm5.js → location-qwjmgwmn.js} +8 -8
  217. package/dist/chunks/{repository-fnpsswcg.js → location-qwwvq786.js} +6 -6
  218. package/dist/chunks/{repository-63bdqmma.js → location-r0dmdece.js} +2 -2
  219. package/dist/chunks/{repository-j34bs4nz.js → location-ra4n65wq.js} +4 -4
  220. package/dist/chunks/{repository-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{repository-3dktm290.js → location-rnr5nq63.js} +19 -19
  222. package/dist/chunks/{repository-3jb78rkx.js → location-rnx3qgyn.js} +39 -39
  223. package/dist/chunks/{repository-qab3c6m1.js → location-rp7q4m9n.js} +9 -9
  224. package/dist/chunks/{repository-s8d7rejh.js → location-s8d7rejh.js} +1 -1
  225. package/dist/chunks/{repository-hpxs712n.js → location-sc4ksy03.js} +8 -8
  226. package/dist/chunks/{repository-xee1h9b3.js → location-sd23ea76.js} +15 -15
  227. package/dist/chunks/{repository-ze7g7145.js → location-sdvk2ad6.js} +22 -22
  228. package/dist/chunks/{repository-hrjt4dpr.js → location-sqr731h9.js} +10 -10
  229. package/dist/chunks/{repository-yn6k8b68.js → location-swabsky0.js} +6 -6
  230. package/dist/chunks/{repository-51f5btjf.js → location-sxzvkvgj.js} +6 -6
  231. package/dist/chunks/{repository-4j4tgtq5.js → location-syf57q56.js} +4 -4
  232. package/dist/chunks/{repository-gmkr1ekh.js → location-sz763eb6.js} +6 -6
  233. package/dist/chunks/{repository-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{repository-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{repository-tdstcens.js → location-tdstcens.js} +1 -1
  236. package/dist/chunks/{repository-nwa29mh0.js → location-tjp0ts8d.js} +138 -138
  237. package/dist/chunks/{repository-es0x5b7y.js → location-tjyds3np.js} +9 -9
  238. package/dist/chunks/{repository-aw2a2x8a.js → location-tvsfvamq.js} +5 -5
  239. package/dist/chunks/{repository-tvtrv512.js → location-tvtrv512.js} +1 -1
  240. package/dist/chunks/{repository-bedctmvj.js → location-v01qj8m2.js} +35 -35
  241. package/dist/chunks/location-v1faaxn9.js +18 -0
  242. package/dist/chunks/{repository-v9atbmms.js → location-v3679p2r.js} +9 -9
  243. package/dist/chunks/{repository-71xq2mh9.js → location-v4w8s23p.js} +19 -19
  244. package/dist/chunks/{repository-j4tvhaks.js → location-v537vfcj.js} +34 -34
  245. package/dist/chunks/{repository-aeb41jaw.js → location-v8v948yd.js} +13 -13
  246. package/dist/chunks/{repository-veqvce7d.js → location-veqvce7d.js} +1 -1
  247. package/dist/chunks/{repository-xr3qtd12.js → location-vfbk05zz.js} +85 -85
  248. package/dist/chunks/{repository-pv4awm7k.js → location-vz2v0y1g.js} +11 -11
  249. package/dist/chunks/{repository-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{repository-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{repository-3z2k3hnx.js → location-w3efebdc.js} +22 -22
  252. package/dist/chunks/{repository-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{repository-pqkd14gs.js → location-w6fmte8d.js} +30 -30
  254. package/dist/chunks/{repository-psazpmmj.js → location-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{repository-wd87259q.js → location-wd87259q.js} +1 -1
  256. package/dist/chunks/{repository-1n707za3.js → location-wpn654rn.js} +43 -43
  257. package/dist/chunks/{repository-eqzxj8fj.js → location-wpttx3ek.js} +14 -14
  258. package/dist/chunks/{repository-1mtt7xvh.js → location-wtyk7tnn.js} +6 -6
  259. package/dist/chunks/{repository-6pws2pt7.js → location-wxxtmkrx.js} +3 -3
  260. package/dist/chunks/{repository-src5ze84.js → location-wyanbm64.js} +4 -4
  261. package/dist/chunks/{repository-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{repository-v5p1ehqe.js → location-xd7pxsgz.js} +10 -10
  263. package/dist/chunks/{repository-x8e57zem.js → location-xdqwyhzn.js} +10 -10
  264. package/dist/chunks/{repository-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{repository-4s80pf4a.js → location-xxdt3syk.js} +9 -9
  266. package/dist/chunks/{repository-rn3nfvms.js → location-xxewh186.js} +9 -9
  267. package/dist/chunks/{repository-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{repository-67zyhdmh.js → location-y4h12032.js} +9 -9
  269. package/dist/chunks/{repository-m88agcr3.js → location-y5df08dr.js} +12 -12
  270. package/dist/chunks/{repository-8jmaqybk.js → location-y6f0p4jw.js} +3 -3
  271. package/dist/chunks/{repository-dpkg50ah.js → location-y71avatq.js} +4 -4
  272. package/dist/chunks/{repository-6zmn3x4v.js → location-y9kjyn13.js} +12 -12
  273. package/dist/chunks/{repository-eypemsfj.js → location-yahe92kn.js} +26 -26
  274. package/dist/chunks/{repository-mdqw8d12.js → location-yf8kg88s.js} +7 -7
  275. package/dist/chunks/{repository-jv01nqvq.js → location-yjptyezs.js} +5 -5
  276. package/dist/chunks/{repository-7jdgcrb4.js → location-yk6wy72m.js} +26 -26
  277. package/dist/chunks/{repository-vndcnmc3.js → location-yrccs5dw.js} +29 -29
  278. package/dist/chunks/{repository-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{repository-yrznvahk.js → location-yrznvahk.js} +2 -2
  280. package/dist/chunks/{repository-55b5dnwk.js → location-yxcw63er.js} +10 -10
  281. package/dist/chunks/{repository-bjtzbw4r.js → location-z07pqspn.js} +3 -3
  282. package/dist/chunks/{repository-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{repository-886z1dpc.js → location-z1dsjv8w.js} +16 -16
  284. package/dist/chunks/{repository-9bkvwbce.js → location-z5q8ygm0.js} +27 -27
  285. package/dist/chunks/{repository-z63w68vq.js → location-z63w68vq.js} +2 -2
  286. package/dist/chunks/{repository-ny1k4mkg.js → location-z7eps1h1.js} +4 -4
  287. package/dist/chunks/{repository-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{repository-zrs9t7hx.js → location-zm51y9zq.js} +12 -12
  289. package/dist/chunks/{repository-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{repository-e3m0js48.js → location-zsh9941h.js} +10 -10
  291. package/dist/chunks/{repository-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +215 -215
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +77 -77
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +90 -90
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +2 -2
  425. package/dist/filesystem/location-watcher.js +222 -222
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +78 -78
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +99 -99
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +81 -81
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +359 -359
  472. package/dist/location.js +87 -87
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +129 -129
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +91 -91
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +80 -80
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +111 -111
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +76 -76
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +102 -102
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +334 -334
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +95 -95
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +78 -78
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +95 -95
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +79 -79
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +162 -162
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +353 -353
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +88 -88
  563. package/dist/provider.js +93 -93
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +95 -95
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +129 -129
  578. package/dist/session/context.js +153 -153
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +222 -222
  584. package/dist/session/execution.js +124 -124
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +84 -84
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +97 -97
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +130 -130
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +90 -90
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +232 -232
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +98 -98
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +4 -4
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +172 -172
  612. package/dist/session/shell.js +138 -138
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +73 -73
  616. package/dist/session/store.js +85 -85
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +211 -211
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +157 -157
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +218 -218
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +140 -140
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +110 -110
  633. package/dist/snapshot.js +89 -89
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +128 -128
  638. package/dist/tool/plugin/edit.js +114 -114
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +117 -117
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +120 -120
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +216 -216
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +220 -220
  650. package/dist/tool/plugin/webfetch.js +112 -112
  651. package/dist/tool/plugin/websearch.js +112 -112
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +100 -100
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/config.js +14 -14
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +1 -1
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +1 -1
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +93 -93
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +85 -85
  686. package/dist/websearch.js +84 -84
  687. package/dist/wellknown/plugin.js +76 -76
  688. package/dist/wellknown.js +81 -81
  689. package/dist/workspace/driver.js +7 -7
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +96 -96
  697. package/package.json +8 -8
  698. package/dist/chunks/repository-678t04nd.js +0 -252
  699. package/dist/chunks/repository-rap9a73h.js +0 -18
  700. package/dist/chunks/repository-tbqg5x42.js +0 -26
  701. /package/dist/chunks/{repository-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{repository-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{repository-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{repository-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{repository-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{repository-24dcb14g.js → location-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{repository-2710q6r3.js → location-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{repository-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{repository-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{repository-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{repository-359p4xyc.js → location-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{repository-3asan66x.js → location-3asan66x.js} +0 -0
  713. /package/dist/chunks/{repository-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{repository-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{repository-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{repository-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{repository-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{repository-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{repository-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{repository-53557ph1.js → location-53557ph1.js} +0 -0
  721. /package/dist/chunks/{repository-550bvhaj.js → location-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{repository-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{repository-6prwharc.js → location-6prwharc.js} +0 -0
  724. /package/dist/chunks/{repository-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{repository-7m9af43g.js → location-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{repository-822emrt2.js → location-822emrt2.js} +0 -0
  727. /package/dist/chunks/{repository-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{repository-8n3pysct.js → location-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{repository-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{repository-922hggd3.js → location-922hggd3.js} +0 -0
  731. /package/dist/chunks/{repository-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{repository-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{repository-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{repository-af5trqkr.js → location-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{repository-afrmfg78.js → location-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{repository-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{repository-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{repository-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{repository-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{repository-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{repository-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{repository-d9fn303g.js → location-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{repository-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{repository-dajrwvna.js → location-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{repository-dap0rakb.js → location-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{repository-df08tz66.js → location-df08tz66.js} +0 -0
  747. /package/dist/chunks/{repository-dy18nga0.js → location-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{repository-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{repository-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{repository-ec1grn59.js → location-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{repository-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{repository-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{repository-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{repository-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{repository-faypxj3z.js → location-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{repository-fd410y7t.js → location-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{repository-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{repository-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{repository-g86h250q.js → location-g86h250q.js} +0 -0
  760. /package/dist/chunks/{repository-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{repository-gftt206x.js → location-gftt206x.js} +0 -0
  762. /package/dist/chunks/{repository-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{repository-hk9envan.js → location-hk9envan.js} +0 -0
  764. /package/dist/chunks/{repository-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{repository-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{repository-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{repository-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{repository-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{repository-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{repository-mp448xyj.js → location-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{repository-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{repository-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{repository-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{repository-njntx4h6.js → location-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{repository-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{repository-q74kybfr.js → location-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{repository-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{repository-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{repository-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{repository-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{repository-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{repository-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{repository-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{repository-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{repository-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{repository-w803qqfp.js → location-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{repository-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{repository-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{repository-wtztk69x.js → location-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{repository-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{repository-x61499pn.js → location-x61499pn.js} +0 -0
  792. /package/dist/chunks/{repository-y44na4kk.js → location-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{repository-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{repository-y8f7s663.js → location-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{repository-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{repository-ym463w8f.js → location-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{repository-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./repository-2a5m3afh.js";
3
+ } from "./location-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./repository-922hggd3.js";
6
+ } from "./location-922hggd3.js";
7
7
  import {
8
- Service80
9
- } from "./repository-j93j9byk.js";
8
+ Service79
9
+ } from "./location-6bass0b7.js";
10
10
  import {
11
- Service63
12
- } from "./repository-8ta41r54.js";
11
+ Service51
12
+ } from "./location-5j3nemfx.js";
13
13
  import {
14
- Service27
15
- } from "./repository-mkmyr10v.js";
14
+ Service16
15
+ } from "./location-h23ctypg.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./repository-86d5j3vh.js";
21
+ } from "./location-jtfh4wfs.js";
22
22
  import {
23
- Service68
24
- } from "./repository-s182s2zc.js";
23
+ Service64
24
+ } from "./location-jggnvhtg.js";
25
25
  import {
26
- Service14
27
- } from "./repository-28jks9yb.js";
26
+ Service57
27
+ } from "./location-58exf9s3.js";
28
28
  import {
29
29
  __export
30
- } from "./repository-9rqn6x4v.js";
30
+ } from "./location-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input2,
37
- Output: () => Output2,
38
- Plugin: () => Plugin19,
39
- name: () => name2,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input9,
37
+ Output: () => Output6,
38
+ Plugin: () => Plugin11,
39
+ name: () => name9,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name2 = "glob";
46
- var Input2 = Schema.Struct({
45
+ var name9 = "glob";
46
+ var Input9 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output6 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin19 = {
66
+ var Plugin11 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service63;
70
- const ripgrep = yield* Service27;
71
- const location = yield* Service80;
72
- const access = yield* Service14;
73
- const permission = yield* Service68;
69
+ const environment = yield* Service51;
70
+ const ripgrep = yield* Service16;
71
+ const location = yield* Service79;
72
+ const access = yield* Service57;
73
+ const permission = yield* Service64;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name2,
75
+ name: name9,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input2,
79
- output: Output2,
78
+ input: Input9,
79
+ output: Output6,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name2,
86
+ action: name9,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin19 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name2, Input2, Output2, toModelContent2, Plugin19, exports_glob };
128
+ export { name9, Input9, Output6, toModelContent6, Plugin11, exports_glob };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./location-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service24,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service24 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service24.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service24, awaitActivation2, exports_service };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-pztqrn0p.js";
3
+ } from "./location-kn0epzjf.js";
4
4
  import {
5
5
  Service83
6
- } from "./repository-2ydsszd5.js";
6
+ } from "./location-mntfxcz2.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event18
10
- } from "./repository-7j0c068z.js";
10
+ } from "./location-j6h5z8n4.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./repository-gr7cmsbq.js";
14
+ } from "./location-d725fnbd.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./repository-pjvnvgmy.js";
18
+ } from "./location-pjvnvgmy.js";
19
19
  import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./repository-71xq2mh9.js";
23
+ } from "./location-v4w8s23p.js";
24
24
  import {
25
25
  get5
26
- } from "./repository-54ma36ye.js";
26
+ } from "./location-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin3 = define({
165
+ var OpenAIPlugin2 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
168
  const bus = yield* Service83;
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin3 };
332
+ export { OpenAIPlugin2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-2ydsszd5.js";
4
+ } from "./location-mntfxcz2.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./repository-rdw6cm16.js";
8
+ } from "./location-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./repository-mpk0rfs5.js";
11
+ } from "./location-mpk0rfs5.js";
12
12
  import {
13
13
  ID14,
14
- Service74,
15
- node78,
14
+ Service75,
15
+ node79,
16
16
  Event17
17
- } from "./repository-gr7cmsbq.js";
17
+ } from "./location-d725fnbd.js";
18
18
  import {
19
- Service80,
20
- node84
21
- } from "./repository-j93j9byk.js";
19
+ Service79,
20
+ node83
21
+ } from "./location-6bass0b7.js";
22
22
  import {
23
23
  __export
24
- } from "./repository-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -43,7 +43,7 @@ __export(exports_provider3, {
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
45
  Request: () => Request3,
46
- Service: () => Service73,
46
+ Service: () => Service74,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node77,
56
+ node: () => node78,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -212,7 +212,7 @@ var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
213
  var Info26 = Provider.Info;
214
214
 
215
- class Service73 extends Context.Service()("@opencode/Provider") {
215
+ class Service74 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service73, Effect.gen(function* () {
228
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
229
229
  const bus = yield* Service83;
230
- const integrations = yield* Service74;
231
- const location = yield* Service80;
230
+ const integrations = yield* Service75;
231
+ const location = yield* Service79;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
347
347
  });
348
348
  });
349
349
  yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service73.of({
350
+ return Service74.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node77 = makeLocationNode({ service: Service73, layer, deps: [node87, node78, node84] });
359
+ var node78 = makeLocationNode({ service: Service74, layer, deps: [node87, node79, node83] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
625
625
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
626
626
  var decode = Schema2.decodeUnknownSync(Legacy);
627
627
 
628
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service73, node77, exports_provider3, Event16 };
628
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service74, node78, exports_provider3, Event16 };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID14,
3
- Service74,
4
- node78
5
- } from "./repository-gr7cmsbq.js";
3
+ Service75,
4
+ node79
5
+ } from "./location-d725fnbd.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
+ Service74,
16
+ node78
17
+ } from "./location-v4w8s23p.js";
18
+ import {
15
19
  Service73,
16
20
  node77
17
- } from "./repository-71xq2mh9.js";
18
- import {
19
- Service50,
20
- node53
21
- } from "./repository-4s80pf4a.js";
21
+ } from "./location-xxdt3syk.js";
22
22
  import {
23
- ID5,
23
+ ID12,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service60,
27
- node63
28
- } from "./repository-sv5c2zxk.js";
26
+ Service72,
27
+ node76
28
+ } from "./location-15zraegk.js";
29
29
  import {
30
30
  __export
31
- } from "./repository-9rqn6x4v.js";
31
+ } from "./location-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError2,
38
38
  ModelInitializationError: () => ModelInitializationError2,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service49,
40
+ Service: () => Service44,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError2,
44
44
  VariantUnavailableError: () => VariantUnavailableError2,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer22,
48
- node: () => node52,
47
+ layer: () => layer19,
48
+ node: () => node46,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
58
  providerID: ID13,
59
- modelID: ID5,
59
+ modelID: ID12,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -66,7 +66,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
66
66
 
67
67
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
68
  providerID: ID13,
69
- modelID: ID5,
69
+ modelID: ID12,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
79
  providerID: ID13,
80
- modelID: ID5,
80
+ modelID: ID12,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -88,7 +88,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
88
88
 
89
89
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
90
  providerID: ID13,
91
- modelID: ID5,
91
+ modelID: ID12,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -100,7 +100,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
100
100
 
101
101
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
102
  providerID: ID13,
103
- modelID: ID5,
103
+ modelID: ID12,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
110
110
 
111
111
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
112
  providerID: ID13,
113
- modelID: ID5,
113
+ modelID: ID12,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service49 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service44 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer22 = Layer.effect(Service49, Effect.gen(function* () {
262
- const providers = yield* Service73;
263
- const models = yield* Service60;
264
- const integrations = yield* Service74;
261
+ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
262
+ const providers = yield* Service74;
263
+ const models = yield* Service72;
264
+ const integrations = yield* Service75;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service50;
266
+ const aisdk = yield* Service73;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
269
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -293,7 +293,7 @@ var layer22 = Layer.effect(Service49, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service49.of({
296
+ return Service44.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node52 = makeLocationNode({
314
- service: Service49,
315
- layer: layer22,
316
- deps: [node77, node63, node78, Npm.node, node53]
313
+ var node46 = makeLocationNode({
314
+ service: Service44,
315
+ layer: layer19,
316
+ deps: [node78, node76, node79, Npm.node, node77]
317
317
  });
318
318
 
319
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node52, exports_model_resolver };
319
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service44, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node46, exports_model_resolver };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service55
3
- } from "./repository-mmcph4q4.js";
2
+ Service49
3
+ } from "./location-5pc7ckbf.js";
4
4
  import {
5
- Service38
6
- } from "./repository-856ceffp.js";
5
+ Service32
6
+ } from "./location-jmasdga9.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin46,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin19,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin46 = define({
20
+ var Plugin19 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service55;
28
- const mcp = yield* Service38;
27
+ const config = yield* Service49;
28
+ const mcp = yield* Service32;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin46, register2, exports_mcp2 };
49
+ export { Plugin19, register2, exports_mcp };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./repository-ym463w8f.js";
3
+ } from "./location-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({