@opencode/core 0.0.0-dev-21426 → 0.0.0-dev-21430

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 (796) 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/{config-feaxzjj3.js → location-020242mm.js} +15 -15
  8. package/dist/chunks/{config-034tev2y.js → location-034tev2y.js} +2 -2
  9. package/dist/chunks/{config-1j2f4qsr.js → location-07wcwaet.js} +8 -8
  10. package/dist/chunks/{config-snf3gk9w.js → location-0f97zcpq.js} +10 -10
  11. package/dist/chunks/{config-fy1v1v3w.js → location-0ferak4p.js} +8 -8
  12. package/dist/chunks/{config-52hc0txd.js → location-0qe50jst.js} +11 -11
  13. package/dist/chunks/{config-bspgb8ad.js → location-0spnvnyv.js} +20 -20
  14. package/dist/chunks/{config-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{config-2fnj739t.js → location-1a95124r.js} +9 -9
  16. package/dist/chunks/{config-1ep2p91f.js → location-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{config-crwbn2y9.js → location-1g1nqesa.js} +22 -22
  18. package/dist/chunks/{config-s8a7kdxx.js → location-1wyvxh86.js} +9 -9
  19. package/dist/chunks/{config-zgxkm1v3.js → location-1x8ctv13.js} +5 -5
  20. package/dist/chunks/{config-waxg8h9f.js → location-21b844t5.js} +23 -23
  21. package/dist/chunks/{config-8hedw0ek.js → location-22zynyp8.js} +32 -32
  22. package/dist/chunks/{config-xmcppnpw.js → location-28zjsd3e.js} +19 -19
  23. package/dist/chunks/{config-80j02cg4.js → location-2excde36.js} +18 -18
  24. package/dist/chunks/{config-42deak0c.js → location-2pz8qhez.js} +9 -9
  25. package/dist/chunks/{config-7c4qa9ts.js → location-2tbztjht.js} +23 -23
  26. package/dist/chunks/{config-enx3y4vw.js → location-313pbxt2.js} +24 -24
  27. package/dist/chunks/{config-y8ar35d9.js → location-338tmc2w.js} +32 -32
  28. package/dist/chunks/{config-x94symkw.js → location-338tp1sw.js} +11 -11
  29. package/dist/chunks/{config-2p600f2y.js → location-38vrzhk4.js} +13 -13
  30. package/dist/chunks/{config-yqtzk2wa.js → location-3adnxn06.js} +4 -4
  31. package/dist/chunks/{config-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{config-3hwn7j4h.js → location-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{config-6907env3.js → location-3r2m892a.js} +31 -31
  34. package/dist/chunks/{config-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{config-kw6jxsk0.js → location-3v68m8yr.js} +1 -1
  36. package/dist/chunks/{config-txkw7pkq.js → location-3y1df9hb.js} +3 -3
  37. package/dist/chunks/{config-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  38. package/dist/chunks/location-48fz5dd2.js +257 -0
  39. package/dist/chunks/{config-zs8bw0hs.js → location-4pdt9v4n.js} +6 -6
  40. package/dist/chunks/{config-sx7k6tns.js → location-4qxrp1dj.js} +36 -36
  41. package/dist/chunks/{config-9pw60qma.js → location-4sem758r.js} +10 -10
  42. package/dist/chunks/{config-e885zgyg.js → location-516j2px1.js} +15 -15
  43. package/dist/chunks/{config-54ma36ye.js → location-54ma36ye.js} +1 -1
  44. package/dist/chunks/{config-h63x9vp7.js → location-5663gavc.js} +20 -20
  45. package/dist/chunks/{config-drwq78ky.js → location-57b9ws8p.js} +5 -5
  46. package/dist/chunks/{config-rs1m2fsr.js → location-5csbs030.js} +14 -14
  47. package/dist/chunks/{config-vep9yay1.js → location-5g57z1ma.js} +4 -4
  48. package/dist/chunks/{config-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  49. package/dist/chunks/{config-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
  50. package/dist/chunks/{config-amqabej0.js → location-62v5rbec.js} +13 -13
  51. package/dist/chunks/{config-zq3wqe3s.js → location-6559rxr6.js} +6 -6
  52. package/dist/chunks/{config-6827pfxn.js → location-6827pfxn.js} +1 -1
  53. package/dist/chunks/{config-vjyee8yk.js → location-68d09h7d.js} +13 -13
  54. package/dist/chunks/{config-vdac0er2.js → location-6fbgyqx2.js} +26 -26
  55. package/dist/chunks/{config-3bh6rbdv.js → location-6hq2s9rg.js} +37 -37
  56. package/dist/chunks/{config-1vmdeh7r.js → location-6k57be7g.js} +30 -30
  57. package/dist/chunks/{config-6xb47vfp.js → location-6xb47vfp.js} +1 -1
  58. package/dist/chunks/{config-mq70b39w.js → location-6xp44e9y.js} +19 -19
  59. package/dist/chunks/{config-yr1dkphx.js → location-74mnjb9k.js} +16 -16
  60. package/dist/chunks/{config-461nxmbv.js → location-76rvckpe.js} +5 -5
  61. package/dist/chunks/{config-775gj3j1.js → location-775gj3j1.js} +2 -2
  62. package/dist/chunks/{config-s018hf8z.js → location-77y8wgeh.js} +3 -3
  63. package/dist/chunks/{config-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{config-pq0y0frh.js → location-7sn7bbtk.js} +8 -8
  65. package/dist/chunks/{config-a20pjse5.js → location-7v6vae4w.js} +3 -3
  66. package/dist/chunks/{config-e7e0kxqn.js → location-829bc28g.js} +17 -17
  67. package/dist/chunks/{config-zp3yatdq.js → location-83xz3hbj.js} +26 -26
  68. package/dist/chunks/{config-84txncab.js → location-84txncab.js} +1 -1
  69. package/dist/chunks/{config-59zfea0h.js → location-8ft9mnds.js} +22 -22
  70. package/dist/chunks/{config-v9vmdvvc.js → location-8h9rdd29.js} +54 -54
  71. package/dist/chunks/{config-8m6m0r52.js → location-8m6m0r52.js} +1 -1
  72. package/dist/chunks/{config-8mywswrd.js → location-8mywswrd.js} +1 -1
  73. package/dist/chunks/{config-rn6he5ra.js → location-8n6gk45f.js} +8 -8
  74. package/dist/chunks/{config-w4ac3p39.js → location-8w3e00az.js} +43 -43
  75. package/dist/chunks/{config-07pek4cx.js → location-8zbn9c46.js} +2 -2
  76. package/dist/chunks/{config-v3gvycs7.js → location-98hve3fq.js} +28 -28
  77. package/dist/chunks/{config-6gb59z7y.js → location-9bh5q6pj.js} +2 -2
  78. package/dist/chunks/{config-0asg5kcx.js → location-9ceytgjn.js} +30 -30
  79. package/dist/chunks/{config-dv1qgsyq.js → location-9hn6k4tm.js} +4 -4
  80. package/dist/chunks/{config-cntk2pgp.js → location-9jfsax2t.js} +14 -14
  81. package/dist/chunks/{config-e8k3m892.js → location-9p7ryr2b.js} +7 -7
  82. package/dist/chunks/{config-w90xvrpk.js → location-9t8hw933.js} +21 -21
  83. package/dist/chunks/{config-9wev2pgg.js → location-9wev2pgg.js} +1 -1
  84. package/dist/chunks/{config-gj0f7hmv.js → location-9zsn4ryv.js} +11 -11
  85. package/dist/chunks/{config-e2b9fjdx.js → location-a1cwsqdb.js} +32 -32
  86. package/dist/chunks/{config-8v71k0zv.js → location-a2wnnmtd.js} +4 -4
  87. package/dist/chunks/{config-t95zrypp.js → location-aacha31a.js} +12 -12
  88. package/dist/chunks/{config-2t62vza4.js → location-ac8jf0gv.js} +27 -27
  89. package/dist/chunks/{config-x661k3y3.js → location-addxnjmp.js} +4 -4
  90. package/dist/chunks/{config-byhx8kym.js → location-aecj3y8p.js} +19 -19
  91. package/dist/chunks/{config-am1vdybj.js → location-am1vdybj.js} +4 -4
  92. package/dist/chunks/{config-48q2nkwy.js → location-ar4nzpwm.js} +15 -15
  93. package/dist/chunks/{config-8bt0p1st.js → location-asa024m6.js} +55 -55
  94. package/dist/chunks/{config-n7d88tpn.js → location-axe3mf62.js} +3 -3
  95. package/dist/chunks/{config-ezf7jcbt.js → location-b04q5t5m.js} +22 -22
  96. package/dist/chunks/{config-20b9eb0y.js → location-b28fxhss.js} +13 -13
  97. package/dist/chunks/{config-qne3fa44.js → location-b674v2dg.js} +5 -5
  98. package/dist/chunks/{config-f25fcgnf.js → location-bfk5x8m4.js} +24 -24
  99. package/dist/chunks/{config-35qg6615.js → location-bhva45zq.js} +12 -12
  100. package/dist/chunks/{config-bjx1sjef.js → location-bjx1sjef.js} +2 -2
  101. package/dist/chunks/{config-mtshcjcm.js → location-bvjxnz85.js} +4 -4
  102. package/dist/chunks/{config-nb4t1njv.js → location-bzb0xpje.js} +22 -22
  103. package/dist/chunks/{config-bzeyqsqd.js → location-bzeyqsqd.js} +1 -1
  104. package/dist/chunks/{config-2hyn57wn.js → location-bzgnhg0n.js} +22 -22
  105. package/dist/chunks/{config-9r5hwe0j.js → location-c3dg826k.js} +23 -23
  106. package/dist/chunks/{config-cwa6csj7.js → location-c765mh8b.js} +9 -9
  107. package/dist/chunks/{config-zn2p44k5.js → location-cpq8ekdt.js} +25 -25
  108. package/dist/chunks/{config-vgx6weyf.js → location-ctz7jbry.js} +7 -7
  109. package/dist/chunks/{config-b2dv2ce0.js → location-d1ftyfm1.js} +17 -17
  110. package/dist/chunks/{config-f1p7pa8k.js → location-d63h9wdy.js} +25 -25
  111. package/dist/chunks/{config-ngz91grz.js → location-d63sgyqh.js} +9 -9
  112. package/dist/chunks/{config-vm948sk0.js → location-d99zq9a9.js} +24 -24
  113. package/dist/chunks/{config-e55fgsma.js → location-dbapnq8x.js} +3 -3
  114. package/dist/chunks/{config-cbtvbhw1.js → location-demjctvx.js} +26 -26
  115. package/dist/chunks/{config-bmyy5mys.js → location-dgsn3vfw.js} +33 -33
  116. package/dist/chunks/{config-dgzq35zb.js → location-dgzq35zb.js} +3 -3
  117. package/dist/chunks/{config-m70sbz6t.js → location-dhmh7aw6.js} +4 -4
  118. package/dist/chunks/{config-3dzxwfjp.js → location-dkrr3wvc.js} +16 -16
  119. package/dist/chunks/{config-8fchc7zc.js → location-dmw8mvpz.js} +30 -30
  120. package/dist/chunks/{config-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  121. package/dist/chunks/{config-2pq7936q.js → location-dsyqdg7y.js} +44 -44
  122. package/dist/chunks/{config-b4ytdsdb.js → location-dys7k0s0.js} +11 -11
  123. package/dist/chunks/{config-jwsr2jqg.js → location-e357gpbq.js} +9 -9
  124. package/dist/chunks/{config-9h0kmg1t.js → location-e3naqsya.js} +20 -20
  125. package/dist/chunks/{config-zfpzcwk9.js → location-e3x0acme.js} +21 -21
  126. package/dist/chunks/{config-e80seqcp.js → location-e80seqcp.js} +1 -1
  127. package/dist/chunks/{config-hvvwjwyw.js → location-e9vjet1j.js} +4 -4
  128. package/dist/chunks/{config-eej6y6fw.js → location-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{config-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{config-wx0954d0.js → location-ek46kvq2.js} +8 -8
  131. package/dist/chunks/{config-xp361r34.js → location-ets9hpqy.js} +18 -18
  132. package/dist/chunks/{config-4xe88sh8.js → location-f32pwxtn.js} +11 -11
  133. package/dist/chunks/{config-0tqq5k4f.js → location-f5gknkdx.js} +16 -16
  134. package/dist/chunks/{config-7dqw4kz8.js → location-fcrkznn8.js} +5 -5
  135. package/dist/chunks/{config-fcy631f0.js → location-fcy631f0.js} +1 -1
  136. package/dist/chunks/{config-87ywznqb.js → location-fd08frkx.js} +5 -5
  137. package/dist/chunks/{config-1wsr3dh3.js → location-fmvmqg86.js} +23 -23
  138. package/dist/chunks/{config-n5ydym07.js → location-fn7yw61f.js} +15 -15
  139. package/dist/chunks/{config-fn9t717r.js → location-fn9t717r.js} +3 -3
  140. package/dist/chunks/{config-vz4s7aff.js → location-fp99e1xt.js} +15 -15
  141. package/dist/chunks/{config-s5met55r.js → location-fqtvmpfq.js} +8 -8
  142. package/dist/chunks/{config-8ntw25jb.js → location-fr4cd36j.js} +12 -12
  143. package/dist/chunks/{config-awrk3fb0.js → location-fwy8kg2k.js} +10 -10
  144. package/dist/chunks/{config-hq3c8me3.js → location-fxaymqdw.js} +4 -4
  145. package/dist/chunks/{config-nqbnnj1c.js → location-g4fwqmp5.js} +13 -13
  146. package/dist/chunks/{config-gjqsfh0v.js → location-gafzn91c.js} +24 -24
  147. package/dist/chunks/{config-20vf2h00.js → location-garxcygd.js} +24 -24
  148. package/dist/chunks/{config-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{config-c42rzcd8.js → location-gg3qganw.js} +11 -11
  150. package/dist/chunks/{config-g2g98bkp.js → location-gg5w8wvf.js} +10 -10
  151. package/dist/chunks/{config-nt0mbjfb.js → location-gg795btt.js} +34 -23
  152. package/dist/chunks/{config-qa96c720.js → location-gnx3cc6w.js} +8 -8
  153. package/dist/chunks/{config-f4p4s2dp.js → location-h01qn727.js} +16 -16
  154. package/dist/chunks/{config-chwf2abb.js → location-h1s5a7fb.js} +18 -18
  155. package/dist/chunks/{config-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{config-h6310vsd.js → location-h9pnpq88.js} +4 -4
  157. package/dist/chunks/{config-nwb8xr43.js → location-hfhp5k6j.js} +3 -3
  158. package/dist/chunks/{config-hgz4x7wa.js → location-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{config-jvt300by.js → location-hmcw1xv3.js} +30 -30
  160. package/dist/chunks/{config-fh9gh03y.js → location-hsr8yxc9.js} +18 -18
  161. package/dist/chunks/location-ht5y0zrb.js +18 -0
  162. package/dist/chunks/{config-czs8vvbs.js → location-hyarejjy.js} +11 -11
  163. package/dist/chunks/{config-x6y6dcgj.js → location-hyvp8sn8.js} +1 -1
  164. package/dist/chunks/{config-dhy8wzd4.js → location-j5yzhdah.js} +11 -11
  165. package/dist/chunks/{config-ezd1262t.js → location-j973zg4r.js} +5 -5
  166. package/dist/chunks/{config-3pcv17pz.js → location-jdsf1v6s.js} +25 -25
  167. package/dist/chunks/{config-204j7sp1.js → location-jg8pxvea.js} +3 -3
  168. package/dist/chunks/{config-3sfz3gfe.js → location-jgwkv6jn.js} +4 -4
  169. package/dist/chunks/{config-nvhwy6q6.js → location-jhn3db5w.js} +11 -11
  170. package/dist/chunks/{config-pcx0zree.js → location-jm6wfgtn.js} +10 -10
  171. package/dist/chunks/{config-vv6vh0dz.js → location-jpb42pwq.js} +10 -10
  172. package/dist/chunks/{config-x6k018ha.js → location-jzxww0nw.js} +14 -14
  173. package/dist/chunks/{config-sxp0tgh5.js → location-k0wzqvjk.js} +42 -42
  174. package/dist/chunks/{config-xj3qrrcf.js → location-k0ze7r27.js} +13 -13
  175. package/dist/chunks/{config-w1tfqne5.js → location-k5tmaff0.js} +33 -33
  176. package/dist/chunks/{config-kjdm35cs.js → location-kjdm35cs.js} +2 -2
  177. package/dist/chunks/{config-kwb1v3vj.js → location-kwb1v3vj.js} +1 -1
  178. package/dist/chunks/{config-x4m4mg1p.js → location-kypjhz4q.js} +11 -11
  179. package/dist/chunks/{config-4987t165.js → location-m15ha2ry.js} +6 -6
  180. package/dist/chunks/{config-35ng7dkh.js → location-m64xvjj1.js} +5 -5
  181. package/dist/chunks/{config-ed399rt4.js → location-m7kdtezn.js} +13 -13
  182. package/dist/chunks/{config-dndk2997.js → location-m97symvc.js} +40 -40
  183. package/dist/chunks/{config-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{config-maspj1v3.js → location-maspj1v3.js} +1 -1
  185. package/dist/chunks/{config-faecte32.js → location-mjjmqb1d.js} +22 -22
  186. package/dist/chunks/{config-bepc8xst.js → location-mmyy2hne.js} +19 -19
  187. package/dist/chunks/{config-zx07qeyt.js → location-mnc26hcw.js} +7 -7
  188. package/dist/chunks/{config-g92cw1z2.js → location-mzkqbs9t.js} +5 -5
  189. package/dist/chunks/{config-pq6k2t1k.js → location-n2r55xd1.js} +35 -35
  190. package/dist/chunks/{config-2vqdzajb.js → location-n5q7pmwt.js} +312 -312
  191. package/dist/chunks/{config-568n7c7m.js → location-n63hq1yp.js} +32 -32
  192. package/dist/chunks/{config-349sgcxm.js → location-n7dc1ar6.js} +45 -45
  193. package/dist/chunks/{config-jfy7efkq.js → location-nc7xb224.js} +42 -42
  194. package/dist/chunks/{config-pw3j8gkm.js → location-ncmgswqr.js} +11 -11
  195. package/dist/chunks/{config-7z9ajsa5.js → location-nry4qgac.js} +3 -3
  196. package/dist/chunks/{config-d5qyj1cx.js → location-nymjqhfd.js} +16 -16
  197. package/dist/chunks/{config-nz56sr1f.js → location-nz56sr1f.js} +2 -2
  198. package/dist/chunks/{config-t8r4mfn9.js → location-p1wfrhak.js} +19 -19
  199. package/dist/chunks/{config-n4rnyzk2.js → location-p2d2ky5d.js} +1 -1
  200. package/dist/chunks/{config-ph842b28.js → location-ph842b28.js} +1 -1
  201. package/dist/chunks/{config-phz50fbd.js → location-phz50fbd.js} +2 -2
  202. package/dist/chunks/{config-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{config-pknna89w.js → location-pknna89w.js} +1 -1
  204. package/dist/chunks/{config-vefrakjx.js → location-pr35srdg.js} +11 -11
  205. package/dist/chunks/{config-9tcbax0s.js → location-q84pcmhe.js} +68 -68
  206. package/dist/chunks/{config-feks9h3c.js → location-qacj84y4.js} +32 -32
  207. package/dist/chunks/{config-26fsx0a3.js → location-qg3jze5q.js} +6 -6
  208. package/dist/chunks/{config-w0cy9m9e.js → location-qhft0c11.js} +8 -8
  209. package/dist/chunks/{config-qsdy395h.js → location-qsdy395h.js} +1 -1
  210. package/dist/chunks/{config-xcvbpcg3.js → location-r771kefb.js} +11 -11
  211. package/dist/chunks/{config-n37c4crj.js → location-r9w3djhf.js} +5 -5
  212. package/dist/chunks/{config-52kcknyt.js → location-rdmm8wx1.js} +3 -3
  213. package/dist/chunks/{config-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{config-1bf0fc7d.js → location-rqxnffma.js} +11 -11
  215. package/dist/chunks/{config-1g7epwpd.js → location-ryr25ayn.js} +7 -7
  216. package/dist/chunks/{config-dpd3efqc.js → location-s041gtt0.js} +21 -21
  217. package/dist/chunks/{config-s8d7rejh.js → location-s8d7rejh.js} +1 -1
  218. package/dist/chunks/{config-hfn6fzew.js → location-scdee33y.js} +2 -2
  219. package/dist/chunks/{config-mc3j0fpx.js → location-sf4c3jp0.js} +36 -36
  220. package/dist/chunks/{config-4x3ndnvr.js → location-sm4k3a60.js} +2 -2
  221. package/dist/chunks/{config-3v851aqh.js → location-snt75n4w.js} +3 -3
  222. package/dist/chunks/{config-kn42yqxp.js → location-stn64ya2.js} +15 -15
  223. package/dist/chunks/{config-syv4x271.js → location-syv4x271.js} +1 -1
  224. package/dist/chunks/{config-56c3x50a.js → location-t2xhzx1r.js} +30 -30
  225. package/dist/chunks/{config-b4gz5vkn.js → location-t4dwgtwr.js} +11 -11
  226. package/dist/chunks/{config-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{config-j5w2yx54.js → location-tcay1cqt.js} +6 -6
  228. package/dist/chunks/{config-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{config-tdstcens.js → location-tdstcens.js} +1 -1
  230. package/dist/chunks/{config-fah73bdr.js → location-tgvsetpk.js} +13 -13
  231. package/dist/chunks/{config-tm0kqsz3.js → location-tm0kqsz3.js} +1 -1
  232. package/dist/chunks/{config-w9apwqk6.js → location-tnv0fyap.js} +21 -21
  233. package/dist/chunks/{config-ncf68bzz.js → location-trya7axm.js} +6 -6
  234. package/dist/chunks/{config-0pey3jm5.js → location-tw7m84f2.js} +1 -1
  235. package/dist/chunks/{config-zjahv0kn.js → location-txx63mhx.js} +85 -85
  236. package/dist/chunks/{config-1ar5vknn.js → location-tyk0w0pd.js} +13 -13
  237. package/dist/chunks/{config-tyytaxap.js → location-tyytaxap.js} +1 -1
  238. package/dist/chunks/{config-sr7jmsgt.js → location-v210v162.js} +7 -7
  239. package/dist/chunks/{config-gm3zmfrd.js → location-v2f1b6th.js} +3 -3
  240. package/dist/chunks/{config-yz6198zk.js → location-v4r857ee.js} +33 -33
  241. package/dist/chunks/{config-v7p4zvkq.js → location-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{config-shj7x14z.js → location-v97gy4rz.js} +14 -14
  243. package/dist/chunks/{config-a6vnn6sk.js → location-vdnac628.js} +21 -21
  244. package/dist/chunks/{config-veqvce7d.js → location-veqvce7d.js} +1 -1
  245. package/dist/chunks/{config-hf0nszqz.js → location-vgqhef6t.js} +50 -50
  246. package/dist/chunks/{config-xp5n5vja.js → location-vmt5mznf.js} +6 -6
  247. package/dist/chunks/{config-epeaaket.js → location-vt1s2zds.js} +4 -4
  248. package/dist/chunks/{config-3dhryxx4.js → location-vwsfg3fg.js} +21 -21
  249. package/dist/chunks/{config-6favvbp3.js → location-vzcdy7t2.js} +6 -6
  250. package/dist/chunks/{config-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{config-hhjjafxr.js → location-w375ekyd.js} +20 -20
  252. package/dist/chunks/{config-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{config-6pc27hjz.js → location-w92k2e0p.js} +4 -4
  254. package/dist/chunks/{config-w3jg838k.js → location-w9vf9qqj.js} +9 -9
  255. package/dist/chunks/{config-wakvkjy4.js → location-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{config-7cx595n2.js → location-waskdk5r.js} +9 -9
  257. package/dist/chunks/{config-205njdx0.js → location-wbq5q4f0.js} +17 -17
  258. package/dist/chunks/{config-wd87259q.js → location-wd87259q.js} +1 -1
  259. package/dist/chunks/{config-rvev36qg.js → location-wvzvsjpz.js} +16 -16
  260. package/dist/chunks/{config-9ma1f7k9.js → location-wxy29yzb.js} +11 -11
  261. package/dist/chunks/{config-x0ec8gbe.js → location-x1n877dv.js} +15 -15
  262. package/dist/chunks/{config-ce6zma9w.js → location-x2c0z4fa.js} +84 -84
  263. package/dist/chunks/{config-m2azh2y0.js → location-x3h37q7j.js} +10 -10
  264. package/dist/chunks/{config-302tx58t.js → location-xc0mr4yb.js} +7 -7
  265. package/dist/chunks/{config-r8jbq22n.js → location-xc1ymh3x.js} +6 -6
  266. package/dist/chunks/{config-pc9qwa86.js → location-xmrc0ft6.js} +13 -13
  267. package/dist/chunks/{config-xw9fg8fb.js → location-xw9fg8fb.js} +2 -2
  268. package/dist/chunks/{config-62xe7jwg.js → location-xx7k8td3.js} +2 -2
  269. package/dist/chunks/{config-ztk2zx25.js → location-y05taef3.js} +16 -16
  270. package/dist/chunks/{config-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{config-fc6jq9j4.js → location-y49bgj8b.js} +18 -18
  272. package/dist/chunks/{config-zsj6gmjs.js → location-ya11n351.js} +14 -14
  273. package/dist/chunks/{config-7cxds5z9.js → location-yetj4y2f.js} +156 -156
  274. package/dist/chunks/{config-q4ywch8c.js → location-yh8p5p3y.js} +14 -14
  275. package/dist/chunks/{config-jkter17d.js → location-ysdyyay3.js} +24 -24
  276. package/dist/chunks/{config-qdsg7kg5.js → location-ysjtvpas.js} +3 -3
  277. package/dist/chunks/{config-9n959v4g.js → location-yvy8rc3z.js} +18 -18
  278. package/dist/chunks/{config-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{config-z18fegx4.js → location-z18fegx4.js} +1 -1
  280. package/dist/chunks/location-z6xb3w2g.js +26 -0
  281. package/dist/chunks/{config-qtx6733w.js → location-z6z736zf.js} +27 -27
  282. package/dist/chunks/{config-msrd37ae.js → location-zajs041s.js} +23 -23
  283. package/dist/chunks/{config-h7ev3d7m.js → location-zec5t9m9.js} +4 -4
  284. package/dist/chunks/{config-20tcvkr4.js → location-zgkfskaa.js} +40 -40
  285. package/dist/chunks/{config-c5zzfjak.js → location-zp589yax.js} +12 -12
  286. package/dist/chunks/{config-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{config-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +114 -114
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +117 -117
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +83 -83
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +155 -155
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +88 -88
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +1 -1
  496. package/dist/plugin/instance.js +3 -3
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +114 -114
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +123 -123
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +4 -4
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +90 -90
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +3 -3
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +164 -164
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +3 -3
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +162 -162
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +218 -218
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +9 -9
  629. package/dist/shell.js +130 -130
  630. package/dist/skill/discovery.js +2 -2
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +91 -91
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -137
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +113 -113
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +118 -118
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/types/voice.d.ts +12 -1
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/mcp.js +2 -2
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +93 -93
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +91 -91
  680. package/dist/voice.js +90 -90
  681. package/dist/websearch.js +86 -86
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +81 -81
  684. package/dist/workspace/driver.js +7 -7
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +82 -82
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +91 -91
  691. package/dist/worktree.js +100 -100
  692. package/package.json +8 -8
  693. package/dist/chunks/config-4envctst.js +0 -26
  694. package/dist/chunks/config-595xcfmx.js +0 -257
  695. package/dist/chunks/config-pf31ssb9.js +0 -18
  696. /package/dist/chunks/{config-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{config-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{config-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{config-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{config-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{config-24dcb14g.js → location-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{config-2710q6r3.js → location-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{config-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{config-2bv980vf.js → location-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{config-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{config-359p4xyc.js → location-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{config-3asan66x.js → location-3asan66x.js} +0 -0
  708. /package/dist/chunks/{config-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{config-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{config-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{config-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{config-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{config-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{config-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{config-53557ph1.js → location-53557ph1.js} +0 -0
  716. /package/dist/chunks/{config-550bvhaj.js → location-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{config-6prwharc.js → location-6prwharc.js} +0 -0
  718. /package/dist/chunks/{config-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{config-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{config-7m9af43g.js → location-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{config-822emrt2.js → location-822emrt2.js} +0 -0
  722. /package/dist/chunks/{config-84wd9syh.js → location-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{config-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{config-8n3pysct.js → location-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{config-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{config-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{config-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{config-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{config-af5trqkr.js → location-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{config-afrmfg78.js → location-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{config-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{config-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{config-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{config-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{config-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{config-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{config-d9fn303g.js → location-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{config-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{config-dajrwvna.js → location-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{config-dap0rakb.js → location-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{config-df08tz66.js → location-df08tz66.js} +0 -0
  742. /package/dist/chunks/{config-dy18nga0.js → location-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{config-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{config-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{config-ec1grn59.js → location-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{config-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{config-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{config-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{config-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{config-faypxj3z.js → location-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{config-fd410y7t.js → location-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{config-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{config-g86h250q.js → location-g86h250q.js} +0 -0
  754. /package/dist/chunks/{config-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{config-gftt206x.js → location-gftt206x.js} +0 -0
  756. /package/dist/chunks/{config-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{config-hk9envan.js → location-hk9envan.js} +0 -0
  758. /package/dist/chunks/{config-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{config-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{config-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{config-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{config-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{config-jze0r7bz.js → location-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{config-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{config-m18g726c.js → location-m18g726c.js} +0 -0
  766. /package/dist/chunks/{config-mp448xyj.js → location-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{config-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{config-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{config-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{config-njntx4h6.js → location-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{config-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{config-pyv0edze.js → location-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{config-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{config-q74kybfr.js → location-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{config-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{config-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{config-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{config-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{config-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{config-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{config-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{config-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{config-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{config-w803qqfp.js → location-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{config-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{config-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{config-wjj7prxr.js → location-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{config-wtztk69x.js → location-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{config-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{config-x61499pn.js → location-x61499pn.js} +0 -0
  791. /package/dist/chunks/{config-y44na4kk.js → location-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{config-y8f7s663.js → location-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{config-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{config-ym463w8f.js → location-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{config-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{config-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
5
  Service86,
6
6
  node90
7
- } from "./config-nwb8xr43.js";
7
+ } from "./location-hfhp5k6j.js";
8
8
  import {
9
9
  Service85,
10
10
  node89
11
- } from "./config-mtshcjcm.js";
11
+ } from "./location-bvjxnz85.js";
12
12
  import {
13
- Service83,
14
- node87
15
- } from "./config-t95zrypp.js";
13
+ Service84,
14
+ node88
15
+ } from "./location-aacha31a.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info28,
19
+ Info29,
20
20
  UpdateInput5,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./config-sr7jmsgt.js";
23
+ } from "./location-v210v162.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./config-034tev2y.js";
27
+ } from "./location-034tev2y.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./config-xw9fg8fb.js";
30
+ } from "./location-xw9fg8fb.js";
31
31
  import {
32
32
  __export
33
- } from "./config-9rqn6x4v.js";
33
+ } from "./location-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
39
  ID: () => ID17,
40
- Info: () => Info27,
41
- NotFoundError: () => NotFoundError11,
40
+ Info: () => Info28,
41
+ NotFoundError: () => NotFoundError12,
42
42
  Project: () => exports_project,
43
- Service: () => Service82,
43
+ Service: () => Service83,
44
44
  UpdateInput: () => UpdateInput4,
45
45
  Vcs: () => Vcs2,
46
- node: () => node86,
46
+ node: () => node87,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -59,10 +59,10 @@ import { Hash } from "@opencode/util/hash";
59
59
  var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info27 = Info28;
62
+ var Info28 = Info29;
63
63
  var UpdateInput4 = UpdateInput5;
64
64
 
65
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
66
66
  projectID: ID17
67
67
  }) {
68
68
  }
@@ -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 Service82 extends Context.Service()("@opencode/Project") {
77
+ class Service83 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(Service82, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service83;
103
+ const git = yield* Service84;
104
104
  const proc = yield* AppProcess.Service;
105
105
  const bus = yield* Service85;
106
106
  const db = (yield* Service86).db;
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event20.Updated, fromRow(changed));
115
+ yield* bus.publish(Event21.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service82, 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 NotFoundError12({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event20.Updated, project);
176
+ yield* bus.publish(Event21.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event20.Updated, fromRow(row));
187
+ yield* bus.publish(Event21.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
190
  return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event20.Updated, fromRow(row));
304
+ yield* bus.publish(Event21.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service82.of({ list, update, activate, resolve, sweep });
307
+ return Service83.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node86 = makeGlobalNode({
310
- service: Service82,
309
+ var node87 = makeGlobalNode({
310
+ service: Service83,
311
311
  layer,
312
- deps: [node89, node90, FSUtil.node, node87, AppProcess.node]
312
+ deps: [node89, node90, FSUtil.node, node88, 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* Service82;
317
+ const project = yield* Service83;
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: [node86]
320
+ deps: [node87]
321
321
  });
322
322
 
323
- export { ID17, Vcs2, Current2, Info27, UpdateInput4, NotFoundError11, root2, Service82, node86, sweepNode2, exports_project };
323
+ export { ID17, Vcs2, Current2, Info28, UpdateInput4, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./config-wakvkjy4.js";
4
+ } from "./location-wakvkjy4.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./config-qfa1cgps.js";
7
+ } from "./location-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./config-034tev2y.js";
10
+ } from "./location-034tev2y.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service34,
9
+ Service: () => Service46,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service34 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service46 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service34, exports_runner };
18
+ export { DrainResult2, Service46, exports_runner };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service71,
3
- node75
4
- } from "./config-9pw60qma.js";
2
+ Service66,
3
+ node70
4
+ } from "./location-4sem758r.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./config-gftt206x.js";
7
+ } from "./location-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./config-n7d88tpn.js";
10
+ } from "./location-axe3mf62.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service40,
20
- make: () => make17,
21
- node: () => node42
19
+ Service: () => Service50,
20
+ make: () => make18,
21
+ node: () => node52
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service40 extends Context.Service()("@opencode/Job") {
51
+ class Service50 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
83
83
  next.set(sessionID, count - 1);
84
84
  return next;
85
85
  }
86
- var make17 = Effect.gen(function* () {
87
- const kv = yield* Service71;
86
+ var make18 = Effect.gen(function* () {
87
+ const kv = yield* Service66;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -343,7 +343,7 @@ var make17 = Effect.gen(function* () {
343
343
  next.delete(entry[0]);
344
344
  return next;
345
345
  })));
346
- return Service40.of({
346
+ return Service50.of({
347
347
  get,
348
348
  start,
349
349
  wait,
@@ -356,7 +356,7 @@ var make17 = Effect.gen(function* () {
356
356
  completeBackground
357
357
  });
358
358
  });
359
- var layer = Layer.effect(Service40, make17);
360
- var node42 = makeGlobalNode({ service: Service40, layer, deps: [node75] });
359
+ var layer = Layer.effect(Service50, make18);
360
+ var node52 = makeGlobalNode({ service: Service50, layer, deps: [node70] });
361
361
 
362
- export { Service40, make17, node42, exports_job };
362
+ export { Service50, make18, node52, exports_job };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./config-z5v4ffb3.js";
5
+ } from "./location-z5v4ffb3.js";
6
6
  import {
7
- Service81,
8
- node85
9
- } from "./config-ztk2zx25.js";
7
+ Service82,
8
+ node86
9
+ } from "./location-y05taef3.js";
10
10
  import {
11
- Service42,
12
- node44
13
- } from "./config-0asg5kcx.js";
11
+ Service53,
12
+ node55
13
+ } from "./location-9ceytgjn.js";
14
14
  import {
15
15
  __export
16
- } from "./config-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event6,
27
+ Event: () => Event10,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput3,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError5,
34
+ NotFoundError: () => NotFoundError6,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service41,
36
+ Service: () => Service52,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node43
40
+ node: () => node54
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 NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event6 = FileSystem.Event;
108
+ var Event10 = FileSystem.Event;
109
109
 
110
- class Service41 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service52 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service41, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service81;
115
- const search = yield* Service42;
114
+ const location = yield* Service82;
115
+ const search = yield* Service53;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), 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(Service41, 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 NotFoundError5({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError6({ 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 NotFoundError5({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError6({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError5({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError6({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service41.of({
134
+ return Service52.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 NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError5({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError6({ 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(Service41, 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 NotFoundError5({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError6({ 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(Service41, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node43 = makeLocationNode({
175
- service: Service41,
174
+ var node54 = makeLocationNode({
175
+ service: Service52,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node85, node44]
177
+ deps: [FSUtil.node, node86, node55]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service41, node43, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service52, node54, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,84 +1,84 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./config-nwb8xr43.js";
4
+ } from "./location-hfhp5k6j.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./config-mtshcjcm.js";
8
+ } from "./location-bvjxnz85.js";
9
9
  import {
10
10
  create3
11
- } from "./config-rdw6cm16.js";
11
+ } from "./location-rdw6cm16.js";
12
12
  import {
13
- ID9,
14
- Service65,
15
- node69
16
- } from "./config-vm948sk0.js";
13
+ ID11,
14
+ Service75,
15
+ node79
16
+ } from "./location-d99zq9a9.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./config-775gj3j1.js";
19
+ } from "./location-775gj3j1.js";
20
20
  import {
21
- Service75,
22
- node79
23
- } from "./config-v3gvycs7.js";
21
+ Service70,
22
+ node74
23
+ } from "./location-98hve3fq.js";
24
24
  import {
25
25
  estimate2
26
- } from "./config-h6vf3j39.js";
26
+ } from "./location-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./config-ec1grn59.js";
29
+ } from "./location-ec1grn59.js";
30
30
  import {
31
31
  kept2,
32
32
  messageToText2,
33
33
  truncateToolOutput2,
34
34
  serializeToolContent2
35
- } from "./config-8mywswrd.js";
35
+ } from "./location-8mywswrd.js";
36
36
  import {
37
37
  isNativeCompaction2,
38
- load4
39
- } from "./config-c42rzcd8.js";
38
+ load5
39
+ } from "./location-gg3qganw.js";
40
40
  import {
41
41
  toLLMMessages2
42
- } from "./config-07pek4cx.js";
42
+ } from "./location-8zbn9c46.js";
43
43
  import {
44
44
  outputLimit2,
45
45
  baseTranscript2,
46
46
  unsupportedParts2,
47
47
  boundImages2,
48
- Service27,
49
- node30
50
- } from "./config-1vmdeh7r.js";
48
+ Service32,
49
+ node35
50
+ } from "./location-6k57be7g.js";
51
51
  import {
52
- Service37,
53
- node39
54
- } from "./config-ed399rt4.js";
52
+ Service49,
53
+ node51
54
+ } from "./location-m7kdtezn.js";
55
55
  import {
56
56
  isRetryable2,
57
57
  policy2
58
- } from "./config-fn9t717r.js";
58
+ } from "./location-fn9t717r.js";
59
59
  import {
60
60
  toSessionError2,
61
61
  contentFilterError2
62
- } from "./config-zgxkm1v3.js";
62
+ } from "./location-1x8ctv13.js";
63
63
  import {
64
64
  calculateCost2,
65
65
  record2,
66
66
  add2
67
- } from "./config-tdstcens.js";
67
+ } from "./location-tdstcens.js";
68
68
  import {
69
69
  __export
70
- } from "./config-9rqn6x4v.js";
70
+ } from "./location-9rqn6x4v.js";
71
71
 
72
72
  // src/session/compaction.ts
73
73
  var exports_compaction2 = {};
74
74
  __export(exports_compaction2, {
75
- Service: () => Service7,
75
+ Service: () => Service8,
76
76
  SessionCompaction: () => exports_compaction2,
77
77
  buildPrompt: () => buildPrompt2,
78
78
  estimateContext: () => estimateContext2,
79
79
  estimatePrompt: () => estimatePrompt2,
80
- layer: () => layer8,
81
- node: () => node9,
80
+ layer: () => layer7,
81
+ node: () => node10,
82
82
  recentUserMessages: () => recentUserMessages2
83
83
  });
84
84
  import {
@@ -94,7 +94,7 @@ import {
94
94
  } from "@opencode/ai";
95
95
  import { makeLocationNode } from "@opencode/util/effect/app-node";
96
96
  import { Context, Effect, Layer, Result, Stream } from "effect";
97
- class Service7 extends Context.Service()("@opencode/SessionCompaction") {
97
+ class Service8 extends Context.Service()("@opencode/SessionCompaction") {
98
98
  }
99
99
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
100
100
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -173,14 +173,14 @@ var buildPrompt2 = (update, legacy = false) => {
173
173
  };
174
174
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
175
175
  var LEGACY_HEADING = "## Additional Context";
176
- var layer8 = Layer.effect(Service7, Effect.gen(function* () {
177
- const agents = yield* Service65;
176
+ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
177
+ const agents = yield* Service75;
178
178
  const bus = yield* Service85;
179
179
  const llm = yield* LLMClient.Service;
180
- const catalog = yield* Service75;
181
- const models = yield* Service37;
180
+ const catalog = yield* Service70;
181
+ const models = yield* Service49;
182
182
  const db = (yield* Service86).db;
183
- const requests = yield* Service27;
183
+ const requests = yield* Service32;
184
184
  const state = create3({
185
185
  name: "session-compaction",
186
186
  initial: () => ({ auto: true, keep: 15000 }),
@@ -198,7 +198,7 @@ var layer8 = Layer.effect(Service7, Effect.gen(function* () {
198
198
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
199
199
  return { status: "skipped" };
200
200
  const native = context.model.compaction?.type === "native";
201
- const agent = native ? undefined : yield* agents.get(ID9.make("compaction"));
201
+ const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
202
202
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
203
203
  return;
204
204
  })))) ?? context.model;
@@ -273,7 +273,7 @@ var layer8 = Layer.effect(Service7, Effect.gen(function* () {
273
273
  const send = (request) => {
274
274
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
275
275
  return Effect.gen(function* () {
276
- const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
276
+ const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
277
277
  const retained = recentUserMessages2(history, context.model, keep);
278
278
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
279
279
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -472,16 +472,16 @@ ${text}`;
472
472
  }, { metadata: outcome.metadata });
473
473
  return { status: "completed" };
474
474
  });
475
- return Service7.of({
475
+ return Service8.of({
476
476
  transform: state.transform,
477
477
  reload: state.reload,
478
478
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
479
479
  });
480
480
  }));
481
- var node9 = makeLocationNode({
482
- service: Service7,
483
- layer: layer8,
484
- deps: [node69, node89, node90, llmClient2, node79, node30, node39]
481
+ var node10 = makeLocationNode({
482
+ service: Service8,
483
+ layer: layer7,
484
+ deps: [node79, node89, node90, llmClient2, node74, node35, node51]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -630,4 +630,4 @@ var estimateMedia = (mime) => {
630
630
  return 0;
631
631
  };
632
632
 
633
- export { Service7, buildPrompt2, layer8, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
633
+ export { Service8, buildPrompt2, layer7, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./config-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info19
7
- } from "./config-7cx595n2.js";
6
+ Info14
7
+ } from "./location-waskdk5r.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- ConfigAgentV1: () => exports_agent4,
16
- Info: () => Info18
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ ConfigAgentV1: () => exports_agent3,
16
+ Info: () => Info13
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info19)
48
+ permission: Schema.optional(Info14)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info18 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info13 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info18, exports_agent4 };
72
+ export { Info13, exports_agent3 };