@opencode/core 0.0.0-dev-20881 → 0.0.0-dev-20928

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{file-access-pyhps8rr.js → variant-023jgkce.js} +11 -11
  8. package/dist/chunks/{file-access-tky9nxkg.js → variant-03dm5fd9.js} +11 -11
  9. package/dist/chunks/{file-access-13y28twm.js → variant-06vq0eq9.js} +14 -14
  10. package/dist/chunks/{file-access-pbahfm5x.js → variant-06wyv3z9.js} +21 -21
  11. package/dist/chunks/{file-access-9hwaqfsw.js → variant-0bwnrbmb.js} +5 -5
  12. package/dist/chunks/{file-access-jvb9xte8.js → variant-0jq9fyba.js} +9 -9
  13. package/dist/chunks/{file-access-4xkcgd99.js → variant-0n5ns49k.js} +4 -4
  14. package/dist/chunks/{file-access-4nssqvjp.js → variant-0p383jt5.js} +23 -23
  15. package/dist/chunks/{file-access-0xydnfy0.js → variant-0srzkfae.js} +35 -35
  16. package/dist/chunks/{file-access-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{file-access-dkhqf1q0.js → variant-10mtcnk4.js} +11 -11
  18. package/dist/chunks/{file-access-6cwz3yre.js → variant-164rrf2t.js} +10 -10
  19. package/dist/chunks/{file-access-ngyrtr94.js → variant-1gpb38yh.js} +3 -3
  20. package/dist/chunks/{file-access-0996j27y.js → variant-1y595yec.js} +18 -18
  21. package/dist/chunks/{file-access-dw28k738.js → variant-25egksqp.js} +19 -19
  22. package/dist/chunks/{file-access-x3gqap9d.js → variant-29qym6xz.js} +4 -4
  23. package/dist/chunks/{file-access-40xnfwfw.js → variant-2aw1cfbe.js} +46 -46
  24. package/dist/chunks/{file-access-znvgkdeh.js → variant-2aw9xj9k.js} +19 -19
  25. package/dist/chunks/{file-access-136xvk4g.js → variant-2fym119k.js} +3 -3
  26. package/dist/chunks/{file-access-tb41x54d.js → variant-2mv2gkja.js} +150 -144
  27. package/dist/chunks/{file-access-7b71byjj.js → variant-2nv99jkq.js} +25 -28
  28. package/dist/chunks/{file-access-m928h0gj.js → variant-2zhv3vej.js} +10 -10
  29. package/dist/chunks/{file-access-58kgsrwr.js → variant-31w88q35.js} +10 -10
  30. package/dist/chunks/{file-access-jhf3jymm.js → variant-321x2wtd.js} +6 -6
  31. package/dist/chunks/{file-access-am6f2qjv.js → variant-3cqwnyj9.js} +8 -8
  32. package/dist/chunks/{file-access-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{file-access-pf5ssx8n.js → variant-3fhabzcx.js} +35 -35
  34. package/dist/chunks/{file-access-pnzf6mjf.js → variant-3g8j9he4.js} +1 -1
  35. package/dist/chunks/{file-access-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{file-access-3hwn7j4h.js → variant-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{file-access-3e93frrs.js → variant-3jwr2z91.js} +29 -29
  38. package/dist/chunks/{file-access-99z9zg9e.js → variant-3kkbx6tf.js} +24 -24
  39. package/dist/chunks/{file-access-t7991sab.js → variant-3r29e2k8.js} +18 -18
  40. package/dist/chunks/{file-access-ppbmqrvr.js → variant-3rtxz4nr.js} +8 -8
  41. package/dist/chunks/{file-access-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{file-access-nfvkw1mm.js → variant-3szsmhsx.js} +2 -2
  43. package/dist/chunks/{file-access-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{file-access-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{file-access-0c4n6ehw.js → variant-417j8ver.js} +4 -4
  46. package/dist/chunks/{file-access-7dknjm6k.js → variant-48gtzdwh.js} +12 -12
  47. package/dist/chunks/{file-access-zja718nw.js → variant-4gh28w69.js} +10 -10
  48. package/dist/chunks/{file-access-gjwgnwyt.js → variant-4h4hnd4e.js} +36 -36
  49. package/dist/chunks/{file-access-dfj37skf.js → variant-4k6jecxr.js} +22 -22
  50. package/dist/chunks/{file-access-qs5g4tjy.js → variant-4pmnpw0w.js} +6 -6
  51. package/dist/chunks/{file-access-4ts7tf6z.js → variant-4ts7tf6z.js} +2 -2
  52. package/dist/chunks/{file-access-dygjvfrp.js → variant-4vs8w0pq.js} +9 -9
  53. package/dist/chunks/{file-access-j2zn7p5s.js → variant-4x57gp4x.js} +49 -49
  54. package/dist/chunks/{file-access-n2erk2qq.js → variant-4y7r13er.js} +87 -70
  55. package/dist/chunks/{file-access-54ma36ye.js → variant-54ma36ye.js} +1 -1
  56. package/dist/chunks/{file-access-rj7vaynp.js → variant-57zn3dem.js} +15 -15
  57. package/dist/chunks/{file-access-61mt751v.js → variant-5aykxj03.js} +9 -9
  58. package/dist/chunks/{file-access-ph104vey.js → variant-5d54brzx.js} +18 -18
  59. package/dist/chunks/{file-access-d2gv4akw.js → variant-5dpxwsmj.js} +27 -27
  60. package/dist/chunks/{file-access-4s3dfb2j.js → variant-5f79zmff.js} +3 -3
  61. package/dist/chunks/{file-access-k9hzba59.js → variant-5kpt5wkb.js} +13 -13
  62. package/dist/chunks/{file-access-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{file-access-cap6c1x0.js → variant-5r4g8ps1.js} +15 -15
  64. package/dist/chunks/{file-access-dfq2h1zq.js → variant-5rwnzs1f.js} +83 -83
  65. package/dist/chunks/{file-access-6yrvyhas.js → variant-5scqafr6.js} +5 -5
  66. package/dist/chunks/{file-access-yae8t1qx.js → variant-5ty8j3q0.js} +10 -10
  67. package/dist/chunks/{file-access-tjh2ebqe.js → variant-5vk14n4y.js} +47 -47
  68. package/dist/chunks/{file-access-zn6q40y3.js → variant-5w0cy209.js} +34 -34
  69. package/dist/chunks/{file-access-n3dz8fb2.js → variant-61wen1ds.js} +1 -1
  70. package/dist/chunks/{file-access-pbxbebnn.js → variant-6rjjdzmm.js} +3 -3
  71. package/dist/chunks/{file-access-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
  72. package/dist/chunks/{file-access-g1sxm558.js → variant-73kdj4zj.js} +8 -8
  73. package/dist/chunks/{file-access-hcqrq8nm.js → variant-749xanmk.js} +4 -4
  74. package/dist/chunks/{file-access-775gj3j1.js → variant-775gj3j1.js} +2 -2
  75. package/dist/chunks/{file-access-d4he2qe1.js → variant-79qaa2kf.js} +9 -9
  76. package/dist/chunks/{file-access-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{file-access-vmvedq7t.js → variant-7gra0nqm.js} +12 -12
  78. package/dist/chunks/{file-access-faydtw9x.js → variant-81fzbrcp.js} +24 -24
  79. package/dist/chunks/{file-access-84txncab.js → variant-84txncab.js} +1 -1
  80. package/dist/chunks/{file-access-8m6m0r52.js → variant-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{file-access-pes7pnh1.js → variant-8wvgy420.js} +6 -6
  82. package/dist/chunks/{file-access-tvhzy6at.js → variant-8xenyd1x.js} +7 -7
  83. package/dist/chunks/{file-access-j09zfasm.js → variant-91qna3x0.js} +3 -3
  84. package/dist/chunks/{file-access-xjh793w0.js → variant-9czvcyvx.js} +10 -10
  85. package/dist/chunks/variant-9vbfts9h.js +26 -0
  86. package/dist/chunks/{file-access-kn5tafaf.js → variant-a5z0t9z8.js} +29 -29
  87. package/dist/chunks/{file-access-addxnjmp.js → variant-addxnjmp.js} +1 -1
  88. package/dist/chunks/{file-access-m70sbz6t.js → variant-afdssyjb.js} +4 -4
  89. package/dist/chunks/{file-access-q866mrsk.js → variant-anftdyhm.js} +11 -11
  90. package/dist/chunks/{file-access-7x2zck9f.js → variant-avfmyfvx.js} +29 -29
  91. package/dist/chunks/{file-access-qvn3sktm.js → variant-b0kf0xa0.js} +15 -15
  92. package/dist/chunks/{file-access-wecqtg5s.js → variant-b3f8fkhc.js} +5 -5
  93. package/dist/chunks/{file-access-y7nndgyc.js → variant-bacj9t34.js} +9 -9
  94. package/dist/chunks/{file-access-kmcktn5j.js → variant-bfkp01f7.js} +4 -4
  95. package/dist/chunks/{file-access-4drgpw32.js → variant-bgs9y14h.js} +5 -5
  96. package/dist/chunks/{file-access-ywt8jp22.js → variant-bjx1sjef.js} +9 -9
  97. package/dist/chunks/{file-access-7ws6qndy.js → variant-bwy6v28t.js} +12 -7
  98. package/dist/chunks/{file-access-ffmtf96p.js → variant-bzhbk902.js} +8 -8
  99. package/dist/chunks/{file-access-tsf7jqnv.js → variant-bzp9nqs7.js} +11 -11
  100. package/dist/chunks/{file-access-es1vcfrp.js → variant-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{file-access-6nx5eb34.js → variant-c1m5a2h2.js} +11 -11
  102. package/dist/chunks/{file-access-zrfr384z.js → variant-c2w3ggyn.js} +25 -25
  103. package/dist/chunks/{file-access-mbjvzahx.js → variant-c3yj5c7m.js} +14 -14
  104. package/dist/chunks/{file-access-pqz03z8g.js → variant-c83nzkcq.js} +15 -15
  105. package/dist/chunks/{file-access-x1ppmybn.js → variant-c87fn2jz.js} +15 -15
  106. package/dist/chunks/{file-access-x634pv7c.js → variant-ca040swv.js} +11 -11
  107. package/dist/chunks/{file-access-tg1sa0zd.js → variant-ch7mpmes.js} +11 -11
  108. package/dist/chunks/{file-access-0az8jfhv.js → variant-cr1q3c4f.js} +35 -35
  109. package/dist/chunks/{file-access-8n22xprd.js → variant-d07qx7jm.js} +14 -14
  110. package/dist/chunks/{file-access-75cf00gp.js → variant-d5824npd.js} +1 -1
  111. package/dist/chunks/{file-access-m0p4awvf.js → variant-dcf4fjqw.js} +16 -16
  112. package/dist/chunks/{file-access-xj676ht6.js → variant-dgm2rhzz.js} +32 -32
  113. package/dist/chunks/{file-access-wyrb85n5.js → variant-dh73we1j.js} +4 -4
  114. package/dist/chunks/{file-access-qjx1ax0j.js → variant-dhb2hta4.js} +5 -5
  115. package/dist/chunks/{file-access-xgdprf3q.js → variant-dkpr89z5.js} +5 -5
  116. package/dist/chunks/{file-access-zhkxd4p1.js → variant-dmpx8hg1.js} +20 -20
  117. package/dist/chunks/{file-access-dqxsqydv.js → variant-dqxsqydv.js} +1 -1
  118. package/dist/chunks/{file-access-mb14aw74.js → variant-drnf6xwf.js} +2 -2
  119. package/dist/chunks/{file-access-57b9ws8p.js → variant-drwq78ky.js} +5 -5
  120. package/dist/chunks/{file-access-ky0k6zys.js → variant-dvyvqrwn.js} +17 -17
  121. package/dist/chunks/{file-access-s5dv59ce.js → variant-dx17221d.js} +10 -10
  122. package/dist/chunks/variant-dxj72tfx.js +18 -0
  123. package/dist/chunks/{file-access-cf0apvch.js → variant-e00ms20h.js} +32 -32
  124. package/dist/chunks/{file-access-at6df953.js → variant-e3af9wez.js} +13 -13
  125. package/dist/chunks/{file-access-wj76ss2k.js → variant-eahhehpg.js} +4 -4
  126. package/dist/chunks/{file-access-eej6y6fw.js → variant-eej6y6fw.js} +2 -2
  127. package/dist/chunks/{file-access-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{file-access-4nvgp7n5.js → variant-emdt9526.js} +13 -13
  129. package/dist/chunks/{file-access-z3wfwvnq.js → variant-eprqzbgk.js} +34 -34
  130. package/dist/chunks/{file-access-4rpmq0gy.js → variant-eq8qc0qx.js} +10 -10
  131. package/dist/chunks/{file-access-g5aztb9w.js → variant-etm72n9z.js} +1 -1
  132. package/dist/chunks/{file-access-f5xdkyf5.js → variant-etxp1wm4.js} +12 -12
  133. package/dist/chunks/{file-access-apzb49za.js → variant-evx2dshd.js} +28 -28
  134. package/dist/chunks/{file-access-1q6h5e96.js → variant-fae0sje6.js} +45 -45
  135. package/dist/chunks/{file-access-vegf0t4s.js → variant-fg9qnkmm.js} +25 -25
  136. package/dist/chunks/{file-access-ckacr8qp.js → variant-fgkvfygv.js} +11 -11
  137. package/dist/chunks/{file-access-phstrbs2.js → variant-g0445xdp.js} +8 -8
  138. package/dist/chunks/{file-access-bcw6cn9v.js → variant-g458qxns.js} +16 -16
  139. package/dist/chunks/{file-access-qk0trefb.js → variant-g7m99syb.js} +19 -19
  140. package/dist/chunks/{file-access-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{file-access-4hc0rj7b.js → variant-ght205zk.js} +319 -319
  142. package/dist/chunks/{file-access-hfe3etvx.js → variant-gk17rv2q.js} +4 -4
  143. package/dist/chunks/{file-access-9qaf42c8.js → variant-gkt0zr5s.js} +29 -29
  144. package/dist/chunks/{file-access-gqvrx0k4.js → variant-gmwt9js6.js} +12 -12
  145. package/dist/chunks/{file-access-9v3zftw3.js → variant-gnaeqwb5.js} +32 -32
  146. package/dist/chunks/{file-access-wv5qhq9f.js → variant-gzach1fq.js} +33 -33
  147. package/dist/chunks/{file-access-22d1dh2a.js → variant-h3wbahvk.js} +17 -17
  148. package/dist/chunks/{file-access-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{file-access-h7s7r6s9.js → variant-h7s7r6s9.js} +2 -2
  150. package/dist/chunks/{file-access-hgz4x7wa.js → variant-hgz4x7wa.js} +1 -1
  151. package/dist/chunks/{file-access-khmqacep.js → variant-hq3c8me3.js} +4 -4
  152. package/dist/chunks/{file-access-bepc4jha.js → variant-hq4avwzh.js} +7 -7
  153. package/dist/chunks/{file-access-z12amds2.js → variant-hxg8gej6.js} +21 -21
  154. package/dist/chunks/{file-access-z393mc3q.js → variant-j0tnyyx5.js} +13 -13
  155. package/dist/chunks/{file-access-zrkpefyn.js → variant-j5tgs2bd.js} +3 -3
  156. package/dist/chunks/{file-access-mpt1m363.js → variant-j75n2q4t.js} +42 -42
  157. package/dist/chunks/{file-access-6afn1j2f.js → variant-j7mdmhdf.js} +26 -26
  158. package/dist/chunks/{file-access-nqv9yqds.js → variant-jc7eq68k.js} +34 -34
  159. package/dist/chunks/{file-access-18x10m8s.js → variant-jnd9zbm3.js} +19 -19
  160. package/dist/chunks/{file-access-w54rakr2.js → variant-jye61y82.js} +18 -18
  161. package/dist/chunks/{file-access-b58cry0v.js → variant-jzep8trb.js} +3 -3
  162. package/dist/chunks/{file-access-nhkznqrv.js → variant-k0fahbmq.js} +8 -8
  163. package/dist/chunks/{file-access-t66kkf9x.js → variant-k142x1ht.js} +7 -7
  164. package/dist/chunks/{file-access-vwnm4pgh.js → variant-ke252z1w.js} +20 -20
  165. package/dist/chunks/{file-access-0ebkhaww.js → variant-kpqbax79.js} +9 -9
  166. package/dist/chunks/{file-access-wkxs5zxa.js → variant-m3pjsdz3.js} +2 -2
  167. package/dist/chunks/{file-access-n8yw2qpj.js → variant-m4ccvv8n.js} +14 -14
  168. package/dist/chunks/{file-access-85twavks.js → variant-m4ncfv33.js} +9 -9
  169. package/dist/chunks/{file-access-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{file-access-maspj1v3.js → variant-maspj1v3.js} +1 -1
  171. package/dist/chunks/{file-access-ggmp41wd.js → variant-mavxarhh.js} +15 -15
  172. package/dist/chunks/{file-access-mjwk6wfx.js → variant-mcx3d4n8.js} +8 -8
  173. package/dist/chunks/{file-access-a1d4wr68.js → variant-mg9159rp.js} +6 -6
  174. package/dist/chunks/{file-access-vyqay02k.js → variant-mkpmjf0g.js} +16 -16
  175. package/dist/chunks/{file-access-bwccqm6j.js → variant-mrxxw1se.js} +31 -31
  176. package/dist/chunks/{file-access-se7f09tz.js → variant-mt9y62hx.js} +14 -14
  177. package/dist/chunks/{file-access-edv1g30z.js → variant-mw080yxy.js} +20 -20
  178. package/dist/chunks/{file-access-c2sed5cq.js → variant-my4zabxr.js} +2 -2
  179. package/dist/chunks/{file-access-7y0h7tfm.js → variant-n0p1tcxy.js} +12 -12
  180. package/dist/chunks/{file-access-yrcj3v3g.js → variant-n1n192bv.js} +4 -4
  181. package/dist/chunks/{file-access-rn3dpxc7.js → variant-nf2m8c3p.js} +23 -23
  182. package/dist/chunks/{file-access-ed1g29hy.js → variant-nma959mg.js} +3 -3
  183. package/dist/chunks/{file-access-fpcyfj4p.js → variant-nq23yz5h.js} +13 -13
  184. package/dist/chunks/{file-access-rv3vf44n.js → variant-nwyw8681.js} +23 -23
  185. package/dist/chunks/{file-access-pbkhx8jc.js → variant-p2e2ffh1.js} +6 -6
  186. package/dist/chunks/{file-access-n31904rg.js → variant-p2ktkp0q.js} +11 -11
  187. package/dist/chunks/{file-access-a8pvjcdf.js → variant-p714j1h1.js} +32 -32
  188. package/dist/chunks/{file-access-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{file-access-pknna89w.js → variant-pknna89w.js} +1 -1
  190. package/dist/chunks/{file-access-v5fpz4k6.js → variant-pnxmjc2w.js} +20 -20
  191. package/dist/chunks/{file-access-m0nv8qas.js → variant-pps6n2xr.js} +14 -14
  192. package/dist/chunks/{file-access-0brq2jxt.js → variant-ptd1ettv.js} +4 -4
  193. package/dist/chunks/{file-access-m7kegrcq.js → variant-pvb5d38k.js} +34 -34
  194. package/dist/chunks/{file-access-j73xaykt.js → variant-pwc9y2s2.js} +50 -50
  195. package/dist/chunks/{file-access-q0xm7vwc.js → variant-q0xm7vwc.js} +2 -2
  196. package/dist/chunks/{file-access-npjgym32.js → variant-q46hn8y7.js} +18 -18
  197. package/dist/chunks/{file-access-v7j34b1q.js → variant-qbe96k8w.js} +44 -44
  198. package/dist/chunks/{file-access-0jwsre1p.js → variant-qgn6gcr1.js} +5 -5
  199. package/dist/chunks/{file-access-dzbmxh5c.js → variant-qkfbcadr.js} +19 -19
  200. package/dist/chunks/{file-access-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{file-access-3q95jmjr.js → variant-qphhp7va.js} +28 -28
  202. package/dist/chunks/{file-access-qsdy395h.js → variant-qsdy395h.js} +1 -1
  203. package/dist/chunks/{file-access-mjyfvzvk.js → variant-qxgfdd5m.js} +6 -6
  204. package/dist/chunks/{file-access-vg6c8hx6.js → variant-qz7nhjxe.js} +17 -17
  205. package/dist/chunks/{file-access-0y8qz4tc.js → variant-r0ngwdtc.js} +10 -10
  206. package/dist/chunks/{file-access-bm13kvhf.js → variant-r12gpz06.js} +17 -17
  207. package/dist/chunks/{file-access-kdz0rk07.js → variant-r2v4c7r0.js} +5 -5
  208. package/dist/chunks/{file-access-1acjjqhc.js → variant-r8xr0va3.js} +4 -4
  209. package/dist/chunks/{file-access-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{file-access-tkb22qbm.js → variant-rert0e01.js} +2 -2
  211. package/dist/chunks/{file-access-j8vs3k5w.js → variant-rgctwq8h.js} +24 -24
  212. package/dist/chunks/{file-access-c41wscbt.js → variant-rj3eygr5.js} +2 -2
  213. package/dist/chunks/{file-access-w92k2e0p.js → variant-rkprpv83.js} +8 -8
  214. package/dist/chunks/{file-access-svqj1re3.js → variant-rmdn71re.js} +9 -9
  215. package/dist/chunks/{file-access-r5tn31vm.js → variant-rpmq8wn2.js} +15 -15
  216. package/dist/chunks/{file-access-dexacah2.js → variant-rq27cg8d.js} +58 -18
  217. package/dist/chunks/{file-access-ph2x0fg2.js → variant-rqk3790x.js} +13 -13
  218. package/dist/chunks/{file-access-ph2th0nb.js → variant-rwdpd5ae.js} +26 -26
  219. package/dist/chunks/{file-access-97aeaand.js → variant-s2z0d44b.js} +4 -4
  220. package/dist/chunks/{file-access-2s0a30gw.js → variant-s4eqg02t.js} +22 -22
  221. package/dist/chunks/{file-access-nb5065av.js → variant-s4sj6whh.js} +8 -8
  222. package/dist/chunks/{file-access-rapc5ygk.js → variant-s8d2arj4.js} +34 -34
  223. package/dist/chunks/{file-access-c8ax2afj.js → variant-sa8ekw3f.js} +2 -2
  224. package/dist/chunks/{file-access-rdb5mbw2.js → variant-sezyhww6.js} +3 -3
  225. package/dist/chunks/{file-access-ta9h6rc8.js → variant-st2ntgfe.js} +17 -17
  226. package/dist/chunks/{file-access-tgd5gdg0.js → variant-svz6hdr3.js} +21 -21
  227. package/dist/chunks/{file-access-kdvfx77d.js → variant-sx286dfz.js} +4 -4
  228. package/dist/chunks/{file-access-syv4x271.js → variant-syv4x271.js} +1 -1
  229. package/dist/chunks/{file-access-nvjdyy3z.js → variant-t2rq2cag.js} +2 -2
  230. package/dist/chunks/{file-access-eaj1djv9.js → variant-t550f9t1.js} +8 -8
  231. package/dist/chunks/{file-access-tkmwgdpd.js → variant-t6vsspdg.js} +4 -4
  232. package/dist/chunks/{file-access-kd5678n6.js → variant-t70pgtdc.js} +14 -14
  233. package/dist/chunks/{file-access-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{file-access-89znhe33.js → variant-tcezcvh9.js} +4 -4
  235. package/dist/chunks/{file-access-tdstcens.js → variant-tdstcens.js} +1 -1
  236. package/dist/chunks/{file-access-tm0kqsz3.js → variant-tm0kqsz3.js} +1 -1
  237. package/dist/chunks/{file-access-v7vqgwnw.js → variant-tmarsfqx.js} +13 -13
  238. package/dist/chunks/{file-access-bprgs97j.js → variant-tn4059qx.js} +6 -6
  239. package/dist/chunks/{file-access-gwfvn308.js → variant-tr6kyxq5.js} +8 -8
  240. package/dist/chunks/{file-access-tyytaxap.js → variant-tyytaxap.js} +1 -1
  241. package/dist/chunks/{file-access-0bg0bx69.js → variant-v0es1rhs.js} +5 -5
  242. package/dist/chunks/{file-access-v7p4zvkq.js → variant-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/{file-access-7y6n2aky.js → variant-v80fe4f0.js} +19 -19
  244. package/dist/chunks/{file-access-veqvce7d.js → variant-veqvce7d.js} +1 -1
  245. package/dist/chunks/{file-access-efss0yr1.js → variant-vr36gzhv.js} +11 -11
  246. package/dist/chunks/{file-access-nnpypz22.js → variant-vrd205ec.js} +23 -23
  247. package/dist/chunks/{file-access-w39jehkq.js → variant-vrrq7v3g.js} +5 -5
  248. package/dist/chunks/{file-access-b3x2bcz3.js → variant-vzpx0zgq.js} +21 -21
  249. package/dist/chunks/{file-access-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{file-access-048dg1q1.js → variant-w1s09g3c.js} +20 -20
  251. package/dist/chunks/{file-access-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{file-access-dhcaxbkm.js → variant-w67pepdb.js} +13 -13
  253. package/dist/chunks/variant-wa7s2n1w.js +253 -0
  254. package/dist/chunks/{file-access-td4xfqsh.js → variant-wb6cm1je.js} +24 -24
  255. package/dist/chunks/{file-access-wd87259q.js → variant-wd87259q.js} +1 -1
  256. package/dist/chunks/{file-access-k1st3y5b.js → variant-we78fsmk.js} +15 -15
  257. package/dist/chunks/{file-access-9z4knqn6.js → variant-wt3f0p64.js} +84 -84
  258. package/dist/chunks/{file-access-3hesyp2p.js → variant-wtch9zxc.js} +9 -9
  259. package/dist/chunks/{file-access-bkxyw0dr.js → variant-wwajdw47.js} +9 -9
  260. package/dist/chunks/{file-access-fa3fxms1.js → variant-x3xh85jh.js} +27 -27
  261. package/dist/chunks/{file-access-d48vtfkp.js → variant-x5h44zm2.js} +17 -17
  262. package/dist/chunks/{file-access-1j626q9f.js → variant-x6ymh9rw.js} +4 -4
  263. package/dist/chunks/{file-access-k1szzmcz.js → variant-xmas6527.js} +28 -28
  264. package/dist/chunks/{file-access-ssabpyyc.js → variant-xsch7tq4.js} +11 -11
  265. package/dist/chunks/{file-access-ak9nxzt9.js → variant-xt78c4m4.js} +24 -24
  266. package/dist/chunks/{file-access-7p43bsgp.js → variant-xw32jce5.js} +9 -9
  267. package/dist/chunks/{file-access-yg2fry7j.js → variant-xwes4szy.js} +9 -9
  268. package/dist/chunks/{file-access-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{file-access-jqm0p7na.js → variant-y4yg6ba5.js} +44 -44
  270. package/dist/chunks/{file-access-dpkg50ah.js → variant-y71avatq.js} +4 -4
  271. package/dist/chunks/{file-access-b9grawmm.js → variant-y8p3zjbc.js} +6 -6
  272. package/dist/chunks/{file-access-btgcmbzv.js → variant-ydyzxvt9.js} +5 -5
  273. package/dist/chunks/{file-access-xyxdq3nn.js → variant-ymcr3d56.js} +45 -45
  274. package/dist/chunks/{file-access-w1c1cf4j.js → variant-yn09pyyk.js} +33 -33
  275. package/dist/chunks/{file-access-k4k4514v.js → variant-ywfskbrg.js} +22 -22
  276. package/dist/chunks/{file-access-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{file-access-1xtm2zgn.js → variant-z744vbe2.js} +22 -22
  278. package/dist/chunks/{file-access-rq3fykv0.js → variant-z83m3vzv.js} +9 -9
  279. package/dist/chunks/{file-access-gxcpmwxq.js → variant-zckkafr9.js} +46 -46
  280. package/dist/chunks/{file-access-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{file-access-veqsm63q.js → variant-zrj4ggwr.js} +15 -15
  282. package/dist/chunks/{file-access-d5xh5z6d.js → variant-zvx5bk6r.js} +9 -9
  283. package/dist/chunks/{file-access-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +79 -79
  289. package/dist/config/discovery.js +86 -86
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +92 -92
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +120 -120
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +216 -216
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +108 -108
  424. package/dist/form.js +80 -80
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +87 -87
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +87 -87
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +111 -111
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +111 -111
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +92 -92
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +86 -86
  557. package/dist/provider.js +97 -97
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +214 -214
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +92 -92
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +79 -79
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +3 -3
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +210 -210
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +211 -211
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +93 -93
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +130 -130
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +107 -107
  640. package/dist/tool/plugin/read.js +125 -125
  641. package/dist/tool/plugin/shell.js +212 -212
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +114 -114
  645. package/dist/tool/plugin/websearch.js +116 -116
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +16 -16
  651. package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
  652. package/dist/types/session/runner/step.d.ts +32 -3
  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 +5 -5
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +2 -2
  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 +3 -3
  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 +95 -95
  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 +83 -83
  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 +10 -10
  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/file-access-84h0zvm6.js +0 -26
  687. package/dist/chunks/file-access-9zdhvgqs.js +0 -18
  688. package/dist/chunks/file-access-x3hek3ek.js +0 -253
  689. /package/dist/chunks/{file-access-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-access-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-access-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-access-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-access-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-access-24dcb14g.js → variant-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{file-access-2710q6r3.js → variant-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{file-access-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{file-access-2bv980vf.js → variant-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{file-access-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{file-access-359p4xyc.js → variant-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-access-3asan66x.js → variant-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-access-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{file-access-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{file-access-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-access-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-access-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-access-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{file-access-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{file-access-53557ph1.js → variant-53557ph1.js} +0 -0
  709. /package/dist/chunks/{file-access-550bvhaj.js → variant-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{file-access-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{file-access-6prwharc.js → variant-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-access-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{file-access-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{file-access-7m9af43g.js → variant-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{file-access-822emrt2.js → variant-822emrt2.js} +0 -0
  716. /package/dist/chunks/{file-access-84wd9syh.js → variant-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{file-access-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{file-access-8n3pysct.js → variant-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{file-access-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{file-access-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{file-access-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{file-access-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{file-access-af5trqkr.js → variant-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{file-access-afrmfg78.js → variant-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{file-access-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{file-access-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{file-access-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{file-access-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{file-access-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{file-access-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{file-access-d9fn303g.js → variant-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{file-access-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{file-access-dajrwvna.js → variant-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{file-access-dap0rakb.js → variant-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{file-access-df08tz66.js → variant-df08tz66.js} +0 -0
  736. /package/dist/chunks/{file-access-dy18nga0.js → variant-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{file-access-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{file-access-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{file-access-ec1grn59.js → variant-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{file-access-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{file-access-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{file-access-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{file-access-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{file-access-faypxj3z.js → variant-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{file-access-fd410y7t.js → variant-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{file-access-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-access-g86h250q.js → variant-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-access-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-access-gftt206x.js → variant-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-access-hcxmzztb.js → variant-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{file-access-hk9envan.js → variant-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-access-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{file-access-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{file-access-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{file-access-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-access-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-access-jze0r7bz.js → variant-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{file-access-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{file-access-m18g726c.js → variant-m18g726c.js} +0 -0
  760. /package/dist/chunks/{file-access-mp448xyj.js → variant-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{file-access-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{file-access-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{file-access-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{file-access-njntx4h6.js → variant-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{file-access-pkyv6v7h.js → variant-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{file-access-pyv0edze.js → variant-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{file-access-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{file-access-q74kybfr.js → variant-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{file-access-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{file-access-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{file-access-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{file-access-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{file-access-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{file-access-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{file-access-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{file-access-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{file-access-ve7vex1e.js → variant-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{file-access-w803qqfp.js → variant-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{file-access-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{file-access-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{file-access-wjj7prxr.js → variant-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{file-access-wtztk69x.js → variant-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{file-access-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{file-access-x61499pn.js → variant-x61499pn.js} +0 -0
  785. /package/dist/chunks/{file-access-y44na4kk.js → variant-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{file-access-y8f7s663.js → variant-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{file-access-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{file-access-ym463w8f.js → variant-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{file-access-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{file-access-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-access-4s3dfb2j.js";
4
+ } from "./variant-5f79zmff.js";
5
5
  import {
6
6
  Service84,
7
7
  node88
8
- } from "./file-access-hcqrq8nm.js";
8
+ } from "./variant-749xanmk.js";
9
9
  import {
10
- Service37,
11
- node39
12
- } from "./file-access-jhf3jymm.js";
10
+ Service61,
11
+ node64
12
+ } from "./variant-321x2wtd.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./file-access-z5v4ffb3.js";
16
+ } from "./variant-z5v4ffb3.js";
17
17
  import {
18
- Service81,
19
- node85
20
- } from "./file-access-d2gv4akw.js";
18
+ Service82,
19
+ node86
20
+ } from "./variant-5dpxwsmj.js";
21
21
  import {
22
22
  Ref4
23
- } from "./file-access-m0nv8qas.js";
23
+ } from "./variant-pps6n2xr.js";
24
24
  import {
25
- Service60,
26
- node64
27
- } from "./file-access-7p43bsgp.js";
25
+ Service67,
26
+ node70
27
+ } from "./variant-xw32jce5.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./file-access-gftt206x.js";
30
+ } from "./variant-gftt206x.js";
31
31
  import {
32
32
  NotFoundError9
33
- } from "./file-access-ngyrtr94.js";
33
+ } from "./variant-1gpb38yh.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./file-access-ec1grn59.js";
36
+ } from "./variant-ec1grn59.js";
37
37
  import {
38
- Service34
39
- } from "./file-access-m70sbz6t.js";
38
+ Service58
39
+ } from "./variant-afdssyjb.js";
40
40
  import {
41
41
  Service65,
42
- node69
43
- } from "./file-access-zja718nw.js";
42
+ node68
43
+ } from "./variant-4gh28w69.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service35,
48
- node37,
47
+ Service59,
48
+ node62,
49
49
  moveIDs2
50
- } from "./file-access-j8vs3k5w.js";
50
+ } from "./variant-rgctwq8h.js";
51
51
  import {
52
- Service33,
53
- node36
54
- } from "./file-access-nqv9yqds.js";
52
+ Service57,
53
+ node61
54
+ } from "./variant-jc7eq68k.js";
55
55
  import {
56
- node24
57
- } from "./file-access-m0p4awvf.js";
56
+ node27
57
+ } from "./variant-dcf4fjqw.js";
58
58
  import {
59
59
  __export
60
- } from "./file-access-9rqn6x4v.js";
60
+ } from "./variant-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service20,
68
+ Service: () => Service23,
69
69
  SessionMove: () => exports_move,
70
- node: () => node23
70
+ node: () => node26
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service20 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service23 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service20, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service81;
92
- const locations = yield* Service60;
91
+ const projects = yield* Service82;
92
+ const locations = yield* Service67;
93
93
  const store = yield* Service65;
94
- const execution = yield* Service33;
95
- const instances = yield* Service37;
96
- const admission = yield* Service35;
94
+ const execution = yield* Service57;
95
+ const instances = yield* Service61;
96
+ const admission = yield* Service59;
97
97
  const database = yield* Service85;
98
98
  const bus = yield* Service84;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service34.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service58.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service20.of({
136
+ return Service23.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node23 = makeGlobalNode({
167
- service: Service20,
166
+ var node26 = makeGlobalNode({
167
+ service: Service23,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node85,
172
+ node86,
173
+ node70,
174
+ node68,
175
+ node61,
173
176
  node64,
174
- node69,
175
- node36,
176
- node39,
177
- node37,
177
+ node62,
178
178
  node89,
179
179
  node88,
180
- node24
180
+ node27
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service20, node23, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node26, exports_move };
@@ -1,125 +1,126 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-access-4s3dfb2j.js";
4
+ } from "./variant-5f79zmff.js";
5
5
  import {
6
6
  Service84,
7
7
  node88
8
- } from "./file-access-hcqrq8nm.js";
8
+ } from "./variant-749xanmk.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./file-access-gftt206x.js";
11
+ } from "./variant-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./file-access-ngyrtr94.js";
14
+ } from "./variant-1gpb38yh.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./file-access-ec1grn59.js";
17
+ } from "./variant-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./file-access-es1vcfrp.js";
20
+ } from "./variant-c1fqxshp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./file-access-4xkcgd99.js";
23
+ } from "./variant-0n5ns49k.js";
24
24
  import {
25
25
  provenance2
26
- } from "./file-access-yrcj3v3g.js";
26
+ } from "./variant-n1n192bv.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./file-access-nb5065av.js";
30
+ } from "./variant-s4sj6whh.js";
31
31
  import {
32
32
  Service65,
33
- node69
34
- } from "./file-access-zja718nw.js";
33
+ node68
34
+ } from "./variant-4gh28w69.js";
35
35
  import {
36
- Service59,
37
- node63
38
- } from "./file-access-wv5qhq9f.js";
36
+ Service20,
37
+ node22
38
+ } from "./variant-gzach1fq.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./file-access-775gj3j1.js";
41
+ } from "./variant-775gj3j1.js";
42
42
  import {
43
- Service28,
44
- node32
45
- } from "./file-access-tg1sa0zd.js";
43
+ Service29,
44
+ node33
45
+ } from "./variant-ch7mpmes.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./file-access-bwccqm6j.js";
48
+ } from "./variant-mrxxw1se.js";
49
49
  import {
50
- make4
51
- } from "./file-access-wecqtg5s.js";
50
+ make10
51
+ } from "./variant-b3f8fkhc.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./file-access-btgcmbzv.js";
54
+ } from "./variant-ydyzxvt9.js";
55
55
  import {
56
- Service7,
57
- node9,
56
+ Service9,
57
+ node11,
58
58
  estimatePrompt2
59
- } from "./file-access-mpt1m363.js";
59
+ } from "./variant-j75n2q4t.js";
60
60
  import {
61
- Service21,
62
- node25
63
- } from "./file-access-dfq2h1zq.js";
61
+ Service24,
62
+ node28
63
+ } from "./variant-5rwnzs1f.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./file-access-j8vs3k5w.js";
68
+ } from "./variant-rgctwq8h.js";
69
69
  import {
70
- Service3,
70
+ Service8,
71
71
  isUntitled2,
72
- node4
73
- } from "./file-access-faydtw9x.js";
72
+ node10
73
+ } from "./variant-81fzbrcp.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service34
77
- } from "./file-access-m70sbz6t.js";
76
+ Service58
77
+ } from "./variant-afdssyjb.js";
78
78
  import {
79
- node35
80
- } from "./file-access-a8pvjcdf.js";
79
+ node47
80
+ } from "./variant-p714j1h1.js";
81
81
  import {
82
- node43
83
- } from "./file-access-ssabpyyc.js";
82
+ node42
83
+ } from "./variant-xsch7tq4.js";
84
84
  import {
85
85
  Outcome2,
86
- make3
87
- } from "./file-access-7b71byjj.js";
86
+ make9
87
+ } from "./variant-2nv99jkq.js";
88
88
  import {
89
- Service30
90
- } from "./file-access-9zdhvgqs.js";
89
+ Service31
90
+ } from "./variant-dxj72tfx.js";
91
91
  import {
92
- node16
93
- } from "./file-access-edv1g30z.js";
92
+ node24
93
+ } from "./variant-mw080yxy.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./file-access-y44na4kk.js";
96
+ } from "./variant-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./file-access-9rqn6x4v.js";
99
+ } from "./variant-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node3
105
+ node: () => node9
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
- import { and, desc, eq, sql } from "drizzle-orm";
108
+ import { and, desc, eq, inArray, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service34, Effect.gen(function* () {
112
+ var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
113
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
113
114
  const bus = yield* Service84;
114
- const lifecycle = yield* Service59;
115
+ const lifecycle = yield* Service20;
115
116
  const store = yield* Service65;
116
- const context = yield* Service21;
117
- const modelTransport = yield* Service28;
117
+ const context = yield* Service24;
118
+ const modelTransport = yield* Service29;
118
119
  const db = (yield* Service85).db;
119
- const compaction = yield* Service7;
120
- const plugins = yield* Service30;
121
- const title = yield* Service3;
122
- const steps = yield* make3;
120
+ const compaction = yield* Service9;
121
+ const plugins = yield* Service31;
122
+ const title = yield* Service8;
123
+ const steps = yield* make9;
123
124
  const titles = yield* FiberMap.make();
124
125
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
125
126
  const sessionID = input.sessionID;
@@ -240,7 +241,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
240
241
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
242
  const sessionID = first.session.id;
242
243
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make4(bus, sessionID);
244
+ const retry = yield* make10(bus, sessionID);
244
245
  let initial = first;
245
246
  let recoverOverflow = true;
246
247
  let recoverContinuation = true;
@@ -307,6 +308,22 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
307
308
  yield* bus.publish(SessionEvent2.Synthetic, { sessionID, text: CONTINUE_AFTER_INCOMPLETE_STREAM });
308
309
  assistantMessageID = SessionMessage2.ID.create();
309
310
  }),
311
+ OutputLimit: Effect.fn("SessionRunner.continueOutputLimit")(function* (outcome) {
312
+ const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), inArray(SessionMessageTable2.type, ["user", "assistant"]))).orderBy(desc(SessionMessageTable2.seq)).limit(3).all().pipe(Effect.orDie);
313
+ const recent = yield* Effect.forEach(rows, decodeMessageRow2);
314
+ const exhausted = recent.length === 3 && recent.every((message) => message.type === "assistant" && message.finish === "length");
315
+ if (exhausted)
316
+ return yield* new StepFailedError2({
317
+ error: {
318
+ type: "output-limit",
319
+ message: "Response still truncated after two output token limit continuations"
320
+ }
321
+ });
322
+ if (outcome.needsContinuation)
323
+ return true;
324
+ yield* bus.publish(SessionEvent2.Synthetic, { sessionID, text: CONTINUE_AFTER_OUTPUT_LIMIT });
325
+ assistantMessageID = SessionMessage2.ID.create();
326
+ }),
310
327
  Compacted: Effect.fnUntraced(function* () {
311
328
  recoverOverflow = false;
312
329
  assistantMessageID = SessionMessage2.ID.create();
@@ -356,25 +373,25 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
356
373
  }
357
374
  }
358
375
  });
359
- return Service34.of({ drain });
376
+ return Service58.of({ drain });
360
377
  }));
361
- var node3 = makeLocationNode({
362
- service: Service34,
378
+ var node9 = makeLocationNode({
379
+ service: Service58,
363
380
  layer,
364
381
  deps: [
365
382
  node88,
366
- node63,
383
+ node22,
367
384
  llmClient2,
368
- node25,
369
- node32,
370
- node69,
371
- node9,
372
- node16,
373
- node4,
374
- node35,
375
- node43,
385
+ node28,
386
+ node33,
387
+ node68,
388
+ node11,
389
+ node24,
390
+ node10,
391
+ node47,
392
+ node42,
376
393
  node89
377
394
  ]
378
395
  });
379
396
 
380
- export { node3, exports_llm };
397
+ export { node9, exports_llm };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-access-z5v4ffb3.js";
3
+ } from "./variant-z5v4ffb3.js";
4
4
  import {
5
- Info7,
5
+ Info10,
6
6
  ID5,
7
7
  Name2
8
- } from "./file-access-npjgym32.js";
8
+ } from "./variant-q46hn8y7.js";
9
9
  import {
10
- Service45
11
- } from "./file-access-jqm0p7na.js";
10
+ Service37
11
+ } from "./variant-y4yg6ba5.js";
12
12
  import {
13
13
  __export
14
- } from "./file-access-9rqn6x4v.js";
14
+ } from "./variant-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill3 = {};
18
- __export(exports_skill3, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin49,
21
+ Plugin: () => Plugin15,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill3
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin49 = define({
428
+ var Plugin15 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info7.make({
433
+ editor.add(Info10.make({
434
434
  id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info7.make({
440
+ editor.add(Info10.make({
441
441
  id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
@@ -467,7 +467,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
467
467
  `);
468
468
  });
469
469
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
470
- const config = yield* Service45;
470
+ const config = yield* Service37;
471
471
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
472
472
  });
473
473
  function terminal() {
@@ -481,4 +481,4 @@ function shell() {
481
481
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
482
482
  }
483
483
 
484
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin49, exports_skill3 };
484
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin15, exports_skill };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./file-access-tazgh4e4.js";
10
+ } from "./variant-tazgh4e4.js";
11
11
  import {
12
- Service80
13
- } from "./file-access-m0nv8qas.js";
12
+ Service81
13
+ } from "./variant-pps6n2xr.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./file-access-tgd5gdg0.js";
16
+ } from "./variant-svz6hdr3.js";
17
17
  import {
18
18
  __export
19
- } from "./file-access-9rqn6x4v.js";
19
+ } from "./variant-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin35,
24
+ Plugin: () => Plugin2,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin35 = define({
33
+ var Plugin2 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service80;
36
+ const location = yield* Service81;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin35, exports_hg };
201
+ export { Plugin2, exports_hg };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-access-z5v4ffb3.js";
3
+ } from "./variant-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./file-access-97aeaand.js";
6
+ } from "./variant-s2z0d44b.js";
7
7
  import {
8
- Info8
9
- } from "./file-access-am6f2qjv.js";
10
- import {
11
- Info12
12
- } from "./file-access-tkmwgdpd.js";
8
+ Info7
9
+ } from "./variant-3cqwnyj9.js";
13
10
  import {
14
11
  Info9
15
- } from "./file-access-w39jehkq.js";
12
+ } from "./variant-t6vsspdg.js";
13
+ import {
14
+ Info6
15
+ } from "./variant-vrrq7v3g.js";
16
16
  import {
17
17
  Spec2
18
- } from "./file-access-0jwsre1p.js";
18
+ } from "./variant-qgn6gcr1.js";
19
19
  import {
20
- Info11
21
- } from "./file-access-9hwaqfsw.js";
20
+ Info5
21
+ } from "./variant-0bwnrbmb.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -27,10 +27,10 @@ import {
27
27
  migrateMcp2,
28
28
  migrateProvider2,
29
29
  providerID2
30
- } from "./file-access-7ws6qndy.js";
30
+ } from "./variant-bwy6v28t.js";
31
31
  import {
32
32
  __export
33
- } from "./file-access-9rqn6x4v.js";
33
+ } from "./variant-9rqn6x4v.js";
34
34
 
35
35
  // src/config/normalize.ts
36
36
  var exports_normalize = {};
@@ -97,12 +97,12 @@ function normalize2(input) {
97
97
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
98
98
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
99
99
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
100
- const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
100
+ const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
101
101
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
102
102
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
103
103
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
104
104
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
105
- const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
105
+ const legacyAgents = mapValues(decodeMap(input.agent, Info7, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
106
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
107
107
  const migratedSmallModel = modelSelection2(legacySmallModel);
108
108
  if (legacySmallModel && !migratedSmallModel)
@@ -116,7 +116,7 @@ function normalize2(input) {
116
116
  model: migratedSmallModel,
117
117
  ...legacyAgents.title
118
118
  };
119
- const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
119
+ const modeAgents = mapValues(decodeMap(input.mode, Info7, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
120
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
121
121
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
122
122
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
217
217
  normalizeMcpTimeout(value, timeout, path, diagnostics);
218
218
  return;
219
219
  }
220
- const server = decodeValue(Info9, value, path, diagnostics);
220
+ const server = decodeValue(Info6, value, path, diagnostics);
221
221
  if (server !== undefined)
222
222
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
223
223
  });
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
413
413
  diagnoseProviderUnsupported(raw, path, diagnostics);
414
414
  if (invalidProviderOverlays(raw, path, diagnostics))
415
415
  return [];
416
- const provider = decodeValue(Info11, raw, path, diagnostics);
416
+ const provider = decodeValue(Info5, raw, path, diagnostics);
417
417
  if (provider === undefined)
418
418
  return [];
419
419
  const destination = providerID2(name);