@opencode/core 0.0.0-dev-19596 → 0.0.0-dev-19598

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 (811) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +89 -2
  4. package/dist/aisdk.js +93 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{schema-tz9c6nnc.js → file-00ahzcwm.js} +15 -15
  8. package/dist/chunks/{schema-15nepkqg.js → file-0h54jqbs.js} +8 -8
  9. package/dist/chunks/{schema-1qghmjy0.js → file-0mt6cg7p.js} +6 -6
  10. package/dist/chunks/{schema-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{schema-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{schema-varphpm5.js → file-0s3e8wbd.js} +61 -54
  13. package/dist/chunks/{schema-sx1n432n.js → file-0v53mg2y.js} +4 -4
  14. package/dist/chunks/{schema-3p2ed7sd.js → file-0vdk82c3.js} +25 -25
  15. package/dist/chunks/{schema-qpv0n9y2.js → file-10jz9m44.js} +13 -13
  16. package/dist/chunks/{schema-hj0g3228.js → file-129brntk.js} +13 -13
  17. package/dist/chunks/{schema-cvtmmhw6.js → file-182z4mkv.js} +4 -4
  18. package/dist/chunks/{schema-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{schema-a3dxz99s.js → file-1j54nx79.js} +11 -11
  20. package/dist/chunks/{schema-a2mmkps9.js → file-1t72z6bs.js} +27 -27
  21. package/dist/chunks/{schema-8hqm76n9.js → file-1zzmp92z.js} +35 -22
  22. package/dist/chunks/{schema-21r38tys.js → file-21r38tys.js} +1 -1
  23. package/dist/chunks/{schema-88jrr0c1.js → file-26m8t0ek.js} +21 -21
  24. package/dist/chunks/{schema-rggx3fk4.js → file-28q1zxr2.js} +8 -8
  25. package/dist/chunks/{schema-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{schema-qr42g2ex.js → file-2fy2emhs.js} +12 -12
  27. package/dist/chunks/{schema-gg2v66ak.js → file-2jtppnb6.js} +36 -36
  28. package/dist/chunks/{schema-607tc6va.js → file-2k8khapm.js} +5 -5
  29. package/dist/chunks/{schema-0pb75hch.js → file-2m2rh4pc.js} +8 -8
  30. package/dist/chunks/{schema-eng2bkh5.js → file-2rpf5fdd.js} +6 -6
  31. package/dist/chunks/{schema-f6agekp8.js → file-2yrd4w3g.js} +14 -17
  32. package/dist/chunks/{schema-qdeq33kz.js → file-2zf3hwjc.js} +22 -22
  33. package/dist/chunks/{schema-kgt4jx9n.js → file-313wy76v.js} +22 -22
  34. package/dist/chunks/{schema-w5np17bk.js → file-34v3mw25.js} +32 -32
  35. package/dist/chunks/file-36msp9ny.js +26 -0
  36. package/dist/chunks/{schema-bfn7mtpr.js → file-3btn89ec.js} +13 -13
  37. package/dist/chunks/{schema-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{schema-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{schema-eyqq4r43.js → file-3pbjq009.js} +8 -8
  40. package/dist/chunks/{schema-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{schema-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{schema-6sk8rnq7.js → file-3v0x2y7p.js} +43 -43
  43. package/dist/chunks/{schema-sxwejk34.js → file-3w80k797.js} +63 -63
  44. package/dist/chunks/{schema-61tweh31.js → file-3xy0seps.js} +11 -11
  45. package/dist/chunks/{schema-8b5a8700.js → file-3z6mat0v.js} +30 -30
  46. package/dist/chunks/{schema-t9qn8q8w.js → file-3zykk5as.js} +8 -8
  47. package/dist/chunks/{schema-t46k7n4n.js → file-42j12a3k.js} +29 -29
  48. package/dist/chunks/{schema-46kds8gk.js → file-485fr60v.js} +15 -15
  49. package/dist/chunks/{schema-fch79rh9.js → file-4jc5c4h4.js} +1 -1
  50. package/dist/chunks/{schema-d4d34sqm.js → file-4rcm86v0.js} +17 -17
  51. package/dist/chunks/{schema-y9ytwzzt.js → file-4zqrhqht.js} +50 -49
  52. package/dist/chunks/{schema-16502g6j.js → file-5276hfdk.js} +22 -22
  53. package/dist/chunks/{schema-vrf9z43g.js → file-52zzeq6p.js} +32 -32
  54. package/dist/chunks/{schema-1ygqh575.js → file-56gdpj1q.js} +9 -9
  55. package/dist/chunks/{schema-x00t4nfm.js → file-57ez7d0k.js} +9 -9
  56. package/dist/chunks/{schema-qcyk0ctz.js → file-58qyzcvs.js} +14 -14
  57. package/dist/chunks/{schema-8tpwn33w.js → file-5c70fjhz.js} +4 -4
  58. package/dist/chunks/{schema-5daktx2q.js → file-5daktx2q.js} +1 -1
  59. package/dist/chunks/{schema-bdqrk2vk.js → file-5phqnecy.js} +9 -9
  60. package/dist/chunks/{schema-paphc93g.js → file-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{schema-b11403r6.js → file-5r9teng0.js} +4 -4
  62. package/dist/chunks/{schema-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{schema-4n7x7n3b.js → file-5vyabe77.js} +46 -46
  64. package/dist/chunks/{schema-pta0m0y2.js → file-5w575vpr.js} +10 -10
  65. package/dist/chunks/{schema-160w9f8h.js → file-658qrzb6.js} +4 -4
  66. package/dist/chunks/{schema-669tq793.js → file-669tq793.js} +1 -1
  67. package/dist/chunks/{schema-94wn97cy.js → file-6bxb4cxk.js} +9 -9
  68. package/dist/chunks/{schema-f4ygn7kd.js → file-6gryy3ht.js} +25 -25
  69. package/dist/chunks/{schema-2402vzrj.js → file-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{schema-30c1nq7z.js → file-6kg1vfnr.js} +8 -8
  71. package/dist/chunks/{schema-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{schema-c09skazh.js → file-6p7t068e.js} +6 -6
  73. package/dist/chunks/{schema-j5dzb3vg.js → file-6s5nejzz.js} +11 -11
  74. package/dist/chunks/{schema-yzesgjc2.js → file-6wce12fj.js} +33 -33
  75. package/dist/chunks/{schema-vve3ffxw.js → file-6we377py.js} +32 -32
  76. package/dist/chunks/{schema-71q4at8m.js → file-71q4at8m.js} +1 -1
  77. package/dist/chunks/{schema-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{schema-s32qcjvy.js → file-7dx4zb5w.js} +46 -46
  79. package/dist/chunks/{schema-7h6eczm7.js → file-7e0sczy2.js} +20 -20
  80. package/dist/chunks/{schema-2xmxfdkw.js → file-7qb1bt6t.js} +13 -13
  81. package/dist/chunks/{schema-ak553geh.js → file-7vzzf4r8.js} +16 -16
  82. package/dist/chunks/{schema-9776sn27.js → file-804mq7mh.js} +17 -17
  83. package/dist/chunks/{schema-1pqwnjx4.js → file-85170kwf.js} +27 -27
  84. package/dist/chunks/{schema-7vgg5bre.js → file-88t9pbvw.js} +20 -20
  85. package/dist/chunks/{schema-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{schema-70d2s7af.js → file-8fj94art.js} +4 -4
  87. package/dist/chunks/{schema-ctmr8zqa.js → file-8gxqpgph.js} +4 -4
  88. package/dist/chunks/{schema-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{schema-fvwtc7m7.js → file-8yjzh81f.js} +22 -36
  90. package/dist/chunks/{schema-7f0264at.js → file-919h57eb.js} +35 -34
  91. package/dist/chunks/{schema-xr4pykw3.js → file-9avcp2jz.js} +16 -16
  92. package/dist/chunks/{schema-dcrj6gad.js → file-9dvg4g8f.js} +22 -22
  93. package/dist/chunks/{schema-02nqk1b9.js → file-9tb0rzq8.js} +4 -4
  94. package/dist/chunks/{schema-mp0exg3w.js → file-9vj1at0d.js} +11 -11
  95. package/dist/chunks/{schema-0n4jht4c.js → file-9x1sbddt.js} +18 -18
  96. package/dist/chunks/{schema-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{schema-aaet6srn.js → file-aaet6srn.js} +2 -2
  98. package/dist/chunks/{schema-hkfg6fzm.js → file-af04s6ss.js} +5 -5
  99. package/dist/chunks/{schema-d6e8k2gz.js → file-agxtagsk.js} +34 -34
  100. package/dist/chunks/{schema-460nzhf0.js → file-ampdzzmt.js} +13 -13
  101. package/dist/chunks/{schema-vazxaftq.js → file-atrnym84.js} +18 -18
  102. package/dist/chunks/{schema-wavq5vqb.js → file-avezr732.js} +4 -4
  103. package/dist/chunks/{schema-sxj88q7q.js → file-b1e26q27.js} +30 -30
  104. package/dist/chunks/{schema-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{schema-yn73hxa9.js → file-bd58x3af.js} +19 -19
  106. package/dist/chunks/{schema-e6hmchc5.js → file-bgxcxs0p.js} +5 -5
  107. package/dist/chunks/{schema-zqk4v51d.js → file-bknfn28s.js} +12 -12
  108. package/dist/chunks/{schema-jj8s0vwv.js → file-bq2epsr3.js} +19 -19
  109. package/dist/chunks/{schema-5rs2mggp.js → file-bycsbmk8.js} +13 -13
  110. package/dist/chunks/{schema-t0x5rdq8.js → file-c4vcfcbt.js} +9 -9
  111. package/dist/chunks/{schema-c78bbtc9.js → file-c78bbtc9.js} +2 -2
  112. package/dist/chunks/{schema-yea1wtgt.js → file-cb51cg86.js} +98 -97
  113. package/dist/chunks/{schema-3qte0bkw.js → file-cf2ej5qv.js} +11 -11
  114. package/dist/chunks/{schema-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{schema-bswyt25e.js → file-ckpz9tzv.js} +13 -13
  116. package/dist/chunks/file-cpj0znwe.js +24 -0
  117. package/dist/chunks/{schema-bnf5aq9z.js → file-cqc023f0.js} +22 -22
  118. package/dist/chunks/{schema-qpxa9xfm.js → file-da6evnzj.js} +11 -11
  119. package/dist/chunks/{schema-skkcpn4x.js → file-de97ckz5.js} +17 -17
  120. package/dist/chunks/{schema-844ef7ks.js → file-dgj0dq1g.js} +8 -8
  121. package/dist/chunks/{schema-35wynegs.js → file-dqc15y4x.js} +2 -2
  122. package/dist/chunks/{schema-zdyqqjkd.js → file-dqvbfby7.js} +205 -192
  123. package/dist/chunks/{schema-dm8kv9e9.js → file-dtnrh8vj.js} +48 -48
  124. package/dist/chunks/{schema-14a1bm7w.js → file-e1x4awme.js} +24 -24
  125. package/dist/chunks/{schema-e5nv3ght.js → file-e5nv3ght.js} +2 -2
  126. package/dist/chunks/{schema-3a6re68j.js → file-e6hd9jay.js} +5 -5
  127. package/dist/chunks/{schema-14getyrd.js → file-eb6z8chr.js} +22 -22
  128. package/dist/chunks/{schema-fnt00pdw.js → file-ecmre7pn.js} +96 -96
  129. package/dist/chunks/{schema-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{schema-p8rnrv0y.js → file-ef6j5nc6.js} +9 -9
  131. package/dist/chunks/{schema-yaj99xd7.js → file-ejt0hq34.js} +18 -18
  132. package/dist/chunks/{schema-nnaq0ssc.js → file-em65arkj.js} +36 -36
  133. package/dist/chunks/{schema-qjkj1w27.js → file-emc9sr5q.js} +5 -5
  134. package/dist/chunks/{schema-aqd42mcz.js → file-eqjzvt4d.js} +10 -10
  135. package/dist/chunks/{schema-8tasdpw9.js → file-eqz5qmce.js} +17 -17
  136. package/dist/chunks/{schema-cyhsea0k.js → file-et0rkxxj.js} +8 -8
  137. package/dist/chunks/{schema-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{schema-r9asyhme.js → file-ev5x2d0f.js} +21 -14
  139. package/dist/chunks/{schema-sez5jh81.js → file-f3ngv102.js} +4 -4
  140. package/dist/chunks/{schema-ew8epg43.js → file-f42mf92g.js} +8 -8
  141. package/dist/chunks/{schema-6bsje7ws.js → file-f5syc60y.js} +2 -2
  142. package/dist/chunks/{schema-f828m53h.js → file-f828m53h.js} +2 -2
  143. package/dist/chunks/{schema-mh093k67.js → file-fctbv38k.js} +30 -30
  144. package/dist/chunks/{schema-cwtxttrt.js → file-ffs43ht2.js} +19 -19
  145. package/dist/chunks/{schema-zwv68h5q.js → file-frmeqhta.js} +7 -7
  146. package/dist/chunks/{schema-w4cz4w8n.js → file-fvrhsr23.js} +2 -2
  147. package/dist/chunks/{schema-219neeqh.js → file-fwkb73sv.js} +5 -5
  148. package/dist/chunks/{schema-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{schema-1cbk4m95.js → file-g0sczcq0.js} +22 -15
  150. package/dist/chunks/{schema-t16yqmmz.js → file-g601pm08.js} +8 -10
  151. package/dist/chunks/{schema-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{schema-jxbxppp8.js → file-ggz1pmcj.js} +28 -28
  153. package/dist/chunks/{schema-j0kcbam5.js → file-gs1hwhc0.js} +25 -25
  154. package/dist/chunks/{schema-crptryd9.js → file-gsx0ryk4.js} +9 -9
  155. package/dist/chunks/{schema-th5km1p3.js → file-gv6a8nnw.js} +5 -5
  156. package/dist/chunks/{schema-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{schema-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{schema-4p8fzzdy.js → file-hfdr1yjj.js} +4 -4
  159. package/dist/chunks/{schema-wpcmngey.js → file-hhh0a6zm.js} +9 -9
  160. package/dist/chunks/{schema-e82z9tr0.js → file-hjt4xg1x.js} +7 -7
  161. package/dist/chunks/{schema-nvck40qe.js → file-hkcvz44k.js} +11 -11
  162. package/dist/chunks/{schema-vzm76b3t.js → file-hq8zt1th.js} +6 -6
  163. package/dist/chunks/{schema-9cwgx80s.js → file-hy5fgcee.js} +15 -15
  164. package/dist/chunks/{schema-ff0svapt.js → file-j325xqev.js} +2 -2
  165. package/dist/chunks/{schema-j56e64zr.js → file-j56e64zr.js} +1 -1
  166. package/dist/chunks/{schema-2bvm5bng.js → file-jac4mw22.js} +5 -5
  167. package/dist/chunks/{schema-zf2yj53h.js → file-jbkjz0j2.js} +36 -30
  168. package/dist/chunks/{schema-k7ytje6f.js → file-jndejbar.js} +36 -35
  169. package/dist/chunks/{schema-shh6fz4q.js → file-jva4mgym.js} +4 -4
  170. package/dist/chunks/{schema-9n8afz82.js → file-jzt5g60a.js} +18 -18
  171. package/dist/chunks/{schema-wtx5fp6w.js → file-k0mc747p.js} +41 -41
  172. package/dist/chunks/{schema-jb92a43k.js → file-k2bnz6b5.js} +54 -54
  173. package/dist/chunks/{schema-y5dj3dxk.js → file-k2s68ryd.js} +6 -6
  174. package/dist/chunks/{schema-6z8qh9hd.js → file-k6wrm9a0.js} +49 -20
  175. package/dist/chunks/{schema-k5ahzgcr.js → file-kjpj2a9q.js} +30 -30
  176. package/dist/chunks/{schema-fay8vjw6.js → file-kzw69375.js} +11 -11
  177. package/dist/chunks/{schema-w52sm2v7.js → file-m2cb1kfd.js} +32 -32
  178. package/dist/chunks/{schema-t2tp6kph.js → file-m3td6s3w.js} +9 -9
  179. package/dist/chunks/{schema-9ee4bqq5.js → file-m49cwa8c.js} +20 -20
  180. package/dist/chunks/{schema-szvcpp15.js → file-m4e3ywc5.js} +34 -34
  181. package/dist/chunks/{schema-9cwdscm4.js → file-m7tah5hb.js} +6 -6
  182. package/dist/chunks/{schema-h6ar4aba.js → file-m947q6k5.js} +24 -24
  183. package/dist/chunks/{schema-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{schema-xafa45y0.js → file-mcjktpac.js} +23 -23
  185. package/dist/chunks/{schema-hv9ta9e9.js → file-mkt4f7jq.js} +27 -27
  186. package/dist/chunks/{schema-cxnfc116.js → file-mnejq3c6.js} +16 -16
  187. package/dist/chunks/{schema-8g7dzdwc.js → file-mppen3ja.js} +11 -11
  188. package/dist/chunks/{schema-hjnnbnbb.js → file-mqadsv8v.js} +6 -6
  189. package/dist/chunks/{schema-100j1g9v.js → file-mry3yw3z.js} +37 -37
  190. package/dist/chunks/{schema-yp37mb71.js → file-mv06p09r.js} +28 -28
  191. package/dist/chunks/{schema-73tb2d7t.js → file-mvfsc1pv.js} +3 -3
  192. package/dist/chunks/{schema-yfbgkrwe.js → file-mw62vq54.js} +11 -11
  193. package/dist/chunks/{schema-tgp4vj3e.js → file-n1jngd1w.js} +25 -25
  194. package/dist/chunks/{schema-6756pezh.js → file-nc8419v6.js} +12 -12
  195. package/dist/chunks/{schema-7cdavrgt.js → file-ne2r7j9m.js} +24 -24
  196. package/dist/chunks/{schema-zm862yqt.js → file-nqrry9qg.js} +36 -36
  197. package/dist/chunks/{schema-nkszaa5g.js → file-ns74bfrf.js} +19 -19
  198. package/dist/chunks/{schema-p8ee7rnh.js → file-nx3x71r4.js} +15 -15
  199. package/dist/chunks/{schema-a9bb11qt.js → file-p0bspynp.js} +5 -5
  200. package/dist/chunks/{schema-35hkzk16.js → file-p9v06vkv.js} +7 -7
  201. package/dist/chunks/{schema-g5rn0d52.js → file-pajef2pp.js} +18 -18
  202. package/dist/chunks/{schema-17ccpqma.js → file-ph5begyf.js} +38 -31
  203. package/dist/chunks/{schema-74jczd3p.js → file-phc861ae.js} +6 -6
  204. package/dist/chunks/{schema-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{schema-pknna89w.js → file-pknna89w.js} +1 -1
  206. package/dist/chunks/{schema-33n3bzdy.js → file-pmh6tya1.js} +171 -9
  207. package/dist/chunks/{schema-nsc0z153.js → file-pnwnc2eb.js} +15 -15
  208. package/dist/chunks/{schema-f3fywrrk.js → file-prvz8ejv.js} +22 -22
  209. package/dist/chunks/{schema-na2rb754.js → file-pwpabjhk.js} +59 -59
  210. package/dist/chunks/{schema-c1660zyq.js → file-q4yxhgfy.js} +4 -4
  211. package/dist/chunks/file-qapv375x.js +4 -0
  212. package/dist/chunks/file-qc068m1q.js +18 -0
  213. package/dist/chunks/{schema-febxpxrj.js → file-qc0tpyc3.js} +9 -9
  214. package/dist/chunks/{schema-59fjh03s.js → file-qcd1qc15.js} +6 -6
  215. package/dist/chunks/{schema-b83gcn6t.js → file-qd4n55pn.js} +32 -32
  216. package/dist/chunks/{schema-49m0b0hg.js → file-qfa7jkp4.js} +12 -12
  217. package/dist/chunks/{schema-qsdy395h.js → file-qsdy395h.js} +1 -1
  218. package/dist/chunks/{schema-eq6c3fte.js → file-qyrnw00n.js} +17 -9
  219. package/dist/chunks/{schema-h2ksjayj.js → file-r0eemgrz.js} +28 -28
  220. package/dist/chunks/{schema-ckp1ht4p.js → file-r3mfjy6q.js} +302 -296
  221. package/dist/chunks/{schema-r9mregkx.js → file-r9mregkx.js} +2 -2
  222. package/dist/chunks/{schema-mz6ae2yf.js → file-ra8qdd9e.js} +4 -4
  223. package/dist/chunks/{schema-3hf7z3yq.js → file-rcsscm7r.js} +11 -11
  224. package/dist/chunks/{schema-kg06axw8.js → file-rdw6cm16.js} +3 -1
  225. package/dist/chunks/{schema-9xdtwryq.js → file-rpp558y0.js} +35 -33
  226. package/dist/chunks/{schema-0artwwxx.js → file-ryjh9mcz.js} +6 -6
  227. package/dist/chunks/{schema-pdamhna9.js → file-rzxstzmh.js} +17 -17
  228. package/dist/chunks/{schema-gj03f4ek.js → file-s3dxyf65.js} +18 -18
  229. package/dist/chunks/{schema-tax233da.js → file-s48t05nw.js} +19 -19
  230. package/dist/chunks/{schema-02nrjc1r.js → file-s8d7rejh.js} +8 -8
  231. package/dist/chunks/{schema-ttvjx6p5.js → file-s8rxtnbc.js} +18 -18
  232. package/dist/chunks/{schema-352w66m8.js → file-scv7p57g.js} +9 -9
  233. package/dist/chunks/{schema-t6vsspdg.js → file-sxz6gkc3.js} +4 -4
  234. package/dist/chunks/{schema-7d2a7xbs.js → file-sznyev98.js} +5 -5
  235. package/dist/chunks/{schema-9xbky303.js → file-t3x95jfd.js} +71 -71
  236. package/dist/chunks/file-t50jsm69.js +201 -0
  237. package/dist/chunks/{schema-7j034exa.js → file-t6z0eevx.js} +21 -20
  238. package/dist/chunks/{schema-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{schema-89znhe33.js → file-tcezcvh9.js} +4 -4
  240. package/dist/chunks/{schema-cvnh4hxe.js → file-tdqfck99.js} +14 -14
  241. package/dist/chunks/{schema-tdstcens.js → file-tdstcens.js} +1 -1
  242. package/dist/chunks/{schema-265kqrgy.js → file-tg00ampp.js} +4 -4
  243. package/dist/chunks/{schema-k7yxbrfp.js → file-tmz405jm.js} +42 -42
  244. package/dist/chunks/{schema-tvtrv512.js → file-tvtrv512.js} +1 -1
  245. package/dist/chunks/{schema-mx4nfnwv.js → file-tz1hbxk4.js} +3 -3
  246. package/dist/chunks/{schema-nrzpy080.js → file-v71dgxb6.js} +32 -32
  247. package/dist/chunks/{schema-qgtwsm4a.js → file-vanydjgv.js} +51 -51
  248. package/dist/chunks/{schema-q53mw4kv.js → file-vcyhp7t3.js} +11 -11
  249. package/dist/chunks/{schema-veqvce7d.js → file-veqvce7d.js} +1 -1
  250. package/dist/chunks/{schema-9cdcqr3z.js → file-vfgva3xk.js} +24 -24
  251. package/dist/chunks/{schema-xcz5qpew.js → file-vhvvs13s.js} +18 -18
  252. package/dist/chunks/{schema-gj5yqrt5.js → file-vm86ksqf.js} +8 -8
  253. package/dist/chunks/{schema-kdmcvb0r.js → file-vmbah541.js} +6 -6
  254. package/dist/chunks/{schema-c5nvra9m.js → file-vq7z185x.js} +4 -4
  255. package/dist/chunks/{schema-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{schema-r66k216p.js → file-w0x3jd68.js} +26 -26
  257. package/dist/chunks/{schema-mfhfdr54.js → file-w1k39n5e.js} +4 -4
  258. package/dist/chunks/{schema-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{schema-gd8pphrc.js → file-w75v1kbk.js} +1 -1
  260. package/dist/chunks/{schema-wd87259q.js → file-wd87259q.js} +1 -1
  261. package/dist/chunks/{schema-9n9wwhvc.js → file-wdpdtye9.js} +29 -29
  262. package/dist/chunks/{schema-zpbz1axx.js → file-wndsw9jd.js} +11 -11
  263. package/dist/chunks/{schema-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{schema-mw7ftrc1.js → file-x42bs0x6.js} +47 -47
  265. package/dist/chunks/{schema-6kyz0a76.js → file-xe94yqgp.js} +9 -9
  266. package/dist/chunks/file-xfz9zfky.js +53 -0
  267. package/dist/chunks/{schema-7a8p0xnb.js → file-xgfp89dv.js} +15 -15
  268. package/dist/chunks/{schema-dtsq3qdh.js → file-xhmq8qgk.js} +9 -9
  269. package/dist/chunks/{schema-nwejh57z.js → file-xjrg1qn8.js} +23 -23
  270. package/dist/chunks/{schema-0e0qwbc3.js → file-y119texf.js} +32 -32
  271. package/dist/chunks/{schema-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{schema-nsy21xt9.js → file-y3dttyaz.js} +41 -41
  273. package/dist/chunks/{schema-hhgwwrzt.js → file-y6h4mdg2.js} +39 -39
  274. package/dist/chunks/{schema-jwcy2c2z.js → file-y71avatq.js} +4 -4
  275. package/dist/chunks/{schema-3dmtdf19.js → file-ye1wyhtp.js} +12 -12
  276. package/dist/chunks/{schema-wb1a395f.js → file-yn670k7r.js} +21 -21
  277. package/dist/chunks/{schema-yp2x3t23.js → file-yp2x3t23.js} +1 -1
  278. package/dist/chunks/file-yqncp4jv.js +251 -0
  279. package/dist/chunks/{schema-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{schema-yrznvahk.js → file-yrznvahk.js} +2 -2
  281. package/dist/chunks/{schema-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{schema-z63w68vq.js → file-z63w68vq.js} +2 -2
  283. package/dist/chunks/{schema-1gr0tcdy.js → file-z6cdq4y7.js} +4 -4
  284. package/dist/chunks/{schema-57kf9cn6.js → file-z7bpncyg.js} +11 -11
  285. package/dist/chunks/{schema-cyyebbpd.js → file-zdw538jz.js} +20 -20
  286. package/dist/chunks/{schema-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{schema-7hztb8a6.js → file-zg2jh87r.js} +17 -17
  288. package/dist/chunks/{schema-aqqw58sn.js → file-zkb0rj7d.js} +32 -32
  289. package/dist/chunks/{schema-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{schema-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -19
  298. package/dist/config/plugin/agent.js +124 -121
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -120
  304. package/dist/config/plugin/image.js +122 -119
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -121
  307. package/dist/config/plugin/mcp.js +131 -130
  308. package/dist/config/plugin/policy.js +122 -118
  309. package/dist/config/plugin/provider.js +121 -117
  310. package/dist/config/plugin/reference.js +124 -121
  311. package/dist/config/plugin/shell.js +124 -121
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -138
  314. package/dist/config/plugin/snapshot.js +122 -119
  315. package/dist/config/plugin/source.js +125 -121
  316. package/dist/config/plugin/tool-output.js +124 -121
  317. package/dist/config/plugin/websearch.js +123 -119
  318. package/dist/config/plugin/worktree.js +125 -122
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -123
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +73 -73
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +74 -74
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +105 -94
  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 +95 -4
  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/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +11 -19
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +137 -137
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +87 -87
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +88 -88
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +124 -124
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +95 -4
  478. package/dist/model-resolver.js +98 -87
  479. package/dist/model.js +104 -11
  480. package/dist/models-dev.js +105 -87
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +114 -114
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +94 -76
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -2
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +89 -2
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -80
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -81
  515. package/dist/plugin/provider/gitlab.js +90 -3
  516. package/dist/plugin/provider/google-vertex.js +89 -2
  517. package/dist/plugin/provider/kilo.js +89 -2
  518. package/dist/plugin/provider/llmgateway.js +89 -77
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -80
  521. package/dist/plugin/provider/nvidia.js +89 -2
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +93 -81
  525. package/dist/plugin/provider/opencode.js +92 -80
  526. package/dist/plugin/provider/openrouter.js +90 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +90 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -2
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -78
  536. package/dist/plugin/provider/zenmux.js +89 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -137
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +344 -344
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +91 -4
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +120 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +6 -6
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +6 -6
  555. package/dist/plugin.js +227 -227
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +87 -87
  559. package/dist/provider.js +101 -8
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +91 -91
  564. package/dist/reference/instructions.js +88 -88
  565. package/dist/reference.js +90 -90
  566. package/dist/repository-cache.js +78 -78
  567. package/dist/repository.js +3 -3
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +96 -96
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +133 -133
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +223 -223
  580. package/dist/session/execution.js +126 -126
  581. package/dist/session/generate.js +152 -152
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +87 -87
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +117 -117
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +98 -87
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +123 -123
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +3 -3
  607. package/dist/session/session.js +172 -172
  608. package/dist/session/shell.js +137 -134
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +76 -75
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +153 -153
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +220 -220
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +215 -215
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +139 -136
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +107 -107
  629. package/dist/snapshot.js +90 -90
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +125 -125
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +119 -119
  637. package/dist/tool/plugin/grep.js +121 -121
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +117 -117
  640. package/dist/tool/plugin/question.js +102 -102
  641. package/dist/tool/plugin/read.js +124 -124
  642. package/dist/tool/plugin/shell.js +216 -216
  643. package/dist/tool/plugin/skill.js +112 -112
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +105 -105
  646. package/dist/tool/plugin/websearch.js +107 -107
  647. package/dist/tool/plugin/write.js +121 -121
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +15 -15
  652. package/dist/types/github-copilot/models.d.ts +61 -0
  653. package/dist/types/instance.d.ts +3 -2
  654. package/dist/types/integration/connection.d.ts +8 -0
  655. package/dist/types/integration.d.ts +2 -0
  656. package/dist/types/modal/models.d.ts +30 -0
  657. package/dist/types/model-resolver.d.ts +2 -3
  658. package/dist/types/model.d.ts +33 -0
  659. package/dist/types/plugin/host.d.ts +4 -3
  660. package/dist/types/plugin/internal.d.ts +4 -3
  661. package/dist/types/plugin/provider/azure.d.ts +2 -1
  662. package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +2 -1
  663. package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +2 -1
  664. package/dist/types/plugin/provider/configured.d.ts +1 -2
  665. package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
  666. package/dist/types/plugin/provider/modal.d.ts +2 -2
  667. package/dist/types/plugin/provider/snowflake-cortex.d.ts +2 -1
  668. package/dist/types/provider.d.ts +43 -1
  669. package/dist/types/state.d.ts +4 -0
  670. package/dist/types/v1/config/migrate.d.ts +3 -3
  671. package/dist/util/error-summary.js +1 -1
  672. package/dist/util/error.js +1 -1
  673. package/dist/util/git-executable.js +2 -2
  674. package/dist/util/iife.js +1 -1
  675. package/dist/util/lazy.js +1 -1
  676. package/dist/util/slug.js +1 -1
  677. package/dist/util/token.js +1 -1
  678. package/dist/util/which.js +1 -1
  679. package/dist/util/wildcard.js +1 -1
  680. package/dist/v1/config/agent.js +5 -5
  681. package/dist/v1/config/attachment.js +2 -2
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/config.js +16 -16
  684. package/dist/v1/config/error.js +2 -2
  685. package/dist/v1/config/formatter.js +7 -7
  686. package/dist/v1/config/layout.js +1 -1
  687. package/dist/v1/config/lsp.js +3 -3
  688. package/dist/v1/config/mcp.js +4 -4
  689. package/dist/v1/config/migrate.js +91 -4
  690. package/dist/v1/config/permission.js +3 -3
  691. package/dist/v1/config/plugin.js +3 -3
  692. package/dist/v1/config/provider-options.js +1 -1
  693. package/dist/v1/config/provider.js +4 -4
  694. package/dist/v1/config/server.js +2 -2
  695. package/dist/v1/config/skills.js +3 -3
  696. package/dist/v1/permission.js +1 -1
  697. package/dist/vcs/patch.js +1 -1
  698. package/dist/vcs.js +88 -88
  699. package/dist/websearch.js +79 -79
  700. package/dist/wellknown/plugin.js +75 -75
  701. package/dist/wellknown.js +78 -78
  702. package/dist/workspace/driver.js +7 -7
  703. package/dist/workspace/sql.js +1 -1
  704. package/dist/workspace.js +79 -79
  705. package/dist/worktree/directory.js +4 -4
  706. package/dist/worktree/git.js +10 -10
  707. package/dist/worktree/refresh.js +345 -345
  708. package/dist/worktree/sql.js +5 -5
  709. package/dist/worktree.js +93 -93
  710. package/package.json +8 -8
  711. package/dist/catalog.js +0 -89
  712. package/dist/chunks/schema-0mesazry.js +0 -4
  713. package/dist/chunks/schema-2rnk416m.js +0 -247
  714. package/dist/chunks/schema-bsgewm40.js +0 -26
  715. package/dist/chunks/schema-c3s2gn8c.js +0 -49
  716. package/dist/chunks/schema-jr3e8pb9.js +0 -55
  717. package/dist/chunks/schema-qdyb70sk.js +0 -18
  718. package/dist/chunks/schema-yh4as7xh.js +0 -193
  719. package/dist/types/catalog.d.ts +0 -49
  720. /package/dist/chunks/{schema-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  721. /package/dist/chunks/{schema-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  722. /package/dist/chunks/{schema-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  723. /package/dist/chunks/{schema-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  724. /package/dist/chunks/{schema-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  725. /package/dist/chunks/{schema-2710q6r3.js → file-2710q6r3.js} +0 -0
  726. /package/dist/chunks/{schema-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  727. /package/dist/chunks/{schema-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  728. /package/dist/chunks/{schema-359p4xyc.js → file-359p4xyc.js} +0 -0
  729. /package/dist/chunks/{schema-3asan66x.js → file-3asan66x.js} +0 -0
  730. /package/dist/chunks/{schema-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  731. /package/dist/chunks/{schema-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  732. /package/dist/chunks/{schema-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  733. /package/dist/chunks/{schema-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  734. /package/dist/chunks/{schema-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  735. /package/dist/chunks/{schema-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  736. /package/dist/chunks/{schema-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  737. /package/dist/chunks/{schema-53557ph1.js → file-53557ph1.js} +0 -0
  738. /package/dist/chunks/{schema-550bvhaj.js → file-550bvhaj.js} +0 -0
  739. /package/dist/chunks/{schema-6prwharc.js → file-6prwharc.js} +0 -0
  740. /package/dist/chunks/{schema-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  741. /package/dist/chunks/{schema-7m9af43g.js → file-7m9af43g.js} +0 -0
  742. /package/dist/chunks/{schema-822emrt2.js → file-822emrt2.js} +0 -0
  743. /package/dist/chunks/{schema-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  744. /package/dist/chunks/{schema-8n3pysct.js → file-8n3pysct.js} +0 -0
  745. /package/dist/chunks/{schema-922hggd3.js → file-922hggd3.js} +0 -0
  746. /package/dist/chunks/{schema-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  747. /package/dist/chunks/{schema-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  748. /package/dist/chunks/{schema-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  749. /package/dist/chunks/{schema-af5trqkr.js → file-af5trqkr.js} +0 -0
  750. /package/dist/chunks/{schema-afrmfg78.js → file-afrmfg78.js} +0 -0
  751. /package/dist/chunks/{schema-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  752. /package/dist/chunks/{schema-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  753. /package/dist/chunks/{schema-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  754. /package/dist/chunks/{schema-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  755. /package/dist/chunks/{schema-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  756. /package/dist/chunks/{schema-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  757. /package/dist/chunks/{schema-d9fn303g.js → file-d9fn303g.js} +0 -0
  758. /package/dist/chunks/{schema-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  759. /package/dist/chunks/{schema-dajrwvna.js → file-dajrwvna.js} +0 -0
  760. /package/dist/chunks/{schema-dap0rakb.js → file-dap0rakb.js} +0 -0
  761. /package/dist/chunks/{schema-df08tz66.js → file-df08tz66.js} +0 -0
  762. /package/dist/chunks/{schema-dy18nga0.js → file-dy18nga0.js} +0 -0
  763. /package/dist/chunks/{schema-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  764. /package/dist/chunks/{schema-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  765. /package/dist/chunks/{schema-ec1grn59.js → file-ec1grn59.js} +0 -0
  766. /package/dist/chunks/{schema-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  767. /package/dist/chunks/{schema-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  768. /package/dist/chunks/{schema-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  769. /package/dist/chunks/{schema-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  770. /package/dist/chunks/{schema-faypxj3z.js → file-faypxj3z.js} +0 -0
  771. /package/dist/chunks/{schema-fd410y7t.js → file-fd410y7t.js} +0 -0
  772. /package/dist/chunks/{schema-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  773. /package/dist/chunks/{schema-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  774. /package/dist/chunks/{schema-g86h250q.js → file-g86h250q.js} +0 -0
  775. /package/dist/chunks/{schema-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  776. /package/dist/chunks/{schema-gftt206x.js → file-gftt206x.js} +0 -0
  777. /package/dist/chunks/{schema-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  778. /package/dist/chunks/{schema-hk9envan.js → file-hk9envan.js} +0 -0
  779. /package/dist/chunks/{schema-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
  780. /package/dist/chunks/{schema-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  781. /package/dist/chunks/{schema-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  782. /package/dist/chunks/{schema-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  783. /package/dist/chunks/{schema-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  784. /package/dist/chunks/{schema-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  785. /package/dist/chunks/{schema-mp448xyj.js → file-mp448xyj.js} +0 -0
  786. /package/dist/chunks/{schema-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  787. /package/dist/chunks/{schema-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  788. /package/dist/chunks/{schema-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  789. /package/dist/chunks/{schema-njntx4h6.js → file-njntx4h6.js} +0 -0
  790. /package/dist/chunks/{schema-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  791. /package/dist/chunks/{schema-q74kybfr.js → file-q74kybfr.js} +0 -0
  792. /package/dist/chunks/{schema-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  793. /package/dist/chunks/{schema-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  794. /package/dist/chunks/{schema-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  795. /package/dist/chunks/{schema-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  796. /package/dist/chunks/{schema-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  797. /package/dist/chunks/{schema-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  798. /package/dist/chunks/{schema-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  799. /package/dist/chunks/{schema-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  800. /package/dist/chunks/{schema-twg0f83k.js → file-twg0f83k.js} +0 -0
  801. /package/dist/chunks/{schema-w803qqfp.js → file-w803qqfp.js} +0 -0
  802. /package/dist/chunks/{schema-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  803. /package/dist/chunks/{schema-wtztk69x.js → file-wtztk69x.js} +0 -0
  804. /package/dist/chunks/{schema-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  805. /package/dist/chunks/{schema-x61499pn.js → file-x61499pn.js} +0 -0
  806. /package/dist/chunks/{schema-y44na4kk.js → file-y44na4kk.js} +0 -0
  807. /package/dist/chunks/{schema-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  808. /package/dist/chunks/{schema-y8f7s663.js → file-y8f7s663.js} +0 -0
  809. /package/dist/chunks/{schema-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  810. /package/dist/chunks/{schema-ym463w8f.js → file-ym463w8f.js} +0 -0
  811. /package/dist/chunks/{schema-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,144 +1,144 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./schema-jzg6c2d5.js";
3
+ } from "./file-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./schema-q3sfg36h.js";
6
+ } from "./file-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./schema-1cnp2v09.js";
9
+ } from "./file-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./schema-rcb2kzg1.js";
12
+ } from "./file-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./schema-msx8hqn2.js";
15
+ } from "./file-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./schema-bkyjaxrp.js";
18
+ } from "./file-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./schema-g86h250q.js";
21
+ } from "./file-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./schema-jr7sbwjy.js";
24
+ } from "./file-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./schema-7m9af43g.js";
27
+ } from "./file-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./schema-j2ntwpah.js";
30
+ } from "./file-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./schema-njntx4h6.js";
33
+ } from "./file-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./schema-qrg20bc0.js";
36
+ } from "./file-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./schema-z9919s4g.js";
39
+ } from "./file-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./schema-43n2bw4t.js";
42
+ } from "./file-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./schema-n3j8tn72.js";
45
+ } from "./file-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./schema-d9jj8t3e.js";
48
+ } from "./file-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./schema-fd410y7t.js";
51
+ } from "./file-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./schema-e5kj55wp.js";
54
+ } from "./file-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./schema-f6n9ztr4.js";
57
+ } from "./file-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./schema-q74kybfr.js";
60
+ } from "./file-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./schema-53557ph1.js";
63
+ } from "./file-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./schema-7akdwqpd.js";
66
+ } from "./file-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./schema-wer8tq1h.js";
69
+ } from "./file-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./schema-wtztk69x.js";
72
+ } from "./file-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./schema-ssg3fenm.js";
75
+ } from "./file-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./schema-2c3vjs8z.js";
78
+ } from "./file-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./schema-17cy0kzp.js";
81
+ } from "./file-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./schema-hk9envan.js";
84
+ } from "./file-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./schema-w803qqfp.js";
87
+ } from "./file-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./schema-jwfs4k6c.js";
90
+ } from "./file-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./schema-mp448xyj.js";
93
+ } from "./file-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./schema-aqzs7mqg.js";
96
+ } from "./file-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./schema-ygaqb7jw.js";
99
+ } from "./file-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./schema-8n3pysct.js";
102
+ } from "./file-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./schema-d9fn303g.js";
105
+ } from "./file-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./schema-cvy3z8tj.js";
108
+ } from "./file-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./schema-9a4afbnw.js";
111
+ } from "./file-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./schema-n05xt0ee.js";
114
+ } from "./file-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./schema-sdp7kfr6.js";
117
+ } from "./file-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./schema-a6k6eb26.js";
120
+ } from "./file-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./schema-4knz6hnm.js";
123
+ } from "./file-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./schema-df08tz66.js";
126
+ } from "./file-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./schema-bmr6ed5q.js";
129
+ } from "./file-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./schema-atq7p7m5.js";
132
+ } from "./file-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./schema-qb87gjwd.js";
135
+ } from "./file-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./schema-359p4xyc.js";
138
+ } from "./file-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./schema-y8f7s663.js";
141
+ } from "./file-y8f7s663.js";
142
142
 
143
143
  // src/database/migration.gen.ts
144
144
  var migrations2 = [
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./schema-e82z9tr0.js";
2
+ render3
3
+ } from "./file-hjt4xg1x.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,13 +409,13 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
416
416
  effect: Effect.fn(`OptimizePlugin.${id}`)(function* (ctx) {
417
417
  const hook = (event) => Effect.gen(function* () {
418
- const model = (yield* ctx.catalog.model.list()).data.find((model) => model.providerID === event.model.providerID && model.id === event.model.id) ?? Model.Info.default(event.model.providerID, event.model.id);
418
+ const model = (yield* ctx.model.list()).data.find((model) => model.providerID === event.model.providerID && model.id === event.model.id) ?? Model.Info.default(event.model.providerID, event.model.id);
419
419
  const template = optimize(model, event.tools);
420
420
  if (!template)
421
421
  return;
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -0,0 +1,53 @@
1
+ import {
2
+ isAISDK2,
3
+ packageName2
4
+ } from "./file-pmh6tya1.js";
5
+ import {
6
+ __export
7
+ } from "./file-9rqn6x4v.js";
8
+
9
+ // src/plugin/variant.ts
10
+ var exports_variant = {};
11
+ __export(exports_variant, {
12
+ Plugin: () => Plugin43,
13
+ VariantPlugin: () => exports_variant,
14
+ generate: () => generate2
15
+ });
16
+ import { Effect } from "effect";
17
+ import { define } from "@opencode/plugin/effect/plugin";
18
+ import { Model } from "@opencode/schema/model";
19
+ var Plugin43 = define({
20
+ id: "opencode.variant",
21
+ effect: Effect.fn(function* (ctx) {
22
+ yield* ctx.model.transform((models) => {
23
+ for (const model of models.list()) {
24
+ const generated = generate2(model, models.provider.get(model.providerID)?.provider);
25
+ if (generated.length === 0)
26
+ continue;
27
+ models.update(model.providerID, model.id, (draft) => {
28
+ const variants = draft.variants ?? [];
29
+ const explicit = new Map(variants.map((variant) => [variant.id, variant]));
30
+ const generatedIDs = new Set(generated.map((variant) => variant.id));
31
+ draft.variants = [
32
+ ...generated.map((variant) => explicit.get(variant.id) ?? variant),
33
+ ...variants.filter((variant) => !generatedIDs.has(variant.id))
34
+ ];
35
+ });
36
+ }
37
+ });
38
+ })
39
+ });
40
+ function generate2(model, provider) {
41
+ const packageName = model.package ?? provider?.package;
42
+ if (!isAISDK2(packageName) || packageName2(packageName) !== "@ai-sdk/openai-compatible")
43
+ return [];
44
+ const ids = `${model.id} ${model.modelID ?? ""}`.toLowerCase();
45
+ if (!["glm-5.2", "glm-5-2", "glm-5p2"].some((name) => ids.includes(name)))
46
+ return [];
47
+ return ["high", "max"].map((id) => ({
48
+ id: Model.VariantID.make(id),
49
+ settings: { reasoningEffort: id }
50
+ }));
51
+ }
52
+
53
+ export { Plugin43, generate2, exports_variant };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service41
3
- } from "./schema-14a1bm7w.js";
2
+ Service46
3
+ } from "./file-e1x4awme.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./schema-02nrjc1r.js";
6
+ } from "./file-s8d7rejh.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./schema-922hggd3.js";
9
+ } from "./file-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service76
13
- } from "./schema-8b5a8700.js";
12
+ Service38
13
+ } from "./file-3z6mat0v.js";
14
14
  import {
15
- Service70
16
- } from "./schema-skkcpn4x.js";
15
+ Service77
16
+ } from "./file-de97ckz5.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin29
25
+ Plugin: () => Plugin21
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin29 = define({
32
+ var Plugin21 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service76;
35
+ const discovery = yield* Service38;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service70;
42
- const watcher = yield* Service41;
41
+ const location = yield* Service77;
42
+ const watcher = yield* Service46;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin29, exports_instruction };
117
+ export { Plugin21, exports_instruction };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./schema-jwcy2c2z.js";
3
+ } from "./file-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node6
12
+ Service: () => Service5,
13
+ node: () => node8
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node6 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node8 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node6, exports_update };
54
+ export { Service5, node8, exports_update };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./schema-g5rn0d52.js";
2
+ Service80,
3
+ node85
4
+ } from "./file-pajef2pp.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./schema-922hggd3.js";
8
+ } from "./file-922hggd3.js";
9
9
  import {
10
- Ref3,
11
- Service70,
12
- node74
13
- } from "./schema-skkcpn4x.js";
10
+ Ref4,
11
+ Service77,
12
+ node82
13
+ } from "./file-de97ckz5.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./file-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service36,
22
+ Service: () => Service24,
23
23
  define: () => define2,
24
- node: () => node39
24
+ node: () => node28
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service36 extends Context.Service()("@opencode/Rpc") {
30
+ class Service24 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service36, Effect.gen(function* () {
43
- const bus = yield* Service79;
44
- const location = yield* Service70;
45
- const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
42
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
43
+ const bus = yield* Service80;
44
+ const location = yield* Service77;
45
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
48
48
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
82
82
  const event = registered.event;
83
83
  const data = yield* encode(event.schema, args[1]);
84
84
  return yield* bus.publish(registered.definition, data, {
85
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
86
86
  }).pipe(Effect.asVoid);
87
87
  })
88
88
  }
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service70, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service77, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service36.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service24.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node39 = makeLocationNode({ service: Service36, layer, deps: [node83, node74] });
128
+ var node28 = makeLocationNode({ service: Service24, layer, deps: [node85, node82] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
132
132
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
133
- location: optional2(Ref3)
133
+ location: optional2(Ref4)
134
134
  };
135
135
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
136
136
  var jsonSchemas = new WeakMap;
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
206
206
  ...payload,
207
207
  type: eventType(definition, name),
208
208
  data,
209
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
209
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
210
210
  };
211
211
  });
212
212
 
213
- export { Service36, node39, exports_rpc, define2 };
213
+ export { Service24, node28, exports_rpc, define2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./schema-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
- Service70,
6
- node74
7
- } from "./schema-skkcpn4x.js";
5
+ Service77,
6
+ node82
7
+ } from "./file-de97ckz5.js";
8
8
  import {
9
- Service67,
10
- node70
11
- } from "./schema-yaj99xd7.js";
9
+ Service17,
10
+ node21
11
+ } from "./file-ejt0hq34.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./schema-89znhe33.js";
14
+ names3
15
+ } from "./file-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options8,
25
- Service: () => Service66,
26
- configured: () => configured7,
24
+ Options: () => Options2,
25
+ Service: () => Service16,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer22,
29
- node: () => node69,
28
+ layer: () => layer8,
29
+ node: () => node20,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options8 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service66 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service16 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service66, Effect.gen(function* () {
62
- const location = yield* Service70;
63
- const ripgrep = yield* Service67;
61
+ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
62
+ const location = yield* Service77;
63
+ const ripgrep = yield* Service17;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service66, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service66, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service66.of({
108
+ return Service16.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
116
- const location = yield* Service70;
115
+ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
116
+ const location = yield* Service77;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service66.of({
129
+ return Service16.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service66.of({
134
+ return Service16.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service70;
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service77;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured7(options) {
186
- return makeLocationNode({ service: Service66, layer: layer22(options), deps: [node74, node70] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service16, layer: layer8(options), deps: [node82, node21] });
187
187
  }
188
- var node69 = configured7();
188
+ var node20 = configured2();
189
189
 
190
- export { Options8, Service66, ripgrepLayer2, fffLayer2, layer22, configured7, node69, exports_search };
190
+ export { Options2, Service16, ripgrepLayer2, fffLayer2, layer8, configured2, node20, exports_search };