@opencode/core 0.0.0-dev-20963 → 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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{shell-ve88pny4.js → worktree-00bpreyp.js} +8 -8
  8. package/dist/chunks/{shell-eh6bjn4d.js → worktree-047x8gkn.js} +9 -9
  9. package/dist/chunks/{shell-k78pesf8.js → worktree-0a99m7qb.js} +11 -11
  10. package/dist/chunks/{shell-wg81ww38.js → worktree-0b5g1ynf.js} +4 -4
  11. package/dist/chunks/{shell-581vpqv4.js → worktree-0c8z4cs3.js} +2 -2
  12. package/dist/chunks/{shell-q0xm7vwc.js → worktree-0j77ygfz.js} +6 -6
  13. package/dist/chunks/{shell-y7cpgp7g.js → worktree-0k9zmgbm.js} +9 -9
  14. package/dist/chunks/{shell-rnb1qrc6.js → worktree-0ns114n3.js} +9 -9
  15. package/dist/chunks/{shell-jcj1bmag.js → worktree-0p4seb2j.js} +4 -4
  16. package/dist/chunks/{shell-g7m968y7.js → worktree-0s8710ya.js} +4 -4
  17. package/dist/chunks/{shell-0vbcp93d.js → worktree-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{shell-vbbqdsb5.js → worktree-0y76yggw.js} +30 -30
  19. package/dist/chunks/{shell-4h9dcm6c.js → worktree-11g55wky.js} +34 -34
  20. package/dist/chunks/{shell-wr25njaj.js → worktree-13qy106w.js} +10 -10
  21. package/dist/chunks/{shell-7v6tfra1.js → worktree-14mhcz0z.js} +44 -44
  22. package/dist/chunks/{shell-hjc1ceqg.js → worktree-15xqyjtq.js} +23 -23
  23. package/dist/chunks/{shell-3qk9t3x6.js → worktree-1cz5vd6m.js} +9 -9
  24. package/dist/chunks/{shell-h0e6ckft.js → worktree-1g6fppr6.js} +11 -11
  25. package/dist/chunks/{shell-madaqa6m.js → worktree-1g706jtd.js} +30 -30
  26. package/dist/chunks/{shell-v5dkyp31.js → worktree-1g7epwpd.js} +7 -7
  27. package/dist/chunks/{shell-xbmfcccm.js → worktree-1pc1gjj0.js} +8 -8
  28. package/dist/chunks/{shell-27c30v4z.js → worktree-1yt7rx9k.js} +4 -4
  29. package/dist/chunks/{shell-5ktfwzc4.js → worktree-23wx4d1f.js} +3 -3
  30. package/dist/chunks/{shell-y2krtm0y.js → worktree-2641fc7s.js} +32 -32
  31. package/dist/chunks/{shell-thm71zfy.js → worktree-273zw8zg.js} +20 -20
  32. package/dist/chunks/{shell-jvx5q19z.js → worktree-28b65eap.js} +9 -9
  33. package/dist/chunks/{shell-syyseabp.js → worktree-2csbwcjg.js} +11 -11
  34. package/dist/chunks/{shell-g3dscn4m.js → worktree-2g49c99y.js} +20 -20
  35. package/dist/chunks/{shell-qgn6gcr1.js → worktree-2k8khapm.js} +5 -5
  36. package/dist/chunks/{shell-0z8m0m4h.js → worktree-2mmjvpe1.js} +20 -20
  37. package/dist/chunks/{shell-jn0tk1mz.js → worktree-2n295dmf.js} +8 -8
  38. package/dist/chunks/{shell-3q0fsfmr.js → worktree-2pn6kxez.js} +15 -15
  39. package/dist/chunks/{shell-9r91ygdr.js → worktree-31v8j1ma.js} +6 -6
  40. package/dist/chunks/{shell-kjnabd3m.js → worktree-32npmyat.js} +25 -25
  41. package/dist/chunks/{shell-8gt23cqe.js → worktree-352md1ar.js} +10 -10
  42. package/dist/chunks/{shell-qxbyczs9.js → worktree-36sqq72v.js} +13 -13
  43. package/dist/chunks/{shell-f1vyadhg.js → worktree-39z47dss.js} +20 -20
  44. package/dist/chunks/{shell-8tfctm8b.js → worktree-3dak6s47.js} +1 -1
  45. package/dist/chunks/{shell-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{shell-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{shell-3hwn7j4h.js → worktree-3hwn7j4h.js} +2 -2
  48. package/dist/chunks/{shell-9v00wf8w.js → worktree-3mpe3zgf.js} +3 -3
  49. package/dist/chunks/{shell-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{shell-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{shell-26yabc0c.js → worktree-3yes92cn.js} +28 -28
  52. package/dist/chunks/{shell-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{shell-9hwaqfsw.js → worktree-47jkzegy.js} +5 -5
  54. package/dist/chunks/{shell-ss358qx3.js → worktree-4a7gy6vj.js} +3 -3
  55. package/dist/chunks/{shell-4bm5ja14.js → worktree-4bm5ja14.js} +1 -1
  56. package/dist/chunks/{shell-3bmbvt4t.js → worktree-4h91jvx1.js} +18 -18
  57. package/dist/chunks/{shell-kear05v1.js → worktree-4w8247ap.js} +11 -11
  58. package/dist/chunks/{shell-9e1k0p0p.js → worktree-547mgkha.js} +16 -16
  59. package/dist/chunks/{shell-54ma36ye.js → worktree-54ma36ye.js} +1 -1
  60. package/dist/chunks/{shell-9m3vrp61.js → worktree-57676ctm.js} +13 -13
  61. package/dist/chunks/{shell-gw7cjrad.js → worktree-5dkn69vz.js} +4 -4
  62. package/dist/chunks/{shell-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{shell-rs2ws33g.js → worktree-5rq05eez.js} +5 -5
  64. package/dist/chunks/{shell-a844rf5t.js → worktree-5wbbhyy2.js} +21 -21
  65. package/dist/chunks/{shell-3qsetew1.js → worktree-5x9t471j.js} +31 -31
  66. package/dist/chunks/worktree-619r8v3y.js +18 -0
  67. package/dist/chunks/{shell-c3tx72rc.js → worktree-63xqm307.js} +18 -18
  68. package/dist/chunks/{shell-ms2s8vsz.js → worktree-6f79fvzy.js} +7 -7
  69. package/dist/chunks/{shell-jk540des.js → worktree-6g107h22.js} +2 -2
  70. package/dist/chunks/{shell-85hrc257.js → worktree-6mgx7xe7.js} +8 -8
  71. package/dist/chunks/{shell-3vbe8drf.js → worktree-6r3dthtv.js} +17 -17
  72. package/dist/chunks/{shell-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{shell-tsw7ksqw.js → worktree-713nkfes.js} +57 -57
  74. package/dist/chunks/{shell-v9qnex70.js → worktree-72f2khbq.js} +12 -12
  75. package/dist/chunks/{shell-775gj3j1.js → worktree-775gj3j1.js} +2 -2
  76. package/dist/chunks/{shell-e4pfvawk.js → worktree-7ac80gxj.js} +7 -7
  77. package/dist/chunks/{shell-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{shell-rkprpv83.js → worktree-7fkffz83.js} +4 -4
  79. package/dist/chunks/{shell-2r93mh4x.js → worktree-7gra0nqm.js} +5 -5
  80. package/dist/chunks/{shell-pzjjnj3p.js → worktree-7j49d4k9.js} +20 -20
  81. package/dist/chunks/{shell-391cfmew.js → worktree-7svw2p5b.js} +24 -24
  82. package/dist/chunks/{shell-84txncab.js → worktree-84txncab.js} +1 -1
  83. package/dist/chunks/{shell-0ma0nq8c.js → worktree-8dc9ddds.js} +11 -11
  84. package/dist/chunks/{shell-vxrv5hh3.js → worktree-8e27w5a6.js} +16 -16
  85. package/dist/chunks/{shell-8m6m0r52.js → worktree-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{shell-4f51v5sg.js → worktree-8tbg6stw.js} +15 -15
  87. package/dist/chunks/{shell-45pdesb8.js → worktree-919ps8m3.js} +17 -17
  88. package/dist/chunks/{shell-91qna3x0.js → worktree-91qna3x0.js} +3 -3
  89. package/dist/chunks/{shell-rcyemfe8.js → worktree-9a3zed70.js} +25 -25
  90. package/dist/chunks/{shell-64cf81kt.js → worktree-9heq1gfm.js} +1 -1
  91. package/dist/chunks/{shell-tkh3fds9.js → worktree-9jyxv9wv.js} +5 -5
  92. package/dist/chunks/{shell-2ybg1hpp.js → worktree-9qyart7b.js} +11 -11
  93. package/dist/chunks/{shell-p54fbf41.js → worktree-9t1h6qm2.js} +41 -41
  94. package/dist/chunks/{shell-djhktcme.js → worktree-9wqr0z3w.js} +1 -1
  95. package/dist/chunks/{shell-nevcxnwb.js → worktree-9y8rfr9p.js} +27 -27
  96. package/dist/chunks/{shell-4556yem3.js → worktree-a2g5zc1h.js} +2 -2
  97. package/dist/chunks/{shell-nf7ndftz.js → worktree-a6avbjvq.js} +6 -6
  98. package/dist/chunks/{shell-e27kdmva.js → worktree-akwfsdqq.js} +19 -19
  99. package/dist/chunks/{shell-zw2hpfmh.js → worktree-azwe5p1w.js} +4 -4
  100. package/dist/chunks/{shell-ty36jfe3.js → worktree-ba964zp9.js} +3 -3
  101. package/dist/chunks/{shell-7e4t0x2w.js → worktree-bc8zjgdy.js} +3 -3
  102. package/dist/chunks/{shell-35nypx3d.js → worktree-bf1tsaws.js} +10 -10
  103. package/dist/chunks/{shell-a2v9h5m6.js → worktree-bk4fykk5.js} +10 -10
  104. package/dist/chunks/{shell-nnaw3fcy.js → worktree-bpn8wa0j.js} +26 -26
  105. package/dist/chunks/{shell-mkzhp1bm.js → worktree-bw54z2dz.js} +26 -26
  106. package/dist/chunks/{shell-c1fqxshp.js → worktree-c1fqxshp.js} +3 -3
  107. package/dist/chunks/{shell-rsx40xcc.js → worktree-c1pn2cak.js} +40 -40
  108. package/dist/chunks/{shell-8k6wbd9c.js → worktree-c6kyp2vd.js} +21 -21
  109. package/dist/chunks/{shell-jnp9hjdf.js → worktree-c7m8ew2s.js} +20 -20
  110. package/dist/chunks/{shell-yxas0qqg.js → worktree-cfwkm2sy.js} +42 -42
  111. package/dist/chunks/{shell-6c6ws8b5.js → worktree-cj2pe107.js} +13 -13
  112. package/dist/chunks/{shell-5zht2kc9.js → worktree-ck9w7hsc.js} +29 -29
  113. package/dist/chunks/{shell-rya5831r.js → worktree-cmchd7hs.js} +3 -3
  114. package/dist/chunks/{shell-g0445xdp.js → worktree-cmwkp3r5.js} +4 -4
  115. package/dist/chunks/{shell-57dhfqk6.js → worktree-cnnb9061.js} +14 -14
  116. package/dist/chunks/{shell-cwa6csj7.js → worktree-d4he2qe1.js} +9 -9
  117. package/dist/chunks/{shell-efqe6sj8.js → worktree-d4qs2yq9.js} +4 -4
  118. package/dist/chunks/{shell-1s8yq1pa.js → worktree-d784a9zz.js} +25 -25
  119. package/dist/chunks/{shell-vxq2jpwc.js → worktree-d7zx0zg5.js} +9 -9
  120. package/dist/chunks/{shell-tqxsz11v.js → worktree-d9bwsjmy.js} +8 -8
  121. package/dist/chunks/{shell-0nbt10ra.js → worktree-dkhangmk.js} +31 -31
  122. package/dist/chunks/{shell-dqxsqydv.js → worktree-dqxsqydv.js} +1 -1
  123. package/dist/chunks/{shell-t79s17n5.js → worktree-dvep9rg9.js} +9 -9
  124. package/dist/chunks/{shell-f2mw6jyj.js → worktree-dx0ahrbs.js} +11 -11
  125. package/dist/chunks/{shell-fpx4scaj.js → worktree-e2s224y0.js} +24 -24
  126. package/dist/chunks/{shell-5qd3pb7m.js → worktree-e3qxr5gk.js} +2 -2
  127. package/dist/chunks/{shell-3v7889rv.js → worktree-e6p3a57j.js} +24 -24
  128. package/dist/chunks/{shell-q3ggeavs.js → worktree-eb78yqxb.js} +18 -18
  129. package/dist/chunks/{shell-sxcaecc0.js → worktree-ed1g29hy.js} +3 -3
  130. package/dist/chunks/{shell-eej6y6fw.js → worktree-eej6y6fw.js} +2 -2
  131. package/dist/chunks/{shell-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{shell-rgjqxtx5.js → worktree-efamztt7.js} +13 -13
  133. package/dist/chunks/{shell-kwrrngyp.js → worktree-ewzsx78j.js} +15 -15
  134. package/dist/chunks/{shell-t52226va.js → worktree-f0znm7sz.js} +11 -11
  135. package/dist/chunks/{shell-7behcjme.js → worktree-f3x7gcm5.js} +29 -29
  136. package/dist/chunks/{shell-scpphhc2.js → worktree-f6qqz66d.js} +16 -16
  137. package/dist/chunks/{shell-y4xcjaps.js → worktree-faaxxfm8.js} +33 -33
  138. package/dist/chunks/{shell-nq3k23th.js → worktree-fc8788t2.js} +29 -29
  139. package/dist/chunks/{shell-1m9wmnwz.js → worktree-fj9ny8gn.js} +7 -7
  140. package/dist/chunks/{shell-bxd16f08.js → worktree-fv1gh5kw.js} +5 -5
  141. package/dist/chunks/{shell-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{shell-jq1dp0qh.js → worktree-gga122km.js} +11 -11
  143. package/dist/chunks/{shell-4jk4aq57.js → worktree-gkj5fv17.js} +29 -29
  144. package/dist/chunks/{shell-cq1305b6.js → worktree-gr62y671.js} +5 -5
  145. package/dist/chunks/{shell-b0d6v0n3.js → worktree-gvrzmcf4.js} +14 -14
  146. package/dist/chunks/{shell-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{shell-31xfzrxg.js → worktree-h7s7r6s9.js} +5 -5
  148. package/dist/chunks/{shell-k18ytf7m.js → worktree-had4kgfk.js} +6 -6
  149. package/dist/chunks/{shell-e7ydkzjj.js → worktree-heq1a16y.js} +7 -7
  150. package/dist/chunks/{shell-52m64jpm.js → worktree-hex4f5x3.js} +15 -15
  151. package/dist/chunks/{shell-0taqq77a.js → worktree-hfhhdy4d.js} +318 -318
  152. package/dist/chunks/{shell-hgz4x7wa.js → worktree-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{shell-sn3c8r3b.js → worktree-hsgza3cm.js} +13 -13
  154. package/dist/chunks/{shell-g8cahxem.js → worktree-ht3mx19x.js} +18 -18
  155. package/dist/chunks/{shell-t0vjqmv0.js → worktree-hxn427s8.js} +11 -11
  156. package/dist/chunks/{shell-hztpe0eh.js → worktree-hzmhka1f.js} +31 -31
  157. package/dist/chunks/{shell-xfprvm58.js → worktree-hzsf6k88.js} +15 -15
  158. package/dist/chunks/{shell-3par9n16.js → worktree-j1c4j6vn.js} +17 -17
  159. package/dist/chunks/{shell-51qfnm8m.js → worktree-j8xvyka0.js} +8 -8
  160. package/dist/chunks/{shell-73eqt8rc.js → worktree-jdks16ag.js} +36 -36
  161. package/dist/chunks/{shell-7zt5x37y.js → worktree-jhdf29st.js} +1 -1
  162. package/dist/chunks/{shell-d22s4b17.js → worktree-jhyqneq0.js} +10 -10
  163. package/dist/chunks/{shell-ctb4gfyw.js → worktree-jjv1jct9.js} +4 -4
  164. package/dist/chunks/{shell-qjx1ax0j.js → worktree-k1n0z3hy.js} +5 -5
  165. package/dist/chunks/{shell-a6gaz7hm.js → worktree-k368h1bw.js} +16 -16
  166. package/dist/chunks/{shell-yfyt8pq3.js → worktree-k8pbnrry.js} +13 -13
  167. package/dist/chunks/{shell-7q4a5kz0.js → worktree-k8y2vxwm.js} +3 -3
  168. package/dist/chunks/{shell-707fqczt.js → worktree-kada6eax.js} +3 -3
  169. package/dist/chunks/{shell-khmqacep.js → worktree-khmqacep.js} +1 -1
  170. package/dist/chunks/{shell-400wmb2h.js → worktree-m0xm5t79.js} +5 -5
  171. package/dist/chunks/{shell-mxf5phsa.js → worktree-m9qsaj22.js} +8 -8
  172. package/dist/chunks/{shell-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{shell-maspj1v3.js → worktree-maspj1v3.js} +1 -1
  174. package/dist/chunks/{shell-w3gpx58x.js → worktree-mj4h5zyy.js} +9 -9
  175. package/dist/chunks/{shell-wmc7nyv0.js → worktree-mr8m5p48.js} +22 -22
  176. package/dist/chunks/{shell-6wm1hp0a.js → worktree-n3g5pdec.js} +26 -26
  177. package/dist/chunks/{shell-5r60h0nw.js → worktree-nd3zr4qw.js} +20 -20
  178. package/dist/chunks/{shell-g686f6pq.js → worktree-nd4tfyg0.js} +9 -9
  179. package/dist/chunks/{shell-ysgsvzag.js → worktree-ndq62nn0.js} +82 -82
  180. package/dist/chunks/{shell-04byth4q.js → worktree-nhe6bk5v.js} +5 -5
  181. package/dist/chunks/{shell-e8vwfchq.js → worktree-nq09r4dh.js} +9 -9
  182. package/dist/chunks/{shell-e85yb5dh.js → worktree-nvpcjjwg.js} +14 -14
  183. package/dist/chunks/{shell-7mt5vk4q.js → worktree-nwz3xn1w.js} +4 -4
  184. package/dist/chunks/{shell-10wd51gp.js → worktree-p2w8rnj5.js} +41 -41
  185. package/dist/chunks/{shell-ywm7vzgw.js → worktree-pd760nvw.js} +6 -6
  186. package/dist/chunks/{shell-cnysgr4d.js → worktree-phgh38vw.js} +25 -25
  187. package/dist/chunks/{shell-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{shell-pknna89w.js → worktree-pknna89w.js} +1 -1
  189. package/dist/chunks/{shell-4s7t0d7n.js → worktree-q11w256c.js} +26 -26
  190. package/dist/chunks/{shell-1dc5khew.js → worktree-q28ks4kq.js} +32 -32
  191. package/dist/chunks/{shell-2ktf0ed2.js → worktree-qby9dwvd.js} +8 -8
  192. package/dist/chunks/{shell-tmheqabc.js → worktree-qcfhvs9f.js} +37 -37
  193. package/dist/chunks/{shell-aq536rhp.js → worktree-qjnp8kth.js} +11 -11
  194. package/dist/chunks/{shell-hsktkk0f.js → worktree-qk5v6yqg.js} +20 -20
  195. package/dist/chunks/{shell-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
  196. package/dist/chunks/{shell-gbbztpf6.js → worktree-qpzrnwb7.js} +17 -17
  197. package/dist/chunks/{shell-drwq78ky.js → worktree-qqeeq2t9.js} +7 -7
  198. package/dist/chunks/{shell-aqqsezw7.js → worktree-qrmef7q5.js} +9 -9
  199. package/dist/chunks/{shell-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  200. package/dist/chunks/{shell-tc11merm.js → worktree-qsf3y1ew.js} +10 -10
  201. package/dist/chunks/{shell-kz59s07d.js → worktree-r7x64v0s.js} +50 -50
  202. package/dist/chunks/{shell-whgyx68z.js → worktree-r8bsfb7y.js} +5 -5
  203. package/dist/chunks/{shell-3e182vtd.js → worktree-raem8mh3.js} +9 -9
  204. package/dist/chunks/{shell-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  205. package/dist/chunks/{shell-afpfqmz0.js → worktree-rec41zv7.js} +8 -8
  206. package/dist/chunks/{shell-rert0e01.js → worktree-rert0e01.js} +2 -2
  207. package/dist/chunks/{shell-rj3eygr5.js → worktree-rj3eygr5.js} +2 -2
  208. package/dist/chunks/{shell-waskdk5r.js → worktree-rkg4v3e5.js} +9 -9
  209. package/dist/chunks/{shell-0p5336y4.js → worktree-rrnkc0yz.js} +45 -45
  210. package/dist/chunks/{shell-vgfz6n1v.js → worktree-rzj0vt9r.js} +17 -17
  211. package/dist/chunks/{shell-0jq9fyba.js → worktree-s1kvmffy.js} +9 -9
  212. package/dist/chunks/{shell-pgtf3vy0.js → worktree-s4z024b2.js} +48 -48
  213. package/dist/chunks/{shell-sa8ekw3f.js → worktree-sa8ekw3f.js} +2 -2
  214. package/dist/chunks/{shell-ysg6tmpd.js → worktree-sjbmsh99.js} +23 -23
  215. package/dist/chunks/{shell-4q3ypj72.js → worktree-sq2wxdf8.js} +70 -70
  216. package/dist/chunks/{shell-3wn9yz2z.js → worktree-svwvq4d5.js} +50 -50
  217. package/dist/chunks/{shell-syv4x271.js → worktree-syv4x271.js} +1 -1
  218. package/dist/chunks/{shell-pt9gxkrz.js → worktree-t1bzqew3.js} +9 -9
  219. package/dist/chunks/{shell-eaj1djv9.js → worktree-t550f9t1.js} +8 -8
  220. package/dist/chunks/{shell-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{shell-x27mxbrv.js → worktree-tbvqj3dg.js} +4 -4
  222. package/dist/chunks/{shell-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{shell-tdstcens.js → worktree-tdstcens.js} +1 -1
  224. package/dist/chunks/{shell-sbmvftyn.js → worktree-tk5h2yrb.js} +27 -27
  225. package/dist/chunks/{shell-tm0kqsz3.js → worktree-tm0kqsz3.js} +1 -1
  226. package/dist/chunks/{shell-n5z9s4t6.js → worktree-tp1s2539.js} +9 -9
  227. package/dist/chunks/{shell-fgqh1qmr.js → worktree-tthj469c.js} +23 -23
  228. package/dist/chunks/{shell-tyytaxap.js → worktree-tyytaxap.js} +1 -1
  229. package/dist/chunks/{shell-v0es1rhs.js → worktree-v0es1rhs.js} +2 -2
  230. package/dist/chunks/{shell-bz1yjczd.js → worktree-v2fecqa2.js} +13 -13
  231. package/dist/chunks/{shell-v7p4zvkq.js → worktree-v7p4zvkq.js} +2 -2
  232. package/dist/chunks/{shell-e9976c3q.js → worktree-v9erzek1.js} +5 -5
  233. package/dist/chunks/{shell-b65nhnwn.js → worktree-vb3pk5gr.js} +30 -30
  234. package/dist/chunks/{shell-4hefcvh1.js → worktree-vckqakrf.js} +17 -17
  235. package/dist/chunks/{shell-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  236. package/dist/chunks/{shell-ecehawjj.js → worktree-vmvc3m0d.js} +21 -21
  237. package/dist/chunks/{shell-363vj7mg.js → worktree-vnmj6pqx.js} +26 -26
  238. package/dist/chunks/{shell-j5w2yx54.js → worktree-vvccsdf3.js} +6 -6
  239. package/dist/chunks/{shell-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{shell-63db42yp.js → worktree-w0tfgnf2.js} +2 -2
  241. package/dist/chunks/{shell-10sz6pap.js → worktree-w2fd5jxd.js} +3 -3
  242. package/dist/chunks/{shell-dys7k0s0.js → worktree-w3smsxn0.js} +9 -9
  243. package/dist/chunks/{shell-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{shell-8y31xnqm.js → worktree-w8xr7nv8.js} +5 -5
  245. package/dist/chunks/{shell-wd87259q.js → worktree-wd87259q.js} +1 -1
  246. package/dist/chunks/{shell-b3f8fkhc.js → worktree-wecqtg5s.js} +5 -5
  247. package/dist/chunks/{shell-ay0ekvpz.js → worktree-wgkrc4gf.js} +22 -22
  248. package/dist/chunks/{shell-1pxz8ven.js → worktree-wh6zw745.js} +5 -5
  249. package/dist/chunks/{shell-b2yrfxs6.js → worktree-wmvxw9n2.js} +85 -85
  250. package/dist/chunks/{shell-tyw8kzck.js → worktree-wsss038a.js} +16 -16
  251. package/dist/chunks/{shell-2yw8nqee.js → worktree-wwj18gnb.js} +30 -30
  252. package/dist/chunks/{shell-8she8qcx.js → worktree-wxdrkwee.js} +181 -181
  253. package/dist/chunks/{shell-3mmbhv3p.js → worktree-wyp5t2nv.js} +4 -4
  254. package/dist/chunks/{shell-ga2cfdh6.js → worktree-wzwj114h.js} +44 -44
  255. package/dist/chunks/{shell-rk7s9xkn.js → worktree-x3gqap9d.js} +4 -4
  256. package/dist/chunks/{shell-78tt1mra.js → worktree-x4yqgpdn.js} +19 -19
  257. package/dist/chunks/{shell-0zese7xv.js → worktree-x7eaanfs.js} +3 -3
  258. package/dist/chunks/{shell-kdg9j66c.js → worktree-xa33bmm9.js} +9 -9
  259. package/dist/chunks/{shell-qm4dc04g.js → worktree-xeyk6e5c.js} +17 -17
  260. package/dist/chunks/{shell-hyw1cebe.js → worktree-xfw881m1.js} +10 -10
  261. package/dist/chunks/{shell-gbqksffw.js → worktree-xmsn35g9.js} +12 -12
  262. package/dist/chunks/{shell-v1m17hdy.js → worktree-xnpybbqa.js} +21 -21
  263. package/dist/chunks/{shell-71m8tjwq.js → worktree-xrd6m33g.js} +24 -24
  264. package/dist/chunks/{shell-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{shell-y71avatq.js → worktree-y71avatq.js} +1 -1
  266. package/dist/chunks/{shell-nvc3dar1.js → worktree-y73tf1nx.js} +19 -19
  267. package/dist/chunks/{shell-qpr3rbpg.js → worktree-yhgqt7b2.js} +28 -28
  268. package/dist/chunks/{shell-f2n192rq.js → worktree-yp2x3t23.js} +4 -4
  269. package/dist/chunks/{shell-rgk41p4k.js → worktree-ysq9cvk3.js} +8 -8
  270. package/dist/chunks/worktree-yvbfxc2q.js +253 -0
  271. package/dist/chunks/{shell-ywt8jp22.js → worktree-ywt8jp22.js} +2 -2
  272. package/dist/chunks/{shell-4901z81j.js → worktree-yypbz2n6.js} +20 -20
  273. package/dist/chunks/{shell-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{shell-85f8cexg.js → worktree-z0jrkcpk.js} +4 -4
  275. package/dist/chunks/{shell-8jr8q571.js → worktree-z4tt41b4.js} +11 -11
  276. package/dist/chunks/{shell-wj85kac7.js → worktree-z5cvsch1.js} +9 -9
  277. package/dist/chunks/{shell-1djtherc.js → worktree-z8ads2fd.js} +21 -21
  278. package/dist/chunks/{shell-dewtd1t5.js → worktree-zjvj18av.js} +11 -11
  279. package/dist/chunks/{shell-ej3rmm9y.js → worktree-zpkap1h9.js} +5 -5
  280. package/dist/chunks/{shell-jadf9tmz.js → worktree-zpt8t96v.js} +26 -26
  281. package/dist/chunks/{shell-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{shell-x4y1kf2t.js → worktree-zvmksf0w.js} +20 -20
  283. package/dist/chunks/{shell-ca7w653e.js → worktree-zvt5dnpc.js} +4 -4
  284. package/dist/chunks/{shell-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +11 -11
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +6 -6
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +83 -83
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +100 -100
  476. package/dist/models-dev.js +101 -101
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +119 -119
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +1 -1
  491. package/dist/plugin/instance.js +3 -3
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +125 -125
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +82 -82
  558. package/dist/provider.js +103 -103
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +99 -99
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +129 -129
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +120 -120
  590. package/dist/session/model-transport.js +7 -7
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +209 -209
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +116 -116
  628. package/dist/snapshot.js +95 -95
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +118 -118
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +123 -123
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +115 -115
  644. package/dist/tool/plugin/subagent.js +212 -212
  645. package/dist/tool/plugin/webfetch.js +110 -110
  646. package/dist/tool/plugin/websearch.js +116 -116
  647. package/dist/tool/plugin/write.js +122 -122
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +16 -16
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +79 -79
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/shell-ej0mtf17.js +0 -253
  686. package/dist/chunks/shell-pf31ssb9.js +0 -18
  687. /package/dist/chunks/{shell-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{shell-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{shell-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{shell-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{shell-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{shell-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{shell-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{shell-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{shell-2bv980vf.js → worktree-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{shell-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{shell-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{shell-3asan66x.js → worktree-3asan66x.js} +0 -0
  699. /package/dist/chunks/{shell-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{shell-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{shell-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{shell-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{shell-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{shell-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{shell-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{shell-53557ph1.js → worktree-53557ph1.js} +0 -0
  707. /package/dist/chunks/{shell-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{shell-6prwharc.js → worktree-6prwharc.js} +0 -0
  709. /package/dist/chunks/{shell-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{shell-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{shell-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{shell-822emrt2.js → worktree-822emrt2.js} +0 -0
  713. /package/dist/chunks/{shell-84wd9syh.js → worktree-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{shell-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{shell-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{shell-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{shell-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{shell-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{shell-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{shell-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{shell-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{shell-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{shell-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{shell-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{shell-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{shell-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{shell-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{shell-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{shell-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{shell-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{shell-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{shell-df08tz66.js → worktree-df08tz66.js} +0 -0
  733. /package/dist/chunks/{shell-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{shell-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{shell-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{shell-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{shell-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{shell-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{shell-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{shell-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{shell-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{shell-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{shell-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{shell-g86h250q.js → worktree-g86h250q.js} +0 -0
  745. /package/dist/chunks/{shell-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{shell-gftt206x.js → worktree-gftt206x.js} +0 -0
  747. /package/dist/chunks/{shell-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
  748. /package/dist/chunks/{shell-hk9envan.js → worktree-hk9envan.js} +0 -0
  749. /package/dist/chunks/{shell-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{shell-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{shell-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{shell-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{shell-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{shell-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
  755. /package/dist/chunks/{shell-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{shell-m18g726c.js → worktree-m18g726c.js} +0 -0
  757. /package/dist/chunks/{shell-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{shell-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{shell-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{shell-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{shell-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{shell-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
  763. /package/dist/chunks/{shell-pyv0edze.js → worktree-pyv0edze.js} +0 -0
  764. /package/dist/chunks/{shell-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{shell-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{shell-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{shell-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{shell-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{shell-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{shell-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{shell-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{shell-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{shell-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{shell-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
  775. /package/dist/chunks/{shell-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{shell-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{shell-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{shell-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
  779. /package/dist/chunks/{shell-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{shell-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{shell-x61499pn.js → worktree-x61499pn.js} +0 -0
  782. /package/dist/chunks/{shell-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{shell-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{shell-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{shell-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{shell-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{shell-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
- make21,
4
+ make19,
5
5
  diffByKey2
6
- } from "./shell-eaj1djv9.js";
6
+ } from "./worktree-t550f9t1.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./shell-3fc6dm20.js";
11
+ } from "./worktree-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./shell-9rqn6x4v.js";
14
+ } from "./worktree-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions2 = {};
18
- __export(exports_instructions2, {
19
- CodeModeInstructions: () => exports_instructions2,
20
- make: () => make13,
21
- render: () => render2,
22
- update: () => update2
17
+ var exports_instructions5 = {};
18
+ __export(exports_instructions5, {
19
+ CodeModeInstructions: () => exports_instructions5,
20
+ make: () => make14,
21
+ render: () => render3,
22
+ update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
25
25
  import { Effect, Schema } from "effect";
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
32
32
  - ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
33
33
 
34
34
  ## Available tools`;
35
- function render2(catalog) {
35
+ function render3(catalog) {
36
36
  if (catalog.total === 0)
37
37
  return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
38
38
  const tools = catalog.namespaces.flatMap((namespace) => {
@@ -43,10 +43,10 @@ function render2(catalog) {
43
43
  ${tools.join(`
44
44
  `)}`;
45
45
  }
46
- function update2(previous, current) {
46
+ function update3(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
- ${render2(current)}`;
49
+ ${render3(current)}`;
50
50
  if (current.total === 0)
51
51
  return replacement;
52
52
  const previousComplete = previous.shown === previous.total;
@@ -109,20 +109,20 @@ ${render2(current)}`;
109
109
  return delta;
110
110
  return replacement;
111
111
  }
112
- var key = Key4.make("core/codemode");
112
+ var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make13 = (inventory) => {
114
+ var make14 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make21({
116
+ return make19({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
- initial: render2,
122
- changed: update2,
121
+ initial: render3,
122
+ changed: update3,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update2, make13, exports_instructions2 };
128
+ export { render3, update3, make14, exports_instructions5 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./shell-4556yem3.js";
5
+ } from "./worktree-a2g5zc1h.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./shell-qfa1cgps.js";
3
+ } from "./worktree-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./shell-hgz4x7wa.js";
5
+ } from "./worktree-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./shell-9rqn6x4v.js";
8
+ } from "./worktree-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID6
3
- } from "./shell-jadf9tmz.js";
2
+ ID10
3
+ } from "./worktree-zpt8t96v.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID6.make("gpt-5-chat-latest"), ID6.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./shell-hgz4x7wa.js";
3
+ } from "./worktree-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./shell-eej6y6fw.js";
6
+ } from "./worktree-eej6y6fw.js";
7
7
  import {
8
8
  Service85,
9
9
  node89
10
- } from "./shell-ty36jfe3.js";
10
+ } from "./worktree-ba964zp9.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./shell-y71avatq.js";
13
+ } from "./worktree-y71avatq.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node63
18
- } from "./shell-k18ytf7m.js";
17
+ node84
18
+ } from "./worktree-had4kgfk.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./shell-faypxj3z.js";
21
+ } from "./worktree-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./shell-9rqn6x4v.js";
24
+ } from "./worktree-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID5,
31
- Info: () => Info9,
30
+ ID: () => ID16,
31
+ Info: () => Info26,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service59,
33
+ Service: () => Service80,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured7,
36
- node: () => node62
35
+ configured: () => configured11,
36
+ node: () => node83
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID5 = Workspace.ID;
44
+ var ID16 = Workspace.ID;
45
45
 
46
- class Info9 extends Schema.Class("Workspace.Info")({
47
- id: ID5,
46
+ class Info26 extends Schema.Class("Workspace.Info")({
47
+ id: ID16,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info9 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID5,
59
+ workspaceID: ID16,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service59 extends Context.Service()("@opencode/Workspace") {
65
+ class Service80 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured7 = (options = {}) => makeGlobalNode({
68
- service: Service59,
67
+ var configured11 = (options = {}) => makeGlobalNode({
68
+ service: Service80,
69
69
  layer: layer(options),
70
- deps: [node89, node63]
70
+ deps: [node89, node84]
71
71
  });
72
- var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
73
73
  const db = (yield* Service85).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info9({
89
+ const info = (row, binding) => new Info26({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service59.of({
167
+ return Service80.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID5.create();
169
+ const workspaceID = input.id ?? ID16.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node62 = configured7();
245
+ var node83 = configured11();
246
246
 
247
- export { ID5, Info9, NotFound2, CreateConflict2, Service59, configured7, node62, exports_workspace };
247
+ export { ID16, Info26, NotFound2, CreateConflict2, Service80, configured11, node83, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./shell-z5v4ffb3.js";
3
+ } from "./worktree-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info11,
12
+ Info: () => Info14,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info11 = Schema.Struct({
64
+ var Info14 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info11 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info11, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info14, exports_provider2 };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID16 = Session.ID;
5
- var Info26 = Session.Info;
4
+ var ID11 = Session.ID;
5
+ var Info18 = Session.Info;
6
6
 
7
- export { ID16, Info26, SessionSchema2 };
7
+ export { ID11, Info18, SessionSchema2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./shell-88xbtdfr.js";
3
+ } from "./worktree-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./shell-5qd3pb7m.js";
5
+ load5
6
+ } from "./worktree-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event9,
14
+ Event: () => Event12,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
16
+ Options: () => Options7,
17
17
  Service: () => Service61,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer25,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node65,
25
+ node: () => node64,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event9 = { Updated: FileSystem.Event.Changed };
36
+ var Event12 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,7 +53,7 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
@@ -62,7 +62,7 @@ class Service61 extends Context.Service()("@opencode/Watcher") {
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer25 = (options) => Layer.effect(Service61, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service61, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
67
  return Service61.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
@@ -129,7 +129,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
134
  subscribe: Context.get(context, Service61).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service61, layer: layer25(options), deps: [nativeNode2] });
167
+ function configured8(options) {
168
+ return makeGlobalNode({ service: Service61, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node65 = configured9();
170
+ var node64 = configured8();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event9, hasNativeBinding2, Native3, Options8, Service61, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured9, node65, exports_watcher };
190
+ export { Event12, hasNativeBinding2, Native3, Options7, Service61, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured8, node64, exports_watcher };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service74
3
- } from "./shell-fgqh1qmr.js";
2
+ Service70
3
+ } from "./worktree-tthj469c.js";
4
4
  import {
5
- Service76
6
- } from "./shell-tsw7ksqw.js";
5
+ Service51
6
+ } from "./worktree-713nkfes.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service74;
57
- const permission = yield* Service76;
56
+ const forms = yield* Service70;
57
+ const permission = yield* Service51;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./shell-jcj1bmag.js";
4
+ } from "./worktree-0p4seb2j.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./shell-581vpqv4.js";
8
+ } from "./worktree-0c8z4cs3.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./shell-ec1grn59.js";
11
+ } from "./worktree-ec1grn59.js";
12
12
  import {
13
- Service78,
14
- node82
15
- } from "./shell-e85yb5dh.js";
13
+ Service53,
14
+ node56
15
+ } from "./worktree-nvpcjjwg.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service10,
23
+ Service: () => Service6,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node12
25
+ node: () => node8
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service10 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service6 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service10, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
38
38
  const bus = yield* Service84;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service78;
40
+ const store = yield* Service53;
41
41
  const location = yield* Service81;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service10.of({ load });
87
+ return Service6.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node12 = makeLocationNode({
98
+ var node8 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node88, FSUtil.node, node85, node82]
101
+ deps: [node88, FSUtil.node, node85, node56]
102
102
  });
103
103
 
104
- export { Service10, node12, exports_instructions };
104
+ export { Service6, node8, exports_instructions };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service71,
3
- node75,
2
+ Service73,
3
+ node76,
4
4
  canonical3
5
- } from "./shell-rnb1qrc6.js";
5
+ } from "./worktree-0ns114n3.js";
6
6
  import {
7
- Service36,
8
- node38
9
- } from "./shell-j5w2yx54.js";
7
+ Service47,
8
+ node50
9
+ } from "./worktree-vvccsdf3.js";
10
10
  import {
11
- Service42
12
- } from "./shell-nevcxnwb.js";
11
+ Service14
12
+ } from "./worktree-9y8rfr9p.js";
13
13
  import {
14
14
  layer2
15
- } from "./shell-ej0mtf17.js";
15
+ } from "./worktree-yvbfxc2q.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service71, Effect.gen(function* () {
20
+ return Layer.effect(Service73, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service42);
30
+ const lifecycle = Context.get(exit.value, Service14);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node38.replace(Layer.succeed(Service36, {
57
+ node50.replace(Layer.succeed(Service47, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node75.replace(Layer.succeed(Service71, map))
61
+ node76.replace(Layer.succeed(Service73, map))
62
62
  ];
63
63
  return map;
64
64
  }));