@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,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./config-b9wsbatv.js";
3
+ } from "./worktree-b9wsbatv.js";
4
4
  import {
5
- Service67
6
- } from "./config-vtfd0wn0.js";
5
+ Service63
6
+ } from "./worktree-6v6snzyf.js";
7
7
  import {
8
8
  __export
9
- } from "./config-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make6
16
+ make: () => make4
17
17
  });
18
18
  import { Host } from "@opencode-ai/plugin/host";
19
19
  import { createPluginSources } from "@opencode-ai/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make6 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service67;
25
+ var make4 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service63;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make6, LoadError2, exports_module };
105
+ export { make4, LoadError2, exports_module };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID11,
2
+ ID8,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./config-nkb5ds67.js";
5
+ } from "./worktree-vy8y55ac.js";
6
6
  import {
7
7
  merge2
8
- } from "./config-nebq2wbp.js";
8
+ } from "./worktree-471a560f.js";
9
9
  import {
10
10
  __export
11
- } from "./config-9rqn6x4v.js";
11
+ } from "./worktree-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin29
17
+ Plugin: () => Plugin38
18
18
  });
19
19
  import { define } from "@opencode-ai/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin29 = define({
93
+ var Plugin38 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin29 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID11.make("general"), (item) => {
103
+ editor.update(ID8.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID11.make("explore"), (item) => {
109
+ editor.update(ID8.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin29 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID11.make("compaction"), (item) => {
128
+ editor.update(ID8.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID11.make("title"), (item) => {
133
+ editor.update(ID8.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID11.make("summary"), (item) => {
140
+ editor.update(ID8.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin29 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin29, exports_agent2 };
151
+ export { Plugin38, exports_agent2 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node68
5
- } from "./config-x40p63aq.js";
4
+ node76
5
+ } from "./worktree-b08spypp.js";
6
6
  import {
7
- Service63,
8
- node67
9
- } from "./config-927n2qw7.js";
7
+ Service59,
8
+ node62
9
+ } from "./worktree-7dz4r7mk.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./config-nebq2wbp.js";
12
+ } from "./worktree-471a560f.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./config-8a43n134.js";
15
+ } from "./worktree-qbddy52q.js";
16
16
  import {
17
- Error5
18
- } from "./config-xbpwrv4k.js";
17
+ Error3
18
+ } from "./worktree-dssx1y55.js";
19
19
  import {
20
- Service36,
21
- node41
22
- } from "./config-j3nwj9gm.js";
20
+ Service31,
21
+ node36
22
+ } from "./worktree-zn2cbnfs.js";
23
23
  import {
24
- make14
25
- } from "./config-nhy5jxhy.js";
24
+ make13
25
+ } from "./worktree-e82z9tr0.js";
26
26
  import {
27
27
  toLLMMessages2
28
- } from "./config-zbjnn3ac.js";
28
+ } from "./worktree-zbjnn3ac.js";
29
29
  import {
30
30
  __export
31
- } from "./config-9rqn6x4v.js";
31
+ } from "./worktree-9rqn6x4v.js";
32
32
 
33
33
  // src/session/model-request.ts
34
34
  var exports_model_request = {};
35
35
  __export(exports_model_request, {
36
- Service: () => Service35,
36
+ Service: () => Service30,
37
37
  SessionModelRequest: () => exports_model_request,
38
38
  baseTranscript: () => baseTranscript2,
39
39
  boundImages: () => boundImages2,
40
- layer: () => layer15,
41
- node: () => node40,
40
+ layer: () => layer11,
41
+ node: () => node35,
42
42
  unsupportedParts: () => unsupportedParts2
43
43
  });
44
44
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
@@ -58,7 +58,7 @@ var baseTranscript2 = (input) => {
58
58
  return {
59
59
  providerMetadataKey,
60
60
  system: [
61
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
61
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
62
62
  input.initial
63
63
  ].filter((part) => part.length > 0).map(SystemPart.make),
64
64
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
185
185
  return HttpClientResponse.fromWeb(sent, after.response);
186
186
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
187
187
 
188
- class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
188
+ class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
189
189
  }
190
- var layer15 = Layer.effect(Service35, Effect.gen(function* () {
191
- const hooks = yield* Service63;
192
- const transport = yield* Service36;
190
+ var layer11 = Layer.effect(Service30, Effect.gen(function* () {
191
+ const hooks = yield* Service59;
192
+ const transport = yield* Service31;
193
193
  const app = yield* Metadata2;
194
194
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
195
195
  const session = input.scope.session;
@@ -197,7 +197,7 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
197
197
  const model = resolved.model;
198
198
  const tools = input.scope.tools ?? {
199
199
  definitions: [],
200
- execute: () => new Error5({ message: "Tools are not available for this request" })
200
+ execute: () => new Error3({ message: "Tools are not available for this request" })
201
201
  };
202
202
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
203
203
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -254,12 +254,12 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
254
254
  executeTool
255
255
  };
256
256
  });
257
- return Service35.of({ prepare });
257
+ return Service30.of({ prepare });
258
258
  }));
259
- var node40 = makeLocationNode({
260
- service: Service35,
261
- layer: layer15,
262
- deps: [node67, node41, node68]
259
+ var node35 = makeLocationNode({
260
+ service: Service30,
261
+ layer: layer11,
262
+ deps: [node62, node36, node76]
263
263
  });
264
264
 
265
- export { baseTranscript2, unsupportedParts2, boundImages2, Service35, layer15, node40, exports_model_request };
265
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service30, layer11, node35, exports_model_request };
@@ -1,141 +1,141 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./config-jzg6c2d5.js";
3
+ } from "./worktree-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./config-q3sfg36h.js";
6
+ } from "./worktree-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./config-1cnp2v09.js";
9
+ } from "./worktree-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./config-rcb2kzg1.js";
12
+ } from "./worktree-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./config-msx8hqn2.js";
15
+ } from "./worktree-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./config-bkyjaxrp.js";
18
+ } from "./worktree-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./config-g86h250q.js";
21
+ } from "./worktree-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./config-jr7sbwjy.js";
24
+ } from "./worktree-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./config-7m9af43g.js";
27
+ } from "./worktree-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./config-j2ntwpah.js";
30
+ } from "./worktree-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./config-njntx4h6.js";
33
+ } from "./worktree-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./config-qrg20bc0.js";
36
+ } from "./worktree-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./config-z9919s4g.js";
39
+ } from "./worktree-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./config-43n2bw4t.js";
42
+ } from "./worktree-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./config-n3j8tn72.js";
45
+ } from "./worktree-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./config-d9jj8t3e.js";
48
+ } from "./worktree-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./config-fd410y7t.js";
51
+ } from "./worktree-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./config-e5kj55wp.js";
54
+ } from "./worktree-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./config-f6n9ztr4.js";
57
+ } from "./worktree-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./config-q74kybfr.js";
60
+ } from "./worktree-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./config-53557ph1.js";
63
+ } from "./worktree-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./config-7akdwqpd.js";
66
+ } from "./worktree-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./config-wer8tq1h.js";
69
+ } from "./worktree-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./config-wtztk69x.js";
72
+ } from "./worktree-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./config-ssg3fenm.js";
75
+ } from "./worktree-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./config-2c3vjs8z.js";
78
+ } from "./worktree-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./config-17cy0kzp.js";
81
+ } from "./worktree-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./config-hk9envan.js";
84
+ } from "./worktree-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./config-w803qqfp.js";
87
+ } from "./worktree-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./config-jwfs4k6c.js";
90
+ } from "./worktree-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./config-mp448xyj.js";
93
+ } from "./worktree-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./config-aqzs7mqg.js";
96
+ } from "./worktree-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./config-ygaqb7jw.js";
99
+ } from "./worktree-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./config-8n3pysct.js";
102
+ } from "./worktree-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./config-d9fn303g.js";
105
+ } from "./worktree-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./config-cvy3z8tj.js";
108
+ } from "./worktree-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./config-9a4afbnw.js";
111
+ } from "./worktree-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./config-n05xt0ee.js";
114
+ } from "./worktree-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./config-sdp7kfr6.js";
117
+ } from "./worktree-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./config-0fabt78z.js";
120
+ } from "./worktree-0fabt78z.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./config-4knz6hnm.js";
123
+ } from "./worktree-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./config-df08tz66.js";
126
+ } from "./worktree-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./config-bmr6ed5q.js";
129
+ } from "./worktree-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./config-atq7p7m5.js";
132
+ } from "./worktree-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./config-qb87gjwd.js";
135
+ } from "./worktree-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./config-359p4xyc.js";
138
+ } from "./worktree-359p4xyc.js";
139
139
 
140
140
  // src/database/migration.gen.ts
141
141
  var migrations2 = [
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./config-t1qwxm7n.js";
4
+ } from "./worktree-dng5ka12.js";
5
5
  import {
6
6
  environment2
7
- } from "./config-y7qh7890.js";
7
+ } from "./worktree-acbvwaxg.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./config-sk3qaz4a.js";
10
+ } from "./worktree-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
@@ -19,11 +19,11 @@ __export(exports_persistent_pty, {
19
19
  NotFoundError: () => NotFoundError3,
20
20
  Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service22,
23
- UnavailableError: () => UnavailableError2,
22
+ Service: () => Service23,
23
+ UnavailableError: () => UnavailableError3,
24
24
  configured: () => configured3,
25
- layer: () => layer9,
26
- node: () => node26
25
+ layer: () => layer10,
26
+ node: () => node27
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -37,7 +37,7 @@ import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
38
38
  var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
@@ -47,9 +47,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
47
47
  }) {
48
48
  }
49
49
 
50
- class Service22 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service23 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service22.of({
242
+ return Service23.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer9 = makeLayer();
258
+ var layer10 = makeLayer();
259
259
  var configured3 = (options) => makeGlobalNode({
260
- service: Service22,
261
- layer: options === undefined ? layer9 : makeLayer(options),
260
+ service: Service23,
261
+ layer: options === undefined ? layer10 : makeLayer(options),
262
262
  deps: [node84, Global.node]
263
263
  });
264
- var node26 = configured3();
264
+ var node27 = configured3();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError2, NotFoundError3, Service22, layer9, configured3, node26, exports_persistent_pty, Handoff2 };
304
+ export { Options3, UnavailableError3, NotFoundError3, Service23, layer10, configured3, node27, exports_persistent_pty, Handoff2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./config-x40p63aq.js";
3
+ } from "./worktree-b08spypp.js";
4
4
  import {
5
5
  Service79
6
- } from "./config-t1qwxm7n.js";
6
+ } from "./worktree-dng5ka12.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./config-g670t05w.js";
9
+ Event14
10
+ } from "./worktree-660eg1b9.js";
11
11
  import {
12
- ID12,
12
+ ID9,
13
13
  MethodID2
14
- } from "./config-d8kth2xv.js";
14
+ } from "./worktree-fgdwx9dj.js";
15
15
  import {
16
- ID16,
16
+ ID14,
17
17
  isAISDK2,
18
18
  packageName2,
19
19
  mergeOverlay2
20
- } from "./config-rvb2zp0m.js";
20
+ } from "./worktree-zkj92s1w.js";
21
21
  import {
22
22
  iife2
23
- } from "./config-1kg9ymc8.js";
23
+ } from "./worktree-1kg9ymc8.js";
24
24
  import {
25
25
  which2
26
- } from "./config-qaymkmh1.js";
26
+ } from "./worktree-qaymkmh1.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./config-qczvrgn6.js";
29
+ } from "./worktree-hevn35yy.js";
30
30
 
31
31
  // src/plugin/provider/azure.ts
32
32
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
57
57
  var AzurePlugin2 = define({
58
58
  id: "opencode.provider.azure",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const configured = yield* configuredSettings2(ID16.azure);
60
+ const configured = yield* configuredSettings2(ID14.azure);
61
61
  const processes = yield* AppProcess.Service;
62
62
  const bus = yield* Service79;
63
63
  const tokens = new Map;
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
93
93
  });
94
94
  yield* ctx.integration.transform((editor) => {
95
95
  editor.method.update({
96
- integrationID: ID16.azure,
96
+ integrationID: ID14.azure,
97
97
  method: { type: "key", label: "API key", form: form() }
98
98
  });
99
99
  if (!available)
100
100
  return;
101
101
  editor.method.update({
102
- integrationID: ID16.azure,
102
+ integrationID: ID14.azure,
103
103
  method: {
104
104
  id: methodID,
105
105
  type: "oauth",
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  });
132
132
  });
133
133
  const load = Effect.fn("AzurePlugin.load")(function* () {
134
- const connection = yield* ctx.integration.connection.active(ID16.azure);
134
+ const connection = yield* ctx.integration.connection.active(ID14.azure);
135
135
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
136
136
  return;
137
137
  })) : undefined;
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
145
145
  yield* load();
146
146
  yield* ctx.catalog.transform((evt) => {
147
147
  for (const item of evt.provider.list()) {
148
- if (item.provider.id !== ID16.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
148
+ if (item.provider.id !== ID14.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
149
149
  continue;
150
150
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
151
151
  if (resourceName)
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
167
167
  }
168
168
  });
169
169
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
170
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
170
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
171
171
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
172
- if (evt.model.providerID !== ID16.azure)
172
+ if (evt.model.providerID !== ID14.azure)
173
173
  return;
174
- const connection = yield* ctx.integration.connection.active(ID16.azure);
174
+ const connection = yield* ctx.integration.connection.active(ID14.azure);
175
175
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
176
176
  return;
177
177
  })) : undefined;
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", `Bearer ${current.access}`);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID16.azure });
187
+ }), { providerID: ID14.azure });
188
188
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
189
189
  if (evt.package !== "@ai-sdk/azure")
190
190
  return;
191
- if (evt.model.providerID === ID16.azure) {
191
+ if (evt.model.providerID === ID14.azure) {
192
192
  if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
193
193
  throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
194
194
  }
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
197
197
  evt.sdk = mod.createAzure(evt.options);
198
198
  }));
199
199
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
200
- if (evt.model.providerID !== ID16.azure)
200
+ if (evt.model.providerID !== ID14.azure)
201
201
  return;
202
202
  evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
203
203
  }));
@@ -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/oauth/page.ts
6
6
  var exports_page = {};