@opencode/core 0.0.0-dev-19677 → 0.0.0-dev-19678

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 +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{command-8phwd4yj.js → worktree-02y3xw2c.js} +14 -6
  8. package/dist/chunks/{command-tqxxrrwb.js → worktree-0e6tknjd.js} +32 -32
  9. package/dist/chunks/{command-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{command-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{command-seydkqn5.js → worktree-11zjtd0v.js} +15 -15
  12. package/dist/chunks/{command-69j91c1q.js → worktree-15nepkqg.js} +8 -8
  13. package/dist/chunks/{command-0v94nfhm.js → worktree-16zykpq3.js} +6 -6
  14. package/dist/chunks/{command-m8hf639e.js → worktree-174d77kk.js} +8 -8
  15. package/dist/chunks/{command-73tb2d7t.js → worktree-1bbkgx8g.js} +3 -3
  16. package/dist/chunks/{command-zeays675.js → worktree-1bvrbzys.js} +20 -20
  17. package/dist/chunks/{command-xmzstg3h.js → worktree-1cq10s00.js} +7 -7
  18. package/dist/chunks/{command-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{command-2zsjkq9g.js → worktree-1jaghqsx.js} +16 -16
  20. package/dist/chunks/{command-dy775f0c.js → worktree-1qdmrsyh.js} +14 -14
  21. package/dist/chunks/{command-5mffgv55.js → worktree-1vbr32jm.js} +2 -2
  22. package/dist/chunks/{command-c18bwgtt.js → worktree-1w7shgq0.js} +23 -23
  23. package/dist/chunks/{command-21r38tys.js → worktree-21r38tys.js} +1 -1
  24. package/dist/chunks/{command-2402vzrj.js → worktree-2402vzrj.js} +1 -1
  25. package/dist/chunks/{command-wxffcvth.js → worktree-283sq9eb.js} +7 -7
  26. package/dist/chunks/{command-z63w68vq.js → worktree-29x78va6.js} +6 -6
  27. package/dist/chunks/{command-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{command-hatahbqr.js → worktree-2ancfe85.js} +27 -27
  29. package/dist/chunks/{command-y8nmaz64.js → worktree-2d57kztd.js} +6 -6
  30. package/dist/chunks/{command-57ez7d0k.js → worktree-2fgn2we9.js} +9 -9
  31. package/dist/chunks/{command-zmnepbn3.js → worktree-2r7cpq20.js} +7 -7
  32. package/dist/chunks/{command-9g3kc011.js → worktree-2vkv0cnq.js} +12 -12
  33. package/dist/chunks/{command-rre36xp5.js → worktree-2xfxk6th.js} +15 -15
  34. package/dist/chunks/{command-dmajge55.js → worktree-33xqp8c4.js} +22 -22
  35. package/dist/chunks/{command-v10a7mjz.js → worktree-3dqfb5kw.js} +26 -26
  36. package/dist/chunks/{command-7d93j08s.js → worktree-3f706czv.js} +7 -7
  37. package/dist/chunks/{command-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{command-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{command-bbzxkx14.js → worktree-3j8yw4h7.js} +30 -30
  40. package/dist/chunks/{command-7hj3xbrc.js → worktree-3ks8vxtx.js} +24 -24
  41. package/dist/chunks/{command-7htbj526.js → worktree-3mkv12gd.js} +25 -25
  42. package/dist/chunks/{command-p5t2wdxk.js → worktree-3mz07r45.js} +11 -11
  43. package/dist/chunks/{command-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{command-9fzyx5wt.js → worktree-3tey1tqk.js} +1 -1
  45. package/dist/chunks/{command-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{command-3w0fmcng.js → worktree-3w2b2yj4.js} +5 -5
  47. package/dist/chunks/{command-2sgz0h5a.js → worktree-3wa5p8ds.js} +17 -17
  48. package/dist/chunks/{command-3h2szgxz.js → worktree-3x63gc5s.js} +6 -6
  49. package/dist/chunks/{command-at45qxm4.js → worktree-3xb03r27.js} +16 -16
  50. package/dist/chunks/{command-tk1ghjnq.js → worktree-41xcr2yw.js} +3 -3
  51. package/dist/chunks/{command-zr1jw1p3.js → worktree-44vcf97r.js} +25 -25
  52. package/dist/chunks/{command-q68zbz63.js → worktree-48q12zrq.js} +12 -12
  53. package/dist/chunks/{command-wbhg106y.js → worktree-49yfvyax.js} +21 -21
  54. package/dist/chunks/{command-1w4m95ye.js → worktree-4b3kehkn.js} +2 -2
  55. package/dist/chunks/{command-1qsftg3h.js → worktree-4j96vqdr.js} +28 -28
  56. package/dist/chunks/{command-7v69ty2b.js → worktree-4vy3njsm.js} +25 -25
  57. package/dist/chunks/{command-mrwc1hpc.js → worktree-4ws0t3r6.js} +8 -8
  58. package/dist/chunks/{command-1ygqh575.js → worktree-56gdpj1q.js} +9 -9
  59. package/dist/chunks/{command-yy3gmdz3.js → worktree-57e9z27j.js} +8 -8
  60. package/dist/chunks/{command-a1bz86dw.js → worktree-5c4hm403.js} +3 -3
  61. package/dist/chunks/{command-khnzgmt2.js → worktree-5d13hs91.js} +24 -24
  62. package/dist/chunks/{command-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  63. package/dist/chunks/{command-hy1f76q1.js → worktree-5kssg3wf.js} +4 -4
  64. package/dist/chunks/{command-e01edj6k.js → worktree-5s1g7zt8.js} +39 -39
  65. package/dist/chunks/{command-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{command-wd5s8d9s.js → worktree-5trqfzya.js} +36 -36
  67. package/dist/chunks/{command-c492wyyq.js → worktree-60age542.js} +7 -7
  68. package/dist/chunks/{command-ghzty3dd.js → worktree-60rwq83k.js} +24 -24
  69. package/dist/chunks/worktree-619r8v3y.js +18 -0
  70. package/dist/chunks/{command-06dxphr1.js → worktree-64kphnzf.js} +4 -4
  71. package/dist/chunks/{command-669tq793.js → worktree-669tq793.js} +1 -1
  72. package/dist/chunks/{command-vry016k2.js → worktree-68cy5tvk.js} +15 -15
  73. package/dist/chunks/{command-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{command-cy3cnjq8.js → worktree-6x4tw2n6.js} +4 -4
  75. package/dist/chunks/{command-mx4gtjsx.js → worktree-6y50b3ce.js} +18 -18
  76. package/dist/chunks/{command-467dymen.js → worktree-6ygx60r3.js} +8 -8
  77. package/dist/chunks/{command-3pzavtjr.js → worktree-75bwm8n8.js} +18 -18
  78. package/dist/chunks/{command-bajakh74.js → worktree-7ac170kv.js} +4 -4
  79. package/dist/chunks/{command-5q02cxx3.js → worktree-7atngb88.js} +4 -4
  80. package/dist/chunks/{command-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{command-0jwsre1p.js → worktree-7dqw4kz8.js} +5 -5
  82. package/dist/chunks/{command-c89895qa.js → worktree-7hjrp1ry.js} +22 -22
  83. package/dist/chunks/{command-p7kdkvkh.js → worktree-7r8e83hb.js} +22 -22
  84. package/dist/chunks/{command-fdv30zvt.js → worktree-806j49yq.js} +7 -7
  85. package/dist/chunks/{command-7262bdbz.js → worktree-82axnvzk.js} +15 -15
  86. package/dist/chunks/{command-8a8wdyzn.js → worktree-84mkzp6g.js} +11 -11
  87. package/dist/chunks/{command-1v7c51ma.js → worktree-8c8zehe5.js} +14 -14
  88. package/dist/chunks/{command-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{command-qa89xvga.js → worktree-8kkw5ddh.js} +47 -47
  90. package/dist/chunks/{command-ahh5tn9t.js → worktree-8rphe9sf.js} +6 -6
  91. package/dist/chunks/{command-9s6fqtph.js → worktree-925cq2hc.js} +302 -302
  92. package/dist/chunks/{command-zgsp9d7f.js → worktree-952wf3h0.js} +33 -33
  93. package/dist/chunks/{command-2277p7za.js → worktree-97wvmzf2.js} +3 -3
  94. package/dist/chunks/{command-pb15jk6q.js → worktree-9crse6na.js} +26 -26
  95. package/dist/chunks/{command-h0jpty9f.js → worktree-9r40msyq.js} +11 -11
  96. package/dist/chunks/{command-sgve36kw.js → worktree-9vzt17gg.js} +141 -141
  97. package/dist/chunks/{command-ek5xzf05.js → worktree-9xq3nbft.js} +24 -24
  98. package/dist/chunks/{command-cykmh698.js → worktree-9zj2yd8z.js} +15 -15
  99. package/dist/chunks/{command-ecywet7n.js → worktree-a40np59p.js} +30 -30
  100. package/dist/chunks/{command-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  101. package/dist/chunks/{command-gw8w5vjt.js → worktree-acm9d4wv.js} +28 -28
  102. package/dist/chunks/{command-41h8t21e.js → worktree-am60j996.js} +8 -8
  103. package/dist/chunks/{command-j7qr8k9e.js → worktree-b6f6n79x.js} +11 -11
  104. package/dist/chunks/{command-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{command-9esbgk1q.js → worktree-b7v0y5ep.js} +4 -4
  106. package/dist/chunks/{command-x0dfaghg.js → worktree-besmmfw0.js} +13 -13
  107. package/dist/chunks/{command-84q2vxed.js → worktree-bexm9nce.js} +35 -35
  108. package/dist/chunks/{command-s86fxarf.js → worktree-bfd4xtf1.js} +20 -20
  109. package/dist/chunks/{command-stnkqxxq.js → worktree-bg86vx51.js} +15 -15
  110. package/dist/chunks/{command-7wdpv7yx.js → worktree-bjcwypgn.js} +16 -16
  111. package/dist/chunks/{command-162dzd26.js → worktree-bm2bzb1v.js} +4 -4
  112. package/dist/chunks/{command-2s9v5q2j.js → worktree-bt4497rw.js} +17 -17
  113. package/dist/chunks/{command-840wgd2q.js → worktree-bxzvdraz.js} +24 -24
  114. package/dist/chunks/{command-qj8dptrs.js → worktree-c0ryrrzn.js} +51 -51
  115. package/dist/chunks/{command-9y0w708y.js → worktree-c27esgm9.js} +8 -8
  116. package/dist/chunks/{command-d24a1m55.js → worktree-c5879aa8.js} +11 -11
  117. package/dist/chunks/{command-r2m716tb.js → worktree-c765mh8b.js} +5 -5
  118. package/dist/chunks/{command-p04t4jyd.js → worktree-debqk1x6.js} +5 -5
  119. package/dist/chunks/{command-10jtetaj.js → worktree-dg5bcj4q.js} +6 -6
  120. package/dist/chunks/{command-8p4f9s12.js → worktree-dj2t23y0.js} +2 -2
  121. package/dist/chunks/{command-y71avatq.js → worktree-dpkg50ah.js} +4 -4
  122. package/dist/chunks/{command-9pj1fj9p.js → worktree-dr666zk0.js} +16 -16
  123. package/dist/chunks/{command-drwq78ky.js → worktree-drwq78ky.js} +1 -1
  124. package/dist/chunks/{command-zk8c4w5t.js → worktree-dtqg9ce1.js} +5 -5
  125. package/dist/chunks/{command-205fktxw.js → worktree-dze3spay.js} +10 -10
  126. package/dist/chunks/{command-4d8evfpc.js → worktree-dzpmeesh.js} +6 -6
  127. package/dist/chunks/{command-5qd3pb7m.js → worktree-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{command-7wxbqxph.js → worktree-ee7tvcsv.js} +25 -25
  129. package/dist/chunks/{command-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{command-53tjwt9g.js → worktree-ekhc6zn8.js} +47 -47
  131. package/dist/chunks/{command-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{command-1jzmnccz.js → worktree-evp7db52.js} +8 -8
  133. package/dist/chunks/{command-ber7v889.js → worktree-exf0ag6m.js} +11 -11
  134. package/dist/chunks/{command-yp2x3t23.js → worktree-f2n192rq.js} +4 -4
  135. package/dist/chunks/{command-kfep38wt.js → worktree-fdz2twvr.js} +47 -47
  136. package/dist/chunks/{command-b9g9100q.js → worktree-ff5f6xfc.js} +8 -8
  137. package/dist/chunks/{command-rhafb4aa.js → worktree-fhs97t90.js} +5 -5
  138. package/dist/chunks/{command-k6zsgamj.js → worktree-fhv9k6kb.js} +8 -8
  139. package/dist/chunks/{command-knb7evpn.js → worktree-fkjmw100.js} +6 -6
  140. package/dist/chunks/{command-1sjdykg9.js → worktree-fprzj95g.js} +18 -18
  141. package/dist/chunks/{command-qhvr2jea.js → worktree-frhb2p6t.js} +4 -4
  142. package/dist/chunks/{command-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{command-y10xyzsy.js → worktree-g0qmj2x0.js} +3 -3
  144. package/dist/chunks/{command-46pvzydw.js → worktree-gaqhbna6.js} +21 -21
  145. package/dist/chunks/{command-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{command-akdr1yx1.js → worktree-ghstkmyc.js} +9 -9
  147. package/dist/chunks/{command-dfzezczs.js → worktree-gn7pfh5g.js} +1 -1
  148. package/dist/chunks/{command-n9gqnw48.js → worktree-gr63znzm.js} +26 -26
  149. package/dist/chunks/{command-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  150. package/dist/chunks/{command-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
  151. package/dist/chunks/{command-dsk9gyby.js → worktree-h5t1cqyn.js} +6 -6
  152. package/dist/chunks/{command-96hc392c.js → worktree-h6g83djs.js} +6 -6
  153. package/dist/chunks/{command-4dgbcxzg.js → worktree-h6r3nrb9.js} +4 -4
  154. package/dist/chunks/{command-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{command-ytvz0vpx.js → worktree-hbxbz73r.js} +26 -26
  156. package/dist/chunks/{command-yjptyezs.js → worktree-hcz3zddy.js} +5 -5
  157. package/dist/chunks/{command-f828m53h.js → worktree-hdnk95c8.js} +2 -2
  158. package/dist/chunks/{command-e2a7kn3r.js → worktree-hecwjcfa.js} +39 -39
  159. package/dist/chunks/{command-1hpee78n.js → worktree-hkqe0sh1.js} +7 -7
  160. package/dist/chunks/{command-8977mvv6.js → worktree-hnez55bc.js} +11 -11
  161. package/dist/chunks/{command-xnq8y3wp.js → worktree-hpapf7ej.js} +8 -8
  162. package/dist/chunks/worktree-hqdbbvbk.js +26 -0
  163. package/dist/chunks/{command-zch60zmd.js → worktree-hrxhtwh5.js} +11 -11
  164. package/dist/chunks/{command-cq2x0peb.js → worktree-hwys8km5.js} +4 -4
  165. package/dist/chunks/{command-zam46q7w.js → worktree-hzah94rf.js} +13 -13
  166. package/dist/chunks/{command-0rbej475.js → worktree-j16bxe15.js} +21 -21
  167. package/dist/chunks/{command-bxvsvvek.js → worktree-j4816qjh.js} +15 -15
  168. package/dist/chunks/{command-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  169. package/dist/chunks/{command-n2jgbhgk.js → worktree-j72m2ftj.js} +8 -8
  170. package/dist/chunks/{command-4jv5ref6.js → worktree-jymnr9tp.js} +87 -87
  171. package/dist/chunks/{command-q1hc292q.js → worktree-jywqkjj6.js} +11 -11
  172. package/dist/chunks/{command-30bm9ajm.js → worktree-jzc84zhf.js} +20 -20
  173. package/dist/chunks/{command-a6aqwg0c.js → worktree-k0skhwzc.js} +1 -1
  174. package/dist/chunks/{command-wpsghzwe.js → worktree-k2e2j23h.js} +20 -20
  175. package/dist/chunks/{command-jppvw2tx.js → worktree-k3gnzxs0.js} +5 -5
  176. package/dist/chunks/{command-9r59gk3z.js → worktree-k711kv9r.js} +6 -6
  177. package/dist/chunks/{command-h5m7e0fe.js → worktree-k7myrtme.js} +9 -9
  178. package/dist/chunks/{command-jv9wq4h1.js → worktree-k87h7t0v.js} +9 -9
  179. package/dist/chunks/{command-b7td26qf.js → worktree-kjj16b39.js} +9 -9
  180. package/dist/chunks/{command-cavr175a.js → worktree-kk00bynn.js} +21 -21
  181. package/dist/chunks/{command-rqz3bkzt.js → worktree-ktxmp402.js} +41 -41
  182. package/dist/chunks/{command-w2xdsg80.js → worktree-kwkjs9hb.js} +19 -19
  183. package/dist/chunks/{command-cfpkc3c9.js → worktree-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/worktree-m3fdjcah.js +46 -0
  185. package/dist/chunks/{command-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{command-h9r75fxg.js → worktree-mem0xz91.js} +1 -1
  187. package/dist/chunks/{command-h9ammvhv.js → worktree-mg0hvqns.js} +24 -24
  188. package/dist/chunks/{command-24k4k4wx.js → worktree-mhvd9vx8.js} +23 -23
  189. package/dist/chunks/{command-n8fcz8br.js → worktree-mjb12pha.js} +5 -5
  190. package/dist/chunks/{command-yaf95dqt.js → worktree-mpn67x5p.js} +11 -11
  191. package/dist/chunks/{command-a1a50ys5.js → worktree-mtft99cd.js} +5 -5
  192. package/dist/chunks/{command-w9037jm3.js → worktree-mwemq795.js} +31 -31
  193. package/dist/chunks/{command-6yyja3sr.js → worktree-mwsp0qbh.js} +9 -9
  194. package/dist/chunks/{command-wmqsncpr.js → worktree-n3ca23hd.js} +12 -12
  195. package/dist/chunks/{command-eeq2162a.js → worktree-nez407vh.js} +86 -86
  196. package/dist/chunks/{command-z9kmesag.js → worktree-ng06a93p.js} +43 -43
  197. package/dist/chunks/{command-xxynqx5z.js → worktree-nvxqht09.js} +3 -3
  198. package/dist/chunks/{command-shh6fz4q.js → worktree-nw2nz702.js} +4 -4
  199. package/dist/chunks/{command-cnkwk6vd.js → worktree-nz9pm5x8.js} +13 -13
  200. package/dist/chunks/{command-rqr91q1p.js → worktree-p193qfyh.js} +26 -26
  201. package/dist/chunks/{command-0gbtp71g.js → worktree-p3bnatdk.js} +30 -30
  202. package/dist/chunks/{command-9hn6k4tm.js → worktree-pa8pe2x7.js} +8 -8
  203. package/dist/chunks/{command-5vcsb3kk.js → worktree-phbvt86a.js} +23 -23
  204. package/dist/chunks/{command-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{command-pknna89w.js → worktree-pknna89w.js} +1 -1
  206. package/dist/chunks/{command-9hcft21q.js → worktree-ppqxyqmv.js} +13 -13
  207. package/dist/chunks/{command-d1sy02nx.js → worktree-qa7b4e57.js} +38 -38
  208. package/dist/chunks/worktree-qapv375x.js +4 -0
  209. package/dist/chunks/{command-666pnfkr.js → worktree-qcqsneq1.js} +14 -14
  210. package/dist/chunks/{command-e3bagrz8.js → worktree-qe3myk5j.js} +3 -3
  211. package/dist/chunks/{command-zveb96hb.js → worktree-qes64rbd.js} +32 -32
  212. package/dist/chunks/{command-hjm0k3fp.js → worktree-qnq7qc9v.js} +2 -2
  213. package/dist/chunks/{command-ez8ghmhr.js → worktree-qqj2dkp1.js} +8 -8
  214. package/dist/chunks/{command-sj80jspt.js → worktree-qs15877k.js} +22 -22
  215. package/dist/chunks/{command-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  216. package/dist/chunks/{command-h3kwk8y9.js → worktree-qt026hkp.js} +9 -9
  217. package/dist/chunks/{command-qnt9sasj.js → worktree-qvsqjx3k.js} +8 -8
  218. package/dist/chunks/{command-45j2k0pw.js → worktree-qx0q8j4j.js} +18 -18
  219. package/dist/chunks/{command-0vgngd9g.js → worktree-r3gqfajy.js} +26 -26
  220. package/dist/chunks/{command-gfcakcdp.js → worktree-raa150y6.js} +3 -3
  221. package/dist/chunks/{command-7q2zmtmd.js → worktree-rdh7f4cw.js} +13 -13
  222. package/dist/chunks/{command-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{command-xf7eefbk.js → worktree-rrqhc0g8.js} +9 -9
  224. package/dist/chunks/{command-tcy8tav0.js → worktree-s2t3dg79.js} +8 -8
  225. package/dist/chunks/{command-yrznvahk.js → worktree-s4enseaf.js} +2 -2
  226. package/dist/chunks/{command-t23rfjnq.js → worktree-s5f4w46x.js} +6 -6
  227. package/dist/chunks/{command-t550f9t1.js → worktree-s8d7rejh.js} +4 -4
  228. package/dist/chunks/{command-0t3f5f2j.js → worktree-seeh73d1.js} +24 -24
  229. package/dist/chunks/{command-m728j35j.js → worktree-sp9v8d94.js} +10 -10
  230. package/dist/chunks/{command-xw6050bm.js → worktree-sqespdca.js} +15 -15
  231. package/dist/chunks/{command-wpxh4773.js → worktree-sx7frpfz.js} +14 -14
  232. package/dist/chunks/{command-qnga3n65.js → worktree-sy7hnc8c.js} +18 -18
  233. package/dist/chunks/{command-tfdat96q.js → worktree-t3w5bgp4.js} +9 -9
  234. package/dist/chunks/{command-q5asdkn4.js → worktree-t7n9q6bq.js} +4 -4
  235. package/dist/chunks/{command-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{command-9r15s34d.js → worktree-tcay1cqt.js} +6 -6
  237. package/dist/chunks/{command-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{command-tdstcens.js → worktree-tdstcens.js} +1 -1
  239. package/dist/chunks/{command-4w1whx26.js → worktree-tj3qv296.js} +4 -4
  240. package/dist/chunks/{command-7p3xftwe.js → worktree-tk4xefdg.js} +12 -12
  241. package/dist/chunks/{command-r7fwjr8e.js → worktree-tnb9a9ra.js} +47 -47
  242. package/dist/chunks/{command-ky3seynh.js → worktree-tqkrwgse.js} +2 -2
  243. package/dist/chunks/{command-td2jtkpf.js → worktree-trmhacsn.js} +16 -16
  244. package/dist/chunks/{command-kwqsq9eb.js → worktree-ttyx5d16.js} +1 -1
  245. package/dist/chunks/{command-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  246. package/dist/chunks/{command-4dq01fp5.js → worktree-tyxy8y33.js} +8 -8
  247. package/dist/chunks/{command-fza673sd.js → worktree-v179d97a.js} +10 -10
  248. package/dist/chunks/{command-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  249. package/dist/chunks/{command-f6jpff70.js → worktree-vyd8sw8j.js} +16 -16
  250. package/dist/chunks/{command-g8jasmdt.js → worktree-vyrd71eq.js} +11 -11
  251. package/dist/chunks/{command-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{command-69a0df8h.js → worktree-w09ej8yv.js} +14 -14
  253. package/dist/chunks/{command-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{command-0qescp40.js → worktree-w5f4svzp.js} +1 -1
  255. package/dist/chunks/{command-nwkv3axv.js → worktree-w74nyqjb.js} +5 -5
  256. package/dist/chunks/{command-rc7jd0ep.js → worktree-w7xn1kg1.js} +7 -7
  257. package/dist/chunks/{command-4sbvrcej.js → worktree-w8fg0vxv.js} +20 -20
  258. package/dist/chunks/{command-wd87259q.js → worktree-wd87259q.js} +1 -1
  259. package/dist/chunks/{command-km6ktv04.js → worktree-wnc6j8g9.js} +6 -6
  260. package/dist/chunks/{command-xd79hgjq.js → worktree-wtgc8z9n.js} +15 -15
  261. package/dist/chunks/{command-bz85s9hh.js → worktree-wy8b5sm2.js} +1 -1
  262. package/dist/chunks/{command-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{command-wmnva1mv.js → worktree-x68ppmc8.js} +3 -3
  264. package/dist/chunks/{command-wtvb9gzx.js → worktree-x7cz0th0.js} +9 -9
  265. package/dist/chunks/{command-kzm1fy32.js → worktree-xec0sntw.js} +17 -17
  266. package/dist/chunks/{command-b2aemhvb.js → worktree-xmw8x2ed.js} +17 -17
  267. package/dist/chunks/{command-12fr5h43.js → worktree-xqn2na27.js} +4 -4
  268. package/dist/chunks/{command-tbvzjzzt.js → worktree-xzj8ke1r.js} +41 -41
  269. package/dist/chunks/{command-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{command-wevghkec.js → worktree-y1ty9ay3.js} +25 -25
  271. package/dist/chunks/{command-g97kwpg6.js → worktree-y439a41h.js} +43 -43
  272. package/dist/chunks/{command-fdms3n6w.js → worktree-y56ehv6b.js} +9 -9
  273. package/dist/chunks/{command-vzjsab6x.js → worktree-yetagcyg.js} +9 -9
  274. package/dist/chunks/worktree-yfech19a.js +247 -0
  275. package/dist/chunks/{command-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{command-j4d74nk7.js → worktree-yv0bcf73.js} +40 -40
  277. package/dist/chunks/{command-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{command-pka3f0bn.js → worktree-z5y2jtdt.js} +26 -26
  279. package/dist/chunks/{command-6xmmm4dq.js → worktree-z6m0aj3j.js} +18 -18
  280. package/dist/chunks/{command-2ehyz9hr.js → worktree-z983bpbs.js} +11 -11
  281. package/dist/chunks/{command-ha607pgt.js → worktree-za77p82n.js} +6 -6
  282. package/dist/chunks/{command-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{command-68wccpr5.js → worktree-zmxhfkmg.js} +20 -20
  284. package/dist/chunks/{command-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{command-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{command-bja92bag.js → worktree-zxynhvrn.js} +18 -18
  287. package/dist/chunks/{command-s57hh4xa.js → worktree-zxyzar11.js} +64 -64
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -2
  291. package/dist/codemode/web.js +10 -0
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +213 -212
  298. package/dist/config/plugin/compaction.js +159 -158
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +131 -131
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +123 -123
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +78 -78
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  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 +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +365 -364
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  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 +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +4 -4
  421. package/dist/filesystem/location-watcher.js +224 -223
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +92 -92
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +93 -93
  427. package/dist/form.js +81 -81
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +98 -98
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +356 -355
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +83 -83
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +353 -352
  468. package/dist/location.js +86 -86
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +127 -126
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +98 -98
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +97 -97
  478. package/dist/models-dev.js +106 -106
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +79 -79
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +110 -110
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +85 -85
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +103 -103
  489. package/dist/plugin/command.js +100 -100
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -216
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +121 -121
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +93 -93
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +140 -140
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +347 -346
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +6 -6
  552. package/dist/plugin.js +224 -223
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +89 -89
  556. package/dist/provider.js +96 -96
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +95 -95
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +96 -96
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +133 -132
  571. package/dist/session/context.js +151 -150
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +220 -219
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +152 -151
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +89 -89
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -117
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +229 -228
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +125 -124
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +84 -84
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +209 -208
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +155 -154
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +216 -215
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +213 -212
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +15 -15
  622. package/dist/shell.js +139 -139
  623. package/dist/skill/discovery.js +4 -4
  624. package/dist/skill/instructions.js +106 -106
  625. package/dist/skill.js +111 -111
  626. package/dist/snapshot.js +90 -90
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +124 -123
  631. package/dist/tool/plugin/edit.js +119 -119
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +115 -115
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +214 -213
  640. package/dist/tool/plugin/skill.js +110 -110
  641. package/dist/tool/plugin/subagent.js +218 -217
  642. package/dist/tool/plugin/webfetch.js +107 -107
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +115 -115
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +14 -13
  649. package/dist/types/codemode/web.d.ts +8 -0
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +73 -73
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/command-1x11rq2a.js +0 -18
  692. package/dist/chunks/command-95efmqcm.js +0 -247
  693. package/dist/chunks/command-ca6m86r2.js +0 -26
  694. package/dist/chunks/command-gbadjzag.js +0 -4
  695. /package/dist/chunks/{command-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{command-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{command-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{command-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{command-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{command-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{command-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{command-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{command-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{command-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{command-3asan66x.js → worktree-3asan66x.js} +0 -0
  706. /package/dist/chunks/{command-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{command-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{command-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{command-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{command-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{command-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{command-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{command-53557ph1.js → worktree-53557ph1.js} +0 -0
  714. /package/dist/chunks/{command-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{command-6prwharc.js → worktree-6prwharc.js} +0 -0
  716. /package/dist/chunks/{command-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{command-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{command-822emrt2.js → worktree-822emrt2.js} +0 -0
  719. /package/dist/chunks/{command-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{command-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{command-922hggd3.js → worktree-922hggd3.js} +0 -0
  722. /package/dist/chunks/{command-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{command-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{command-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{command-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{command-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{command-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{command-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{command-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{command-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{command-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{command-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{command-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{command-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{command-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{command-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{command-df08tz66.js → worktree-df08tz66.js} +0 -0
  738. /package/dist/chunks/{command-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{command-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{command-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{command-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{command-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{command-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{command-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{command-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{command-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{command-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{command-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{command-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{command-g86h250q.js → worktree-g86h250q.js} +0 -0
  751. /package/dist/chunks/{command-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{command-gftt206x.js → worktree-gftt206x.js} +0 -0
  753. /package/dist/chunks/{command-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{command-hk9envan.js → worktree-hk9envan.js} +0 -0
  755. /package/dist/chunks/{command-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{command-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{command-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{command-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{command-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{command-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{command-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{command-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{command-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{command-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{command-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{command-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{command-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{command-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{command-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{command-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{command-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{command-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{command-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{command-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{command-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{command-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{command-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{command-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{command-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{command-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{command-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{command-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{command-x61499pn.js → worktree-x61499pn.js} +0 -0
  784. /package/dist/chunks/{command-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{command-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{command-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{command-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{command-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{command-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./command-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service43
7
- } from "./command-tbvzjzzt.js";
6
+ Service69
7
+ } from "./worktree-xzj8ke1r.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./command-2a5m3afh.js";
10
+ } from "./worktree-2a5m3afh.js";
11
11
  import {
12
- Service42
13
- } from "./command-7hj3xbrc.js";
12
+ Service56
13
+ } from "./worktree-3ks8vxtx.js";
14
14
  import {
15
- Service58
16
- } from "./command-kzm1fy32.js";
15
+ Service49
16
+ } from "./worktree-xec0sntw.js";
17
17
  import {
18
- Service61
19
- } from "./command-kfep38wt.js";
18
+ Service58
19
+ } from "./worktree-fdz2twvr.js";
20
20
  import {
21
- Service50,
21
+ Service16,
22
22
  resolvePath2
23
- } from "./command-6xmmm4dq.js";
23
+ } from "./worktree-z6m0aj3j.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./command-fxbjtjnd.js";
29
+ } from "./worktree-fxbjtjnd.js";
30
30
  import {
31
- Service47,
31
+ Service53,
32
32
  name15
33
- } from "./command-c89895qa.js";
33
+ } from "./worktree-7hjrp1ry.js";
34
34
  import {
35
- NotFoundError5,
36
- Service32
37
- } from "./command-qa89xvga.js";
35
+ NotFoundError6,
36
+ Service38
37
+ } from "./worktree-8kkw5ddh.js";
38
38
  import {
39
- Service18
40
- } from "./command-eeq2162a.js";
39
+ Service25
40
+ } from "./worktree-nez407vh.js";
41
41
  import {
42
42
  scan2
43
- } from "./command-hy1f76q1.js";
43
+ } from "./worktree-5kssg3wf.js";
44
44
  import {
45
45
  __export
46
- } from "./command-9rqn6x4v.js";
46
+ } from "./worktree-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin38,
52
+ Input: () => Input2,
53
+ Plugin: () => Plugin21,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name5
55
+ name: () => name2
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name5 = "shell";
59
+ var name2 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input5 = Schema.Struct({
73
+ var Input2 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin38 = {
118
+ var Plugin21 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service18;
122
- const jobs = yield* Service58;
121
+ const sessions = yield* Service25;
122
+ const jobs = yield* Service49;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service42;
125
- const access = yield* Service50;
126
- const shell = yield* Service32;
127
- const shellSelect = yield* Service47;
124
+ const environment = yield* Service56;
125
+ const access = yield* Service16;
126
+ const shell = yield* Service38;
127
+ const shellSelect = yield* Service53;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service61;
130
- const config = yield* Service43;
129
+ const permission = yield* Service58;
130
+ const config = yield* Service69;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin38 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name5,
149
+ action: name2,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin38 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name5,
186
+ name: name2,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input5,
189
+ input: Input2,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin38 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError5({ id: info.id });
208
+ return yield* new NotFoundError6({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name5,
222
+ type: name2,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name5];
252
+ const tool = event.tools[name2];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin38, exports_shell2 };
263
+ export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin21, exports_shell2 };
@@ -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 ID11 = Session.ID;
5
- var Info24 = Session.Info;
4
+ var ID9 = Session.ID;
5
+ var Info13 = Session.Info;
6
6
 
7
- export { ID11, Info24, SessionSchema2 };
7
+ export { ID9, Info13, SessionSchema2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin12
9
+ Plugin: () => Plugin43
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin12 = define({
14
+ var Plugin43 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin12 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin12, exports_mcp_codemode_exclusion };
37
+ export { Plugin43, exports_mcp_codemode_exclusion };
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service59,
9
- node62
10
- } from "./command-gw8w5vjt.js";
8
+ Service54,
9
+ node56
10
+ } from "./worktree-acm9d4wv.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./command-xxynqx5z.js";
13
+ } from "./worktree-nvxqht09.js";
14
14
  import {
15
15
  __export
16
- } from "./command-9rqn6x4v.js";
16
+ } from "./worktree-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service55,
25
+ Service: () => Service47,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node58,
31
+ node: () => node49,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service55 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service55, Effect.gen(function* () {
76
- const resolver = yield* Service59;
77
- return Service55.of({
75
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
76
+ const resolver = yield* Service54;
77
+ return Service47.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node58 = makeLocationNode({ service: Service55, layer, deps: [node62] });
95
+ var node49 = makeLocationNode({ service: Service47, layer, deps: [node56] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service55, resolved2, node58, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service47, resolved2, node49, exports_model };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./command-gfcakcdp.js";
4
+ } from "./worktree-raa150y6.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./command-162dzd26.js";
8
+ } from "./worktree-bm2bzb1v.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./command-5t3nmthw.js";
11
+ } from "./worktree-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./command-ec1grn59.js";
14
+ } from "./worktree-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./command-06dxphr1.js";
20
+ } from "./worktree-64kphnzf.js";
21
21
  import {
22
- load5
23
- } from "./command-2ehyz9hr.js";
22
+ load4
23
+ } from "./worktree-z983bpbs.js";
24
24
  import {
25
25
  create3
26
- } from "./command-rdw6cm16.js";
26
+ } from "./worktree-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./command-bz85s9hh.js";
29
+ } from "./worktree-wy8b5sm2.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./command-bbzxkx14.js";
34
+ } from "./worktree-3j8yw4h7.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./command-cq2x0peb.js";
37
+ } from "./worktree-hwys8km5.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./command-ahh5tn9t.js";
41
+ } from "./worktree-8rphe9sf.js";
42
42
  import {
43
43
  estimate2
44
- } from "./command-h6vf3j39.js";
44
+ } from "./worktree-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./command-tdstcens.js";
49
+ } from "./worktree-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./command-9rqn6x4v.js";
52
+ } from "./worktree-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction2 = {};
56
56
  __export(exports_compaction2, {
57
- Service: () => Service10,
57
+ Service: () => Service9,
58
58
  SessionCompaction: () => exports_compaction2,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
- layer: () => layer7,
62
- node: () => node12,
61
+ layer: () => layer6,
62
+ node: () => node11,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service9 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
301
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
302
302
  const bus = yield* Service81;
303
303
  const llm = yield* LLMClient.Service;
304
304
  const db = (yield* Service82).db;
@@ -374,7 +374,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
374
374
  webSocket
375
375
  });
376
376
  };
377
- const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
377
+ const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
378
378
  const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
379
379
  const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
380
380
  const context = input.context;
@@ -607,7 +607,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
607
607
  }
608
608
  }));
609
609
  });
610
- return Service10.of({
610
+ return Service9.of({
611
611
  transform: state.transform,
612
612
  reload: state.reload,
613
613
  enabled: () => state.get().auto,
@@ -616,10 +616,10 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
616
616
  compactManual
617
617
  });
618
618
  }));
619
- var node12 = makeLocationNode({
620
- service: Service10,
621
- layer: layer7,
619
+ var node11 = makeLocationNode({
620
+ service: Service9,
621
+ layer: layer6,
622
622
  deps: [node85, node86, llmClient2]
623
623
  });
624
624
 
625
- export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node12, exports_compaction2 };
625
+ export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./command-922hggd3.js";
4
+ } from "./worktree-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service80,
9
- node84
10
- } from "./command-9g3kc011.js";
8
+ Service79,
9
+ node83
10
+ } from "./worktree-2vkv0cnq.js";
11
11
  import {
12
- Service78,
13
- node82
14
- } from "./command-at45qxm4.js";
12
+ Service76,
13
+ node80
14
+ } from "./worktree-3xb03r27.js";
15
15
  import {
16
16
  create3
17
- } from "./command-rdw6cm16.js";
17
+ } from "./worktree-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./worktree-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
25
+ Error: () => Error4,
26
26
  ID: () => ID5,
27
- Service: () => Service37,
27
+ Service: () => Service51,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node40,
30
- noopLayer: () => noopLayer2
29
+ node: () => node53,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service37 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service51 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service37, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service79;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service76;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node40 = makeLocationNode({
144
- service: Service37,
143
+ var node53 = makeLocationNode({
144
+ service: Service51,
145
145
  layer,
146
- deps: [FSUtil.node, node84, Global.node, node82]
146
+ deps: [FSUtil.node, node83, Global.node, node80]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service37, Service37.of({
148
+ var noopLayer3 = Layer.succeed(Service51, Service51.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
166
+ export { ID5, Error4, Service51, node53, noopLayer3, exports_snapshot2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service3,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
- node: () => node4
11
+ node: () => node8
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service3 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node4 = makeLocationNode({
19
- service: Service3,
18
+ var node8 = makeLocationNode({
19
+ service: Service6,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service3, node4, bound2, exports_instance2 };
32
+ export { Service6, node8, bound2, exports_instance2 };