@opencode/core 0.0.0-dev-20965 → 0.0.0-dev-20966

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{variant-qptva5a0.js → worktree-00bpreyp.js} +8 -8
  8. package/dist/chunks/{variant-b2yx5ehf.js → worktree-047x8gkn.js} +9 -9
  9. package/dist/chunks/{variant-f9fjk1ah.js → worktree-0a99m7qb.js} +14 -14
  10. package/dist/chunks/{variant-94cmvxd3.js → worktree-0b5g1ynf.js} +4 -4
  11. package/dist/chunks/{variant-aed4v31e.js → worktree-0c8z4cs3.js} +16 -16
  12. package/dist/chunks/{variant-0j77ygfz.js → worktree-0j77ygfz.js} +2 -2
  13. package/dist/chunks/{variant-ttffcv7z.js → worktree-0k9zmgbm.js} +11 -11
  14. package/dist/chunks/{variant-7bcehx3h.js → worktree-0ns114n3.js} +9 -9
  15. package/dist/chunks/{variant-1dgd40yc.js → worktree-0p4seb2j.js} +4 -4
  16. package/dist/chunks/{variant-p8899s55.js → worktree-0s8710ya.js} +4 -4
  17. package/dist/chunks/{variant-0emb60td.js → worktree-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{variant-0x6tm39e.js → worktree-0y76yggw.js} +33 -33
  19. package/dist/chunks/{variant-675h9k08.js → worktree-11g55wky.js} +36 -36
  20. package/dist/chunks/{variant-wtc59aw9.js → worktree-13qy106w.js} +10 -10
  21. package/dist/chunks/{variant-1b1vcbyp.js → worktree-14mhcz0z.js} +35 -35
  22. package/dist/chunks/{variant-jxg7hd8r.js → worktree-15xqyjtq.js} +10 -10
  23. package/dist/chunks/{variant-mwqr473v.js → worktree-1cz5vd6m.js} +11 -11
  24. package/dist/chunks/{variant-hqd5ftkx.js → worktree-1g6fppr6.js} +11 -11
  25. package/dist/chunks/{variant-yskhjpp6.js → worktree-1g706jtd.js} +30 -30
  26. package/dist/chunks/{variant-1g7epwpd.js → worktree-1g7epwpd.js} +1 -1
  27. package/dist/chunks/{variant-zq6n8p55.js → worktree-1pc1gjj0.js} +13 -13
  28. package/dist/chunks/{variant-49a8ke3b.js → worktree-1yt7rx9k.js} +4 -4
  29. package/dist/chunks/{variant-th3vkxge.js → worktree-23wx4d1f.js} +6 -6
  30. package/dist/chunks/{variant-ka4dahqf.js → worktree-2641fc7s.js} +32 -32
  31. package/dist/chunks/{variant-bn0vkb08.js → worktree-273zw8zg.js} +27 -27
  32. package/dist/chunks/{variant-j2x94qfn.js → worktree-28b65eap.js} +11 -11
  33. package/dist/chunks/{variant-fc42s903.js → worktree-2csbwcjg.js} +9 -9
  34. package/dist/chunks/{variant-ne3cddwz.js → worktree-2g49c99y.js} +18 -18
  35. package/dist/chunks/{variant-2k8khapm.js → worktree-2k8khapm.js} +1 -1
  36. package/dist/chunks/{variant-79c12bt7.js → worktree-2mmjvpe1.js} +18 -18
  37. package/dist/chunks/{variant-fqhbsnr5.js → worktree-2n295dmf.js} +8 -8
  38. package/dist/chunks/{variant-k9r9jvvd.js → worktree-2pn6kxez.js} +16 -16
  39. package/dist/chunks/{variant-acp27cb6.js → worktree-31v8j1ma.js} +6 -6
  40. package/dist/chunks/{variant-7tqnqen3.js → worktree-32npmyat.js} +24 -24
  41. package/dist/chunks/{variant-wfmeqxnt.js → worktree-352md1ar.js} +10 -10
  42. package/dist/chunks/{variant-bffezq42.js → worktree-36sqq72v.js} +19 -19
  43. package/dist/chunks/{variant-2s7cj1a3.js → worktree-39z47dss.js} +18 -18
  44. package/dist/chunks/{variant-jnfn5ex1.js → worktree-3dak6s47.js} +1 -1
  45. package/dist/chunks/{variant-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{variant-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{variant-3hwn7j4h.js → worktree-3hwn7j4h.js} +2 -2
  48. package/dist/chunks/{variant-pde076hx.js → worktree-3mpe3zgf.js} +3 -3
  49. package/dist/chunks/{variant-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{variant-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{variant-7jbtvk67.js → worktree-3yes92cn.js} +28 -28
  52. package/dist/chunks/{variant-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{variant-4f1b800q.js → worktree-47jkzegy.js} +5 -5
  54. package/dist/chunks/{variant-08rawchj.js → worktree-4a7gy6vj.js} +3 -3
  55. package/dist/chunks/{variant-z0aj456m.js → worktree-4bm5ja14.js} +4 -4
  56. package/dist/chunks/{variant-qkdyhz0j.js → worktree-4h91jvx1.js} +18 -18
  57. package/dist/chunks/{variant-j864549w.js → worktree-4w8247ap.js} +11 -11
  58. package/dist/chunks/{variant-awqjysbz.js → worktree-547mgkha.js} +19 -19
  59. package/dist/chunks/{variant-54ma36ye.js → worktree-54ma36ye.js} +1 -1
  60. package/dist/chunks/{variant-4tvnehfx.js → worktree-57676ctm.js} +13 -13
  61. package/dist/chunks/{variant-h9wp8z5w.js → worktree-5dkn69vz.js} +4 -4
  62. package/dist/chunks/{variant-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{variant-nkxhsnc1.js → worktree-5rq05eez.js} +3 -3
  64. package/dist/chunks/{variant-5k19yq9w.js → worktree-5wbbhyy2.js} +22 -22
  65. package/dist/chunks/{variant-1g2tzbqy.js → worktree-5x9t471j.js} +33 -33
  66. package/dist/chunks/worktree-619r8v3y.js +18 -0
  67. package/dist/chunks/{variant-yxxy4j45.js → worktree-63xqm307.js} +14 -14
  68. package/dist/chunks/{variant-jk6kbnxq.js → worktree-6f79fvzy.js} +9 -9
  69. package/dist/chunks/{variant-6g107h22.js → worktree-6g107h22.js} +2 -2
  70. package/dist/chunks/{variant-1j8hy33p.js → worktree-6mgx7xe7.js} +8 -8
  71. package/dist/chunks/{variant-em36464r.js → worktree-6r3dthtv.js} +10 -10
  72. package/dist/chunks/{variant-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{variant-8t6tsgff.js → worktree-713nkfes.js} +50 -50
  74. package/dist/chunks/{variant-f1y6kd9g.js → worktree-72f2khbq.js} +11 -11
  75. package/dist/chunks/{variant-775gj3j1.js → worktree-775gj3j1.js} +2 -2
  76. package/dist/chunks/{variant-eyw1jkg7.js → worktree-7ac80gxj.js} +11 -11
  77. package/dist/chunks/{variant-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{variant-py3kkmfq.js → worktree-7fkffz83.js} +4 -4
  79. package/dist/chunks/{variant-m935wjbx.js → worktree-7gra0nqm.js} +12 -12
  80. package/dist/chunks/{variant-k2wbs1f6.js → worktree-7j49d4k9.js} +20 -20
  81. package/dist/chunks/{variant-6xw72zbe.js → worktree-7svw2p5b.js} +17 -17
  82. package/dist/chunks/{variant-84txncab.js → worktree-84txncab.js} +1 -1
  83. package/dist/chunks/{variant-16ce7mxz.js → worktree-8dc9ddds.js} +15 -15
  84. package/dist/chunks/{variant-1sne15z1.js → worktree-8e27w5a6.js} +16 -16
  85. package/dist/chunks/{variant-8m6m0r52.js → worktree-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{variant-8nx44vyg.js → worktree-8tbg6stw.js} +18 -18
  87. package/dist/chunks/{variant-1jg8srde.js → worktree-919ps8m3.js} +15 -15
  88. package/dist/chunks/{variant-j09zfasm.js → worktree-91qna3x0.js} +3 -3
  89. package/dist/chunks/{variant-dp9b5y2c.js → worktree-9a3zed70.js} +30 -30
  90. package/dist/chunks/{variant-y79ba3ty.js → worktree-9heq1gfm.js} +1 -1
  91. package/dist/chunks/{variant-4ghc2kqd.js → worktree-9jyxv9wv.js} +5 -5
  92. package/dist/chunks/{variant-nazaqr6z.js → worktree-9qyart7b.js} +8 -8
  93. package/dist/chunks/{variant-nz324evw.js → worktree-9t1h6qm2.js} +42 -42
  94. package/dist/chunks/{variant-bg7accr8.js → worktree-9wqr0z3w.js} +1 -1
  95. package/dist/chunks/{variant-xgcr0maa.js → worktree-9y8rfr9p.js} +33 -33
  96. package/dist/chunks/{variant-rc73xy04.js → worktree-a2g5zc1h.js} +2 -2
  97. package/dist/chunks/{variant-1zqh2xam.js → worktree-a6avbjvq.js} +13 -13
  98. package/dist/chunks/{variant-v53tbymh.js → worktree-akwfsdqq.js} +19 -19
  99. package/dist/chunks/{variant-x661k3y3.js → worktree-azwe5p1w.js} +4 -4
  100. package/dist/chunks/{variant-rb93vns4.js → worktree-ba964zp9.js} +3 -3
  101. package/dist/chunks/{variant-184e73e7.js → worktree-bc8zjgdy.js} +5 -5
  102. package/dist/chunks/{variant-0aqkm3bj.js → worktree-bf1tsaws.js} +14 -14
  103. package/dist/chunks/{variant-cdbvc206.js → worktree-bk4fykk5.js} +11 -11
  104. package/dist/chunks/{variant-2kzdwg0n.js → worktree-bpn8wa0j.js} +22 -22
  105. package/dist/chunks/{variant-318ps4mw.js → worktree-bw54z2dz.js} +24 -24
  106. package/dist/chunks/{variant-es1vcfrp.js → worktree-c1fqxshp.js} +3 -3
  107. package/dist/chunks/{variant-b2p40mva.js → worktree-c1pn2cak.js} +45 -45
  108. package/dist/chunks/{variant-wa343y42.js → worktree-c6kyp2vd.js} +24 -24
  109. package/dist/chunks/{variant-vadaeqkc.js → worktree-c7m8ew2s.js} +25 -25
  110. package/dist/chunks/{variant-kr7grvbm.js → worktree-cfwkm2sy.js} +41 -41
  111. package/dist/chunks/{variant-8ryt04pb.js → worktree-cj2pe107.js} +13 -13
  112. package/dist/chunks/{variant-eqxt343f.js → worktree-ck9w7hsc.js} +26 -26
  113. package/dist/chunks/{variant-c172tty2.js → worktree-cmchd7hs.js} +3 -3
  114. package/dist/chunks/{variant-czfptnv9.js → worktree-cmwkp3r5.js} +6 -6
  115. package/dist/chunks/{variant-t7aaar7j.js → worktree-cnnb9061.js} +18 -18
  116. package/dist/chunks/{variant-2sejkfem.js → worktree-d4he2qe1.js} +9 -9
  117. package/dist/chunks/{variant-690t7gnv.js → worktree-d4qs2yq9.js} +4 -4
  118. package/dist/chunks/{variant-jg41skm4.js → worktree-d784a9zz.js} +22 -22
  119. package/dist/chunks/{variant-h3bs1kek.js → worktree-d7zx0zg5.js} +8 -8
  120. package/dist/chunks/{variant-j3v4v25z.js → worktree-d9bwsjmy.js} +46 -46
  121. package/dist/chunks/{variant-w2ftr1wp.js → worktree-dkhangmk.js} +32 -32
  122. package/dist/chunks/{variant-dqxsqydv.js → worktree-dqxsqydv.js} +1 -1
  123. package/dist/chunks/{variant-xdx7acry.js → worktree-dvep9rg9.js} +9 -9
  124. package/dist/chunks/{variant-1shzte8w.js → worktree-dx0ahrbs.js} +11 -11
  125. package/dist/chunks/{variant-ekg16795.js → worktree-e2s224y0.js} +22 -22
  126. package/dist/chunks/{variant-31ccf081.js → worktree-e6p3a57j.js} +21 -21
  127. package/dist/chunks/{variant-zhb76p7m.js → worktree-eb78yqxb.js} +10 -10
  128. package/dist/chunks/{variant-r2z489rp.js → worktree-ed1g29hy.js} +3 -3
  129. package/dist/chunks/{variant-eej6y6fw.js → worktree-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{variant-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{variant-xvfcqebw.js → worktree-efamztt7.js} +13 -13
  132. package/dist/chunks/{variant-r4k54wer.js → worktree-ewzsx78j.js} +15 -15
  133. package/dist/chunks/{variant-9vq825kb.js → worktree-f0znm7sz.js} +17 -17
  134. package/dist/chunks/{variant-0e6afmah.js → worktree-f3x7gcm5.js} +32 -32
  135. package/dist/chunks/{variant-45emh9sw.js → worktree-f6qqz66d.js} +16 -16
  136. package/dist/chunks/{variant-30f50eyj.js → worktree-faaxxfm8.js} +35 -35
  137. package/dist/chunks/{variant-rfb6rgvz.js → worktree-fc8788t2.js} +25 -25
  138. package/dist/chunks/{variant-gr2j2chh.js → worktree-fj9ny8gn.js} +9 -9
  139. package/dist/chunks/{variant-a8w6dpt8.js → worktree-fv1gh5kw.js} +3 -3
  140. package/dist/chunks/{variant-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  141. package/dist/chunks/worktree-gga122km.js +26 -0
  142. package/dist/chunks/{variant-chymrsmw.js → worktree-gkj5fv17.js} +26 -26
  143. package/dist/chunks/{variant-k0qnz40c.js → worktree-gr62y671.js} +3 -3
  144. package/dist/chunks/{variant-dm4mj2b8.js → worktree-gvrzmcf4.js} +21 -21
  145. package/dist/chunks/{variant-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  146. package/dist/chunks/{variant-31xfzrxg.js → worktree-h7s7r6s9.js} +5 -5
  147. package/dist/chunks/{variant-nd37ta7v.js → worktree-had4kgfk.js} +8 -8
  148. package/dist/chunks/{variant-0z9vq3n9.js → worktree-heq1a16y.js} +7 -7
  149. package/dist/chunks/{variant-x4jmhkba.js → worktree-hex4f5x3.js} +11 -11
  150. package/dist/chunks/worktree-hfhhdy4d.js +513 -0
  151. package/dist/chunks/{variant-hgz4x7wa.js → worktree-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{variant-n9kvdjtp.js → worktree-hsgza3cm.js} +18 -18
  153. package/dist/chunks/{variant-tntqxh8d.js → worktree-ht3mx19x.js} +15 -15
  154. package/dist/chunks/{variant-08axjxgx.js → worktree-hxn427s8.js} +15 -15
  155. package/dist/chunks/{variant-6cb5bya6.js → worktree-hzmhka1f.js} +41 -41
  156. package/dist/chunks/{variant-byv8jegc.js → worktree-hzsf6k88.js} +15 -15
  157. package/dist/chunks/{variant-gtve8185.js → worktree-j1c4j6vn.js} +20 -20
  158. package/dist/chunks/{variant-q1tr0dsa.js → worktree-j8xvyka0.js} +8 -8
  159. package/dist/chunks/{variant-n9093sh7.js → worktree-jdks16ag.js} +19 -19
  160. package/dist/chunks/{variant-yqc6bamn.js → worktree-jhdf29st.js} +1 -1
  161. package/dist/chunks/{variant-5vsvabpe.js → worktree-jhyqneq0.js} +14 -14
  162. package/dist/chunks/{variant-drc9xvqh.js → worktree-jjv1jct9.js} +2 -2
  163. package/dist/chunks/{variant-9bbnj2zh.js → worktree-k1n0z3hy.js} +5 -5
  164. package/dist/chunks/{variant-4ptrhz46.js → worktree-k368h1bw.js} +14 -14
  165. package/dist/chunks/{variant-b46qy5jj.js → worktree-k8pbnrry.js} +17 -17
  166. package/dist/chunks/{variant-ttp06fyh.js → worktree-k8y2vxwm.js} +6 -6
  167. package/dist/chunks/{variant-hshhh1g0.js → worktree-kada6eax.js} +8 -8
  168. package/dist/chunks/{variant-ny8edt06.js → worktree-khmqacep.js} +4 -4
  169. package/dist/chunks/{variant-6h8epbhc.js → worktree-m0xm5t79.js} +1 -1
  170. package/dist/chunks/{variant-fvgwmm0r.js → worktree-m9qsaj22.js} +8 -8
  171. package/dist/chunks/{variant-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{variant-maspj1v3.js → worktree-maspj1v3.js} +1 -1
  173. package/dist/chunks/{variant-8mta8yrw.js → worktree-mj4h5zyy.js} +9 -9
  174. package/dist/chunks/{variant-7ycwyhsn.js → worktree-mr8m5p48.js} +9 -9
  175. package/dist/chunks/{variant-vgr0ew10.js → worktree-n3g5pdec.js} +26 -26
  176. package/dist/chunks/{variant-4r580w2s.js → worktree-nd3zr4qw.js} +15 -15
  177. package/dist/chunks/{variant-bcwmtc9z.js → worktree-nd4tfyg0.js} +9 -9
  178. package/dist/chunks/{variant-fxjmfkq7.js → worktree-ndq62nn0.js} +84 -84
  179. package/dist/chunks/{variant-w5wmpqxq.js → worktree-nhe6bk5v.js} +7 -7
  180. package/dist/chunks/{variant-k185drda.js → worktree-nq09r4dh.js} +6 -6
  181. package/dist/chunks/{variant-wvrxhfbz.js → worktree-nvpcjjwg.js} +12 -12
  182. package/dist/chunks/{variant-j1m8k7tk.js → worktree-nwz3xn1w.js} +4 -4
  183. package/dist/chunks/{variant-0821qp31.js → worktree-p2w8rnj5.js} +47 -47
  184. package/dist/chunks/{variant-zztrcv6s.js → worktree-pd760nvw.js} +6 -6
  185. package/dist/chunks/{variant-f6mz2wx2.js → worktree-phgh38vw.js} +25 -25
  186. package/dist/chunks/{variant-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  187. package/dist/chunks/{variant-pknna89w.js → worktree-pknna89w.js} +1 -1
  188. package/dist/chunks/{variant-jqax3vrk.js → worktree-q11w256c.js} +33 -33
  189. package/dist/chunks/{variant-sw0mphdh.js → worktree-q28ks4kq.js} +36 -36
  190. package/dist/chunks/{variant-c27esgm9.js → worktree-qby9dwvd.js} +8 -8
  191. package/dist/chunks/{variant-sd60ydk4.js → worktree-qcfhvs9f.js} +35 -35
  192. package/dist/chunks/{variant-mk8df6ba.js → worktree-qjnp8kth.js} +13 -13
  193. package/dist/chunks/{variant-1wqbhyhn.js → worktree-qk5v6yqg.js} +20 -20
  194. package/dist/chunks/{variant-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
  195. package/dist/chunks/{variant-y23whk6n.js → worktree-qpzrnwb7.js} +13 -13
  196. package/dist/chunks/{variant-xfkkasph.js → worktree-qqeeq2t9.js} +7 -7
  197. package/dist/chunks/{variant-g0xp0fjm.js → worktree-qrmef7q5.js} +14 -14
  198. package/dist/chunks/{variant-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  199. package/dist/chunks/{variant-fww2ha2b.js → worktree-qsf3y1ew.js} +10 -10
  200. package/dist/chunks/{variant-98pn6x6y.js → worktree-r7x64v0s.js} +50 -50
  201. package/dist/chunks/{variant-p0km4v4v.js → worktree-r8bsfb7y.js} +7 -7
  202. package/dist/chunks/{variant-vav9rtzz.js → worktree-raem8mh3.js} +11 -11
  203. package/dist/chunks/{variant-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  204. package/dist/chunks/{variant-krcrny4k.js → worktree-rec41zv7.js} +10 -10
  205. package/dist/chunks/{variant-tkb22qbm.js → worktree-rert0e01.js} +2 -2
  206. package/dist/chunks/{variant-c41wscbt.js → worktree-rj3eygr5.js} +2 -2
  207. package/dist/chunks/{variant-kqv3x6rj.js → worktree-rkg4v3e5.js} +4 -4
  208. package/dist/chunks/{variant-vhsnpknp.js → worktree-rrnkc0yz.js} +23 -23
  209. package/dist/chunks/{variant-spzkthk3.js → worktree-rzj0vt9r.js} +10 -10
  210. package/dist/chunks/{variant-r9w3djhf.js → worktree-s1kvmffy.js} +9 -9
  211. package/dist/chunks/{variant-v99btfp6.js → worktree-s4z024b2.js} +48 -48
  212. package/dist/chunks/{variant-c8ax2afj.js → worktree-sa8ekw3f.js} +2 -2
  213. package/dist/chunks/{variant-eyect2y9.js → worktree-sjbmsh99.js} +23 -23
  214. package/dist/chunks/{variant-bd2rbarm.js → worktree-sq2wxdf8.js} +71 -71
  215. package/dist/chunks/{variant-m1xvcqhf.js → worktree-svwvq4d5.js} +50 -50
  216. package/dist/chunks/{variant-syv4x271.js → worktree-syv4x271.js} +1 -1
  217. package/dist/chunks/{variant-pdbfs7q8.js → worktree-t1bzqew3.js} +13 -13
  218. package/dist/chunks/{variant-eaj1djv9.js → worktree-t550f9t1.js} +8 -8
  219. package/dist/chunks/{variant-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  220. package/dist/chunks/{variant-2k05yhhs.js → worktree-tbvqj3dg.js} +4 -4
  221. package/dist/chunks/{variant-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  222. package/dist/chunks/{variant-tdstcens.js → worktree-tdstcens.js} +1 -1
  223. package/dist/chunks/{variant-safknyzz.js → worktree-tk5h2yrb.js} +34 -34
  224. package/dist/chunks/{variant-tm0kqsz3.js → worktree-tm0kqsz3.js} +1 -1
  225. package/dist/chunks/{variant-hhfn0ecg.js → worktree-tp1s2539.js} +9 -9
  226. package/dist/chunks/{variant-gv3e09km.js → worktree-tthj469c.js} +23 -23
  227. package/dist/chunks/{variant-tyytaxap.js → worktree-tyytaxap.js} +1 -1
  228. package/dist/chunks/{variant-mq92c6sz.js → worktree-v0es1rhs.js} +9 -9
  229. package/dist/chunks/{variant-s8y96gq9.js → worktree-v2fecqa2.js} +20 -20
  230. package/dist/chunks/{variant-v7p4zvkq.js → worktree-v7p4zvkq.js} +2 -2
  231. package/dist/chunks/{variant-t5hq3fbq.js → worktree-v9erzek1.js} +5 -5
  232. package/dist/chunks/{variant-6b4mrnbq.js → worktree-vb3pk5gr.js} +32 -32
  233. package/dist/chunks/{variant-t1exkcnj.js → worktree-vckqakrf.js} +21 -21
  234. package/dist/chunks/{variant-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  235. package/dist/chunks/{variant-m4cdjvks.js → worktree-vmvc3m0d.js} +25 -25
  236. package/dist/chunks/{variant-qh6vqrx5.js → worktree-vnmj6pqx.js} +25 -25
  237. package/dist/chunks/{variant-jhf3jymm.js → worktree-vvccsdf3.js} +6 -6
  238. package/dist/chunks/{variant-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
  239. package/dist/chunks/{variant-zfme70y8.js → worktree-w0tfgnf2.js} +2 -2
  240. package/dist/chunks/{variant-rmzxz103.js → worktree-w2fd5jxd.js} +3 -3
  241. package/dist/chunks/{variant-8b0kp1c1.js → worktree-w3smsxn0.js} +8 -8
  242. package/dist/chunks/{variant-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{variant-a694798e.js → worktree-w8xr7nv8.js} +5 -5
  244. package/dist/chunks/{variant-wd87259q.js → worktree-wd87259q.js} +1 -1
  245. package/dist/chunks/{variant-b3f8fkhc.js → worktree-wecqtg5s.js} +5 -5
  246. package/dist/chunks/{variant-3esz0pk7.js → worktree-wgkrc4gf.js} +27 -27
  247. package/dist/chunks/{variant-v9tezfc4.js → worktree-wh6zw745.js} +5 -5
  248. package/dist/chunks/{variant-5xdxnttq.js → worktree-wmvxw9n2.js} +87 -87
  249. package/dist/chunks/{variant-95e562ab.js → worktree-wsss038a.js} +19 -19
  250. package/dist/chunks/{variant-wpdrjqr0.js → worktree-wwj18gnb.js} +27 -27
  251. package/dist/chunks/{variant-4qbhtwgs.js → worktree-wxdrkwee.js} +159 -159
  252. package/dist/chunks/{variant-nd2xbyf5.js → worktree-wyp5t2nv.js} +4 -4
  253. package/dist/chunks/{variant-xw25t1zq.js → worktree-wzwj114h.js} +43 -43
  254. package/dist/chunks/{variant-zy43x3f1.js → worktree-x3gqap9d.js} +4 -4
  255. package/dist/chunks/{variant-sqead0rj.js → worktree-x4yqgpdn.js} +24 -24
  256. package/dist/chunks/{variant-nq17181k.js → worktree-x7eaanfs.js} +5 -5
  257. package/dist/chunks/{variant-3jys3s1h.js → worktree-xa33bmm9.js} +9 -9
  258. package/dist/chunks/{variant-mnx1xs56.js → worktree-xeyk6e5c.js} +16 -16
  259. package/dist/chunks/{variant-215yrs1m.js → worktree-xfw881m1.js} +10 -10
  260. package/dist/chunks/{variant-22dae4yx.js → worktree-xmsn35g9.js} +11 -11
  261. package/dist/chunks/{variant-d1d75ewh.js → worktree-xnpybbqa.js} +28 -28
  262. package/dist/chunks/{variant-d5f4dshd.js → worktree-xrd6m33g.js} +21 -21
  263. package/dist/chunks/{variant-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{variant-dpkg50ah.js → worktree-y71avatq.js} +4 -4
  265. package/dist/chunks/{variant-e74fnb4d.js → worktree-y73tf1nx.js} +10 -10
  266. package/dist/chunks/{variant-9x7n08av.js → worktree-yhgqt7b2.js} +25 -25
  267. package/dist/chunks/{variant-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
  268. package/dist/chunks/{variant-vcc19h8c.js → worktree-ysq9cvk3.js} +10 -10
  269. package/dist/chunks/worktree-yvbfxc2q.js +253 -0
  270. package/dist/chunks/{variant-1ffvrpkg.js → worktree-ywt8jp22.js} +6 -6
  271. package/dist/chunks/{variant-n4bazptv.js → worktree-yypbz2n6.js} +20 -20
  272. package/dist/chunks/{variant-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{variant-5c7zhz82.js → worktree-z0jrkcpk.js} +6 -6
  274. package/dist/chunks/{variant-5q5yxa5j.js → worktree-z4tt41b4.js} +6 -6
  275. package/dist/chunks/{variant-7qdqhac4.js → worktree-z5cvsch1.js} +11 -11
  276. package/dist/chunks/{variant-r2pt7hb6.js → worktree-z8ads2fd.js} +16 -16
  277. package/dist/chunks/{variant-nssgk41k.js → worktree-zjvj18av.js} +15 -15
  278. package/dist/chunks/{variant-wxvzvkhz.js → worktree-zpkap1h9.js} +2 -2
  279. package/dist/chunks/{variant-7f5dsppb.js → worktree-zpt8t96v.js} +28 -28
  280. package/dist/chunks/{variant-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{variant-j5ck4p1e.js → worktree-zvmksf0w.js} +35 -35
  282. package/dist/chunks/{variant-tz4n1mmd.js → worktree-zvt5dnpc.js} +4 -4
  283. package/dist/chunks/{variant-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +87 -87
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +216 -216
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +107 -107
  428. package/dist/git.js +10 -10
  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 +93 -93
  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/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +133 -133
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +111 -111
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +111 -111
  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 +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +125 -125
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +118 -118
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  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/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  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 +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +220 -220
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +92 -92
  557. package/dist/provider.js +99 -99
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +95 -95
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +91 -91
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +97 -97
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +216 -216
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +88 -88
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +79 -79
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +86 -86
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +212 -212
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +95 -95
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +128 -128
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +105 -105
  640. package/dist/tool/plugin/read.js +125 -125
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +106 -106
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +1 -1
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +95 -95
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +86 -86
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +81 -81
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/variant-0wrjkmeb.js +0 -26
  685. package/dist/chunks/variant-10rgf74w.js +0 -253
  686. package/dist/chunks/variant-1x11rq2a.js +0 -18
  687. package/dist/chunks/variant-dhpfcrwc.js +0 -513
  688. /package/dist/chunks/{variant-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{variant-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{variant-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{variant-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{variant-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{variant-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{variant-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{variant-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{variant-2bv980vf.js → worktree-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{variant-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{variant-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{variant-3asan66x.js → worktree-3asan66x.js} +0 -0
  700. /package/dist/chunks/{variant-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{variant-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{variant-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{variant-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{variant-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{variant-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{variant-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{variant-53557ph1.js → worktree-53557ph1.js} +0 -0
  708. /package/dist/chunks/{variant-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{variant-6prwharc.js → worktree-6prwharc.js} +0 -0
  710. /package/dist/chunks/{variant-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{variant-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{variant-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{variant-822emrt2.js → worktree-822emrt2.js} +0 -0
  714. /package/dist/chunks/{variant-84wd9syh.js → worktree-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{variant-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{variant-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{variant-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{variant-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{variant-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{variant-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{variant-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{variant-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{variant-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{variant-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{variant-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{variant-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{variant-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{variant-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{variant-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{variant-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{variant-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{variant-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{variant-df08tz66.js → worktree-df08tz66.js} +0 -0
  734. /package/dist/chunks/{variant-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{variant-e3qxr5gk.js → worktree-e3qxr5gk.js} +0 -0
  736. /package/dist/chunks/{variant-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{variant-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{variant-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{variant-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{variant-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{variant-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{variant-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{variant-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{variant-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{variant-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{variant-g86h250q.js → worktree-g86h250q.js} +0 -0
  747. /package/dist/chunks/{variant-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{variant-gftt206x.js → worktree-gftt206x.js} +0 -0
  749. /package/dist/chunks/{variant-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{variant-hk9envan.js → worktree-hk9envan.js} +0 -0
  751. /package/dist/chunks/{variant-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{variant-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{variant-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{variant-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{variant-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{variant-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{variant-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{variant-m18g726c.js → worktree-m18g726c.js} +0 -0
  759. /package/dist/chunks/{variant-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{variant-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{variant-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{variant-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{variant-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{variant-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{variant-pyv0edze.js → worktree-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{variant-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{variant-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{variant-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{variant-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{variant-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{variant-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{variant-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{variant-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{variant-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{variant-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{variant-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{variant-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{variant-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{variant-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{variant-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{variant-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{variant-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{variant-x61499pn.js → worktree-x61499pn.js} +0 -0
  784. /package/dist/chunks/{variant-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{variant-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{variant-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{variant-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{variant-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{variant-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./variant-rb93vns4.js";
4
+ } from "./worktree-ba964zp9.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./variant-dpkg50ah.js";
7
+ } from "./worktree-y71avatq.js";
8
8
  import {
9
9
  Service84,
10
10
  node88
11
- } from "./variant-1dgd40yc.js";
11
+ } from "./worktree-0p4seb2j.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./variant-ec1grn59.js";
14
+ } from "./worktree-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./variant-gftt206x.js";
17
+ } from "./worktree-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./variant-08rawchj.js";
20
+ } from "./worktree-4a7gy6vj.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./variant-es1vcfrp.js";
24
+ } from "./worktree-c1fqxshp.js";
25
25
  import {
26
26
  __export
27
- } from "./variant-9rqn6x4v.js";
27
+ } from "./worktree-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info7,
35
+ Info: () => Info8,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service36,
40
+ Service: () => Service45,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer16,
48
+ layer: () => layer20,
49
49
  list: () => list3,
50
50
  make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node38,
53
+ node: () => node48,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info7,
68
+ Info as Info8,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service36 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service45 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
156
  var make17 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service85;
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info7.make({
176
+ }).pipe(Effect.map((event) => Info8.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer16 = Layer.effect(Service36, make17());
231
- var node38 = makeGlobalNode({ service: Service36, layer: layer16, deps: [node89, node88] });
230
+ var layer20 = Layer.effect(Service45, make17());
231
+ var node48 = makeGlobalNode({ service: Service45, layer: layer20, deps: [node89, node88] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service36, make17, layer16, node38, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service45, make17, layer20, node48, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service84
3
- } from "./variant-1dgd40yc.js";
3
+ } from "./worktree-0p4seb2j.js";
4
4
  import {
5
- Service80
6
- } from "./variant-215yrs1m.js";
5
+ Service65
6
+ } from "./worktree-xfw881m1.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./variant-rdw6cm16.js";
12
+ } from "./worktree-rdw6cm16.js";
13
13
  import {
14
- Service27,
14
+ Service35,
15
15
  awaitActivation2
16
- } from "./variant-1x11rq2a.js";
16
+ } from "./worktree-619r8v3y.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./variant-4qbhtwgs.js";
21
+ } from "./worktree-wxdrkwee.js";
22
22
  import {
23
23
  __export
24
- } from "./variant-9rqn6x4v.js";
24
+ } from "./worktree-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event3,
29
+ Event: () => Event5,
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service27,
33
+ Service: () => Service35,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node20
37
+ node: () => node23
38
38
  });
39
- import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service27, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
44
44
  const bus = yield* Service84;
45
- const kv = yield* Service80;
45
+ const kv = yield* Service65;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service27.of({
208
+ return Service35.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node20 = Node.makeLocationNode({
226
- service: Service27,
225
+ var node23 = Node.makeLocationNode({
226
+ service: Service35,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node20, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
231
+ export { node23, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service42,
8
+ Service: () => Service59,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node44
10
+ node: () => node62
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service59 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service42, () => {
17
+ var layer = Layer.sync(Service59, () => {
18
18
  const environments = new Map;
19
- return Service42.of({
19
+ return Service59.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service42, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node44 = makeGlobalNode({ service: Service42, layer, deps: [] });
29
+ var node62 = makeGlobalNode({ service: Service59, layer, deps: [] });
30
30
 
31
- export { Service42, node44, exports_environment };
31
+ export { Service59, node62, exports_environment };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./worktree-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./variant-kqv3x6rj.js";
6
+ } from "./worktree-rkg4v3e5.js";
7
7
  import {
8
- Info17
9
- } from "./variant-8b0kp1c1.js";
8
+ Info13
9
+ } from "./worktree-w3smsxn0.js";
10
10
  import {
11
11
  Info16
12
- } from "./variant-1g7epwpd.js";
12
+ } from "./worktree-1g7epwpd.js";
13
13
  import {
14
- Info19
15
- } from "./variant-v9tezfc4.js";
14
+ Info12
15
+ } from "./worktree-wh6zw745.js";
16
16
  import {
17
17
  Spec2
18
- } from "./variant-2k8khapm.js";
18
+ } from "./worktree-2k8khapm.js";
19
19
  import {
20
- Info15
21
- } from "./variant-4f1b800q.js";
20
+ Info14
21
+ } from "./worktree-47jkzegy.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -27,10 +27,10 @@ import {
27
27
  migrateMcp2,
28
28
  migrateProvider2,
29
29
  providerID2
30
- } from "./variant-nd2xbyf5.js";
30
+ } from "./worktree-wyp5t2nv.js";
31
31
  import {
32
32
  __export
33
- } from "./variant-9rqn6x4v.js";
33
+ } from "./worktree-9rqn6x4v.js";
34
34
 
35
35
  // src/config/normalize.ts
36
36
  var exports_normalize = {};
@@ -102,7 +102,7 @@ function normalize2(input) {
102
102
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
103
103
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
104
104
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
105
- const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
105
+ const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
106
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
107
107
  const migratedSmallModel = modelSelection2(legacySmallModel);
108
108
  if (legacySmallModel && !migratedSmallModel)
@@ -116,7 +116,7 @@ function normalize2(input) {
116
116
  model: migratedSmallModel,
117
117
  ...legacyAgents.title
118
118
  };
119
- const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
119
+ const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
120
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
121
121
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
122
122
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -218,7 +218,7 @@ function normalizeMcp(input, encoded, diagnostics) {
218
218
  normalizeMcpTimeout(value, timeout, path, diagnostics);
219
219
  return;
220
220
  }
221
- const server = decodeValue(Info19, value, path, diagnostics);
221
+ const server = decodeValue(Info12, value, path, diagnostics);
222
222
  if (server !== undefined)
223
223
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
224
224
  });
@@ -416,7 +416,7 @@ function migrateProviders(value, diagnostics) {
416
416
  diagnoseProviderUnsupported(raw, path, diagnostics);
417
417
  if (invalidProviderOverlays(raw, path, diagnostics))
418
418
  return [];
419
- const provider = decodeValue(Info15, raw, path, diagnostics);
419
+ const provider = decodeValue(Info14, raw, path, diagnostics);
420
420
  if (provider === undefined)
421
421
  return [];
422
422
  const destination = providerID2(name);
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./variant-8m6m0r52.js";
3
+ } from "./worktree-8m6m0r52.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./variant-z5v4ffb3.js";
6
+ } from "./worktree-z5v4ffb3.js";
7
7
  import {
8
- ID4,
8
+ ID5,
9
9
  Name2
10
- } from "./variant-2kzdwg0n.js";
10
+ } from "./worktree-bpn8wa0j.js";
11
11
  import {
12
12
  __export
13
- } from "./variant-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
62
62
  return {
63
63
  _tag: "Parsed",
64
64
  skill: {
65
- id: ID4.make(id),
65
+ id: ID5.make(id),
66
66
  name: Name2.make(frontmatter.name ?? id),
67
67
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
68
68
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./variant-pyv0edze.js";
7
+ } from "./worktree-pyv0edze.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./variant-j09zfasm.js";
11
+ } from "./worktree-91qna3x0.js";
12
12
  import {
13
13
  create3
14
- } from "./variant-rdw6cm16.js";
14
+ } from "./worktree-rdw6cm16.js";
15
15
  import {
16
- Service54,
17
- node56
18
- } from "./variant-xdx7acry.js";
16
+ Service57,
17
+ node60
18
+ } from "./worktree-dvep9rg9.js";
19
19
  import {
20
- Service61,
21
- node64
22
- } from "./variant-c27esgm9.js";
20
+ Service66,
21
+ node69
22
+ } from "./worktree-qby9dwvd.js";
23
23
  import {
24
24
  match2
25
- } from "./variant-y1fvbwt7.js";
25
+ } from "./worktree-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./variant-9rqn6x4v.js";
28
+ } from "./worktree-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error3,
35
+ Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service53,
38
+ Service: () => Service55,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node55
41
+ node: () => node58
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service53 extends Context.Service()("@opencode/Tool") {
54
+ class Service55 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service53, Effect.gen(function* () {
57
- const hooks = yield* Service61;
58
- const image = yield* Service54;
56
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
57
+ const hooks = yield* Service66;
58
+ const image = yield* Service57;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service53.of({
187
+ return Service55.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node55 = makeLocationNode({
277
- service: Service53,
276
+ var node58 = makeLocationNode({
277
+ service: Service55,
278
278
  layer,
279
- deps: [node64, node56]
279
+ deps: [node69, node60]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service53, node55, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service55, node58, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service84,
4
4
  node88
5
- } from "./variant-1dgd40yc.js";
5
+ } from "./worktree-0p4seb2j.js";
6
6
  import {
7
7
  __export
8
- } from "./variant-9rqn6x4v.js";
8
+ } from "./worktree-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service13,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node6
16
+ layer: () => layer7,
17
+ node: () => node15
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service13 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
25
+ var layer7 = Layer.effect(Service13, Effect.gen(function* () {
26
26
  const bus = yield* Service84;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service13.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node6 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node88] });
36
+ var node15 = makeGlobalNode({ service: Service13, layer: layer7, deps: [node88] });
37
37
 
38
- export { Updated2, Service5, layer5, node6, exports_sdk };
38
+ export { Updated2, Service13, layer7, node15, exports_sdk };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./variant-rdw6cm16.js";
3
+ } from "./worktree-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./variant-qaymkmh1.js";
6
+ } from "./worktree-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./variant-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options4,
15
- Service: () => Service46,
14
+ Options: () => Options10,
15
+ Service: () => Service77,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured4,
18
+ configured: () => configured10,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node48,
24
+ node: () => node80,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options4 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service46 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service77 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service46.of({
202
+ return Service77.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured4(options) {
210
- return makeLocationNode({ service: Service46, layer: layer(options), deps: [Global.node] });
209
+ function configured10(options) {
210
+ return makeLocationNode({ service: Service77, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node48 = configured4();
212
+ var node80 = configured10();
213
213
 
214
- export { Options4, Service46, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured4, node48, exports_select };
214
+ export { Options10, Service77, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node80, exports_select };