@opencode/core 0.0.0-dev-20091 → 0.0.0-dev-20097

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{rpc-t550f9t1.js → agent-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{rpc-r9w3djhf.js → agent-0996nyz8.js} +5 -5
  9. package/dist/chunks/{rpc-607tc6va.js → agent-0jwsre1p.js} +5 -5
  10. package/dist/chunks/{rpc-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{rpc-m4zcmsxf.js → agent-0x0enb5q.js} +9 -9
  12. package/dist/chunks/{rpc-hb491ctm.js → agent-0yxqwdtr.js} +40 -40
  13. package/dist/chunks/{rpc-a9rrkws0.js → agent-10xd58z0.js} +3 -3
  14. package/dist/chunks/{rpc-raz4feyj.js → agent-180z65gf.js} +26 -26
  15. package/dist/chunks/{rpc-wpm2rk0p.js → agent-187249xp.js} +6 -6
  16. package/dist/chunks/{rpc-v34za21y.js → agent-195jkryp.js} +37 -37
  17. package/dist/chunks/{rpc-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{rpc-p5fj36b1.js → agent-1jdf3fxk.js} +11 -11
  19. package/dist/chunks/{rpc-m6e83zq9.js → agent-1qmbbwgh.js} +315 -315
  20. package/dist/chunks/{rpc-rvnvjbyr.js → agent-1t756eex.js} +10 -10
  21. package/dist/chunks/{rpc-9a3peswj.js → agent-207sxyyq.js} +7 -7
  22. package/dist/chunks/{rpc-21r38tys.js → agent-21r38tys.js} +1 -1
  23. package/dist/chunks/{rpc-6h73sxmp.js → agent-2402vzrj.js} +5 -5
  24. package/dist/chunks/{rpc-r77c5ftj.js → agent-27eedk78.js} +26 -26
  25. package/dist/chunks/{rpc-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{rpc-wnyecskh.js → agent-2h5wpswp.js} +13 -13
  27. package/dist/chunks/{rpc-anpt4zzg.js → agent-2pn7pm4n.js} +50 -50
  28. package/dist/chunks/{rpc-c0gceaw5.js → agent-2q5q7rph.js} +20 -20
  29. package/dist/chunks/{rpc-fwx7zfd0.js → agent-2v3kphkq.js} +7 -7
  30. package/dist/chunks/{rpc-ez47arx5.js → agent-37s12vcn.js} +2 -2
  31. package/dist/chunks/{rpc-zvxnxwje.js → agent-3dwfd5y2.js} +3 -3
  32. package/dist/chunks/{rpc-0jd7kznf.js → agent-3f7398v7.js} +20 -20
  33. package/dist/chunks/{rpc-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{rpc-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{rpc-fz9n0x27.js → agent-3jy1139n.js} +33 -33
  36. package/dist/chunks/{rpc-kt3xrw1h.js → agent-3mmdgdjj.js} +6 -6
  37. package/dist/chunks/{rpc-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{rpc-140nrjv3.js → agent-3tnqn7ww.js} +11 -11
  39. package/dist/chunks/{rpc-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{rpc-q80jy5e4.js → agent-3vsgk2p7.js} +14 -14
  41. package/dist/chunks/{rpc-8rxxwv2n.js → agent-3zjyq5kp.js} +11 -11
  42. package/dist/chunks/{rpc-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{rpc-855brr7v.js → agent-40c61p32.js} +25 -25
  44. package/dist/chunks/{rpc-h5cr8bz1.js → agent-433eb07g.js} +8 -8
  45. package/dist/chunks/{rpc-zznvadtc.js → agent-4378a0hc.js} +10 -10
  46. package/dist/chunks/{rpc-h21e9eav.js → agent-439r14a2.js} +9 -9
  47. package/dist/chunks/{rpc-277eer69.js → agent-4bm5ja14.js} +4 -4
  48. package/dist/chunks/{rpc-5pyghbdh.js → agent-4snp72qp.js} +29 -29
  49. package/dist/chunks/{rpc-fcehmy4h.js → agent-4tb9kxn6.js} +6 -6
  50. package/dist/chunks/{rpc-0f99d1kc.js → agent-4vtve4mp.js} +2 -2
  51. package/dist/chunks/{rpc-m0yf1xgy.js → agent-4yxx405s.js} +26 -26
  52. package/dist/chunks/{rpc-mjymc32g.js → agent-50mzsvk4.js} +4 -4
  53. package/dist/chunks/{rpc-1ygqh575.js → agent-56gdpj1q.js} +9 -9
  54. package/dist/chunks/{rpc-d9s573fh.js → agent-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{rpc-mtfg2rzp.js → agent-5cr33wy9.js} +11 -11
  56. package/dist/chunks/{rpc-5daktx2q.js → agent-5daktx2q.js} +1 -1
  57. package/dist/chunks/{rpc-5ekn9679.js → agent-5ekn9679.js} +1 -1
  58. package/dist/chunks/{rpc-wamymaxn.js → agent-5gs1xt34.js} +13 -13
  59. package/dist/chunks/{rpc-p5b6a9hg.js → agent-5j37ws3e.js} +28 -24
  60. package/dist/chunks/{rpc-djfjcras.js → agent-5kdwdsfr.js} +11 -11
  61. package/dist/chunks/{rpc-365yjnh1.js → agent-5q306sn2.js} +4 -4
  62. package/dist/chunks/{rpc-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{rpc-skeqeh4r.js → agent-5v30z6ja.js} +26 -26
  64. package/dist/chunks/{rpc-fk21bvkt.js → agent-5w978569.js} +74 -74
  65. package/dist/chunks/{rpc-t2120bsy.js → agent-5z7c0ntw.js} +16 -16
  66. package/dist/chunks/{rpc-97qf1wn9.js → agent-61xdzkjd.js} +9 -9
  67. package/dist/chunks/{rpc-669tq793.js → agent-669tq793.js} +1 -1
  68. package/dist/chunks/{rpc-rk5cbm42.js → agent-6eezz40m.js} +5 -5
  69. package/dist/chunks/{rpc-p0jg9bfb.js → agent-6fkaw2xz.js} +8 -8
  70. package/dist/chunks/agent-6kdq0pjd.js +4 -0
  71. package/dist/chunks/{rpc-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{rpc-hcj02zej.js → agent-6qckwf5w.js} +52 -52
  73. package/dist/chunks/{rpc-vv3pxcp1.js → agent-6xscy18h.js} +13 -13
  74. package/dist/chunks/{rpc-cv1dxnrk.js → agent-71wjg4kw.js} +2 -2
  75. package/dist/chunks/{rpc-4yb3jyry.js → agent-75ftyfa0.js} +9 -9
  76. package/dist/chunks/{rpc-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{rpc-t0qwt8g4.js → agent-7hgr463c.js} +5 -5
  78. package/dist/chunks/{rpc-jvg2fp71.js → agent-7k9dqqsg.js} +22 -22
  79. package/dist/chunks/{rpc-v9n78xjr.js → agent-7ksjx2k2.js} +43 -43
  80. package/dist/chunks/{rpc-89znhe33.js → agent-89znhe33.js} +1 -1
  81. package/dist/chunks/{rpc-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{rpc-s680c22m.js → agent-8ek8aczr.js} +13 -13
  83. package/dist/chunks/{rpc-7tbbnpg4.js → agent-8hhx35dq.js} +4 -4
  84. package/dist/chunks/{rpc-dz3ef1v7.js → agent-8j3kf1eb.js} +27 -27
  85. package/dist/chunks/{rpc-daehv13z.js → agent-8qtvggd8.js} +17 -17
  86. package/dist/chunks/{rpc-r33vza2m.js → agent-8s95nyqa.js} +5 -5
  87. package/dist/chunks/{rpc-5yzzbxa7.js → agent-8v6pyhej.js} +8 -8
  88. package/dist/chunks/{rpc-nwvqacg0.js → agent-8vggh432.js} +15 -15
  89. package/dist/chunks/{rpc-3p14h8vg.js → agent-8vkkgngr.js} +6 -6
  90. package/dist/chunks/{rpc-rdx3ran4.js → agent-8yfag9w4.js} +11 -11
  91. package/dist/chunks/{rpc-f5440hnn.js → agent-8zmehegn.js} +20 -20
  92. package/dist/chunks/{rpc-gfvb90ym.js → agent-94ek1h2f.js} +2 -2
  93. package/dist/chunks/{rpc-n7rry9e7.js → agent-95n9ta3s.js} +6 -6
  94. package/dist/chunks/{rpc-shjbm5s5.js → agent-95sbn98w.js} +11 -11
  95. package/dist/chunks/{rpc-c1np9tvh.js → agent-96r286zg.js} +7 -7
  96. package/dist/chunks/{rpc-6vddn0mw.js → agent-970zzb99.js} +11 -11
  97. package/dist/chunks/{rpc-xzzcxeez.js → agent-974apvmy.js} +35 -35
  98. package/dist/chunks/{rpc-abmt9xsc.js → agent-97mkmtmd.js} +16 -16
  99. package/dist/chunks/{rpc-wcdy3eek.js → agent-98mydvev.js} +31 -31
  100. package/dist/chunks/{rpc-vvchgjpn.js → agent-9gnd804a.js} +20 -20
  101. package/dist/chunks/{rpc-8hmg3j7t.js → agent-9jddndyh.js} +43 -43
  102. package/dist/chunks/{rpc-xs2r0fkq.js → agent-9p3rp546.js} +8 -8
  103. package/dist/chunks/{rpc-fd991arp.js → agent-9pswe2t8.js} +12 -12
  104. package/dist/chunks/{rpc-dhy82dgw.js → agent-9pw8sy2q.js} +10 -10
  105. package/dist/chunks/{rpc-qhpxg0gg.js → agent-9wwn998v.js} +168 -168
  106. package/dist/chunks/{rpc-22605frz.js → agent-9y90ydfh.js} +17 -17
  107. package/dist/chunks/agent-9zdhvgqs.js +18 -0
  108. package/dist/chunks/{rpc-khtspwyv.js → agent-a12t2k2w.js} +16 -16
  109. package/dist/chunks/{rpc-tb89zjsd.js → agent-a1a50ys5.js} +5 -5
  110. package/dist/chunks/{rpc-dxrcwhf4.js → agent-a8mfdbqj.js} +3 -3
  111. package/dist/chunks/{rpc-aaet6srn.js → agent-aaet6srn.js} +2 -2
  112. package/dist/chunks/{rpc-e1mcxat9.js → agent-aat21nqc.js} +15 -15
  113. package/dist/chunks/{rpc-w94fp5je.js → agent-aemzcrym.js} +25 -25
  114. package/dist/chunks/{rpc-3fj101ct.js → agent-am1638rj.js} +5 -5
  115. package/dist/chunks/{rpc-xee4y2w1.js → agent-b3xz1q2n.js} +24 -24
  116. package/dist/chunks/{rpc-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{rpc-xpy2chad.js → agent-b6n0f07q.js} +25 -25
  118. package/dist/chunks/{rpc-5tdvja1p.js → agent-ba5zwyng.js} +19 -19
  119. package/dist/chunks/{rpc-5q02cxx3.js → agent-bct739vz.js} +4 -4
  120. package/dist/chunks/{rpc-nn0j7dhb.js → agent-br6g232s.js} +15 -15
  121. package/dist/chunks/{rpc-kvak95fc.js → agent-bt5x84hs.js} +22 -22
  122. package/dist/chunks/{rpc-4fkfxdcb.js → agent-bzfhs60c.js} +26 -26
  123. package/dist/chunks/{rpc-r6kyhk88.js → agent-c3q7hj01.js} +13 -13
  124. package/dist/chunks/{rpc-5kvqrqtt.js → agent-c651xxjb.js} +4 -4
  125. package/dist/chunks/{rpc-baaqp4zd.js → agent-ca7w653e.js} +4 -4
  126. package/dist/chunks/{rpc-fg14c903.js → agent-cc4mce2f.js} +8 -8
  127. package/dist/chunks/{rpc-vbd8trgq.js → agent-cda3cvpx.js} +11 -11
  128. package/dist/chunks/{rpc-xcd0eash.js → agent-cdm0dq9n.js} +6 -6
  129. package/dist/chunks/{rpc-54tcyq79.js → agent-ckecvw8r.js} +2 -2
  130. package/dist/chunks/{rpc-xc69qdhb.js → agent-cktb56xb.js} +6 -6
  131. package/dist/chunks/{rpc-k4bdqcm1.js → agent-crwh5vwx.js} +15 -15
  132. package/dist/chunks/{rpc-cwa6csj7.js → agent-cwa6csj7.js} +2 -2
  133. package/dist/chunks/{rpc-shhtp6sb.js → agent-d6gar2mb.js} +20 -20
  134. package/dist/chunks/{rpc-dmqcgk4z.js → agent-dmqcgk4z.js} +2 -2
  135. package/dist/chunks/{rpc-5npp0aqe.js → agent-dq0v80fr.js} +5 -5
  136. package/dist/chunks/{rpc-drwq78ky.js → agent-drwq78ky.js} +1 -1
  137. package/dist/chunks/{rpc-dq1j01v1.js → agent-dzmmerrf.js} +7 -7
  138. package/dist/chunks/{rpc-vybe5h7b.js → agent-e4t91rn4.js} +13 -13
  139. package/dist/chunks/{rpc-7dps8r9t.js → agent-e57neqwz.js} +1 -1
  140. package/dist/chunks/{rpc-cqg8v4c7.js → agent-e6hd9jay.js} +6 -6
  141. package/dist/chunks/{rpc-3h7rs62d.js → agent-e8tny9qf.js} +3 -3
  142. package/dist/chunks/{rpc-9eadg5yg.js → agent-ef05nmcp.js} +4 -4
  143. package/dist/chunks/{rpc-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{rpc-7wmac47h.js → agent-emyyb3h7.js} +22 -22
  145. package/dist/chunks/{rpc-1g1f653b.js → agent-epd79qdj.js} +6 -6
  146. package/dist/chunks/{rpc-erw5rpbs.js → agent-erw5rpbs.js} +2 -2
  147. package/dist/chunks/{rpc-ze5v0a14.js → agent-et0rkxxj.js} +8 -8
  148. package/dist/chunks/{rpc-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{rpc-6ysrkrkr.js → agent-f5gy8qwh.js} +8 -8
  150. package/dist/chunks/{rpc-8q7cq0y1.js → agent-f5syc60y.js} +3 -3
  151. package/dist/chunks/{rpc-z2he3694.js → agent-ffqrm4dy.js} +25 -25
  152. package/dist/chunks/{rpc-rhnbcme6.js → agent-fgfb0b2k.js} +14 -14
  153. package/dist/chunks/{rpc-9wpgsbre.js → agent-fhs97t90.js} +9 -9
  154. package/dist/chunks/{rpc-92safqaw.js → agent-fj6am7we.js} +30 -30
  155. package/dist/chunks/{rpc-8fyhndsy.js → agent-fpcmhq1w.js} +15 -15
  156. package/dist/chunks/{rpc-0ak84vrq.js → agent-fq21n8kg.js} +5 -5
  157. package/dist/chunks/{rpc-fscv18x6.js → agent-fwpx9avw.js} +48 -48
  158. package/dist/chunks/{rpc-ctfk3r7m.js → agent-g4nf9hqv.js} +12 -12
  159. package/dist/chunks/{rpc-t6vsspdg.js → agent-g8d3gcyj.js} +4 -4
  160. package/dist/chunks/{rpc-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{rpc-shqkqfxq.js → agent-gf8f2rcw.js} +20 -20
  162. package/dist/chunks/{rpc-v7417wvt.js → agent-gmf134c1.js} +28 -28
  163. package/dist/chunks/{rpc-fdz38t3m.js → agent-grg0hm6f.js} +29 -29
  164. package/dist/chunks/{rpc-92swnv4m.js → agent-gs3s1a1g.js} +8 -8
  165. package/dist/chunks/{rpc-yyb7tjpc.js → agent-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{rpc-e77v5w2a.js → agent-h0yxpfzn.js} +3 -3
  167. package/dist/chunks/{rpc-jqtg2a1d.js → agent-h420pbdz.js} +4 -4
  168. package/dist/chunks/{rpc-epag9pnc.js → agent-h4xnkbg8.js} +31 -31
  169. package/dist/chunks/{rpc-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{rpc-2zb9s7ys.js → agent-hg3pgq27.js} +9 -9
  171. package/dist/chunks/{rpc-jh1ctwrr.js → agent-hm613f1m.js} +16 -16
  172. package/dist/chunks/{rpc-3rcen5fp.js → agent-hp9thjyh.js} +13 -13
  173. package/dist/chunks/{rpc-5h0sskvy.js → agent-hvdqw0fa.js} +7 -7
  174. package/dist/chunks/{rpc-pvnvy7e3.js → agent-hy7mmz7x.js} +1 -1
  175. package/dist/chunks/{rpc-5frpvc34.js → agent-j325xqev.js} +2 -2
  176. package/dist/chunks/{rpc-z6ds88kc.js → agent-j3na2f7t.js} +13 -13
  177. package/dist/chunks/{rpc-j56e64zr.js → agent-j56e64zr.js} +1 -1
  178. package/dist/chunks/{rpc-7a0h28kt.js → agent-j75c8f36.js} +15 -15
  179. package/dist/chunks/{rpc-45pqjn0p.js → agent-j76x6msn.js} +11 -11
  180. package/dist/chunks/{rpc-2d9myqrc.js → agent-jc2w93fw.js} +44 -44
  181. package/dist/chunks/agent-jq4mhrem.js +26 -0
  182. package/dist/chunks/{rpc-km2mv6w2.js → agent-jvv6rca9.js} +9 -9
  183. package/dist/chunks/{rpc-c27pyt7g.js → agent-jvvge85p.js} +20 -20
  184. package/dist/chunks/{rpc-8ss5wpaf.js → agent-jz6frww0.js} +21 -21
  185. package/dist/chunks/{rpc-3n43km23.js → agent-k1qjx27w.js} +5 -5
  186. package/dist/chunks/{rpc-6gcmqch7.js → agent-k1z6zz7b.js} +22 -22
  187. package/dist/chunks/{rpc-k3c624dm.js → agent-k3c624dm.js} +3 -3
  188. package/dist/chunks/{rpc-a3eqt4pv.js → agent-k65r9af3.js} +8 -8
  189. package/dist/chunks/{rpc-em7mzjn4.js → agent-kb3wdknj.js} +6 -6
  190. package/dist/chunks/{rpc-m71bz8xd.js → agent-khsmmeas.js} +8 -8
  191. package/dist/chunks/{rpc-jjzf804t.js → agent-kwrf6mrp.js} +4 -4
  192. package/dist/chunks/{rpc-a39fgh0c.js → agent-kzsyc47h.js} +18 -18
  193. package/dist/chunks/{rpc-k2q04tbx.js → agent-m26c3xec.js} +19 -19
  194. package/dist/chunks/{rpc-q063x1m1.js → agent-m30kdexy.js} +3 -3
  195. package/dist/chunks/{rpc-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
  196. package/dist/chunks/{rpc-ydztx126.js → agent-m6hb8kht.js} +24 -24
  197. package/dist/chunks/{rpc-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{rpc-q14yt9m2.js → agent-mks6kp02.js} +5 -5
  199. package/dist/chunks/{rpc-n8syj9f0.js → agent-mkwsrdpy.js} +16 -16
  200. package/dist/chunks/{rpc-zefabhx4.js → agent-mr4nn3b0.js} +6 -6
  201. package/dist/chunks/{rpc-zeg2a3nt.js → agent-n68d0cf5.js} +14 -14
  202. package/dist/chunks/{rpc-51cfftr3.js → agent-nbzsj80d.js} +8 -8
  203. package/dist/chunks/{rpc-b8k7m099.js → agent-njyz79cc.js} +37 -37
  204. package/dist/chunks/{rpc-h7hht36j.js → agent-nvefxcm9.js} +12 -12
  205. package/dist/chunks/{rpc-vvwdyrxn.js → agent-nyv1j4r3.js} +68 -68
  206. package/dist/chunks/{rpc-vg2e8j6d.js → agent-nyvvhy0p.js} +14 -14
  207. package/dist/chunks/{rpc-5mtzsd3b.js → agent-nzyhnfxz.js} +4 -4
  208. package/dist/chunks/{rpc-6r5j6srn.js → agent-p1jhb79r.js} +6 -6
  209. package/dist/chunks/{rpc-q9b6yydg.js → agent-p28vygmv.js} +24 -24
  210. package/dist/chunks/{rpc-3a0ryv44.js → agent-pjah6pe2.js} +15 -15
  211. package/dist/chunks/{rpc-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{rpc-afseksn3.js → agent-pk5jep21.js} +18 -18
  213. package/dist/chunks/{rpc-pknna89w.js → agent-pknna89w.js} +1 -1
  214. package/dist/chunks/{rpc-v6wj3j48.js → agent-prt5basj.js} +21 -21
  215. package/dist/chunks/{rpc-xvrfjdkf.js → agent-pwa9tev3.js} +24 -24
  216. package/dist/chunks/{rpc-j0dtfmad.js → agent-q10v52aa.js} +11 -11
  217. package/dist/chunks/{rpc-ac7bw970.js → agent-q3zwv4bp.js} +4 -4
  218. package/dist/chunks/{rpc-8rtprbzr.js → agent-q9k0gsh2.js} +42 -42
  219. package/dist/chunks/{rpc-z4am7v83.js → agent-qcfjhy73.js} +33 -33
  220. package/dist/chunks/{rpc-t3swkhbg.js → agent-qn4ba14w.js} +5 -5
  221. package/dist/chunks/{rpc-qsdy395h.js → agent-qsdy395h.js} +1 -1
  222. package/dist/chunks/{rpc-wzz0kxab.js → agent-qsxf26yz.js} +9 -9
  223. package/dist/chunks/agent-qxc1ymac.js +252 -0
  224. package/dist/chunks/{rpc-db69fgnc.js → agent-qyvvmpr4.js} +13 -13
  225. package/dist/chunks/{rpc-bzn0n02h.js → agent-qzq3tp80.js} +5 -5
  226. package/dist/chunks/{rpc-hf4kecbx.js → agent-r40cdba5.js} +13 -13
  227. package/dist/chunks/{rpc-daf1799e.js → agent-r4r17rq4.js} +10 -10
  228. package/dist/chunks/{rpc-73tb2d7t.js → agent-r5x6zcsm.js} +3 -3
  229. package/dist/chunks/{rpc-ampcc59a.js → agent-rabh22kx.js} +30 -30
  230. package/dist/chunks/{rpc-66fn4sgh.js → agent-rcgt23b9.js} +29 -29
  231. package/dist/chunks/{rpc-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  232. package/dist/chunks/{rpc-qt0s1ys5.js → agent-retswvcy.js} +9 -9
  233. package/dist/chunks/{rpc-mphgtbj1.js → agent-rghjtt8s.js} +9 -9
  234. package/dist/chunks/{rpc-44ak30pa.js → agent-rk7s9xkn.js} +4 -4
  235. package/dist/chunks/{rpc-rkprpv83.js → agent-rkprpv83.js} +2 -2
  236. package/dist/chunks/{rpc-3rtxz4nr.js → agent-rqqqmm2x.js} +8 -8
  237. package/dist/chunks/{rpc-670v93wv.js → agent-rv27b6j4.js} +10 -10
  238. package/dist/chunks/{rpc-nnb3zbyy.js → agent-rw9fhyhq.js} +18 -18
  239. package/dist/chunks/{rpc-m2zwv4x1.js → agent-s53zfdxe.js} +23 -23
  240. package/dist/chunks/{rpc-dhd4sqjj.js → agent-s75w71bb.js} +8 -8
  241. package/dist/chunks/{rpc-prejmsyd.js → agent-s7am3t11.js} +29 -29
  242. package/dist/chunks/{rpc-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{rpc-p9303mn1.js → agent-tbj51q56.js} +25 -25
  244. package/dist/chunks/{rpc-tdstcens.js → agent-tdstcens.js} +1 -1
  245. package/dist/chunks/{rpc-tvtrv512.js → agent-tvtrv512.js} +1 -1
  246. package/dist/chunks/{rpc-srmqrt03.js → agent-tw7pwy41.js} +23 -23
  247. package/dist/chunks/{rpc-veqvce7d.js → agent-veqvce7d.js} +1 -1
  248. package/dist/chunks/{rpc-ar5526at.js → agent-vjxaqdq6.js} +41 -41
  249. package/dist/chunks/{rpc-3tyeh7t8.js → agent-vt4rwap3.js} +9 -9
  250. package/dist/chunks/{rpc-32h4nn8p.js → agent-vtpkq4qf.js} +1 -1
  251. package/dist/chunks/{rpc-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{rpc-5d0ac39p.js → agent-w0m74e8e.js} +22 -22
  253. package/dist/chunks/{rpc-dfe4ny7b.js → agent-w1tfbzx8.js} +10 -10
  254. package/dist/chunks/{rpc-0qpy9kbv.js → agent-w21repx7.js} +38 -38
  255. package/dist/chunks/{rpc-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{rpc-1187sa4n.js → agent-w5bpb8j7.js} +20 -20
  257. package/dist/chunks/{rpc-psazpmmj.js → agent-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{rpc-wd87259q.js → agent-wd87259q.js} +1 -1
  259. package/dist/chunks/{rpc-b2a4mx33.js → agent-wgtcm0m7.js} +4 -4
  260. package/dist/chunks/{rpc-egrr39fs.js → agent-wkzkw8tr.js} +6 -6
  261. package/dist/chunks/{rpc-wvyrsy9x.js → agent-wmmy56cc.js} +8 -8
  262. package/dist/chunks/{rpc-8dff8bqa.js → agent-wr7ps67x.js} +5 -5
  263. package/dist/chunks/{rpc-8wad1t3a.js → agent-wrmaeg5p.js} +12 -12
  264. package/dist/chunks/{rpc-cbegqk0n.js → agent-wtzh7vad.js} +16 -16
  265. package/dist/chunks/{rpc-esgwbj3g.js → agent-wvvmmxvm.js} +11 -11
  266. package/dist/chunks/{rpc-gxc4dss7.js → agent-wxjq8k3m.js} +26 -26
  267. package/dist/chunks/{rpc-t2z6k8ec.js → agent-wz2yh3bc.js} +85 -85
  268. package/dist/chunks/{rpc-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{rpc-f62qkzqr.js → agent-x2d9qy7d.js} +5 -5
  270. package/dist/chunks/{rpc-48vq6k8e.js → agent-x5wbyy1f.js} +22 -22
  271. package/dist/chunks/{rpc-zwvyhhtf.js → agent-x6mxy5rc.js} +25 -25
  272. package/dist/chunks/{rpc-5cbbqwkm.js → agent-xf20h1cj.js} +21 -21
  273. package/dist/chunks/{rpc-mj63816a.js → agent-xt2arqya.js} +24 -24
  274. package/dist/chunks/{rpc-0yh7gvmr.js → agent-xy1gf4rw.js} +4 -4
  275. package/dist/chunks/{rpc-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{rpc-z513xpqp.js → agent-y4y8g8ts.js} +43 -43
  277. package/dist/chunks/{rpc-dpkg50ah.js → agent-y71avatq.js} +4 -4
  278. package/dist/chunks/{rpc-ht092jq8.js → agent-ym7x7v54.js} +29 -29
  279. package/dist/chunks/{rpc-1acjjqhc.js → agent-yp2x3t23.js} +4 -4
  280. package/dist/chunks/{rpc-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{rpc-yrznvahk.js → agent-yrznvahk.js} +2 -2
  282. package/dist/chunks/{rpc-54vja5z3.js → agent-yv6fwtq8.js} +12 -12
  283. package/dist/chunks/{rpc-bjtzbw4r.js → agent-z07pqspn.js} +3 -3
  284. package/dist/chunks/{rpc-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{rpc-ap15he75.js → agent-z0pa14ta.js} +10 -10
  286. package/dist/chunks/{rpc-z63w68vq.js → agent-z63w68vq.js} +2 -2
  287. package/dist/chunks/{rpc-rq775frq.js → agent-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{rpc-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{rpc-wwsc9jn3.js → agent-zvtzzjx8.js} +26 -26
  290. package/dist/chunks/{rpc-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{rpc-49waw88t.js → agent-zzvjeq0g.js} +16 -16
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  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 +214 -214
  302. package/dist/config/plugin/compaction.js +162 -162
  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 +85 -85
  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 +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +97 -97
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +98 -98
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +104 -104
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/compaction.js +133 -133
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +4 -4
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +225 -225
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +96 -96
  570. package/dist/reference/instructions.js +85 -85
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +150 -150
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +93 -93
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +214 -214
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +116 -116
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +120 -120
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +6 -6
  658. package/dist/tool.js +12 -12
  659. package/dist/types/tool/read-filesystem.d.ts +1 -0
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +2 -2
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +7 -7
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +74 -74
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +78 -78
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/rpc-8h0es0v7.js +0 -26
  702. package/dist/chunks/rpc-hr9dp009.js +0 -4
  703. package/dist/chunks/rpc-tras7yme.js +0 -252
  704. package/dist/chunks/rpc-vnkjks7b.js +0 -18
  705. /package/dist/chunks/{rpc-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{rpc-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{rpc-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{rpc-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{rpc-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{rpc-24dcb14g.js → agent-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{rpc-2710q6r3.js → agent-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{rpc-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{rpc-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{rpc-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{rpc-359p4xyc.js → agent-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{rpc-3asan66x.js → agent-3asan66x.js} +0 -0
  717. /package/dist/chunks/{rpc-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{rpc-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{rpc-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{rpc-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{rpc-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{rpc-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{rpc-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{rpc-53557ph1.js → agent-53557ph1.js} +0 -0
  725. /package/dist/chunks/{rpc-550bvhaj.js → agent-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{rpc-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{rpc-6prwharc.js → agent-6prwharc.js} +0 -0
  728. /package/dist/chunks/{rpc-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{rpc-7m9af43g.js → agent-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{rpc-822emrt2.js → agent-822emrt2.js} +0 -0
  731. /package/dist/chunks/{rpc-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{rpc-8n3pysct.js → agent-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{rpc-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{rpc-922hggd3.js → agent-922hggd3.js} +0 -0
  735. /package/dist/chunks/{rpc-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{rpc-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{rpc-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{rpc-af5trqkr.js → agent-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{rpc-afrmfg78.js → agent-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{rpc-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{rpc-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{rpc-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{rpc-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{rpc-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{rpc-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{rpc-d9fn303g.js → agent-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{rpc-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{rpc-dajrwvna.js → agent-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{rpc-dap0rakb.js → agent-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{rpc-df08tz66.js → agent-df08tz66.js} +0 -0
  751. /package/dist/chunks/{rpc-dy18nga0.js → agent-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{rpc-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{rpc-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{rpc-ec1grn59.js → agent-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{rpc-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{rpc-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{rpc-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{rpc-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{rpc-faypxj3z.js → agent-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{rpc-fd410y7t.js → agent-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{rpc-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{rpc-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{rpc-g86h250q.js → agent-g86h250q.js} +0 -0
  764. /package/dist/chunks/{rpc-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{rpc-gftt206x.js → agent-gftt206x.js} +0 -0
  766. /package/dist/chunks/{rpc-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{rpc-hk9envan.js → agent-hk9envan.js} +0 -0
  768. /package/dist/chunks/{rpc-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{rpc-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{rpc-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{rpc-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{rpc-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{rpc-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{rpc-mp448xyj.js → agent-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{rpc-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{rpc-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{rpc-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{rpc-njntx4h6.js → agent-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{rpc-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{rpc-q74kybfr.js → agent-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{rpc-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{rpc-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{rpc-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{rpc-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{rpc-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{rpc-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{rpc-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{rpc-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{rpc-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{rpc-w803qqfp.js → agent-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{rpc-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{rpc-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{rpc-wtztk69x.js → agent-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{rpc-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{rpc-x61499pn.js → agent-x61499pn.js} +0 -0
  796. /package/dist/chunks/{rpc-y44na4kk.js → agent-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{rpc-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{rpc-y8f7s663.js → agent-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{rpc-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{rpc-ym463w8f.js → agent-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{rpc-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info7
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info7 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info7 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info7, exports_skills };
21
+ export { Info16, exports_skills };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./rpc-fg14c903.js";
3
+ } from "./agent-cc4mce2f.js";
4
4
  import {
5
5
  Service83
6
- } from "./rpc-ac7bw970.js";
6
+ } from "./agent-q3zwv4bp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./rpc-92safqaw.js";
9
+ Event16
10
+ } from "./agent-fj6am7we.js";
11
11
  import {
12
- ID13,
12
+ ID7,
13
13
  MethodID2
14
- } from "./rpc-5pyghbdh.js";
14
+ } from "./agent-4snp72qp.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./rpc-pjvnvgmy.js";
18
+ } from "./agent-pjvnvgmy.js";
19
19
  import {
20
- ID12,
20
+ ID6,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./rpc-66fn4sgh.js";
23
+ } from "./agent-rcgt23b9.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID13.make("openai"),
47
+ integrationID: ID7.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID13.make("openai"),
120
+ integrationID: ID7.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.provider.transform((providers) => {
181
- const item = providers.get(ID12.openai);
181
+ const item = providers.get(ID6.openai);
182
182
  if (!item)
183
183
  return;
184
184
  const account = chatgpt?.metadata?.accountID;
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
197
197
  });
198
198
  });
199
199
  yield* ctx.model.transform((models) => {
200
- for (const model of models.list(ID12.openai)) {
200
+ for (const model of models.list(ID6.openai)) {
201
201
  models.update(model.providerID, model.id, (draft) => {
202
202
  if (!chatgpt)
203
203
  return;
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
225
225
  evt.baseURL = codexBaseURL;
226
226
  evt.headers.originator = "opencode";
227
227
  evt.headers["session-id"] = evt.sessionID;
228
- }), { providerID: ID12.openai });
228
+ }), { providerID: ID6.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./rpc-fg14c903.js";
3
+ } from "./agent-cc4mce2f.js";
4
4
  import {
5
5
  Service83
6
- } from "./rpc-ac7bw970.js";
6
+ } from "./agent-q3zwv4bp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./rpc-92safqaw.js";
9
+ Event16
10
+ } from "./agent-fj6am7we.js";
11
11
  import {
12
- ID13,
12
+ ID7,
13
13
  MethodID2
14
- } from "./rpc-5pyghbdh.js";
14
+ } from "./agent-4snp72qp.js";
15
15
  import {
16
16
  key2
17
- } from "./rpc-5mtzsd3b.js";
17
+ } from "./agent-nzyhnfxz.js";
18
18
  import {
19
- Service15
20
- } from "./rpc-6ysrkrkr.js";
19
+ Service14
20
+ } from "./agent-f5gy8qwh.js";
21
21
  import {
22
- ID12,
22
+ ID6,
23
23
  mergeOverlay2,
24
24
  mergeHeaders2
25
- } from "./rpc-66fn4sgh.js";
25
+ } from "./agent-rcgt23b9.js";
26
26
  import {
27
- ID3,
28
- Input13,
27
+ ID14,
28
+ Input14,
29
29
  Response2
30
- } from "./rpc-z2he3694.js";
30
+ } from "./agent-ffqrm4dy.js";
31
31
 
32
32
  // src/plugin/provider/opencode.ts
33
33
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
42
42
  var RemoteResponse = Schema.Struct({
43
43
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
44
44
  websearch: Schema.Struct({
45
- providerID: ID3
45
+ providerID: ID14
46
46
  }).pipe(Schema.optional),
47
47
  experimental: Schema.Struct({
48
48
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
67
67
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
68
68
  function oauth(http) {
69
69
  return {
70
- integrationID: ID13.make("opencode"),
70
+ integrationID: ID7.make("opencode"),
71
71
  method: {
72
72
  id: methodID,
73
73
  type: "oauth",
@@ -124,7 +124,7 @@ var OpencodePlugin2 = define({
124
124
  const bus = yield* Service83;
125
125
  const client = yield* HttpClient.HttpClient;
126
126
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
127
- const managed = yield* Service15;
127
+ const managed = yield* Service14;
128
128
  const loading = Semaphore.makeUnsafe(1);
129
129
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
130
130
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
157
157
  providers.update(providerID, (provider) => {
158
158
  if (source && source.provider !== provider)
159
159
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
160
- provider.integrationID = ID13.make("opencode");
160
+ provider.integrationID = ID7.make("opencode");
161
161
  if (item.canonical !== undefined)
162
162
  provider.canonical = item.canonical;
163
163
  if (item.name !== undefined)
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
227
227
  sourceConnection: snapshot.connection
228
228
  });
229
229
  }
230
- const item = providers.get(ID12.opencode);
230
+ const item = providers.get(ID6.opencode);
231
231
  if (!item)
232
232
  return;
233
233
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
239
239
  });
240
240
  });
241
241
  yield* ctx.model.transform((models) => {
242
- const item = models.provider.get(ID12.opencode);
242
+ const item = models.provider.get(ID6.opencode);
243
243
  if (!item)
244
244
  return;
245
245
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -273,7 +273,7 @@ var OpencodePlugin2 = define({
273
273
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
274
274
  const token = credential.type === "oauth" ? credential.access : credential.key;
275
275
  const server = yield* normalizeServer(serverUrl(credential));
276
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
276
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
277
277
  query: input.query,
278
278
  providerID: descriptor.providerID
279
279
  }));
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
295
295
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
296
296
  });
297
297
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
298
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
298
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
299
299
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
300
300
  })
301
301
  });
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./rpc-5mtzsd3b.js";
3
+ } from "./agent-nzyhnfxz.js";
4
4
  import {
5
5
  Service83
6
- } from "./rpc-ac7bw970.js";
6
+ } from "./agent-q3zwv4bp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./rpc-92safqaw.js";
9
+ Event16
10
+ } from "./agent-fj6am7we.js";
11
11
  import {
12
- ID13,
12
+ ID7,
13
13
  MethodID2
14
- } from "./rpc-5pyghbdh.js";
14
+ } from "./agent-4snp72qp.js";
15
15
  import {
16
- ID12,
16
+ ID6,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service68
20
- } from "./rpc-66fn4sgh.js";
19
+ Service62
20
+ } from "./agent-rcgt23b9.js";
21
21
  import {
22
- ID10
23
- } from "./rpc-xpy2chad.js";
22
+ ID5
23
+ } from "./agent-b6n0f07q.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./rpc-mtfg2rzp.js";
27
+ } from "./agent-5cr33wy9.js";
28
28
  import {
29
29
  useragent2
30
- } from "./rpc-fg14c903.js";
30
+ } from "./agent-cc4mce2f.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID13.make("github-copilot"),
62
+ integrationID: ID7.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,7 +157,7 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service68;
160
+ const providers = yield* Service62;
161
161
  const bus = yield* Service83;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID12.githubCopilot);
176
+ const provider = yield* providers.get(ID6.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
178
  try: () => load2(url, {
179
179
  ...provider?.headers,
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID12.githubCopilot);
197
+ const item = evt.get(ID6.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
218
- models.update(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
218
+ models.update(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID12.githubCopilot)
227
+ if (evt.model.providerID !== ID6.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID12.githubCopilot)
236
+ if (evt.model.providerID !== ID6.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID12.githubCopilot });
246
+ }), { providerID: ID6.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID12.githubCopilot)
248
+ if (evt.model.providerID !== ID6.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID12.githubCopilot });
256
+ }), { providerID: ID6.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID12.githubCopilot)
258
+ if (evt.model.providerID !== ID6.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83
3
- } from "./rpc-ac7bw970.js";
3
+ } from "./agent-q3zwv4bp.js";
4
4
  import {
5
5
  key2
6
- } from "./rpc-5mtzsd3b.js";
6
+ } from "./agent-nzyhnfxz.js";
7
7
  import {
8
- Event18
9
- } from "./rpc-92safqaw.js";
8
+ Event16
9
+ } from "./agent-fj6am7we.js";
10
10
  import {
11
- ID13
12
- } from "./rpc-5pyghbdh.js";
11
+ ID7
12
+ } from "./agent-4snp72qp.js";
13
13
  import {
14
- ID12,
15
- Service68
16
- } from "./rpc-66fn4sgh.js";
14
+ ID6,
15
+ Service62
16
+ } from "./agent-rcgt23b9.js";
17
17
  import {
18
18
  load3,
19
19
  derive3
20
- } from "./rpc-fd991arp.js";
20
+ } from "./agent-9pswe2t8.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID12.make("modal");
25
+ var providerID = ID6.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service68;
29
+ const providers = yield* Service62;
30
30
  const bus = yield* Service83;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin24,
11
+ Plugin: () => Plugin7,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin24 = {
67
+ var Plugin7 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin24 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin24, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin7, exports_opencode };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service50,
9
+ Service: () => Service33,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service50 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service33 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service50, exports_runner };
18
+ export { DrainResult2, Service33, exports_runner };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
@@ -9,16 +9,16 @@ __export(exports_app, {
9
9
  Metadata: () => Metadata2,
10
10
  configured: () => configured9,
11
11
  layer: () => layer23,
12
- make: () => make20,
13
- node: () => node68,
12
+ make: () => make19,
13
+ node: () => node63,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make20()
19
+ defaultValue: () => make19()
20
20
  });
21
- function make20(input = {}) {
21
+ function make19(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make20(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer23 = (input) => Layer.succeed(Metadata2, make20(input));
31
+ var layer23 = (input) => Layer.succeed(Metadata2, make19(input));
32
32
  var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
33
- var node68 = configured9();
33
+ var node63 = configured9();
34
34
 
35
- export { Metadata2, make20, useragent2, layer23, configured9, node68, exports_app };
35
+ export { Metadata2, make19, useragent2, layer23, configured9, node63, exports_app };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service37
4
- } from "./rpc-hb491ctm.js";
3
+ Service47
4
+ } from "./agent-0yxqwdtr.js";
5
5
  import {
6
- Service63
7
- } from "./rpc-5tdvja1p.js";
6
+ Service58
7
+ } from "./agent-ba5zwyng.js";
8
8
  import {
9
9
  observe2
10
- } from "./rpc-qsdy395h.js";
10
+ } from "./agent-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./rpc-9rqn6x4v.js";
13
+ } from "./agent-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell2 = {};
17
17
  __export(exports_shell2, {
18
18
  ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin39
19
+ Plugin: () => Plugin23
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin39 = define({
23
+ var Plugin23 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service37;
27
- const shell = yield* Service63;
26
+ const config = yield* Service47;
27
+ const shell = yield* Service58;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin39 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin39, exports_shell2 };
37
+ export { Plugin23, exports_shell2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service52,
10
- node: () => node54
9
+ Service: () => Service35,
10
+ node: () => node37
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service52 extends Context.Service()("@opencode/Instance") {
16
+ class Service35 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node54 = LayerNode.unbound(Service52, Node.tags.values.global);
18
+ var node37 = LayerNode.unbound(Service35, Node.tags.values.global);
19
19
 
20
- export { Service52, node54, exports_service2 };
20
+ export { Service35, node37, exports_service2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./rpc-qfa1cgps.js";
3
+ } from "./agent-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./rpc-psazpmmj.js";
6
+ } from "./agent-wd3x2cqz.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./rpc-5daktx2q.js";
3
+ } from "./agent-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./rpc-922hggd3.js";
6
+ } from "./agent-922hggd3.js";
7
7
  import {
8
- ID5,
8
+ ID3,
9
9
  Name2
10
- } from "./rpc-6gcmqch7.js";
10
+ } from "./agent-k1z6zz7b.js";
11
11
  import {
12
12
  __export
13
- } from "./rpc-9rqn6x4v.js";
13
+ } from "./agent-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID5.make(id),
58
+ id: ID3.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },