@opencode/core 0.0.0-dev-21590 → 0.0.0-dev-21592

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 (791) 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 +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{reference-t5jgkqc0.js → model-01j7rzmr.js} +66 -61
  8. package/dist/chunks/{reference-gth7ey8h.js → model-072q16cb.js} +25 -25
  9. package/dist/chunks/{reference-w70n3epg.js → model-0b8de6ew.js} +8 -8
  10. package/dist/chunks/{reference-xydhs8a8.js → model-0canpjbz.js} +30 -30
  11. package/dist/chunks/{reference-vfqfz9ng.js → model-0e0jgjy9.js} +8 -8
  12. package/dist/chunks/{reference-0h8y3ex8.js → model-0h8y3ex8.js} +1 -1
  13. package/dist/chunks/{reference-c62eb685.js → model-0n48jksk.js} +34 -34
  14. package/dist/chunks/{reference-y70av53j.js → model-0q0he6s7.js} +26 -26
  15. package/dist/chunks/{reference-91tbfg8t.js → model-0xg995h5.js} +18 -18
  16. package/dist/chunks/{reference-dv41yykm.js → model-15v1gk62.js} +33 -33
  17. package/dist/chunks/{reference-jk7xnh1r.js → model-1r91ydea.js} +4 -4
  18. package/dist/chunks/{reference-331p6xjh.js → model-1w4vqh2t.js} +2 -2
  19. package/dist/chunks/{reference-1x2knyw4.js → model-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{reference-vk70kcm0.js → model-20d9rxq1.js} +11 -11
  21. package/dist/chunks/{reference-3wj3659j.js → model-21vv1a77.js} +4 -4
  22. package/dist/chunks/{reference-jxxeqwt8.js → model-272c0xdt.js} +6 -6
  23. package/dist/chunks/{reference-1ep2p91f.js → model-27w5k9zf.js} +2 -2
  24. package/dist/chunks/{reference-fm90g8ey.js → model-2eqnzn4s.js} +10 -10
  25. package/dist/chunks/{reference-2z1j29yd.js → model-2z1j29yd.js} +1 -1
  26. package/dist/chunks/{reference-gphsqkvp.js → model-321ec0g4.js} +16 -16
  27. package/dist/chunks/{reference-57kxvcz1.js → model-340hmagq.js} +23 -23
  28. package/dist/chunks/{reference-y8dt0ywh.js → model-35s4j9cr.js} +11 -11
  29. package/dist/chunks/{reference-ayjs7tqn.js → model-3cbjf1nt.js} +2 -2
  30. package/dist/chunks/{reference-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{reference-3nnrz6f6.js → model-3nnrz6f6.js} +1 -1
  32. package/dist/chunks/{reference-5qapgh17.js → model-3pj39t0e.js} +3 -3
  33. package/dist/chunks/{reference-0ceasb8s.js → model-3vq194ty.js} +20 -20
  34. package/dist/chunks/{reference-z47ak11q.js → model-4hwp5n1a.js} +6 -6
  35. package/dist/chunks/{reference-4x43ze8b.js → model-4k6phjpp.js} +20 -20
  36. package/dist/chunks/{reference-hwhakdtp.js → model-4pr8e29t.js} +15 -15
  37. package/dist/chunks/{reference-d0jwqxv7.js → model-4qc2xvk6.js} +36 -36
  38. package/dist/chunks/{reference-158tfn12.js → model-4txkrg0g.js} +11 -11
  39. package/dist/chunks/{reference-4v008n1t.js → model-4v008n1t.js} +1 -1
  40. package/dist/chunks/{reference-hh0p0dz0.js → model-4v9wqr06.js} +24 -24
  41. package/dist/chunks/{reference-7k3386r2.js → model-4w20wkzz.js} +14 -14
  42. package/dist/chunks/{reference-4xvmh7wp.js → model-4xvmh7wp.js} +3 -3
  43. package/dist/chunks/{reference-18sg5j62.js → model-51481qqa.js} +14 -14
  44. package/dist/chunks/{reference-h26pfjbv.js → model-54bbrvq7.js} +11 -11
  45. package/dist/chunks/{reference-zw1psc7x.js → model-5bj5kag9.js} +22 -22
  46. package/dist/chunks/{reference-e93cazkx.js → model-5cm23gk5.js} +13 -13
  47. package/dist/chunks/{reference-rjr2dewt.js → model-5fsc8n82.js} +24 -24
  48. package/dist/chunks/{reference-3zvjb0hd.js → model-5g6946ns.js} +21 -21
  49. package/dist/chunks/{reference-cf1w38y2.js → model-5jp10723.js} +45 -45
  50. package/dist/chunks/{reference-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{reference-14v17fgg.js → model-5newpn23.js} +28 -28
  52. package/dist/chunks/{reference-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
  53. package/dist/chunks/{reference-sp2pyba2.js → model-5z2mzmdm.js} +7 -7
  54. package/dist/chunks/{reference-nggn9d43.js → model-5zfr5p9e.js} +28 -28
  55. package/dist/chunks/{reference-p7vhpwh8.js → model-5zrxpy3q.js} +5 -5
  56. package/dist/chunks/{reference-mgc5ajq3.js → model-63jssr0d.js} +15 -15
  57. package/dist/chunks/{reference-3tt1qkhr.js → model-66r9f6z1.js} +5 -5
  58. package/dist/chunks/{reference-da7jqf2t.js → model-67zb0nc8.js} +16 -16
  59. package/dist/chunks/{reference-6esdw8yj.js → model-6esdw8yj.js} +1 -1
  60. package/dist/chunks/model-6f6jf5mb.js +26 -0
  61. package/dist/chunks/{reference-c55tr7hb.js → model-6f9z7j1v.js} +17 -17
  62. package/dist/chunks/{reference-cnjhsh0b.js → model-6hfnb0rs.js} +4 -4
  63. package/dist/chunks/{reference-atxct68j.js → model-6jpgtjve.js} +54 -54
  64. package/dist/chunks/{reference-bcb37r7z.js → model-6nb4ea3p.js} +16 -16
  65. package/dist/chunks/{reference-6pjqjmy2.js → model-6pjqjmy2.js} +1 -1
  66. package/dist/chunks/{reference-9xt3rwsk.js → model-6r1yb0s4.js} +12 -12
  67. package/dist/chunks/{reference-97q6z4z1.js → model-6vm2p5a1.js} +17 -17
  68. package/dist/chunks/{reference-n17ttpw5.js → model-72g5xjtf.js} +6 -6
  69. package/dist/chunks/{reference-g5wz76jx.js → model-741bc9hj.js} +43 -43
  70. package/dist/chunks/{reference-zwexphgd.js → model-784fke7s.js} +86 -86
  71. package/dist/chunks/{reference-khz9qtbd.js → model-78q1pp3f.js} +22 -22
  72. package/dist/chunks/{reference-bpe9b5xd.js → model-7bjqyjrs.js} +36 -36
  73. package/dist/chunks/{reference-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{reference-6czmj677.js → model-7bw1g6gn.js} +4 -4
  75. package/dist/chunks/{reference-7w2ypzdf.js → model-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{reference-s12jh10e.js → model-7ye4ae45.js} +8 -8
  77. package/dist/chunks/{reference-sfpgp9sh.js → model-8633aewc.js} +2 -2
  78. package/dist/chunks/{reference-8cn6bdr7.js → model-891v6h49.js} +4 -4
  79. package/dist/chunks/{reference-dj0vzv63.js → model-8jxvmzrw.js} +25 -25
  80. package/dist/chunks/{reference-qjgzc4b4.js → model-8jztxfpf.js} +4 -4
  81. package/dist/chunks/{reference-xkympmbz.js → model-8sxdqgb0.js} +6 -6
  82. package/dist/chunks/{reference-8wtp7s3z.js → model-8wtp7s3z.js} +1 -1
  83. package/dist/chunks/{reference-dgaww69h.js → model-8xsxb202.js} +26 -26
  84. package/dist/chunks/{reference-zysxana2.js → model-8zzv4zj8.js} +50 -50
  85. package/dist/chunks/{reference-91rj84md.js → model-91rj84md.js} +1 -1
  86. package/dist/chunks/{reference-n72v8kyg.js → model-92m6938h.js} +23 -23
  87. package/dist/chunks/{reference-dpydvgsc.js → model-9437wt4d.js} +8 -8
  88. package/dist/chunks/{reference-9b28cy4d.js → model-953xbrr3.js} +5 -5
  89. package/dist/chunks/{reference-4jzj6ttp.js → model-99frgwf9.js} +19 -19
  90. package/dist/chunks/{reference-ap22wcp6.js → model-99h9c51m.js} +10 -10
  91. package/dist/chunks/{reference-fyxzhex2.js → model-9g5n6tdw.js} +12 -12
  92. package/dist/chunks/{reference-enkpkfwx.js → model-9kg5w032.js} +8 -8
  93. package/dist/chunks/{reference-dwwyec8z.js → model-9nkjg9qd.js} +6 -6
  94. package/dist/chunks/{reference-73hhvkv7.js → model-9nw8ck4g.js} +4 -4
  95. package/dist/chunks/{reference-bjf39wav.js → model-9zpxcqdf.js} +34 -34
  96. package/dist/chunks/{reference-f2jmt318.js → model-a1bvjvf9.js} +46 -46
  97. package/dist/chunks/{reference-0mfc0d68.js → model-a49bexj4.js} +35 -35
  98. package/dist/chunks/{reference-mrn7jrf1.js → model-a6strf84.js} +28 -28
  99. package/dist/chunks/{reference-7mkh44ga.js → model-adpvjdsc.js} +24 -24
  100. package/dist/chunks/{reference-034tev2y.js → model-aj7mw0zk.js} +2 -2
  101. package/dist/chunks/{reference-gb7emm0a.js → model-anx7ry72.js} +4 -4
  102. package/dist/chunks/{reference-b0mv4wxm.js → model-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{reference-392nsjvq.js → model-b5q9zetx.js} +46 -46
  104. package/dist/chunks/{reference-6m8d80j4.js → model-b67zw2j5.js} +10 -10
  105. package/dist/chunks/{reference-b6vsg801.js → model-b6vsg801.js} +2 -2
  106. package/dist/chunks/{reference-dbs9f4d2.js → model-bhzsakrn.js} +175 -78
  107. package/dist/chunks/{reference-yjptjaqs.js → model-bkswmhj3.js} +43 -43
  108. package/dist/chunks/{reference-3rsg1p7p.js → model-bn4a103g.js} +19 -19
  109. package/dist/chunks/{reference-zwtk19q4.js → model-bq891ma8.js} +19 -19
  110. package/dist/chunks/{reference-xd9cc171.js → model-bstexjd6.js} +5 -5
  111. package/dist/chunks/{reference-e42petng.js → model-bzr0y705.js} +13 -13
  112. package/dist/chunks/{reference-dmcydt5k.js → model-c1hv1ece.js} +14 -14
  113. package/dist/chunks/{reference-92at24ve.js → model-c3zdnxfx.js} +30 -30
  114. package/dist/chunks/{reference-y06e3eb4.js → model-c6sr2qh2.js} +11 -11
  115. package/dist/chunks/{reference-d2887f8n.js → model-c9t2ty9q.js} +4 -4
  116. package/dist/chunks/{reference-ba07h9gm.js → model-cbvv1y68.js} +3 -3
  117. package/dist/chunks/{reference-h0wvm00t.js → model-chrqa3e7.js} +5 -5
  118. package/dist/chunks/{reference-ctya507c.js → model-ct02k7de.js} +5 -5
  119. package/dist/chunks/{reference-ygavzdh1.js → model-cw8gdmwg.js} +38 -38
  120. package/dist/chunks/{reference-x774aw49.js → model-czhx5hsv.js} +11 -11
  121. package/dist/chunks/{reference-gqv6dref.js → model-d1rt1382.js} +5 -5
  122. package/dist/chunks/{reference-axa1k9j1.js → model-d2r51erv.js} +15 -15
  123. package/dist/chunks/{reference-d4v9tmah.js → model-d4v9tmah.js} +2 -2
  124. package/dist/chunks/{reference-g35eyyjw.js → model-d6gm4j52.js} +52 -52
  125. package/dist/chunks/{reference-1zrn58qb.js → model-ddq31bgq.js} +15 -15
  126. package/dist/chunks/{reference-sd9qfce6.js → model-df6r7s43.js} +15 -15
  127. package/dist/chunks/{reference-997dsrmm.js → model-dkq45v8d.js} +8 -8
  128. package/dist/chunks/{reference-c3cfh5w6.js → model-dqgvvwe0.js} +9 -9
  129. package/dist/chunks/{reference-998yhzzq.js → model-dvj9ct8m.js} +3 -3
  130. package/dist/chunks/{reference-e834z07m.js → model-e834z07m.js} +1 -1
  131. package/dist/chunks/{reference-617zxnkf.js → model-e88dgn8f.js} +4 -4
  132. package/dist/chunks/{reference-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{reference-3k4jc8v0.js → model-egmw08v6.js} +5 -5
  134. package/dist/chunks/{reference-apd5jra7.js → model-eqh43b5v.js} +9 -9
  135. package/dist/chunks/{reference-ev4x93rx.js → model-f1nzbf19.js} +10 -10
  136. package/dist/chunks/{reference-pvk64qra.js → model-fa339sjc.js} +26 -26
  137. package/dist/chunks/{reference-fffv3p7h.js → model-fffv3p7h.js} +1 -1
  138. package/dist/chunks/{reference-aqfgbfd8.js → model-fhzt8j0q.js} +17 -17
  139. package/dist/chunks/{reference-wyt6s0d6.js → model-fsq1pbsz.js} +23 -23
  140. package/dist/chunks/{reference-2wjzf534.js → model-fzj23b6d.js} +13 -13
  141. package/dist/chunks/{reference-dcqk33sb.js → model-g154atg6.js} +18 -18
  142. package/dist/chunks/{reference-sah69mkr.js → model-g1ay4zd8.js} +9 -9
  143. package/dist/chunks/{reference-btxxq5tt.js → model-g4y1xy0d.js} +24 -24
  144. package/dist/chunks/{reference-dghpgdwh.js → model-g56hrhg3.js} +9 -9
  145. package/dist/chunks/{reference-g5h9c0rr.js → model-g5h9c0rr.js} +2 -2
  146. package/dist/chunks/{reference-8w3ybxxd.js → model-g88zdbhx.js} +11 -11
  147. package/dist/chunks/{reference-6f6dq05w.js → model-g8bt1dca.js} +13 -11
  148. package/dist/chunks/{reference-g02452fg.js → model-g8vb2scg.js} +7 -7
  149. package/dist/chunks/{reference-k879r3tb.js → model-gc9zf11p.js} +2 -2
  150. package/dist/chunks/{reference-hwnyt2r8.js → model-ggyjb5de.js} +336 -336
  151. package/dist/chunks/{reference-jt507tgk.js → model-gn6ba7xn.js} +10 -10
  152. package/dist/chunks/{reference-nkxa5wq0.js → model-gprpk8mk.js} +4 -4
  153. package/dist/chunks/model-grzehpz7.js +18 -0
  154. package/dist/chunks/{reference-gbc8mqyx.js → model-gtndzxs8.js} +6 -6
  155. package/dist/chunks/{reference-69vhhgbf.js → model-gwprnrgv.js} +14 -14
  156. package/dist/chunks/{reference-6pz21ma1.js → model-gxtyjb3d.js} +17 -17
  157. package/dist/chunks/{reference-e3tyzyg9.js → model-gy8yxpp1.js} +11 -11
  158. package/dist/chunks/{reference-585ybms8.js → model-hhwb3rx0.js} +20 -20
  159. package/dist/chunks/{reference-zb9z236r.js → model-hnbfgrzz.js} +5 -5
  160. package/dist/chunks/{reference-6z67c7sw.js → model-hwbsae6b.js} +32 -32
  161. package/dist/chunks/{reference-j113cymg.js → model-j113cymg.js} +1 -1
  162. package/dist/chunks/{reference-45sa55ra.js → model-j2gfe9ae.js} +32 -32
  163. package/dist/chunks/{reference-jk7ax7q1.js → model-j9qw6n70.js} +46 -46
  164. package/dist/chunks/{reference-e5dqjz6v.js → model-jchrqzf6.js} +4 -4
  165. package/dist/chunks/{reference-82k6k4r9.js → model-jfb254mg.js} +13 -13
  166. package/dist/chunks/{reference-b321b1xq.js → model-jfgmzhvh.js} +32 -32
  167. package/dist/chunks/{reference-mqnjedcc.js → model-jg5w3cjw.js} +12 -12
  168. package/dist/chunks/{reference-1178vxht.js → model-jgp3dhd9.js} +45 -45
  169. package/dist/chunks/{reference-1m5v0ayp.js → model-jj73fkkr.js} +20 -20
  170. package/dist/chunks/{reference-9t2khtsw.js → model-jj9caqwr.js} +11 -11
  171. package/dist/chunks/{reference-pc1v25hk.js → model-jx89vj1k.js} +3 -3
  172. package/dist/chunks/{reference-49n54dn2.js → model-k1whs75x.js} +9 -9
  173. package/dist/chunks/{reference-k814nvkf.js → model-k814nvkf.js} +1 -1
  174. package/dist/chunks/{reference-mvx17366.js → model-kgex5j78.js} +11 -11
  175. package/dist/chunks/{reference-6mhdkm3r.js → model-kmfx2698.js} +17 -17
  176. package/dist/chunks/{reference-0pv52n9j.js → model-kw3tz860.js} +12 -12
  177. package/dist/chunks/{reference-m1714858.js → model-m1714858.js} +1 -1
  178. package/dist/chunks/{reference-aapktb4s.js → model-m1wmrjqx.js} +13 -13
  179. package/dist/chunks/{reference-g7esga4v.js → model-m37sd98t.js} +7 -7
  180. package/dist/chunks/{reference-xt1e9zqw.js → model-m7jmd0hd.js} +26 -26
  181. package/dist/chunks/{reference-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{reference-maspj1v3.js → model-maspj1v3.js} +1 -1
  183. package/dist/chunks/{reference-mt84etn8.js → model-mbqkgzdb.js} +3 -3
  184. package/dist/chunks/{reference-me5bcav6.js → model-me5bcav6.js} +1 -1
  185. package/dist/chunks/{reference-wxd8q9mp.js → model-mkrzd24w.js} +11 -11
  186. package/dist/chunks/{reference-75n0062n.js → model-mq0mqgjr.js} +11 -11
  187. package/dist/chunks/{reference-35fm799j.js → model-mr3cdd38.js} +34 -34
  188. package/dist/chunks/{reference-gt0jrv1m.js → model-mrmbr746.js} +4 -4
  189. package/dist/chunks/{reference-dy5an0j5.js → model-mvthmwjs.js} +5 -5
  190. package/dist/chunks/{reference-n0p0277s.js → model-n0p0277s.js} +1 -1
  191. package/dist/chunks/{reference-02szp9gm.js → model-n4qksct9.js} +9 -9
  192. package/dist/chunks/{reference-szcgc7h4.js → model-n6v2b7cw.js} +5 -5
  193. package/dist/chunks/{reference-22hmzxt9.js → model-n8hmsfpk.js} +22 -22
  194. package/dist/chunks/{reference-yqtd0t4r.js → model-na88mdda.js} +17 -17
  195. package/dist/chunks/{reference-nah043kf.js → model-nah043kf.js} +1 -1
  196. package/dist/chunks/{reference-7jp0etre.js → model-nar1vcx8.js} +8 -8
  197. package/dist/chunks/{reference-9rq4kxzz.js → model-nfaaxv4r.js} +18 -18
  198. package/dist/chunks/{reference-pzjxx5kj.js → model-nv65jaj5.js} +1 -1
  199. package/dist/chunks/{reference-gk1rk4s8.js → model-nxv9x1zm.js} +7 -7
  200. package/dist/chunks/{reference-dfv0e3xz.js → model-nyzphh1c.js} +23 -18
  201. package/dist/chunks/{reference-p015t6z3.js → model-p015t6z3.js} +2 -2
  202. package/dist/chunks/{reference-jpfg3tzk.js → model-p4h2267x.js} +15 -15
  203. package/dist/chunks/{reference-n6xp163e.js → model-pa0vwm8c.js} +16 -16
  204. package/dist/chunks/{reference-wy4ffk9y.js → model-pkax9v1w.js} +7 -7
  205. package/dist/chunks/{reference-pknna89w.js → model-pknna89w.js} +1 -1
  206. package/dist/chunks/{reference-mxej95nn.js → model-pn50smkw.js} +23 -23
  207. package/dist/chunks/{reference-mgrmgacb.js → model-pngkbba6.js} +32 -32
  208. package/dist/chunks/{reference-h5x76x6y.js → model-prv1cyb1.js} +18 -18
  209. package/dist/chunks/{reference-7cd2rmsc.js → model-pz0r8h4k.js} +35 -35
  210. package/dist/chunks/{reference-7784vw5s.js → model-q0qwz8mp.js} +35 -35
  211. package/dist/chunks/{reference-9t6kz4yn.js → model-q1nnka74.js} +8 -8
  212. package/dist/chunks/{reference-zz476xrp.js → model-q39pt7dd.js} +17 -17
  213. package/dist/chunks/{reference-17gtvps5.js → model-q9g9j9gh.js} +21 -21
  214. package/dist/chunks/{reference-ax04rzcv.js → model-qgeehj15.js} +5 -5
  215. package/dist/chunks/{reference-bxmy050v.js → model-qq9tt1td.js} +3 -3
  216. package/dist/chunks/{reference-5hr8xq0q.js → model-qxerc9ee.js} +4 -4
  217. package/dist/chunks/{reference-69dckygt.js → model-r07gp9b9.js} +4 -4
  218. package/dist/chunks/{reference-r0yr0wbs.js → model-r0yr0wbs.js} +1 -1
  219. package/dist/chunks/{reference-bhknf9fc.js → model-r6h7fdbc.js} +21 -21
  220. package/dist/chunks/{reference-c4y96v02.js → model-raktd10s.js} +12 -12
  221. package/dist/chunks/{reference-b7tdm2jb.js → model-rb6ke7kq.js} +20 -20
  222. package/dist/chunks/{reference-rb9dy4dg.js → model-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{reference-rt0txz63.js → model-rjnacbrz.js} +9 -9
  224. package/dist/chunks/{reference-rt5dr6hb.js → model-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{reference-9n5nfdbf.js → model-s2gphw67.js} +25 -25
  226. package/dist/chunks/{reference-fkdejkqx.js → model-s64sqv58.js} +9 -9
  227. package/dist/chunks/{reference-cgx3zxj6.js → model-se9dn7rd.js} +9 -9
  228. package/dist/chunks/{reference-sqjzf8x2.js → model-sqjzf8x2.js} +1 -1
  229. package/dist/chunks/{reference-qh6sbcd8.js → model-srsshwrf.js} +4 -4
  230. package/dist/chunks/{reference-hp05sb1w.js → model-sxj6qfjf.js} +15 -15
  231. package/dist/chunks/{reference-2k6pc5wc.js → model-sysqhah2.js} +18 -18
  232. package/dist/chunks/{reference-g32wv891.js → model-szqbbbee.js} +35 -35
  233. package/dist/chunks/{reference-2ga909q5.js → model-sztxty7m.js} +21 -21
  234. package/dist/chunks/{reference-h85hk0jt.js → model-t25nhsq0.js} +5 -5
  235. package/dist/chunks/{reference-76jxzvwp.js → model-t656wjzj.js} +13 -13
  236. package/dist/chunks/{reference-tczq8hjw.js → model-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{reference-1hahx13g.js → model-td85jp64.js} +192 -192
  238. package/dist/chunks/{reference-z8bkf37c.js → model-tee140je.js} +21 -21
  239. package/dist/chunks/{reference-p0bn44dh.js → model-tjfc794x.js} +11 -11
  240. package/dist/chunks/{reference-5jz32ng9.js → model-tq4xd5v5.js} +8 -8
  241. package/dist/chunks/{reference-xptgtj2n.js → model-ts1rzmt6.js} +5 -5
  242. package/dist/chunks/{reference-br28babr.js → model-ttdgtk4q.js} +8 -8
  243. package/dist/chunks/{reference-pka0ykct.js → model-tvs942hr.js} +18 -18
  244. package/dist/chunks/{reference-tw8zr1ps.js → model-tw8zr1ps.js} +1 -1
  245. package/dist/chunks/{reference-twv2r8f4.js → model-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{reference-vd3b3yk9.js → model-vd3b3yk9.js} +1 -1
  247. package/dist/chunks/{reference-yhbnhfm6.js → model-vd89anp8.js} +11 -11
  248. package/dist/chunks/{reference-s0m4xskg.js → model-vdakd0pn.js} +88 -88
  249. package/dist/chunks/{reference-veqvce7d.js → model-veqvce7d.js} +1 -1
  250. package/dist/chunks/{reference-2e3p09q4.js → model-vf0zxygw.js} +16 -16
  251. package/dist/chunks/{reference-sparrdxh.js → model-vfpfqbnz.js} +32 -32
  252. package/dist/chunks/{reference-yd3g8txe.js → model-vkkc8t8a.js} +9 -9
  253. package/dist/chunks/{reference-dyqd29rb.js → model-vmwcq5xv.js} +7 -7
  254. package/dist/chunks/{reference-b792txny.js → model-vrmm9ccr.js} +11 -11
  255. package/dist/chunks/{reference-spqp8scq.js → model-vssrn3v8.js} +5 -5
  256. package/dist/chunks/{reference-n6j3m873.js → model-vvf0vm2n.js} +17 -17
  257. package/dist/chunks/{reference-5enarcya.js → model-w2eysc6j.js} +6 -6
  258. package/dist/chunks/{reference-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{reference-v7s2kyj8.js → model-w47q07ee.js} +5 -5
  260. package/dist/chunks/{reference-pnz1sqhe.js → model-w8a1jqtz.js} +1 -1
  261. package/dist/chunks/{reference-w8qtt4th.js → model-w8qtt4th.js} +1 -1
  262. package/dist/chunks/{reference-wakvkjy4.js → model-wakvkjy4.js} +1 -1
  263. package/dist/chunks/{reference-p48hbk47.js → model-wb79839p.js} +9 -9
  264. package/dist/chunks/{reference-wd87259q.js → model-wd87259q.js} +1 -1
  265. package/dist/chunks/{reference-w35wzz9x.js → model-wqscedq8.js} +9 -9
  266. package/dist/chunks/{reference-f2tcvpah.js → model-wsjw5zph.js} +19 -19
  267. package/dist/chunks/{reference-p0tsr9h6.js → model-wtgq8nqm.js} +7 -7
  268. package/dist/chunks/{reference-p1c1t367.js → model-wtnsyy90.js} +27 -27
  269. package/dist/chunks/model-wvqgfgh4.js +257 -0
  270. package/dist/chunks/{reference-ga0jheq7.js → model-wzdjcsat.js} +15 -15
  271. package/dist/chunks/{reference-7e442h9n.js → model-x0n658k6.js} +51 -51
  272. package/dist/chunks/{reference-bt6rz2kw.js → model-x78b4590.js} +25 -25
  273. package/dist/chunks/{reference-ctewqk08.js → model-xeaspr23.js} +14 -14
  274. package/dist/chunks/{reference-q21p601r.js → model-xet4rz3q.js} +6 -6
  275. package/dist/chunks/{reference-yb20nhc3.js → model-yb20nhc3.js} +1 -1
  276. package/dist/chunks/{reference-s85z3cra.js → model-yqveydy6.js} +4 -4
  277. package/dist/chunks/{reference-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{reference-r0h3bw7v.js → model-z0s5rknz.js} +31 -31
  279. package/dist/chunks/{reference-z38nccrw.js → model-z38nccrw.js} +1 -1
  280. package/dist/chunks/{reference-qp86s7ck.js → model-z6g09nf1.js} +3 -3
  281. package/dist/chunks/{reference-42jd4697.js → model-zba5tm1j.js} +4 -4
  282. package/dist/chunks/{reference-mfyv679b.js → model-zf6q9j4p.js} +9 -9
  283. package/dist/chunks/{reference-tmd1r8tg.js → model-zgmrepvs.js} +4 -4
  284. package/dist/chunks/{reference-zkg84ctx.js → model-zkg84ctx.js} +1 -1
  285. package/dist/chunks/{reference-c4mt52fx.js → model-zrcjrc8a.js} +21 -21
  286. package/dist/chunks/{reference-2vaegvqr.js → model-zvrj69sk.js} +17 -17
  287. package/dist/chunks/{reference-z1797mdk.js → model-zw8we4s7.js} +13 -13
  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 +116 -116
  304. package/dist/config/plugin/location-watcher.js +114 -114
  305. package/dist/config/plugin/mcp.js +121 -121
  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 +113 -113
  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 +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  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 +1 -1
  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 +221 -221
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +99 -99
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +105 -105
  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 +93 -93
  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 +360 -360
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  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 +111 -111
  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 +93 -93
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +104 -104
  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 +117 -117
  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 +86 -86
  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 +3 -3
  496. package/dist/plugin/instance.js +5 -5
  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 +4 -4
  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 +116 -116
  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 +113 -113
  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 +118 -118
  528. package/dist/plugin/provider/opencode.js +103 -103
  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 +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  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 +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  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 +136 -136
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  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 +128 -128
  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 +79 -79
  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 +132 -132
  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 +229 -229
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  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 +163 -163
  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 +5 -5
  620. package/dist/session/title.js +162 -162
  621. package/dist/session/to-session-error.js +114 -114
  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 +11 -11
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +116 -116
  633. package/dist/snapshot.js +93 -93
  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 +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  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 +103 -103
  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 +115 -115
  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 +115 -115
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/session/compaction.d.ts +7 -0
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +88 -88
  678. package/dist/websearch.js +84 -84
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +83 -83
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +82 -82
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +8 -8
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/reference-6zjm2phc.js +0 -18
  691. package/dist/chunks/reference-dfy9at9k.js +0 -26
  692. package/dist/chunks/reference-gy55dmjh.js +0 -257
  693. /package/dist/chunks/{reference-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{reference-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{reference-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{reference-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{reference-24dcb14g.js → model-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{reference-2710q6r3.js → model-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{reference-2bv980vf.js → model-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{reference-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{reference-359p4xyc.js → model-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{reference-3asan66x.js → model-3asan66x.js} +0 -0
  703. /package/dist/chunks/{reference-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{reference-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{reference-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{reference-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{reference-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{reference-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{reference-53557ph1.js → model-53557ph1.js} +0 -0
  710. /package/dist/chunks/{reference-550bvhaj.js → model-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{reference-5fjb7ams.js → model-5fjb7ams.js} +0 -0
  712. /package/dist/chunks/{reference-6prwharc.js → model-6prwharc.js} +0 -0
  713. /package/dist/chunks/{reference-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{reference-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{reference-7m9af43g.js → model-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{reference-822emrt2.js → model-822emrt2.js} +0 -0
  717. /package/dist/chunks/{reference-84wd9syh.js → model-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{reference-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{reference-8n3pysct.js → model-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{reference-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{reference-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{reference-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{reference-a058387c.js → model-a058387c.js} +0 -0
  724. /package/dist/chunks/{reference-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{reference-af5trqkr.js → model-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{reference-afrmfg78.js → model-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{reference-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{reference-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{reference-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{reference-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{reference-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{reference-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{reference-d9fn303g.js → model-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{reference-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{reference-dajrwvna.js → model-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{reference-dap0rakb.js → model-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{reference-df08tz66.js → model-df08tz66.js} +0 -0
  738. /package/dist/chunks/{reference-dy18nga0.js → model-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{reference-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{reference-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{reference-ec1grn59.js → model-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{reference-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{reference-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{reference-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{reference-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{reference-faypxj3z.js → model-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{reference-fd410y7t.js → model-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{reference-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{reference-g86h250q.js → model-g86h250q.js} +0 -0
  750. /package/dist/chunks/{reference-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{reference-gftt206x.js → model-gftt206x.js} +0 -0
  752. /package/dist/chunks/{reference-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{reference-hk9envan.js → model-hk9envan.js} +0 -0
  754. /package/dist/chunks/{reference-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{reference-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{reference-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{reference-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{reference-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{reference-jze0r7bz.js → model-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{reference-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{reference-m18g726c.js → model-m18g726c.js} +0 -0
  762. /package/dist/chunks/{reference-mp448xyj.js → model-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{reference-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{reference-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{reference-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{reference-njntx4h6.js → model-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{reference-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{reference-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{reference-q74kybfr.js → model-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{reference-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{reference-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{reference-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{reference-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{reference-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{reference-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{reference-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{reference-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{reference-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{reference-w803qqfp.js → model-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{reference-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{reference-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{reference-wjj7prxr.js → model-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{reference-wtztk69x.js → model-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{reference-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{reference-x61499pn.js → model-x61499pn.js} +0 -0
  786. /package/dist/chunks/{reference-y44na4kk.js → model-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{reference-y8f7s663.js → model-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{reference-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{reference-ym463w8f.js → model-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{reference-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{reference-z9919s4g.js → model-z9919s4g.js} +0 -0
package/dist/bus.js CHANGED
@@ -10,77 +10,77 @@ import {
10
10
  configured12,
11
11
  node89,
12
12
  exports_bus
13
- } from "./chunks/reference-69dckygt.js";
14
- import"./chunks/reference-2710q6r3.js";
15
- import"./chunks/reference-qjgzc4b4.js";
16
- import"./chunks/reference-bxmy050v.js";
17
- import"./chunks/reference-0zkw76rk.js";
18
- import"./chunks/reference-v7s2kyj8.js";
19
- import"./chunks/reference-z47ak11q.js";
20
- import"./chunks/reference-pnz1sqhe.js";
21
- import"./chunks/reference-sfpgp9sh.js";
22
- import"./chunks/reference-sp2pyba2.js";
23
- import"./chunks/reference-wd87259q.js";
24
- import"./chunks/reference-cf4snx6d.js";
25
- import"./chunks/reference-w3wsvvr9.js";
26
- import"./chunks/reference-m9w0rfyh.js";
27
- import"./chunks/reference-822emrt2.js";
28
- import"./chunks/reference-7bmhse3q.js";
29
- import"./chunks/reference-emrn6kk6.js";
30
- import"./chunks/reference-f0mxakyp.js";
31
- import"./chunks/reference-qp86s7ck.js";
32
- import"./chunks/reference-pkyv6v7h.js";
33
- import"./chunks/reference-zysxana2.js";
34
- import"./chunks/reference-jr7sbwjy.js";
35
- import"./chunks/reference-a6k6eb26.js";
36
- import"./chunks/reference-wtztk69x.js";
37
- import"./chunks/reference-q74kybfr.js";
38
- import"./chunks/reference-e5kj55wp.js";
39
- import"./chunks/reference-17cy0kzp.js";
40
- import"./chunks/reference-qb87gjwd.js";
41
- import"./chunks/reference-jzg6c2d5.js";
42
- import"./chunks/reference-w803qqfp.js";
43
- import"./chunks/reference-fd410y7t.js";
44
- import"./chunks/reference-84wd9syh.js";
45
- import"./chunks/reference-njntx4h6.js";
46
- import"./chunks/reference-qrg20bc0.js";
47
- import"./chunks/reference-msx8hqn2.js";
48
- import"./chunks/reference-z9919s4g.js";
49
- import"./chunks/reference-jwfs4k6c.js";
50
- import"./chunks/reference-y8f7s663.js";
51
- import"./chunks/reference-7m9af43g.js";
52
- import"./chunks/reference-359p4xyc.js";
53
- import"./chunks/reference-rcb2kzg1.js";
54
- import"./chunks/reference-j2ntwpah.js";
55
- import"./chunks/reference-atq7p7m5.js";
56
- import"./chunks/reference-hk9envan.js";
57
- import"./chunks/reference-aqzs7mqg.js";
58
- import"./chunks/reference-1cnp2v09.js";
59
- import"./chunks/reference-4knz6hnm.js";
60
- import"./chunks/reference-8wj87zfr.js";
61
- import"./chunks/reference-bmr6ed5q.js";
62
- import"./chunks/reference-2c3vjs8z.js";
63
- import"./chunks/reference-cvy3z8tj.js";
64
- import"./chunks/reference-d9jj8t3e.js";
65
- import"./chunks/reference-ygaqb7jw.js";
66
- import"./chunks/reference-d9fn303g.js";
67
- import"./chunks/reference-9a4afbnw.js";
68
- import"./chunks/reference-53557ph1.js";
69
- import"./chunks/reference-ssg3fenm.js";
70
- import"./chunks/reference-sdp7kfr6.js";
71
- import"./chunks/reference-q3sfg36h.js";
72
- import"./chunks/reference-df08tz66.js";
73
- import"./chunks/reference-43n2bw4t.js";
74
- import"./chunks/reference-f6n9ztr4.js";
75
- import"./chunks/reference-wer8tq1h.js";
76
- import"./chunks/reference-mp448xyj.js";
77
- import"./chunks/reference-7akdwqpd.js";
78
- import"./chunks/reference-8n3pysct.js";
79
- import"./chunks/reference-bkyjaxrp.js";
80
- import"./chunks/reference-n05xt0ee.js";
81
- import"./chunks/reference-g86h250q.js";
82
- import"./chunks/reference-m18g726c.js";
83
- import"./chunks/reference-n3j8tn72.js";
13
+ } from "./chunks/model-r07gp9b9.js";
14
+ import"./chunks/model-2710q6r3.js";
15
+ import"./chunks/model-qq9tt1td.js";
16
+ import"./chunks/model-z6g09nf1.js";
17
+ import"./chunks/model-0zkw76rk.js";
18
+ import"./chunks/model-w47q07ee.js";
19
+ import"./chunks/model-4hwp5n1a.js";
20
+ import"./chunks/model-w8a1jqtz.js";
21
+ import"./chunks/model-8633aewc.js";
22
+ import"./chunks/model-5z2mzmdm.js";
23
+ import"./chunks/model-w3wsvvr9.js";
24
+ import"./chunks/model-822emrt2.js";
25
+ import"./chunks/model-f0mxakyp.js";
26
+ import"./chunks/model-cf4snx6d.js";
27
+ import"./chunks/model-wd87259q.js";
28
+ import"./chunks/model-m9w0rfyh.js";
29
+ import"./chunks/model-7bmhse3q.js";
30
+ import"./chunks/model-emrn6kk6.js";
31
+ import"./chunks/model-pkyv6v7h.js";
32
+ import"./chunks/model-8zzv4zj8.js";
33
+ import"./chunks/model-wer8tq1h.js";
34
+ import"./chunks/model-msx8hqn2.js";
35
+ import"./chunks/model-njntx4h6.js";
36
+ import"./chunks/model-7m9af43g.js";
37
+ import"./chunks/model-e5kj55wp.js";
38
+ import"./chunks/model-qb87gjwd.js";
39
+ import"./chunks/model-17cy0kzp.js";
40
+ import"./chunks/model-9a4afbnw.js";
41
+ import"./chunks/model-qrg20bc0.js";
42
+ import"./chunks/model-jzg6c2d5.js";
43
+ import"./chunks/model-ygaqb7jw.js";
44
+ import"./chunks/model-z9919s4g.js";
45
+ import"./chunks/model-n05xt0ee.js";
46
+ import"./chunks/model-df08tz66.js";
47
+ import"./chunks/model-8n3pysct.js";
48
+ import"./chunks/model-8wj87zfr.js";
49
+ import"./chunks/model-ssg3fenm.js";
50
+ import"./chunks/model-4knz6hnm.js";
51
+ import"./chunks/model-1cnp2v09.js";
52
+ import"./chunks/model-g86h250q.js";
53
+ import"./chunks/model-rcb2kzg1.js";
54
+ import"./chunks/model-43n2bw4t.js";
55
+ import"./chunks/model-d9jj8t3e.js";
56
+ import"./chunks/model-hk9envan.js";
57
+ import"./chunks/model-a6k6eb26.js";
58
+ import"./chunks/model-jwfs4k6c.js";
59
+ import"./chunks/model-d9fn303g.js";
60
+ import"./chunks/model-bkyjaxrp.js";
61
+ import"./chunks/model-atq7p7m5.js";
62
+ import"./chunks/model-n3j8tn72.js";
63
+ import"./chunks/model-359p4xyc.js";
64
+ import"./chunks/model-q74kybfr.js";
65
+ import"./chunks/model-84wd9syh.js";
66
+ import"./chunks/model-cvy3z8tj.js";
67
+ import"./chunks/model-y8f7s663.js";
68
+ import"./chunks/model-m18g726c.js";
69
+ import"./chunks/model-aqzs7mqg.js";
70
+ import"./chunks/model-wtztk69x.js";
71
+ import"./chunks/model-sdp7kfr6.js";
72
+ import"./chunks/model-j2ntwpah.js";
73
+ import"./chunks/model-7akdwqpd.js";
74
+ import"./chunks/model-w803qqfp.js";
75
+ import"./chunks/model-53557ph1.js";
76
+ import"./chunks/model-2c3vjs8z.js";
77
+ import"./chunks/model-f6n9ztr4.js";
78
+ import"./chunks/model-q3sfg36h.js";
79
+ import"./chunks/model-bmr6ed5q.js";
80
+ import"./chunks/model-mp448xyj.js";
81
+ import"./chunks/model-fd410y7t.js";
82
+ import"./chunks/model-jr7sbwjy.js";
83
+ import"./chunks/model-8jztxfpf.js";
84
84
  export {
85
85
  exports_bus as Bus,
86
86
  InvalidDurableEventError2 as InvalidDurableEventError,
@@ -1,99 +1,99 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./reference-bxmy050v.js";
4
+ } from "./model-qq9tt1td.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./reference-69dckygt.js";
8
+ } from "./model-r07gp9b9.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./reference-gftt206x.js";
11
+ } from "./model-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./reference-jxxeqwt8.js";
14
+ } from "./model-272c0xdt.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./reference-ec1grn59.js";
17
+ } from "./model-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./reference-998yhzzq.js";
20
+ } from "./model-dvj9ct8m.js";
21
21
  import {
22
22
  prepare4
23
- } from "./reference-6czmj677.js";
23
+ } from "./model-7bw1g6gn.js";
24
24
  import {
25
25
  decodeMessageRow2,
26
26
  preview2
27
- } from "./reference-ap22wcp6.js";
27
+ } from "./model-99h9c51m.js";
28
28
  import {
29
- Service47,
30
- node50
31
- } from "./reference-18sg5j62.js";
29
+ Service59,
30
+ node61
31
+ } from "./model-51481qqa.js";
32
32
  import {
33
- Service43,
34
- node46
35
- } from "./reference-dv41yykm.js";
33
+ Service18,
34
+ node20
35
+ } from "./model-15v1gk62.js";
36
36
  import {
37
37
  llmClient2
38
- } from "./reference-p015t6z3.js";
38
+ } from "./model-p015t6z3.js";
39
39
  import {
40
- Service25,
41
- node29
42
- } from "./reference-e3tyzyg9.js";
40
+ Service28,
41
+ node32
42
+ } from "./model-gy8yxpp1.js";
43
43
  import {
44
44
  baseTranscript2
45
- } from "./reference-45sa55ra.js";
45
+ } from "./model-j2gfe9ae.js";
46
46
  import {
47
- make4
48
- } from "./reference-xkympmbz.js";
47
+ make5
48
+ } from "./model-8sxdqgb0.js";
49
49
  import {
50
50
  toSessionError2
51
- } from "./reference-gqv6dref.js";
51
+ } from "./model-d1rt1382.js";
52
52
  import {
53
- Service7,
54
- node9,
53
+ Service8,
54
+ node10,
55
55
  estimatePrompt2
56
- } from "./reference-dbs9f4d2.js";
56
+ } from "./model-bhzsakrn.js";
57
57
  import {
58
- node62
59
- } from "./reference-mvx17366.js";
58
+ node42
59
+ } from "./model-kgex5j78.js";
60
60
  import {
61
- Service18,
62
- node21
63
- } from "./reference-s0m4xskg.js";
61
+ Service25,
62
+ node29
63
+ } from "./model-vdakd0pn.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./reference-aqfgbfd8.js";
68
+ } from "./model-fhzt8j0q.js";
69
69
  import {
70
70
  Service3,
71
71
  isUntitled2,
72
72
  node4
73
- } from "./reference-2e3p09q4.js";
73
+ } from "./model-vf0zxygw.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service34
77
- } from "./reference-s85z3cra.js";
76
+ Service43
77
+ } from "./model-yqveydy6.js";
78
78
  import {
79
- node40
80
- } from "./reference-mgrmgacb.js";
79
+ node56
80
+ } from "./model-pngkbba6.js";
81
81
  import {
82
82
  Outcome2,
83
83
  make3
84
- } from "./reference-2vaegvqr.js";
84
+ } from "./model-zvrj69sk.js";
85
85
  import {
86
- Service26
87
- } from "./reference-6zjm2phc.js";
86
+ Service35
87
+ } from "./model-grzehpz7.js";
88
88
  import {
89
- node16
90
- } from "./reference-0ceasb8s.js";
89
+ node22
90
+ } from "./model-3vq194ty.js";
91
91
  import {
92
92
  MAX_STEPS_PROMPT2
93
- } from "./reference-y44na4kk.js";
93
+ } from "./model-y44na4kk.js";
94
94
  import {
95
95
  __export
96
- } from "./reference-9rqn6x4v.js";
96
+ } from "./model-9rqn6x4v.js";
97
97
 
98
98
  // src/session/runner/llm.ts
99
99
  var exports_llm = {};
@@ -107,15 +107,15 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
107
107
  import { makeLocationNode } from "@opencode/util/effect/app-node";
108
108
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
109
109
  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.";
110
- var layer = Layer.effect(Service34, Effect.gen(function* () {
110
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
111
111
  const bus = yield* Service85;
112
- const lifecycle = yield* Service43;
113
- const store = yield* Service47;
114
- const context = yield* Service18;
115
- const modelTransport = yield* Service25;
112
+ const lifecycle = yield* Service18;
113
+ const store = yield* Service59;
114
+ const context = yield* Service25;
115
+ const modelTransport = yield* Service28;
116
116
  const db = (yield* Service86).db;
117
- const compaction = yield* Service7;
118
- const plugins = yield* Service26;
117
+ const compaction = yield* Service8;
118
+ const plugins = yield* Service35;
119
119
  const title = yield* Service3;
120
120
  const steps = yield* make3;
121
121
  const titles = yield* FiberMap.make();
@@ -238,7 +238,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
238
238
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
239
239
  const sessionID = first.session.id;
240
240
  let assistantMessageID = SessionMessage2.ID.create();
241
- const retry = yield* make4(bus, sessionID);
241
+ const retry = yield* make5(bus, sessionID);
242
242
  let initial = first;
243
243
  let recoverOverflow = true;
244
244
  let recoverContinuation = true;
@@ -252,6 +252,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
252
252
  assistantMessageID = SessionMessage2.ID.create();
253
253
  continue;
254
254
  }
255
+ yield* compaction.precompute(Effect.succeed(loaded));
255
256
  const stepLimitReached = loaded.agent.info.steps !== undefined && step >= loaded.agent.info.steps;
256
257
  const transcript = baseTranscript2({
257
258
  agent: loaded.agent.info,
@@ -290,7 +291,11 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
290
291
  recoverOverflow: Effect.suspend(() => recoverOverflow ? compaction.compact({ reason: "overflow", context: loaded }).pipe(Effect.map((result) => result.status === "completed")) : Effect.succeed(false))
291
292
  });
292
293
  const completed = yield* Outcome2.$match(outcome, {
293
- Completed: (outcome) => Effect.succeed(outcome.needsContinuation),
294
+ Completed: Effect.fnUntraced(function* (outcome) {
295
+ if (!outcome.needsContinuation)
296
+ yield* compaction.precompute(store.context(sessionID).pipe(Effect.map((messages) => ({ ...loaded, messages }))));
297
+ return outcome.needsContinuation;
298
+ }),
294
299
  Retry: (outcome) => retry.wait({
295
300
  decision: outcome.decision,
296
301
  error: outcome.error,
@@ -370,23 +375,23 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
370
375
  }
371
376
  }
372
377
  });
373
- return Service34.of({ drain });
378
+ return Service43.of({ drain });
374
379
  }));
375
380
  var node3 = makeLocationNode({
376
- service: Service34,
381
+ service: Service43,
377
382
  layer,
378
383
  deps: [
379
384
  node89,
380
- node46,
385
+ node20,
381
386
  llmClient2,
382
- node21,
383
387
  node29,
384
- node50,
385
- node9,
386
- node16,
388
+ node32,
389
+ node61,
390
+ node10,
391
+ node22,
387
392
  node4,
388
- node40,
389
- node62,
393
+ node56,
394
+ node42,
390
395
  node90
391
396
  ]
392
397
  });
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID7,
3
- Service48
4
- } from "./reference-khz9qtbd.js";
5
- import {
2
+ ID15,
6
3
  Service79
7
- } from "./reference-n6xp163e.js";
4
+ } from "./model-78q1pp3f.js";
8
5
  import {
9
- Service60
10
- } from "./reference-jk7ax7q1.js";
6
+ Service81
7
+ } from "./model-pa0vwm8c.js";
8
+ import {
9
+ Service48
10
+ } from "./model-j9qw6n70.js";
11
11
  import {
12
- Service78,
12
+ Service61,
13
13
  args2
14
- } from "./reference-c55tr7hb.js";
14
+ } from "./model-6f9z7j1v.js";
15
15
  import {
16
- Service17
17
- } from "./reference-zwexphgd.js";
16
+ Service23
17
+ } from "./model-784fke7s.js";
18
18
  import {
19
- Service11
20
- } from "./reference-4jzj6ttp.js";
19
+ Service6
20
+ } from "./model-99frgwf9.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./reference-e834z07m.js";
23
+ } from "./model-e834z07m.js";
24
24
  import {
25
25
  __export
26
- } from "./reference-9rqn6x4v.js";
26
+ } from "./model-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command = {};
30
30
  __export(exports_command, {
31
31
  ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin5
32
+ Plugin: () => Plugin15
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
39
39
  import { ChildProcess } from "effect/process";
40
40
  import { FSUtil } from "@opencode/util/fs-util";
41
41
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
42
- var Plugin5 = define({
42
+ var Plugin15 = define({
43
43
  id: "opencode.config.command",
44
44
  effect: Effect.fn(function* (ctx) {
45
- const config = yield* Service60;
45
+ const config = yield* Service48;
46
46
  const fs = yield* FSUtil.Service;
47
47
  const loadEntry = Effect.fnUntraced(function* (entry) {
48
48
  if (entry.type === "document")
@@ -52,12 +52,12 @@ var Plugin5 = define({
52
52
  const commands = yield* loadDirectory(fs, entry.path);
53
53
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
54
54
  });
55
- const location = yield* Service79;
55
+ const location = yield* Service81;
56
56
  const processes = yield* AppProcess.Service;
57
- const shell = yield* Service78;
58
- const sessions = yield* Service17;
59
- const agents = yield* Service48;
60
- const subagents = yield* Service11;
57
+ const shell = yield* Service61;
58
+ const sessions = yield* Service23;
59
+ const agents = yield* Service79;
60
+ const subagents = yield* Service6;
61
61
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
62
62
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
63
63
  });
@@ -78,7 +78,7 @@ var Plugin5 = define({
78
78
  name,
79
79
  description: command.description,
80
80
  execute: (input) => Effect.gen(function* () {
81
- const agent = command.agent === undefined ? undefined : ID7.make(command.agent);
81
+ const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
82
82
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
83
83
  const model = command.model === undefined ? commandAgent?.model : {
84
84
  id: command.model.model,
@@ -202,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
202
202
  var quoteTrimRegex = /^["']|["']$/g;
203
203
  var shellRegex = /!`([^`]+)`/g;
204
204
 
205
- export { Plugin5, exports_command };
205
+ export { Plugin15, exports_command };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service32
3
- } from "./reference-7mkh44ga.js";
2
+ Service53
3
+ } from "./model-adpvjdsc.js";
4
4
  import {
5
- Service36
6
- } from "./reference-dwwyec8z.js";
5
+ Service45
6
+ } from "./model-9nkjg9qd.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./reference-6zjm2phc.js";
9
+ } from "./model-grzehpz7.js";
10
10
  import {
11
11
  __export
12
- } from "./reference-9rqn6x4v.js";
12
+ } from "./model-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service36;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service32), instances.provide(input.session));
22
+ const instances = yield* Service45;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./reference-69dckygt.js";
4
+ } from "./model-r07gp9b9.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./reference-vd3b3yk9.js";
8
+ } from "./model-vd3b3yk9.js";
9
9
  import {
10
10
  key2
11
- } from "./reference-42jd4697.js";
11
+ } from "./model-zba5tm1j.js";
12
12
  import {
13
- ID12,
14
- Service64,
15
- node67,
16
- Event13
17
- } from "./reference-y70av53j.js";
13
+ ID13,
14
+ Service77,
15
+ node80,
16
+ Event16
17
+ } from "./model-0q0he6s7.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./reference-n6xp163e.js";
19
+ Service81,
20
+ node85
21
+ } from "./model-pa0vwm8c.js";
22
22
  import {
23
23
  __export
24
- } from "./reference-9rqn6x4v.js";
24
+ } from "./model-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -30,13 +30,13 @@ __export(exports_provider3, {
30
30
  Compaction: () => Compaction3,
31
31
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
32
32
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
33
- Event: () => Event12,
34
- ID: () => ID11,
35
- Info: () => Info19,
33
+ Event: () => Event15,
34
+ ID: () => ID12,
35
+ Info: () => Info21,
36
36
  LoadError: () => LoadError3,
37
37
  Provider: () => exports_provider3,
38
38
  Request: () => Request3,
39
- Service: () => Service63,
39
+ Service: () => Service76,
40
40
  Settings: () => Settings2,
41
41
  Transport: () => Transport2,
42
42
  aisdk: () => aisdk2,
@@ -48,7 +48,7 @@ __export(exports_provider3, {
48
48
  mergeOverlay: () => mergeOverlay2,
49
49
  modelSettings: () => modelSettings2,
50
50
  nativeSettings: () => nativeSettings2,
51
- node: () => node66,
51
+ node: () => node79,
52
52
  packageName: () => packageName2,
53
53
  timeout: () => timeout2,
54
54
  timeouts: () => timeouts2
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
323
323
  var decode = Schema.decodeUnknownSync(Legacy);
324
324
 
325
325
  // src/provider.ts
326
- import { Event as Event12 } from "@opencode/schema/provider";
327
- var ID11 = Provider.ID;
326
+ import { Event as Event15 } from "@opencode/schema/provider";
327
+ var ID12 = Provider.ID;
328
328
  var AISDK_PREFIX2 = "aisdk:";
329
329
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
330
330
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -538,9 +538,9 @@ var Request3 = Provider.Request;
538
538
  var Compaction3 = Provider.Compaction;
539
539
  var Transport2 = Provider.Transport;
540
540
  var Settings2 = Provider.Settings;
541
- var Info19 = Provider.Info;
541
+ var Info21 = Provider.Info;
542
542
 
543
- class Service63 extends Context.Service()("@opencode/Provider") {
543
+ class Service76 extends Context.Service()("@opencode/Provider") {
544
544
  }
545
545
  var definitions = new WeakMap;
546
546
  function index(providerID, models) {
@@ -553,10 +553,10 @@ function index(providerID, models) {
553
553
  definitions.set(models, indexes);
554
554
  return result;
555
555
  }
556
- var layer = Layer.effect(Service63, Effect2.gen(function* () {
556
+ var layer = Layer.effect(Service76, Effect2.gen(function* () {
557
557
  const bus = yield* Service85;
558
- const integrations = yield* Service64;
559
- const location = yield* Service79;
558
+ const integrations = yield* Service77;
559
+ const location = yield* Service81;
560
560
  const state = create3({
561
561
  name: "provider",
562
562
  initial: () => new Map,
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service63, Effect2.gen(function* () {
567
567
  const current = records.get(id);
568
568
  if (current)
569
569
  return current;
570
- const added = { provider: Info19.empty(id), models: new Map };
570
+ const added = { provider: Info21.empty(id), models: new Map };
571
571
  records.set(id, added);
572
572
  maps.add(added.models);
573
573
  return added;
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service63, Effect2.gen(function* () {
648
648
  const available = Array.from(records.values()).filter((record) => {
649
649
  if (record.provider.activation === "disabled")
650
650
  return false;
651
- const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
651
+ const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
652
652
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
653
653
  return false;
654
654
  if (record.provider.activation === "enabled")
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service63, Effect2.gen(function* () {
674
674
  location: { directory: location.directory, workspaceID: location.workspaceID }
675
675
  });
676
676
  });
677
- yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
- return Service63.of({
677
+ yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
+ return Service76.of({
679
679
  transform: state.transform,
680
680
  reload: state.reload,
681
681
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service63, Effect2.gen(function* () {
684
684
  snapshot
685
685
  });
686
686
  }));
687
- var node66 = makeLocationNode({ service: Service63, layer, deps: [node89, node67, node83] });
687
+ var node79 = makeLocationNode({ service: Service76, layer, deps: [node89, node80, node85] });
688
688
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
689
689
  const module = yield* Effect2.tryPromise({
690
690
  try: () => {
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
706
706
  return module;
707
707
  });
708
708
 
709
- export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info19, Service63, node66, exports_provider3, Event12 };
709
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service76, node79, exports_provider3, Event15 };