@opencode/core 0.0.0-dev-19785 → 0.0.0-dev-19786

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 (791) 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 +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{vcs-eaj1djv9.js → worktree-02nrjc1r.js} +4 -4
  8. package/dist/chunks/{vcs-cmrxm6dt.js → worktree-04enqndv.js} +26 -26
  9. package/dist/chunks/{vcs-nf743vyw.js → worktree-0c8jn50h.js} +16 -16
  10. package/dist/chunks/{vcs-0ke265bw.js → worktree-0ke265bw.js} +2 -2
  11. package/dist/chunks/{vcs-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{vcs-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{vcs-tcgzje3q.js → worktree-0y84g9dp.js} +17 -17
  14. package/dist/chunks/{vcs-yq77jy9s.js → worktree-11qxjnwn.js} +24 -24
  15. package/dist/chunks/{vcs-8s8mxddj.js → worktree-18e56dsp.js} +4 -4
  16. package/dist/chunks/{vcs-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{vcs-nj697j41.js → worktree-1x4qbafh.js} +5 -5
  18. package/dist/chunks/{vcs-1mh5gacm.js → worktree-1xsagsv9.js} +7 -7
  19. package/dist/chunks/{vcs-7knda3jr.js → worktree-1xyq38ba.js} +15 -15
  20. package/dist/chunks/{vcs-7jq9wq05.js → worktree-1ze21cng.js} +11 -11
  21. package/dist/chunks/{vcs-21r38tys.js → worktree-21r38tys.js} +1 -1
  22. package/dist/chunks/{vcs-k4dbxa3j.js → worktree-28gpn7ce.js} +4 -4
  23. package/dist/chunks/{vcs-ey2528a1.js → worktree-2a2zhc3v.js} +6 -6
  24. package/dist/chunks/{vcs-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{vcs-z8nsjcdm.js → worktree-2eqxfp0f.js} +3 -3
  26. package/dist/chunks/{vcs-ab8cnxkj.js → worktree-2vkv0cnq.js} +12 -12
  27. package/dist/chunks/{vcs-5tb73dx2.js → worktree-2vt4g46n.js} +22 -22
  28. package/dist/chunks/{vcs-aspsebee.js → worktree-2xc5n587.js} +36 -36
  29. package/dist/chunks/{vcs-wzz0kxab.js → worktree-2y34zzjz.js} +7 -7
  30. package/dist/chunks/{vcs-w507q2f7.js → worktree-352dzxrn.js} +49 -49
  31. package/dist/chunks/{vcs-w6egt51a.js → worktree-3etfrgmm.js} +22 -22
  32. package/dist/chunks/{vcs-vbfgae2j.js → worktree-3ewed21c.js} +4 -4
  33. package/dist/chunks/{vcs-5jsgdwwm.js → worktree-3f2v0gwp.js} +14 -14
  34. package/dist/chunks/{vcs-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{vcs-4crgsb6x.js → worktree-3h7n30se.js} +3 -3
  36. package/dist/chunks/{vcs-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{vcs-bw9zjykr.js → worktree-3ppptnan.js} +6 -6
  38. package/dist/chunks/{vcs-b5vk231x.js → worktree-3s6m3xx6.js} +14 -14
  39. package/dist/chunks/{vcs-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{vcs-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{vcs-8xz4y4hf.js → worktree-3z13rd8a.js} +20 -20
  42. package/dist/chunks/{vcs-wq258bpn.js → worktree-40yvm8mv.js} +13 -13
  43. package/dist/chunks/{vcs-hx81ab3s.js → worktree-48bv5w94.js} +9 -9
  44. package/dist/chunks/{vcs-m54aka91.js → worktree-4ctxht0a.js} +26 -26
  45. package/dist/chunks/{vcs-t9d84gp7.js → worktree-4y303w9z.js} +4 -4
  46. package/dist/chunks/{vcs-1ygqh575.js → worktree-56gdpj1q.js} +9 -9
  47. package/dist/chunks/{vcs-m6qb83a4.js → worktree-5a2bhhk2.js} +44 -44
  48. package/dist/chunks/{vcs-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  49. package/dist/chunks/{vcs-1tcddezv.js → worktree-5n38ptm2.js} +16 -16
  50. package/dist/chunks/{vcs-yanwfe4v.js → worktree-5rd22f3b.js} +8 -8
  51. package/dist/chunks/{vcs-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{vcs-ccqezsc8.js → worktree-5vkfrnd8.js} +40 -40
  53. package/dist/chunks/{vcs-669tq793.js → worktree-669tq793.js} +1 -1
  54. package/dist/chunks/{vcs-yj68pm2f.js → worktree-67yjsjje.js} +17 -17
  55. package/dist/chunks/{vcs-secw0cph.js → worktree-68034420.js} +18 -18
  56. package/dist/chunks/{vcs-68rvd1n8.js → worktree-6e8z0jrw.js} +28 -28
  57. package/dist/chunks/{vcs-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
  58. package/dist/chunks/{vcs-9w8q0t30.js → worktree-6j1m79c6.js} +6 -6
  59. package/dist/chunks/{vcs-p5xenmgv.js → worktree-6jppzzhm.js} +13 -13
  60. package/dist/chunks/{vcs-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{vcs-63fadg39.js → worktree-6ycjtwdb.js} +12 -12
  62. package/dist/chunks/{vcs-63wm8qbg.js → worktree-73vr0mv3.js} +20 -20
  63. package/dist/chunks/{vcs-fsb1p155.js → worktree-79m0gshw.js} +8 -8
  64. package/dist/chunks/{vcs-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{vcs-tgq87g7r.js → worktree-7dqtr61s.js} +2 -2
  66. package/dist/chunks/{vcs-nax18teq.js → worktree-7qrhk883.js} +89 -89
  67. package/dist/chunks/{vcs-fqtvmpfq.js → worktree-7s451enq.js} +8 -8
  68. package/dist/chunks/{vcs-dzpxg698.js → worktree-7v1e5ggg.js} +27 -27
  69. package/dist/chunks/{vcs-kcsm1pvj.js → worktree-891w0k4k.js} +9 -9
  70. package/dist/chunks/{vcs-89znhe33.js → worktree-89znhe33.js} +1 -1
  71. package/dist/chunks/{vcs-xne93zxg.js → worktree-8cgz7b85.js} +20 -20
  72. package/dist/chunks/{vcs-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  73. package/dist/chunks/{vcs-8sr6jhn7.js → worktree-8genm1rm.js} +39 -39
  74. package/dist/chunks/{vcs-dj2t23y0.js → worktree-8p4f9s12.js} +2 -2
  75. package/dist/chunks/{vcs-16628gpg.js → worktree-8w211mg0.js} +30 -30
  76. package/dist/chunks/{vcs-44h5tttr.js → worktree-8z00fdkb.js} +4 -4
  77. package/dist/chunks/{vcs-bmsw69pp.js → worktree-8zc4hgbz.js} +9 -9
  78. package/dist/chunks/{vcs-b88b36qt.js → worktree-91mgkbnq.js} +86 -86
  79. package/dist/chunks/{vcs-gn2hfjap.js → worktree-97w5rk9e.js} +8 -8
  80. package/dist/chunks/{vcs-sk9sa75e.js → worktree-98qyphw1.js} +5 -5
  81. package/dist/chunks/{vcs-bgs9y14h.js → worktree-994b2pxg.js} +5 -5
  82. package/dist/chunks/{vcs-0y53qaqx.js → worktree-9r04htgm.js} +6 -6
  83. package/dist/chunks/worktree-9sh4wc5j.js +18 -0
  84. package/dist/chunks/{vcs-dwhra0vb.js → worktree-9t5725tz.js} +8 -8
  85. package/dist/chunks/{vcs-5c4hm403.js → worktree-a1bz86dw.js} +3 -3
  86. package/dist/chunks/{vcs-7gw121ap.js → worktree-a4vbyqq0.js} +18 -18
  87. package/dist/chunks/{vcs-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  88. package/dist/chunks/{vcs-xa74ze7z.js → worktree-aar3e3j0.js} +22 -22
  89. package/dist/chunks/{vcs-rxknsg40.js → worktree-aemx4jfn.js} +3 -3
  90. package/dist/chunks/{vcs-drhgqwqs.js → worktree-an77xd2b.js} +28 -28
  91. package/dist/chunks/{vcs-k6e2bkwv.js → worktree-aqjys6xa.js} +30 -30
  92. package/dist/chunks/{vcs-w8f6gg2r.js → worktree-as4zy6vm.js} +6 -6
  93. package/dist/chunks/{vcs-vtwsqyj5.js → worktree-atnvsyyy.js} +11 -11
  94. package/dist/chunks/{vcs-6t63dgq1.js → worktree-ay6nbv33.js} +36 -36
  95. package/dist/chunks/{vcs-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{vcs-9bjh12rm.js → worktree-bchad5r9.js} +53 -53
  97. package/dist/chunks/{vcs-zn7065ss.js → worktree-bgrhz2qd.js} +14 -14
  98. package/dist/chunks/{vcs-fgzj8cnx.js → worktree-bpe9edxa.js} +11 -11
  99. package/dist/chunks/{vcs-p37cw4rj.js → worktree-br0tr5aq.js} +8 -8
  100. package/dist/chunks/{vcs-ea8ygsn2.js → worktree-c2kxfk76.js} +10 -10
  101. package/dist/chunks/{vcs-87c78gvf.js → worktree-c71z4xdm.js} +20 -20
  102. package/dist/chunks/{vcs-0xnkv9hy.js → worktree-c746w9ce.js} +16 -16
  103. package/dist/chunks/{vcs-gjwgx2c5.js → worktree-c765mh8b.js} +9 -9
  104. package/dist/chunks/{vcs-k5w2x31d.js → worktree-cbch6rr6.js} +32 -32
  105. package/dist/chunks/{vcs-3sv825xt.js → worktree-cerv3vyz.js} +9 -9
  106. package/dist/chunks/{vcs-m0jqrx5p.js → worktree-cfpkc3c9.js} +2 -2
  107. package/dist/chunks/{vcs-r72bb3g5.js → worktree-cfqgz3t8.js} +8 -8
  108. package/dist/chunks/{vcs-xs95kvv9.js → worktree-cmv6f9bd.js} +33 -33
  109. package/dist/chunks/{vcs-h8xa7dg2.js → worktree-cqastrjb.js} +16 -16
  110. package/dist/chunks/{vcs-2f89qttz.js → worktree-cv42xg6h.js} +10 -10
  111. package/dist/chunks/worktree-cvb3zs8g.js +26 -0
  112. package/dist/chunks/{vcs-nt0ka7s2.js → worktree-cw30v4cn.js} +10 -10
  113. package/dist/chunks/{vcs-wwcya7tn.js → worktree-cxs7v5sj.js} +32 -32
  114. package/dist/chunks/{vcs-dpkg50ah.js → worktree-dpkg50ah.js} +1 -1
  115. package/dist/chunks/{vcs-xfkkasph.js → worktree-drwq78ky.js} +4 -4
  116. package/dist/chunks/{vcs-3rp0cmz9.js → worktree-dx2wdmpc.js} +18 -18
  117. package/dist/chunks/{vcs-yetev2tk.js → worktree-e516v6v9.js} +18 -18
  118. package/dist/chunks/{vcs-82rqd1r4.js → worktree-ea5pzae2.js} +21 -21
  119. package/dist/chunks/{vcs-w6rdwwpk.js → worktree-ear7p3c0.js} +20 -20
  120. package/dist/chunks/{vcs-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  121. package/dist/chunks/{vcs-yjvtf5xb.js → worktree-efskn69j.js} +27 -27
  122. package/dist/chunks/{vcs-gx2jmf58.js → worktree-eg49wf4x.js} +4 -4
  123. package/dist/chunks/{vcs-amgcv39y.js → worktree-egfnhzxk.js} +43 -43
  124. package/dist/chunks/{vcs-nbn9sdm0.js → worktree-egnx0mgt.js} +30 -30
  125. package/dist/chunks/{vcs-mjkf3c8a.js → worktree-emcas405.js} +10 -10
  126. package/dist/chunks/{vcs-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
  127. package/dist/chunks/{vcs-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{vcs-s5fd9bya.js → worktree-ezhgv383.js} +13 -13
  129. package/dist/chunks/{vcs-rhraev7y.js → worktree-f2n192rq.js} +4 -4
  130. package/dist/chunks/{vcs-xbzr4842.js → worktree-f79e7k6s.js} +7 -7
  131. package/dist/chunks/{vcs-hdnk95c8.js → worktree-f828m53h.js} +2 -2
  132. package/dist/chunks/{vcs-y32wt6xw.js → worktree-fasg9v5a.js} +175 -175
  133. package/dist/chunks/{vcs-x0jfpzvg.js → worktree-fdtfpwha.js} +8 -8
  134. package/dist/chunks/{vcs-3pe7sts8.js → worktree-fhs97t90.js} +9 -9
  135. package/dist/chunks/{vcs-98yabkd4.js → worktree-fr0wf22j.js} +25 -25
  136. package/dist/chunks/{vcs-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{vcs-gnx4ytbv.js → worktree-fxqygnfa.js} +4 -4
  138. package/dist/chunks/{vcs-wxr3dhjj.js → worktree-fz3rwrdq.js} +41 -41
  139. package/dist/chunks/{vcs-9sbmcevh.js → worktree-fzmcda3j.js} +17 -17
  140. package/dist/chunks/{vcs-jw80jp6b.js → worktree-g190xswt.js} +4 -4
  141. package/dist/chunks/{vcs-chr97fzb.js → worktree-g59fec1k.js} +11 -11
  142. package/dist/chunks/{vcs-sxz6gkc3.js → worktree-g8d3gcyj.js} +4 -4
  143. package/dist/chunks/{vcs-pq56qyty.js → worktree-gck4x0yv.js} +18 -18
  144. package/dist/chunks/{vcs-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{vcs-8aec1g7a.js → worktree-gdfmbz4s.js} +3 -3
  146. package/dist/chunks/{vcs-6nwr3esx.js → worktree-gjg8myr7.js} +44 -44
  147. package/dist/chunks/{vcs-h05jg4r8.js → worktree-gjtye2vm.js} +5 -5
  148. package/dist/chunks/{vcs-3ktbe3hf.js → worktree-gmjjhz4f.js} +6 -6
  149. package/dist/chunks/{vcs-0pw7v16g.js → worktree-gnykwcvs.js} +11 -11
  150. package/dist/chunks/{vcs-n4r3xatb.js → worktree-gst7axd9.js} +4 -4
  151. package/dist/chunks/{vcs-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{vcs-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{vcs-1epeszhs.js → worktree-h97ghsst.js} +4 -4
  154. package/dist/chunks/{vcs-z1e9x04n.js → worktree-h9r9fv56.js} +16 -16
  155. package/dist/chunks/{vcs-gemjw02a.js → worktree-hptze64w.js} +13 -13
  156. package/dist/chunks/{vcs-cmj5x0b9.js → worktree-hxy9p1j4.js} +15 -15
  157. package/dist/chunks/{vcs-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  158. package/dist/chunks/{vcs-jca4demv.js → worktree-jca4demv.js} +2 -2
  159. package/dist/chunks/{vcs-ywb737yt.js → worktree-jencvzfg.js} +7 -7
  160. package/dist/chunks/{vcs-nghhmp74.js → worktree-jkepba1g.js} +17 -17
  161. package/dist/chunks/{vcs-310j99qk.js → worktree-jn8151j6.js} +19 -19
  162. package/dist/chunks/{vcs-3bv27cqa.js → worktree-jp5vppjv.js} +4 -4
  163. package/dist/chunks/{vcs-5aqgrrzc.js → worktree-jqbbnhze.js} +10 -10
  164. package/dist/chunks/{vcs-7s5fspak.js → worktree-jw7v3n98.js} +24 -24
  165. package/dist/chunks/{vcs-k3c624dm.js → worktree-k3c624dm.js} +3 -3
  166. package/dist/chunks/{vcs-7dkem8nx.js → worktree-k6c7vfzw.js} +25 -25
  167. package/dist/chunks/{vcs-p6x8tsyv.js → worktree-kcqxfy54.js} +11 -11
  168. package/dist/chunks/{vcs-bj010a4e.js → worktree-kej5q4ky.js} +1 -1
  169. package/dist/chunks/{vcs-p5mzrbge.js → worktree-kj5jtrjw.js} +23 -23
  170. package/dist/chunks/{vcs-sgxydaxn.js → worktree-kjqh1yxe.js} +5 -5
  171. package/dist/chunks/{vcs-87khw5v1.js → worktree-kkee341m.js} +3 -3
  172. package/dist/chunks/{vcs-yy0rdpft.js → worktree-kkr5cxbn.js} +23 -23
  173. package/dist/chunks/{vcs-k9kj6xed.js → worktree-knb7evpn.js} +6 -6
  174. package/dist/chunks/{vcs-tbrb11cd.js → worktree-kq20shcj.js} +25 -25
  175. package/dist/chunks/{vcs-n9pk4h4w.js → worktree-ksp79sx9.js} +23 -23
  176. package/dist/chunks/{vcs-y8393236.js → worktree-kxrysg97.js} +30 -30
  177. package/dist/chunks/{vcs-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{vcs-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{vcs-zsek5znr.js → worktree-mg4r3kp3.js} +38 -38
  180. package/dist/chunks/{vcs-c7xsdp4h.js → worktree-mjhv1wha.js} +5 -5
  181. package/dist/chunks/{vcs-y15vpdnr.js → worktree-mqw5201m.js} +9 -9
  182. package/dist/chunks/{vcs-1bbkgx8g.js → worktree-mvfsc1pv.js} +3 -3
  183. package/dist/chunks/{vcs-qp3v07n2.js → worktree-mw934p8z.js} +5 -5
  184. package/dist/chunks/{vcs-krsxfz3g.js → worktree-n3k12czw.js} +35 -35
  185. package/dist/chunks/{vcs-k5z0nagc.js → worktree-n6ewyaym.js} +5 -5
  186. package/dist/chunks/{vcs-3b1q5j1v.js → worktree-nnxdhk5c.js} +4 -4
  187. package/dist/chunks/{vcs-abngnphj.js → worktree-npp86ptg.js} +9 -9
  188. package/dist/chunks/{vcs-5mvsqaye.js → worktree-nrjsavn4.js} +26 -26
  189. package/dist/chunks/{vcs-rypz72ax.js → worktree-nv07z01f.js} +6 -6
  190. package/dist/chunks/worktree-nvmavsm4.js +252 -0
  191. package/dist/chunks/{vcs-drxdmwv3.js → worktree-nx8bwbma.js} +25 -25
  192. package/dist/chunks/{vcs-chde1ykr.js → worktree-p1h8wft8.js} +47 -47
  193. package/dist/chunks/{vcs-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
  194. package/dist/chunks/{vcs-bzqdwhpx.js → worktree-p3ms0v6j.js} +3 -3
  195. package/dist/chunks/{vcs-stwz4ehm.js → worktree-p3srhck7.js} +11 -11
  196. package/dist/chunks/{vcs-pecb0brz.js → worktree-p44d8wdy.js} +5 -5
  197. package/dist/chunks/{vcs-5aznq9v1.js → worktree-p732wtvd.js} +32 -32
  198. package/dist/chunks/{vcs-xbszvevf.js → worktree-p85a1qhf.js} +5 -5
  199. package/dist/chunks/{vcs-26k5bknw.js → worktree-paegk39x.js} +4 -4
  200. package/dist/chunks/{vcs-6v5nxwnj.js → worktree-pb9y5tzb.js} +14 -14
  201. package/dist/chunks/{vcs-y3vfhrfn.js → worktree-pbsj02a2.js} +21 -21
  202. package/dist/chunks/{vcs-rsmn7858.js → worktree-pfcm4e2t.js} +24 -24
  203. package/dist/chunks/{vcs-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{vcs-pknna89w.js → worktree-pknna89w.js} +1 -1
  205. package/dist/chunks/{vcs-dpb6x8pb.js → worktree-pqkghsa1.js} +11 -11
  206. package/dist/chunks/{vcs-kcy599jp.js → worktree-ptm80rvs.js} +8 -8
  207. package/dist/chunks/{vcs-vgd24bk5.js → worktree-ptwjer8q.js} +17 -17
  208. package/dist/chunks/{vcs-bqtxcn38.js → worktree-pw2fq9db.js} +5 -5
  209. package/dist/chunks/{vcs-cfs2dxc1.js → worktree-q12fs922.js} +13 -13
  210. package/dist/chunks/{vcs-zd2ardjm.js → worktree-qbs3m11x.js} +26 -26
  211. package/dist/chunks/{vcs-qgn6gcr1.js → worktree-qgn6gcr1.js} +1 -1
  212. package/dist/chunks/{vcs-w9tag6zy.js → worktree-qh0240ge.js} +41 -41
  213. package/dist/chunks/{vcs-f84e67kg.js → worktree-qkvc6zdp.js} +33 -33
  214. package/dist/chunks/{vcs-jp9e6z2n.js → worktree-qppnxmq1.js} +15 -15
  215. package/dist/chunks/{vcs-v8dgcsex.js → worktree-qqfjyj17.js} +312 -312
  216. package/dist/chunks/{vcs-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  217. package/dist/chunks/{vcs-fmwm7383.js → worktree-qssnpgtf.js} +21 -21
  218. package/dist/chunks/{vcs-xmtatqnz.js → worktree-r1ab995x.js} +3 -3
  219. package/dist/chunks/{vcs-t22fsfm1.js → worktree-r2fqvpfx.js} +14 -14
  220. package/dist/chunks/{vcs-0q2y8kca.js → worktree-r3pbwjbk.js} +22 -22
  221. package/dist/chunks/{vcs-1gjvbnce.js → worktree-r43w5d2a.js} +51 -51
  222. package/dist/chunks/{vcs-b0n5eer7.js → worktree-r90yh4s3.js} +35 -35
  223. package/dist/chunks/{vcs-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{vcs-yn2sv961.js → worktree-rfdt8g4x.js} +66 -66
  225. package/dist/chunks/{vcs-a4vsw84f.js → worktree-rmc821pf.js} +8 -8
  226. package/dist/chunks/{vcs-c9ht2gjq.js → worktree-rnjmkr11.js} +10 -10
  227. package/dist/chunks/{vcs-59vv2e99.js → worktree-rqwdmbz9.js} +20 -20
  228. package/dist/chunks/{vcs-x7d0x6q6.js → worktree-rswfs2n2.js} +3 -3
  229. package/dist/chunks/{vcs-p51bzsg2.js → worktree-rswh72q4.js} +9 -9
  230. package/dist/chunks/{vcs-5cc0bb30.js → worktree-rwcdkc4s.js} +10 -10
  231. package/dist/chunks/{vcs-mjr0mt8h.js → worktree-rymj624c.js} +9 -9
  232. package/dist/chunks/{vcs-bym81trf.js → worktree-s1ndejzt.js} +15 -15
  233. package/dist/chunks/{vcs-3zadb3ze.js → worktree-s6srgh84.js} +18 -18
  234. package/dist/chunks/{vcs-kwb80b5k.js → worktree-saaf3fxb.js} +8 -8
  235. package/dist/chunks/{vcs-5rgn0hmj.js → worktree-sncnr08v.js} +20 -20
  236. package/dist/chunks/{vcs-00z3vp5f.js → worktree-sx1n432n.js} +4 -4
  237. package/dist/chunks/{vcs-nxncb47v.js → worktree-t0w541at.js} +28 -28
  238. package/dist/chunks/{vcs-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{vcs-b97cbvw3.js → worktree-tcg29b4q.js} +1 -1
  240. package/dist/chunks/{vcs-tdstcens.js → worktree-tdstcens.js} +1 -1
  241. package/dist/chunks/{vcs-2pwpxv8b.js → worktree-tennbh37.js} +24 -24
  242. package/dist/chunks/{vcs-4bxxhd7j.js → worktree-tg3vth51.js} +4 -4
  243. package/dist/chunks/{vcs-3cfzdc8e.js → worktree-tn0aqsam.js} +5 -5
  244. package/dist/chunks/{vcs-ch1wezp8.js → worktree-tpbw80pw.js} +14 -14
  245. package/dist/chunks/{vcs-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  246. package/dist/chunks/{vcs-h2v3dy3j.js → worktree-v5zbexrb.js} +21 -21
  247. package/dist/chunks/{vcs-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  248. package/dist/chunks/{vcs-c3z7fafd.js → worktree-vg4nn9tt.js} +11 -11
  249. package/dist/chunks/{vcs-nw8gd5fb.js → worktree-vj52mgyq.js} +4 -4
  250. package/dist/chunks/{vcs-41a43f7b.js → worktree-vpdbt6f3.js} +11 -11
  251. package/dist/chunks/{vcs-87tt8t7n.js → worktree-vy52bkvf.js} +1 -1
  252. package/dist/chunks/{vcs-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{vcs-bw7qfaz4.js → worktree-w1pnds27.js} +13 -13
  254. package/dist/chunks/{vcs-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{vcs-j7t2khjb.js → worktree-w418y777.js} +11 -11
  256. package/dist/chunks/{vcs-wd87259q.js → worktree-wd87259q.js} +1 -1
  257. package/dist/chunks/{vcs-3tg7y743.js → worktree-wjahessk.js} +11 -11
  258. package/dist/chunks/{vcs-e9n56m8b.js → worktree-wjrcy753.js} +23 -23
  259. package/dist/chunks/{vcs-sf0yp864.js → worktree-wpm2rk0p.js} +6 -6
  260. package/dist/chunks/{vcs-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{vcs-9hetn29h.js → worktree-x2fsbb45.js} +35 -35
  262. package/dist/chunks/{vcs-4nfsn0ge.js → worktree-x52bhdm3.js} +25 -25
  263. package/dist/chunks/{vcs-f5qc2c8y.js → worktree-x7pykh9x.js} +9 -9
  264. package/dist/chunks/{vcs-szbm2s3f.js → worktree-xjwkwtp6.js} +15 -15
  265. package/dist/chunks/{vcs-652wwggm.js → worktree-xp8r7stt.js} +17 -17
  266. package/dist/chunks/{vcs-9wk33xq3.js → worktree-y04dpqf4.js} +15 -15
  267. package/dist/chunks/{vcs-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{vcs-prq7hedt.js → worktree-y56ehv6b.js} +9 -9
  269. package/dist/chunks/{vcs-xqy2jv1b.js → worktree-y89k24cj.js} +24 -24
  270. package/dist/chunks/{vcs-5wtk0ag7.js → worktree-y9qxyczm.js} +18 -18
  271. package/dist/chunks/{vcs-yv3895hn.js → worktree-yb3spt80.js} +4 -4
  272. package/dist/chunks/{vcs-0fx23v7t.js → worktree-yb90qen6.js} +13 -13
  273. package/dist/chunks/{vcs-qn4ba14w.js → worktree-yjptyezs.js} +5 -5
  274. package/dist/chunks/{vcs-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{vcs-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  276. package/dist/chunks/{vcs-y5n5kske.js → worktree-ys4bdtvd.js} +33 -33
  277. package/dist/chunks/{vcs-dzvkfe86.js → worktree-yvtjrsq1.js} +22 -22
  278. package/dist/chunks/{vcs-rdwk04z4.js → worktree-yx7aeq6j.js} +11 -11
  279. package/dist/chunks/{vcs-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{vcs-yfjz3sjy.js → worktree-z5hgzkz0.js} +18 -18
  281. package/dist/chunks/{vcs-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  282. package/dist/chunks/{vcs-qh8vkg5r.js → worktree-zd4g673n.js} +12 -12
  283. package/dist/chunks/{vcs-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{vcs-dfgcfsy8.js → worktree-zqeffdkx.js} +22 -22
  285. package/dist/chunks/{vcs-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{vcs-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +124 -124
  296. package/dist/config/plugin/command.js +213 -213
  297. package/dist/config/plugin/compaction.js +161 -161
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +124 -124
  304. package/dist/config/plugin/mcp.js +131 -131
  305. package/dist/config/plugin/policy.js +122 -122
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +122 -122
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +143 -143
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +123 -123
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +121 -121
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +125 -125
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +80 -80
  321. package/dist/database/database.js +65 -65
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +367 -367
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +92 -92
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +69 -69
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +226 -226
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +102 -102
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +13 -13
  425. package/dist/filesystem.js +103 -103
  426. package/dist/form.js +83 -83
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +88 -88
  429. package/dist/generate.js +102 -102
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +98 -98
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +358 -358
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +86 -86
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-lifecycle.js +105 -105
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +355 -355
  468. package/dist/location.js +84 -84
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +125 -125
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +98 -98
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +101 -101
  478. package/dist/models-dev.js +106 -106
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +77 -77
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +108 -108
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +85 -85
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +103 -103
  489. package/dist/plugin/command.js +100 -100
  490. package/dist/plugin/compaction.js +132 -132
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +329 -329
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +348 -348
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +98 -98
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +89 -89
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +88 -88
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +94 -94
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +76 -76
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +1 -1
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +214 -214
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +211 -211
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +137 -137
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +90 -90
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +124 -124
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +112 -112
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +111 -111
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +12 -12
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +14 -14
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +90 -90
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +73 -73
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/vcs-852kcaqb.js +0 -26
  692. package/dist/chunks/vcs-ht5y0zrb.js +0 -18
  693. package/dist/chunks/vcs-yxjxtxhs.js +0 -252
  694. /package/dist/chunks/{vcs-0mesazry.js → worktree-0mesazry.js} +0 -0
  695. /package/dist/chunks/{vcs-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{vcs-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{vcs-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{vcs-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{vcs-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{vcs-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{vcs-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{vcs-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{vcs-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{vcs-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{vcs-3asan66x.js → worktree-3asan66x.js} +0 -0
  706. /package/dist/chunks/{vcs-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{vcs-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{vcs-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{vcs-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{vcs-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{vcs-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{vcs-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{vcs-53557ph1.js → worktree-53557ph1.js} +0 -0
  714. /package/dist/chunks/{vcs-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{vcs-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{vcs-6prwharc.js → worktree-6prwharc.js} +0 -0
  717. /package/dist/chunks/{vcs-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{vcs-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{vcs-822emrt2.js → worktree-822emrt2.js} +0 -0
  720. /package/dist/chunks/{vcs-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{vcs-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{vcs-922hggd3.js → worktree-922hggd3.js} +0 -0
  723. /package/dist/chunks/{vcs-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{vcs-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{vcs-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{vcs-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{vcs-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{vcs-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{vcs-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{vcs-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{vcs-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{vcs-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{vcs-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{vcs-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{vcs-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{vcs-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{vcs-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{vcs-df08tz66.js → worktree-df08tz66.js} +0 -0
  739. /package/dist/chunks/{vcs-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{vcs-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{vcs-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{vcs-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{vcs-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{vcs-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{vcs-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{vcs-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{vcs-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{vcs-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{vcs-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{vcs-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{vcs-g86h250q.js → worktree-g86h250q.js} +0 -0
  752. /package/dist/chunks/{vcs-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{vcs-gftt206x.js → worktree-gftt206x.js} +0 -0
  754. /package/dist/chunks/{vcs-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{vcs-hk9envan.js → worktree-hk9envan.js} +0 -0
  756. /package/dist/chunks/{vcs-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{vcs-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{vcs-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{vcs-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{vcs-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{vcs-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{vcs-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{vcs-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{vcs-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{vcs-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{vcs-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{vcs-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{vcs-q3t37ft6.js → worktree-q3t37ft6.js} +0 -0
  769. /package/dist/chunks/{vcs-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{vcs-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{vcs-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{vcs-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{vcs-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{vcs-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{vcs-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{vcs-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{vcs-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{vcs-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{vcs-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{vcs-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{vcs-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{vcs-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{vcs-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{vcs-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{vcs-x61499pn.js → worktree-x61499pn.js} +0 -0
  786. /package/dist/chunks/{vcs-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{vcs-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{vcs-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{vcs-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{vcs-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{vcs-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./vcs-gx2jmf58.js";
4
+ } from "./worktree-eg49wf4x.js";
5
5
  import {
6
- node47
7
- } from "./vcs-59vv2e99.js";
6
+ node49
7
+ } from "./worktree-rqwdmbz9.js";
8
8
  import {
9
- Service6,
10
- node7
11
- } from "./vcs-7dkem8nx.js";
9
+ Service4,
10
+ node6
11
+ } from "./worktree-k6c7vfzw.js";
12
12
  import {
13
- Service28
14
- } from "./vcs-ht5y0zrb.js";
13
+ Service32
14
+ } from "./worktree-9sh4wc5j.js";
15
15
  import {
16
- node15,
16
+ node21,
17
17
  ID3
18
- } from "./vcs-yfjz3sjy.js";
18
+ } from "./worktree-z5hgzkz0.js";
19
19
  import {
20
- Service4,
21
- node5
22
- } from "./vcs-p37cw4rj.js";
20
+ Service12,
21
+ node14
22
+ } from "./worktree-br0tr5aq.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./vcs-v8dgcsex.js";
26
+ } from "./worktree-qqfjyj17.js";
27
27
  import {
28
- make3,
28
+ make10,
29
29
  LoadError2
30
- } from "./vcs-kcy599jp.js";
30
+ } from "./worktree-ptm80rvs.js";
31
31
  import {
32
32
  Updated2,
33
- Service2,
34
- node3
35
- } from "./vcs-mjkf3c8a.js";
33
+ Service6,
34
+ node8
35
+ } from "./worktree-emcas405.js";
36
36
  import {
37
- Service3,
38
- node4
39
- } from "./vcs-prq7hedt.js";
37
+ Service5,
38
+ node7
39
+ } from "./worktree-y56ehv6b.js";
40
40
  import {
41
41
  __export
42
- } from "./vcs-9rqn6x4v.js";
42
+ } from "./worktree-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
46
46
  __export(exports_supervisor, {
47
47
  PluginSupervisor: () => exports_supervisor,
48
- layer: () => layer3,
49
- node: () => node2
48
+ layer: () => layer4,
49
+ node: () => node5
50
50
  });
51
51
  import { Event } from "@opencode/schema/config";
52
52
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
124
124
  pending: [...pending]
125
125
  };
126
126
  });
127
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service28;
129
- const sdk = yield* Service2;
130
- const instance = yield* Service4;
131
- const sources = yield* Service6;
132
- const modules = yield* make3();
127
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
+ const registry = yield* Service32;
129
+ const sdk = yield* Service6;
130
+ const instance = yield* Service12;
131
+ const sources = yield* Service4;
132
+ const modules = yield* make10();
133
133
  const bus = yield* Service82;
134
- const updates = yield* Service3;
134
+ const updates = yield* Service5;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node15,
210
- node3,
211
- node5,
209
+ node21,
210
+ node8,
211
+ node14,
212
+ node6,
212
213
  node7,
213
- node4,
214
214
  node86,
215
215
  Npm.node,
216
- node47,
216
+ node49,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -221,6 +221,6 @@ function pluginSource(target) {
221
221
  return { type: "local", path: target };
222
222
  return { type: "package", target };
223
223
  }
224
- var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
224
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
225
225
 
226
- export { layer3, node2, exports_supervisor };
226
+ export { layer4, node5, exports_supervisor };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./vcs-6msgmcgs.js";
4
+ } from "./worktree-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./vcs-qfa1cgps.js";
7
+ } from "./worktree-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./vcs-44h5tttr.js";
3
+ } from "./worktree-8z00fdkb.js";
4
4
  import {
5
5
  Service82
6
- } from "./vcs-gx2jmf58.js";
6
+ } from "./worktree-eg49wf4x.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./vcs-rsmn7858.js";
9
+ Event13
10
+ } from "./worktree-pfcm4e2t.js";
11
11
  import {
12
- ID10,
12
+ ID9,
13
13
  MethodID2
14
- } from "./vcs-drxdmwv3.js";
14
+ } from "./worktree-nx8bwbma.js";
15
15
  import {
16
- ID9,
16
+ ID8,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service69
20
- } from "./vcs-nbn9sdm0.js";
19
+ Service54
20
+ } from "./worktree-egnx0mgt.js";
21
21
  import {
22
- ID8
23
- } from "./vcs-wwcya7tn.js";
22
+ ID7
23
+ } from "./worktree-cxs7v5sj.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./vcs-xa74ze7z.js";
25
+ load3,
26
+ derive3
27
+ } from "./worktree-aar3e3j0.js";
28
28
  import {
29
29
  useragent2
30
- } from "./vcs-c3z7fafd.js";
30
+ } from "./worktree-vg4nn9tt.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID10.make("github-copilot"),
62
+ integrationID: ID9.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,7 +157,7 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service69;
160
+ const providers = yield* Service54;
161
161
  const bus = yield* Service82;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID9.githubCopilot);
176
+ const provider = yield* providers.get(ID8.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
- try: () => load2(url, {
178
+ try: () => load3(url, {
179
179
  ...provider?.headers,
180
180
  Authorization: `Bearer ${credential.refresh}`,
181
181
  "User-Agent": useragent2(ctx.app),
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID9.githubCopilot);
197
+ const item = evt.get(ID8.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
201
201
  evt.add({
202
202
  info: item.provider,
203
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
203
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
204
204
  sourceConnection: loaded.connection
205
205
  });
206
206
  return;
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
218
- models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
218
+ models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID9.githubCopilot)
227
+ if (evt.model.providerID !== ID8.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID9.githubCopilot)
236
+ if (evt.model.providerID !== ID8.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID9.githubCopilot });
246
+ }), { providerID: ID8.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID9.githubCopilot)
248
+ if (evt.model.providerID !== ID8.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID9.githubCopilot });
256
+ }), { providerID: ID8.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID9.githubCopilot)
258
+ if (evt.model.providerID !== ID8.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info24,
10
+ Info: () => Info20,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info24 = Connection.Info;
17
+ var Info20 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info24, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info20, key2, exports_connection };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./vcs-tazgh4e4.js";
10
+ } from "./worktree-tazgh4e4.js";
11
11
  import {
12
- Service78
13
- } from "./vcs-b5vk231x.js";
12
+ Service77
13
+ } from "./worktree-3s6m3xx6.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./vcs-8xz4y4hf.js";
16
+ } from "./worktree-3z13rd8a.js";
17
17
  import {
18
18
  __export
19
- } from "./vcs-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin8,
24
+ Plugin: () => Plugin38,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin8 = define({
33
+ var Plugin38 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service78;
36
+ const location = yield* Service77;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin8, exports_hg };
191
+ export { Plugin38, exports_hg };
@@ -2,55 +2,55 @@ import {
2
2
  ID15,
3
3
  Info30,
4
4
  SessionSchema2
5
- } from "./vcs-q3t37ft6.js";
5
+ } from "./worktree-q3t37ft6.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./vcs-922hggd3.js";
8
+ } from "./worktree-922hggd3.js";
9
9
  import {
10
10
  Service83,
11
11
  node87
12
- } from "./vcs-bzqdwhpx.js";
12
+ } from "./worktree-p3ms0v6j.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service82,
16
16
  node86
17
- } from "./vcs-gx2jmf58.js";
17
+ } from "./worktree-eg49wf4x.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./vcs-5rgn0hmj.js";
19
+ Service78,
20
+ node82
21
+ } from "./worktree-sncnr08v.js";
22
22
  import {
23
- Service62,
24
- node66
25
- } from "./vcs-bw9zjykr.js";
23
+ Service40,
24
+ node42
25
+ } from "./worktree-3ppptnan.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./vcs-ec1grn59.js";
28
+ } from "./worktree-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./vcs-5c4hm403.js";
31
+ } from "./worktree-a1bz86dw.js";
32
32
  import {
33
- node64
34
- } from "./vcs-xqy2jv1b.js";
33
+ node40
34
+ } from "./worktree-y89k24cj.js";
35
35
  import {
36
36
  current2
37
- } from "./vcs-gnx4ytbv.js";
37
+ } from "./worktree-fxqygnfa.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./vcs-bw7qfaz4.js";
40
+ } from "./worktree-w1pnds27.js";
41
41
  import {
42
42
  Slug2
43
- } from "./vcs-gebd4c9n.js";
43
+ } from "./worktree-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node21
47
- } from "./vcs-1tcddezv.js";
46
+ node28
47
+ } from "./worktree-5n38ptm2.js";
48
48
  import {
49
49
  Metadata2,
50
- node36
51
- } from "./vcs-c3z7fafd.js";
50
+ node51
51
+ } from "./worktree-vg4nn9tt.js";
52
52
  import {
53
- NotFoundError10,
53
+ NotFoundError9,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./vcs-3ktbe3hf.js";
65
- import {
66
- ListInput5,
67
- Service75,
68
- node79
69
- } from "./vcs-ch1wezp8.js";
64
+ } from "./worktree-gmjjhz4f.js";
70
65
  import {
66
+ ListInput3,
71
67
  Service66,
72
- node70
73
- } from "./vcs-yj68pm2f.js";
68
+ node69
69
+ } from "./worktree-tpbw80pw.js";
70
+ import {
71
+ Service41,
72
+ node43
73
+ } from "./worktree-67yjsjje.js";
74
74
  import {
75
- Service58,
76
- node63
77
- } from "./vcs-zsek5znr.js";
75
+ Service36,
76
+ node39
77
+ } from "./worktree-mg4r3kp3.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./vcs-5t3nmthw.js";
80
+ } from "./worktree-5t3nmthw.js";
81
81
  import {
82
- Service27,
83
- node31
84
- } from "./vcs-chr97fzb.js";
82
+ Service34,
83
+ node37
84
+ } from "./worktree-g59fec1k.js";
85
85
  import {
86
86
  generate2
87
- } from "./vcs-0xnkv9hy.js";
87
+ } from "./worktree-c746w9ce.js";
88
88
  import {
89
89
  execute2
90
- } from "./vcs-x0jfpzvg.js";
90
+ } from "./worktree-fdtfpwha.js";
91
91
  import {
92
- Service65,
93
- node69
94
- } from "./vcs-3sv825xt.js";
92
+ Service63,
93
+ node66
94
+ } from "./worktree-cerv3vyz.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service17,
100
- node20
101
- } from "./vcs-9bjh12rm.js";
99
+ Service24,
100
+ node27
101
+ } from "./worktree-bchad5r9.js";
102
102
  import {
103
- Service41,
104
- node45
105
- } from "./vcs-gn2hfjap.js";
103
+ Service45,
104
+ node47
105
+ } from "./worktree-97w5rk9e.js";
106
106
  import {
107
- make13
108
- } from "./vcs-f84e67kg.js";
107
+ make12
108
+ } from "./worktree-qkvc6zdp.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./vcs-41a43f7b.js";
112
+ } from "./worktree-vpdbt6f3.js";
113
113
  import {
114
114
  __export
115
- } from "./vcs-9rqn6x4v.js";
115
+ } from "./worktree-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -130,15 +130,15 @@ __export(exports_session, {
130
130
  ListInput: () => ListInput2,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError10,
133
+ NotFoundError: () => NotFoundError9,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service16,
135
+ Service: () => Service23,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node19
141
+ node: () => node26
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput2 = ListInput5;
152
- class Service16 extends Context.Service()("@opencode/Session") {
151
+ var ListInput2 = ListInput3;
152
+ class Service23 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service16, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service83;
157
157
  const db = database.db;
158
158
  const bus = yield* Service82;
159
- const projects = yield* Service79;
160
- const execution = yield* Service58;
159
+ const projects = yield* Service78;
160
+ const execution = yield* Service36;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service27;
163
- const store = yield* Service75;
164
- const instances = yield* Service62;
165
- const moves = yield* Service17;
166
- const jobs = yield* Service66;
167
- const environments = yield* Service41;
168
- const locations = yield* Service65;
169
- const sessions = yield* make13();
162
+ const transport = yield* Service34;
163
+ const store = yield* Service66;
164
+ const instances = yield* Service40;
165
+ const moves = yield* Service24;
166
+ const jobs = yield* Service41;
167
+ const environments = yield* Service45;
168
+ const locations = yield* Service63;
169
+ const sessions = yield* make12();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service16.of({
171
+ const result = Service23.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError10({ sessionID: input.parentID });
179
+ return yield* new NotFoundError9({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service62, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service40, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
326
326
  });
327
327
  return result;
328
328
  }));
329
- var node19 = Node.makeGlobalNode({
330
- service: Service16,
329
+ var node26 = Node.makeGlobalNode({
330
+ service: Service23,
331
331
  layer,
332
332
  deps: [
333
- node70,
334
- node45,
333
+ node43,
334
+ node47,
335
335
  node87,
336
336
  node86,
337
- node83,
338
- node63,
339
- node31,
337
+ node82,
338
+ node39,
339
+ node37,
340
340
  llmClient2,
341
- node79,
342
- node66,
343
- node64,
344
- node20,
345
- node21,
346
341
  node69,
342
+ node42,
343
+ node40,
344
+ node27,
345
+ node28,
346
+ node66,
347
347
  FSUtil.node,
348
- node36
348
+ node51
349
349
  ]
350
350
  });
351
351
 
352
- export { ListAnchor2, ListInput2, Service16, node19, exports_session };
352
+ export { ListAnchor2, ListInput2, Service23, node26, exports_session };