@opencode/core 0.0.0-dev-20359 → 0.0.0-dev-20360

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 (800) 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 +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{workspace-d8q4jj3q.js → credential-04e1yqay.js} +20 -20
  8. package/dist/chunks/{workspace-6cqpxvp7.js → credential-0bc61wjf.js} +12 -12
  9. package/dist/chunks/{workspace-5enjc9kj.js → credential-0gqv3qc4.js} +9 -9
  10. package/dist/chunks/{workspace-5je6ahr9.js → credential-0p9070wt.js} +23 -23
  11. package/dist/chunks/{workspace-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{workspace-2p623br6.js → credential-0ryd0fps.js} +5 -5
  13. package/dist/chunks/{workspace-a4amtzg2.js → credential-0smkj3y4.js} +43 -43
  14. package/dist/chunks/{workspace-987cgqwa.js → credential-0vs09wn3.js} +9 -9
  15. package/dist/chunks/{workspace-vasrcznk.js → credential-0z9fggxj.js} +14 -14
  16. package/dist/chunks/{workspace-x4jv5vb5.js → credential-0znnjg06.js} +19 -19
  17. package/dist/chunks/{workspace-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{workspace-jcr6t940.js → credential-1fwvf67m.js} +11 -11
  19. package/dist/chunks/{workspace-0jtjgnd7.js → credential-1zsnqtzs.js} +13 -13
  20. package/dist/chunks/{workspace-21r38tys.js → credential-21r38tys.js} +1 -1
  21. package/dist/chunks/{workspace-3wc6ggek.js → credential-29qtweaw.js} +21 -21
  22. package/dist/chunks/{workspace-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{workspace-wj2j7jcc.js → credential-2drh6w9c.js} +22 -22
  24. package/dist/chunks/{workspace-rd66r63n.js → credential-2npzgc2q.js} +3 -3
  25. package/dist/chunks/{workspace-re831bdp.js → credential-2phzajzt.js} +31 -31
  26. package/dist/chunks/{workspace-jxma9bgh.js → credential-2typzmmc.js} +29 -29
  27. package/dist/chunks/{workspace-ex0pka66.js → credential-2xwkyk0m.js} +5 -5
  28. package/dist/chunks/{workspace-gs3s1a1g.js → credential-30846h32.js} +8 -8
  29. package/dist/chunks/{workspace-maq8crnd.js → credential-30gprf1d.js} +11 -11
  30. package/dist/chunks/{workspace-m6q4hanw.js → credential-32ymn5e1.js} +6 -6
  31. package/dist/chunks/{workspace-g6km6r9m.js → credential-3a86qk9h.js} +15 -15
  32. package/dist/chunks/{workspace-dp1rnrcc.js → credential-3cngkzkk.js} +20 -20
  33. package/dist/chunks/{workspace-fhbpyr5f.js → credential-3csh498x.js} +5 -5
  34. package/dist/chunks/{workspace-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{workspace-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{workspace-2jvjmskk.js → credential-3pe3cw95.js} +31 -31
  37. package/dist/chunks/{workspace-4mwpykj0.js → credential-3ppptnan.js} +6 -6
  38. package/dist/chunks/{workspace-a8gf35f3.js → credential-3r916n3t.js} +6 -6
  39. package/dist/chunks/{workspace-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{workspace-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{workspace-j2gahf3s.js → credential-3wers1sj.js} +20 -20
  42. package/dist/chunks/{workspace-3zsf4n22.js → credential-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{workspace-7t3sew6m.js → credential-47h7tx69.js} +5 -5
  44. package/dist/chunks/{workspace-52zrzax5.js → credential-4cwgcsq7.js} +11 -11
  45. package/dist/chunks/{workspace-59h4mhd4.js → credential-4fwtqxnv.js} +17 -17
  46. package/dist/chunks/{workspace-1xg3275b.js → credential-4pf7hmpg.js} +13 -13
  47. package/dist/chunks/{workspace-yzrz4qk4.js → credential-4r4k6gyt.js} +16 -16
  48. package/dist/chunks/{workspace-khc6q2z0.js → credential-52vf1pv4.js} +15 -15
  49. package/dist/chunks/{workspace-q5c722pm.js → credential-53dszk21.js} +24 -24
  50. package/dist/chunks/{workspace-54ma36ye.js → credential-54ma36ye.js} +1 -1
  51. package/dist/chunks/{workspace-mfqp6xfm.js → credential-56gdpj1q.js} +6 -6
  52. package/dist/chunks/{workspace-57ez7d0k.js → credential-57ez7d0k.js} +2 -2
  53. package/dist/chunks/{workspace-wpm2rk0p.js → credential-5bdbc12f.js} +6 -6
  54. package/dist/chunks/{workspace-5daktx2q.js → credential-5daktx2q.js} +1 -1
  55. package/dist/chunks/{workspace-g373kk4k.js → credential-5jbme0dy.js} +5 -5
  56. package/dist/chunks/{workspace-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{workspace-t7h3wj9w.js → credential-5ytafwqr.js} +44 -44
  58. package/dist/chunks/{workspace-afed7ext.js → credential-607q5haz.js} +5 -5
  59. package/dist/chunks/credential-619r8v3y.js +18 -0
  60. package/dist/chunks/{workspace-5d0c5ad8.js → credential-61gbp7xt.js} +16 -16
  61. package/dist/chunks/{workspace-669tq793.js → credential-669tq793.js} +1 -1
  62. package/dist/chunks/{workspace-mmdjb5nv.js → credential-6ahf2jbm.js} +8 -8
  63. package/dist/chunks/{workspace-b7gemn6d.js → credential-6btajet3.js} +11 -11
  64. package/dist/chunks/{workspace-kqs8v9eh.js → credential-6g0am89f.js} +4 -4
  65. package/dist/chunks/{workspace-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{workspace-y7x142mt.js → credential-6n88yxkj.js} +8 -8
  67. package/dist/chunks/{workspace-0zwreqvq.js → credential-6s8gfz9t.js} +6 -6
  68. package/dist/chunks/{workspace-qsnec2sf.js → credential-6xsqxv1p.js} +9 -9
  69. package/dist/chunks/{workspace-80f8ra5w.js → credential-6y8y59xk.js} +11 -11
  70. package/dist/chunks/{workspace-wysdjmt2.js → credential-75dq6h5a.js} +15 -15
  71. package/dist/chunks/{workspace-e7gqmxbr.js → credential-75m27ksb.js} +13 -13
  72. package/dist/chunks/{workspace-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{workspace-6ksk10bg.js → credential-7d6d5frt.js} +24 -24
  74. package/dist/chunks/{workspace-sw8qz8bf.js → credential-7g2rjez8.js} +37 -37
  75. package/dist/chunks/{workspace-jj3wfm74.js → credential-7k39p2e0.js} +18 -7
  76. package/dist/chunks/{workspace-dm1py9b3.js → credential-7w99qc9d.js} +3 -3
  77. package/dist/chunks/{workspace-kb6gw2zp.js → credential-7zpeh0yx.js} +4 -4
  78. package/dist/chunks/{workspace-xgjcsjr6.js → credential-83zgddb3.js} +36 -36
  79. package/dist/chunks/{workspace-av3tbz7h.js → credential-848zse2m.js} +13 -13
  80. package/dist/chunks/{workspace-w1eejvng.js → credential-84txncab.js} +5 -5
  81. package/dist/chunks/{workspace-jjs74g98.js → credential-84zt2byv.js} +9 -9
  82. package/dist/chunks/{workspace-d5t0ryg1.js → credential-870z7kx6.js} +1 -1
  83. package/dist/chunks/{workspace-9rj7ywpq.js → credential-87fx34tv.js} +11 -11
  84. package/dist/chunks/{workspace-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{workspace-7bzp0d3c.js → credential-8pk9ts4g.js} +5 -5
  86. package/dist/chunks/{workspace-8v6pyhej.js → credential-8v6pyhej.js} +1 -1
  87. package/dist/chunks/{workspace-fmfg6twz.js → credential-903keqrn.js} +8 -8
  88. package/dist/chunks/{workspace-dtjvj8dv.js → credential-9185qsvj.js} +27 -27
  89. package/dist/chunks/{workspace-qdn0q154.js → credential-9280n09q.js} +24 -24
  90. package/dist/chunks/{workspace-94ek1h2f.js → credential-94ek1h2f.js} +2 -2
  91. package/dist/chunks/{workspace-ngtcg17t.js → credential-967s8825.js} +8 -8
  92. package/dist/chunks/{workspace-szh3vrax.js → credential-9cw6d4xs.js} +9 -9
  93. package/dist/chunks/{workspace-b0z85by2.js → credential-9dpvv6bw.js} +13 -13
  94. package/dist/chunks/{workspace-t5m8v8y6.js → credential-9dvwwspr.js} +10 -10
  95. package/dist/chunks/{workspace-n9k80d2m.js → credential-9wncg805.js} +8 -8
  96. package/dist/chunks/{workspace-6w7cfkdj.js → credential-a2ep968a.js} +7 -7
  97. package/dist/chunks/{workspace-6t4hr8r6.js → credential-a2rpfkac.js} +4 -4
  98. package/dist/chunks/{workspace-j9qb7fb2.js → credential-a6w30j4s.js} +9 -9
  99. package/dist/chunks/{workspace-n01j6b4q.js → credential-a8sp9t89.js} +12 -12
  100. package/dist/chunks/{workspace-aaet6srn.js → credential-aaet6srn.js} +2 -2
  101. package/dist/chunks/{workspace-hf1pa3fg.js → credential-aesn9jmf.js} +10 -10
  102. package/dist/chunks/{workspace-0k8f4c0k.js → credential-ahewrzjd.js} +11 -11
  103. package/dist/chunks/{workspace-hvcd2htz.js → credential-akcwy8f5.js} +29 -29
  104. package/dist/chunks/{workspace-gg7e4432.js → credential-amdc3z30.js} +5 -5
  105. package/dist/chunks/{workspace-9tkh92yn.js → credential-amekftng.js} +27 -27
  106. package/dist/chunks/{workspace-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{workspace-pmr4s4kc.js → credential-bct739vz.js} +4 -4
  108. package/dist/chunks/{workspace-s1kmd63q.js → credential-bddt2pqj.js} +15 -15
  109. package/dist/chunks/{workspace-22xq6rx4.js → credential-bgtqdj6f.js} +4 -4
  110. package/dist/chunks/{workspace-x2k3yq52.js → credential-bhcpdcvk.js} +16 -16
  111. package/dist/chunks/{workspace-ktnepc1b.js → credential-bkms2a7d.js} +67 -67
  112. package/dist/chunks/{workspace-p391mv5r.js → credential-bw8ezstw.js} +7 -7
  113. package/dist/chunks/{workspace-a0afhmy4.js → credential-c0kxmb28.js} +43 -43
  114. package/dist/chunks/{workspace-wbbhybet.js → credential-c6805mng.js} +21 -21
  115. package/dist/chunks/{workspace-2mq1h16s.js → credential-c765mh8b.js} +9 -9
  116. package/dist/chunks/{workspace-megef7mv.js → credential-c9wvx4hd.js} +10 -10
  117. package/dist/chunks/{workspace-166t1a3y.js → credential-cbgww8ce.js} +24 -24
  118. package/dist/chunks/{workspace-ckecvw8r.js → credential-ckecvw8r.js} +2 -2
  119. package/dist/chunks/{workspace-haztpmzc.js → credential-cqq7jq20.js} +6 -6
  120. package/dist/chunks/{workspace-2hr5nhwa.js → credential-ctz7jbry.js} +8 -8
  121. package/dist/chunks/{workspace-pe7kch95.js → credential-czw2gks2.js} +26 -26
  122. package/dist/chunks/{workspace-g38ra9vv.js → credential-d3954t4j.js} +5 -5
  123. package/dist/chunks/{workspace-xkntkrq7.js → credential-dmqcgk4z.js} +5 -5
  124. package/dist/chunks/{workspace-x661k3y3.js → credential-dnxkq42g.js} +4 -4
  125. package/dist/chunks/{workspace-y71avatq.js → credential-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{workspace-pghjyxz3.js → credential-dq8a20as.js} +11 -11
  127. package/dist/chunks/{workspace-57b9ws8p.js → credential-drwq78ky.js} +5 -5
  128. package/dist/chunks/{workspace-0n0r6k3x.js → credential-dsa8rbxc.js} +17 -17
  129. package/dist/chunks/{workspace-spt9fbav.js → credential-dwvzh0g2.js} +6 -6
  130. package/dist/chunks/{workspace-609adeff.js → credential-dyc80tht.js} +42 -42
  131. package/dist/chunks/{workspace-3grdzngc.js → credential-e3wq1ttc.js} +26 -26
  132. package/dist/chunks/{workspace-c5pd54gy.js → credential-e7710hd6.js} +8 -8
  133. package/dist/chunks/{workspace-ecfe7b91.js → credential-ecfe7b91.js} +2 -2
  134. package/dist/chunks/{workspace-sctspsp8.js → credential-eeqn3rht.js} +25 -25
  135. package/dist/chunks/{workspace-ef5x83kb.js → credential-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{workspace-xmsrnx3p.js → credential-egrah4t7.js} +29 -29
  137. package/dist/chunks/{workspace-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{workspace-gj9znxmq.js → credential-ex4azxym.js} +19 -19
  139. package/dist/chunks/{workspace-rywzfdxh.js → credential-f29mbr7f.js} +4 -4
  140. package/dist/chunks/{workspace-yp2x3t23.js → credential-f2n192rq.js} +4 -4
  141. package/dist/chunks/{workspace-rk2t49m6.js → credential-f75ercvt.js} +34 -34
  142. package/dist/chunks/{workspace-gd0ajznh.js → credential-fpgps28a.js} +41 -41
  143. package/dist/chunks/{workspace-gx70k8vt.js → credential-fqbhfcjp.js} +66 -50
  144. package/dist/chunks/{workspace-365m56hx.js → credential-g119zzvp.js} +7 -7
  145. package/dist/chunks/{workspace-p234cjcc.js → credential-g3j0qegx.js} +9 -9
  146. package/dist/chunks/{workspace-38fpg76h.js → credential-g50tfs4x.js} +1 -1
  147. package/dist/chunks/{workspace-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{workspace-7dntqyrh.js → credential-gk3mvatd.js} +8 -8
  149. package/dist/chunks/{workspace-cxc1f4sh.js → credential-gkh9q6r5.js} +5 -5
  150. package/dist/chunks/{workspace-gv6a8nnw.js → credential-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{workspace-8n2t31b8.js → credential-gz65dbkz.js} +4 -4
  152. package/dist/chunks/{workspace-7pr2hkwv.js → credential-h6b02349.js} +5 -5
  153. package/dist/chunks/{workspace-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{workspace-qs3fdmq5.js → credential-ha8wqv5x.js} +6 -6
  155. package/dist/chunks/{workspace-ch351t34.js → credential-hf2z2aq1.js} +6 -6
  156. package/dist/chunks/{workspace-0njgvdwy.js → credential-hfaq9h6q.js} +25 -25
  157. package/dist/chunks/{workspace-6hdpv820.js → credential-hmrpbdxr.js} +3 -3
  158. package/dist/chunks/{workspace-2vs2nh1n.js → credential-hn57h045.js} +4 -4
  159. package/dist/chunks/{workspace-2w78a64w.js → credential-hs3bg854.js} +29 -29
  160. package/dist/chunks/{workspace-4m6nhjq1.js → credential-hyaya0nw.js} +16 -16
  161. package/dist/chunks/{workspace-mmjzft12.js → credential-j29ewdw0.js} +2 -2
  162. package/dist/chunks/{workspace-j14xg3fh.js → credential-j3j90dte.js} +12 -12
  163. package/dist/chunks/{workspace-j56e64zr.js → credential-j56e64zr.js} +1 -1
  164. package/dist/chunks/{workspace-nak702g0.js → credential-j8dtq6y3.js} +20 -20
  165. package/dist/chunks/{workspace-3mgjdyz7.js → credential-ja41pfcf.js} +24 -24
  166. package/dist/chunks/{workspace-f6eyqz7h.js → credential-je1n680z.js} +25 -25
  167. package/dist/chunks/{workspace-510m7gjw.js → credential-jv01nqvq.js} +5 -5
  168. package/dist/chunks/{workspace-zf1fk0v2.js → credential-jy3q8cv1.js} +7 -7
  169. package/dist/chunks/{workspace-a8bn8zg0.js → credential-k2h4r4s0.js} +4 -4
  170. package/dist/chunks/{workspace-k3c624dm.js → credential-k3c624dm.js} +3 -3
  171. package/dist/chunks/{workspace-273zbexb.js → credential-k3d00yp3.js} +8 -8
  172. package/dist/chunks/{workspace-mh8yxg4b.js → credential-kct9520v.js} +12 -12
  173. package/dist/chunks/{workspace-dgr42h9h.js → credential-kgzt0mfa.js} +3 -3
  174. package/dist/chunks/{workspace-rc2sfy9r.js → credential-khf3ms8d.js} +10 -10
  175. package/dist/chunks/{workspace-kzc3h1h3.js → credential-kkp8zx71.js} +4 -4
  176. package/dist/chunks/{workspace-5krfbr7p.js → credential-kr5r2322.js} +17 -17
  177. package/dist/chunks/{workspace-m3fdjcah.js → credential-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{workspace-ywwxwnda.js → credential-m7e3szd5.js} +13 -13
  179. package/dist/chunks/{workspace-aw1jas3v.js → credential-m9f54dp4.js} +23 -23
  180. package/dist/chunks/{workspace-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{workspace-sqsaqrgg.js → credential-mbgsk580.js} +24 -24
  182. package/dist/chunks/{workspace-an4batsq.js → credential-mfdc5s1p.js} +29 -29
  183. package/dist/chunks/{workspace-vyaa4tze.js → credential-mqvz5ney.js} +9 -9
  184. package/dist/chunks/{workspace-wgtcm0m7.js → credential-mvksx64m.js} +4 -4
  185. package/dist/chunks/{workspace-qkf6gvgz.js → credential-mvqxaapf.js} +11 -11
  186. package/dist/chunks/{workspace-23pvap42.js → credential-mx39dx40.js} +7 -7
  187. package/dist/chunks/{workspace-2sjp2rx5.js → credential-myx5pz82.js} +17 -17
  188. package/dist/chunks/{workspace-39zkfw6n.js → credential-n34gk992.js} +23 -23
  189. package/dist/chunks/{workspace-7732sr32.js → credential-n88a24bz.js} +28 -28
  190. package/dist/chunks/{workspace-cg3j3sj2.js → credential-nh77mpes.js} +11 -11
  191. package/dist/chunks/{workspace-0vwkra70.js → credential-nk7ac7sg.js} +8 -8
  192. package/dist/chunks/{workspace-9v18rkg6.js → credential-nmfttajv.js} +26 -26
  193. package/dist/chunks/{workspace-g84cjvn9.js → credential-nng2ktcm.js} +2 -2
  194. package/dist/chunks/{workspace-ahp2gs6p.js → credential-nrqbvhrj.js} +15 -15
  195. package/dist/chunks/{workspace-x3b45c7h.js → credential-nye6styw.js} +24 -24
  196. package/dist/chunks/{workspace-af04s6ss.js → credential-p44d8wdy.js} +5 -5
  197. package/dist/chunks/{workspace-35agz59w.js → credential-pf2hb43r.js} +4 -4
  198. package/dist/chunks/{workspace-1sznmg0n.js → credential-pfcz9sqy.js} +5 -5
  199. package/dist/chunks/{workspace-d5jmfkqv.js → credential-pjtv0hnk.js} +11 -11
  200. package/dist/chunks/{workspace-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{workspace-pknna89w.js → credential-pknna89w.js} +1 -1
  202. package/dist/chunks/{workspace-795kcfpc.js → credential-py16vch9.js} +25 -25
  203. package/dist/chunks/{workspace-xnj1nhcy.js → credential-q51p3dvy.js} +22 -22
  204. package/dist/chunks/{workspace-0smrbp39.js → credential-q5g2qkjb.js} +48 -48
  205. package/dist/chunks/{workspace-4yxb5t6h.js → credential-q811ynmw.js} +33 -33
  206. package/dist/chunks/{workspace-w19bbebh.js → credential-qdqrq8q9.js} +3 -3
  207. package/dist/chunks/{workspace-vfbvqc9n.js → credential-qf2zcmdt.js} +18 -18
  208. package/dist/chunks/{workspace-607tc6va.js → credential-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{workspace-d6e8xd99.js → credential-qkenf8ew.js} +11 -11
  210. package/dist/chunks/{workspace-vekn316g.js → credential-qp35zjhz.js} +21 -21
  211. package/dist/chunks/{workspace-y86ytwkf.js → credential-qqc4m8yb.js} +17 -17
  212. package/dist/chunks/{workspace-qsdy395h.js → credential-qsdy395h.js} +1 -1
  213. package/dist/chunks/{workspace-mvfsc1pv.js → credential-r5x6zcsm.js} +3 -3
  214. package/dist/chunks/{workspace-qa3qhgw8.js → credential-ratrq7cm.js} +4 -4
  215. package/dist/chunks/{workspace-dfgaaeg0.js → credential-rcv1z36m.js} +12 -12
  216. package/dist/chunks/{workspace-as89bwzh.js → credential-rd6b7xd8.js} +6 -6
  217. package/dist/chunks/{workspace-rdw6cm16.js → credential-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{workspace-ph33e0th.js → credential-res4mv3n.js} +26 -26
  219. package/dist/chunks/{workspace-2zmfhp2c.js → credential-rghjtt8s.js} +9 -9
  220. package/dist/chunks/{workspace-02nrjc1r.js → credential-rhjbct0v.js} +6 -6
  221. package/dist/chunks/{workspace-2tsm52y3.js → credential-rk1r2hx8.js} +1 -1
  222. package/dist/chunks/{workspace-w92k2e0p.js → credential-rkprpv83.js} +8 -8
  223. package/dist/chunks/{workspace-8sc9trf7.js → credential-rmg27sy1.js} +10 -10
  224. package/dist/chunks/{workspace-rcce6csd.js → credential-rpwk60st.js} +24 -24
  225. package/dist/chunks/{workspace-5r63gr7v.js → credential-rv46xap4.js} +83 -83
  226. package/dist/chunks/{workspace-042m1axd.js → credential-rz106t8w.js} +4 -4
  227. package/dist/chunks/{workspace-7fg0zqgq.js → credential-s1g44hj8.js} +45 -45
  228. package/dist/chunks/{workspace-cm793v40.js → credential-scsjx6k2.js} +20 -20
  229. package/dist/chunks/{workspace-yjgm4wcb.js → credential-sffmc9nc.js} +170 -170
  230. package/dist/chunks/{workspace-6fatt4mk.js → credential-sk2hk6tq.js} +9 -9
  231. package/dist/chunks/{workspace-58qjwad6.js → credential-sp64v9sw.js} +20 -20
  232. package/dist/chunks/{workspace-kecz6zd2.js → credential-spsefvqx.js} +17 -17
  233. package/dist/chunks/{workspace-bags37mz.js → credential-ssecb20m.js} +13 -13
  234. package/dist/chunks/{workspace-hpgrj06s.js → credential-t1pf2w0e.js} +27 -27
  235. package/dist/chunks/{workspace-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{workspace-89znhe33.js → credential-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{workspace-tdstcens.js → credential-tdstcens.js} +1 -1
  238. package/dist/chunks/{workspace-m4c0hmgr.js → credential-tdy047wr.js} +23 -23
  239. package/dist/chunks/{workspace-kjtsr4k8.js → credential-tm8tq2ex.js} +12 -12
  240. package/dist/chunks/{workspace-dj9sq318.js → credential-tn0aqsam.js} +5 -5
  241. package/dist/chunks/{workspace-ha1a9vn7.js → credential-tq4jq2s5.js} +41 -41
  242. package/dist/chunks/{workspace-tvtrv512.js → credential-tvtrv512.js} +1 -1
  243. package/dist/chunks/{workspace-bkymrhgh.js → credential-tz6ja4zj.js} +24 -24
  244. package/dist/chunks/{workspace-pp4y3v5z.js → credential-v512vev1.js} +5 -5
  245. package/dist/chunks/{workspace-w0cm7t4f.js → credential-v7hfm648.js} +83 -83
  246. package/dist/chunks/{workspace-vp6c7j34.js → credential-ve08z9fz.js} +43 -43
  247. package/dist/chunks/{workspace-tt5smvf2.js → credential-vedgbhsv.js} +9 -9
  248. package/dist/chunks/{workspace-veqvce7d.js → credential-veqvce7d.js} +1 -1
  249. package/dist/chunks/{workspace-8ta0krmw.js → credential-vp5pmtp7.js} +26 -26
  250. package/dist/chunks/{workspace-xd4155nf.js → credential-vpezmzvj.js} +16 -16
  251. package/dist/chunks/{workspace-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{workspace-vzs5sf6e.js → credential-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{workspace-pcfn9t39.js → credential-w1nx6pka.js} +11 -11
  254. package/dist/chunks/{workspace-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{workspace-t7m81bzt.js → credential-wc3dm7y9.js} +20 -20
  256. package/dist/chunks/{workspace-emfscqt4.js → credential-wck86893.js} +30 -30
  257. package/dist/chunks/{workspace-wd3x2cqz.js → credential-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{workspace-wd87259q.js → credential-wd87259q.js} +1 -1
  259. package/dist/chunks/{workspace-d762xrq4.js → credential-ws7geqk2.js} +316 -316
  260. package/dist/chunks/{workspace-kxar1n7f.js → credential-wvqbabj3.js} +11 -11
  261. package/dist/chunks/{workspace-p9pevwxx.js → credential-wye7wwv1.js} +25 -25
  262. package/dist/chunks/{workspace-x4z0ydwa.js → credential-wzvva4fg.js} +15 -15
  263. package/dist/chunks/{workspace-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{workspace-k51mr0ff.js → credential-x5nwq7sz.js} +37 -37
  265. package/dist/chunks/{workspace-66kez2h7.js → credential-x8rbqhnh.js} +10 -10
  266. package/dist/chunks/{workspace-gnh8e0g9.js → credential-xfqdq6f4.js} +8 -8
  267. package/dist/chunks/{workspace-brg2881f.js → credential-xh5d7yn4.js} +8 -8
  268. package/dist/chunks/{workspace-mgmaefw5.js → credential-xsxzmn3v.js} +6 -6
  269. package/dist/chunks/{workspace-7tggkdet.js → credential-xtfr2a7s.js} +17 -17
  270. package/dist/chunks/{workspace-r8p8ps6c.js → credential-xtshptfy.js} +8 -8
  271. package/dist/chunks/{workspace-4t72cs1k.js → credential-xyx26n42.js} +3 -3
  272. package/dist/chunks/{workspace-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{workspace-2e222wf4.js → credential-yc6cck3c.js} +20 -20
  274. package/dist/chunks/{workspace-4tbjs8wm.js → credential-yg076965.js} +30 -30
  275. package/dist/chunks/{workspace-qhac4xeb.js → credential-yn9wwxkv.js} +18 -18
  276. package/dist/chunks/{workspace-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/credential-yrmjxgh6.js +26 -0
  278. package/dist/chunks/{workspace-yrznvahk.js → credential-yrznvahk.js} +2 -2
  279. package/dist/chunks/{workspace-90hnf2pp.js → credential-yweces30.js} +35 -35
  280. package/dist/chunks/{workspace-rsczgrzb.js → credential-z01xxs7v.js} +2 -2
  281. package/dist/chunks/{workspace-z07pqspn.js → credential-z07pqspn.js} +3 -3
  282. package/dist/chunks/{workspace-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{workspace-z63w68vq.js → credential-z63w68vq.js} +2 -2
  284. package/dist/chunks/{workspace-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{workspace-3k76vmqf.js → credential-zhpm82pg.js} +18 -18
  286. package/dist/chunks/{workspace-jfb6jrkz.js → credential-zjan7maf.js} +21 -21
  287. package/dist/chunks/{workspace-dbdfkxme.js → credential-zjvnwc4k.js} +17 -17
  288. package/dist/chunks/{workspace-pz73s8hm.js → credential-zp72hf0n.js} +12 -12
  289. package/dist/chunks/{workspace-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/credential-zsr1emfb.js +252 -0
  291. package/dist/chunks/{workspace-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{workspace-hh91cbnw.js → credential-zya4esrg.js} +4 -4
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +120 -120
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.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 +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  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 +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +113 -95
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +107 -107
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +1 -1
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +120 -120
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +74 -74
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +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 +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +4 -4
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +230 -230
  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/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +82 -82
  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 +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +118 -118
  597. package/dist/session/model-transport.js +7 -7
  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 +232 -232
  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 +4 -4
  610. package/dist/session/runner/step.js +124 -124
  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 +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +155 -155
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +215 -215
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +219 -219
  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 +105 -105
  634. package/dist/skill.js +108 -108
  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 +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +120 -120
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +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 +216 -216
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +220 -220
  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 +118 -118
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/types/mcp/client.d.ts +2 -2
  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 +4 -4
  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 +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  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 +76 -76
  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 +80 -80
  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 +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/workspace-b18pqbx3.js +0 -26
  702. package/dist/chunks/workspace-f79kc9pj.js +0 -252
  703. package/dist/chunks/workspace-rap9a73h.js +0 -18
  704. /package/dist/chunks/{workspace-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{workspace-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{workspace-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{workspace-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{workspace-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{workspace-24dcb14g.js → credential-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{workspace-2710q6r3.js → credential-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{workspace-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{workspace-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{workspace-34c7v6d4.js → credential-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{workspace-359p4xyc.js → credential-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{workspace-3asan66x.js → credential-3asan66x.js} +0 -0
  716. /package/dist/chunks/{workspace-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{workspace-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{workspace-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{workspace-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{workspace-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{workspace-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{workspace-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{workspace-53557ph1.js → credential-53557ph1.js} +0 -0
  724. /package/dist/chunks/{workspace-550bvhaj.js → credential-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{workspace-5qd3pb7m.js → credential-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{workspace-6prwharc.js → credential-6prwharc.js} +0 -0
  727. /package/dist/chunks/{workspace-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{workspace-7m9af43g.js → credential-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{workspace-822emrt2.js → credential-822emrt2.js} +0 -0
  730. /package/dist/chunks/{workspace-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{workspace-8n3pysct.js → credential-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{workspace-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{workspace-922hggd3.js → credential-922hggd3.js} +0 -0
  734. /package/dist/chunks/{workspace-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{workspace-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{workspace-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{workspace-af5trqkr.js → credential-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{workspace-afrmfg78.js → credential-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{workspace-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{workspace-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{workspace-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{workspace-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{workspace-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{workspace-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{workspace-d9fn303g.js → credential-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{workspace-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{workspace-dajrwvna.js → credential-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{workspace-dap0rakb.js → credential-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{workspace-df08tz66.js → credential-df08tz66.js} +0 -0
  750. /package/dist/chunks/{workspace-dy18nga0.js → credential-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{workspace-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{workspace-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{workspace-ec1grn59.js → credential-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{workspace-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{workspace-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{workspace-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{workspace-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{workspace-faypxj3z.js → credential-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{workspace-fd410y7t.js → credential-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{workspace-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{workspace-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{workspace-g86h250q.js → credential-g86h250q.js} +0 -0
  763. /package/dist/chunks/{workspace-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{workspace-gftt206x.js → credential-gftt206x.js} +0 -0
  765. /package/dist/chunks/{workspace-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{workspace-hk9envan.js → credential-hk9envan.js} +0 -0
  767. /package/dist/chunks/{workspace-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{workspace-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{workspace-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{workspace-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{workspace-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{workspace-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{workspace-mp448xyj.js → credential-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{workspace-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{workspace-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{workspace-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{workspace-njntx4h6.js → credential-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{workspace-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{workspace-q74kybfr.js → credential-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{workspace-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{workspace-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{workspace-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{workspace-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{workspace-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{workspace-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{workspace-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{workspace-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{workspace-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{workspace-w803qqfp.js → credential-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{workspace-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{workspace-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{workspace-wtztk69x.js → credential-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{workspace-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{workspace-x61499pn.js → credential-x61499pn.js} +0 -0
  795. /package/dist/chunks/{workspace-y44na4kk.js → credential-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{workspace-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{workspace-y8f7s663.js → credential-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{workspace-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{workspace-ym463w8f.js → credential-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{workspace-z9919s4g.js → credential-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service83
3
- } from "./workspace-hh91cbnw.js";
3
+ } from "./credential-zya4esrg.js";
4
4
  import {
5
- Service77
6
- } from "./workspace-8sc9trf7.js";
5
+ Service70
6
+ } from "./credential-rmg27sy1.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./workspace-rdw6cm16.js";
12
+ } from "./credential-rdw6cm16.js";
13
13
  import {
14
- Service33,
14
+ Service35,
15
15
  awaitActivation2
16
- } from "./workspace-rap9a73h.js";
16
+ } from "./credential-619r8v3y.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./workspace-yjgm4wcb.js";
21
+ } from "./credential-sffmc9nc.js";
22
22
  import {
23
23
  __export
24
- } from "./workspace-9rqn6x4v.js";
24
+ } from "./credential-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event2,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event4,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service33,
33
+ Service: () => Service35,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node17
37
+ node: () => node21
38
38
  });
39
- import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service33, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
44
44
  const bus = yield* Service83;
45
- const kv = yield* Service77;
45
+ const kv = yield* Service70;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service33.of({
208
+ return Service35.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node17 = Node.makeLocationNode({
226
- service: Service33,
225
+ var node21 = Node.makeLocationNode({
226
+ service: Service35,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node17, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
231
+ export { node21, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node66
4
- } from "./workspace-hf1pa3fg.js";
3
+ node73
4
+ } from "./credential-aesn9jmf.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./workspace-hh91cbnw.js";
8
+ } from "./credential-zya4esrg.js";
9
9
  import {
10
- ID12,
11
- Service67,
12
- node70
13
- } from "./workspace-jfb6jrkz.js";
10
+ ID11,
11
+ Service71,
12
+ node75
13
+ } from "./credential-zjan7maf.js";
14
14
  import {
15
- ID9,
15
+ ID16,
16
16
  OAuth3
17
- } from "./workspace-4tbjs8wm.js";
17
+ } from "./credential-yg076965.js";
18
18
  import {
19
- ID8,
19
+ ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service62,
24
- node64
25
- } from "./workspace-emfscqt4.js";
23
+ Service77,
24
+ node81
25
+ } from "./credential-wck86893.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./workspace-922hggd3.js";
28
+ } from "./credential-922hggd3.js";
29
29
  import {
30
30
  Info32,
31
31
  Ref4,
32
32
  Service80,
33
33
  node84
34
- } from "./workspace-mmjzft12.js";
34
+ } from "./credential-j29ewdw0.js";
35
35
  import {
36
- ID7,
37
- Service61,
38
- node63
39
- } from "./workspace-2w78a64w.js";
36
+ ID13,
37
+ Service76,
38
+ node80
39
+ } from "./credential-hs3bg854.js";
40
40
  import {
41
- Service45,
42
- node47
43
- } from "./workspace-80f8ra5w.js";
41
+ Service74,
42
+ node78
43
+ } from "./credential-6y8y59xk.js";
44
44
  import {
45
- Service46,
46
- node48
47
- } from "./workspace-3wc6ggek.js";
45
+ Service44,
46
+ node46
47
+ } from "./credential-29qtweaw.js";
48
48
  import {
49
- Service77,
50
- node81
51
- } from "./workspace-8sc9trf7.js";
49
+ Service70,
50
+ node74
51
+ } from "./credential-rmg27sy1.js";
52
52
  import {
53
- Service68,
54
- node71
55
- } from "./workspace-p234cjcc.js";
53
+ Service52,
54
+ node54
55
+ } from "./credential-g3j0qegx.js";
56
56
  import {
57
- ID6,
58
- Service54,
59
- node56
60
- } from "./workspace-xmsrnx3p.js";
57
+ ID12,
58
+ Service75,
59
+ node79
60
+ } from "./credential-egrah4t7.js";
61
61
  import {
62
- ID15
63
- } from "./workspace-8ta0krmw.js";
62
+ ID7
63
+ } from "./credential-vp5pmtp7.js";
64
64
  import {
65
- Service36,
66
- node39
67
- } from "./workspace-gx70k8vt.js";
65
+ Service34,
66
+ node38
67
+ } from "./credential-fqbhfcjp.js";
68
68
  import {
69
- Service69,
70
- node72
71
- } from "./workspace-gs3s1a1g.js";
69
+ Service67,
70
+ node70
71
+ } from "./credential-30846h32.js";
72
72
  import {
73
73
  Service64,
74
74
  node67
75
- } from "./workspace-609adeff.js";
75
+ } from "./credential-dyc80tht.js";
76
76
  import {
77
- Service59,
78
- node61
79
- } from "./workspace-p9pevwxx.js";
77
+ Service42,
78
+ node44
79
+ } from "./credential-wye7wwv1.js";
80
80
  import {
81
81
  Source4,
82
- Service57,
83
- node59
84
- } from "./workspace-pe7kch95.js";
82
+ Service48,
83
+ node50
84
+ } from "./credential-czw2gks2.js";
85
85
  import {
86
- Info6,
87
- Service38,
88
- node41
89
- } from "./workspace-t7m81bzt.js";
86
+ Info8,
87
+ Service45,
88
+ node47
89
+ } from "./credential-wc3dm7y9.js";
90
90
  import {
91
- Service25,
92
- node28
93
- } from "./workspace-5r63gr7v.js";
91
+ Service23,
92
+ node26
93
+ } from "./credential-rv46xap4.js";
94
94
  import {
95
- Service71,
96
- node74
97
- } from "./workspace-9tkh92yn.js";
95
+ Service20,
96
+ node23
97
+ } from "./credential-amekftng.js";
98
98
  import {
99
- Service24,
100
- node27
101
- } from "./workspace-maq8crnd.js";
99
+ Service21,
100
+ node24
101
+ } from "./credential-30gprf1d.js";
102
102
  import {
103
- Service16,
104
- node19
105
- } from "./workspace-4m6nhjq1.js";
103
+ Service19,
104
+ node22
105
+ } from "./credential-hyaya0nw.js";
106
106
  import {
107
- ID3,
108
- Service17,
109
- node20
110
- } from "./workspace-0njgvdwy.js";
107
+ ID6,
108
+ Service54,
109
+ node56
110
+ } from "./credential-hfaq9h6q.js";
111
111
  import {
112
- Service21,
113
- node24
114
- } from "./workspace-xd4155nf.js";
112
+ Service51,
113
+ node53
114
+ } from "./credential-vpezmzvj.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info4,
117
+ Info10,
118
118
  ListEntry3,
119
- Service20,
120
- node23
121
- } from "./workspace-k51mr0ff.js";
119
+ Service50,
120
+ node52
121
+ } from "./credential-x5nwq7sz.js";
122
122
  import {
123
- Service15,
124
- node18
125
- } from "./workspace-f6eyqz7h.js";
123
+ Service72,
124
+ node76
125
+ } from "./credential-je1n680z.js";
126
126
  import {
127
127
  __export
128
- } from "./workspace-9rqn6x4v.js";
128
+ } from "./credential-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service67;
147
- const aisdk = yield* Service45;
148
- const providers = yield* Service61;
149
- const models = yield* Service54;
150
- const commands = yield* Service46;
146
+ const agents = yield* Service71;
147
+ const aisdk = yield* Service74;
148
+ const providers = yield* Service76;
149
+ const models = yield* Service75;
150
+ const commands = yield* Service44;
151
151
  const bus = yield* Service83;
152
- const integration = yield* Service62;
153
- const kv = yield* Service77;
154
- const mcp = yield* Service36;
152
+ const integration = yield* Service77;
153
+ const kv = yield* Service70;
154
+ const mcp = yield* Service34;
155
155
  const location = yield* Service80;
156
- const reference = yield* Service57;
157
- const rpc = yield* Service24;
158
- const skill = yield* Service38;
159
- const tools = yield* Service59;
160
- const vcs = yield* Service16;
161
- const websearch = yield* Service17;
162
- const generate = yield* Service15;
156
+ const reference = yield* Service48;
157
+ const rpc = yield* Service21;
158
+ const skill = yield* Service45;
159
+ const tools = yield* Service42;
160
+ const vcs = yield* Service19;
161
+ const websearch = yield* Service54;
162
+ const generate = yield* Service72;
163
163
  const permission = yield* Service64;
164
- const hooks = yield* Service69;
165
- const sessions = yield* Service25;
166
- const persistentPty = yield* Service71;
167
- const locations = yield* Service68;
168
- const worktrees = yield* Service20;
169
- const worktreeStrategies = yield* Service21;
164
+ const hooks = yield* Service67;
165
+ const sessions = yield* Service23;
166
+ const persistentPty = yield* Service20;
167
+ const locations = yield* Service52;
168
+ const worktrees = yield* Service50;
169
+ const worktreeStrategies = yield* Service51;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info32({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID15.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info4);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info10);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
185
  const location = yield* Service80;
186
- const agents = yield* Service67;
186
+ const agents = yield* Service71;
187
187
  return {
188
188
  location: new Info32({
189
189
  directory: location.directory,
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID12.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID12.make(id)),
222
- update: (id, update) => editor.update(ID12.make(id), update),
223
- remove: (id) => editor.remove(ID12.make(id))
220
+ get: (id) => mutable(editor.get(ID11.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
222
+ update: (id, update) => editor.update(ID11.make(id), update),
223
+ remove: (id) => editor.remove(ID11.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -254,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
254
254
  },
255
255
  provider: {
256
256
  list: () => response(providers.available()),
257
- get: (input) => providers.get(ID7.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
257
+ get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
258
  reload: providers.reload,
259
259
  transform: (callback) => providers.transform((editor) => {
260
260
  callback({
261
261
  list: editor.list,
262
- get: (id) => editor.get(ID7.make(id)),
262
+ get: (id) => editor.get(ID13.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID9.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
- update: (id, update) => editor.update(ID7.make(id), update),
268
- remove: (id) => editor.remove(ID7.make(id)),
267
+ update: (id, update) => editor.update(ID13.make(id), update),
268
+ remove: (id) => editor.remove(ID13.make(id)),
269
269
  models: {
270
- set: (id, models) => editor.models.set(ID7.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID7.make(providerID), ID6.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID7.make(providerID), ID6.make(modelID))
270
+ set: (id, models) => editor.models.set(ID13.make(id), models),
271
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -279,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
279
279
  default: () => response(models.default()),
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID7.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID7.make(providerID), ID6.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID7.make(providerID), ID6.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID7.make(providerID), ID6.make(modelID)),
282
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
283
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID7.make(providerID), ID6.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
292
- get: (id) => editor.provider.get(ID7.make(id))
292
+ get: (id) => editor.provider.get(ID13.make(id))
293
293
  }
294
294
  }))
295
295
  },
@@ -312,14 +312,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
312
312
  integration: {
313
313
  list: () => response(integration.list()),
314
314
  get: Effect.fn(function* (input) {
315
- const item = yield* integration.get(ID8.make(input.integrationID));
315
+ const item = yield* integration.get(ID14.make(input.integrationID));
316
316
  if (!item)
317
317
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
318
318
  return yield* response(Effect.succeed(item));
319
319
  }),
320
320
  connect: {
321
321
  key: (input) => integration.connection.key({
322
- integrationID: ID8.make(input.integrationID),
322
+ integrationID: ID14.make(input.integrationID),
323
323
  key: input.key,
324
324
  answer: input.answer,
325
325
  label: input.label
@@ -327,60 +327,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
327
327
  },
328
328
  oauth: {
329
329
  connect: (input) => response(integration.oauth.connect({
330
- integrationID: ID8.make(input.integrationID),
330
+ integrationID: ID14.make(input.integrationID),
331
331
  methodID: MethodID2.make(input.methodID),
332
332
  answer: input.answer,
333
333
  label: input.label
334
334
  })),
335
335
  status: (input) => response(integration.oauth.status({
336
- integrationID: ID8.make(input.integrationID),
336
+ integrationID: ID14.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })),
339
339
  complete: (input) => integration.oauth.complete({
340
- integrationID: ID8.make(input.integrationID),
340
+ integrationID: ID14.make(input.integrationID),
341
341
  attemptID: AttemptID2.make(input.attemptID),
342
342
  code: input.code
343
343
  }),
344
344
  cancel: (input) => integration.oauth.cancel({
345
- integrationID: ID8.make(input.integrationID),
345
+ integrationID: ID14.make(input.integrationID),
346
346
  attemptID: AttemptID2.make(input.attemptID)
347
347
  })
348
348
  },
349
349
  command: {
350
350
  connect: (input) => response(integration.command.connect({
351
- integrationID: ID8.make(input.integrationID),
351
+ integrationID: ID14.make(input.integrationID),
352
352
  methodID: MethodID2.make(input.methodID),
353
353
  label: input.label
354
354
  })),
355
355
  status: (input) => response(integration.command.status({
356
- integrationID: ID8.make(input.integrationID),
356
+ integrationID: ID14.make(input.integrationID),
357
357
  attemptID: AttemptID2.make(input.attemptID)
358
358
  })),
359
359
  cancel: (input) => integration.command.cancel({
360
- integrationID: ID8.make(input.integrationID),
360
+ integrationID: ID14.make(input.integrationID),
361
361
  attemptID: AttemptID2.make(input.attemptID)
362
362
  })
363
363
  },
364
364
  reload: integration.reload,
365
365
  connection: {
366
- active: (id) => integration.connection.active(ID8.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID9.make(connection.id) } : connection),
366
+ active: (id) => integration.connection.active(ID14.make(id)),
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection),
368
368
  status: (input) => integration.connection.status({
369
- integrationID: ID8.make(input.integrationID),
370
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID9.make(input.connection.id) } : input.connection,
369
+ integrationID: ID14.make(input.integrationID),
370
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID16.make(input.connection.id) } : input.connection,
371
371
  status: input.status
372
372
  })
373
373
  },
374
374
  transform: (callback) => integration.transform((editor) => {
375
375
  callback({
376
376
  list: () => mutable(editor.list()),
377
- get: (id) => mutable(editor.get(ID8.make(id))),
378
- update: (id, update) => editor.update(ID8.make(id), update),
379
- remove: (id) => editor.remove(ID8.make(id)),
377
+ get: (id) => mutable(editor.get(ID14.make(id))),
378
+ update: (id, update) => editor.update(ID14.make(id), update),
379
+ remove: (id) => editor.remove(ID14.make(id)),
380
380
  method: {
381
- list: (id) => editor.method.list(ID8.make(id)),
381
+ list: (id) => editor.method.list(ID14.make(id)),
382
382
  update: (input) => editor.method.update(methodImplementation(input)),
383
- remove: (id, method) => editor.method.remove(ID8.make(id), Schema.decodeUnknownSync(Method2)(method))
383
+ remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
384
384
  }
385
385
  });
386
386
  })
@@ -391,7 +391,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
391
391
  if (ref && !isCurrentLocation(ref))
392
392
  return Effect.gen(function* () {
393
393
  const location = yield* Service80;
394
- const mcp = yield* Service36;
394
+ const mcp = yield* Service34;
395
395
  return {
396
396
  location: new Info32({
397
397
  directory: location.directory,
@@ -442,7 +442,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
442
442
  callback({
443
443
  list: () => mutable(editor.list()),
444
444
  get: editor.get,
445
- add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
445
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
446
446
  update: editor.update,
447
447
  remove: editor.remove
448
448
  });
@@ -473,19 +473,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
473
473
  providers: () => response(websearch.providers()),
474
474
  query: (input) => response(websearch.query({
475
475
  query: input.query,
476
- providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
476
+ providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
477
477
  })),
478
478
  reload: websearch.reload,
479
479
  transform: (callback) => websearch.transform((editor) => {
480
480
  callback({
481
481
  add: (definition) => editor.add({
482
- id: ID3.make(definition.id),
482
+ id: ID6.make(definition.id),
483
483
  name: definition.name,
484
484
  execute: definition.execute
485
485
  }),
486
486
  default: {
487
487
  get: editor.default.get,
488
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
488
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
489
489
  }
490
490
  });
491
491
  })
@@ -545,31 +545,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
545
545
  return context;
546
546
  });
547
547
  var requirements3 = LayerNode.group([
548
- node66,
549
- node70,
550
- node47,
551
- node63,
552
- node56,
553
- node48,
548
+ node73,
549
+ node75,
550
+ node78,
551
+ node80,
552
+ node79,
553
+ node46,
554
554
  node87,
555
- node64,
556
555
  node81,
557
- node39,
556
+ node74,
557
+ node38,
558
558
  node84,
559
- node59,
560
- node27,
561
- node41,
562
- node61,
563
- node19,
564
- node20,
565
- node23,
559
+ node50,
566
560
  node24,
567
- node18,
561
+ node47,
562
+ node44,
563
+ node22,
564
+ node56,
565
+ node52,
566
+ node53,
567
+ node76,
568
568
  node67,
569
- node72,
570
- node28,
571
- node74,
572
- node71
569
+ node70,
570
+ node26,
571
+ node23,
572
+ node54
573
573
  ]);
574
574
  function storage2(kv, pluginID) {
575
575
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -596,7 +596,7 @@ function methodImplementation(input) {
596
596
  if ("authorize" in input) {
597
597
  const refresh = input.refresh;
598
598
  return {
599
- integrationID: ID8.make(input.integrationID),
599
+ integrationID: ID14.make(input.integrationID),
600
600
  method: { ...input.method, id: MethodID2.make(input.method.id) },
601
601
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
602
602
  if (authorization.mode === "auto") {
@@ -616,18 +616,18 @@ function methodImplementation(input) {
616
616
  }
617
617
  if (input.method.type === "env") {
618
618
  return {
619
- integrationID: ID8.make(input.integrationID),
619
+ integrationID: ID14.make(input.integrationID),
620
620
  method: input.method
621
621
  };
622
622
  }
623
623
  if (input.method.type === "command") {
624
624
  return {
625
- integrationID: ID8.make(input.integrationID),
625
+ integrationID: ID14.make(input.integrationID),
626
626
  method: { ...input.method, id: MethodID2.make(input.method.id) }
627
627
  };
628
628
  }
629
629
  return {
630
- integrationID: ID8.make(input.integrationID),
630
+ integrationID: ID14.make(input.integrationID),
631
631
  method: input.method
632
632
  };
633
633
  }