@opencode/core 0.0.0-dev-1293 → 0.0.0-dev-1294

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 (913) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +250 -250
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{command-034tev2y.js → formatter-034tev2y.js} +2 -2
  9. package/dist/chunks/{command-6w30sr0w.js → formatter-09cv1hcq.js} +16 -16
  10. package/dist/chunks/{command-zk1cryvj.js → formatter-0b9dpcqh.js} +18 -18
  11. package/dist/chunks/{command-c9v165g9.js → formatter-0f98ft02.js} +36 -36
  12. package/dist/chunks/{command-0fvxehme.js → formatter-0fvxehme.js} +2 -2
  13. package/dist/chunks/{command-ymh2zpye.js → formatter-0jk88157.js} +16 -16
  14. package/dist/chunks/{command-dc4t5msd.js → formatter-0p8fz9ey.js} +23 -23
  15. package/dist/chunks/{command-vxcqyea6.js → formatter-0r5j1y1x.js} +10 -10
  16. package/dist/chunks/{command-m6b1y2sf.js → formatter-0rdrv6c4.js} +9 -9
  17. package/dist/chunks/{command-yrt2j6wb.js → formatter-1065azbp.js} +8 -8
  18. package/dist/chunks/{command-48t0pb5g.js → formatter-107n4kdg.js} +37 -37
  19. package/dist/chunks/{command-5tf32vej.js → formatter-10veb3z3.js} +5 -5
  20. package/dist/chunks/{command-q99548g1.js → formatter-18w9amv2.js} +4 -4
  21. package/dist/chunks/{command-c5vx1zac.js → formatter-19ah3epb.js} +5 -5
  22. package/dist/chunks/{command-6tdwsadc.js → formatter-19cz2mh9.js} +31 -31
  23. package/dist/chunks/{command-2km60gbx.js → formatter-1afk09fq.js} +11 -11
  24. package/dist/chunks/{command-1aqsckx4.js → formatter-1aqsckx4.js} +1 -1
  25. package/dist/chunks/{command-4d1f1c7e.js → formatter-1cnk63hp.js} +11 -11
  26. package/dist/chunks/{command-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
  27. package/dist/chunks/{command-bsycervj.js → formatter-1m5xsna8.js} +24 -24
  28. package/dist/chunks/{command-vz7cb8rc.js → formatter-1rtj8tn6.js} +5 -5
  29. package/dist/chunks/{command-w69q6psg.js → formatter-1twmh811.js} +17 -17
  30. package/dist/chunks/{command-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
  31. package/dist/chunks/{command-epap8xr2.js → formatter-1y4446k4.js} +45 -45
  32. package/dist/chunks/{command-p7vhpwh8.js → formatter-1yq9hg58.js} +5 -5
  33. package/dist/chunks/{command-hbjxspw9.js → formatter-26g5dw0a.js} +15 -15
  34. package/dist/chunks/{command-00vb7kby.js → formatter-284qbwak.js} +41 -41
  35. package/dist/chunks/{command-dt6tsz7x.js → formatter-2bvj0tyw.js} +23 -23
  36. package/dist/chunks/{command-2fc7eemy.js → formatter-2fc7eemy.js} +1 -1
  37. package/dist/chunks/{command-h7d4rbrg.js → formatter-2kg89srt.js} +4 -4
  38. package/dist/chunks/{command-2prt43t7.js → formatter-2prt43t7.js} +1 -1
  39. package/dist/chunks/{command-vdcc3vzr.js → formatter-2q7w2n5y.js} +20 -20
  40. package/dist/chunks/{command-djcm10vk.js → formatter-2t6bt9cz.js} +23 -23
  41. package/dist/chunks/{command-vw17p9nj.js → formatter-2yn2tdym.js} +65 -65
  42. package/dist/chunks/{command-s47rahr7.js → formatter-2ytp0tvq.js} +4 -4
  43. package/dist/chunks/{command-wqeff9d1.js → formatter-2z7m33tr.js} +6 -6
  44. package/dist/chunks/{command-z2kxm34f.js → formatter-367yzc22.js} +370 -370
  45. package/dist/chunks/{command-mk9nde4r.js → formatter-36veeb2h.js} +13 -13
  46. package/dist/chunks/{command-8kxf49yw.js → formatter-3aystt2y.js} +4 -4
  47. package/dist/chunks/{command-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{command-s6q3xz50.js → formatter-3k1xqshc.js} +5 -5
  49. package/dist/chunks/{command-45gvefkm.js → formatter-3m4fz3hb.js} +10 -10
  50. package/dist/chunks/{command-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
  51. package/dist/chunks/{command-7a2bwsmz.js → formatter-3p57dcxh.js} +4 -4
  52. package/dist/chunks/{command-xtyr0vxr.js → formatter-3qhreq2y.js} +4 -4
  53. package/dist/chunks/{command-br0kkpnn.js → formatter-3ryz99p0.js} +7 -7
  54. package/dist/chunks/{command-40y6dtc2.js → formatter-40y6dtc2.js} +1 -1
  55. package/dist/chunks/{command-qa4hpnzm.js → formatter-472kcb6j.js} +4 -4
  56. package/dist/chunks/{command-m4p4r8nc.js → formatter-4dfqsw0d.js} +4 -4
  57. package/dist/chunks/{command-4dx1dgte.js → formatter-4dx1dgte.js} +1 -1
  58. package/dist/chunks/{command-4f25tdd0.js → formatter-4f25tdd0.js} +1 -1
  59. package/dist/chunks/{command-z2wzp662.js → formatter-4nr20r5b.js} +34 -34
  60. package/dist/chunks/{command-545mfvbm.js → formatter-4r37kn7a.js} +32 -32
  61. package/dist/chunks/{command-mvp1qzcv.js → formatter-4rz36ceb.js} +20 -20
  62. package/dist/chunks/{command-4v008n1t.js → formatter-4v008n1t.js} +1 -1
  63. package/dist/chunks/{command-4yw3xa9p.js → formatter-514vvw19.js} +1 -1
  64. package/dist/chunks/{command-d4qb2rc3.js → formatter-5c0ay57s.js} +4 -4
  65. package/dist/chunks/{command-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
  66. package/dist/chunks/{command-1f32vgp3.js → formatter-5nvn3v8n.js} +16 -15
  67. package/dist/chunks/{command-b7tcf9j8.js → formatter-5tda77qk.js} +17 -17
  68. package/dist/chunks/{command-msd2a3qm.js → formatter-5wyjxme5.js} +7 -7
  69. package/dist/chunks/{command-2bjvbgsm.js → formatter-5xbqvg7k.js} +19 -19
  70. package/dist/chunks/{command-rcxa3fp6.js → formatter-633zrvc0.js} +9 -9
  71. package/dist/chunks/{command-5m3xrn1j.js → formatter-66r11b12.js} +9 -9
  72. package/dist/chunks/{command-anetphez.js → formatter-67s9kfqp.js} +31 -31
  73. package/dist/chunks/{command-hdr5hne2.js → formatter-681reqgc.js} +8 -8
  74. package/dist/chunks/{command-kj9n5bvh.js → formatter-69rarv6g.js} +4 -4
  75. package/dist/chunks/{command-pmxhedey.js → formatter-6d0ke9pc.js} +11 -11
  76. package/dist/chunks/{command-zfjmf10w.js → formatter-6ftp030z.js} +20 -20
  77. package/dist/chunks/{command-e8fm7yqv.js → formatter-6mqmmy5j.js} +37 -37
  78. package/dist/chunks/{command-kxrn7gky.js → formatter-6phyd5m2.js} +15 -15
  79. package/dist/chunks/{command-9tg5000s.js → formatter-6s29sep7.js} +22 -22
  80. package/dist/chunks/{command-3scav9bn.js → formatter-6s9a3p6j.js} +20 -20
  81. package/dist/chunks/{command-c51p6570.js → formatter-6sg7v011.js} +2 -2
  82. package/dist/chunks/{command-vwcz1f45.js → formatter-6y2b864j.js} +7 -7
  83. package/dist/chunks/{command-dbatw319.js → formatter-73ff1310.js} +3 -3
  84. package/dist/chunks/{command-vkz3ha21.js → formatter-75a2gs08.js} +1 -1
  85. package/dist/chunks/{command-t1xbeg12.js → formatter-75nm06f1.js} +60 -66
  86. package/dist/chunks/{command-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{command-xrayc9jg.js → formatter-7ha2pc0m.js} +21 -21
  88. package/dist/chunks/{command-7tx5zndv.js → formatter-7tx5zndv.js} +2 -2
  89. package/dist/chunks/{command-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
  90. package/dist/chunks/{command-7weczvnd.js → formatter-7weczvnd.js} +1 -1
  91. package/dist/chunks/{command-hkf8spj2.js → formatter-7zs4mqwf.js} +5 -5
  92. package/dist/chunks/{command-775hqbnd.js → formatter-80mg3ag8.js} +3 -3
  93. package/dist/chunks/{command-80pdk984.js → formatter-80pdk984.js} +1 -1
  94. package/dist/chunks/{command-85jq8dht.js → formatter-85jq8dht.js} +1 -1
  95. package/dist/chunks/{command-gjqpkb49.js → formatter-875etveh.js} +7 -7
  96. package/dist/chunks/{command-bf0m000r.js → formatter-87yq9eva.js} +25 -25
  97. package/dist/chunks/{command-j5c22pgh.js → formatter-88vzj3a4.js} +3 -3
  98. package/dist/chunks/{command-rxp2smpj.js → formatter-89wqeg04.js} +6 -6
  99. package/dist/chunks/{command-8b3vzgkx.js → formatter-8b3vzgkx.js} +1 -1
  100. package/dist/chunks/{command-exkmrkyq.js → formatter-8er0ykh9.js} +40 -40
  101. package/dist/chunks/{command-0jgcgtm3.js → formatter-8faq9twa.js} +16 -16
  102. package/dist/chunks/{command-bs7vr8qa.js → formatter-8frvfs4e.js} +44 -44
  103. package/dist/chunks/{command-trs7a2qk.js → formatter-8gc9kz7m.js} +33 -33
  104. package/dist/chunks/{command-8kjyvwy5.js → formatter-8kjyvwy5.js} +1 -1
  105. package/dist/chunks/{command-3dygp556.js → formatter-8p9429cg.js} +35 -35
  106. package/dist/chunks/{command-8sxe6kv8.js → formatter-8sxe6kv8.js} +2 -2
  107. package/dist/chunks/{command-wnqev3np.js → formatter-8vnqf0b3.js} +19 -19
  108. package/dist/chunks/{command-6rwp9k3d.js → formatter-8wdnmp4h.js} +37 -37
  109. package/dist/chunks/{command-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
  110. package/dist/chunks/{command-9mg2j4gp.js → formatter-8ye65hwy.js} +15 -15
  111. package/dist/chunks/{command-8zv0xmg5.js → formatter-8zv0xmg5.js} +1 -1
  112. package/dist/chunks/{command-shs0bj48.js → formatter-90fyndgx.js} +28 -28
  113. package/dist/chunks/{command-ptqtsqsq.js → formatter-97yxev1x.js} +7 -7
  114. package/dist/chunks/{command-6bhge99a.js → formatter-98m3s5a8.js} +22 -22
  115. package/dist/chunks/{command-kvq9h0sm.js → formatter-999eq5wg.js} +7 -7
  116. package/dist/chunks/{command-9fbvv04g.js → formatter-9efj75yn.js} +42 -42
  117. package/dist/chunks/{command-d5z7929f.js → formatter-9gdt4sfh.js} +18 -18
  118. package/dist/chunks/{command-x443n8rt.js → formatter-9j79xsdn.js} +6 -6
  119. package/dist/chunks/{command-ez7z3q9e.js → formatter-9kkht3bz.js} +35 -35
  120. package/dist/chunks/{command-nvnvd5wa.js → formatter-9mz9bkgy.js} +9 -9
  121. package/dist/chunks/{command-atz1w742.js → formatter-9zfcngb4.js} +3 -3
  122. package/dist/chunks/{command-1mfn2wbd.js → formatter-a0rh3gnp.js} +16 -16
  123. package/dist/chunks/{command-g3k34n04.js → formatter-a18qm98g.js} +18 -18
  124. package/dist/chunks/{command-4p9g6gya.js → formatter-a6f3a7w7.js} +12 -12
  125. package/dist/chunks/{command-npte79n3.js → formatter-a9770cg9.js} +22 -22
  126. package/dist/chunks/{command-jhbk36e1.js → formatter-astymy2y.js} +22 -22
  127. package/dist/chunks/{command-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
  128. package/dist/chunks/{command-xvn8mnch.js → formatter-azqdag7d.js} +4 -4
  129. package/dist/chunks/{command-6nw0se4n.js → formatter-b1t3h42q.js} +28 -28
  130. package/dist/chunks/formatter-b5696b0c.js +26 -0
  131. package/dist/chunks/{command-qxvrvs93.js → formatter-b9t4mw29.js} +18 -18
  132. package/dist/chunks/{command-741va2xm.js → formatter-bc6vcyc2.js} +20 -20
  133. package/dist/chunks/{command-ybxm74q5.js → formatter-be3cmm3y.js} +59 -59
  134. package/dist/chunks/{command-ad3ej1v4.js → formatter-bes4ktrd.js} +5 -5
  135. package/dist/chunks/{command-njb58ya1.js → formatter-bkfnmamh.js} +25 -25
  136. package/dist/chunks/{command-hyq0mm5d.js → formatter-bm49bgmn.js} +25 -25
  137. package/dist/chunks/{command-kc4ez2ea.js → formatter-bmw1c1w2.js} +8 -8
  138. package/dist/chunks/{command-xksw6ev0.js → formatter-brv6mkyx.js} +4 -4
  139. package/dist/chunks/{command-bstexjd6.js → formatter-bstexjd6.js} +1 -1
  140. package/dist/chunks/{command-sch203vp.js → formatter-c09jwrv7.js} +8 -8
  141. package/dist/chunks/{command-tb2mrvc9.js → formatter-c0fe0nyt.js} +4 -4
  142. package/dist/chunks/{command-emq6awqh.js → formatter-c5kjsz6q.js} +4 -4
  143. package/dist/chunks/{command-e4b4cbc2.js → formatter-c8g1f16z.js} +17 -17
  144. package/dist/chunks/{command-r2rgtba5.js → formatter-c98n4vdv.js} +9 -9
  145. package/dist/chunks/{command-73gcsqdp.js → formatter-crke0hy6.js} +13 -13
  146. package/dist/chunks/{command-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
  147. package/dist/chunks/{command-3y4zhc2n.js → formatter-cwws9yn6.js} +22 -22
  148. package/dist/chunks/{command-nkzb5f1v.js → formatter-d34c0f98.js} +8 -8
  149. package/dist/chunks/{command-1wmzbjb1.js → formatter-d49t3rb6.js} +21 -21
  150. package/dist/chunks/{command-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
  151. package/dist/chunks/{command-7wkcwtpg.js → formatter-d58gm13w.js} +15 -15
  152. package/dist/chunks/{command-d7dn0zx2.js → formatter-d66h0vnz.js} +11 -11
  153. package/dist/chunks/{command-3zfajawq.js → formatter-dchba5z5.js} +21 -21
  154. package/dist/chunks/{command-evjv4h7n.js → formatter-dft9bp6v.js} +16 -16
  155. package/dist/chunks/{command-vhjhcx68.js → formatter-dgjqzpns.js} +5 -5
  156. package/dist/chunks/{command-1byp4d39.js → formatter-dj4g1h0v.js} +23 -23
  157. package/dist/chunks/{command-dt77769w.js → formatter-dt77769w.js} +1 -1
  158. package/dist/chunks/{command-ywwk2jyx.js → formatter-dxvykrw7.js} +10 -10
  159. package/dist/chunks/{command-05qmkqxc.js → formatter-e3jrxgpp.js} +20 -20
  160. package/dist/chunks/{command-a84t9kh6.js → formatter-e5rky726.js} +26 -26
  161. package/dist/chunks/{command-n1r126yv.js → formatter-e6rgf6z7.js} +23 -23
  162. package/dist/chunks/{command-k62xrt9q.js → formatter-ebhg4tc3.js} +86 -86
  163. package/dist/chunks/{command-p7xq7ysq.js → formatter-ee62m3wg.js} +17 -17
  164. package/dist/chunks/{command-5ej7n8k1.js → formatter-eeytvfr7.js} +2 -2
  165. package/dist/chunks/{command-7hyftc6b.js → formatter-ejv3gkck.js} +4 -4
  166. package/dist/chunks/{command-tg1vr1qt.js → formatter-enkpkfwx.js} +8 -8
  167. package/dist/chunks/{command-qk5sk9d1.js → formatter-ep6pe98a.js} +5 -5
  168. package/dist/chunks/{command-eqw4pqj1.js → formatter-eqw4pqj1.js} +2 -2
  169. package/dist/chunks/{command-amjjh717.js → formatter-f2zjpyt5.js} +5 -5
  170. package/dist/chunks/{command-0k0e3yqn.js → formatter-f3ptgqzf.js} +8 -8
  171. package/dist/chunks/{command-w75qynz4.js → formatter-f80thpwy.js} +6 -6
  172. package/dist/chunks/{command-6zxqzzmm.js → formatter-f9tc5me5.js} +6 -6
  173. package/dist/chunks/{command-n9tv4x9v.js → formatter-fck1fraj.js} +8 -8
  174. package/dist/chunks/{command-fg9p65nk.js → formatter-fg9p65nk.js} +2 -2
  175. package/dist/chunks/{command-9ahpzkmc.js → formatter-fhwbhm4t.js} +4 -4
  176. package/dist/chunks/{command-b9qgv8m5.js → formatter-fj2fxy38.js} +8 -8
  177. package/dist/chunks/{command-mnj5jjmx.js → formatter-fjfab1hg.js} +13 -13
  178. package/dist/chunks/{command-fnrhryqq.js → formatter-fnrhryqq.js} +1 -1
  179. package/dist/chunks/{command-32kdnsac.js → formatter-fnyetkmc.js} +7 -7
  180. package/dist/chunks/{command-z8mdwd44.js → formatter-fpzzg31c.js} +10 -10
  181. package/dist/chunks/{command-fh8am5dj.js → formatter-fs0w54hj.js} +11 -11
  182. package/dist/chunks/{command-69b8verm.js → formatter-ftbc3n7f.js} +25 -25
  183. package/dist/chunks/{command-g5bf500w.js → formatter-ftmc7284.js} +4 -4
  184. package/dist/chunks/{command-4z0vtj0c.js → formatter-fwh96pc6.js} +43 -43
  185. package/dist/chunks/{command-e9actfxe.js → formatter-fyef4kah.js} +17 -17
  186. package/dist/chunks/{command-k9ev0kgm.js → formatter-g1b5nzek.js} +5 -5
  187. package/dist/chunks/{command-fmbhv8wq.js → formatter-g25zmjdc.js} +11 -11
  188. package/dist/chunks/{command-b26ddj6h.js → formatter-g4txs7zc.js} +4 -4
  189. package/dist/chunks/{command-3kcm45zc.js → formatter-g88qm316.js} +10 -10
  190. package/dist/chunks/{command-gbjdnr5j.js → formatter-gbjdnr5j.js} +2 -2
  191. package/dist/chunks/{command-ghrv1g9c.js → formatter-ghrv1g9c.js} +1 -1
  192. package/dist/chunks/{command-wdn6va0d.js → formatter-gs70f3rg.js} +6 -6
  193. package/dist/chunks/{command-2vqjzyt6.js → formatter-gwh4e7sy.js} +23 -23
  194. package/dist/chunks/{command-gxnp7ekr.js → formatter-gz50ktfn.js} +14 -14
  195. package/dist/chunks/{command-j76kcwy4.js → formatter-h1hvzfh9.js} +30 -29
  196. package/dist/chunks/{command-pxszmvbt.js → formatter-h9cw37xw.js} +13 -13
  197. package/dist/chunks/{command-gam3p8fy.js → formatter-h9rpx784.js} +29 -29
  198. package/dist/chunks/{command-8k2mn50d.js → formatter-haksh1nm.js} +12 -12
  199. package/dist/chunks/{command-hgzwgvze.js → formatter-hgzwgvze.js} +2 -2
  200. package/dist/chunks/{command-hj0xet7m.js → formatter-hj0xet7m.js} +2 -2
  201. package/dist/chunks/{command-561wfhxt.js → formatter-hsqbp4e3.js} +21 -21
  202. package/dist/chunks/{command-9cbnrx2n.js → formatter-hvvf9qw8.js} +6 -6
  203. package/dist/chunks/{command-6g985hjc.js → formatter-hw7r6q9t.js} +17 -17
  204. package/dist/chunks/{command-tr8x705m.js → formatter-j376ae4e.js} +5 -5
  205. package/dist/chunks/{command-9ajzb2kh.js → formatter-j6q8d4x2.js} +8 -8
  206. package/dist/chunks/{command-rj7j5fvs.js → formatter-jbca85dn.js} +4 -4
  207. package/dist/chunks/{command-nrvnrvd9.js → formatter-jbgt7846.js} +9 -9
  208. package/dist/chunks/{command-nc5gqs0z.js → formatter-jj1w0njq.js} +8 -8
  209. package/dist/chunks/{command-fhgvdm1j.js → formatter-jjp0376k.js} +44 -44
  210. package/dist/chunks/{command-jm70asfg.js → formatter-jm70asfg.js} +1 -1
  211. package/dist/chunks/{command-v4gq67p5.js → formatter-jxaybbka.js} +5 -5
  212. package/dist/chunks/{command-44pmzq9c.js → formatter-jxd6f16v.js} +2 -2
  213. package/dist/chunks/{command-61dc3kjz.js → formatter-k0e8skg7.js} +27 -27
  214. package/dist/chunks/{command-4kmavamd.js → formatter-k15h447b.js} +28 -28
  215. package/dist/chunks/{command-29xnk67d.js → formatter-kfjk2j2t.js} +15 -15
  216. package/dist/chunks/{command-88n83f38.js → formatter-kjpcdd93.js} +6 -6
  217. package/dist/chunks/{command-kw06wevc.js → formatter-kmnfk4kb.js} +3 -3
  218. package/dist/chunks/{command-8ar0836h.js → formatter-knp4g8v8.js} +11 -11
  219. package/dist/chunks/{command-s0z62q3x.js → formatter-kph8mjwn.js} +11 -11
  220. package/dist/chunks/{command-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
  221. package/dist/chunks/{command-zxd2y8y4.js → formatter-kw0j7zdf.js} +3 -3
  222. package/dist/chunks/{command-psy9mywm.js → formatter-kw4np9ag.js} +2 -2
  223. package/dist/chunks/{command-qe6954ph.js → formatter-kxfy12sm.js} +20 -20
  224. package/dist/chunks/{command-b15xysde.js → formatter-kybpnnhk.js} +15 -15
  225. package/dist/chunks/{command-kzczzf4v.js → formatter-kzczzf4v.js} +1 -1
  226. package/dist/chunks/{command-m1714858.js → formatter-m1714858.js} +1 -1
  227. package/dist/chunks/{command-m90tx7mw.js → formatter-m90tx7mw.js} +1 -1
  228. package/dist/chunks/{command-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  229. package/dist/chunks/{command-mb7mbhnz.js → formatter-mb7mbhnz.js} +3 -3
  230. package/dist/chunks/{command-chgkwb0j.js → formatter-mfcckmmr.js} +14 -14
  231. package/dist/chunks/{command-mwnxvxbk.js → formatter-mwnxvxbk.js} +1 -1
  232. package/dist/chunks/{command-7gqnzgav.js → formatter-n1jv3hnp.js} +19 -19
  233. package/dist/chunks/{command-03vgrdy6.js → formatter-n4b81h20.js} +4 -4
  234. package/dist/chunks/{command-6fp9hgrk.js → formatter-n61xnajd.js} +3 -3
  235. package/dist/chunks/{command-1kresdfv.js → formatter-n6nqkh8e.js} +33 -33
  236. package/dist/chunks/{command-avrmj142.js → formatter-n6y2yx69.js} +15 -15
  237. package/dist/chunks/{command-bhfd478d.js → formatter-njx9gg5k.js} +4 -4
  238. package/dist/chunks/{command-gzkxc65a.js → formatter-nsza2hwd.js} +13 -13
  239. package/dist/chunks/formatter-nyxvepra.js +35 -0
  240. package/dist/chunks/{command-66jzz31a.js → formatter-p1qy27ja.js} +55 -55
  241. package/dist/chunks/{command-ed2rhd70.js → formatter-p2vw66gn.js} +13 -13
  242. package/dist/chunks/{command-mrc8gdh0.js → formatter-p4s9564z.js} +31 -31
  243. package/dist/chunks/{command-72n513kv.js → formatter-p9dwe2ys.js} +6 -6
  244. package/dist/chunks/{command-a84cszaf.js → formatter-pde3h8sb.js} +34 -34
  245. package/dist/chunks/{command-x4pvyz3p.js → formatter-pevw1m5g.js} +14 -14
  246. package/dist/chunks/{command-j7hqze2t.js → formatter-pfc82750.js} +10 -10
  247. package/dist/chunks/{command-jb4gpq25.js → formatter-phkzaw91.js} +6 -6
  248. package/dist/chunks/{command-pknna89w.js → formatter-pknna89w.js} +1 -1
  249. package/dist/chunks/{command-8xd8xvh0.js → formatter-pn8p7g5s.js} +30 -30
  250. package/dist/chunks/{command-h83e0t1m.js → formatter-ppk2ta81.js} +50 -50
  251. package/dist/chunks/{command-s349q7p5.js → formatter-ppvn17ey.js} +9 -9
  252. package/dist/chunks/{command-gs317ewe.js → formatter-pt2ev3mw.js} +10 -10
  253. package/dist/chunks/{command-7a35fjb6.js → formatter-pxfvz1hx.js} +8 -8
  254. package/dist/chunks/{command-rjdz0je4.js → formatter-pz2ne4az.js} +15 -15
  255. package/dist/chunks/{command-grmaj3s8.js → formatter-q08apbdq.js} +16 -16
  256. package/dist/chunks/{command-4e22apbf.js → formatter-q929d8mh.js} +6 -6
  257. package/dist/chunks/{command-pdn7768w.js → formatter-q963thn8.js} +4 -4
  258. package/dist/chunks/{command-gx70bdw1.js → formatter-qbqg5kvw.js} +22 -22
  259. package/dist/chunks/{command-8esf06c6.js → formatter-qfdvj3xm.js} +11 -11
  260. package/dist/chunks/{command-qq8nxmq8.js → formatter-qkn1vdbd.js} +5 -5
  261. package/dist/chunks/{command-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
  262. package/dist/chunks/{command-3nxcgjv6.js → formatter-qrjwc0ab.js} +30 -30
  263. package/dist/chunks/{command-qy94z0q3.js → formatter-qy94z0q3.js} +3 -3
  264. package/dist/chunks/{command-3em2z4he.js → formatter-qycm87ym.js} +5 -5
  265. package/dist/chunks/{command-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
  266. package/dist/chunks/{command-55bcys5k.js → formatter-rbvnf4ks.js} +23 -23
  267. package/dist/chunks/{command-c65w1jkd.js → formatter-re955109.js} +7 -7
  268. package/dist/chunks/{command-rgc9cx3e.js → formatter-rgc9cx3e.js} +2 -2
  269. package/dist/chunks/formatter-rnatn0se.js +273 -0
  270. package/dist/chunks/{command-br85n61x.js → formatter-rp6t20zc.js} +9 -9
  271. package/dist/chunks/{command-prnegb22.js → formatter-rvy75j9f.js} +8 -8
  272. package/dist/chunks/{command-99x81fn2.js → formatter-rwt90xdw.js} +17 -22
  273. package/dist/chunks/{command-mcabtfgp.js → formatter-rxptv60e.js} +5 -5
  274. package/dist/chunks/{command-90ct6wq4.js → formatter-rzg6y5rp.js} +4 -4
  275. package/dist/chunks/{command-2p60zmnr.js → formatter-s1ba0vj0.js} +2 -2
  276. package/dist/chunks/{command-38hffzgp.js → formatter-s31xv9rs.js} +40 -40
  277. package/dist/chunks/{command-wfpw9855.js → formatter-s5m9z68j.js} +25 -25
  278. package/dist/chunks/{command-jz1q4zsd.js → formatter-s9mjx3f0.js} +21 -21
  279. package/dist/chunks/{command-1p4vhnrh.js → formatter-saqprc7x.js} +5 -5
  280. package/dist/chunks/{command-sbya78hr.js → formatter-sbya78hr.js} +1 -1
  281. package/dist/chunks/{command-491c9q92.js → formatter-smwgzt6b.js} +4 -4
  282. package/dist/chunks/{command-v12yjajt.js → formatter-ssjd5cby.js} +13 -13
  283. package/dist/chunks/{command-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
  284. package/dist/chunks/{command-gx76kxxn.js → formatter-swaacjqy.js} +11 -11
  285. package/dist/chunks/{command-scmk72rv.js → formatter-t8erkws8.js} +5 -5
  286. package/dist/chunks/{command-hdsvjrkq.js → formatter-tay08eyj.js} +12 -12
  287. package/dist/chunks/{command-tbpn7jtk.js → formatter-tbpn7jtk.js} +1 -1
  288. package/dist/chunks/{command-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
  289. package/dist/chunks/{command-j63q17en.js → formatter-te4ym9cz.js} +41 -41
  290. package/dist/chunks/{command-tg7s7b5t.js → formatter-tg7s7b5t.js} +1 -1
  291. package/dist/chunks/{command-29avq3cp.js → formatter-tmxr2s7a.js} +8 -8
  292. package/dist/chunks/{command-g6cytcga.js → formatter-tpjmrfc6.js} +16 -16
  293. package/dist/chunks/{command-q5db7jz2.js → formatter-tsm0w78m.js} +11 -11
  294. package/dist/chunks/{command-tvtps2q9.js → formatter-tvtps2q9.js} +1 -1
  295. package/dist/chunks/{command-twssxy5n.js → formatter-twssxy5n.js} +2 -2
  296. package/dist/chunks/{command-ntyam5cy.js → formatter-v02hya04.js} +26 -26
  297. package/dist/chunks/{command-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
  298. package/dist/chunks/{command-88vr49vm.js → formatter-v37bc009.js} +3 -3
  299. package/dist/chunks/{command-wbwc7xrx.js → formatter-v3c2n8v6.js} +25 -25
  300. package/dist/chunks/{command-dfz60nj9.js → formatter-v62q6mjx.js} +18 -18
  301. package/dist/chunks/{command-p1ea0emk.js → formatter-v840bdta.js} +6 -6
  302. package/dist/chunks/{command-2m935wwe.js → formatter-vfrym1mm.js} +36 -36
  303. package/dist/chunks/{command-b1bejxds.js → formatter-vg2ks647.js} +13 -13
  304. package/dist/chunks/{command-z4z67x7v.js → formatter-vh2m3kqm.js} +36 -36
  305. package/dist/chunks/{command-5c8k4hxw.js → formatter-vhe13esa.js} +30 -30
  306. package/dist/chunks/{command-vjf35v1f.js → formatter-vjf35v1f.js} +1 -1
  307. package/dist/chunks/{command-maqcfgk7.js → formatter-vm5ant4y.js} +19 -19
  308. package/dist/chunks/{command-xn4a5x1q.js → formatter-vpa8zgt8.js} +31 -31
  309. package/dist/chunks/{command-4dwjnmct.js → formatter-vsb4jc51.js} +11 -11
  310. package/dist/chunks/{command-x7de2wha.js → formatter-vt4r9rmy.js} +9 -9
  311. package/dist/chunks/{command-hs4st8jg.js → formatter-vwjkfnk2.js} +5 -5
  312. package/dist/chunks/{command-w2eysc6j.js → formatter-w2eysc6j.js} +2 -2
  313. package/dist/chunks/{command-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  314. package/dist/chunks/{command-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
  315. package/dist/chunks/{command-wd87259q.js → formatter-wd87259q.js} +1 -1
  316. package/dist/chunks/{command-wegkxhrn.js → formatter-wegkxhrn.js} +2 -2
  317. package/dist/chunks/{command-n2ah2rkn.js → formatter-wp9rabm0.js} +13 -13
  318. package/dist/chunks/{command-w687dnns.js → formatter-wr3re1en.js} +4 -4
  319. package/dist/chunks/{command-wf5xbgyh.js → formatter-wx6nv8fq.js} +7 -7
  320. package/dist/chunks/{command-vntcsxyj.js → formatter-x061st40.js} +10 -10
  321. package/dist/chunks/{command-jgvrj005.js → formatter-x1rh6vcx.js} +5 -5
  322. package/dist/chunks/{command-jb6z6a30.js → formatter-x2w3vhab.js} +10 -10
  323. package/dist/chunks/{command-4gatbntd.js → formatter-xd7ffwxg.js} +12 -12
  324. package/dist/chunks/{command-x713kxbr.js → formatter-xe53826y.js} +13 -13
  325. package/dist/chunks/{command-4xzzce0f.js → formatter-xpr07rag.js} +29 -29
  326. package/dist/chunks/{command-xxschbft.js → formatter-xxschbft.js} +1 -1
  327. package/dist/chunks/{command-2z6qaazc.js → formatter-xy9mx054.js} +44 -44
  328. package/dist/chunks/{command-mb36n99k.js → formatter-xyc15gmq.js} +49 -49
  329. package/dist/chunks/{command-kmekj7m2.js → formatter-xz07m27x.js} +4 -4
  330. package/dist/chunks/{command-9zc2sd1y.js → formatter-ya6jhd7d.js} +26 -26
  331. package/dist/chunks/{command-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{command-akvkwv3r.js → formatter-ymhcxh1d.js} +93 -93
  333. package/dist/chunks/{command-yr705xyq.js → formatter-yr705xyq.js} +1 -1
  334. package/dist/chunks/{command-yvtc2x31.js → formatter-yvtc2x31.js} +1 -1
  335. package/dist/chunks/{command-z0wbgq7s.js → formatter-z0wbgq7s.js} +1 -1
  336. package/dist/chunks/formatter-z7bdqmx5.js +18 -0
  337. package/dist/chunks/{command-jvc6ajf5.js → formatter-z8adrwbe.js} +4 -4
  338. package/dist/chunks/{command-vspq6nrc.js → formatter-zb0mnwnv.js} +83 -83
  339. package/dist/chunks/{command-gab8rwnv.js → formatter-zbj23qj9.js} +11 -11
  340. package/dist/chunks/{command-j9nxzz3g.js → formatter-ze75qvmd.js} +3 -3
  341. package/dist/chunks/{command-wsqqgvdy.js → formatter-zhh3ssa0.js} +7 -7
  342. package/dist/chunks/{command-s2rmzza2.js → formatter-zjks91hc.js} +24 -24
  343. package/dist/chunks/{command-epnvf3pb.js → formatter-zpkeqzrx.js} +20 -20
  344. package/dist/chunks/{command-7y2jw3ee.js → formatter-zpw8n7tm.js} +12 -12
  345. package/dist/chunks/{command-jd3pkr7r.js → formatter-zqp0bxw0.js} +16 -16
  346. package/dist/chunks/{command-d44wfkmg.js → formatter-zqzpkhyt.js} +15 -15
  347. package/dist/chunks/{command-s9kd1pfb.js → formatter-zr79126c.js} +32 -32
  348. package/dist/chunks/{command-ee2b5eh8.js → formatter-ztbesdks.js} +198 -198
  349. package/dist/chunks/{command-fyfcjg2j.js → formatter-ztwsqh7x.js} +9 -9
  350. package/dist/chunks/{command-angwvatz.js → formatter-zv324z0d.js} +8 -8
  351. package/dist/chunks/{command-0ht5pcpg.js → formatter-zwmrnfgc.js} +22 -22
  352. package/dist/chunks/{command-963hk181.js → formatter-zyfhsknv.js} +9 -9
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +3 -3
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +10 -10
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +96 -96
  359. package/dist/config/discovery.js +95 -95
  360. package/dist/config/integration.js +3 -3
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +132 -132
  365. package/dist/config/plugin/command.js +247 -247
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +131 -131
  373. package/dist/config/plugin/mcp.js +146 -146
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +131 -131
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +156 -156
  381. package/dist/config/plugin/snapshot.js +129 -129
  382. package/dist/config/plugin/source.js +133 -133
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +130 -130
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +136 -136
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +94 -94
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  395. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +15 -15
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +16 -16
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +105 -105
  475. package/dist/effect/app-node-builder.js +450 -450
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/client-tls/client-tls.bun.js +1 -1
  478. package/dist/effect/client-tls/client-tls.node.js +1 -1
  479. package/dist/effect/client-tls/client-tls.workerd.js +1 -1
  480. package/dist/effect/keyed-mutex.js +3 -3
  481. package/dist/effect/websocket-constructor.js +1 -1
  482. package/dist/environment/driver.js +1 -1
  483. package/dist/environment/environment.js +105 -105
  484. package/dist/environment/exec-defaults.js +2 -2
  485. package/dist/environment/files.js +1 -1
  486. package/dist/environment/index.js +107 -107
  487. package/dist/environment/local.js +2 -2
  488. package/dist/environment/memory.js +2 -2
  489. package/dist/environment/unavailable.js +3 -3
  490. package/dist/event/sql.js +1 -1
  491. package/dist/event-logger.js +81 -81
  492. package/dist/file-access.js +162 -162
  493. package/dist/file-mutation.js +108 -108
  494. package/dist/file-retention.js +1 -1
  495. package/dist/file-write.js +166 -166
  496. package/dist/filesystem/fff.bun.js +2 -2
  497. package/dist/filesystem/fff.js +1 -1
  498. package/dist/filesystem/fff.node.js +2 -2
  499. package/dist/filesystem/fff.workerd.js +2 -2
  500. package/dist/filesystem/file-watch.js +88 -88
  501. package/dist/filesystem/location-watcher-policy.js +6 -6
  502. package/dist/filesystem/location-watcher.js +260 -260
  503. package/dist/filesystem/protected.js +1 -1
  504. package/dist/filesystem/search.js +111 -111
  505. package/dist/filesystem/watcher-binding.js +1 -1
  506. package/dist/filesystem/watcher.js +11 -11
  507. package/dist/filesystem.js +114 -114
  508. package/dist/flag.js +132 -132
  509. package/dist/form.js +93 -93
  510. package/dist/formatter/builtins.js +4 -4
  511. package/dist/formatter.js +100 -100
  512. package/dist/generate.js +115 -115
  513. package/dist/git.js +7 -7
  514. package/dist/github-copilot/models.js +105 -105
  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 +441 -441
  522. package/dist/instruction-discovery.js +96 -96
  523. package/dist/instructions/builtins.js +101 -101
  524. package/dist/instructions/index.js +4 -4
  525. package/dist/integration/connection.js +3 -3
  526. package/dist/integration.js +102 -102
  527. package/dist/job/list.js +5 -5
  528. package/dist/job/recovery.js +2 -2
  529. package/dist/job/sql.js +2 -2
  530. package/dist/job.js +88 -88
  531. package/dist/kv/sql.js +2 -2
  532. package/dist/kv.js +84 -84
  533. package/dist/location-activity.js +187 -187
  534. package/dist/location-lifecycle.js +155 -155
  535. package/dist/location-service-map.js +99 -99
  536. package/dist/location-services.js +438 -438
  537. package/dist/location.js +102 -102
  538. package/dist/managed-policy.js +3 -3
  539. package/dist/mcp/client.js +161 -161
  540. package/dist/mcp/connection.js +106 -106
  541. package/dist/mcp/event-errors.js +1 -1
  542. package/dist/mcp/index.js +153 -153
  543. package/dist/mcp/instructions.js +192 -192
  544. package/dist/mcp/oauth.js +90 -90
  545. package/dist/mcp/pool.js +112 -112
  546. package/dist/mcp/socket-client.js +1 -1
  547. package/dist/mcp/stdio.js +161 -161
  548. package/dist/mime.js +1 -1
  549. package/dist/modal/models.js +105 -105
  550. package/dist/model-resolver.js +111 -111
  551. package/dist/model-retry.js +1 -1
  552. package/dist/model.js +114 -114
  553. package/dist/models-dev/v1.js +1 -1
  554. package/dist/models-dev.js +122 -122
  555. package/dist/oauth/page.js +1 -1
  556. package/dist/oauth/redirect.js +1 -1
  557. package/dist/permission/saved.js +93 -93
  558. package/dist/permission/sql.js +5 -5
  559. package/dist/permission.js +158 -158
  560. package/dist/persistent-pty/binary.bun.js +1 -1
  561. package/dist/persistent-pty/daemon.js +1 -1
  562. package/dist/persistent-pty/index.js +101 -101
  563. package/dist/persistent-pty/pty-binding.js +1 -1
  564. package/dist/persistent-pty.js +86 -86
  565. package/dist/plugin/agent.js +85 -85
  566. package/dist/plugin/command.js +146 -146
  567. package/dist/plugin/fork-notice.js +3 -3
  568. package/dist/plugin/goal.js +3 -3
  569. package/dist/plugin/hooks.js +5 -5
  570. package/dist/plugin/host.js +251 -251
  571. package/dist/plugin/identity.js +5 -5
  572. package/dist/plugin/instance.js +5 -5
  573. package/dist/plugin/internal.js +418 -418
  574. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  575. package/dist/plugin/models-dev.js +111 -111
  576. package/dist/plugin/module.js +130 -130
  577. package/dist/plugin/optimize.js +2 -2
  578. package/dist/plugin/plan.js +151 -151
  579. package/dist/plugin/promise.js +1 -1
  580. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  581. package/dist/plugin/provider/azure.js +134 -134
  582. package/dist/plugin/provider/cerebras.js +1 -1
  583. package/dist/plugin/provider/chatgpt.js +135 -135
  584. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  585. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  588. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  590. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  591. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  592. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  593. package/dist/plugin/provider/claude-agent/index.js +149 -149
  594. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  595. package/dist/plugin/provider/claude-agent/integration.js +114 -114
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  597. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  598. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  599. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  601. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  602. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  603. package/dist/plugin/provider/claude-agent/provider.js +109 -109
  604. package/dist/plugin/provider/claude-agent/session.js +113 -113
  605. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  606. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  608. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  609. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  612. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  615. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  616. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  617. package/dist/plugin/provider/configured.js +127 -127
  618. package/dist/plugin/provider/credential-settings.js +88 -88
  619. package/dist/plugin/provider/databricks.js +1 -1
  620. package/dist/plugin/provider/digitalocean.js +110 -110
  621. package/dist/plugin/provider/dynamic.js +2 -2
  622. package/dist/plugin/provider/github-copilot.js +112 -112
  623. package/dist/plugin/provider/gitlab.js +111 -111
  624. package/dist/plugin/provider/google-vertex.js +128 -128
  625. package/dist/plugin/provider/kilo.js +1 -1
  626. package/dist/plugin/provider/llmgateway.js +89 -89
  627. package/dist/plugin/provider/lmstudio.js +144 -144
  628. package/dist/plugin/provider/local.js +141 -141
  629. package/dist/plugin/provider/modal.js +109 -109
  630. package/dist/plugin/provider/neon.js +1 -1
  631. package/dist/plugin/provider/nvidia.js +1 -1
  632. package/dist/plugin/provider/ollama.js +144 -144
  633. package/dist/plugin/provider/openai-context-caps.js +107 -107
  634. package/dist/plugin/provider/openai.js +135 -135
  635. package/dist/plugin/provider/opencode-watches.js +4 -4
  636. package/dist/plugin/provider/opencode.js +163 -163
  637. package/dist/plugin/provider/openrouter.js +105 -105
  638. package/dist/plugin/provider/poe.js +91 -91
  639. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  640. package/dist/plugin/provider/refresh.js +89 -89
  641. package/dist/plugin/provider/sap-ai-core.js +105 -105
  642. package/dist/plugin/provider/sdk-factory.js +1 -1
  643. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  644. package/dist/plugin/provider/vllm.js +144 -144
  645. package/dist/plugin/provider/xai.js +105 -105
  646. package/dist/plugin/provider/zenmux.js +1 -1
  647. package/dist/plugin/provider.js +242 -242
  648. package/dist/plugin/sdk.js +89 -89
  649. package/dist/plugin/service.js +3 -3
  650. package/dist/plugin/skill.js +152 -152
  651. package/dist/plugin/source-directory.js +1 -1
  652. package/dist/plugin/supervisor.js +430 -430
  653. package/dist/plugin/tool-input-repair.js +4 -4
  654. package/dist/plugin/update.js +6 -6
  655. package/dist/plugin/vcs/git.js +99 -99
  656. package/dist/plugin/vcs/hg.js +99 -99
  657. package/dist/plugin/verbosity.js +107 -107
  658. package/dist/plugin/warming.js +131 -131
  659. package/dist/plugin/websearch/exa.js +4 -4
  660. package/dist/plugin/websearch/firecrawl.js +9 -9
  661. package/dist/plugin/websearch/index.js +10 -10
  662. package/dist/plugin/websearch/mcp.js +2 -2
  663. package/dist/plugin/websearch/parallel.js +9 -9
  664. package/dist/plugin/websearch/provider.js +1 -1
  665. package/dist/plugin/websearch/tavily.js +7 -7
  666. package/dist/plugin/websearch/tinyfish.js +9 -9
  667. package/dist/plugin.js +260 -260
  668. package/dist/project/icon.js +5 -5
  669. package/dist/project/schema.js +8 -8
  670. package/dist/project/sql.js +4 -4
  671. package/dist/project.js +103 -103
  672. package/dist/provider.js +113 -113
  673. package/dist/pty/protocol.js +1 -1
  674. package/dist/pty/ticket.js +1 -1
  675. package/dist/pty.js +111 -111
  676. package/dist/reference/instructions.js +100 -100
  677. package/dist/reference.js +103 -103
  678. package/dist/repository-cache.js +93 -93
  679. package/dist/repository.js +1 -1
  680. package/dist/ripgrep/binary.js +2 -2
  681. package/dist/ripgrep.js +109 -109
  682. package/dist/rpc.js +97 -97
  683. package/dist/schedule/check.js +256 -256
  684. package/dist/schedule/sql.js +6 -6
  685. package/dist/schedule.js +264 -264
  686. package/dist/schema.js +1 -1
  687. package/dist/session/affinity.js +1 -1
  688. package/dist/session/background.js +3 -3
  689. package/dist/session/blob.js +133 -133
  690. package/dist/session/command.js +85 -85
  691. package/dist/session/compaction.js +175 -175
  692. package/dist/session/context.js +208 -208
  693. package/dist/session/diff.js +101 -101
  694. package/dist/session/environment.js +5 -5
  695. package/dist/session/error.js +5 -5
  696. package/dist/session/event.js +1 -1
  697. package/dist/session/execution/restart.js +272 -272
  698. package/dist/session/execution/subagent-report.js +145 -145
  699. package/dist/session/execution.js +170 -170
  700. package/dist/session/generate.js +208 -208
  701. package/dist/session/history.js +141 -141
  702. package/dist/session/inbox.js +148 -148
  703. package/dist/session/info.js +3 -3
  704. package/dist/session/instruction-entry.js +91 -91
  705. package/dist/session/instruction-state.js +9 -9
  706. package/dist/session/instructions.js +148 -148
  707. package/dist/session/message-updater.js +2 -2
  708. package/dist/session/message.js +1 -1
  709. package/dist/session/model-request.js +173 -173
  710. package/dist/session/model-transport.js +9 -9
  711. package/dist/session/move.js +176 -176
  712. package/dist/session/projector.js +148 -148
  713. package/dist/session/prompt.js +153 -153
  714. package/dist/session/recent-text.js +1 -1
  715. package/dist/session/revert.js +144 -144
  716. package/dist/session/run-coordinator.js +1 -1
  717. package/dist/session/runner/index.js +3 -3
  718. package/dist/session/runner/llm.js +263 -263
  719. package/dist/session/runner/max-steps.js +1 -1
  720. package/dist/session/runner/model.js +115 -115
  721. package/dist/session/runner/publish-llm-event.js +155 -155
  722. package/dist/session/runner/retry.js +5 -5
  723. package/dist/session/runner/step.js +168 -168
  724. package/dist/session/runner/to-llm-message.js +142 -142
  725. package/dist/session/schema.js +5 -5
  726. package/dist/session/session.js +194 -194
  727. package/dist/session/shell.js +149 -149
  728. package/dist/session/skill.js +152 -152
  729. package/dist/session/sql.js +5 -5
  730. package/dist/session/stats.js +85 -85
  731. package/dist/session/store.js +147 -147
  732. package/dist/session/stored.js +2 -2
  733. package/dist/session/subagent-completion.js +1 -1
  734. package/dist/session/subagent-job.js +175 -175
  735. package/dist/session/system-prompt.js +5 -5
  736. package/dist/session/title.js +212 -212
  737. package/dist/session/to-session-error.js +154 -154
  738. package/dist/session/transfer.js +257 -257
  739. package/dist/session/usage.js +1 -1
  740. package/dist/session.js +251 -251
  741. package/dist/shared-cache.js +5 -5
  742. package/dist/shell/parse.js +6 -6
  743. package/dist/shell/result.js +1 -1
  744. package/dist/shell/scan.js +1 -1
  745. package/dist/shell/select.js +13 -13
  746. package/dist/shell.js +151 -151
  747. package/dist/skill/discovery.js +6 -6
  748. package/dist/skill/instructions.js +156 -156
  749. package/dist/skill.js +163 -163
  750. package/dist/snapshot.js +104 -104
  751. package/dist/state.js +1 -1
  752. package/dist/tool/html-markdown.js +1 -1
  753. package/dist/tool/http-body.js +1 -1
  754. package/dist/tool/mcp.js +191 -191
  755. package/dist/tool/plugin/artifact.js +246 -246
  756. package/dist/tool/plugin/edit.js +172 -172
  757. package/dist/tool/plugin/file-diff.js +1 -1
  758. package/dist/tool/plugin/glob.js +174 -174
  759. package/dist/tool/plugin/grep.js +175 -175
  760. package/dist/tool/plugin/image-generate.js +257 -257
  761. package/dist/tool/plugin/mcp-events.js +168 -168
  762. package/dist/tool/plugin/mcp-resource.js +172 -172
  763. package/dist/tool/plugin/opencode.js +168 -168
  764. package/dist/tool/plugin/patch.js +165 -165
  765. package/dist/tool/plugin/question.js +151 -151
  766. package/dist/tool/plugin/read.js +177 -177
  767. package/dist/tool/plugin/schedule.js +262 -262
  768. package/dist/tool/plugin/shell.js +247 -247
  769. package/dist/tool/plugin/skill.js +160 -160
  770. package/dist/tool/plugin/subagent.js +253 -253
  771. package/dist/tool/plugin/todo.js +158 -158
  772. package/dist/tool/plugin/webfetch.js +160 -160
  773. package/dist/tool/plugin/websearch.js +154 -154
  774. package/dist/tool/plugin/write.js +169 -169
  775. package/dist/tool/read-filesystem.js +114 -114
  776. package/dist/tool/runtime.js +1 -1
  777. package/dist/tool/search.js +109 -109
  778. package/dist/tool-output.js +7 -7
  779. package/dist/tool.js +165 -165
  780. package/dist/usage-limits.js +100 -100
  781. package/dist/util/canonical-json.js +1 -1
  782. package/dist/util/error-summary.js +1 -1
  783. package/dist/util/git-executable.js +3 -3
  784. package/dist/util/lazy.js +1 -1
  785. package/dist/util/slug.js +1 -1
  786. package/dist/util/token.js +1 -1
  787. package/dist/util/which.js +1 -1
  788. package/dist/util/wildcard.js +1 -1
  789. package/dist/v1/config/agent.js +7 -7
  790. package/dist/v1/config/command.js +5 -5
  791. package/dist/v1/config/mcp.js +4 -4
  792. package/dist/v1/config/migrate.js +106 -106
  793. package/dist/v1/config/permission.js +3 -3
  794. package/dist/v1/config/plugin.js +3 -3
  795. package/dist/v1/config/provider-options.js +1 -1
  796. package/dist/v1/config/provider.js +2 -2
  797. package/dist/variant.js +107 -107
  798. package/dist/vcs/patch.js +1 -1
  799. package/dist/vcs.js +102 -102
  800. package/dist/voice.js +97 -97
  801. package/dist/websearch.js +95 -95
  802. package/dist/wellknown/plugin.js +87 -87
  803. package/dist/wellknown.js +90 -90
  804. package/dist/workspace/driver.js +7 -7
  805. package/dist/workspace/sql.js +1 -1
  806. package/dist/workspace.js +93 -93
  807. package/dist/worktree/directory.js +2 -2
  808. package/dist/worktree/git.js +11 -11
  809. package/dist/worktree/sql.js +5 -5
  810. package/dist/worktree/strategies.js +102 -102
  811. package/dist/worktree.js +111 -111
  812. package/package.json +8 -8
  813. package/dist/chunks/command-4spk3jf8.js +0 -273
  814. package/dist/chunks/command-69588b63.js +0 -35
  815. package/dist/chunks/command-ezna1kdx.js +0 -18
  816. package/dist/chunks/command-f2dgq8fn.js +0 -26
  817. /package/dist/chunks/{command-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  818. /package/dist/chunks/{command-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  819. /package/dist/chunks/{command-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  820. /package/dist/chunks/{command-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  821. /package/dist/chunks/{command-1kah00gy.js → formatter-1kah00gy.js} +0 -0
  822. /package/dist/chunks/{command-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  823. /package/dist/chunks/{command-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  824. /package/dist/chunks/{command-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  825. /package/dist/chunks/{command-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  826. /package/dist/chunks/{command-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  827. /package/dist/chunks/{command-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  828. /package/dist/chunks/{command-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  829. /package/dist/chunks/{command-4qk9sjk2.js → formatter-4qk9sjk2.js} +0 -0
  830. /package/dist/chunks/{command-53557ph1.js → formatter-53557ph1.js} +0 -0
  831. /package/dist/chunks/{command-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
  832. /package/dist/chunks/{command-6agm2x70.js → formatter-6agm2x70.js} +0 -0
  833. /package/dist/chunks/{command-6prwharc.js → formatter-6prwharc.js} +0 -0
  834. /package/dist/chunks/{command-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
  835. /package/dist/chunks/{command-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  836. /package/dist/chunks/{command-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  837. /package/dist/chunks/{command-7rvsyqjv.js → formatter-7rvsyqjv.js} +0 -0
  838. /package/dist/chunks/{command-822emrt2.js → formatter-822emrt2.js} +0 -0
  839. /package/dist/chunks/{command-84wd9syh.js → formatter-84wd9syh.js} +0 -0
  840. /package/dist/chunks/{command-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  841. /package/dist/chunks/{command-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  842. /package/dist/chunks/{command-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
  843. /package/dist/chunks/{command-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  844. /package/dist/chunks/{command-9ceax7yg.js → formatter-9ceax7yg.js} +0 -0
  845. /package/dist/chunks/{command-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  846. /package/dist/chunks/{command-ade8csyh.js → formatter-ade8csyh.js} +0 -0
  847. /package/dist/chunks/{command-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  848. /package/dist/chunks/{command-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  849. /package/dist/chunks/{command-beh6qq61.js → formatter-beh6qq61.js} +0 -0
  850. /package/dist/chunks/{command-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  851. /package/dist/chunks/{command-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  852. /package/dist/chunks/{command-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  853. /package/dist/chunks/{command-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
  854. /package/dist/chunks/{command-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  855. /package/dist/chunks/{command-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  856. /package/dist/chunks/{command-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  857. /package/dist/chunks/{command-df08tz66.js → formatter-df08tz66.js} +0 -0
  858. /package/dist/chunks/{command-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  859. /package/dist/chunks/{command-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  860. /package/dist/chunks/{command-ean2d8b5.js → formatter-ean2d8b5.js} +0 -0
  861. /package/dist/chunks/{command-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  862. /package/dist/chunks/{command-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  863. /package/dist/chunks/{command-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  864. /package/dist/chunks/{command-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  865. /package/dist/chunks/{command-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  866. /package/dist/chunks/{command-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  867. /package/dist/chunks/{command-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
  868. /package/dist/chunks/{command-g86h250q.js → formatter-g86h250q.js} +0 -0
  869. /package/dist/chunks/{command-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  870. /package/dist/chunks/{command-gftt206x.js → formatter-gftt206x.js} +0 -0
  871. /package/dist/chunks/{command-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
  872. /package/dist/chunks/{command-hk9envan.js → formatter-hk9envan.js} +0 -0
  873. /package/dist/chunks/{command-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  874. /package/dist/chunks/{command-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  875. /package/dist/chunks/{command-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  876. /package/dist/chunks/{command-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  877. /package/dist/chunks/{command-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
  878. /package/dist/chunks/{command-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  879. /package/dist/chunks/{command-m18g726c.js → formatter-m18g726c.js} +0 -0
  880. /package/dist/chunks/{command-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  881. /package/dist/chunks/{command-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  882. /package/dist/chunks/{command-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  883. /package/dist/chunks/{command-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  884. /package/dist/chunks/{command-nh4v3znn.js → formatter-nh4v3znn.js} +0 -0
  885. /package/dist/chunks/{command-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  886. /package/dist/chunks/{command-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
  887. /package/dist/chunks/{command-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  888. /package/dist/chunks/{command-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  889. /package/dist/chunks/{command-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  890. /package/dist/chunks/{command-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  891. /package/dist/chunks/{command-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  892. /package/dist/chunks/{command-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  893. /package/dist/chunks/{command-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  894. /package/dist/chunks/{command-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  895. /package/dist/chunks/{command-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  896. /package/dist/chunks/{command-syrav9an.js → formatter-syrav9an.js} +0 -0
  897. /package/dist/chunks/{command-t03h4f5z.js → formatter-t03h4f5z.js} +0 -0
  898. /package/dist/chunks/{command-ty7weeps.js → formatter-ty7weeps.js} +0 -0
  899. /package/dist/chunks/{command-v2dnd5dt.js → formatter-v2dnd5dt.js} +0 -0
  900. /package/dist/chunks/{command-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
  901. /package/dist/chunks/{command-vtarvj67.js → formatter-vtarvj67.js} +0 -0
  902. /package/dist/chunks/{command-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  903. /package/dist/chunks/{command-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  904. /package/dist/chunks/{command-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  905. /package/dist/chunks/{command-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  906. /package/dist/chunks/{command-x4th4bpe.js → formatter-x4th4bpe.js} +0 -0
  907. /package/dist/chunks/{command-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  908. /package/dist/chunks/{command-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  909. /package/dist/chunks/{command-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  910. /package/dist/chunks/{command-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
  911. /package/dist/chunks/{command-z9919s4g.js → formatter-z9919s4g.js} +0 -0
  912. /package/dist/chunks/{command-zxpyjp51.js → formatter-zxpyjp51.js} +0 -0
  913. /package/dist/chunks/{command-zz5vv3aq.js → formatter-zz5vv3aq.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service39
3
- } from "./command-9cbnrx2n.js";
2
+ Service40
3
+ } from "./formatter-hvvf9qw8.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./command-ezna1kdx.js";
6
+ } from "./formatter-z7bdqmx5.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./command-6zxqzzmm.js";
9
+ } from "./formatter-f9tc5me5.js";
10
10
  import {
11
- Service55
12
- } from "./command-hyq0mm5d.js";
11
+ Service35
12
+ } from "./formatter-bm49bgmn.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./formatter-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service39;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
25
+ const instances = yield* Service40;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID16
3
- } from "./command-anetphez.js";
2
+ ID17
3
+ } from "./formatter-67s9kfqp.js";
4
4
  import {
5
5
  credentialSettings2,
6
6
  metadataSettings2
7
- } from "./command-72n513kv.js";
7
+ } from "./formatter-p9dwe2ys.js";
8
8
 
9
9
  // src/plugin/provider/amazon-bedrock.ts
10
10
  import { Effect } from "effect";
@@ -39,15 +39,15 @@ var AmazonBedrockPlugin2 = define({
39
39
  })))).filter(Boolean).toSorted();
40
40
  yield* ctx.integration.transform((editor) => {
41
41
  editor.method.update({
42
- integrationID: ID16.amazonBedrock,
42
+ integrationID: ID17.amazonBedrock,
43
43
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID16.amazonBedrock,
46
+ integrationID: ID17.amazonBedrock,
47
47
  method: { type: "key", label: "Bedrock API key" }
48
48
  });
49
49
  editor.method.update({
50
- integrationID: ID16.amazonBedrock,
50
+ integrationID: ID17.amazonBedrock,
51
51
  method: {
52
52
  id: "aws-profile",
53
53
  type: "external",
@@ -69,7 +69,7 @@ var AmazonBedrockPlugin2 = define({
69
69
  }
70
70
  });
71
71
  });
72
- const login = yield* credentialSettings2(ctx, ID16.amazonBedrock, (value) => value.type === "external" && value.methodID === "aws-profile" ? metadataSettings2(value.metadata, ["profile"]) : {});
72
+ const login = yield* credentialSettings2(ctx, ID17.amazonBedrock, (value) => value.type === "external" && value.methodID === "aws-profile" ? metadataSettings2(value.metadata, ["profile"]) : {});
73
73
  yield* ctx.provider.transform((evt) => {
74
74
  for (const item of evt.list()) {
75
75
  if (!isBedrock(item.provider))
@@ -77,7 +77,7 @@ var AmazonBedrockPlugin2 = define({
77
77
  evt.update(item.provider.id, (provider) => {
78
78
  const settings = {
79
79
  ...provider.settings,
80
- ...(provider.integrationID ?? provider.id) === ID16.amazonBedrock ? login.settings : {}
80
+ ...(provider.integrationID ?? provider.id) === ID17.amazonBedrock ? login.settings : {}
81
81
  };
82
82
  const chain = typeof settings.profile === "string" || CHAIN_ENV.some((name) => process.env[name]);
83
83
  if (chain && provider.activation === "auto")
@@ -1,73 +1,73 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-69588b63.js";
3
+ } from "./formatter-nyxvepra.js";
4
4
  import {
5
- ID18,
5
+ ID21,
6
6
  OAuth3
7
- } from "./command-4kmavamd.js";
7
+ } from "./formatter-k15h447b.js";
8
8
  import {
9
9
  AbsolutePath2
10
- } from "./command-z5v4ffb3.js";
10
+ } from "./formatter-z5v4ffb3.js";
11
11
  import {
12
12
  key3
13
- } from "./command-xvn8mnch.js";
13
+ } from "./formatter-azqdag7d.js";
14
14
  import {
15
- ID17,
15
+ ID20,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./command-xn4a5x1q.js";
18
+ } from "./formatter-vpa8zgt8.js";
19
19
  import {
20
- ID16
21
- } from "./command-anetphez.js";
20
+ ID17
21
+ } from "./formatter-67s9kfqp.js";
22
22
  import {
23
23
  Remote3,
24
24
  Document3,
25
25
  make35
26
- } from "./command-hkf8spj2.js";
26
+ } from "./formatter-7zs4mqwf.js";
27
27
  import {
28
- Service67
29
- } from "./command-h83e0t1m.js";
28
+ Service74
29
+ } from "./formatter-ppk2ta81.js";
30
30
  import {
31
31
  integrate2
32
- } from "./command-avrmj142.js";
32
+ } from "./formatter-n6y2yx69.js";
33
33
  import {
34
- Service66
35
- } from "./command-0ht5pcpg.js";
34
+ Service72
35
+ } from "./formatter-zwmrnfgc.js";
36
36
  import {
37
37
  uri2,
38
- Service55
39
- } from "./command-hyq0mm5d.js";
38
+ Service35
39
+ } from "./formatter-bm49bgmn.js";
40
40
  import {
41
41
  parse2
42
- } from "./command-wqeff9d1.js";
42
+ } from "./formatter-2z7m33tr.js";
43
43
  import {
44
44
  defaultServer2,
45
45
  server2,
46
46
  headers2
47
- } from "./command-kt3bjfbg.js";
47
+ } from "./formatter-kt3bjfbg.js";
48
48
  import {
49
49
  File2,
50
- Service42
51
- } from "./command-dt6tsz7x.js";
50
+ Service36
51
+ } from "./formatter-2bvj0tyw.js";
52
52
  import {
53
- Service35
54
- } from "./command-29avq3cp.js";
53
+ Service46
54
+ } from "./formatter-tmxr2s7a.js";
55
55
  import {
56
56
  isSafeSegment2,
57
57
  isSafeRelativePath2
58
- } from "./command-br85n61x.js";
58
+ } from "./formatter-rp6t20zc.js";
59
59
  import {
60
- ID15,
60
+ ID8,
61
61
  Input16,
62
62
  Response2
63
- } from "./command-9zc2sd1y.js";
63
+ } from "./formatter-ya6jhd7d.js";
64
64
  import {
65
65
  header2,
66
- make16
67
- } from "./command-3em2z4he.js";
66
+ make19
67
+ } from "./formatter-qycm87ym.js";
68
68
  import {
69
69
  onSwitch2
70
- } from "./command-45gvefkm.js";
70
+ } from "./formatter-3m4fz3hb.js";
71
71
 
72
72
  // src/plugin/provider/opencode.ts
73
73
  import { isDeepStrictEqual } from "node:util";
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
136
136
  }
137
137
  function oauth(http) {
138
138
  return {
139
- integrationID: ID17.make("opencode"),
139
+ integrationID: ID20.make("opencode"),
140
140
  method: {
141
141
  id: methodID,
142
142
  type: "oauth",
@@ -203,11 +203,11 @@ var OpencodePlugin2 = define({
203
203
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
204
204
  const client = yield* HttpClient.HttpClient;
205
205
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
206
- const config = yield* Service67;
207
- const flags = yield* Service66;
208
- const discovery = yield* Service42;
209
- const skills = yield* Service55;
210
- const cache = yield* Service35;
206
+ const config = yield* Service74;
207
+ const flags = yield* Service72;
208
+ const discovery = yield* Service36;
209
+ const skills = yield* Service35;
210
+ const cache = yield* Service46;
211
211
  const scope = yield* Scope.Scope;
212
212
  const loading = Semaphore.makeUnsafe(1);
213
213
  let snapshot = { remote: undefined, connection: undefined, organization: undefined };
@@ -217,7 +217,7 @@ var OpencodePlugin2 = define({
217
217
  const skillDownload = yield* FiberHandle.make();
218
218
  let reported;
219
219
  let explainers = [];
220
- const watches = yield* make16(ctx, http);
220
+ const watches = yield* make19(ctx, http);
221
221
  const load = Effect.fn("OpencodePlugin.load")(function* (maxAge = Duration.minutes(1)) {
222
222
  const connection = yield* ctx.integration.connection.active("opencode");
223
223
  if (!connection) {
@@ -255,13 +255,13 @@ var OpencodePlugin2 = define({
255
255
  });
256
256
  let integrated;
257
257
  const integrate = Effect.fnUntraced(function* (document) {
258
- yield* config.integration?.(ID17.make("opencode"), document) ?? Effect.void;
259
- integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID17.make("opencode"));
258
+ yield* config.integration?.(ID20.make("opencode"), document) ?? Effect.void;
259
+ integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID20.make("opencode"));
260
260
  });
261
261
  const publish = Effect.fnUntraced(function* (next) {
262
262
  const document = next.remote && next.connection && make35({
263
- integrationID: ID17.make("opencode"),
264
- connection: next.connection.type === "credential" ? { ...next.connection, id: ID18.make(next.connection.id) } : next.connection,
263
+ integrationID: ID20.make("opencode"),
264
+ connection: next.connection.type === "credential" ? { ...next.connection, id: ID21.make(next.connection.id) } : next.connection,
265
265
  organization: next.organization,
266
266
  info: next.remote
267
267
  });
@@ -353,7 +353,7 @@ var OpencodePlugin2 = define({
353
353
  integrate2(providers, integrated);
354
354
  });
355
355
  yield* ctx.provider.transform((providers) => {
356
- const item = providers.get(ID16.opencode);
356
+ const item = providers.get(ID17.opencode);
357
357
  if (!item)
358
358
  return;
359
359
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -365,7 +365,7 @@ var OpencodePlugin2 = define({
365
365
  });
366
366
  });
367
367
  yield* ctx.model.transform((models) => {
368
- const item = models.provider.get(ID16.opencode);
368
+ const item = models.provider.get(ID17.opencode);
369
369
  if (!item)
370
370
  return;
371
371
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
380
380
  }
381
381
  });
382
382
  yield* ctx.websearch.transform((editor) => {
383
- const provider = ID15.make("opencode");
383
+ const provider = ID8.make("opencode");
384
384
  if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
385
385
  editor.add(search(provider, snapshot.connection));
386
386
  });
@@ -419,7 +419,7 @@ var OpencodePlugin2 = define({
419
419
  });
420
420
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
421
421
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
422
- explainers = yield* Effect.forEach(next.connection ? new Set([ID16.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
422
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID17.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
423
423
  });
424
424
  yield* guard(snapshot);
425
425
  const polling = yield* FiberHandle.make();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/database/batch.ts
6
6
  var exports_batch = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizeContent2
4
- } from "./command-7rvsyqjv.js";
4
+ } from "./formatter-7rvsyqjv.js";
5
5
  import {
6
6
  __export
7
- } from "./command-9rqn6x4v.js";
7
+ } from "./formatter-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/tool-input-repair.ts
10
10
  var exports_tool_input_repair = {};
11
11
  __export(exports_tool_input_repair, {
12
- Plugin: () => Plugin45,
12
+ Plugin: () => Plugin53,
13
13
  ToolInputRepairPlugin: () => exports_tool_input_repair
14
14
  });
15
15
  import { ToolFailure } from "@opencode/ai/effect";
@@ -18,7 +18,7 @@ import { Effect, Option, Predicate, Schema } from "effect";
18
18
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
19
19
  var maxDepth = 6;
20
20
  var aliases = new Map([["bash", "shell"]]);
21
- var Plugin45 = define({
21
+ var Plugin53 = define({
22
22
  id: "opencode.tool.input.repair",
23
23
  effect: (ctx) => Effect.gen(function* () {
24
24
  const aliased = new Map;
@@ -153,4 +153,4 @@ function repairArray(value, schema, root, depth) {
153
153
  return compatible ? [repaired] : value;
154
154
  }
155
155
 
156
- export { Plugin45, exports_tool_input_repair };
156
+ export { Plugin53, exports_tool_input_repair };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  load3
3
- } from "./command-tr8x705m.js";
3
+ } from "./formatter-j376ae4e.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/claude/fork.ts
9
9
  var exports_fork = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./command-kt3bjfbg.js";
4
+ } from "./formatter-kt3bjfbg.js";
5
5
  import {
6
- ID17,
7
- Service85,
8
- node87
9
- } from "./command-xn4a5x1q.js";
6
+ ID20,
7
+ Service89,
8
+ node91
9
+ } from "./formatter-vpa8zgt8.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./formatter-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
- Info: () => Info3,
18
- Service: () => Service13,
19
- UnavailableError: () => UnavailableError2,
17
+ Info: () => Info23,
18
+ Service: () => Service79,
19
+ UnavailableError: () => UnavailableError4,
20
20
  UsageLimits: () => exports_usage_limits,
21
- layer: () => layer10,
22
- node: () => node15
21
+ layer: () => layer27,
22
+ node: () => node81
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 Info3 = UsageLimits.Info;
32
+ var Info23 = UsageLimits.Info;
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
34
+ class UnavailableError4 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service13 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service79 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer10 = Layer.effect(Service13, Effect.gen(function* () {
42
- const integrations = yield* Service85;
41
+ var layer27 = Layer.effect(Service79, Effect.gen(function* () {
42
+ const integrations = yield* Service89;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
- const connection = yield* integrations.connection.active(ID17.make("opencode"));
45
+ const connection = yield* integrations.connection.active(ID20.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
- const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
48
+ const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ 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 layer10 = Layer.effect(Service13, 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 UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
57
+ orElse: () => Effect.fail(new UnavailableError4({ message: "OpenCode Console usage limits timed out" }))
58
58
  }));
59
59
  return {
60
60
  workspace: {
@@ -66,12 +66,12 @@ var layer10 = Layer.effect(Service13, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service13.of({ get });
69
+ return Service79.of({ get });
70
70
  }));
71
- var node15 = makeLocationNode({
72
- service: Service13,
73
- layer: layer10,
74
- deps: [node87, httpClient]
71
+ var node81 = makeLocationNode({
72
+ service: Service79,
73
+ layer: layer27,
74
+ deps: [node91, 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 UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
120
+ }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError4({ 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 UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
127
+ })))), Effect.scoped, Effect.mapError((error) => new UnavailableError4({ 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 { Info3, UnavailableError2, Service13, layer10, node15, exports_usage_limits };
133
+ export { Info23, UnavailableError4, Service79, layer27, node81, exports_usage_limits };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./command-9ahpzkmc.js";
4
+ } from "./formatter-fhwbhm4t.js";
5
5
  import {
6
6
  Service93,
7
7
  node95
8
- } from "./command-q99548g1.js";
8
+ } from "./formatter-18w9amv2.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./command-pknna89w.js";
11
+ } from "./formatter-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./command-m1714858.js";
14
+ } from "./formatter-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./command-9rqn6x4v.js";
17
+ } from "./formatter-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
23
+ Event: () => Event20,
24
24
  External: () => External2,
25
- ID: () => ID18,
26
- Info: () => Info27,
25
+ ID: () => ID21,
26
+ Info: () => Info31,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service86,
29
+ Service: () => Service90,
30
30
  Value: () => Value2,
31
31
  expiring: () => expiring2,
32
- node: () => node88
32
+ node: () => node92
33
33
  });
34
34
  import { asc, desc, eq } from "drizzle-orm";
35
35
  import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
@@ -38,25 +38,25 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
38
38
  import { Integration } from "@opencode/schema/integration";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
40
40
  import { EffectFlock } from "@opencode/util/effect-flock";
41
- var ID18 = Credential.ID;
41
+ var ID21 = Credential.ID;
42
42
  var OAuth3 = Credential.OAuth;
43
43
  var Key4 = Credential.Key;
44
44
  var External2 = Credential.External;
45
45
  var Value2 = Credential.Value;
46
- var Event18 = Credential.Event;
46
+ var Event20 = Credential.Event;
47
47
  var expiring2 = (value, now, margin = Duration.minutes(5)) => value.expires !== 0 && value.expires <= now + Duration.toMillis(margin);
48
48
 
49
- class Info27 extends Schema.Class("Credential.Info")({
50
- id: ID18,
49
+ class Info31 extends Schema.Class("Credential.Info")({
50
+ id: ID21,
51
51
  integrationID: Integration.ID,
52
52
  label: Schema.String,
53
53
  value: Value2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service86 extends Context.Service()("@opencode/Credential") {
57
+ class Service90 extends Context.Service()("@opencode/Credential") {
58
58
  }
59
- var layer = Layer.effect(Service86, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service90, Effect.gen(function* () {
60
60
  const db = (yield* Service94).db;
61
61
  const bus = yield* Service93;
62
62
  const flock = yield* EffectFlock.Service;
@@ -66,7 +66,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
66
66
  const stored = (row) => {
67
67
  if (!row.integration_id)
68
68
  return;
69
- return new Info27({
69
+ return new Info31({
70
70
  id: row.id,
71
71
  integrationID: row.integration_id,
72
72
  label: row.label,
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
93
93
  pending.set(id, fiber);
94
94
  return yield* restore(Fiber.join(fiber));
95
95
  }));
96
- const service = Service86.of({
96
+ const service = Service90.of({
97
97
  refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
98
98
  const current = yield* service.get(id);
99
99
  if (current?.value.type !== "oauth")
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
123
123
  return row ? stored(row) : undefined;
124
124
  }),
125
125
  create: Effect.fn("Credential.create")(function* (input) {
126
- const credential = new Info27({
127
- id: input.id ?? ID18.create(),
126
+ const credential = new Info31({
127
+ id: input.id ?? ID21.create(),
128
128
  integrationID: input.integrationID,
129
129
  label: input.label ?? "default",
130
130
  value: input.value
@@ -154,9 +154,9 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
154
154
  type: credential.value.type,
155
155
  active: activated
156
156
  });
157
- yield* bus.publish(Event18.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
157
+ yield* bus.publish(Event20.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
158
158
  if (activated)
159
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
159
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
160
160
  return credential;
161
161
  }),
162
162
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
172
172
  })).pipe(logFailure("credential activate failed", { credentialID: id }));
173
173
  if (integrationID) {
174
174
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
175
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
175
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
176
176
  }
177
177
  }),
178
178
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
197
197
  labelChanged: updates.label !== undefined && updates.label !== credential.label
198
198
  });
199
199
  if (updates.label !== undefined && updates.label !== credential.label)
200
- yield* bus.publish(Event18.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
200
+ yield* bus.publish(Event20.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
201
201
  }),
202
202
  remove: Effect.fn("Credential.remove")(function* (id) {
203
203
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -226,13 +226,13 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
226
226
  ...removed.switched ? { replacementID: removed.credentialID } : {}
227
227
  });
228
228
  if (removed.integrationID)
229
- yield* bus.publish(Event18.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
229
+ yield* bus.publish(Event20.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
230
230
  if (removed.switched)
231
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
231
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
232
232
  })
233
233
  });
234
234
  return service;
235
235
  }));
236
- var node88 = makeGlobalNode({ service: Service86, layer, deps: [node96, node95, EffectFlock.node] });
236
+ var node92 = makeGlobalNode({ service: Service90, layer, deps: [node96, node95, EffectFlock.node] });
237
237
 
238
- export { ID18, OAuth3, Key4, External2, Value2, Event18, expiring2, Info27, Service86, node88, exports_credential };
238
+ export { ID21, OAuth3, Key4, External2, Value2, Event20, expiring2, Info31, Service90, node92, exports_credential };