@opencode/core 0.0.0-dev-19399 → 0.0.0-dev-19400

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 (783) 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 +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-retention-eaj1djv9.js → worktree-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{file-retention-azbeba8p.js → worktree-07h6kd27.js} +17 -17
  10. package/dist/chunks/{file-retention-3n0zfn8x.js → worktree-09xs0kpr.js} +36 -36
  11. package/dist/chunks/{file-retention-cyhq2t1m.js → worktree-0bqrjw7h.js} +6 -6
  12. package/dist/chunks/{file-retention-3pbjq009.js → worktree-0c6ktq3y.js} +8 -8
  13. package/dist/chunks/{file-retention-sra9araw.js → worktree-0f9afca0.js} +5 -5
  14. package/dist/chunks/{file-retention-dh5w6jnr.js → worktree-0fyqfvqt.js} +11 -11
  15. package/dist/chunks/worktree-0mesazry.js +4 -0
  16. package/dist/chunks/{file-retention-sgvet7nx.js → worktree-0nz9pv5r.js} +20 -20
  17. package/dist/chunks/{file-retention-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{file-retention-bs9f176v.js → worktree-0pnwce6d.js} +23 -23
  19. package/dist/chunks/{file-retention-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{file-retention-j0bxb4ah.js → worktree-0rstx4q2.js} +3 -3
  21. package/dist/chunks/{file-retention-sxjpata1.js → worktree-1afrw49r.js} +13 -13
  22. package/dist/chunks/{file-retention-y7vx5bzy.js → worktree-1c2y2rkk.js} +10 -10
  23. package/dist/chunks/{file-retention-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{file-retention-8zpsgj2b.js → worktree-1dhk6hmk.js} +15 -15
  25. package/dist/chunks/{file-retention-n5mjs6e9.js → worktree-1ery4yfq.js} +9 -9
  26. package/dist/chunks/{file-retention-1eyaby9q.js → worktree-1eyaby9q.js} +2 -2
  27. package/dist/chunks/{file-retention-qyc89c7d.js → worktree-1k4ezpe5.js} +16 -16
  28. package/dist/chunks/{file-retention-gzdzd9hw.js → worktree-1z0pzthf.js} +2 -2
  29. package/dist/chunks/{file-retention-21r38tys.js → worktree-21r38tys.js} +1 -1
  30. package/dist/chunks/{file-retention-48dytv8w.js → worktree-2310gy7k.js} +15 -15
  31. package/dist/chunks/{file-retention-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
  32. package/dist/chunks/{file-retention-xfk4x188.js → worktree-244mw7cq.js} +32 -32
  33. package/dist/chunks/{file-retention-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{file-retention-tng3m0ce.js → worktree-2bbm4yb8.js} +31 -31
  35. package/dist/chunks/{file-retention-6jnybvqn.js → worktree-2bt6bea8.js} +9 -9
  36. package/dist/chunks/{file-retention-bqe02a37.js → worktree-2eadnc11.js} +24 -24
  37. package/dist/chunks/{file-retention-t5e54489.js → worktree-2ggpg6at.js} +26 -26
  38. package/dist/chunks/{file-retention-0ngeez3a.js → worktree-2gydx7a7.js} +10 -10
  39. package/dist/chunks/{file-retention-64fks2yw.js → worktree-2h5ywktg.js} +10 -10
  40. package/dist/chunks/{file-retention-q3tktawz.js → worktree-2njfwjb2.js} +34 -34
  41. package/dist/chunks/{file-retention-mtbzr4rz.js → worktree-2zjkjrap.js} +22 -22
  42. package/dist/chunks/{file-retention-mfqp6xfm.js → worktree-33w4ejhs.js} +9 -9
  43. package/dist/chunks/{file-retention-jfqtm2ew.js → worktree-34rkz0x9.js} +7 -7
  44. package/dist/chunks/{file-retention-qqtwvk4z.js → worktree-35agz59w.js} +4 -4
  45. package/dist/chunks/{file-retention-6pn6hsyv.js → worktree-3a69nzm4.js} +43 -43
  46. package/dist/chunks/{file-retention-gdvy8fx6.js → worktree-3fc6dm20.js} +4 -4
  47. package/dist/chunks/{file-retention-68q29sss.js → worktree-3gdgz9fc.js} +6 -6
  48. package/dist/chunks/{file-retention-cvktwkpw.js → worktree-3h1qna2c.js} +13 -13
  49. package/dist/chunks/{file-retention-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{file-retention-ywc1rzzj.js → worktree-3qdqgmdj.js} +11 -11
  51. package/dist/chunks/{file-retention-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{file-retention-kmv022h3.js → worktree-3trbxeqx.js} +1 -1
  53. package/dist/chunks/{file-retention-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{file-retention-3bs74w5s.js → worktree-3y4zrqv5.js} +16 -16
  55. package/dist/chunks/{file-retention-8g9sv97x.js → worktree-44baxtt9.js} +24 -24
  56. package/dist/chunks/{file-retention-b9qrp43n.js → worktree-468dtmg8.js} +7 -7
  57. package/dist/chunks/{file-retention-vx5ha92z.js → worktree-47b9yvnx.js} +20 -20
  58. package/dist/chunks/{file-retention-2f9a9pt2.js → worktree-47t1zbrj.js} +7 -7
  59. package/dist/chunks/{file-retention-wsp1wrmp.js → worktree-4y7f1htk.js} +27 -27
  60. package/dist/chunks/{file-retention-j7wq2tw5.js → worktree-539jk4fq.js} +3 -3
  61. package/dist/chunks/{file-retention-8d7y8amr.js → worktree-54cxa91y.js} +8 -8
  62. package/dist/chunks/{file-retention-q0bhfncr.js → worktree-5ak723ww.js} +11 -11
  63. package/dist/chunks/{file-retention-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  64. package/dist/chunks/{file-retention-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{file-retention-dqw4nh5k.js → worktree-5tapvk4p.js} +13 -13
  66. package/dist/chunks/{file-retention-jdh6s7jq.js → worktree-5trk58xb.js} +8 -8
  67. package/dist/chunks/{file-retention-xfr3vftw.js → worktree-5xyve7h3.js} +28 -28
  68. package/dist/chunks/{file-retention-h6w9c8ra.js → worktree-63rqrmz1.js} +13 -13
  69. package/dist/chunks/{file-retention-669tq793.js → worktree-669tq793.js} +1 -1
  70. package/dist/chunks/{file-retention-wvcagc7b.js → worktree-6a5c1xrn.js} +8 -8
  71. package/dist/chunks/{file-retention-qtkc3jn9.js → worktree-6cnhqcb5.js} +32 -32
  72. package/dist/chunks/{file-retention-5rg25712.js → worktree-6fdj6kdr.js} +4 -4
  73. package/dist/chunks/{file-retention-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{file-retention-xwy71eq2.js → worktree-6t3tdbke.js} +13 -13
  75. package/dist/chunks/{file-retention-93nrt0m8.js → worktree-6wc2ywbc.js} +13 -13
  76. package/dist/chunks/{file-retention-71q4at8m.js → worktree-71q4at8m.js} +1 -1
  77. package/dist/chunks/{file-retention-nywecryx.js → worktree-72bhgy2p.js} +24 -24
  78. package/dist/chunks/{file-retention-73tb2d7t.js → worktree-73tb2d7t.js} +1 -1
  79. package/dist/chunks/{file-retention-28135z1y.js → worktree-74argw2a.js} +30 -30
  80. package/dist/chunks/{file-retention-asmz7wyz.js → worktree-7b15y959.js} +8 -8
  81. package/dist/chunks/{file-retention-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-retention-hzbc4891.js → worktree-7f1zm8xr.js} +11 -11
  83. package/dist/chunks/{file-retention-q2t36530.js → worktree-7qq57c1m.js} +9 -9
  84. package/dist/chunks/{file-retention-28wz5byj.js → worktree-7wbb1zn6.js} +23 -23
  85. package/dist/chunks/{file-retention-f20n632k.js → worktree-81enad2h.js} +1 -1
  86. package/dist/chunks/{file-retention-9pv0dm11.js → worktree-81swgkk7.js} +9 -9
  87. package/dist/chunks/{file-retention-s6t0rwsm.js → worktree-81zaz4ac.js} +44 -44
  88. package/dist/chunks/{file-retention-t69nnh3p.js → worktree-84tssp1s.js} +8 -8
  89. package/dist/chunks/{file-retention-mfqd8mcm.js → worktree-884je023.js} +54 -54
  90. package/dist/chunks/{file-retention-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-retention-7qf46qjz.js → worktree-8fp5w46m.js} +15 -15
  92. package/dist/chunks/{file-retention-7cgw87zy.js → worktree-8gy8zqjj.js} +30 -30
  93. package/dist/chunks/{file-retention-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{file-retention-d9sn21bc.js → worktree-93x798nw.js} +2 -2
  95. package/dist/chunks/{file-retention-ce5fknq2.js → worktree-9b00c1fb.js} +5 -5
  96. package/dist/chunks/{file-retention-3473k6gv.js → worktree-9cdxmsp5.js} +39 -39
  97. package/dist/chunks/{file-retention-c3kepfq8.js → worktree-9k2v62xn.js} +1 -1
  98. package/dist/chunks/{file-retention-y0sfg4mt.js → worktree-9qj7dh1c.js} +18 -18
  99. package/dist/chunks/{file-retention-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{file-retention-b40gkt47.js → worktree-a31gkhvw.js} +11 -11
  101. package/dist/chunks/{file-retention-9ea8tgpj.js → worktree-a4wsc5ch.js} +11 -11
  102. package/dist/chunks/{file-retention-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  103. package/dist/chunks/{file-retention-3gfm5d6h.js → worktree-arv4s5vt.js} +44 -44
  104. package/dist/chunks/{file-retention-64jggb9x.js → worktree-atxwy4st.js} +17 -17
  105. package/dist/chunks/{file-retention-2sc17e8p.js → worktree-axcvnh6x.js} +22 -22
  106. package/dist/chunks/{file-retention-qr8hg4qd.js → worktree-b293fxw2.js} +43 -43
  107. package/dist/chunks/{file-retention-t93xqn98.js → worktree-b2a3xspp.js} +18 -18
  108. package/dist/chunks/{file-retention-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{file-retention-9w51vf9e.js → worktree-bb7ds5b0.js} +15 -15
  110. package/dist/chunks/{file-retention-vncycja5.js → worktree-bct739vz.js} +4 -4
  111. package/dist/chunks/{file-retention-fzbpccza.js → worktree-bf84bve4.js} +158 -158
  112. package/dist/chunks/{file-retention-gw4m2xfm.js → worktree-bqd37ks9.js} +9 -9
  113. package/dist/chunks/{file-retention-7wqh3n39.js → worktree-byda3mc6.js} +8 -8
  114. package/dist/chunks/{file-retention-vmb5wq5w.js → worktree-c0ewq7ys.js} +20 -20
  115. package/dist/chunks/{file-retention-0hrcbwcb.js → worktree-c2bnm6k2.js} +5 -5
  116. package/dist/chunks/{file-retention-21ryf78v.js → worktree-c34h00rm.js} +20 -20
  117. package/dist/chunks/{file-retention-3w0fmcng.js → worktree-c78bbtc9.js} +5 -5
  118. package/dist/chunks/{file-retention-c3703spx.js → worktree-c8r0p240.js} +14 -14
  119. package/dist/chunks/{file-retention-khze3a3k.js → worktree-cewmsarv.js} +26 -26
  120. package/dist/chunks/{file-retention-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
  121. package/dist/chunks/{file-retention-3zqhk2eq.js → worktree-cht86wkj.js} +26 -26
  122. package/dist/chunks/{file-retention-xn49a5qb.js → worktree-cpaskrdq.js} +28 -28
  123. package/dist/chunks/{file-retention-kyk1sghh.js → worktree-cqja50m8.js} +4 -4
  124. package/dist/chunks/{file-retention-6q7bn63r.js → worktree-crm0qphm.js} +11 -11
  125. package/dist/chunks/{file-retention-6zb5z6tv.js → worktree-dc6hwzzt.js} +53 -53
  126. package/dist/chunks/{file-retention-8fyn7nbd.js → worktree-dp88awst.js} +16 -16
  127. package/dist/chunks/{file-retention-134j3eet.js → worktree-dxag5rg4.js} +7 -7
  128. package/dist/chunks/{file-retention-kpxhgmm5.js → worktree-dykjtkm6.js} +9 -9
  129. package/dist/chunks/{file-retention-dycay7z3.js → worktree-e79axaby.js} +11 -11
  130. package/dist/chunks/{file-retention-9y2tr22s.js → worktree-e9x29tk8.js} +17 -17
  131. package/dist/chunks/{file-retention-n8c291r7.js → worktree-edme2h3e.js} +7 -7
  132. package/dist/chunks/{file-retention-jgn25pc6.js → worktree-erjxbtfh.js} +15 -15
  133. package/dist/chunks/{file-retention-dcj77ap2.js → worktree-esdnemd6.js} +1 -1
  134. package/dist/chunks/{file-retention-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{file-retention-42932dp7.js → worktree-ev46nrf8.js} +30 -30
  136. package/dist/chunks/{file-retention-yp2x3t23.js → worktree-f2n192rq.js} +4 -4
  137. package/dist/chunks/{file-retention-f828m53h.js → worktree-f828m53h.js} +2 -2
  138. package/dist/chunks/{file-retention-xen8hk45.js → worktree-fdhw24dr.js} +36 -36
  139. package/dist/chunks/worktree-fe4ks3ds.js +462 -0
  140. package/dist/chunks/{file-retention-z7xj2rat.js → worktree-fq1h1v14.js} +3 -3
  141. package/dist/chunks/{file-retention-h85c66kh.js → worktree-fs5d0kpm.js} +27 -27
  142. package/dist/chunks/{file-retention-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{file-retention-bha4atvq.js → worktree-fxqygnfa.js} +4 -4
  144. package/dist/chunks/{file-retention-2zw7ecjk.js → worktree-g2r6x3tk.js} +11 -11
  145. package/dist/chunks/{file-retention-2xdev6fn.js → worktree-g44j0cq6.js} +41 -41
  146. package/dist/chunks/{file-retention-p3ev5vff.js → worktree-gbk988mc.js} +22 -22
  147. package/dist/chunks/{file-retention-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{file-retention-t399q2xj.js → worktree-ge649byp.js} +14 -14
  149. package/dist/chunks/worktree-gm7vsq7q.js +247 -0
  150. package/dist/chunks/{file-retention-kdde0hy3.js → worktree-gngqx6ca.js} +25 -25
  151. package/dist/chunks/{file-retention-zcrspsvn.js → worktree-gst7axd9.js} +4 -4
  152. package/dist/chunks/{file-retention-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{file-retention-4066mr2m.js → worktree-h2gyv3sg.js} +1 -1
  154. package/dist/chunks/{file-retention-sxvk7k3m.js → worktree-h48cjffy.js} +18 -18
  155. package/dist/chunks/{file-retention-dagpktc6.js → worktree-h538v51m.js} +22 -22
  156. package/dist/chunks/{file-retention-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{file-retention-zv9rb9jf.js → worktree-hb79c5eb.js} +9 -9
  158. package/dist/chunks/{file-retention-epk4gxbx.js → worktree-hch7hs3h.js} +11 -11
  159. package/dist/chunks/{file-retention-8hbfdwcy.js → worktree-hm24pp5g.js} +6 -6
  160. package/dist/chunks/{file-retention-kh9sx4kg.js → worktree-hpfvhvya.js} +8 -8
  161. package/dist/chunks/worktree-ht5y0zrb.js +18 -0
  162. package/dist/chunks/{file-retention-yc76z00v.js → worktree-j0eba36x.js} +39 -39
  163. package/dist/chunks/{file-retention-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  164. package/dist/chunks/{file-retention-1e9w7pgh.js → worktree-jefma2gq.js} +10 -10
  165. package/dist/chunks/{file-retention-668fh7ad.js → worktree-jqdzd9z8.js} +9 -9
  166. package/dist/chunks/{file-retention-n5er4yqr.js → worktree-jrf7w1sk.js} +2 -2
  167. package/dist/chunks/{file-retention-f3ngv102.js → worktree-k2h4r4s0.js} +4 -4
  168. package/dist/chunks/{file-retention-qwkytnft.js → worktree-k6z6zgfk.js} +6 -6
  169. package/dist/chunks/{file-retention-t8scngtx.js → worktree-kd5sw36g.js} +9 -9
  170. package/dist/chunks/{file-retention-kg06axw8.js → worktree-kg06axw8.js} +1 -1
  171. package/dist/chunks/{file-retention-9zswys26.js → worktree-kpvyk30t.js} +9 -9
  172. package/dist/chunks/{file-retention-46x4mgr1.js → worktree-kqd2wwpf.js} +4 -4
  173. package/dist/chunks/{file-retention-bq1qrpc4.js → worktree-kt1ecy0s.js} +35 -35
  174. package/dist/chunks/{file-retention-f26rrdg0.js → worktree-m5y0j72z.js} +18 -18
  175. package/dist/chunks/{file-retention-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{file-retention-mkcjrzeh.js → worktree-mkcjrzeh.js} +1 -1
  177. package/dist/chunks/{file-retention-yfw68w0d.js → worktree-mn22b81s.js} +16 -16
  178. package/dist/chunks/{file-retention-dy6apmh8.js → worktree-mqy0jkn2.js} +4 -4
  179. package/dist/chunks/{file-retention-qcfsefxz.js → worktree-mrw4weg4.js} +5 -5
  180. package/dist/chunks/{file-retention-1827chwd.js → worktree-msdm1bd1.js} +16 -16
  181. package/dist/chunks/{file-retention-tqn298vm.js → worktree-mz61je2n.js} +8 -8
  182. package/dist/chunks/{file-retention-gv5ht3x9.js → worktree-mzcj9rt6.js} +23 -23
  183. package/dist/chunks/{file-retention-6jpkznw2.js → worktree-n6a4148r.js} +3 -3
  184. package/dist/chunks/{file-retention-2ccb660r.js → worktree-n8fan464.js} +25 -25
  185. package/dist/chunks/{file-retention-zds35jxt.js → worktree-nfnn75e4.js} +20 -20
  186. package/dist/chunks/{file-retention-wa9n8nyq.js → worktree-nhvhf6q8.js} +4 -4
  187. package/dist/chunks/{file-retention-47gsdddb.js → worktree-nhy5jxhy.js} +5 -5
  188. package/dist/chunks/{file-retention-5we933ec.js → worktree-nj8r009v.js} +16 -16
  189. package/dist/chunks/{file-retention-6z5pzs7n.js → worktree-nnn1sa7c.js} +27 -27
  190. package/dist/chunks/{file-retention-tnhmpjvz.js → worktree-nqdxr6ky.js} +3 -3
  191. package/dist/chunks/{file-retention-cqbh4pdx.js → worktree-nwbet28h.js} +9 -9
  192. package/dist/chunks/{file-retention-yj7xg7hy.js → worktree-nx4935gj.js} +12 -12
  193. package/dist/chunks/{file-retention-6q28cnrn.js → worktree-nyy8pdp4.js} +28 -28
  194. package/dist/chunks/{file-retention-bjgxqrgx.js → worktree-nzwz8brh.js} +21 -21
  195. package/dist/chunks/{file-retention-twy35tz0.js → worktree-p1wf2k30.js} +9 -9
  196. package/dist/chunks/{file-retention-80kybxvs.js → worktree-pdjr2yqz.js} +30 -30
  197. package/dist/chunks/{file-retention-2xd4yy55.js → worktree-pdyh4aae.js} +20 -20
  198. package/dist/chunks/{file-retention-wk8t53d4.js → worktree-pg7qm28t.js} +10 -10
  199. package/dist/chunks/{file-retention-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{file-retention-pknna89w.js → worktree-pknna89w.js} +1 -1
  201. package/dist/chunks/{file-retention-ymqytbem.js → worktree-pyakq9xe.js} +12 -12
  202. package/dist/chunks/{file-retention-r920brwh.js → worktree-q5xvhvda.js} +6 -6
  203. package/dist/chunks/{file-retention-a5axy371.js → worktree-q6r44qt1.js} +2 -2
  204. package/dist/chunks/{file-retention-q6c7we53.js → worktree-q9h22sj1.js} +30 -30
  205. package/dist/chunks/{file-retention-crejgqmn.js → worktree-qc69zkx6.js} +27 -27
  206. package/dist/chunks/{file-retention-bkew1va1.js → worktree-qezjrgcf.js} +25 -25
  207. package/dist/chunks/{file-retention-hwe7x4em.js → worktree-qfzde7bh.js} +6 -6
  208. package/dist/chunks/{file-retention-7dqw4kz8.js → worktree-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{file-retention-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  210. package/dist/chunks/{file-retention-3szmpfme.js → worktree-qzkqxs9z.js} +9 -9
  211. package/dist/chunks/{file-retention-119b7byg.js → worktree-r7kds8hk.js} +4 -4
  212. package/dist/chunks/{file-retention-wgczap0h.js → worktree-rk0ywbkq.js} +4 -4
  213. package/dist/chunks/{file-retention-b527npp7.js → worktree-rme689gw.js} +5 -5
  214. package/dist/chunks/{file-retention-rz0qknjf.js → worktree-rs226bz6.js} +5 -5
  215. package/dist/chunks/{file-retention-w1k39n5e.js → worktree-rsdf2nvv.js} +4 -4
  216. package/dist/chunks/{file-retention-sxpd662g.js → worktree-s1ht2sg9.js} +24 -24
  217. package/dist/chunks/{file-retention-0t7z760j.js → worktree-sadxt2pa.js} +46 -46
  218. package/dist/chunks/{file-retention-4t6k5kna.js → worktree-sehhrc3t.js} +6 -6
  219. package/dist/chunks/{file-retention-3q5jhvr0.js → worktree-swhf355t.js} +18 -18
  220. package/dist/chunks/{file-retention-jwd32b9n.js → worktree-sxs9szdh.js} +32 -32
  221. package/dist/chunks/{file-retention-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{file-retention-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{file-retention-tdstcens.js → worktree-tdstcens.js} +1 -1
  224. package/dist/chunks/{file-retention-gv6a8nnw.js → worktree-th5km1p3.js} +5 -5
  225. package/dist/chunks/{file-retention-45jzk59f.js → worktree-tn4hkw1v.js} +37 -37
  226. package/dist/chunks/{file-retention-1k2tnacp.js → worktree-tqfdrk91.js} +11 -11
  227. package/dist/chunks/{file-retention-avhah0e4.js → worktree-tsc6q5nc.js} +35 -35
  228. package/dist/chunks/{file-retention-c89xx54h.js → worktree-tsjq9kym.js} +21 -21
  229. package/dist/chunks/{file-retention-ys9khkza.js → worktree-ttqfmzkf.js} +4 -4
  230. package/dist/chunks/{file-retention-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  231. package/dist/chunks/{file-retention-hd0nvtm3.js → worktree-tw3b2c1y.js} +92 -92
  232. package/dist/chunks/{file-retention-8xy1c3m6.js → worktree-twrvq24m.js} +34 -34
  233. package/dist/chunks/{file-retention-t58cf551.js → worktree-typy0p4q.js} +88 -88
  234. package/dist/chunks/{file-retention-d6cvva1z.js → worktree-v2xpgazf.js} +8 -8
  235. package/dist/chunks/{file-retention-ct6nrw4p.js → worktree-v3psvfd1.js} +27 -27
  236. package/dist/chunks/{file-retention-79r1wrqa.js → worktree-vabb23s0.js} +1 -1
  237. package/dist/chunks/{file-retention-92fdtcd2.js → worktree-vdc5d1rg.js} +19 -19
  238. package/dist/chunks/{file-retention-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  239. package/dist/chunks/{file-retention-dezkjabv.js → worktree-vxsx0exv.js} +45 -45
  240. package/dist/chunks/{file-retention-00mqm9kf.js → worktree-vypqtakx.js} +1 -1
  241. package/dist/chunks/{file-retention-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{file-retention-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{file-retention-3fqa324q.js → worktree-w418y777.js} +15 -15
  244. package/dist/chunks/{file-retention-sb3f9prf.js → worktree-w74v902z.js} +24 -24
  245. package/dist/chunks/{file-retention-hnr5yq9h.js → worktree-wbkyxrgf.js} +5 -5
  246. package/dist/chunks/{file-retention-wd87259q.js → worktree-wd87259q.js} +1 -1
  247. package/dist/chunks/{file-retention-d892y9cf.js → worktree-we8gksts.js} +19 -19
  248. package/dist/chunks/{file-retention-sgwh5nyn.js → worktree-wewgh3cc.js} +8 -8
  249. package/dist/chunks/{file-retention-3xgpxwfp.js → worktree-wgr81hh0.js} +25 -25
  250. package/dist/chunks/{file-retention-gq3znaq8.js → worktree-wk4gand9.js} +6 -6
  251. package/dist/chunks/{file-retention-sbbkemrk.js → worktree-wsgy8dtq.js} +60 -60
  252. package/dist/chunks/{file-retention-czg3njfj.js → worktree-wtez2wwh.js} +5 -5
  253. package/dist/chunks/{file-retention-sr2tjpn6.js → worktree-wtf4ezaw.js} +4 -4
  254. package/dist/chunks/{file-retention-rfnzy394.js → worktree-wx9wy1qm.js} +1 -1
  255. package/dist/chunks/{file-retention-4b4nd6ae.js → worktree-x1b4jc5q.js} +25 -25
  256. package/dist/chunks/{file-retention-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{file-retention-x43y2vfs.js → worktree-x43y2vfs.js} +2 -2
  258. package/dist/chunks/{file-retention-pfn03z7w.js → worktree-xaqsqef1.js} +15 -15
  259. package/dist/chunks/worktree-xc139tzx.js +22 -0
  260. package/dist/chunks/{file-retention-dafzyq9v.js → worktree-xd2p8b6x.js} +11 -11
  261. package/dist/chunks/{file-retention-as0z8btd.js → worktree-xe1bsykz.js} +17 -17
  262. package/dist/chunks/{file-retention-49cgsf1b.js → worktree-xjqvt66n.js} +14 -14
  263. package/dist/chunks/{file-retention-nqs1mevv.js → worktree-y13khpec.js} +12 -12
  264. package/dist/chunks/{file-retention-5yes1xn6.js → worktree-y1f8q6kf.js} +70 -70
  265. package/dist/chunks/{file-retention-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-retention-kvx48ts1.js → worktree-y5p6jryx.js} +4 -4
  267. package/dist/chunks/{file-retention-y71avatq.js → worktree-y71avatq.js} +1 -1
  268. package/dist/chunks/{file-retention-9j3xz1zz.js → worktree-y869hese.js} +28 -28
  269. package/dist/chunks/{file-retention-n0d0h331.js → worktree-ya8x3fj2.js} +14 -14
  270. package/dist/chunks/{file-retention-hxsmq6gn.js → worktree-yapytcgw.js} +9 -9
  271. package/dist/chunks/{file-retention-gb71afdr.js → worktree-yhrpggw5.js} +9 -9
  272. package/dist/chunks/{file-retention-w620p5yr.js → worktree-yj5yszst.js} +15 -15
  273. package/dist/chunks/{file-retention-cffkaee3.js → worktree-yn5pc3yf.js} +20 -20
  274. package/dist/chunks/{file-retention-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{file-retention-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  276. package/dist/chunks/{file-retention-eaymd3ha.js → worktree-yve3c8px.js} +47 -47
  277. package/dist/chunks/{file-retention-a9x5dmer.js → worktree-z027aptg.js} +42 -42
  278. package/dist/chunks/{file-retention-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-retention-mjbqgqxy.js → worktree-z3g4xrj9.js} +21 -21
  280. package/dist/chunks/{file-retention-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  281. package/dist/chunks/{file-retention-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{file-retention-s62ct2st.js → worktree-zfm6bwvs.js} +23 -23
  283. package/dist/chunks/{file-retention-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{file-retention-0c7cgf78.js → worktree-zr3qrszr.js} +18 -18
  285. package/dist/chunks/{file-retention-mggny1x7.js → worktree-zsedakp3.js} +8 -8
  286. package/dist/chunks/{file-retention-t24p7ex1.js → worktree-zxkpyd1k.js} +6 -6
  287. package/dist/chunks/{file-retention-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{file-retention-4a5dcn9p.js → worktree-zxq47b82.js} +11 -11
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +77 -77
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +86 -86
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +88 -88
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +85 -85
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +80 -80
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +106 -106
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +95 -95
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +131 -131
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +341 -341
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +92 -92
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +84 -84
  563. package/dist/repository-cache.js +74 -74
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +219 -219
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +149 -149
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +218 -218
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +131 -131
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +121 -121
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +98 -98
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +212 -212
  639. package/dist/tool/plugin/skill.js +106 -106
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +107 -107
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +109 -109
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +78 -78
  676. package/dist/wellknown/plugin.js +72 -72
  677. package/dist/wellknown.js +79 -79
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +76 -76
  681. package/dist/worktree/directory.js +4 -4
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +91 -91
  686. package/package.json +8 -8
  687. package/dist/chunks/file-retention-1tmdjs9t.js +0 -462
  688. package/dist/chunks/file-retention-5ame8c7x.js +0 -247
  689. package/dist/chunks/file-retention-jqh9b0xq.js +0 -18
  690. package/dist/chunks/file-retention-qapv375x.js +0 -4
  691. package/dist/chunks/file-retention-vmv0g9k6.js +0 -22
  692. /package/dist/chunks/{file-retention-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{file-retention-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{file-retention-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{file-retention-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{file-retention-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{file-retention-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{file-retention-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{file-retention-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{file-retention-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{file-retention-3asan66x.js → worktree-3asan66x.js} +0 -0
  702. /package/dist/chunks/{file-retention-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{file-retention-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{file-retention-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{file-retention-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{file-retention-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{file-retention-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{file-retention-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{file-retention-53557ph1.js → worktree-53557ph1.js} +0 -0
  710. /package/dist/chunks/{file-retention-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{file-retention-6prwharc.js → worktree-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-retention-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{file-retention-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{file-retention-822emrt2.js → worktree-822emrt2.js} +0 -0
  715. /package/dist/chunks/{file-retention-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{file-retention-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{file-retention-922hggd3.js → worktree-922hggd3.js} +0 -0
  718. /package/dist/chunks/{file-retention-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{file-retention-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{file-retention-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{file-retention-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{file-retention-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{file-retention-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{file-retention-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{file-retention-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{file-retention-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{file-retention-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{file-retention-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{file-retention-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{file-retention-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{file-retention-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{file-retention-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{file-retention-df08tz66.js → worktree-df08tz66.js} +0 -0
  734. /package/dist/chunks/{file-retention-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{file-retention-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{file-retention-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{file-retention-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{file-retention-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{file-retention-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{file-retention-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{file-retention-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{file-retention-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{file-retention-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{file-retention-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{file-retention-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{file-retention-g86h250q.js → worktree-g86h250q.js} +0 -0
  747. /package/dist/chunks/{file-retention-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{file-retention-gftt206x.js → worktree-gftt206x.js} +0 -0
  749. /package/dist/chunks/{file-retention-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{file-retention-hk9envan.js → worktree-hk9envan.js} +0 -0
  751. /package/dist/chunks/{file-retention-hrnqkpcd.js → worktree-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{file-retention-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{file-retention-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{file-retention-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{file-retention-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{file-retention-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{file-retention-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{file-retention-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{file-retention-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{file-retention-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{file-retention-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{file-retention-paphc93g.js → worktree-paphc93g.js} +0 -0
  763. /package/dist/chunks/{file-retention-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{file-retention-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{file-retention-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{file-retention-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{file-retention-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{file-retention-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{file-retention-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{file-retention-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{file-retention-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{file-retention-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{file-retention-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{file-retention-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{file-retention-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{file-retention-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{file-retention-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{file-retention-x61499pn.js → worktree-x61499pn.js} +0 -0
  779. /package/dist/chunks/{file-retention-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{file-retention-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{file-retention-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-retention-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-retention-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID18
3
- } from "./file-retention-sb3f9prf.js";
2
+ ID13
3
+ } from "./worktree-w74v902z.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-retention-922hggd3.js";
6
+ } from "./worktree-922hggd3.js";
7
7
  import {
8
- Info17
9
- } from "./file-retention-3pbjq009.js";
8
+ Info12
9
+ } from "./worktree-0c6ktq3y.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./file-retention-5rg25712.js";
12
+ } from "./worktree-6fdj6kdr.js";
13
13
  import {
14
14
  latest2,
15
- Service62
16
- } from "./file-retention-3gfm5d6h.js";
15
+ Service56
16
+ } from "./worktree-arv4s5vt.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./file-retention-5daktx2q.js";
19
+ } from "./worktree-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./file-retention-9rqn6x4v.js";
22
+ } from "./worktree-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin15
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin30
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin15 = define({
47
+ var Plugin30 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service62;
50
+ const config = yield* Service56;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin15 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID18.make(configuredDefault));
79
+ editor.default(ID13.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID18.make(id);
85
+ const agentID = ID13.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin15, exports_agent };
164
+ export { Plugin30, exports_agent2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./file-retention-t69nnh3p.js";
4
+ } from "./worktree-84tssp1s.js";
5
5
  import {
6
6
  __export
7
- } from "./file-retention-9rqn6x4v.js";
7
+ } from "./worktree-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/variant.ts
10
10
  var exports_variant = {};
11
11
  __export(exports_variant, {
12
- Plugin: () => Plugin27,
12
+ Plugin: () => Plugin25,
13
13
  VariantPlugin: () => exports_variant,
14
14
  generate: () => generate2
15
15
  });
16
16
  import { Effect } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Model } from "@opencode/schema/model";
19
- var Plugin27 = define({
19
+ var Plugin25 = define({
20
20
  id: "opencode.variant",
21
21
  effect: Effect.fn(function* (ctx) {
22
22
  yield* ctx.catalog.transform((catalog) => {
@@ -52,4 +52,4 @@ function generate2(model, provider) {
52
52
  }));
53
53
  }
54
54
 
55
- export { Plugin27, generate2, exports_variant };
55
+ export { Plugin25, generate2, exports_variant };
@@ -3,33 +3,33 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./file-retention-2a5m3afh.js";
6
+ } from "./worktree-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./file-retention-1dazxqgg.js";
9
+ } from "./worktree-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./file-retention-b6gygkdw.js";
12
+ } from "./worktree-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./file-retention-aaet6srn.js";
15
+ } from "./worktree-aaet6srn.js";
16
16
  import {
17
- Service74,
18
- node79
19
- } from "./file-retention-yfw68w0d.js";
17
+ Service76,
18
+ node81
19
+ } from "./worktree-mn22b81s.js";
20
20
  import {
21
- Service58,
21
+ Service59,
22
22
  node62
23
- } from "./file-retention-crejgqmn.js";
23
+ } from "./worktree-qc69zkx6.js";
24
24
  import {
25
25
  __export
26
- } from "./file-retention-9rqn6x4v.js";
26
+ } from "./worktree-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service57,
32
+ Service: () => Service58,
33
33
  node: () => node61
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
@@ -43,7 +43,7 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service57,
46
+ Service: () => Service58,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service57 extends Context.Service()("@opencode/Environment") {
61
+ class Service58 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service57, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service74;
66
- const workspace = yield* Service58;
65
+ const location = yield* Service76;
66
+ const workspace = yield* Service59;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service57.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service58.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
70
  var node61 = makeLocationNode({
71
- service: Service57,
71
+ service: Service58,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node79, node62]
73
+ deps: [CrossSpawnSpawner.node, node81, node62]
74
74
  });
75
75
 
76
- export { Service57, node61, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service58, node61, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info15
13
+ Info: () => Info14
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info15 = Schema.Struct({
30
+ var Info14 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info15, exports_attachment };
34
+ export { Image2, Info14, exports_attachment };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-retention-922hggd3.js";
5
+ } from "./worktree-922hggd3.js";
6
6
  import {
7
- Service57,
7
+ Service58,
8
8
  node61
9
- } from "./file-retention-21ryf78v.js";
9
+ } from "./worktree-c34h00rm.js";
10
10
  import {
11
11
  Content2
12
- } from "./file-retention-mjbqgqxy.js";
12
+ } from "./worktree-z3g4xrj9.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-retention-3smtnn6g.js";
15
+ } from "./worktree-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service12,
36
+ Service: () => Service5,
37
37
  TextPage: () => TextPage2,
38
- node: () => node15,
38
+ node: () => node8,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service12, Effect.gen(function* () {
330
- const environment = yield* Service57;
331
- return Service12.of({
329
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
330
+ const environment = yield* Service58;
331
+ return Service5.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node15 = makeLocationNode({ service: Service12, layer, deps: [node61] });
336
+ var node8 = makeLocationNode({ service: Service5, layer, deps: [node61] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node15, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node8, exports_read_filesystem };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID18,
3
- Service77
4
- } from "./file-retention-sb3f9prf.js";
2
+ ID13,
3
+ Service70
4
+ } from "./worktree-w74v902z.js";
5
5
  import {
6
- Service74
7
- } from "./file-retention-yfw68w0d.js";
6
+ Service76
7
+ } from "./worktree-mn22b81s.js";
8
8
  import {
9
- Service62
10
- } from "./file-retention-3gfm5d6h.js";
9
+ Service56
10
+ } from "./worktree-arv4s5vt.js";
11
11
  import {
12
- Service56,
12
+ Service64,
13
13
  args2
14
- } from "./file-retention-92fdtcd2.js";
14
+ } from "./worktree-vdc5d1rg.js";
15
15
  import {
16
- Service27
17
- } from "./file-retention-hd0nvtm3.js";
16
+ Service23
17
+ } from "./worktree-tw3b2c1y.js";
18
18
  import {
19
19
  make9
20
- } from "./file-retention-mggny1x7.js";
20
+ } from "./worktree-zsedakp3.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./file-retention-5daktx2q.js";
23
+ } from "./worktree-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./file-retention-9rqn6x4v.js";
26
+ } from "./worktree-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin6
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin39
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin6 = define({
44
+ var Plugin39 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service62;
47
+ const config = yield* Service56;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,11 +54,11 @@ var Plugin6 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service74;
57
+ const location = yield* Service76;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service56;
60
- const sessions = yield* Service27;
61
- const agents = yield* Service77;
59
+ const shell = yield* Service64;
60
+ const sessions = yield* Service23;
61
+ const agents = yield* Service70;
62
62
  const subagents = yield* make9;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
@@ -80,7 +80,7 @@ var Plugin6 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID18.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID13.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin6, exports_command };
207
+ export { Plugin39, exports_command2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./file-retention-6msgmcgs.js";
3
+ } from "./worktree-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./file-retention-8p4f9s12.js";
6
+ } from "./worktree-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./file-retention-qyc89c7d.js";
2
+ Service79,
3
+ node84
4
+ } from "./worktree-1k4ezpe5.js";
5
5
  import {
6
6
  environment2
7
- } from "./file-retention-92fdtcd2.js";
7
+ } from "./worktree-vdc5d1rg.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./file-retention-sk3qaz4a.js";
10
+ } from "./worktree-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError6,
20
+ Options: () => Options8,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service23,
22
+ Service: () => Service61,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured4,
25
- layer: () => layer11,
26
- node: () => node27
24
+ configured: () => configured8,
25
+ layer: () => layer22,
26
+ node: () => node65
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service23 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service61 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
53
- const bus = yield* Service78;
52
+ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* () {
53
+ const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError6({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service23.of({
242
+ return Service61.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer11 = makeLayer();
259
- var configured4 = (options) => makeGlobalNode({
260
- service: Service23,
261
- layer: options === undefined ? layer11 : makeLayer(options),
262
- deps: [node83, Global.node]
258
+ var layer22 = makeLayer();
259
+ var configured8 = (options) => makeGlobalNode({
260
+ service: Service61,
261
+ layer: options === undefined ? layer22 : makeLayer(options),
262
+ deps: [node84, Global.node]
263
263
  });
264
- var node27 = configured4();
264
+ var node65 = configured8();
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
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError3, NotFoundError3, Service23, layer11, configured4, node27, exports_persistent_pty, Handoff2 };
304
+ export { Options8, UnavailableError3, NotFoundError6, Service61, layer22, configured8, node65, exports_persistent_pty, Handoff2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./file-retention-qyc89c7d.js";
2
+ Service79,
3
+ node84
4
+ } from "./worktree-1k4ezpe5.js";
5
5
  import {
6
6
  create3
7
- } from "./file-retention-kg06axw8.js";
7
+ } from "./worktree-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-retention-mfqd8mcm.js";
10
+ } from "./worktree-884je023.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event17,
21
- ID: () => ID12,
22
- Info: () => Info26,
20
+ Event: () => Event9,
21
+ ID: () => ID7,
22
+ Info: () => Info9,
23
23
  Name: () => Name2,
24
- Service: () => Service70,
24
+ Service: () => Service47,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node75,
29
+ node: () => node50,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event17 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info26 = Skill.Info;
43
- var ID12 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info9 = Skill.Info;
43
+ var ID7 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service70 extends Context.Service()("@opencode/Skill") {
74
+ class Service47 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service70, Effect.gen(function* () {
77
- const bus = yield* Service78;
76
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
77
+ const bus = yield* Service79;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID12.make(id)),
83
+ get: (id) => editor.skills.get(ID7.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID12.make(id));
88
+ const current = editor.skills.get(ID7.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID12.make(id);
92
+ current.id = ID7.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID12.make(id));
95
+ editor.skills.delete(ID7.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service70.of({
100
+ return Service47.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node75 = makeLocationNode({
112
- service: Service70,
111
+ var node50 = makeLocationNode({
112
+ service: Service47,
113
113
  layer,
114
- deps: [node83]
114
+ deps: [node84]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info26, ID12, Name2, available2, toModelOutput3, prepare3, Service70, node75, exports_skill5, Event17 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info9, ID7, Name2, available2, toModelOutput3, prepare3, Service47, node50, exports_skill5, Event9 };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./file-retention-qwkytnft.js";
5
+ } from "./worktree-k6z6zgfk.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./file-retention-mfqd8mcm.js";
8
+ } from "./worktree-884je023.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./file-retention-4b4nd6ae.js";
11
+ } from "./worktree-x1b4jc5q.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -16,7 +16,7 @@ import {
16
16
  UnsupportedPackageError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./file-retention-dqw4nh5k.js";
19
+ } from "./worktree-5tapvk4p.js";
20
20
 
21
21
  // src/session/to-session-error.ts
22
22
  import { AIError, ToolFailure } from "@opencode/ai";