@opencode-ai/core 0.0.0-next-17330 → 0.0.0-next-17346

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 (721) hide show
  1. package/dist/account/sql.js +2 -2
  2. package/dist/agent.js +81 -80
  3. package/dist/aisdk-native.js +3 -3
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +2 -2
  6. package/dist/bus.js +79 -78
  7. package/dist/catalog.js +88 -87
  8. package/dist/chunks/{repository-cache-02dbfq60.js → plugin-02dbfq60.js} +1 -1
  9. package/dist/chunks/{repository-cache-04kwjb53.js → plugin-04kwjb53.js} +2 -2
  10. package/dist/chunks/{repository-cache-09mpk8cy.js → plugin-0bmt5v14.js} +2 -2
  11. package/dist/chunks/{repository-cache-h0vgpcjn.js → plugin-0chv790w.js} +7 -7
  12. package/dist/chunks/{repository-cache-6j25n600.js → plugin-0fc9cerp.js} +9 -9
  13. package/dist/chunks/{repository-cache-y56d2anz.js → plugin-0h4ej6yw.js} +128 -25
  14. package/dist/chunks/{repository-cache-0kvmztkf.js → plugin-0kvmztkf.js} +1 -1
  15. package/dist/chunks/{repository-cache-rmgfhn2t.js → plugin-0r325ptc.js} +6 -8
  16. package/dist/chunks/{repository-cache-10xtr3be.js → plugin-10xtr3be.js} +2 -2
  17. package/dist/chunks/{repository-cache-skt0q5rj.js → plugin-13hdqyds.js} +6 -6
  18. package/dist/chunks/{repository-cache-axp5q191.js → plugin-159bcd5h.js} +13 -13
  19. package/dist/chunks/{repository-cache-18pv8fg3.js → plugin-18pv8fg3.js} +2 -2
  20. package/dist/chunks/{repository-cache-1c00jchy.js → plugin-1c00jchy.js} +2 -2
  21. package/dist/chunks/{repository-cache-maahekq3.js → plugin-1h5w7y10.js} +5 -5
  22. package/dist/chunks/{repository-cache-1kvtxahz.js → plugin-1kvtxahz.js} +1 -1
  23. package/dist/chunks/{repository-cache-3nqnjq3t.js → plugin-1r5g0chd.js} +3 -3
  24. package/dist/chunks/{repository-cache-1xksxgzs.js → plugin-1xksxgzs.js} +2 -2
  25. package/dist/chunks/{repository-cache-ns5te58g.js → plugin-1y5hevb1.js} +14 -20
  26. package/dist/chunks/{repository-cache-bwad94xr.js → plugin-227k8v85.js} +2 -2
  27. package/dist/chunks/{repository-cache-25pxtba7.js → plugin-25pxtba7.js} +1 -1
  28. package/dist/chunks/{repository-cache-46j7pzg3.js → plugin-26aak64n.js} +3 -3
  29. package/dist/chunks/{repository-cache-sw9600ps.js → plugin-28j1q6h2.js} +9 -9
  30. package/dist/chunks/{repository-cache-sn0zfpmh.js → plugin-2er1z1cy.js} +5 -5
  31. package/dist/chunks/{repository-cache-6s5h6578.js → plugin-2g569x3r.js} +6 -6
  32. package/dist/chunks/{repository-cache-b5gcdv56.js → plugin-2jtvcz07.js} +6 -6
  33. package/dist/chunks/{repository-cache-2nmyybe0.js → plugin-2nmyybe0.js} +1 -1
  34. package/dist/chunks/{repository-cache-j89v37ky.js → plugin-34bh5sq2.js} +5 -5
  35. package/dist/chunks/{repository-cache-37rcj8p3.js → plugin-37rcj8p3.js} +3 -3
  36. package/dist/chunks/{repository-cache-h6nag1tm.js → plugin-38fmzcg9.js} +5 -5
  37. package/dist/chunks/{repository-cache-8taya4xf.js → plugin-3h1h5x4b.js} +4 -4
  38. package/dist/chunks/{repository-cache-3mfgaav1.js → plugin-3mfgaav1.js} +4 -4
  39. package/dist/chunks/{repository-cache-3thh6229.js → plugin-3thh6229.js} +2 -2
  40. package/dist/chunks/{repository-cache-3vh42rcr.js → plugin-3vh42rcr.js} +2 -2
  41. package/dist/chunks/{repository-cache-3w0f1yxt.js → plugin-3w0f1yxt.js} +3 -3
  42. package/dist/chunks/{repository-cache-41daaf98.js → plugin-42fara3y.js} +4 -4
  43. package/dist/chunks/{repository-cache-xjtqh72v.js → plugin-4kb49531.js} +2 -2
  44. package/dist/chunks/{repository-cache-4s2xwh5d.js → plugin-4s2xwh5d.js} +3 -3
  45. package/dist/chunks/{repository-cache-4zzdwbaz.js → plugin-4zzdwbaz.js} +2 -2
  46. package/dist/chunks/{repository-cache-50jxp3hw.js → plugin-50jxp3hw.js} +1 -1
  47. package/dist/chunks/{repository-cache-93hmgb4h.js → plugin-529k5mf1.js} +5 -5
  48. package/dist/chunks/{repository-cache-ywp6nggw.js → plugin-52af46pn.js} +3 -3
  49. package/dist/chunks/{repository-cache-52jzav25.js → plugin-52jzav25.js} +1 -1
  50. package/dist/chunks/{repository-cache-56p2m126.js → plugin-56p2m126.js} +1 -1
  51. package/dist/chunks/{repository-cache-57tzwnz4.js → plugin-57tzwnz4.js} +1 -1
  52. package/dist/chunks/{repository-cache-fntptk10.js → plugin-586t9d60.js} +5 -5
  53. package/dist/chunks/{repository-cache-6628r0j2.js → plugin-5fvy871a.js} +4 -4
  54. package/dist/chunks/{repository-cache-jr4jm25g.js → plugin-5gcdyz0j.js} +4 -4
  55. package/dist/chunks/{repository-cache-m9bnr5ec.js → plugin-5jr17dwv.js} +12 -12
  56. package/dist/chunks/{repository-cache-5p2sx24b.js → plugin-5p2sx24b.js} +3 -3
  57. package/dist/chunks/{repository-cache-5pfeh60c.js → plugin-5pfeh60c.js} +2 -2
  58. package/dist/chunks/{repository-cache-e7eb7pyj.js → plugin-5qnwzqq9.js} +9 -9
  59. package/dist/chunks/{repository-cache-5rs65q6p.js → plugin-5rs65q6p.js} +1 -1
  60. package/dist/chunks/{repository-cache-5sgbvx3z.js → plugin-5sgbvx3z.js} +2 -2
  61. package/dist/chunks/{repository-cache-97z7an8c.js → plugin-5vsjqaxt.js} +7 -7
  62. package/dist/chunks/{repository-cache-91mm05x8.js → plugin-65ezx8mc.js} +7 -7
  63. package/dist/chunks/{repository-cache-a2areeyk.js → plugin-65tyaw4g.js} +2 -2
  64. package/dist/chunks/{repository-cache-rg4cb0n6.js → plugin-6jwn9ww1.js} +88 -84
  65. package/dist/chunks/{repository-cache-hrdhhck8.js → plugin-6me7cwf4.js} +18 -16
  66. package/dist/chunks/{repository-cache-6sc9h3ca.js → plugin-6sc9h3ca.js} +1 -1
  67. package/dist/chunks/{repository-cache-7crn5s7a.js → plugin-6vdnz9js.js} +8 -8
  68. package/dist/chunks/{repository-cache-jf0y37v0.js → plugin-6xgy3jkz.js} +4 -4
  69. package/dist/chunks/{repository-cache-706a4azd.js → plugin-706a4azd.js} +1 -1
  70. package/dist/chunks/{repository-cache-rk0gc5ce.js → plugin-7582w40t.js} +12 -12
  71. package/dist/chunks/{repository-cache-7mpw7j43.js → plugin-7mpw7j43.js} +2 -2
  72. package/dist/chunks/{repository-cache-7mrpdsq5.js → plugin-7mrpdsq5.js} +1 -1
  73. package/dist/chunks/plugin-7pgh3ep6.js +286 -0
  74. package/dist/chunks/{repository-cache-7wcmqxrc.js → plugin-7wcmqxrc.js} +1 -1
  75. package/dist/chunks/{repository-cache-jd18fqwg.js → plugin-80n80hmh.js} +3 -3
  76. package/dist/chunks/{repository-cache-857g7h76.js → plugin-857g7h76.js} +1 -1
  77. package/dist/chunks/{repository-cache-88jbfw8z.js → plugin-88jbfw8z.js} +2 -2
  78. package/dist/chunks/{repository-cache-f7w1jryk.js → plugin-890sy7db.js} +17 -9
  79. package/dist/chunks/{repository-cache-8ywqk2j9.js → plugin-8ywqk2j9.js} +1 -1
  80. package/dist/chunks/{repository-cache-93qdgxxd.js → plugin-93qdgxxd.js} +1 -1
  81. package/dist/chunks/{repository-cache-4tftbkea.js → plugin-9816vz7t.js} +2 -2
  82. package/dist/chunks/{repository-cache-999qd968.js → plugin-999qd968.js} +1 -1
  83. package/dist/chunks/{repository-cache-zvvp2xr4.js → plugin-9d2xhdr4.js} +16 -4
  84. package/dist/chunks/{repository-cache-9f0rnpkn.js → plugin-9f0rnpkn.js} +1 -1
  85. package/dist/chunks/{repository-cache-9q1hedyj.js → plugin-9q1hedyj.js} +2 -2
  86. package/dist/chunks/{repository-cache-9r0qzhnf.js → plugin-9r0qzhnf.js} +2 -2
  87. package/dist/chunks/{repository-cache-yjc6jw6n.js → plugin-9tf9cx6w.js} +25 -25
  88. package/dist/chunks/{repository-cache-p7wazpn7.js → plugin-9xx5a70w.js} +4 -4
  89. package/dist/chunks/{repository-cache-wddscexe.js → plugin-a027tm0y.js} +5 -5
  90. package/dist/chunks/{repository-cache-6eh104vx.js → plugin-a2ta2hx3.js} +8 -8
  91. package/dist/chunks/{repository-cache-a65h300v.js → plugin-a65h300v.js} +2 -2
  92. package/dist/chunks/{repository-cache-3r8qjtea.js → plugin-a69404f7.js} +8 -8
  93. package/dist/chunks/{repository-cache-8x99ehfs.js → plugin-abs4hrf7.js} +4 -4
  94. package/dist/chunks/{repository-cache-4tsark0b.js → plugin-asy6azmz.js} +8 -8
  95. package/dist/chunks/{repository-cache-ayfwnm78.js → plugin-ayfwnm78.js} +2 -2
  96. package/dist/chunks/{repository-cache-gzjpz1dq.js → plugin-b020en46.js} +11 -11
  97. package/dist/chunks/{repository-cache-m2vcjsa4.js → plugin-b25crhmx.js} +3 -3
  98. package/dist/chunks/{repository-cache-nc836e20.js → plugin-ba49gtzz.js} +5 -5
  99. package/dist/chunks/{repository-cache-5g3dnzmr.js → plugin-bg4aatrg.js} +7 -7
  100. package/dist/chunks/{repository-cache-8mx9xa89.js → plugin-bk0jxqkp.js} +3 -3
  101. package/dist/chunks/{repository-cache-tcv8hj6g.js → plugin-bksfeg7q.js} +23 -23
  102. package/dist/chunks/{repository-cache-js3e6gqf.js → plugin-bq4sd2eq.js} +25 -25
  103. package/dist/chunks/{repository-cache-g3nw6fb0.js → plugin-bxw36s91.js} +5 -5
  104. package/dist/chunks/{repository-cache-byab506k.js → plugin-byab506k.js} +1 -1
  105. package/dist/chunks/{repository-cache-qw2c2z0f.js → plugin-byy5xkv8.js} +9 -9
  106. package/dist/chunks/{repository-cache-e6n9jwna.js → plugin-c568wdad.js} +9 -9
  107. package/dist/chunks/{repository-cache-e7vptzzv.js → plugin-c9kmdp25.js} +3 -3
  108. package/dist/chunks/{repository-cache-cgvnqv92.js → plugin-cgvnqv92.js} +1 -1
  109. package/dist/chunks/{repository-cache-aamy9awe.js → plugin-chw4em26.js} +14 -13
  110. package/dist/chunks/{repository-cache-59dc3gbv.js → plugin-cyyat27q.js} +7 -7
  111. package/dist/chunks/{repository-cache-cz3dkvcz.js → plugin-cz3dkvcz.js} +1 -1
  112. package/dist/chunks/{repository-cache-d076mabj.js → plugin-d076mabj.js} +2 -2
  113. package/dist/chunks/{repository-cache-d6vvk673.js → plugin-d6vvk673.js} +1 -1
  114. package/dist/chunks/{repository-cache-ddn74qps.js → plugin-ddn74qps.js} +2 -2
  115. package/dist/chunks/{repository-cache-dhphtf1x.js → plugin-dhphtf1x.js} +1 -1
  116. package/dist/chunks/{repository-cache-4rr9fyye.js → plugin-dkc527z1.js} +14 -14
  117. package/dist/chunks/{repository-cache-sqhwabev.js → plugin-dq5yhq66.js} +9 -9
  118. package/dist/chunks/{repository-cache-8pa2gv04.js → plugin-dqnq5mmm.js} +78 -78
  119. package/dist/chunks/{repository-cache-39f4fmnr.js → plugin-ds4tyggf.js} +6 -6
  120. package/dist/chunks/{repository-cache-e1z9a0ts.js → plugin-e1z9a0ts.js} +2 -2
  121. package/dist/chunks/{repository-cache-rjqv38t2.js → plugin-e2hvmcn1.js} +61 -61
  122. package/dist/chunks/{repository-cache-arxcwz1c.js → plugin-e8f3mxvd.js} +1 -1
  123. package/dist/chunks/{repository-cache-j83wek79.js → plugin-eakv187h.js} +9 -9
  124. package/dist/chunks/{repository-cache-ed4jjjcc.js → plugin-ed4jjjcc.js} +2 -2
  125. package/dist/chunks/{repository-cache-pxv8jsqw.js → plugin-eev1eeyf.js} +3 -3
  126. package/dist/chunks/plugin-emmqknsm.js +26 -0
  127. package/dist/chunks/{repository-cache-erj4j75s.js → plugin-erj4j75s.js} +1 -1
  128. package/dist/chunks/{repository-cache-zngq5vh0.js → plugin-ertbznsf.js} +16 -16
  129. package/dist/chunks/{repository-cache-zgqdzfbe.js → plugin-et4xsbvm.js} +2 -2
  130. package/dist/chunks/{repository-cache-84ht765f.js → plugin-ey3kvayk.js} +5 -5
  131. package/dist/chunks/{repository-cache-eyk9wdct.js → plugin-eyk9wdct.js} +2 -2
  132. package/dist/chunks/{repository-cache-f05p34aa.js → plugin-f05p34aa.js} +3 -3
  133. package/dist/chunks/{repository-cache-m0j7p73q.js → plugin-f6k9sp1x.js} +5 -5
  134. package/dist/chunks/{repository-cache-y1agc184.js → plugin-f7e4a9yp.js} +5 -5
  135. package/dist/chunks/{repository-cache-jqksw8t0.js → plugin-f7jsjw8t.js} +7 -7
  136. package/dist/chunks/{repository-cache-fm1nvm5g.js → plugin-fm1nvm5g.js} +1 -1
  137. package/dist/chunks/{repository-cache-fmyre8m1.js → plugin-fmyre8m1.js} +1 -1
  138. package/dist/chunks/{repository-cache-g9yygpzr.js → plugin-g9yygpzr.js} +1 -1
  139. package/dist/chunks/{repository-cache-gcay93cp.js → plugin-gcay93cp.js} +1 -1
  140. package/dist/chunks/{repository-cache-gd2xppx8.js → plugin-gd2xppx8.js} +1 -1
  141. package/dist/chunks/{repository-cache-gm8kdh5e.js → plugin-gm8kdh5e.js} +2 -2
  142. package/dist/chunks/{repository-cache-k17wrc8y.js → plugin-h1rarb39.js} +3 -3
  143. package/dist/chunks/{repository-cache-h8ecejt5.js → plugin-h8ecejt5.js} +1 -1
  144. package/dist/chunks/{repository-cache-yydpaacn.js → plugin-hkwqk5x2.js} +15 -15
  145. package/dist/chunks/{repository-cache-2zsmgn20.js → plugin-hpf3wqnv.js} +17 -17
  146. package/dist/chunks/{repository-cache-6gd6rkd0.js → plugin-hx4sankz.js} +10 -9
  147. package/dist/chunks/{repository-cache-6w9ct4re.js → plugin-j42qxmkr.js} +10 -10
  148. package/dist/chunks/{repository-cache-ghgrp5mb.js → plugin-jhnyxz2d.js} +10 -10
  149. package/dist/chunks/{repository-cache-hy0hzg1s.js → plugin-jkrm4ad7.js} +14 -0
  150. package/dist/chunks/{repository-cache-mg2pv17x.js → plugin-jm4rgrda.js} +95 -56
  151. package/dist/chunks/{repository-cache-2mcxzbwe.js → plugin-jpafxzwx.js} +9 -9
  152. package/dist/chunks/{repository-cache-jssy2dr3.js → plugin-jssy2dr3.js} +2 -2
  153. package/dist/chunks/{repository-cache-pj2vbezm.js → plugin-k3hj0af3.js} +11 -11
  154. package/dist/chunks/{repository-cache-9vq364qj.js → plugin-k7ecgj73.js} +2 -2
  155. package/dist/chunks/{repository-cache-wgrssa02.js → plugin-k7z41gkz.js} +7 -7
  156. package/dist/chunks/{repository-cache-z66vzcey.js → plugin-kcwh27nh.js} +5 -5
  157. package/dist/chunks/{repository-cache-6v6a829b.js → plugin-kesvgneq.js} +10 -10
  158. package/dist/chunks/{repository-cache-kg1345f7.js → plugin-kg1345f7.js} +1 -1
  159. package/dist/chunks/{repository-cache-7f3tp52f.js → plugin-kxf6zgfz.js} +4 -4
  160. package/dist/chunks/{repository-cache-m01ryvbe.js → plugin-m01ryvbe.js} +1 -1
  161. package/dist/chunks/{repository-cache-jqfzxg59.js → plugin-mar68760.js} +92 -87
  162. package/dist/chunks/{repository-cache-mf0hyk7z.js → plugin-mf0hyk7z.js} +1 -1
  163. package/dist/chunks/{repository-cache-b98qfmjp.js → plugin-mgdg92mf.js} +5 -5
  164. package/dist/chunks/{repository-cache-1yhzyp6p.js → plugin-mrdc635f.js} +2 -2
  165. package/dist/chunks/{repository-cache-mwceq5am.js → plugin-mwceq5am.js} +1 -1
  166. package/dist/chunks/{repository-cache-5092y56s.js → plugin-n57t1s0k.js} +5 -5
  167. package/dist/chunks/{repository-cache-fmr624gh.js → plugin-n9rgrq5c.js} +10 -10
  168. package/dist/chunks/{repository-cache-s3ykfgqh.js → plugin-ner94p15.js} +8 -8
  169. package/dist/chunks/{repository-cache-nesb2rcz.js → plugin-nesb2rcz.js} +2 -2
  170. package/dist/chunks/{repository-cache-crvgmcnp.js → plugin-nhbjnf4j.js} +41 -56
  171. package/dist/chunks/{repository-cache-sh51nj6w.js → plugin-nk7t2wb2.js} +6 -6
  172. package/dist/chunks/{repository-cache-nr76rjj3.js → plugin-nr76rjj3.js} +2 -2
  173. package/dist/chunks/{repository-cache-nv7zjdpe.js → plugin-nv7zjdpe.js} +2 -2
  174. package/dist/chunks/{repository-cache-nzrjycs5.js → plugin-nzrjycs5.js} +1 -1
  175. package/dist/chunks/{repository-cache-hrzrfgqj.js → plugin-p6x5rp3c.js} +4 -4
  176. package/dist/chunks/{repository-cache-pfqehjmy.js → plugin-pfqehjmy.js} +2 -2
  177. package/dist/chunks/{repository-cache-ph1me6ah.js → plugin-ph1me6ah.js} +2 -2
  178. package/dist/chunks/{repository-cache-ryjby270.js → plugin-phx9p566.js} +3 -3
  179. package/dist/chunks/{repository-cache-pq4b4pqk.js → plugin-pq4b4pqk.js} +2 -2
  180. package/dist/chunks/{repository-cache-prf9bavk.js → plugin-prf9bavk.js} +3 -3
  181. package/dist/chunks/{repository-cache-q4r4pzs4.js → plugin-q4r4pzs4.js} +1 -1
  182. package/dist/chunks/{repository-cache-qe0d689s.js → plugin-qe0d689s.js} +2 -2
  183. package/dist/chunks/{repository-cache-b9y4597k.js → plugin-qrcz0h27.js} +10 -10
  184. package/dist/chunks/{repository-cache-a3xgesk5.js → plugin-qw688rwx.js} +5 -5
  185. package/dist/chunks/{repository-cache-r3k9abhd.js → plugin-r3k9abhd.js} +2 -2
  186. package/dist/chunks/{repository-cache-y8pkfyr3.js → plugin-rp0ghwk5.js} +3 -3
  187. package/dist/chunks/{repository-cache-fvvca5k0.js → plugin-rp97dpeg.js} +8 -8
  188. package/dist/chunks/{repository-cache-rqswsgbs.js → plugin-rqswsgbs.js} +2 -2
  189. package/dist/chunks/{repository-cache-rt6yg6j2.js → plugin-rt6yg6j2.js} +2 -2
  190. package/dist/chunks/{repository-cache-ryap75b3.js → plugin-ryap75b3.js} +1 -1
  191. package/dist/chunks/{repository-cache-s6by3cc4.js → plugin-s6by3cc4.js} +3 -3
  192. package/dist/chunks/{repository-cache-s9f13v9h.js → plugin-s9f13v9h.js} +1 -1
  193. package/dist/chunks/{repository-cache-px6qz68e.js → plugin-sh6s9fhb.js} +3 -3
  194. package/dist/chunks/{repository-cache-smpeg8c9.js → plugin-smpeg8c9.js} +2 -2
  195. package/dist/chunks/{repository-cache-jkv81dxb.js → plugin-stbhjv87.js} +7 -7
  196. package/dist/chunks/{repository-cache-szax8zgv.js → plugin-szax8zgv.js} +2 -2
  197. package/dist/chunks/{repository-cache-szjq6xea.js → plugin-szjq6xea.js} +2 -2
  198. package/dist/chunks/{repository-cache-kzesxyth.js → plugin-t0hd3br1.js} +11 -11
  199. package/dist/chunks/{repository-cache-t2j2ttmx.js → plugin-t2j2ttmx.js} +1 -1
  200. package/dist/chunks/{repository-cache-bza6gt6f.js → plugin-t2x6yxj4.js} +8 -8
  201. package/dist/chunks/{repository-cache-tcn24h1d.js → plugin-tcn24h1d.js} +1 -1
  202. package/dist/chunks/{repository-cache-tdm3rp2k.js → plugin-tdm3rp2k.js} +1 -1
  203. package/dist/chunks/{repository-cache-tenv3kfs.js → plugin-tenv3kfs.js} +2 -2
  204. package/dist/chunks/{repository-cache-thstd87d.js → plugin-thstd87d.js} +1 -1
  205. package/dist/chunks/{repository-cache-yk7rq2cw.js → plugin-tn7ysp34.js} +3 -3
  206. package/dist/chunks/{repository-cache-d53cbyg4.js → plugin-trktvck6.js} +8 -8
  207. package/dist/chunks/{repository-cache-ts4t4v20.js → plugin-ts4t4v20.js} +2 -2
  208. package/dist/chunks/{repository-cache-tyh0a1hs.js → plugin-tyh0a1hs.js} +3 -3
  209. package/dist/chunks/{repository-cache-wnjnzsav.js → plugin-v6rx9nxt.js} +3 -3
  210. package/dist/chunks/{repository-cache-wa36z8r8.js → plugin-v710hcs5.js} +3 -3
  211. package/dist/chunks/{repository-cache-v972xay6.js → plugin-v972xay6.js} +1 -1
  212. package/dist/chunks/{repository-cache-v9bfv94f.js → plugin-v9bfv94f.js} +1 -1
  213. package/dist/chunks/{repository-cache-3d6b8qzx.js → plugin-vsfj499p.js} +9 -9
  214. package/dist/chunks/{repository-cache-fww6ka0m.js → plugin-vvj78s9s.js} +5 -5
  215. package/dist/chunks/{repository-cache-sqaazc35.js → plugin-vvp549aa.js} +4 -4
  216. package/dist/chunks/{repository-cache-68a9fpyg.js → plugin-vxb3r0qz.js} +114 -114
  217. package/dist/chunks/{repository-cache-vynn1k31.js → plugin-vynn1k31.js} +2 -2
  218. package/dist/chunks/{repository-cache-vz89hfgr.js → plugin-vz89hfgr.js} +1 -1
  219. package/dist/chunks/{repository-cache-saxcjhd3.js → plugin-w60xp8cd.js} +2 -2
  220. package/dist/chunks/{repository-cache-wd268jeg.js → plugin-wd268jeg.js} +1 -1
  221. package/dist/chunks/{repository-cache-we2zmhe4.js → plugin-we2zmhe4.js} +2 -2
  222. package/dist/chunks/{repository-cache-wf37p1a1.js → plugin-wf37p1a1.js} +1 -1
  223. package/dist/chunks/{repository-cache-j7rgkvgh.js → plugin-wjk1568y.js} +4 -4
  224. package/dist/chunks/{repository-cache-0xjr6h2t.js → plugin-wm8vd51k.js} +5 -5
  225. package/dist/chunks/{repository-cache-wmxdh12w.js → plugin-wmxdh12w.js} +1 -1
  226. package/dist/chunks/{repository-cache-vs9h1fxe.js → plugin-wpaejcex.js} +6 -6
  227. package/dist/chunks/{repository-cache-wps8gh8n.js → plugin-wps8gh8n.js} +2 -2
  228. package/dist/chunks/{repository-cache-wt193r4g.js → plugin-wt193r4g.js} +1 -1
  229. package/dist/chunks/{repository-cache-zyetvhst.js → plugin-x0bn85tk.js} +2 -2
  230. package/dist/chunks/{repository-cache-xfd1xnk3.js → plugin-xfd1xnk3.js} +2 -2
  231. package/dist/chunks/{repository-cache-xfrawapx.js → plugin-xfrawapx.js} +1 -1
  232. package/dist/chunks/{repository-cache-xgv25zxy.js → plugin-xgv25zxy.js} +1 -1
  233. package/dist/chunks/{repository-cache-141wgazf.js → plugin-xhemxv6a.js} +2 -2
  234. package/dist/chunks/{repository-cache-q85htfq3.js → plugin-xmwcxxnt.js} +1 -1
  235. package/dist/chunks/{repository-cache-xq1vkeee.js → plugin-xq1vkeee.js} +2 -2
  236. package/dist/chunks/{repository-cache-vyex86r2.js → plugin-xseqks1m.js} +10 -10
  237. package/dist/chunks/{repository-cache-tjhdg0sw.js → plugin-xtr0882n.js} +11 -11
  238. package/dist/chunks/{repository-cache-xwftk1fd.js → plugin-xwftk1fd.js} +2 -2
  239. package/dist/chunks/{repository-cache-z0pptypp.js → plugin-xxm3x3xr.js} +8 -8
  240. package/dist/chunks/{repository-cache-y0x38cee.js → plugin-y0x38cee.js} +1 -1
  241. package/dist/chunks/{repository-cache-y67x6rf6.js → plugin-y67x6rf6.js} +1 -1
  242. package/dist/chunks/{repository-cache-y8rs54ne.js → plugin-y8rs54ne.js} +1 -1
  243. package/dist/chunks/{repository-cache-dj1xs53g.js → plugin-yasxzqrp.js} +7 -7
  244. package/dist/chunks/{repository-cache-pqxc0f1x.js → plugin-ycq55mr6.js} +2 -2
  245. package/dist/chunks/{repository-cache-msbeckph.js → plugin-yjvmn5ye.js} +3 -3
  246. package/dist/chunks/{repository-cache-we5s72km.js → plugin-yxtd6q50.js} +29 -27
  247. package/dist/chunks/{repository-cache-yz0wm9s3.js → plugin-yz0wm9s3.js} +2 -2
  248. package/dist/chunks/{repository-cache-qnprthpg.js → plugin-z8t5vj4n.js} +6 -6
  249. package/dist/chunks/{repository-cache-7h2nn283.js → plugin-z9mz041q.js} +3 -3
  250. package/dist/chunks/{repository-cache-zbqqnp0n.js → plugin-zbqqnp0n.js} +1 -1
  251. package/dist/chunks/{repository-cache-zdkg1k91.js → plugin-zdkg1k91.js} +1 -1
  252. package/dist/chunks/{repository-cache-zfxc0ze5.js → plugin-zfxc0ze5.js} +1 -1
  253. package/dist/chunks/{repository-cache-bmqesg5j.js → plugin-zp549347.js} +5 -5
  254. package/dist/chunks/{repository-cache-9h2jrz7q.js → plugin-zr4mqfw6.js} +30 -30
  255. package/dist/chunks/{repository-cache-zthe9zqc.js → plugin-zthe9zqc.js} +1 -1
  256. package/dist/codemode/catalog.js +2 -2
  257. package/dist/codemode/instructions.js +4 -4
  258. package/dist/codemode/tool.js +3 -3
  259. package/dist/command.js +129 -128
  260. package/dist/config/markdown.js +2 -2
  261. package/dist/config/normalize.js +20 -20
  262. package/dist/config/plugin/agent.js +130 -129
  263. package/dist/config/plugin/command.js +131 -130
  264. package/dist/config/plugin/instruction.js +86 -85
  265. package/dist/config/plugin/policy.js +111 -110
  266. package/dist/config/plugin/provider.js +110 -109
  267. package/dist/config/plugin/reference.js +114 -113
  268. package/dist/config/plugin/skill-file.js +103 -102
  269. package/dist/config/plugin/skill.js +133 -132
  270. package/dist/config/plugin/source.js +110 -109
  271. package/dist/config/plugin/websearch.js +110 -109
  272. package/dist/config/variable.js +4 -4
  273. package/dist/config.js +109 -108
  274. package/dist/credential/sql.js +3 -3
  275. package/dist/credential.js +69 -68
  276. package/dist/database/database.js +66 -65
  277. package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
  278. package/dist/database/drizzle/effect-sqlite/index.js +16 -16
  279. package/dist/database/drizzle/effect-sqlite/migrator.js +15 -15
  280. package/dist/database/drizzle/effect-sqlite/session.js +15 -15
  281. package/dist/database/drizzle/index.js +20 -20
  282. package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
  283. package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
  284. package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
  285. package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
  286. package/dist/database/drizzle/sqlite-core/effect/index.js +23 -23
  287. package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
  288. package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
  289. package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
  290. package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
  291. package/dist/database/drizzle/sqlite-core/effect/session.js +14 -14
  292. package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
  293. package/dist/database/drizzle/up-migrations/effect-sqlite.js +4 -4
  294. package/dist/database/drizzle/up-migrations/sqlite.js +3 -3
  295. package/dist/database/drizzle/up-migrations/utils.js +2 -2
  296. package/dist/database/drizzle.js +21 -21
  297. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
  298. package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
  299. package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
  300. package/dist/database/migration/20260225215848_workspace.js +2 -2
  301. package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
  302. package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
  303. package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
  304. package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
  305. package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
  306. package/dist/database/migration/20260323234822_events.js +2 -2
  307. package/dist/database/migration/20260410174513_workspace-name.js +2 -2
  308. package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
  309. package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
  310. package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
  311. package/dist/database/migration/20260428004200_add_session_path.js +2 -2
  312. package/dist/database/migration/20260501142318_next_venus.js +2 -2
  313. package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
  314. package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
  315. package/dist/database/migration/20260510033149_session_usage.js +2 -2
  316. package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
  317. package/dist/database/migration/20260511173437_session-metadata.js +2 -2
  318. package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
  319. package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
  320. package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
  321. package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
  322. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
  323. package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
  324. package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
  325. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
  326. package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
  327. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
  328. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
  329. package/dist/database/migration/20260611035744_credential.js +2 -2
  330. package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
  331. package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
  332. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
  333. package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
  334. package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
  335. package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
  336. package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
  337. package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
  338. package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
  339. package/dist/database/migration/20260812181746_session_inbox.js +7 -0
  340. package/dist/database/migration.gen.js +45 -44
  341. package/dist/database/migration.js +47 -46
  342. package/dist/database/path.js +3 -3
  343. package/dist/database/schema.gen.js +2 -2
  344. package/dist/database/schema.sql.js +2 -2
  345. package/dist/database/sqlite.bun.js +2 -2
  346. package/dist/database/sqlite.js +2 -2
  347. package/dist/database/sqlite.node.js +2 -2
  348. package/dist/database/sqlite.workerd.js +2 -2
  349. package/dist/database/v1-migration.bun.js +78 -77
  350. package/dist/database/v1-migration.js +2 -2
  351. package/dist/database/v1-migration.noop.js +1 -1
  352. package/dist/effect/app-node-builder.js +311 -310
  353. package/dist/effect/app-node-platform.js +2 -2
  354. package/dist/effect/keyed-mutex.js +2 -2
  355. package/dist/environment/driver.js +1 -1
  356. package/dist/environment/environment.js +85 -84
  357. package/dist/environment/exec-defaults.js +3 -3
  358. package/dist/environment/files.js +2 -2
  359. package/dist/environment/index.js +87 -86
  360. package/dist/environment/local.js +3 -3
  361. package/dist/environment/memory.js +3 -3
  362. package/dist/environment/unavailable.js +25 -0
  363. package/dist/event/sql.js +2 -2
  364. package/dist/event-logger.js +79 -78
  365. package/dist/file-mutation.js +86 -85
  366. package/dist/file.js +2 -2
  367. package/dist/filesystem/fff.bun.js +2 -2
  368. package/dist/filesystem/fff.js +2 -2
  369. package/dist/filesystem/fff.node.js +2 -2
  370. package/dist/filesystem/fff.workerd.js +2 -2
  371. package/dist/filesystem/ignore.js +1 -1
  372. package/dist/filesystem/location-watcher.js +110 -109
  373. package/dist/filesystem/protected.js +2 -2
  374. package/dist/filesystem/search.js +90 -89
  375. package/dist/filesystem/watcher-binding.js +2 -2
  376. package/dist/filesystem/watcher.js +4 -4
  377. package/dist/filesystem.js +90 -89
  378. package/dist/form.js +80 -79
  379. package/dist/formatter/builtins.js +3 -3
  380. package/dist/formatter.js +112 -111
  381. package/dist/generate.js +93 -92
  382. package/dist/git.js +5 -5
  383. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
  384. package/dist/github-copilot/chat/get-response-metadata.js +2 -2
  385. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
  386. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
  387. package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
  388. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
  389. package/dist/github-copilot/copilot-provider.js +21 -21
  390. package/dist/github-copilot/models.js +4 -4
  391. package/dist/github-copilot/openai-compatible-error.js +2 -2
  392. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +3 -3
  393. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
  394. package/dist/github-copilot/responses/openai-error.js +2 -2
  395. package/dist/github-copilot/responses/openai-responses-language-model.js +12 -12
  396. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
  397. package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
  398. package/dist/github-copilot/responses/tool/file-search.js +2 -2
  399. package/dist/github-copilot/responses/tool/image-generation.js +2 -2
  400. package/dist/github-copilot/responses/tool/local-shell.js +2 -2
  401. package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
  402. package/dist/github-copilot/responses/tool/web-search.js +2 -2
  403. package/dist/id/id.js +2 -2
  404. package/dist/image/photon-wasm.bun.js +1 -1
  405. package/dist/image/photon-wasm.node.js +1 -1
  406. package/dist/image/photon-wasm.workerd.js +1 -1
  407. package/dist/image/photon.js +123 -122
  408. package/dist/image.js +123 -122
  409. package/dist/instruction-discovery.js +82 -81
  410. package/dist/instructions/builtins.js +80 -79
  411. package/dist/instructions/index.js +2 -2
  412. package/dist/integration/connection.js +2 -2
  413. package/dist/integration.js +85 -84
  414. package/dist/job.js +4 -4
  415. package/dist/kv/sql.js +3 -3
  416. package/dist/kv.js +69 -68
  417. package/dist/location-mutation.js +78 -77
  418. package/dist/location-service-map.js +78 -77
  419. package/dist/location-services.js +311 -310
  420. package/dist/location.js +77 -76
  421. package/dist/mcp/client.js +87 -86
  422. package/dist/mcp/index.js +126 -125
  423. package/dist/mcp/instructions.js +154 -153
  424. package/dist/mcp/oauth.js +3 -3
  425. package/dist/mcp/stdio.js +86 -85
  426. package/dist/mime.js +2 -2
  427. package/dist/model-resolver.js +91 -90
  428. package/dist/model.js +3 -3
  429. package/dist/models-dev.js +85 -84
  430. package/dist/oauth/page.js +2 -2
  431. package/dist/permission/saved.js +78 -77
  432. package/dist/permission/sql.js +6 -6
  433. package/dist/permission.js +100 -99
  434. package/dist/plugin/agent.js +101 -100
  435. package/dist/plugin/command.js +78 -77
  436. package/dist/plugin/hooks.js +3 -3
  437. package/dist/plugin/host.js +185 -184
  438. package/dist/plugin/internal.js +271 -270
  439. package/dist/plugin/models-dev.js +86 -85
  440. package/dist/plugin/plan.js +83 -82
  441. package/dist/plugin/promise.js +145 -144
  442. package/dist/plugin/provider/alibaba.js +3 -3
  443. package/dist/plugin/provider/amazon-bedrock.js +3 -3
  444. package/dist/plugin/provider/anthropic.js +3 -3
  445. package/dist/plugin/provider/azure.js +117 -116
  446. package/dist/plugin/provider/cerebras.js +3 -3
  447. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
  448. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
  449. package/dist/plugin/provider/cohere.js +3 -3
  450. package/dist/plugin/provider/configured.js +115 -114
  451. package/dist/plugin/provider/deepinfra.js +3 -3
  452. package/dist/plugin/provider/dynamic.js +2 -2
  453. package/dist/plugin/provider/factory.js +2 -2
  454. package/dist/plugin/provider/gateway.js +3 -3
  455. package/dist/plugin/provider/github-copilot.js +92 -91
  456. package/dist/plugin/provider/gitlab.js +4 -4
  457. package/dist/plugin/provider/google-vertex.js +3 -3
  458. package/dist/plugin/provider/groq.js +3 -3
  459. package/dist/plugin/provider/kilo.js +3 -3
  460. package/dist/plugin/provider/llmgateway.js +87 -86
  461. package/dist/plugin/provider/mistral.js +3 -3
  462. package/dist/plugin/provider/nvidia.js +3 -3
  463. package/dist/plugin/provider/openai-compatible.js +2 -2
  464. package/dist/plugin/provider/openai.js +89 -88
  465. package/dist/plugin/provider/opencode.js +102 -101
  466. package/dist/plugin/provider/openrouter.js +4 -4
  467. package/dist/plugin/provider/perplexity.js +3 -3
  468. package/dist/plugin/provider/sap-ai-core.js +3 -3
  469. package/dist/plugin/provider/snowflake-cortex.js +3 -3
  470. package/dist/plugin/provider/togetherai.js +3 -3
  471. package/dist/plugin/provider/venice.js +3 -3
  472. package/dist/plugin/provider/vercel.js +3 -3
  473. package/dist/plugin/provider/xai.js +87 -86
  474. package/dist/plugin/provider/zenmux.js +3 -3
  475. package/dist/plugin/provider.js +153 -152
  476. package/dist/plugin/runtime.js +176 -175
  477. package/dist/plugin/sdk.js +80 -79
  478. package/dist/plugin/skill.js +131 -130
  479. package/dist/plugin/supervisor.js +276 -275
  480. package/dist/plugin/system-prompt.js +2 -2
  481. package/dist/plugin/variant.js +4 -4
  482. package/dist/plugin/warming.js +111 -110
  483. package/dist/plugin/websearch/exa.js +4 -4
  484. package/dist/plugin/websearch/firecrawl.js +5 -5
  485. package/dist/plugin/websearch/index.js +8 -8
  486. package/dist/plugin/websearch/mcp.js +3 -3
  487. package/dist/plugin/websearch/parallel.js +5 -5
  488. package/dist/plugin.js +186 -185
  489. package/dist/project/copy-strategies.js +81 -80
  490. package/dist/project/copy.js +81 -80
  491. package/dist/project/directories.js +72 -71
  492. package/dist/project/schema.js +3 -3
  493. package/dist/project/sql.js +5 -5
  494. package/dist/project.js +76 -75
  495. package/dist/provider.js +2 -2
  496. package/dist/pty/protocol.js +1 -1
  497. package/dist/pty/pty.bun.js +1 -1
  498. package/dist/pty/pty.node.js +1 -1
  499. package/dist/pty/pty.workerd.js +1 -1
  500. package/dist/pty/schema.js +2 -2
  501. package/dist/pty/ticket.js +71 -70
  502. package/dist/pty.js +113 -112
  503. package/dist/question.js +81 -80
  504. package/dist/reference/instructions.js +85 -84
  505. package/dist/reference.js +83 -82
  506. package/dist/repository-cache.js +7 -7
  507. package/dist/repository.js +2 -2
  508. package/dist/ripgrep/binary.js +3 -3
  509. package/dist/ripgrep.js +88 -87
  510. package/dist/schema.js +2 -2
  511. package/dist/session/compaction.js +147 -146
  512. package/dist/session/context.js +284 -283
  513. package/dist/session/error.js +4 -4
  514. package/dist/session/event.js +2 -2
  515. package/dist/session/execution/restart.js +116 -115
  516. package/dist/session/execution.js +116 -115
  517. package/dist/session/generate-node.js +290 -289
  518. package/dist/session/generate.js +2 -2
  519. package/dist/session/history.js +78 -77
  520. package/dist/session/inbox.js +147 -0
  521. package/dist/session/info.js +88 -87
  522. package/dist/session/instruction-entry.js +74 -73
  523. package/dist/session/instruction-state.js +10 -10
  524. package/dist/session/instructions.js +97 -96
  525. package/dist/session/message-updater.js +4 -4
  526. package/dist/session/message.js +2 -2
  527. package/dist/session/model-headers.js +4 -4
  528. package/dist/session/model-http.js +4 -4
  529. package/dist/session/model-request.js +292 -291
  530. package/dist/session/projector.js +96 -95
  531. package/dist/session/prompt-cache-diagnostics.js +2 -2
  532. package/dist/session/prompt-cache-key.js +3 -3
  533. package/dist/session/revert.js +115 -114
  534. package/dist/session/run-coordinator.js +2 -2
  535. package/dist/session/runner/index.js +94 -93
  536. package/dist/session/runner/llm.js +300 -299
  537. package/dist/session/runner/max-steps.js +2 -2
  538. package/dist/session/runner/model.js +93 -92
  539. package/dist/session/runner/publish-llm-event.js +4 -4
  540. package/dist/session/runner/retry.js +83 -82
  541. package/dist/session/runner/to-llm-message.js +2 -2
  542. package/dist/session/schema.js +2 -2
  543. package/dist/session/sql.js +8 -6
  544. package/dist/session/store.js +96 -95
  545. package/dist/session/title.js +113 -112
  546. package/dist/session/to-session-error.js +112 -111
  547. package/dist/session/transfer.js +175 -174
  548. package/dist/session/usage.js +2 -2
  549. package/dist/session.js +177 -176
  550. package/dist/shell/parse.js +4 -4
  551. package/dist/shell/parser-wasm.bun.js +1 -1
  552. package/dist/shell/parser-wasm.node.js +1 -1
  553. package/dist/shell/parser-wasm.workerd.js +1 -1
  554. package/dist/shell/select.js +3 -3
  555. package/dist/shell.js +122 -121
  556. package/dist/skill/discovery.js +3 -3
  557. package/dist/skill/instructions.js +102 -101
  558. package/dist/skill.js +101 -100
  559. package/dist/snapshot.js +110 -109
  560. package/dist/state.js +2 -2
  561. package/dist/tool/http-body.js +2 -2
  562. package/dist/tool/mcp.js +153 -152
  563. package/dist/tool/plugin/edit.js +140 -139
  564. package/dist/tool/plugin/file-diff.js +2 -2
  565. package/dist/tool/plugin/glob.js +112 -111
  566. package/dist/tool/plugin/grep.js +112 -111
  567. package/dist/tool/plugin/patch.js +139 -138
  568. package/dist/tool/plugin/question.js +103 -102
  569. package/dist/tool/plugin/read.js +115 -114
  570. package/dist/tool/plugin/shell.js +180 -179
  571. package/dist/tool/plugin/skill.js +102 -101
  572. package/dist/tool/plugin/subagent.js +177 -176
  573. package/dist/tool/plugin/webfetch.js +102 -101
  574. package/dist/tool/plugin/websearch.js +105 -104
  575. package/dist/tool/plugin/write.js +140 -139
  576. package/dist/tool/read-filesystem.js +92 -91
  577. package/dist/tool/runtime.js +2 -2
  578. package/dist/tool-output.js +111 -110
  579. package/dist/tool.js +144 -143
  580. package/dist/types/bus.d.ts +9 -0
  581. package/dist/types/database/migration/20260812181746_session_inbox.d.ts +3 -0
  582. package/dist/types/environment/unavailable.d.ts +20 -0
  583. package/dist/types/mcp/index.d.ts +0 -2
  584. package/dist/types/plugin/host.d.ts +6 -6
  585. package/dist/types/session/compaction.d.ts +1 -0
  586. package/dist/types/session/{pending.d.ts → inbox.d.ts} +263 -50
  587. package/dist/types/session/sql.d.ts +122 -3
  588. package/dist/types/session.d.ts +19 -17
  589. package/dist/types/shell.d.ts +2 -1
  590. package/dist/types/tool.d.ts +1 -1
  591. package/dist/util/array.js +1 -1
  592. package/dist/util/binary.js +1 -1
  593. package/dist/util/encode.js +1 -1
  594. package/dist/util/error.js +2 -2
  595. package/dist/util/identifier.js +1 -1
  596. package/dist/util/iife.js +2 -2
  597. package/dist/util/lazy.js +2 -2
  598. package/dist/util/path.js +1 -1
  599. package/dist/util/process-lock-ffi.bun.js +1 -1
  600. package/dist/util/process-lock-ffi.node.js +1 -1
  601. package/dist/util/process-lock-ffi.workerd.js +1 -1
  602. package/dist/util/process-lock.js +1 -1
  603. package/dist/util/retry.js +1 -1
  604. package/dist/util/slug.js +2 -2
  605. package/dist/util/token.js +2 -2
  606. package/dist/util/which.js +2 -2
  607. package/dist/util/wildcard.js +2 -2
  608. package/dist/v1/config/agent.js +4 -4
  609. package/dist/v1/config/attachment.js +3 -3
  610. package/dist/v1/config/command.js +2 -2
  611. package/dist/v1/config/config.js +15 -15
  612. package/dist/v1/config/error.js +3 -3
  613. package/dist/v1/config/formatter.js +2 -2
  614. package/dist/v1/config/layout.js +2 -2
  615. package/dist/v1/config/lsp.js +2 -2
  616. package/dist/v1/config/mcp.js +3 -3
  617. package/dist/v1/config/migrate.js +19 -19
  618. package/dist/v1/config/permission.js +2 -2
  619. package/dist/v1/config/plugin.js +2 -2
  620. package/dist/v1/config/provider-options.js +2 -2
  621. package/dist/v1/config/provider.js +3 -3
  622. package/dist/v1/config/server.js +3 -3
  623. package/dist/v1/config/skills.js +2 -2
  624. package/dist/v1/permission.js +1 -1
  625. package/dist/vcs/git.js +3 -3
  626. package/dist/vcs/hg.js +3 -3
  627. package/dist/vcs/patch.js +2 -2
  628. package/dist/vcs.js +83 -82
  629. package/dist/websearch.js +83 -82
  630. package/dist/wellknown/plugin.js +83 -82
  631. package/dist/wellknown.js +82 -81
  632. package/dist/workspace/driver.js +2 -2
  633. package/dist/workspace/sql.js +2 -2
  634. package/dist/workspace.js +70 -69
  635. package/package.json +7 -7
  636. package/dist/chunks/repository-cache-htg18tka.js +0 -309
  637. package/dist/session/pending.js +0 -142
  638. /package/dist/chunks/{repository-cache-0cgt0xh2.js → plugin-0cgt0xh2.js} +0 -0
  639. /package/dist/chunks/{repository-cache-0f48qthw.js → plugin-0f48qthw.js} +0 -0
  640. /package/dist/chunks/{repository-cache-0zz82cjq.js → plugin-0zz82cjq.js} +0 -0
  641. /package/dist/chunks/{repository-cache-1fb7bmpf.js → plugin-1fb7bmpf.js} +0 -0
  642. /package/dist/chunks/{repository-cache-1wcz8fvj.js → plugin-1wcz8fvj.js} +0 -0
  643. /package/dist/chunks/{repository-cache-2qdx6zz3.js → plugin-2qdx6zz3.js} +0 -0
  644. /package/dist/chunks/{repository-cache-3c4nztf9.js → plugin-3c4nztf9.js} +0 -0
  645. /package/dist/chunks/{repository-cache-3g3rpp2x.js → plugin-3g3rpp2x.js} +0 -0
  646. /package/dist/chunks/{repository-cache-3q6gbwmd.js → plugin-3q6gbwmd.js} +0 -0
  647. /package/dist/chunks/{repository-cache-3w3ybtfd.js → plugin-3w3ybtfd.js} +0 -0
  648. /package/dist/chunks/{repository-cache-47ty4mvs.js → plugin-47ty4mvs.js} +0 -0
  649. /package/dist/chunks/{repository-cache-4b2tz2m9.js → plugin-4b2tz2m9.js} +0 -0
  650. /package/dist/chunks/{repository-cache-5a5ch9ts.js → plugin-5a5ch9ts.js} +0 -0
  651. /package/dist/chunks/{repository-cache-5va1yh78.js → plugin-5va1yh78.js} +0 -0
  652. /package/dist/chunks/{repository-cache-69qrqpw0.js → plugin-69qrqpw0.js} +0 -0
  653. /package/dist/chunks/{repository-cache-6jdj5f9n.js → plugin-6jdj5f9n.js} +0 -0
  654. /package/dist/chunks/{repository-cache-6jtjggv5.js → plugin-6jtjggv5.js} +0 -0
  655. /package/dist/chunks/{repository-cache-6yt963b8.js → plugin-6yt963b8.js} +0 -0
  656. /package/dist/chunks/{repository-cache-7n9qwqk4.js → plugin-7n9qwqk4.js} +0 -0
  657. /package/dist/chunks/{repository-cache-8m0qaa0v.js → plugin-8m0qaa0v.js} +0 -0
  658. /package/dist/chunks/{repository-cache-8nn8kqcn.js → plugin-8nn8kqcn.js} +0 -0
  659. /package/dist/chunks/{repository-cache-8sj3ajy5.js → plugin-8sj3ajy5.js} +0 -0
  660. /package/dist/chunks/{repository-cache-8w9tzfz1.js → plugin-8w9tzfz1.js} +0 -0
  661. /package/dist/chunks/{repository-cache-906y0b6d.js → plugin-906y0b6d.js} +0 -0
  662. /package/dist/chunks/{repository-cache-9dct5xhx.js → plugin-9dct5xhx.js} +0 -0
  663. /package/dist/chunks/{repository-cache-9sdtsapf.js → plugin-9sdtsapf.js} +0 -0
  664. /package/dist/chunks/{repository-cache-a02svayp.js → plugin-a02svayp.js} +0 -0
  665. /package/dist/chunks/{repository-cache-a83yvq99.js → plugin-a83yvq99.js} +0 -0
  666. /package/dist/chunks/{repository-cache-ayevdmef.js → plugin-ayevdmef.js} +0 -0
  667. /package/dist/chunks/{repository-cache-b02txbh8.js → plugin-b02txbh8.js} +0 -0
  668. /package/dist/chunks/{repository-cache-bbqs2y60.js → plugin-bbqs2y60.js} +0 -0
  669. /package/dist/chunks/{repository-cache-brsh5f65.js → plugin-brsh5f65.js} +0 -0
  670. /package/dist/chunks/{repository-cache-bxdhjb3y.js → plugin-bxdhjb3y.js} +0 -0
  671. /package/dist/chunks/{repository-cache-c77ad0vh.js → plugin-c77ad0vh.js} +0 -0
  672. /package/dist/chunks/{repository-cache-cm67rqy2.js → plugin-cm67rqy2.js} +0 -0
  673. /package/dist/chunks/{repository-cache-d6s8p2vk.js → plugin-d6s8p2vk.js} +0 -0
  674. /package/dist/chunks/{repository-cache-dbah77c1.js → plugin-dbah77c1.js} +0 -0
  675. /package/dist/chunks/{repository-cache-df3v2q6j.js → plugin-df3v2q6j.js} +0 -0
  676. /package/dist/chunks/{repository-cache-dhcq6c44.js → plugin-dhcq6c44.js} +0 -0
  677. /package/dist/chunks/{repository-cache-dht5baf0.js → plugin-dht5baf0.js} +0 -0
  678. /package/dist/chunks/{repository-cache-dppgrtwb.js → plugin-dppgrtwb.js} +0 -0
  679. /package/dist/chunks/{repository-cache-ehj9csmv.js → plugin-ehj9csmv.js} +0 -0
  680. /package/dist/chunks/{repository-cache-ezs3tagn.js → plugin-ezs3tagn.js} +0 -0
  681. /package/dist/chunks/{repository-cache-f4cp4g4a.js → plugin-f4cp4g4a.js} +0 -0
  682. /package/dist/chunks/{repository-cache-f84sxdqn.js → plugin-f84sxdqn.js} +0 -0
  683. /package/dist/chunks/{repository-cache-faypg4r1.js → plugin-faypg4r1.js} +0 -0
  684. /package/dist/chunks/{repository-cache-g7k9te92.js → plugin-g7k9te92.js} +0 -0
  685. /package/dist/chunks/{repository-cache-gd5xeqc2.js → plugin-gd5xeqc2.js} +0 -0
  686. /package/dist/chunks/{repository-cache-ghm4673n.js → plugin-ghm4673n.js} +0 -0
  687. /package/dist/chunks/{repository-cache-ghwjy7my.js → plugin-ghwjy7my.js} +0 -0
  688. /package/dist/chunks/{repository-cache-gy500k2r.js → plugin-gy500k2r.js} +0 -0
  689. /package/dist/chunks/{repository-cache-hzeg9cfr.js → plugin-hzeg9cfr.js} +0 -0
  690. /package/dist/chunks/{repository-cache-j07kk359.js → plugin-j07kk359.js} +0 -0
  691. /package/dist/chunks/{repository-cache-jve7t217.js → plugin-jve7t217.js} +0 -0
  692. /package/dist/chunks/{repository-cache-kpdbz7gn.js → plugin-kpdbz7gn.js} +0 -0
  693. /package/dist/chunks/{repository-cache-kxy11nzk.js → plugin-kxy11nzk.js} +0 -0
  694. /package/dist/chunks/{repository-cache-kyyqvx4s.js → plugin-kyyqvx4s.js} +0 -0
  695. /package/dist/chunks/{repository-cache-m8cbvarh.js → plugin-m8cbvarh.js} +0 -0
  696. /package/dist/chunks/{repository-cache-ma07p6tt.js → plugin-ma07p6tt.js} +0 -0
  697. /package/dist/chunks/{repository-cache-ma60vzgv.js → plugin-ma60vzgv.js} +0 -0
  698. /package/dist/chunks/{repository-cache-n3m50c2t.js → plugin-n3m50c2t.js} +0 -0
  699. /package/dist/chunks/{repository-cache-nkm1m8dz.js → plugin-nkm1m8dz.js} +0 -0
  700. /package/dist/chunks/{repository-cache-nsc0c3zb.js → plugin-nsc0c3zb.js} +0 -0
  701. /package/dist/chunks/{repository-cache-qaarhjrp.js → plugin-qaarhjrp.js} +0 -0
  702. /package/dist/chunks/{repository-cache-qc167nrn.js → plugin-qc167nrn.js} +0 -0
  703. /package/dist/chunks/{repository-cache-qp95y4jb.js → plugin-qp95y4jb.js} +0 -0
  704. /package/dist/chunks/{repository-cache-r8f4w671.js → plugin-r8f4w671.js} +0 -0
  705. /package/dist/chunks/{repository-cache-rdfev9jy.js → plugin-rdfev9jy.js} +0 -0
  706. /package/dist/chunks/{repository-cache-rvfvac9x.js → plugin-rvfvac9x.js} +0 -0
  707. /package/dist/chunks/{repository-cache-s7whb9gt.js → plugin-s7whb9gt.js} +0 -0
  708. /package/dist/chunks/{repository-cache-se76j685.js → plugin-se76j685.js} +0 -0
  709. /package/dist/chunks/{repository-cache-sem2g21k.js → plugin-sem2g21k.js} +0 -0
  710. /package/dist/chunks/{repository-cache-tmb1f636.js → plugin-tmb1f636.js} +0 -0
  711. /package/dist/chunks/{repository-cache-ttxf0gsy.js → plugin-ttxf0gsy.js} +0 -0
  712. /package/dist/chunks/{repository-cache-tvmhrvfj.js → plugin-tvmhrvfj.js} +0 -0
  713. /package/dist/chunks/{repository-cache-v2adqbbe.js → plugin-v2adqbbe.js} +0 -0
  714. /package/dist/chunks/{repository-cache-wj4sxzqa.js → plugin-wj4sxzqa.js} +0 -0
  715. /package/dist/chunks/{repository-cache-wwntjmk1.js → plugin-wwntjmk1.js} +0 -0
  716. /package/dist/chunks/{repository-cache-wx89ywv3.js → plugin-wx89ywv3.js} +0 -0
  717. /package/dist/chunks/{repository-cache-wyqjaaa5.js → plugin-wyqjaaa5.js} +0 -0
  718. /package/dist/chunks/{repository-cache-x4q807cx.js → plugin-x4q807cx.js} +0 -0
  719. /package/dist/chunks/{repository-cache-yrqrg4vp.js → plugin-yrqrg4vp.js} +0 -0
  720. /package/dist/chunks/{repository-cache-z47nswr2.js → plugin-z47nswr2.js} +0 -0
  721. /package/dist/chunks/{repository-cache-zsf8rs93.js → plugin-zsf8rs93.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  exports_websearch
3
- } from "./repository-cache-39f4fmnr.js";
3
+ } from "./plugin-ds4tyggf.js";
4
4
  import {
5
5
  exports_permission
6
- } from "./repository-cache-ghgrp5mb.js";
7
- import {
8
- exports_form
9
- } from "./repository-cache-141wgazf.js";
6
+ } from "./plugin-jhnyxz2d.js";
10
7
  import {
11
8
  exports_kv
12
- } from "./repository-cache-pxv8jsqw.js";
9
+ } from "./plugin-eev1eeyf.js";
10
+ import {
11
+ exports_form
12
+ } from "./plugin-xhemxv6a.js";
13
13
  import {
14
14
  __export
15
- } from "./repository-cache-rvfvac9x.js";
15
+ } from "./plugin-rvfvac9x.js";
16
16
 
17
17
  // src/tool/plugin/websearch.ts
18
18
  var exports_websearch2 = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
- exports_sdk
3
- } from "./repository-cache-zyetvhst.js";
2
+ exports_internal
3
+ } from "./plugin-vxb3r0qz.js";
4
4
  import {
5
5
  exports_promise
6
- } from "./repository-cache-wf37p1a1.js";
6
+ } from "./plugin-wf37p1a1.js";
7
7
  import {
8
- exports_internal
9
- } from "./repository-cache-68a9fpyg.js";
8
+ exports_sdk
9
+ } from "./plugin-x0bn85tk.js";
10
10
  import {
11
11
  exports_source
12
- } from "./repository-cache-41daaf98.js";
12
+ } from "./plugin-42fara3y.js";
13
13
  import {
14
14
  exports_plugin
15
- } from "./repository-cache-tcv8hj6g.js";
15
+ } from "./plugin-bksfeg7q.js";
16
16
  import {
17
17
  exports_bus
18
- } from "./repository-cache-y56d2anz.js";
18
+ } from "./plugin-0h4ej6yw.js";
19
19
  import {
20
20
  __export
21
- } from "./repository-cache-rvfvac9x.js";
21
+ } from "./plugin-rvfvac9x.js";
22
22
 
23
23
  // src/plugin/supervisor.ts
24
24
  var exports_supervisor = {};
@@ -1,16 +1,19 @@
1
1
  import {
2
2
  EventSequenceTable,
3
3
  EventTable
4
- } from "./repository-cache-zsf8rs93.js";
4
+ } from "./plugin-zsf8rs93.js";
5
5
  import {
6
6
  exports_location
7
- } from "./repository-cache-xjtqh72v.js";
7
+ } from "./plugin-4kb49531.js";
8
8
  import {
9
9
  exports_database
10
- } from "./repository-cache-sn0zfpmh.js";
10
+ } from "./plugin-2er1z1cy.js";
11
+ import {
12
+ exports_keyed_mutex
13
+ } from "./plugin-0kvmztkf.js";
11
14
  import {
12
15
  __export
13
- } from "./repository-cache-rvfvac9x.js";
16
+ } from "./plugin-rvfvac9x.js";
14
17
 
15
18
  // src/bus.ts
16
19
  var exports_bus = {};
@@ -87,6 +90,7 @@ function configured(options) {
87
90
  };
88
91
  const projectors = new Map;
89
92
  const listeners = new Array;
93
+ const durableLocks = exports_keyed_mutex.makeUnsafe();
90
94
  const { db } = yield* exports_database.Service;
91
95
  const logReadPageSize = options?.logReadPageSize ?? 512;
92
96
  const persist = options?.persist ?? false;
@@ -211,15 +215,20 @@ function configured(options) {
211
215
  message: "Local commit hooks require a durable event"
212
216
  }));
213
217
  if (definition?.durable) {
214
- const committed = yield* commitDurableEvent(definition, event, undefined, commit);
215
- if (committed) {
218
+ const aggregateID = event.data[definition.durable.aggregate];
219
+ if (typeof aggregateID !== "string")
220
+ return yield* commitDurableEvent(definition, event, undefined, commit).pipe(Effect.as(event));
221
+ return yield* durableLocks.withLock(aggregateID)(Effect.gen(function* () {
222
+ const committed = yield* commitDurableEvent(definition, event, undefined, commit);
223
+ if (!committed)
224
+ return event;
216
225
  event = {
217
226
  ...event,
218
227
  durable: envelope(committed.aggregateID, committed.seq, definition.durable.version)
219
228
  };
220
229
  yield* notify(event, true);
221
230
  return event;
222
- }
231
+ }));
223
232
  }
224
233
  yield* notify(event, false);
225
234
  return event;
@@ -249,30 +258,123 @@ function configured(options) {
249
258
  }, options2?.commit);
250
259
  });
251
260
  }
261
+ function publishAll(events) {
262
+ return Effect.gen(function* () {
263
+ const serviceLocation = Option.getOrUndefined(yield* Effect.serviceOption(exports_location.Service));
264
+ const payloads = yield* Effect.forEach(events, ([definition, data, options2]) => Effect.gen(function* () {
265
+ const aggregateID2 = data[definition.durable.aggregate];
266
+ if (typeof aggregateID2 !== "string") {
267
+ return yield* Effect.die(new InvalidDurableEventError({
268
+ type: definition.type,
269
+ message: `Expected string aggregate field ${definition.durable.aggregate}`
270
+ }));
271
+ }
272
+ const location = options2?.location ?? (serviceLocation ? { directory: serviceLocation.directory, workspaceID: serviceLocation.workspaceID } : undefined);
273
+ return {
274
+ definition,
275
+ aggregateID: aggregateID2,
276
+ commit: options2?.commit,
277
+ event: {
278
+ id: options2?.id ?? Event.ID.create(),
279
+ created: yield* DateTime.now,
280
+ ...options2?.metadata ? { metadata: options2.metadata } : {},
281
+ type: definition.type,
282
+ ...location ? { location } : {},
283
+ data
284
+ }
285
+ };
286
+ }));
287
+ const aggregateID = payloads[0].aggregateID;
288
+ if (payloads.some((item) => item.aggregateID !== aggregateID)) {
289
+ return yield* Effect.die(new InvalidDurableEventError({
290
+ type: payloads[0].definition.type,
291
+ message: "Published events must belong to the same aggregate"
292
+ }));
293
+ }
294
+ return yield* durableLocks.withLock(aggregateID)(Effect.uninterruptible(Effect.gen(function* () {
295
+ const committed = yield* db.transaction(() => Effect.gen(function* () {
296
+ const row = yield* db.select({ seq: EventSequenceTable.seq }).from(EventSequenceTable).where(eq(EventSequenceTable.aggregate_id, aggregateID)).get().pipe(Effect.orDie);
297
+ const firstSeq = (row?.seq ?? -1) + 1;
298
+ const finalSeq = firstSeq + payloads.length - 1;
299
+ const result = new Array;
300
+ const rows = new Array;
301
+ const ids = new Set;
302
+ for (const [index, item] of payloads.entries()) {
303
+ const seq = firstSeq + index;
304
+ const encoded = Schema.encodeUnknownSync(item.definition.data)(item.event.data);
305
+ if (persist) {
306
+ if (ids.has(item.event.id))
307
+ yield* Effect.die(new InvalidDurableEventError({
308
+ type: item.event.type,
309
+ message: `Event ${item.event.id} appears more than once in the batch`
310
+ }));
311
+ ids.add(item.event.id);
312
+ const stored = yield* db.select({ aggregateID: EventTable.aggregate_id, seq: EventTable.seq }).from(EventTable).where(eq(EventTable.id, item.event.id)).get().pipe(Effect.orDie);
313
+ if (stored)
314
+ yield* Effect.die(new InvalidDurableEventError({
315
+ type: item.event.type,
316
+ message: `Event ${item.event.id} already exists at aggregate ${stored.aggregateID} sequence ${stored.seq}`
317
+ }));
318
+ }
319
+ const event = {
320
+ ...item.event,
321
+ durable: envelope(aggregateID, seq, item.definition.durable.version)
322
+ };
323
+ for (const projector of projectors.get(versionedType(item.definition.type, item.definition.durable.version)) ?? []) {
324
+ yield* projector(event);
325
+ }
326
+ if (item.commit)
327
+ yield* item.commit(seq);
328
+ if (persist)
329
+ rows.push({
330
+ id: event.id,
331
+ aggregate_id: aggregateID,
332
+ seq,
333
+ created: DateTime.toEpochMillis(event.created),
334
+ type: versionedType(item.definition.type, item.definition.durable.version),
335
+ data: encoded
336
+ });
337
+ result.push(event);
338
+ }
339
+ yield* db.insert(EventSequenceTable).values([{ aggregate_id: aggregateID, seq: finalSeq }]).onConflictDoUpdate({ target: EventSequenceTable.aggregate_id, set: { seq: finalSeq } }).run().pipe(Effect.orDie);
340
+ if (persist)
341
+ yield* db.insert(EventTable).values(rows).run().pipe(Effect.orDie);
342
+ return result;
343
+ }), { behavior: "immediate" }).pipe(Effect.orDie);
344
+ yield* Effect.forEach(pubsub.durable.get(aggregateID) ?? [], (wake) => PubSub.publish(wake, undefined), {
345
+ discard: true
346
+ });
347
+ yield* Effect.forEach(committed, (event) => notify(event, true), { discard: true });
348
+ return committed;
349
+ })));
350
+ });
351
+ }
252
352
  function replay(event, options2) {
253
353
  return Effect.gen(function* () {
254
354
  const definition = Durable.get(event.type);
255
355
  if (!definition?.durable) {
256
356
  yield* Effect.die(new InvalidDurableEventError({ type: event.type, message: `Unknown durable event type ${event.type}` }));
257
357
  } else {
258
- const payload = {
259
- id: event.id,
260
- created: event.created ?? DateTime.makeUnsafe(0),
261
- type: definition.type,
262
- data: Schema.decodeUnknownSync(definition.data)(event.data)
263
- };
264
- const committed = yield* commitDurableEvent(definition, payload, {
265
- seq: event.seq,
266
- aggregateID: event.aggregateID,
267
- ownerID: options2?.ownerID,
268
- strictOwner: options2?.strictOwner
269
- });
270
- if (committed && options2?.publish) {
271
- yield* notify({
272
- ...payload,
273
- durable: envelope(committed.aggregateID, committed.seq, definition.durable.version)
274
- }, true);
275
- }
358
+ yield* durableLocks.withLock(event.aggregateID)(Effect.gen(function* () {
359
+ const payload = {
360
+ id: event.id,
361
+ created: event.created ?? DateTime.makeUnsafe(0),
362
+ type: definition.type,
363
+ data: Schema.decodeUnknownSync(definition.data)(event.data)
364
+ };
365
+ const committed = yield* commitDurableEvent(definition, payload, {
366
+ seq: event.seq,
367
+ aggregateID: event.aggregateID,
368
+ ownerID: options2?.ownerID,
369
+ strictOwner: options2?.strictOwner
370
+ });
371
+ if (committed && options2?.publish) {
372
+ yield* notify({
373
+ ...payload,
374
+ durable: envelope(committed.aggregateID, committed.seq, definition.durable.version)
375
+ }, true);
376
+ }
377
+ }));
276
378
  }
277
379
  });
278
380
  }
@@ -388,6 +490,7 @@ function configured(options) {
388
490
  });
389
491
  return Service.of({
390
492
  publish,
493
+ publishAll,
391
494
  subscribe,
392
495
  log,
393
496
  listen,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-rvfvac9x.js";
3
+ } from "./plugin-rvfvac9x.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  exports_message
3
- } from "./repository-cache-25pxtba7.js";
3
+ } from "./plugin-25pxtba7.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-rvfvac9x.js";
6
+ } from "./plugin-rvfvac9x.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -76,11 +76,10 @@ function update(adapter, event) {
76
76
  "session.renamed": () => Effect.void,
77
77
  "session.deleted": () => Effect.void,
78
78
  "session.forked": () => Effect.void,
79
- "session.input.promoted": () => Effect.void,
80
- "session.input.admitted": () => Effect.void,
81
- "session.input.cancelled": () => Effect.void,
82
- "session.input.steered": () => Effect.void,
83
- "session.input.queued": () => Effect.void,
79
+ "session.inbox.delivered": () => Effect.void,
80
+ "session.inbox.enqueued": () => Effect.void,
81
+ "session.inbox.cancelled": () => Effect.void,
82
+ "session.inbox.delivery.changed": () => Effect.void,
84
83
  "session.execution.started": () => Effect.void,
85
84
  "session.execution.succeeded": () => clearCurrentRetry,
86
85
  "session.execution.failed": () => clearCurrentRetry,
@@ -319,7 +318,6 @@ function update(adapter, event) {
319
318
  };
320
319
  });
321
320
  },
322
- "session.compaction.admitted": () => Effect.void,
323
321
  "session.compaction.started": (event2) => adapter.appendMessage(exports_message.CompactionRunning.make({
324
322
  id: event2.data.inputID ?? exports_message.ID.fromEvent(event2.id),
325
323
  type: "compaction",
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  exports_provider
3
- } from "./repository-cache-d6vvk673.js";
3
+ } from "./plugin-d6vvk673.js";
4
4
  import {
5
5
  __require
6
- } from "./repository-cache-rvfvac9x.js";
6
+ } from "./plugin-rvfvac9x.js";
7
7
 
8
8
  // src/plugin/provider/cerebras.ts
9
9
  import { Effect } from "effect";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  exports_config
3
- } from "./repository-cache-gzjpz1dq.js";
3
+ } from "./plugin-b020en46.js";
4
4
  import {
5
5
  exports_watcher
6
- } from "./repository-cache-a3xgesk5.js";
6
+ } from "./plugin-qw688rwx.js";
7
7
  import {
8
8
  exports_bus
9
- } from "./repository-cache-y56d2anz.js";
9
+ } from "./plugin-0h4ej6yw.js";
10
10
  import {
11
11
  exports_location
12
- } from "./repository-cache-xjtqh72v.js";
12
+ } from "./plugin-4kb49531.js";
13
13
  import {
14
14
  exports_git
15
- } from "./repository-cache-z66vzcey.js";
15
+ } from "./plugin-kcwh27nh.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-cache-rvfvac9x.js";
18
+ } from "./plugin-rvfvac9x.js";
19
19
 
20
20
  // src/filesystem/location-watcher.ts
21
21
  var exports_location_watcher = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
- SQLiteEffectInsertBuilder
3
- } from "./repository-cache-erj4j75s.js";
2
+ SQLiteEffectRelationalQueryBuilder
3
+ } from "./plugin-bxdhjb3y.js";
4
4
  import {
5
- SQLiteEffectSelectBuilder
6
- } from "./repository-cache-mwceq5am.js";
5
+ SQLiteEffectRaw
6
+ } from "./plugin-s7whb9gt.js";
7
7
  import {
8
8
  SQLiteEffectDeleteBase
9
- } from "./repository-cache-g9yygpzr.js";
9
+ } from "./plugin-g9yygpzr.js";
10
10
  import {
11
- SQLiteEffectUpdateBuilder
12
- } from "./repository-cache-zfxc0ze5.js";
11
+ SQLiteEffectCountBuilder
12
+ } from "./plugin-0f48qthw.js";
13
13
  import {
14
- SQLiteEffectRelationalQueryBuilder
15
- } from "./repository-cache-bxdhjb3y.js";
14
+ SQLiteEffectInsertBuilder
15
+ } from "./plugin-erj4j75s.js";
16
16
  import {
17
- SQLiteEffectRaw
18
- } from "./repository-cache-s7whb9gt.js";
17
+ SQLiteEffectSelectBuilder
18
+ } from "./plugin-mwceq5am.js";
19
19
  import {
20
- SQLiteEffectCountBuilder
21
- } from "./repository-cache-0f48qthw.js";
20
+ SQLiteEffectUpdateBuilder
21
+ } from "./plugin-zfxc0ze5.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt
3
- } from "./repository-cache-j07kk359.js";
3
+ } from "./plugin-j07kk359.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-rvfvac9x.js";
6
+ } from "./plugin-rvfvac9x.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  collectBoundedResponseBody
3
- } from "./repository-cache-jve7t217.js";
3
+ } from "./plugin-jve7t217.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-rvfvac9x.js";
6
+ } from "./plugin-rvfvac9x.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SQLiteEffectDatabase
3
- } from "./repository-cache-axp5q191.js";
4
- import {
5
- mapResultRow
6
- } from "./repository-cache-ma07p6tt.js";
3
+ } from "./plugin-159bcd5h.js";
7
4
  import {
8
5
  upgradeIfNeeded
9
- } from "./repository-cache-nv7zjdpe.js";
6
+ } from "./plugin-nv7zjdpe.js";
7
+ import {
8
+ mapResultRow
9
+ } from "./plugin-ma07p6tt.js";
10
10
 
11
11
  // src/database/drizzle/sqlite-core/effect/session.ts
12
12
  import * as Cause from "effect/Cause";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-rvfvac9x.js";
3
+ } from "./plugin-rvfvac9x.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  exports_skill
3
- } from "./repository-cache-qnprthpg.js";
3
+ } from "./plugin-z8t5vj4n.js";
4
4
  import {
5
5
  exports_instructions
6
- } from "./repository-cache-q4r4pzs4.js";
6
+ } from "./plugin-q4r4pzs4.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-cache-rvfvac9x.js";
9
+ } from "./plugin-rvfvac9x.js";
10
10
 
11
11
  // src/skill/instructions.ts
12
12
  var exports_instructions2 = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  exports_app
3
- } from "./repository-cache-50jxp3hw.js";
3
+ } from "./plugin-50jxp3hw.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-rvfvac9x.js";
6
+ } from "./plugin-rvfvac9x.js";
7
7
 
8
8
  // src/session/model-headers.ts
9
9
  var exports_model_headers = {};
@@ -1,36 +1,36 @@
1
- import {
2
- exports_client
3
- } from "./repository-cache-pqxc0f1x.js";
4
1
  import {
5
2
  exports_oauth
6
- } from "./repository-cache-xq1vkeee.js";
3
+ } from "./plugin-xq1vkeee.js";
4
+ import {
5
+ exports_client
6
+ } from "./plugin-ycq55mr6.js";
7
7
  import {
8
8
  exports_config
9
- } from "./repository-cache-gzjpz1dq.js";
9
+ } from "./plugin-b020en46.js";
10
10
  import {
11
11
  exports_environment1 as exports_environment
12
- } from "./repository-cache-2mcxzbwe.js";
12
+ } from "./plugin-jpafxzwx.js";
13
13
  import {
14
14
  exports_integration
15
- } from "./repository-cache-91mm05x8.js";
15
+ } from "./plugin-65ezx8mc.js";
16
16
  import {
17
17
  exports_form
18
- } from "./repository-cache-141wgazf.js";
18
+ } from "./plugin-xhemxv6a.js";
19
19
  import {
20
20
  exports_credential
21
- } from "./repository-cache-msbeckph.js";
21
+ } from "./plugin-yjvmn5ye.js";
22
22
  import {
23
23
  exports_bus
24
- } from "./repository-cache-y56d2anz.js";
24
+ } from "./plugin-0h4ej6yw.js";
25
25
  import {
26
26
  exports_location
27
- } from "./repository-cache-xjtqh72v.js";
27
+ } from "./plugin-4kb49531.js";
28
28
  import {
29
29
  exports_keyed_mutex
30
- } from "./repository-cache-0kvmztkf.js";
30
+ } from "./plugin-0kvmztkf.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-cache-rvfvac9x.js";
33
+ } from "./plugin-rvfvac9x.js";
34
34
 
35
35
  // src/mcp/index.ts
36
36
  var exports_mcp = {};
@@ -164,8 +164,7 @@ var Options = Schema.Struct({
164
164
  clientInfo: Schema.optional(Schema.Struct({
165
165
  name: Schema.String,
166
166
  version: Schema.String
167
- })),
168
- stdio: Schema.optional(Schema.Boolean)
167
+ }))
169
168
  });
170
169
  var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
171
170
  const config = yield* exports_config.Service;
@@ -393,11 +392,6 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
393
392
  }
394
393
  };
395
394
  const startServer = (name, entry) => Effect.gen(function* () {
396
- if (options?.stdio === false && entry.config.type === "local") {
397
- entry.status = { status: "failed", error: "stdio MCP servers are unavailable in this runtime" };
398
- yield* bus.publish(McpEvent.StatusChanged, { server: name }).pipe(Effect.ignore);
399
- return;
400
- }
401
395
  entry.status = { status: "pending" };
402
396
  yield* bus.publish(McpEvent.StatusChanged, { server: name }).pipe(Effect.ignore);
403
397
  const scope = yield* Scope.fork(root);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  exports_environment1 as exports_environment
3
- } from "./repository-cache-2mcxzbwe.js";
3
+ } from "./plugin-jpafxzwx.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-rvfvac9x.js";
6
+ } from "./plugin-rvfvac9x.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-rvfvac9x.js";
3
+ } from "./plugin-rvfvac9x.js";
4
4
 
5
5
  // src/session/message.ts
6
6
  var exports_message = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  exports_wildcard
3
- } from "./repository-cache-y67x6rf6.js";
3
+ } from "./plugin-y67x6rf6.js";
4
4
  import {
5
5
  exports_config
6
- } from "./repository-cache-gzjpz1dq.js";
6
+ } from "./plugin-b020en46.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-cache-rvfvac9x.js";
9
+ } from "./plugin-rvfvac9x.js";
10
10
 
11
11
  // src/config/plugin/policy.ts
12
12
  var exports_policy = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  fileDiff
3
- } from "./repository-cache-c77ad0vh.js";
3
+ } from "./plugin-c77ad0vh.js";
4
4
  import {
5
5
  exports_location_mutation
6
- } from "./repository-cache-jf0y37v0.js";
6
+ } from "./plugin-6xgy3jkz.js";
7
+ import {
8
+ exports_file_mutation
9
+ } from "./plugin-bk0jxqkp.js";
7
10
  import {
8
11
  exports_formatter
9
- } from "./repository-cache-7f3tp52f.js";
12
+ } from "./plugin-kxf6zgfz.js";
10
13
  import {
11
14
  exports_permission
12
- } from "./repository-cache-ghgrp5mb.js";
13
- import {
14
- exports_file_mutation
15
- } from "./repository-cache-8mx9xa89.js";
15
+ } from "./plugin-jhnyxz2d.js";
16
16
  import {
17
17
  exports_environment1 as exports_environment
18
- } from "./repository-cache-2mcxzbwe.js";
18
+ } from "./plugin-jpafxzwx.js";
19
19
  import {
20
20
  __export
21
- } from "./repository-cache-rvfvac9x.js";
21
+ } from "./plugin-rvfvac9x.js";
22
22
 
23
23
  // src/tool/plugin/write.ts
24
24
  var exports_write = {};
@@ -1,12 +1,12 @@
1
- import {
2
- exports_drizzle
3
- } from "./repository-cache-sh51nj6w.js";
4
1
  import {
5
2
  exports_migration
6
- } from "./repository-cache-0xjr6h2t.js";
3
+ } from "./plugin-wm8vd51k.js";
4
+ import {
5
+ exports_drizzle
6
+ } from "./plugin-nk7t2wb2.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-cache-rvfvac9x.js";
9
+ } from "./plugin-rvfvac9x.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};