@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,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./vcs-2a5m3afh.js";
3
+ } from "./worktree-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./vcs-922hggd3.js";
6
+ } from "./worktree-922hggd3.js";
7
7
  import {
8
- Service78
9
- } from "./vcs-b5vk231x.js";
8
+ Service77
9
+ } from "./worktree-3s6m3xx6.js";
10
10
  import {
11
- Service56
12
- } from "./vcs-2pwpxv8b.js";
11
+ Service75
12
+ } from "./worktree-tennbh37.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service55
16
- } from "./vcs-t22fsfm1.js";
15
+ Service74
16
+ } from "./worktree-r2fqvpfx.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry4,
22
22
  Match2
23
- } from "./vcs-68rvd1n8.js";
23
+ } from "./worktree-6e8z0jrw.js";
24
24
  import {
25
- Service73
26
- } from "./vcs-w507q2f7.js";
25
+ Service65
26
+ } from "./worktree-352dzxrn.js";
27
27
  import {
28
- Service49
29
- } from "./vcs-3zadb3ze.js";
28
+ Service17
29
+ } from "./worktree-s6srgh84.js";
30
30
  import {
31
31
  __export
32
- } from "./vcs-9rqn6x4v.js";
32
+ } from "./worktree-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input10,
39
- Output: () => Output7,
40
- Plugin: () => Plugin45,
41
- name: () => name10,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input8,
39
+ Output: () => Output5,
40
+ Plugin: () => Plugin28,
41
+ name: () => name8,
42
+ toModelContent: () => toModelContent4
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name10 = "grep";
48
- var Input10 = Schema.Struct({
47
+ var name8 = "grep";
48
+ var Input8 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output7 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output5 = Schema.Array(Match2);
69
+ var toModelContent4 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin45 = {
86
+ var Plugin28 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service56;
90
- const ripgrep = yield* Service55;
91
- const location = yield* Service78;
92
- const access = yield* Service49;
93
- const permission = yield* Service73;
89
+ const environment = yield* Service75;
90
+ const ripgrep = yield* Service74;
91
+ const location = yield* Service77;
92
+ const access = yield* Service17;
93
+ const permission = yield* Service65;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name10,
95
+ name: name8,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input10,
99
- output: Output7,
98
+ input: Input8,
99
+ output: Output5,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name10,
105
+ action: name8,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin45 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent4(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin45 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name10, Input10, Output7, toModelContent5, Plugin45, exports_grep };
157
+ export { name8, Input8, Output5, toModelContent4, Plugin28, exports_grep };
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./vcs-922hggd3.js";
4
+ } from "./worktree-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service80,
9
- node84
10
- } from "./vcs-ab8cnxkj.js";
8
+ Service79,
9
+ node83
10
+ } from "./worktree-2vkv0cnq.js";
11
11
  import {
12
- Service78,
13
- node82
14
- } from "./vcs-b5vk231x.js";
12
+ Service77,
13
+ node81
14
+ } from "./worktree-3s6m3xx6.js";
15
15
  import {
16
16
  create3
17
- } from "./vcs-rdw6cm16.js";
17
+ } from "./worktree-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./vcs-9rqn6x4v.js";
20
+ } from "./worktree-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error2,
26
- ID: () => ID4,
27
- Service: () => Service29,
26
+ ID: () => ID6,
27
+ Service: () => Service50,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node32,
30
- noopLayer: () => noopLayer2
29
+ node: () => node53,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service29 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service50 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service29, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service79;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service77;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service29.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node32 = makeLocationNode({
144
- service: Service29,
143
+ var node53 = makeLocationNode({
144
+ service: Service50,
145
145
  layer,
146
- deps: [FSUtil.node, node84, Global.node, node82]
146
+ deps: [FSUtil.node, node83, Global.node, node81]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service29, Service29.of({
148
+ var noopLayer3 = Layer.succeed(Service50, Service50.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error2, Service29, node32, noopLayer2, exports_snapshot2 };
166
+ export { ID6, Error2, Service50, node53, noopLayer3, exports_snapshot2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service62
3
- } from "./vcs-bw9zjykr.js";
2
+ Service40
3
+ } from "./worktree-3ppptnan.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./vcs-ht5y0zrb.js";
6
+ } from "./worktree-9sh4wc5j.js";
7
7
  import {
8
- Service40
9
- } from "./vcs-amgcv39y.js";
8
+ Service44
9
+ } from "./worktree-egfnhzxk.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./vcs-fxbjtjnd.js";
12
+ } from "./worktree-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./vcs-9rqn6x4v.js";
15
+ } from "./worktree-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service62;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
25
+ const instances = yield* Service40;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
- Service78
6
- } from "./vcs-b5vk231x.js";
5
+ Service77
6
+ } from "./worktree-3s6m3xx6.js";
7
7
  import {
8
- Service42
9
- } from "./vcs-w9tag6zy.js";
8
+ Service46
9
+ } from "./worktree-qh0240ge.js";
10
10
  import {
11
- Service14
12
- } from "./vcs-y3vfhrfn.js";
11
+ Service62
12
+ } from "./worktree-pbsj02a2.js";
13
13
  import {
14
14
  observe2
15
- } from "./vcs-qsdy395h.js";
15
+ } from "./worktree-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./vcs-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin24
24
+ Plugin: () => Plugin20
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin24 = define({
30
+ var Plugin20 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service42;
34
- const location = yield* Service78;
33
+ const config = yield* Service46;
34
+ const location = yield* Service77;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service14;
36
+ const worktrees = yield* Service62;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin24 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin24, exports_worktree };
51
+ export { Plugin20, exports_worktree };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./vcs-c3z7fafd.js";
3
+ } from "./worktree-vg4nn9tt.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
- Service71
11
- } from "./vcs-rsmn7858.js";
9
+ Event13,
10
+ Service57
11
+ } from "./worktree-pfcm4e2t.js";
12
12
  import {
13
- ID10,
13
+ ID9,
14
14
  MethodID2,
15
- Service70
16
- } from "./vcs-drxdmwv3.js";
15
+ Service55
16
+ } from "./worktree-nx8bwbma.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./vcs-pjvnvgmy.js";
20
+ } from "./worktree-pjvnvgmy.js";
21
21
  import {
22
- ID9
23
- } from "./vcs-nbn9sdm0.js";
22
+ ID8
23
+ } from "./worktree-egnx0mgt.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./vcs-9w8q0t30.js";
26
+ } from "./worktree-6j1m79c6.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID9.make("snowflake-cortex");
34
- var integrationID = ID10.make(providerID);
33
+ var providerID = ID8.make("snowflake-cortex");
34
+ var integrationID = ID9.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service71;
57
- const integrations = yield* Service70;
56
+ const credentials = yield* Service57;
57
+ const integrations = yield* Service55;
58
58
  const bus = yield* Service82;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID16,
2
+ ID14,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./vcs-fmwm7383.js";
5
+ } from "./worktree-qssnpgtf.js";
6
6
  import {
7
7
  merge2
8
- } from "./vcs-w507q2f7.js";
8
+ } from "./worktree-352dzxrn.js";
9
9
  import {
10
10
  __export
11
- } from "./vcs-9rqn6x4v.js";
11
+ } from "./worktree-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent = {};
15
- __export(exports_agent, {
16
- AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin16
14
+ var exports_agent2 = {};
15
+ __export(exports_agent2, {
16
+ AgentPlugin: () => exports_agent2,
17
+ Plugin: () => Plugin40
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin16 = define({
93
+ var Plugin40 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin16 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID16.make("general"), (item) => {
103
+ editor.update(ID14.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID16.make("explore"), (item) => {
109
+ editor.update(ID14.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin16 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID16.make("compaction"), (item) => {
128
+ editor.update(ID14.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID16.make("title"), (item) => {
133
+ editor.update(ID14.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID16.make("summary"), (item) => {
140
+ editor.update(ID14.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin16 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin16, exports_agent };
151
+ export { Plugin40, exports_agent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./vcs-dpkg50ah.js";
3
+ } from "./worktree-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service5, node7, exports_update };