@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,24 +1,24 @@
1
1
  import {
2
2
  batches2,
3
3
  insertBatches2
4
- } from "./event-logger-jm70asfg.js";
4
+ } from "./console-access-jm70asfg.js";
5
5
  import {
6
- Service76,
6
+ Service79,
7
7
  enabled3
8
- } from "./event-logger-7597v4tt.js";
8
+ } from "./console-access-hvnpgnn3.js";
9
9
  import {
10
10
  BlobTable2,
11
11
  BlobRefTable2
12
- } from "./event-logger-mb7mbhnz.js";
12
+ } from "./console-access-8z6m94af.js";
13
13
  import {
14
14
  refHash2,
15
15
  ref2,
16
16
  FileRef2,
17
17
  ToolFileRef2
18
- } from "./event-logger-fg9p65nk.js";
18
+ } from "./console-access-prq7xxp2.js";
19
19
  import {
20
20
  __export
21
- } from "./event-logger-9rqn6x4v.js";
21
+ } from "./console-access-9rqn6x4v.js";
22
22
 
23
23
  // src/session/blob.ts
24
24
  var exports_blob = {};
@@ -37,7 +37,7 @@ __export(exports_blob, {
37
37
  hydrateInbox: () => hydrateInbox2,
38
38
  keepInboxRefs: () => keepInboxRefs2,
39
39
  keepRefs: () => keepRefs2,
40
- read: () => read3,
40
+ read: () => read4,
41
41
  recordHashes: () => recordHashes2,
42
42
  recordRefs: () => recordRefs2,
43
43
  releaseFrom: () => releaseFrom2,
@@ -193,13 +193,13 @@ function describe3(files, meta) {
193
193
  };
194
194
  });
195
195
  }
196
- var read3 = Effect.fnUntraced(function* (db, hash) {
196
+ var read4 = Effect.fnUntraced(function* (db, hash) {
197
197
  const blob = yield* db.select({ mime: BlobTable2.mime, data: BlobTable2.data }).from(BlobTable2).where(and(eq(BlobTable2.hash, hash), exists(db.select({ one: sql`1` }).from(BlobRefTable2).where(eq(BlobRefTable2.hash, BlobTable2.hash))))).get().pipe(Effect.orDie);
198
198
  return blob && { mime: blob.mime, data: view(blob.data) };
199
199
  });
200
200
  var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
201
201
  var enabled2 = Effect.gen(function* () {
202
- const flag = yield* Effect.serviceOption(Service76);
202
+ const flag = yield* Effect.serviceOption(Service79);
203
203
  if (Option.isNone(flag))
204
204
  return false;
205
205
  return yield* flag.value.enabled("media_blob");
@@ -333,4 +333,4 @@ var releaseMessage2 = (db, sessionID, messageID) => release(db, eq(BlobRefTable2
333
333
  var releaseFrom2 = (db, sessionID, seq) => release(db, eq(BlobRefTable2.session_id, sessionID), gte(BlobRefTable2.seq, seq));
334
334
  var releaseSession2 = (db, sessionID) => release(db, eq(BlobRefTable2.session_id, sessionID));
335
335
 
336
- export { hydrate2, hydrateInbox2, keepRefs2, keepInboxRefs2, describe3, read3, hashBytes2, enabled2, enabledFor2, ForkMedia2, save2, externalizePayload2, externalize2, externalizePart2, split2, externalizeRow2, recordRefs2, recordHashes2, syncRefs2, releaseMessage2, releaseFrom2, releaseSession2, exports_blob };
336
+ export { hydrate2, hydrateInbox2, keepRefs2, keepInboxRefs2, describe3, read4, hashBytes2, enabled2, enabledFor2, ForkMedia2, save2, externalizePayload2, externalize2, externalizePart2, split2, externalizeRow2, recordRefs2, recordHashes2, syncRefs2, releaseMessage2, releaseFrom2, releaseSession2, exports_blob };
@@ -1,57 +1,57 @@
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
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./event-logger-bstexjd6.js";
11
+ } from "./console-access-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./event-logger-z5v4ffb3.js";
14
+ } from "./console-access-z5v4ffb3.js";
15
15
  import {
16
- Service41,
17
- node44
18
- } from "./event-logger-cg7vt0tj.js";
16
+ Service57,
17
+ node58
18
+ } from "./console-access-pewv95xk.js";
19
19
  import {
20
20
  changes2,
21
21
  create4
22
- } from "./event-logger-40y6dtc2.js";
22
+ } from "./console-access-40y6dtc2.js";
23
23
  import {
24
24
  __export
25
- } from "./event-logger-9rqn6x4v.js";
25
+ } from "./console-access-9rqn6x4v.js";
26
26
 
27
27
  // src/reference.ts
28
28
  var exports_reference2 = {};
29
29
  __export(exports_reference2, {
30
- Event: () => Event8,
30
+ Event: () => Event9,
31
31
  GitSource: () => GitSource2,
32
32
  Info: () => Info12,
33
33
  LocalSource: () => LocalSource2,
34
34
  Reference: () => exports_reference2,
35
- Service: () => Service40,
35
+ Service: () => Service56,
36
36
  Source: () => Source3,
37
- node: () => node43
37
+ node: () => node57
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Context, Effect, Layer, Scope } from "effect";
41
41
  import { Reference } from "@opencode/schema/reference";
42
42
  import { Global } from "@opencode/util/global";
43
- import { Event as Event8 } from "@opencode/schema/reference";
43
+ import { Event as Event9 } from "@opencode/schema/reference";
44
44
  var LocalSource2 = Reference.LocalSource;
45
45
  var GitSource2 = Reference.GitSource;
46
46
  var Source3 = Reference.Source;
47
47
  var Info12 = Reference.Info;
48
48
 
49
- class Service40 extends Context.Service()("@opencode/Reference") {
49
+ class Service56 extends Context.Service()("@opencode/Reference") {
50
50
  }
51
- var layer = Layer.effect(Service40, Effect.gen(function* () {
51
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
52
52
  const global = yield* Global.Service;
53
- const bus = yield* Service93;
54
- const cache = yield* Service41;
53
+ const bus = yield* Service92;
54
+ const cache = yield* Service57;
55
55
  const scope = yield* Scope.Scope;
56
56
  const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
57
57
  const info = {
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
105
105
  }))
106
106
  });
107
107
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
108
- return Service40.of({
108
+ return Service56.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  list: Effect.fn("Reference.list")(function* () {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
113
113
  })
114
114
  });
115
115
  }));
116
- var node43 = makeLocationNode({
117
- service: Service40,
116
+ var node57 = makeLocationNode({
117
+ service: Service56,
118
118
  layer,
119
- deps: [Global.node, node95, node44]
119
+ deps: [Global.node, node94, node58]
120
120
  });
121
121
 
122
- export { LocalSource2, GitSource2, Source3, Info12, Service40, node43, exports_reference2, Event8 };
122
+ export { LocalSource2, GitSource2, Source3, Info12, Service56, node57, exports_reference2, Event9 };
@@ -1,34 +1,34 @@
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
  changes2,
7
7
  create4
8
- } from "./event-logger-40y6dtc2.js";
8
+ } from "./console-access-40y6dtc2.js";
9
9
  import {
10
10
  evaluate3
11
- } from "./event-logger-hdqh66q4.js";
11
+ } from "./console-access-145jh0dz.js";
12
12
  import {
13
13
  __export
14
- } from "./event-logger-9rqn6x4v.js";
14
+ } from "./console-access-9rqn6x4v.js";
15
15
 
16
16
  // src/skill.ts
17
17
  var exports_skill5 = {};
18
18
  __export(exports_skill5, {
19
19
  DirectorySource: () => DirectorySource2,
20
20
  EmbeddedSource: () => EmbeddedSource2,
21
- Event: () => Event11,
21
+ Event: () => Event10,
22
22
  ID: () => ID9,
23
23
  Info: () => Info13,
24
24
  Name: () => Name2,
25
- Service: () => Service47,
25
+ Service: () => Service60,
26
26
  Skill: () => exports_skill5,
27
27
  Source: () => Source4,
28
28
  UrlSource: () => UrlSource2,
29
- available: () => available3,
29
+ available: () => available4,
30
30
  isUri: () => isUri2,
31
- node: () => node50,
31
+ node: () => node61,
32
32
  prepare: () => prepare3,
33
33
  toModelOutput: () => toModelOutput3,
34
34
  uri: () => uri2
@@ -38,7 +38,7 @@ import { FSUtil } from "@opencode/util/fs-util";
38
38
  import path from "path";
39
39
  import { Context, Effect, Layer } from "effect";
40
40
  import { Skill } from "@opencode/schema/skill";
41
- import { Event as Event11 } from "@opencode/schema/skill";
41
+ import { Event as Event10 } from "@opencode/schema/skill";
42
42
  var DirectorySource2 = Skill.DirectorySource;
43
43
  var UrlSource2 = Skill.UrlSource;
44
44
  var EmbeddedSource2 = Skill.EmbeddedSource;
@@ -46,7 +46,7 @@ var Source4 = Skill.Source;
46
46
  var Info13 = Skill.Info;
47
47
  var ID9 = Skill.ID;
48
48
  var Name2 = Skill.Name;
49
- var available3 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
49
+ var available4 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
50
50
  var uri2 = (id, file) => file ? `skill://${id}/${file}` : `skill://${id}`;
51
51
  var isUri2 = (value) => value.startsWith("skill://");
52
52
  var toModelOutput3 = (skill, files) => {
@@ -91,10 +91,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill, virtualFiles) {
91
91
  };
92
92
  });
93
93
 
94
- class Service47 extends Context.Service()("@opencode/Skill") {
94
+ class Service60 extends Context.Service()("@opencode/Skill") {
95
95
  }
96
- var layer = Layer.effect(Service47, Effect.gen(function* () {
97
- const bus = yield* Service93;
96
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
97
+ const bus = yield* Service92;
98
98
  const state = create4({
99
99
  name: "skill",
100
100
  initial: () => ({ skills: new Map, files: new Map }),
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
129
129
  Array.from(data.files, ([id, entries]) => [id, Array.from(entries)])
130
130
  ], () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
131
131
  });
132
- return Service47.of({
132
+ return Service60.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  get: Effect.fn("Skill.get")(function* (id) {
@@ -144,10 +144,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
144
144
  })
145
145
  });
146
146
  }));
147
- var node50 = makeLocationNode({
148
- service: Service47,
147
+ var node61 = makeLocationNode({
148
+ service: Service60,
149
149
  layer,
150
- deps: [node95]
150
+ deps: [node94]
151
151
  });
152
152
 
153
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info13, ID9, Name2, available3, uri2, isUri2, toModelOutput3, prepare3, Service47, node50, exports_skill5, Event11 };
153
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info13, ID9, Name2, available4, uri2, isUri2, toModelOutput3, prepare3, Service60, node61, exports_skill5, Event10 };
@@ -1,63 +1,63 @@
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";
9
5
  import {
10
- Service67,
11
- node69
12
- } from "./event-logger-yx7jjv83.js";
6
+ Service92,
7
+ node94
8
+ } from "./console-access-j5w8ntyc.js";
9
+ import {
10
+ Service52,
11
+ node54
12
+ } from "./console-access-nv9tsjma.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./event-logger-z5v4ffb3.js";
16
+ } from "./console-access-z5v4ffb3.js";
17
17
  import {
18
18
  Service91,
19
19
  node93
20
- } from "./event-logger-2wwajzba.js";
20
+ } from "./console-access-p8s1gd4s.js";
21
21
  import {
22
22
  Ref5
23
- } from "./event-logger-9abc2hvj.js";
23
+ } from "./console-access-wat1f99y.js";
24
24
  import {
25
- Service69,
26
- node71
27
- } from "./event-logger-ppksk96r.js";
25
+ Service66,
26
+ node67
27
+ } from "./console-access-skqr3ef8.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./event-logger-gftt206x.js";
30
+ } from "./console-access-gftt206x.js";
31
31
  import {
32
- NotFoundError11
33
- } from "./event-logger-s4kyhetj.js";
32
+ NotFoundError10
33
+ } from "./console-access-b09zhmpv.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./event-logger-ec1grn59.js";
36
+ } from "./console-access-ec1grn59.js";
37
37
  import {
38
- Service65
39
- } from "./event-logger-xdcpcrtr.js";
38
+ Service50
39
+ } from "./console-access-p76me67c.js";
40
40
  import {
41
- Service74,
42
- node76
43
- } from "./event-logger-pkh610ny.js";
41
+ Service68,
42
+ node69
43
+ } from "./console-access-w2ym4xxz.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service66,
48
- node68,
47
+ Service51,
48
+ node53,
49
49
  moveIDs2
50
- } from "./event-logger-hzbj86qh.js";
50
+ } from "./console-access-m6rt7d60.js";
51
51
  import {
52
- Service64,
53
- node67
54
- } from "./event-logger-2abvv00g.js";
52
+ Service49,
53
+ node52
54
+ } from "./console-access-hf71y4w1.js";
55
55
  import {
56
- node29
57
- } from "./event-logger-bf3ta493.js";
56
+ node36
57
+ } from "./console-access-m0qbf2np.js";
58
58
  import {
59
59
  __export
60
- } from "./event-logger-9rqn6x4v.js";
60
+ } from "./console-access-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service25,
68
+ Service: () => Service32,
69
69
  SessionMove: () => exports_move,
70
- node: () => node28
70
+ node: () => node35
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service25 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service32 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service25, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
91
  const projects = yield* Service91;
92
- const locations = yield* Service69;
93
- const store = yield* Service74;
94
- const execution = yield* Service64;
95
- const instances = yield* Service67;
96
- const admission = yield* Service66;
97
- const database = yield* Service94;
98
- const bus = yield* Service93;
92
+ const locations = yield* Service66;
93
+ const store = yield* Service68;
94
+ const execution = yield* Service49;
95
+ const instances = yield* Service52;
96
+ const admission = yield* Service51;
97
+ const database = yield* Service93;
98
+ const bus = yield* Service92;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError11({ sessionID });
102
+ return yield* new NotFoundError10({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service65.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service50.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service25.of({
136
+ return Service32.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node28 = makeGlobalNode({
167
- service: Service25,
166
+ var node35 = makeGlobalNode({
167
+ service: Service32,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
172
  node93,
173
- node71,
174
- node76,
175
173
  node67,
176
174
  node69,
177
- node68,
178
- node96,
175
+ node52,
176
+ node54,
177
+ node53,
179
178
  node95,
180
- node29
179
+ node94,
180
+ node36
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service32, node35, exports_move };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./event-logger-z0h12gs8.js";
3
+ } from "./console-access-z0h12gs8.js";
4
4
  import {
5
5
  Ref3,
6
6
  Service85
7
- } from "./event-logger-qgpgzdea.js";
7
+ } from "./console-access-yqnmpmgy.js";
8
8
  import {
9
9
  Service81
10
- } from "./event-logger-kgfhs1vx.js";
10
+ } from "./console-access-ernk41n0.js";
11
11
  import {
12
12
  observe2
13
- } from "./event-logger-tvtps2q9.js";
13
+ } from "./console-access-tvtps2q9.js";
14
14
  import {
15
- Service59
16
- } from "./event-logger-vnyym5w5.js";
15
+ Service76
16
+ } from "./console-access-zeyczbcm.js";
17
17
  import {
18
18
  SessionMessage2
19
- } from "./event-logger-gftt206x.js";
19
+ } from "./console-access-gftt206x.js";
20
20
  import {
21
21
  invocation2,
22
- Service73
23
- } from "./event-logger-hdqh66q4.js";
22
+ Service67
23
+ } from "./console-access-145jh0dz.js";
24
24
  import {
25
- Service48
26
- } from "./event-logger-yfpk2rs8.js";
25
+ Service26
26
+ } from "./console-access-mgrxab88.js";
27
27
  import {
28
- Service21
29
- } from "./event-logger-mbae72nx.js";
28
+ Service20
29
+ } from "./console-access-2f7q2xs5.js";
30
30
  import {
31
- text2
32
- } from "./event-logger-8b3vzgkx.js";
31
+ text3
32
+ } from "./console-access-25h84942.js";
33
33
  import {
34
- Service79
35
- } from "./event-logger-qc96arjj.js";
34
+ Service58
35
+ } from "./console-access-qdx40m6v.js";
36
36
  import {
37
37
  detect2
38
- } from "./event-logger-4pyp9zr9.js";
38
+ } from "./console-access-4pyp9zr9.js";
39
39
  import {
40
- Service24
41
- } from "./event-logger-5rc0mw2y.js";
40
+ Service31
41
+ } from "./console-access-46g5cwr6.js";
42
42
  import {
43
43
  collectBoundedResponseBody2
44
- } from "./event-logger-3v8g72cx.js";
44
+ } from "./console-access-3v8g72cx.js";
45
45
  import {
46
46
  __export
47
- } from "./event-logger-9rqn6x4v.js";
47
+ } from "./console-access-9rqn6x4v.js";
48
48
 
49
49
  // src/tool/plugin/image-generate.ts
50
50
  var exports_image_generate = {};
51
51
  __export(exports_image_generate, {
52
52
  ImageGenerateTool: () => exports_image_generate,
53
- Input: () => Input6,
53
+ Input: () => Input10,
54
54
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
55
- Output: () => Output5,
56
- Plugin: () => Plugin23,
55
+ Output: () => Output6,
56
+ Plugin: () => Plugin31,
57
57
  defaultModel: () => defaultModel2,
58
- description: () => description2,
59
- name: () => name6
58
+ description: () => description5,
59
+ name: () => name10
60
60
  });
61
61
  import path from "path";
62
62
  import { ToolFailure } from "@opencode/ai/effect";
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
64
64
  import { Global } from "@opencode/util/global";
65
65
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
66
66
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
67
- var name6 = "experimental_image_generate";
67
+ var name10 = "experimental_image_generate";
68
68
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
69
69
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
70
70
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -75,7 +75,7 @@ var EXTENSIONS = {
75
75
  "image/webp": ".webp",
76
76
  "image/gif": ".gif"
77
77
  };
78
- var description2 = [
78
+ var description5 = [
79
79
  "Generates a new image, or edits existing ones.",
80
80
  "Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
81
81
  "Images you pass are used as the source to edit, or as references for style and subject.",
@@ -84,7 +84,7 @@ var description2 = [
84
84
  "Don't repeat a request unless the user asks."
85
85
  ].join(`
86
86
  `);
87
- var Input6 = Schema.Struct({
87
+ var Input10 = Schema.Struct({
88
88
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
89
89
  description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
90
90
  }),
@@ -98,25 +98,25 @@ var Input6 = Schema.Struct({
98
98
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
99
99
  })
100
100
  });
101
- var Output5 = Schema.Struct({
101
+ var Output6 = Schema.Struct({
102
102
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
103
103
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
104
104
  model: Schema.String.annotate({ description: "providerID/modelID" })
105
105
  });
106
- var Plugin23 = {
106
+ var Plugin31 = {
107
107
  id: "opencode.tool.image-generate",
108
108
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
109
- const access = yield* Service48;
110
- const environment = yield* Service59;
111
- const generate = yield* Service21;
109
+ const access = yield* Service26;
110
+ const environment = yield* Service76;
111
+ const generate = yield* Service20;
112
112
  const global = yield* Global.Service;
113
113
  const http = yield* HttpClient.HttpClient;
114
114
  const config = yield* Service81;
115
- const jobs = yield* Service79;
115
+ const jobs = yield* Service58;
116
116
  const scope = yield* Scope.Scope;
117
- const sessions = yield* Service24;
117
+ const sessions = yield* Service31;
118
118
  const models = yield* Service85;
119
- const permission = yield* Service73;
119
+ const permission = yield* Service67;
120
120
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
121
121
  const available = yield* models.available(["image"]);
122
122
  if (!input) {
@@ -196,12 +196,12 @@ var Plugin23 = {
196
196
  id: input.notificationID,
197
197
  sessionID: input.sessionID,
198
198
  description: "Image generation",
199
- text: text2({
199
+ text: text3({
200
200
  id: input.id,
201
201
  state: info.status,
202
202
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
203
203
  }),
204
- metadata: { source: name6, jobID: input.id, state: info.status, path: input.file }
204
+ metadata: { source: name10, jobID: input.id, state: info.status, path: input.file }
205
205
  });
206
206
  yield* jobs.completeBackground(input.notificationID);
207
207
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -220,11 +220,11 @@ var Plugin23 = {
220
220
  if (!enabled || imageGenerate(loaded.entries) === false)
221
221
  return;
222
222
  editor.add({
223
- name: name6,
223
+ name: name10,
224
224
  options: { codemode: false },
225
- description: description2,
226
- input: Input6,
227
- output: Output5,
225
+ description: description5,
226
+ input: Input10,
227
+ output: Output6,
228
228
  execute: (input, context) => Effect.gen(function* () {
229
229
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
230
230
  const model = resolved.model;
@@ -233,7 +233,7 @@ var Plugin23 = {
233
233
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
234
234
  const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
235
235
  yield* permission.assert({
236
- action: name6,
236
+ action: name10,
237
237
  resources: [ref],
238
238
  save: ["*"],
239
239
  metadata: { ...input, model: ref },
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
287
287
  yield* jobs.start({
288
288
  id,
289
289
  notificationID,
290
- type: name6,
290
+ type: name10,
291
291
  title: input.prompt,
292
292
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
293
293
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -326,4 +326,4 @@ function acceptsImages(model) {
326
326
  return model.capabilities.input.some((item) => item.startsWith("image"));
327
327
  }
328
328
 
329
- export { name6, MAX_INPUT_BYTES2, description2, Input6, Output5, Plugin23, defaultModel2, exports_image_generate };
329
+ export { name10, MAX_INPUT_BYTES2, description5, Input10, Output6, Plugin31, defaultModel2, exports_image_generate };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./event-logger-by419q6p.js";
5
+ } from "./console-access-ey1q4t6p.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";