@opencode/core 0.0.0-dev-20813 → 0.0.0-dev-20817

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 (788) 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 +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{tool-g740sh9d.js → session-011shqrb.js} +16 -16
  8. package/dist/chunks/{tool-mmrg9aqf.js → session-03qzz895.js} +9 -9
  9. package/dist/chunks/{tool-89r43ct5.js → session-04dedvxv.js} +13 -13
  10. package/dist/chunks/{tool-y97hy3kz.js → session-0b5g1ynf.js} +4 -4
  11. package/dist/chunks/{tool-2v35nvf1.js → session-0chkfrse.js} +3 -3
  12. package/dist/chunks/{tool-fsmtef63.js → session-0gz2gxtt.js} +1 -1
  13. package/dist/chunks/{tool-q0xm7vwc.js → session-0j77ygfz.js} +6 -6
  14. package/dist/chunks/{tool-n8dykrk6.js → session-0jkw1j53.js} +6 -6
  15. package/dist/chunks/{tool-0paq2nw3.js → session-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{tool-0vbcp93d.js → session-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{tool-xbc6qp68.js → session-0xvmmvew.js} +6 -6
  18. package/dist/chunks/{tool-atf3qpjr.js → session-0ye1q9k8.js} +3 -3
  19. package/dist/chunks/{tool-r4kpcnjj.js → session-14ra52mf.js} +16 -16
  20. package/dist/chunks/{tool-v0vwmemp.js → session-15e07xhs.js} +38 -38
  21. package/dist/chunks/{tool-ywt8jp22.js → session-1ffvrpkg.js} +6 -6
  22. package/dist/chunks/{tool-bmr56wjg.js → session-1j6m29mr.js} +9 -9
  23. package/dist/chunks/{tool-v1vh7s4p.js → session-1jdt266a.js} +9 -9
  24. package/dist/chunks/{tool-e46pc0p0.js → session-1re0zdsh.js} +11 -11
  25. package/dist/chunks/{tool-8we822j0.js → session-1s1rknwm.js} +6 -6
  26. package/dist/chunks/{tool-7v5jhnkv.js → session-1t0vkw8j.js} +22 -22
  27. package/dist/chunks/{tool-9kr929zm.js → session-1z18ck0n.js} +9 -9
  28. package/dist/chunks/{tool-x5vpq02z.js → session-237zvnvf.js} +46 -46
  29. package/dist/chunks/{tool-9sdheasx.js → session-282jpck2.js} +22 -22
  30. package/dist/chunks/{tool-4ts7tf6z.js → session-2ccvkpx1.js} +2 -2
  31. package/dist/chunks/{tool-vk0rmyh3.js → session-2eb1shd9.js} +89 -89
  32. package/dist/chunks/{tool-dzcfmz1e.js → session-2hhh2075.js} +8 -8
  33. package/dist/chunks/{tool-qz5qj01d.js → session-2p3sps8f.js} +9 -9
  34. package/dist/chunks/{tool-2vvh33eb.js → session-2vvh33eb.js} +2 -2
  35. package/dist/chunks/{tool-btks0zdn.js → session-2wm2qy0t.js} +10 -10
  36. package/dist/chunks/{tool-xxvssexd.js → session-349jabef.js} +13 -13
  37. package/dist/chunks/{tool-trtdj8pg.js → session-3f15f206.js} +4 -4
  38. package/dist/chunks/{tool-3fc6dm20.js → session-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{tool-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{tool-925vt3jd.js → session-3hjrh2v7.js} +24 -24
  41. package/dist/chunks/{tool-3hwn7j4h.js → session-3hwn7j4h.js} +2 -2
  42. package/dist/chunks/{tool-3wg2zg1h.js → session-3p3165qm.js} +21 -21
  43. package/dist/chunks/{tool-4ecb23ee.js → session-3prdm45v.js} +26 -26
  44. package/dist/chunks/{tool-s9k1drx9.js → session-3re3wqbb.js} +22 -22
  45. package/dist/chunks/{tool-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{tool-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{tool-qbbpc6wm.js → session-3vc9xhfk.js} +65 -65
  48. package/dist/chunks/{tool-n7gvkp58.js → session-3w8qf8vz.js} +3 -3
  49. package/dist/chunks/{tool-emtf3agc.js → session-3wdqyjd0.js} +15 -15
  50. package/dist/chunks/{tool-8xddy4fd.js → session-3xfe03jn.js} +15 -15
  51. package/dist/chunks/{tool-c7kyxnph.js → session-3xncpeft.js} +27 -27
  52. package/dist/chunks/{tool-3zsf4n22.js → session-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{tool-54zp89xv.js → session-41tww2cq.js} +21 -21
  54. package/dist/chunks/{tool-s1bpbtq5.js → session-46ddm72j.js} +4 -4
  55. package/dist/chunks/{tool-85y5yndw.js → session-4dacjdce.js} +38 -38
  56. package/dist/chunks/{tool-hqsvs4zs.js → session-4dcqqcsc.js} +14 -14
  57. package/dist/chunks/{tool-6vzsg2xk.js → session-4eh7q83g.js} +20 -20
  58. package/dist/chunks/{tool-y3wpwyaa.js → session-4ns3h2re.js} +6 -6
  59. package/dist/chunks/{tool-kmreqacc.js → session-4swgdw5c.js} +34 -34
  60. package/dist/chunks/{tool-q73a5vx6.js → session-4vav3g7y.js} +29 -29
  61. package/dist/chunks/{tool-554twcs9.js → session-4xrtf71n.js} +5 -5
  62. package/dist/chunks/{tool-ysvssewb.js → session-501hwyrc.js} +28 -28
  63. package/dist/chunks/{tool-8a44f7xw.js → session-50fy1vnb.js} +20 -20
  64. package/dist/chunks/{tool-r94pvvab.js → session-54ma36ye.js} +4 -4
  65. package/dist/chunks/{tool-2xt8eqef.js → session-55tp1d5y.js} +28 -28
  66. package/dist/chunks/{tool-p91ykgce.js → session-5cccvzcx.js} +14 -14
  67. package/dist/chunks/{tool-1hs63qs5.js → session-5es30mnb.js} +18 -18
  68. package/dist/chunks/{tool-5m9w47nd.js → session-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{tool-y5beyqvm.js → session-5pyjqqve.js} +2 -2
  70. package/dist/chunks/{tool-a5y52ckt.js → session-5wdjspt7.js} +10 -10
  71. package/dist/chunks/{tool-9hn6k4tm.js → session-5xtgfte3.js} +8 -8
  72. package/dist/chunks/{tool-axyyyrhn.js → session-681aye2y.js} +7 -7
  73. package/dist/chunks/{tool-7ajnhpk1.js → session-6ecv57ye.js} +44 -44
  74. package/dist/chunks/{tool-2ap2y1fd.js → session-6g2qv0kw.js} +20 -20
  75. package/dist/chunks/{tool-gwb58t0j.js → session-6m8n54p5.js} +5 -5
  76. package/dist/chunks/{tool-425tvsky.js → session-6w3adc23.js} +29 -29
  77. package/dist/chunks/{tool-6xb47vfp.js → session-6xb47vfp.js} +1 -1
  78. package/dist/chunks/{tool-wh6zw745.js → session-6yz0wx8n.js} +5 -5
  79. package/dist/chunks/{tool-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{tool-z3hze8ne.js → session-7ccpjdtp.js} +13 -13
  81. package/dist/chunks/{tool-f146z90h.js → session-7efggc29.js} +19 -19
  82. package/dist/chunks/session-7fj5dwt0.js +18 -0
  83. package/dist/chunks/{tool-eka1fpr9.js → session-7ph0vnsv.js} +8 -8
  84. package/dist/chunks/{tool-72sxpf59.js → session-82v73sw7.js} +3 -3
  85. package/dist/chunks/{tool-84txncab.js → session-84txncab.js} +1 -1
  86. package/dist/chunks/{tool-ty22trqb.js → session-8fmed6qk.js} +18 -18
  87. package/dist/chunks/{tool-yzdmepj7.js → session-8k56d3j9.js} +33 -33
  88. package/dist/chunks/{tool-8m6m0r52.js → session-8m6m0r52.js} +1 -1
  89. package/dist/chunks/{tool-py3kkmfq.js → session-8sze2n9a.js} +6 -6
  90. package/dist/chunks/{tool-t0bwv2mg.js → session-92m62fqz.js} +8 -8
  91. package/dist/chunks/{tool-pv8mdw9p.js → session-9jt23pb5.js} +17 -17
  92. package/dist/chunks/{tool-dhhncb1a.js → session-9phytnf0.js} +13 -13
  93. package/dist/chunks/{tool-r1xx1spa.js → session-9pjc7zfx.js} +26 -26
  94. package/dist/chunks/{tool-bd4cefys.js → session-9vt39rdh.js} +44 -44
  95. package/dist/chunks/{tool-2r0rtpea.js → session-9xv6vz5t.js} +5 -5
  96. package/dist/chunks/{tool-w7jtf2m2.js → session-a3hvh6z4.js} +17 -17
  97. package/dist/chunks/{tool-zw2hpfmh.js → session-addxnjmp.js} +4 -4
  98. package/dist/chunks/{tool-9f33m5nn.js → session-aeg67ceq.js} +18 -18
  99. package/dist/chunks/{tool-kmvrwyj0.js → session-agaqzsty.js} +18 -18
  100. package/dist/chunks/{tool-sk5hrgtc.js → session-at1kfnmk.js} +8 -8
  101. package/dist/chunks/{tool-b3f8fkhc.js → session-b3f8fkhc.js} +2 -2
  102. package/dist/chunks/{tool-wztntb4s.js → session-b7n7nphe.js} +10 -10
  103. package/dist/chunks/{tool-g0wjp6rh.js → session-b7qvpk91.js} +32 -32
  104. package/dist/chunks/{tool-s9yqr8vf.js → session-barg59ws.js} +2 -2
  105. package/dist/chunks/{tool-b6cwqfv7.js → session-be9ppty7.js} +4 -4
  106. package/dist/chunks/{tool-vqvv5sj1.js → session-berf98bx.js} +11 -11
  107. package/dist/chunks/{tool-n5gnndyc.js → session-bh4vaf56.js} +5 -5
  108. package/dist/chunks/{tool-gjb7k4gb.js → session-bm95cgrp.js} +6 -6
  109. package/dist/chunks/{tool-s0bm3vva.js → session-bz60xs8n.js} +4 -4
  110. package/dist/chunks/{tool-c1fqxshp.js → session-c1fqxshp.js} +3 -3
  111. package/dist/chunks/{tool-grg8548d.js → session-c7rcc3yh.js} +15 -15
  112. package/dist/chunks/{tool-r975dkdj.js → session-cads3rpf.js} +9 -9
  113. package/dist/chunks/{tool-7ttfahrj.js → session-cbpvtp7a.js} +21 -21
  114. package/dist/chunks/{tool-bns0etj0.js → session-cvnw30aw.js} +17 -17
  115. package/dist/chunks/{tool-t1c79nbf.js → session-cy7jqycw.js} +24 -24
  116. package/dist/chunks/{tool-h2tk0fkt.js → session-d9d7gec2.js} +38 -38
  117. package/dist/chunks/{tool-njhqdk9p.js → session-depwzj9d.js} +9 -9
  118. package/dist/chunks/{tool-8sgggatz.js → session-dmr144eh.js} +11 -11
  119. package/dist/chunks/{tool-pxeepxyz.js → session-dp1pt8an.js} +15 -15
  120. package/dist/chunks/{tool-ek7jr3ns.js → session-dqx96566.js} +27 -27
  121. package/dist/chunks/{tool-fpgft077.js → session-dzz34pkx.js} +18 -18
  122. package/dist/chunks/{tool-5qd3pb7m.js → session-e3qxr5gk.js} +2 -2
  123. package/dist/chunks/{tool-jxk8k1h3.js → session-e94eh8h6.js} +25 -25
  124. package/dist/chunks/{tool-v009g4pj.js → session-eazypdn2.js} +30 -30
  125. package/dist/chunks/{tool-wkz90rt8.js → session-eddayvfz.js} +33 -33
  126. package/dist/chunks/{tool-sjd53xnz.js → session-edtxpdrn.js} +15 -15
  127. package/dist/chunks/{tool-xagztgbr.js → session-eefmd9cc.js} +11 -11
  128. package/dist/chunks/{tool-eej6y6fw.js → session-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{tool-ef5x83kb.js → session-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{tool-ncqwz9m4.js → session-eqq3j6wn.js} +4 -4
  131. package/dist/chunks/{tool-arnz58tr.js → session-ettcw7r5.js} +22 -22
  132. package/dist/chunks/{tool-bsxq6r4b.js → session-f1xcgdg8.js} +10 -10
  133. package/dist/chunks/{tool-0w22njrp.js → session-f344fhdw.js} +4 -4
  134. package/dist/chunks/{tool-7vnvvjv2.js → session-f5ztvxdg.js} +25 -25
  135. package/dist/chunks/{tool-9ee6s4n8.js → session-fcambvja.js} +20 -20
  136. package/dist/chunks/{tool-7dqw4kz8.js → session-fcrkznn8.js} +5 -5
  137. package/dist/chunks/{tool-vtwnmbmj.js → session-fh4sfhk4.js} +45 -45
  138. package/dist/chunks/{tool-q91aa15s.js → session-fhm11cww.js} +3 -3
  139. package/dist/chunks/{tool-kbjks3k1.js → session-fjbcq42h.js} +15 -15
  140. package/dist/chunks/{tool-b0j0nxe0.js → session-fjgqaz54.js} +11 -11
  141. package/dist/chunks/{tool-wty1egvx.js → session-fm9bxxtp.js} +14 -14
  142. package/dist/chunks/{tool-hg3614cy.js → session-fpecnkgp.js} +5 -5
  143. package/dist/chunks/{tool-khmqacep.js → session-fxaymqdw.js} +4 -4
  144. package/dist/chunks/{tool-c96a6g06.js → session-fxhypqhq.js} +7 -7
  145. package/dist/chunks/{tool-45m1xa6s.js → session-g1fv8jzp.js} +20 -20
  146. package/dist/chunks/{tool-8f47ttfq.js → session-g3j7e31t.js} +51 -51
  147. package/dist/chunks/{tool-mq656cac.js → session-g6ejmd2w.js} +18 -18
  148. package/dist/chunks/{tool-gvtjjnmn.js → session-gagmvkxe.js} +32 -32
  149. package/dist/chunks/{tool-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{tool-qvyrhn6e.js → session-ggxn3t2d.js} +15 -15
  151. package/dist/chunks/{tool-gk8qb678.js → session-gk8qb678.js} +1 -1
  152. package/dist/chunks/{tool-62e165w1.js → session-gkwpygh2.js} +18 -18
  153. package/dist/chunks/{tool-3zdrd34z.js → session-gmf85fz6.js} +35 -35
  154. package/dist/chunks/{tool-s6xmpaa6.js → session-grb3zrdw.js} +20 -20
  155. package/dist/chunks/{tool-bq7fwdt7.js → session-gwv3yg3n.js} +22 -22
  156. package/dist/chunks/{tool-57ht3x3y.js → session-h2c9xbew.js} +16 -16
  157. package/dist/chunks/session-h4vpd8qg.js +253 -0
  158. package/dist/chunks/{tool-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{tool-h7s7r6s9.js → session-h7s7r6s9.js} +2 -2
  160. package/dist/chunks/{tool-p8vvgsz3.js → session-h9mky73t.js} +11 -11
  161. package/dist/chunks/{tool-rmm45jmv.js → session-h9rm1rrn.js} +5 -5
  162. package/dist/chunks/{tool-f29mbr7f.js → session-h9wp8z5w.js} +4 -4
  163. package/dist/chunks/{tool-hgz4x7wa.js → session-hgz4x7wa.js} +1 -1
  164. package/dist/chunks/{tool-43g0zkdb.js → session-hqwdk9gs.js} +4 -4
  165. package/dist/chunks/{tool-qjjb6mfv.js → session-hvjqasxt.js} +53 -53
  166. package/dist/chunks/{tool-spv785rj.js → session-j45z6ztr.js} +34 -34
  167. package/dist/chunks/{tool-p2kce4yd.js → session-j53pnqsd.js} +8 -8
  168. package/dist/chunks/{tool-j56e64zr.js → session-j56e64zr.js} +1 -1
  169. package/dist/chunks/{tool-nxxv0fmq.js → session-j5a4d9xs.js} +1 -1
  170. package/dist/chunks/{tool-a19tekra.js → session-j6wgwt0g.js} +18 -18
  171. package/dist/chunks/{tool-8g8wt927.js → session-jh1m8ye0.js} +60 -60
  172. package/dist/chunks/{tool-tezksqm5.js → session-jtgkn827.js} +35 -35
  173. package/dist/chunks/{tool-c9b8trf9.js → session-jzbq5epj.js} +32 -32
  174. package/dist/chunks/{tool-jb7jfkvq.js → session-k6x2a4xy.js} +3 -3
  175. package/dist/chunks/{tool-ttqh24zm.js → session-k76fn4kw.js} +4 -4
  176. package/dist/chunks/{tool-d2bxdv99.js → session-kc089abe.js} +17 -17
  177. package/dist/chunks/{tool-dmy9ph2f.js → session-kg2cr3cg.js} +23 -23
  178. package/dist/chunks/{tool-wsfr8qtv.js → session-kngnyn2j.js} +11 -11
  179. package/dist/chunks/{tool-kzd9jey1.js → session-kxadca04.js} +8 -8
  180. package/dist/chunks/{tool-wj76ss2k.js → session-kzc3h1h3.js} +4 -4
  181. package/dist/chunks/{tool-1fj0xetq.js → session-m2d9q4jn.js} +5 -5
  182. package/dist/chunks/{tool-m3fdjcah.js → session-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{tool-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{tool-m7sy47b1.js → session-me0k5ekt.js} +15 -15
  185. package/dist/chunks/{tool-1azc6dcz.js → session-mp3rbb49.js} +12 -12
  186. package/dist/chunks/{tool-xbqyc1h2.js → session-mqtyc7nv.js} +18 -18
  187. package/dist/chunks/{tool-4gzj7c1t.js → session-mx52tqxj.js} +332 -332
  188. package/dist/chunks/{tool-j5d5zpn1.js → session-myy4y6cd.js} +14 -14
  189. package/dist/chunks/{tool-b279fhh5.js → session-mzhhdwyj.js} +14 -14
  190. package/dist/chunks/{tool-v8xdx15a.js → session-mzyw748h.js} +32 -32
  191. package/dist/chunks/{tool-y58x68vn.js → session-n82c255f.js} +24 -24
  192. package/dist/chunks/{tool-81mfchgn.js → session-ne17tww6.js} +11 -11
  193. package/dist/chunks/{tool-t2xt9v1m.js → session-nhkp1cs2.js} +19 -19
  194. package/dist/chunks/{tool-8dpb97pb.js → session-npsxd736.js} +3 -3
  195. package/dist/chunks/{tool-j16v8rv3.js → session-nvd0at87.js} +14 -14
  196. package/dist/chunks/{tool-t38scxd0.js → session-nzy09w31.js} +11 -11
  197. package/dist/chunks/{tool-v5wh5e70.js → session-p13jskcr.js} +13 -13
  198. package/dist/chunks/{tool-ts5r4aaq.js → session-p9ecpb36.js} +11 -11
  199. package/dist/chunks/{tool-j8m1p4p1.js → session-pgp1nwjn.js} +4 -4
  200. package/dist/chunks/{tool-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{tool-pknna89w.js → session-pknna89w.js} +1 -1
  202. package/dist/chunks/{tool-w81spx5m.js → session-pq722msy.js} +4 -4
  203. package/dist/chunks/{tool-fyd6zf3q.js → session-pr79hn8s.js} +88 -88
  204. package/dist/chunks/{tool-pyavekn7.js → session-ps8mbryt.js} +5 -5
  205. package/dist/chunks/{tool-abv7bnsr.js → session-psc7v0kw.js} +7 -7
  206. package/dist/chunks/{tool-50ya55tv.js → session-psfx1mdm.js} +3 -3
  207. package/dist/chunks/{tool-n9dy47xj.js → session-pw8aeeb2.js} +12 -12
  208. package/dist/chunks/{tool-v66a0s1a.js → session-py84zvj2.js} +16 -16
  209. package/dist/chunks/{tool-fqb2p7cx.js → session-qa3qhgw8.js} +4 -4
  210. package/dist/chunks/{tool-9tfg4qpg.js → session-qc7jeweq.js} +34 -34
  211. package/dist/chunks/{tool-hw1d7c72.js → session-qgfkhyf4.js} +47 -47
  212. package/dist/chunks/{tool-ph8a80xg.js → session-qhy66he1.js} +46 -46
  213. package/dist/chunks/{tool-ft3hqk2c.js → session-qmqgtz8f.js} +9 -9
  214. package/dist/chunks/{tool-qnc92qwc.js → session-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{tool-8c84x96a.js → session-qp4rsesw.js} +20 -20
  216. package/dist/chunks/{tool-qsdy395h.js → session-qsdy395h.js} +1 -1
  217. package/dist/chunks/{tool-58t9ctfh.js → session-qvsq84aq.js} +50 -50
  218. package/dist/chunks/{tool-sxcaecc0.js → session-r2z489rp.js} +3 -3
  219. package/dist/chunks/{tool-9c3np669.js → session-r61qxybf.js} +8 -8
  220. package/dist/chunks/{tool-7qk8rd46.js → session-r6n7a2ck.js} +16 -16
  221. package/dist/chunks/{tool-qp5x3va9.js → session-r6tsex1v.js} +16 -16
  222. package/dist/chunks/{tool-rdw6cm16.js → session-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{tool-rert0e01.js → session-rert0e01.js} +2 -2
  224. package/dist/chunks/{tool-rj3eygr5.js → session-rj3eygr5.js} +2 -2
  225. package/dist/chunks/{tool-kj0cy399.js → session-rpjgfq5s.js} +9 -9
  226. package/dist/chunks/{tool-sa8ekw3f.js → session-sa8ekw3f.js} +2 -2
  227. package/dist/chunks/{tool-zjz1t4e7.js → session-sarp64ez.js} +6 -6
  228. package/dist/chunks/{tool-gvp3we1m.js → session-sr9n03w5.js} +22 -22
  229. package/dist/chunks/{tool-zc9nacpj.js → session-sx89kwj8.js} +34 -34
  230. package/dist/chunks/{tool-gbt6w4kb.js → session-t550f9t1.js} +6 -6
  231. package/dist/chunks/{tool-8xxg8z7m.js → session-tav4crkk.js} +3 -3
  232. package/dist/chunks/{tool-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{tool-89znhe33.js → session-tcezcvh9.js} +4 -4
  234. package/dist/chunks/{tool-tdstcens.js → session-tdstcens.js} +1 -1
  235. package/dist/chunks/{tool-7jyc1k1k.js → session-tv4zccwr.js} +32 -32
  236. package/dist/chunks/{tool-a5xp7zm4.js → session-ty8xby1n.js} +5 -5
  237. package/dist/chunks/{tool-pzc00pfe.js → session-tywsnt0j.js} +19 -19
  238. package/dist/chunks/{tool-xtfwraxg.js → session-tyxzmh0h.js} +30 -30
  239. package/dist/chunks/{tool-tyytaxap.js → session-tyytaxap.js} +1 -1
  240. package/dist/chunks/{tool-v7p4zvkq.js → session-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{tool-2m2pwtqz.js → session-v8zj4kq1.js} +11 -11
  242. package/dist/chunks/{tool-veqvce7d.js → session-veqvce7d.js} +1 -1
  243. package/dist/chunks/{tool-q7g7dxqg.js → session-vt9xft4x.js} +13 -13
  244. package/dist/chunks/{tool-5dk99411.js → session-vwpr87xr.js} +9 -9
  245. package/dist/chunks/{tool-zx95ftzb.js → session-vx3jgdek.js} +3 -3
  246. package/dist/chunks/{tool-e5xxn5fd.js → session-vzehzdwg.js} +31 -31
  247. package/dist/chunks/{tool-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{tool-a6a0xyhp.js → session-w0kfrs2s.js} +11 -11
  249. package/dist/chunks/{tool-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{tool-wd87259q.js → session-wd87259q.js} +1 -1
  251. package/dist/chunks/{tool-tzhsj38v.js → session-wh6pa4pr.js} +10 -10
  252. package/dist/chunks/{tool-qn0k908c.js → session-wkb4efth.js} +24 -24
  253. package/dist/chunks/{tool-tx4mgqww.js → session-wmz8e7ts.js} +6 -6
  254. package/dist/chunks/{tool-2hbmtk01.js → session-x8rk6keb.js} +4 -4
  255. package/dist/chunks/{tool-xfkkasph.js → session-xfkkasph.js} +1 -1
  256. package/dist/chunks/{tool-e2xzawa4.js → session-xm1z07h8.js} +11 -11
  257. package/dist/chunks/{tool-xxxth0pp.js → session-y0gw2tv7.js} +5 -5
  258. package/dist/chunks/{tool-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{tool-xyee9vg5.js → session-y1qf9c4t.js} +34 -34
  260. package/dist/chunks/{tool-n67mmnz4.js → session-y24qyebb.js} +9 -9
  261. package/dist/chunks/{tool-gfkgxe8r.js → session-y711060r.js} +18 -18
  262. package/dist/chunks/{tool-y71avatq.js → session-y71avatq.js} +1 -1
  263. package/dist/chunks/{tool-pgg7zhs7.js → session-y83nr2aj.js} +13 -13
  264. package/dist/chunks/{tool-rg9ywjz0.js → session-y9k761rw.js} +11 -11
  265. package/dist/chunks/{tool-8zkm93f1.js → session-ydq9tfb9.js} +14 -14
  266. package/dist/chunks/{tool-at5p6ayt.js → session-yepcbv8y.js} +30 -30
  267. package/dist/chunks/session-yk7bhpfb.js +26 -0
  268. package/dist/chunks/{tool-tczqeqc0.js → session-yk8rkh3j.js} +33 -33
  269. package/dist/chunks/{tool-aw87ckgg.js → session-ykn1pkv9.js} +24 -24
  270. package/dist/chunks/{tool-bfegkxfd.js → session-ymgkxg7n.js} +11 -11
  271. package/dist/chunks/{tool-y78g4pym.js → session-ynrarg70.js} +9 -9
  272. package/dist/chunks/{tool-yp2x3t23.js → session-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{tool-gn6q0njp.js → session-yq695pqn.js} +31 -31
  274. package/dist/chunks/{tool-q5e7cmwt.js → session-yqc6bamn.js} +1 -1
  275. package/dist/chunks/{tool-tc6f0aex.js → session-yz2p3vwa.js} +20 -20
  276. package/dist/chunks/{tool-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{tool-1yd7h3h8.js → session-z3507kbh.js} +11 -11
  278. package/dist/chunks/{tool-8pcna3e1.js → session-z5ahmw75.js} +181 -181
  279. package/dist/chunks/{tool-d65vh0bp.js → session-z6bsd555.js} +24 -24
  280. package/dist/chunks/{tool-x7wafmke.js → session-zbv4c5x4.js} +10 -10
  281. package/dist/chunks/{tool-eh6ej367.js → session-zjtrsxny.js} +5 -5
  282. package/dist/chunks/{tool-0r3c1bmw.js → session-zmr78fwr.js} +5 -5
  283. package/dist/chunks/{tool-rsjzvmnv.js → session-zp6z2hbj.js} +25 -25
  284. package/dist/chunks/{tool-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{tool-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +120 -120
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +120 -120
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +87 -87
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +95 -95
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +72 -72
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +108 -108
  426. package/dist/form.js +88 -88
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +105 -105
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +101 -101
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +81 -81
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +74 -74
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +87 -87
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +111 -111
  470. package/dist/mcp/instructions.js +129 -129
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +101 -101
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +84 -84
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +119 -119
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +86 -86
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +78 -78
  488. package/dist/plugin/command.js +104 -104
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +97 -97
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +76 -76
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +350 -350
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +6 -6
  555. package/dist/plugin.js +224 -224
  556. package/dist/project/schema.js +4 -4
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +90 -90
  559. package/dist/provider.js +103 -103
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +101 -101
  563. package/dist/reference/instructions.js +89 -89
  564. package/dist/reference.js +91 -91
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +3 -3
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +131 -131
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +213 -213
  580. package/dist/session/execution.js +127 -127
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +2 -2
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +107 -107
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +89 -89
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +212 -212
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +112 -112
  629. package/dist/snapshot.js +93 -93
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +128 -128
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +124 -124
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +122 -122
  641. package/dist/tool/plugin/question.js +105 -105
  642. package/dist/tool/plugin/read.js +125 -125
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +113 -113
  645. package/dist/tool/plugin/subagent.js +206 -206
  646. package/dist/tool/plugin/webfetch.js +112 -112
  647. package/dist/tool/plugin/websearch.js +116 -116
  648. package/dist/tool/plugin/write.js +122 -122
  649. package/dist/tool/read-filesystem.js +100 -100
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +81 -81
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +8 -8
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +100 -100
  685. package/package.json +8 -8
  686. package/dist/chunks/tool-bne3pjzh.js +0 -26
  687. package/dist/chunks/tool-ht5y0zrb.js +0 -18
  688. package/dist/chunks/tool-kjvjttp2.js +0 -253
  689. /package/dist/chunks/{tool-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{tool-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{tool-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{tool-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{tool-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{tool-24dcb14g.js → session-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{tool-2710q6r3.js → session-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{tool-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{tool-2bv980vf.js → session-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{tool-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{tool-359p4xyc.js → session-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{tool-3asan66x.js → session-3asan66x.js} +0 -0
  701. /package/dist/chunks/{tool-3t0ybcrp.js → session-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{tool-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{tool-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{tool-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{tool-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{tool-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{tool-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{tool-53557ph1.js → session-53557ph1.js} +0 -0
  709. /package/dist/chunks/{tool-550bvhaj.js → session-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{tool-6prwharc.js → session-6prwharc.js} +0 -0
  711. /package/dist/chunks/{tool-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{tool-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{tool-7m9af43g.js → session-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{tool-822emrt2.js → session-822emrt2.js} +0 -0
  715. /package/dist/chunks/{tool-84wd9syh.js → session-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{tool-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{tool-8n3pysct.js → session-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{tool-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{tool-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{tool-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{tool-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{tool-af5trqkr.js → session-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{tool-afrmfg78.js → session-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{tool-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{tool-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{tool-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{tool-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{tool-bw78ga2c.js → session-bw78ga2c.js} +0 -0
  729. /package/dist/chunks/{tool-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{tool-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{tool-d9fn303g.js → session-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{tool-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{tool-dajrwvna.js → session-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{tool-dap0rakb.js → session-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{tool-df08tz66.js → session-df08tz66.js} +0 -0
  736. /package/dist/chunks/{tool-dy18nga0.js → session-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{tool-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{tool-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{tool-ec1grn59.js → session-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{tool-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{tool-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{tool-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{tool-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{tool-faypxj3z.js → session-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{tool-fd410y7t.js → session-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{tool-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{tool-g86h250q.js → session-g86h250q.js} +0 -0
  748. /package/dist/chunks/{tool-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{tool-gftt206x.js → session-gftt206x.js} +0 -0
  750. /package/dist/chunks/{tool-hk9envan.js → session-hk9envan.js} +0 -0
  751. /package/dist/chunks/{tool-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{tool-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{tool-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{tool-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{tool-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{tool-jze0r7bz.js → session-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{tool-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{tool-m18g726c.js → session-m18g726c.js} +0 -0
  759. /package/dist/chunks/{tool-mp448xyj.js → session-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{tool-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{tool-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{tool-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{tool-njntx4h6.js → session-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{tool-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{tool-pyv0edze.js → session-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{tool-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{tool-q74kybfr.js → session-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{tool-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{tool-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{tool-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{tool-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{tool-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{tool-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{tool-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{tool-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{tool-ve7vex1e.js → session-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{tool-w803qqfp.js → session-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{tool-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{tool-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{tool-wtztk69x.js → session-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{tool-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{tool-x61499pn.js → session-x61499pn.js} +0 -0
  783. /package/dist/chunks/{tool-y44na4kk.js → session-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{tool-y8f7s663.js → session-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{tool-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{tool-ym463w8f.js → session-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{tool-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{tool-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-z5v4ffb3.js";
3
+ } from "./session-z5v4ffb3.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./tool-jb7jfkvq.js";
7
+ } from "./session-k6x2a4xy.js";
8
8
  import {
9
9
  Service84,
10
10
  node88
11
- } from "./tool-2hbmtk01.js";
11
+ } from "./session-x8rk6keb.js";
12
12
  import {
13
- Service80,
14
- node82
15
- } from "./tool-1azc6dcz.js";
13
+ Service82,
14
+ node86
15
+ } from "./session-mp3rbb49.js";
16
16
  import {
17
- ID16,
17
+ ID17,
18
18
  Current3,
19
19
  Info28,
20
20
  UpdateInput4,
21
21
  Event20,
22
22
  Vcs3
23
- } from "./tool-hg3614cy.js";
23
+ } from "./session-fpecnkgp.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./tool-rj3eygr5.js";
27
+ } from "./session-rj3eygr5.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./tool-sa8ekw3f.js";
30
+ } from "./session-sa8ekw3f.js";
31
31
  import {
32
32
  __export
33
- } from "./tool-9rqn6x4v.js";
33
+ } from "./session-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID15,
39
+ ID: () => ID16,
40
40
  Info: () => Info27,
41
- NotFoundError: () => NotFoundError11,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service81,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node81,
46
+ node: () => node85,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID15 = ID16;
59
+ var ID16 = ID17;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
62
  var Info27 = Info28;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID15
65
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
66
+ projectID: ID16
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service79 extends Context.Service()("@opencode/Project") {
77
+ class Service81 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,9 +98,9 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service79, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service80;
103
+ const git = yield* Service82;
104
104
  const proc = yield* AppProcess.Service;
105
105
  const bus = yield* Service84;
106
106
  const db = (yield* Service85).db;
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID15.global,
151
+ previous: project.previous ?? ID16.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -171,7 +171,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
171
171
  time_updated: Date.now()
172
172
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
173
173
  if (!row)
174
- return yield* new NotFoundError11({ projectID: input.projectID });
174
+ return yield* new NotFoundError10({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
176
  yield* bus.publish(Event20.Updated, project);
177
177
  return project;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
187
187
  yield* bus.publish(Event20.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID15.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID15.make(root) : undefined;
226
+ return root ? ID16.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID15.make(node) : undefined;
242
+ return node ? ID16.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
248
248
  const id = previous ?? (yield* hgRoot(worktree));
249
249
  return {
250
250
  previous,
251
- id: id ?? ID15.global,
251
+ id: id ?? ID16.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* persist({
267
267
  previous,
268
- id: id ?? ID15.global,
268
+ id: id ?? ID16.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID15.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID15.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -304,20 +304,20 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
304
304
  yield* bus.publish(Event20.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service79.of({ list, update, activate, resolve, sweep });
307
+ return Service81.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node81 = makeGlobalNode({
310
- service: Service79,
309
+ var node85 = makeGlobalNode({
310
+ service: Service81,
311
311
  layer,
312
- deps: [node88, node89, FSUtil.node, node82, AppProcess.node]
312
+ deps: [node88, node89, FSUtil.node, node86, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service79;
317
+ const project = yield* Service81;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node81]
320
+ deps: [node85]
321
321
  });
322
322
 
323
- export { ID15, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service79, node81, sweepNode2, exports_project };
323
+ export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError10, root2, Service81, node85, sweepNode2, exports_project };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./tool-zr2ceqn5.js";
3
+ } from "./session-zr2ceqn5.js";
4
4
  import {
5
- Service50
6
- } from "./tool-d65vh0bp.js";
5
+ Service70
6
+ } from "./session-z6bsd555.js";
7
7
  import {
8
- Service49
9
- } from "./tool-ph8a80xg.js";
8
+ Service69
9
+ } from "./session-qhy66he1.js";
10
10
  import {
11
- Service44,
11
+ Service16,
12
12
  statements2,
13
13
  decision2
14
- } from "./tool-tzhsj38v.js";
14
+ } from "./session-wh6pa4pr.js";
15
15
  import {
16
16
  __export
17
- } from "./tool-9rqn6x4v.js";
17
+ } from "./session-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make3
24
+ make: () => make4
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make3 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service49;
35
- const managed = yield* Service44;
36
- const watcher = yield* Service50;
33
+ var make4 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service69;
35
+ const managed = yield* Service16;
36
+ const watcher = yield* Service70;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make3, LoadError2, exports_module };
121
+ export { make4, LoadError2, exports_module };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service84
3
- } from "./tool-2hbmtk01.js";
3
+ } from "./session-x8rk6keb.js";
4
4
  import {
5
- Service83
6
- } from "./tool-x7wafmke.js";
5
+ Service79
6
+ } from "./session-zbv4c5x4.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./tool-rdw6cm16.js";
12
+ } from "./session-rdw6cm16.js";
13
13
  import {
14
- Service28,
14
+ Service38,
15
15
  awaitActivation2
16
- } from "./tool-ht5y0zrb.js";
16
+ } from "./session-7fj5dwt0.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./tool-8pcna3e1.js";
21
+ } from "./session-z5ahmw75.js";
22
22
  import {
23
23
  __export
24
- } from "./tool-9rqn6x4v.js";
24
+ } from "./session-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event2,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event4,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service28,
33
+ Service: () => Service38,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node16
37
+ node: () => node25
38
38
  });
39
- import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service28, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
44
44
  const bus = yield* Service84;
45
- const kv = yield* Service83;
45
+ const kv = yield* Service79;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service28.of({
208
+ return Service38.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node16 = Node.makeLocationNode({
226
- service: Service28,
225
+ var node25 = Node.makeLocationNode({
226
+ service: Service38,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
231
+ export { node25, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make20,
14
- node: () => node84,
13
+ make: () => make21,
14
+ node: () => node77,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make20 = (driver) => driver;
32
+ var make21 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node84 = registryNode2({});
47
+ var node77 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node84, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node77, exports_driver };
@@ -2,42 +2,42 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./tool-z5v4ffb3.js";
5
+ } from "./session-z5v4ffb3.js";
6
6
  import {
7
- Service78,
8
- node80
9
- } from "./tool-b279fhh5.js";
7
+ Service80,
8
+ node84
9
+ } from "./session-mzhhdwyj.js";
10
10
  import {
11
- Service75,
12
- node77
13
- } from "./tool-v8xdx15a.js";
11
+ Service20,
12
+ node22
13
+ } from "./session-mzyw748h.js";
14
14
  import {
15
15
  __export
16
- } from "./tool-9rqn6x4v.js";
16
+ } from "./session-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event19,
27
+ Event: () => Event3,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput5,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError10,
34
+ NotFoundError: () => NotFoundError3,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service74,
36
+ Service: () => Service19,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node76
40
+ node: () => node21
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content3 = Schema.Struct({
78
+ var Content2 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput5 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event19 = FileSystem.Event;
108
+ var Event3 = FileSystem.Event;
109
109
 
110
- class Service74 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service19 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service74, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service78;
115
- const search = yield* Service75;
114
+ const location = yield* Service80;
115
+ const search = yield* Service20;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service74, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError10({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError10({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError10({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service74.of({
134
+ return Service19.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError10({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError3({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service74, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service74, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node76 = makeLocationNode({
175
- service: Service74,
174
+ var node21 = makeLocationNode({
175
+ service: Service19,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node80, node77]
177
+ deps: [FSUtil.node, node84, node22]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event19, Service74, node76, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service19, node21, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service65
3
- } from "./tool-4ecb23ee.js";
2
+ Service83
3
+ } from "./session-3prdm45v.js";
4
4
  import {
5
- Service69
6
- } from "./tool-8g8wt927.js";
5
+ Service60
6
+ } from "./session-jh1m8ye0.js";
7
7
  import {
8
- ID18,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service82
14
- } from "./tool-rsjzvmnv.js";
13
+ Service29
14
+ } from "./session-zp6z2hbj.js";
15
15
  import {
16
16
  __export
17
- } from "./tool-9rqn6x4v.js";
17
+ } from "./session-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
22
- Input: () => Input9,
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
+ Input: () => Input11,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin29,
25
- WebSearchTool: () => exports_websearch2,
26
- description: () => description4,
27
- name: () => name9
24
+ Plugin: () => Plugin13,
25
+ WebSearchTool: () => exports_websearch,
26
+ description: () => description5,
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name9 = "websearch";
32
+ var name11 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input9 = Schema.Struct({
42
+ var Input11 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID18,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin29 = {
49
+ var Plugin13 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service69;
53
- const forms = yield* Service65;
54
- const websearch = yield* Service82;
52
+ const permission = yield* Service60;
53
+ const forms = yield* Service83;
54
+ const websearch = yield* Service29;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name9,
56
+ name: name11,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input9,
58
+ description: description5,
59
+ input: Input11,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name9,
63
+ action: name11,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name9];
179
+ delete event.tools[name11];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name9, NO_RESULTS2, description4, Input9, Plugin29, exports_websearch2 };
187
+ export { name11, NO_RESULTS2, description5, Input11, Plugin13, exports_websearch };