@opencode/core 0.0.0-dev-455 → 0.0.0-dev-461

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 (915) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +230 -230
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{file-retention-hn189zr5.js → console-access-02b46etp.js} +4 -4
  9. package/dist/chunks/{file-retention-034tev2y.js → console-access-034tev2y.js} +2 -2
  10. package/dist/chunks/{file-retention-n8089wab.js → console-access-0bwm9wgn.js} +12 -12
  11. package/dist/chunks/{file-retention-xmm4qtr7.js → console-access-0hbxbaq1.js} +20 -20
  12. package/dist/chunks/{file-retention-ay9b3rdk.js → console-access-0hgs9x36.js} +23 -23
  13. package/dist/chunks/{file-retention-0j7gp832.js → console-access-0j7gp832.js} +1 -1
  14. package/dist/chunks/{file-retention-kkgm43pe.js → console-access-0khk3rs4.js} +14 -14
  15. package/dist/chunks/{file-retention-2n7mmhny.js → console-access-0kyfq6vf.js} +18 -18
  16. package/dist/chunks/{file-retention-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{file-retention-68tn9ypg.js → console-access-0sy41ttq.js} +16 -16
  18. package/dist/chunks/{file-retention-200qe1b4.js → console-access-0vnr7bd6.js} +17 -17
  19. package/dist/chunks/{file-retention-swwepy7r.js → console-access-14b41dgv.js} +13 -13
  20. package/dist/chunks/{file-retention-g63e6h3e.js → console-access-174aa04v.js} +25 -25
  21. package/dist/chunks/{file-retention-rpzwd4m9.js → console-access-17z0xkr7.js} +4 -4
  22. package/dist/chunks/{file-retention-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{file-retention-tb15rp1c.js → console-access-1bd9yvcg.js} +4 -4
  24. package/dist/chunks/{file-retention-1ep2p91f.js → console-access-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{file-retention-gh4z7wry.js → console-access-1fvz2s7b.js} +33 -33
  26. package/dist/chunks/{file-retention-ffka7n84.js → console-access-1ghpw5k9.js} +10 -10
  27. package/dist/chunks/{file-retention-1v2g13eq.js → console-access-1v2g13eq.js} +4 -4
  28. package/dist/chunks/{file-retention-ananre62.js → console-access-1vj9xkjh.js} +16 -16
  29. package/dist/chunks/{file-retention-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{file-retention-5zrxpy3q.js → console-access-1yq9hg58.js} +5 -5
  31. package/dist/chunks/{file-retention-k46dd5bg.js → console-access-20pht57w.js} +4 -4
  32. package/dist/chunks/{file-retention-brbp1jmy.js → console-access-24yxk1vj.js} +12 -12
  33. package/dist/chunks/{file-retention-hmmsk6f4.js → console-access-25evc41f.js} +19 -19
  34. package/dist/chunks/{file-retention-m2vpvwkm.js → console-access-267xht6e.js} +45 -45
  35. package/dist/chunks/{file-retention-weqsz73e.js → console-access-284gzvr3.js} +6 -6
  36. package/dist/chunks/{file-retention-7jen3kst.js → console-access-2bsm227b.js} +9 -9
  37. package/dist/chunks/{file-retention-68tk6k3r.js → console-access-2dht8359.js} +13 -13
  38. package/dist/chunks/{file-retention-d1jwara1.js → console-access-2ftaaj09.js} +20 -20
  39. package/dist/chunks/{file-retention-t6zxhcnm.js → console-access-2gpcv0rd.js} +41 -41
  40. package/dist/chunks/{file-retention-xnc68z72.js → console-access-2h1c0rfr.js} +12 -12
  41. package/dist/chunks/{file-retention-2dfh1hr2.js → console-access-2k6zd025.js} +28 -28
  42. package/dist/chunks/{file-retention-fwp9mfc9.js → console-access-2mbjfaxd.js} +4 -4
  43. package/dist/chunks/{file-retention-2p60zmnr.js → console-access-2p60zmnr.js} +2 -2
  44. package/dist/chunks/{file-retention-1gep6f7s.js → console-access-3032atf7.js} +8 -8
  45. package/dist/chunks/{file-retention-q5nd4tdk.js → console-access-30a3jnc3.js} +7 -7
  46. package/dist/chunks/{file-retention-390xskpw.js → console-access-390xskpw.js} +1 -1
  47. package/dist/chunks/{file-retention-5qg32bbs.js → console-access-39b4ptzy.js} +28 -28
  48. package/dist/chunks/{file-retention-f15w2kpp.js → console-access-3aq445hw.js} +9 -9
  49. package/dist/chunks/{file-retention-4pmefyym.js → console-access-3b0jq727.js} +35 -35
  50. package/dist/chunks/{file-retention-wh423nk9.js → console-access-3fzg5t3e.js} +20 -20
  51. package/dist/chunks/{file-retention-3g1e149e.js → console-access-3g1e149e.js} +3 -3
  52. package/dist/chunks/{file-retention-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{file-retention-f7rj94ae.js → console-access-3mrkr0j9.js} +42 -42
  54. package/dist/chunks/{file-retention-3nnrz6f6.js → console-access-3nnrz6f6.js} +1 -1
  55. package/dist/chunks/{file-retention-j4tx0dw9.js → console-access-3zh8b9k5.js} +23 -23
  56. package/dist/chunks/{file-retention-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{file-retention-5em2n0xv.js → console-access-40zb2q8m.js} +24 -24
  58. package/dist/chunks/{file-retention-44pmzq9c.js → console-access-44pmzq9c.js} +2 -2
  59. package/dist/chunks/{file-retention-4d2dtj2f.js → console-access-4d2dtj2f.js} +1 -1
  60. package/dist/chunks/{file-retention-yvchjg13.js → console-access-4d4wgq11.js} +13 -13
  61. package/dist/chunks/{file-retention-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{file-retention-dcdd8gp0.js → console-access-4fdqt7xn.js} +26 -26
  63. package/dist/chunks/{file-retention-rjdswr2s.js → console-access-4kavva8r.js} +17 -17
  64. package/dist/chunks/{file-retention-c32zfq3f.js → console-access-4m99k5br.js} +8 -8
  65. package/dist/chunks/{file-retention-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
  66. package/dist/chunks/{file-retention-fjjazzdv.js → console-access-4sxdbd6s.js} +20 -20
  67. package/dist/chunks/{file-retention-4v008n1t.js → console-access-4v008n1t.js} +1 -1
  68. package/dist/chunks/{file-retention-x4t5xjs0.js → console-access-4vkzmtry.js} +23 -23
  69. package/dist/chunks/{file-retention-sj70yks3.js → console-access-54jtsw6t.js} +12 -12
  70. package/dist/chunks/{file-retention-dncts3kv.js → console-access-56egqvqj.js} +55 -55
  71. package/dist/chunks/{file-retention-hkyks9g6.js → console-access-57st1r2p.js} +11 -11
  72. package/dist/chunks/{file-retention-40za9wsf.js → console-access-5enarcya.js} +6 -6
  73. package/dist/chunks/{file-retention-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
  74. package/dist/chunks/console-access-5mnp43qe.js +26 -0
  75. package/dist/chunks/{file-retention-gmnq7sxz.js → console-access-5qk7pcez.js} +51 -51
  76. package/dist/chunks/{file-retention-hx2h0g86.js → console-access-5rdngahw.js} +9 -9
  77. package/dist/chunks/{file-retention-gxe5e77w.js → console-access-5stb89cg.js} +8 -8
  78. package/dist/chunks/{file-retention-bg3xpdpw.js → console-access-5sx3wtd1.js} +27 -27
  79. package/dist/chunks/{file-retention-30asjkfk.js → console-access-5w9z9t4q.js} +18 -18
  80. package/dist/chunks/{file-retention-agemttc5.js → console-access-5wpa8w3w.js} +26 -26
  81. package/dist/chunks/{file-retention-x24tvm8w.js → console-access-61c6a8fw.js} +24 -24
  82. package/dist/chunks/{file-retention-61qraad9.js → console-access-61qraad9.js} +2 -2
  83. package/dist/chunks/{file-retention-tb2mrvc9.js → console-access-694dpcrp.js} +7 -7
  84. package/dist/chunks/{file-retention-1pq4mddz.js → console-access-6d4mvkjv.js} +21 -21
  85. package/dist/chunks/{file-retention-vxcj7dj3.js → console-access-6nfsbj4c.js} +17 -17
  86. package/dist/chunks/{file-retention-jd8phrvf.js → console-access-6rhbe9q4.js} +32 -32
  87. package/dist/chunks/{file-retention-j6q7spb2.js → console-access-6rhd9160.js} +31 -31
  88. package/dist/chunks/{file-retention-76cb1hcw.js → console-access-76cb1hcw.js} +1 -1
  89. package/dist/chunks/{file-retention-a1j9h5sv.js → console-access-77pk7shp.js} +30 -30
  90. package/dist/chunks/{file-retention-79k544d0.js → console-access-79k544d0.js} +1 -1
  91. package/dist/chunks/{file-retention-wgvnftve.js → console-access-7bg5w1mh.js} +8 -8
  92. package/dist/chunks/{file-retention-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{file-retention-7kr66rt3.js → console-access-7kr66rt3.js} +1 -1
  94. package/dist/chunks/{file-retention-9s8ccxzp.js → console-access-7pzqke8r.js} +12 -12
  95. package/dist/chunks/{file-retention-yx0ag50g.js → console-access-7t7a223t.js} +16 -16
  96. package/dist/chunks/{file-retention-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
  97. package/dist/chunks/{file-retention-7weczvnd.js → console-access-7weczvnd.js} +1 -1
  98. package/dist/chunks/{file-retention-snhnc0ef.js → console-access-7x73zfpa.js} +8 -8
  99. package/dist/chunks/console-access-7yv5xa0k.js +18 -0
  100. package/dist/chunks/{file-retention-9s6tmzsz.js → console-access-80kjwkyf.js} +17 -17
  101. package/dist/chunks/{file-retention-80mg3ag8.js → console-access-80mg3ag8.js} +3 -3
  102. package/dist/chunks/{file-retention-0bhp1jsg.js → console-access-88tse5zy.js} +22 -22
  103. package/dist/chunks/{file-retention-89287pr7.js → console-access-89287pr7.js} +1 -1
  104. package/dist/chunks/{file-retention-8b3vzgkx.js → console-access-8b3vzgkx.js} +1 -1
  105. package/dist/chunks/{file-retention-8sxe6kv8.js → console-access-8sxe6kv8.js} +2 -2
  106. package/dist/chunks/{file-retention-ym5ftk47.js → console-access-8ty8gphb.js} +19 -19
  107. package/dist/chunks/{file-retention-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
  108. package/dist/chunks/{file-retention-rmt6m6se.js → console-access-8x9y3wj0.js} +8 -8
  109. package/dist/chunks/{file-retention-xksw6ev0.js → console-access-8xz27cp9.js} +4 -4
  110. package/dist/chunks/{file-retention-90zstvax.js → console-access-90zstvax.js} +1 -1
  111. package/dist/chunks/{file-retention-snjqag79.js → console-access-963hk181.js} +9 -9
  112. package/dist/chunks/{file-retention-rpxemsgz.js → console-access-986s6yzw.js} +86 -86
  113. package/dist/chunks/{file-retention-4cqst6fr.js → console-access-9cr47wgy.js} +7 -7
  114. package/dist/chunks/{file-retention-rr9v9k3b.js → console-access-9ev8nbrr.js} +10 -10
  115. package/dist/chunks/{file-retention-k9wymzdg.js → console-access-9n3zya5s.js} +3 -3
  116. package/dist/chunks/{file-retention-496yft2b.js → console-access-9ntysx2f.js} +8 -8
  117. package/dist/chunks/{file-retention-v0t96s7a.js → console-access-9q8g9sv8.js} +4 -4
  118. package/dist/chunks/{file-retention-s5vg2p0e.js → console-access-9srrvzre.js} +10 -10
  119. package/dist/chunks/{file-retention-06w90rm1.js → console-access-9wcjat3p.js} +17 -17
  120. package/dist/chunks/{file-retention-4pa2br34.js → console-access-9yskam8v.js} +35 -35
  121. package/dist/chunks/{file-retention-87jq36v2.js → console-access-9zh6h3zf.js} +25 -25
  122. package/dist/chunks/{file-retention-av46dpsn.js → console-access-a4n8q08m.js} +8 -8
  123. package/dist/chunks/console-access-a4tessf8.js +555 -0
  124. package/dist/chunks/{file-retention-x59t0gss.js → console-access-aa8e116b.js} +35 -35
  125. package/dist/chunks/{file-retention-r17fbvme.js → console-access-aenn6vam.js} +5 -5
  126. package/dist/chunks/{file-retention-5ewy4ftf.js → console-access-aj55bz5r.js} +38 -38
  127. package/dist/chunks/{file-retention-ynsc8wg2.js → console-access-areqykj9.js} +4 -4
  128. package/dist/chunks/{file-retention-wa6q08vq.js → console-access-ayd63gnn.js} +18 -18
  129. package/dist/chunks/{file-retention-ayjs7tqn.js → console-access-ayjs7tqn.js} +2 -2
  130. package/dist/chunks/{file-retention-k2xygrq7.js → console-access-azmhmg9n.js} +11 -11
  131. package/dist/chunks/{file-retention-h5enc8pd.js → console-access-b6pm0s44.js} +30 -30
  132. package/dist/chunks/{file-retention-b6vsg801.js → console-access-b6vsg801.js} +2 -2
  133. package/dist/chunks/{file-retention-kpa09rhw.js → console-access-bam5a6tw.js} +4 -4
  134. package/dist/chunks/{file-retention-55mjyme4.js → console-access-baq3yqba.js} +6 -6
  135. package/dist/chunks/{file-retention-dx38te4v.js → console-access-bav7q4m1.js} +18 -18
  136. package/dist/chunks/{file-retention-gcavn3wx.js → console-access-bgs9y14h.js} +5 -5
  137. package/dist/chunks/{file-retention-gbcn9d4h.js → console-access-brtqpa8p.js} +3 -3
  138. package/dist/chunks/{file-retention-xd9cc171.js → console-access-bstexjd6.js} +5 -5
  139. package/dist/chunks/{file-retention-8eshswe5.js → console-access-btm7bkhg.js} +3 -3
  140. package/dist/chunks/{file-retention-5ej6fcjw.js → console-access-bw23crm5.js} +6 -6
  141. package/dist/chunks/{file-retention-5s9wkzxm.js → console-access-bzk5aeb2.js} +13 -13
  142. package/dist/chunks/{file-retention-hqvhb0wh.js → console-access-c09y0a8j.js} +7 -7
  143. package/dist/chunks/{file-retention-mbhkhp6q.js → console-access-c0v1nnxm.js} +6 -6
  144. package/dist/chunks/{file-retention-4aqrmm1g.js → console-access-c6qtypbt.js} +4 -9
  145. package/dist/chunks/{file-retention-hvgfddwz.js → console-access-cds01v4k.js} +11 -11
  146. package/dist/chunks/{file-retention-qe6wsf1h.js → console-access-cks4e87a.js} +5 -5
  147. package/dist/chunks/{file-retention-jkdcm5hg.js → console-access-cr4rfj9z.js} +4 -4
  148. package/dist/chunks/{file-retention-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
  149. package/dist/chunks/{file-retention-w1g97wbr.js → console-access-cwzzac1q.js} +9 -9
  150. package/dist/chunks/{file-retention-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
  151. package/dist/chunks/{file-retention-837bxc3c.js → console-access-d8dmjm89.js} +12 -12
  152. package/dist/chunks/{file-retention-pkq3dv06.js → console-access-dach63h6.js} +13 -13
  153. package/dist/chunks/{file-retention-k0kcv3gp.js → console-access-dd0f4r17.js} +9 -9
  154. package/dist/chunks/{file-retention-vt2d6wap.js → console-access-dg5naf6e.js} +4 -4
  155. package/dist/chunks/{file-retention-s0699xsp.js → console-access-dkajxp5n.js} +38 -21
  156. package/dist/chunks/{file-retention-1phbxqt1.js → console-access-dq1vbq82.js} +3 -3
  157. package/dist/chunks/{file-retention-rcw12gd3.js → console-access-dqfqn090.js} +48 -48
  158. package/dist/chunks/{file-retention-wr27nwte.js → console-access-dqymrb6j.js} +11 -11
  159. package/dist/chunks/{file-retention-dt77769w.js → console-access-dt77769w.js} +1 -1
  160. package/dist/chunks/{file-retention-ba16f7j8.js → console-access-dtabb3x4.js} +16 -16
  161. package/dist/chunks/{file-retention-9gczbj86.js → console-access-dw91h3aj.js} +13 -13
  162. package/dist/chunks/{file-retention-3zhtqa8b.js → console-access-dycjh86r.js} +11 -11
  163. package/dist/chunks/{file-retention-pmhb73dp.js → console-access-dzfp7kbr.js} +19 -19
  164. package/dist/chunks/{file-retention-pjx7tz23.js → console-access-e4mq6v1v.js} +5 -5
  165. package/dist/chunks/{file-retention-7ecjk65p.js → console-access-e832xn25.js} +14 -14
  166. package/dist/chunks/{file-retention-e834z07m.js → console-access-e834z07m.js} +1 -1
  167. package/dist/chunks/{file-retention-4s01kztf.js → console-access-e8bg73ef.js} +8 -8
  168. package/dist/chunks/{file-retention-avaerfkj.js → console-access-edgp587h.js} +10 -10
  169. package/dist/chunks/{file-retention-jmekf4r3.js → console-access-ej29q6tg.js} +9 -9
  170. package/dist/chunks/{file-retention-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
  171. package/dist/chunks/{file-retention-650f1sfx.js → console-access-ersdrtn3.js} +11 -11
  172. package/dist/chunks/{file-retention-0jstpsmh.js → console-access-ew33kjef.js} +20 -20
  173. package/dist/chunks/{file-retention-ewa1ec51.js → console-access-ewa1ec51.js} +4 -4
  174. package/dist/chunks/{file-retention-9v7xfrsr.js → console-access-ez4z675w.js} +7 -7
  175. package/dist/chunks/{file-retention-1pd9p4zg.js → console-access-f1pzy042.js} +34 -29
  176. package/dist/chunks/{file-retention-h6ejcba2.js → console-access-f2kh68ms.js} +5 -5
  177. package/dist/chunks/{file-retention-5b8228w4.js → console-access-f3qtec8a.js} +14 -14
  178. package/dist/chunks/{file-retention-fa7jqgqj.js → console-access-fcmh389t.js} +6 -6
  179. package/dist/chunks/{file-retention-fffv3p7h.js → console-access-fffv3p7h.js} +1 -1
  180. package/dist/chunks/{file-retention-fg9p65nk.js → console-access-fg9p65nk.js} +2 -2
  181. package/dist/chunks/{file-retention-n3bkb5q1.js → console-access-fjds1fn3.js} +8 -8
  182. package/dist/chunks/{file-retention-hnxa655x.js → console-access-frr3db5h.js} +18 -18
  183. package/dist/chunks/{file-retention-nfggrfj2.js → console-access-fyw2c29a.js} +6 -6
  184. package/dist/chunks/{file-retention-ctxsgcm2.js → console-access-g4v74gy6.js} +8 -8
  185. package/dist/chunks/{file-retention-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
  186. package/dist/chunks/{file-retention-2ydq151f.js → console-access-gg1k7xne.js} +11 -11
  187. package/dist/chunks/{file-retention-90gj1595.js → console-access-gk5zfyzz.js} +4 -4
  188. package/dist/chunks/{file-retention-wy0xsgxw.js → console-access-gq6jhf3f.js} +5 -5
  189. package/dist/chunks/{file-retention-gxs71cxp.js → console-access-gxs71cxp.js} +1 -1
  190. package/dist/chunks/{file-retention-sj2s1b9m.js → console-access-gya79xwr.js} +32 -32
  191. package/dist/chunks/{file-retention-sctph3n4.js → console-access-h99babpy.js} +34 -34
  192. package/dist/chunks/{file-retention-dvnqv6yn.js → console-access-hced1q2j.js} +4 -4
  193. package/dist/chunks/{file-retention-evsac8k0.js → console-access-hkwj5b1f.js} +26 -26
  194. package/dist/chunks/{file-retention-abtpjz44.js → console-access-hnyxx5af.js} +23 -23
  195. package/dist/chunks/{file-retention-hpg1pkwy.js → console-access-hpg1pkwy.js} +1 -1
  196. package/dist/chunks/{file-retention-xhthag0s.js → console-access-hqq8daba.js} +13 -13
  197. package/dist/chunks/{file-retention-xe84dabc.js → console-access-hqyd9qtc.js} +4 -4
  198. package/dist/chunks/{file-retention-6sg7v011.js → console-access-hretfjjx.js} +2 -2
  199. package/dist/chunks/{file-retention-bnzx9dwt.js → console-access-hsnq1va6.js} +5 -5
  200. package/dist/chunks/{file-retention-0aycggmx.js → console-access-htqjq3p0.js} +27 -27
  201. package/dist/chunks/{file-retention-0cwqm0ac.js → console-access-j2p0aq2q.js} +40 -40
  202. package/dist/chunks/{file-retention-3ryz99p0.js → console-access-j3f8hyeg.js} +4 -4
  203. package/dist/chunks/{file-retention-5j4z2rnn.js → console-access-j6rd03df.js} +28 -28
  204. package/dist/chunks/{file-retention-mtqqxse4.js → console-access-j6zmg9wc.js} +5 -5
  205. package/dist/chunks/{file-retention-wfnayh71.js → console-access-jbs6jwkk.js} +11 -11
  206. package/dist/chunks/{file-retention-waxfvz31.js → console-access-jejb9f09.js} +29 -29
  207. package/dist/chunks/{file-retention-jtnps1zs.js → console-access-jtnps1zs.js} +2 -2
  208. package/dist/chunks/{file-retention-5m3xrn1j.js → console-access-jvcygd6j.js} +9 -9
  209. package/dist/chunks/{file-retention-7etbzm9y.js → console-access-jxv9802m.js} +17 -17
  210. package/dist/chunks/{file-retention-b1tz7g4k.js → console-access-kdz26drv.js} +23 -23
  211. package/dist/chunks/{file-retention-hm3wjv3t.js → console-access-khrw954m.js} +21 -21
  212. package/dist/chunks/{file-retention-8v7h9drr.js → console-access-kn0cpt95.js} +25 -25
  213. package/dist/chunks/{file-retention-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
  214. package/dist/chunks/{file-retention-5cfjc002.js → console-access-kt8rgxn2.js} +79 -79
  215. package/dist/chunks/{file-retention-72b6x64g.js → console-access-kwsz9n07.js} +5 -5
  216. package/dist/chunks/{file-retention-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
  217. package/dist/chunks/{file-retention-m1714858.js → console-access-m1714858.js} +1 -1
  218. package/dist/chunks/{file-retention-d9b1e71e.js → console-access-m2ggzdr4.js} +22 -22
  219. package/dist/chunks/{file-retention-4yazknq3.js → console-access-m8rq167t.js} +25 -25
  220. package/dist/chunks/{file-retention-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
  221. package/dist/chunks/{file-retention-mb7mbhnz.js → console-access-mb7mbhnz.js} +3 -3
  222. package/dist/chunks/{file-retention-m2bn1thc.js → console-access-mbf4sf1b.js} +30 -30
  223. package/dist/chunks/{file-retention-r388hamt.js → console-access-mdkqrnke.js} +36 -36
  224. package/dist/chunks/{file-retention-qbkx85ty.js → console-access-mdvts110.js} +15 -15
  225. package/dist/chunks/{file-retention-hz2g8n0e.js → console-access-mxv82ryp.js} +5 -5
  226. package/dist/chunks/{file-retention-dvyrd087.js → console-access-n5wq5eab.js} +43 -43
  227. package/dist/chunks/{file-retention-b4rwxy6m.js → console-access-n900mnaw.js} +9 -9
  228. package/dist/chunks/{file-retention-f3efch3k.js → console-access-nekmxn1r.js} +25 -25
  229. package/dist/chunks/{file-retention-3nfqphsz.js → console-access-nr8bs24c.js} +29 -29
  230. package/dist/chunks/{file-retention-nmarmpt2.js → console-access-nsvwbd9q.js} +19 -19
  231. package/dist/chunks/{file-retention-v37bc009.js → console-access-nv2c5e9q.js} +3 -3
  232. package/dist/chunks/{file-retention-vh942nm4.js → console-access-nzdv8kjb.js} +15 -15
  233. package/dist/chunks/{file-retention-wm09fakr.js → console-access-p242xzew.js} +33 -33
  234. package/dist/chunks/{file-retention-mhwtew22.js → console-access-p2kaj3kt.js} +19 -19
  235. package/dist/chunks/{file-retention-a4ww6fpm.js → console-access-p3g3b7x5.js} +6 -6
  236. package/dist/chunks/{file-retention-721agqj7.js → console-access-p45kkdsf.js} +27 -27
  237. package/dist/chunks/{file-retention-xgbgysg1.js → console-access-pc7e7tqs.js} +14 -14
  238. package/dist/chunks/{file-retention-9g6yrp67.js → console-access-pgwxehkf.js} +182 -182
  239. package/dist/chunks/{file-retention-pknna89w.js → console-access-pknna89w.js} +1 -1
  240. package/dist/chunks/{file-retention-tnya1cye.js → console-access-pmb0f11j.js} +6 -6
  241. package/dist/chunks/{file-retention-c0tz6aqz.js → console-access-pnwsrq7c.js} +11 -11
  242. package/dist/chunks/{file-retention-yv7pt3ah.js → console-access-pqq01qb6.js} +3 -3
  243. package/dist/chunks/{file-retention-e5dmmprw.js → console-access-ps0sd0ch.js} +10 -10
  244. package/dist/chunks/{file-retention-9z0qc3sg.js → console-access-q4chxmqq.js} +31 -31
  245. package/dist/chunks/{file-retention-r1fnsf7p.js → console-access-qnqasnye.js} +6 -6
  246. package/dist/chunks/{file-retention-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
  247. package/dist/chunks/{file-retention-qqvy8y24.js → console-access-qqvy8y24.js} +1 -1
  248. package/dist/chunks/{file-retention-qsdghx1p.js → console-access-qsdghx1p.js} +1 -1
  249. package/dist/chunks/{file-retention-6xwywkh7.js → console-access-r2gkykbs.js} +13 -13
  250. package/dist/chunks/{file-retention-4angwywx.js → console-access-r2zmw29q.js} +15 -15
  251. package/dist/chunks/{file-retention-4f25tdd0.js → console-access-r542h3bh.js} +5 -5
  252. package/dist/chunks/{file-retention-w4whnx61.js → console-access-r6q0f2ac.js} +19 -19
  253. package/dist/chunks/{file-retention-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
  254. package/dist/chunks/{file-retention-5td38wnz.js → console-access-rbp3w7ma.js} +12 -12
  255. package/dist/chunks/{file-retention-581r698v.js → console-access-rhqb5500.js} +4 -4
  256. package/dist/chunks/{file-retention-68qb3djy.js → console-access-rkvcsjsd.js} +2 -2
  257. package/dist/chunks/{file-retention-6zvhcg4h.js → console-access-rpmef3xq.js} +9 -9
  258. package/dist/chunks/{file-retention-yzde64vc.js → console-access-rq6msc4n.js} +9 -9
  259. package/dist/chunks/{file-retention-rt5dr6hb.js → console-access-rt5dr6hb.js} +1 -1
  260. package/dist/chunks/{file-retention-ndksvsqq.js → console-access-rwsvr4dq.js} +5 -5
  261. package/dist/chunks/{file-retention-y9hckaaa.js → console-access-s4kyhetj.js} +6 -6
  262. package/dist/chunks/{file-retention-sa3fpqfw.js → console-access-sa3fpqfw.js} +2 -2
  263. package/dist/chunks/{file-retention-s93d5mte.js → console-access-sawn0w0v.js} +13 -13
  264. package/dist/chunks/{file-retention-sbya78hr.js → console-access-sbya78hr.js} +1 -1
  265. package/dist/chunks/{file-retention-2cdjxzfg.js → console-access-sbz71ybr.js} +3 -3
  266. package/dist/chunks/{file-retention-dcybvycp.js → console-access-sd14szt8.js} +17 -17
  267. package/dist/chunks/{file-retention-d4gmqgvp.js → console-access-ss63bjb1.js} +16 -16
  268. package/dist/chunks/{file-retention-szfk6t8e.js → console-access-st0tm0xf.js} +29 -29
  269. package/dist/chunks/{file-retention-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
  270. package/dist/chunks/{file-retention-cxab28sr.js → console-access-sx27c7qs.js} +5 -5
  271. package/dist/chunks/{file-retention-szwm4crx.js → console-access-szwm4crx.js} +4 -4
  272. package/dist/chunks/{file-retention-e6er0smf.js → console-access-t01mm60p.js} +7 -7
  273. package/dist/chunks/{file-retention-atscc837.js → console-access-t0wfjgtr.js} +18 -18
  274. package/dist/chunks/{file-retention-dkb1sx3x.js → console-access-t5j54pmh.js} +32 -32
  275. package/dist/chunks/{file-retention-a5wpc3w3.js → console-access-t74pe6sk.js} +47 -47
  276. package/dist/chunks/{file-retention-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
  277. package/dist/chunks/{file-retention-9f3jsh1d.js → console-access-teav1bzy.js} +9 -9
  278. package/dist/chunks/{file-retention-tr8x705m.js → console-access-tr8x705m.js} +1 -1
  279. package/dist/chunks/{file-retention-6nj48chv.js → console-access-twj5avwp.js} +7 -7
  280. package/dist/chunks/{file-retention-twssxy5n.js → console-access-twssxy5n.js} +2 -2
  281. package/dist/chunks/{file-retention-v1mj0bgs.js → console-access-tzc3v83t.js} +28 -28
  282. package/dist/chunks/{file-retention-ysfhhwnn.js → console-access-v03ttmzk.js} +32 -14
  283. package/dist/chunks/{file-retention-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
  284. package/dist/chunks/{file-retention-qxk677ch.js → console-access-v3278p87.js} +35 -35
  285. package/dist/chunks/{file-retention-ydsespw1.js → console-access-v5hpj9dd.js} +8 -8
  286. package/dist/chunks/{file-retention-3kr3r5pw.js → console-access-va94v6j2.js} +2 -2
  287. package/dist/chunks/{file-retention-g2jbspnp.js → console-access-vdaneqs3.js} +17 -17
  288. package/dist/chunks/{file-retention-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
  289. package/dist/chunks/{file-retention-dhv1xx0k.js → console-access-vnn2afwv.js} +9 -9
  290. package/dist/chunks/{file-retention-gbgy6ap4.js → console-access-vnqfh8t4.js} +5 -5
  291. package/dist/chunks/{file-retention-gj10dfeb.js → console-access-vpw3c1s6.js} +12 -12
  292. package/dist/chunks/{file-retention-z7re6mpg.js → console-access-vvnnts4c.js} +15 -15
  293. package/dist/chunks/{file-retention-4whyrg43.js → console-access-vy8hqggn.js} +6 -6
  294. package/dist/chunks/{file-retention-n6xbcgna.js → console-access-w0s8m7er.js} +8 -8
  295. package/dist/chunks/{file-retention-9dm6vsa2.js → console-access-w3c3s7r0.js} +18 -18
  296. package/dist/chunks/{file-retention-4gggmape.js → console-access-w3gd9t09.js} +1 -1
  297. package/dist/chunks/{file-retention-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
  298. package/dist/chunks/{file-retention-skrg2vfv.js → console-access-w8hd9jg9.js} +32 -32
  299. package/dist/chunks/{file-retention-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
  300. package/dist/chunks/{file-retention-1tdxr5p7.js → console-access-wbt9c5jn.js} +21 -21
  301. package/dist/chunks/{file-retention-wd87259q.js → console-access-wd87259q.js} +1 -1
  302. package/dist/chunks/{file-retention-wegkxhrn.js → console-access-wegkxhrn.js} +2 -2
  303. package/dist/chunks/{file-retention-ap8y92rr.js → console-access-wm14cjjm.js} +17 -17
  304. package/dist/chunks/{file-retention-4xape4ax.js → console-access-wm3df3fg.js} +21 -21
  305. package/dist/chunks/{file-retention-6xnqn21j.js → console-access-wn12jdbp.js} +3 -3
  306. package/dist/chunks/{file-retention-wnhgecwx.js → console-access-wnhgecwx.js} +1 -1
  307. package/dist/chunks/{file-retention-xa716ypk.js → console-access-wnq1eck8.js} +14 -14
  308. package/dist/chunks/{file-retention-fznmdakp.js → console-access-wr3re1en.js} +4 -4
  309. package/dist/chunks/{file-retention-b8n7cma0.js → console-access-wtw1hn5v.js} +4 -4
  310. package/dist/chunks/{file-retention-mzm8bzzq.js → console-access-wws03c5r.js} +4 -4
  311. package/dist/chunks/console-access-x3c9tvtc.js +16 -0
  312. package/dist/chunks/{file-retention-x4mcewfn.js → console-access-x4mcewfn.js} +2 -2
  313. package/dist/chunks/{file-retention-j90hxq85.js → console-access-xbm420df.js} +11 -11
  314. package/dist/chunks/{file-retention-m9js7g7m.js → console-access-xhdyat8s.js} +9 -9
  315. package/dist/chunks/{file-retention-0r7m7rz3.js → console-access-xjffre0m.js} +14 -14
  316. package/dist/chunks/{file-retention-tfhex4ds.js → console-access-xmpgs8za.js} +81 -79
  317. package/dist/chunks/{file-retention-bjaevfq0.js → console-access-xs7kvz87.js} +8 -8
  318. package/dist/chunks/{file-retention-yydqqga9.js → console-access-xsvq7cjt.js} +4 -4
  319. package/dist/chunks/{file-retention-94e33dpz.js → console-access-xya5z1v4.js} +3 -3
  320. package/dist/chunks/{file-retention-rfhh9jbp.js → console-access-y762rkg4.js} +3 -3
  321. package/dist/chunks/{file-retention-ctj276x0.js → console-access-yat0atrq.js} +16 -16
  322. package/dist/chunks/{file-retention-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
  323. package/dist/chunks/{file-retention-dbhc229r.js → console-access-ydtx5n99.js} +43 -43
  324. package/dist/chunks/{file-retention-0wcgapck.js → console-access-yf28ngb5.js} +2 -2
  325. package/dist/chunks/{file-retention-ymb0ygkv.js → console-access-yjbbgan4.js} +10 -10
  326. package/dist/chunks/{file-retention-tgc8br6y.js → console-access-yptt5g1p.js} +7 -7
  327. package/dist/chunks/{file-retention-yr705xyq.js → console-access-yr705xyq.js} +1 -1
  328. package/dist/chunks/{file-retention-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
  329. package/dist/chunks/console-access-yzbbc780.js +261 -0
  330. package/dist/chunks/{file-retention-z080rjh6.js → console-access-z080rjh6.js} +1 -1
  331. package/dist/chunks/{file-retention-9pkyxfc8.js → console-access-z2q9n5pc.js} +25 -25
  332. package/dist/chunks/{file-retention-05aqx4at.js → console-access-z5bk1z25.js} +48 -48
  333. package/dist/chunks/{file-retention-3gvmrzme.js → console-access-z7q48sws.js} +37 -37
  334. package/dist/chunks/{file-retention-yfe5zj2r.js → console-access-zb3ebwgt.js} +1 -1
  335. package/dist/chunks/{file-retention-hew1js5q.js → console-access-zctn3sx9.js} +2 -2
  336. package/dist/chunks/{file-retention-ze75qvmd.js → console-access-ze75qvmd.js} +3 -3
  337. package/dist/chunks/{file-retention-sqz6jy89.js → console-access-zfsfk48f.js} +59 -59
  338. package/dist/chunks/{file-retention-n3ga810d.js → console-access-zgbrbxkx.js} +17 -17
  339. package/dist/chunks/{file-retention-qtjtwdkb.js → console-access-zx20wyhw.js} +27 -27
  340. package/dist/codemode/catalog.js +1 -1
  341. package/dist/codemode/execution.js +5 -5
  342. package/dist/codemode/fetch.js +145 -145
  343. package/dist/codemode/instructions.js +3 -3
  344. package/dist/codemode/tool.js +151 -151
  345. package/dist/command.js +92 -92
  346. package/dist/config/discovery.js +95 -95
  347. package/dist/config/integration.js +3 -3
  348. package/dist/config/managed.js +1 -1
  349. package/dist/config/markdown.js +1 -1
  350. package/dist/config/normalize.js +112 -112
  351. package/dist/config/plugin/agent.js +132 -132
  352. package/dist/config/plugin/command.js +231 -231
  353. package/dist/config/plugin/compaction.js +171 -171
  354. package/dist/config/plugin/compatibility.js +150 -150
  355. package/dist/config/plugin/entry-observer.js +1 -1
  356. package/dist/config/plugin/formatter.js +131 -131
  357. package/dist/config/plugin/image.js +130 -130
  358. package/dist/config/plugin/instruction.js +130 -130
  359. package/dist/config/plugin/location-watcher.js +132 -132
  360. package/dist/config/plugin/mcp.js +141 -141
  361. package/dist/config/plugin/policy.js +130 -130
  362. package/dist/config/plugin/provider.js +130 -130
  363. package/dist/config/plugin/reference.js +132 -132
  364. package/dist/config/plugin/shell.js +130 -130
  365. package/dist/config/plugin/skill-file.js +146 -146
  366. package/dist/config/plugin/skill-scan.js +1 -1
  367. package/dist/config/plugin/skill.js +153 -153
  368. package/dist/config/plugin/snapshot.js +130 -130
  369. package/dist/config/plugin/source.js +133 -133
  370. package/dist/config/plugin/tool-output.js +131 -131
  371. package/dist/config/plugin/websearch.js +129 -129
  372. package/dist/config/plugin/worktree.js +132 -132
  373. package/dist/config/variable.js +1 -1
  374. package/dist/config/watch.js +1 -1
  375. package/dist/config.js +135 -135
  376. package/dist/console-access.js +1 -1
  377. package/dist/credential/sql.js +2 -2
  378. package/dist/credential.js +94 -94
  379. package/dist/database/database.js +77 -77
  380. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  381. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  382. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  383. package/dist/database/drizzle/index.js +13 -13
  384. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  385. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  387. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  388. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  389. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  390. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  394. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  395. package/dist/database/drizzle.js +14 -14
  396. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  397. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  398. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  399. package/dist/database/migration/20260225215848_workspace.js +1 -1
  400. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  401. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  402. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  403. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  404. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  405. package/dist/database/migration/20260323234822_events.js +1 -1
  406. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  407. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  408. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  409. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  410. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  411. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  412. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  413. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  414. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  415. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  416. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  417. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  418. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  419. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  420. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  421. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  422. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  423. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  424. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  425. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  426. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  427. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  428. package/dist/database/migration/20260611035744_credential.js +1 -1
  429. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  430. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  431. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  432. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  433. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  434. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  435. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  436. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  437. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  438. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  439. package/dist/database/migration/20260812213948_worktree.js +1 -1
  440. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  441. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  442. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  443. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  444. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  445. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  446. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  447. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  448. package/dist/database/migration/20261025123711_blob.js +1 -1
  449. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  450. package/dist/database/migration/20261026223005_schedule.js +1 -1
  451. package/dist/database/migration/20261029002625_session_part.js +1 -1
  452. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  453. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  454. package/dist/database/migration/20261030054400_job.js +1 -1
  455. package/dist/database/migration.gen.js +60 -60
  456. package/dist/database/migration.js +62 -62
  457. package/dist/database/path.js +2 -2
  458. package/dist/database/schema.gen.js +1 -1
  459. package/dist/database/schema.sql.js +1 -1
  460. package/dist/database/v1-migration.bun.js +105 -105
  461. package/dist/database/v1-migration.js +1 -1
  462. package/dist/effect/app-node-builder.js +430 -430
  463. package/dist/effect/app-node-platform.js +2 -2
  464. package/dist/effect/keyed-mutex.js +1 -1
  465. package/dist/effect/websocket-constructor.js +1 -1
  466. package/dist/environment/driver.js +1 -1
  467. package/dist/environment/environment.js +106 -106
  468. package/dist/environment/exec-defaults.js +2 -2
  469. package/dist/environment/files.js +1 -1
  470. package/dist/environment/index.js +106 -106
  471. package/dist/environment/local.js +2 -2
  472. package/dist/environment/memory.js +2 -2
  473. package/dist/environment/unavailable.js +3 -3
  474. package/dist/event/sql.js +1 -1
  475. package/dist/event-logger.js +81 -81
  476. package/dist/file-access.js +156 -156
  477. package/dist/file-mutation.js +107 -107
  478. package/dist/file-retention.js +1 -1
  479. package/dist/filesystem/fff.bun.js +2 -2
  480. package/dist/filesystem/fff.js +1 -1
  481. package/dist/filesystem/fff.node.js +2 -2
  482. package/dist/filesystem/fff.workerd.js +2 -2
  483. package/dist/filesystem/file-watch.js +88 -88
  484. package/dist/filesystem/location-watcher-policy.js +6 -6
  485. package/dist/filesystem/location-watcher.js +245 -245
  486. package/dist/filesystem/protected.js +1 -1
  487. package/dist/filesystem/search.js +112 -112
  488. package/dist/filesystem/watcher-binding.js +1 -1
  489. package/dist/filesystem/watcher.js +11 -11
  490. package/dist/filesystem.js +117 -117
  491. package/dist/form.js +93 -93
  492. package/dist/formatter/builtins.js +4 -4
  493. package/dist/formatter.js +100 -100
  494. package/dist/generate.js +120 -120
  495. package/dist/git.js +11 -11
  496. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  497. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  498. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  499. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  500. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  501. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  502. package/dist/github-copilot/copilot-provider.js +17 -17
  503. package/dist/github-copilot/models.js +112 -112
  504. package/dist/github-copilot/openai-compatible-error.js +1 -1
  505. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  506. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  507. package/dist/github-copilot/responses/openai-error.js +1 -1
  508. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  509. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  510. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  511. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  512. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  513. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  514. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  515. package/dist/image/notice.js +1 -1
  516. package/dist/image/photon-normalize.js +1 -1
  517. package/dist/image/photon-worker.js +1 -1
  518. package/dist/image/photon.js +4 -4
  519. package/dist/image.js +6 -6
  520. package/dist/instance/service.js +5 -5
  521. package/dist/instance.js +421 -421
  522. package/dist/instruction-discovery.js +93 -93
  523. package/dist/instructions/builtins.js +100 -100
  524. package/dist/instructions/index.js +1 -1
  525. package/dist/integration/connection.js +3 -3
  526. package/dist/integration.js +102 -102
  527. package/dist/job/sql.js +2 -2
  528. package/dist/job.js +88 -88
  529. package/dist/kv/sql.js +2 -2
  530. package/dist/kv.js +84 -84
  531. package/dist/location-activity.js +176 -176
  532. package/dist/location-lifecycle.js +150 -150
  533. package/dist/location-service-map.js +99 -99
  534. package/dist/location-services.js +418 -418
  535. package/dist/location.js +102 -102
  536. package/dist/managed-policy.js +3 -3
  537. package/dist/mcp/client.js +104 -104
  538. package/dist/mcp/index.js +116 -116
  539. package/dist/mcp/instructions.js +181 -181
  540. package/dist/mcp/oauth.js +89 -89
  541. package/dist/mcp/socket-client.js +1 -1
  542. package/dist/mcp/stdio.js +103 -103
  543. package/dist/mime.js +1 -1
  544. package/dist/modal/models.js +112 -112
  545. package/dist/model-resolver.js +112 -112
  546. package/dist/model-retry.js +1 -1
  547. package/dist/model.js +113 -113
  548. package/dist/models-dev/v1.js +1 -1
  549. package/dist/models-dev.js +117 -117
  550. package/dist/oauth/page.js +1 -1
  551. package/dist/permission/saved.js +91 -91
  552. package/dist/permission/sql.js +5 -5
  553. package/dist/permission.js +153 -153
  554. package/dist/persistent-pty/binary.bun.js +1 -1
  555. package/dist/persistent-pty/daemon.js +1 -1
  556. package/dist/persistent-pty/index.js +97 -97
  557. package/dist/persistent-pty/pty-binding.js +1 -1
  558. package/dist/persistent-pty.js +86 -86
  559. package/dist/plugin/agent.js +87 -87
  560. package/dist/plugin/command.js +115 -115
  561. package/dist/plugin/goal.js +3 -3
  562. package/dist/plugin/hooks.js +5 -5
  563. package/dist/plugin/host.js +236 -236
  564. package/dist/plugin/identity.js +5 -5
  565. package/dist/plugin/instance.js +5 -5
  566. package/dist/plugin/internal.js +397 -397
  567. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  568. package/dist/plugin/models-dev.js +110 -110
  569. package/dist/plugin/module.js +129 -129
  570. package/dist/plugin/optimize.js +2 -2
  571. package/dist/plugin/plan.js +146 -146
  572. package/dist/plugin/promise.js +1 -1
  573. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  574. package/dist/plugin/provider/azure.js +132 -132
  575. package/dist/plugin/provider/cerebras.js +1 -1
  576. package/dist/plugin/provider/chatgpt.js +130 -130
  577. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  578. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  579. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  580. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  581. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  582. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  583. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  585. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  586. package/dist/plugin/provider/claude-agent/index.js +145 -145
  587. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  588. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  589. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  590. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  591. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  592. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  593. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  594. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  595. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  596. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  597. package/dist/plugin/provider/claude-agent/session.js +112 -112
  598. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  599. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  600. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  601. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  602. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  604. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  605. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  608. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  609. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  610. package/dist/plugin/provider/configured.js +126 -126
  611. package/dist/plugin/provider/credential-settings.js +85 -85
  612. package/dist/plugin/provider/databricks.js +1 -1
  613. package/dist/plugin/provider/digitalocean.js +108 -108
  614. package/dist/plugin/provider/dynamic.js +2 -2
  615. package/dist/plugin/provider/github-copilot.js +110 -110
  616. package/dist/plugin/provider/gitlab.js +107 -107
  617. package/dist/plugin/provider/google-vertex.js +127 -127
  618. package/dist/plugin/provider/kilo.js +1 -1
  619. package/dist/plugin/provider/llmgateway.js +89 -89
  620. package/dist/plugin/provider/lmstudio.js +139 -139
  621. package/dist/plugin/provider/local.js +136 -136
  622. package/dist/plugin/provider/modal.js +107 -107
  623. package/dist/plugin/provider/neon.js +1 -1
  624. package/dist/plugin/provider/nvidia.js +1 -1
  625. package/dist/plugin/provider/ollama.js +139 -139
  626. package/dist/plugin/provider/openai-context-caps.js +103 -103
  627. package/dist/plugin/provider/openai.js +130 -130
  628. package/dist/plugin/provider/opencode.js +132 -132
  629. package/dist/plugin/provider/openrouter.js +104 -104
  630. package/dist/plugin/provider/poe.js +90 -90
  631. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  632. package/dist/plugin/provider/refresh.js +87 -87
  633. package/dist/plugin/provider/sap-ai-core.js +104 -104
  634. package/dist/plugin/provider/sdk-factory.js +1 -1
  635. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  636. package/dist/plugin/provider/vllm.js +139 -139
  637. package/dist/plugin/provider/xai.js +104 -104
  638. package/dist/plugin/provider/zenmux.js +1 -1
  639. package/dist/plugin/provider.js +212 -212
  640. package/dist/plugin/sdk.js +87 -87
  641. package/dist/plugin/service.js +3 -3
  642. package/dist/plugin/skill.js +149 -149
  643. package/dist/plugin/source-directory.js +1 -1
  644. package/dist/plugin/supervisor.js +409 -409
  645. package/dist/plugin/tool-input-repair.js +4 -4
  646. package/dist/plugin/update.js +6 -6
  647. package/dist/plugin/vcs/git.js +99 -99
  648. package/dist/plugin/vcs/hg.js +99 -99
  649. package/dist/plugin/verbosity.js +106 -106
  650. package/dist/plugin/warming.js +130 -128
  651. package/dist/plugin/websearch/exa.js +7 -7
  652. package/dist/plugin/websearch/firecrawl.js +8 -8
  653. package/dist/plugin/websearch/index.js +9 -9
  654. package/dist/plugin/websearch/mcp.js +4 -4
  655. package/dist/plugin/websearch/parallel.js +6 -6
  656. package/dist/plugin/websearch/tavily.js +4 -4
  657. package/dist/plugin/websearch/tinyfish.js +8 -8
  658. package/dist/plugin.js +243 -243
  659. package/dist/project/icon.js +5 -5
  660. package/dist/project/schema.js +8 -8
  661. package/dist/project/sql.js +4 -4
  662. package/dist/project.js +103 -103
  663. package/dist/provider.js +110 -110
  664. package/dist/pty/protocol.js +1 -1
  665. package/dist/pty/ticket.js +1 -1
  666. package/dist/pty.js +109 -109
  667. package/dist/reference/instructions.js +99 -99
  668. package/dist/reference.js +103 -103
  669. package/dist/repository-cache.js +93 -93
  670. package/dist/repository.js +3 -3
  671. package/dist/ripgrep/binary.js +2 -2
  672. package/dist/ripgrep.js +110 -110
  673. package/dist/rpc.js +99 -99
  674. package/dist/schedule/check.js +241 -241
  675. package/dist/schedule/sql.js +6 -6
  676. package/dist/schedule.js +255 -255
  677. package/dist/schema.js +1 -1
  678. package/dist/session/affinity.js +1 -1
  679. package/dist/session/background.js +1 -1
  680. package/dist/session/blob.js +129 -129
  681. package/dist/session/command.js +85 -85
  682. package/dist/session/compaction.js +173 -173
  683. package/dist/session/context.js +198 -198
  684. package/dist/session/diff.js +101 -101
  685. package/dist/session/environment.js +5 -5
  686. package/dist/session/error.js +5 -5
  687. package/dist/session/event.js +1 -1
  688. package/dist/session/execution/restart.js +239 -239
  689. package/dist/session/execution.js +163 -163
  690. package/dist/session/generate.js +200 -200
  691. package/dist/session/history.js +136 -136
  692. package/dist/session/inbox.js +145 -145
  693. package/dist/session/info.js +3 -3
  694. package/dist/session/instruction-entry.js +88 -88
  695. package/dist/session/instruction-state.js +8 -8
  696. package/dist/session/instructions.js +141 -141
  697. package/dist/session/message-updater.js +2 -2
  698. package/dist/session/message.js +1 -1
  699. package/dist/session/model-request.js +166 -166
  700. package/dist/session/model-transport.js +7 -7
  701. package/dist/session/move.js +165 -165
  702. package/dist/session/projector.js +143 -143
  703. package/dist/session/prompt.js +148 -148
  704. package/dist/session/recent-text.js +1 -1
  705. package/dist/session/revert.js +139 -139
  706. package/dist/session/run-coordinator.js +1 -1
  707. package/dist/session/runner/index.js +3 -3
  708. package/dist/session/runner/llm.js +250 -250
  709. package/dist/session/runner/max-steps.js +1 -1
  710. package/dist/session/runner/model.js +113 -113
  711. package/dist/session/runner/publish-llm-event.js +149 -149
  712. package/dist/session/runner/retry.js +5 -5
  713. package/dist/session/runner/step.js +163 -163
  714. package/dist/session/runner/to-llm-message.js +137 -137
  715. package/dist/session/schema.js +5 -5
  716. package/dist/session/session.js +179 -179
  717. package/dist/session/shell.js +144 -144
  718. package/dist/session/skill.js +147 -147
  719. package/dist/session/sql.js +5 -5
  720. package/dist/session/stats.js +84 -84
  721. package/dist/session/store.js +142 -142
  722. package/dist/session/stored.js +2 -2
  723. package/dist/session/subagent-completion.js +1 -1
  724. package/dist/session/subagent-job.js +229 -229
  725. package/dist/session/system-prompt.js +1 -1
  726. package/dist/session/title.js +202 -202
  727. package/dist/session/to-session-error.js +148 -148
  728. package/dist/session/transfer.js +237 -237
  729. package/dist/session/usage.js +3 -3
  730. package/dist/session.js +233 -233
  731. package/dist/shared-cache.js +5 -5
  732. package/dist/shell/parse.js +6 -6
  733. package/dist/shell/result.js +1 -1
  734. package/dist/shell/scan.js +1 -1
  735. package/dist/shell/select.js +13 -13
  736. package/dist/shell.js +146 -146
  737. package/dist/skill/discovery.js +4 -4
  738. package/dist/skill/instructions.js +149 -149
  739. package/dist/skill.js +156 -156
  740. package/dist/snapshot.js +100 -100
  741. package/dist/state.js +1 -1
  742. package/dist/tool/html-markdown.js +1 -1
  743. package/dist/tool/http-body.js +1 -1
  744. package/dist/tool/mcp.js +178 -178
  745. package/dist/tool/plugin/artifact.js +228 -228
  746. package/dist/tool/plugin/edit.js +164 -164
  747. package/dist/tool/plugin/file-diff.js +1 -1
  748. package/dist/tool/plugin/glob.js +168 -168
  749. package/dist/tool/plugin/grep.js +168 -168
  750. package/dist/tool/plugin/image-generate.js +239 -239
  751. package/dist/tool/plugin/mcp-resource.js +162 -162
  752. package/dist/tool/plugin/opencode.js +161 -161
  753. package/dist/tool/plugin/patch.js +166 -166
  754. package/dist/tool/plugin/question.js +146 -146
  755. package/dist/tool/plugin/read.js +169 -169
  756. package/dist/tool/plugin/schedule.js +247 -247
  757. package/dist/tool/plugin/shell.js +233 -233
  758. package/dist/tool/plugin/skill.js +153 -153
  759. package/dist/tool/plugin/subagent.js +236 -236
  760. package/dist/tool/plugin/todo.js +153 -153
  761. package/dist/tool/plugin/webfetch.js +155 -155
  762. package/dist/tool/plugin/websearch.js +153 -153
  763. package/dist/tool/plugin/write.js +166 -166
  764. package/dist/tool/read-filesystem.js +113 -113
  765. package/dist/tool/runtime.js +1 -1
  766. package/dist/tool-output.js +7 -7
  767. package/dist/tool.js +161 -161
  768. package/dist/types/plugin/optimize.d.ts +1 -22
  769. package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
  770. package/dist/usage-limits.js +100 -100
  771. package/dist/util/error-summary.js +1 -1
  772. package/dist/util/git-executable.js +3 -3
  773. package/dist/util/lazy.js +1 -1
  774. package/dist/util/slug.js +1 -1
  775. package/dist/util/token.js +1 -1
  776. package/dist/util/which.js +1 -1
  777. package/dist/util/wildcard.js +1 -1
  778. package/dist/v1/config/agent.js +7 -7
  779. package/dist/v1/config/command.js +3 -3
  780. package/dist/v1/config/mcp.js +2 -2
  781. package/dist/v1/config/migrate.js +105 -105
  782. package/dist/v1/config/permission.js +3 -3
  783. package/dist/v1/config/plugin.js +3 -3
  784. package/dist/v1/config/provider-options.js +1 -1
  785. package/dist/v1/config/provider.js +4 -4
  786. package/dist/variant.js +104 -104
  787. package/dist/vcs/patch.js +1 -1
  788. package/dist/vcs.js +102 -102
  789. package/dist/voice.js +97 -97
  790. package/dist/websearch.js +95 -95
  791. package/dist/wellknown/plugin.js +87 -87
  792. package/dist/wellknown.js +92 -92
  793. package/dist/workspace/driver.js +3 -3
  794. package/dist/workspace/sql.js +1 -1
  795. package/dist/workspace.js +89 -89
  796. package/dist/worktree/directory.js +2 -2
  797. package/dist/worktree/git.js +9 -9
  798. package/dist/worktree/sql.js +5 -5
  799. package/dist/worktree/strategies.js +102 -102
  800. package/dist/worktree.js +105 -105
  801. package/package.json +8 -8
  802. package/dist/chunks/file-retention-1v8gr36j.js +0 -261
  803. package/dist/chunks/file-retention-3aarzgek.js +0 -26
  804. package/dist/chunks/file-retention-3d3mj0t0.js +0 -555
  805. package/dist/chunks/file-retention-d77dj7jw.js +0 -18
  806. package/dist/chunks/file-retention-y32xxt00.js +0 -16
  807. /package/dist/chunks/{file-retention-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
  808. /package/dist/chunks/{file-retention-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
  809. /package/dist/chunks/{file-retention-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
  810. /package/dist/chunks/{file-retention-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
  811. /package/dist/chunks/{file-retention-1kah00gy.js → console-access-1kah00gy.js} +0 -0
  812. /package/dist/chunks/{file-retention-1pevy3nx.js → console-access-1pevy3nx.js} +0 -0
  813. /package/dist/chunks/{file-retention-24dcb14g.js → console-access-24dcb14g.js} +0 -0
  814. /package/dist/chunks/{file-retention-2710q6r3.js → console-access-2710q6r3.js} +0 -0
  815. /package/dist/chunks/{file-retention-2bv980vf.js → console-access-2bv980vf.js} +0 -0
  816. /package/dist/chunks/{file-retention-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
  817. /package/dist/chunks/{file-retention-359p4xyc.js → console-access-359p4xyc.js} +0 -0
  818. /package/dist/chunks/{file-retention-3asan66x.js → console-access-3asan66x.js} +0 -0
  819. /package/dist/chunks/{file-retention-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
  820. /package/dist/chunks/{file-retention-3wcehsnq.js → console-access-3wcehsnq.js} +0 -0
  821. /package/dist/chunks/{file-retention-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
  822. /package/dist/chunks/{file-retention-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
  823. /package/dist/chunks/{file-retention-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
  824. /package/dist/chunks/{file-retention-4vcrnpx2.js → console-access-4vcrnpx2.js} +0 -0
  825. /package/dist/chunks/{file-retention-4y7fprxs.js → console-access-4y7fprxs.js} +0 -0
  826. /package/dist/chunks/{file-retention-53557ph1.js → console-access-53557ph1.js} +0 -0
  827. /package/dist/chunks/{file-retention-550bvhaj.js → console-access-550bvhaj.js} +0 -0
  828. /package/dist/chunks/{file-retention-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
  829. /package/dist/chunks/{file-retention-6agm2x70.js → console-access-6agm2x70.js} +0 -0
  830. /package/dist/chunks/{file-retention-6prwharc.js → console-access-6prwharc.js} +0 -0
  831. /package/dist/chunks/{file-retention-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
  832. /package/dist/chunks/{file-retention-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
  833. /package/dist/chunks/{file-retention-7m9af43g.js → console-access-7m9af43g.js} +0 -0
  834. /package/dist/chunks/{file-retention-822emrt2.js → console-access-822emrt2.js} +0 -0
  835. /package/dist/chunks/{file-retention-84wd9syh.js → console-access-84wd9syh.js} +0 -0
  836. /package/dist/chunks/{file-retention-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
  837. /package/dist/chunks/{file-retention-8n3pysct.js → console-access-8n3pysct.js} +0 -0
  838. /package/dist/chunks/{file-retention-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
  839. /package/dist/chunks/{file-retention-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
  840. /package/dist/chunks/{file-retention-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
  841. /package/dist/chunks/{file-retention-a6k6eb26.js → console-access-a6k6eb26.js} +0 -0
  842. /package/dist/chunks/{file-retention-af5trqkr.js → console-access-af5trqkr.js} +0 -0
  843. /package/dist/chunks/{file-retention-afrmfg78.js → console-access-afrmfg78.js} +0 -0
  844. /package/dist/chunks/{file-retention-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
  845. /package/dist/chunks/{file-retention-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
  846. /package/dist/chunks/{file-retention-beh6qq61.js → console-access-beh6qq61.js} +0 -0
  847. /package/dist/chunks/{file-retention-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
  848. /package/dist/chunks/{file-retention-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
  849. /package/dist/chunks/{file-retention-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
  850. /package/dist/chunks/{file-retention-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
  851. /package/dist/chunks/{file-retention-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
  852. /package/dist/chunks/{file-retention-d9fn303g.js → console-access-d9fn303g.js} +0 -0
  853. /package/dist/chunks/{file-retention-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
  854. /package/dist/chunks/{file-retention-dap0rakb.js → console-access-dap0rakb.js} +0 -0
  855. /package/dist/chunks/{file-retention-dbht28n9.js → console-access-dbht28n9.js} +0 -0
  856. /package/dist/chunks/{file-retention-df08tz66.js → console-access-df08tz66.js} +0 -0
  857. /package/dist/chunks/{file-retention-dy18nga0.js → console-access-dy18nga0.js} +0 -0
  858. /package/dist/chunks/{file-retention-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
  859. /package/dist/chunks/{file-retention-e73j6tqm.js → console-access-e73j6tqm.js} +0 -0
  860. /package/dist/chunks/{file-retention-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
  861. /package/dist/chunks/{file-retention-ec1grn59.js → console-access-ec1grn59.js} +0 -0
  862. /package/dist/chunks/{file-retention-eh3zwz77.js → console-access-eh3zwz77.js} +0 -0
  863. /package/dist/chunks/{file-retention-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
  864. /package/dist/chunks/{file-retention-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
  865. /package/dist/chunks/{file-retention-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
  866. /package/dist/chunks/{file-retention-faypxj3z.js → console-access-faypxj3z.js} +0 -0
  867. /package/dist/chunks/{file-retention-fd410y7t.js → console-access-fd410y7t.js} +0 -0
  868. /package/dist/chunks/{file-retention-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
  869. /package/dist/chunks/{file-retention-g4wezp1m.js → console-access-g4wezp1m.js} +0 -0
  870. /package/dist/chunks/{file-retention-g86h250q.js → console-access-g86h250q.js} +0 -0
  871. /package/dist/chunks/{file-retention-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
  872. /package/dist/chunks/{file-retention-gftt206x.js → console-access-gftt206x.js} +0 -0
  873. /package/dist/chunks/{file-retention-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
  874. /package/dist/chunks/{file-retention-hk9envan.js → console-access-hk9envan.js} +0 -0
  875. /package/dist/chunks/{file-retention-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
  876. /package/dist/chunks/{file-retention-j5zkgpj8.js → console-access-j5zkgpj8.js} +0 -0
  877. /package/dist/chunks/{file-retention-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
  878. /package/dist/chunks/{file-retention-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
  879. /package/dist/chunks/{file-retention-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
  880. /package/dist/chunks/{file-retention-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
  881. /package/dist/chunks/{file-retention-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
  882. /package/dist/chunks/{file-retention-m18g726c.js → console-access-m18g726c.js} +0 -0
  883. /package/dist/chunks/{file-retention-mp448xyj.js → console-access-mp448xyj.js} +0 -0
  884. /package/dist/chunks/{file-retention-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
  885. /package/dist/chunks/{file-retention-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
  886. /package/dist/chunks/{file-retention-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
  887. /package/dist/chunks/{file-retention-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
  888. /package/dist/chunks/{file-retention-njntx4h6.js → console-access-njntx4h6.js} +0 -0
  889. /package/dist/chunks/{file-retention-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
  890. /package/dist/chunks/{file-retention-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
  891. /package/dist/chunks/{file-retention-q74kybfr.js → console-access-q74kybfr.js} +0 -0
  892. /package/dist/chunks/{file-retention-qaymkmh1.js → console-access-qaymkmh1.js} +0 -0
  893. /package/dist/chunks/{file-retention-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
  894. /package/dist/chunks/{file-retention-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
  895. /package/dist/chunks/{file-retention-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
  896. /package/dist/chunks/{file-retention-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
  897. /package/dist/chunks/{file-retention-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
  898. /package/dist/chunks/{file-retention-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
  899. /package/dist/chunks/{file-retention-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
  900. /package/dist/chunks/{file-retention-syrav9an.js → console-access-syrav9an.js} +0 -0
  901. /package/dist/chunks/{file-retention-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
  902. /package/dist/chunks/{file-retention-ty7weeps.js → console-access-ty7weeps.js} +0 -0
  903. /package/dist/chunks/{file-retention-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
  904. /package/dist/chunks/{file-retention-vtarvj67.js → console-access-vtarvj67.js} +0 -0
  905. /package/dist/chunks/{file-retention-w803qqfp.js → console-access-w803qqfp.js} +0 -0
  906. /package/dist/chunks/{file-retention-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
  907. /package/dist/chunks/{file-retention-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
  908. /package/dist/chunks/{file-retention-wtztk69x.js → console-access-wtztk69x.js} +0 -0
  909. /package/dist/chunks/{file-retention-x0ckcb58.js → console-access-x0ckcb58.js} +0 -0
  910. /package/dist/chunks/{file-retention-x61499pn.js → console-access-x61499pn.js} +0 -0
  911. /package/dist/chunks/{file-retention-y44na4kk.js → console-access-y44na4kk.js} +0 -0
  912. /package/dist/chunks/{file-retention-y8f7s663.js → console-access-y8f7s663.js} +0 -0
  913. /package/dist/chunks/{file-retention-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
  914. /package/dist/chunks/{file-retention-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
  915. /package/dist/chunks/{file-retention-z9919s4g.js → console-access-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./file-retention-ynsc8wg2.js";
4
+ } from "./console-access-areqykj9.js";
5
5
  import {
6
- Service80,
7
- node83
8
- } from "./file-retention-7etbzm9y.js";
6
+ Service86,
7
+ node89
8
+ } from "./console-access-jxv9802m.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
- Service85,
15
- node88
16
- } from "./file-retention-avaerfkj.js";
14
+ Service80,
15
+ node83
16
+ } from "./console-access-edgp587h.js";
17
17
  import {
18
18
  latest2,
19
- Service69,
20
- node72
21
- } from "./file-retention-gmnq7sxz.js";
19
+ Service77,
20
+ node80
21
+ } from "./console-access-5qk7pcez.js";
22
22
  import {
23
23
  detect2
24
- } from "./file-retention-4pyp9zr9.js";
24
+ } from "./console-access-4pyp9zr9.js";
25
25
  import {
26
- Service25,
27
- node28
28
- } from "./file-retention-rpxemsgz.js";
26
+ Service27,
27
+ node30
28
+ } from "./console-access-986s6yzw.js";
29
29
  import {
30
30
  __export
31
- } from "./file-retention-9rqn6x4v.js";
31
+ } from "./console-access-9rqn6x4v.js";
32
32
 
33
33
  // src/artifact.ts
34
34
  var exports_artifact2 = {};
@@ -41,7 +41,7 @@ __export(exports_artifact2, {
41
41
  Event: () => Event6,
42
42
  FileMissingError: () => FileMissingError2,
43
43
  ID: () => ID7,
44
- Info: () => Info8,
44
+ Info: () => Info9,
45
45
  InvalidError: () => InvalidError3,
46
46
  LocalProviderID: () => LocalProviderID2,
47
47
  NotFoundError: () => NotFoundError4,
@@ -49,10 +49,10 @@ __export(exports_artifact2, {
49
49
  ProviderError: () => ProviderError2,
50
50
  ProviderID: () => ProviderID2,
51
51
  ProviderNotFoundError: () => ProviderNotFoundError2,
52
- Service: () => Service24,
52
+ Service: () => Service25,
53
53
  UpdateInput: () => UpdateInput3,
54
54
  locate: () => locate2,
55
- node: () => node27
55
+ node: () => node28
56
56
  });
57
57
  import { randomUUID } from "node:crypto";
58
58
  import fs from "node:fs/promises";
@@ -64,7 +64,7 @@ import {
64
64
  CreateInput as CreateInput5,
65
65
  Event as Event6,
66
66
  ID as ID7,
67
- Info as Info8,
67
+ Info as Info9,
68
68
  Provider as Provider2,
69
69
  ProviderID as ProviderID2,
70
70
  UpdateInput as UpdateInput3
@@ -124,10 +124,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
124
124
  }
125
125
  }
126
126
 
127
- class Service24 extends Context.Service()("@opencode/Artifact") {
127
+ class Service25 extends Context.Service()("@opencode/Artifact") {
128
128
  }
129
129
  var StoredRecord = Schema.Struct({
130
- info: Info8,
130
+ info: Info9,
131
131
  directory: Schema.String,
132
132
  projectID: Schema.String
133
133
  });
@@ -140,13 +140,13 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
140
140
  const decoded = decodeStoredRecord(stored);
141
141
  return Option.isSome(decoded) ? decoded.value.directory : undefined;
142
142
  }));
143
- var layer = Layer.effect(Service24, Effect.gen(function* () {
143
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
144
144
  const bus = yield* Service89;
145
- const config = yield* Service69;
145
+ const config = yield* Service77;
146
146
  const global = yield* Global.Service;
147
- const kv = yield* Service85;
148
- const location = yield* Service80;
149
- const sessions = yield* Service25;
147
+ const kv = yield* Service80;
148
+ const location = yield* Service86;
149
+ const sessions = yield* Service27;
150
150
  const rootDir = path.join(global.data, "artifacts");
151
151
  const itemDir = (id) => path.join(rootDir, id);
152
152
  const localProvider = {
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
205
205
  return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
206
206
  };
207
207
  const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
208
- return Service24.of({
208
+ return Service25.of({
209
209
  transform: state.transform,
210
210
  reload: state.reload,
211
211
  enabled: isEnabled,
@@ -252,7 +252,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
252
252
  const id = ID7.create();
253
253
  const now = yield* Clock.currentTimeMillis;
254
254
  const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
255
- const info = Info8.make({
255
+ const info = Info9.make({
256
256
  id,
257
257
  provider: provider.id,
258
258
  ...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
@@ -302,7 +302,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
302
302
  const now = yield* Clock.currentTimeMillis;
303
303
  const sessionID = input.sessionID ?? existing.info.sessionID;
304
304
  const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
305
- const info = Info8.make({
305
+ const info = Info9.make({
306
306
  id,
307
307
  provider: existing.info.provider,
308
308
  ...sessionID === undefined ? {} : { sessionID },
@@ -350,10 +350,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
350
350
  })
351
351
  });
352
352
  }));
353
- var node27 = makeLocationNode({
354
- service: Service24,
353
+ var node28 = makeLocationNode({
354
+ service: Service25,
355
355
  layer,
356
- deps: [node92, node72, Global.node, node88, node83, node28]
356
+ deps: [node92, node80, Global.node, node83, node89, node30]
357
357
  });
358
358
  function encodeStringFiles(files) {
359
359
  return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
491
491
  });
492
492
  }
493
493
 
494
- export { Capability2, Content2, CreateInput5, Event6, ID7, Info8, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service24, locate2, node27, exports_artifact2 };
494
+ export { Capability2, Content2, CreateInput5, Event6, ID7, Info9, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service25, locate2, node28, 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/plugin/goal.ts
6
6
  var exports_goal = {};
@@ -9,7 +9,7 @@ __export(exports_goal, {
9
9
  MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
10
10
  MAX_ROUNDS: () => MAX_ROUNDS2,
11
11
  MAX_STALLS: () => MAX_STALLS2,
12
- Plugin: () => Plugin16,
12
+ Plugin: () => Plugin28,
13
13
  WAIT_LIMIT: () => WAIT_LIMIT2
14
14
  });
15
15
  import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
102
102
  });
103
103
  var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
104
104
  var USAGE = "Usage: /goal <objective> | pause | resume | clear";
105
- var Plugin16 = define({
105
+ var Plugin28 = define({
106
106
  id: "opencode.goal",
107
107
  effect: Effect.fn(function* (ctx) {
108
108
  const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
@@ -407,4 +407,4 @@ function escape(text) {
407
407
  return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
408
408
  }
409
409
 
410
- export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin16, exports_goal };
410
+ export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin28, exports_goal };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./file-retention-8eshswe5.js";
4
+ } from "./console-access-btm7bkhg.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service89,
8
8
  node92
9
- } from "./file-retention-ynsc8wg2.js";
9
+ } from "./console-access-areqykj9.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./file-retention-0ma9gw4f.js";
12
+ } from "./console-access-0ma9gw4f.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./file-retention-ec1grn59.js";
15
+ } from "./console-access-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./file-retention-k0kcv3gp.js";
18
+ } from "./console-access-dd0f4r17.js";
19
19
  import {
20
- Service66,
21
- node69
22
- } from "./file-retention-9s8ccxzp.js";
20
+ Service73,
21
+ node76
22
+ } from "./console-access-7pzqke8r.js";
23
23
  import {
24
- Service28,
25
- node31
26
- } from "./file-retention-5cfjc002.js";
24
+ Service29,
25
+ node33
26
+ } from "./console-access-kt8rgxn2.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./file-retention-4f25tdd0.js";
30
+ } from "./console-access-r542h3bh.js";
31
31
  import {
32
32
  __export
33
- } from "./file-retention-9rqn6x4v.js";
33
+ } from "./console-access-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service9,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer7,
42
- node: () => node11
41
+ layer: () => layer3,
42
+ node: () => node3
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service9 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer7 = Layer.effect(Service9, Effect.gen(function* () {
75
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
76
76
  const bus = yield* Service89;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service28;
79
- const store = yield* Service66;
78
+ const context = yield* Service29;
79
+ const store = yield* Service73;
80
80
  const db = (yield* Service90).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -160,12 +160,12 @@ Recent conversation:
160
160
  title: truncate(title)
161
161
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
162
162
  });
163
- return Service9.of({ generate });
163
+ return Service2.of({ generate });
164
164
  }));
165
- var node11 = makeLocationNode({
166
- service: Service9,
167
- layer: layer7,
168
- deps: [node92, llmClient2, node31, node69, node93]
165
+ var node3 = makeLocationNode({
166
+ service: Service2,
167
+ layer: layer3,
168
+ deps: [node92, llmClient2, node33, node76, node93]
169
169
  });
170
170
 
171
- export { Service9, isUntitled2, layer7, node11, exports_title };
171
+ export { Service2, isUntitled2, layer3, node3, exports_title };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service65
3
- } from "./file-retention-f7rj94ae.js";
2
+ Service72
3
+ } from "./console-access-3mrkr0j9.js";
4
4
  import {
5
- ID8,
5
+ ID10,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service52
10
- } from "./file-retention-b1tz7g4k.js";
9
+ Service56
10
+ } from "./console-access-kdz26drv.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./console-access-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill3 = {};
17
17
  __export(exports_skill3, {
18
- Input: () => Input10,
19
- Output: () => Output8,
18
+ Input: () => Input8,
19
+ Output: () => Output5,
20
20
  Plugin: () => Plugin47,
21
21
  SkillTool: () => exports_skill3,
22
- description: () => description4,
23
- name: () => name10,
22
+ description: () => description6,
23
+ name: () => name8,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai/effect";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name10 = "skill";
30
- var Input10 = Schema.Struct({
31
- id: ID8.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name8 = "skill";
30
+ var Input8 = Schema.Struct({
31
+ id: ID10.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output8 = Schema.Struct({
33
+ var Output5 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description4 = [
38
+ var description6 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -47,21 +47,21 @@ var Plugin47 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service52;
51
- const permission = yield* Service65;
50
+ const skills = yield* Service56;
51
+ const permission = yield* Service72;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name10,
53
+ name: name8,
54
54
  options: { codemode: false },
55
- description: description4,
56
- input: Input10,
57
- output: Output8,
55
+ description: description6,
56
+ input: Input8,
57
+ output: Output5,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name10,
64
+ action: name8,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin47 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name10, Input10, Output8, description4, toModelOutput2, Plugin47, exports_skill3 };
82
+ export { name8, Input8, Output5, description6, toModelOutput2, Plugin47, exports_skill3 };
@@ -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/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service80,
3
- node83
4
- } from "./file-retention-7etbzm9y.js";
2
+ Service86,
3
+ node89
4
+ } from "./console-access-jxv9802m.js";
5
5
  import {
6
6
  Key3,
7
7
  make31,
8
8
  combine2
9
- } from "./file-retention-390xskpw.js";
9
+ } from "./console-access-390xskpw.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./console-access-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service31,
19
- node: () => node34
18
+ Service: () => Service32,
19
+ node: () => node36
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service32 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service31, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service80;
29
- return Service31.of({
28
+ const location = yield* Service86;
29
+ return Service32.of({
30
30
  load: () => Effect.succeed(combine2([
31
31
  make31({
32
32
  key: Key3.make("core/date"),
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node34 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node83] });
63
+ var node36 = makeLocationNode({ service: Service32, layer, deps: [Global.node, node89] });
64
64
 
65
- export { Service31, node34, exports_builtins };
65
+ export { Service32, node36, exports_builtins };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service51
3
- } from "./file-retention-x24tvm8w.js";
2
+ Service64
3
+ } from "./console-access-61c6a8fw.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./console-access-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service51;
24
+ const environment = yield* Service64;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const state = { phase: "ready" };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-retention-z5v4ffb3.js";
4
+ } from "./console-access-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./file-retention-v37bc009.js";
7
+ } from "./console-access-nv2c5e9q.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./console-access-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./console-access-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider3 = {};
10
10
  __export(exports_provider3, {
11
11
  ConfigProviderV1: () => exports_provider3,
12
- Info: () => Info18,
12
+ Info: () => Info20,
13
13
  Model: () => Model3,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info18 = Schema.Struct({
64
+ var Info20 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -91,4 +91,4 @@ var Info18 = Schema.Struct({
91
91
  models: Schema.optional(Schema.Record(Schema.String, Model3))
92
92
  }).annotate({ identifier: "ProviderConfig" });
93
93
 
94
- export { ModelStatus2, Model3, Info18, exports_provider3 };
94
+ export { ModelStatus2, Model3, Info20, exports_provider3 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./file-retention-kt3bjfbg.js";
4
+ } from "./console-access-kt3bjfbg.js";
5
5
  import {
6
- ID20,
7
- Service86,
8
- node89
9
- } from "./file-retention-j6q7spb2.js";
6
+ ID18,
7
+ Service83,
8
+ node86
9
+ } from "./console-access-6rhd9160.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./console-access-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
- Info: () => Info13,
18
- Service: () => Service59,
19
- UnavailableError: () => UnavailableError3,
17
+ Info: () => Info3,
18
+ Service: () => Service13,
19
+ UnavailableError: () => UnavailableError2,
20
20
  UsageLimits: () => exports_usage_limits,
21
- layer: () => layer20,
22
- node: () => node60
21
+ layer: () => layer9,
22
+ node: () => node15
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
25
  import { Money } from "@opencode/schema/money";
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { httpClient } from "@opencode/util/effect/app-node-platform";
30
30
  import { Context, Duration, Effect, Layer, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
- var Info13 = UsageLimits.Info;
32
+ var Info3 = UsageLimits.Info;
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service59 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service13 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer20 = Layer.effect(Service59, Effect.gen(function* () {
42
- const integrations = yield* Service86;
41
+ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
42
+ const integrations = yield* Service83;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
- const connection = yield* integrations.connection.active(ID20.make("opencode"));
45
+ const connection = yield* integrations.connection.active(ID18.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
- const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
48
+ const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
49
49
  if (!credential || credential.type === "external")
50
50
  return;
51
51
  const workspaceID = credential.metadata?.orgID;
@@ -54,7 +54,7 @@ var layer20 = Layer.effect(Service59, Effect.gen(function* () {
54
54
  const server = server2(credential);
55
55
  const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
56
56
  duration: Duration.seconds(15),
57
- orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
57
+ orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
58
58
  }));
59
59
  return {
60
60
  workspace: {
@@ -66,12 +66,12 @@ var layer20 = Layer.effect(Service59, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service59.of({ get });
69
+ return Service13.of({ get });
70
70
  }));
71
- var node60 = makeLocationNode({
72
- service: Service59,
73
- layer: layer20,
74
- deps: [node89, httpClient]
71
+ var node15 = makeLocationNode({
72
+ service: Service13,
73
+ layer: layer9,
74
+ deps: [node86, httpClient]
75
75
  });
76
76
  var ConsoleBudget = Schema.Struct({
77
77
  ruleID: Schema.String,
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
117
117
  picked: budget.picked,
118
118
  shared: budget.shared,
119
119
  resetsAt: budget.resetsAt.getTime()
120
- }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
120
+ }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
121
121
  }
122
122
  function readGo(http, server, credential, workspaceID) {
123
123
  return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
124
124
  rolling: meter(body.usage.rolling),
125
125
  weekly: meter(body.usage.weekly),
126
126
  monthly: meter(body.usage.monthly)
127
- })))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
127
+ })))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
128
128
  }
129
129
  function meter(value) {
130
130
  return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
131
131
  }
132
132
 
133
- export { Info13, UnavailableError3, Service59, layer20, node60, exports_usage_limits };
133
+ export { Info3, UnavailableError2, Service13, layer9, node15, exports_usage_limits };