@opencode/core 0.0.0-dev-228 → 0.0.0-dev-233

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 (833) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -86
  3. package/dist/aisdk-native.js +100 -100
  4. package/dist/aisdk.js +106 -106
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +78 -78
  7. package/dist/chunks/bus-00ve6mdn.js +18 -0
  8. package/dist/chunks/{form-aj7mw0zk.js → bus-034tev2y.js} +2 -2
  9. package/dist/chunks/{form-n8wrw86q.js → bus-04pp57dr.js} +8 -8
  10. package/dist/chunks/{form-bd3ag47v.js → bus-06t14ddp.js} +5 -5
  11. package/dist/chunks/{form-hjb7zt8b.js → bus-07m51zyr.js} +12 -12
  12. package/dist/chunks/{form-zgd8t41s.js → bus-0anyt1n6.js} +9 -9
  13. package/dist/chunks/{form-w0sctsdt.js → bus-0azq8fy9.js} +2 -2
  14. package/dist/chunks/{form-6kwb0ym8.js → bus-0cqzd7yx.js} +4 -4
  15. package/dist/chunks/{form-xg4acpkm.js → bus-0es81n8q.js} +10 -10
  16. package/dist/chunks/{form-1r7af8ee.js → bus-0f8tg23y.js} +3 -3
  17. package/dist/chunks/{form-xp63w1t0.js → bus-0vx0x5fb.js} +16 -16
  18. package/dist/chunks/{form-yk574f7x.js → bus-0znsw351.js} +17 -17
  19. package/dist/chunks/{form-nb176vr9.js → bus-11gkgbrz.js} +2 -2
  20. package/dist/chunks/{form-tzhe5vps.js → bus-12yrf7jb.js} +5 -5
  21. package/dist/chunks/{form-k0fqk4b8.js → bus-158gwrne.js} +18 -18
  22. package/dist/chunks/{form-9r0x1bva.js → bus-162nfr0g.js} +9 -9
  23. package/dist/chunks/{form-27w5k9zf.js → bus-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{form-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{form-p570ajbq.js → bus-1y1sdcvs.js} +15 -15
  26. package/dist/chunks/{form-204s3925.js → bus-204s3925.js} +1 -1
  27. package/dist/chunks/{form-8e5p19qn.js → bus-21m1qx2d.js} +24 -24
  28. package/dist/chunks/{form-25h84942.js → bus-25h84942.js} +1 -1
  29. package/dist/chunks/{form-afhpfagb.js → bus-2cgds78d.js} +21 -21
  30. package/dist/chunks/{form-pe0xbfng.js → bus-2jr2kyhh.js} +5 -5
  31. package/dist/chunks/{form-362tp65q.js → bus-2qe92jhz.js} +6 -6
  32. package/dist/chunks/{form-w7bcyz89.js → bus-2s6jkv91.js} +9 -9
  33. package/dist/chunks/{form-9w8yvhv2.js → bus-2ty01zvd.js} +10 -10
  34. package/dist/chunks/{form-37zkny6h.js → bus-32z24wxs.js} +24 -24
  35. package/dist/chunks/{form-e2ne77ac.js → bus-36qx82yz.js} +4 -4
  36. package/dist/chunks/{form-0tt1jdqx.js → bus-3carsgcx.js} +3 -3
  37. package/dist/chunks/{form-4j43s0xr.js → bus-3es65w47.js} +48 -48
  38. package/dist/chunks/{form-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{form-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{form-c8t4rycs.js → bus-3rbyhj39.js} +87 -87
  41. package/dist/chunks/{form-c6x7d2ts.js → bus-3ryz99p0.js} +4 -4
  42. package/dist/chunks/{form-tv1hegq9.js → bus-3wk2baz8.js} +14 -14
  43. package/dist/chunks/{form-4cejxtdq.js → bus-3zjzp6xn.js} +19 -19
  44. package/dist/chunks/{form-mk9n97wy.js → bus-4dkdeg3x.js} +30 -30
  45. package/dist/chunks/{form-s3gj3rj3.js → bus-4pnq7323.js} +6 -6
  46. package/dist/chunks/{form-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
  47. package/dist/chunks/{form-4v008n1t.js → bus-4v008n1t.js} +1 -1
  48. package/dist/chunks/{form-kmfe92z1.js → bus-5hvj3cgw.js} +25 -25
  49. package/dist/chunks/{form-8r9ywtx6.js → bus-5kkktyrc.js} +8 -8
  50. package/dist/chunks/{form-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{form-fdgtx545.js → bus-5qpycfhf.js} +15 -15
  52. package/dist/chunks/{form-tt1vkc1g.js → bus-67sqxw17.js} +16 -16
  53. package/dist/chunks/{form-r1n5a4qe.js → bus-69fgec3f.js} +33 -33
  54. package/dist/chunks/{form-8y0bcag5.js → bus-6drdq4m3.js} +39 -39
  55. package/dist/chunks/{form-1de26m2d.js → bus-6eetqezh.js} +13 -13
  56. package/dist/chunks/{form-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{form-ze5pwfxf.js → bus-6mq5ryr8.js} +4 -4
  58. package/dist/chunks/{form-f1s2vndp.js → bus-6rqscc3n.js} +22 -22
  59. package/dist/chunks/{form-9x19j16c.js → bus-6yence91.js} +37 -37
  60. package/dist/chunks/{form-em6z47bx.js → bus-72a16mc2.js} +19 -19
  61. package/dist/chunks/{form-py7k5n7n.js → bus-74e79trj.js} +28 -28
  62. package/dist/chunks/{form-w8qtt4th.js → bus-76cb1hcw.js} +4 -4
  63. package/dist/chunks/{form-x07e5g67.js → bus-76k1r7sv.js} +16 -16
  64. package/dist/chunks/{form-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{form-6848bbxa.js → bus-7cgnmsnz.js} +11 -11
  66. package/dist/chunks/{form-y2wa3a8s.js → bus-7kprcbad.js} +5 -5
  67. package/dist/chunks/{form-hdh1880y.js → bus-7p8y1xew.js} +19 -19
  68. package/dist/chunks/{form-wpnjmb41.js → bus-7r82pzna.js} +35 -35
  69. package/dist/chunks/{form-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
  70. package/dist/chunks/{form-1xfzm2bk.js → bus-7x554r32.js} +9 -9
  71. package/dist/chunks/{form-h4p3pyf8.js → bus-818eymrz.js} +6 -6
  72. package/dist/chunks/{form-6d7rzhz6.js → bus-8edw0cf2.js} +28 -28
  73. package/dist/chunks/{form-8jztxfpf.js → bus-8jztxfpf.js} +1 -1
  74. package/dist/chunks/{form-j0cfz84q.js → bus-8pkhhaa7.js} +39 -39
  75. package/dist/chunks/{form-796fpssb.js → bus-8vm3c4cx.js} +24 -24
  76. package/dist/chunks/{form-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
  77. package/dist/chunks/{form-90zstvax.js → bus-90zstvax.js} +1 -1
  78. package/dist/chunks/{form-rafkt0z2.js → bus-92vky5wk.js} +11 -11
  79. package/dist/chunks/{form-jxhxxqgb.js → bus-961m4qdm.js} +9 -9
  80. package/dist/chunks/{form-pxdh3f58.js → bus-9agry0mm.js} +2 -2
  81. package/dist/chunks/{form-0tqaar2n.js → bus-9n8z28yy.js} +14 -14
  82. package/dist/chunks/{form-ybdj6tkq.js → bus-9nx9hf51.js} +6 -6
  83. package/dist/chunks/{form-cmr431hx.js → bus-a0qb2paf.js} +13 -13
  84. package/dist/chunks/{form-ty3g7dye.js → bus-a38ksn3m.js} +32 -32
  85. package/dist/chunks/{form-vr5v59hp.js → bus-agvxwjff.js} +13 -13
  86. package/dist/chunks/{form-kv3vzdmy.js → bus-amzzn6zg.js} +9 -9
  87. package/dist/chunks/{form-3cbjf1nt.js → bus-ayjs7tqn.js} +2 -2
  88. package/dist/chunks/bus-aykdwqbv.js +257 -0
  89. package/dist/chunks/{form-adepxgxt.js → bus-b1gj8ygw.js} +4 -4
  90. package/dist/chunks/{form-b6vsg801.js → bus-b6vsg801.js} +2 -2
  91. package/dist/chunks/{form-knkdmrq8.js → bus-bgyx9ygv.js} +23 -23
  92. package/dist/chunks/{form-8x6dz44a.js → bus-bj6adykh.js} +5 -5
  93. package/dist/chunks/{form-12a87htm.js → bus-bqzcd44k.js} +8 -8
  94. package/dist/chunks/{form-bstexjd6.js → bus-bstexjd6.js} +1 -1
  95. package/dist/chunks/{form-0ce6qdts.js → bus-by25n89t.js} +45 -45
  96. package/dist/chunks/{form-cdwpjm32.js → bus-byj473rn.js} +8 -8
  97. package/dist/chunks/{form-e471twwt.js → bus-c1a686j5.js} +8 -8
  98. package/dist/chunks/{form-av5v11km.js → bus-c3fg13fa.js} +3 -3
  99. package/dist/chunks/{form-7wstq74c.js → bus-c6k5p5tb.js} +12 -12
  100. package/dist/chunks/{form-477xfj3c.js → bus-c8ph4e1p.js} +19 -19
  101. package/dist/chunks/{form-6wv6k331.js → bus-ca947eq7.js} +3 -3
  102. package/dist/chunks/{form-ts85mjsk.js → bus-cdtqhjvm.js} +8 -8
  103. package/dist/chunks/{form-yb37bm60.js → bus-ceqqxneb.js} +9 -9
  104. package/dist/chunks/{form-7ktxa382.js → bus-cf4c2abg.js} +9 -9
  105. package/dist/chunks/{form-hced1q2j.js → bus-cpe35zww.js} +4 -4
  106. package/dist/chunks/{form-0y84vv13.js → bus-cwa3fr09.js} +57 -57
  107. package/dist/chunks/{form-a7y0hmbq.js → bus-cwkz8rb4.js} +15 -15
  108. package/dist/chunks/{form-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
  109. package/dist/chunks/{form-gn8tkhbf.js → bus-d4v9tmah.js} +2 -2
  110. package/dist/chunks/{form-9c4f3png.js → bus-d80gpe23.js} +16 -16
  111. package/dist/chunks/{form-00qhjgh5.js → bus-d96p21aj.js} +12 -12
  112. package/dist/chunks/bus-dasb3jjm.js +26 -0
  113. package/dist/chunks/{form-ryfpe5sz.js → bus-de3kd59v.js} +45 -45
  114. package/dist/chunks/{form-8cz13j6a.js → bus-dhg7g0zf.js} +22 -22
  115. package/dist/chunks/{form-vbggds6s.js → bus-dhp97qke.js} +11 -11
  116. package/dist/chunks/{form-rx6qpc9d.js → bus-ds7r37yp.js} +2 -2
  117. package/dist/chunks/{form-dt77769w.js → bus-dt77769w.js} +1 -1
  118. package/dist/chunks/{form-9se3w9ew.js → bus-dwemer89.js} +20 -20
  119. package/dist/chunks/{form-56hw1ah1.js → bus-dy9zc4pe.js} +8 -8
  120. package/dist/chunks/{form-s1efnn68.js → bus-e63fs6m1.js} +51 -51
  121. package/dist/chunks/{form-e834z07m.js → bus-e834z07m.js} +1 -1
  122. package/dist/chunks/{form-tptvq6v6.js → bus-eahpwh8e.js} +4 -4
  123. package/dist/chunks/{form-05c1xqfa.js → bus-ebkm765p.js} +30 -30
  124. package/dist/chunks/{form-ch3dpehw.js → bus-ec14ztk4.js} +3 -3
  125. package/dist/chunks/{form-jy2czfqv.js → bus-erjptbv1.js} +4 -4
  126. package/dist/chunks/{form-nzqym5fn.js → bus-esn455wh.js} +13 -13
  127. package/dist/chunks/{form-bdked8mr.js → bus-f8smm1h8.js} +40 -40
  128. package/dist/chunks/{form-pz1n0gq8.js → bus-f9nwn4tf.js} +3 -3
  129. package/dist/chunks/{form-mspzpz50.js → bus-faz7t49j.js} +10 -10
  130. package/dist/chunks/{form-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
  131. package/dist/chunks/{form-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
  132. package/dist/chunks/{form-h50dg4rv.js → bus-fnrcf1wj.js} +20 -20
  133. package/dist/chunks/{form-4asfahx2.js → bus-fpgy7th3.js} +20 -20
  134. package/dist/chunks/{form-np3f7rt0.js → bus-fypmhnps.js} +2 -2
  135. package/dist/chunks/{form-a5y5z42n.js → bus-fyyp424t.js} +31 -31
  136. package/dist/chunks/{form-780gjtmn.js → bus-g4wezt3f.js} +8 -8
  137. package/dist/chunks/{form-f8p7x3za.js → bus-gbhvr811.js} +34 -34
  138. package/dist/chunks/{form-aakxnvea.js → bus-gcjdgkn2.js} +9 -9
  139. package/dist/chunks/{form-8m5e40h7.js → bus-gckdc5ay.js} +16 -16
  140. package/dist/chunks/{form-432wqttw.js → bus-h1ygv866.js} +3 -3
  141. package/dist/chunks/{form-cvgy9b2f.js → bus-h9vwxdya.js} +31 -31
  142. package/dist/chunks/{form-3c96x8ty.js → bus-ha5nk7p4.js} +15 -15
  143. package/dist/chunks/{form-bwcgh3pa.js → bus-hbrjs09v.js} +7 -7
  144. package/dist/chunks/{form-rsdjsbxj.js → bus-hh14ynr9.js} +31 -31
  145. package/dist/chunks/{form-p0m7jsqr.js → bus-hkjbyznq.js} +10 -10
  146. package/dist/chunks/{form-sq4s6wq1.js → bus-hn4sj8vd.js} +6 -6
  147. package/dist/chunks/{form-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
  148. package/dist/chunks/{form-9spex28b.js → bus-hpyv6m3b.js} +337 -337
  149. package/dist/chunks/{form-wvr8z8p1.js → bus-hwrm0jef.js} +28 -28
  150. package/dist/chunks/{form-zht7fzxj.js → bus-hx97nj8x.js} +27 -27
  151. package/dist/chunks/{form-kw7y9j0p.js → bus-j5txmjyq.js} +9 -9
  152. package/dist/chunks/{form-c7h4rvjw.js → bus-j8w82mf5.js} +13 -13
  153. package/dist/chunks/{form-zk53j53a.js → bus-ja63h2sr.js} +5 -5
  154. package/dist/chunks/{form-fha4hq43.js → bus-jaan4nhy.js} +45 -45
  155. package/dist/chunks/{form-jfaecv01.js → bus-jfaecv01.js} +1 -1
  156. package/dist/chunks/{form-0we704hm.js → bus-jfvq35wr.js} +27 -27
  157. package/dist/chunks/{form-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
  158. package/dist/chunks/{form-dx8q40th.js → bus-jvqz6y9c.js} +11 -11
  159. package/dist/chunks/{form-g4y5gz37.js → bus-jxr5ks98.js} +6 -6
  160. package/dist/chunks/{form-9yj11fn9.js → bus-jzv5rqjm.js} +11 -11
  161. package/dist/chunks/{form-y28d2ctz.js → bus-k1p2a49w.js} +9 -9
  162. package/dist/chunks/{form-xyj2z7t9.js → bus-k5xdymkf.js} +15 -15
  163. package/dist/chunks/{form-qnz6w04z.js → bus-k7xg2xms.js} +9 -9
  164. package/dist/chunks/{form-k814nvkf.js → bus-k814nvkf.js} +1 -1
  165. package/dist/chunks/{form-e5m5ahke.js → bus-k89jh6dj.js} +16 -16
  166. package/dist/chunks/{form-y2gpst6y.js → bus-kkfw1ty8.js} +11 -11
  167. package/dist/chunks/{form-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
  168. package/dist/chunks/{form-1vgxrmdj.js → bus-ktr6pf1t.js} +36 -36
  169. package/dist/chunks/{form-asvv9q89.js → bus-m0cjf5xp.js} +16 -16
  170. package/dist/chunks/{form-xhfzgzgf.js → bus-m0dqqhg5.js} +8 -8
  171. package/dist/chunks/{form-m1714858.js → bus-m1714858.js} +1 -1
  172. package/dist/chunks/{form-y7t1ke69.js → bus-m4sdr4hs.js} +34 -34
  173. package/dist/chunks/{form-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{form-8z6m94af.js → bus-mb7mbhnz.js} +3 -3
  175. package/dist/chunks/{form-x46kzptm.js → bus-mmp59vtg.js} +48 -48
  176. package/dist/chunks/{form-vx3jgdek.js → bus-mtpeagzc.js} +3 -3
  177. package/dist/chunks/{form-jqchfgzz.js → bus-mttwgft7.js} +20 -20
  178. package/dist/chunks/{form-p5e49205.js → bus-my7b4af9.js} +40 -40
  179. package/dist/chunks/{form-nbm1wd8w.js → bus-mz1qqpv3.js} +9 -9
  180. package/dist/chunks/{form-mktg3r47.js → bus-n5eh1rap.js} +87 -87
  181. package/dist/chunks/{form-8hcvae60.js → bus-n9d26gdb.js} +10 -10
  182. package/dist/chunks/{form-qh4ws9d6.js → bus-n9rn6xa3.js} +11 -11
  183. package/dist/chunks/{form-nah043kf.js → bus-nah043kf.js} +1 -1
  184. package/dist/chunks/{form-fddmw01z.js → bus-ndsna3c1.js} +28 -28
  185. package/dist/chunks/{form-p015t6z3.js → bus-p015t6z3.js} +2 -2
  186. package/dist/chunks/{form-1yq9hg58.js → bus-p7vhpwh8.js} +5 -5
  187. package/dist/chunks/{form-4th82h6j.js → bus-p9k333b6.js} +11 -11
  188. package/dist/chunks/{form-53rsp81d.js → bus-per0mbyz.js} +17 -17
  189. package/dist/chunks/{form-rzrq5kss.js → bus-pfb4yznh.js} +11 -11
  190. package/dist/chunks/{form-caez4nff.js → bus-pfsn56gn.js} +17 -17
  191. package/dist/chunks/{form-v8gahvqg.js → bus-phaw4w7g.js} +5 -5
  192. package/dist/chunks/{form-7jncsexd.js → bus-pkdrh1qv.js} +4 -4
  193. package/dist/chunks/{form-pknna89w.js → bus-pknna89w.js} +1 -1
  194. package/dist/chunks/{form-0a6594q4.js → bus-prhcv6dr.js} +18 -18
  195. package/dist/chunks/{form-yjkwyrer.js → bus-ptc9r7kc.js} +35 -35
  196. package/dist/chunks/{form-6m6e0fq6.js → bus-pyjsgtqa.js} +9 -9
  197. package/dist/chunks/{form-spfg18b2.js → bus-pzbysshh.js} +81 -81
  198. package/dist/chunks/{form-p965jgwx.js → bus-qn5zf4nr.js} +29 -29
  199. package/dist/chunks/{form-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
  200. package/dist/chunks/{form-3vn6803g.js → bus-qpgx3sd4.js} +8 -8
  201. package/dist/chunks/{form-qqvy8y24.js → bus-qqvy8y24.js} +1 -1
  202. package/dist/chunks/{form-7c2qna5p.js → bus-qyny2w4y.js} +18 -18
  203. package/dist/chunks/{form-a73hjx22.js → bus-r082yccm.js} +19 -19
  204. package/dist/chunks/{form-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
  205. package/dist/chunks/{form-r542h3bh.js → bus-r542h3bh.js} +1 -1
  206. package/dist/chunks/{form-7a96kwdb.js → bus-r9fybn2k.js} +41 -41
  207. package/dist/chunks/{form-gp6fvya6.js → bus-rb1rz6cd.js} +28 -28
  208. package/dist/chunks/{form-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
  209. package/dist/chunks/{form-5ew4vg0t.js → bus-rdajxzmj.js} +11 -11
  210. package/dist/chunks/{form-54qbttzm.js → bus-rf3ew56q.js} +36 -36
  211. package/dist/chunks/{form-z1yb6k18.js → bus-rg52mm6z.js} +25 -25
  212. package/dist/chunks/{form-dnf86brd.js → bus-rgdq8gvk.js} +13 -13
  213. package/dist/chunks/{form-dyd2a8eg.js → bus-rkrna9hn.js} +17 -17
  214. package/dist/chunks/{form-t16hmx8j.js → bus-rr54y859.js} +4 -4
  215. package/dist/chunks/{form-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
  216. package/dist/chunks/{form-jr332ax1.js → bus-rwdwt89q.js} +9 -9
  217. package/dist/chunks/{form-s7gmm2q3.js → bus-s7gmm2q3.js} +3 -3
  218. package/dist/chunks/{form-y7w06ryq.js → bus-s9m7w1wa.js} +13 -13
  219. package/dist/chunks/{form-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
  220. package/dist/chunks/{form-6dwjznsx.js → bus-sag1960s.js} +4 -4
  221. package/dist/chunks/{form-hep9bk35.js → bus-sbg8j0vj.js} +9 -9
  222. package/dist/chunks/{form-tcrj48nm.js → bus-sbr89z4j.js} +30 -30
  223. package/dist/chunks/{form-w8xr7nv8.js → bus-sfkj0ta1.js} +5 -5
  224. package/dist/chunks/{form-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
  225. package/dist/chunks/{form-hx5er68a.js → bus-srxxcest.js} +30 -30
  226. package/dist/chunks/{form-d2887f8n.js → bus-ssfehs1z.js} +4 -4
  227. package/dist/chunks/{form-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
  228. package/dist/chunks/{form-yfcr1se9.js → bus-svwybv69.js} +9 -9
  229. package/dist/chunks/{form-wjs5qw55.js → bus-sz9w62cr.js} +19 -19
  230. package/dist/chunks/{form-j7trztcj.js → bus-t0mx6v2s.js} +21 -21
  231. package/dist/chunks/{form-yfj8kv93.js → bus-t1dw8cfv.js} +11 -11
  232. package/dist/chunks/{form-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
  233. package/dist/chunks/{form-kkbdeg4e.js → bus-tvhr4amm.js} +4 -4
  234. package/dist/chunks/{form-1apr90yy.js → bus-twj077f6.js} +1 -1
  235. package/dist/chunks/{form-twssxy5n.js → bus-twssxy5n.js} +2 -2
  236. package/dist/chunks/{form-h725q1tb.js → bus-txa2na18.js} +19 -19
  237. package/dist/chunks/{form-c7a65p05.js → bus-v0sdba08.js} +12 -12
  238. package/dist/chunks/{form-mmx1mfjr.js → bus-v0t96s7a.js} +4 -4
  239. package/dist/chunks/{form-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
  240. package/dist/chunks/{form-2m0d1k40.js → bus-v3kn2g9y.js} +5 -5
  241. package/dist/chunks/{form-tg1vr1qt.js → bus-v5hpj9dd.js} +8 -8
  242. package/dist/chunks/{form-h4rvxyzb.js → bus-v75c35rk.js} +13 -13
  243. package/dist/chunks/{form-3ecf3tng.js → bus-v7hm3t8n.js} +5 -5
  244. package/dist/chunks/{form-1psxqbrq.js → bus-va1w8a24.js} +13 -13
  245. package/dist/chunks/{form-2zp5a6yg.js → bus-vb80j1wh.js} +3 -3
  246. package/dist/chunks/{form-g7esga4v.js → bus-vmfhgzt5.js} +5 -5
  247. package/dist/chunks/{form-vaq1yek0.js → bus-vsqvcqta.js} +6 -6
  248. package/dist/chunks/{form-b2mp8qdf.js → bus-vxdc9hjx.js} +23 -23
  249. package/dist/chunks/{form-0rvjqh0v.js → bus-vzv0sjvt.js} +20 -20
  250. package/dist/chunks/{form-rr09v45e.js → bus-vzvgxy56.js} +29 -29
  251. package/dist/chunks/{form-5enarcya.js → bus-w2eysc6j.js} +6 -6
  252. package/dist/chunks/{form-rkbnve9v.js → bus-w2gtp0cp.js} +25 -25
  253. package/dist/chunks/{form-e07q2w5p.js → bus-w307e9wj.js} +4 -4
  254. package/dist/chunks/{form-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{form-4ggvzfz0.js → bus-w4650645.js} +7 -7
  256. package/dist/chunks/{form-pbcq83b8.js → bus-w5v2k2bw.js} +5 -5
  257. package/dist/chunks/{form-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{form-wd87259q.js → bus-wd87259q.js} +1 -1
  259. package/dist/chunks/{form-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
  260. package/dist/chunks/{form-fznmdakp.js → bus-wr3re1en.js} +4 -4
  261. package/dist/chunks/{form-4hmxtsmg.js → bus-wrjnae0d.js} +189 -189
  262. package/dist/chunks/{form-jv2xnyk0.js → bus-wwgpyqzb.js} +9 -9
  263. package/dist/chunks/{form-e2zffr00.js → bus-wxpy059d.js} +8 -8
  264. package/dist/chunks/{form-ggwxx8z6.js → bus-wzq1kmgq.js} +26 -26
  265. package/dist/chunks/{form-n72e3dxd.js → bus-x48bv8h6.js} +5 -5
  266. package/dist/chunks/{form-xeygv81t.js → bus-x73g3dsh.js} +5 -5
  267. package/dist/chunks/{form-t6cg7awe.js → bus-x9e94t11.js} +20 -20
  268. package/dist/chunks/{form-749j9bem.js → bus-xdfy1vac.js} +11 -11
  269. package/dist/chunks/{form-xymnhqkr.js → bus-xk2zn0cv.js} +4 -4
  270. package/dist/chunks/{form-bb58r61a.js → bus-xqxcdqkj.js} +13 -13
  271. package/dist/chunks/{form-11p2wct5.js → bus-xrtynsxf.js} +35 -35
  272. package/dist/chunks/{form-xt0z8zst.js → bus-xt0z8zst.js} +1 -1
  273. package/dist/chunks/{form-r0b5cv65.js → bus-xzr1gvfw.js} +16 -16
  274. package/dist/chunks/{form-ey5xajk0.js → bus-y02x7m19.js} +13 -13
  275. package/dist/chunks/{form-e6k079pp.js → bus-y2ngtz71.js} +12 -12
  276. package/dist/chunks/{form-j2wws855.js → bus-y2whjd1m.js} +11 -11
  277. package/dist/chunks/{form-zm2ek9rr.js → bus-y78kkv0p.js} +15 -15
  278. package/dist/chunks/{form-kwdd41eq.js → bus-y7ehhw0v.js} +28 -28
  279. package/dist/chunks/{form-pxtfkpje.js → bus-yara3q77.js} +2 -2
  280. package/dist/chunks/{form-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{form-h921yzda.js → bus-yca54qy5.js} +32 -32
  282. package/dist/chunks/{form-c0q18wbz.js → bus-ydm7wqfm.js} +20 -20
  283. package/dist/chunks/{form-bs9ntfbp.js → bus-ye07msm6.js} +21 -21
  284. package/dist/chunks/{form-jf0vywae.js → bus-yfa3dy01.js} +4 -4
  285. package/dist/chunks/{form-vr11s0jh.js → bus-ykvdctq4.js} +4 -4
  286. package/dist/chunks/{form-ztf6n3de.js → bus-yqveydy6.js} +4 -4
  287. package/dist/chunks/{form-4n77906h.js → bus-yydbrnd5.js} +40 -40
  288. package/dist/chunks/{form-va23bk0p.js → bus-yyhgbx7d.js} +4 -4
  289. package/dist/chunks/{form-9q4bej68.js → bus-z2twcj9c.js} +38 -38
  290. package/dist/chunks/{form-z38nccrw.js → bus-z38nccrw.js} +1 -1
  291. package/dist/chunks/{form-8x57f01e.js → bus-z7930y0h.js} +28 -28
  292. package/dist/chunks/{form-5xm8fbgh.js → bus-zhaxkft9.js} +6 -6
  293. package/dist/chunks/{form-tr0vf8pp.js → bus-zkkkregz.js} +12 -12
  294. package/dist/chunks/{form-k2btearr.js → bus-znxhc1zm.js} +27 -27
  295. package/dist/chunks/{form-r21czkj7.js → bus-zq5c9s7v.js} +21 -21
  296. package/dist/chunks/{form-wzhs16ph.js → bus-zsh677ft.js} +40 -40
  297. package/dist/chunks/{form-kvvghrks.js → bus-zsjwhcwr.js} +19 -19
  298. package/dist/chunks/{form-n2fn6n16.js → bus-ztz0q9zh.js} +5 -5
  299. package/dist/chunks/{form-42s34a0z.js → bus-zyydwx25.js} +18 -18
  300. package/dist/codemode/catalog.js +1 -1
  301. package/dist/codemode/instructions.js +9 -9
  302. package/dist/codemode/tool.js +3 -3
  303. package/dist/codemode/web.js +1 -1
  304. package/dist/command.js +92 -92
  305. package/dist/config/discovery.js +95 -95
  306. package/dist/config/integration.js +3 -3
  307. package/dist/config/markdown.js +1 -1
  308. package/dist/config/normalize.js +110 -110
  309. package/dist/config/plugin/agent.js +124 -124
  310. package/dist/config/plugin/command.js +222 -222
  311. package/dist/config/plugin/compaction.js +165 -165
  312. package/dist/config/plugin/compatibility.js +143 -143
  313. package/dist/config/plugin/entry-observer.js +1 -1
  314. package/dist/config/plugin/formatter.js +125 -125
  315. package/dist/config/plugin/image.js +124 -124
  316. package/dist/config/plugin/instruction.js +124 -124
  317. package/dist/config/plugin/location-watcher.js +126 -126
  318. package/dist/config/plugin/mcp.js +131 -131
  319. package/dist/config/plugin/policy.js +126 -126
  320. package/dist/config/plugin/provider.js +125 -125
  321. package/dist/config/plugin/reference.js +126 -126
  322. package/dist/config/plugin/shell.js +124 -124
  323. package/dist/config/plugin/skill-file.js +141 -141
  324. package/dist/config/plugin/skill-scan.js +1 -1
  325. package/dist/config/plugin/skill.js +146 -146
  326. package/dist/config/plugin/snapshot.js +124 -124
  327. package/dist/config/plugin/source.js +127 -127
  328. package/dist/config/plugin/tool-output.js +125 -125
  329. package/dist/config/plugin/websearch.js +123 -123
  330. package/dist/config/plugin/worktree.js +126 -126
  331. package/dist/config/variable.js +1 -1
  332. package/dist/config/watch.js +1 -1
  333. package/dist/config.js +127 -127
  334. package/dist/console-access.js +1 -1
  335. package/dist/credential/sql.js +2 -2
  336. package/dist/credential.js +92 -92
  337. package/dist/database/database.js +75 -75
  338. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  339. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  340. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  341. package/dist/database/drizzle/index.js +13 -13
  342. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  345. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  348. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  349. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  350. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  351. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  352. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  353. package/dist/database/drizzle.js +14 -14
  354. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  355. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  356. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  357. package/dist/database/migration/20260225215848_workspace.js +1 -1
  358. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  359. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  360. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  361. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  362. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  363. package/dist/database/migration/20260323234822_events.js +1 -1
  364. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  365. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  366. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  367. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  368. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  369. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  370. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  371. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  372. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  373. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  374. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  375. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  376. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  377. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  378. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  379. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  380. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  381. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  382. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  383. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  384. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  385. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  386. package/dist/database/migration/20260611035744_credential.js +1 -1
  387. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  388. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  389. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  390. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  391. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  392. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  393. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  394. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  395. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  396. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  397. package/dist/database/migration/20260812213948_worktree.js +1 -1
  398. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  399. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  400. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  401. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  402. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  403. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  404. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  405. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  406. package/dist/database/migration/20261025123711_blob.js +1 -1
  407. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  408. package/dist/database/migration/20261026223005_schedule.js +1 -1
  409. package/dist/database/migration/20261029002625_session_part.js +1 -1
  410. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  411. package/dist/database/migration.gen.js +58 -58
  412. package/dist/database/migration.js +60 -60
  413. package/dist/database/path.js +2 -2
  414. package/dist/database/schema.gen.js +1 -1
  415. package/dist/database/schema.sql.js +1 -1
  416. package/dist/database/sqlite.bun.js +1 -1
  417. package/dist/database/sqlite.js +1 -1
  418. package/dist/database/sqlite.node.js +1 -1
  419. package/dist/database/sqlite.workerd.js +1 -1
  420. package/dist/database/v1-migration.bun.js +103 -103
  421. package/dist/database/v1-migration.js +1 -1
  422. package/dist/effect/app-node-builder.js +388 -388
  423. package/dist/effect/app-node-platform.js +2 -2
  424. package/dist/effect/keyed-mutex.js +1 -1
  425. package/dist/effect/websocket-constructor.js +1 -1
  426. package/dist/environment/driver.js +1 -1
  427. package/dist/environment/environment.js +104 -104
  428. package/dist/environment/exec-defaults.js +2 -2
  429. package/dist/environment/files.js +1 -1
  430. package/dist/environment/index.js +106 -106
  431. package/dist/environment/local.js +2 -2
  432. package/dist/environment/memory.js +2 -2
  433. package/dist/environment/unavailable.js +3 -3
  434. package/dist/event/sql.js +1 -1
  435. package/dist/event-logger.js +79 -79
  436. package/dist/file-access.js +151 -151
  437. package/dist/file-mutation.js +105 -105
  438. package/dist/file-retention.js +1 -1
  439. package/dist/filesystem/fff.bun.js +2 -2
  440. package/dist/filesystem/fff.js +1 -1
  441. package/dist/filesystem/fff.node.js +2 -2
  442. package/dist/filesystem/fff.workerd.js +2 -2
  443. package/dist/filesystem/file-watch.js +84 -84
  444. package/dist/filesystem/location-watcher-policy.js +6 -6
  445. package/dist/filesystem/location-watcher.js +237 -237
  446. package/dist/filesystem/protected.js +3 -3
  447. package/dist/filesystem/search.js +110 -110
  448. package/dist/filesystem/watcher-binding.js +1 -1
  449. package/dist/filesystem/watcher.js +9 -9
  450. package/dist/filesystem.js +113 -113
  451. package/dist/form.js +91 -91
  452. package/dist/formatter/builtins.js +4 -4
  453. package/dist/formatter.js +98 -98
  454. package/dist/generate.js +116 -116
  455. package/dist/git.js +11 -11
  456. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  457. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  458. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  459. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  460. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  461. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  462. package/dist/github-copilot/copilot-provider.js +17 -17
  463. package/dist/github-copilot/models.js +110 -110
  464. package/dist/github-copilot/openai-compatible-error.js +1 -1
  465. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  466. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  467. package/dist/github-copilot/responses/openai-error.js +1 -1
  468. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  469. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  470. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  471. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  472. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  473. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  474. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  475. package/dist/image/notice.js +1 -1
  476. package/dist/image/photon-normalize.js +1 -1
  477. package/dist/image/photon-worker.js +1 -1
  478. package/dist/image/photon.js +4 -4
  479. package/dist/image.js +6 -6
  480. package/dist/instance/service.js +5 -5
  481. package/dist/instance.js +379 -379
  482. package/dist/instruction-discovery.js +91 -91
  483. package/dist/instructions/builtins.js +98 -98
  484. package/dist/instructions/index.js +1 -1
  485. package/dist/integration/connection.js +3 -3
  486. package/dist/integration.js +98 -98
  487. package/dist/job.js +87 -87
  488. package/dist/kv/sql.js +2 -2
  489. package/dist/kv.js +82 -82
  490. package/dist/location-activity.js +163 -163
  491. package/dist/location-lifecycle.js +145 -145
  492. package/dist/location-service-map.js +97 -97
  493. package/dist/location-services.js +376 -376
  494. package/dist/location.js +100 -100
  495. package/dist/managed-policy.js +3 -3
  496. package/dist/mcp/client.js +102 -102
  497. package/dist/mcp/index.js +116 -116
  498. package/dist/mcp/instructions.js +169 -169
  499. package/dist/mcp/oauth.js +87 -87
  500. package/dist/mcp/socket-client.js +1 -1
  501. package/dist/mcp/stdio.js +101 -101
  502. package/dist/mime.js +1 -1
  503. package/dist/modal/models.js +110 -110
  504. package/dist/model-resolver.js +110 -110
  505. package/dist/model-retry.js +1 -1
  506. package/dist/model.js +109 -109
  507. package/dist/models-dev/v1.js +1 -1
  508. package/dist/models-dev.js +119 -119
  509. package/dist/oauth/page.js +1 -1
  510. package/dist/permission/saved.js +89 -89
  511. package/dist/permission/sql.js +5 -5
  512. package/dist/permission.js +144 -144
  513. package/dist/persistent-pty/binary.bun.js +1 -1
  514. package/dist/persistent-pty/daemon.js +1 -1
  515. package/dist/persistent-pty/index.js +99 -99
  516. package/dist/persistent-pty/pty-binding.js +1 -1
  517. package/dist/persistent-pty.js +84 -84
  518. package/dist/plugin/agent.js +83 -83
  519. package/dist/plugin/command.js +111 -111
  520. package/dist/plugin/goal.js +3 -3
  521. package/dist/plugin/hooks.js +5 -5
  522. package/dist/plugin/host.js +228 -228
  523. package/dist/plugin/identity.js +5 -5
  524. package/dist/plugin/instance.js +5 -5
  525. package/dist/plugin/internal.js +349 -349
  526. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  527. package/dist/plugin/models-dev.js +108 -108
  528. package/dist/plugin/module.js +126 -126
  529. package/dist/plugin/optimize.js +2 -2
  530. package/dist/plugin/plan.js +141 -141
  531. package/dist/plugin/promise.js +1 -1
  532. package/dist/plugin/provider/amazon-bedrock.js +102 -102
  533. package/dist/plugin/provider/azure.js +124 -124
  534. package/dist/plugin/provider/cerebras.js +1 -1
  535. package/dist/plugin/provider/chatgpt.js +124 -124
  536. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
  537. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
  538. package/dist/plugin/provider/configured.js +120 -120
  539. package/dist/plugin/provider/credential-settings.js +83 -83
  540. package/dist/plugin/provider/databricks.js +1 -1
  541. package/dist/plugin/provider/digitalocean.js +104 -104
  542. package/dist/plugin/provider/dynamic.js +2 -2
  543. package/dist/plugin/provider/github-copilot.js +106 -106
  544. package/dist/plugin/provider/gitlab.js +105 -105
  545. package/dist/plugin/provider/google-vertex.js +121 -121
  546. package/dist/plugin/provider/kilo.js +1 -1
  547. package/dist/plugin/provider/llmgateway.js +87 -87
  548. package/dist/plugin/provider/lmstudio.js +133 -133
  549. package/dist/plugin/provider/local.js +130 -130
  550. package/dist/plugin/provider/modal.js +103 -103
  551. package/dist/plugin/provider/neon.js +1 -1
  552. package/dist/plugin/provider/nvidia.js +1 -1
  553. package/dist/plugin/provider/ollama.js +133 -133
  554. package/dist/plugin/provider/openai-context-caps.js +101 -101
  555. package/dist/plugin/provider/openai.js +124 -124
  556. package/dist/plugin/provider/opencode.js +127 -127
  557. package/dist/plugin/provider/openrouter.js +102 -102
  558. package/dist/plugin/provider/poe.js +88 -88
  559. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  560. package/dist/plugin/provider/sap-ai-core.js +102 -102
  561. package/dist/plugin/provider/sdk-factory.js +1 -1
  562. package/dist/plugin/provider/snowflake-cortex.js +123 -123
  563. package/dist/plugin/provider/vllm.js +133 -133
  564. package/dist/plugin/provider/xai.js +102 -102
  565. package/dist/plugin/provider/zenmux.js +1 -1
  566. package/dist/plugin/provider.js +175 -175
  567. package/dist/plugin/sdk.js +83 -83
  568. package/dist/plugin/service.js +3 -3
  569. package/dist/plugin/skill.js +144 -144
  570. package/dist/plugin/source-directory.js +1 -1
  571. package/dist/plugin/supervisor.js +367 -367
  572. package/dist/plugin/tool-input-repair.js +4 -4
  573. package/dist/plugin/update.js +6 -6
  574. package/dist/plugin/vcs/git.js +97 -97
  575. package/dist/plugin/vcs/hg.js +97 -97
  576. package/dist/plugin/verbosity.js +104 -104
  577. package/dist/plugin/warming.js +122 -122
  578. package/dist/plugin/websearch/exa.js +5 -5
  579. package/dist/plugin/websearch/firecrawl.js +8 -8
  580. package/dist/plugin/websearch/index.js +9 -9
  581. package/dist/plugin/websearch/mcp.js +4 -4
  582. package/dist/plugin/websearch/parallel.js +8 -8
  583. package/dist/plugin/websearch/tavily.js +6 -6
  584. package/dist/plugin/websearch/tinyfish.js +8 -8
  585. package/dist/plugin.js +235 -235
  586. package/dist/project/icon.js +5 -5
  587. package/dist/project/schema.js +8 -8
  588. package/dist/project/sql.js +4 -4
  589. package/dist/project.js +101 -101
  590. package/dist/provider.js +108 -108
  591. package/dist/pty/protocol.js +1 -1
  592. package/dist/pty/ticket.js +1 -1
  593. package/dist/pty.js +109 -109
  594. package/dist/reference/instructions.js +97 -97
  595. package/dist/reference.js +99 -99
  596. package/dist/repository-cache.js +91 -91
  597. package/dist/repository.js +1 -1
  598. package/dist/ripgrep/binary.js +2 -2
  599. package/dist/ripgrep.js +108 -108
  600. package/dist/rpc.js +97 -97
  601. package/dist/schedule/sql.js +6 -6
  602. package/dist/schedule.js +232 -232
  603. package/dist/schema.js +1 -1
  604. package/dist/session/affinity.js +1 -1
  605. package/dist/session/background.js +1 -1
  606. package/dist/session/blob.js +123 -123
  607. package/dist/session/command.js +83 -83
  608. package/dist/session/compaction.js +165 -165
  609. package/dist/session/context.js +191 -191
  610. package/dist/session/diff.js +99 -99
  611. package/dist/session/environment.js +5 -5
  612. package/dist/session/error.js +5 -5
  613. package/dist/session/event.js +1 -1
  614. package/dist/session/execution/restart.js +231 -231
  615. package/dist/session/execution.js +155 -155
  616. package/dist/session/generate.js +193 -193
  617. package/dist/session/history.js +130 -130
  618. package/dist/session/inbox.js +139 -139
  619. package/dist/session/info.js +3 -3
  620. package/dist/session/instruction-entry.js +88 -88
  621. package/dist/session/instruction-state.js +8 -8
  622. package/dist/session/instructions.js +131 -131
  623. package/dist/session/message-updater.js +2 -2
  624. package/dist/session/message.js +1 -1
  625. package/dist/session/model-request.js +158 -158
  626. package/dist/session/model-transport.js +9 -9
  627. package/dist/session/move.js +159 -159
  628. package/dist/session/projector.js +137 -137
  629. package/dist/session/prompt.js +143 -143
  630. package/dist/session/recent-text.js +1 -1
  631. package/dist/session/revert.js +133 -133
  632. package/dist/session/run-coordinator.js +3 -3
  633. package/dist/session/runner/index.js +3 -3
  634. package/dist/session/runner/llm.js +242 -242
  635. package/dist/session/runner/max-steps.js +1 -1
  636. package/dist/session/runner/model.js +109 -109
  637. package/dist/session/runner/publish-llm-event.js +144 -144
  638. package/dist/session/runner/retry.js +5 -5
  639. package/dist/session/runner/step.js +157 -157
  640. package/dist/session/runner/to-llm-message.js +131 -131
  641. package/dist/session/schema.js +5 -5
  642. package/dist/session/session.js +175 -175
  643. package/dist/session/shell.js +138 -138
  644. package/dist/session/skill.js +142 -142
  645. package/dist/session/sql.js +5 -5
  646. package/dist/session/stats.js +82 -82
  647. package/dist/session/store.js +136 -136
  648. package/dist/session/stored.js +2 -2
  649. package/dist/session/subagent-completion.js +1 -1
  650. package/dist/session/subagent-job.js +218 -218
  651. package/dist/session/system-prompt.js +3 -3
  652. package/dist/session/title.js +195 -195
  653. package/dist/session/to-session-error.js +143 -143
  654. package/dist/session/transfer.js +230 -230
  655. package/dist/session/usage.js +1 -1
  656. package/dist/session.js +228 -228
  657. package/dist/shell/parse.js +6 -6
  658. package/dist/shell/result.js +1 -1
  659. package/dist/shell/scan.js +1 -1
  660. package/dist/shell/select.js +13 -13
  661. package/dist/shell.js +140 -140
  662. package/dist/skill/discovery.js +6 -6
  663. package/dist/skill/instructions.js +146 -146
  664. package/dist/skill.js +147 -147
  665. package/dist/snapshot.js +104 -104
  666. package/dist/state.js +1 -1
  667. package/dist/tool/html-markdown.js +1 -1
  668. package/dist/tool/http-body.js +1 -1
  669. package/dist/tool/mcp.js +168 -168
  670. package/dist/tool/plugin/edit.js +159 -159
  671. package/dist/tool/plugin/file-diff.js +1 -1
  672. package/dist/tool/plugin/glob.js +163 -163
  673. package/dist/tool/plugin/grep.js +163 -163
  674. package/dist/tool/plugin/image-generate.js +224 -224
  675. package/dist/tool/plugin/mcp-resource.js +157 -157
  676. package/dist/tool/plugin/opencode.js +156 -156
  677. package/dist/tool/plugin/patch.js +161 -161
  678. package/dist/tool/plugin/question.js +141 -141
  679. package/dist/tool/plugin/read.js +162 -162
  680. package/dist/tool/plugin/schedule.js +222 -222
  681. package/dist/tool/plugin/shell.js +225 -225
  682. package/dist/tool/plugin/skill.js +152 -152
  683. package/dist/tool/plugin/subagent.js +229 -229
  684. package/dist/tool/plugin/todo.js +148 -148
  685. package/dist/tool/plugin/webfetch.js +152 -152
  686. package/dist/tool/plugin/websearch.js +148 -148
  687. package/dist/tool/plugin/write.js +161 -161
  688. package/dist/tool/read-filesystem.js +111 -111
  689. package/dist/tool/runtime.js +1 -1
  690. package/dist/tool-output.js +7 -7
  691. package/dist/tool.js +12 -12
  692. package/dist/usage-limits.js +98 -98
  693. package/dist/util/error-summary.js +1 -1
  694. package/dist/util/git-executable.js +3 -3
  695. package/dist/util/lazy.js +1 -1
  696. package/dist/util/slug.js +1 -1
  697. package/dist/util/token.js +1 -1
  698. package/dist/util/which.js +1 -1
  699. package/dist/util/wildcard.js +1 -1
  700. package/dist/v1/config/agent.js +5 -5
  701. package/dist/v1/config/command.js +3 -3
  702. package/dist/v1/config/mcp.js +2 -2
  703. package/dist/v1/config/migrate.js +103 -103
  704. package/dist/v1/config/permission.js +3 -3
  705. package/dist/v1/config/plugin.js +3 -3
  706. package/dist/v1/config/provider-options.js +1 -1
  707. package/dist/v1/config/provider.js +4 -4
  708. package/dist/variant.js +104 -104
  709. package/dist/vcs/patch.js +1 -1
  710. package/dist/vcs.js +100 -100
  711. package/dist/voice.js +97 -97
  712. package/dist/websearch.js +95 -95
  713. package/dist/wellknown/plugin.js +87 -87
  714. package/dist/wellknown.js +88 -88
  715. package/dist/workspace/driver.js +5 -5
  716. package/dist/workspace/sql.js +1 -1
  717. package/dist/workspace.js +91 -91
  718. package/dist/worktree/directory.js +2 -2
  719. package/dist/worktree/git.js +11 -11
  720. package/dist/worktree/sql.js +5 -5
  721. package/dist/worktree/strategies.js +100 -100
  722. package/dist/worktree.js +109 -109
  723. package/package.json +8 -8
  724. package/dist/chunks/form-acn20bfg.js +0 -26
  725. package/dist/chunks/form-aeq1g8b0.js +0 -257
  726. package/dist/chunks/form-d77dj7jw.js +0 -18
  727. /package/dist/chunks/{form-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  728. /package/dist/chunks/{form-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  729. /package/dist/chunks/{form-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  730. /package/dist/chunks/{form-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  731. /package/dist/chunks/{form-1jakw16s.js → bus-1jakw16s.js} +0 -0
  732. /package/dist/chunks/{form-1kah00gy.js → bus-1kah00gy.js} +0 -0
  733. /package/dist/chunks/{form-24dcb14g.js → bus-24dcb14g.js} +0 -0
  734. /package/dist/chunks/{form-2710q6r3.js → bus-2710q6r3.js} +0 -0
  735. /package/dist/chunks/{form-2bv980vf.js → bus-2bv980vf.js} +0 -0
  736. /package/dist/chunks/{form-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  737. /package/dist/chunks/{form-359p4xyc.js → bus-359p4xyc.js} +0 -0
  738. /package/dist/chunks/{form-3asan66x.js → bus-3asan66x.js} +0 -0
  739. /package/dist/chunks/{form-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  740. /package/dist/chunks/{form-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  741. /package/dist/chunks/{form-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  742. /package/dist/chunks/{form-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  743. /package/dist/chunks/{form-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  744. /package/dist/chunks/{form-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  745. /package/dist/chunks/{form-53557ph1.js → bus-53557ph1.js} +0 -0
  746. /package/dist/chunks/{form-550bvhaj.js → bus-550bvhaj.js} +0 -0
  747. /package/dist/chunks/{form-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
  748. /package/dist/chunks/{form-6prwharc.js → bus-6prwharc.js} +0 -0
  749. /package/dist/chunks/{form-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
  750. /package/dist/chunks/{form-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  751. /package/dist/chunks/{form-7m9af43g.js → bus-7m9af43g.js} +0 -0
  752. /package/dist/chunks/{form-822emrt2.js → bus-822emrt2.js} +0 -0
  753. /package/dist/chunks/{form-84wd9syh.js → bus-84wd9syh.js} +0 -0
  754. /package/dist/chunks/{form-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  755. /package/dist/chunks/{form-8n3pysct.js → bus-8n3pysct.js} +0 -0
  756. /package/dist/chunks/{form-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  757. /package/dist/chunks/{form-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  758. /package/dist/chunks/{form-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  759. /package/dist/chunks/{form-a058387c.js → bus-a058387c.js} +0 -0
  760. /package/dist/chunks/{form-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  761. /package/dist/chunks/{form-af5trqkr.js → bus-af5trqkr.js} +0 -0
  762. /package/dist/chunks/{form-afrmfg78.js → bus-afrmfg78.js} +0 -0
  763. /package/dist/chunks/{form-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  764. /package/dist/chunks/{form-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  765. /package/dist/chunks/{form-beh6qq61.js → bus-beh6qq61.js} +0 -0
  766. /package/dist/chunks/{form-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  767. /package/dist/chunks/{form-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  768. /package/dist/chunks/{form-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  769. /package/dist/chunks/{form-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
  770. /package/dist/chunks/{form-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  771. /package/dist/chunks/{form-d9fn303g.js → bus-d9fn303g.js} +0 -0
  772. /package/dist/chunks/{form-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  773. /package/dist/chunks/{form-dajrwvna.js → bus-dajrwvna.js} +0 -0
  774. /package/dist/chunks/{form-dap0rakb.js → bus-dap0rakb.js} +0 -0
  775. /package/dist/chunks/{form-df08tz66.js → bus-df08tz66.js} +0 -0
  776. /package/dist/chunks/{form-dy18nga0.js → bus-dy18nga0.js} +0 -0
  777. /package/dist/chunks/{form-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  778. /package/dist/chunks/{form-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  779. /package/dist/chunks/{form-ec1grn59.js → bus-ec1grn59.js} +0 -0
  780. /package/dist/chunks/{form-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  781. /package/dist/chunks/{form-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  782. /package/dist/chunks/{form-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  783. /package/dist/chunks/{form-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  784. /package/dist/chunks/{form-faypxj3z.js → bus-faypxj3z.js} +0 -0
  785. /package/dist/chunks/{form-fd410y7t.js → bus-fd410y7t.js} +0 -0
  786. /package/dist/chunks/{form-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
  787. /package/dist/chunks/{form-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  788. /package/dist/chunks/{form-g86h250q.js → bus-g86h250q.js} +0 -0
  789. /package/dist/chunks/{form-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  790. /package/dist/chunks/{form-gftt206x.js → bus-gftt206x.js} +0 -0
  791. /package/dist/chunks/{form-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
  792. /package/dist/chunks/{form-hk9envan.js → bus-hk9envan.js} +0 -0
  793. /package/dist/chunks/{form-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  794. /package/dist/chunks/{form-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  795. /package/dist/chunks/{form-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  796. /package/dist/chunks/{form-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  797. /package/dist/chunks/{form-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  798. /package/dist/chunks/{form-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
  799. /package/dist/chunks/{form-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
  800. /package/dist/chunks/{form-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  801. /package/dist/chunks/{form-m18g726c.js → bus-m18g726c.js} +0 -0
  802. /package/dist/chunks/{form-mp448xyj.js → bus-mp448xyj.js} +0 -0
  803. /package/dist/chunks/{form-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  804. /package/dist/chunks/{form-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  805. /package/dist/chunks/{form-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  806. /package/dist/chunks/{form-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
  807. /package/dist/chunks/{form-nh4v3znn.js → bus-nh4v3znn.js} +0 -0
  808. /package/dist/chunks/{form-njntx4h6.js → bus-njntx4h6.js} +0 -0
  809. /package/dist/chunks/{form-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
  810. /package/dist/chunks/{form-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  811. /package/dist/chunks/{form-q74kybfr.js → bus-q74kybfr.js} +0 -0
  812. /package/dist/chunks/{form-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  813. /package/dist/chunks/{form-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  814. /package/dist/chunks/{form-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  815. /package/dist/chunks/{form-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  816. /package/dist/chunks/{form-qgfkghh1.js → bus-qgfkghh1.js} +0 -0
  817. /package/dist/chunks/{form-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  818. /package/dist/chunks/{form-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  819. /package/dist/chunks/{form-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  820. /package/dist/chunks/{form-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  821. /package/dist/chunks/{form-ty7weeps.js → bus-ty7weeps.js} +0 -0
  822. /package/dist/chunks/{form-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
  823. /package/dist/chunks/{form-w803qqfp.js → bus-w803qqfp.js} +0 -0
  824. /package/dist/chunks/{form-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  825. /package/dist/chunks/{form-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  826. /package/dist/chunks/{form-wtztk69x.js → bus-wtztk69x.js} +0 -0
  827. /package/dist/chunks/{form-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  828. /package/dist/chunks/{form-x61499pn.js → bus-x61499pn.js} +0 -0
  829. /package/dist/chunks/{form-y44na4kk.js → bus-y44na4kk.js} +0 -0
  830. /package/dist/chunks/{form-y8f7s663.js → bus-y8f7s663.js} +0 -0
  831. /package/dist/chunks/{form-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  832. /package/dist/chunks/{form-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
  833. /package/dist/chunks/{form-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,117 +1,117 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./form-pz1n0gq8.js";
4
+ } from "./bus-f9nwn4tf.js";
5
5
  import {
6
6
  Service86,
7
7
  node90
8
- } from "./form-va23bk0p.js";
8
+ } from "./bus-yyhgbx7d.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./form-gftt206x.js";
11
+ } from "./bus-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./form-h4p3pyf8.js";
14
+ } from "./bus-818eymrz.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./form-ec1grn59.js";
17
+ } from "./bus-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./form-8z6m94af.js";
20
+ } from "./bus-mb7mbhnz.js";
21
21
  import {
22
22
  prepare4
23
- } from "./form-tptvq6v6.js";
23
+ } from "./bus-eahpwh8e.js";
24
24
  import {
25
25
  decodeMessageRow2,
26
26
  preview2
27
- } from "./form-1xfzm2bk.js";
27
+ } from "./bus-7x554r32.js";
28
28
  import {
29
- Service62,
30
- node65
31
- } from "./form-hjb7zt8b.js";
29
+ Service58,
30
+ node61
31
+ } from "./bus-07m51zyr.js";
32
32
  import {
33
- Service63,
34
- node66
35
- } from "./form-e471twwt.js";
33
+ Service60,
34
+ node63
35
+ } from "./bus-c1a686j5.js";
36
36
  import {
37
- Service14,
38
- node16
39
- } from "./form-f8p7x3za.js";
37
+ Service47,
38
+ node50
39
+ } from "./bus-gbhvr811.js";
40
40
  import {
41
41
  llmClient2
42
- } from "./form-p015t6z3.js";
42
+ } from "./bus-p015t6z3.js";
43
43
  import {
44
- Service33,
45
- node36
46
- } from "./form-rafkt0z2.js";
44
+ Service20,
45
+ node24
46
+ } from "./bus-92vky5wk.js";
47
47
  import {
48
48
  baseTranscript2
49
- } from "./form-fddmw01z.js";
49
+ } from "./bus-ndsna3c1.js";
50
50
  import {
51
- make9
52
- } from "./form-vaq1yek0.js";
51
+ make5
52
+ } from "./bus-vsqvcqta.js";
53
53
  import {
54
54
  toSessionError2
55
- } from "./form-y2wa3a8s.js";
55
+ } from "./bus-7kprcbad.js";
56
56
  import {
57
- Service6,
58
- node8,
57
+ Service11,
58
+ node13,
59
59
  estimatePrompt2
60
- } from "./form-9q4bej68.js";
60
+ } from "./bus-z2twcj9c.js";
61
61
  import {
62
- node50
63
- } from "./form-vbggds6s.js";
62
+ node52
63
+ } from "./bus-dhp97qke.js";
64
64
  import {
65
- Service28,
66
- node31
67
- } from "./form-c8t4rycs.js";
65
+ Service17,
66
+ node21
67
+ } from "./bus-3rbyhj39.js";
68
68
  import {
69
69
  serialized2,
70
70
  nextPromotable2,
71
71
  has2,
72
72
  promote2
73
- } from "./form-h50dg4rv.js";
73
+ } from "./bus-fnrcf1wj.js";
74
74
  import {
75
75
  outstanding2
76
- } from "./form-qqvy8y24.js";
76
+ } from "./bus-qqvy8y24.js";
77
77
  import {
78
- Service54,
79
- node56
80
- } from "./form-asvv9q89.js";
78
+ Service77,
79
+ node81
80
+ } from "./bus-m0cjf5xp.js";
81
81
  import {
82
- Service8,
82
+ Service3,
83
83
  isUntitled2,
84
- node10
85
- } from "./form-ggwxx8z6.js";
84
+ node4
85
+ } from "./bus-wzq1kmgq.js";
86
86
  import {
87
87
  DrainResult2,
88
- Service44
89
- } from "./form-ztf6n3de.js";
88
+ Service43
89
+ } from "./bus-yqveydy6.js";
90
90
  import {
91
- node43
92
- } from "./form-r1n5a4qe.js";
91
+ node77
92
+ } from "./bus-69fgec3f.js";
93
93
  import {
94
94
  Outcome2,
95
- make8
96
- } from "./form-0a6594q4.js";
95
+ make3
96
+ } from "./bus-prhcv6dr.js";
97
97
  import {
98
- Service27
99
- } from "./form-d77dj7jw.js";
98
+ Service28
99
+ } from "./bus-00ve6mdn.js";
100
100
  import {
101
- node17
102
- } from "./form-kvvghrks.js";
101
+ node15
102
+ } from "./bus-zsjwhcwr.js";
103
103
  import {
104
104
  MAX_STEPS_PROMPT2
105
- } from "./form-y44na4kk.js";
105
+ } from "./bus-y44na4kk.js";
106
106
  import {
107
107
  __export
108
- } from "./form-9rqn6x4v.js";
108
+ } from "./bus-9rqn6x4v.js";
109
109
 
110
110
  // src/session/runner/llm.ts
111
111
  var exports_llm = {};
112
112
  __export(exports_llm, {
113
113
  SessionRunnerLLM: () => exports_llm,
114
- node: () => node7
114
+ node: () => node3
115
115
  });
116
116
  import { Message } from "@opencode/ai/effect";
117
117
  import { and, desc, eq, inArray, sql } from "drizzle-orm";
@@ -119,19 +119,19 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
119
119
  import { makeLocationNode } from "@opencode/util/effect/app-node";
120
120
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
121
121
  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.";
122
- var layer = Layer.effect(Service44, Effect.gen(function* () {
122
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
123
123
  const bus = yield* Service86;
124
- const lifecycle = yield* Service14;
125
- const store = yield* Service62;
126
- const context = yield* Service28;
127
- const modelTransport = yield* Service33;
124
+ const lifecycle = yield* Service47;
125
+ const store = yield* Service58;
126
+ const context = yield* Service17;
127
+ const modelTransport = yield* Service20;
128
128
  const db = (yield* Service87).db;
129
- const compaction = yield* Service6;
130
- const plugins = yield* Service27;
131
- const hooks = yield* Service63;
132
- const jobs = yield* Service54;
133
- const title = yield* Service8;
134
- const steps = yield* make8;
129
+ const compaction = yield* Service11;
130
+ const plugins = yield* Service28;
131
+ const hooks = yield* Service60;
132
+ const jobs = yield* Service77;
133
+ const title = yield* Service3;
134
+ const steps = yield* make3;
135
135
  const titles = yield* FiberMap.make();
136
136
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
137
137
  const sessionID = input.sessionID;
@@ -269,7 +269,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
269
269
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
270
270
  const sessionID = first.session.id;
271
271
  let assistantMessageID = SessionMessage2.ID.create();
272
- const retry = yield* make9(bus, sessionID);
272
+ const retry = yield* make5(bus, sessionID);
273
273
  let initial = first;
274
274
  let recoverOverflow = true;
275
275
  let recoverContinuation = true;
@@ -417,27 +417,27 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
417
417
  }
418
418
  }
419
419
  });
420
- return Service44.of({ drain });
420
+ return Service43.of({ drain });
421
421
  }));
422
- var node7 = makeLocationNode({
423
- service: Service44,
422
+ var node3 = makeLocationNode({
423
+ service: Service43,
424
424
  layer,
425
425
  deps: [
426
426
  node90,
427
- node16,
428
- llmClient2,
429
- node31,
430
- node36,
431
- node65,
432
- node8,
433
- node17,
434
- node66,
435
- node56,
436
- node10,
437
- node43,
438
427
  node50,
428
+ llmClient2,
429
+ node21,
430
+ node24,
431
+ node61,
432
+ node13,
433
+ node15,
434
+ node63,
435
+ node81,
436
+ node4,
437
+ node77,
438
+ node52,
439
439
  node91
440
440
  ]
441
441
  });
442
442
 
443
- export { node7, exports_llm };
443
+ export { node3, exports_llm };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./form-va23bk0p.js";
4
+ } from "./bus-yyhgbx7d.js";
5
5
  import {
6
6
  environment2
7
- } from "./form-wjs5qw55.js";
7
+ } from "./bus-sz9w62cr.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./form-a058387c.js";
10
+ } from "./bus-a058387c.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options2,
19
+ NotFoundError: () => NotFoundError7,
20
+ Options: () => Options5,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service22,
23
- UnavailableError: () => UnavailableError4,
24
- available: () => available3,
25
- configured: () => configured2,
26
- layer: () => layer11,
27
- node: () => node25
22
+ Service: () => Service51,
23
+ UnavailableError: () => UnavailableError3,
24
+ available: () => available4,
25
+ configured: () => configured7,
26
+ layer: () => layer21,
27
+ node: () => node54
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -34,25 +34,25 @@ import { Pty } from "@opencode/schema/pty";
34
34
  import { Global } from "@opencode/util/global";
35
35
  import { resolveBinary } from "#persistent-pty-binary";
36
36
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
37
- import { available as available3 } from "#persistent-pty-binary";
38
- var Options2 = Schema.Struct({
37
+ import { available as available4 } from "#persistent-pty-binary";
38
+ var Options5 = Schema.Struct({
39
39
  handoff: Schema.optional(Handoff),
40
40
  root: Schema.optional(Schema.String)
41
41
  });
42
42
 
43
- class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
43
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
44
  message: Schema.String
45
45
  }) {
46
46
  }
47
47
 
48
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
48
+ class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
49
  ptyID: Pty.ID
50
50
  }) {
51
51
  }
52
52
 
53
- class Service22 extends Context.Service()("@opencode/PersistentPty") {
53
+ class Service51 extends Context.Service()("@opencode/PersistentPty") {
54
54
  }
55
- var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
55
+ var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* () {
56
56
  const bus = yield* Service86;
57
57
  const global = yield* Global.Service;
58
58
  const context = yield* Effect.context();
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
75
75
  const get = Effect.fn("PersistentPty.get")(function* (id) {
76
76
  const found = (yield* list()).find((terminal) => terminal.id === id);
77
77
  if (!found)
78
- return yield* new NotFoundError3({ ptyID: id });
78
+ return yield* new NotFoundError7({ ptyID: id });
79
79
  return found;
80
80
  });
81
81
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
165
165
  });
166
166
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
167
167
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
168
- return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
168
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
169
169
  const id = current.get(sessionID);
170
170
  if (!id)
171
171
  return null;
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
242
242
  detach: attachment.detach
243
243
  };
244
244
  });
245
- return Service22.of({
245
+ return Service51.of({
246
246
  list,
247
247
  get,
248
248
  create,
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
258
258
  attach
259
259
  });
260
260
  }));
261
- var layer11 = makeLayer();
262
- var configured2 = (options) => makeGlobalNode({
263
- service: Service22,
264
- layer: options === undefined ? layer11 : makeLayer(options),
261
+ var layer21 = makeLayer();
262
+ var configured7 = (options) => makeGlobalNode({
263
+ service: Service51,
264
+ layer: options === undefined ? layer21 : makeLayer(options),
265
265
  deps: [node90, Global.node]
266
266
  });
267
- var node25 = configured2();
267
+ var node54 = configured7();
268
268
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
269
269
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
270
- var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
271
- var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
270
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
271
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
272
272
  function toInfo(value) {
273
273
  const status = value.lifecycle.status;
274
274
  return {
@@ -300,4 +300,4 @@ function fromID(value) {
300
300
  return parsed;
301
301
  }
302
302
 
303
- export { Options2, UnavailableError4, NotFoundError3, Service22, layer11, configured2, node25, exports_persistent_pty, Handoff2, available3 };
303
+ export { Options5, UnavailableError3, NotFoundError7, Service51, layer21, configured7, node54, exports_persistent_pty, Handoff2, available4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/image/photon-normalize.ts
6
6
  var exports_photon_normalize = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./form-4v008n1t.js";
3
+ } from "./bus-4v008n1t.js";
4
4
  import {
5
5
  Service66
6
- } from "./form-00qhjgh5.js";
6
+ } from "./bus-d96p21aj.js";
7
7
  import {
8
8
  Service65
9
- } from "./form-wzhs16ph.js";
9
+ } from "./bus-zsh677ft.js";
10
10
  import {
11
11
  statements2,
12
12
  decision2
13
- } from "./form-1r7af8ee.js";
13
+ } from "./bus-0f8tg23y.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./bus-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/module.ts
19
19
  var exports_module = {};
20
20
  __export(exports_module, {
21
21
  LoadError: () => LoadError2,
22
22
  PluginModule: () => exports_module,
23
- make: () => make3
23
+ make: () => make4
24
24
  });
25
25
  import { Host } from "@opencode/plugin/host";
26
26
  import { GuiBundle } from "@opencode/schema/plugin";
@@ -31,7 +31,7 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
31
31
  import path from "path";
32
32
  import { readFile, stat } from "node:fs/promises";
33
33
  import { fileURLToPath, pathToFileURL } from "url";
34
- var make3 = Effect.fn("PluginModule.make")(function* () {
34
+ var make4 = Effect.fn("PluginModule.make")(function* () {
35
35
  const config = yield* Service65;
36
36
  const watcher = yield* Service66;
37
37
  const scope = yield* Effect.scope;
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
136
136
  return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
137
137
  });
138
138
 
139
- export { make3, LoadError2, exports_module };
139
+ export { make4, LoadError2, exports_module };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/session/background.ts
6
6
  var exports_background = {};
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./form-z5v4ffb3.js";
5
+ } from "./bus-z5v4ffb3.js";
6
6
  import {
7
- Service78,
8
- node81
9
- } from "./form-796fpssb.js";
7
+ Service62,
8
+ node65
9
+ } from "./bus-8vm3c4cx.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./form-90zstvax.js";
12
+ } from "./bus-90zstvax.js";
13
13
  import {
14
14
  __export
15
- } from "./form-9rqn6x4v.js";
15
+ } from "./bus-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service77,
24
- node: () => node80
23
+ Service: () => Service55,
24
+ node: () => node58
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
47
47
  });
48
48
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
49
49
 
50
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
51
51
  message: Schema.String,
52
52
  cause: Schema.optional(Schema.Defect())
53
53
  }) {
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
59
59
  }) {
60
60
  }
61
61
 
62
- class Service77 extends Context.Service()("@opencode/Ripgrep") {
62
+ class Service55 extends Context.Service()("@opencode/Ripgrep") {
63
63
  }
64
- var failure = (message, cause) => new Error4({ message, cause });
64
+ var failure = (message, cause) => new Error3({ message, cause });
65
65
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
66
66
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
67
- var layer = Layer.effect(Service77, Effect.gen(function* () {
68
- const environment = yield* Service78;
67
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
68
+ const environment = yield* Service62;
69
69
  const binary = yield* RipgrepBinary2.Service;
70
70
  const run = (input) => {
71
71
  const program = Effect.scoped(Effect.gen(function* () {
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
91
91
  return code === 1 ? [] : rows;
92
92
  }));
93
93
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
94
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
95
95
  };
96
- return Service77.of({
96
+ return Service55.of({
97
97
  glob: (input) => run({
98
98
  cwd: input.cwd,
99
99
  limit: input.limit,
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
179
179
  }))))
180
180
  });
181
181
  }));
182
- var node80 = makeLocationNode({ service: Service77, layer, deps: [node81, RipgrepBinary2.node] });
182
+ var node58 = makeLocationNode({ service: Service55, layer, deps: [node65, RipgrepBinary2.node] });
183
183
 
184
- export { Error4, InvalidPatternError2, Service77, node80, exports_ripgrep };
184
+ export { Error3, InvalidPatternError2, Service55, node58, exports_ripgrep };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-rzrq5kss.js";
3
+ } from "./bus-pfb4yznh.js";
4
4
  import {
5
5
  Service86
6
- } from "./form-va23bk0p.js";
6
+ } from "./bus-yyhgbx7d.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./form-gp6fvya6.js";
9
+ Event20
10
+ } from "./bus-rb1rz6cd.js";
11
11
  import {
12
- ID14,
12
+ ID17,
13
13
  MethodID2
14
- } from "./form-6d7rzhz6.js";
14
+ } from "./bus-8edw0cf2.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./form-yb20nhc3.js";
18
+ } from "./bus-yb20nhc3.js";
19
19
  import {
20
- ID13,
20
+ ID11,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./form-zht7fzxj.js";
23
+ } from "./bus-hx97nj8x.js";
24
24
  import {
25
25
  get5
26
- } from "./form-3nnrz6f6.js";
26
+ } from "./bus-3nnrz6f6.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./form-vr11s0jh.js";
29
+ } from "./bus-ykvdctq4.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID14.make("openai"),
53
+ integrationID: ID17.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID14.make("openai"),
126
+ integrationID: ID17.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -183,9 +183,9 @@ var OpenAIPlugin2 = define({
183
183
  editor.method.update(headless(ctx.app));
184
184
  });
185
185
  yield* load();
186
- const configured = yield* configuredSettings2(ID13.openai);
186
+ const configured = yield* configuredSettings2(ID11.openai);
187
187
  yield* ctx.provider.transform((providers) => {
188
- const item = providers.get(ID13.openai);
188
+ const item = providers.get(ID11.openai);
189
189
  if (!item)
190
190
  return;
191
191
  const account = chatgpt?.metadata?.accountID;
@@ -205,7 +205,7 @@ var OpenAIPlugin2 = define({
205
205
  });
206
206
  });
207
207
  yield* ctx.model.transform((models) => {
208
- for (const model of models.list(ID13.openai)) {
208
+ for (const model of models.list(ID11.openai)) {
209
209
  models.update(model.providerID, model.id, (draft) => {
210
210
  if (!chatgpt)
211
211
  return;
@@ -242,14 +242,14 @@ var OpenAIPlugin2 = define({
242
242
  }));
243
243
  evt.headers.originator = "opencode";
244
244
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
245
- }), { providerID: ID13.openai });
245
+ }), { providerID: ID11.openai });
246
246
  const omitOutputLimit = (evt) => Effect.sync(() => {
247
247
  delete evt.options.maxTokens;
248
248
  });
249
249
  for (const name of ["context", "compaction"])
250
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
250
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID11.openai });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
252
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  })
254
254
  });
255
255
  function headers(contentType, app) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};