@opencode-ai/core 0.0.0-beta-19213 → 0.0.0-beta-19234

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 (775) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{config-3mp3qnpc.js → worktree-040j8z8f.js} +3 -3
  9. package/dist/chunks/{config-1hy241bm.js → worktree-066kw2xy.js} +3 -3
  10. package/dist/chunks/{config-t7n9q6bq.js → worktree-06x8he3q.js} +4 -4
  11. package/dist/chunks/{config-0e0xafbb.js → worktree-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{config-b01v16mj.js → worktree-0n1w7scn.js} +5 -5
  13. package/dist/chunks/{config-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{config-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{config-qk7j34hs.js → worktree-0rkdmzyv.js} +9 -9
  16. package/dist/chunks/{config-0s9ayhjt.js → worktree-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{config-dvpfeqay.js → worktree-1459npmt.js} +32 -32
  18. package/dist/chunks/{config-1ct4r87x.js → worktree-1ct4r87x.js} +1 -1
  19. package/dist/chunks/{config-e5wtx6yp.js → worktree-1gvs4d4m.js} +20 -20
  20. package/dist/chunks/{config-rvn46zq7.js → worktree-1n116cmy.js} +9 -9
  21. package/dist/chunks/{config-2w6bfmvf.js → worktree-1pdtxp2d.js} +1 -1
  22. package/dist/chunks/{config-pt7wq7x0.js → worktree-1wfjb4fb.js} +1 -1
  23. package/dist/chunks/{config-e7hw5pty.js → worktree-1ytn6e3p.js} +11 -11
  24. package/dist/chunks/{config-21r38tys.js → worktree-21r38tys.js} +1 -1
  25. package/dist/chunks/{config-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
  26. package/dist/chunks/{config-yhr218qz.js → worktree-28pcbh69.js} +4 -4
  27. package/dist/chunks/{config-29x78va6.js → worktree-29x78va6.js} +2 -2
  28. package/dist/chunks/{config-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{config-2ht70gj7.js → worktree-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{config-5thcqahd.js → worktree-2hth30a0.js} +8 -8
  31. package/dist/chunks/{config-7dqw4kz8.js → worktree-2k8khapm.js} +5 -5
  32. package/dist/chunks/{config-m9v3vvct.js → worktree-2sz5zasg.js} +18 -18
  33. package/dist/chunks/{config-y86ghdgz.js → worktree-2yb0w078.js} +3 -3
  34. package/dist/chunks/{config-34gj6exr.js → worktree-30e1hbbk.js} +25 -25
  35. package/dist/chunks/{config-5s58fjqb.js → worktree-35bk7ths.js} +75 -75
  36. package/dist/chunks/{config-ww8c32hp.js → worktree-3883t5g1.js} +5 -5
  37. package/dist/chunks/{config-1g5vg7jg.js → worktree-3cj33xev.js} +33 -33
  38. package/dist/chunks/{config-0xd2d7hb.js → worktree-3g2y1byn.js} +5 -5
  39. package/dist/chunks/{config-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{config-3qzbfqsy.js → worktree-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{config-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{config-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{config-bskfj634.js → worktree-410zfba8.js} +2 -2
  44. package/dist/chunks/{config-0rh3kdcc.js → worktree-41mncz27.js} +5 -5
  45. package/dist/chunks/{config-454k5vzh.js → worktree-454k5vzh.js} +1 -1
  46. package/dist/chunks/{config-snxwbbja.js → worktree-45aqx2pr.js} +4 -4
  47. package/dist/chunks/{config-nebq2wbp.js → worktree-471a560f.js} +36 -36
  48. package/dist/chunks/{config-4r2nyarf.js → worktree-4r2nyarf.js} +1 -1
  49. package/dist/chunks/{config-s5nnbhpc.js → worktree-4tyxcf8v.js} +28 -28
  50. package/dist/chunks/{config-qswgdxr2.js → worktree-52vxm64v.js} +24 -24
  51. package/dist/chunks/{config-mfqp6xfm.js → worktree-56gdpj1q.js} +6 -6
  52. package/dist/chunks/{config-h03b8j0b.js → worktree-58hqrsnb.js} +26 -26
  53. package/dist/chunks/{config-49szrax7.js → worktree-5agnkr4h.js} +16 -16
  54. package/dist/chunks/{config-1x5g2886.js → worktree-5d98etyc.js} +15 -15
  55. package/dist/chunks/{config-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  56. package/dist/chunks/{config-5fmxt4p5.js → worktree-5fmxt4p5.js} +1 -1
  57. package/dist/chunks/{config-5jvc5tg2.js → worktree-5jvc5tg2.js} +1 -1
  58. package/dist/chunks/{config-qr1eqhjp.js → worktree-5nygvj5f.js} +16 -16
  59. package/dist/chunks/{config-5kwxw01f.js → worktree-5r8w58wp.js} +15 -15
  60. package/dist/chunks/{config-jd18dr6a.js → worktree-5zcapbqz.js} +26 -26
  61. package/dist/chunks/{config-0hnzrfya.js → worktree-61k64wys.js} +12 -12
  62. package/dist/chunks/{config-6v7n0t7d.js → worktree-62mr7g8a.js} +9 -9
  63. package/dist/chunks/{config-xvz51zke.js → worktree-63nctvwe.js} +44 -44
  64. package/dist/chunks/{config-g670t05w.js → worktree-660eg1b9.js} +28 -28
  65. package/dist/chunks/{config-vtfd0wn0.js → worktree-6v6snzyf.js} +20 -20
  66. package/dist/chunks/{config-qba0e80z.js → worktree-6y2e0e4e.js} +7 -7
  67. package/dist/chunks/{config-swawfrtc.js → worktree-6yybv5x8.js} +14 -14
  68. package/dist/chunks/{config-711hfp6y.js → worktree-711hfp6y.js} +2 -2
  69. package/dist/chunks/{config-x8psm3y1.js → worktree-7214vx64.js} +4 -4
  70. package/dist/chunks/{config-72nftnjy.js → worktree-72nftnjy.js} +2 -2
  71. package/dist/chunks/{config-1bbkgx8g.js → worktree-73tb2d7t.js} +3 -3
  72. package/dist/chunks/{config-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{config-927n2qw7.js → worktree-7dz4r7mk.js} +8 -8
  74. package/dist/chunks/{config-ate8839h.js → worktree-7er3jcv0.js} +26 -26
  75. package/dist/chunks/{config-64p3nd57.js → worktree-7g2k4w5v.js} +43 -43
  76. package/dist/chunks/{config-m1gyy32w.js → worktree-7gkmedy0.js} +11 -11
  77. package/dist/chunks/{config-mcdn99dn.js → worktree-7h10aajm.js} +3 -3
  78. package/dist/chunks/{config-a48wttwm.js → worktree-7nmnk1wx.js} +9 -9
  79. package/dist/chunks/{config-dfa19mh9.js → worktree-7w74e5nf.js} +9 -9
  80. package/dist/chunks/{config-kjjn4d3m.js → worktree-842v7csv.js} +2 -2
  81. package/dist/chunks/{config-smt3exbz.js → worktree-87hmtf6v.js} +16 -16
  82. package/dist/chunks/{config-1q5awywt.js → worktree-8dff8bqa.js} +5 -5
  83. package/dist/chunks/{config-12zagvq5.js → worktree-8k6sjvxx.js} +11 -11
  84. package/dist/chunks/{config-y5z4htr6.js → worktree-94pmskv9.js} +4 -4
  85. package/dist/chunks/{config-zgkmrr91.js → worktree-9g259f3c.js} +4 -4
  86. package/dist/chunks/{config-8edgd9kc.js → worktree-9kwyppn5.js} +12 -12
  87. package/dist/chunks/{config-dkbgd4kx.js → worktree-9mtg8gdn.js} +9 -9
  88. package/dist/chunks/{config-9qm9egsn.js → worktree-9qm9egsn.js} +2 -2
  89. package/dist/chunks/{config-99tv9yfq.js → worktree-a29r829w.js} +47 -47
  90. package/dist/chunks/{config-kts0agpf.js → worktree-a8g0fabb.js} +7 -7
  91. package/dist/chunks/{config-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  92. package/dist/chunks/{config-y7qh7890.js → worktree-acbvwaxg.js} +11 -11
  93. package/dist/chunks/{config-xzst0pqg.js → worktree-adacqx41.js} +20 -20
  94. package/dist/chunks/{config-qayqf0g2.js → worktree-adv3g3q6.js} +11 -11
  95. package/dist/chunks/{config-pae9v2p1.js → worktree-ajphwd6y.js} +4 -4
  96. package/dist/chunks/{config-ajtjthsy.js → worktree-ajtjthsy.js} +2 -2
  97. package/dist/chunks/{config-ezwsq5k5.js → worktree-avwxaxy8.js} +19 -19
  98. package/dist/chunks/{config-x40p63aq.js → worktree-b08spypp.js} +8 -8
  99. package/dist/chunks/{config-dg5bcj4q.js → worktree-b1chm04x.js} +7 -7
  100. package/dist/chunks/{config-3567rzqq.js → worktree-b3kfkjj6.js} +4 -4
  101. package/dist/chunks/worktree-b5q5y4vk.js +4 -0
  102. package/dist/chunks/{config-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{config-66e0jw58.js → worktree-b9e4evd2.js} +7 -7
  104. package/dist/chunks/{config-b9wsbatv.js → worktree-b9wsbatv.js} +1 -1
  105. package/dist/chunks/{config-1qd474pp.js → worktree-bg50jbb6.js} +76 -76
  106. package/dist/chunks/{config-dhj68qnj.js → worktree-bj3t22s0.js} +38 -38
  107. package/dist/chunks/{config-3qze2g25.js → worktree-bpnz08mb.js} +2 -2
  108. package/dist/chunks/{config-bxnxgyw0.js → worktree-bsv171pv.js} +8 -8
  109. package/dist/chunks/{config-fqah0yx0.js → worktree-c047tdby.js} +13 -13
  110. package/dist/chunks/{config-zaqrafaq.js → worktree-c83taev4.js} +7 -7
  111. package/dist/chunks/{config-z3h7hm3n.js → worktree-ce9ncmzb.js} +4 -4
  112. package/dist/chunks/{config-b77p7m16.js → worktree-cfsc9srb.js} +4 -4
  113. package/dist/chunks/{config-5g1rmrcr.js → worktree-cjrs1hef.js} +17 -17
  114. package/dist/chunks/{config-6cdt56q6.js → worktree-ckfw619d.js} +34 -34
  115. package/dist/chunks/{config-jpbcpdat.js → worktree-cnvcdvk7.js} +6 -6
  116. package/dist/chunks/{config-wchqn469.js → worktree-cnze8n7v.js} +10 -10
  117. package/dist/chunks/{config-wfzhhzam.js → worktree-cs4zqdxc.js} +4 -4
  118. package/dist/chunks/{config-k6m5m9e2.js → worktree-d4w17cfe.js} +3 -3
  119. package/dist/chunks/{config-d72308c8.js → worktree-d72308c8.js} +2 -2
  120. package/dist/chunks/{config-t1qwxm7n.js → worktree-dng5ka12.js} +4 -4
  121. package/dist/chunks/{config-yd25cjpk.js → worktree-dpdxxwta.js} +4 -4
  122. package/dist/chunks/{config-xbpwrv4k.js → worktree-dssx1y55.js} +24 -24
  123. package/dist/chunks/{config-2cbb5et2.js → worktree-e2xpxj6j.js} +20 -20
  124. package/dist/chunks/{config-nhy5jxhy.js → worktree-e82z9tr0.js} +7 -7
  125. package/dist/chunks/{config-znbmjvpk.js → worktree-edz5pbw5.js} +27 -27
  126. package/dist/chunks/{config-eg4pr325.js → worktree-eg4pr325.js} +3 -3
  127. package/dist/chunks/{config-sy7czwgb.js → worktree-enw72f67.js} +6 -6
  128. package/dist/chunks/{config-nr6sang8.js → worktree-ex625ka3.js} +3 -3
  129. package/dist/chunks/{config-eedkthq6.js → worktree-f8pec4ch.js} +15 -15
  130. package/dist/chunks/{config-d8kth2xv.js → worktree-fgdwx9dj.js} +24 -24
  131. package/dist/chunks/{config-31p5zh2n.js → worktree-fj906p38.js} +8 -8
  132. package/dist/chunks/{config-ptx5rqgb.js → worktree-fmanbg8s.js} +24 -24
  133. package/dist/chunks/{config-g83hhac8.js → worktree-fss4j797.js} +27 -27
  134. package/dist/chunks/{config-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  135. package/dist/chunks/{config-fxypknc8.js → worktree-fxypknc8.js} +1 -1
  136. package/dist/chunks/{config-66r7hxb5.js → worktree-g43vvm86.js} +7 -7
  137. package/dist/chunks/{config-sc3k6mhh.js → worktree-g6njkj82.js} +15 -15
  138. package/dist/chunks/{config-ek71w6eh.js → worktree-g89m0qrn.js} +31 -31
  139. package/dist/chunks/{config-0d3z7n3v.js → worktree-gcaq7q8d.js} +4 -4
  140. package/dist/chunks/{config-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{config-3fc6dm20.js → worktree-gdvy8fx6.js} +4 -4
  142. package/dist/chunks/{config-1rm0drdm.js → worktree-ge7ds67b.js} +2 -2
  143. package/dist/chunks/{config-rr9jc8eh.js → worktree-gq1q1b4e.js} +11 -11
  144. package/dist/chunks/{config-x21v200d.js → worktree-gqvj11y0.js} +11 -11
  145. package/dist/chunks/{config-6bz4kze7.js → worktree-gvcph31s.js} +12 -12
  146. package/dist/chunks/{config-wdbm444n.js → worktree-h08w630h.js} +46 -46
  147. package/dist/chunks/{config-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{config-w4ckd608.js → worktree-hbxp6gk0.js} +9 -9
  149. package/dist/chunks/worktree-hcs930pp.js +22 -0
  150. package/dist/chunks/{config-125x8yrg.js → worktree-hctjcsn3.js} +60 -60
  151. package/dist/chunks/{config-qczvrgn6.js → worktree-hevn35yy.js} +7 -7
  152. package/dist/chunks/{config-heyhwy2w.js → worktree-heyhwy2w.js} +1 -1
  153. package/dist/chunks/{config-bphmvjfp.js → worktree-hnyf01b0.js} +5 -5
  154. package/dist/chunks/{config-hrvm11jt.js → worktree-hrvm11jt.js} +3 -3
  155. package/dist/chunks/{config-w150ghxd.js → worktree-ht4ejyw1.js} +13 -13
  156. package/dist/chunks/{config-d1a1bt21.js → worktree-ht963k40.js} +5 -5
  157. package/dist/chunks/{config-sne4bgax.js → worktree-j1yqv9s7.js} +13 -13
  158. package/dist/chunks/{config-gy0exn3t.js → worktree-j6jsstpv.js} +25 -25
  159. package/dist/chunks/{config-nsad1e5g.js → worktree-jkzajkdb.js} +14 -14
  160. package/dist/chunks/{config-k1gcpd3w.js → worktree-jm1y8vkw.js} +11 -11
  161. package/dist/chunks/{config-r3j4zcsz.js → worktree-jw9vr5cv.js} +8 -8
  162. package/dist/chunks/{config-33jxrbwg.js → worktree-k1rzh40r.js} +22 -22
  163. package/dist/chunks/{config-smdsd39q.js → worktree-k3skpd5n.js} +12 -12
  164. package/dist/chunks/{config-k4bwy1x5.js → worktree-k4bwy1x5.js} +1 -1
  165. package/dist/chunks/{config-kg06axw8.js → worktree-kg06axw8.js} +1 -1
  166. package/dist/chunks/{config-tmpnype6.js → worktree-kg8hghrp.js} +37 -37
  167. package/dist/chunks/{config-3b3zr0wm.js → worktree-kk0awzkj.js} +21 -21
  168. package/dist/chunks/{config-jnmmvqjs.js → worktree-kmcjptjm.js} +1 -1
  169. package/dist/chunks/{config-kvsjn1dr.js → worktree-kvsjn1dr.js} +2 -2
  170. package/dist/chunks/{config-4d8x6c4r.js → worktree-kxf02bzq.js} +24 -24
  171. package/dist/chunks/{config-w28qetpj.js → worktree-m7nj5h8z.js} +14 -14
  172. package/dist/chunks/{config-1ksmjq1b.js → worktree-m7w02m4e.js} +12 -12
  173. package/dist/chunks/{config-qmmgsmq5.js → worktree-m9asb4sr.js} +24 -24
  174. package/dist/chunks/{config-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{config-ehp0t27a.js → worktree-m9xhrdze.js} +11 -11
  176. package/dist/chunks/{config-5gf0fqf4.js → worktree-mfpdf0ta.js} +7 -7
  177. package/dist/chunks/{config-8tbmtt69.js → worktree-mh0thj4x.js} +15 -15
  178. package/dist/chunks/{config-xxz5bf5t.js → worktree-mq9r6drf.js} +3 -3
  179. package/dist/chunks/{config-781c0shr.js → worktree-mtd0mgtt.js} +30 -30
  180. package/dist/chunks/{config-at5d07az.js → worktree-mtq6xxnx.js} +7 -7
  181. package/dist/chunks/{config-hnzcb2y8.js → worktree-mw548jxj.js} +18 -18
  182. package/dist/chunks/{config-jeqa7pvb.js → worktree-najyedn1.js} +8 -8
  183. package/dist/chunks/{config-bbkddy5p.js → worktree-ne4zyw3a.js} +12 -12
  184. package/dist/chunks/{config-34595bsr.js → worktree-nhfc898y.js} +31 -31
  185. package/dist/chunks/{config-1szztnv1.js → worktree-nnad2ash.js} +46 -46
  186. package/dist/chunks/{config-772t4z0t.js → worktree-nz4zy0sw.js} +20 -20
  187. package/dist/chunks/{config-b232drbw.js → worktree-pfzksdxq.js} +22 -22
  188. package/dist/chunks/{config-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{config-0eq6scaw.js → worktree-pjw83wd2.js} +29 -29
  190. package/dist/chunks/{config-pknna89w.js → worktree-pknna89w.js} +1 -1
  191. package/dist/chunks/{config-vsksdvqk.js → worktree-pq5hrpmt.js} +10 -10
  192. package/dist/chunks/{config-pkfzfw01.js → worktree-pr0pn8m6.js} +13 -13
  193. package/dist/chunks/{config-6m3ezb16.js → worktree-prrfs6yw.js} +20 -20
  194. package/dist/chunks/{config-dn0akby4.js → worktree-q3yxb0xv.js} +11 -11
  195. package/dist/chunks/{config-fb0g3c6b.js → worktree-q8qsy7xy.js} +14 -14
  196. package/dist/chunks/{config-e61e1850.js → worktree-qafexnn6.js} +9 -9
  197. package/dist/chunks/{config-8a43n134.js → worktree-qbddy52q.js} +11 -11
  198. package/dist/chunks/{config-1s0bkp3w.js → worktree-qqt43bp1.js} +20 -20
  199. package/dist/chunks/{config-6anwy9fs.js → worktree-qqtwvk4z.js} +4 -4
  200. package/dist/chunks/{config-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  201. package/dist/chunks/{config-061jmrcd.js → worktree-qvk768dr.js} +11 -11
  202. package/dist/chunks/{config-vscvxt5h.js → worktree-qyv79zw0.js} +25 -25
  203. package/dist/chunks/{config-ftwhdg9r.js → worktree-qyza05bp.js} +24 -24
  204. package/dist/chunks/{config-vptg3p32.js → worktree-r226ndvg.js} +33 -33
  205. package/dist/chunks/{config-r8dhm0tv.js → worktree-r8dhm0tv.js} +1 -1
  206. package/dist/chunks/{config-an7cqtb7.js → worktree-r98e92ep.js} +4 -4
  207. package/dist/chunks/worktree-rap9a73h.js +18 -0
  208. package/dist/chunks/{config-1qhtjtvh.js → worktree-rd9hzb43.js} +13 -13
  209. package/dist/chunks/{config-7ev6n2de.js → worktree-rfedyjyh.js} +13 -13
  210. package/dist/chunks/{config-768z0hjh.js → worktree-rh7y5xh0.js} +1 -1
  211. package/dist/chunks/{config-t7m2jygx.js → worktree-rj2f5sk2.js} +8 -8
  212. package/dist/chunks/{config-y66syx4k.js → worktree-rqqsyksf.js} +24 -24
  213. package/dist/chunks/{config-q3hs2jyf.js → worktree-s06dat1t.js} +9 -9
  214. package/dist/chunks/{config-sbabsw9p.js → worktree-s6z4mph6.js} +6 -6
  215. package/dist/chunks/{config-sba4qhjf.js → worktree-sba4qhjf.js} +1 -1
  216. package/dist/chunks/{config-trrfevf4.js → worktree-sdm57bgr.js} +23 -23
  217. package/dist/chunks/{config-f1tbd7xn.js → worktree-smk292jk.js} +149 -149
  218. package/dist/chunks/{config-yj3e99fm.js → worktree-sn5ar8h4.js} +1 -1
  219. package/dist/chunks/{config-tq5842k7.js → worktree-srxvp5n6.js} +14 -14
  220. package/dist/chunks/{config-pshrjpqq.js → worktree-sxrnkw1n.js} +9 -9
  221. package/dist/chunks/{config-qs4avvkb.js → worktree-sy2xv61m.js} +1 -1
  222. package/dist/chunks/{config-6kd929vb.js → worktree-t5ad4xaj.js} +6 -6
  223. package/dist/chunks/{config-6vtapc9a.js → worktree-t5h4rs02.js} +6 -6
  224. package/dist/chunks/{config-8zg6crxs.js → worktree-t8vr1kn7.js} +9 -9
  225. package/dist/chunks/{config-31x7p75b.js → worktree-t9qj8c83.js} +10 -10
  226. package/dist/chunks/{config-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{config-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{config-b2ajq5jm.js → worktree-tgpzk4tr.js} +10 -10
  229. package/dist/chunks/{config-j1c7ngy9.js → worktree-tgz6nsmd.js} +42 -42
  230. package/dist/chunks/{config-tjykrgmx.js → worktree-tjykrgmx.js} +1 -1
  231. package/dist/chunks/{config-c3yfqhda.js → worktree-tmjhps6z.js} +11 -11
  232. package/dist/chunks/{config-tppvcy65.js → worktree-tppvcy65.js} +2 -2
  233. package/dist/chunks/{config-9cwwn6v6.js → worktree-tq32dsfx.js} +11 -11
  234. package/dist/chunks/{config-dz34hndh.js → worktree-tqmakht3.js} +19 -19
  235. package/dist/chunks/{config-j7ddqhb7.js → worktree-txt2cax8.js} +298 -298
  236. package/dist/chunks/{config-hfs9c98a.js → worktree-tza14zss.js} +32 -32
  237. package/dist/chunks/{config-v6cm343t.js → worktree-v6s3zgrk.js} +6 -6
  238. package/dist/chunks/{config-zajwd6at.js → worktree-vhjdrq5e.js} +5 -5
  239. package/dist/chunks/{config-2cp3nfy6.js → worktree-vqfj6rgg.js} +15 -15
  240. package/dist/chunks/{config-25wcb9q3.js → worktree-vspn1zx3.js} +23 -23
  241. package/dist/chunks/{config-tqtgqpep.js → worktree-vxz7khjw.js} +22 -22
  242. package/dist/chunks/{config-nkb5ds67.js → worktree-vy8y55ac.js} +21 -21
  243. package/dist/chunks/{config-9qdabgrg.js → worktree-vynk1gtr.js} +11 -11
  244. package/dist/chunks/{config-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{config-wd87259q.js → worktree-wd87259q.js} +1 -1
  246. package/dist/chunks/{config-ykxs3m22.js → worktree-wga61mrz.js} +14 -14
  247. package/dist/chunks/{config-g7d0txer.js → worktree-wgc064dh.js} +10 -10
  248. package/dist/chunks/{config-bqa69dka.js → worktree-wjy58fct.js} +10 -10
  249. package/dist/chunks/{config-0kka2cce.js → worktree-wt966625.js} +20 -20
  250. package/dist/chunks/{config-bwyjgagk.js → worktree-wvbw7nq4.js} +17 -17
  251. package/dist/chunks/{config-wf7fyefm.js → worktree-wx13dy4y.js} +11 -11
  252. package/dist/chunks/{config-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{config-ajhg4wh8.js → worktree-x4ndt50x.js} +14 -14
  254. package/dist/chunks/{config-n8qe30xq.js → worktree-xgjy9czn.js} +9 -9
  255. package/dist/chunks/{config-4caeeh9x.js → worktree-xgqr5ys9.js} +24 -24
  256. package/dist/chunks/{config-aqyb8ags.js → worktree-xk6kcd15.js} +3 -3
  257. package/dist/chunks/{config-bpgxrmx0.js → worktree-xpxmebhh.js} +38 -38
  258. package/dist/chunks/{config-0myjdyv6.js → worktree-xr5vwsd4.js} +9 -9
  259. package/dist/chunks/{config-mhf9e8sk.js → worktree-xwsmtwfv.js} +5 -5
  260. package/dist/chunks/{config-ygmyy038.js → worktree-xy07edwq.js} +41 -41
  261. package/dist/chunks/{config-fwac4zez.js → worktree-y14y9keq.js} +1 -1
  262. package/dist/chunks/{config-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{config-93a8yfjt.js → worktree-y2cqme3r.js} +5 -5
  264. package/dist/chunks/{config-y71avatq.js → worktree-y71avatq.js} +1 -1
  265. package/dist/chunks/{config-k661xtrb.js → worktree-ybjzef57.js} +8 -8
  266. package/dist/chunks/{config-yfbd16n1.js → worktree-yfbd16n1.js} +2 -2
  267. package/dist/chunks/{config-7m25f6tj.js → worktree-yfdj9tfx.js} +33 -33
  268. package/dist/chunks/{config-st2ye5gy.js → worktree-yh9c67q5.js} +4 -4
  269. package/dist/chunks/{config-hna3j416.js → worktree-ynqmrvb3.js} +12 -12
  270. package/dist/chunks/{config-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
  271. package/dist/chunks/{config-nfc98c1n.js → worktree-ypyh08m6.js} +4 -4
  272. package/dist/chunks/worktree-yrf23g47.js +247 -0
  273. package/dist/chunks/{config-a84e6zwm.js → worktree-yywg80z9.js} +6 -6
  274. package/dist/chunks/{config-wt69nczh.js → worktree-z168y132.js} +30 -30
  275. package/dist/chunks/{config-z1k01bn4.js → worktree-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{config-zeb8mwjb.js → worktree-z1sr0xrs.js} +4 -4
  277. package/dist/chunks/{config-b5gjhjfs.js → worktree-ze4dnq9c.js} +4 -4
  278. package/dist/chunks/{config-eya5rc2y.js → worktree-zgsac5yt.js} +10 -10
  279. package/dist/chunks/{config-cx2xxwvj.js → worktree-zh2rh6rn.js} +11 -11
  280. package/dist/chunks/{config-ys4c75jc.js → worktree-zh93cpfk.js} +18 -18
  281. package/dist/chunks/{config-42yc5jqn.js → worktree-zht09bnk.js} +8 -8
  282. package/dist/chunks/{config-rvb2zp0m.js → worktree-zkj92s1w.js} +11 -6
  283. package/dist/chunks/{config-j3nwj9gm.js → worktree-zn2cbnfs.js} +11 -11
  284. package/dist/chunks/{config-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +3 -3
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +115 -115
  293. package/dist/config/plugin/command.js +206 -206
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +115 -115
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +115 -115
  300. package/dist/config/plugin/mcp.js +124 -124
  301. package/dist/config/plugin/policy.js +114 -114
  302. package/dist/config/plugin/provider.js +113 -113
  303. package/dist/config/plugin/reference.js +117 -117
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +135 -135
  307. package/dist/config/plugin/snapshot.js +115 -115
  308. package/dist/config/plugin/source.js +117 -117
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +115 -115
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +117 -117
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +81 -81
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +359 -359
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +68 -68
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +219 -219
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +1 -1
  418. package/dist/filesystem/watcher.js +13 -13
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +84 -84
  423. package/dist/generate.js +91 -91
  424. package/dist/git.js +3 -3
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +350 -350
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +84 -84
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +126 -126
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +347 -347
  461. package/dist/location.js +76 -76
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +103 -103
  464. package/dist/mcp/instructions.js +119 -119
  465. package/dist/mcp/oauth.js +3 -3
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +86 -86
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +101 -101
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +80 -80
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +94 -94
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +212 -212
  485. package/dist/plugin/instance.js +3 -3
  486. package/dist/plugin/internal.js +321 -321
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/optimize.js +2 -2
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +118 -118
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +114 -114
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +80 -80
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +76 -76
  510. package/dist/plugin/provider/lmstudio.js +117 -117
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +79 -79
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +117 -117
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +78 -78
  517. package/dist/plugin/provider/opencode.js +76 -76
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +117 -117
  526. package/dist/plugin/provider/xai.js +77 -77
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +155 -155
  529. package/dist/plugin/sdk.js +72 -72
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +132 -132
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +340 -340
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +112 -112
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +223 -223
  546. package/dist/project/schema.js +2 -2
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +75 -75
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +90 -90
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +84 -84
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +126 -126
  564. package/dist/session/context.js +146 -146
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +5 -5
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +212 -212
  569. package/dist/session/execution.js +119 -119
  570. package/dist/session/generate.js +145 -145
  571. package/dist/session/history.js +12 -12
  572. package/dist/session/inbox.js +84 -84
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +125 -125
  582. package/dist/session/projector.js +82 -82
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +1 -1
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +224 -224
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +86 -86
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +120 -120
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +168 -168
  596. package/dist/session/shell.js +131 -131
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +80 -80
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +204 -204
  603. package/dist/session/system-prompt.js +5 -5
  604. package/dist/session/title.js +150 -150
  605. package/dist/session/to-session-error.js +106 -106
  606. package/dist/session/transfer.js +208 -208
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +210 -210
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +7 -7
  613. package/dist/shell.js +133 -133
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +99 -99
  616. package/dist/skill.js +100 -100
  617. package/dist/snapshot.js +86 -86
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +120 -120
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +108 -108
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +211 -211
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +213 -213
  633. package/dist/tool/plugin/webfetch.js +102 -102
  634. package/dist/tool/plugin/websearch.js +108 -108
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +94 -94
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/util/error-summary.js +1 -1
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +5 -5
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +5 -5
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +2 -2
  653. package/dist/v1/config/formatter.js +5 -5
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +3 -3
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +3 -3
  659. package/dist/v1/config/plugin.js +3 -3
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +81 -81
  667. package/dist/websearch.js +76 -76
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +77 -77
  670. package/dist/workspace/driver.js +3 -3
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +76 -76
  673. package/dist/worktree/directory.js +4 -4
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/refresh.js +337 -337
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +89 -89
  678. package/package.json +7 -7
  679. package/dist/chunks/config-5yahp969.js +0 -22
  680. package/dist/chunks/config-7fj5dwt0.js +0 -18
  681. package/dist/chunks/config-7zk4hah4.js +0 -4
  682. package/dist/chunks/config-pf14h3xc.js +0 -247
  683. /package/dist/chunks/{config-0fabt78z.js → worktree-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{config-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{config-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{config-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{config-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{config-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{config-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{config-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{config-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{config-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{config-3asan66x.js → worktree-3asan66x.js} +0 -0
  694. /package/dist/chunks/{config-3t738kvx.js → worktree-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{config-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{config-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{config-41nvscxy.js → worktree-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{config-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{config-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{config-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{config-53557ph1.js → worktree-53557ph1.js} +0 -0
  702. /package/dist/chunks/{config-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{config-6prwharc.js → worktree-6prwharc.js} +0 -0
  704. /package/dist/chunks/{config-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{config-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{config-822emrt2.js → worktree-822emrt2.js} +0 -0
  707. /package/dist/chunks/{config-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{config-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{config-982e01ww.js → worktree-982e01ww.js} +0 -0
  710. /package/dist/chunks/{config-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{config-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{config-a1tpkmh4.js → worktree-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{config-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{config-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{config-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{config-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{config-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{config-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{config-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{config-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{config-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{config-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{config-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{config-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{config-df08tz66.js → worktree-df08tz66.js} +0 -0
  726. /package/dist/chunks/{config-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{config-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{config-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{config-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{config-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{config-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{config-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{config-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{config-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{config-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{config-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{config-g86h250q.js → worktree-g86h250q.js} +0 -0
  738. /package/dist/chunks/{config-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{config-hk9envan.js → worktree-hk9envan.js} +0 -0
  740. /package/dist/chunks/{config-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{config-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{config-j935v87r.js → worktree-j935v87r.js} +0 -0
  743. /package/dist/chunks/{config-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  744. /package/dist/chunks/{config-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  745. /package/dist/chunks/{config-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  746. /package/dist/chunks/{config-mntxs535.js → worktree-mntxs535.js} +0 -0
  747. /package/dist/chunks/{config-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  748. /package/dist/chunks/{config-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  749. /package/dist/chunks/{config-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  750. /package/dist/chunks/{config-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  751. /package/dist/chunks/{config-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  752. /package/dist/chunks/{config-p8qxwesx.js → worktree-p8qxwesx.js} +0 -0
  753. /package/dist/chunks/{config-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  754. /package/dist/chunks/{config-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  755. /package/dist/chunks/{config-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  756. /package/dist/chunks/{config-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  757. /package/dist/chunks/{config-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  758. /package/dist/chunks/{config-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  759. /package/dist/chunks/{config-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  760. /package/dist/chunks/{config-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  761. /package/dist/chunks/{config-se0s1eqw.js → worktree-se0s1eqw.js} +0 -0
  762. /package/dist/chunks/{config-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  763. /package/dist/chunks/{config-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  764. /package/dist/chunks/{config-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  765. /package/dist/chunks/{config-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{config-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  767. /package/dist/chunks/{config-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  768. /package/dist/chunks/{config-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  769. /package/dist/chunks/{config-x1b8g1yb.js → worktree-x1b8g1yb.js} +0 -0
  770. /package/dist/chunks/{config-x61499pn.js → worktree-x61499pn.js} +0 -0
  771. /package/dist/chunks/{config-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{config-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{config-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  774. /package/dist/chunks/{config-z9919s4g.js → worktree-z9919s4g.js} +0 -0
  775. /package/dist/chunks/{config-zbjnn3ac.js → worktree-zbjnn3ac.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
- ID16,
2
+ ID14,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./config-rvb2zp0m.js";
8
+ } from "./worktree-zkj92s1w.js";
9
9
  import {
10
- Service71,
11
- node76
12
- } from "./config-qayqf0g2.js";
10
+ Service66,
11
+ node70
12
+ } from "./worktree-adv3g3q6.js";
13
13
  import {
14
14
  map2
15
- } from "./config-1rm0drdm.js";
15
+ } from "./worktree-ge7ds67b.js";
16
16
  import {
17
- ID14,
17
+ ID13,
18
18
  VariantID2,
19
19
  Ref3
20
- } from "./config-smdsd39q.js";
20
+ } from "./worktree-k3skpd5n.js";
21
21
  import {
22
- ID12,
23
- Service73,
24
- node78
25
- } from "./config-d8kth2xv.js";
22
+ ID9,
23
+ Service53,
24
+ node56
25
+ } from "./worktree-fgdwx9dj.js";
26
26
  import {
27
- Service72,
28
- node77
29
- } from "./config-34gj6exr.js";
27
+ Service52,
28
+ node55
29
+ } from "./worktree-30e1hbbk.js";
30
30
  import {
31
31
  __export
32
- } from "./config-9rqn6x4v.js";
32
+ } from "./worktree-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service65,
38
+ Service: () => Service43,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedPackageError: () => UnsupportedPackageError3,
41
41
  VariantUnavailableError: () => VariantUnavailableError3,
42
42
  fromCatalogModel: () => fromCatalogModel2,
43
43
  hasPackage: () => hasPackage2,
44
- layer: () => layer21,
45
- node: () => node70,
44
+ layer: () => layer19,
45
+ node: () => node46,
46
46
  resolveModel: () => resolveModel2,
47
47
  withVariant: () => withVariant2
48
48
  });
@@ -52,8 +52,8 @@ import { Auth } from "@opencode-ai/ai/route";
52
52
  import { Context, Effect, Layer, Schema, Struct } from "effect";
53
53
  import { Npm } from "@opencode-ai/util/npm";
54
54
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
55
- providerID: ID16,
56
- modelID: ID14,
55
+ providerID: ID14,
56
+ modelID: ID13,
57
57
  variant: VariantID2
58
58
  }) {
59
59
  get message() {
@@ -62,8 +62,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
62
62
  }
63
63
 
64
64
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
65
- providerID: ID16,
66
- modelID: ID14,
65
+ providerID: ID14,
66
+ modelID: ID13,
67
67
  package: Schema.String
68
68
  }) {
69
69
  get message() {
@@ -72,8 +72,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
72
72
  }
73
73
 
74
74
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
75
- providerID: ID16,
76
- modelID: ID14,
75
+ providerID: ID14,
76
+ modelID: ID13,
77
77
  variables: Schema.Array(Schema.String)
78
78
  }) {
79
79
  get message() {
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
81
81
  }
82
82
  }
83
83
 
84
- class Service65 extends Context.Service()("@opencode/ModelResolver") {
84
+ class Service43 extends Context.Service()("@opencode/ModelResolver") {
85
85
  }
86
86
  var withVariant2 = (model, variantID) => {
87
87
  const id = variantID === "default" ? undefined : variantID;
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
203
203
  });
204
204
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
205
205
  var hasPackage2 = (model) => Boolean(model.package);
206
- var layer21 = Layer.effect(Service65, Effect.gen(function* () {
207
- const catalog = yield* Service72;
208
- const integrations = yield* Service73;
206
+ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
207
+ const catalog = yield* Service52;
208
+ const integrations = yield* Service53;
209
209
  const npm = yield* Npm.Service;
210
- const aisdk = yield* Service71;
210
+ const aisdk = yield* Service66;
211
211
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
212
212
  const provider = yield* catalog.provider.get(selected.providerID);
213
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
213
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
214
214
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
215
215
  const runtimeInfo = yield* withVariant2(selected, variant);
216
216
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -230,7 +230,7 @@ var layer21 = Layer.effect(Service65, Effect.gen(function* () {
230
230
  limit: selected.limit
231
231
  };
232
232
  });
233
- return Service65.of({
233
+ return Service43.of({
234
234
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
235
235
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
236
236
  if (!selected)
@@ -245,12 +245,12 @@ function hasConfiguredAuth(model) {
245
245
  }
246
246
  function usesAPIKeyAuth(packageName) {
247
247
  const name = packageName2(packageName);
248
- return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
248
+ return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/baseten" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/cloudflare-ai-gateway" || name === "@opencode-ai/ai/providers/cloudflare-workers-ai" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/deepseek" || name === "@opencode-ai/ai/providers/fireworks" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
249
249
  }
250
- var node70 = makeLocationNode({
251
- service: Service65,
252
- layer: layer21,
253
- deps: [node77, node78, Npm.node, node76]
250
+ var node46 = makeLocationNode({
251
+ service: Service43,
252
+ layer: layer19,
253
+ deps: [node55, node56, Npm.node, node70]
254
254
  });
255
255
 
256
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service65, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node70, exports_model_resolver };
256
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service43, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node46, exports_model_resolver };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./config-p8qxwesx.js";
4
+ } from "./worktree-p8qxwesx.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./config-xxz5bf5t.js";
7
+ } from "./worktree-mq9r6drf.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service42,
8
+ Service: () => Service56,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node46
10
+ node: () => node59
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
14
14
 
15
- class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service56 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service42, () => {
17
+ var layer = Layer.sync(Service56, () => {
18
18
  const environments = new Map;
19
- return Service42.of({
19
+ return Service56.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service42, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node46 = makeGlobalNode({ service: Service42, layer, deps: [] });
29
+ var node59 = makeGlobalNode({ service: Service56, layer, deps: [] });
30
30
 
31
- export { Service42, node46, exports_environment };
31
+ export { Service56, node59, exports_environment };
@@ -2,27 +2,27 @@ import {
2
2
  VariantUnavailableError3,
3
3
  UnsupportedPackageError3,
4
4
  UnresolvedProviderVariablesError3,
5
- Service65,
6
- node70
7
- } from "./config-dhj68qnj.js";
5
+ Service43,
6
+ node46
7
+ } from "./worktree-bj3t22s0.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./config-xxz5bf5t.js";
10
+ } from "./worktree-mq9r6drf.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/session/runner/model.ts
16
16
  var exports_model = {};
17
17
  __export(exports_model, {
18
18
  ModelNotSelectedError: () => ModelNotSelectedError2,
19
19
  ModelUnavailableError: () => ModelUnavailableError2,
20
- Service: () => Service48,
20
+ Service: () => Service41,
21
21
  SessionRunnerModel: () => exports_model,
22
22
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
23
23
  UnsupportedPackageError: () => UnsupportedPackageError2,
24
24
  VariantUnavailableError: () => VariantUnavailableError2,
25
- node: () => node51,
25
+ node: () => node44,
26
26
  resolved: () => resolved2
27
27
  });
28
28
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -48,7 +48,7 @@ var VariantUnavailableError2 = VariantUnavailableError3;
48
48
  var UnsupportedPackageError2 = UnsupportedPackageError3;
49
49
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
50
50
 
51
- class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
51
+ class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
52
52
  }
53
53
  var resolved2 = (model, options) => ({
54
54
  model,
@@ -61,9 +61,9 @@ var resolved2 = (model, options) => ({
61
61
  cost: options.cost,
62
62
  limit: options.limit
63
63
  });
64
- var layer = Layer.effect(Service48, Effect.gen(function* () {
65
- const resolver = yield* Service65;
66
- return Service48.of({
64
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
65
+ const resolver = yield* Service43;
66
+ return Service41.of({
67
67
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
68
68
  if (!session.model) {
69
69
  const resolved = yield* resolver.resolve();
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node51 = makeLocationNode({ service: Service48, layer, deps: [node70] });
84
+ var node44 = makeLocationNode({ service: Service41, layer, deps: [node46] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service48, resolved2, node51, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service41, resolved2, node44, exports_model };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Service76
3
- } from "./config-kjjn4d3m.js";
3
+ } from "./worktree-842v7csv.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,18 +10,18 @@ import {
10
10
  deletePatch2,
11
11
  countPatch2,
12
12
  chunksByFile2
13
- } from "./config-tazgh4e4.js";
13
+ } from "./worktree-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./config-a48wttwm.js";
16
+ } from "./worktree-7nmnk1wx.js";
17
17
  import {
18
18
  __export
19
- } from "./config-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin19,
24
+ Plugin: () => Plugin32,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode-ai/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode-ai/util/fs-util";
32
32
  import { AppProcess } from "@opencode-ai/util/process";
33
- var Plugin19 = define({
33
+ var Plugin32 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service76;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin19, exports_hg };
191
+ export { Plugin32, exports_hg };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
7
7
  __export(exports_opencode, {
8
8
  MoveInput: () => MoveInput2,
9
9
  OpenCodeTools: () => exports_opencode,
10
- Plugin: () => Plugin42
10
+ Plugin: () => Plugin8
11
11
  });
12
12
  import { SystemPart, ToolFailure } from "@opencode-ai/ai";
13
13
  import { AbsolutePath } from "@opencode-ai/schema/schema";
@@ -20,7 +20,7 @@ var MoveInput2 = Schema.Struct({
20
20
  })
21
21
  });
22
22
  var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
23
- var Plugin42 = {
23
+ var Plugin8 = {
24
24
  id: "opencode.tools",
25
25
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
26
26
  yield* ctx.session.hook("context", (event) => Effect.sync(() => {
@@ -51,4 +51,4 @@ var Plugin42 = {
51
51
  })
52
52
  };
53
53
 
54
- export { MoveInput2, Plugin42, exports_opencode };
54
+ export { MoveInput2, Plugin8, exports_opencode };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render3
3
- } from "./config-nhy5jxhy.js";
2
+ render2
3
+ } from "./worktree-e82z9tr0.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -416,7 +416,7 @@ function make(id, optimize) {
416
416
  const system = event.system[0];
417
417
  if (!system)
418
418
  return;
419
- event.system[0] = { ...system, text: render3(template, Object.keys(event.tools)) };
419
+ event.system[0] = { ...system, text: render2(template, Object.keys(event.tools)) };
420
420
  }).pipe(Effect.catch(() => Effect.void)));
421
421
  })
422
422
  });
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./config-k4bwy1x5.js";
3
+ } from "./worktree-k4bwy1x5.js";
4
4
  import {
5
- Service69,
6
- node74
7
- } from "./config-vsksdvqk.js";
5
+ Service73,
6
+ node78
7
+ } from "./worktree-pq5hrpmt.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./config-982e01ww.js";
10
+ } from "./worktree-982e01ww.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./config-xxz5bf5t.js";
13
+ } from "./worktree-mq9r6drf.js";
14
14
  import {
15
15
  __export
16
- } from "./config-9rqn6x4v.js";
16
+ } from "./worktree-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service58,
23
- make: () => make19,
24
- node: () => node62
22
+ Service: () => Service72,
23
+ make: () => make21,
24
+ node: () => node77
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service58 extends Context.Service()("@opencode/Job") {
53
+ class Service72 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
77
77
  next.set(sessionID, count - 1);
78
78
  return next;
79
79
  }
80
- var make19 = Effect.gen(function* () {
81
- const kv = yield* Service69;
80
+ var make21 = Effect.gen(function* () {
81
+ const kv = yield* Service73;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -307,7 +307,7 @@ var make19 = Effect.gen(function* () {
307
307
  return recovered;
308
308
  }).pipe(Effect.withSpan("Job.pendingBackground"));
309
309
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
310
- return Service58.of({
310
+ return Service72.of({
311
311
  get,
312
312
  start,
313
313
  wait,
@@ -319,7 +319,7 @@ var make19 = Effect.gen(function* () {
319
319
  completeBackground
320
320
  });
321
321
  });
322
- var layer = Layer.effect(Service58, make19);
323
- var node62 = makeGlobalNode({ service: Service58, layer, deps: [node74] });
322
+ var layer = Layer.effect(Service72, make21);
323
+ var node77 = makeGlobalNode({ service: Service72, layer, deps: [node78] });
324
324
 
325
- export { Service58, make19, node62, exports_job };
325
+ export { Service72, make21, node77, exports_job };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-p8qxwesx.js";
3
+ } from "./worktree-p8qxwesx.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node83
7
- } from "./config-eg4pr325.js";
7
+ } from "./worktree-eg4pr325.js";
8
8
  import {
9
9
  ID18
10
- } from "./config-tppvcy65.js";
10
+ } from "./worktree-tppvcy65.js";
11
11
  import {
12
12
  Slug2
13
- } from "./config-gebd4c9n.js";
13
+ } from "./worktree-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./config-k6m5m9e2.js";
17
+ } from "./worktree-d4w17cfe.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./config-t1qwxm7n.js";
21
+ } from "./worktree-dng5ka12.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./config-9qm9egsn.js";
24
+ } from "./worktree-9qm9egsn.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./config-ajtjthsy.js";
27
+ } from "./worktree-ajtjthsy.js";
28
28
  import {
29
29
  Service76,
30
30
  node81
31
- } from "./config-kjjn4d3m.js";
31
+ } from "./worktree-842v7csv.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical2
35
- } from "./config-93a8yfjt.js";
34
+ canonical3
35
+ } from "./worktree-y2cqme3r.js";
36
36
  import {
37
- make12
38
- } from "./config-dkbgd4kx.js";
37
+ make19
38
+ } from "./worktree-9mtg8gdn.js";
39
39
  import {
40
40
  create3
41
- } from "./config-kg06axw8.js";
41
+ } from "./worktree-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./config-9rqn6x4v.js";
44
+ } from "./worktree-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event6,
53
- Info: () => Info4,
52
+ Event: () => Event16,
53
+ Info: () => Info24,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service19,
60
+ Service: () => Service67,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node23
66
+ node: () => node71
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info4 = Worktree.Info;
85
+ var Info24 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
@@ -100,11 +100,11 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event6 = Worktree.Event;
103
+ var Event16 = Worktree.Event;
104
104
 
105
- class Service19 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service67 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service19, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
@@ -114,7 +114,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make12;
117
+ const gitStrategy = yield* make19;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event6.Updated, { projectID });
138
+ yield* bus.publish(Event16.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical2(fs, sourceDirectory);
164
+ const resolved = yield* canonical3(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,8 +193,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical2(fs, created.directory) };
197
- if (result.directory !== (yield* canonical2(fs, worktreeDirectory)))
196
+ const result = { directory: yield* canonical3(fs, created.directory) };
197
+ if (result.directory !== (yield* canonical3(fs, worktreeDirectory)))
198
198
  return yield* new InvalidDirectoryError2({ directory: result.directory });
199
199
  yield* changed(yield* ops.create({
200
200
  directory: result.directory,
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
220
220
  });
221
221
  const remove = Effect.fn("Worktree.remove")(function* (input) {
222
222
  yield* local;
223
- const worktreeDirectory = yield* canonical2(fs, input.directory);
223
+ const worktreeDirectory = yield* canonical3(fs, input.directory);
224
224
  const stored = yield* ops.find(worktreeDirectory);
225
225
  if (!stored?.strategy)
226
226
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
241
241
  for (const strategy of strategies) {
242
242
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
243
243
  for (const entry of entries) {
244
- const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
244
+ const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
245
245
  if (!directory || discovered.has(directory))
246
246
  continue;
247
247
  discovered.set(directory, {
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
259
259
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
260
260
  return changes;
261
261
  });
262
- return Service19.of({
262
+ return Service67.of({
263
263
  transform: state.transform,
264
264
  reload: state.reload,
265
265
  list: Effect.fn("Worktree.list")(function* () {
@@ -271,8 +271,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
271
271
  refresh
272
272
  });
273
273
  }));
274
- var node23 = makeLocationNode({
275
- service: Service19,
274
+ var node71 = makeLocationNode({
275
+ service: Service67,
276
276
  layer,
277
277
  deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
278
278
  });
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
284
284
  });
285
285
  }
286
286
 
287
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service19, node23, exports_worktree2, OperationError2 };
287
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info24, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event16, Service67, node71, exports_worktree2, OperationError2 };