@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,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./config-p8qxwesx.js";
4
+ } from "./worktree-p8qxwesx.js";
5
5
  import {
6
6
  Service76,
7
7
  node81
8
- } from "./config-kjjn4d3m.js";
8
+ } from "./worktree-842v7csv.js";
9
9
  import {
10
- Service24,
11
- node28
12
- } from "./config-gy0exn3t.js";
10
+ Service15,
11
+ node19
12
+ } from "./worktree-j6jsstpv.js";
13
13
  import {
14
14
  __export
15
- } from "./config-9rqn6x4v.js";
15
+ } from "./worktree-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event7,
24
+ Event: () => Event3,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
29
29
  ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service23,
32
+ Service: () => Service14,
33
33
  Submatch: () => Submatch2,
34
- node: () => node27
34
+ node: () => node18
35
35
  });
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
37
37
  import path from "path";
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event7 = FileSystem.Event;
75
+ var Event3 = FileSystem.Event;
76
76
 
77
- class Service23 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service14 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
81
  const location = yield* Service76;
82
- const search = yield* Service24;
82
+ const search = yield* Service15;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service23.of({
93
+ return Service14.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node27 = makeLocationNode({
126
- service: Service23,
125
+ var node18 = makeLocationNode({
126
+ service: Service14,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node81, node28]
128
+ deps: [FSUtil.node, node81, node19]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service23, node27, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node18, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID16,
2
+ ID14,
3
3
  packageName2
4
- } from "./config-rvb2zp0m.js";
4
+ } from "./worktree-zkj92s1w.js";
5
5
 
6
6
  // src/plugin/provider/amazon-bedrock.ts
7
7
  import { Effect } from "effect";
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* ctx.integration.transform((editor) => {
24
24
  editor.method.update({
25
- integrationID: ID16.amazonBedrock,
25
+ integrationID: ID14.amazonBedrock,
26
26
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
27
27
  });
28
28
  });
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info29
5
- } from "./config-rvb2zp0m.js";
6
- import {
7
4
  Info27
8
- } from "./config-smdsd39q.js";
5
+ } from "./worktree-zkj92s1w.js";
6
+ import {
7
+ Info26
8
+ } from "./worktree-k3skpd5n.js";
9
9
  import {
10
10
  Service79,
11
11
  node84
12
- } from "./config-t1qwxm7n.js";
12
+ } from "./worktree-dng5ka12.js";
13
13
  import {
14
14
  create3
15
- } from "./config-kg06axw8.js";
15
+ } from "./worktree-kg06axw8.js";
16
16
  import {
17
- ID12,
18
- Service73,
19
- node78
20
- } from "./config-d8kth2xv.js";
17
+ ID9,
18
+ Service53,
19
+ node56
20
+ } from "./worktree-fgdwx9dj.js";
21
21
  import {
22
22
  __export
23
- } from "./config-9rqn6x4v.js";
23
+ } from "./worktree-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event16,
30
- Service: () => Service72,
31
- node: () => node77
29
+ Event: () => Event10,
30
+ Service: () => Service52,
31
+ node: () => node55
32
32
  });
33
33
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode-ai/schema/catalog";
36
- import { Event as Event16 } from "@opencode-ai/schema/catalog";
36
+ import { Event as Event10 } from "@opencode-ai/schema/catalog";
37
37
 
38
- class Service72 extends Context.Service()("@opencode/Catalog") {
38
+ class Service52 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service72, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service73;
42
+ const integrations = yield* Service53;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
71
71
  let current = editor.providers.get(providerID);
72
72
  if (!current) {
73
73
  current = {
74
- provider: Info29.empty(providerID),
74
+ provider: Info27.empty(providerID),
75
75
  models: new Map
76
76
  };
77
77
  editor.providers.set(providerID, current);
@@ -89,12 +89,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
89
89
  let record = editor.providers.get(providerID);
90
90
  if (!record) {
91
91
  record = {
92
- provider: Info29.empty(providerID),
92
+ provider: Info27.empty(providerID),
93
93
  models: new Map
94
94
  };
95
95
  editor.providers.set(providerID, record);
96
96
  }
97
- const model = record.models.get(modelID) ?? Info27.default(providerID, modelID);
97
+ const model = record.models.get(modelID) ?? Info26.default(providerID, modelID);
98
98
  if (!record.models.has(modelID))
99
99
  record.models.set(modelID, model);
100
100
  fn(model);
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
128
128
  }),
129
129
  available: Effect.fn("Catalog.provider.available")(function* () {
130
130
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
131
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID12.make(provider.id))));
131
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID9.make(provider.id))));
132
132
  })
133
133
  },
134
134
  model: {
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
183
183
  })
184
184
  }
185
185
  };
186
- return Service72.of(result);
186
+ return Service52.of(result);
187
187
  }));
188
188
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
189
- var node77 = makeLocationNode({ service: Service72, layer, deps: [node84, node78] });
189
+ var node55 = makeLocationNode({ service: Service52, layer, deps: [node84, node56] });
190
190
 
191
- export { Service72, node77, exports_catalog2, Event16 };
191
+ export { Service52, node55, exports_catalog2, Event10 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID10,
3
- Info12,
2
+ ID15,
3
+ Info28,
4
4
  SessionSchema2
5
- } from "./config-xxz5bf5t.js";
5
+ } from "./worktree-mq9r6drf.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./config-p8qxwesx.js";
8
+ } from "./worktree-p8qxwesx.js";
9
9
  import {
10
10
  Service80,
11
11
  node85
12
- } from "./config-k6m5m9e2.js";
12
+ } from "./worktree-d4w17cfe.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service79,
16
16
  node84
17
- } from "./config-t1qwxm7n.js";
17
+ } from "./worktree-dng5ka12.js";
18
18
  import {
19
19
  Service77,
20
20
  node82
21
- } from "./config-t7m2jygx.js";
21
+ } from "./worktree-rj2f5sk2.js";
22
22
  import {
23
- Service46,
24
- node49
25
- } from "./config-sy7czwgb.js";
23
+ Service42,
24
+ node45
25
+ } from "./worktree-enw72f67.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./config-mntxs535.js";
28
+ } from "./worktree-mntxs535.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./config-hrvm11jt.js";
31
+ } from "./worktree-hrvm11jt.js";
32
32
  import {
33
- node50
34
- } from "./config-ezwsq5k5.js";
33
+ node43
34
+ } from "./worktree-avwxaxy8.js";
35
35
  import {
36
36
  current2
37
- } from "./config-snxwbbja.js";
37
+ } from "./worktree-45aqx2pr.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./config-1x5g2886.js";
40
+ } from "./worktree-5d98etyc.js";
41
41
  import {
42
42
  Slug2
43
- } from "./config-gebd4c9n.js";
43
+ } from "./worktree-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
46
  node33
47
- } from "./config-7ev6n2de.js";
47
+ } from "./worktree-rfedyjyh.js";
48
48
  import {
49
49
  Metadata2,
50
- node68
51
- } from "./config-x40p63aq.js";
50
+ node76
51
+ } from "./worktree-b08spypp.js";
52
52
  import {
53
- NotFoundError7,
53
+ NotFoundError6,
54
54
  MessageNotFoundError2,
55
55
  MessageNotAssistantError2,
56
56
  MessageIncompleteError2,
@@ -64,50 +64,50 @@ import {
64
64
  BusyError2,
65
65
  InboxConflictError2,
66
66
  SkillNotFoundError2
67
- } from "./config-6vtapc9a.js";
67
+ } from "./worktree-t5h4rs02.js";
68
68
  import {
69
- ListInput4,
69
+ ListInput5,
70
70
  Service50,
71
71
  node53
72
- } from "./config-31p5zh2n.js";
72
+ } from "./worktree-fj906p38.js";
73
73
  import {
74
- Service58,
75
- node62
76
- } from "./config-5g1rmrcr.js";
74
+ Service72,
75
+ node77
76
+ } from "./worktree-cjrs1hef.js";
77
77
  import {
78
- Service44,
79
- node48
80
- } from "./config-781c0shr.js";
78
+ Service38,
79
+ node42
80
+ } from "./worktree-mtd0mgtt.js";
81
81
  import {
82
82
  llmClient2
83
- } from "./config-0e0xafbb.js";
83
+ } from "./worktree-0e0xafbb.js";
84
84
  import {
85
- Service36,
86
- node41
87
- } from "./config-j3nwj9gm.js";
85
+ Service31,
86
+ node36
87
+ } from "./worktree-zn2cbnfs.js";
88
88
  import {
89
89
  generate3
90
- } from "./config-wf7fyefm.js";
90
+ } from "./worktree-wx13dy4y.js";
91
91
  import {
92
92
  execute2
93
- } from "./config-42yc5jqn.js";
93
+ } from "./worktree-zht09bnk.js";
94
94
  import {
95
95
  DestinationNotFoundError2,
96
96
  DestinationNotDirectoryError2,
97
97
  DestinationUnavailableError2,
98
- Service28,
99
- node32
100
- } from "./config-xvz51zke.js";
98
+ Service25,
99
+ node29
100
+ } from "./worktree-63nctvwe.js";
101
101
  import {
102
- Service42,
103
- node46
104
- } from "./config-bxnxgyw0.js";
102
+ Service56,
103
+ node59
104
+ } from "./worktree-bsv171pv.js";
105
105
  import {
106
- make15
107
- } from "./config-ek71w6eh.js";
106
+ make12
107
+ } from "./worktree-g89m0qrn.js";
108
108
  import {
109
109
  __export
110
- } from "./config-9rqn6x4v.js";
110
+ } from "./worktree-9rqn6x4v.js";
111
111
 
112
112
  // src/session.ts
113
113
  var exports_session = {};
@@ -118,9 +118,9 @@ __export(exports_session, {
118
118
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
119
119
  DestinationNotFoundError: () => DestinationNotFoundError2,
120
120
  DestinationUnavailableError: () => DestinationUnavailableError2,
121
- ID: () => ID10,
121
+ ID: () => ID15,
122
122
  InboxConflictError: () => InboxConflictError2,
123
- Info: () => Info12,
123
+ Info: () => Info28,
124
124
  ListAnchor: () => ListAnchor2,
125
125
  ListInput: () => ListInput3,
126
126
  MessageDecodeError: () => MessageDecodeError2,
@@ -128,14 +128,14 @@ __export(exports_session, {
128
128
  MessageNotAssistantError: () => MessageNotAssistantError2,
129
129
  MessageNotFoundError: () => MessageNotFoundError2,
130
130
  MessageToolIncompleteError: () => MessageToolIncompleteError2,
131
- NotFoundError: () => NotFoundError7,
131
+ NotFoundError: () => NotFoundError6,
132
132
  PromptConflictError: () => PromptConflictError2,
133
- Service: () => Service27,
133
+ Service: () => Service24,
134
134
  Session: () => exports_session,
135
135
  SessionSchema: () => SessionSchema2,
136
136
  SkillNotFoundError: () => SkillNotFoundError2,
137
137
  SyntheticConflictError: () => SyntheticConflictError2,
138
- node: () => node31
138
+ node: () => node28
139
139
  });
140
140
  import { Effect, Layer, Schema, Context, Stream } from "effect";
141
141
  import { LLMClient } from "@opencode-ai/ai";
@@ -145,26 +145,26 @@ import { Model } from "@opencode-ai/schema/model";
145
145
  import path from "path";
146
146
  import { Node } from "@opencode-ai/util/effect/app-node";
147
147
  import { FSUtil } from "@opencode-ai/util/fs-util";
148
- var ListInput3 = ListInput4;
149
- class Service27 extends Context.Service()("@opencode/Session") {
148
+ var ListInput3 = ListInput5;
149
+ class Service24 extends Context.Service()("@opencode/Session") {
150
150
  }
151
- var layer = Layer.effect(Service27, Effect.gen(function* () {
151
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
152
152
  const app = yield* Metadata2;
153
153
  const database = yield* Service80;
154
154
  const db = database.db;
155
155
  const bus = yield* Service79;
156
156
  const projects = yield* Service77;
157
- const execution = yield* Service44;
157
+ const execution = yield* Service38;
158
158
  const llm = yield* LLMClient.Service;
159
- const transport = yield* Service36;
159
+ const transport = yield* Service31;
160
160
  const store = yield* Service50;
161
- const instances = yield* Service46;
162
- const moves = yield* Service28;
163
- const jobs = yield* Service58;
164
- const environments = yield* Service42;
165
- const sessions = yield* make15();
161
+ const instances = yield* Service42;
162
+ const moves = yield* Service25;
163
+ const jobs = yield* Service72;
164
+ const environments = yield* Service56;
165
+ const sessions = yield* make12();
166
166
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
167
- const result = Service27.of({
167
+ const result = Service24.of({
168
168
  create: Effect.fn("Session.create")(function* (input) {
169
169
  const sessionID = input.id ?? SessionSchema2.ID.create();
170
170
  const recorded = yield* store.get(sessionID);
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
172
172
  return recorded;
173
173
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
174
174
  if (input.parentID && parent === undefined)
175
- return yield* new NotFoundError7({ sessionID: input.parentID });
175
+ return yield* new NotFoundError6({ sessionID: input.parentID });
176
176
  const location = parent?.location ?? input.location;
177
177
  if (location === undefined)
178
178
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
266
266
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
267
267
  generate: Effect.fn("Session.generate")(function* (input) {
268
268
  const session = yield* result.get(input.sessionID);
269
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
269
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
270
270
  }),
271
271
  command: Effect.fn("Session.command")(function* (input) {
272
272
  const session = yield* result.get(input.sessionID);
273
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service46, instances));
273
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service42, instances));
274
274
  }),
275
275
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
276
276
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
310
310
  });
311
311
  return result;
312
312
  }));
313
- var node31 = Node.makeGlobalNode({
314
- service: Service27,
313
+ var node28 = Node.makeGlobalNode({
314
+ service: Service24,
315
315
  layer,
316
316
  deps: [
317
- node62,
318
- node46,
317
+ node77,
318
+ node59,
319
319
  node85,
320
320
  node84,
321
321
  node82,
322
- node48,
323
- node41,
322
+ node42,
323
+ node36,
324
324
  llmClient2,
325
325
  node53,
326
- node49,
327
- node50,
328
- node32,
326
+ node45,
327
+ node43,
328
+ node29,
329
329
  node33,
330
330
  FSUtil.node,
331
- node68
331
+ node76
332
332
  ]
333
333
  });
334
334
 
335
- export { ListAnchor2, ListInput3, Service27, node31, exports_session };
335
+ export { ListAnchor2, ListInput3, Service24, node28, exports_session };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./config-p8qxwesx.js";
3
+ } from "./worktree-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info19
13
+ Info: () => Info21
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info19 = Schema.Struct({
30
+ var Info21 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info19, exports_attachment };
34
+ export { Image2, Info21, exports_attachment };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./config-2a5m3afh.js";
3
+ } from "./worktree-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./config-p8qxwesx.js";
6
+ } from "./worktree-p8qxwesx.js";
7
7
  import {
8
8
  Service76
9
- } from "./config-kjjn4d3m.js";
9
+ } from "./worktree-842v7csv.js";
10
10
  import {
11
- Service56
12
- } from "./config-3b3zr0wm.js";
11
+ Service57
12
+ } from "./worktree-kk0awzkj.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service25
16
- } from "./config-w28qetpj.js";
15
+ Service18
16
+ } from "./worktree-m7nj5h8z.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./config-m9v3vvct.js";
23
+ } from "./worktree-2sz5zasg.js";
24
24
  import {
25
25
  externalDirectoryPermission2,
26
- Service18
27
- } from "./config-hna3j416.js";
26
+ Service22
27
+ } from "./worktree-ynqmrvb3.js";
28
28
  import {
29
- Service49
30
- } from "./config-nebq2wbp.js";
29
+ Service48
30
+ } from "./worktree-471a560f.js";
31
31
  import {
32
32
  __export
33
- } from "./config-9rqn6x4v.js";
33
+ } from "./worktree-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin44,
42
- name: () => name12,
43
- toModelContent: () => toModelContent6
39
+ Input: () => Input6,
40
+ Output: () => Output4,
41
+ Plugin: () => Plugin6,
42
+ name: () => name6,
43
+ toModelContent: () => toModelContent4
44
44
  });
45
45
  import { ToolFailure } from "@opencode-ai/ai";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name12 = "grep";
49
- var Input12 = Schema.Struct({
48
+ var name6 = "grep";
49
+ var Input6 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -66,8 +66,8 @@ var Input12 = Schema.Struct({
66
66
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
67
67
  })
68
68
  });
69
- var Output8 = Schema.Array(Match2);
70
- var toModelContent6 = (matches, truncated = false) => {
69
+ var Output4 = Schema.Array(Match2);
70
+ var toModelContent4 = (matches, truncated = false) => {
71
71
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
72
72
  let current = "";
73
73
  for (const match of matches) {
@@ -84,20 +84,20 @@ var toModelContent6 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin44 = {
87
+ var Plugin6 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service56;
91
- const ripgrep = yield* Service25;
90
+ const environment = yield* Service57;
91
+ const ripgrep = yield* Service18;
92
92
  const location = yield* Service76;
93
- const mutation = yield* Service18;
94
- const permission = yield* Service49;
93
+ const mutation = yield* Service22;
94
+ const permission = yield* Service48;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name12,
96
+ name: name6,
97
97
  options: { codemode: false },
98
98
  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.",
99
- input: Input12,
100
- output: Output8,
99
+ input: Input6,
100
+ output: Output4,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const source = { type: "tool", messageID: context.messageID, id: context.id };
103
103
  const target = yield* mutation.resolve({ path: input.path ?? "." });
@@ -109,7 +109,7 @@ var Plugin44 = {
109
109
  source
110
110
  });
111
111
  yield* permission.assert({
112
- action: name12,
112
+ action: name6,
113
113
  resources: [input.pattern],
114
114
  save: ["*"],
115
115
  metadata: {
@@ -151,7 +151,7 @@ var Plugin44 = {
151
151
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
152
152
  }).pipe(Effect.map((result) => ({
153
153
  output: result.matches,
154
- content: toModelContent6(result.matches.map((match) => ({
154
+ content: toModelContent4(result.matches.map((match) => ({
155
155
  ...match,
156
156
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
157
157
  })), result.truncated),
@@ -161,4 +161,4 @@ var Plugin44 = {
161
161
  })
162
162
  };
163
163
 
164
- export { name12, Input12, Output8, toModelContent6, Plugin44, exports_grep };
164
+ export { name6, Input6, Output4, toModelContent4, Plugin6, exports_grep };