@opencode/core 0.0.0-dev-19786 → 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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +89 -89
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{worktree-hxy9p1j4.js → variant-036xttfm.js} +20 -20
  8. package/dist/chunks/{worktree-jn8151j6.js → variant-09j7xzbf.js} +19 -19
  9. package/dist/chunks/{worktree-11qxjnwn.js → variant-0aq7t7jz.js} +26 -26
  10. package/dist/chunks/{worktree-p1h8wft8.js → variant-0jt58gq5.js} +47 -47
  11. package/dist/chunks/{worktree-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{worktree-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{worktree-tg3vth51.js → variant-0rv2ccgj.js} +4 -4
  14. package/dist/chunks/{worktree-2a2zhc3v.js → variant-18p3d61n.js} +6 -6
  15. package/dist/chunks/{worktree-mvfsc1pv.js → variant-1bbkgx8g.js} +3 -3
  16. package/dist/chunks/{worktree-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{worktree-ear7p3c0.js → variant-1ht4yrx5.js} +20 -20
  18. package/dist/chunks/{worktree-40yvm8mv.js → variant-1pw8ktv6.js} +16 -16
  19. package/dist/chunks/{worktree-yb90qen6.js → variant-1q8ta1a7.js} +13 -13
  20. package/dist/chunks/{worktree-pw2fq9db.js → variant-1qdn5mg4.js} +5 -5
  21. package/dist/chunks/{worktree-4ctxht0a.js → variant-1sadmq9v.js} +26 -26
  22. package/dist/chunks/{worktree-emcas405.js → variant-1zqx6507.js} +10 -10
  23. package/dist/chunks/{worktree-21r38tys.js → variant-21r38tys.js} +1 -1
  24. package/dist/chunks/{worktree-6h73sxmp.js → variant-2402vzrj.js} +5 -5
  25. package/dist/chunks/{worktree-rmc821pf.js → variant-2543yr9f.js} +8 -8
  26. package/dist/chunks/{worktree-z63w68vq.js → variant-29x78va6.js} +6 -6
  27. package/dist/chunks/{worktree-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{worktree-nnxdhk5c.js → variant-2d57kztd.js} +6 -6
  29. package/dist/chunks/{worktree-yvtjrsq1.js → variant-2pk3hmqv.js} +24 -24
  30. package/dist/chunks/{worktree-f79e7k6s.js → variant-2qtg0jfn.js} +10 -10
  31. package/dist/chunks/{worktree-rswfs2n2.js → variant-2s1nhtmv.js} +3 -3
  32. package/dist/chunks/{worktree-hptze64w.js → variant-39cj4q9q.js} +13 -13
  33. package/dist/chunks/{worktree-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{worktree-cmv6f9bd.js → variant-3h9fe1cb.js} +28 -28
  35. package/dist/chunks/{worktree-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  36. package/dist/chunks/variant-3m2gyyj8.js +65 -0
  37. package/dist/chunks/{worktree-kej5q4ky.js → variant-3mypx32h.js} +1 -1
  38. package/dist/chunks/{worktree-kj5jtrjw.js → variant-3p19car9.js} +23 -23
  39. package/dist/chunks/{worktree-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{worktree-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{worktree-tn0aqsam.js → variant-3w2b2yj4.js} +5 -5
  42. package/dist/chunks/{worktree-cbch6rr6.js → variant-4449w6ph.js} +32 -32
  43. package/dist/chunks/{worktree-1ze21cng.js → variant-4febdg58.js} +11 -11
  44. package/dist/chunks/{worktree-e516v6v9.js → variant-4gswqhed.js} +18 -18
  45. package/dist/chunks/{worktree-y9qxyczm.js → variant-4hptpj1d.js} +15 -15
  46. package/dist/chunks/{worktree-jkepba1g.js → variant-4q678n20.js} +13 -13
  47. package/dist/chunks/{worktree-79m0gshw.js → variant-4qc459h3.js} +11 -11
  48. package/dist/chunks/{worktree-fdtfpwha.js → variant-4y2cq0f0.js} +8 -8
  49. package/dist/chunks/{worktree-jca4demv.js → variant-51jra4mh.js} +2 -2
  50. package/dist/chunks/{worktree-gmjjhz4f.js → variant-53g2xa05.js} +9 -9
  51. package/dist/chunks/{worktree-56gdpj1q.js → variant-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{worktree-bgrhz2qd.js → variant-571cwvkm.js} +24 -24
  53. package/dist/chunks/{worktree-pfcm4e2t.js → variant-59gj78ga.js} +28 -28
  54. package/dist/chunks/{worktree-a1bz86dw.js → variant-5c4hm403.js} +3 -3
  55. package/dist/chunks/{worktree-5daktx2q.js → variant-5daktx2q.js} +1 -1
  56. package/dist/chunks/{worktree-cfqgz3t8.js → variant-5qb1g724.js} +8 -8
  57. package/dist/chunks/{worktree-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{worktree-8zc4hgbz.js → variant-5wqj2ap4.js} +9 -9
  59. package/dist/chunks/{worktree-669tq793.js → variant-669tq793.js} +1 -1
  60. package/dist/chunks/{worktree-fr0wf22j.js → variant-6cq4w4ej.js} +18 -18
  61. package/dist/chunks/{worktree-2eqxfp0f.js → variant-6cyxy0gy.js} +3 -3
  62. package/dist/chunks/{worktree-kcqxfy54.js → variant-6dh9c3ss.js} +4 -4
  63. package/dist/chunks/{worktree-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{worktree-ys4bdtvd.js → variant-6n2ypsgr.js} +31 -31
  65. package/dist/chunks/{worktree-r90yh4s3.js → variant-6qc0assy.js} +32 -32
  66. package/dist/chunks/{worktree-rqwdmbz9.js → variant-6zd4z6kv.js} +22 -22
  67. package/dist/chunks/{worktree-p732wtvd.js → variant-74evebey.js} +32 -32
  68. package/dist/chunks/{worktree-h9r9fv56.js → variant-7awa95k0.js} +16 -16
  69. package/dist/chunks/{worktree-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{worktree-qgn6gcr1.js → variant-7dqw4kz8.js} +5 -5
  71. package/dist/chunks/{worktree-7dqtr61s.js → variant-7j7wzv8x.js} +2 -2
  72. package/dist/chunks/{worktree-q3t37ft6.js → variant-7jdsj2a9.js} +3 -3
  73. package/dist/chunks/{worktree-an77xd2b.js → variant-7kewf0cc.js} +25 -25
  74. package/dist/chunks/{worktree-s1ndejzt.js → variant-7max8g9c.js} +17 -17
  75. package/dist/chunks/{worktree-1xyq38ba.js → variant-7ms2r6fn.js} +15 -15
  76. package/dist/chunks/{worktree-v5zbexrb.js → variant-7p20jsne.js} +24 -24
  77. package/dist/chunks/{worktree-w418y777.js → variant-7z9tkqw1.js} +12 -12
  78. package/dist/chunks/{worktree-g8d3gcyj.js → variant-806j49yq.js} +7 -7
  79. package/dist/chunks/{worktree-gjtye2vm.js → variant-81ke0znj.js} +5 -5
  80. package/dist/chunks/{worktree-jp5vppjv.js → variant-82rgwbpg.js} +4 -4
  81. package/dist/chunks/{worktree-tpbw80pw.js → variant-83r8e852.js} +16 -16
  82. package/dist/chunks/{worktree-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{worktree-x52bhdm3.js → variant-8dk804ze.js} +33 -33
  84. package/dist/chunks/{worktree-91mgkbnq.js → variant-8ty0ryk7.js} +91 -91
  85. package/dist/chunks/{worktree-98qyphw1.js → variant-8v0w7kj2.js} +10 -10
  86. package/dist/chunks/{worktree-0c8jn50h.js → variant-91w7abj7.js} +16 -16
  87. package/dist/chunks/{worktree-egnx0mgt.js → variant-9588vfer.js} +32 -32
  88. package/dist/chunks/{worktree-3h7n30se.js → variant-95jpk3t3.js} +3 -3
  89. package/dist/chunks/{worktree-qkvc6zdp.js → variant-95pfmgyz.js} +33 -33
  90. package/dist/chunks/{worktree-rswh72q4.js → variant-9avbkjx3.js} +9 -9
  91. package/dist/chunks/{worktree-9t5725tz.js → variant-9jtv0k0v.js} +7 -7
  92. package/dist/chunks/{worktree-gnykwcvs.js → variant-9rz2j36k.js} +11 -11
  93. package/dist/chunks/{worktree-3etfrgmm.js → variant-9t1yzjs7.js} +24 -24
  94. package/dist/chunks/{worktree-04enqndv.js → variant-9zsprffg.js} +24 -24
  95. package/dist/chunks/{worktree-aaet6srn.js → variant-aaet6srn.js} +2 -2
  96. package/dist/chunks/{worktree-3f2v0gwp.js → variant-ab7aqfjn.js} +11 -11
  97. package/dist/chunks/{worktree-y89k24cj.js → variant-ag0ge9vb.js} +20 -20
  98. package/dist/chunks/{worktree-yb3spt80.js → variant-arn0a1z7.js} +4 -4
  99. package/dist/chunks/{worktree-6j1m79c6.js → variant-aw2ne7rk.js} +6 -6
  100. package/dist/chunks/{worktree-8w211mg0.js → variant-axx87c8z.js} +26 -26
  101. package/dist/chunks/{worktree-jw7v3n98.js → variant-aydaz3rw.js} +24 -24
  102. package/dist/chunks/{worktree-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{worktree-3ewed21c.js → variant-bacyadyn.js} +4 -4
  104. package/dist/chunks/{worktree-zqeffdkx.js → variant-bb31b7br.js} +25 -25
  105. package/dist/chunks/{worktree-sx1n432n.js → variant-bf0ztrs3.js} +4 -4
  106. package/dist/chunks/{worktree-vj52mgyq.js → variant-bhmd7z0s.js} +4 -4
  107. package/dist/chunks/{worktree-x2fsbb45.js → variant-bm2g2e4c.js} +35 -35
  108. package/dist/chunks/{worktree-wjrcy753.js → variant-bpfnneg5.js} +18 -18
  109. package/dist/chunks/{worktree-nx8bwbma.js → variant-brp4bzxj.js} +27 -27
  110. package/dist/chunks/{worktree-8cgz7b85.js → variant-bst6223z.js} +11 -11
  111. package/dist/chunks/{worktree-891w0k4k.js → variant-byy6e5ra.js} +9 -9
  112. package/dist/chunks/{worktree-xjwkwtp6.js → variant-c4cxbw3g.js} +15 -15
  113. package/dist/chunks/{worktree-3ppptnan.js → variant-c8bydgjz.js} +6 -6
  114. package/dist/chunks/{worktree-cv42xg6h.js → variant-c966ad08.js} +10 -10
  115. package/dist/chunks/{worktree-n3k12czw.js → variant-cb5th899.js} +31 -31
  116. package/dist/chunks/variant-cd6cwsk9.js +26 -0
  117. package/dist/chunks/{worktree-6ycjtwdb.js → variant-cdhfde9j.js} +12 -12
  118. package/dist/chunks/variant-cehqskmp.js +252 -0
  119. package/dist/chunks/{worktree-aar3e3j0.js → variant-cf3500x7.js} +11 -11
  120. package/dist/chunks/{worktree-mg4r3kp3.js → variant-cfqcr5nn.js} +38 -38
  121. package/dist/chunks/{worktree-paegk39x.js → variant-csf2jhsg.js} +4 -4
  122. package/dist/chunks/{worktree-bpe9edxa.js → variant-d6g5yyx2.js} +11 -11
  123. package/dist/chunks/{worktree-5rd22f3b.js → variant-dgr6519x.js} +8 -8
  124. package/dist/chunks/{worktree-gst7axd9.js → variant-dhmh7aw6.js} +4 -4
  125. package/dist/chunks/{worktree-8p4f9s12.js → variant-dj2t23y0.js} +2 -2
  126. package/dist/chunks/{worktree-z5hgzkz0.js → variant-dmtmpte2.js} +20 -20
  127. package/dist/chunks/{worktree-nrjsavn4.js → variant-dq8te7y3.js} +28 -28
  128. package/dist/chunks/{worktree-drwq78ky.js → variant-drwq78ky.js} +1 -1
  129. package/dist/chunks/{worktree-8genm1rm.js → variant-ds3dp4hd.js} +41 -41
  130. package/dist/chunks/{worktree-rwcdkc4s.js → variant-dtheb6mc.js} +10 -10
  131. package/dist/chunks/{worktree-67yjsjje.js → variant-e0cjyxzq.js} +64 -33
  132. package/dist/chunks/{worktree-mqw5201m.js → variant-e0r7vjdq.js} +9 -9
  133. package/dist/chunks/{worktree-5qd3pb7m.js → variant-e3qxr5gk.js} +2 -2
  134. package/dist/chunks/{worktree-02nrjc1r.js → variant-eaj1djv9.js} +4 -4
  135. package/dist/chunks/{worktree-9r04htgm.js → variant-ebcvbnkn.js} +4 -4
  136. package/dist/chunks/{worktree-6jppzzhm.js → variant-eevzksqv.js} +10 -10
  137. package/dist/chunks/{worktree-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{worktree-994b2pxg.js → variant-engkm2d6.js} +5 -5
  139. package/dist/chunks/{worktree-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
  140. package/dist/chunks/{worktree-aemx4jfn.js → variant-et0dwx51.js} +3 -3
  141. package/dist/chunks/{worktree-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{worktree-2vkv0cnq.js → variant-faxz800z.js} +12 -12
  143. package/dist/chunks/{worktree-kjqh1yxe.js → variant-fbqt5tv2.js} +5 -5
  144. package/dist/chunks/{worktree-rnjmkr11.js → variant-fkmvdsrs.js} +10 -10
  145. package/dist/chunks/{worktree-yjptyezs.js → variant-fvsyg6qk.js} +5 -5
  146. package/dist/chunks/{worktree-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{worktree-4y303w9z.js → variant-fxmgg4aj.js} +4 -4
  148. package/dist/chunks/{worktree-eg49wf4x.js → variant-fz75205d.js} +4 -4
  149. package/dist/chunks/{worktree-7s451enq.js → variant-g1sxm558.js} +8 -8
  150. package/dist/chunks/{worktree-saaf3fxb.js → variant-g1zq6c5t.js} +11 -11
  151. package/dist/chunks/{worktree-3z13rd8a.js → variant-g5fe2pst.js} +20 -20
  152. package/dist/chunks/{worktree-ptm80rvs.js → variant-g9hjynqd.js} +8 -8
  153. package/dist/chunks/{worktree-zd4g673n.js → variant-g9wnjee6.js} +11 -11
  154. package/dist/chunks/{worktree-rfdt8g4x.js → variant-gby5wcn0.js} +70 -70
  155. package/dist/chunks/{worktree-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{worktree-p3srhck7.js → variant-gj1hd0v4.js} +11 -11
  157. package/dist/chunks/{worktree-fxqygnfa.js → variant-gnx4ytbv.js} +4 -4
  158. package/dist/chunks/{worktree-vpdbt6f3.js → variant-gszg7n4f.js} +11 -11
  159. package/dist/chunks/{worktree-qh0240ge.js → variant-gt3cwgnf.js} +46 -46
  160. package/dist/chunks/{worktree-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{worktree-bchad5r9.js → variant-h196ywmy.js} +56 -56
  162. package/dist/chunks/{worktree-8z00fdkb.js → variant-h6r3nrb9.js} +4 -4
  163. package/dist/chunks/{worktree-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{worktree-gck4x0yv.js → variant-h7sr0csd.js} +15 -15
  165. package/dist/chunks/{worktree-68034420.js → variant-hcvxky9s.js} +18 -18
  166. package/dist/chunks/{worktree-f828m53h.js → variant-hdnk95c8.js} +2 -2
  167. package/dist/chunks/{worktree-pb9y5tzb.js → variant-hgz2sqdv.js} +9 -9
  168. package/dist/chunks/{worktree-rymj624c.js → variant-hjmm9f8v.js} +9 -9
  169. package/dist/chunks/{worktree-qqfjyj17.js → variant-hpjs4p32.js} +304 -304
  170. package/dist/chunks/{worktree-qbs3m11x.js → variant-hqqbf430.js} +26 -26
  171. package/dist/chunks/{worktree-r1ab995x.js → variant-hrkge0dr.js} +6 -6
  172. package/dist/chunks/{worktree-j56e64zr.js → variant-j56e64zr.js} +1 -1
  173. package/dist/chunks/{worktree-2y34zzjz.js → variant-jbjr1a4g.js} +6 -6
  174. package/dist/chunks/{worktree-p3ms0v6j.js → variant-jd8ez2rx.js} +3 -3
  175. package/dist/chunks/{worktree-wpm2rk0p.js → variant-k0nnq3t9.js} +6 -6
  176. package/dist/chunks/{worktree-48bv5w94.js → variant-k41ybe0m.js} +9 -9
  177. package/dist/chunks/{worktree-ksp79sx9.js → variant-k48z0nfs.js} +12 -12
  178. package/dist/chunks/{worktree-352dzxrn.js → variant-k6vef6f0.js} +59 -59
  179. package/dist/chunks/{worktree-3s6m3xx6.js → variant-ka9h1195.js} +17 -17
  180. package/dist/chunks/{worktree-g190xswt.js → variant-kk00bynn.js} +21 -21
  181. package/dist/chunks/{worktree-ezhgv383.js → variant-km0erg4h.js} +13 -13
  182. package/dist/chunks/{worktree-knb7evpn.js → variant-knb7evpn.js} +2 -2
  183. package/dist/chunks/{worktree-ay6nbv33.js → variant-krnt6yfv.js} +36 -36
  184. package/dist/chunks/{worktree-w1pnds27.js → variant-kvsvqh13.js} +15 -15
  185. package/dist/chunks/{worktree-y04dpqf4.js → variant-kwzwcjdj.js} +12 -12
  186. package/dist/chunks/{worktree-as4zy6vm.js → variant-kyktj0vd.js} +6 -6
  187. package/dist/chunks/{worktree-cfpkc3c9.js → variant-m0jqrx5p.js} +2 -2
  188. package/dist/chunks/{worktree-1xsagsv9.js → variant-m0sej1qn.js} +7 -7
  189. package/dist/chunks/{worktree-qppnxmq1.js → variant-m3csf4ap.js} +15 -15
  190. package/dist/chunks/{worktree-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{worktree-fzmcda3j.js → variant-m733p5th.js} +17 -17
  192. package/dist/chunks/{worktree-gjg8myr7.js → variant-m7pj8f36.js} +44 -44
  193. package/dist/chunks/{worktree-c746w9ce.js → variant-m8deaeh7.js} +12 -12
  194. package/dist/chunks/{worktree-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{worktree-ptwjer8q.js → variant-mmb8fzkf.js} +13 -13
  196. package/dist/chunks/{worktree-6e8z0jrw.js → variant-mrqnf78j.js} +32 -32
  197. package/dist/chunks/{worktree-p44d8wdy.js → variant-mtft99cd.js} +5 -5
  198. package/dist/chunks/{worktree-nv07z01f.js → variant-n4fbvqmd.js} +6 -6
  199. package/dist/chunks/variant-n95b3jav.js +18 -0
  200. package/dist/chunks/{worktree-r43w5d2a.js → variant-ncbj3p6k.js} +51 -51
  201. package/dist/chunks/{worktree-mjhv1wha.js → variant-nkg4sc71.js} +5 -5
  202. package/dist/chunks/{worktree-x7pykh9x.js → variant-nn2fzds8.js} +9 -9
  203. package/dist/chunks/{worktree-fz3rwrdq.js → variant-nvpyq15w.js} +43 -43
  204. package/dist/chunks/{worktree-18e56dsp.js → variant-nw2nz702.js} +4 -4
  205. package/dist/chunks/{worktree-g59fec1k.js → variant-nwtcycp4.js} +11 -11
  206. package/dist/chunks/{worktree-sncnr08v.js → variant-nxamx01y.js} +41 -41
  207. package/dist/chunks/{worktree-kxrysg97.js → variant-nxhxdrrf.js} +30 -30
  208. package/dist/chunks/{worktree-k3c624dm.js → variant-nzks3jc8.js} +3 -3
  209. package/dist/chunks/{worktree-atnvsyyy.js → variant-p11h9hwq.js} +11 -11
  210. package/dist/chunks/{worktree-br0tr5aq.js → variant-p37cw4rj.js} +8 -8
  211. package/dist/chunks/{worktree-mw934p8z.js → variant-p84dsdfh.js} +8 -8
  212. package/dist/chunks/{worktree-c2kxfk76.js → variant-pcva14f7.js} +10 -10
  213. package/dist/chunks/{worktree-0ke265bw.js → variant-pef6k0gg.js} +9 -9
  214. package/dist/chunks/{worktree-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  215. package/dist/chunks/{worktree-pknna89w.js → variant-pknna89w.js} +1 -1
  216. package/dist/chunks/{worktree-kq20shcj.js → variant-q5a1e36b.js} +25 -25
  217. package/dist/chunks/{worktree-wjahessk.js → variant-q68k07bj.js} +7 -7
  218. package/dist/chunks/{worktree-pqkghsa1.js → variant-qacyc7aa.js} +11 -11
  219. package/dist/chunks/variant-qapv375x.js +4 -0
  220. package/dist/chunks/{worktree-a4vbyqq0.js → variant-qhayk2b7.js} +20 -20
  221. package/dist/chunks/{worktree-npp86ptg.js → variant-qk0e3gk9.js} +6 -6
  222. package/dist/chunks/{worktree-ea5pzae2.js → variant-qpkc6dca.js} +34 -34
  223. package/dist/chunks/{worktree-qsdy395h.js → variant-qsdy395h.js} +1 -1
  224. package/dist/chunks/{worktree-cerv3vyz.js → variant-qxs0gjsw.js} +11 -11
  225. package/dist/chunks/{worktree-7qrhk883.js → variant-qyabr2c4.js} +84 -84
  226. package/dist/chunks/{worktree-c765mh8b.js → variant-r2m716tb.js} +5 -5
  227. package/dist/chunks/{worktree-dx2wdmpc.js → variant-r32sn7ke.js} +21 -21
  228. package/dist/chunks/{worktree-cw30v4cn.js → variant-r6vq26jz.js} +10 -10
  229. package/dist/chunks/{worktree-gdfmbz4s.js → variant-rbeyeh8v.js} +5 -5
  230. package/dist/chunks/{worktree-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{worktree-fhs97t90.js → variant-rhafb4aa.js} +5 -5
  232. package/dist/chunks/{worktree-aqjys6xa.js → variant-rm1vz964.js} +32 -32
  233. package/dist/chunks/{worktree-jencvzfg.js → variant-rxmq8rgz.js} +7 -7
  234. package/dist/chunks/{worktree-yx7aeq6j.js → variant-ryeeha7r.js} +11 -11
  235. package/dist/chunks/{worktree-2vt4g46n.js → variant-s0f29662.js} +19 -19
  236. package/dist/chunks/{worktree-yrznvahk.js → variant-s4enseaf.js} +2 -2
  237. package/dist/chunks/{worktree-y56ehv6b.js → variant-s5d9hk7s.js} +9 -9
  238. package/dist/chunks/{worktree-2xc5n587.js → variant-s9e8sf64.js} +44 -44
  239. package/dist/chunks/{worktree-r2fqvpfx.js → variant-sqdmb1qc.js} +18 -18
  240. package/dist/chunks/{worktree-vy52bkvf.js → variant-srhbgzsh.js} +1 -1
  241. package/dist/chunks/{worktree-xp8r7stt.js → variant-starn555.js} +17 -17
  242. package/dist/chunks/{worktree-r3pbwjbk.js → variant-sz3gsrbf.js} +22 -22
  243. package/dist/chunks/{worktree-fasg9v5a.js → variant-tae944ma.js} +175 -175
  244. package/dist/chunks/{worktree-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{worktree-cxs7v5sj.js → variant-tbq2h17c.js} +32 -32
  246. package/dist/chunks/{worktree-p28j5sbe.js → variant-tbz0fdvh.js} +5 -5
  247. package/dist/chunks/{worktree-89znhe33.js → variant-tcezcvh9.js} +4 -4
  248. package/dist/chunks/{worktree-73vr0mv3.js → variant-td7mnp8z.js} +19 -19
  249. package/dist/chunks/{worktree-tdstcens.js → variant-tdstcens.js} +1 -1
  250. package/dist/chunks/{worktree-tcg29b4q.js → variant-ts2x07a1.js} +1 -1
  251. package/dist/chunks/{worktree-tvtrv512.js → variant-tvtrv512.js} +1 -1
  252. package/dist/chunks/{worktree-h97ghsst.js → variant-ty0554db.js} +4 -4
  253. package/dist/chunks/{worktree-s6srgh84.js → variant-v1407nsh.js} +18 -18
  254. package/dist/chunks/{worktree-egfnhzxk.js → variant-v29fjn9e.js} +47 -47
  255. package/dist/chunks/{worktree-q12fs922.js → variant-v47z8hsk.js} +10 -10
  256. package/dist/chunks/{worktree-jqbbnhze.js → variant-v4dhgaj7.js} +10 -10
  257. package/dist/chunks/{worktree-n6ewyaym.js → variant-va6pcbts.js} +5 -5
  258. package/dist/chunks/{worktree-veqvce7d.js → variant-veqvce7d.js} +1 -1
  259. package/dist/chunks/{worktree-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{worktree-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{worktree-28gpn7ce.js → variant-wbrxfa2a.js} +4 -4
  262. package/dist/chunks/{worktree-wd87259q.js → variant-wd87259q.js} +1 -1
  263. package/dist/chunks/{worktree-c71z4xdm.js → variant-wfrt7f8k.js} +17 -17
  264. package/dist/chunks/{worktree-qssnpgtf.js → variant-wj3yfrmp.js} +24 -24
  265. package/dist/chunks/{worktree-1x4qbafh.js → variant-wmdqddds.js} +5 -5
  266. package/dist/chunks/{worktree-kkr5cxbn.js → variant-wsp13tn1.js} +23 -23
  267. package/dist/chunks/{worktree-5a2bhhk2.js → variant-wtphcwzm.js} +35 -35
  268. package/dist/chunks/{worktree-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{worktree-5vkfrnd8.js → variant-x8a6wpb1.js} +43 -43
  270. package/dist/chunks/{worktree-k6c7vfzw.js → variant-xh03bpf0.js} +27 -27
  271. package/dist/chunks/{worktree-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{worktree-dpkg50ah.js → variant-y71avatq.js} +4 -4
  273. package/dist/chunks/{worktree-kkee341m.js → variant-ygshqydb.js} +3 -3
  274. package/dist/chunks/{worktree-tennbh37.js → variant-yj76swvz.js} +24 -24
  275. package/dist/chunks/{worktree-t0w541at.js → variant-yjf31fha.js} +25 -25
  276. package/dist/chunks/{worktree-f2n192rq.js → variant-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{worktree-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{worktree-97w5rk9e.js → variant-yvvvp4gn.js} +8 -8
  279. package/dist/chunks/{worktree-p85a1qhf.js → variant-yxjfm1ef.js} +5 -5
  280. package/dist/chunks/{worktree-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{worktree-cqastrjb.js → variant-z0xass54.js} +13 -13
  282. package/dist/chunks/{worktree-pbsj02a2.js → variant-z73z9mq7.js} +21 -21
  283. package/dist/chunks/{worktree-5n38ptm2.js → variant-z8smh9c8.js} +18 -18
  284. package/dist/chunks/{worktree-efskn69j.js → variant-z8tc00nf.js} +21 -21
  285. package/dist/chunks/{worktree-0y84g9dp.js → variant-z9v75n1r.js} +15 -15
  286. package/dist/chunks/{worktree-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{worktree-vg4nn9tt.js → variant-zh2phv9k.js} +8 -8
  288. package/dist/chunks/{worktree-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{worktree-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +82 -82
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +367 -367
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +92 -92
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +4 -4
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +98 -98
  433. package/dist/git.js +10 -10
  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 +90 -90
  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/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +358 -358
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +355 -355
  471. package/dist/location.js +88 -88
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +93 -93
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +104 -104
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +116 -116
  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 +83 -83
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +329 -329
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +91 -91
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +348 -348
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +2 -2
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +6 -6
  556. package/dist/plugin.js +228 -228
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +89 -89
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +3 -3
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +97 -97
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +3 -3
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +131 -131
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +7 -7
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +15 -15
  584. package/dist/session/inbox.js +87 -87
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +171 -171
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +216 -216
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +217 -217
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +9 -9
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +4 -4
  628. package/dist/skill/instructions.js +104 -104
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +92 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +119 -119
  638. package/dist/tool/plugin/grep.js +121 -121
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +120 -120
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +107 -107
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +16 -16
  653. package/dist/types/job.d.ts +3 -0
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +7 -7
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +4 -4
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +79 -79
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/worktree-0mesazry.js +0 -4
  696. package/dist/chunks/worktree-7v1e5ggg.js +0 -65
  697. package/dist/chunks/worktree-9sh4wc5j.js +0 -18
  698. package/dist/chunks/worktree-cvb3zs8g.js +0 -26
  699. package/dist/chunks/worktree-nvmavsm4.js +0 -252
  700. /package/dist/chunks/{worktree-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{worktree-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{worktree-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{worktree-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{worktree-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{worktree-24dcb14g.js → variant-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{worktree-2710q6r3.js → variant-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{worktree-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{worktree-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{worktree-359p4xyc.js → variant-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{worktree-3asan66x.js → variant-3asan66x.js} +0 -0
  711. /package/dist/chunks/{worktree-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{worktree-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{worktree-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{worktree-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{worktree-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{worktree-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{worktree-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{worktree-53557ph1.js → variant-53557ph1.js} +0 -0
  719. /package/dist/chunks/{worktree-550bvhaj.js → variant-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{worktree-6prwharc.js → variant-6prwharc.js} +0 -0
  721. /package/dist/chunks/{worktree-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{worktree-7m9af43g.js → variant-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{worktree-822emrt2.js → variant-822emrt2.js} +0 -0
  724. /package/dist/chunks/{worktree-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{worktree-8n3pysct.js → variant-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{worktree-922hggd3.js → variant-922hggd3.js} +0 -0
  727. /package/dist/chunks/{worktree-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{worktree-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{worktree-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{worktree-af5trqkr.js → variant-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{worktree-afrmfg78.js → variant-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{worktree-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{worktree-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{worktree-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{worktree-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{worktree-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{worktree-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{worktree-d9fn303g.js → variant-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{worktree-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{worktree-dajrwvna.js → variant-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{worktree-dap0rakb.js → variant-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{worktree-df08tz66.js → variant-df08tz66.js} +0 -0
  743. /package/dist/chunks/{worktree-dy18nga0.js → variant-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{worktree-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{worktree-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{worktree-ec1grn59.js → variant-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{worktree-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{worktree-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{worktree-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{worktree-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{worktree-faypxj3z.js → variant-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{worktree-fd410y7t.js → variant-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{worktree-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{worktree-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{worktree-g86h250q.js → variant-g86h250q.js} +0 -0
  756. /package/dist/chunks/{worktree-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{worktree-gftt206x.js → variant-gftt206x.js} +0 -0
  758. /package/dist/chunks/{worktree-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{worktree-hk9envan.js → variant-hk9envan.js} +0 -0
  760. /package/dist/chunks/{worktree-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{worktree-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{worktree-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{worktree-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{worktree-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{worktree-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{worktree-mp448xyj.js → variant-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{worktree-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{worktree-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{worktree-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{worktree-njntx4h6.js → variant-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{worktree-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{worktree-q74kybfr.js → variant-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{worktree-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{worktree-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{worktree-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{worktree-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{worktree-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{worktree-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{worktree-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{worktree-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{worktree-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{worktree-twg0f83k.js → variant-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{worktree-w803qqfp.js → variant-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{worktree-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{worktree-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{worktree-wtztk69x.js → variant-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{worktree-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{worktree-x61499pn.js → variant-x61499pn.js} +0 -0
  789. /package/dist/chunks/{worktree-y44na4kk.js → variant-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{worktree-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{worktree-y8f7s663.js → variant-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{worktree-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{worktree-ym463w8f.js → variant-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{worktree-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service41
3
- } from "./worktree-67yjsjje.js";
2
+ Service53
3
+ } from "./variant-e0cjyxzq.js";
4
4
  import {
5
- Service23
6
- } from "./worktree-91mgkbnq.js";
5
+ Service29
6
+ } from "./variant-8ty0ryk7.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./worktree-x1ezjp6w.js";
10
+ } from "./variant-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./variant-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make5
19
+ make: () => make10
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make5 = Effect.gen(function* () {
23
- const sessions = yield* Service23;
24
- const jobs = yield* Service41;
22
+ var make10 = Effect.gen(function* () {
23
+ const sessions = yield* Service29;
24
+ const jobs = yield* Service53;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make5, exports_subagent_job };
61
+ export { make10, exports_subagent_job };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./worktree-eg49wf4x.js";
4
+ } from "./variant-fz75205d.js";
5
5
  import {
6
6
  environment2
7
- } from "./worktree-cqastrjb.js";
7
+ } from "./variant-z0xass54.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./worktree-sk3qaz4a.js";
10
+ } from "./variant-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./variant-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
19
  NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service22,
22
+ Service: () => Service23,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured3,
25
- layer: () => layer10,
26
- node: () => node25
24
+ configured: () => configured4,
25
+ layer: () => layer11,
26
+ node: () => node26
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,7 +35,7 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
@@ -47,9 +47,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
47
47
  }) {
48
48
  }
49
49
 
50
- class Service22 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service23 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
53
53
  const bus = yield* Service82;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service22.of({
242
+ return Service23.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer10 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service22,
261
- layer: options === undefined ? layer10 : makeLayer(options),
258
+ var layer11 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service23,
261
+ layer: options === undefined ? layer11 : makeLayer(options),
262
262
  deps: [node86, Global.node]
263
263
  });
264
- var node25 = configured3();
264
+ var node26 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError3, Service22, layer10, configured3, node25, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError3, NotFoundError3, Service23, layer11, configured4, node26, exports_persistent_pty, Handoff2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./worktree-z63w68vq.js";
3
+ } from "./variant-29x78va6.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./variant-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-dpkg50ah.js";
3
+ } from "./variant-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./variant-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service5,
13
- node: () => node7
12
+ Service: () => Service9,
13
+ node: () => node10
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service5 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service9 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service5, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service5.of({
27
+ return Service9.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
52
+ var node10 = makeGlobalNode({ service: Service9, layer, deps: [Npm.node] });
53
53
 
54
- export { Service5, node7, exports_update };
54
+ export { Service9, node10, exports_update };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./variant-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node83
7
- } from "./worktree-2vkv0cnq.js";
6
+ node80
7
+ } from "./variant-faxz800z.js";
8
8
  import {
9
9
  Slug2
10
- } from "./worktree-gebd4c9n.js";
10
+ } from "./variant-gebd4c9n.js";
11
11
  import {
12
12
  Service83,
13
13
  node87
14
- } from "./worktree-p3ms0v6j.js";
14
+ } from "./variant-jd8ez2rx.js";
15
15
  import {
16
16
  Service82,
17
17
  node86
18
- } from "./worktree-eg49wf4x.js";
18
+ } from "./variant-fz75205d.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./worktree-8p4f9s12.js";
21
+ } from "./variant-dj2t23y0.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./worktree-cfpkc3c9.js";
24
+ } from "./variant-m0jqrx5p.js";
25
25
  import {
26
- ID17,
27
- NotFoundError11
28
- } from "./worktree-sncnr08v.js";
26
+ ID14,
27
+ NotFoundError10
28
+ } from "./variant-nxamx01y.js";
29
29
  import {
30
- Ref4
31
- } from "./worktree-3s6m3xx6.js";
30
+ Ref3
31
+ } from "./variant-ka9h1195.js";
32
32
  import {
33
- Service63,
34
- node66
35
- } from "./worktree-cerv3vyz.js";
33
+ Service56,
34
+ node59
35
+ } from "./variant-qxs0gjsw.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./worktree-gv6a8nnw.js";
39
+ } from "./variant-gv6a8nnw.js";
40
40
  import {
41
- make19
42
- } from "./worktree-cfqgz3t8.js";
41
+ make12
42
+ } from "./variant-5qb1g724.js";
43
43
  import {
44
- Service62
45
- } from "./worktree-pbsj02a2.js";
44
+ Service20
45
+ } from "./variant-z73z9mq7.js";
46
46
  import {
47
47
  __export
48
- } from "./worktree-9rqn6x4v.js";
48
+ } from "./variant-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
52
52
  __export(exports_worktree2, {
53
- CreateInput: () => CreateInput3,
53
+ CreateInput: () => CreateInput2,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event15,
57
- Info: () => Info25,
56
+ Event: () => Event5,
57
+ Info: () => Info4,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service61,
63
+ Service: () => Service19,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node64
68
+ node: () => node22
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -77,13 +77,13 @@ import { AppProcess } from "@opencode/util/process";
77
77
  import { ChildProcess } from "effect/unstable/process";
78
78
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
- var CreateInput3 = Worktree.CreateInput;
80
+ var CreateInput2 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info25 = Worktree.Info;
82
+ var Info4 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
86
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
86
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID14, directory: Schema.optional(AbsolutePath2) }) {
87
87
  }
88
88
 
89
89
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event15 = Worktree.Event;
97
+ var Event5 = Worktree.Event;
98
98
 
99
- class Service61 extends Context.Service()("@opencode/Worktree") {
99
+ class Service19 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service61, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service83;
104
104
  const db = database.db;
105
105
  const bus = yield* Service82;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service63;
108
- const gitStrategy = yield* make19;
107
+ const locations = yield* Service56;
108
+ const gitStrategy = yield* make12;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
112
- return yield* new NotFoundError11({ projectID });
112
+ return yield* new NotFoundError10({ projectID });
113
113
  return row;
114
114
  });
115
115
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -118,13 +118,13 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
118
118
  if (current?.directory === directory)
119
119
  return current.get();
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
- const context = yield* locations.contextEffect(Ref4.make({ directory }));
121
+ const context = yield* locations.contextEffect(Ref3.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service62).get();
123
+ return Context.get(context, Service20).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event15.Updated, { projectID });
127
+ yield* bus.publish(Event5.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service61.of({
254
+ return Service19.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node64 = Node.makeGlobalNode({
265
- service: Service61,
264
+ var node22 = Node.makeGlobalNode({
265
+ service: Service19,
266
266
  layer,
267
- deps: [FSUtil.node, node83, node86, node87, AppProcess.node, node66]
267
+ deps: [FSUtil.node, node80, node86, node87, AppProcess.node, node59]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info25, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event15, Service61, node64, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service19, node22, exports_worktree2, OperationError2 };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./worktree-922hggd3.js";
5
+ } from "./variant-922hggd3.js";
6
6
  import {
7
- Service75,
8
- node78
9
- } from "./worktree-tennbh37.js";
7
+ Service60,
8
+ node63
9
+ } from "./variant-yj76swvz.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./worktree-8d7r5vzw.js";
12
+ } from "./variant-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./worktree-9rqn6x4v.js";
15
+ } from "./variant-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service74,
24
- node: () => node77
23
+ Service: () => Service16,
24
+ node: () => node19
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service74 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service16 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service74, Effect.gen(function* () {
67
- const environment = yield* Service75;
66
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
67
+ const environment = yield* Service60;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service74.of({
95
+ return Service16.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node77 = makeLocationNode({ service: Service74, layer, deps: [node78, RipgrepBinary2.node] });
178
+ var node19 = makeLocationNode({ service: Service16, layer, deps: [node63, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service74, node77, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service16, node19, exports_ripgrep };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./worktree-egnx0mgt.js";
4
+ } from "./variant-9588vfer.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-vg4nn9tt.js";
3
+ } from "./variant-zh2phv9k.js";
4
4
  import {
5
5
  Service82
6
- } from "./worktree-eg49wf4x.js";
6
+ } from "./variant-fz75205d.js";
7
7
  import {
8
8
  OAuth3,
9
- Event13,
10
- Service57
11
- } from "./worktree-pfcm4e2t.js";
9
+ Event20,
10
+ Service80
11
+ } from "./variant-59gj78ga.js";
12
12
  import {
13
- ID9,
13
+ ID16,
14
14
  MethodID2,
15
- Service55
16
- } from "./worktree-nx8bwbma.js";
15
+ Service78
16
+ } from "./variant-brp4bzxj.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./worktree-pjvnvgmy.js";
20
+ } from "./variant-pjvnvgmy.js";
21
21
  import {
22
- ID8
23
- } from "./worktree-egnx0mgt.js";
22
+ ID13
23
+ } from "./variant-9588vfer.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./worktree-6j1m79c6.js";
26
+ } from "./variant-aw2ne7rk.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID8.make("snowflake-cortex");
34
- var integrationID = ID9.make(providerID);
33
+ var providerID = ID13.make("snowflake-cortex");
34
+ var integrationID = ID16.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service57;
57
- const integrations = yield* Service55;
56
+ const credentials = yield* Service80;
57
+ const integrations = yield* Service78;
58
58
  const bus = yield* Service82;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service47
3
- } from "./worktree-rqwdmbz9.js";
2
+ Service70
3
+ } from "./variant-6zd4z6kv.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./worktree-922hggd3.js";
6
+ } from "./variant-922hggd3.js";
7
7
  import {
8
- Service77
9
- } from "./worktree-3s6m3xx6.js";
8
+ Service74
9
+ } from "./variant-ka9h1195.js";
10
10
  import {
11
- Service46
12
- } from "./worktree-qh0240ge.js";
11
+ Service69
12
+ } from "./variant-gt3cwgnf.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./worktree-3etfrgmm.js";
16
+ Source4
17
+ } from "./variant-9t1yzjs7.js";
18
18
  import {
19
19
  Service8
20
- } from "./worktree-fhs97t90.js";
20
+ } from "./variant-rhafb4aa.js";
21
21
  import {
22
22
  parse2
23
- } from "./worktree-nv07z01f.js";
23
+ } from "./variant-n4fbvqmd.js";
24
24
  import {
25
25
  __export
26
- } from "./worktree-9rqn6x4v.js";
26
+ } from "./variant-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill = {};
30
30
  __export(exports_skill, {
31
31
  ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin12
32
+ Plugin: () => Plugin13
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin12 = define({
39
+ var Plugin13 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service46;
42
+ const config = yield* Service69;
43
43
  const discovery = yield* Service8;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service77;
47
- const watcher = yield* Service47;
46
+ const location = yield* Service74;
47
+ const watcher = yield* Service70;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin12 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source3.equals(item, source)))
90
+ if (result.some((item) => Source4.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin12 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source3.key(source),
115
+ source: Source4.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin12 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source3.key(source),
144
+ source: Source4.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin12 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source3.key),
163
+ sources: current.map(Source4.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin12 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin12, exports_skill };
179
+ export { Plugin13, exports_skill };