@opencode/core 0.0.0-dev-21465 → 0.0.0-dev-21474

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{form-a20pjse5.js → shell-02mvvr71.js} +3 -3
  8. package/dist/chunks/{form-tdwynqds.js → shell-031dz6qq.js} +9 -9
  9. package/dist/chunks/{form-034tev2y.js → shell-034tev2y.js} +2 -2
  10. package/dist/chunks/{form-0javqkgf.js → shell-0javqkgf.js} +2 -2
  11. package/dist/chunks/{form-1w6dzaea.js → shell-0r1sze87.js} +26 -26
  12. package/dist/chunks/{form-0vbcp93d.js → shell-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{form-hzz8n40p.js → shell-0y52mb4t.js} +7 -7
  14. package/dist/chunks/{form-z0rftk5n.js → shell-10fdd7m2.js} +8 -8
  15. package/dist/chunks/{form-3kbekj0y.js → shell-18c04net.js} +22 -22
  16. package/dist/chunks/{form-cmr35qp5.js → shell-1a4k3fgm.js} +26 -26
  17. package/dist/chunks/{form-xpw9xx05.js → shell-1cn4jcr5.js} +29 -29
  18. package/dist/chunks/{form-vxmetbc4.js → shell-1djwqam2.js} +19 -19
  19. package/dist/chunks/{form-jbx74xhg.js → shell-1eezgq1q.js} +11 -11
  20. package/dist/chunks/{form-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{form-jv2rx0fh.js → shell-1wdr2gyj.js} +16 -16
  22. package/dist/chunks/{form-gd8jdxd3.js → shell-1y4t10jc.js} +11 -11
  23. package/dist/chunks/{form-qrj5j2rw.js → shell-2405xxdm.js} +19 -19
  24. package/dist/chunks/{form-mqmr3v55.js → shell-274qjpyr.js} +3 -3
  25. package/dist/chunks/{form-11n2qc1w.js → shell-2bgg218e.js} +22 -22
  26. package/dist/chunks/{form-wp2t38dg.js → shell-2ksy28s1.js} +19 -19
  27. package/dist/chunks/{form-4475rdhr.js → shell-2s6dvjm8.js} +18 -18
  28. package/dist/chunks/{form-5y480sgp.js → shell-30846h32.js} +8 -8
  29. package/dist/chunks/{form-jjb12tdg.js → shell-3db5z6nj.js} +28 -28
  30. package/dist/chunks/{form-zhvzg80z.js → shell-3e6t89rp.js} +5 -5
  31. package/dist/chunks/{form-xh7vdwvp.js → shell-3h206gsx.js} +26 -26
  32. package/dist/chunks/{form-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{form-3hwn7j4h.js → shell-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{form-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{form-kpwafw7z.js → shell-3z47e1q3.js} +13 -13
  36. package/dist/chunks/{form-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{form-mx35zq31.js → shell-4f0dxzkx.js} +44 -44
  38. package/dist/chunks/{form-mxt12g5z.js → shell-4mpfc065.js} +15 -15
  39. package/dist/chunks/{form-me9v5sdg.js → shell-4mysfaem.js} +3 -3
  40. package/dist/chunks/{form-b5sf85zq.js → shell-4x3rb0w8.js} +6 -6
  41. package/dist/chunks/{form-aff53cds.js → shell-4y64nfaj.js} +26 -26
  42. package/dist/chunks/{form-2w245n37.js → shell-4zkkyyzw.js} +15 -15
  43. package/dist/chunks/{form-sjzb79xx.js → shell-518cpg7m.js} +8 -8
  44. package/dist/chunks/{form-4mwpykj0.js → shell-51f5btjf.js} +6 -6
  45. package/dist/chunks/{form-jdtqvfs1.js → shell-53z78fmx.js} +9 -9
  46. package/dist/chunks/{form-54ma36ye.js → shell-54ma36ye.js} +1 -1
  47. package/dist/chunks/{form-0803f5qt.js → shell-55m81wnp.js} +8 -8
  48. package/dist/chunks/{form-cwa6csj7.js → shell-5d607bsg.js} +9 -9
  49. package/dist/chunks/{form-bqae3fjp.js → shell-5drt1p2d.js} +10 -10
  50. package/dist/chunks/{form-pyv0edze.js → shell-5fjb7ams.js} +4 -4
  51. package/dist/chunks/{form-vep9yay1.js → shell-5g57z1ma.js} +4 -4
  52. package/dist/chunks/{form-smctgjrc.js → shell-5m0z0vbp.js} +41 -41
  53. package/dist/chunks/{form-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{form-hjhsp0kf.js → shell-5vkfphhp.js} +22 -22
  55. package/dist/chunks/{form-t96cs5ce.js → shell-5vtnzdvh.js} +4 -4
  56. package/dist/chunks/{form-yjv8c9gv.js → shell-5yedj4sq.js} +8 -8
  57. package/dist/chunks/{form-d2bpn3vr.js → shell-5z3ty1st.js} +8 -8
  58. package/dist/chunks/{form-6827pfxn.js → shell-6827pfxn.js} +1 -1
  59. package/dist/chunks/{form-x2wh3pjk.js → shell-6fp2d1d9.js} +13 -13
  60. package/dist/chunks/{form-06xsmntz.js → shell-6gb59z7y.js} +2 -2
  61. package/dist/chunks/{form-myjjf3z2.js → shell-6gw3719p.js} +21 -21
  62. package/dist/chunks/{form-qse2fwzv.js → shell-6rfh3hr4.js} +9 -9
  63. package/dist/chunks/{form-x3gqap9d.js → shell-6t4hr8r6.js} +4 -4
  64. package/dist/chunks/{form-6xb47vfp.js → shell-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{form-rwbh6jmv.js → shell-73cvp0d7.js} +31 -31
  66. package/dist/chunks/{form-775gj3j1.js → shell-775gj3j1.js} +2 -2
  67. package/dist/chunks/{form-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{form-qgn6gcr1.js → shell-7dqw4kz8.js} +5 -5
  69. package/dist/chunks/{form-jqppps04.js → shell-7erbtyx3.js} +11 -11
  70. package/dist/chunks/{form-w9fyvhpg.js → shell-7fdk8hc2.js} +43 -43
  71. package/dist/chunks/{form-ctvabab8.js → shell-7ka0b1x2.js} +41 -41
  72. package/dist/chunks/{form-wqggg88q.js → shell-7rdmhycs.js} +24 -24
  73. package/dist/chunks/{form-w1eejvng.js → shell-84txncab.js} +5 -5
  74. package/dist/chunks/{form-msbm8nhp.js → shell-8c464aba.js} +9 -9
  75. package/dist/chunks/{form-sbaf2nx7.js → shell-8dqakt6y.js} +14 -14
  76. package/dist/chunks/{form-n3d5pb88.js → shell-8jcfdq83.js} +19 -19
  77. package/dist/chunks/{form-8m6m0r52.js → shell-8m6m0r52.js} +1 -1
  78. package/dist/chunks/{form-8mywswrd.js → shell-8mywswrd.js} +1 -1
  79. package/dist/chunks/{form-n4kgxwdp.js → shell-8q2dnp38.js} +12 -12
  80. package/dist/chunks/{form-6pc27hjz.js → shell-8sze2n9a.js} +2 -2
  81. package/dist/chunks/{form-hfg7n11m.js → shell-8tmj3wng.js} +13 -13
  82. package/dist/chunks/{form-30zggejz.js → shell-905zhqsw.js} +32 -32
  83. package/dist/chunks/{form-fcag7s6h.js → shell-967benbv.js} +11 -11
  84. package/dist/chunks/{form-b61k6ame.js → shell-99js1k2h.js} +17 -17
  85. package/dist/chunks/{form-edrm97qd.js → shell-9b5ejg1q.js} +12 -12
  86. package/dist/chunks/{form-8x3eefsg.js → shell-9ctqrb5b.js} +11 -11
  87. package/dist/chunks/{form-4jv8yfzb.js → shell-9dm4tzrk.js} +29 -29
  88. package/dist/chunks/{form-m3g1rwfa.js → shell-9gxde5n1.js} +2 -2
  89. package/dist/chunks/{form-ryh6wemf.js → shell-9k8pcz7j.js} +18 -18
  90. package/dist/chunks/{form-ds0xwmnc.js → shell-9p1sbxph.js} +45 -45
  91. package/dist/chunks/{form-n9mdxvj7.js → shell-9pga77eq.js} +18 -23
  92. package/dist/chunks/{form-9wev2pgg.js → shell-9wev2pgg.js} +1 -1
  93. package/dist/chunks/{form-fp3pxq9j.js → shell-9zwayr6v.js} +11 -11
  94. package/dist/chunks/{form-gqtdsdt7.js → shell-addxnjmp.js} +4 -4
  95. package/dist/chunks/{form-nk28bvce.js → shell-advv0bgh.js} +9 -9
  96. package/dist/chunks/{form-r83yw8wf.js → shell-ahkdh84r.js} +29 -29
  97. package/dist/chunks/{form-xbwfvkb6.js → shell-ajwh877x.js} +24 -24
  98. package/dist/chunks/{form-555zyyej.js → shell-akbpfsbh.js} +10 -10
  99. package/dist/chunks/{form-cj2gcgr0.js → shell-am1tmpj5.js} +10 -10
  100. package/dist/chunks/{form-sawf26wz.js → shell-asypmx3c.js} +44 -46
  101. package/dist/chunks/{form-pwdns4hw.js → shell-atbdcssm.js} +5 -5
  102. package/dist/chunks/{form-1zzvd88w.js → shell-avvce0kw.js} +4 -4
  103. package/dist/chunks/{form-6mb40wrd.js → shell-aw9wggsx.js} +14 -14
  104. package/dist/chunks/{form-dcezxpa9.js → shell-azvj0qaf.js} +15 -15
  105. package/dist/chunks/{form-7z27y5ft.js → shell-b0v2f3d7.js} +18 -18
  106. package/dist/chunks/{form-tm0kqsz3.js → shell-b11a7tx7.js} +4 -3
  107. package/dist/chunks/{form-qa3qhgw8.js → shell-b27vhd2z.js} +4 -4
  108. package/dist/chunks/{form-20v7rmhc.js → shell-b4w8vgnn.js} +14 -14
  109. package/dist/chunks/{form-4240acyr.js → shell-b7gzk9zn.js} +14 -14
  110. package/dist/chunks/{form-4bm5ja14.js → shell-bacyadyn.js} +4 -4
  111. package/dist/chunks/{form-b6ee0mz0.js → shell-bf4y5pbw.js} +27 -27
  112. package/dist/chunks/{form-bzeyqsqd.js → shell-bzeyqsqd.js} +1 -1
  113. package/dist/chunks/{form-wp7ag42z.js → shell-c1qkpkxj.js} +5 -5
  114. package/dist/chunks/{form-k9t01da4.js → shell-c3zvns2h.js} +5 -5
  115. package/dist/chunks/{form-qxbakmsa.js → shell-cd0efadx.js} +11 -11
  116. package/dist/chunks/{form-hxds782p.js → shell-cd2jam34.js} +66 -66
  117. package/dist/chunks/{form-z7egd2a4.js → shell-cmhag69x.js} +18 -18
  118. package/dist/chunks/{form-prpepx7q.js → shell-cvhewn3n.js} +26 -26
  119. package/dist/chunks/{form-cmwkp3r5.js → shell-czfptnv9.js} +6 -6
  120. package/dist/chunks/{form-n7b1k3p6.js → shell-d1b87mp8.js} +9 -9
  121. package/dist/chunks/{form-ppy8n5rb.js → shell-d5sr47tk.js} +13 -13
  122. package/dist/chunks/{form-tdev1d3v.js → shell-d6cmegr0.js} +4 -4
  123. package/dist/chunks/{form-725pwqma.js → shell-d6sm0xhg.js} +15 -15
  124. package/dist/chunks/{form-wjmzy10g.js → shell-d9h00asa.js} +5 -5
  125. package/dist/chunks/{form-g13qewtb.js → shell-d9jtx293.js} +6 -6
  126. package/dist/chunks/{form-dgzq35zb.js → shell-dgzq35zb.js} +3 -3
  127. package/dist/chunks/{form-w2bpwhyq.js → shell-dn54e1vc.js} +23 -23
  128. package/dist/chunks/{form-zxwf9a1d.js → shell-e0vjet6h.js} +7 -7
  129. package/dist/chunks/{form-dg7zdyb1.js → shell-e0xgvc2t.js} +18 -18
  130. package/dist/chunks/{form-tb727afn.js → shell-e0yd8g35.js} +28 -28
  131. package/dist/chunks/{form-cd65nwh0.js → shell-eb0txge1.js} +11 -11
  132. package/dist/chunks/{form-vr2brrr8.js → shell-edex00km.js} +17 -17
  133. package/dist/chunks/{form-eej6y6fw.js → shell-eej6y6fw.js} +2 -2
  134. package/dist/chunks/{form-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{form-5b6y4xvt.js → shell-eh45hhbp.js} +4 -4
  136. package/dist/chunks/{form-m1cp809k.js → shell-ek150c57.js} +13 -13
  137. package/dist/chunks/{form-wc14v8ca.js → shell-ewrpj132.js} +22 -22
  138. package/dist/chunks/{form-gyjy7m7x.js → shell-ey8ah1zs.js} +16 -16
  139. package/dist/chunks/{form-kh7axb5n.js → shell-f4bbp22f.js} +34 -34
  140. package/dist/chunks/{form-zbqwxq10.js → shell-f5sdy3zr.js} +42 -42
  141. package/dist/chunks/{form-fcy631f0.js → shell-fcy631f0.js} +1 -1
  142. package/dist/chunks/{form-kg45811x.js → shell-fey4ts1c.js} +9 -9
  143. package/dist/chunks/{form-q8ddfw9c.js → shell-fkedvtkk.js} +1 -1
  144. package/dist/chunks/{form-581y63dt.js → shell-fpneb7zf.js} +9 -9
  145. package/dist/chunks/{form-fxh06m44.js → shell-fpzg53qc.js} +81 -81
  146. package/dist/chunks/{form-01cqkeg5.js → shell-fw81v0b3.js} +25 -25
  147. package/dist/chunks/{form-khmqacep.js → shell-fxaymqdw.js} +4 -4
  148. package/dist/chunks/{form-936v1wb5.js → shell-fxz1hm3d.js} +4 -4
  149. package/dist/chunks/{form-0w5vvvza.js → shell-gcpky43g.js} +14 -14
  150. package/dist/chunks/{form-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{form-a50jwcz2.js → shell-ggqrcf80.js} +13 -13
  152. package/dist/chunks/{form-2wef4h5g.js → shell-gjrenmtf.js} +38 -38
  153. package/dist/chunks/{form-5tj8nqep.js → shell-gk0wee00.js} +7 -7
  154. package/dist/chunks/{form-fptceakp.js → shell-gkdfaqyz.js} +40 -40
  155. package/dist/chunks/{form-y05mj14p.js → shell-gp1qp977.js} +7 -7
  156. package/dist/chunks/{form-xteysx5g.js → shell-grpwpbkn.js} +30 -30
  157. package/dist/chunks/{form-4myhz5et.js → shell-gwq75z1b.js} +11 -11
  158. package/dist/chunks/{form-ztasg8c4.js → shell-h0a9te69.js} +13 -13
  159. package/dist/chunks/{form-dtnfggyv.js → shell-h66t4gvj.js} +10 -10
  160. package/dist/chunks/{form-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{form-g6yfr6ja.js → shell-h83xjv7f.js} +5 -5
  162. package/dist/chunks/{form-3t06g8dq.js → shell-hbb7npd7.js} +6 -6
  163. package/dist/chunks/{form-hgz4x7wa.js → shell-hgz4x7wa.js} +1 -1
  164. package/dist/chunks/{form-sk60y1at.js → shell-hkr0b4h7.js} +28 -28
  165. package/dist/chunks/{form-14mvz572.js → shell-hszpjbfe.js} +19 -19
  166. package/dist/chunks/{form-5r05bxdk.js → shell-j429n2jr.js} +50 -50
  167. package/dist/chunks/{form-016766j9.js → shell-j9pc77qk.js} +18 -18
  168. package/dist/chunks/{form-1m7xhcrz.js → shell-jdgd2e3k.js} +16 -16
  169. package/dist/chunks/{form-772b1pf2.js → shell-jky0s88p.js} +8 -8
  170. package/dist/chunks/{form-txcxq65b.js → shell-jwsejh1z.js} +25 -25
  171. package/dist/chunks/{form-hptzwsnd.js → shell-k1znrbj8.js} +5 -5
  172. package/dist/chunks/{form-0rmvh565.js → shell-k63k4b0t.js} +18 -18
  173. package/dist/chunks/{form-1g3gwk2z.js → shell-kgkxj8pd.js} +3 -3
  174. package/dist/chunks/{form-51nq886d.js → shell-kk5caf58.js} +22 -22
  175. package/dist/chunks/{form-h71w788e.js → shell-kp8q1t60.js} +8 -8
  176. package/dist/chunks/shell-kq2taeak.js +257 -0
  177. package/dist/chunks/{form-rkg4v3e5.js → shell-kqv3x6rj.js} +4 -4
  178. package/dist/chunks/{form-kwb1v3vj.js → shell-kwb1v3vj.js} +1 -1
  179. package/dist/chunks/{form-rgv41h4e.js → shell-m12xqqkm.js} +41 -41
  180. package/dist/chunks/{form-0wg788cr.js → shell-m46yv57x.js} +26 -26
  181. package/dist/chunks/{form-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{form-23cg475f.js → shell-masm6h4a.js} +11 -11
  183. package/dist/chunks/{form-maspj1v3.js → shell-maspj1v3.js} +1 -1
  184. package/dist/chunks/{form-ye8nnmax.js → shell-mvfdckk2.js} +6 -6
  185. package/dist/chunks/{form-bapqkk7v.js → shell-myarde17.js} +3 -3
  186. package/dist/chunks/{form-awmarwrv.js → shell-n46qfe0v.js} +11 -11
  187. package/dist/chunks/{form-mtpeagzc.js → shell-n7d88tpn.js} +3 -3
  188. package/dist/chunks/{form-rqm8fqta.js → shell-nx3vsr5t.js} +17 -17
  189. package/dist/chunks/{form-rs6bz05r.js → shell-nzgfnq9c.js} +27 -27
  190. package/dist/chunks/{form-5nw065t4.js → shell-p8dm3ep0.js} +5 -5
  191. package/dist/chunks/{form-yg2pn9b7.js → shell-p9czke70.js} +5 -5
  192. package/dist/chunks/{form-tjgry73g.js → shell-p9jtbmhc.js} +26 -26
  193. package/dist/chunks/{form-ed1g29hy.js → shell-pc1v25hk.js} +4 -6
  194. package/dist/chunks/{form-kmy8rgmt.js → shell-pdb5khhv.js} +19 -19
  195. package/dist/chunks/{form-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{form-pknna89w.js → shell-pknna89w.js} +1 -1
  197. package/dist/chunks/{form-hes1j7ga.js → shell-pnkbpv6t.js} +9 -9
  198. package/dist/chunks/{form-nwpzdbp7.js → shell-prq96jqy.js} +15 -15
  199. package/dist/chunks/{form-gdab7akb.js → shell-q2pe6j31.js} +23 -23
  200. package/dist/chunks/{form-8dff8bqa.js → shell-q4fmv0xv.js} +5 -5
  201. package/dist/chunks/{form-35kkhned.js → shell-q6v6amn1.js} +5 -5
  202. package/dist/chunks/{form-s7gb32a0.js → shell-q9pe90t0.js} +13 -13
  203. package/dist/chunks/shell-qc068m1q.js +18 -0
  204. package/dist/chunks/{form-yh885z4g.js → shell-qcprd6de.js} +23 -23
  205. package/dist/chunks/{form-k6tr81d3.js → shell-qe3epw5x.js} +9 -9
  206. package/dist/chunks/{form-vx8n1q2f.js → shell-qj5ta0kd.js} +19 -19
  207. package/dist/chunks/{form-jj6wv1pj.js → shell-qkynqyav.js} +3 -3
  208. package/dist/chunks/{form-2tq7hcqy.js → shell-qqafxchd.js} +6 -6
  209. package/dist/chunks/{form-qsdy395h.js → shell-qsdy395h.js} +1 -1
  210. package/dist/chunks/{form-kt69stq4.js → shell-qtbmwfhq.js} +11 -11
  211. package/dist/chunks/{form-7sbn2nrf.js → shell-r61qxybf.js} +8 -8
  212. package/dist/chunks/{form-dhpppt5y.js → shell-r6rbj50z.js} +18 -18
  213. package/dist/chunks/{form-4wsv5c1t.js → shell-r75ymksz.js} +10 -15
  214. package/dist/chunks/{form-kanhem1c.js → shell-r8f8vm0g.js} +19 -19
  215. package/dist/chunks/{form-g686f6pq.js → shell-ra67jj04.js} +9 -9
  216. package/dist/chunks/{form-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{form-eb59rt6g.js → shell-rk96c1vx.js} +17 -17
  218. package/dist/chunks/{form-m1vtybs6.js → shell-rmxqhsb7.js} +4 -4
  219. package/dist/chunks/{form-bkjx84ct.js → shell-s7tme0tc.js} +21 -21
  220. package/dist/chunks/{form-jj8zce4f.js → shell-s7w7kyay.js} +26 -26
  221. package/dist/chunks/{form-q3c1rjff.js → shell-sa4r6z7r.js} +22 -22
  222. package/dist/chunks/{form-a22nawqy.js → shell-sc7vxha7.js} +24 -24
  223. package/dist/chunks/{form-knax8rr9.js → shell-sp1mwpas.js} +13 -13
  224. package/dist/chunks/{form-4873sk86.js → shell-svh0p8w5.js} +16 -16
  225. package/dist/chunks/{form-syv4x271.js → shell-syv4x271.js} +1 -1
  226. package/dist/chunks/{form-b37y94hj.js → shell-syv6ahra.js} +11 -11
  227. package/dist/chunks/{form-0gdmqesm.js → shell-t550f9t1.js} +4 -4
  228. package/dist/chunks/{form-mhdmgddq.js → shell-t7rj6shc.js} +32 -32
  229. package/dist/chunks/{form-3mgfngs8.js → shell-t9sq8qeg.js} +42 -42
  230. package/dist/chunks/{form-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{form-89znhe33.js → shell-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{form-tdstcens.js → shell-tdstcens.js} +1 -1
  233. package/dist/chunks/{form-8advq6hn.js → shell-tjrg3twb.js} +169 -169
  234. package/dist/chunks/{form-n90cc1d7.js → shell-tq6we1s0.js} +20 -20
  235. package/dist/chunks/{form-sxtjavh1.js → shell-trehngv2.js} +11 -11
  236. package/dist/chunks/{form-fhdzhsn5.js → shell-txf768b9.js} +36 -36
  237. package/dist/chunks/{form-tyytaxap.js → shell-tyytaxap.js} +1 -1
  238. package/dist/chunks/{form-t5wqwvpt.js → shell-tzxxmegj.js} +19 -19
  239. package/dist/chunks/{form-v13b12ef.js → shell-v13b12ef.js} +2 -2
  240. package/dist/chunks/{form-fn9ftacf.js → shell-v4rmv62r.js} +22 -22
  241. package/dist/chunks/{form-8bajgbmy.js → shell-v640fphy.js} +4 -4
  242. package/dist/chunks/{form-v7p4zvkq.js → shell-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/{form-2c942fag.js → shell-v9xc3wdb.js} +28 -28
  244. package/dist/chunks/{form-d1wmmgpz.js → shell-vc5fxanm.js} +6 -6
  245. package/dist/chunks/{form-veqvce7d.js → shell-veqvce7d.js} +1 -1
  246. package/dist/chunks/{form-prytbjkr.js → shell-vf6nq1yq.js} +12 -12
  247. package/dist/chunks/{form-ggbxennn.js → shell-vvp3kbkr.js} +34 -34
  248. package/dist/chunks/{form-xafejemj.js → shell-vx3rapja.js} +1 -1
  249. package/dist/chunks/shell-vy0yhs8z.js +26 -0
  250. package/dist/chunks/{form-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{form-gqh6mgsw.js → shell-w2q1tvs9.js} +7 -7
  252. package/dist/chunks/{form-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{form-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
  254. package/dist/chunks/{form-zaq0zjc7.js → shell-wb3h0med.js} +8 -8
  255. package/dist/chunks/{form-b674v2dg.js → shell-wbgabvvj.js} +5 -5
  256. package/dist/chunks/{form-wd87259q.js → shell-wd87259q.js} +1 -1
  257. package/dist/chunks/{form-ywt8jp22.js → shell-wjr9rjd7.js} +6 -6
  258. package/dist/chunks/{form-61k5npwt.js → shell-wkvsvh4e.js} +19 -19
  259. package/dist/chunks/{form-1avk3spj.js → shell-x48888jx.js} +2 -2
  260. package/dist/chunks/{form-whkpkx14.js → shell-x4bpn50y.js} +25 -25
  261. package/dist/chunks/{form-6zbvbaat.js → shell-xayssg3h.js} +3 -3
  262. package/dist/chunks/{form-s1976h36.js → shell-xdbrd9pk.js} +20 -20
  263. package/dist/chunks/{form-kj7h7wvk.js → shell-xevw8b9b.js} +28 -28
  264. package/dist/chunks/{form-drwq78ky.js → shell-xfkkasph.js} +4 -4
  265. package/dist/chunks/{form-pvmfrnx8.js → shell-xsgrs5rf.js} +331 -331
  266. package/dist/chunks/{form-xw9fg8fb.js → shell-xw9fg8fb.js} +2 -2
  267. package/dist/chunks/{form-44ebccsv.js → shell-xxv9hwag.js} +12 -12
  268. package/dist/chunks/{form-04pgjytt.js → shell-xzp9n4gz.js} +24 -24
  269. package/dist/chunks/{form-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{form-mg47wcxc.js → shell-y5prcm51.js} +4 -4
  271. package/dist/chunks/{form-y71avatq.js → shell-y71avatq.js} +1 -1
  272. package/dist/chunks/{form-ky6kp414.js → shell-ybjc3k76.js} +9 -9
  273. package/dist/chunks/{form-8jrmvma7.js → shell-yg3cazfx.js} +83 -83
  274. package/dist/chunks/{form-gdn3wds6.js → shell-ythqyp3b.js} +8 -8
  275. package/dist/chunks/{form-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{form-z18fegx4.js → shell-z18fegx4.js} +1 -1
  277. package/dist/chunks/{form-ajtbt6ny.js → shell-z1ycdyr0.js} +13 -13
  278. package/dist/chunks/{form-mwcxzzpp.js → shell-z3qxvmgt.js} +8 -8
  279. package/dist/chunks/{form-ac224h82.js → shell-z65fybyq.js} +13 -20
  280. package/dist/chunks/{form-4cjtq72a.js → shell-z9z5kemy.js} +4 -4
  281. package/dist/chunks/{form-zcrspsvn.js → shell-zcrspsvn.js} +1 -1
  282. package/dist/chunks/{form-p5eszqcd.js → shell-zfvfcy7q.js} +8 -8
  283. package/dist/chunks/{form-pq3ytayb.js → shell-zhhedqrt.js} +32 -32
  284. package/dist/chunks/{form-gjvvdrsn.js → shell-zmbfn0by.js} +20 -20
  285. package/dist/chunks/{form-9dxjs7sq.js → shell-zmjz8g0x.js} +4 -4
  286. package/dist/chunks/{form-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{form-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +75 -75
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -108
  433. package/dist/git.js +8 -8
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +73 -73
  465. package/dist/location-activity.js +153 -152
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -358
  469. package/dist/location.js +85 -85
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +101 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +104 -104
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +101 -101
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +3 -3
  497. package/dist/plugin/internal.js +332 -333
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -171
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -352
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +4 -4
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +227 -227
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +84 -84
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +103 -103
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +126 -125
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +1 -1
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -100
  606. package/dist/session/runner/publish-llm-event.js +116 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +165 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -113
  622. package/dist/session/transfer.js +215 -215
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +105 -105
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -137
  638. package/dist/tool/plugin/edit.js +118 -118
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +115 -115
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +4 -2
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +12 -12
  658. package/dist/types/tool/runtime.d.ts +1 -0
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +88 -88
  678. package/dist/websearch.js +82 -82
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +83 -83
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +82 -82
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +102 -102
  689. package/package.json +8 -8
  690. package/dist/chunks/form-1kg9ymc8.js +0 -6
  691. package/dist/chunks/form-2axfhc9x.js +0 -49
  692. package/dist/chunks/form-d8membp7.js +0 -26
  693. package/dist/chunks/form-dxj72tfx.js +0 -18
  694. package/dist/chunks/form-e2x20gr3.js +0 -257
  695. package/dist/types/util/error.d.ts +0 -273
  696. package/dist/types/util/iife.d.ts +0 -1
  697. package/dist/types/v1/config/error.d.ts +0 -393
  698. package/dist/util/error.js +0 -6
  699. package/dist/util/iife.js +0 -6
  700. package/dist/v1/config/error.js +0 -27
  701. /package/dist/chunks/{form-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{form-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{form-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{form-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{form-24dcb14g.js → shell-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{form-2710q6r3.js → shell-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{form-2bv980vf.js → shell-2bv980vf.js} +0 -0
  708. /package/dist/chunks/{form-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{form-359p4xyc.js → shell-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{form-3asan66x.js → shell-3asan66x.js} +0 -0
  711. /package/dist/chunks/{form-3t0ybcrp.js → shell-3t0ybcrp.js} +0 -0
  712. /package/dist/chunks/{form-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{form-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{form-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{form-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{form-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{form-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{form-53557ph1.js → shell-53557ph1.js} +0 -0
  719. /package/dist/chunks/{form-550bvhaj.js → shell-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{form-6prwharc.js → shell-6prwharc.js} +0 -0
  721. /package/dist/chunks/{form-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  722. /package/dist/chunks/{form-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{form-7m9af43g.js → shell-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{form-822emrt2.js → shell-822emrt2.js} +0 -0
  725. /package/dist/chunks/{form-84wd9syh.js → shell-84wd9syh.js} +0 -0
  726. /package/dist/chunks/{form-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{form-8n3pysct.js → shell-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{form-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{form-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{form-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{form-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{form-af5trqkr.js → shell-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{form-afrmfg78.js → shell-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{form-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{form-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{form-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{form-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{form-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{form-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{form-d9fn303g.js → shell-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{form-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{form-dajrwvna.js → shell-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{form-dap0rakb.js → shell-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{form-df08tz66.js → shell-df08tz66.js} +0 -0
  745. /package/dist/chunks/{form-dy18nga0.js → shell-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{form-e3qxr5gk.js → shell-e3qxr5gk.js} +0 -0
  747. /package/dist/chunks/{form-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{form-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{form-ec1grn59.js → shell-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{form-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{form-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{form-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{form-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{form-faypxj3z.js → shell-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{form-fd410y7t.js → shell-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{form-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{form-g86h250q.js → shell-g86h250q.js} +0 -0
  758. /package/dist/chunks/{form-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{form-gftt206x.js → shell-gftt206x.js} +0 -0
  760. /package/dist/chunks/{form-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
  761. /package/dist/chunks/{form-hk9envan.js → shell-hk9envan.js} +0 -0
  762. /package/dist/chunks/{form-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{form-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{form-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{form-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{form-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{form-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
  768. /package/dist/chunks/{form-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{form-m18g726c.js → shell-m18g726c.js} +0 -0
  770. /package/dist/chunks/{form-mp448xyj.js → shell-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{form-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{form-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{form-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{form-njntx4h6.js → shell-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{form-pkyv6v7h.js → shell-pkyv6v7h.js} +0 -0
  776. /package/dist/chunks/{form-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{form-q74kybfr.js → shell-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{form-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{form-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{form-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{form-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{form-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{form-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{form-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{form-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{form-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  787. /package/dist/chunks/{form-w803qqfp.js → shell-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{form-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{form-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{form-wjj7prxr.js → shell-wjj7prxr.js} +0 -0
  791. /package/dist/chunks/{form-wtztk69x.js → shell-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{form-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{form-x61499pn.js → shell-x61499pn.js} +0 -0
  794. /package/dist/chunks/{form-y44na4kk.js → shell-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{form-y8f7s663.js → shell-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{form-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{form-ym463w8f.js → shell-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{form-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  799. /package/dist/chunks/{form-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,132 +1,132 @@
1
1
  import {
2
2
  Metadata2,
3
- node87
4
- } from "./form-sxtjavh1.js";
3
+ node66
4
+ } from "./shell-trehngv2.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./form-8bajgbmy.js";
8
+ } from "./shell-v640fphy.js";
9
9
  import {
10
- ID11,
11
- Service66,
12
- node68
13
- } from "./form-04pgjytt.js";
10
+ ID8,
11
+ Service49,
12
+ node51
13
+ } from "./shell-xzp9n4gz.js";
14
14
  import {
15
15
  ID18,
16
16
  OAuth3
17
- } from "./form-wp7ag42z.js";
17
+ } from "./shell-c1qkpkxj.js";
18
18
  import {
19
- ID10,
19
+ ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service65,
24
- node67
25
- } from "./form-3kbekj0y.js";
23
+ Service79,
24
+ node83
25
+ } from "./shell-18c04net.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./form-z5v4ffb3.js";
28
+ } from "./shell-z5v4ffb3.js";
29
29
  import {
30
30
  Info26,
31
31
  Ref4,
32
32
  Service81,
33
- node84
34
- } from "./form-gqh6mgsw.js";
33
+ node85
34
+ } from "./shell-w2q1tvs9.js";
35
35
  import {
36
- ID9,
37
- Service64,
38
- node66
39
- } from "./form-2c942fag.js";
36
+ ID13,
37
+ Service78,
38
+ node82
39
+ } from "./shell-v9xc3wdb.js";
40
40
  import {
41
- Service55,
42
- node57
43
- } from "./form-n9mdxvj7.js";
41
+ Service56,
42
+ node58
43
+ } from "./shell-9pga77eq.js";
44
44
  import {
45
- Service45,
46
- node47
47
- } from "./form-bkjx84ct.js";
45
+ Service57,
46
+ node59
47
+ } from "./shell-s7tme0tc.js";
48
48
  import {
49
- Service78,
49
+ Service77,
50
50
  node81
51
- } from "./form-qse2fwzv.js";
51
+ } from "./shell-6rfh3hr4.js";
52
52
  import {
53
- Service51,
54
- node53
55
- } from "./form-msbm8nhp.js";
53
+ Service60,
54
+ node62
55
+ } from "./shell-8c464aba.js";
56
56
  import {
57
- ID8,
58
- Service63,
59
- node65
60
- } from "./form-pq3ytayb.js";
57
+ ID12,
58
+ Service76,
59
+ node80
60
+ } from "./shell-zhhedqrt.js";
61
61
  import {
62
- ID13
63
- } from "./form-1w6dzaea.js";
62
+ ID11
63
+ } from "./shell-0r1sze87.js";
64
64
  import {
65
- Service32,
66
- node35
67
- } from "./form-2wef4h5g.js";
65
+ Service38,
66
+ node41
67
+ } from "./shell-gjrenmtf.js";
68
68
  import {
69
- Service61,
70
- node63
71
- } from "./form-5y480sgp.js";
69
+ Service67,
70
+ node70
71
+ } from "./shell-30846h32.js";
72
72
  import {
73
73
  Service46,
74
74
  node48
75
- } from "./form-b6ee0mz0.js";
75
+ } from "./shell-bf4y5pbw.js";
76
76
  import {
77
- Service34,
78
- node37,
77
+ Service50,
78
+ node52,
79
79
  Error2
80
- } from "./form-wc14v8ca.js";
80
+ } from "./shell-ewrpj132.js";
81
81
  import {
82
82
  Source5,
83
- Service67,
84
- node69
85
- } from "./form-0wg788cr.js";
86
- import {
87
- Info5,
88
- Service33,
89
- node36
90
- } from "./form-xbwfvkb6.js";
91
- import {
92
- Service19,
93
- node22
94
- } from "./form-8jrmvma7.js";
95
- import {
96
- Service38,
97
- node41
98
- } from "./form-prpepx7q.js";
99
- import {
100
- Service37,
101
- node40
102
- } from "./form-n4kgxwdp.js";
83
+ Service62,
84
+ node64
85
+ } from "./shell-m46yv57x.js";
103
86
  import {
87
+ Info8,
104
88
  Service39,
105
89
  node42
106
- } from "./form-qrj5j2rw.js";
90
+ } from "./shell-ajwh877x.js";
91
+ import {
92
+ Service25,
93
+ node28
94
+ } from "./shell-yg3cazfx.js";
95
+ import {
96
+ Service24,
97
+ node27
98
+ } from "./shell-cvhewn3n.js";
107
99
  import {
108
- ID3,
109
100
  Service18,
110
101
  node21
111
- } from "./form-kmy8rgmt.js";
102
+ } from "./shell-8q2dnp38.js";
112
103
  import {
113
- Service50,
114
- node52
115
- } from "./form-t5wqwvpt.js";
104
+ Service16,
105
+ node19
106
+ } from "./shell-2405xxdm.js";
107
+ import {
108
+ ID4,
109
+ Service17,
110
+ node20
111
+ } from "./shell-pdb5khhv.js";
112
+ import {
113
+ Service21,
114
+ node24
115
+ } from "./shell-tzxxmegj.js";
116
116
  import {
117
117
  StrategyID2,
118
- Info10,
119
- ListEntry3,
120
- Service49,
121
- node51
122
- } from "./form-fhdzhsn5.js";
118
+ Info6,
119
+ ListEntry2,
120
+ Service20,
121
+ node23
122
+ } from "./shell-txf768b9.js";
123
123
  import {
124
- Service53,
125
- node55
126
- } from "./form-aff53cds.js";
124
+ Service23,
125
+ node26
126
+ } from "./shell-4y64nfaj.js";
127
127
  import {
128
128
  __export
129
- } from "./form-9rqn6x4v.js";
129
+ } from "./shell-9rqn6x4v.js";
130
130
 
131
131
  // src/plugin/host.ts
132
132
  var exports_host = {};
@@ -144,30 +144,30 @@ var mutable = (value) => value;
144
144
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
145
145
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
146
146
  const app = yield* Metadata2;
147
- const agents = yield* Service66;
148
- const aisdk = yield* Service55;
149
- const providers = yield* Service64;
150
- const models = yield* Service63;
151
- const commands = yield* Service45;
147
+ const agents = yield* Service49;
148
+ const aisdk = yield* Service56;
149
+ const providers = yield* Service78;
150
+ const models = yield* Service76;
151
+ const commands = yield* Service57;
152
152
  const bus = yield* Service85;
153
- const integration = yield* Service65;
154
- const kv = yield* Service78;
155
- const mcp = yield* Service32;
153
+ const integration = yield* Service79;
154
+ const kv = yield* Service77;
155
+ const mcp = yield* Service38;
156
156
  const location = yield* Service81;
157
- const reference = yield* Service67;
158
- const rpc = yield* Service37;
159
- const skill = yield* Service33;
160
- const tools = yield* Service34;
161
- const vcs = yield* Service39;
162
- const websearch = yield* Service18;
163
- const generate = yield* Service53;
157
+ const reference = yield* Service62;
158
+ const rpc = yield* Service18;
159
+ const skill = yield* Service39;
160
+ const tools = yield* Service50;
161
+ const vcs = yield* Service16;
162
+ const websearch = yield* Service17;
163
+ const generate = yield* Service23;
164
164
  const permission = yield* Service46;
165
- const hooks = yield* Service61;
166
- const sessions = yield* Service19;
167
- const persistentPty = yield* Service38;
168
- const locations = yield* Service51;
169
- const worktrees = yield* Service49;
170
- const worktreeStrategies = yield* Service50;
165
+ const hooks = yield* Service67;
166
+ const sessions = yield* Service25;
167
+ const persistentPty = yield* Service24;
168
+ const locations = yield* Service60;
169
+ const worktrees = yield* Service20;
170
+ const worktreeStrategies = yield* Service21;
171
171
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
172
172
  const locationInfo = () => new Info26({
173
173
  directory: location.directory,
@@ -176,15 +176,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
176
176
  });
177
177
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
178
178
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
179
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID13.make(input.location.workspace)
179
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
180
180
  });
181
181
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
182
182
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
183
- const decodeWorktree = Schema.decodeUnknownEffect(Info10);
184
- const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
183
+ const decodeWorktree = Schema.decodeUnknownEffect(Info6);
184
+ const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
185
185
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
186
186
  const location = yield* Service81;
187
- const agents = yield* Service66;
187
+ const agents = yield* Service49;
188
188
  return {
189
189
  location: new Info26({
190
190
  directory: location.directory,
@@ -218,10 +218,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
218
218
  transform: (callback) => agents.transform((editor) => {
219
219
  callback({
220
220
  list: () => mutable(editor.list()),
221
- get: (id) => mutable(editor.get(ID11.make(id))),
222
- default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
223
- update: (id, update) => editor.update(ID11.make(id), update),
224
- remove: (id) => editor.remove(ID11.make(id))
221
+ get: (id) => mutable(editor.get(ID8.make(id))),
222
+ default: (id) => editor.default(id === undefined ? undefined : ID8.make(id)),
223
+ update: (id, update) => editor.update(ID8.make(id), update),
224
+ remove: (id) => editor.remove(ID8.make(id))
225
225
  });
226
226
  })
227
227
  },
@@ -255,22 +255,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
255
255
  },
256
256
  provider: {
257
257
  list: () => response(providers.available()),
258
- get: (input) => providers.get(ID9.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
+ 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)))),
259
259
  reload: providers.reload,
260
260
  transform: (callback) => providers.transform((editor) => {
261
261
  callback({
262
262
  list: editor.list,
263
- get: (id) => editor.get(ID9.make(id)),
263
+ get: (id) => editor.get(ID13.make(id)),
264
264
  add: (definition) => editor.add({
265
265
  ...definition,
266
266
  sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID18.make(definition.sourceConnection.id) } : definition.sourceConnection
267
267
  }),
268
- update: (id, update) => editor.update(ID9.make(id), update),
269
- remove: (id) => editor.remove(ID9.make(id)),
268
+ update: (id, update) => editor.update(ID13.make(id), update),
269
+ remove: (id) => editor.remove(ID13.make(id)),
270
270
  models: {
271
- set: (id, models) => editor.models.set(ID9.make(id), models),
272
- update: (providerID, modelID, update) => editor.models.update(ID9.make(providerID), ID8.make(modelID), update),
273
- remove: (providerID, modelID) => editor.models.remove(ID9.make(providerID), ID8.make(modelID))
271
+ set: (id, models) => editor.models.set(ID13.make(id), models),
272
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
273
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
274
274
  }
275
275
  });
276
276
  })
@@ -280,17 +280,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
280
280
  default: () => response(models.default()),
281
281
  reload: models.reload,
282
282
  transform: (callback) => models.transform((editor) => callback({
283
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID9.make(providerID)),
284
- get: (providerID, modelID) => editor.get(ID9.make(providerID), ID8.make(modelID)),
285
- update: (providerID, modelID, update) => editor.update(ID9.make(providerID), ID8.make(modelID), update),
286
- remove: (providerID, modelID) => editor.remove(ID9.make(providerID), ID8.make(modelID)),
283
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
284
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
285
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
286
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
287
287
  default: {
288
288
  get: editor.default.get,
289
- set: (providerID, modelID) => editor.default.set(ID9.make(providerID), ID8.make(modelID))
289
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
290
290
  },
291
291
  provider: {
292
292
  list: editor.provider.list,
293
- get: (id) => editor.provider.get(ID9.make(id))
293
+ get: (id) => editor.provider.get(ID13.make(id))
294
294
  }
295
295
  }))
296
296
  },
@@ -316,20 +316,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
316
316
  integration: {
317
317
  list: () => response(integration.list()),
318
318
  get: Effect.fn(function* (input) {
319
- const item = yield* integration.get(ID10.make(input.integrationID));
319
+ const item = yield* integration.get(ID14.make(input.integrationID));
320
320
  if (!item)
321
321
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
322
322
  return yield* response(Effect.succeed(item));
323
323
  }),
324
324
  connect: {
325
325
  key: (input) => integration.connection.key({
326
- integrationID: ID10.make(input.integrationID),
326
+ integrationID: ID14.make(input.integrationID),
327
327
  key: input.key,
328
328
  answer: input.answer,
329
329
  label: input.label
330
330
  }),
331
331
  external: (input) => integration.connection.external({
332
- integrationID: ID10.make(input.integrationID),
332
+ integrationID: ID14.make(input.integrationID),
333
333
  methodID: MethodID2.make(input.methodID),
334
334
  answer: input.answer,
335
335
  label: input.label
@@ -337,46 +337,46 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
337
337
  },
338
338
  oauth: {
339
339
  connect: (input) => response(integration.oauth.connect({
340
- integrationID: ID10.make(input.integrationID),
340
+ integrationID: ID14.make(input.integrationID),
341
341
  methodID: MethodID2.make(input.methodID),
342
342
  answer: input.answer,
343
343
  label: input.label
344
344
  })),
345
345
  status: (input) => response(integration.oauth.status({
346
- integrationID: ID10.make(input.integrationID),
346
+ integrationID: ID14.make(input.integrationID),
347
347
  attemptID: AttemptID2.make(input.attemptID)
348
348
  })),
349
349
  complete: (input) => integration.oauth.complete({
350
- integrationID: ID10.make(input.integrationID),
350
+ integrationID: ID14.make(input.integrationID),
351
351
  attemptID: AttemptID2.make(input.attemptID),
352
352
  code: input.code
353
353
  }),
354
354
  cancel: (input) => integration.oauth.cancel({
355
- integrationID: ID10.make(input.integrationID),
355
+ integrationID: ID14.make(input.integrationID),
356
356
  attemptID: AttemptID2.make(input.attemptID)
357
357
  })
358
358
  },
359
359
  command: {
360
360
  connect: (input) => response(integration.command.connect({
361
- integrationID: ID10.make(input.integrationID),
361
+ integrationID: ID14.make(input.integrationID),
362
362
  methodID: MethodID2.make(input.methodID),
363
363
  label: input.label
364
364
  })),
365
365
  status: (input) => response(integration.command.status({
366
- integrationID: ID10.make(input.integrationID),
366
+ integrationID: ID14.make(input.integrationID),
367
367
  attemptID: AttemptID2.make(input.attemptID)
368
368
  })),
369
369
  cancel: (input) => integration.command.cancel({
370
- integrationID: ID10.make(input.integrationID),
370
+ integrationID: ID14.make(input.integrationID),
371
371
  attemptID: AttemptID2.make(input.attemptID)
372
372
  })
373
373
  },
374
374
  reload: integration.reload,
375
375
  connection: {
376
- active: (id) => integration.connection.active(ID10.make(id)),
376
+ active: (id) => integration.connection.active(ID14.make(id)),
377
377
  resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID18.make(connection.id) } : connection),
378
378
  status: (input) => integration.connection.status({
379
- integrationID: ID10.make(input.integrationID),
379
+ integrationID: ID14.make(input.integrationID),
380
380
  connection: input.connection.type === "credential" ? { ...input.connection, id: ID18.make(input.connection.id) } : input.connection,
381
381
  status: input.status
382
382
  })
@@ -384,13 +384,13 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
384
384
  transform: (callback) => integration.transform((editor) => {
385
385
  callback({
386
386
  list: () => mutable(editor.list()),
387
- get: (id) => mutable(editor.get(ID10.make(id))),
388
- update: (id, update) => editor.update(ID10.make(id), update),
389
- remove: (id) => editor.remove(ID10.make(id)),
387
+ get: (id) => mutable(editor.get(ID14.make(id))),
388
+ update: (id, update) => editor.update(ID14.make(id), update),
389
+ remove: (id) => editor.remove(ID14.make(id)),
390
390
  method: {
391
- list: (id) => editor.method.list(ID10.make(id)),
391
+ list: (id) => editor.method.list(ID14.make(id)),
392
392
  update: (input) => editor.method.update(methodImplementation(input)),
393
- remove: (id, method) => editor.method.remove(ID10.make(id), Schema.decodeUnknownSync(Method2)(method))
393
+ remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
394
394
  }
395
395
  });
396
396
  })
@@ -401,7 +401,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
401
401
  if (ref && !isCurrentLocation(ref))
402
402
  return Effect.gen(function* () {
403
403
  const location = yield* Service81;
404
- const mcp = yield* Service32;
404
+ const mcp = yield* Service38;
405
405
  return {
406
406
  location: new Info26({
407
407
  directory: location.directory,
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
457
457
  callback({
458
458
  list: () => mutable(editor.list()),
459
459
  get: editor.get,
460
- add: (value) => editor.add(Schema.decodeUnknownSync(Info5)(value)),
460
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
461
461
  update: editor.update,
462
462
  remove: editor.remove
463
463
  });
@@ -488,19 +488,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
488
488
  providers: () => response(websearch.providers()),
489
489
  query: (input) => response(websearch.query({
490
490
  query: input.query,
491
- providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
491
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
492
492
  })),
493
493
  reload: websearch.reload,
494
494
  transform: (callback) => websearch.transform((editor) => {
495
495
  callback({
496
496
  add: (definition) => editor.add({
497
- id: ID3.make(definition.id),
497
+ id: ID4.make(definition.id),
498
498
  name: definition.name,
499
499
  execute: definition.execute
500
500
  }),
501
501
  default: {
502
502
  get: editor.default.get,
503
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
503
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
504
504
  }
505
505
  });
506
506
  })
@@ -561,31 +561,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
561
561
  return context;
562
562
  });
563
563
  var requirements3 = LayerNode.group([
564
- node87,
565
- node68,
566
- node57,
567
564
  node66,
568
- node65,
569
- node47,
565
+ node51,
566
+ node58,
567
+ node82,
568
+ node80,
569
+ node59,
570
570
  node89,
571
- node67,
571
+ node83,
572
572
  node81,
573
- node35,
574
- node84,
575
- node69,
576
- node40,
577
- node36,
578
- node37,
579
- node42,
573
+ node41,
574
+ node85,
575
+ node64,
580
576
  node21,
581
- node51,
577
+ node42,
582
578
  node52,
583
- node55,
579
+ node19,
580
+ node20,
581
+ node23,
582
+ node24,
583
+ node26,
584
584
  node48,
585
- node63,
586
- node22,
587
- node41,
588
- node53
585
+ node70,
586
+ node28,
587
+ node27,
588
+ node62
589
589
  ]);
590
590
  function storage2(kv, pluginID) {
591
591
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -612,7 +612,7 @@ function methodImplementation(input) {
612
612
  if ("authorize" in input) {
613
613
  const refresh = input.refresh;
614
614
  return {
615
- integrationID: ID10.make(input.integrationID),
615
+ integrationID: ID14.make(input.integrationID),
616
616
  method: { ...input.method, id: MethodID2.make(input.method.id) },
617
617
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
618
618
  if (authorization.mode === "auto") {
@@ -632,24 +632,24 @@ function methodImplementation(input) {
632
632
  }
633
633
  if (input.method.type === "env") {
634
634
  return {
635
- integrationID: ID10.make(input.integrationID),
635
+ integrationID: ID14.make(input.integrationID),
636
636
  method: input.method
637
637
  };
638
638
  }
639
639
  if (input.method.type === "command") {
640
640
  return {
641
- integrationID: ID10.make(input.integrationID),
641
+ integrationID: ID14.make(input.integrationID),
642
642
  method: { ...input.method, id: MethodID2.make(input.method.id) }
643
643
  };
644
644
  }
645
645
  if (input.method.type === "external") {
646
646
  return {
647
- integrationID: ID10.make(input.integrationID),
647
+ integrationID: ID14.make(input.integrationID),
648
648
  method: { ...input.method, id: MethodID2.make(input.method.id) }
649
649
  };
650
650
  }
651
651
  return {
652
- integrationID: ID10.make(input.integrationID),
652
+ integrationID: ID14.make(input.integrationID),
653
653
  method: input.method
654
654
  };
655
655
  }
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service86
3
- } from "./form-bapqkk7v.js";
3
+ } from "./shell-myarde17.js";
4
4
  import {
5
5
  Service85
6
- } from "./form-8bajgbmy.js";
6
+ } from "./shell-v640fphy.js";
7
7
  import {
8
- Service43
9
- } from "./form-4mwpykj0.js";
8
+ Service44
9
+ } from "./shell-51f5btjf.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./form-z5v4ffb3.js";
12
+ } from "./shell-z5v4ffb3.js";
13
13
  import {
14
- ID5,
15
- Service36
16
- } from "./form-4jv8yfzb.js";
14
+ ID9,
15
+ Service64
16
+ } from "./shell-9dm4tzrk.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./form-ec1grn59.js";
19
+ } from "./shell-ec1grn59.js";
20
20
  import {
21
21
  MessageNotFoundError2
22
- } from "./form-d1wmmgpz.js";
22
+ } from "./shell-vc5fxanm.js";
23
23
  import {
24
24
  SessionMessageTable2
25
- } from "./form-dgzq35zb.js";
25
+ } from "./shell-dgzq35zb.js";
26
26
  import {
27
27
  decodeMessageRowSync2
28
- } from "./form-gdn3wds6.js";
28
+ } from "./shell-ythqyp3b.js";
29
29
  import {
30
30
  __export
31
- } from "./form-9rqn6x4v.js";
31
+ } from "./shell-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,12 +41,12 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service43;
44
+ const instances = yield* Service44;
45
45
  const database = yield* Service86;
46
46
  const bus = yield* Service85;
47
47
  return yield* Effect.gen(function* () {
48
- const snapshot = yield* Service36;
49
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
48
+ const snapshot = yield* Service64;
49
+ const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
50
50
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
51
51
  const restore = new Map;
52
52
  if (original) {
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service43;
76
+ const instances = yield* Service44;
77
77
  const bus = yield* Service85;
78
78
  yield* Effect.gen(function* () {
79
- const snapshot = yield* Service36;
79
+ const snapshot = yield* Service64;
80
80
  if (!session.revert)
81
81
  return;
82
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
82
+ const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
83
83
  if (original)
84
84
  yield* snapshot.restore({
85
85
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -109,7 +109,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
109
109
  continue;
110
110
  for (const file of message.snapshot.files ?? [])
111
111
  if (!files.has(file))
112
- files.set(file, ID5.make(message.snapshot.start));
112
+ files.set(file, ID9.make(message.snapshot.start));
113
113
  }
114
114
  return files;
115
115
  });