@opencode/core 0.0.0-dev-1016 → 0.0.0-dev-1017

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 (934) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +250 -250
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{file-retention-80sd2g1t.js → console-access-00wetygp.js} +27 -27
  9. package/dist/chunks/{file-retention-e934f88v.js → console-access-01nh8d1f.js} +11 -11
  10. package/dist/chunks/{file-retention-034tev2y.js → console-access-034tev2y.js} +2 -2
  11. package/dist/chunks/{file-retention-vk5e8r28.js → console-access-0c4tnbwp.js} +43 -43
  12. package/dist/chunks/{file-retention-571e4mnh.js → console-access-0fzra7c1.js} +10 -10
  13. package/dist/chunks/{file-retention-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{file-retention-0php2d2a.js → console-access-0php2d2a.js} +4 -4
  15. package/dist/chunks/{file-retention-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
  16. package/dist/chunks/{file-retention-1ep2p91f.js → console-access-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{file-retention-eqz858fr.js → console-access-1g3ebhf2.js} +11 -11
  18. package/dist/chunks/{file-retention-ykwpwmwk.js → console-access-1jydya01.js} +16 -16
  19. package/dist/chunks/{file-retention-k98t6223.js → console-access-1ke8bj3s.js} +83 -83
  20. package/dist/chunks/{file-retention-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{file-retention-y6daexrx.js → console-access-1ys6s8ex.js} +7 -7
  22. package/dist/chunks/{file-retention-8b3vzgkx.js → console-access-25h84942.js} +4 -4
  23. package/dist/chunks/{file-retention-c366grjq.js → console-access-2a105sgk.js} +18 -18
  24. package/dist/chunks/{file-retention-2fc7eemy.js → console-access-2fc7eemy.js} +1 -1
  25. package/dist/chunks/{file-retention-bfbsygdd.js → console-access-2hmytcqx.js} +5 -5
  26. package/dist/chunks/{file-retention-ktck1cjp.js → console-access-2s9mae96.js} +6 -6
  27. package/dist/chunks/{file-retention-530xg6vw.js → console-access-319wad08.js} +3 -3
  28. package/dist/chunks/{file-retention-x0epf1q7.js → console-access-33m0s2nz.js} +8 -8
  29. package/dist/chunks/{file-retention-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{file-retention-ahenw0f4.js → console-access-3k3rxdp5.js} +5 -5
  31. package/dist/chunks/{file-retention-3qgwywyc.js → console-access-3qgwywyc.js} +1 -1
  32. package/dist/chunks/{file-retention-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
  33. package/dist/chunks/{file-retention-w2eysc6j.js → console-access-40za9wsf.js} +9 -9
  34. package/dist/chunks/{file-retention-1dtka0nz.js → console-access-42dt597g.js} +37 -37
  35. package/dist/chunks/{file-retention-cbzjmpsh.js → console-access-4brrtwnk.js} +4 -4
  36. package/dist/chunks/{file-retention-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
  37. package/dist/chunks/{file-retention-ng20w319.js → console-access-4e35pt6y.js} +16 -16
  38. package/dist/chunks/{file-retention-r542h3bh.js → console-access-4f25tdd0.js} +5 -5
  39. package/dist/chunks/{file-retention-2rbj4gma.js → console-access-4gfb3bt5.js} +25 -25
  40. package/dist/chunks/{file-retention-kb8spm7s.js → console-access-4h1wd4gx.js} +12 -12
  41. package/dist/chunks/{file-retention-8a60k7tf.js → console-access-4mwkmjka.js} +18 -18
  42. package/dist/chunks/{file-retention-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
  43. package/dist/chunks/{file-retention-4v008n1t.js → console-access-4v008n1t.js} +1 -1
  44. package/dist/chunks/{file-retention-p9j2z5m0.js → console-access-539dw32x.js} +4 -4
  45. package/dist/chunks/{file-retention-tw1x107z.js → console-access-53dkjeyp.js} +3 -3
  46. package/dist/chunks/{file-retention-59w360q8.js → console-access-5e40m4rg.js} +23 -23
  47. package/dist/chunks/{file-retention-rz0ah06v.js → console-access-5kwgtyjv.js} +6 -6
  48. package/dist/chunks/{file-retention-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
  49. package/dist/chunks/{file-retention-9xk0h840.js → console-access-5sx2nyee.js} +12 -12
  50. package/dist/chunks/{file-retention-sr8k1zr2.js → console-access-5txf6bq2.js} +5 -5
  51. package/dist/chunks/{file-retention-5whx36p1.js → console-access-5whx36p1.js} +1 -1
  52. package/dist/chunks/{file-retention-ad123chm.js → console-access-5yydhn6j.js} +11 -11
  53. package/dist/chunks/{file-retention-1yq9hg58.js → console-access-5zrxpy3q.js} +5 -5
  54. package/dist/chunks/{file-retention-dk6dpcaf.js → console-access-6779fhng.js} +9 -9
  55. package/dist/chunks/{file-retention-388pzms7.js → console-access-6awqtksd.js} +5 -5
  56. package/dist/chunks/console-access-6bshxcsx.js +18 -0
  57. package/dist/chunks/{file-retention-x6cj2m5r.js → console-access-6gr25a60.js} +4 -4
  58. package/dist/chunks/{file-retention-g2y31exj.js → console-access-6ph701rk.js} +33 -33
  59. package/dist/chunks/{file-retention-stqs64fv.js → console-access-6s7y4mzb.js} +43 -43
  60. package/dist/chunks/{file-retention-74z1qt8d.js → console-access-711ydcza.js} +18 -18
  61. package/dist/chunks/{file-retention-r6v2fhzz.js → console-access-73j1tefy.js} +10 -10
  62. package/dist/chunks/{file-retention-96rzt6wt.js → console-access-76t9x0j9.js} +11 -11
  63. package/dist/chunks/{file-retention-80mg3ag8.js → console-access-775hqbnd.js} +3 -3
  64. package/dist/chunks/{file-retention-hgyjngcw.js → console-access-78w6k734.js} +5 -5
  65. package/dist/chunks/{file-retention-2wkndd51.js → console-access-7a1x92tv.js} +29 -29
  66. package/dist/chunks/{file-retention-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{file-retention-h9qmrvth.js → console-access-7fc3zf12.js} +59 -59
  68. package/dist/chunks/{file-retention-a3fn0gmm.js → console-access-7h7tvtg0.js} +2 -2
  69. package/dist/chunks/{file-retention-109t80sz.js → console-access-7kmfd5bq.js} +16 -16
  70. package/dist/chunks/{file-retention-jkkettf9.js → console-access-7m127d97.js} +11 -11
  71. package/dist/chunks/{file-retention-w4xw9ac5.js → console-access-7nqkf5r1.js} +2 -2
  72. package/dist/chunks/{file-retention-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
  73. package/dist/chunks/{file-retention-7weczvnd.js → console-access-7weczvnd.js} +1 -1
  74. package/dist/chunks/{file-retention-ycbwr1g8.js → console-access-80d2910p.js} +15 -15
  75. package/dist/chunks/{file-retention-80pdk984.js → console-access-80pdk984.js} +1 -1
  76. package/dist/chunks/{file-retention-kdw9060a.js → console-access-81vp2bdd.js} +20 -20
  77. package/dist/chunks/{file-retention-6xed0wgw.js → console-access-82415c55.js} +14 -14
  78. package/dist/chunks/{file-retention-hhg8skp7.js → console-access-83xqprrw.js} +26 -26
  79. package/dist/chunks/{file-retention-d7jp7t91.js → console-access-84jk9pt4.js} +22 -22
  80. package/dist/chunks/{file-retention-85jq8dht.js → console-access-85jq8dht.js} +1 -1
  81. package/dist/chunks/{file-retention-kqd77qhf.js → console-access-85z0p8cr.js} +9 -9
  82. package/dist/chunks/{file-retention-cbesbsh3.js → console-access-88rt2abm.js} +12 -12
  83. package/dist/chunks/{file-retention-bcenpvnw.js → console-access-8aa5qpgd.js} +13 -13
  84. package/dist/chunks/{file-retention-3db8mxk3.js → console-access-8e2htjhy.js} +39 -39
  85. package/dist/chunks/{file-retention-9qffqtsn.js → console-access-8j97sx0h.js} +22 -22
  86. package/dist/chunks/{file-retention-8sxe6kv8.js → console-access-8sxe6kv8.js} +2 -2
  87. package/dist/chunks/{file-retention-7nm62yak.js → console-access-8w4dph67.js} +20 -20
  88. package/dist/chunks/{file-retention-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
  89. package/dist/chunks/{file-retention-7kh39e2h.js → console-access-8xfjm4xd.js} +13 -13
  90. package/dist/chunks/{file-retention-8zv0xmg5.js → console-access-8zv0xmg5.js} +1 -1
  91. package/dist/chunks/{file-retention-wxdcyhh4.js → console-access-92mhy90n.js} +15 -15
  92. package/dist/chunks/{file-retention-vde2qr54.js → console-access-92szfccm.js} +4 -4
  93. package/dist/chunks/{file-retention-8hfctyyf.js → console-access-93xmyh8q.js} +7 -7
  94. package/dist/chunks/{file-retention-tkp26qc3.js → console-access-95af1ntp.js} +19 -19
  95. package/dist/chunks/{file-retention-963hk181.js → console-access-963hk181.js} +2 -2
  96. package/dist/chunks/{file-retention-1f19kj02.js → console-access-97t8yghf.js} +3 -3
  97. package/dist/chunks/{file-retention-h6pm70xx.js → console-access-99wyeap2.js} +21 -21
  98. package/dist/chunks/{file-retention-z5khxxz4.js → console-access-9g2550n8.js} +43 -43
  99. package/dist/chunks/{file-retention-0zx00d82.js → console-access-9kzxe4bd.js} +7 -7
  100. package/dist/chunks/{file-retention-q6a7h9km.js → console-access-9rqhy0gk.js} +7 -7
  101. package/dist/chunks/{file-retention-bapqn1wv.js → console-access-9ws4v24n.js} +20 -20
  102. package/dist/chunks/{file-retention-78p2h4ex.js → console-access-9zwexsxs.js} +5 -5
  103. package/dist/chunks/{file-retention-bw0b2238.js → console-access-a5r23509.js} +17 -17
  104. package/dist/chunks/{file-retention-7aqhms1k.js → console-access-abkkd8xa.js} +9 -9
  105. package/dist/chunks/{file-retention-206p06sk.js → console-access-ahfdps10.js} +31 -31
  106. package/dist/chunks/{file-retention-p2p83fhz.js → console-access-anr8vs6y.js} +9 -9
  107. package/dist/chunks/{file-retention-t5e1vn0t.js → console-access-aqw5qhcs.js} +12 -12
  108. package/dist/chunks/{file-retention-r65pqp2z.js → console-access-as65ctta.js} +27 -27
  109. package/dist/chunks/{file-retention-86sq5tg5.js → console-access-as9vw75j.js} +10 -10
  110. package/dist/chunks/{file-retention-8h9nhb80.js → console-access-aw3adnsh.js} +11 -11
  111. package/dist/chunks/{file-retention-ayjs7tqn.js → console-access-ayjs7tqn.js} +2 -2
  112. package/dist/chunks/{file-retention-wr3re1en.js → console-access-b6z35kmf.js} +4 -4
  113. package/dist/chunks/{file-retention-sddgrs9h.js → console-access-b8szz0av.js} +43 -43
  114. package/dist/chunks/{file-retention-bvp63rq9.js → console-access-b8tn5dt9.js} +6 -6
  115. package/dist/chunks/{file-retention-bd4geh6z.js → console-access-b9tmr8d0.js} +4 -4
  116. package/dist/chunks/{file-retention-wjts407w.js → console-access-baxkc6y7.js} +34 -34
  117. package/dist/chunks/{file-retention-w18hgg2d.js → console-access-bf930bhg.js} +12 -12
  118. package/dist/chunks/{file-retention-ntzjwv6t.js → console-access-bg133t4s.js} +32 -32
  119. package/dist/chunks/{file-retention-s26c8eb5.js → console-access-bhfd478d.js} +4 -4
  120. package/dist/chunks/{file-retention-0nseh0ww.js → console-access-bpacjzwd.js} +13 -13
  121. package/dist/chunks/{file-retention-pxetjdyf.js → console-access-bpm7v70q.js} +40 -40
  122. package/dist/chunks/{file-retention-mz3kf7qd.js → console-access-brtp5cf0.js} +45 -45
  123. package/dist/chunks/{file-retention-yts2a8qm.js → console-access-brv6mkyx.js} +4 -4
  124. package/dist/chunks/{file-retention-bstexjd6.js → console-access-bstexjd6.js} +1 -1
  125. package/dist/chunks/{file-retention-eb9nv8p6.js → console-access-bvsx32pr.js} +33 -33
  126. package/dist/chunks/{file-retention-rh5js60t.js → console-access-bzwyaehh.js} +16 -16
  127. package/dist/chunks/{file-retention-229tvxdn.js → console-access-c5zvymhv.js} +4 -4
  128. package/dist/chunks/{file-retention-0nby6mnz.js → console-access-c7qen1zz.js} +11 -11
  129. package/dist/chunks/{file-retention-2k299qg4.js → console-access-cm1e61mx.js} +20 -20
  130. package/dist/chunks/{file-retention-49wct0kc.js → console-access-cw8qd6jr.js} +16 -16
  131. package/dist/chunks/{file-retention-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
  132. package/dist/chunks/{file-retention-jtss1qkx.js → console-access-d08jr1vs.js} +15 -15
  133. package/dist/chunks/{file-retention-z6g4szpb.js → console-access-d34c0f98.js} +8 -8
  134. package/dist/chunks/{file-retention-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
  135. package/dist/chunks/{file-retention-fc62rt39.js → console-access-d5t3r07z.js} +18 -18
  136. package/dist/chunks/{file-retention-adjee44k.js → console-access-d7ghtrxv.js} +8 -8
  137. package/dist/chunks/{file-retention-0hxcpwt2.js → console-access-d7qcj0s1.js} +3 -3
  138. package/dist/chunks/{file-retention-5kc3t2f9.js → console-access-d8mebr7j.js} +11 -11
  139. package/dist/chunks/{file-retention-8akjpyn6.js → console-access-dbatw319.js} +3 -3
  140. package/dist/chunks/{file-retention-s6yrjw80.js → console-access-dbbw9dzx.js} +40 -40
  141. package/dist/chunks/{file-retention-xc7hst99.js → console-access-dc9yh1nj.js} +25 -25
  142. package/dist/chunks/{file-retention-f1sxnq30.js → console-access-dcajwrfg.js} +25 -25
  143. package/dist/chunks/{file-retention-kas5rcgf.js → console-access-dksb4998.js} +18 -18
  144. package/dist/chunks/{file-retention-040rxmsg.js → console-access-dmtjqkrt.js} +7 -7
  145. package/dist/chunks/{file-retention-0dxcp800.js → console-access-dmwh07z0.js} +5 -5
  146. package/dist/chunks/{file-retention-xx767whj.js → console-access-dntrk4bw.js} +45 -45
  147. package/dist/chunks/{file-retention-7m3mjwky.js → console-access-dnv9nt59.js} +13 -13
  148. package/dist/chunks/{file-retention-dt77769w.js → console-access-dt77769w.js} +1 -1
  149. package/dist/chunks/{file-retention-ftqqst3x.js → console-access-dtqmsaca.js} +30 -30
  150. package/dist/chunks/{file-retention-cf21gzb8.js → console-access-dyjmcgsb.js} +5 -5
  151. package/dist/chunks/{file-retention-f805k95c.js → console-access-dyycx927.js} +3 -3
  152. package/dist/chunks/{file-retention-7xgv5ycq.js → console-access-e00ypw80.js} +43 -43
  153. package/dist/chunks/{file-retention-q7mj2rrj.js → console-access-e1vmmkh1.js} +24 -24
  154. package/dist/chunks/{file-retention-b6zprkys.js → console-access-e3bjvj0x.js} +7 -7
  155. package/dist/chunks/{file-retention-4wakat28.js → console-access-e5bam4q2.js} +31 -31
  156. package/dist/chunks/{file-retention-4dtvemx5.js → console-access-e71bb87j.js} +8 -8
  157. package/dist/chunks/{file-retention-mwnw36e2.js → console-access-e9nbs0fg.js} +6 -6
  158. package/dist/chunks/{file-retention-fmtchrtw.js → console-access-ephqr37y.js} +7 -7
  159. package/dist/chunks/{file-retention-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
  160. package/dist/chunks/{file-retention-eeqxneqt.js → console-access-esypk4e8.js} +6 -6
  161. package/dist/chunks/{file-retention-7ate3mdg.js → console-access-exc53rth.js} +190 -190
  162. package/dist/chunks/{file-retention-73t33r1z.js → console-access-ezd208n0.js} +21 -21
  163. package/dist/chunks/{file-retention-qrnem0ta.js → console-access-f76y97hd.js} +28 -28
  164. package/dist/chunks/{file-retention-fg9p65nk.js → console-access-fg9p65nk.js} +2 -2
  165. package/dist/chunks/{file-retention-pzy821ss.js → console-access-frfd7dhs.js} +15 -15
  166. package/dist/chunks/console-access-fwbnttap.js +26 -0
  167. package/dist/chunks/{file-retention-tp1jb13k.js → console-access-g4txs7zc.js} +7 -7
  168. package/dist/chunks/{file-retention-rzg6y5rp.js → console-access-g5ajqn12.js} +4 -4
  169. package/dist/chunks/{file-retention-qxejr2tq.js → console-access-gaak9hc5.js} +12 -12
  170. package/dist/chunks/{file-retention-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
  171. package/dist/chunks/{file-retention-wksqf360.js → console-access-gekbr165.js} +6 -6
  172. package/dist/chunks/{file-retention-3adw4bt5.js → console-access-gerka9tj.js} +9 -9
  173. package/dist/chunks/{file-retention-x8w129ft.js → console-access-gff9pfk6.js} +10 -10
  174. package/dist/chunks/{file-retention-ghrv1g9c.js → console-access-ghrv1g9c.js} +1 -1
  175. package/dist/chunks/{file-retention-0gp4h782.js → console-access-gmemj5zs.js} +7 -7
  176. package/dist/chunks/{file-retention-5enc3vxd.js → console-access-grqdy4zd.js} +5 -5
  177. package/dist/chunks/{file-retention-tg7s7b5t.js → console-access-gxs71cxp.js} +4 -4
  178. package/dist/chunks/{file-retention-2xm40w62.js → console-access-gyz3qj93.js} +12 -12
  179. package/dist/chunks/{file-retention-ecpg6fb9.js → console-access-h2j9sg05.js} +4 -4
  180. package/dist/chunks/{file-retention-hgzwgvze.js → console-access-hgzwgvze.js} +2 -2
  181. package/dist/chunks/{file-retention-kyzerg4y.js → console-access-hkk8p6m2.js} +19 -19
  182. package/dist/chunks/console-access-hkqsfgg0.js +273 -0
  183. package/dist/chunks/{file-retention-sq4s6wq1.js → console-access-hmc1gkc2.js} +6 -6
  184. package/dist/chunks/{file-retention-d254c387.js → console-access-hn6smzns.js} +12 -12
  185. package/dist/chunks/{file-retention-mnkn5pp4.js → console-access-hpszt470.js} +10 -10
  186. package/dist/chunks/{file-retention-hcbk55mf.js → console-access-hst96p25.js} +10 -10
  187. package/dist/chunks/{file-retention-y5pgrr0z.js → console-access-j23maf10.js} +8 -8
  188. package/dist/chunks/{file-retention-jht64jd1.js → console-access-j376ae4e.js} +7 -7
  189. package/dist/chunks/{file-retention-bffykna6.js → console-access-j5k2q35g.js} +5 -5
  190. package/dist/chunks/{file-retention-ze75qvmd.js → console-access-j9nxzz3g.js} +3 -3
  191. package/dist/chunks/{file-retention-471b4vg3.js → console-access-jka91q9b.js} +12 -12
  192. package/dist/chunks/{file-retention-jm70asfg.js → console-access-jm70asfg.js} +1 -1
  193. package/dist/chunks/{file-retention-k99ec1p8.js → console-access-jtd3nx7d.js} +18 -18
  194. package/dist/chunks/{file-retention-ptbvxvsc.js → console-access-jvbdzyph.js} +25 -25
  195. package/dist/chunks/{file-retention-twhtcdx9.js → console-access-jxd6f16v.js} +4 -4
  196. package/dist/chunks/{file-retention-prq49vex.js → console-access-k4mr4bhj.js} +8 -8
  197. package/dist/chunks/{file-retention-cw6ks3ew.js → console-access-kfgdwvqa.js} +8 -8
  198. package/dist/chunks/{file-retention-rj7jtxy8.js → console-access-kn4zqwcq.js} +3 -3
  199. package/dist/chunks/{file-retention-csqnxa1q.js → console-access-kn9egfvk.js} +43 -43
  200. package/dist/chunks/{file-retention-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
  201. package/dist/chunks/{file-retention-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
  202. package/dist/chunks/{file-retention-m1714858.js → console-access-m1714858.js} +1 -1
  203. package/dist/chunks/console-access-m6cfdtf3.js +16 -0
  204. package/dist/chunks/{file-retention-xpccsfks.js → console-access-m6cqxy11.js} +2 -2
  205. package/dist/chunks/{file-retention-gh3v29h0.js → console-access-m7mnrwb4.js} +21 -21
  206. package/dist/chunks/{file-retention-w0tdj5cr.js → console-access-m7s6ca50.js} +20 -20
  207. package/dist/chunks/{file-retention-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
  208. package/dist/chunks/{file-retention-mydpxcgn.js → console-access-mafjawne.js} +9 -9
  209. package/dist/chunks/{file-retention-39j14cry.js → console-access-makqk4p0.js} +11 -11
  210. package/dist/chunks/{file-retention-mb7mbhnz.js → console-access-mb7mbhnz.js} +3 -3
  211. package/dist/chunks/{file-retention-36fpmjbw.js → console-access-mhyfgg0f.js} +8 -8
  212. package/dist/chunks/{file-retention-bq1g6b1d.js → console-access-mrqgz68h.js} +21 -21
  213. package/dist/chunks/{file-retention-yy1xpgfn.js → console-access-mrshbdnr.js} +6 -6
  214. package/dist/chunks/{file-retention-t702817v.js → console-access-myrn9hzz.js} +24 -24
  215. package/dist/chunks/{file-retention-nm246k4b.js → console-access-n06gcgnq.js} +36 -36
  216. package/dist/chunks/{file-retention-xvn8mnch.js → console-access-n320gsn2.js} +4 -4
  217. package/dist/chunks/{file-retention-n3j33rb6.js → console-access-n3j33rb6.js} +1 -1
  218. package/dist/chunks/{file-retention-zt2z3e0p.js → console-access-n490h0n0.js} +17 -17
  219. package/dist/chunks/{file-retention-p9eyzste.js → console-access-n6c28s3t.js} +5 -5
  220. package/dist/chunks/console-access-n881mvrn.js +577 -0
  221. package/dist/chunks/{file-retention-bwr3jnns.js → console-access-naj1ztqj.js} +19 -19
  222. package/dist/chunks/{file-retention-bcbezmcm.js → console-access-nd2qx06s.js} +9 -9
  223. package/dist/chunks/{file-retention-gc6rk9wr.js → console-access-ne6efjj0.js} +6 -6
  224. package/dist/chunks/{file-retention-d390zwf3.js → console-access-neary136.js} +8 -8
  225. package/dist/chunks/{file-retention-913papyv.js → console-access-nrhtst5k.js} +21 -21
  226. package/dist/chunks/{file-retention-t16h1dw6.js → console-access-nrwphf96.js} +5 -5
  227. package/dist/chunks/{file-retention-rs3b9ywk.js → console-access-ns420n0m.js} +27 -27
  228. package/dist/chunks/{file-retention-a9hkbpc6.js → console-access-nwbwr24c.js} +17 -17
  229. package/dist/chunks/{file-retention-8ajp9zyd.js → console-access-nx04q3sg.js} +13 -13
  230. package/dist/chunks/{file-retention-bxc2ab2h.js → console-access-nzxxhp8f.js} +43 -43
  231. package/dist/chunks/{file-retention-7gbwh7hh.js → console-access-p0dv86dy.js} +11 -11
  232. package/dist/chunks/{file-retention-ybfry77y.js → console-access-p112r1sm.js} +35 -35
  233. package/dist/chunks/{file-retention-p8nn0xd4.js → console-access-p7v9ygj7.js} +3 -3
  234. package/dist/chunks/{file-retention-6vzxa6gg.js → console-access-phsfnnr6.js} +8 -8
  235. package/dist/chunks/{file-retention-wqjs5pht.js → console-access-pje0v8s4.js} +8 -8
  236. package/dist/chunks/{file-retention-pknna89w.js → console-access-pknna89w.js} +1 -1
  237. package/dist/chunks/{file-retention-sxqh7f09.js → console-access-pnv204xn.js} +3 -3
  238. package/dist/chunks/{file-retention-45fhkea0.js → console-access-pprmp17x.js} +27 -27
  239. package/dist/chunks/{file-retention-4yabvb9z.js → console-access-pqaxy2r3.js} +13 -13
  240. package/dist/chunks/{file-retention-y9ww16zv.js → console-access-pqd1cn45.js} +12 -12
  241. package/dist/chunks/{file-retention-h5ncs4da.js → console-access-prpd82qr.js} +81 -81
  242. package/dist/chunks/{file-retention-ppjhkp0t.js → console-access-ptxz824y.js} +26 -26
  243. package/dist/chunks/{file-retention-e07faqy4.js → console-access-pvdvc745.js} +14 -14
  244. package/dist/chunks/{file-retention-x9js1xgv.js → console-access-pw6384bd.js} +14 -14
  245. package/dist/chunks/{file-retention-2xdfg7wz.js → console-access-q3cvvbew.js} +17 -17
  246. package/dist/chunks/{file-retention-ddznp77j.js → console-access-q3vm1595.js} +4 -4
  247. package/dist/chunks/{file-retention-q42tzrxa.js → console-access-q42tzrxa.js} +1 -1
  248. package/dist/chunks/{file-retention-1akar8ks.js → console-access-q5w0t43j.js} +3 -3
  249. package/dist/chunks/{file-retention-yr9fzrcg.js → console-access-qkqeqkpk.js} +18 -18
  250. package/dist/chunks/{file-retention-mkny72vx.js → console-access-qns96f87.js} +8 -8
  251. package/dist/chunks/{file-retention-k0tm75mb.js → console-access-qnwgk64f.js} +6 -6
  252. package/dist/chunks/{file-retention-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
  253. package/dist/chunks/{file-retention-c4fqyyzh.js → console-access-qqwzamdg.js} +35 -35
  254. package/dist/chunks/{file-retention-wfdx5ztx.js → console-access-qsdghx1p.js} +4 -4
  255. package/dist/chunks/{file-retention-mdfqpk4k.js → console-access-qzjzxpbh.js} +2 -2
  256. package/dist/chunks/{file-retention-zsnv2c73.js → console-access-r1f8qb7a.js} +16 -16
  257. package/dist/chunks/{file-retention-pkks4ccs.js → console-access-r2527jg6.js} +26 -26
  258. package/dist/chunks/{file-retention-f8h4q6rt.js → console-access-r2xstaf7.js} +57 -57
  259. package/dist/chunks/{file-retention-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
  260. package/dist/chunks/{file-retention-nx4mdkkp.js → console-access-rcs0hb49.js} +14 -14
  261. package/dist/chunks/{file-retention-sz4vf8k7.js → console-access-rfmjs4hq.js} +26 -26
  262. package/dist/chunks/{file-retention-rgc9cx3e.js → console-access-rgc9cx3e.js} +2 -2
  263. package/dist/chunks/{file-retention-gwmqddn8.js → console-access-rhtywd3t.js} +48 -48
  264. package/dist/chunks/{file-retention-gf7w3qjk.js → console-access-rjmcyenf.js} +23 -23
  265. package/dist/chunks/{file-retention-15jjwh3e.js → console-access-rm9ajgvd.js} +50 -50
  266. package/dist/chunks/{file-retention-rt5dr6hb.js → console-access-rt5dr6hb.js} +1 -1
  267. package/dist/chunks/{file-retention-eyq5wfd8.js → console-access-rvrjm6jd.js} +40 -40
  268. package/dist/chunks/{file-retention-ad21tgm2.js → console-access-s1ba0vj0.js} +4 -4
  269. package/dist/chunks/{file-retention-s3m11dxy.js → console-access-s22dy3a0.js} +11 -11
  270. package/dist/chunks/{file-retention-3z2wansv.js → console-access-s2ge5w7w.js} +18 -18
  271. package/dist/chunks/{file-retention-jtn88xg7.js → console-access-s818qefp.js} +5 -5
  272. package/dist/chunks/{file-retention-8j76zmcb.js → console-access-s8asb78j.js} +36 -36
  273. package/dist/chunks/{file-retention-sbya78hr.js → console-access-sbya78hr.js} +1 -1
  274. package/dist/chunks/{file-retention-fcv31keh.js → console-access-smzy4vaf.js} +16 -16
  275. package/dist/chunks/{file-retention-0j7gp832.js → console-access-sqjzf8x2.js} +4 -4
  276. package/dist/chunks/{file-retention-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
  277. package/dist/chunks/{file-retention-y5c52r2e.js → console-access-t6azh02g.js} +30 -30
  278. package/dist/chunks/{file-retention-tamy641b.js → console-access-t9k8dc17.js} +7 -7
  279. package/dist/chunks/{file-retention-aefd2vw2.js → console-access-ta2xht0h.js} +7 -7
  280. package/dist/chunks/{file-retention-9ff9wbtn.js → console-access-tb69n0x2.js} +15 -15
  281. package/dist/chunks/{file-retention-tbpn7jtk.js → console-access-tbpn7jtk.js} +1 -1
  282. package/dist/chunks/{file-retention-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
  283. package/dist/chunks/{file-retention-3a1jm349.js → console-access-teb98hn1.js} +32 -32
  284. package/dist/chunks/{file-retention-xw8brf9j.js → console-access-tfbnzh0p.js} +21 -21
  285. package/dist/chunks/{file-retention-ddvn7d3w.js → console-access-tg1vr1qt.js} +8 -8
  286. package/dist/chunks/{file-retention-ca3yk086.js → console-access-thrrdxke.js} +12 -12
  287. package/dist/chunks/{file-retention-3nnrz6f6.js → console-access-tmc7xdjs.js} +4 -4
  288. package/dist/chunks/{file-retention-vp7d9g79.js → console-access-tqvcw06e.js} +21 -21
  289. package/dist/chunks/{file-retention-5q33j1cv.js → console-access-trn5p6e4.js} +8 -8
  290. package/dist/chunks/{file-retention-tvtps2q9.js → console-access-tvtps2q9.js} +1 -1
  291. package/dist/chunks/{file-retention-twssxy5n.js → console-access-twssxy5n.js} +2 -2
  292. package/dist/chunks/{file-retention-3v50s0nm.js → console-access-tx91wa5k.js} +4 -4
  293. package/dist/chunks/{file-retention-scn5v30h.js → console-access-tz8eqr11.js} +9 -9
  294. package/dist/chunks/{file-retention-2kg89srt.js → console-access-v0t96s7a.js} +4 -4
  295. package/dist/chunks/{file-retention-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
  296. package/dist/chunks/{file-retention-t2jp7rtp.js → console-access-v9zdem22.js} +4 -4
  297. package/dist/chunks/{file-retention-0kpz9k6q.js → console-access-vepp55ty.js} +16 -16
  298. package/dist/chunks/{file-retention-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
  299. package/dist/chunks/{file-retention-2cygvtc6.js → console-access-vrrgz1qg.js} +27 -27
  300. package/dist/chunks/{file-retention-e45fk36t.js → console-access-vsnnaxjq.js} +4 -4
  301. package/dist/chunks/{file-retention-vq0qa3sh.js → console-access-vt4r9rmy.js} +9 -9
  302. package/dist/chunks/{file-retention-by8rs8mm.js → console-access-vwrger27.js} +5 -5
  303. package/dist/chunks/{file-retention-3139xxfc.js → console-access-w15zd25f.js} +8 -8
  304. package/dist/chunks/{file-retention-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{file-retention-j1k6k24k.js → console-access-w58jdkkk.js} +18 -18
  306. package/dist/chunks/{file-retention-683maj78.js → console-access-w9kzdg46.js} +21 -21
  307. package/dist/chunks/{file-retention-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
  308. package/dist/chunks/{file-retention-wd87259q.js → console-access-wd87259q.js} +1 -1
  309. package/dist/chunks/{file-retention-wegkxhrn.js → console-access-wegkxhrn.js} +2 -2
  310. package/dist/chunks/{file-retention-scz6edve.js → console-access-wrya0g69.js} +16 -16
  311. package/dist/chunks/{file-retention-0t6d4jhr.js → console-access-wt03ddtm.js} +14 -14
  312. package/dist/chunks/{file-retention-c7cw818c.js → console-access-wt99tj4q.js} +5 -5
  313. package/dist/chunks/{file-retention-agje4kmn.js → console-access-wvr8xscb.js} +4 -4
  314. package/dist/chunks/{file-retention-00evz0zc.js → console-access-wwxk7600.js} +6 -6
  315. package/dist/chunks/{file-retention-kj9n5bvh.js → console-access-wzfa06mn.js} +4 -4
  316. package/dist/chunks/{file-retention-tr00xmye.js → console-access-x04hzgkb.js} +11 -11
  317. package/dist/chunks/{file-retention-9xgw5zfe.js → console-access-x3recckr.js} +17 -17
  318. package/dist/chunks/{file-retention-reqkdp97.js → console-access-x5kfq3yz.js} +18 -18
  319. package/dist/chunks/{file-retention-p06kgngc.js → console-access-xbth7ss2.js} +14 -14
  320. package/dist/chunks/{file-retention-rdf28bwj.js → console-access-xgn44gwg.js} +21 -21
  321. package/dist/chunks/{file-retention-nad3qcx8.js → console-access-xjr6c8m4.js} +7 -7
  322. package/dist/chunks/{file-retention-cgtdmx1h.js → console-access-xkds0x2j.js} +14 -14
  323. package/dist/chunks/{file-retention-m4db2ssm.js → console-access-xkm32hee.js} +24 -24
  324. package/dist/chunks/{file-retention-b3d082y1.js → console-access-xksr325c.js} +29 -29
  325. package/dist/chunks/{file-retention-c6x7d2ts.js → console-access-xmx7xj34.js} +4 -4
  326. package/dist/chunks/{file-retention-jezdr3qb.js → console-access-xtnrhe13.js} +20 -20
  327. package/dist/chunks/{file-retention-1vtweyq1.js → console-access-xv8ebtyd.js} +33 -33
  328. package/dist/chunks/{file-retention-4thshjht.js → console-access-xvwzx2wf.js} +4 -4
  329. package/dist/chunks/{file-retention-yvh06wfw.js → console-access-xz9n4yz8.js} +30 -30
  330. package/dist/chunks/{file-retention-srr3d3tf.js → console-access-y0mwm48d.js} +24 -24
  331. package/dist/chunks/{file-retention-2n444ktb.js → console-access-y1havdw8.js} +2 -2
  332. package/dist/chunks/{file-retention-5a7qb1w3.js → console-access-y5f0vbmm.js} +5 -5
  333. package/dist/chunks/{file-retention-jnaj2187.js → console-access-y77t6fsn.js} +17 -17
  334. package/dist/chunks/{file-retention-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
  335. package/dist/chunks/{file-retention-4tnarq1t.js → console-access-ybws1qgk.js} +6 -6
  336. package/dist/chunks/{file-retention-ayfytmn9.js → console-access-yepd7x5v.js} +5 -5
  337. package/dist/chunks/{file-retention-jwcw5enf.js → console-access-ykmv08mh.js} +19 -19
  338. package/dist/chunks/{file-retention-0tvgqg49.js → console-access-ym6yadkh.js} +1 -1
  339. package/dist/chunks/{file-retention-y3019neg.js → console-access-yn22anjs.js} +16 -16
  340. package/dist/chunks/{file-retention-yr705xyq.js → console-access-yr705xyq.js} +1 -1
  341. package/dist/chunks/{file-retention-me215f18.js → console-access-ys900tws.js} +1 -1
  342. package/dist/chunks/{file-retention-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
  343. package/dist/chunks/{file-retention-ydsyqk66.js → console-access-yz8mc9g0.js} +15 -15
  344. package/dist/chunks/{file-retention-n8pvpwzy.js → console-access-z67xtz9a.js} +11 -11
  345. package/dist/chunks/{file-retention-wa6s0ez2.js → console-access-za044aqh.js} +2 -2
  346. package/dist/chunks/{file-retention-sxawesdv.js → console-access-zhaqajd3.js} +19 -19
  347. package/dist/chunks/{file-retention-zqa3fvkz.js → console-access-zhn9qdqs.js} +22 -22
  348. package/dist/chunks/{file-retention-by8ty0bx.js → console-access-zpdbqgja.js} +4 -4
  349. package/dist/chunks/{file-retention-kpgsw4f5.js → console-access-zt6km58w.js} +6 -6
  350. package/dist/chunks/{file-retention-d94nassh.js → console-access-zyd8fw9q.js} +78 -78
  351. package/dist/codemode/catalog.js +1 -1
  352. package/dist/codemode/execution.js +5 -5
  353. package/dist/codemode/fetch.js +148 -148
  354. package/dist/codemode/instructions.js +9 -9
  355. package/dist/codemode/tool.js +155 -155
  356. package/dist/command.js +94 -94
  357. package/dist/config/discovery.js +95 -95
  358. package/dist/config/integration.js +1 -1
  359. package/dist/config/managed.js +1 -1
  360. package/dist/config/markdown.js +1 -1
  361. package/dist/config/normalize.js +112 -112
  362. package/dist/config/plugin/agent.js +133 -133
  363. package/dist/config/plugin/command.js +240 -240
  364. package/dist/config/plugin/compaction.js +173 -173
  365. package/dist/config/plugin/compatibility.js +153 -153
  366. package/dist/config/plugin/entry-observer.js +1 -1
  367. package/dist/config/plugin/formatter.js +131 -131
  368. package/dist/config/plugin/image.js +130 -130
  369. package/dist/config/plugin/instruction.js +130 -130
  370. package/dist/config/plugin/location-watcher.js +132 -132
  371. package/dist/config/plugin/mcp.js +145 -145
  372. package/dist/config/plugin/policy.js +130 -130
  373. package/dist/config/plugin/provider.js +132 -132
  374. package/dist/config/plugin/reference.js +132 -132
  375. package/dist/config/plugin/shell.js +132 -132
  376. package/dist/config/plugin/skill-file.js +149 -149
  377. package/dist/config/plugin/skill-scan.js +1 -1
  378. package/dist/config/plugin/skill.js +156 -156
  379. package/dist/config/plugin/snapshot.js +130 -130
  380. package/dist/config/plugin/source.js +132 -132
  381. package/dist/config/plugin/tool-output.js +131 -131
  382. package/dist/config/plugin/websearch.js +131 -131
  383. package/dist/config/plugin/worktree.js +132 -132
  384. package/dist/config/variable.js +1 -1
  385. package/dist/config/watch.js +1 -1
  386. package/dist/config.js +135 -135
  387. package/dist/console-access.js +1 -1
  388. package/dist/credential/sql.js +2 -2
  389. package/dist/credential.js +92 -92
  390. package/dist/database/batch.js +1 -1
  391. package/dist/database/database.js +77 -77
  392. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  394. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  395. package/dist/database/drizzle/index.js +13 -13
  396. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  399. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  405. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  406. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  407. package/dist/database/drizzle.js +14 -14
  408. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  409. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  410. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  411. package/dist/database/migration/20260225215848_workspace.js +1 -1
  412. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  413. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  414. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  415. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  416. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  417. package/dist/database/migration/20260323234822_events.js +1 -1
  418. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  419. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  420. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  421. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  422. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  423. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  424. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  425. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  426. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  427. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  428. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  429. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  430. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  431. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  432. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  433. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  434. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  435. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  436. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  437. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  438. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  439. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  440. package/dist/database/migration/20260611035744_credential.js +1 -1
  441. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  442. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  443. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  444. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  445. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  446. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  447. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  448. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  449. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  450. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  451. package/dist/database/migration/20260812213948_worktree.js +1 -1
  452. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  453. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  454. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  455. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  456. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  457. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  458. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  459. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  460. package/dist/database/migration/20261025123711_blob.js +1 -1
  461. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  462. package/dist/database/migration/20261026223005_schedule.js +1 -1
  463. package/dist/database/migration/20261029002625_session_part.js +1 -1
  464. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  465. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  466. package/dist/database/migration/20261030054400_job.js +1 -1
  467. package/dist/database/migration.gen.js +60 -60
  468. package/dist/database/migration.js +76 -76
  469. package/dist/database/path.js +2 -2
  470. package/dist/database/schema.gen.js +1 -1
  471. package/dist/database/schema.sql.js +1 -1
  472. package/dist/database/v1-migration.bun.js +98 -98
  473. package/dist/database/v1-migration.js +1 -1
  474. package/dist/effect/app-node-builder.js +441 -441
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +1 -1
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +108 -108
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +3 -3
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +81 -81
  488. package/dist/file-access.js +160 -160
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +160 -160
  492. package/dist/filesystem/fff.bun.js +2 -2
  493. package/dist/filesystem/fff.js +1 -1
  494. package/dist/filesystem/fff.node.js +2 -2
  495. package/dist/filesystem/fff.workerd.js +2 -2
  496. package/dist/filesystem/file-watch.js +88 -88
  497. package/dist/filesystem/location-watcher-policy.js +6 -6
  498. package/dist/filesystem/location-watcher.js +253 -253
  499. package/dist/filesystem/protected.js +1 -1
  500. package/dist/filesystem/search.js +111 -111
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +11 -11
  503. package/dist/filesystem.js +118 -118
  504. package/dist/flag.js +133 -133
  505. package/dist/form.js +89 -89
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +120 -120
  509. package/dist/git.js +7 -7
  510. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  511. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  512. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  513. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  514. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  515. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  516. package/dist/github-copilot/copilot-provider.js +17 -17
  517. package/dist/github-copilot/models.js +112 -112
  518. package/dist/github-copilot/openai-compatible-error.js +1 -1
  519. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  520. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  521. package/dist/github-copilot/responses/openai-error.js +1 -1
  522. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  523. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  524. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  525. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  526. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  528. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  529. package/dist/image/notice.js +3 -3
  530. package/dist/image/photon-normalize.js +1 -1
  531. package/dist/image/photon-worker.js +1 -1
  532. package/dist/image/photon.js +4 -4
  533. package/dist/image.js +6 -6
  534. package/dist/instance/service.js +5 -5
  535. package/dist/instance.js +432 -432
  536. package/dist/instruction-discovery.js +95 -95
  537. package/dist/instructions/builtins.js +100 -100
  538. package/dist/instructions/index.js +1 -1
  539. package/dist/integration/connection.js +3 -3
  540. package/dist/integration.js +96 -96
  541. package/dist/job/list.js +5 -5
  542. package/dist/job/recovery.js +2 -2
  543. package/dist/job/sql.js +2 -2
  544. package/dist/job.js +90 -90
  545. package/dist/kv/sql.js +2 -2
  546. package/dist/kv.js +84 -84
  547. package/dist/location-activity.js +182 -182
  548. package/dist/location-lifecycle.js +153 -153
  549. package/dist/location-service-map.js +99 -99
  550. package/dist/location-services.js +429 -429
  551. package/dist/location.js +94 -94
  552. package/dist/managed-policy.js +3 -3
  553. package/dist/mcp/client.js +158 -158
  554. package/dist/mcp/connection.js +106 -106
  555. package/dist/mcp/index.js +126 -126
  556. package/dist/mcp/instructions.js +189 -189
  557. package/dist/mcp/oauth.js +89 -89
  558. package/dist/mcp/pool.js +112 -112
  559. package/dist/mcp/socket-client.js +1 -1
  560. package/dist/mcp/stdio.js +157 -157
  561. package/dist/mime.js +1 -1
  562. package/dist/modal/models.js +112 -112
  563. package/dist/model-resolver.js +110 -110
  564. package/dist/model-retry.js +1 -1
  565. package/dist/model.js +111 -111
  566. package/dist/models-dev/v1.js +1 -1
  567. package/dist/models-dev.js +115 -115
  568. package/dist/oauth/page.js +1 -1
  569. package/dist/permission/saved.js +91 -91
  570. package/dist/permission/sql.js +5 -5
  571. package/dist/permission.js +156 -156
  572. package/dist/persistent-pty/binary.bun.js +1 -1
  573. package/dist/persistent-pty/daemon.js +1 -1
  574. package/dist/persistent-pty/index.js +101 -101
  575. package/dist/persistent-pty/pty-binding.js +1 -1
  576. package/dist/persistent-pty.js +86 -86
  577. package/dist/plugin/agent.js +87 -87
  578. package/dist/plugin/command.js +119 -119
  579. package/dist/plugin/goal.js +3 -3
  580. package/dist/plugin/hooks.js +5 -5
  581. package/dist/plugin/host.js +244 -244
  582. package/dist/plugin/identity.js +5 -5
  583. package/dist/plugin/instance.js +5 -5
  584. package/dist/plugin/internal.js +410 -410
  585. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  586. package/dist/plugin/models-dev.js +110 -110
  587. package/dist/plugin/module.js +129 -129
  588. package/dist/plugin/optimize.js +2 -2
  589. package/dist/plugin/plan.js +149 -149
  590. package/dist/plugin/promise.js +1 -1
  591. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  592. package/dist/plugin/provider/azure.js +133 -133
  593. package/dist/plugin/provider/cerebras.js +1 -1
  594. package/dist/plugin/provider/chatgpt.js +133 -133
  595. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  596. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  597. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  598. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  599. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  600. package/dist/plugin/provider/claude-agent/claude/sdk.js +5 -5
  601. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  602. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  603. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  604. package/dist/plugin/provider/claude-agent/index.js +148 -148
  605. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  606. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  608. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  609. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  610. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  612. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  613. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  614. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  615. package/dist/plugin/provider/claude-agent/session.js +112 -112
  616. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  617. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  619. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  620. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  625. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  626. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  627. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  628. package/dist/plugin/provider/configured.js +126 -126
  629. package/dist/plugin/provider/credential-settings.js +88 -88
  630. package/dist/plugin/provider/databricks.js +1 -1
  631. package/dist/plugin/provider/digitalocean.js +109 -109
  632. package/dist/plugin/provider/dynamic.js +2 -2
  633. package/dist/plugin/provider/github-copilot.js +111 -111
  634. package/dist/plugin/provider/gitlab.js +109 -109
  635. package/dist/plugin/provider/google-vertex.js +127 -127
  636. package/dist/plugin/provider/kilo.js +1 -1
  637. package/dist/plugin/provider/llmgateway.js +89 -89
  638. package/dist/plugin/provider/lmstudio.js +140 -140
  639. package/dist/plugin/provider/local.js +137 -137
  640. package/dist/plugin/provider/modal.js +108 -108
  641. package/dist/plugin/provider/neon.js +1 -1
  642. package/dist/plugin/provider/nvidia.js +1 -1
  643. package/dist/plugin/provider/ollama.js +140 -140
  644. package/dist/plugin/provider/openai-context-caps.js +106 -106
  645. package/dist/plugin/provider/openai.js +133 -133
  646. package/dist/plugin/provider/opencode-watches.js +4 -4
  647. package/dist/plugin/provider/opencode.js +161 -161
  648. package/dist/plugin/provider/openrouter.js +104 -104
  649. package/dist/plugin/provider/poe.js +90 -90
  650. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  651. package/dist/plugin/provider/refresh.js +87 -87
  652. package/dist/plugin/provider/sap-ai-core.js +104 -104
  653. package/dist/plugin/provider/sdk-factory.js +1 -1
  654. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  655. package/dist/plugin/provider/vllm.js +140 -140
  656. package/dist/plugin/provider/xai.js +104 -104
  657. package/dist/plugin/provider/zenmux.js +1 -1
  658. package/dist/plugin/provider.js +239 -239
  659. package/dist/plugin/sdk.js +89 -89
  660. package/dist/plugin/service.js +3 -3
  661. package/dist/plugin/skill.js +152 -152
  662. package/dist/plugin/source-directory.js +1 -1
  663. package/dist/plugin/supervisor.js +420 -420
  664. package/dist/plugin/tool-input-repair.js +4 -4
  665. package/dist/plugin/update.js +6 -6
  666. package/dist/plugin/vcs/git.js +99 -99
  667. package/dist/plugin/vcs/hg.js +99 -99
  668. package/dist/plugin/verbosity.js +106 -106
  669. package/dist/plugin/warming.js +130 -130
  670. package/dist/plugin/websearch/exa.js +6 -6
  671. package/dist/plugin/websearch/firecrawl.js +9 -9
  672. package/dist/plugin/websearch/index.js +10 -10
  673. package/dist/plugin/websearch/mcp.js +6 -6
  674. package/dist/plugin/websearch/parallel.js +9 -9
  675. package/dist/plugin/websearch/provider.js +5 -5
  676. package/dist/plugin/websearch/tavily.js +7 -7
  677. package/dist/plugin/websearch/tinyfish.js +9 -9
  678. package/dist/plugin.js +249 -249
  679. package/dist/project/icon.js +5 -5
  680. package/dist/project/schema.js +2 -2
  681. package/dist/project/sql.js +4 -4
  682. package/dist/project.js +93 -93
  683. package/dist/provider.js +110 -110
  684. package/dist/pty/protocol.js +1 -1
  685. package/dist/pty/ticket.js +1 -1
  686. package/dist/pty.js +105 -105
  687. package/dist/reference/instructions.js +99 -99
  688. package/dist/reference.js +103 -103
  689. package/dist/repository-cache.js +93 -93
  690. package/dist/repository.js +1 -1
  691. package/dist/ripgrep/binary.js +2 -2
  692. package/dist/ripgrep.js +109 -109
  693. package/dist/rpc.js +99 -99
  694. package/dist/schedule/check.js +249 -249
  695. package/dist/schedule/sql.js +6 -6
  696. package/dist/schedule.js +255 -255
  697. package/dist/schema.js +1 -1
  698. package/dist/session/affinity.js +3 -3
  699. package/dist/session/background.js +3 -3
  700. package/dist/session/blob.js +132 -132
  701. package/dist/session/command.js +85 -85
  702. package/dist/session/compaction.js +175 -175
  703. package/dist/session/context.js +205 -205
  704. package/dist/session/diff.js +101 -101
  705. package/dist/session/environment.js +5 -5
  706. package/dist/session/error.js +3 -3
  707. package/dist/session/event.js +1 -1
  708. package/dist/session/execution/restart.js +251 -251
  709. package/dist/session/execution.js +171 -171
  710. package/dist/session/generate.js +206 -206
  711. package/dist/session/history.js +139 -139
  712. package/dist/session/inbox.js +148 -148
  713. package/dist/session/info.js +3 -3
  714. package/dist/session/instruction-entry.js +90 -90
  715. package/dist/session/instruction-state.js +8 -8
  716. package/dist/session/instructions.js +146 -146
  717. package/dist/session/message-updater.js +4 -4
  718. package/dist/session/message.js +1 -1
  719. package/dist/session/model-request.js +171 -171
  720. package/dist/session/model-transport.js +9 -9
  721. package/dist/session/move.js +171 -171
  722. package/dist/session/projector.js +146 -146
  723. package/dist/session/prompt.js +151 -151
  724. package/dist/session/recent-text.js +1 -1
  725. package/dist/session/revert.js +142 -142
  726. package/dist/session/run-coordinator.js +3 -3
  727. package/dist/session/runner/index.js +3 -3
  728. package/dist/session/runner/llm.js +258 -258
  729. package/dist/session/runner/max-steps.js +1 -1
  730. package/dist/session/runner/model.js +113 -113
  731. package/dist/session/runner/publish-llm-event.js +153 -153
  732. package/dist/session/runner/retry.js +5 -5
  733. package/dist/session/runner/step.js +166 -166
  734. package/dist/session/runner/to-llm-message.js +140 -140
  735. package/dist/session/schema.js +3 -3
  736. package/dist/session/session.js +188 -188
  737. package/dist/session/shell.js +145 -145
  738. package/dist/session/skill.js +152 -152
  739. package/dist/session/sql.js +5 -5
  740. package/dist/session/stats.js +85 -85
  741. package/dist/session/store.js +145 -145
  742. package/dist/session/stored.js +2 -2
  743. package/dist/session/subagent-completion.js +3 -3
  744. package/dist/session/subagent-job.js +237 -237
  745. package/dist/session/system-prompt.js +3 -3
  746. package/dist/session/title.js +209 -209
  747. package/dist/session/to-session-error.js +152 -152
  748. package/dist/session/transfer.js +244 -244
  749. package/dist/session/usage.js +3 -3
  750. package/dist/session.js +239 -239
  751. package/dist/shared-cache.js +5 -5
  752. package/dist/shell/parse.js +6 -6
  753. package/dist/shell/result.js +1 -1
  754. package/dist/shell/scan.js +1 -1
  755. package/dist/shell/select.js +13 -13
  756. package/dist/shell.js +147 -147
  757. package/dist/skill/discovery.js +6 -6
  758. package/dist/skill/instructions.js +154 -154
  759. package/dist/skill.js +161 -161
  760. package/dist/snapshot.js +102 -102
  761. package/dist/state.js +1 -1
  762. package/dist/tool/html-markdown.js +1 -1
  763. package/dist/tool/http-body.js +1 -1
  764. package/dist/tool/mcp.js +188 -188
  765. package/dist/tool/plugin/artifact.js +236 -236
  766. package/dist/tool/plugin/edit.js +170 -170
  767. package/dist/tool/plugin/file-diff.js +1 -1
  768. package/dist/tool/plugin/glob.js +174 -174
  769. package/dist/tool/plugin/grep.js +173 -173
  770. package/dist/tool/plugin/image-generate.js +243 -243
  771. package/dist/tool/plugin/mcp-resource.js +169 -169
  772. package/dist/tool/plugin/opencode.js +166 -166
  773. package/dist/tool/plugin/patch.js +169 -169
  774. package/dist/tool/plugin/question.js +151 -151
  775. package/dist/tool/plugin/read.js +175 -175
  776. package/dist/tool/plugin/schedule.js +255 -255
  777. package/dist/tool/plugin/shell.js +243 -243
  778. package/dist/tool/plugin/skill.js +158 -158
  779. package/dist/tool/plugin/subagent.js +244 -244
  780. package/dist/tool/plugin/todo.js +154 -154
  781. package/dist/tool/plugin/webfetch.js +160 -160
  782. package/dist/tool/plugin/websearch.js +158 -158
  783. package/dist/tool/plugin/write.js +171 -171
  784. package/dist/tool/read-filesystem.js +116 -116
  785. package/dist/tool/runtime.js +1 -1
  786. package/dist/tool/search.js +109 -109
  787. package/dist/tool-output.js +7 -7
  788. package/dist/tool.js +163 -163
  789. package/dist/usage-limits.js +100 -100
  790. package/dist/util/error-summary.js +1 -1
  791. package/dist/util/git-executable.js +3 -3
  792. package/dist/util/lazy.js +1 -1
  793. package/dist/util/slug.js +1 -1
  794. package/dist/util/token.js +1 -1
  795. package/dist/util/which.js +1 -1
  796. package/dist/util/wildcard.js +1 -1
  797. package/dist/v1/config/agent.js +5 -5
  798. package/dist/v1/config/command.js +3 -3
  799. package/dist/v1/config/mcp.js +4 -4
  800. package/dist/v1/config/migrate.js +105 -105
  801. package/dist/v1/config/permission.js +3 -3
  802. package/dist/v1/config/plugin.js +3 -3
  803. package/dist/v1/config/provider-options.js +1 -1
  804. package/dist/v1/config/provider.js +4 -4
  805. package/dist/variant.js +106 -106
  806. package/dist/vcs/patch.js +1 -1
  807. package/dist/vcs.js +102 -102
  808. package/dist/voice.js +99 -99
  809. package/dist/websearch.js +101 -101
  810. package/dist/wellknown/plugin.js +87 -87
  811. package/dist/wellknown.js +90 -90
  812. package/dist/workspace/driver.js +5 -5
  813. package/dist/workspace/sql.js +1 -1
  814. package/dist/workspace.js +93 -93
  815. package/dist/worktree/directory.js +2 -2
  816. package/dist/worktree/git.js +11 -11
  817. package/dist/worktree/sql.js +5 -5
  818. package/dist/worktree/strategies.js +102 -102
  819. package/dist/worktree.js +113 -113
  820. package/package.json +8 -8
  821. package/dist/chunks/file-retention-ev660z6k.js +0 -18
  822. package/dist/chunks/file-retention-g1pwz04r.js +0 -26
  823. package/dist/chunks/file-retention-g9cj8p6n.js +0 -577
  824. package/dist/chunks/file-retention-kqp8n64m.js +0 -273
  825. package/dist/chunks/file-retention-yc9fq4e8.js +0 -16
  826. /package/dist/chunks/{file-retention-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
  827. /package/dist/chunks/{file-retention-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
  828. /package/dist/chunks/{file-retention-108x4f4w.js → console-access-108x4f4w.js} +0 -0
  829. /package/dist/chunks/{file-retention-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
  830. /package/dist/chunks/{file-retention-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
  831. /package/dist/chunks/{file-retention-1kah00gy.js → console-access-1kah00gy.js} +0 -0
  832. /package/dist/chunks/{file-retention-24dcb14g.js → console-access-24dcb14g.js} +0 -0
  833. /package/dist/chunks/{file-retention-2710q6r3.js → console-access-2710q6r3.js} +0 -0
  834. /package/dist/chunks/{file-retention-2bv980vf.js → console-access-2bv980vf.js} +0 -0
  835. /package/dist/chunks/{file-retention-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
  836. /package/dist/chunks/{file-retention-359p4xyc.js → console-access-359p4xyc.js} +0 -0
  837. /package/dist/chunks/{file-retention-3af0jn4w.js → console-access-3af0jn4w.js} +0 -0
  838. /package/dist/chunks/{file-retention-3asan66x.js → console-access-3asan66x.js} +0 -0
  839. /package/dist/chunks/{file-retention-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
  840. /package/dist/chunks/{file-retention-3wcehsnq.js → console-access-3wcehsnq.js} +0 -0
  841. /package/dist/chunks/{file-retention-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
  842. /package/dist/chunks/{file-retention-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
  843. /package/dist/chunks/{file-retention-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
  844. /package/dist/chunks/{file-retention-4y7fprxs.js → console-access-4y7fprxs.js} +0 -0
  845. /package/dist/chunks/{file-retention-53557ph1.js → console-access-53557ph1.js} +0 -0
  846. /package/dist/chunks/{file-retention-550bvhaj.js → console-access-550bvhaj.js} +0 -0
  847. /package/dist/chunks/{file-retention-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
  848. /package/dist/chunks/{file-retention-6agm2x70.js → console-access-6agm2x70.js} +0 -0
  849. /package/dist/chunks/{file-retention-6prwharc.js → console-access-6prwharc.js} +0 -0
  850. /package/dist/chunks/{file-retention-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
  851. /package/dist/chunks/{file-retention-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
  852. /package/dist/chunks/{file-retention-7m9af43g.js → console-access-7m9af43g.js} +0 -0
  853. /package/dist/chunks/{file-retention-822emrt2.js → console-access-822emrt2.js} +0 -0
  854. /package/dist/chunks/{file-retention-84wd9syh.js → console-access-84wd9syh.js} +0 -0
  855. /package/dist/chunks/{file-retention-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
  856. /package/dist/chunks/{file-retention-8n3pysct.js → console-access-8n3pysct.js} +0 -0
  857. /package/dist/chunks/{file-retention-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
  858. /package/dist/chunks/{file-retention-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
  859. /package/dist/chunks/{file-retention-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
  860. /package/dist/chunks/{file-retention-af5trqkr.js → console-access-af5trqkr.js} +0 -0
  861. /package/dist/chunks/{file-retention-afrmfg78.js → console-access-afrmfg78.js} +0 -0
  862. /package/dist/chunks/{file-retention-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
  863. /package/dist/chunks/{file-retention-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
  864. /package/dist/chunks/{file-retention-beh6qq61.js → console-access-beh6qq61.js} +0 -0
  865. /package/dist/chunks/{file-retention-bhmrqjy3.js → console-access-bhmrqjy3.js} +0 -0
  866. /package/dist/chunks/{file-retention-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
  867. /package/dist/chunks/{file-retention-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
  868. /package/dist/chunks/{file-retention-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
  869. /package/dist/chunks/{file-retention-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
  870. /package/dist/chunks/{file-retention-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
  871. /package/dist/chunks/{file-retention-d9fn303g.js → console-access-d9fn303g.js} +0 -0
  872. /package/dist/chunks/{file-retention-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
  873. /package/dist/chunks/{file-retention-dap0rakb.js → console-access-dap0rakb.js} +0 -0
  874. /package/dist/chunks/{file-retention-df08tz66.js → console-access-df08tz66.js} +0 -0
  875. /package/dist/chunks/{file-retention-dy18nga0.js → console-access-dy18nga0.js} +0 -0
  876. /package/dist/chunks/{file-retention-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
  877. /package/dist/chunks/{file-retention-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
  878. /package/dist/chunks/{file-retention-ec1grn59.js → console-access-ec1grn59.js} +0 -0
  879. /package/dist/chunks/{file-retention-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
  880. /package/dist/chunks/{file-retention-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
  881. /package/dist/chunks/{file-retention-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
  882. /package/dist/chunks/{file-retention-faypxj3z.js → console-access-faypxj3z.js} +0 -0
  883. /package/dist/chunks/{file-retention-fd410y7t.js → console-access-fd410y7t.js} +0 -0
  884. /package/dist/chunks/{file-retention-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
  885. /package/dist/chunks/{file-retention-g4wezp1m.js → console-access-g4wezp1m.js} +0 -0
  886. /package/dist/chunks/{file-retention-g86h250q.js → console-access-g86h250q.js} +0 -0
  887. /package/dist/chunks/{file-retention-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
  888. /package/dist/chunks/{file-retention-gftt206x.js → console-access-gftt206x.js} +0 -0
  889. /package/dist/chunks/{file-retention-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
  890. /package/dist/chunks/{file-retention-hk9envan.js → console-access-hk9envan.js} +0 -0
  891. /package/dist/chunks/{file-retention-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
  892. /package/dist/chunks/{file-retention-j5zkgpj8.js → console-access-j5zkgpj8.js} +0 -0
  893. /package/dist/chunks/{file-retention-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
  894. /package/dist/chunks/{file-retention-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
  895. /package/dist/chunks/{file-retention-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
  896. /package/dist/chunks/{file-retention-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
  897. /package/dist/chunks/{file-retention-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
  898. /package/dist/chunks/{file-retention-m18g726c.js → console-access-m18g726c.js} +0 -0
  899. /package/dist/chunks/{file-retention-mp448xyj.js → console-access-mp448xyj.js} +0 -0
  900. /package/dist/chunks/{file-retention-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
  901. /package/dist/chunks/{file-retention-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
  902. /package/dist/chunks/{file-retention-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
  903. /package/dist/chunks/{file-retention-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
  904. /package/dist/chunks/{file-retention-njntx4h6.js → console-access-njntx4h6.js} +0 -0
  905. /package/dist/chunks/{file-retention-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
  906. /package/dist/chunks/{file-retention-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
  907. /package/dist/chunks/{file-retention-q74kybfr.js → console-access-q74kybfr.js} +0 -0
  908. /package/dist/chunks/{file-retention-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
  909. /package/dist/chunks/{file-retention-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
  910. /package/dist/chunks/{file-retention-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
  911. /package/dist/chunks/{file-retention-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
  912. /package/dist/chunks/{file-retention-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
  913. /package/dist/chunks/{file-retention-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
  914. /package/dist/chunks/{file-retention-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
  915. /package/dist/chunks/{file-retention-syrav9an.js → console-access-syrav9an.js} +0 -0
  916. /package/dist/chunks/{file-retention-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
  917. /package/dist/chunks/{file-retention-ty7weeps.js → console-access-ty7weeps.js} +0 -0
  918. /package/dist/chunks/{file-retention-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
  919. /package/dist/chunks/{file-retention-vtarvj67.js → console-access-vtarvj67.js} +0 -0
  920. /package/dist/chunks/{file-retention-w803qqfp.js → console-access-w803qqfp.js} +0 -0
  921. /package/dist/chunks/{file-retention-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
  922. /package/dist/chunks/{file-retention-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
  923. /package/dist/chunks/{file-retention-wtztk69x.js → console-access-wtztk69x.js} +0 -0
  924. /package/dist/chunks/{file-retention-x0ckcb58.js → console-access-x0ckcb58.js} +0 -0
  925. /package/dist/chunks/{file-retention-x4th4bpe.js → console-access-x4th4bpe.js} +0 -0
  926. /package/dist/chunks/{file-retention-x61499pn.js → console-access-x61499pn.js} +0 -0
  927. /package/dist/chunks/{file-retention-y44na4kk.js → console-access-y44na4kk.js} +0 -0
  928. /package/dist/chunks/{file-retention-y8f7s663.js → console-access-y8f7s663.js} +0 -0
  929. /package/dist/chunks/{file-retention-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
  930. /package/dist/chunks/{file-retention-z0h12gs8.js → console-access-z0h12gs8.js} +0 -0
  931. /package/dist/chunks/{file-retention-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
  932. /package/dist/chunks/{file-retention-z9919s4g.js → console-access-z9919s4g.js} +0 -0
  933. /package/dist/chunks/{file-retention-zxpyjp51.js → console-access-zxpyjp51.js} +0 -0
  934. /package/dist/chunks/{file-retention-zz5vv3aq.js → console-access-zz5vv3aq.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service88,
3
- node89
4
- } from "./file-retention-2xdfg7wz.js";
2
+ Service64,
3
+ node65
4
+ } from "./console-access-q3cvvbew.js";
5
5
  import {
6
6
  invocation2,
7
- Service71,
8
- node72
9
- } from "./file-retention-eyq5wfd8.js";
10
- import {
11
- Service69,
7
+ Service68,
12
8
  node70
13
- } from "./file-retention-zqa3fvkz.js";
9
+ } from "./console-access-rvrjm6jd.js";
14
10
  import {
15
- Service14,
16
- readOptionalText2,
17
- syncTextBom2,
18
- node16
19
- } from "./file-retention-bcenpvnw.js";
11
+ Service25,
12
+ node28
13
+ } from "./console-access-zhn9qdqs.js";
20
14
  import {
21
15
  Service19,
16
+ readOptionalText2,
17
+ syncTextBom2,
22
18
  node21
23
- } from "./file-retention-s3m11dxy.js";
19
+ } from "./console-access-8aa5qpgd.js";
20
+ import {
21
+ Service15,
22
+ node17
23
+ } from "./console-access-s22dy3a0.js";
24
24
  import {
25
25
  fileDiff2
26
- } from "./file-retention-6prwharc.js";
26
+ } from "./console-access-6prwharc.js";
27
27
  import {
28
28
  __export
29
- } from "./file-retention-9rqn6x4v.js";
29
+ } from "./console-access-9rqn6x4v.js";
30
30
 
31
31
  // src/file-write.ts
32
32
  var exports_file_write = {};
@@ -41,11 +41,11 @@ import { Context, Effect, Layer } from "effect";
41
41
  class Service13 extends Context.Service()("@opencode/FileWrite") {
42
42
  }
43
43
  var layer = Layer.effect(Service13, Effect.gen(function* () {
44
- const access = yield* Service69;
45
- const environment = yield* Service88;
46
- const fileMutation = yield* Service14;
47
- const formatter = yield* Service19;
48
- const permission = yield* Service71;
44
+ const access = yield* Service25;
45
+ const environment = yield* Service64;
46
+ const fileMutation = yield* Service19;
47
+ const formatter = yield* Service15;
48
+ const permission = yield* Service68;
49
49
  const target = Effect.fn("FileWrite.target")(function* (file, context) {
50
50
  const target = yield* access.resolve({ path: file, kind: "file" });
51
51
  yield* access.authorizeExternal([target], context);
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
80
80
  var node15 = makeLocationNode({
81
81
  service: Service13,
82
82
  layer,
83
- deps: [node89, node70, node16, node21, node72]
83
+ deps: [node65, node28, node21, node17, node70]
84
84
  });
85
85
 
86
86
  export { Service13, node15, exports_file_write };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./file-retention-bd4geh6z.js";
4
+ } from "./console-access-b9tmr8d0.js";
5
5
  import {
6
6
  Service90,
7
7
  node92
8
- } from "./file-retention-mdfqpk4k.js";
8
+ } from "./console-access-qzjzxpbh.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./file-retention-40y6dtc2.js";
12
+ } from "./console-access-40y6dtc2.js";
13
13
  import {
14
- Service81,
15
- node82
16
- } from "./file-retention-hcbk55mf.js";
14
+ Service78,
15
+ node80
16
+ } from "./console-access-hst96p25.js";
17
17
  import {
18
- Service76,
19
- node77
20
- } from "./file-retention-q7mj2rrj.js";
18
+ Service73,
19
+ node75
20
+ } from "./console-access-e1vmmkh1.js";
21
21
  import {
22
22
  detect2
23
- } from "./file-retention-4pyp9zr9.js";
23
+ } from "./console-access-4pyp9zr9.js";
24
24
  import {
25
- Service27,
26
- node30
27
- } from "./file-retention-k98t6223.js";
25
+ Service26,
26
+ node29
27
+ } from "./console-access-1ke8bj3s.js";
28
28
  import {
29
29
  __export
30
- } from "./file-retention-9rqn6x4v.js";
30
+ } from "./console-access-9rqn6x4v.js";
31
31
 
32
32
  // src/artifact.ts
33
33
  var exports_artifact2 = {};
@@ -35,23 +35,23 @@ __export(exports_artifact2, {
35
35
  Artifact: () => exports_artifact2,
36
36
  Capability: () => Capability2,
37
37
  Content: () => Content2,
38
- CreateInput: () => CreateInput5,
39
- DisabledError: () => DisabledError3,
38
+ CreateInput: () => CreateInput4,
39
+ DisabledError: () => DisabledError4,
40
40
  Event: () => Event6,
41
41
  FileMissingError: () => FileMissingError2,
42
- ID: () => ID7,
43
- Info: () => Info9,
42
+ ID: () => ID8,
43
+ Info: () => Info7,
44
44
  InvalidError: () => InvalidError3,
45
45
  LocalProviderID: () => LocalProviderID2,
46
- NotFoundError: () => NotFoundError5,
47
- Provider: () => Provider2,
46
+ NotFoundError: () => NotFoundError4,
47
+ Provider: () => Provider3,
48
48
  ProviderError: () => ProviderError2,
49
49
  ProviderID: () => ProviderID2,
50
- ProviderNotFoundError: () => ProviderNotFoundError2,
51
- Service: () => Service26,
50
+ ProviderNotFoundError: () => ProviderNotFoundError3,
51
+ Service: () => Service23,
52
52
  UpdateInput: () => UpdateInput3,
53
53
  locate: () => locate2,
54
- node: () => node29
54
+ node: () => node26
55
55
  });
56
56
  import { randomUUID } from "node:crypto";
57
57
  import fs from "node:fs/promises";
@@ -60,11 +60,11 @@ import { lookup } from "mime-types";
60
60
  import {
61
61
  Capability as Capability2,
62
62
  Content as Content2,
63
- CreateInput as CreateInput5,
63
+ CreateInput as CreateInput4,
64
64
  Event as Event6,
65
- ID as ID7,
66
- Info as Info9,
67
- Provider as Provider2,
65
+ ID as ID8,
66
+ Info as Info7,
67
+ Provider as Provider3,
68
68
  ProviderID as ProviderID2,
69
69
  UpdateInput as UpdateInput3
70
70
  } from "@opencode/schema/artifact";
@@ -74,14 +74,14 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
74
74
  var LocalProviderID2 = ProviderID2.make("local");
75
75
  var ItemPrefix = "artifact:item:";
76
76
 
77
- class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
77
+ class DisabledError4 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
78
78
  get message() {
79
79
  return "Artifacts are disabled; set experimental.artifacts in config";
80
80
  }
81
81
  }
82
82
 
83
- class NotFoundError5 extends Schema.TaggedError()("Artifact.NotFoundError", {
84
- artifactID: ID7
83
+ class NotFoundError4 extends Schema.TaggedError()("Artifact.NotFoundError", {
84
+ artifactID: ID8
85
85
  }) {
86
86
  get message() {
87
87
  return `Artifact not found: ${this.artifactID}`;
@@ -89,7 +89,7 @@ class NotFoundError5 extends Schema.TaggedError()("Artifact.NotFoundError", {
89
89
  }
90
90
 
91
91
  class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
92
- artifactID: ID7,
92
+ artifactID: ID8,
93
93
  path: Schema.String
94
94
  }) {
95
95
  get message() {
@@ -97,7 +97,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
97
97
  }
98
98
  }
99
99
 
100
- class ProviderNotFoundError2 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
100
+ class ProviderNotFoundError3 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
101
101
  providerID: ProviderID2
102
102
  }) {
103
103
  get message() {
@@ -123,10 +123,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
123
123
  }
124
124
  }
125
125
 
126
- class Service26 extends Context.Service()("@opencode/Artifact") {
126
+ class Service23 extends Context.Service()("@opencode/Artifact") {
127
127
  }
128
128
  var StoredRecord = Schema.Struct({
129
- info: Info9,
129
+ info: Info7,
130
130
  directory: Schema.String,
131
131
  projectID: Schema.String
132
132
  });
@@ -139,16 +139,16 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
139
139
  const decoded = decodeStoredRecord(stored);
140
140
  return Option.isSome(decoded) ? decoded.value.directory : undefined;
141
141
  }));
142
- var layer = Layer.effect(Service26, Effect.gen(function* () {
142
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
143
143
  const bus = yield* Service93;
144
- const flags = yield* Service76;
144
+ const flags = yield* Service73;
145
145
  const global = yield* Global.Service;
146
- const kv = yield* Service81;
146
+ const kv = yield* Service78;
147
147
  const location = yield* Service90;
148
- const sessions = yield* Service27;
148
+ const sessions = yield* Service26;
149
149
  const rootDir = path.join(global.data, "artifacts");
150
150
  const itemDir = (id) => path.join(rootDir, id);
151
- const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError5({ artifactID: id }))));
151
+ const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError4({ artifactID: id }))));
152
152
  const localProvider = {
153
153
  id: LocalProviderID2,
154
154
  name: "Local",
@@ -190,7 +190,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
190
190
  notify: changes2(snapshotProviders, () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid))
191
191
  });
192
192
  const isEnabled = Effect.fn("Artifact.enabled")(() => flags.enabled("artifacts"));
193
- const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
193
+ const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError4)));
194
194
  const activeDefaultID = () => {
195
195
  const data = state.get();
196
196
  return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
@@ -199,17 +199,17 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
199
199
  const data = state.get();
200
200
  const target = requested ?? activeDefaultID();
201
201
  const found = data.providers.get(target);
202
- return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
202
+ return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError3({ providerID: target }));
203
203
  };
204
204
  const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
205
- return Service26.of({
205
+ return Service23.of({
206
206
  transform: state.transform,
207
207
  reload: state.reload,
208
208
  enabled: isEnabled,
209
209
  providers: Effect.fn("Artifact.providers")(function* () {
210
210
  yield* requireEnabled();
211
211
  const defaultID = activeDefaultID();
212
- return Array.from(state.get().providers.values(), (provider) => Provider2.make({
212
+ return Array.from(state.get().providers.values(), (provider) => Provider3.make({
213
213
  id: provider.id,
214
214
  name: provider.name,
215
215
  capabilities: [...provider.capabilities],
@@ -246,10 +246,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
246
246
  const files = yield* normalizeFiles(encodeStringFiles(input.files));
247
247
  const entry = yield* resolveEntry(files, input.entry);
248
248
  const provider = yield* resolveProvider(input.provider);
249
- const id = ID7.create();
249
+ const id = ID8.create();
250
250
  const now = yield* Clock.currentTimeMillis;
251
251
  const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
252
- const info = Info9.make({
252
+ const info = Info7.make({
253
253
  id,
254
254
  provider: provider.id,
255
255
  ...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
293
293
  const now = yield* Clock.currentTimeMillis;
294
294
  const sessionID = input.sessionID ?? existing.info.sessionID;
295
295
  const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
296
- const info = Info9.make({
296
+ const info = Info7.make({
297
297
  id,
298
298
  provider: existing.info.provider,
299
299
  ...sessionID === undefined ? {} : { sessionID },
@@ -337,10 +337,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
337
337
  })
338
338
  });
339
339
  }));
340
- var node29 = makeLocationNode({
341
- service: Service26,
340
+ var node26 = makeLocationNode({
341
+ service: Service23,
342
342
  layer,
343
- deps: [node95, node77, Global.node, node82, node92, node30]
343
+ deps: [node95, node75, Global.node, node80, node92, node29]
344
344
  });
345
345
  function encodeStringFiles(files) {
346
346
  return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
@@ -481,4 +481,4 @@ function readDirectoryFiles(baseDir) {
481
481
  });
482
482
  }
483
483
 
484
- export { Capability2, Content2, CreateInput5, Event6, ID7, Info9, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError5, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service26, locate2, node29, exports_artifact2 };
484
+ export { Capability2, Content2, CreateInput4, Event6, ID8, Info7, Provider3, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError4, NotFoundError4, FileMissingError2, ProviderNotFoundError3, InvalidError3, ProviderError2, Service23, locate2, node26, exports_artifact2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./console-access-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./file-retention-bd4geh6z.js";
4
+ } from "./console-access-b9tmr8d0.js";
5
5
  import {
6
6
  Service90,
7
7
  node92
8
- } from "./file-retention-mdfqpk4k.js";
8
+ } from "./console-access-qzjzxpbh.js";
9
9
  import {
10
- Service74,
11
- node75
12
- } from "./file-retention-y3019neg.js";
10
+ Service72,
11
+ node74
12
+ } from "./console-access-yn22anjs.js";
13
13
  import {
14
14
  NotFoundError11
15
- } from "./file-retention-530xg6vw.js";
15
+ } from "./console-access-319wad08.js";
16
16
  import {
17
17
  match3
18
- } from "./file-retention-1aqsckx4.js";
18
+ } from "./console-access-1aqsckx4.js";
19
19
  import {
20
- Service72,
21
- node73
22
- } from "./file-retention-y9ww16zv.js";
20
+ Service70,
21
+ node72
22
+ } from "./console-access-pqd1cn45.js";
23
23
  import {
24
- Service73,
25
- node74
26
- } from "./file-retention-jwcw5enf.js";
24
+ Service69,
25
+ node71
26
+ } from "./console-access-ykmv08mh.js";
27
27
  import {
28
- Service75,
29
- node76
30
- } from "./file-retention-z6g4szpb.js";
28
+ Service71,
29
+ node73
30
+ } from "./console-access-d34c0f98.js";
31
31
  import {
32
32
  __export
33
- } from "./file-retention-9rqn6x4v.js";
33
+ } from "./console-access-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -39,30 +39,30 @@ __export(exports_permission, {
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event13,
43
- ID: () => ID11,
44
- NotFoundError: () => NotFoundError10,
42
+ Event: () => Event12,
43
+ ID: () => ID12,
44
+ NotFoundError: () => NotFoundError9,
45
45
  Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request3,
48
48
  Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service71,
50
+ Service: () => Service68,
51
51
  Source: () => Source5,
52
52
  Unattended: () => Unattended2,
53
53
  evaluate: () => evaluate3,
54
54
  invocation: () => invocation2,
55
55
  merge: () => merge2,
56
- node: () => node72
56
+ node: () => node70
57
57
  });
58
58
  import { makeLocationNode } from "@opencode/util/effect/app-node";
59
59
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
60
60
  import { Permission } from "@opencode/schema/permission";
61
61
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
62
- import { Event as Event13 } from "@opencode/schema/permission";
62
+ import { Event as Event12 } from "@opencode/schema/permission";
63
63
  var PermissionEffect = Permission.Effect;
64
64
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
65
- var ID11 = Permission.ID;
65
+ var ID12 = Permission.ID;
66
66
  var Source5 = Permission.Source;
67
67
  var Request3 = Permission.Request;
68
68
  var Reply2 = Permission.Reply;
@@ -99,8 +99,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
99
99
  }
100
100
  }
101
101
 
102
- class NotFoundError10 extends Schema.TaggedError()("Permission.NotFoundError", {
103
- requestID: ID11
102
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
103
+ requestID: ID12
104
104
  }) {
105
105
  }
106
106
  function evaluate3(action, resource, ...rulesets) {
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
114
114
  return rulesets.flat();
115
115
  }
116
116
 
117
- class Service71 extends Context.Service()("@opencode/Permission") {
117
+ class Service68 extends Context.Service()("@opencode/Permission") {
118
118
  }
119
- var layer = Layer.effect(Service71, Effect.gen(function* () {
119
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
120
120
  const bus = yield* Service93;
121
121
  const location = yield* Service90;
122
- const agents = yield* Service74;
123
- const sessions = yield* Service72;
124
- const saved = yield* Service73;
125
- const hooks = yield* Service75;
122
+ const agents = yield* Service72;
123
+ const sessions = yield* Service70;
124
+ const saved = yield* Service69;
125
+ const hooks = yield* Service71;
126
126
  const pending = new Map;
127
127
  let closed = false;
128
128
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID11.create(),
189
+ id: input.id ?? ID12.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID11.create(), effect: "deny" };
214
+ return { id: input.id ?? ID12.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
258
258
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
259
259
  const existing = pending.get(input.requestID);
260
260
  if (!existing)
261
- return yield* new NotFoundError10({ requestID: input.requestID });
261
+ return yield* new NotFoundError9({ requestID: input.requestID });
262
262
  yield* bus.publish(Permission.Event.Replied, {
263
263
  sessionID: existing.request.sessionID,
264
264
  requestID: existing.request.id,
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
313
313
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
314
314
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
315
315
  });
316
- return Service71.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
316
+ return Service68.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
317
317
  }));
318
- var node72 = makeLocationNode({
319
- service: Service71,
318
+ var node70 = makeLocationNode({
319
+ service: Service68,
320
320
  layer,
321
- deps: [node95, node92, node75, node73, node74, node76]
321
+ deps: [node95, node92, node74, node72, node71, node73]
322
322
  });
323
323
 
324
- export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service71, node72, exports_permission, Rule2, Ruleset2, Event13 };
324
+ export { PermissionEffect, ID12, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service68, node70, exports_permission, Rule2, Ruleset2, Event12 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- load4
3
- } from "./file-retention-jht64jd1.js";
2
+ load3
3
+ } from "./console-access-j376ae4e.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./console-access-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/claude/probe.ts
9
9
  var exports_probe = {};
@@ -38,7 +38,7 @@ var run2 = Effect.fn("ClaudeProbe.run")(function* (options) {
38
38
  const stop = Promise.withResolvers();
39
39
  return yield* Effect.acquireUseRelease(Effect.tryPromise({
40
40
  try: async () => {
41
- const { query } = await load4();
41
+ const { query } = await load3();
42
42
  return query({ prompt: waitFor(stop.promise), options: { ...options, persistSession: false } });
43
43
  },
44
44
  catch: (cause) => new ProbeError2({ cause })
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service90,
3
3
  node92
4
- } from "./file-retention-mdfqpk4k.js";
4
+ } from "./console-access-qzjzxpbh.js";
5
5
  import {
6
6
  create4
7
- } from "./file-retention-40y6dtc2.js";
7
+ } from "./console-access-40y6dtc2.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./console-access-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service19,
17
- node: () => node21
16
+ Service: () => Service15,
17
+ node: () => node17
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service19 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service15 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service19, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
27
27
  const location = yield* Service90;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service19.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service15.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node21 = makeLocationNode({
91
- service: Service19,
90
+ var node17 = makeLocationNode({
91
+ service: Service15,
92
92
  layer,
93
93
  deps: [node92, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service19, node21, exports_formatter2 };
96
+ export { Service15, node17, exports_formatter2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-r6v2fhzz.js";
3
+ } from "./console-access-73j1tefy.js";
4
4
  import {
5
5
  OAuth3
6
- } from "./file-retention-kdw9060a.js";
6
+ } from "./console-access-81vp2bdd.js";
7
7
  import {
8
8
  key3
9
- } from "./file-retention-xvn8mnch.js";
9
+ } from "./console-access-n320gsn2.js";
10
10
  import {
11
- ID17,
11
+ ID18,
12
12
  MethodID2
13
- } from "./file-retention-m4db2ssm.js";
13
+ } from "./console-access-xkm32hee.js";
14
14
  import {
15
- ID16,
15
+ ID17,
16
16
  aisdk2,
17
- Service83
18
- } from "./file-retention-9qffqtsn.js";
17
+ Service80
18
+ } from "./console-access-8j97sx0h.js";
19
19
  import {
20
- ID15,
20
+ ID16,
21
21
  Info23
22
- } from "./file-retention-sz4vf8k7.js";
22
+ } from "./console-access-rfmjs4hq.js";
23
23
  import {
24
24
  success2,
25
25
  error2
26
- } from "./file-retention-yb20nhc3.js";
26
+ } from "./console-access-yb20nhc3.js";
27
27
  import {
28
28
  onSwitch2,
29
29
  reloadIfChanged2
30
- } from "./file-retention-cf21gzb8.js";
30
+ } from "./console-access-dyjmcgsb.js";
31
31
  import {
32
32
  credentialSettings2,
33
33
  metadataSettings2
34
- } from "./file-retention-mwnw36e2.js";
34
+ } from "./console-access-e9nbs0fg.js";
35
35
 
36
36
  // src/plugin/provider/gitlab.ts
37
37
  import os from "os";
@@ -39,8 +39,8 @@ import { Clock, Deferred, Effect, Equal, Exit, Option, Schema, Semaphore } from
39
39
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
40
40
  import { define } from "@opencode/plugin/effect/plugin";
41
41
  import { Form } from "@opencode/schema/form";
42
- var providerID = ID16.gitlab;
43
- var integrationID = ID17.make("gitlab");
42
+ var providerID = ID17.gitlab;
43
+ var integrationID = ID18.make("gitlab");
44
44
  var methodID = MethodID2.make("pkce");
45
45
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
46
46
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -61,7 +61,7 @@ var refreshRetention = 60000;
61
61
  var GitLabPlugin2 = define({
62
62
  id: "opencode.provider.gitlab",
63
63
  effect: Effect.fn(function* (ctx) {
64
- const providers = yield* Service83;
64
+ const providers = yield* Service80;
65
65
  const http = yield* HttpClient.HttpClient;
66
66
  const loading = Semaphore.makeUnsafe(1);
67
67
  const loaded = {};
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  models: [
197
197
  ...item.models.values(),
198
198
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
199
- ...Info23.default(providerID, ID15.make(model.id)),
199
+ ...Info23.default(providerID, ID16.make(model.id)),
200
200
  name: `Agent Platform (${model.name})`,
201
201
  package: aisdk2("gitlab-ai-provider"),
202
202
  settings: { workflowRef: model.ref },
@@ -249,7 +249,7 @@ var GitLabPlugin2 = define({
249
249
  aiGatewayHeaders: evt.options.aiGatewayHeaders,
250
250
  featureFlags
251
251
  });
252
- }), { providerID: ID16.gitlab });
252
+ }), { providerID: ID17.gitlab });
253
253
  })
254
254
  });
255
255
  function resolveDefaultInstanceUrl() {