@opencode/core 0.0.0-dev-19787 → 0.0.0-dev-19788

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{pty-6tc74vrw.js → variant-036xttfm.js} +20 -20
  8. package/dist/chunks/{pty-zwp73gaw.js → variant-09j7xzbf.js} +19 -19
  9. package/dist/chunks/{pty-899tt7an.js → variant-0aq7t7jz.js} +24 -24
  10. package/dist/chunks/{pty-v68hp2va.js → variant-0jt58gq5.js} +47 -47
  11. package/dist/chunks/{pty-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{pty-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{pty-h3c20vca.js → variant-0rv2ccgj.js} +4 -4
  14. package/dist/chunks/{pty-4jeaa92r.js → variant-18p3d61n.js} +3 -3
  15. package/dist/chunks/{pty-1bbkgx8g.js → variant-1bbkgx8g.js} +1 -1
  16. package/dist/chunks/{pty-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{pty-n7b52vzq.js → variant-1ht4yrx5.js} +20 -20
  18. package/dist/chunks/{pty-gydxxgyg.js → variant-1pw8ktv6.js} +17 -17
  19. package/dist/chunks/{pty-9n4prt69.js → variant-1q8ta1a7.js} +13 -13
  20. package/dist/chunks/{pty-s6qp1k48.js → variant-1qdn5mg4.js} +2 -2
  21. package/dist/chunks/{pty-5tvckp52.js → variant-1sadmq9v.js} +23 -23
  22. package/dist/chunks/{pty-8zqxjytc.js → variant-1zqx6507.js} +10 -10
  23. package/dist/chunks/{pty-21r38tys.js → variant-21r38tys.js} +1 -1
  24. package/dist/chunks/{pty-2402vzrj.js → variant-2402vzrj.js} +1 -1
  25. package/dist/chunks/{pty-4rr74z9v.js → variant-2543yr9f.js} +6 -6
  26. package/dist/chunks/{pty-29x78va6.js → variant-29x78va6.js} +2 -2
  27. package/dist/chunks/{pty-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{pty-qz49fwgp.js → variant-2d57kztd.js} +6 -6
  29. package/dist/chunks/{pty-00f2f7q8.js → variant-2pk3hmqv.js} +21 -21
  30. package/dist/chunks/{pty-rgt3cf1f.js → variant-2qtg0jfn.js} +8 -8
  31. package/dist/chunks/{pty-q36t7h4b.js → variant-2s1nhtmv.js} +1 -1
  32. package/dist/chunks/{pty-zvkwbpx3.js → variant-39cj4q9q.js} +11 -11
  33. package/dist/chunks/{pty-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{pty-2evd0k84.js → variant-3h9fe1cb.js} +27 -27
  35. package/dist/chunks/{pty-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{pty-eaznszq2.js → variant-3m2gyyj8.js} +26 -26
  37. package/dist/chunks/{pty-4p0kgrzt.js → variant-3mypx32h.js} +1 -1
  38. package/dist/chunks/{pty-gzfs38sx.js → variant-3p19car9.js} +20 -20
  39. package/dist/chunks/{pty-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{pty-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{pty-z3pw5915.js → variant-3w2b2yj4.js} +5 -5
  42. package/dist/chunks/{pty-zy742dcv.js → variant-4449w6ph.js} +32 -32
  43. package/dist/chunks/{pty-2g7r5mvw.js → variant-4febdg58.js} +9 -9
  44. package/dist/chunks/{pty-tk66bvfd.js → variant-4gswqhed.js} +18 -18
  45. package/dist/chunks/{pty-3zh6rxhw.js → variant-4hptpj1d.js} +16 -16
  46. package/dist/chunks/{pty-9mmr4cym.js → variant-4q678n20.js} +15 -15
  47. package/dist/chunks/{pty-b6yzcphf.js → variant-4qc459h3.js} +8 -8
  48. package/dist/chunks/{pty-s1mn6qcj.js → variant-4y2cq0f0.js} +8 -8
  49. package/dist/chunks/{pty-g2yz86wh.js → variant-51jra4mh.js} +2 -2
  50. package/dist/chunks/{pty-834a0b17.js → variant-53g2xa05.js} +6 -6
  51. package/dist/chunks/{pty-1ygqh575.js → variant-56gdpj1q.js} +9 -9
  52. package/dist/chunks/{pty-c2qj7f61.js → variant-571cwvkm.js} +22 -22
  53. package/dist/chunks/{pty-6wkd5avw.js → variant-59gj78ga.js} +30 -30
  54. package/dist/chunks/{pty-5c4hm403.js → variant-5c4hm403.js} +3 -3
  55. package/dist/chunks/{pty-5daktx2q.js → variant-5daktx2q.js} +1 -1
  56. package/dist/chunks/{pty-wzdyyep8.js → variant-5qb1g724.js} +8 -8
  57. package/dist/chunks/{pty-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{pty-mwfspft0.js → variant-5wqj2ap4.js} +9 -9
  59. package/dist/chunks/{pty-669tq793.js → variant-669tq793.js} +1 -1
  60. package/dist/chunks/{pty-6ejv29z8.js → variant-6cq4w4ej.js} +25 -25
  61. package/dist/chunks/{pty-kmrnkd77.js → variant-6cyxy0gy.js} +3 -3
  62. package/dist/chunks/{pty-czhz2k7d.js → variant-6dh9c3ss.js} +9 -9
  63. package/dist/chunks/{pty-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{pty-1csms2ve.js → variant-6n2ypsgr.js} +33 -33
  65. package/dist/chunks/{pty-ywdxak5q.js → variant-6qc0assy.js} +35 -35
  66. package/dist/chunks/{pty-mg0hvqns.js → variant-6zd4z6kv.js} +15 -15
  67. package/dist/chunks/{pty-hfs4qywr.js → variant-74evebey.js} +32 -32
  68. package/dist/chunks/{pty-mxr6rdrb.js → variant-7awa95k0.js} +16 -16
  69. package/dist/chunks/{pty-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{pty-7dqw4kz8.js → variant-7dqw4kz8.js} +1 -1
  71. package/dist/chunks/{pty-kbmk2nk1.js → variant-7j7wzv8x.js} +2 -2
  72. package/dist/chunks/{pty-xkhfjrgz.js → variant-7jdsj2a9.js} +2 -2
  73. package/dist/chunks/{pty-wcs8mysc.js → variant-7kewf0cc.js} +24 -24
  74. package/dist/chunks/{pty-vqf3rr9z.js → variant-7max8g9c.js} +15 -15
  75. package/dist/chunks/{pty-8npqseq9.js → variant-7ms2r6fn.js} +11 -11
  76. package/dist/chunks/{pty-7nrhymjj.js → variant-7p20jsne.js} +21 -21
  77. package/dist/chunks/{pty-qtwarjwz.js → variant-7z9tkqw1.js} +9 -9
  78. package/dist/chunks/{pty-fm2qvscf.js → variant-806j49yq.js} +4 -4
  79. package/dist/chunks/{pty-jnzdfagj.js → variant-81ke0znj.js} +5 -5
  80. package/dist/chunks/{pty-0nw536sy.js → variant-82rgwbpg.js} +4 -4
  81. package/dist/chunks/{pty-q9k3nk2m.js → variant-83r8e852.js} +14 -14
  82. package/dist/chunks/{pty-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{pty-byqk2fv6.js → variant-8dk804ze.js} +32 -32
  84. package/dist/chunks/{pty-b785ew1k.js → variant-8ty0ryk7.js} +90 -90
  85. package/dist/chunks/{pty-bwbrqz0a.js → variant-8v0w7kj2.js} +5 -5
  86. package/dist/chunks/{pty-yqngptm3.js → variant-91w7abj7.js} +16 -16
  87. package/dist/chunks/{pty-1cr9kxrr.js → variant-9588vfer.js} +23 -23
  88. package/dist/chunks/{pty-e41je68c.js → variant-95jpk3t3.js} +3 -3
  89. package/dist/chunks/{pty-8v55y81p.js → variant-95pfmgyz.js} +33 -33
  90. package/dist/chunks/{pty-a5frg3c7.js → variant-9avbkjx3.js} +6 -6
  91. package/dist/chunks/{pty-h8w3rnrc.js → variant-9jtv0k0v.js} +10 -10
  92. package/dist/chunks/{pty-z27wwaqb.js → variant-9rz2j36k.js} +9 -9
  93. package/dist/chunks/{pty-ch7ar4cr.js → variant-9t1yzjs7.js} +24 -24
  94. package/dist/chunks/{pty-4h75thkr.js → variant-9zsprffg.js} +26 -26
  95. package/dist/chunks/{pty-aaet6srn.js → variant-aaet6srn.js} +2 -2
  96. package/dist/chunks/{pty-ze9yakes.js → variant-ab7aqfjn.js} +14 -14
  97. package/dist/chunks/{pty-ynxbryrd.js → variant-ag0ge9vb.js} +20 -20
  98. package/dist/chunks/{pty-8ev4rrc0.js → variant-arn0a1z7.js} +2 -2
  99. package/dist/chunks/{pty-08fd96st.js → variant-aw2ne7rk.js} +4 -4
  100. package/dist/chunks/{pty-jdbtptns.js → variant-axx87c8z.js} +18 -18
  101. package/dist/chunks/{pty-1c5ncfj1.js → variant-aydaz3rw.js} +24 -24
  102. package/dist/chunks/{pty-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{pty-277eer69.js → variant-bacyadyn.js} +4 -4
  104. package/dist/chunks/{pty-9yyvrqyy.js → variant-bb31b7br.js} +24 -24
  105. package/dist/chunks/{pty-qq11w61w.js → variant-bf0ztrs3.js} +4 -4
  106. package/dist/chunks/{pty-sd8zp0nj.js → variant-bhmd7z0s.js} +4 -4
  107. package/dist/chunks/{pty-j2e43x50.js → variant-bm2g2e4c.js} +32 -32
  108. package/dist/chunks/{pty-z50h5snd.js → variant-bpfnneg5.js} +23 -23
  109. package/dist/chunks/{pty-8msxkbjy.js → variant-brp4bzxj.js} +29 -29
  110. package/dist/chunks/{pty-t96c7fmv.js → variant-bst6223z.js} +25 -25
  111. package/dist/chunks/{pty-bky20j8j.js → variant-byy6e5ra.js} +9 -9
  112. package/dist/chunks/{pty-kk61yved.js → variant-c4cxbw3g.js} +13 -13
  113. package/dist/chunks/{pty-gjmk74th.js → variant-c8bydgjz.js} +6 -6
  114. package/dist/chunks/{pty-aqvz20a2.js → variant-c966ad08.js} +10 -10
  115. package/dist/chunks/{pty-7xnx6cga.js → variant-cb5th899.js} +28 -28
  116. package/dist/chunks/variant-cd6cwsk9.js +26 -0
  117. package/dist/chunks/{pty-z62c9ayt.js → variant-cdhfde9j.js} +12 -12
  118. package/dist/chunks/variant-cehqskmp.js +252 -0
  119. package/dist/chunks/{pty-xdw3myhw.js → variant-cf3500x7.js} +14 -14
  120. package/dist/chunks/{pty-n5zcbnsa.js → variant-cfqcr5nn.js} +37 -37
  121. package/dist/chunks/{pty-6p3xbzsx.js → variant-csf2jhsg.js} +4 -4
  122. package/dist/chunks/{pty-e0r8ercz.js → variant-d6g5yyx2.js} +7 -7
  123. package/dist/chunks/{pty-0ymsz8rv.js → variant-dgr6519x.js} +5 -5
  124. package/dist/chunks/{pty-zav06jzw.js → variant-dhmh7aw6.js} +4 -4
  125. package/dist/chunks/{pty-dj2t23y0.js → variant-dj2t23y0.js} +2 -2
  126. package/dist/chunks/{pty-stdr0dsx.js → variant-dmtmpte2.js} +18 -18
  127. package/dist/chunks/{pty-gq6z7eg4.js → variant-dq8te7y3.js} +26 -26
  128. package/dist/chunks/{pty-drwq78ky.js → variant-drwq78ky.js} +1 -1
  129. package/dist/chunks/{pty-hr990vwq.js → variant-ds3dp4hd.js} +34 -34
  130. package/dist/chunks/{pty-xseb90fg.js → variant-dtheb6mc.js} +3 -3
  131. package/dist/chunks/{pty-hsv1w0ka.js → variant-e0cjyxzq.js} +15 -15
  132. package/dist/chunks/{pty-3b9qt4hj.js → variant-e0r7vjdq.js} +9 -9
  133. package/dist/chunks/{pty-s8d7rejh.js → variant-eaj1djv9.js} +6 -6
  134. package/dist/chunks/{pty-tvkyymax.js → variant-ebcvbnkn.js} +6 -6
  135. package/dist/chunks/{pty-nbqevg8t.js → variant-eevzksqv.js} +13 -13
  136. package/dist/chunks/{pty-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{pty-wr7ps67x.js → variant-engkm2d6.js} +5 -5
  138. package/dist/chunks/{pty-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{pty-p5hkqs15.js → variant-et0dwx51.js} +1 -1
  140. package/dist/chunks/{pty-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{pty-bm3m92rh.js → variant-faxz800z.js} +12 -12
  142. package/dist/chunks/{pty-6avas0hs.js → variant-fbqt5tv2.js} +3 -3
  143. package/dist/chunks/{pty-t4h1a8sm.js → variant-fkmvdsrs.js} +6 -6
  144. package/dist/chunks/{pty-p1nm93x7.js → variant-fvsyg6qk.js} +5 -5
  145. package/dist/chunks/{pty-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{pty-0en0hh3r.js → variant-fxmgg4aj.js} +4 -4
  147. package/dist/chunks/{pty-qph7hyw7.js → variant-fz75205d.js} +4 -4
  148. package/dist/chunks/{pty-k1gkpfdk.js → variant-g1sxm558.js} +8 -8
  149. package/dist/chunks/{pty-dhwr7h25.js → variant-g1zq6c5t.js} +8 -8
  150. package/dist/chunks/{pty-rrnpfv6a.js → variant-g5fe2pst.js} +20 -20
  151. package/dist/chunks/{pty-d58ea4wx.js → variant-g9hjynqd.js} +6 -6
  152. package/dist/chunks/{pty-x5pjsa02.js → variant-g9wnjee6.js} +12 -12
  153. package/dist/chunks/{pty-teerv99t.js → variant-gby5wcn0.js} +59 -59
  154. package/dist/chunks/{pty-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{pty-v58jy1xd.js → variant-gj1hd0v4.js} +9 -9
  156. package/dist/chunks/{pty-7ac170kv.js → variant-gnx4ytbv.js} +4 -4
  157. package/dist/chunks/{pty-hyag3rfz.js → variant-gszg7n4f.js} +11 -11
  158. package/dist/chunks/{pty-p91ndb2v.js → variant-gt3cwgnf.js} +31 -31
  159. package/dist/chunks/{pty-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{pty-e9wrjfx0.js → variant-h196ywmy.js} +55 -55
  161. package/dist/chunks/{pty-h6r3nrb9.js → variant-h6r3nrb9.js} +1 -1
  162. package/dist/chunks/{pty-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{pty-74e549sx.js → variant-h7sr0csd.js} +15 -15
  164. package/dist/chunks/{pty-qqrhpyxk.js → variant-hcvxky9s.js} +13 -13
  165. package/dist/chunks/{pty-hdnk95c8.js → variant-hdnk95c8.js} +2 -2
  166. package/dist/chunks/{pty-p8x8xcsb.js → variant-hgz2sqdv.js} +10 -10
  167. package/dist/chunks/{pty-npbak50e.js → variant-hjmm9f8v.js} +9 -9
  168. package/dist/chunks/{pty-nbctyxha.js → variant-hpjs4p32.js} +300 -300
  169. package/dist/chunks/{pty-bkjtrpfb.js → variant-hqqbf430.js} +16 -16
  170. package/dist/chunks/{pty-d7tjjqf6.js → variant-hrkge0dr.js} +3 -3
  171. package/dist/chunks/{pty-j56e64zr.js → variant-j56e64zr.js} +1 -1
  172. package/dist/chunks/{pty-gzbkpp9m.js → variant-jbjr1a4g.js} +6 -6
  173. package/dist/chunks/{pty-waqpjwb8.js → variant-jd8ez2rx.js} +3 -3
  174. package/dist/chunks/{pty-7qq3ahcc.js → variant-k0nnq3t9.js} +4 -4
  175. package/dist/chunks/{pty-2kv1txj9.js → variant-k41ybe0m.js} +7 -7
  176. package/dist/chunks/{pty-kss3k1ej.js → variant-k48z0nfs.js} +14 -14
  177. package/dist/chunks/{pty-2em355j9.js → variant-k6vef6f0.js} +42 -42
  178. package/dist/chunks/{pty-rsd57mk1.js → variant-ka9h1195.js} +17 -17
  179. package/dist/chunks/{pty-vsp1fds9.js → variant-kk00bynn.js} +4 -4
  180. package/dist/chunks/{pty-m5mra8ny.js → variant-km0erg4h.js} +13 -13
  181. package/dist/chunks/{pty-fkjmw100.js → variant-knb7evpn.js} +6 -6
  182. package/dist/chunks/{pty-vyhtd5az.js → variant-krnt6yfv.js} +36 -36
  183. package/dist/chunks/{pty-rjkasajw.js → variant-kvsvqh13.js} +15 -15
  184. package/dist/chunks/{pty-sbycj2hd.js → variant-kwzwcjdj.js} +15 -15
  185. package/dist/chunks/{pty-qf8xbt1v.js → variant-kyktj0vd.js} +6 -6
  186. package/dist/chunks/{pty-m0jqrx5p.js → variant-m0jqrx5p.js} +2 -2
  187. package/dist/chunks/{pty-ssr8tzqd.js → variant-m0sej1qn.js} +7 -7
  188. package/dist/chunks/{pty-s1wc6ad4.js → variant-m3csf4ap.js} +13 -13
  189. package/dist/chunks/{pty-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{pty-s4ajyzwp.js → variant-m733p5th.js} +13 -13
  191. package/dist/chunks/{pty-9sqkv26s.js → variant-m7pj8f36.js} +40 -40
  192. package/dist/chunks/{pty-xgqsyfnn.js → variant-m8deaeh7.js} +16 -16
  193. package/dist/chunks/{pty-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{pty-mv5tqpbn.js → variant-mmb8fzkf.js} +14 -14
  195. package/dist/chunks/{pty-vk0pdsgf.js → variant-mrqnf78j.js} +28 -28
  196. package/dist/chunks/{pty-809q4hne.js → variant-mtft99cd.js} +5 -5
  197. package/dist/chunks/{pty-rccz2tys.js → variant-n4fbvqmd.js} +6 -6
  198. package/dist/chunks/variant-n95b3jav.js +18 -0
  199. package/dist/chunks/{pty-t62nene4.js → variant-ncbj3p6k.js} +51 -51
  200. package/dist/chunks/{pty-137n2cjd.js → variant-nkg4sc71.js} +5 -5
  201. package/dist/chunks/{pty-htekf6zf.js → variant-nn2fzds8.js} +9 -9
  202. package/dist/chunks/{pty-x31dz1np.js → variant-nvpyq15w.js} +41 -41
  203. package/dist/chunks/{pty-x0511brf.js → variant-nw2nz702.js} +4 -4
  204. package/dist/chunks/{pty-7t8e8ps1.js → variant-nwtcycp4.js} +11 -11
  205. package/dist/chunks/{pty-r3grxea3.js → variant-nxamx01y.js} +41 -41
  206. package/dist/chunks/{pty-brqzv7bg.js → variant-nxhxdrrf.js} +30 -30
  207. package/dist/chunks/{pty-k3c624dm.js → variant-nzks3jc8.js} +3 -3
  208. package/dist/chunks/{pty-57q53s15.js → variant-p11h9hwq.js} +9 -9
  209. package/dist/chunks/{pty-5yzzbxa7.js → variant-p37cw4rj.js} +8 -8
  210. package/dist/chunks/{pty-8ha6ga5e.js → variant-p84dsdfh.js} +8 -8
  211. package/dist/chunks/{pty-nam2k8jt.js → variant-pcva14f7.js} +8 -8
  212. package/dist/chunks/{pty-57ez7d0k.js → variant-pef6k0gg.js} +9 -9
  213. package/dist/chunks/{pty-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{pty-pknna89w.js → variant-pknna89w.js} +1 -1
  215. package/dist/chunks/{pty-p3j3z1wm.js → variant-q5a1e36b.js} +25 -25
  216. package/dist/chunks/{pty-pwyph8fp.js → variant-q68k07bj.js} +11 -11
  217. package/dist/chunks/{pty-bd89c7qa.js → variant-qacyc7aa.js} +9 -9
  218. package/dist/chunks/variant-qapv375x.js +4 -0
  219. package/dist/chunks/{pty-1j7jhvrm.js → variant-qhayk2b7.js} +17 -17
  220. package/dist/chunks/{pty-zg25sgvs.js → variant-qk0e3gk9.js} +9 -9
  221. package/dist/chunks/{pty-c9g527t4.js → variant-qpkc6dca.js} +32 -32
  222. package/dist/chunks/{pty-qsdy395h.js → variant-qsdy395h.js} +1 -1
  223. package/dist/chunks/{pty-az62kead.js → variant-qxs0gjsw.js} +11 -11
  224. package/dist/chunks/{pty-kz37x8hb.js → variant-qyabr2c4.js} +88 -88
  225. package/dist/chunks/{pty-r2m716tb.js → variant-r2m716tb.js} +2 -2
  226. package/dist/chunks/{pty-2b210p4k.js → variant-r32sn7ke.js} +18 -18
  227. package/dist/chunks/{pty-cy7q8w9z.js → variant-r6vq26jz.js} +6 -6
  228. package/dist/chunks/{pty-1e7y3jby.js → variant-rbeyeh8v.js} +3 -3
  229. package/dist/chunks/{pty-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{pty-rhafb4aa.js → variant-rhafb4aa.js} +2 -2
  231. package/dist/chunks/{pty-mx4hjh21.js → variant-rm1vz964.js} +30 -30
  232. package/dist/chunks/{pty-44jfm9c6.js → variant-rxmq8rgz.js} +5 -5
  233. package/dist/chunks/{pty-6vgkbqsf.js → variant-ryeeha7r.js} +8 -8
  234. package/dist/chunks/{pty-02j327mk.js → variant-s0f29662.js} +27 -27
  235. package/dist/chunks/{pty-s4enseaf.js → variant-s4enseaf.js} +2 -2
  236. package/dist/chunks/{pty-0jq9fyba.js → variant-s5d9hk7s.js} +9 -9
  237. package/dist/chunks/{pty-4bgjx4y9.js → variant-s9e8sf64.js} +42 -42
  238. package/dist/chunks/{pty-sk1rxzc5.js → variant-sqdmb1qc.js} +18 -18
  239. package/dist/chunks/{pty-g9q532r4.js → variant-srhbgzsh.js} +1 -1
  240. package/dist/chunks/{pty-dcsznwm0.js → variant-starn555.js} +15 -15
  241. package/dist/chunks/{pty-sy45410j.js → variant-sz3gsrbf.js} +21 -21
  242. package/dist/chunks/{pty-0s0a8jh1.js → variant-tae944ma.js} +171 -171
  243. package/dist/chunks/{pty-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{pty-rbs0ef4y.js → variant-tbq2h17c.js} +22 -22
  245. package/dist/chunks/{pty-p28j5sbe.js → variant-tbz0fdvh.js} +5 -5
  246. package/dist/chunks/{pty-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  247. package/dist/chunks/{pty-be3g221r.js → variant-td7mnp8z.js} +20 -20
  248. package/dist/chunks/{pty-tdstcens.js → variant-tdstcens.js} +1 -1
  249. package/dist/chunks/{pty-j5786zrt.js → variant-ts2x07a1.js} +1 -1
  250. package/dist/chunks/{pty-tvtrv512.js → variant-tvtrv512.js} +1 -1
  251. package/dist/chunks/{pty-abyxqag4.js → variant-ty0554db.js} +4 -4
  252. package/dist/chunks/{pty-jqe5ka82.js → variant-v1407nsh.js} +18 -18
  253. package/dist/chunks/{pty-4b3p33ns.js → variant-v29fjn9e.js} +43 -43
  254. package/dist/chunks/{pty-qmg269n7.js → variant-v47z8hsk.js} +11 -11
  255. package/dist/chunks/{pty-m2taxsaw.js → variant-v4dhgaj7.js} +10 -10
  256. package/dist/chunks/{pty-rf9y12ds.js → variant-va6pcbts.js} +3 -3
  257. package/dist/chunks/{pty-veqvce7d.js → variant-veqvce7d.js} +1 -1
  258. package/dist/chunks/{pty-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{pty-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{pty-tb60vd7q.js → variant-wbrxfa2a.js} +4 -4
  261. package/dist/chunks/{pty-wd87259q.js → variant-wd87259q.js} +1 -1
  262. package/dist/chunks/{pty-kb0jenp9.js → variant-wfrt7f8k.js} +18 -18
  263. package/dist/chunks/{pty-f1cvcqqp.js → variant-wj3yfrmp.js} +21 -21
  264. package/dist/chunks/{pty-vkwcxm6e.js → variant-wmdqddds.js} +1 -1
  265. package/dist/chunks/{pty-2chp5681.js → variant-wsp13tn1.js} +11 -11
  266. package/dist/chunks/{pty-eq9606cq.js → variant-wtphcwzm.js} +30 -30
  267. package/dist/chunks/{pty-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{pty-4kyk22vj.js → variant-x8a6wpb1.js} +39 -39
  269. package/dist/chunks/{pty-8kgt14gf.js → variant-xh03bpf0.js} +21 -21
  270. package/dist/chunks/{pty-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{pty-y71avatq.js → variant-y71avatq.js} +1 -1
  272. package/dist/chunks/{pty-hn8hcjvd.js → variant-ygshqydb.js} +1 -1
  273. package/dist/chunks/{pty-bxgqktpk.js → variant-yj76swvz.js} +24 -24
  274. package/dist/chunks/{pty-6zvnhsg3.js → variant-yjf31fha.js} +25 -25
  275. package/dist/chunks/{pty-1acjjqhc.js → variant-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{pty-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{pty-cq9vh2fv.js → variant-yvvvp4gn.js} +8 -8
  278. package/dist/chunks/{pty-vjrtmzpa.js → variant-yxjfm1ef.js} +5 -5
  279. package/dist/chunks/{pty-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{pty-pxnzv34t.js → variant-z0xass54.js} +15 -15
  281. package/dist/chunks/{pty-wvh43mtc.js → variant-z73z9mq7.js} +21 -21
  282. package/dist/chunks/{pty-0mwa6y39.js → variant-z8smh9c8.js} +18 -18
  283. package/dist/chunks/{pty-5xdv3y65.js → variant-z8tc00nf.js} +27 -27
  284. package/dist/chunks/{pty-tqg72d4k.js → variant-z9v75n1r.js} +13 -13
  285. package/dist/chunks/{pty-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{pty-3sqv75dt.js → variant-zh2phv9k.js} +10 -10
  287. package/dist/chunks/{pty-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{pty-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  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.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +367 -367
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +104 -104
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.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 +358 -358
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +355 -355
  470. package/dist/location.js +88 -88
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +125 -125
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +95 -95
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +106 -106
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +329 -329
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +119 -119
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +346 -346
  544. package/dist/plugin/update.js +6 -6
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +120 -120
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +6 -6
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +4 -4
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +224 -224
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +89 -89
  559. package/dist/provider.js +94 -94
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +95 -95
  564. package/dist/reference/instructions.js +88 -88
  565. package/dist/reference.js +90 -90
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +96 -96
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +131 -131
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +220 -220
  580. package/dist/session/execution.js +125 -125
  581. package/dist/session/generate.js +152 -152
  582. package/dist/session/history.js +13 -13
  583. package/dist/session/inbox.js +87 -87
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +118 -118
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +129 -129
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +97 -97
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +111 -111
  604. package/dist/session/runner/step.js +123 -123
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +3 -3
  607. package/dist/session/session.js +171 -171
  608. package/dist/session/shell.js +137 -137
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +149 -149
  617. package/dist/session/to-session-error.js +110 -110
  618. package/dist/session/transfer.js +214 -214
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +217 -217
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +11 -11
  625. package/dist/shell.js +139 -139
  626. package/dist/skill/discovery.js +2 -2
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +111 -111
  629. package/dist/snapshot.js +90 -90
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +124 -124
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +123 -123
  637. package/dist/tool/plugin/grep.js +121 -121
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +102 -102
  641. package/dist/tool/plugin/read.js +124 -124
  642. package/dist/tool/plugin/shell.js +214 -214
  643. package/dist/tool/plugin/skill.js +110 -110
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +111 -111
  646. package/dist/tool/plugin/websearch.js +111 -111
  647. package/dist/tool/plugin/write.js +121 -121
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/config.js +14 -14
  665. package/dist/v1/config/error.js +2 -2
  666. package/dist/v1/config/formatter.js +5 -5
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +91 -91
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +1 -1
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/variant.js +90 -90
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +88 -88
  681. package/dist/websearch.js +83 -83
  682. package/dist/wellknown/plugin.js +75 -75
  683. package/dist/wellknown.js +74 -74
  684. package/dist/workspace/driver.js +3 -3
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +77 -77
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +88 -88
  691. package/dist/worktree.js +95 -95
  692. package/package.json +8 -8
  693. package/dist/chunks/pty-1qqxsas6.js +0 -252
  694. package/dist/chunks/pty-1tm0r3ht.js +0 -4
  695. package/dist/chunks/pty-5qekf1cr.js +0 -26
  696. package/dist/chunks/pty-pf31ssb9.js +0 -18
  697. /package/dist/chunks/{pty-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{pty-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{pty-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{pty-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{pty-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{pty-24dcb14g.js → variant-24dcb14g.js} +0 -0
  703. /package/dist/chunks/{pty-2710q6r3.js → variant-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{pty-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{pty-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{pty-359p4xyc.js → variant-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{pty-3asan66x.js → variant-3asan66x.js} +0 -0
  708. /package/dist/chunks/{pty-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{pty-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  710. /package/dist/chunks/{pty-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{pty-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{pty-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{pty-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{pty-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{pty-53557ph1.js → variant-53557ph1.js} +0 -0
  716. /package/dist/chunks/{pty-550bvhaj.js → variant-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{pty-6prwharc.js → variant-6prwharc.js} +0 -0
  718. /package/dist/chunks/{pty-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{pty-7m9af43g.js → variant-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{pty-822emrt2.js → variant-822emrt2.js} +0 -0
  721. /package/dist/chunks/{pty-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{pty-8n3pysct.js → variant-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{pty-922hggd3.js → variant-922hggd3.js} +0 -0
  724. /package/dist/chunks/{pty-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{pty-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{pty-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{pty-af5trqkr.js → variant-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{pty-afrmfg78.js → variant-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{pty-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{pty-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{pty-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{pty-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{pty-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{pty-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{pty-d9fn303g.js → variant-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{pty-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{pty-dajrwvna.js → variant-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{pty-dap0rakb.js → variant-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{pty-df08tz66.js → variant-df08tz66.js} +0 -0
  740. /package/dist/chunks/{pty-dy18nga0.js → variant-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{pty-e3qxr5gk.js → variant-e3qxr5gk.js} +0 -0
  742. /package/dist/chunks/{pty-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{pty-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{pty-ec1grn59.js → variant-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{pty-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{pty-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{pty-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{pty-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{pty-faypxj3z.js → variant-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{pty-fd410y7t.js → variant-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{pty-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{pty-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{pty-g86h250q.js → variant-g86h250q.js} +0 -0
  754. /package/dist/chunks/{pty-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{pty-gftt206x.js → variant-gftt206x.js} +0 -0
  756. /package/dist/chunks/{pty-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{pty-hk9envan.js → variant-hk9envan.js} +0 -0
  758. /package/dist/chunks/{pty-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{pty-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{pty-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{pty-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{pty-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{pty-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{pty-mp448xyj.js → variant-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{pty-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{pty-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{pty-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{pty-njntx4h6.js → variant-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{pty-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{pty-q74kybfr.js → variant-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{pty-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{pty-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{pty-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{pty-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{pty-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{pty-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{pty-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{pty-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{pty-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{pty-twg0f83k.js → variant-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{pty-w803qqfp.js → variant-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{pty-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{pty-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{pty-wtztk69x.js → variant-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{pty-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{pty-x61499pn.js → variant-x61499pn.js} +0 -0
  787. /package/dist/chunks/{pty-y44na4kk.js → variant-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{pty-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  789. /package/dist/chunks/{pty-y8f7s663.js → variant-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{pty-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{pty-ym463w8f.js → variant-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{pty-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node46
4
- } from "./pty-3sqv75dt.js";
3
+ node53
4
+ } from "./variant-zh2phv9k.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./pty-qph7hyw7.js";
8
+ } from "./variant-fz75205d.js";
9
9
  import {
10
- ID10,
11
- Service67,
12
- node71
13
- } from "./pty-f1cvcqqp.js";
10
+ ID9,
11
+ Service65,
12
+ node69
13
+ } from "./variant-wj3yfrmp.js";
14
14
  import {
15
- ID15,
15
+ ID18,
16
16
  OAuth3
17
- } from "./pty-6wkd5avw.js";
17
+ } from "./variant-59gj78ga.js";
18
18
  import {
19
- ID14,
19
+ ID16,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service76,
24
- node80
25
- } from "./pty-8msxkbjy.js";
23
+ Service78,
24
+ node82
25
+ } from "./variant-brp4bzxj.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./pty-922hggd3.js";
29
- import {
30
- Info32,
31
- Ref4,
32
- Service79,
33
- node83
34
- } from "./pty-rsd57mk1.js";
35
- import {
36
- ID13,
37
- Service75,
38
- node79
39
- } from "./pty-1cr9kxrr.js";
28
+ } from "./variant-922hggd3.js";
40
29
  import {
30
+ Info29,
31
+ Ref3,
41
32
  Service74,
42
33
  node78
43
- } from "./pty-czhz2k7d.js";
44
- import {
45
- Service39,
46
- node42
47
- } from "./pty-7nrhymjj.js";
34
+ } from "./variant-ka9h1195.js";
48
35
  import {
49
- Service72,
50
- node76
51
- } from "./pty-m2taxsaw.js";
52
- import {
53
- Service53,
54
- node56
55
- } from "./pty-az62kead.js";
56
- import {
57
- ID12,
36
+ ID13,
58
37
  Service73,
59
38
  node77
60
- } from "./pty-rbs0ef4y.js";
39
+ } from "./variant-9588vfer.js";
61
40
  import {
62
- ID6
63
- } from "./pty-5tvckp52.js";
64
- import {
65
- Service22,
66
- node26
67
- } from "./pty-t62nene4.js";
41
+ Service52,
42
+ node55
43
+ } from "./variant-6dh9c3ss.js";
68
44
  import {
69
45
  Service68,
70
46
  node72
71
- } from "./pty-k1gkpfdk.js";
47
+ } from "./variant-7p20jsne.js";
72
48
  import {
73
- Service64,
74
- node68
75
- } from "./pty-2em355j9.js";
49
+ Service77,
50
+ node81
51
+ } from "./variant-v4dhgaj7.js";
76
52
  import {
77
- Service41,
78
- node44
79
- } from "./pty-9yyvrqyy.js";
53
+ Service56,
54
+ node59
55
+ } from "./variant-qxs0gjsw.js";
80
56
  import {
81
- Source4,
82
- Service36,
83
- node39
84
- } from "./pty-gq6z7eg4.js";
57
+ ID12,
58
+ Service72,
59
+ node76
60
+ } from "./variant-tbq2h17c.js";
85
61
  import {
86
- Info4,
87
- Service27,
88
- node30
89
- } from "./pty-ch7ar4cr.js";
62
+ ID7
63
+ } from "./variant-1sadmq9v.js";
90
64
  import {
91
- Service14,
92
- node17
93
- } from "./pty-b785ew1k.js";
65
+ Service34,
66
+ node37
67
+ } from "./variant-ncbj3p6k.js";
94
68
  import {
95
- Service54,
96
- node57
97
- } from "./pty-02j327mk.js";
69
+ Service67,
70
+ node71
71
+ } from "./variant-g1sxm558.js";
98
72
  import {
99
73
  Service63,
100
74
  node67
101
- } from "./pty-6tc74vrw.js";
75
+ } from "./variant-k6vef6f0.js";
102
76
  import {
103
- Service35,
104
- node38
105
- } from "./pty-rrnpfv6a.js";
77
+ Service50,
78
+ node52
79
+ } from "./variant-bb31b7br.js";
106
80
  import {
107
- ID5,
108
- Service38,
109
- node41
110
- } from "./pty-6ejv29z8.js";
81
+ Source3,
82
+ Service54,
83
+ node57
84
+ } from "./variant-dq8te7y3.js";
111
85
  import {
112
- Service34,
113
- node37
114
- } from "./pty-wvh43mtc.js";
86
+ Info9,
87
+ Service57,
88
+ node60
89
+ } from "./variant-9t1yzjs7.js";
90
+ import {
91
+ Service29,
92
+ node32
93
+ } from "./variant-8ty0ryk7.js";
94
+ import {
95
+ Service23,
96
+ node26
97
+ } from "./variant-s0f29662.js";
98
+ import {
99
+ Service24,
100
+ node27
101
+ } from "./variant-036xttfm.js";
102
+ import {
103
+ Service17,
104
+ node20
105
+ } from "./variant-g5fe2pst.js";
106
+ import {
107
+ ID4,
108
+ Service28,
109
+ node31
110
+ } from "./variant-6cq4w4ej.js";
111
+ import {
112
+ Service20,
113
+ node23
114
+ } from "./variant-z73z9mq7.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info5,
117
+ Info4,
118
118
  ListEntry3,
119
- Service33,
120
- node36
121
- } from "./pty-4bgjx4y9.js";
119
+ Service19,
120
+ node22
121
+ } from "./variant-s9e8sf64.js";
122
122
  import {
123
- Service55,
124
- node58
125
- } from "./pty-t96c7fmv.js";
123
+ Service15,
124
+ node18
125
+ } from "./variant-bst6223z.js";
126
126
  import {
127
127
  __export
128
- } from "./pty-9rqn6x4v.js";
128
+ } from "./variant-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,49 +143,49 @@ 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* Service74;
148
- const providers = yield* Service75;
149
- const models = yield* Service73;
150
- const commands = yield* Service39;
146
+ const agents = yield* Service65;
147
+ const aisdk = yield* Service52;
148
+ const providers = yield* Service73;
149
+ const models = yield* Service72;
150
+ const commands = yield* Service68;
151
151
  const bus = yield* Service82;
152
- const integration = yield* Service76;
153
- const kv = yield* Service72;
154
- const mcp = yield* Service22;
155
- const location = yield* Service79;
156
- const reference = yield* Service36;
157
- const rpc = yield* Service63;
158
- const skill = yield* Service27;
159
- const tools = yield* Service41;
160
- const vcs = yield* Service35;
161
- const websearch = yield* Service38;
162
- const generate = yield* Service55;
163
- const permission = yield* Service64;
164
- const hooks = yield* Service68;
165
- const sessions = yield* Service14;
166
- const persistentPty = yield* Service54;
167
- const locations = yield* Service53;
168
- const worktrees = yield* Service33;
169
- const worktreeStrategies = yield* Service34;
152
+ const integration = yield* Service78;
153
+ const kv = yield* Service77;
154
+ const mcp = yield* Service34;
155
+ const location = yield* Service74;
156
+ const reference = yield* Service54;
157
+ const rpc = yield* Service24;
158
+ const skill = yield* Service57;
159
+ const tools = yield* Service50;
160
+ const vcs = yield* Service17;
161
+ const websearch = yield* Service28;
162
+ const generate = yield* Service15;
163
+ const permission = yield* Service63;
164
+ const hooks = yield* Service67;
165
+ const sessions = yield* Service29;
166
+ const persistentPty = yield* Service23;
167
+ const locations = yield* Service56;
168
+ const worktrees = yield* Service19;
169
+ const worktreeStrategies = yield* Service20;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
- const locationInfo = () => new Info32({
171
+ const locationInfo = () => new Info29({
172
172
  directory: location.directory,
173
173
  workspaceID: location.workspaceID,
174
174
  project: location.project
175
175
  });
176
- const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
176
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref3.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID6.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(Info5);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info4);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
- const location = yield* Service79;
186
- const agents = yield* Service67;
185
+ const location = yield* Service74;
186
+ const agents = yield* Service65;
187
187
  return {
188
- location: new Info32({
188
+ location: new Info29({
189
189
  directory: location.directory,
190
190
  workspaceID: location.workspaceID,
191
191
  project: location.project
@@ -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(ID10.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
222
- update: (id, update) => editor.update(ID10.make(id), update),
223
- remove: (id) => editor.remove(ID10.make(id))
220
+ get: (id) => mutable(editor.get(ID9.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
222
+ update: (id, update) => editor.update(ID9.make(id), update),
223
+ remove: (id) => editor.remove(ID9.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
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: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID18.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
267
  update: (id, update) => editor.update(ID13.make(id), update),
268
268
  remove: (id) => editor.remove(ID13.make(id)),
@@ -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(ID14.make(input.integrationID));
315
+ const item = yield* integration.get(ID16.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: ID14.make(input.integrationID),
322
+ integrationID: ID16.make(input.integrationID),
323
323
  key: input.key,
324
324
  answer: input.answer,
325
325
  label: input.label
@@ -327,55 +327,55 @@ 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: ID14.make(input.integrationID),
330
+ integrationID: ID16.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: ID14.make(input.integrationID),
336
+ integrationID: ID16.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })),
339
339
  complete: (input) => integration.oauth.complete({
340
- integrationID: ID14.make(input.integrationID),
340
+ integrationID: ID16.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: ID14.make(input.integrationID),
345
+ integrationID: ID16.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: ID14.make(input.integrationID),
351
+ integrationID: ID16.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: ID14.make(input.integrationID),
356
+ integrationID: ID16.make(input.integrationID),
357
357
  attemptID: AttemptID2.make(input.attemptID)
358
358
  })),
359
359
  cancel: (input) => integration.command.cancel({
360
- integrationID: ID14.make(input.integrationID),
360
+ integrationID: ID16.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(ID14.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection)
366
+ active: (id) => integration.connection.active(ID16.make(id)),
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID18.make(connection.id) } : connection)
368
368
  },
369
369
  transform: (callback) => integration.transform((editor) => {
370
370
  callback({
371
371
  list: () => mutable(editor.list()),
372
- get: (id) => mutable(editor.get(ID14.make(id))),
373
- update: (id, update) => editor.update(ID14.make(id), update),
374
- remove: (id) => editor.remove(ID14.make(id)),
372
+ get: (id) => mutable(editor.get(ID16.make(id))),
373
+ update: (id, update) => editor.update(ID16.make(id), update),
374
+ remove: (id) => editor.remove(ID16.make(id)),
375
375
  method: {
376
- list: (id) => editor.method.list(ID14.make(id)),
376
+ list: (id) => editor.method.list(ID16.make(id)),
377
377
  update: (input) => editor.method.update(methodImplementation(input)),
378
- remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
378
+ remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
379
379
  }
380
380
  });
381
381
  })
@@ -385,10 +385,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
385
385
  const ref = locationRef(input);
386
386
  if (ref && !isCurrentLocation(ref))
387
387
  return Effect.gen(function* () {
388
- const location = yield* Service79;
389
- const mcp = yield* Service22;
388
+ const location = yield* Service74;
389
+ const mcp = yield* Service34;
390
390
  return {
391
- location: new Info32({
391
+ location: new Info29({
392
392
  directory: location.directory,
393
393
  workspaceID: location.workspaceID,
394
394
  project: location.project
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
423
423
  reload: reference.reload,
424
424
  transform: (callback) => reference.transform((editor) => {
425
425
  callback({
426
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
426
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
427
427
  remove: editor.remove,
428
428
  list: editor.list,
429
429
  get: editor.get
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
437
437
  callback({
438
438
  list: () => mutable(editor.list()),
439
439
  get: editor.get,
440
- add: (value) => editor.add(Schema.decodeUnknownSync(Info4)(value)),
440
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
441
441
  update: editor.update,
442
442
  remove: editor.remove
443
443
  });
@@ -467,19 +467,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
467
467
  providers: () => response(websearch.providers()),
468
468
  query: (input) => response(websearch.query({
469
469
  query: input.query,
470
- providerID: input.providerID === undefined ? undefined : ID5.make(input.providerID)
470
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
471
471
  })),
472
472
  reload: websearch.reload,
473
473
  transform: (callback) => websearch.transform((editor) => {
474
474
  callback({
475
475
  add: (definition) => editor.add({
476
- id: ID5.make(definition.id),
476
+ id: ID4.make(definition.id),
477
477
  name: definition.name,
478
478
  execute: definition.execute
479
479
  }),
480
480
  default: {
481
481
  get: editor.default.get,
482
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID5.make(selection))
482
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
483
483
  }
484
484
  });
485
485
  })
@@ -508,7 +508,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
508
508
  model: input?.model,
509
509
  metadata: input?.metadata,
510
510
  permissions: input?.permissions,
511
- location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
511
+ location: input?.location ?? Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
512
512
  }),
513
513
  get: (input) => sessions.get(input.sessionID),
514
514
  switchAgent: sessions.switchAgent,
@@ -533,31 +533,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
533
533
  return context;
534
534
  });
535
535
  var requirements3 = LayerNode.group([
536
- node46,
537
- node71,
538
- node78,
539
- node79,
536
+ node53,
537
+ node69,
538
+ node55,
540
539
  node77,
541
- node42,
542
- node86,
543
- node80,
544
540
  node76,
545
- node26,
546
- node83,
547
- node39,
548
- node67,
549
- node30,
550
- node44,
551
- node38,
552
- node41,
553
- node36,
554
- node37,
555
- node58,
556
- node68,
557
541
  node72,
558
- node17,
542
+ node86,
543
+ node82,
544
+ node81,
545
+ node37,
546
+ node78,
559
547
  node57,
560
- node56
548
+ node27,
549
+ node60,
550
+ node52,
551
+ node20,
552
+ node31,
553
+ node22,
554
+ node23,
555
+ node18,
556
+ node67,
557
+ node71,
558
+ node32,
559
+ node26,
560
+ node59
561
561
  ]);
562
562
  function storage2(kv, pluginID) {
563
563
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -584,7 +584,7 @@ function methodImplementation(input) {
584
584
  if ("authorize" in input) {
585
585
  const refresh = input.refresh;
586
586
  return {
587
- integrationID: ID14.make(input.integrationID),
587
+ integrationID: ID16.make(input.integrationID),
588
588
  method: { ...input.method, id: MethodID2.make(input.method.id) },
589
589
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
590
590
  if (authorization.mode === "auto") {
@@ -604,18 +604,18 @@ function methodImplementation(input) {
604
604
  }
605
605
  if (input.method.type === "env") {
606
606
  return {
607
- integrationID: ID14.make(input.integrationID),
607
+ integrationID: ID16.make(input.integrationID),
608
608
  method: input.method
609
609
  };
610
610
  }
611
611
  if (input.method.type === "command") {
612
612
  return {
613
- integrationID: ID14.make(input.integrationID),
613
+ integrationID: ID16.make(input.integrationID),
614
614
  method: { ...input.method, id: MethodID2.make(input.method.id) }
615
615
  };
616
616
  }
617
617
  return {
618
- integrationID: ID14.make(input.integrationID),
618
+ integrationID: ID16.make(input.integrationID),
619
619
  method: input.method
620
620
  };
621
621
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-qph7hyw7.js";
4
+ } from "./variant-fz75205d.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./pty-rdw6cm16.js";
8
+ } from "./variant-rdw6cm16.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./pty-rsd57mk1.js";
10
+ Service74,
11
+ node78
12
+ } from "./variant-ka9h1195.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID13,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service75,
19
- node79,
20
- Event17
21
- } from "./pty-1cr9kxrr.js";
18
+ Service73,
19
+ node77,
20
+ Event16
21
+ } from "./variant-9588vfer.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./variant-9rqn6x4v.js";
25
25
 
26
26
  // src/model.ts
27
27
  var exports_model2 = {};
@@ -29,24 +29,24 @@ __export(exports_model2, {
29
29
  Capabilities: () => Capabilities2,
30
30
  Compatibility: () => Compatibility2,
31
31
  Cost: () => Cost2,
32
- Event: () => Event16,
32
+ Event: () => Event15,
33
33
  Family: () => Family2,
34
34
  ID: () => ID12,
35
35
  Info: () => Info26,
36
36
  Model: () => exports_model2,
37
37
  ReasoningField: () => ReasoningField2,
38
38
  Ref: () => Ref2,
39
- Service: () => Service73,
39
+ Service: () => Service72,
40
40
  VariantID: () => VariantID2,
41
41
  compatibility: () => compatibility2,
42
- node: () => node77,
42
+ node: () => node76,
43
43
  parse: () => parse5
44
44
  });
45
45
  import { Model } from "@opencode/schema/model";
46
46
  import { Context, Effect, Layer, Stream } from "effect";
47
47
  import { makeLocationNode } from "@opencode/util/effect/app-node";
48
48
  import { freeze } from "immer";
49
- import { Event as Event16 } from "@opencode/schema/model";
49
+ import { Event as Event15 } from "@opencode/schema/model";
50
50
  var ID12 = Model.ID;
51
51
  var VariantID2 = Model.VariantID;
52
52
  var Family2 = Model.Family;
@@ -57,12 +57,12 @@ var Cost2 = Model.Cost;
57
57
  var Ref2 = Model.Ref;
58
58
  var Info26 = Model.Info;
59
59
 
60
- class Service73 extends Context.Service()("@opencode/Model") {
60
+ class Service72 extends Context.Service()("@opencode/Model") {
61
61
  }
62
- var layer = Layer.effect(Service73, Effect.gen(function* () {
63
- const providers = yield* Service75;
62
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
63
+ const providers = yield* Service73;
64
64
  const bus = yield* Service82;
65
- const location = yield* Service79;
65
+ const location = yield* Service74;
66
66
  let input;
67
67
  const state = create3({
68
68
  name: "model",
@@ -198,8 +198,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
198
198
  location: { directory: location.directory, workspaceID: location.workspaceID }
199
199
  });
200
200
  });
201
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
202
- return Service73.of({
201
+ yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
202
+ return Service72.of({
203
203
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
204
204
  reload,
205
205
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
218
218
  })
219
219
  });
220
220
  }));
221
- var node77 = makeLocationNode({ service: Service73, layer, deps: [node79, node86, node83] });
221
+ var node76 = makeLocationNode({ service: Service72, layer, deps: [node77, node86, node78] });
222
222
  function compatibility2(input) {
223
223
  if (typeof input === "string")
224
224
  return { reasoningField: input };
@@ -234,4 +234,4 @@ function parse5(input) {
234
234
  };
235
235
  }
236
236
 
237
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service73, node77, compatibility2, parse5, exports_model2, Event16 };
237
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service72, node76, compatibility2, parse5, exports_model2, Event15 };