@opencode/core 0.0.0-dev-1113 → 0.0.0-dev-1126

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 (895) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +249 -249
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{event-logger-21z5cqvx.js → console-access-016qw9c5.js} +5 -5
  9. package/dist/chunks/{event-logger-9h900fbv.js → console-access-03ktjqgw.js} +31 -31
  10. package/dist/chunks/{event-logger-4vzr2b15.js → console-access-04qc8z7j.js} +3 -3
  11. package/dist/chunks/{event-logger-kkcr90y5.js → console-access-05dbvsne.js} +43 -43
  12. package/dist/chunks/{event-logger-bf5nea6e.js → console-access-07sysp34.js} +9 -9
  13. package/dist/chunks/{event-logger-navtns2p.js → console-access-0dmgdz9r.js} +4 -4
  14. package/dist/chunks/{event-logger-h17gwerx.js → console-access-0e67e1t6.js} +11 -11
  15. package/dist/chunks/{event-logger-pv8fd74w.js → console-access-0hxcpwt2.js} +6 -6
  16. package/dist/chunks/{event-logger-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{event-logger-48jhdcm9.js → console-access-0rfge6zv.js} +59 -59
  18. package/dist/chunks/{event-logger-vvgwz3r3.js → console-access-12gpnb3q.js} +44 -44
  19. package/dist/chunks/{event-logger-09r3yeam.js → console-access-1351nr0e.js} +3 -3
  20. package/dist/chunks/{event-logger-hdqh66q4.js → console-access-145jh0dz.js} +45 -45
  21. package/dist/chunks/console-access-145rv6ez.js +18 -0
  22. package/dist/chunks/{event-logger-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{event-logger-qzejd7f7.js → console-access-1hvdxct0.js} +4 -4
  24. package/dist/chunks/{event-logger-fck9h0f5.js → console-access-1j62qemv.js} +16 -16
  25. package/dist/chunks/{event-logger-brzs5sbk.js → console-access-1je62nqx.js} +5 -5
  26. package/dist/chunks/{event-logger-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{event-logger-1yq9hg58.js → console-access-1yq9hg58.js} +1 -1
  28. package/dist/chunks/{event-logger-229tvxdn.js → console-access-229tvxdn.js} +1 -1
  29. package/dist/chunks/{event-logger-t6m1f1nr.js → console-access-22azp77r.js} +7 -7
  30. package/dist/chunks/{event-logger-8b3vzgkx.js → console-access-25h84942.js} +4 -4
  31. package/dist/chunks/{event-logger-84xc7tef.js → console-access-26fn9xjv.js} +8 -8
  32. package/dist/chunks/{event-logger-1ep2p91f.js → console-access-27w5k9zf.js} +2 -2
  33. package/dist/chunks/{event-logger-mbae72nx.js → console-access-2f7q2xs5.js} +30 -30
  34. package/dist/chunks/{event-logger-2fc7eemy.js → console-access-2fc7eemy.js} +1 -1
  35. package/dist/chunks/{event-logger-nv2c5e9q.js → console-access-2n444ktb.js} +3 -3
  36. package/dist/chunks/{event-logger-2p60zmnr.js → console-access-2p60zmnr.js} +2 -2
  37. package/dist/chunks/{event-logger-t2t84wnr.js → console-access-2s5g9t6w.js} +6 -6
  38. package/dist/chunks/{event-logger-fnrdyy28.js → console-access-2ypwe4rv.js} +13 -13
  39. package/dist/chunks/{event-logger-ykwqc35q.js → console-access-2z5pfyrb.js} +35 -35
  40. package/dist/chunks/{event-logger-71whxrms.js → console-access-31n4pkqx.js} +3 -3
  41. package/dist/chunks/{event-logger-hmt0aq1n.js → console-access-327kchex.js} +9 -9
  42. package/dist/chunks/{event-logger-pzstew35.js → console-access-39xyskhj.js} +29 -29
  43. package/dist/chunks/{event-logger-c09y0a8j.js → console-access-3abk0zea.js} +11 -11
  44. package/dist/chunks/{event-logger-3adw4bt5.js → console-access-3adw4bt5.js} +2 -2
  45. package/dist/chunks/{event-logger-8tnyp6pb.js → console-access-3bgf9gas.js} +4 -4
  46. package/dist/chunks/{event-logger-ayjs7tqn.js → console-access-3cbjf1nt.js} +2 -2
  47. package/dist/chunks/{event-logger-srtkqavm.js → console-access-3e2dypxx.js} +16 -16
  48. package/dist/chunks/{event-logger-7r2bnw1k.js → console-access-3f8gah40.js} +23 -23
  49. package/dist/chunks/{event-logger-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{event-logger-rxzae9a0.js → console-access-3mz4bjd8.js} +18 -18
  51. package/dist/chunks/{event-logger-3nnrz6f6.js → console-access-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{event-logger-wk6b9ypq.js → console-access-3w55ezbs.js} +21 -21
  53. package/dist/chunks/{event-logger-ebm59rwb.js → console-access-3zhtz7zv.js} +21 -21
  54. package/dist/chunks/{event-logger-1a61z5p9.js → console-access-40nfq217.js} +18 -18
  55. package/dist/chunks/{event-logger-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
  56. package/dist/chunks/{event-logger-pc2z5rmg.js → console-access-435gy1tb.js} +6 -6
  57. package/dist/chunks/{event-logger-p9bdt98v.js → console-access-44hmkskf.js} +9 -9
  58. package/dist/chunks/{event-logger-44pmzq9c.js → console-access-44pmzq9c.js} +2 -2
  59. package/dist/chunks/{event-logger-5rc0mw2y.js → console-access-46g5cwr6.js} +93 -93
  60. package/dist/chunks/{event-logger-1sxb3psr.js → console-access-478jw1m7.js} +12 -12
  61. package/dist/chunks/{event-logger-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{event-logger-4f25tdd0.js → console-access-4f25tdd0.js} +1 -1
  63. package/dist/chunks/{event-logger-n1vb7ty0.js → console-access-4jptyz6y.js} +28 -28
  64. package/dist/chunks/{event-logger-jr6xaaj3.js → console-access-4jqhq68j.js} +3 -3
  65. package/dist/chunks/{event-logger-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
  66. package/dist/chunks/{event-logger-4v008n1t.js → console-access-4v008n1t.js} +1 -1
  67. package/dist/chunks/{event-logger-r2a0a4bw.js → console-access-4wrw35nf.js} +9 -9
  68. package/dist/chunks/{event-logger-cm0nas3h.js → console-access-4xz8p7j7.js} +5 -5
  69. package/dist/chunks/{event-logger-69azy48j.js → console-access-54jthg9b.js} +10 -10
  70. package/dist/chunks/{event-logger-5azf7efg.js → console-access-5azf7efg.js} +3 -3
  71. package/dist/chunks/{event-logger-k9hrc3vn.js → console-access-5bdhbfnv.js} +22 -22
  72. package/dist/chunks/{event-logger-nvcdrhhs.js → console-access-5ev4kdyd.js} +10 -10
  73. package/dist/chunks/{event-logger-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{event-logger-1qqw3m6b.js → console-access-5mctbva8.js} +4 -4
  75. package/dist/chunks/{event-logger-74tyjh6e.js → console-access-5v57y532.js} +22 -22
  76. package/dist/chunks/{event-logger-sxg3hyg4.js → console-access-5zbv1n35.js} +3 -3
  77. package/dist/chunks/{event-logger-3nwc4br8.js → console-access-63zbe581.js} +9 -9
  78. package/dist/chunks/{event-logger-66fdrqh3.js → console-access-66fdrqh3.js} +2 -2
  79. package/dist/chunks/{event-logger-py55jhgs.js → console-access-68kxwn1j.js} +3 -3
  80. package/dist/chunks/{event-logger-dg3a8dxd.js → console-access-69977w2a.js} +9 -9
  81. package/dist/chunks/{event-logger-t2pwp6ga.js → console-access-69t06asz.js} +3 -3
  82. package/dist/chunks/{event-logger-6edbc7zm.js → console-access-6edbc7zm.js} +2 -2
  83. package/dist/chunks/{event-logger-31avdb49.js → console-access-6f6jm3cp.js} +5 -5
  84. package/dist/chunks/{event-logger-gn1mqypz.js → console-access-6fq11get.js} +3 -3
  85. package/dist/chunks/{event-logger-2tb60655.js → console-access-6rra74mh.js} +11 -11
  86. package/dist/chunks/{event-logger-vsy95w6y.js → console-access-6trn8gdk.js} +12 -12
  87. package/dist/chunks/{event-logger-yk6vrpjv.js → console-access-700fkdfk.js} +9 -9
  88. package/dist/chunks/{event-logger-yzmveq4t.js → console-access-70p2rqfj.js} +4 -4
  89. package/dist/chunks/{event-logger-ebwb1pjw.js → console-access-7a2pan0c.js} +30 -30
  90. package/dist/chunks/{event-logger-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{event-logger-dsckms85.js → console-access-7v3bxnq8.js} +24 -24
  92. package/dist/chunks/{event-logger-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
  93. package/dist/chunks/{event-logger-7weczvnd.js → console-access-7weczvnd.js} +1 -1
  94. package/dist/chunks/{event-logger-52yw03dq.js → console-access-7zst3jdz.js} +40 -40
  95. package/dist/chunks/{event-logger-80mg3ag8.js → console-access-80mg3ag8.js} +3 -3
  96. package/dist/chunks/{event-logger-80pdk984.js → console-access-80pdk984.js} +1 -1
  97. package/dist/chunks/{event-logger-pmzch7m4.js → console-access-818cphj9.js} +37 -37
  98. package/dist/chunks/{event-logger-85jq8dht.js → console-access-85jq8dht.js} +1 -1
  99. package/dist/chunks/{event-logger-scn5v30h.js → console-access-8bgnr0we.js} +9 -9
  100. package/dist/chunks/{event-logger-8ctrpnmd.js → console-access-8ctrpnmd.js} +3 -3
  101. package/dist/chunks/{event-logger-6sxxeane.js → console-access-8dcx9jfj.js} +11 -11
  102. package/dist/chunks/{event-logger-xe1tkw14.js → console-access-8wqpz5wk.js} +7 -7
  103. package/dist/chunks/{event-logger-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
  104. package/dist/chunks/{event-logger-62pdvj00.js → console-access-8z5rk5rm.js} +5 -5
  105. package/dist/chunks/{event-logger-mb7mbhnz.js → console-access-8z6m94af.js} +3 -3
  106. package/dist/chunks/{event-logger-8zv0xmg5.js → console-access-8zv0xmg5.js} +1 -1
  107. package/dist/chunks/{event-logger-2xke8qjh.js → console-access-91c00znj.js} +6 -6
  108. package/dist/chunks/{event-logger-963hk181.js → console-access-963hk181.js} +2 -2
  109. package/dist/chunks/{event-logger-e08yd50f.js → console-access-97hrk100.js} +14 -14
  110. package/dist/chunks/{event-logger-5xqbc9ax.js → console-access-9gtr84y2.js} +15 -15
  111. package/dist/chunks/{event-logger-v5hpj9dd.js → console-access-9kg5w032.js} +8 -8
  112. package/dist/chunks/{event-logger-3v50s0nm.js → console-access-9tvpxs1q.js} +4 -4
  113. package/dist/chunks/{event-logger-t13a1kza.js → console-access-a0s6r7wt.js} +10 -10
  114. package/dist/chunks/{event-logger-dpvbae88.js → console-access-a2dkjyq5.js} +30 -30
  115. package/dist/chunks/{event-logger-hretfjjx.js → console-access-a3fn0gmm.js} +2 -2
  116. package/dist/chunks/{event-logger-jve8yzs5.js → console-access-a3gzgt68.js} +16 -16
  117. package/dist/chunks/{event-logger-wy0eemkf.js → console-access-a8p6aj20.js} +43 -43
  118. package/dist/chunks/{event-logger-nxx92j0m.js → console-access-ad6zqy0v.js} +5 -5
  119. package/dist/chunks/{event-logger-gnffb83q.js → console-access-af7qvbnj.js} +27 -27
  120. package/dist/chunks/{event-logger-agje4kmn.js → console-access-agje4kmn.js} +1 -1
  121. package/dist/chunks/{event-logger-hab30nez.js → console-access-ahh6fjzm.js} +30 -30
  122. package/dist/chunks/{event-logger-tyz1xxgg.js → console-access-aj3nfnth.js} +8 -8
  123. package/dist/chunks/{event-logger-034tev2y.js → console-access-aj7mw0zk.js} +2 -2
  124. package/dist/chunks/{event-logger-wrxtv31x.js → console-access-ajxfcbbm.js} +10 -10
  125. package/dist/chunks/{event-logger-b69bmpdt.js → console-access-av78dz5z.js} +7 -7
  126. package/dist/chunks/{event-logger-s4kyhetj.js → console-access-b09zhmpv.js} +6 -6
  127. package/dist/chunks/{event-logger-b26ddj6h.js → console-access-b26ddj6h.js} +4 -4
  128. package/dist/chunks/{event-logger-8wk0dbzx.js → console-access-b34wt9qr.js} +25 -25
  129. package/dist/chunks/{event-logger-8sxe6kv8.js → console-access-bb3mmwvh.js} +2 -2
  130. package/dist/chunks/{event-logger-hrpg1pdd.js → console-access-bfjeeya9.js} +5 -5
  131. package/dist/chunks/{event-logger-18fzkjp1.js → console-access-bhffp7ar.js} +26 -26
  132. package/dist/chunks/{event-logger-bstexjd6.js → console-access-bstexjd6.js} +1 -1
  133. package/dist/chunks/{event-logger-kctgyte9.js → console-access-btad6fdg.js} +19 -19
  134. package/dist/chunks/{event-logger-by8ty0bx.js → console-access-by8ty0bx.js} +1 -1
  135. package/dist/chunks/{event-logger-g2g3q0mz.js → console-access-c3rxt9mg.js} +12 -12
  136. package/dist/chunks/{event-logger-c7cw818c.js → console-access-c7cw818c.js} +2 -2
  137. package/dist/chunks/{event-logger-a4h6pxrn.js → console-access-cdpg6eew.js} +8 -8
  138. package/dist/chunks/{event-logger-mrrgnjks.js → console-access-cpq32mrd.js} +8 -8
  139. package/dist/chunks/{event-logger-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
  140. package/dist/chunks/{event-logger-mwwjbs9t.js → console-access-cxbx7zf0.js} +9 -9
  141. package/dist/chunks/{event-logger-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
  142. package/dist/chunks/{event-logger-6kj37xtx.js → console-access-d8jrfj17.js} +2 -2
  143. package/dist/chunks/{event-logger-hee88gg0.js → console-access-dc5bdqkv.js} +11 -11
  144. package/dist/chunks/{event-logger-s1p4kfq2.js → console-access-dfp3y6d2.js} +12 -12
  145. package/dist/chunks/{event-logger-9fyhps97.js → console-access-dk3vq3c0.js} +16 -16
  146. package/dist/chunks/{event-logger-dt77769w.js → console-access-dt77769w.js} +1 -1
  147. package/dist/chunks/{event-logger-5gt6xxh0.js → console-access-dxjjehhs.js} +21 -21
  148. package/dist/chunks/{event-logger-dpjqk3bp.js → console-access-dy74atx8.js} +12 -12
  149. package/dist/chunks/{event-logger-vza0xppb.js → console-access-e1kfce1z.js} +12 -12
  150. package/dist/chunks/{event-logger-0m5d6w73.js → console-access-ejgeqqx1.js} +8 -8
  151. package/dist/chunks/{event-logger-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
  152. package/dist/chunks/{event-logger-kgfhs1vx.js → console-access-ernk41n0.js} +26 -26
  153. package/dist/chunks/{event-logger-1gs5shqp.js → console-access-evc0sp78.js} +28 -28
  154. package/dist/chunks/{event-logger-se87a3zb.js → console-access-exn36q76.js} +8 -8
  155. package/dist/chunks/{event-logger-by419q6p.js → console-access-ey1q4t6p.js} +2 -2
  156. package/dist/chunks/{event-logger-axb3jxxx.js → console-access-ez2vjmkd.js} +7 -7
  157. package/dist/chunks/{event-logger-esrbs7gn.js → console-access-ezve4deb.js} +9 -9
  158. package/dist/chunks/{event-logger-9ak383kn.js → console-access-f88gwvks.js} +332 -332
  159. package/dist/chunks/{event-logger-g7f5ghnr.js → console-access-fbf0pjvh.js} +3 -3
  160. package/dist/chunks/{event-logger-fdhgp1py.js → console-access-fdhgp1py.js} +3 -3
  161. package/dist/chunks/{event-logger-4tbkx5db.js → console-access-fnb7tsjp.js} +9 -9
  162. package/dist/chunks/{event-logger-7c0reg91.js → console-access-fpkg144f.js} +17 -17
  163. package/dist/chunks/{event-logger-xrphqft4.js → console-access-fqg2m573.js} +6 -6
  164. package/dist/chunks/{event-logger-smyjd7yt.js → console-access-frhz8x30.js} +4 -4
  165. package/dist/chunks/{event-logger-qxmvncaw.js → console-access-ftqt7vt3.js} +2 -2
  166. package/dist/chunks/{event-logger-4deandmx.js → console-access-ftynw918.js} +5 -5
  167. package/dist/chunks/{event-logger-k2xab646.js → console-access-fv6qyfge.js} +32 -32
  168. package/dist/chunks/{event-logger-53p9an57.js → console-access-fvsgbxx2.js} +5 -5
  169. package/dist/chunks/{event-logger-ah042x70.js → console-access-g1zjzx8j.js} +7 -7
  170. package/dist/chunks/{event-logger-catexwd9.js → console-access-g374vjhm.js} +13 -13
  171. package/dist/chunks/{event-logger-0y6t6xp0.js → console-access-g3qr791c.js} +28 -28
  172. package/dist/chunks/{event-logger-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
  173. package/dist/chunks/{event-logger-ghrv1g9c.js → console-access-ghrv1g9c.js} +1 -1
  174. package/dist/chunks/{event-logger-93dx00nb.js → console-access-gjb66y7t.js} +10 -10
  175. package/dist/chunks/{event-logger-2zf2xpqt.js → console-access-gjsh233h.js} +23 -23
  176. package/dist/chunks/{event-logger-zx9394z8.js → console-access-gp5gmen1.js} +20 -20
  177. package/dist/chunks/{event-logger-x3xxqp17.js → console-access-gqbyke6q.js} +54 -54
  178. package/dist/chunks/{event-logger-sepvmzyq.js → console-access-gtq409gb.js} +47 -47
  179. package/dist/chunks/{event-logger-gdjvy95e.js → console-access-gxpy42vf.js} +1 -1
  180. package/dist/chunks/console-access-hb0pk4qb.js +273 -0
  181. package/dist/chunks/{event-logger-7am2es19.js → console-access-hc4x0xtb.js} +12 -12
  182. package/dist/chunks/{event-logger-qz34r0te.js → console-access-heaknw37.js} +8 -8
  183. package/dist/chunks/{event-logger-2abvv00g.js → console-access-hf71y4w1.js} +45 -45
  184. package/dist/chunks/{event-logger-hgzwgvze.js → console-access-hgzwgvze.js} +2 -2
  185. package/dist/chunks/{event-logger-znhaxcg6.js → console-access-hnktkp4a.js} +10 -10
  186. package/dist/chunks/{event-logger-nxfezg21.js → console-access-hpwqm92y.js} +36 -36
  187. package/dist/chunks/{event-logger-vy82c25s.js → console-access-hqw1sn6r.js} +38 -38
  188. package/dist/chunks/{event-logger-qf2rejye.js → console-access-htft8eqa.js} +6 -6
  189. package/dist/chunks/{event-logger-7597v4tt.js → console-access-hvnpgnn3.js} +17 -17
  190. package/dist/chunks/{event-logger-tbkej2pm.js → console-access-j3vvtn18.js} +33 -33
  191. package/dist/chunks/{event-logger-cx8zcgr7.js → console-access-j5w8ntyc.js} +16 -16
  192. package/dist/chunks/{event-logger-c33ds09z.js → console-access-j6pwh0dw.js} +22 -22
  193. package/dist/chunks/{event-logger-jgd4e8e6.js → console-access-jgd4e8e6.js} +1 -1
  194. package/dist/chunks/{event-logger-vmxsyvj6.js → console-access-jkdcm5hg.js} +4 -4
  195. package/dist/chunks/{event-logger-jm70asfg.js → console-access-jm70asfg.js} +1 -1
  196. package/dist/chunks/{event-logger-kkb7zeg6.js → console-access-jrpm8zaa.js} +8 -8
  197. package/dist/chunks/{event-logger-9zwexsxs.js → console-access-jv5ccajn.js} +5 -5
  198. package/dist/chunks/{event-logger-6kcr5ssk.js → console-access-jvdfzba2.js} +19 -19
  199. package/dist/chunks/{event-logger-xeptqpdz.js → console-access-k661rgny.js} +5 -5
  200. package/dist/chunks/{event-logger-hjqbpbr7.js → console-access-k77m49sa.js} +16 -16
  201. package/dist/chunks/{event-logger-mk4ry4zx.js → console-access-k9m9erg6.js} +11 -11
  202. package/dist/chunks/{event-logger-cv6amnmh.js → console-access-kj9n5bvh.js} +4 -4
  203. package/dist/chunks/{event-logger-5kp10me9.js → console-access-kknh0h5t.js} +5 -5
  204. package/dist/chunks/{event-logger-9vwegfqe.js → console-access-ks82pkxv.js} +31 -31
  205. package/dist/chunks/{event-logger-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
  206. package/dist/chunks/{event-logger-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
  207. package/dist/chunks/{event-logger-xfja57t8.js → console-access-kzewrrv0.js} +9 -9
  208. package/dist/chunks/{event-logger-c0fe0nyt.js → console-access-kzkz6676.js} +4 -4
  209. package/dist/chunks/{event-logger-bf3ta493.js → console-access-m0qbf2np.js} +27 -27
  210. package/dist/chunks/{event-logger-nvct0p75.js → console-access-m12n9xkc.js} +11 -11
  211. package/dist/chunks/{event-logger-m1714858.js → console-access-m1714858.js} +1 -1
  212. package/dist/chunks/console-access-m1a893c4.js +26 -0
  213. package/dist/chunks/{event-logger-j89vgk1a.js → console-access-m6f92zzq.js} +1 -1
  214. package/dist/chunks/{event-logger-hzbj86qh.js → console-access-m6rt7d60.js} +30 -30
  215. package/dist/chunks/{event-logger-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
  216. package/dist/chunks/{event-logger-p9rtyaeb.js → console-access-mbt71hy1.js} +23 -23
  217. package/dist/chunks/{event-logger-xry6b927.js → console-access-mchqdswg.js} +19 -19
  218. package/dist/chunks/{event-logger-bdv8sqrq.js → console-access-me215f18.js} +1 -1
  219. package/dist/chunks/{event-logger-yfpk2rs8.js → console-access-mgrxab88.js} +22 -22
  220. package/dist/chunks/{event-logger-9p7wq7rp.js → console-access-mhezkrf9.js} +3 -3
  221. package/dist/chunks/{event-logger-mhs3my2j.js → console-access-mhs3my2j.js} +2 -2
  222. package/dist/chunks/{event-logger-g19nx061.js → console-access-mqfebq9k.js} +8 -8
  223. package/dist/chunks/{event-logger-msd2a3qm.js → console-access-msd2a3qm.js} +4 -4
  224. package/dist/chunks/{event-logger-n320gsn2.js → console-access-n320gsn2.js} +1 -1
  225. package/dist/chunks/{event-logger-s8qtxmzm.js → console-access-n3j33rb6.js} +6 -6
  226. package/dist/chunks/{event-logger-1eycap5a.js → console-access-n6nb2j18.js} +3 -3
  227. package/dist/chunks/{event-logger-z12eb397.js → console-access-nb781kea.js} +13 -13
  228. package/dist/chunks/{event-logger-wvabezmt.js → console-access-ngxew0f3.js} +83 -83
  229. package/dist/chunks/{event-logger-2mjpg0fh.js → console-access-nh28c849.js} +13 -13
  230. package/dist/chunks/{event-logger-qzxv1rpq.js → console-access-njsx36jc.js} +9 -9
  231. package/dist/chunks/{event-logger-nq1mg43n.js → console-access-nq1mg43n.js} +1 -1
  232. package/dist/chunks/{event-logger-yx7jjv83.js → console-access-nv9tsjma.js} +6 -6
  233. package/dist/chunks/{event-logger-cye1hsyt.js → console-access-nw6w45p3.js} +30 -30
  234. package/dist/chunks/{event-logger-wegkxhrn.js → console-access-nx4vzyjd.js} +2 -2
  235. package/dist/chunks/{event-logger-xxhqt9fy.js → console-access-nyephkv6.js} +12 -12
  236. package/dist/chunks/{event-logger-hrvwhqwx.js → console-access-nzthwq44.js} +14 -14
  237. package/dist/chunks/{event-logger-trz2ewrq.js → console-access-p3xymq4j.js} +23 -23
  238. package/dist/chunks/{event-logger-xdcpcrtr.js → console-access-p76me67c.js} +4 -4
  239. package/dist/chunks/{event-logger-2wwajzba.js → console-access-p8s1gd4s.js} +16 -16
  240. package/dist/chunks/{event-logger-a1tswj55.js → console-access-p93dxgte.js} +12 -12
  241. package/dist/chunks/{event-logger-1g59n4ke.js → console-access-pcqhjygz.js} +55 -55
  242. package/dist/chunks/{event-logger-cg7vt0tj.js → console-access-pewv95xk.js} +17 -17
  243. package/dist/chunks/{event-logger-1hpvdz46.js → console-access-pf7kx039.js} +36 -36
  244. package/dist/chunks/{event-logger-9vs0azc6.js → console-access-pfq0vz60.js} +1 -1
  245. package/dist/chunks/{event-logger-trr9tcht.js → console-access-pk967bv4.js} +133 -133
  246. package/dist/chunks/{event-logger-pknna89w.js → console-access-pknna89w.js} +1 -1
  247. package/dist/chunks/{event-logger-z9sd8dz0.js → console-access-pmdtw20k.js} +8 -8
  248. package/dist/chunks/{event-logger-6h22vkjj.js → console-access-pnysxsn1.js} +17 -17
  249. package/dist/chunks/{event-logger-fg9p65nk.js → console-access-prq7xxp2.js} +6 -6
  250. package/dist/chunks/{event-logger-ccs24sb1.js → console-access-pz30z7w0.js} +21 -21
  251. package/dist/chunks/{event-logger-tg2nrpwh.js → console-access-q114evkh.js} +12 -12
  252. package/dist/chunks/{event-logger-q42tzrxa.js → console-access-q42tzrxa.js} +1 -1
  253. package/dist/chunks/{event-logger-gprgc0ky.js → console-access-q7frhe9q.js} +11 -11
  254. package/dist/chunks/{event-logger-qc96arjj.js → console-access-qdx40m6v.js} +20 -20
  255. package/dist/chunks/{event-logger-6h8vcvjm.js → console-access-qh5g3qaw.js} +9 -9
  256. package/dist/chunks/{event-logger-e4xfbd9v.js → console-access-qmj5kb7j.js} +9 -9
  257. package/dist/chunks/{event-logger-2swc61r8.js → console-access-qn178psk.js} +11 -11
  258. package/dist/chunks/{event-logger-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
  259. package/dist/chunks/{event-logger-9gtb18mh.js → console-access-qsgy58tk.js} +23 -23
  260. package/dist/chunks/{event-logger-jprkdsj1.js → console-access-qyfjn2hj.js} +2 -2
  261. package/dist/chunks/{event-logger-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
  262. package/dist/chunks/{event-logger-4negnnh9.js → console-access-rcptnvfg.js} +20 -20
  263. package/dist/chunks/{event-logger-rgc9cx3e.js → console-access-rgc9cx3e.js} +2 -2
  264. package/dist/chunks/{event-logger-cjbr99h3.js → console-access-rrwapx1k.js} +3 -3
  265. package/dist/chunks/{event-logger-j5e9v225.js → console-access-s0ad7dsm.js} +8 -8
  266. package/dist/chunks/{event-logger-ym2p62b8.js → console-access-s1f5jhyk.js} +16 -16
  267. package/dist/chunks/{event-logger-zg6kvcwy.js → console-access-s1j5vajh.js} +21 -21
  268. package/dist/chunks/{event-logger-5whx36p1.js → console-access-s47rahr7.js} +4 -4
  269. package/dist/chunks/{event-logger-sbya78hr.js → console-access-sbya78hr.js} +1 -1
  270. package/dist/chunks/{event-logger-ppksk96r.js → console-access-skqr3ef8.js} +9 -9
  271. package/dist/chunks/{event-logger-0j7gp832.js → console-access-sqjzf8x2.js} +4 -4
  272. package/dist/chunks/{event-logger-bvzhsv1z.js → console-access-ssm7pgtt.js} +25 -25
  273. package/dist/chunks/{event-logger-1b1b2awz.js → console-access-sv7s7tsw.js} +7 -7
  274. package/dist/chunks/{event-logger-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{event-logger-phj3hdak.js → console-access-syz0tpbb.js} +11 -11
  276. package/dist/chunks/{event-logger-ee6s32g7.js → console-access-t11z612g.js} +15 -15
  277. package/dist/chunks/{event-logger-tbpn7jtk.js → console-access-tbpn7jtk.js} +1 -1
  278. package/dist/chunks/{event-logger-trvprh1b.js → console-access-tcrnav6y.js} +15 -15
  279. package/dist/chunks/{event-logger-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
  280. package/dist/chunks/{event-logger-gtq5kqdt.js → console-access-te075nf2.js} +25 -25
  281. package/dist/chunks/{event-logger-rrcsh98p.js → console-access-tearbbhv.js} +13 -13
  282. package/dist/chunks/{event-logger-wkhxkt7d.js → console-access-tf3hezvc.js} +33 -33
  283. package/dist/chunks/{event-logger-tg7s7b5t.js → console-access-tg7s7b5t.js} +1 -1
  284. package/dist/chunks/{event-logger-srns3bm7.js → console-access-tpga7phq.js} +4 -4
  285. package/dist/chunks/{event-logger-tr8x705m.js → console-access-tr8x705m.js} +1 -1
  286. package/dist/chunks/{event-logger-tvtps2q9.js → console-access-tvtps2q9.js} +1 -1
  287. package/dist/chunks/{event-logger-twssxy5n.js → console-access-twssxy5n.js} +2 -2
  288. package/dist/chunks/{event-logger-y57z4ty1.js → console-access-txa287bv.js} +4 -4
  289. package/dist/chunks/{event-logger-2nbc4y74.js → console-access-txz9rewy.js} +22 -22
  290. package/dist/chunks/{event-logger-9rgr5dz2.js → console-access-tycv7n3a.js} +6 -6
  291. package/dist/chunks/{event-logger-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
  292. package/dist/chunks/{event-logger-1405v0ft.js → console-access-v7myxbq2.js} +3 -3
  293. package/dist/chunks/{event-logger-czva0sbq.js → console-access-v9x3g7mt.js} +3 -3
  294. package/dist/chunks/{event-logger-cv4f6p3s.js → console-access-vb4j4pxq.js} +35 -35
  295. package/dist/chunks/{event-logger-k8dmzv23.js → console-access-vd2hy105.js} +2 -2
  296. package/dist/chunks/{event-logger-mm9k1f5d.js → console-access-vegy9rbt.js} +33 -33
  297. package/dist/chunks/{event-logger-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{event-logger-1wwn04ne.js → console-access-w1vfdhmh.js} +4 -4
  299. package/dist/chunks/{event-logger-w2eysc6j.js → console-access-w2eysc6j.js} +2 -2
  300. package/dist/chunks/{event-logger-pkh610ny.js → console-access-w2ym4xxz.js} +15 -15
  301. package/dist/chunks/{event-logger-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
  302. package/dist/chunks/{event-logger-w4xw9ac5.js → console-access-w4xw9ac5.js} +2 -2
  303. package/dist/chunks/{event-logger-rqzcywgp.js → console-access-w6vn3rjm.js} +17 -17
  304. package/dist/chunks/{event-logger-v0t96s7a.js → console-access-w79nt68w.js} +4 -4
  305. package/dist/chunks/{event-logger-gqm2znwx.js → console-access-w8bxj784.js} +13 -13
  306. package/dist/chunks/{event-logger-j7qckhxk.js → console-access-w9bhmwnd.js} +31 -31
  307. package/dist/chunks/{event-logger-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
  308. package/dist/chunks/{event-logger-9abc2hvj.js → console-access-wat1f99y.js} +2 -2
  309. package/dist/chunks/{event-logger-wd87259q.js → console-access-wd87259q.js} +1 -1
  310. package/dist/chunks/{event-logger-1fjzrn8a.js → console-access-wfdx5ztx.js} +4 -4
  311. package/dist/chunks/{event-logger-rbjr7pjh.js → console-access-wp3gwd43.js} +11 -11
  312. package/dist/chunks/{event-logger-wr3re1en.js → console-access-wr3re1en.js} +1 -1
  313. package/dist/chunks/{event-logger-3djr6w5h.js → console-access-wtys11e1.js} +37 -37
  314. package/dist/chunks/{event-logger-pk1r23xg.js → console-access-wvtzz06b.js} +6 -6
  315. package/dist/chunks/{event-logger-xs3mct42.js → console-access-wyas8mex.js} +33 -33
  316. package/dist/chunks/{event-logger-8eabsqma.js → console-access-x28ajtxe.js} +19 -19
  317. package/dist/chunks/{event-logger-nxa9bacs.js → console-access-x5taj672.js} +18 -18
  318. package/dist/chunks/{event-logger-17g4yjgf.js → console-access-x64nxesj.js} +14 -14
  319. package/dist/chunks/{event-logger-xacrkbdt.js → console-access-xacrkbdt.js} +1 -1
  320. package/dist/chunks/{event-logger-jpyh1hye.js → console-access-xc0zwvrt.js} +6 -6
  321. package/dist/chunks/{event-logger-0n720z3p.js → console-access-xjk1b0d0.js} +5 -5
  322. package/dist/chunks/{event-logger-204pt6zy.js → console-access-xjspp0nm.js} +18 -18
  323. package/dist/chunks/{event-logger-nqapd17g.js → console-access-xksyjy3w.js} +10 -10
  324. package/dist/chunks/{event-logger-cpvd08na.js → console-access-xmx7xj34.js} +4 -4
  325. package/dist/chunks/{event-logger-nve6e534.js → console-access-xp4xtpmf.js} +1 -1
  326. package/dist/chunks/{event-logger-9a4z6g6v.js → console-access-xthwf30d.js} +20 -20
  327. package/dist/chunks/{event-logger-e309devy.js → console-access-xxdprspw.js} +6 -6
  328. package/dist/chunks/{event-logger-xxschbft.js → console-access-xxschbft.js} +1 -1
  329. package/dist/chunks/{event-logger-sbfaben9.js → console-access-xzhs6mgn.js} +9 -9
  330. package/dist/chunks/{event-logger-vm8c1d8g.js → console-access-y2n4a3qg.js} +18 -18
  331. package/dist/chunks/{event-logger-9qnbq3vx.js → console-access-y6tapfg7.js} +37 -37
  332. package/dist/chunks/{event-logger-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
  333. package/dist/chunks/{event-logger-7nb8tm12.js → console-access-ynzdgah7.js} +5 -5
  334. package/dist/chunks/{event-logger-qgpgzdea.js → console-access-yqnmpmgy.js} +9 -9
  335. package/dist/chunks/{event-logger-yr705xyq.js → console-access-yr705xyq.js} +1 -1
  336. package/dist/chunks/{event-logger-23e53c96.js → console-access-yryfg5wr.js} +4 -4
  337. package/dist/chunks/{event-logger-236v01y4.js → console-access-ysm1ew58.js} +17 -17
  338. package/dist/chunks/{event-logger-yts2a8qm.js → console-access-yts2a8qm.js} +1 -1
  339. package/dist/chunks/{event-logger-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
  340. package/dist/chunks/{event-logger-12ty16e5.js → console-access-z46n0fxw.js} +2 -2
  341. package/dist/chunks/{event-logger-yyn6663f.js → console-access-z4gjsd04.js} +7 -7
  342. package/dist/chunks/{event-logger-7r8fsv9c.js → console-access-z6g4szpb.js} +8 -8
  343. package/dist/chunks/{event-logger-ze75qvmd.js → console-access-ze75qvmd.js} +3 -3
  344. package/dist/chunks/{event-logger-vnyym5w5.js → console-access-zeyczbcm.js} +17 -17
  345. package/dist/chunks/{event-logger-bvb1sd0r.js → console-access-znv913nb.js} +9 -9
  346. package/dist/chunks/{event-logger-by9evpeq.js → console-access-zshnqxfx.js} +83 -83
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +3 -3
  349. package/dist/codemode/fetch.js +148 -148
  350. package/dist/codemode/instructions.js +7 -7
  351. package/dist/codemode/tool.js +155 -155
  352. package/dist/command.js +94 -94
  353. package/dist/config/discovery.js +95 -95
  354. package/dist/config/integration.js +1 -1
  355. package/dist/config/managed.js +1 -1
  356. package/dist/config/markdown.js +1 -1
  357. package/dist/config/normalize.js +112 -112
  358. package/dist/config/plugin/agent.js +131 -131
  359. package/dist/config/plugin/command.js +239 -239
  360. package/dist/config/plugin/compaction.js +173 -173
  361. package/dist/config/plugin/compatibility.js +153 -153
  362. package/dist/config/plugin/entry-observer.js +1 -1
  363. package/dist/config/plugin/formatter.js +131 -131
  364. package/dist/config/plugin/image.js +130 -130
  365. package/dist/config/plugin/instruction.js +130 -130
  366. package/dist/config/plugin/location-watcher.js +130 -130
  367. package/dist/config/plugin/mcp.js +141 -141
  368. package/dist/config/plugin/policy.js +130 -130
  369. package/dist/config/plugin/provider.js +130 -130
  370. package/dist/config/plugin/reference.js +132 -132
  371. package/dist/config/plugin/shell.js +130 -130
  372. package/dist/config/plugin/skill-file.js +149 -149
  373. package/dist/config/plugin/skill-scan.js +1 -1
  374. package/dist/config/plugin/skill.js +154 -154
  375. package/dist/config/plugin/snapshot.js +130 -130
  376. package/dist/config/plugin/source.js +128 -128
  377. package/dist/config/plugin/tool-output.js +131 -131
  378. package/dist/config/plugin/websearch.js +129 -129
  379. package/dist/config/plugin/worktree.js +132 -132
  380. package/dist/config/variable.js +1 -1
  381. package/dist/config/watch.js +1 -1
  382. package/dist/config.js +125 -125
  383. package/dist/console-access.js +1 -1
  384. package/dist/credential/sql.js +2 -2
  385. package/dist/credential.js +94 -94
  386. package/dist/database/batch.js +1 -1
  387. package/dist/database/database.js +81 -81
  388. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  389. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  390. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  391. package/dist/database/drizzle/index.js +15 -15
  392. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  394. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  395. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  396. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  397. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  398. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  402. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  403. package/dist/database/drizzle.js +16 -16
  404. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  405. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  406. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  407. package/dist/database/migration/20260225215848_workspace.js +1 -1
  408. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  409. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  410. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  411. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  412. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  413. package/dist/database/migration/20260323234822_events.js +1 -1
  414. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  415. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  416. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  417. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  418. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  419. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  420. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  421. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  422. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  423. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  424. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  425. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  426. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  427. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  428. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  429. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  430. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  431. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  432. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  433. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  434. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  435. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  436. package/dist/database/migration/20260611035744_credential.js +1 -1
  437. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  438. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  439. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  440. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  441. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  442. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  443. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  444. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  445. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  446. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  447. package/dist/database/migration/20260812213948_worktree.js +1 -1
  448. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  449. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  450. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  451. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  452. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  453. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  454. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  455. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  456. package/dist/database/migration/20261025123711_blob.js +1 -1
  457. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  458. package/dist/database/migration/20261026223005_schedule.js +1 -1
  459. package/dist/database/migration/20261029002625_session_part.js +1 -1
  460. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  461. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  462. package/dist/database/migration/20261030054400_job.js +1 -1
  463. package/dist/database/migration.gen.js +60 -60
  464. package/dist/database/migration.js +76 -76
  465. package/dist/database/path.js +2 -2
  466. package/dist/database/schema.gen.js +1 -1
  467. package/dist/database/schema.sql.js +1 -1
  468. package/dist/database/v1-migration.bun.js +101 -101
  469. package/dist/effect/app-node-builder.js +441 -441
  470. package/dist/effect/app-node-platform.js +2 -2
  471. package/dist/effect/keyed-mutex.js +3 -3
  472. package/dist/effect/websocket-constructor.js +1 -1
  473. package/dist/environment/driver.js +1 -1
  474. package/dist/environment/environment.js +105 -105
  475. package/dist/environment/exec-defaults.js +2 -2
  476. package/dist/environment/files.js +1 -1
  477. package/dist/environment/index.js +107 -107
  478. package/dist/environment/local.js +2 -2
  479. package/dist/environment/memory.js +2 -2
  480. package/dist/environment/unavailable.js +1 -1
  481. package/dist/event/sql.js +1 -1
  482. package/dist/event-logger.js +85 -85
  483. package/dist/file-access.js +160 -160
  484. package/dist/file-mutation.js +108 -108
  485. package/dist/file-retention.js +1 -1
  486. package/dist/file-write.js +160 -160
  487. package/dist/filesystem/fff.bun.js +2 -2
  488. package/dist/filesystem/fff.js +1 -1
  489. package/dist/filesystem/fff.node.js +2 -2
  490. package/dist/filesystem/fff.workerd.js +2 -2
  491. package/dist/filesystem/file-watch.js +88 -88
  492. package/dist/filesystem/location-watcher-policy.js +6 -6
  493. package/dist/filesystem/location-watcher.js +252 -252
  494. package/dist/filesystem/protected.js +1 -1
  495. package/dist/filesystem/search.js +111 -111
  496. package/dist/filesystem/watcher-binding.js +1 -1
  497. package/dist/filesystem/watcher.js +3 -3
  498. package/dist/filesystem.js +114 -114
  499. package/dist/flag.js +131 -131
  500. package/dist/form.js +91 -91
  501. package/dist/formatter/builtins.js +2 -2
  502. package/dist/formatter.js +100 -100
  503. package/dist/generate.js +120 -120
  504. package/dist/git.js +11 -11
  505. package/dist/github-copilot/models.js +104 -104
  506. package/dist/image/notice.js +3 -3
  507. package/dist/image/photon-normalize.js +1 -1
  508. package/dist/image/photon-worker.js +1 -1
  509. package/dist/image/photon.js +4 -4
  510. package/dist/image.js +6 -6
  511. package/dist/instance/service.js +5 -5
  512. package/dist/instance.js +432 -432
  513. package/dist/instruction-discovery.js +97 -97
  514. package/dist/instructions/builtins.js +100 -100
  515. package/dist/instructions/index.js +5 -5
  516. package/dist/integration/connection.js +1 -1
  517. package/dist/integration.js +88 -88
  518. package/dist/job/list.js +7 -7
  519. package/dist/job/recovery.js +2 -2
  520. package/dist/job/sql.js +2 -2
  521. package/dist/job.js +90 -90
  522. package/dist/kv/sql.js +2 -2
  523. package/dist/kv.js +80 -80
  524. package/dist/location-activity.js +183 -183
  525. package/dist/location-lifecycle.js +153 -153
  526. package/dist/location-service-map.js +99 -99
  527. package/dist/location-services.js +429 -429
  528. package/dist/location.js +94 -94
  529. package/dist/managed-policy.js +3 -3
  530. package/dist/mcp/client.js +158 -158
  531. package/dist/mcp/connection.js +104 -104
  532. package/dist/mcp/index.js +126 -126
  533. package/dist/mcp/instructions.js +189 -189
  534. package/dist/mcp/oauth.js +89 -89
  535. package/dist/mcp/pool.js +112 -112
  536. package/dist/mcp/socket-client.js +1 -1
  537. package/dist/mcp/stdio.js +157 -157
  538. package/dist/mime.js +1 -1
  539. package/dist/modal/models.js +104 -104
  540. package/dist/model-resolver.js +112 -112
  541. package/dist/model-retry.js +1 -1
  542. package/dist/model.js +103 -103
  543. package/dist/models-dev/v1.js +1 -1
  544. package/dist/models-dev.js +115 -115
  545. package/dist/oauth/page.js +1 -1
  546. package/dist/permission/saved.js +93 -93
  547. package/dist/permission/sql.js +5 -5
  548. package/dist/permission.js +156 -156
  549. package/dist/persistent-pty/binary.bun.js +1 -1
  550. package/dist/persistent-pty/daemon.js +1 -1
  551. package/dist/persistent-pty/index.js +99 -99
  552. package/dist/persistent-pty/pty-binding.js +1 -1
  553. package/dist/persistent-pty.js +86 -86
  554. package/dist/plugin/agent.js +85 -85
  555. package/dist/plugin/command.js +117 -117
  556. package/dist/plugin/goal.js +3 -3
  557. package/dist/plugin/hooks.js +5 -5
  558. package/dist/plugin/host.js +245 -245
  559. package/dist/plugin/identity.js +3 -3
  560. package/dist/plugin/instance.js +5 -5
  561. package/dist/plugin/internal.js +408 -408
  562. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  563. package/dist/plugin/models-dev.js +110 -110
  564. package/dist/plugin/module.js +127 -127
  565. package/dist/plugin/optimize.js +2 -2
  566. package/dist/plugin/plan.js +147 -147
  567. package/dist/plugin/promise.js +1 -1
  568. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  569. package/dist/plugin/provider/azure.js +131 -131
  570. package/dist/plugin/provider/cerebras.js +1 -1
  571. package/dist/plugin/provider/chatgpt.js +133 -133
  572. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  573. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  574. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  575. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  576. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  577. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  578. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  579. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  580. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  581. package/dist/plugin/provider/claude-agent/index.js +146 -146
  582. package/dist/plugin/provider/claude-agent/instructions.js +110 -110
  583. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  584. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  585. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  586. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  587. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  588. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  589. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  590. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  591. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  592. package/dist/plugin/provider/claude-agent/session.js +110 -110
  593. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  594. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  595. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  596. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  597. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  598. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  599. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  600. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  601. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  602. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  603. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  604. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  605. package/dist/plugin/provider/configured.js +126 -126
  606. package/dist/plugin/provider/credential-settings.js +88 -88
  607. package/dist/plugin/provider/databricks.js +1 -1
  608. package/dist/plugin/provider/digitalocean.js +109 -109
  609. package/dist/plugin/provider/dynamic.js +2 -2
  610. package/dist/plugin/provider/github-copilot.js +111 -111
  611. package/dist/plugin/provider/gitlab.js +109 -109
  612. package/dist/plugin/provider/google-vertex.js +127 -127
  613. package/dist/plugin/provider/kilo.js +1 -1
  614. package/dist/plugin/provider/llmgateway.js +89 -89
  615. package/dist/plugin/provider/lmstudio.js +140 -140
  616. package/dist/plugin/provider/local.js +137 -137
  617. package/dist/plugin/provider/modal.js +108 -108
  618. package/dist/plugin/provider/neon.js +1 -1
  619. package/dist/plugin/provider/nvidia.js +1 -1
  620. package/dist/plugin/provider/ollama.js +140 -140
  621. package/dist/plugin/provider/openai-context-caps.js +106 -106
  622. package/dist/plugin/provider/openai.js +133 -133
  623. package/dist/plugin/provider/opencode-watches.js +2 -2
  624. package/dist/plugin/provider/opencode.js +161 -161
  625. package/dist/plugin/provider/openrouter.js +104 -104
  626. package/dist/plugin/provider/poe.js +90 -90
  627. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  628. package/dist/plugin/provider/refresh.js +87 -87
  629. package/dist/plugin/provider/sap-ai-core.js +104 -104
  630. package/dist/plugin/provider/sdk-factory.js +1 -1
  631. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  632. package/dist/plugin/provider/vllm.js +138 -138
  633. package/dist/plugin/provider/xai.js +104 -104
  634. package/dist/plugin/provider/zenmux.js +1 -1
  635. package/dist/plugin/provider.js +239 -239
  636. package/dist/plugin/sdk.js +85 -85
  637. package/dist/plugin/service.js +3 -3
  638. package/dist/plugin/skill.js +150 -150
  639. package/dist/plugin/source-directory.js +1 -1
  640. package/dist/plugin/supervisor.js +416 -416
  641. package/dist/plugin/tool-input-repair.js +4 -4
  642. package/dist/plugin/update.js +6 -6
  643. package/dist/plugin/vcs/git.js +99 -99
  644. package/dist/plugin/vcs/hg.js +99 -99
  645. package/dist/plugin/verbosity.js +104 -104
  646. package/dist/plugin/warming.js +130 -130
  647. package/dist/plugin/websearch/exa.js +4 -4
  648. package/dist/plugin/websearch/firecrawl.js +9 -9
  649. package/dist/plugin/websearch/index.js +10 -10
  650. package/dist/plugin/websearch/mcp.js +2 -2
  651. package/dist/plugin/websearch/parallel.js +7 -7
  652. package/dist/plugin/websearch/provider.js +1 -1
  653. package/dist/plugin/websearch/tavily.js +7 -7
  654. package/dist/plugin/websearch/tinyfish.js +5 -5
  655. package/dist/plugin.js +254 -254
  656. package/dist/project/icon.js +5 -5
  657. package/dist/project/schema.js +2 -2
  658. package/dist/project/sql.js +4 -4
  659. package/dist/project.js +93 -93
  660. package/dist/provider.js +102 -102
  661. package/dist/pty/protocol.js +1 -1
  662. package/dist/pty/ticket.js +1 -1
  663. package/dist/pty.js +113 -113
  664. package/dist/reference/instructions.js +101 -101
  665. package/dist/reference.js +99 -99
  666. package/dist/repository-cache.js +93 -93
  667. package/dist/repository.js +1 -1
  668. package/dist/ripgrep/binary.js +2 -2
  669. package/dist/ripgrep.js +111 -111
  670. package/dist/rpc.js +99 -99
  671. package/dist/schedule/check.js +250 -250
  672. package/dist/schedule/sql.js +6 -6
  673. package/dist/schedule.js +258 -258
  674. package/dist/schema.js +1 -1
  675. package/dist/session/affinity.js +1 -1
  676. package/dist/session/background.js +1 -1
  677. package/dist/session/blob.js +134 -134
  678. package/dist/session/command.js +85 -85
  679. package/dist/session/compaction.js +173 -173
  680. package/dist/session/context.js +205 -205
  681. package/dist/session/diff.js +101 -101
  682. package/dist/session/environment.js +5 -5
  683. package/dist/session/error.js +5 -5
  684. package/dist/session/event.js +1 -1
  685. package/dist/session/execution/restart.js +255 -255
  686. package/dist/session/execution.js +171 -171
  687. package/dist/session/generate.js +205 -205
  688. package/dist/session/history.js +139 -139
  689. package/dist/session/inbox.js +150 -150
  690. package/dist/session/info.js +3 -3
  691. package/dist/session/instruction-entry.js +88 -88
  692. package/dist/session/instruction-state.js +8 -8
  693. package/dist/session/instructions.js +144 -144
  694. package/dist/session/message-updater.js +2 -2
  695. package/dist/session/message.js +1 -1
  696. package/dist/session/model-request.js +171 -171
  697. package/dist/session/model-transport.js +9 -9
  698. package/dist/session/move.js +171 -171
  699. package/dist/session/projector.js +146 -146
  700. package/dist/session/prompt.js +151 -151
  701. package/dist/session/recent-text.js +1 -1
  702. package/dist/session/revert.js +142 -142
  703. package/dist/session/run-coordinator.js +3 -3
  704. package/dist/session/runner/index.js +3 -3
  705. package/dist/session/runner/llm.js +258 -258
  706. package/dist/session/runner/max-steps.js +1 -1
  707. package/dist/session/runner/model.js +114 -114
  708. package/dist/session/runner/publish-llm-event.js +153 -153
  709. package/dist/session/runner/retry.js +3 -3
  710. package/dist/session/runner/step.js +164 -164
  711. package/dist/session/runner/to-llm-message.js +140 -140
  712. package/dist/session/schema.js +5 -5
  713. package/dist/session/session.js +188 -188
  714. package/dist/session/shell.js +145 -145
  715. package/dist/session/skill.js +150 -150
  716. package/dist/session/sql.js +5 -5
  717. package/dist/session/stats.js +87 -87
  718. package/dist/session/store.js +145 -145
  719. package/dist/session/stored.js +4 -4
  720. package/dist/session/subagent-completion.js +3 -3
  721. package/dist/session/subagent-job.js +238 -238
  722. package/dist/session/system-prompt.js +1 -1
  723. package/dist/session/title.js +207 -207
  724. package/dist/session/to-session-error.js +152 -152
  725. package/dist/session/transfer.js +251 -251
  726. package/dist/session/usage.js +1 -1
  727. package/dist/session.js +244 -244
  728. package/dist/shared-cache.js +5 -5
  729. package/dist/shell/parse.js +6 -6
  730. package/dist/shell/result.js +1 -1
  731. package/dist/shell/scan.js +1 -1
  732. package/dist/shell/select.js +11 -11
  733. package/dist/shell.js +147 -147
  734. package/dist/skill/discovery.js +2 -2
  735. package/dist/skill/instructions.js +152 -152
  736. package/dist/skill.js +155 -155
  737. package/dist/snapshot.js +106 -106
  738. package/dist/state.js +1 -1
  739. package/dist/tool/html-markdown.js +1 -1
  740. package/dist/tool/http-body.js +1 -1
  741. package/dist/tool/mcp.js +188 -188
  742. package/dist/tool/plugin/artifact.js +237 -237
  743. package/dist/tool/plugin/edit.js +168 -168
  744. package/dist/tool/plugin/file-diff.js +1 -1
  745. package/dist/tool/plugin/glob.js +172 -172
  746. package/dist/tool/plugin/grep.js +173 -173
  747. package/dist/tool/plugin/image-generate.js +248 -248
  748. package/dist/tool/plugin/mcp-resource.js +169 -169
  749. package/dist/tool/plugin/opencode.js +166 -166
  750. package/dist/tool/plugin/patch.js +171 -171
  751. package/dist/tool/plugin/question.js +151 -151
  752. package/dist/tool/plugin/read.js +175 -175
  753. package/dist/tool/plugin/schedule.js +256 -256
  754. package/dist/tool/plugin/shell.js +242 -242
  755. package/dist/tool/plugin/skill.js +156 -156
  756. package/dist/tool/plugin/subagent.js +241 -241
  757. package/dist/tool/plugin/todo.js +156 -156
  758. package/dist/tool/plugin/webfetch.js +158 -158
  759. package/dist/tool/plugin/websearch.js +156 -156
  760. package/dist/tool/plugin/write.js +171 -171
  761. package/dist/tool/read-filesystem.js +114 -114
  762. package/dist/tool/runtime.js +1 -1
  763. package/dist/tool/search.js +109 -109
  764. package/dist/tool-output.js +7 -7
  765. package/dist/tool.js +161 -161
  766. package/dist/usage-limits.js +96 -96
  767. package/dist/util/error-summary.js +1 -1
  768. package/dist/util/git-executable.js +3 -3
  769. package/dist/util/lazy.js +1 -1
  770. package/dist/util/slug.js +1 -1
  771. package/dist/util/token.js +1 -1
  772. package/dist/util/which.js +1 -1
  773. package/dist/util/wildcard.js +1 -1
  774. package/dist/v1/config/agent.js +3 -3
  775. package/dist/v1/config/command.js +3 -3
  776. package/dist/v1/config/mcp.js +4 -4
  777. package/dist/v1/config/migrate.js +105 -105
  778. package/dist/v1/config/permission.js +3 -3
  779. package/dist/v1/config/plugin.js +1 -1
  780. package/dist/v1/config/provider-options.js +1 -1
  781. package/dist/v1/config/provider.js +4 -4
  782. package/dist/variant.js +104 -104
  783. package/dist/vcs/patch.js +1 -1
  784. package/dist/vcs.js +102 -102
  785. package/dist/voice.js +101 -101
  786. package/dist/websearch.js +101 -101
  787. package/dist/wellknown/plugin.js +87 -87
  788. package/dist/wellknown.js +84 -84
  789. package/dist/workspace/driver.js +5 -5
  790. package/dist/workspace/sql.js +1 -1
  791. package/dist/workspace.js +93 -93
  792. package/dist/worktree/directory.js +2 -2
  793. package/dist/worktree/git.js +9 -9
  794. package/dist/worktree/sql.js +5 -5
  795. package/dist/worktree/strategies.js +102 -102
  796. package/dist/worktree.js +109 -109
  797. package/package.json +8 -8
  798. package/dist/chunks/event-logger-atydkx9v.js +0 -26
  799. package/dist/chunks/event-logger-mmv9rrab.js +0 -273
  800. package/dist/chunks/event-logger-qmh7vbk2.js +0 -18
  801. /package/dist/chunks/{event-logger-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
  802. /package/dist/chunks/{event-logger-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
  803. /package/dist/chunks/{event-logger-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
  804. /package/dist/chunks/{event-logger-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
  805. /package/dist/chunks/{event-logger-1kah00gy.js → console-access-1kah00gy.js} +0 -0
  806. /package/dist/chunks/{event-logger-24dcb14g.js → console-access-24dcb14g.js} +0 -0
  807. /package/dist/chunks/{event-logger-2710q6r3.js → console-access-2710q6r3.js} +0 -0
  808. /package/dist/chunks/{event-logger-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
  809. /package/dist/chunks/{event-logger-359p4xyc.js → console-access-359p4xyc.js} +0 -0
  810. /package/dist/chunks/{event-logger-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
  811. /package/dist/chunks/{event-logger-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
  812. /package/dist/chunks/{event-logger-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
  813. /package/dist/chunks/{event-logger-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
  814. /package/dist/chunks/{event-logger-53557ph1.js → console-access-53557ph1.js} +0 -0
  815. /package/dist/chunks/{event-logger-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
  816. /package/dist/chunks/{event-logger-6agm2x70.js → console-access-6agm2x70.js} +0 -0
  817. /package/dist/chunks/{event-logger-6prwharc.js → console-access-6prwharc.js} +0 -0
  818. /package/dist/chunks/{event-logger-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
  819. /package/dist/chunks/{event-logger-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
  820. /package/dist/chunks/{event-logger-7m9af43g.js → console-access-7m9af43g.js} +0 -0
  821. /package/dist/chunks/{event-logger-822emrt2.js → console-access-822emrt2.js} +0 -0
  822. /package/dist/chunks/{event-logger-84wd9syh.js → console-access-84wd9syh.js} +0 -0
  823. /package/dist/chunks/{event-logger-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
  824. /package/dist/chunks/{event-logger-8n3pysct.js → console-access-8n3pysct.js} +0 -0
  825. /package/dist/chunks/{event-logger-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
  826. /package/dist/chunks/{event-logger-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
  827. /package/dist/chunks/{event-logger-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
  828. /package/dist/chunks/{event-logger-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
  829. /package/dist/chunks/{event-logger-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
  830. /package/dist/chunks/{event-logger-beh6qq61.js → console-access-beh6qq61.js} +0 -0
  831. /package/dist/chunks/{event-logger-bhmrqjy3.js → console-access-bhmrqjy3.js} +0 -0
  832. /package/dist/chunks/{event-logger-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
  833. /package/dist/chunks/{event-logger-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
  834. /package/dist/chunks/{event-logger-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
  835. /package/dist/chunks/{event-logger-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
  836. /package/dist/chunks/{event-logger-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
  837. /package/dist/chunks/{event-logger-d9fn303g.js → console-access-d9fn303g.js} +0 -0
  838. /package/dist/chunks/{event-logger-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
  839. /package/dist/chunks/{event-logger-df08tz66.js → console-access-df08tz66.js} +0 -0
  840. /package/dist/chunks/{event-logger-dy18nga0.js → console-access-dy18nga0.js} +0 -0
  841. /package/dist/chunks/{event-logger-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
  842. /package/dist/chunks/{event-logger-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
  843. /package/dist/chunks/{event-logger-ec1grn59.js → console-access-ec1grn59.js} +0 -0
  844. /package/dist/chunks/{event-logger-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
  845. /package/dist/chunks/{event-logger-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
  846. /package/dist/chunks/{event-logger-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
  847. /package/dist/chunks/{event-logger-faypxj3z.js → console-access-faypxj3z.js} +0 -0
  848. /package/dist/chunks/{event-logger-fd410y7t.js → console-access-fd410y7t.js} +0 -0
  849. /package/dist/chunks/{event-logger-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
  850. /package/dist/chunks/{event-logger-g86h250q.js → console-access-g86h250q.js} +0 -0
  851. /package/dist/chunks/{event-logger-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
  852. /package/dist/chunks/{event-logger-gftt206x.js → console-access-gftt206x.js} +0 -0
  853. /package/dist/chunks/{event-logger-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
  854. /package/dist/chunks/{event-logger-hk9envan.js → console-access-hk9envan.js} +0 -0
  855. /package/dist/chunks/{event-logger-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
  856. /package/dist/chunks/{event-logger-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
  857. /package/dist/chunks/{event-logger-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
  858. /package/dist/chunks/{event-logger-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
  859. /package/dist/chunks/{event-logger-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
  860. /package/dist/chunks/{event-logger-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
  861. /package/dist/chunks/{event-logger-m18g726c.js → console-access-m18g726c.js} +0 -0
  862. /package/dist/chunks/{event-logger-mp448xyj.js → console-access-mp448xyj.js} +0 -0
  863. /package/dist/chunks/{event-logger-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
  864. /package/dist/chunks/{event-logger-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
  865. /package/dist/chunks/{event-logger-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
  866. /package/dist/chunks/{event-logger-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
  867. /package/dist/chunks/{event-logger-njntx4h6.js → console-access-njntx4h6.js} +0 -0
  868. /package/dist/chunks/{event-logger-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
  869. /package/dist/chunks/{event-logger-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
  870. /package/dist/chunks/{event-logger-q74kybfr.js → console-access-q74kybfr.js} +0 -0
  871. /package/dist/chunks/{event-logger-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
  872. /package/dist/chunks/{event-logger-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
  873. /package/dist/chunks/{event-logger-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
  874. /package/dist/chunks/{event-logger-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
  875. /package/dist/chunks/{event-logger-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
  876. /package/dist/chunks/{event-logger-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
  877. /package/dist/chunks/{event-logger-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
  878. /package/dist/chunks/{event-logger-syrav9an.js → console-access-syrav9an.js} +0 -0
  879. /package/dist/chunks/{event-logger-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
  880. /package/dist/chunks/{event-logger-ty7weeps.js → console-access-ty7weeps.js} +0 -0
  881. /package/dist/chunks/{event-logger-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
  882. /package/dist/chunks/{event-logger-vtarvj67.js → console-access-vtarvj67.js} +0 -0
  883. /package/dist/chunks/{event-logger-w803qqfp.js → console-access-w803qqfp.js} +0 -0
  884. /package/dist/chunks/{event-logger-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
  885. /package/dist/chunks/{event-logger-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
  886. /package/dist/chunks/{event-logger-wtztk69x.js → console-access-wtztk69x.js} +0 -0
  887. /package/dist/chunks/{event-logger-x4th4bpe.js → console-access-x4th4bpe.js} +0 -0
  888. /package/dist/chunks/{event-logger-y44na4kk.js → console-access-y44na4kk.js} +0 -0
  889. /package/dist/chunks/{event-logger-y8f7s663.js → console-access-y8f7s663.js} +0 -0
  890. /package/dist/chunks/{event-logger-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
  891. /package/dist/chunks/{event-logger-z0h12gs8.js → console-access-z0h12gs8.js} +0 -0
  892. /package/dist/chunks/{event-logger-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
  893. /package/dist/chunks/{event-logger-z9919s4g.js → console-access-z9919s4g.js} +0 -0
  894. /package/dist/chunks/{event-logger-zxpyjp51.js → console-access-zxpyjp51.js} +0 -0
  895. /package/dist/chunks/{event-logger-zz5vv3aq.js → console-access-zz5vv3aq.js} +0 -0
@@ -1,65 +1,65 @@
1
1
  import {
2
- Service93,
3
- node95
4
- } from "./event-logger-cx8zcgr7.js";
2
+ Service92,
3
+ node94
4
+ } from "./console-access-j5w8ntyc.js";
5
5
  import {
6
6
  lazy2
7
- } from "./event-logger-88xbtdfr.js";
7
+ } from "./console-access-88xbtdfr.js";
8
8
  import {
9
9
  Service90,
10
10
  node92
11
- } from "./event-logger-9abc2hvj.js";
11
+ } from "./console-access-wat1f99y.js";
12
12
  import {
13
- Service61,
13
+ Service74,
14
14
  login2,
15
- node64
16
- } from "./event-logger-fck9h0f5.js";
15
+ node75
16
+ } from "./console-access-1j62qemv.js";
17
17
  import {
18
18
  __export
19
- } from "./event-logger-9rqn6x4v.js";
19
+ } from "./console-access-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput3,
25
- Event: () => Event3,
24
+ CreateInput: () => CreateInput5,
25
+ Event: () => Event7,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID5,
28
- Info: () => Info4,
29
- NotFoundError: () => NotFoundError3,
27
+ ID: () => ID8,
28
+ Info: () => Info8,
29
+ NotFoundError: () => NotFoundError5,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service17,
32
- UpdateInput: () => UpdateInput2,
33
- node: () => node19
31
+ Service: () => Service25,
32
+ UpdateInput: () => UpdateInput3,
33
+ node: () => node28
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event3 } from "@opencode/schema/pty";
38
+ import { Event as Event7 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID5 = Pty.ID;
43
- var Info4 = Pty.Info;
44
- var CreateInput3 = Pty.CreateInput;
45
- var UpdateInput2 = Pty.UpdateInput;
42
+ var ID8 = Pty.ID;
43
+ var Info8 = Pty.Info;
44
+ var CreateInput5 = Pty.CreateInput;
45
+ var UpdateInput3 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID5
47
+ class NotFoundError5 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID8
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID5
53
+ ptyID: ID8
54
54
  }) {
55
55
  }
56
56
 
57
- class Service17 extends Context.Service()("@opencode/Pty") {
57
+ class Service25 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service17, Effect.gen(function* () {
60
- const bus = yield* Service93;
59
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
60
+ const bus = yield* Service92;
61
61
  const location = yield* Service90;
62
- const shell = yield* Service61;
62
+ const shell = yield* Service74;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError3({ ptyID: id });
99
+ return yield* new NotFoundError5({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID5.ascending();
125
+ const id = ID8.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -255,12 +255,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
255
255
  }
256
256
  };
257
257
  });
258
- return Service17.of({ list, get, create, update, remove, write, attach });
258
+ return Service25.of({ list, get, create, update, remove, write, attach });
259
259
  }));
260
- var node19 = makeLocationNode({
261
- service: Service17,
260
+ var node28 = makeLocationNode({
261
+ service: Service25,
262
262
  layer,
263
- deps: [node95, node92, node64]
263
+ deps: [node94, node92, node75]
264
264
  });
265
265
 
266
- export { ID5, Info4, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service17, node19, exports_pty, Event3 };
266
+ export { ID8, Info8, CreateInput5, UpdateInput3, NotFoundError5, ExitedError2, Service25, node28, exports_pty, Event7 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service94,
3
- node96
4
- } from "./event-logger-vsy95w6y.js";
2
+ Service93,
3
+ node95
4
+ } from "./console-access-6trn8gdk.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./event-logger-3hepkmqq.js";
7
+ } from "./console-access-3hepkmqq.js";
8
8
  import {
9
9
  latest2,
10
10
  Service81
11
- } from "./event-logger-kgfhs1vx.js";
11
+ } from "./console-access-ernk41n0.js";
12
12
  import {
13
13
  DirectoryNotFoundError2
14
- } from "./event-logger-vm8c1d8g.js";
14
+ } from "./console-access-y2n4a3qg.js";
15
15
  import {
16
- Service76
17
- } from "./event-logger-7597v4tt.js";
16
+ Service79
17
+ } from "./console-access-hvnpgnn3.js";
18
18
  import {
19
- Service67,
20
- node69
21
- } from "./event-logger-yx7jjv83.js";
19
+ Service52,
20
+ node54
21
+ } from "./console-access-nv9tsjma.js";
22
22
  import {
23
23
  SessionMessage2
24
- } from "./event-logger-gftt206x.js";
24
+ } from "./console-access-gftt206x.js";
25
25
  import {
26
26
  SessionInboxTable2
27
- } from "./event-logger-mb7mbhnz.js";
27
+ } from "./console-access-8z6m94af.js";
28
28
  import {
29
- Service64,
30
- node67
31
- } from "./event-logger-2abvv00g.js";
29
+ Service49,
30
+ node52
31
+ } from "./console-access-hf71y4w1.js";
32
32
  import {
33
- Service24,
34
- node27
35
- } from "./event-logger-5rc0mw2y.js";
33
+ Service31,
34
+ node34
35
+ } from "./console-access-46g5cwr6.js";
36
36
  import {
37
37
  validate2,
38
38
  describe2,
39
39
  authorize2,
40
40
  evaluate2
41
- } from "./event-logger-1gs5shqp.js";
41
+ } from "./console-access-evc0sp78.js";
42
42
  import {
43
43
  ScheduleTable2
44
- } from "./event-logger-wegkxhrn.js";
44
+ } from "./console-access-nx4vzyjd.js";
45
45
  import {
46
46
  __export
47
- } from "./event-logger-9rqn6x4v.js";
47
+ } from "./console-access-9rqn6x4v.js";
48
48
 
49
49
  // src/schedule.ts
50
50
  var exports_schedule2 = {};
@@ -54,16 +54,16 @@ __export(exports_schedule2, {
54
54
  CreateInput: () => CreateInput2,
55
55
  DisabledError: () => DisabledError2,
56
56
  ID: () => ID4,
57
- Info: () => Info3,
57
+ Info: () => Info4,
58
58
  InvalidError: () => InvalidError2,
59
59
  NotFoundError: () => NotFoundError2,
60
60
  Outcome: () => Outcome3,
61
61
  Request: () => Request2,
62
62
  Schedule: () => exports_schedule2,
63
- Service: () => Service16,
63
+ Service: () => Service18,
64
64
  Status: () => Status2,
65
65
  When: () => When2,
66
- node: () => node18,
66
+ node: () => node20,
67
67
  toCreateInput: () => toCreateInput2
68
68
  });
69
69
  import { randomUUID } from "node:crypto";
@@ -76,7 +76,7 @@ import {
76
76
  CreateInput as CreateInput2,
77
77
  durationMillis,
78
78
  ID as ID4,
79
- Info as Info3,
79
+ Info as Info4,
80
80
  Outcome as Outcome3,
81
81
  Request as Request2,
82
82
  Status as Status2,
@@ -105,7 +105,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
105
105
  }
106
106
  }
107
107
 
108
- class Service16 extends Context.Service()("@opencode/Schedule") {
108
+ class Service18 extends Context.Service()("@opencode/Schedule") {
109
109
  }
110
110
  var MINUTE = 60000;
111
111
  var HOUR = 60 * MINUTE;
@@ -191,16 +191,16 @@ var toInfo = (row, lastOutput) => ({
191
191
  ...lastOutput === undefined ? {} : { lastOutput },
192
192
  time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
193
193
  });
194
- var layer = Layer.effect(Service16, Effect.gen(function* () {
195
- const database = yield* Service94;
194
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
195
+ const database = yield* Service93;
196
196
  const db = database.db;
197
- const sessions = yield* Service24;
198
- const instances = yield* Service67;
199
- const execution = yield* Service64;
197
+ const sessions = yield* Service31;
198
+ const instances = yield* Service52;
199
+ const execution = yield* Service49;
200
200
  const doorbell = yield* Latch.make();
201
201
  const settings = (session) => Effect.gen(function* () {
202
202
  const config = yield* Service81;
203
- const flags = yield* Service76;
203
+ const flags = yield* Service79;
204
204
  const entries = yield* config.entries();
205
205
  return {
206
206
  enabled: flags.resolve(entries).schedules.enabled,
@@ -481,7 +481,7 @@ ${note}`, { error: outcome.error, failures: strikes });
481
481
  return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
482
482
  return Math.min(at.value, after ?? at.value);
483
483
  });
484
- return Service16.of({
484
+ return Service18.of({
485
485
  create: Effect.fn("Schedule.create")(function* (input) {
486
486
  const session = yield* sessions.get(input.sessionID);
487
487
  const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
@@ -593,10 +593,10 @@ ${note}`, { error: outcome.error, failures: strikes });
593
593
  run
594
594
  });
595
595
  }));
596
- var node18 = makeGlobalNode({
597
- service: Service16,
596
+ var node20 = makeGlobalNode({
597
+ service: Service18,
598
598
  layer,
599
- deps: [node96, node27, node67, node69]
599
+ deps: [node95, node34, node52, node54]
600
600
  });
601
601
 
602
- export { Condition2, ConditionInput2, CreateInput2, ID4, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service16, node18, exports_schedule2 };
602
+ export { Condition2, ConditionInput2, CreateInput2, ID4, Info4, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service18, node20, exports_schedule2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  latest2,
3
3
  Service81
4
- } from "./event-logger-kgfhs1vx.js";
4
+ } from "./console-access-ernk41n0.js";
5
5
  import {
6
6
  resolveModel2
7
- } from "./event-logger-w4xw9ac5.js";
7
+ } from "./console-access-w4xw9ac5.js";
8
8
  import {
9
9
  __export
10
- } from "./event-logger-9rqn6x4v.js";
10
+ } from "./console-access-9rqn6x4v.js";
11
11
 
12
12
  // src/plugin/warming.ts
13
13
  var exports_warming = {};
14
14
  __export(exports_warming, {
15
- Plugin: () => Plugin51,
15
+ Plugin: () => Plugin53,
16
16
  WarmingPlugin: () => exports_warming
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -27,7 +27,7 @@ var defaults = {
27
27
  var Decision = Data.taggedEnum();
28
28
  var fallbackInterval = Duration.minutes(4);
29
29
  var fallbackTTL = Duration.minutes(5);
30
- var Plugin51 = define({
30
+ var Plugin53 = define({
31
31
  id: "opencode.warming",
32
32
  effect: Effect.fn(function* (ctx) {
33
33
  const config = yield* Service81;
@@ -165,4 +165,4 @@ function parseTTL(ttl) {
165
165
  return Duration.millis(Number(match[1]) * units[match[2]]);
166
166
  }
167
167
 
168
- export { Plugin51, exports_warming };
168
+ export { Plugin53, exports_warming };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service77,
2
+ Service80,
3
3
  layer26,
4
- node79
5
- } from "./event-logger-znhaxcg6.js";
4
+ node82
5
+ } from "./console-access-hnktkp4a.js";
6
6
  import {
7
7
  latest2,
8
8
  Service81,
9
9
  testLayer3,
10
10
  node83
11
- } from "./event-logger-kgfhs1vx.js";
11
+ } from "./console-access-ernk41n0.js";
12
12
  import {
13
13
  __export
14
- } from "./event-logger-9rqn6x4v.js";
14
+ } from "./console-access-9rqn6x4v.js";
15
15
 
16
16
  // src/flag.ts
17
17
  var exports_flag = {};
18
18
  __export(exports_flag, {
19
19
  Flag: () => exports_flag,
20
20
  Overrides: () => Overrides2,
21
- Service: () => Service76,
21
+ Service: () => Service79,
22
22
  all: () => all2,
23
23
  enabled: () => enabled3,
24
24
  layer: () => layer25,
25
- node: () => node78,
25
+ node: () => node81,
26
26
  resolve: () => resolve4,
27
27
  testLayer: () => testLayer2
28
28
  });
29
29
  import { Context, Effect, Layer, Record } from "effect";
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { ConfigFlag } from "@opencode/schema/config/flag";
32
- class Service76 extends Context.Service()("@opencode/Flag") {
32
+ class Service79 extends Context.Service()("@opencode/Flag") {
33
33
  }
34
34
  var Overrides2 = Context.Reference("@opencode/Flag/Overrides", {
35
35
  defaultValue: () => process.env.OPENCODE_FLAGS
@@ -47,27 +47,27 @@ function resolve4(input) {
47
47
  return { enabled, source };
48
48
  });
49
49
  }
50
- var layer25 = Layer.effect(Service76, Effect.gen(function* () {
51
- const app = yield* Service77;
50
+ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
51
+ const app = yield* Service80;
52
52
  const config = yield* Service81;
53
53
  const overrides = yield* Overrides2;
54
54
  const resolveEntries = (entries) => resolve4({ entries, channel: app.channel, overrides });
55
55
  const all = Effect.gen(function* () {
56
56
  return resolveEntries(yield* config.entries());
57
57
  });
58
- return Service76.of({
58
+ return Service79.of({
59
59
  resolve: resolveEntries,
60
60
  all,
61
61
  enabled: (key) => Effect.map(all, (flags) => flags[key].enabled)
62
62
  });
63
63
  }));
64
64
  var testLayer2 = (entries = [], options) => Layer.fresh(layer25).pipe(Layer.provideMerge(Layer.mergeAll(layer26(options?.app), testLayer3(entries), Layer.succeed(Overrides2, options?.overrides))));
65
- var node78 = makeLocationNode({
66
- service: Service76,
65
+ var node81 = makeLocationNode({
66
+ service: Service79,
67
67
  layer: layer25,
68
- deps: [node79, node83]
68
+ deps: [node82, node83]
69
69
  });
70
- var all2 = Service76.use((flags) => flags.all);
71
- var enabled3 = (key) => Service76.use((flags) => flags.enabled(key));
70
+ var all2 = Service79.use((flags) => flags.all);
71
+ var enabled3 = (key) => Service79.use((flags) => flags.enabled(key));
72
72
 
73
- export { Service76, Overrides2, resolve4, layer25, testLayer2, node78, all2, enabled3, exports_flag };
73
+ export { Service79, Overrides2, resolve4, layer25, testLayer2, node81, all2, enabled3, exports_flag };
@@ -1,35 +1,35 @@
1
- import {
2
- Service94,
3
- node96
4
- } from "./event-logger-vsy95w6y.js";
5
1
  import {
6
2
  Service93,
7
3
  node95
8
- } from "./event-logger-cx8zcgr7.js";
4
+ } from "./console-access-6trn8gdk.js";
5
+ import {
6
+ Service92,
7
+ node94
8
+ } from "./console-access-j5w8ntyc.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./event-logger-pknna89w.js";
11
+ } from "./console-access-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./event-logger-m1714858.js";
14
+ } from "./console-access-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./event-logger-9rqn6x4v.js";
17
+ } from "./console-access-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
23
+ Event: () => Event19,
24
24
  External: () => External2,
25
- ID: () => ID20,
26
- Info: () => Info29,
25
+ ID: () => ID19,
26
+ Info: () => Info28,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service89,
29
+ Service: () => Service88,
30
30
  Value: () => Value2,
31
31
  expiring: () => expiring2,
32
- node: () => node91
32
+ node: () => node90
33
33
  });
34
34
  import { asc, desc, eq } from "drizzle-orm";
35
35
  import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
@@ -38,27 +38,27 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
38
38
  import { Integration } from "@opencode/schema/integration";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
40
40
  import { EffectFlock } from "@opencode/util/effect-flock";
41
- var ID20 = Credential.ID;
41
+ var ID19 = Credential.ID;
42
42
  var OAuth3 = Credential.OAuth;
43
43
  var Key4 = Credential.Key;
44
44
  var External2 = Credential.External;
45
45
  var Value2 = Credential.Value;
46
- var Event20 = Credential.Event;
46
+ var Event19 = Credential.Event;
47
47
  var expiring2 = (value, now) => value.expires !== 0 && value.expires <= now + Duration.toMillis(Duration.minutes(5));
48
48
 
49
- class Info29 extends Schema.Class("Credential.Info")({
50
- id: ID20,
49
+ class Info28 extends Schema.Class("Credential.Info")({
50
+ id: ID19,
51
51
  integrationID: Integration.ID,
52
52
  label: Schema.String,
53
53
  value: Value2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service89 extends Context.Service()("@opencode/Credential") {
57
+ class Service88 extends Context.Service()("@opencode/Credential") {
58
58
  }
59
- var layer = Layer.effect(Service89, Effect.gen(function* () {
60
- const db = (yield* Service94).db;
61
- const bus = yield* Service93;
59
+ var layer = Layer.effect(Service88, Effect.gen(function* () {
60
+ const db = (yield* Service93).db;
61
+ const bus = yield* Service92;
62
62
  const flock = yield* EffectFlock.Service;
63
63
  const scope = yield* Effect.scope;
64
64
  const pending = new Map;
@@ -66,7 +66,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
66
66
  const stored = (row) => {
67
67
  if (!row.integration_id)
68
68
  return;
69
- return new Info29({
69
+ return new Info28({
70
70
  id: row.id,
71
71
  integrationID: row.integration_id,
72
72
  label: row.label,
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
93
93
  pending.set(id, fiber);
94
94
  return yield* restore(Fiber.join(fiber));
95
95
  }));
96
- const service = Service89.of({
96
+ const service = Service88.of({
97
97
  refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
98
98
  const current = yield* service.get(id);
99
99
  if (current?.value.type !== "oauth")
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
123
123
  return row ? stored(row) : undefined;
124
124
  }),
125
125
  create: Effect.fn("Credential.create")(function* (input) {
126
- const credential = new Info29({
127
- id: input.id ?? ID20.create(),
126
+ const credential = new Info28({
127
+ id: input.id ?? ID19.create(),
128
128
  integrationID: input.integrationID,
129
129
  label: input.label ?? "default",
130
130
  value: input.value
@@ -154,9 +154,9 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
154
154
  type: credential.value.type,
155
155
  active: activated
156
156
  });
157
- yield* bus.publish(Event20.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
157
+ yield* bus.publish(Event19.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
158
158
  if (activated)
159
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
159
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
160
160
  return credential;
161
161
  }),
162
162
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
172
172
  })).pipe(logFailure("credential activate failed", { credentialID: id }));
173
173
  if (integrationID) {
174
174
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
175
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
175
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
176
176
  }
177
177
  }),
178
178
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
197
197
  labelChanged: updates.label !== undefined && updates.label !== credential.label
198
198
  });
199
199
  if (updates.label !== undefined && updates.label !== credential.label)
200
- yield* bus.publish(Event20.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
200
+ yield* bus.publish(Event19.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
201
201
  }),
202
202
  remove: Effect.fn("Credential.remove")(function* (id) {
203
203
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -226,13 +226,13 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
226
226
  ...removed.switched ? { replacementID: removed.credentialID } : {}
227
227
  });
228
228
  if (removed.integrationID)
229
- yield* bus.publish(Event20.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
229
+ yield* bus.publish(Event19.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
230
230
  if (removed.switched)
231
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
231
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
232
232
  })
233
233
  });
234
234
  return service;
235
235
  }));
236
- var node91 = makeGlobalNode({ service: Service89, layer, deps: [node96, node95, EffectFlock.node] });
236
+ var node90 = makeGlobalNode({ service: Service88, layer, deps: [node95, node94, EffectFlock.node] });
237
237
 
238
- export { ID20, OAuth3, Key4, External2, Value2, Event20, expiring2, Info29, Service89, node91, exports_credential };
238
+ export { ID19, OAuth3, Key4, External2, Value2, Event19, expiring2, Info28, Service88, node90, exports_credential };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service94,
3
- node96
4
- } from "./event-logger-vsy95w6y.js";
2
+ Service93,
3
+ node95
4
+ } from "./console-access-6trn8gdk.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./event-logger-2710q6r3.js";
8
+ } from "./console-access-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./event-logger-5whx36p1.js";
11
+ } from "./console-access-s47rahr7.js";
12
12
  import {
13
13
  __export
14
- } from "./event-logger-9rqn6x4v.js";
14
+ } from "./console-access-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service93,
21
+ Service: () => Service92,
22
22
  configured: () => configured13,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node95,
27
+ node: () => node94,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -84,13 +84,13 @@ var ephemeral2 = Event.ephemeral;
84
84
  var isSynced2 = (item) => item.type === "log.synced";
85
85
  var isDefinition = (input) => !Array.isArray(input);
86
86
 
87
- class Service93 extends Context.Service()("@opencode/Bus") {
87
+ class Service92 extends Context.Service()("@opencode/Bus") {
88
88
  }
89
89
  function configured13(options) {
90
90
  return makeGlobalNode({
91
- service: Service93,
92
- deps: [node96],
93
- layer: Layer.effect(Service93, Effect.gen(function* () {
91
+ service: Service92,
92
+ deps: [node95],
93
+ layer: Layer.effect(Service92, Effect.gen(function* () {
94
94
  const { Location } = yield* Effect.promise(() => import("../location.js"));
95
95
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
96
96
  const pubsub = {
@@ -101,7 +101,7 @@ function configured13(options) {
101
101
  const projectors = new Map;
102
102
  const listeners = new Array;
103
103
  const durableLocks = makeUnsafe2();
104
- const { db } = yield* Service94;
104
+ const { db } = yield* Service93;
105
105
  const logReadPageSize = options?.logReadPageSize ?? 512;
106
106
  const persist = options?.persist ?? false;
107
107
  const sessions = new Map;
@@ -515,7 +515,7 @@ function configured13(options) {
515
515
  list.push((event) => projector(event));
516
516
  projectors.set(key, list);
517
517
  });
518
- return Service93.of({
518
+ return Service92.of({
519
519
  publish,
520
520
  publishAll,
521
521
  subscribe,
@@ -529,6 +529,6 @@ function configured13(options) {
529
529
  }))
530
530
  });
531
531
  }
532
- var node95 = configured13();
532
+ var node94 = configured13();
533
533
 
534
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service93, configured13, node95, exports_bus };
534
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service92, configured13, node94, exports_bus };