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

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 +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-retention-ys9khkza.js → worktree-07gza034.js} +4 -4
  9. package/dist/chunks/{file-retention-wsp1wrmp.js → worktree-0a6m9zn6.js} +27 -27
  10. package/dist/chunks/{file-retention-zds35jxt.js → worktree-0bfcx7cw.js} +18 -18
  11. package/dist/chunks/{file-retention-b9qrp43n.js → worktree-0cj21tsq.js} +7 -7
  12. package/dist/chunks/{file-retention-dycay7z3.js → worktree-0ddfdf6h.js} +9 -9
  13. package/dist/chunks/{file-retention-s62ct2st.js → worktree-0hjjfnva.js} +18 -18
  14. package/dist/chunks/{file-retention-qyc89c7d.js → worktree-0kjjkgrz.js} +4 -4
  15. package/dist/chunks/{file-retention-h6w9c8ra.js → worktree-0ms7d4ta.js} +13 -13
  16. package/dist/chunks/{file-retention-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{file-retention-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{file-retention-4t6k5kna.js → worktree-0qzq572y.js} +6 -6
  19. package/dist/chunks/{file-retention-wk8t53d4.js → worktree-12jxt57q.js} +7 -7
  20. package/dist/chunks/{file-retention-yp2x3t23.js → worktree-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{file-retention-t58cf551.js → worktree-1aqychxq.js} +79 -79
  22. package/dist/chunks/{file-retention-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{file-retention-1eyaby9q.js → worktree-1eyaby9q.js} +2 -2
  24. package/dist/chunks/{file-retention-as0z8btd.js → worktree-1n39waag.js} +5 -5
  25. package/dist/chunks/{file-retention-9zswys26.js → worktree-1tjg7tvh.js} +9 -9
  26. package/dist/chunks/{file-retention-mfqp6xfm.js → worktree-1ygqh575.js} +6 -6
  27. package/dist/chunks/{file-retention-21r38tys.js → worktree-21r38tys.js} +1 -1
  28. package/dist/chunks/{file-retention-80kybxvs.js → worktree-22pek6eg.js} +33 -33
  29. package/dist/chunks/{file-retention-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
  30. package/dist/chunks/{file-retention-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-retention-42932dp7.js → worktree-2t5f0p39.js} +27 -27
  32. package/dist/chunks/{file-retention-n5mjs6e9.js → worktree-2t5vmbg2.js} +8 -8
  33. package/dist/chunks/{file-retention-t93xqn98.js → worktree-31n43axm.js} +13 -13
  34. package/dist/chunks/{file-retention-y0sfg4mt.js → worktree-37fxfkdc.js} +15 -15
  35. package/dist/chunks/{file-retention-8fyn7nbd.js → worktree-39gq0jsz.js} +12 -12
  36. package/dist/chunks/{file-retention-r920brwh.js → worktree-3cdjp2z1.js} +6 -6
  37. package/dist/chunks/{file-retention-64jggb9x.js → worktree-3gvv7fv9.js} +17 -17
  38. package/dist/chunks/{file-retention-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{file-retention-t399q2xj.js → worktree-3m1vdcah.js} +12 -12
  40. package/dist/chunks/{file-retention-28wz5byj.js → worktree-3ma48d2q.js} +21 -21
  41. package/dist/chunks/{file-retention-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{file-retention-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{file-retention-jgn25pc6.js → worktree-47cde2b0.js} +15 -15
  44. package/dist/chunks/worktree-4arj8dq0.js +462 -0
  45. package/dist/chunks/{file-retention-68q29sss.js → worktree-4hs0xter.js} +4 -4
  46. package/dist/chunks/{file-retention-0t7z760j.js → worktree-4rx8c3z8.js} +46 -46
  47. package/dist/chunks/{file-retention-7qf46qjz.js → worktree-4w6drx90.js} +18 -18
  48. package/dist/chunks/{file-retention-b527npp7.js → worktree-4zn0m4jw.js} +5 -5
  49. package/dist/chunks/{file-retention-f26rrdg0.js → worktree-530frpyx.js} +16 -16
  50. package/dist/chunks/{file-retention-5yes1xn6.js → worktree-5aq7k26p.js} +59 -59
  51. package/dist/chunks/{file-retention-q3tktawz.js → worktree-5d5n2frr.js} +32 -32
  52. package/dist/chunks/{file-retention-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  53. package/dist/chunks/{file-retention-vncycja5.js → worktree-5q02cxx3.js} +4 -4
  54. package/dist/chunks/{file-retention-8hbfdwcy.js → worktree-5sdemcz3.js} +8 -8
  55. package/dist/chunks/{file-retention-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{file-retention-4a5dcn9p.js → worktree-5t6qf0dk.js} +11 -11
  57. package/dist/chunks/{file-retention-669tq793.js → worktree-669tq793.js} +1 -1
  58. package/dist/chunks/{file-retention-gq3znaq8.js → worktree-68sfsyrr.js} +6 -6
  59. package/dist/chunks/{file-retention-6jnybvqn.js → worktree-6jnybvqn.js} +2 -2
  60. package/dist/chunks/{file-retention-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{file-retention-sr2tjpn6.js → worktree-6npnztgt.js} +4 -4
  62. package/dist/chunks/{file-retention-71q4at8m.js → worktree-71q4at8m.js} +1 -1
  63. package/dist/chunks/{file-retention-wgczap0h.js → worktree-721cw5cc.js} +4 -4
  64. package/dist/chunks/{file-retention-73tb2d7t.js → worktree-73tb2d7t.js} +1 -1
  65. package/dist/chunks/{file-retention-1k2tnacp.js → worktree-75nkg2tt.js} +11 -11
  66. package/dist/chunks/{file-retention-z7xj2rat.js → worktree-787q5hy4.js} +1 -1
  67. package/dist/chunks/{file-retention-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{file-retention-7cgw87zy.js → worktree-7d9jba8k.js} +21 -21
  69. package/dist/chunks/{file-retention-kh9sx4kg.js → worktree-7m5f9412.js} +8 -8
  70. package/dist/chunks/{file-retention-6pn6hsyv.js → worktree-7x1jk2s0.js} +43 -43
  71. package/dist/chunks/{file-retention-dy6apmh8.js → worktree-7z7az0f5.js} +4 -4
  72. package/dist/chunks/{file-retention-9pv0dm11.js → worktree-81swgkk7.js} +9 -9
  73. package/dist/chunks/{file-retention-b40gkt47.js → worktree-84esvpjp.js} +11 -11
  74. package/dist/chunks/{file-retention-azbeba8p.js → worktree-87s6j92f.js} +15 -15
  75. package/dist/chunks/{file-retention-3zqhk2eq.js → worktree-88nd1tx7.js} +23 -23
  76. package/dist/chunks/{file-retention-mjbqgqxy.js → worktree-89y6ec7x.js} +21 -21
  77. package/dist/chunks/{file-retention-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{file-retention-8g9sv97x.js → worktree-8g9sv97x.js} +7 -7
  79. package/dist/chunks/{file-retention-avhah0e4.js → worktree-8hyjw9n3.js} +33 -33
  80. package/dist/chunks/{file-retention-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
  81. package/dist/chunks/{file-retention-rz0qknjf.js → worktree-8rkr9qb0.js} +1 -1
  82. package/dist/chunks/{file-retention-49cgsf1b.js → worktree-8t3tghaa.js} +14 -14
  83. package/dist/chunks/{file-retention-dqw4nh5k.js → worktree-8tw6vjk5.js} +13 -13
  84. package/dist/chunks/{file-retention-3fqa324q.js → worktree-9abatgz1.js} +6 -6
  85. package/dist/chunks/{file-retention-p3ev5vff.js → worktree-9b60vqg3.js} +18 -18
  86. package/dist/chunks/{file-retention-ywc1rzzj.js → worktree-9df0z3fr.js} +14 -14
  87. package/dist/chunks/{file-retention-wvcagc7b.js → worktree-9mszsyym.js} +8 -8
  88. package/dist/chunks/{file-retention-a9x5dmer.js → worktree-9pbhwmzz.js} +35 -35
  89. package/dist/chunks/{file-retention-ce5fknq2.js → worktree-9w4ppqge.js} +5 -5
  90. package/dist/chunks/{file-retention-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
  91. package/dist/chunks/{file-retention-kmv022h3.js → worktree-a54cm72e.js} +1 -1
  92. package/dist/chunks/{file-retention-6z5pzs7n.js → worktree-a81erjcz.js} +25 -25
  93. package/dist/chunks/{file-retention-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  94. package/dist/chunks/{file-retention-0hrcbwcb.js → worktree-aw7fybkd.js} +5 -5
  95. package/dist/chunks/{file-retention-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{file-retention-kyk1sghh.js → worktree-b7qepvza.js} +4 -4
  97. package/dist/chunks/{file-retention-zcrspsvn.js → worktree-baaqp4zd.js} +4 -4
  98. package/dist/chunks/{file-retention-c89xx54h.js → worktree-bf5zf3k6.js} +23 -23
  99. package/dist/chunks/{file-retention-bha4atvq.js → worktree-bha4atvq.js} +4 -4
  100. package/dist/chunks/{file-retention-khze3a3k.js → worktree-bsn55ndq.js} +26 -26
  101. package/dist/chunks/{file-retention-0ngeez3a.js → worktree-bz2gz0gx.js} +10 -10
  102. package/dist/chunks/{file-retention-f3ngv102.js → worktree-cavr175a.js} +4 -4
  103. package/dist/chunks/{file-retention-00mqm9kf.js → worktree-ceanckhm.js} +1 -1
  104. package/dist/chunks/{file-retention-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
  105. package/dist/chunks/{file-retention-s6t0rwsm.js → worktree-cwyfgkk1.js} +44 -44
  106. package/dist/chunks/{file-retention-2ccb660r.js → worktree-d73e9djv.js} +26 -26
  107. package/dist/chunks/{file-retention-9y2tr22s.js → worktree-d99x89gq.js} +15 -15
  108. package/dist/chunks/{file-retention-d9sn21bc.js → worktree-d9sn21bc.js} +2 -2
  109. package/dist/chunks/{file-retention-wa9n8nyq.js → worktree-dep21bfz.js} +2 -2
  110. package/dist/chunks/{file-retention-mggny1x7.js → worktree-dfzyx3vm.js} +8 -8
  111. package/dist/chunks/{file-retention-tng3m0ce.js → worktree-dj33xrhc.js} +33 -33
  112. package/dist/chunks/{file-retention-xn49a5qb.js → worktree-dsk24zyn.js} +24 -24
  113. package/dist/chunks/worktree-dt3c0xg5.js +22 -0
  114. package/dist/chunks/worktree-dxj72tfx.js +18 -0
  115. package/dist/chunks/{file-retention-gzdzd9hw.js → worktree-dz46kn0c.js} +2 -2
  116. package/dist/chunks/{file-retention-a5axy371.js → worktree-e5sghx2m.js} +2 -2
  117. package/dist/chunks/{file-retention-qcfsefxz.js → worktree-e7f0s3sx.js} +2 -2
  118. package/dist/chunks/{file-retention-47gsdddb.js → worktree-e82z9tr0.js} +4 -4
  119. package/dist/chunks/{file-retention-eaj1djv9.js → worktree-eaj1djv9.js} +1 -1
  120. package/dist/chunks/{file-retention-jfqtm2ew.js → worktree-edrmdtr5.js} +7 -7
  121. package/dist/chunks/{file-retention-bqe02a37.js → worktree-efywkr4m.js} +27 -27
  122. package/dist/chunks/{file-retention-gv5ht3x9.js → worktree-ehzmktfy.js} +20 -20
  123. package/dist/chunks/{file-retention-2f9a9pt2.js → worktree-enae0pqt.js} +7 -7
  124. package/dist/chunks/{file-retention-8d7y8amr.js → worktree-et0ngb76.js} +8 -8
  125. package/dist/chunks/{file-retention-2sc17e8p.js → worktree-etbytr9f.js} +22 -22
  126. package/dist/chunks/{file-retention-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{file-retention-y7vx5bzy.js → worktree-ex6wht0f.js} +10 -10
  128. package/dist/chunks/{file-retention-vx5ha92z.js → worktree-f4hvcdyc.js} +16 -16
  129. package/dist/chunks/{file-retention-epk4gxbx.js → worktree-f59qb7z8.js} +11 -11
  130. package/dist/chunks/{file-retention-pfn03z7w.js → worktree-f7ng0avf.js} +11 -11
  131. package/dist/chunks/{file-retention-f828m53h.js → worktree-f828m53h.js} +2 -2
  132. package/dist/chunks/{file-retention-2zw7ecjk.js → worktree-fan4hwvp.js} +3 -3
  133. package/dist/chunks/{file-retention-crejgqmn.js → worktree-fbnvfbcr.js} +26 -26
  134. package/dist/chunks/{file-retention-sxvk7k3m.js → worktree-fdkcz4j4.js} +15 -15
  135. package/dist/chunks/{file-retention-2xdev6fn.js → worktree-fjsew8y4.js} +38 -38
  136. package/dist/chunks/{file-retention-sbbkemrk.js → worktree-fmtcp64w.js} +48 -48
  137. package/dist/chunks/{file-retention-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{file-retention-h85c66kh.js → worktree-fxr0k3ej.js} +24 -24
  139. package/dist/chunks/{file-retention-3n0zfn8x.js → worktree-g1f7p4xr.js} +30 -30
  140. package/dist/chunks/{file-retention-bs9f176v.js → worktree-g5z572jc.js} +15 -15
  141. package/dist/chunks/{file-retention-bq1qrpc4.js → worktree-gb17qnes.js} +33 -33
  142. package/dist/chunks/{file-retention-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{file-retention-gdvy8fx6.js → worktree-gdvy8fx6.js} +1 -1
  144. package/dist/chunks/{file-retention-hnr5yq9h.js → worktree-gg7pg1rj.js} +5 -5
  145. package/dist/chunks/{file-retention-9w51vf9e.js → worktree-ggr3x0mq.js} +15 -15
  146. package/dist/chunks/{file-retention-cqbh4pdx.js → worktree-gqt4stpv.js} +9 -9
  147. package/dist/chunks/{file-retention-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
  148. package/dist/chunks/{file-retention-vmb5wq5w.js → worktree-h1201fn2.js} +20 -20
  149. package/dist/chunks/{file-retention-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{file-retention-n5er4yqr.js → worktree-hapy5g3w.js} +5 -5
  151. package/dist/chunks/{file-retention-9ea8tgpj.js → worktree-hcryep5n.js} +9 -9
  152. package/dist/chunks/{file-retention-tnhmpjvz.js → worktree-hd849z55.js} +3 -3
  153. package/dist/chunks/{file-retention-nywecryx.js → worktree-hf4cy5d5.js} +11 -11
  154. package/dist/chunks/{file-retention-hzbc4891.js → worktree-hv82z4gy.js} +9 -9
  155. package/dist/chunks/{file-retention-dafzyq9v.js → worktree-j47svp76.js} +11 -11
  156. package/dist/chunks/{file-retention-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  157. package/dist/chunks/{file-retention-2xd4yy55.js → worktree-j7k24pbc.js} +3 -3
  158. package/dist/chunks/{file-retention-dagpktc6.js → worktree-j8n86hs1.js} +16 -16
  159. package/dist/chunks/{file-retention-d892y9cf.js → worktree-jb4hwekh.js} +15 -15
  160. package/dist/chunks/{file-retention-sxpd662g.js → worktree-jbeqfmv6.js} +24 -24
  161. package/dist/chunks/{file-retention-jdh6s7jq.js → worktree-jdh6s7jq.js} +1 -1
  162. package/dist/chunks/{file-retention-6zb5z6tv.js → worktree-jjxpfn67.js} +44 -44
  163. package/dist/chunks/{file-retention-7wqh3n39.js → worktree-jkzabyxv.js} +8 -8
  164. package/dist/chunks/{file-retention-46x4mgr1.js → worktree-jnmqjdkf.js} +4 -4
  165. package/dist/chunks/{file-retention-eaymd3ha.js → worktree-jr0w00x6.js} +40 -40
  166. package/dist/chunks/{file-retention-mfqd8mcm.js → worktree-jy5v7e4m.js} +17 -17
  167. package/dist/chunks/{file-retention-xfk4x188.js → worktree-k0kes8vm.js} +20 -20
  168. package/dist/chunks/{file-retention-q0bhfncr.js → worktree-kexm4n6m.js} +11 -11
  169. package/dist/chunks/{file-retention-kg06axw8.js → worktree-kg06axw8.js} +1 -1
  170. package/dist/chunks/{file-retention-cffkaee3.js → worktree-kgxk992x.js} +20 -20
  171. package/dist/chunks/{file-retention-6q28cnrn.js → worktree-ks9r2606.js} +24 -24
  172. package/dist/chunks/{file-retention-4066mr2m.js → worktree-kx71qmfd.js} +1 -1
  173. package/dist/chunks/{file-retention-cyhq2t1m.js → worktree-kyamxspj.js} +6 -6
  174. package/dist/chunks/{file-retention-yc76z00v.js → worktree-m1m1txre.js} +36 -36
  175. package/dist/chunks/{file-retention-hwe7x4em.js → worktree-m2manvsf.js} +6 -6
  176. package/dist/chunks/{file-retention-yj7xg7hy.js → worktree-m2wv8ykr.js} +12 -12
  177. package/dist/chunks/{file-retention-t69nnh3p.js → worktree-m3g11tvf.js} +4 -4
  178. package/dist/chunks/{file-retention-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{file-retention-3szmpfme.js → worktree-mcrth2bg.js} +9 -9
  180. package/dist/chunks/{file-retention-jwd32b9n.js → worktree-me1mq5zn.js} +23 -23
  181. package/dist/chunks/{file-retention-mkcjrzeh.js → worktree-mkcjrzeh.js} +1 -1
  182. package/dist/chunks/{file-retention-45jzk59f.js → worktree-mkyhyqbc.js} +29 -29
  183. package/dist/chunks/{file-retention-fzbpccza.js → worktree-mmg38rnz.js} +154 -154
  184. package/dist/chunks/{file-retention-gb71afdr.js → worktree-mw16jd8v.js} +9 -9
  185. package/dist/chunks/{file-retention-134j3eet.js → worktree-mzbvs37z.js} +7 -7
  186. package/dist/chunks/{file-retention-c3703spx.js → worktree-n1qkhzt6.js} +15 -15
  187. package/dist/chunks/{file-retention-t5e54489.js → worktree-n2rf99bc.js} +20 -20
  188. package/dist/chunks/{file-retention-1e9w7pgh.js → worktree-nbddwgy7.js} +10 -10
  189. package/dist/chunks/{file-retention-3q5jhvr0.js → worktree-nf98eega.js} +18 -18
  190. package/dist/chunks/{file-retention-dh5w6jnr.js → worktree-nhpkhfw8.js} +22 -22
  191. package/dist/chunks/{file-retention-28135z1y.js → worktree-nt7ny3vf.js} +24 -24
  192. package/dist/chunks/{file-retention-xen8hk45.js → worktree-nx9fcjx2.js} +31 -31
  193. package/dist/chunks/{file-retention-hxsmq6gn.js → worktree-p1bhyryy.js} +9 -9
  194. package/dist/chunks/{file-retention-sra9araw.js → worktree-p44d8wdy.js} +5 -5
  195. package/dist/chunks/{file-retention-6q7bn63r.js → worktree-p6vhw81v.js} +11 -11
  196. package/dist/chunks/{file-retention-8xy1c3m6.js → worktree-paqdzpve.js} +34 -34
  197. package/dist/chunks/{file-retention-nqs1mevv.js → worktree-pda56gn5.js} +13 -13
  198. package/dist/chunks/{file-retention-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{file-retention-pknna89w.js → worktree-pknna89w.js} +1 -1
  200. package/dist/chunks/{file-retention-tqn298vm.js → worktree-psyj660w.js} +6 -6
  201. package/dist/chunks/{file-retention-n8c291r7.js → worktree-pt3jfr41.js} +6 -6
  202. package/dist/chunks/{file-retention-3bs74w5s.js → worktree-pztj2cvn.js} +14 -14
  203. package/dist/chunks/{file-retention-q2t36530.js → worktree-q2t36530.js} +2 -2
  204. package/dist/chunks/{file-retention-ct6nrw4p.js → worktree-q6dht6b8.js} +27 -27
  205. package/dist/chunks/{file-retention-7dqw4kz8.js → worktree-qgn6gcr1.js} +5 -5
  206. package/dist/chunks/{file-retention-d6cvva1z.js → worktree-qhrw8p3b.js} +8 -8
  207. package/dist/chunks/{file-retention-t24p7ex1.js → worktree-qj8a3ybw.js} +4 -4
  208. package/dist/chunks/{file-retention-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  209. package/dist/chunks/{file-retention-hd0nvtm3.js → worktree-qsfs49vc.js} +71 -71
  210. package/dist/chunks/{file-retention-dcj77ap2.js → worktree-qvgcjadf.js} +1 -1
  211. package/dist/chunks/{file-retention-qwkytnft.js → worktree-qwkytnft.js} +3 -3
  212. package/dist/chunks/{file-retention-rfnzy394.js → worktree-rfnzy394.js} +1 -1
  213. package/dist/chunks/{file-retention-48dytv8w.js → worktree-rq2m1hnf.js} +13 -13
  214. package/dist/chunks/{file-retention-21ryf78v.js → worktree-rzse8s8s.js} +24 -24
  215. package/dist/chunks/{file-retention-xfr3vftw.js → worktree-sdva1t93.js} +22 -22
  216. package/dist/chunks/{file-retention-t8scngtx.js → worktree-sfbj4knz.js} +9 -9
  217. package/dist/chunks/{file-retention-f20n632k.js → worktree-swqq1grb.js} +1 -1
  218. package/dist/chunks/{file-retention-c3kepfq8.js → worktree-sxc4n3b4.js} +1 -1
  219. package/dist/chunks/{file-retention-3w0fmcng.js → worktree-t0fxg8b9.js} +5 -5
  220. package/dist/chunks/{file-retention-mtbzr4rz.js → worktree-t0msmdsn.js} +16 -16
  221. package/dist/chunks/{file-retention-twy35tz0.js → worktree-t0x5rdq8.js} +9 -9
  222. package/dist/chunks/{file-retention-sgvet7nx.js → worktree-t5sxkdg8.js} +30 -30
  223. package/dist/chunks/{file-retention-93nrt0m8.js → worktree-t7pm3pdd.js} +14 -14
  224. package/dist/chunks/{file-retention-kvx48ts1.js → worktree-t7xstbkq.js} +4 -4
  225. package/dist/chunks/{file-retention-8zpsgj2b.js → worktree-t8k0wgen.js} +15 -15
  226. package/dist/chunks/{file-retention-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{file-retention-3gfm5d6h.js → worktree-tby7n86s.js} +40 -40
  228. package/dist/chunks/{file-retention-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{file-retention-tdstcens.js → worktree-tdstcens.js} +1 -1
  230. package/dist/chunks/{file-retention-668fh7ad.js → worktree-tezvarmp.js} +9 -9
  231. package/dist/chunks/{file-retention-kdde0hy3.js → worktree-tfj258z8.js} +26 -26
  232. package/dist/chunks/{file-retention-gv6a8nnw.js → worktree-th5km1p3.js} +5 -5
  233. package/dist/chunks/{file-retention-yfw68w0d.js → worktree-trwfvtm6.js} +16 -16
  234. package/dist/chunks/{file-retention-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  235. package/dist/chunks/{file-retention-bjgxqrgx.js → worktree-txqj87x6.js} +23 -23
  236. package/dist/chunks/{file-retention-n0d0h331.js → worktree-ty151b2e.js} +12 -12
  237. package/dist/chunks/{file-retention-qr8hg4qd.js → worktree-vdehrbvs.js} +33 -33
  238. package/dist/chunks/{file-retention-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  239. package/dist/chunks/{file-retention-1827chwd.js → worktree-vh076mqk.js} +13 -13
  240. package/dist/chunks/{file-retention-ymqytbem.js → worktree-vvgctfdq.js} +12 -12
  241. package/dist/chunks/{file-retention-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{file-retention-sgwh5nyn.js → worktree-w1ad28wa.js} +8 -8
  243. package/dist/chunks/{file-retention-w620p5yr.js → worktree-w1cjc361.js} +15 -15
  244. package/dist/chunks/{file-retention-w1k39n5e.js → worktree-w1k39n5e.js} +1 -1
  245. package/dist/chunks/{file-retention-zv9rb9jf.js → worktree-w2pgmj82.js} +9 -9
  246. package/dist/chunks/{file-retention-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/worktree-w6vhhse3.js +247 -0
  248. package/dist/chunks/{file-retention-wd87259q.js → worktree-wd87259q.js} +1 -1
  249. package/dist/chunks/{file-retention-czg3njfj.js → worktree-wnbnthsg.js} +5 -5
  250. package/dist/chunks/{file-retention-5rg25712.js → worktree-wtkpn8tp.js} +4 -4
  251. package/dist/chunks/{file-retention-6jpkznw2.js → worktree-x05hx5mx.js} +3 -3
  252. package/dist/chunks/{file-retention-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{file-retention-gw4m2xfm.js → worktree-x3af3qht.js} +9 -9
  254. package/dist/chunks/{file-retention-asmz7wyz.js → worktree-x3et2xth.js} +8 -8
  255. package/dist/chunks/{file-retention-x43y2vfs.js → worktree-x43y2vfs.js} +2 -2
  256. package/dist/chunks/{file-retention-4b4nd6ae.js → worktree-xb08yn7h.js} +26 -26
  257. package/dist/chunks/{file-retention-q6c7we53.js → worktree-xhm4y6wv.js} +30 -30
  258. package/dist/chunks/{file-retention-bkew1va1.js → worktree-xjgcvsjt.js} +20 -20
  259. package/dist/chunks/{file-retention-9j3xz1zz.js → worktree-xkskprjp.js} +25 -25
  260. package/dist/chunks/{file-retention-xwy71eq2.js → worktree-xvarwbkw.js} +6 -6
  261. package/dist/chunks/{file-retention-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{file-retention-5we933ec.js → worktree-y2a9qway.js} +11 -11
  263. package/dist/chunks/{file-retention-3473k6gv.js → worktree-y2e61msj.js} +34 -34
  264. package/dist/chunks/{file-retention-qtkc3jn9.js → worktree-y6qp2ybc.js} +30 -30
  265. package/dist/chunks/{file-retention-y71avatq.js → worktree-y71avatq.js} +1 -1
  266. package/dist/chunks/{file-retention-kpxhgmm5.js → worktree-y91xqvp5.js} +9 -9
  267. package/dist/chunks/{file-retention-92fdtcd2.js → worktree-yefxppqx.js} +19 -19
  268. package/dist/chunks/{file-retention-qqtwvk4z.js → worktree-yr02nea7.js} +6 -6
  269. package/dist/chunks/{file-retention-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{file-retention-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  271. package/dist/chunks/{file-retention-119b7byg.js → worktree-yse482wb.js} +2 -2
  272. package/dist/chunks/{file-retention-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{file-retention-cvktwkpw.js → worktree-z1cvmk2p.js} +10 -10
  274. package/dist/chunks/{file-retention-64fks2yw.js → worktree-z2333xw5.js} +10 -10
  275. package/dist/chunks/{file-retention-dezkjabv.js → worktree-z5vzydcd.js} +43 -43
  276. package/dist/chunks/{file-retention-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  277. package/dist/chunks/worktree-z926abd4.js +4 -0
  278. package/dist/chunks/{file-retention-79r1wrqa.js → worktree-z92e5j38.js} +1 -1
  279. package/dist/chunks/{file-retention-3pbjq009.js → worktree-za9cx4qh.js} +8 -8
  280. package/dist/chunks/{file-retention-0c7cgf78.js → worktree-zbxt5nxa.js} +15 -15
  281. package/dist/chunks/{file-retention-sxjpata1.js → worktree-zc2n0ndy.js} +13 -13
  282. package/dist/chunks/{file-retention-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{file-retention-3xgpxwfp.js → worktree-zez8w2s0.js} +28 -28
  284. package/dist/chunks/{file-retention-sb3f9prf.js → worktree-zgcjn2bs.js} +21 -21
  285. package/dist/chunks/{file-retention-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-retention-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{file-retention-j0bxb4ah.js → worktree-zznp8j5v.js} +3 -3
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +2 -2
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +353 -353
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +127 -127
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +82 -82
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +97 -97
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +10 -10
  475. package/dist/models-dev.js +84 -84
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +70 -70
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +94 -94
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +82 -82
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +1 -1
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +70 -70
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +341 -341
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +83 -83
  555. package/dist/provider.js +3 -3
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +92 -92
  560. package/dist/reference/instructions.js +82 -82
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +3 -3
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +213 -213
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +1 -1
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +1 -1
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +79 -79
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +149 -149
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +210 -210
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +205 -205
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +115 -115
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +108 -108
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +7 -7
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +80 -80
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +75 -75
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/file-retention-1tmdjs9t.js +0 -462
  687. package/dist/chunks/file-retention-5ame8c7x.js +0 -247
  688. package/dist/chunks/file-retention-jqh9b0xq.js +0 -18
  689. package/dist/chunks/file-retention-qapv375x.js +0 -4
  690. package/dist/chunks/file-retention-vmv0g9k6.js +0 -22
  691. /package/dist/chunks/{file-retention-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{file-retention-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{file-retention-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{file-retention-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{file-retention-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{file-retention-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{file-retention-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{file-retention-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{file-retention-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-retention-3asan66x.js → worktree-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-retention-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{file-retention-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{file-retention-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-retention-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-retention-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-retention-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{file-retention-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{file-retention-53557ph1.js → worktree-53557ph1.js} +0 -0
  709. /package/dist/chunks/{file-retention-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{file-retention-6prwharc.js → worktree-6prwharc.js} +0 -0
  711. /package/dist/chunks/{file-retention-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{file-retention-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{file-retention-822emrt2.js → worktree-822emrt2.js} +0 -0
  714. /package/dist/chunks/{file-retention-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{file-retention-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{file-retention-922hggd3.js → worktree-922hggd3.js} +0 -0
  717. /package/dist/chunks/{file-retention-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{file-retention-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{file-retention-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{file-retention-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{file-retention-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{file-retention-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{file-retention-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{file-retention-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{file-retention-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{file-retention-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{file-retention-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{file-retention-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{file-retention-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{file-retention-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{file-retention-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{file-retention-df08tz66.js → worktree-df08tz66.js} +0 -0
  733. /package/dist/chunks/{file-retention-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{file-retention-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{file-retention-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{file-retention-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{file-retention-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{file-retention-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{file-retention-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{file-retention-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{file-retention-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{file-retention-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{file-retention-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{file-retention-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{file-retention-g86h250q.js → worktree-g86h250q.js} +0 -0
  746. /package/dist/chunks/{file-retention-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{file-retention-gftt206x.js → worktree-gftt206x.js} +0 -0
  748. /package/dist/chunks/{file-retention-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{file-retention-hk9envan.js → worktree-hk9envan.js} +0 -0
  750. /package/dist/chunks/{file-retention-hrnqkpcd.js → worktree-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{file-retention-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{file-retention-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{file-retention-j7wq2tw5.js → worktree-j7wq2tw5.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
@@ -2,22 +2,22 @@ import {
2
2
  ID11,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./file-retention-t69nnh3p.js";
5
+ } from "./worktree-m3g11tvf.js";
6
6
  import {
7
- ID9,
7
+ ID7,
8
8
  VariantID2,
9
9
  Family2,
10
- Info23
11
- } from "./file-retention-yj7xg7hy.js";
10
+ Info19
11
+ } from "./worktree-m2wv8ykr.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./worktree-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- get: () => get2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ get: () => get3
21
21
  });
22
22
  import { Money } from "@opencode/schema/money";
23
23
  import { Option, Schema } from "effect";
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
66
66
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
67
67
  var decodeResponse = Schema.decodeUnknownSync(Response);
68
68
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
69
- async function get2(baseURL, headers, existing) {
69
+ async function get3(baseURL, headers, existing) {
70
70
  const response = await fetch(`${baseURL}/models`, {
71
71
  headers,
72
72
  signal: AbortSignal.timeout(5000)
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID9.make(id);
90
+ const key = ID7.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,10 +111,10 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info23.make({
115
- ...Info23.default(ID11.githubCopilot, id),
114
+ return Info19.make({
115
+ ...Info19.default(ID11.githubCopilot, id),
116
116
  id,
117
- modelID: ID9.make(remote.id),
117
+ modelID: ID7.make(remote.id),
118
118
  providerID: ID11.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
@@ -190,4 +190,4 @@ function variants(remote, messages) {
190
190
  ];
191
191
  }
192
192
 
193
- export { get2, exports_models };
193
+ export { get3, exports_models2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-retention-922hggd3.js";
4
+ } from "./worktree-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./file-retention-j7wq2tw5.js";
7
+ } from "./worktree-j7wq2tw5.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render2
3
- } from "./file-retention-47gsdddb.js";
3
+ } from "./worktree-e82z9tr0.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service61
3
- } from "./file-retention-64jggb9x.js";
2
+ Service60
3
+ } from "./worktree-3gvv7fv9.js";
4
4
  import {
5
- Service27
6
- } from "./file-retention-hd0nvtm3.js";
5
+ Service24
6
+ } from "./worktree-qsfs49vc.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./file-retention-x1ezjp6w.js";
10
+ } from "./worktree-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
22
  var make9 = Effect.gen(function* () {
23
- const sessions = yield* Service27;
24
- const jobs = yield* Service61;
23
+ const sessions = yield* Service24;
24
+ const jobs = yield* Service60;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-retention-922hggd3.js";
4
+ } from "./worktree-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service76,
9
- node81
10
- } from "./file-retention-1e9w7pgh.js";
8
+ Service77,
9
+ node82
10
+ } from "./worktree-nbddwgy7.js";
11
11
  import {
12
- Service74,
13
- node79
14
- } from "./file-retention-yfw68w0d.js";
12
+ Service75,
13
+ node80
14
+ } from "./worktree-trwfvtm6.js";
15
15
  import {
16
16
  create3
17
- } from "./file-retention-kg06axw8.js";
17
+ } from "./worktree-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./worktree-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service46,
25
+ Error: () => Error4,
26
+ ID: () => ID6,
27
+ Service: () => Service48,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node49,
30
- noopLayer: () => noopLayer3
29
+ node: () => node54,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service46 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service48 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service46, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service76;
50
+ const git = yield* Service77;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service74;
52
+ const location = yield* Service75;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node49 = makeLocationNode({
139
- service: Service46,
138
+ var node54 = makeLocationNode({
139
+ service: Service48,
140
140
  layer,
141
- deps: [FSUtil.node, node81, Global.node, node79]
141
+ deps: [FSUtil.node, node82, Global.node, node80]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service46, Service46.of({
143
+ var noopLayer2 = Layer.succeed(Service48, Service48.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error3 && cause.operation === operation)
152
+ if (cause instanceof Error4 && cause.operation === operation)
153
153
  return cause;
154
- return new Error3({
154
+ return new Error4({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID5, Error3, Service46, node49, noopLayer3, exports_snapshot2 };
161
+ export { ID6, Error4, Service48, node54, noopLayer2, exports_snapshot2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service78,
3
3
  node83
4
- } from "./file-retention-qyc89c7d.js";
4
+ } from "./worktree-0kjjkgrz.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-jy5v7e4m.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: () => Event7,
21
+ ID: () => ID4,
22
+ Info: () => Info15,
23
23
  Name: () => Name2,
24
- Service: () => Service70,
24
+ Service: () => Service42,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node75,
29
+ node: () => node46,
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 Event7 } 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 Info15 = Skill.Info;
43
+ var ID4 = 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 Service42 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service70, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
77
77
  const bus = yield* Service78;
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(ID4.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(ID4.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID12.make(id);
92
+ current.id = ID4.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID12.make(id));
95
+ editor.skills.delete(ID4.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 Service42.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 node46 = makeLocationNode({
112
+ service: Service42,
113
113
  layer,
114
114
  deps: [node83]
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, Info15, ID4, Name2, available2, toModelOutput3, prepare3, Service42, node46, exports_skill5, Event7 };
@@ -0,0 +1,22 @@
1
+ import {
2
+ Plugin3
3
+ } from "./worktree-w1ad28wa.js";
4
+ import {
5
+ Plugin7
6
+ } from "./worktree-x3af3qht.js";
7
+ import {
8
+ Plugin4
9
+ } from "./worktree-mcrth2bg.js";
10
+ import {
11
+ Plugin2
12
+ } from "./worktree-jkzabyxv.js";
13
+
14
+ // src/plugin/websearch/index.ts
15
+ var WebSearchPlugins2 = [
16
+ Plugin3,
17
+ Plugin7,
18
+ Plugin4,
19
+ Plugin2
20
+ ];
21
+
22
+ export { WebSearchPlugins2 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./worktree-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service31,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service31 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service31, awaitActivation2, exports_service };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./file-retention-t69nnh3p.js";
4
+ } from "./worktree-m3g11tvf.js";
5
5
  import {
6
6
  __export
7
- } from "./file-retention-9rqn6x4v.js";
7
+ } from "./worktree-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./file-retention-emrn6kk6.js";
4
+ } from "./worktree-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./file-retention-b9qrp43n.js";
7
+ } from "./worktree-0cj21tsq.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID11
3
- } from "./file-retention-t69nnh3p.js";
3
+ } from "./worktree-m3g11tvf.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./file-retention-hjbc5kem.js";
6
+ } from "./worktree-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make14,
9
+ make: () => make13,
10
10
  render: () => render2
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make14(tools) {
32
+ function make13(tools) {
33
33
  return render2(system_default, tools);
34
34
  }
35
35
  function render2(prompt, tools) {
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render2, exports_system_prompt };
50
+ export { make13, render2, exports_system_prompt };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
9
- Info: () => Info19
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
+ Info: () => Info10
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info19 = Schema.Struct({
12
+ var Info10 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info19, exports_command5 };
21
+ export { Info10, exports_command4 };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service54
3
- } from "./file-retention-h85c66kh.js";
2
+ Service59
3
+ } from "./worktree-fxr0k3ej.js";
4
4
  import {
5
5
  Service71
6
- } from "./file-retention-mfqd8mcm.js";
6
+ } from "./worktree-jy5v7e4m.js";
7
7
  import {
8
- ID4,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service25
14
- } from "./file-retention-c89xx54h.js";
13
+ Service19
14
+ } from "./worktree-bf5zf3k6.js";
15
15
  import {
16
16
  __export
17
- } from "./file-retention-9rqn6x4v.js";
17
+ } from "./worktree-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
22
- Input: () => Input7,
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
+ Input: () => Input11,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin37,
25
- WebSearchTool: () => exports_websearch2,
26
- description: () => description2,
27
- name: () => name7
24
+ Plugin: () => Plugin26,
25
+ WebSearchTool: () => exports_websearch,
26
+ description: () => description4,
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name7 = "websearch";
32
+ var name11 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input7 = Schema.Struct({
42
+ var Input11 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin37 = {
49
+ var Plugin26 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
52
  const permission = yield* Service71;
53
- const forms = yield* Service54;
54
- const websearch = yield* Service25;
53
+ const forms = yield* Service59;
54
+ const websearch = yield* Service19;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name7,
56
+ name: name11,
57
57
  options: { codemode: false },
58
- description: description2,
59
- input: Input7,
58
+ description: description4,
59
+ input: Input11,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name7,
63
+ action: name11,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
176
176
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name7];
179
+ delete event.tools[name11];
180
180
  }));
181
181
  })
182
182
  };
183
183
 
184
- export { name7, NO_RESULTS2, description2, Input7, Plugin37, exports_websearch2 };
184
+ export { name11, NO_RESULTS2, description4, Input11, Plugin26, exports_websearch };