@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,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./config-t1qwxm7n.js";
4
+ } from "./worktree-dng5ka12.js";
5
5
  import {
6
6
  Key4,
7
- Service75,
8
- node80
9
- } from "./config-g670t05w.js";
7
+ Service64,
8
+ node68
9
+ } from "./worktree-660eg1b9.js";
10
10
  import {
11
11
  create3
12
- } from "./config-kg06axw8.js";
12
+ } from "./worktree-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./config-4caeeh9x.js";
16
+ } from "./worktree-xgqr5ys9.js";
17
17
  import {
18
18
  __export
19
- } from "./config-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event17,
34
- ID: () => ID12,
35
- Info: () => Info25,
33
+ Event: () => Event11,
34
+ ID: () => ID9,
35
+ Info: () => Info10,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service73,
43
- node: () => node78
42
+ Service: () => Service53,
43
+ node: () => node56
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event17 } from "@opencode-ai/schema/integration";
65
- var ID12 = Integration.ID;
64
+ import { Event as Event11 } from "@opencode-ai/schema/integration";
65
+ var ID9 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info25 = Integration.Info;
73
+ var Info10 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service73 extends Context.Service()("@opencode/Integration") {
90
+ class Service53 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service73, Effect.gen(function* () {
96
- const credentials = yield* Service75;
95
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
96
+ const credentials = yield* Service64;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info25.make({
190
+ const project = (entry, connections) => Info10.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service73.of({
420
+ return Service53.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node78 = makeLocationNode({
569
- service: Service73,
568
+ var node56 = makeLocationNode({
569
+ service: Service53,
570
570
  layer,
571
- deps: [node80, node84, AppProcess.node]
571
+ deps: [node68, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service73, node78, exports_integration, Event17 };
574
+ export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info10, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service53, node56, exports_integration, Event11 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-k6m5m9e2.js";
4
+ } from "./worktree-d4w17cfe.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./config-hrvm11jt.js";
8
+ } from "./worktree-hrvm11jt.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load2
12
- } from "./config-66e0jw58.js";
12
+ } from "./worktree-b9e4evd2.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./config-3qze2g25.js";
15
+ } from "./worktree-bpnz08mb.js";
16
16
  import {
17
17
  __export
18
- } from "./config-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput4,
23
+ ListInput: () => ListInput5,
24
24
  Service: () => Service50,
25
25
  SessionStore: () => exports_store,
26
26
  node: () => node53
@@ -50,7 +50,7 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
55
  class Service50 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
@@ -128,4 +128,4 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
128
128
  }));
129
129
  var node53 = makeGlobalNode({ service: Service50, layer, deps: [node85] });
130
130
 
131
- export { ListInput4, Service50, node53, exports_store };
131
+ export { ListInput5, Service50, node53, exports_store };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./config-t1qwxm7n.js";
4
+ } from "./worktree-dng5ka12.js";
5
5
  import {
6
6
  create3
7
- } from "./config-kg06axw8.js";
7
+ } from "./worktree-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event10,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event19,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info10,
19
- NotFoundError: () => NotFoundError8,
20
- Service: () => Service55,
21
- layer: () => layer19,
22
- node: () => node58
18
+ Info: () => Info29,
19
+ NotFoundError: () => NotFoundError9,
20
+ Service: () => Service74,
21
+ layer: () => layer25,
22
+ node: () => node79
23
23
  });
24
24
  import { Command } from "@opencode-ai/schema/command";
25
25
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event10 } from "@opencode-ai/schema/command";
28
- var Info10 = Command.Info;
27
+ import { Event as Event19 } from "@opencode-ai/schema/command";
28
+ var Info29 = Command.Info;
29
29
 
30
- class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service55 extends Context.Service()("@opencode/Command") {
42
+ class Service74 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer19 = Layer.effect(Service55, Effect.gen(function* () {
44
+ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service55, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info10.make({
54
+ const info = (definition) => Info29.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service55.of({
58
+ return Service74.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer19 = Layer.effect(Service55, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node58 = makeLocationNode({
75
- service: Service55,
76
- layer: layer19,
74
+ var node79 = makeLocationNode({
75
+ service: Service74,
76
+ layer: layer25,
77
77
  deps: [node84]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info10, NotFoundError8, ExecutionError2, Service55, layer19, node58, exports_command4, Event10 };
89
+ export { Info29, NotFoundError9, ExecutionError2, Service74, layer25, node79, exports_command5, Event19 };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service74
3
- } from "./config-4caeeh9x.js";
2
+ Service54
3
+ } from "./worktree-xgqr5ys9.js";
4
4
  import {
5
- Service49
6
- } from "./config-nebq2wbp.js";
5
+ Service48
6
+ } from "./worktree-471a560f.js";
7
7
  import {
8
8
  ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service16
14
- } from "./config-49szrax7.js";
13
+ Service21
14
+ } from "./worktree-5agnkr4h.js";
15
15
  import {
16
16
  __export
17
- } from "./config-9rqn6x4v.js";
17
+ } from "./worktree-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
22
- Input: () => Input9,
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
+ Input: () => Input3,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin40,
25
- WebSearchTool: () => exports_websearch2,
26
- description: () => description4,
27
- name: () => name9
24
+ Plugin: () => Plugin3,
25
+ WebSearchTool: () => exports_websearch,
26
+ description: () => description3,
27
+ name: () => name3
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name9 = "websearch";
32
+ var name3 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input9 = Schema.Struct({
42
+ var Input3 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin40 = {
49
+ var Plugin3 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service49;
53
- const forms = yield* Service74;
54
- const websearch = yield* Service16;
52
+ const permission = yield* Service48;
53
+ const forms = yield* Service54;
54
+ const websearch = yield* Service21;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name9,
56
+ name: name3,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input9,
58
+ description: description3,
59
+ input: Input3,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name9,
63
+ action: name3,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
176
176
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name9];
179
+ delete event.tools[name3];
180
180
  }));
181
181
  })
182
182
  };
183
183
 
184
- export { name9, NO_RESULTS2, description4, Input9, Plugin40, exports_websearch2 };
184
+ export { name3, NO_RESULTS2, description3, Input3, Plugin3, exports_websearch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service66
4
- } from "./config-bpgxrmx0.js";
3
+ Service62
4
+ } from "./worktree-xpxmebhh.js";
5
5
  import {
6
6
  __export
7
- } from "./config-9rqn6x4v.js";
7
+ } from "./worktree-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin30,
12
+ Plugin: () => Plugin41,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin30 = define({
22
+ var Plugin41 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service66;
25
+ const config = yield* Service62;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -90,4 +90,4 @@ var Plugin30 = define({
90
90
  })
91
91
  });
92
92
 
93
- export { Plugin30, exports_warming };
93
+ export { Plugin41, exports_warming };
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service52,
3
- node55,
4
- canonical3
5
- } from "./config-31x7p75b.js";
2
+ Service44,
3
+ node47,
4
+ canonical2
5
+ } from "./worktree-t9qj8c83.js";
6
6
  import {
7
- Service46,
8
- node49
9
- } from "./config-sy7czwgb.js";
7
+ Service42,
8
+ node45
9
+ } from "./worktree-enw72f67.js";
10
10
  import {
11
11
  layer2
12
- } from "./config-pf14h3xc.js";
12
+ } from "./worktree-yrf23g47.js";
13
13
 
14
14
  // src/location-services.ts
15
15
  import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
16
16
  function buildLocationServiceMap2(replacements = []) {
17
- return Layer.effect(Service52, Effect.gen(function* () {
17
+ return Layer.effect(Service44, Effect.gen(function* () {
18
18
  const owner = yield* Effect.scope;
19
19
  const booting = MutableHashMap.empty();
20
20
  const inner = yield* LayerMap.make((ref) => {
@@ -32,21 +32,21 @@ function buildLocationServiceMap2(replacements = []) {
32
32
  }, { idleTimeToLive: Duration.infinity });
33
33
  const map = {
34
34
  ...inner,
35
- get: (ref) => inner.get(canonical3(ref)),
36
- contextEffect: (ref) => inner.contextEffect(canonical3(ref)),
37
- contextEffectOption: (ref) => inner.contextEffectOption(canonical3(ref)),
35
+ get: (ref) => inner.get(canonical2(ref)),
36
+ contextEffect: (ref) => inner.contextEffect(canonical2(ref)),
37
+ contextEffectOption: (ref) => inner.contextEffectOption(canonical2(ref)),
38
38
  invalidate: (ref) => Effect.suspend(() => {
39
- const key = canonical3(ref);
39
+ const key = canonical2(ref);
40
40
  MutableHashMap.remove(booting, key);
41
41
  return inner.invalidate(key);
42
42
  })
43
43
  };
44
44
  const bindings = [
45
- node49.replace(Layer.succeed(Service46, {
45
+ node45.replace(Layer.succeed(Service42, {
46
46
  provide: (session) => Effect.provide(map.get(session.location))
47
47
  })),
48
48
  ...replacements,
49
- node55.replace(Layer.succeed(Service52, map))
49
+ node47.replace(Layer.succeed(Service44, map))
50
50
  ];
51
51
  return map;
52
52
  }));
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service80
3
- } from "./config-k6m5m9e2.js";
3
+ } from "./worktree-d4w17cfe.js";
4
4
  import {
5
5
  Service79
6
- } from "./config-t1qwxm7n.js";
6
+ } from "./worktree-dng5ka12.js";
7
7
  import {
8
- Service46
9
- } from "./config-sy7czwgb.js";
8
+ Service42
9
+ } from "./worktree-enw72f67.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./config-fxbjtjnd.js";
12
+ } from "./worktree-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./config-982e01ww.js";
15
+ } from "./worktree-982e01ww.js";
16
16
  import {
17
- NotFoundError7,
17
+ NotFoundError6,
18
18
  MessageNotFoundError2,
19
19
  MessageNotAssistantError2,
20
20
  MessageIncompleteError2,
@@ -24,61 +24,61 @@ import {
24
24
  CompactionConflictError2,
25
25
  BusyError2,
26
26
  InboxConflictError2
27
- } from "./config-6vtapc9a.js";
27
+ } from "./worktree-t5h4rs02.js";
28
28
  import {
29
29
  SessionEvent2
30
- } from "./config-mntxs535.js";
30
+ } from "./worktree-mntxs535.js";
31
31
  import {
32
32
  Service50
33
- } from "./config-31p5zh2n.js";
33
+ } from "./worktree-fj906p38.js";
34
34
  import {
35
35
  Delivery2,
36
36
  SyntheticPayload2,
37
- Service47
38
- } from "./config-ezwsq5k5.js";
37
+ Service40
38
+ } from "./worktree-avwxaxy8.js";
39
39
  import {
40
- Service44
41
- } from "./config-781c0shr.js";
40
+ Service38
41
+ } from "./worktree-mtd0mgtt.js";
42
42
  import {
43
43
  prepare2
44
- } from "./config-smt3exbz.js";
44
+ } from "./worktree-87hmtf6v.js";
45
45
  import {
46
46
  stage2,
47
47
  clear2,
48
48
  commit2
49
- } from "./config-1s0bkp3w.js";
49
+ } from "./worktree-qqt43bp1.js";
50
50
  import {
51
51
  start2
52
- } from "./config-qk7j34hs.js";
52
+ } from "./worktree-0rkdmzyv.js";
53
53
  import {
54
54
  get4
55
- } from "./config-pshrjpqq.js";
55
+ } from "./worktree-sxrnkw1n.js";
56
56
  import {
57
57
  __export
58
- } from "./config-9rqn6x4v.js";
58
+ } from "./worktree-9rqn6x4v.js";
59
59
 
60
60
  // src/session/session.ts
61
61
  var exports_session2 = {};
62
62
  __export(exports_session2, {
63
63
  Session: () => exports_session2,
64
- make: () => make15
64
+ make: () => make12
65
65
  });
66
66
  import { DateTime, Effect, Fiber, Schema, Scope } from "effect";
67
67
  import { Event } from "@opencode-ai/schema/event";
68
68
  import { FSUtil } from "@opencode-ai/util/fs-util";
69
- var make15 = Effect.fn("Session.make")(function* () {
69
+ var make12 = Effect.fn("Session.make")(function* () {
70
70
  const bus = yield* Service79;
71
71
  const database = yield* Service80;
72
72
  const store = yield* Service50;
73
- const instances = yield* Service46;
74
- const execution = yield* Service44;
75
- const admission = yield* Service47;
73
+ const instances = yield* Service42;
74
+ const execution = yield* Service38;
75
+ const admission = yield* Service40;
76
76
  const fs = yield* FSUtil.Service;
77
77
  const scope = yield* Scope.Scope;
78
78
  const get = Effect.fn("Session.get")(function* (sessionID) {
79
79
  const session = yield* store.get(sessionID);
80
80
  if (!session)
81
- return yield* new NotFoundError7({ sessionID });
81
+ return yield* new NotFoundError6({ sessionID });
82
82
  return session;
83
83
  });
84
84
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -154,7 +154,7 @@ var make15 = Effect.fn("Session.make")(function* () {
154
154
  });
155
155
  if (existing)
156
156
  return existing;
157
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service46, instances), Effect.provideService(FSUtil.Service, fs)));
157
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service42, instances), Effect.provideService(FSUtil.Service, fs)));
158
158
  if (session.revert)
159
159
  yield* commit2(bus, session);
160
160
  return yield* admission.admit({
@@ -170,7 +170,7 @@ var make15 = Effect.fn("Session.make")(function* () {
170
170
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
171
171
  const session = yield* get(sessionID);
172
172
  const running = yield* Effect.gen(function* () {
173
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service46, instances), Effect.tapError((error) => synthetic(sessionID, {
173
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service42, instances), Effect.tapError((error) => synthetic(sessionID, {
174
174
  text: `User shell command failed to start:
175
175
  ${input.command}
176
176
 
@@ -199,7 +199,7 @@ ${error.message}`,
199
199
  });
200
200
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
201
201
  const session = yield* get(sessionID);
202
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service46, instances));
202
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service42, instances));
203
203
  yield* bus.publish(SessionEvent2.Skill.Activated, {
204
204
  sessionID,
205
205
  id: skill.id,
@@ -256,13 +256,13 @@ ${error.message}`,
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
259
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
260
260
  });
261
261
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
262
262
  const session = yield* get(sessionID);
263
263
  if (yield* execution.isActive(sessionID))
264
264
  return yield* new BusyError2({ sessionID });
265
- yield* clear2(session).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service79, bus));
265
+ yield* clear2(session).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service79, bus));
266
266
  return yield* execution.wake(sessionID);
267
267
  });
268
268
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -348,4 +348,4 @@ function isUnfinishedTool(content) {
348
348
  return content.type === "tool" && (content.state.status === "streaming" || content.state.status === "running");
349
349
  }
350
350
 
351
- export { make15, exports_session2 };
351
+ export { make12, exports_session2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./config-5daktx2q.js";
3
+ } from "./worktree-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./config-p8qxwesx.js";
6
+ } from "./worktree-p8qxwesx.js";
7
7
  import {
8
8
  ID5,
9
9
  Name2
10
- } from "./config-ajhg4wh8.js";
10
+ } from "./worktree-x4ndt50x.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};