@opencode/core 0.0.0-dev-19631 → 0.0.0-dev-19633

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{location-ejjvavc8.js → file-08gdyecf.js} +11 -11
  8. package/dist/chunks/{location-cx6817x4.js → file-0akazjeg.js} +8 -8
  9. package/dist/chunks/{location-8vvc7kdn.js → file-0j37mfc2.js} +10 -10
  10. package/dist/chunks/{location-kbq8etb1.js → file-0mwr2md3.js} +10 -10
  11. package/dist/chunks/{location-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{location-p132gxzd.js → file-0w7q9ets.js} +13 -13
  14. package/dist/chunks/{location-g4a6era7.js → file-12s5y6q5.js} +21 -21
  15. package/dist/chunks/{location-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{location-r3gbt3jp.js → file-1hzb5dnf.js} +35 -35
  17. package/dist/chunks/{location-ke21jj3y.js → file-1jxs8g3d.js} +6 -6
  18. package/dist/chunks/{location-dhwrr4jy.js → file-20gnpxcd.js} +5 -5
  19. package/dist/chunks/{location-21r38tys.js → file-21r38tys.js} +1 -1
  20. package/dist/chunks/{location-t9hwq8k2.js → file-22qgyz1x.js} +46 -46
  21. package/dist/chunks/{location-89g9pdqq.js → file-22rr13z9.js} +5 -5
  22. package/dist/chunks/{location-paffydma.js → file-236n6ceq.js} +10 -10
  23. package/dist/chunks/{location-6h73sxmp.js → file-2402vzrj.js} +5 -5
  24. package/dist/chunks/{location-kjdar36t.js → file-24zw8df7.js} +5 -5
  25. package/dist/chunks/{location-q858cr49.js → file-25tbh0a9.js} +35 -35
  26. package/dist/chunks/{location-29x78va6.js → file-29x78va6.js} +2 -2
  27. package/dist/chunks/{location-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{location-ae7j6849.js → file-2bbg8wfw.js} +17 -17
  29. package/dist/chunks/{location-r3648v35.js → file-2hg7403c.js} +15 -15
  30. package/dist/chunks/{location-2k8khapm.js → file-2k8khapm.js} +1 -1
  31. package/dist/chunks/{location-15tm9q3z.js → file-2nf7qav7.js} +10 -10
  32. package/dist/chunks/{location-swqfa4q3.js → file-305s6fsh.js} +25 -25
  33. package/dist/chunks/{location-fee9ry81.js → file-3098jbw5.js} +17 -17
  34. package/dist/chunks/{location-7pa101rz.js → file-33jbksaf.js} +39 -39
  35. package/dist/chunks/{location-3hk432b6.js → file-36ne1e23.js} +41 -41
  36. package/dist/chunks/{location-f14adf9f.js → file-388ha1kr.js} +11 -11
  37. package/dist/chunks/{location-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{location-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{location-zs1be8nq.js → file-3qqhfkar.js} +11 -11
  40. package/dist/chunks/{location-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{location-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{location-37ea9c2d.js → file-4a0nv7mx.js} +8 -8
  43. package/dist/chunks/{location-hxr4ws4r.js → file-4aywyc6v.js} +8 -8
  44. package/dist/chunks/{location-sxzvkvgj.js → file-51f5btjf.js} +6 -6
  45. package/dist/chunks/{location-6t7vpv8v.js → file-564ycq4z.js} +28 -28
  46. package/dist/chunks/{location-56gdpj1q.js → file-56gdpj1q.js} +2 -2
  47. package/dist/chunks/{location-57ez7d0k.js → file-57ez7d0k.js} +2 -2
  48. package/dist/chunks/{location-y14psceh.js → file-5bw4mdqz.js} +11 -11
  49. package/dist/chunks/{location-z76rvear.js → file-5c70fjhz.js} +4 -4
  50. package/dist/chunks/{location-5daktx2q.js → file-5daktx2q.js} +1 -1
  51. package/dist/chunks/{location-kf11waxr.js → file-5fgw95me.js} +24 -24
  52. package/dist/chunks/{location-hph2erh9.js → file-5gvwq26r.js} +15 -15
  53. package/dist/chunks/{location-pvrjs4yz.js → file-5jjjy8t8.js} +11 -11
  54. package/dist/chunks/{location-rk7y43hf.js → file-5mmf2z69.js} +4 -4
  55. package/dist/chunks/{location-gs12886w.js → file-5mt8epf5.js} +28 -28
  56. package/dist/chunks/{location-amtcdxb0.js → file-5rtg8v4f.js} +4 -4
  57. package/dist/chunks/{location-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{location-zbb6f2kh.js → file-5x56vrz6.js} +40 -40
  59. package/dist/chunks/file-619r8v3y.js +18 -0
  60. package/dist/chunks/{location-tbnfv1pf.js → file-63rgkb2p.js} +10 -10
  61. package/dist/chunks/{location-669tq793.js → file-669tq793.js} +1 -1
  62. package/dist/chunks/{location-y16882bh.js → file-6d18bct7.js} +5 -5
  63. package/dist/chunks/{location-gzzsg5dy.js → file-6d916rqt.js} +4 -4
  64. package/dist/chunks/{location-njabt98v.js → file-6j5sab4m.js} +2 -2
  65. package/dist/chunks/{location-gdcqe04r.js → file-6kgc56n8.js} +6 -6
  66. package/dist/chunks/{location-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{location-qfw0430s.js → file-6p7btwhh.js} +29 -29
  68. package/dist/chunks/{location-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{location-n7dgzw6q.js → file-7ssa17s4.js} +11 -11
  70. package/dist/chunks/{location-fjs5xx1d.js → file-7w99qc9d.js} +2 -2
  71. package/dist/chunks/{location-8a1axwae.js → file-7x76c1sj.js} +3 -3
  72. package/dist/chunks/{location-0twsnrm2.js → file-7yk17z6w.js} +8 -8
  73. package/dist/chunks/{location-1nzs1dt7.js → file-7yqjxrmz.js} +6 -6
  74. package/dist/chunks/{location-bacq2ea4.js → file-83shcc6r.js} +31 -31
  75. package/dist/chunks/{location-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  76. package/dist/chunks/{location-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  77. package/dist/chunks/{location-v9xsj6pf.js → file-8qvyn53n.js} +14 -14
  78. package/dist/chunks/{location-1gqsytf7.js → file-8ts4f0wa.js} +18 -18
  79. package/dist/chunks/{location-2aqjzvxw.js → file-9053hp5s.js} +21 -21
  80. package/dist/chunks/{location-axt0rzpy.js → file-93h1d1zs.js} +6 -6
  81. package/dist/chunks/{location-pgeftpx4.js → file-99fd2cyh.js} +9 -9
  82. package/dist/chunks/{location-b8hzf7nw.js → file-9eg4jjgq.js} +3 -3
  83. package/dist/chunks/{location-4y72ap3v.js → file-9g3kc011.js} +5 -5
  84. package/dist/chunks/{location-b6enga28.js → file-9jbarykq.js} +12 -12
  85. package/dist/chunks/{location-h1t9w82k.js → file-9kb4ne1f.js} +44 -44
  86. package/dist/chunks/{location-wgre8czs.js → file-9qg8fg04.js} +16 -16
  87. package/dist/chunks/{location-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  88. package/dist/chunks/{location-5xjbzt31.js → file-a4encqx6.js} +20 -20
  89. package/dist/chunks/{location-n9h856x1.js → file-a9geq6an.js} +20 -20
  90. package/dist/chunks/{location-h0cvahep.js → file-a9ws9tp6.js} +162 -162
  91. package/dist/chunks/{location-aaet6srn.js → file-aaet6srn.js} +2 -2
  92. package/dist/chunks/{location-074pt63z.js → file-aecg16pk.js} +13 -13
  93. package/dist/chunks/{location-50hhjvx3.js → file-ah70y75m.js} +4 -4
  94. package/dist/chunks/{location-k9b4hh1d.js → file-amxqwxb9.js} +1 -1
  95. package/dist/chunks/{location-js2bxmsr.js → file-apyhee51.js} +29 -29
  96. package/dist/chunks/{location-11cks9p9.js → file-asrky1px.js} +16 -16
  97. package/dist/chunks/{location-sra9araw.js → file-avm8jn6n.js} +5 -5
  98. package/dist/chunks/{location-3bg215ag.js → file-b5p7kkhd.js} +20 -20
  99. package/dist/chunks/{location-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{location-bajakh74.js → file-bajakh74.js} +4 -4
  101. package/dist/chunks/{location-3xa758da.js → file-bbjrdapj.js} +3 -3
  102. package/dist/chunks/{location-bf0ztrs3.js → file-bct739vz.js} +4 -4
  103. package/dist/chunks/{location-wgsyq2g2.js → file-bjmdedkt.js} +6 -6
  104. package/dist/chunks/{location-ta2sz16v.js → file-btpzzfa7.js} +18 -18
  105. package/dist/chunks/{location-y806bx01.js → file-bzryrp9c.js} +4 -4
  106. package/dist/chunks/{location-f4ywtdzx.js → file-c4xsvfhx.js} +2 -2
  107. package/dist/chunks/{location-wvng7zrg.js → file-c5dg5qah.js} +3 -3
  108. package/dist/chunks/{location-d5my93c7.js → file-c9qrq06s.js} +22 -22
  109. package/dist/chunks/{location-ep45g7a1.js → file-ccex73ek.js} +13 -13
  110. package/dist/chunks/{location-fjven42y.js → file-cd03251h.js} +24 -24
  111. package/dist/chunks/{location-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{location-c4y595wv.js → file-cgng3gqm.js} +20 -20
  113. package/dist/chunks/{location-87deq66t.js → file-cjwramev.js} +4 -4
  114. package/dist/chunks/{location-1ajx6rf5.js → file-cmwkp3r5.js} +8 -8
  115. package/dist/chunks/{location-6cadhda4.js → file-cpkr92p5.js} +15 -15
  116. package/dist/chunks/{location-h61p2mjp.js → file-cqc56ez4.js} +3 -3
  117. package/dist/chunks/{location-bccb6npm.js → file-csf2jhsg.js} +4 -4
  118. package/dist/chunks/{location-cwa6csj7.js → file-cwa6csj7.js} +2 -2
  119. package/dist/chunks/{location-tm1qqpd4.js → file-cym3vtn1.js} +7 -7
  120. package/dist/chunks/{location-tx3fqe1r.js → file-d1z55vfk.js} +9 -9
  121. package/dist/chunks/{location-az4749a7.js → file-dbdrkm7d.js} +10 -10
  122. package/dist/chunks/{location-wseq2wer.js → file-dfv5nr8w.js} +26 -26
  123. package/dist/chunks/{location-5dx64r44.js → file-dhwr7h25.js} +8 -8
  124. package/dist/chunks/{location-my6q1kj9.js → file-dvbce6e0.js} +9 -9
  125. package/dist/chunks/{location-57e9z27j.js → file-dwq6ryhm.js} +8 -8
  126. package/dist/chunks/{location-kcfppy95.js → file-dxv1v3h4.js} +9 -9
  127. package/dist/chunks/{location-vahtdhsf.js → file-dya7y50p.js} +30 -30
  128. package/dist/chunks/{location-e5nv3ght.js → file-e5nv3ght.js} +2 -2
  129. package/dist/chunks/{location-jva4mgym.js → file-ec8389mk.js} +4 -4
  130. package/dist/chunks/{location-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{location-gg5tcp93.js → file-estyg5p5.js} +26 -26
  132. package/dist/chunks/{location-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{location-yd2t4f4q.js → file-ex563nqe.js} +18 -18
  134. package/dist/chunks/{location-1z8e5f7y.js → file-f0kq08np.js} +14 -14
  135. package/dist/chunks/{location-6r3wktb6.js → file-f52r61pg.js} +8 -8
  136. package/dist/chunks/{location-f828m53h.js → file-f828m53h.js} +2 -2
  137. package/dist/chunks/{location-66r9f6z1.js → file-fegk541e.js} +5 -5
  138. package/dist/chunks/{location-pjedbq3k.js → file-fjvydvzm.js} +4 -4
  139. package/dist/chunks/{location-5008mk82.js → file-fqk05stv.js} +12 -12
  140. package/dist/chunks/{location-f5qz3jzy.js → file-fv79fttw.js} +3 -3
  141. package/dist/chunks/{location-323n19w4.js → file-fvhy57rz.js} +22 -22
  142. package/dist/chunks/{location-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{location-a5dv1fsr.js → file-fz6z0z24.js} +27 -27
  144. package/dist/chunks/{location-mx09shfg.js → file-g7jvb7c9.js} +12 -12
  145. package/dist/chunks/{location-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{location-t87rd070.js → file-gfda2rw4.js} +10 -10
  147. package/dist/chunks/{location-tyxhm0p2.js → file-ggggb6p4.js} +6 -6
  148. package/dist/chunks/{location-156aka68.js → file-gp1zxvd9.js} +8 -8
  149. package/dist/chunks/{location-e1krdr4f.js → file-gssz6jt1.js} +11 -11
  150. package/dist/chunks/{location-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{location-jv984b6y.js → file-gw8pa80z.js} +3 -3
  152. package/dist/chunks/{location-7jyz8t5r.js → file-gz7yhg24.js} +24 -24
  153. package/dist/chunks/{location-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  154. package/dist/chunks/{location-5hbjas2j.js → file-h2tct5hm.js} +5 -5
  155. package/dist/chunks/{location-ebvkxj71.js → file-h3fpqjd9.js} +11 -11
  156. package/dist/chunks/file-h47he10w.js +4 -0
  157. package/dist/chunks/{location-ebe9bak5.js → file-h6r3nrb9.js} +4 -4
  158. package/dist/chunks/{location-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{location-a3ftg8j6.js → file-h71w788e.js} +9 -9
  160. package/dist/chunks/{location-7ctrm1dc.js → file-h8te88f7.js} +18 -18
  161. package/dist/chunks/{location-8n5wyrft.js → file-havg7an4.js} +16 -16
  162. package/dist/chunks/{location-2m31qgzj.js → file-hestywzr.js} +4 -4
  163. package/dist/chunks/{location-sxragm8h.js → file-hfm7y40f.js} +15 -15
  164. package/dist/chunks/{location-47gsdddb.js → file-hjt4xg1x.js} +7 -7
  165. package/dist/chunks/{location-9vhxz3jd.js → file-hrfc27x2.js} +52 -52
  166. package/dist/chunks/{location-9y4jm800.js → file-hwcf7hy3.js} +15 -15
  167. package/dist/chunks/{location-j56e64zr.js → file-j56e64zr.js} +1 -1
  168. package/dist/chunks/{location-a1254jaz.js → file-j9psxn98.js} +35 -35
  169. package/dist/chunks/{location-z3dbx3sy.js → file-jb9s1h96.js} +20 -20
  170. package/dist/chunks/{location-pv3p64vq.js → file-jp2aae4f.js} +15 -15
  171. package/dist/chunks/{location-p8nbz4mm.js → file-jpat3yz2.js} +12 -12
  172. package/dist/chunks/{location-djcy9x12.js → file-jrw4dqw4.js} +8 -8
  173. package/dist/chunks/{location-510m7gjw.js → file-jv01nqvq.js} +5 -5
  174. package/dist/chunks/{location-3kara66y.js → file-jyx8080g.js} +15 -15
  175. package/dist/chunks/{location-qr1gr1bz.js → file-k0b1k2q1.js} +1 -1
  176. package/dist/chunks/{location-4q2gvvft.js → file-ketnx304.js} +5 -5
  177. package/dist/chunks/{location-a1788f7w.js → file-kmfs3jc4.js} +24 -24
  178. package/dist/chunks/{location-qm2zhff3.js → file-kn86f5kn.js} +11 -11
  179. package/dist/chunks/{location-dqhwfw66.js → file-kz1rrfb1.js} +10 -10
  180. package/dist/chunks/{location-n5dqecfz.js → file-m10hdbyk.js} +16 -16
  181. package/dist/chunks/{location-dr2yesb8.js → file-m4bjxehm.js} +25 -25
  182. package/dist/chunks/{location-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{location-zaz698nn.js → file-mb48mf1e.js} +9 -9
  184. package/dist/chunks/{location-vpw3edpt.js → file-mck6zt6s.js} +48 -48
  185. package/dist/chunks/{location-b1frtypz.js → file-mdv2xdqa.js} +30 -30
  186. package/dist/chunks/{location-my8v8pz1.js → file-mfxefjzv.js} +79 -79
  187. package/dist/chunks/{location-yfccazc5.js → file-mpsnqy3c.js} +41 -41
  188. package/dist/chunks/{location-d079nfyg.js → file-myw9zgpz.js} +13 -13
  189. package/dist/chunks/{location-617xwdkc.js → file-mzhbp9vf.js} +27 -27
  190. package/dist/chunks/{location-32qx2cqk.js → file-n5t1yewa.js} +8 -8
  191. package/dist/chunks/{location-skzj3dtk.js → file-n8vja0c5.js} +43 -43
  192. package/dist/chunks/{location-jcxqzaz3.js → file-nez2y5es.js} +13 -13
  193. package/dist/chunks/{location-etn2manz.js → file-nh8yrv9m.js} +12 -12
  194. package/dist/chunks/{location-xekh0j5r.js → file-nnfbgt4m.js} +15 -15
  195. package/dist/chunks/{location-r8ste1ck.js → file-nng2ktcm.js} +2 -2
  196. package/dist/chunks/{location-ywkfy99j.js → file-nscznvay.js} +9 -9
  197. package/dist/chunks/{location-em5xkjbs.js → file-pfbhhdtd.js} +11 -11
  198. package/dist/chunks/{location-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{location-s245kgzv.js → file-pkhtpr4x.js} +11 -11
  200. package/dist/chunks/{location-pknna89w.js → file-pknna89w.js} +1 -1
  201. package/dist/chunks/{location-v98rq2xh.js → file-q09ks72y.js} +9 -9
  202. package/dist/chunks/{location-w27pm9me.js → file-q1c6gfm2.js} +19 -19
  203. package/dist/chunks/{location-fz01tdmw.js → file-q6p28vg6.js} +24 -24
  204. package/dist/chunks/{location-8vehx84x.js → file-qcx0cfj6.js} +13 -13
  205. package/dist/chunks/{location-6fnbs7de.js → file-qe5hvpyx.js} +11 -11
  206. package/dist/chunks/{location-g2dazt51.js → file-qfdya410.js} +7 -7
  207. package/dist/chunks/{location-2m8nb1h0.js → file-qfv7kwmk.js} +78 -78
  208. package/dist/chunks/{location-t96ncvbk.js → file-qp80rvch.js} +10 -10
  209. package/dist/chunks/{location-qsdy395h.js → file-qsdy395h.js} +1 -1
  210. package/dist/chunks/{location-gkyvheh7.js → file-qv7q8zdk.js} +8 -8
  211. package/dist/chunks/{location-01mcbsxa.js → file-qwrktqhq.js} +11 -11
  212. package/dist/chunks/{location-cenkhvam.js → file-qx85yg7y.js} +7 -7
  213. package/dist/chunks/{location-r5x6zcsm.js → file-r5x6zcsm.js} +1 -1
  214. package/dist/chunks/{location-r9mregkx.js → file-r9mregkx.js} +2 -2
  215. package/dist/chunks/{location-qa3qhgw8.js → file-ratrq7cm.js} +4 -4
  216. package/dist/chunks/{location-rdw6cm16.js → file-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{location-c6t8208k.js → file-reaqst9e.js} +16 -16
  218. package/dist/chunks/{location-fjwgd49k.js → file-rmwvaztm.js} +14 -14
  219. package/dist/chunks/{location-68wv0erp.js → file-rsdpy3wf.js} +47 -47
  220. package/dist/chunks/{location-xdt3s13f.js → file-rwr42tkk.js} +20 -20
  221. package/dist/chunks/{location-n0re1kpp.js → file-rza1nmht.js} +49 -49
  222. package/dist/chunks/{location-s4enseaf.js → file-s4enseaf.js} +2 -2
  223. package/dist/chunks/{location-na0vc07j.js → file-s95gtvp0.js} +33 -33
  224. package/dist/chunks/{location-2pavbj2f.js → file-sjf89ma5.js} +4 -4
  225. package/dist/chunks/{location-5bd7vy8t.js → file-sr1664q2.js} +34 -34
  226. package/dist/chunks/{location-8y6m80vy.js → file-srdy1k96.js} +5 -5
  227. package/dist/chunks/{location-t550f9t1.js → file-t550f9t1.js} +1 -1
  228. package/dist/chunks/{location-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{location-89znhe33.js → file-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{location-tdstcens.js → file-tdstcens.js} +1 -1
  231. package/dist/chunks/{location-jp31vt9x.js → file-tgjsfk5w.js} +12 -12
  232. package/dist/chunks/{location-13yde72h.js → file-tj0w0ggk.js} +27 -27
  233. package/dist/chunks/{location-zzccx3d7.js → file-tk3067ym.js} +6 -6
  234. package/dist/chunks/file-tqgcjhcb.js +247 -0
  235. package/dist/chunks/{location-gjg6hemq.js → file-trfk6ytm.js} +25 -25
  236. package/dist/chunks/{location-ryt7pzqc.js → file-ts2x07a1.js} +1 -1
  237. package/dist/chunks/{location-tvtrv512.js → file-tvtrv512.js} +1 -1
  238. package/dist/chunks/{location-pd1sw0zy.js → file-v2jewarz.js} +22 -22
  239. package/dist/chunks/{location-r3n1f5t9.js → file-v39rhahm.js} +4 -4
  240. package/dist/chunks/{location-x2t5q3mx.js → file-v7kq0jqq.js} +13 -13
  241. package/dist/chunks/{location-6r7kkwrh.js → file-v7rddagg.js} +11 -11
  242. package/dist/chunks/{location-veqvce7d.js → file-veqvce7d.js} +1 -1
  243. package/dist/chunks/{location-7rfg73ak.js → file-vf8h0b9e.js} +4 -4
  244. package/dist/chunks/{location-avc8n21j.js → file-vr7gxye5.js} +13 -13
  245. package/dist/chunks/{location-2pnhn36q.js → file-vsp1fds9.js} +4 -4
  246. package/dist/chunks/{location-t11smtq6.js → file-vxkh401z.js} +13 -13
  247. package/dist/chunks/{location-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{location-p0cgaswm.js → file-w08fgf6n.js} +19 -19
  249. package/dist/chunks/{location-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{location-msv9qz60.js → file-w81nape4.js} +12 -12
  251. package/dist/chunks/{location-wd87259q.js → file-wd87259q.js} +1 -1
  252. package/dist/chunks/{location-ew828j3w.js → file-wsvc6zbt.js} +20 -20
  253. package/dist/chunks/{location-a7bb2qk3.js → file-x05tasj6.js} +22 -22
  254. package/dist/chunks/{location-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{location-szk5yzmn.js → file-xc31d4e1.js} +14 -14
  256. package/dist/chunks/{location-phtx5pzp.js → file-xc3e9g44.js} +30 -30
  257. package/dist/chunks/{location-02khppbe.js → file-xdx7acry.js} +9 -9
  258. package/dist/chunks/{location-btp88bps.js → file-xhdd11xv.js} +5 -5
  259. package/dist/chunks/{location-1fm22rx7.js → file-xv5q61nr.js} +47 -47
  260. package/dist/chunks/{location-0c5388rw.js → file-xz51q8fv.js} +300 -300
  261. package/dist/chunks/{location-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{location-2hr5nhwa.js → file-y1qqcj8h.js} +8 -8
  263. package/dist/chunks/{location-5d530p9y.js → file-y3pfkng4.js} +23 -23
  264. package/dist/chunks/{location-61nnwajg.js → file-y4gsk34f.js} +16 -16
  265. package/dist/chunks/{location-y71avatq.js → file-y71avatq.js} +1 -1
  266. package/dist/chunks/{location-g9kz57e4.js → file-yktx02z7.js} +21 -21
  267. package/dist/chunks/{location-yp2x3t23.js → file-yp2x3t23.js} +1 -1
  268. package/dist/chunks/{location-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  269. package/dist/chunks/{location-qb97jg0r.js → file-ysqbqr9v.js} +9 -9
  270. package/dist/chunks/{location-avb4mchm.js → file-yv7s2srq.js} +15 -15
  271. package/dist/chunks/{location-2d47syzh.js → file-ywv8d6na.js} +3 -3
  272. package/dist/chunks/{location-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{location-vjnvk4fc.js → file-z1mqgmhk.js} +27 -27
  274. package/dist/chunks/{location-y190ygrp.js → file-z38cfxs8.js} +29 -29
  275. package/dist/chunks/{location-ag9w8cw1.js → file-z3pw5915.js} +5 -5
  276. package/dist/chunks/{location-eev3q2gn.js → file-z5b2tyzk.js} +10 -10
  277. package/dist/chunks/{location-q0sr5rc9.js → file-zakcdkb2.js} +11 -11
  278. package/dist/chunks/{location-06x8he3q.js → file-zcrspsvn.js} +4 -4
  279. package/dist/chunks/{location-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{location-b4ae2b13.js → file-zfyzxy80.js} +20 -20
  281. package/dist/chunks/{location-5krmfrm4.js → file-znfm1bq2.js} +3 -3
  282. package/dist/chunks/{location-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{location-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +82 -82
  288. package/dist/config/discovery.js +83 -83
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +105 -105
  291. package/dist/config/plugin/agent.js +122 -122
  292. package/dist/config/plugin/command.js +208 -208
  293. package/dist/config/plugin/compaction.js +158 -158
  294. package/dist/config/plugin/compatibility.js +140 -140
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +123 -123
  297. package/dist/config/plugin/image.js +122 -122
  298. package/dist/config/plugin/instruction.js +89 -89
  299. package/dist/config/plugin/location-watcher.js +124 -124
  300. package/dist/config/plugin/mcp.js +129 -129
  301. package/dist/config/plugin/policy.js +122 -122
  302. package/dist/config/plugin/provider.js +122 -122
  303. package/dist/config/plugin/reference.js +124 -124
  304. package/dist/config/plugin/shell.js +124 -124
  305. package/dist/config/plugin/skill-file.js +101 -101
  306. package/dist/config/plugin/skill.js +143 -143
  307. package/dist/config/plugin/snapshot.js +122 -122
  308. package/dist/config/plugin/source.js +123 -123
  309. package/dist/config/plugin/tool-output.js +124 -124
  310. package/dist/config/plugin/websearch.js +123 -123
  311. package/dist/config/plugin/worktree.js +124 -124
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +125 -125
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +80 -80
  317. package/dist/database/database.js +65 -65
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration.gen.js +48 -48
  382. package/dist/database/migration.js +50 -50
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +75 -75
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +362 -362
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +1 -1
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +90 -90
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +92 -92
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +69 -69
  406. package/dist/file-access.js +103 -103
  407. package/dist/file-mutation.js +93 -93
  408. package/dist/file-retention.js +1 -1
  409. package/dist/file.js +1 -1
  410. package/dist/filesystem/fff.bun.js +2 -2
  411. package/dist/filesystem/fff.js +1 -1
  412. package/dist/filesystem/fff.node.js +2 -2
  413. package/dist/filesystem/fff.workerd.js +2 -2
  414. package/dist/filesystem/ignore.js +1 -1
  415. package/dist/filesystem/location-watcher-policy.js +2 -2
  416. package/dist/filesystem/location-watcher.js +225 -225
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +102 -102
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +103 -103
  422. package/dist/form.js +83 -83
  423. package/dist/formatter/builtins.js +2 -2
  424. package/dist/formatter.js +86 -86
  425. package/dist/generate.js +100 -100
  426. package/dist/git.js +6 -6
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +90 -90
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/id/id.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +353 -353
  451. package/dist/instruction-discovery.js +84 -84
  452. package/dist/instructions/builtins.js +86 -86
  453. package/dist/instructions/index.js +1 -1
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +72 -72
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-mutation.js +103 -103
  461. package/dist/location-service-map.js +85 -85
  462. package/dist/location-services.js +350 -350
  463. package/dist/location.js +80 -80
  464. package/dist/mcp/client.js +90 -90
  465. package/dist/mcp/index.js +107 -107
  466. package/dist/mcp/instructions.js +124 -124
  467. package/dist/mcp/oauth.js +77 -77
  468. package/dist/mcp/stdio.js +89 -89
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +90 -90
  471. package/dist/model-resolver.js +97 -97
  472. package/dist/model.js +101 -101
  473. package/dist/models-dev.js +106 -106
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +79 -79
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +110 -110
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +87 -87
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +74 -74
  483. package/dist/plugin/agent.js +101 -101
  484. package/dist/plugin/command.js +98 -98
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +216 -216
  487. package/dist/plugin/instance.js +5 -5
  488. package/dist/plugin/internal.js +325 -325
  489. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  490. package/dist/plugin/models-dev.js +95 -95
  491. package/dist/plugin/module.js +7 -7
  492. package/dist/plugin/optimize.js +2 -2
  493. package/dist/plugin/plan.js +101 -101
  494. package/dist/plugin/promise.js +1 -1
  495. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  496. package/dist/plugin/provider/azure.js +121 -121
  497. package/dist/plugin/provider/cerebras.js +1 -1
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +118 -118
  502. package/dist/plugin/provider/digitalocean.js +92 -92
  503. package/dist/plugin/provider/dynamic.js +2 -2
  504. package/dist/plugin/provider/factory.js +1 -1
  505. package/dist/plugin/provider/gateway.js +2 -2
  506. package/dist/plugin/provider/github-copilot.js +92 -92
  507. package/dist/plugin/provider/gitlab.js +90 -90
  508. package/dist/plugin/provider/google-vertex.js +89 -89
  509. package/dist/plugin/provider/kilo.js +1 -1
  510. package/dist/plugin/provider/llmgateway.js +76 -76
  511. package/dist/plugin/provider/lmstudio.js +121 -121
  512. package/dist/plugin/provider/modal.js +91 -91
  513. package/dist/plugin/provider/nvidia.js +1 -1
  514. package/dist/plugin/provider/ollama.js +121 -121
  515. package/dist/plugin/provider/openai.js +91 -91
  516. package/dist/plugin/provider/opencode.js +92 -92
  517. package/dist/plugin/provider/openrouter.js +90 -90
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/poe.js +77 -77
  520. package/dist/plugin/provider/sap-ai-core.js +90 -90
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +89 -89
  525. package/dist/plugin/provider/vllm.js +121 -121
  526. package/dist/plugin/provider/xai.js +90 -90
  527. package/dist/plugin/provider/zenmux.js +1 -1
  528. package/dist/plugin/provider.js +157 -157
  529. package/dist/plugin/sdk.js +75 -75
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +138 -138
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +342 -342
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/vcs/git.js +83 -83
  536. package/dist/plugin/vcs/hg.js +83 -83
  537. package/dist/plugin/warming.js +120 -120
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +9 -9
  541. package/dist/plugin/websearch/mcp.js +2 -2
  542. package/dist/plugin/websearch/parallel.js +4 -4
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin/websearch/tinyfish.js +8 -8
  545. package/dist/plugin.js +227 -227
  546. package/dist/project/schema.js +2 -2
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +79 -79
  549. package/dist/provider.js +98 -98
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +97 -97
  554. package/dist/reference/instructions.js +86 -86
  555. package/dist/reference.js +90 -90
  556. package/dist/repository-cache.js +80 -80
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +94 -94
  560. package/dist/rpc.js +85 -85
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +73 -73
  563. package/dist/session/compaction.js +132 -132
  564. package/dist/session/context.js +148 -148
  565. package/dist/session/diff.js +87 -87
  566. package/dist/session/environment.js +5 -5
  567. package/dist/session/error.js +5 -5
  568. package/dist/session/event.js +1 -1
  569. package/dist/session/execution/restart.js +219 -219
  570. package/dist/session/execution.js +127 -127
  571. package/dist/session/generate.js +149 -149
  572. package/dist/session/history.js +13 -13
  573. package/dist/session/inbox.js +85 -85
  574. package/dist/session/info.js +3 -3
  575. package/dist/session/instruction-entry.js +76 -76
  576. package/dist/session/instruction-state.js +8 -8
  577. package/dist/session/instructions.js +96 -96
  578. package/dist/session/message-updater.js +2 -2
  579. package/dist/session/message.js +1 -1
  580. package/dist/session/model-request.js +115 -115
  581. package/dist/session/model-transport.js +7 -7
  582. package/dist/session/move.js +129 -129
  583. package/dist/session/projector.js +85 -85
  584. package/dist/session/prompt.js +104 -104
  585. package/dist/session/provider-context.js +3 -3
  586. package/dist/session/revert.js +89 -89
  587. package/dist/session/run-coordinator.js +1 -1
  588. package/dist/session/runner/index.js +3 -3
  589. package/dist/session/runner/llm.js +226 -226
  590. package/dist/session/runner/max-steps.js +1 -1
  591. package/dist/session/runner/model.js +97 -97
  592. package/dist/session/runner/publish-llm-event.js +3 -3
  593. package/dist/session/runner/retry.js +113 -113
  594. package/dist/session/runner/step.js +122 -122
  595. package/dist/session/runner/to-llm-message.js +2 -2
  596. package/dist/session/schema.js +3 -3
  597. package/dist/session/session.js +169 -169
  598. package/dist/session/shell.js +137 -137
  599. package/dist/session/skill.js +102 -102
  600. package/dist/session/sql.js +5 -5
  601. package/dist/session/stats.js +72 -72
  602. package/dist/session/store.js +86 -86
  603. package/dist/session/subagent-completion.js +1 -1
  604. package/dist/session/subagent-job.js +206 -206
  605. package/dist/session/system-prompt.js +5 -5
  606. package/dist/session/title.js +148 -148
  607. package/dist/session/to-session-error.js +110 -110
  608. package/dist/session/transfer.js +210 -210
  609. package/dist/session/usage.js +1 -1
  610. package/dist/session.js +214 -214
  611. package/dist/shell/parse.js +6 -6
  612. package/dist/shell/result.js +1 -1
  613. package/dist/shell/scan.js +1 -1
  614. package/dist/shell/select.js +13 -13
  615. package/dist/shell.js +139 -139
  616. package/dist/skill/discovery.js +6 -6
  617. package/dist/skill/instructions.js +106 -106
  618. package/dist/skill.js +109 -109
  619. package/dist/snapshot.js +90 -90
  620. package/dist/state.js +1 -1
  621. package/dist/tool/html-markdown.js +1 -1
  622. package/dist/tool/http-body.js +1 -1
  623. package/dist/tool/mcp.js +123 -123
  624. package/dist/tool/plugin/edit.js +119 -119
  625. package/dist/tool/plugin/file-diff.js +1 -1
  626. package/dist/tool/plugin/glob.js +123 -123
  627. package/dist/tool/plugin/grep.js +119 -119
  628. package/dist/tool/plugin/opencode.js +3 -3
  629. package/dist/tool/plugin/patch.js +121 -121
  630. package/dist/tool/plugin/question.js +100 -100
  631. package/dist/tool/plugin/read.js +120 -120
  632. package/dist/tool/plugin/shell.js +215 -215
  633. package/dist/tool/plugin/skill.js +112 -112
  634. package/dist/tool/plugin/subagent.js +217 -217
  635. package/dist/tool/plugin/webfetch.js +103 -103
  636. package/dist/tool/plugin/websearch.js +113 -113
  637. package/dist/tool/plugin/write.js +117 -117
  638. package/dist/tool/read-filesystem.js +99 -99
  639. package/dist/tool/runtime.js +1 -1
  640. package/dist/tool-output.js +8 -8
  641. package/dist/tool.js +11 -11
  642. package/dist/util/error-summary.js +1 -1
  643. package/dist/util/error.js +1 -1
  644. package/dist/util/git-executable.js +2 -2
  645. package/dist/util/iife.js +1 -1
  646. package/dist/util/lazy.js +1 -1
  647. package/dist/util/slug.js +1 -1
  648. package/dist/util/token.js +1 -1
  649. package/dist/util/which.js +1 -1
  650. package/dist/util/wildcard.js +1 -1
  651. package/dist/v1/config/agent.js +5 -5
  652. package/dist/v1/config/attachment.js +4 -4
  653. package/dist/v1/config/command.js +3 -3
  654. package/dist/v1/config/config.js +16 -16
  655. package/dist/v1/config/error.js +2 -2
  656. package/dist/v1/config/formatter.js +3 -3
  657. package/dist/v1/config/layout.js +1 -1
  658. package/dist/v1/config/lsp.js +5 -5
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +91 -91
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/v1/config/server.js +2 -2
  666. package/dist/v1/config/skills.js +3 -3
  667. package/dist/v1/permission.js +1 -1
  668. package/dist/variant.js +90 -90
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +88 -88
  671. package/dist/websearch.js +81 -81
  672. package/dist/wellknown/plugin.js +75 -75
  673. package/dist/wellknown.js +80 -80
  674. package/dist/workspace/driver.js +3 -3
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +75 -75
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +8 -8
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +88 -88
  681. package/dist/worktree.js +95 -95
  682. package/package.json +8 -8
  683. package/dist/chunks/location-0mesazry.js +0 -4
  684. package/dist/chunks/location-64ezs4vy.js +0 -247
  685. package/dist/chunks/location-by5v678g.js +0 -18
  686. /package/dist/chunks/{location-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{location-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{location-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{location-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{location-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{location-24dcb14g.js → file-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{location-2710q6r3.js → file-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{location-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{location-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{location-359p4xyc.js → file-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{location-3asan66x.js → file-3asan66x.js} +0 -0
  697. /package/dist/chunks/{location-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{location-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{location-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{location-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{location-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{location-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{location-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{location-53557ph1.js → file-53557ph1.js} +0 -0
  705. /package/dist/chunks/{location-550bvhaj.js → file-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{location-6prwharc.js → file-6prwharc.js} +0 -0
  707. /package/dist/chunks/{location-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{location-7m9af43g.js → file-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{location-822emrt2.js → file-822emrt2.js} +0 -0
  710. /package/dist/chunks/{location-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{location-8n3pysct.js → file-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{location-922hggd3.js → file-922hggd3.js} +0 -0
  713. /package/dist/chunks/{location-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{location-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{location-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{location-af5trqkr.js → file-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{location-afrmfg78.js → file-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{location-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{location-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{location-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{location-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{location-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{location-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{location-d9fn303g.js → file-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{location-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{location-dajrwvna.js → file-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{location-dap0rakb.js → file-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{location-df08tz66.js → file-df08tz66.js} +0 -0
  729. /package/dist/chunks/{location-dy18nga0.js → file-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{location-e3qxr5gk.js → file-e3qxr5gk.js} +0 -0
  731. /package/dist/chunks/{location-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{location-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{location-ec1grn59.js → file-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{location-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{location-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{location-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{location-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{location-faypxj3z.js → file-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{location-fd410y7t.js → file-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{location-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{location-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{location-g86h250q.js → file-g86h250q.js} +0 -0
  743. /package/dist/chunks/{location-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{location-gftt206x.js → file-gftt206x.js} +0 -0
  745. /package/dist/chunks/{location-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{location-hk9envan.js → file-hk9envan.js} +0 -0
  747. /package/dist/chunks/{location-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{location-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{location-jjkms2e6.js → file-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{location-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{location-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{location-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{location-mp448xyj.js → file-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{location-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{location-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{location-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{location-njntx4h6.js → file-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{location-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{location-q74kybfr.js → file-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{location-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{location-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{location-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{location-qg3g05ea.js → file-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{location-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{location-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{location-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{location-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{location-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{location-twg0f83k.js → file-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{location-w803qqfp.js → file-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{location-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{location-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{location-wtztk69x.js → file-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{location-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{location-x61499pn.js → file-x61499pn.js} +0 -0
  776. /package/dist/chunks/{location-y44na4kk.js → file-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{location-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{location-y8f7s663.js → file-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{location-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{location-ym463w8f.js → file-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{location-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-wvng7zrg.js";
4
+ } from "./file-c5dg5qah.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./location-r3n1f5t9.js";
8
+ } from "./file-v39rhahm.js";
9
+ import {
10
+ Service49,
11
+ node51
12
+ } from "./file-2hg7403c.js";
9
13
  import {
10
14
  Service44,
11
15
  node46
12
- } from "./location-r3648v35.js";
13
- import {
14
- Service42,
15
- node44
16
- } from "./location-sxzvkvgj.js";
16
+ } from "./file-51f5btjf.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-ec1grn59.js";
19
+ } from "./file-ec1grn59.js";
20
20
  import {
21
21
  make16
22
- } from "./location-yp2x3t23.js";
22
+ } from "./file-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service39
26
- } from "./location-06x8he3q.js";
25
+ Service41
26
+ } from "./file-zcrspsvn.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./location-wgsyq2g2.js";
29
+ } from "./file-bjmdedkt.js";
30
30
  import {
31
- Service55,
32
- node57
33
- } from "./location-1z8e5f7y.js";
31
+ Service47,
32
+ node49
33
+ } from "./file-f0kq08np.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./location-2m31qgzj.js";
36
+ } from "./file-hestywzr.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./location-1gqsytf7.js";
39
+ } from "./file-8ts4f0wa.js";
40
40
  import {
41
41
  __export
42
- } from "./location-9rqn6x4v.js";
42
+ } from "./file-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service38,
47
+ Service: () => Service40,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer18,
50
- node: () => node41,
51
- noopLayer: () => noopLayer3,
49
+ layer: () => layer16,
50
+ node: () => node43,
51
+ noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service38 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service40 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer18 = Layer.effect(Service38, Effect.gen(function* () {
69
- const store = yield* Service55;
70
- const instances = yield* Service42;
68
+ var layer16 = Layer.effect(Service40, Effect.gen(function* () {
69
+ const store = yield* Service47;
70
+ const instances = yield* Service44;
71
71
  const bus = yield* Service81;
72
- const jobs = yield* Service44;
72
+ const jobs = yield* Service49;
73
73
  const db = (yield* Service82).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,7 +82,7 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service41.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
@@ -109,7 +109,7 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service38.of({
112
+ return Service40.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node41 = makeGlobalNode({
132
- service: Service38,
133
- layer: layer18,
134
- deps: [node57, node44, node85, node86, node46]
131
+ var node43 = makeGlobalNode({
132
+ service: Service40,
133
+ layer: layer16,
134
+ deps: [node49, node46, node85, node86, node51]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service38, Service38.of({
136
+ var noopLayer2 = Layer.succeed(Service40, Service40.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service38, Service38.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service38, terminal2, layer18, node41, noopLayer3, exports_execution };
145
+ export { Service40, terminal2, layer16, node43, noopLayer2, exports_execution };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./location-ec1grn59.js";
3
+ } from "./file-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./location-2m31qgzj.js";
6
+ } from "./file-hestywzr.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make4,
16
+ make: () => make7,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
96
96
  return true;
97
97
  })
98
98
  });
99
- var make4 = (bus, sessionID) => Effect.gen(function* () {
99
+ var make7 = (bus, sessionID) => Effect.gen(function* () {
100
100
  const decide = yield* policy2(sessionID);
101
101
  const wait = (input) => Effect.gen(function* () {
102
102
  const scheduled = yield* Clock.currentTimeMillis;
@@ -113,4 +113,4 @@ var make4 = (bus, sessionID) => Effect.gen(function* () {
113
113
  return { decide, wait };
114
114
  });
115
115
 
116
- export { isRetryable2, policy2, transient2, make4, exports_retry };
116
+ export { isRetryable2, policy2, transient2, make7, exports_retry };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID12
3
- } from "./location-a5dv1fsr.js";
2
+ ID13
3
+ } from "./file-fz6z0z24.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./location-hjbc5kem.js";
6
+ } from "./file-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 !== ID12.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID12.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./location-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service59
7
- } from "./location-3hk432b6.js";
6
+ Service65
7
+ } from "./file-36ne1e23.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./location-2a5m3afh.js";
10
+ } from "./file-2a5m3afh.js";
11
11
  import {
12
- Service70
13
- } from "./location-n5dqecfz.js";
12
+ Service69
13
+ } from "./file-m10hdbyk.js";
14
14
  import {
15
- Service44
16
- } from "./location-r3648v35.js";
15
+ Service49
16
+ } from "./file-2hg7403c.js";
17
17
  import {
18
- Service54
19
- } from "./location-vpw3edpt.js";
18
+ Service45
19
+ } from "./file-mck6zt6s.js";
20
20
  import {
21
- Service53,
21
+ Service18,
22
22
  resolvePath2
23
- } from "./location-sxragm8h.js";
23
+ } from "./file-hfm7y40f.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./location-fxbjtjnd.js";
29
+ } from "./file-fxbjtjnd.js";
30
30
  import {
31
- Service51,
31
+ Service71,
32
32
  name15
33
- } from "./location-w27pm9me.js";
33
+ } from "./file-q1c6gfm2.js";
34
34
  import {
35
- NotFoundError6,
36
- Service48
37
- } from "./location-yfccazc5.js";
35
+ NotFoundError9,
36
+ Service62
37
+ } from "./file-mpsnqy3c.js";
38
38
  import {
39
- Service22
40
- } from "./location-2m8nb1h0.js";
39
+ Service23
40
+ } from "./file-qfv7kwmk.js";
41
41
  import {
42
42
  scan2
43
- } from "./location-50hhjvx3.js";
43
+ } from "./file-ah70y75m.js";
44
44
  import {
45
45
  __export
46
- } from "./location-9rqn6x4v.js";
46
+ } from "./file-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input12,
53
- Plugin: () => Plugin32,
54
- ShellTool: () => exports_shell2,
55
- name: () => name12
52
+ Input: () => Input5,
53
+ Plugin: () => Plugin6,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name5
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name12 = "shell";
59
+ var name5 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input12 = Schema.Struct({
73
+ var Input5 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin32 = {
118
+ var Plugin6 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service22;
122
- const jobs = yield* Service44;
121
+ const sessions = yield* Service23;
122
+ const jobs = yield* Service49;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service70;
125
- const access = yield* Service53;
126
- const shell = yield* Service48;
127
- const shellSelect = yield* Service51;
124
+ const environment = yield* Service69;
125
+ const access = yield* Service18;
126
+ const shell = yield* Service62;
127
+ const shellSelect = yield* Service71;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service54;
130
- const config = yield* Service59;
129
+ const permission = yield* Service45;
130
+ const config = yield* Service65;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin32 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name12,
149
+ action: name5,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin32 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name12,
186
+ name: name5,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input12,
189
+ input: Input5,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin32 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError6({ id: info.id });
208
+ return yield* new NotFoundError9({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name12,
222
+ type: name5,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name12];
252
+ const tool = event.tools[name5];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin32, exports_shell2 };
263
+ export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin6, exports_shell };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./location-vpw3edpt.js";
3
+ } from "./file-mck6zt6s.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin45
12
+ Plugin: () => Plugin40
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin45 = define({
32
+ var Plugin40 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin45, exports_plan };
109
+ export { Plugin40, exports_plan };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service81,
4
4
  node85
5
- } from "./location-r3n1f5t9.js";
5
+ } from "./file-v39rhahm.js";
6
6
  import {
7
7
  __export
8
- } from "./location-9rqn6x4v.js";
8
+ } from "./file-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service9,
14
+ Service: () => Service7,
15
15
  Updated: () => Updated2,
16
- layer: () => layer7,
17
- node: () => node11
16
+ layer: () => layer6,
17
+ node: () => node9
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service9 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service7 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer7 = Layer.effect(Service9, Effect.gen(function* () {
25
+ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
26
26
  const bus = yield* Service81;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service9.of({
29
+ return Service7.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node11 = makeGlobalNode({ service: Service9, layer: layer7, deps: [node85] });
36
+ var node9 = makeGlobalNode({ service: Service7, layer: layer6, deps: [node85] });
37
37
 
38
- export { Updated2, Service9, layer7, node11, exports_sdk };
38
+ export { Updated2, Service7, layer6, node9, exports_sdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./location-kf11waxr.js";
3
+ } from "./file-5fgw95me.js";
4
4
  import {
5
- ID13,
5
+ ID14,
6
6
  MethodID2
7
- } from "./location-swqfa4q3.js";
7
+ } from "./file-305s6fsh.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./location-pjvnvgmy.js";
11
+ } from "./file-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID13.make("poe");
17
+ var integrationID = ID14.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";