@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,43 +1,43 @@
1
1
  import {
2
2
  Service83
3
- } from "./vcs-bzqdwhpx.js";
3
+ } from "./worktree-p3ms0v6j.js";
4
4
  import {
5
- Service62
6
- } from "./vcs-bw9zjykr.js";
5
+ Service40
6
+ } from "./worktree-3ppptnan.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./vcs-ht5y0zrb.js";
9
+ } from "./worktree-9sh4wc5j.js";
10
10
  import {
11
11
  provenance2
12
- } from "./vcs-26k5bknw.js";
12
+ } from "./worktree-paegk39x.js";
13
13
  import {
14
14
  preview2
15
- } from "./vcs-fsb1p155.js";
15
+ } from "./worktree-79m0gshw.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./vcs-y8393236.js";
18
+ } from "./worktree-kxrysg97.js";
19
19
  import {
20
- Service18
21
- } from "./vcs-nax18teq.js";
20
+ Service25
21
+ } from "./worktree-7qrhk883.js";
22
22
  import {
23
23
  __export
24
- } from "./vcs-9rqn6x4v.js";
24
+ } from "./worktree-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate = {};
28
- __export(exports_generate, {
29
- SessionGenerate: () => exports_generate,
27
+ var exports_generate2 = {};
28
+ __export(exports_generate2, {
29
+ SessionGenerate: () => exports_generate2,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service62;
35
+ const instances = yield* Service40;
36
36
  const database = yield* Service83;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service18;
40
+ const context = yield* Service25;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate };
74
+ export { generate2, exports_generate2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./vcs-rdw6cm16.js";
3
+ } from "./worktree-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service9,
13
- node: () => node10
12
+ Service: () => Service7,
13
+ node: () => node9
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service9, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service9.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node10 = makeLocationNode({ service: Service9, layer, deps: [] });
51
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service9, node10, exports_location_watcher_policy };
53
+ export { Service7, node9, exports_location_watcher_policy };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service78
3
- } from "./vcs-b5vk231x.js";
2
+ Service77
3
+ } from "./worktree-3s6m3xx6.js";
4
4
  import {
5
- Service56
6
- } from "./vcs-2pwpxv8b.js";
5
+ Service75
6
+ } from "./worktree-tennbh37.js";
7
7
  import {
8
- Service30,
8
+ Service15,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./vcs-s5fd9bya.js";
11
+ } from "./worktree-ezhgv383.js";
12
12
  import {
13
- Service46
14
- } from "./vcs-pq56qyty.js";
13
+ Service16
14
+ } from "./worktree-gck4x0yv.js";
15
15
  import {
16
- Service73
17
- } from "./vcs-w507q2f7.js";
16
+ Service65
17
+ } from "./worktree-352dzxrn.js";
18
18
  import {
19
- Service49,
19
+ Service17,
20
20
  resolvePath2
21
- } from "./vcs-3zadb3ze.js";
21
+ } from "./worktree-s6srgh84.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./vcs-6prwharc.js";
24
+ } from "./worktree-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./vcs-9rqn6x4v.js";
27
+ } from "./worktree-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input5,
34
- Output: () => Output4,
35
- Plugin: () => Plugin39,
36
- name: () => name5
33
+ Input: () => Input12,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin32,
36
+ name: () => name12
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name5 = "edit";
43
- var Input5 = Schema.Struct({
42
+ var name12 = "edit";
43
+ var Input12 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input5 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output4 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin39 = {
106
+ var Plugin32 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service49;
110
- const fileMutation = yield* Service30;
111
- const environment = yield* Service56;
112
- const formatter = yield* Service46;
113
- const location = yield* Service78;
114
- const permission = yield* Service73;
109
+ const access = yield* Service17;
110
+ const fileMutation = yield* Service15;
111
+ const environment = yield* Service75;
112
+ const formatter = yield* Service16;
113
+ const location = yield* Service77;
114
+ const permission = yield* Service65;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name5,
116
+ name: name12,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input5,
120
- output: Output4,
119
+ input: Input12,
120
+ output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin39 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name5, Input5, Output4, Plugin39, exports_edit };
197
+ export { name12, Input12, Output8, Plugin32, exports_edit };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./vcs-b5vk231x.js";
3
+ } from "./worktree-3s6m3xx6.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service65,
12
+ Service: () => Service63,
13
13
  canonical: () => canonical3,
14
- node: () => node69,
14
+ node: () => node66,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service65 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node69 = LayerNode.unbound(Service65, Node.tags.values.global);
27
+ var node66 = LayerNode.unbound(Service63, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service65;
29
+ const locations = yield* Service63;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service65, node69, reload2, canonical3, exports_location_service_map };
48
+ export { Service63, node66, reload2, canonical3, exports_location_service_map };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./vcs-6msgmcgs.js";
3
+ } from "./worktree-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./vcs-dj2t23y0.js";
6
+ } from "./worktree-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service80
3
- } from "./vcs-ab8cnxkj.js";
2
+ Service79
3
+ } from "./worktree-2vkv0cnq.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./vcs-gv6a8nnw.js";
7
+ } from "./worktree-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make12
16
+ make: () => make19
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make12 = Effect.gen(function* () {
21
+ var make19 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service80;
23
+ const git = yield* Service79;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make12, exports_git2 };
49
+ export { make19, exports_git2 };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./vcs-gx2jmf58.js";
4
+ } from "./worktree-eg49wf4x.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./vcs-ab8cnxkj.js";
6
+ Service79,
7
+ node83
8
+ } from "./worktree-2vkv0cnq.js";
9
9
  import {
10
- Service78,
11
- node82
12
- } from "./vcs-b5vk231x.js";
10
+ Service77,
11
+ node81
12
+ } from "./worktree-3s6m3xx6.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./vcs-ht5y0zrb.js";
15
+ } from "./worktree-9sh4wc5j.js";
16
16
  import {
17
- Service43,
18
- node47
19
- } from "./vcs-59vv2e99.js";
17
+ Service47,
18
+ node49
19
+ } from "./worktree-rqwdmbz9.js";
20
20
  import {
21
- node15
22
- } from "./vcs-yfjz3sjy.js";
21
+ node21
22
+ } from "./worktree-z5hgzkz0.js";
23
23
  import {
24
- Service9,
25
- node10
26
- } from "./vcs-gjwgx2c5.js";
24
+ Service7,
25
+ node9
26
+ } from "./worktree-c765mh8b.js";
27
27
  import {
28
28
  __export
29
- } from "./vcs-9rqn6x4v.js";
29
+ } from "./worktree-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service8,
36
- node: () => node9
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service3,
36
+ node: () => node4
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service8 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service3 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service8, Effect.gen(function* () {
46
- const location = yield* Service78;
47
- const watcher = yield* Service43;
45
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
46
+ const location = yield* Service77;
47
+ const watcher = yield* Service47;
48
48
  const bus = yield* Service82;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
51
- const policy = yield* Service9;
50
+ const git = yield* Service79;
51
+ const policy = yield* Service7;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service8.of({});
103
+ return Service3.of({});
104
104
  }));
105
- var node9 = makeLocationNode({
106
- service: Service8,
105
+ var node4 = makeLocationNode({
106
+ service: Service3,
107
107
  layer,
108
- deps: [node47, FSUtil.node, node82, node84, node86, node15, node10]
108
+ deps: [node49, FSUtil.node, node81, node83, node86, node21, node9]
109
109
  });
110
110
 
111
- export { Service8, node9, exports_location_watcher2 };
111
+ export { Service3, node4, exports_location_watcher };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./vcs-rdw6cm16.js";
3
+ } from "./worktree-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./vcs-qaymkmh1.js";
6
+ } from "./worktree-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options8,
15
- Service: () => Service45,
14
+ Options: () => Options9,
15
+ Service: () => Service48,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
18
  configured: () => configured8,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node49,
24
+ node: () => node50,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options8 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service45 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service48 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service45, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service45, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service45.of({
202
+ return Service48.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
209
  function configured8(options) {
210
- return makeLocationNode({ service: Service45, layer: layer(options), deps: [Global.node] });
210
+ return makeLocationNode({ service: Service48, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node49 = configured8();
212
+ var node50 = configured8();
213
213
 
214
- export { Options8, Service45, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured8, node49, exports_select };
214
+ export { Options9, Service48, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node50, exports_select };
@@ -4,34 +4,34 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./vcs-tazgh4e4.js";
7
+ } from "./worktree-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./vcs-ef5x83kb.js";
10
+ } from "./worktree-ef5x83kb.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/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin11,
24
+ Plugin: () => Plugin39,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin11 = define({
31
+ var Plugin39 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
- const location = yield* Service78;
34
+ const location = yield* Service77;
35
35
  if (location.vcs?.type !== "git")
36
36
  return;
37
37
  const processes = yield* AppProcess.Service;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin11, exports_git };
473
+ export { Plugin39, exports_git };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin34
3
+ } from "./worktree-mw934p8z.js";
4
+ import {
5
+ Plugin33
6
+ } from "./worktree-rymj624c.js";
7
+ import {
8
+ Plugin37
9
+ } from "./worktree-rswh72q4.js";
10
+ import {
11
+ Plugin35
12
+ } from "./worktree-5rd22f3b.js";
13
+ import {
14
+ Plugin36
15
+ } from "./worktree-npp86ptg.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin34,
20
+ Plugin33,
21
+ Plugin37,
22
+ Plugin35,
23
+ Plugin36
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID8,
2
+ ID7,
3
3
  Family2
4
- } from "./vcs-wwcya7tn.js";
4
+ } from "./worktree-cxs7v5sj.js";
5
5
  import {
6
- Service42
7
- } from "./vcs-w9tag6zy.js";
6
+ Service46
7
+ } from "./worktree-qh0240ge.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./vcs-9w8q0t30.js";
10
+ } from "./worktree-6j1m79c6.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service42;
39
+ const config = yield* Service46;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  providers.models.update(providerID, item.key, (model) => {
66
- model.modelID = ID8.make(item.key);
66
+ model.modelID = ID7.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make6();
128
+ var LMStudioPlugin2 = make7();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make6, LMStudioPlugin2 };
145
+ export { make7, LMStudioPlugin2 };