@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,34 +1,34 @@
1
1
  import {
2
- Service90,
3
- node92
4
- } from "./command-6g985hjc.js";
2
+ Service87,
3
+ node89
4
+ } from "./formatter-hw7r6q9t.js";
5
5
  import {
6
6
  Key3,
7
- make31,
7
+ make33,
8
8
  combine2
9
- } from "./command-amjjh717.js";
9
+ } from "./formatter-f2zjpyt5.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./formatter-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: () => Service28,
19
- node: () => node32
18
+ Service: () => Service22,
19
+ node: () => node26
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 Service28 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service22 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service28, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service90;
29
- return Service28.of({
28
+ const location = yield* Service87;
29
+ return Service22.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make31({
31
+ make33({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make31({
40
+ make33({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node32 = makeLocationNode({ service: Service28, layer, deps: [Global.node, node92] });
63
+ var node26 = makeLocationNode({ service: Service22, layer, deps: [Global.node, node89] });
64
64
 
65
- export { Service28, node32, exports_builtins };
65
+ export { Service22, node26, exports_builtins };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./formatter-z5v4ffb3.js";
4
4
  import {
5
5
  Service94,
6
6
  node96
7
- } from "./command-9ahpzkmc.js";
7
+ } from "./formatter-fhwbhm4t.js";
8
8
  import {
9
9
  Service93,
10
10
  node95
11
- } from "./command-q99548g1.js";
11
+ } from "./formatter-18w9amv2.js";
12
12
  import {
13
13
  Service92,
14
14
  node94
15
- } from "./command-qq8nxmq8.js";
15
+ } from "./formatter-qkn1vdbd.js";
16
16
  import {
17
- ID22,
17
+ ID19,
18
18
  Current3,
19
- Info32,
19
+ Info28,
20
20
  UpdateInput5,
21
- Event21,
21
+ Event18,
22
22
  Vcs3
23
- } from "./command-963hk181.js";
23
+ } from "./formatter-zyfhsknv.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./command-034tev2y.js";
27
+ } from "./formatter-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./command-8sxe6kv8.js";
30
+ } from "./formatter-8sxe6kv8.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./command-ayjs7tqn.js";
33
+ } from "./formatter-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./command-9rqn6x4v.js";
36
+ } from "./formatter-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
42
42
  Current: () => Current2,
43
- ID: () => ID21,
44
- Info: () => Info31,
45
- NotFoundError: () => NotFoundError14,
43
+ ID: () => ID18,
44
+ Info: () => Info27,
45
+ NotFoundError: () => NotFoundError13,
46
46
  Project: () => exports_project,
47
- Service: () => Service91,
47
+ Service: () => Service88,
48
48
  UpdateInput: () => UpdateInput4,
49
49
  Vcs: () => Vcs2,
50
50
  configured: () => configured12,
51
- node: () => node93,
51
+ node: () => node90,
52
52
  root: () => root2,
53
53
  sweepNode: () => sweepNode2
54
54
  });
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
61
61
  import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
63
63
  import { Hash } from "@opencode/util/hash";
64
- var ID21 = ID22;
64
+ var ID18 = ID19;
65
65
  var Vcs2 = Vcs3;
66
66
  var Current2 = Current3;
67
- var Info31 = Info32;
67
+ var Info27 = Info28;
68
68
  var UpdateInput4 = UpdateInput5;
69
69
 
70
- class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
71
- projectID: ID21
70
+ class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
71
+ projectID: ID18
72
72
  }) {
73
73
  }
74
74
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
87
87
  var SWEEP_INTERVAL = Duration.hours(1);
88
88
  var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
89
89
 
90
- class Service91 extends Context.Service()("@opencode/Project") {
90
+ class Service88 extends Context.Service()("@opencode/Project") {
91
91
  }
92
92
  function fromRow(row) {
93
93
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -111,7 +111,7 @@ function fromRow(row) {
111
111
  sandboxes: row.sandboxes
112
112
  };
113
113
  }
114
- var layer = Layer.effect(Service91, Effect.gen(function* () {
114
+ var layer = Layer.effect(Service88, Effect.gen(function* () {
115
115
  const now = yield* Now;
116
116
  const fs = yield* FSUtil.Service;
117
117
  const git = yield* Service92;
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
127
127
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
128
128
  const changed = replaced ?? unarchived;
129
129
  if (changed)
130
- yield* bus.publish(Event21.Updated, fromRow(changed));
131
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
130
+ yield* bus.publish(Event18.Updated, fromRow(changed));
131
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event18.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
132
132
  if (!project.vcs)
133
133
  return project;
134
134
  const directories = [
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
164
164
  yield* bus.publish(Worktree.Event.Resolved, {
165
165
  projectID: item.projectID,
166
166
  directory: item.directory,
167
- previous: project.previous ?? ID21.global,
167
+ previous: project.previous ?? ID18.global,
168
168
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
169
169
  }, {
170
170
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
187
187
  time_updated: Date.now()
188
188
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
189
189
  if (!row)
190
- return yield* new NotFoundError14({ projectID: input.projectID });
190
+ return yield* new NotFoundError13({ projectID: input.projectID });
191
191
  const project = fromRow(row);
192
- yield* bus.publish(Event21.Updated, project);
192
+ yield* bus.publish(Event18.Updated, project);
193
193
  return project;
194
194
  });
195
195
  const activated = new Map;
196
196
  const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event21.Updated, fromRow(row));
199
+ yield* bus.publish(Event18.Updated, fromRow(row));
200
200
  });
201
201
  const activate = (projectID, options) => Effect.suspend(() => {
202
202
  const timestamp = now();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
208
208
  return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
209
209
  });
210
210
  const cached = Effect.fnUntraced(function* (dir) {
211
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
211
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID18.make(value) : undefined), Effect.orElseSucceed(() => {
212
212
  return;
213
213
  }));
214
214
  });
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
219
219
  const normalized = url(origin);
220
220
  if (!normalized)
221
221
  return;
222
- return ID21.make(Hash.fast(`git-remote:${normalized}`));
222
+ return ID18.make(Hash.fast(`git-remote:${normalized}`));
223
223
  });
224
224
  function url(input) {
225
225
  const value = input.trim();
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
244
244
  }
245
245
  const rootCommit = Effect.fnUntraced(function* (repo) {
246
246
  const root = (yield* git.history.rootCommits(repo))[0];
247
- return root ? ID21.make(root) : undefined;
247
+ return root ? ID18.make(root) : undefined;
248
248
  });
249
249
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
250
250
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
260
260
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
261
261
  const resolved = {
262
262
  previous,
263
- id: id ?? ID21.global,
263
+ id: id ?? ID18.global,
264
264
  directory: repo.worktree,
265
265
  canonical,
266
266
  vcs: { type: "git", store: repo.commonDirectory }
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
285
285
  return;
286
286
  const node = result.stdout.toString("utf8").split(`
287
287
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
288
- return node ? ID21.make(node) : undefined;
288
+ return node ? ID18.make(node) : undefined;
289
289
  });
290
290
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
291
291
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
293
293
  const id = previous ?? (yield* hgRoot(worktree));
294
294
  return {
295
295
  previous,
296
- id: id ?? ID21.global,
296
+ id: id ?? ID18.global,
297
297
  directory: worktree,
298
298
  vcs: { type: "hg", store: dotHg }
299
299
  };
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
320
320
  });
321
321
  }
322
322
  return yield* save({
323
- id: ID21.make(Hash.fast(`directory:${directory}`)),
323
+ id: ID18.make(Hash.fast(`directory:${directory}`)),
324
324
  directory,
325
325
  canonical: directory,
326
326
  vcs: undefined
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
329
329
  const sweep = Effect.fn("Project.sweep")(function* () {
330
330
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
331
331
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
332
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
332
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID18.global))).all().pipe(Effect.orDie);
333
333
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
334
334
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
335
335
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
342
342
  return;
343
343
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
344
344
  if (row)
345
- yield* bus.publish(Event21.Updated, fromRow(row));
345
+ yield* bus.publish(Event18.Updated, fromRow(row));
346
346
  }), { concurrency: 8, discard: true });
347
347
  });
348
- return Service91.of({ list, update, activate, resolve, sweep });
348
+ return Service88.of({ list, update, activate, resolve, sweep });
349
349
  }));
350
350
  function configured12(options) {
351
351
  return makeGlobalNode({
352
- service: Service91,
352
+ service: Service88,
353
353
  layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
354
354
  deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
355
355
  });
356
356
  }
357
- var node93 = configured12();
357
+ var node90 = configured12();
358
358
  var sweepNode2 = makeGlobalNode({
359
359
  name: "project-archive-sweep",
360
360
  layer: Layer.effectDiscard(Effect.gen(function* () {
361
- const project = yield* Service91;
361
+ const project = yield* Service88;
362
362
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
363
363
  })),
364
- deps: [node93]
364
+ deps: [node90]
365
365
  });
366
366
 
367
- export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };
367
+ export { ID18, Vcs2, Current2, Info27, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service88, configured12, node90, sweepNode2, exports_project };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./command-7rvsyqjv.js";
3
+ } from "./formatter-7rvsyqjv.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./command-z5v4ffb3.js";
6
+ } from "./formatter-z5v4ffb3.js";
7
7
  import {
8
- Service90
9
- } from "./command-6g985hjc.js";
8
+ Service87
9
+ } from "./formatter-hw7r6q9t.js";
10
10
  import {
11
- Service70
12
- } from "./command-mvp1qzcv.js";
11
+ Service53
12
+ } from "./formatter-4rz36ceb.js";
13
13
  import {
14
14
  InvalidGlobError2,
15
- Service48
16
- } from "./command-1f32vgp3.js";
15
+ Service52
16
+ } from "./formatter-5nvn3v8n.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./command-jz1q4zsd.js";
21
+ } from "./formatter-s9mjx3f0.js";
22
22
  import {
23
23
  pathType2,
24
24
  bounded2
25
- } from "./command-kw06wevc.js";
25
+ } from "./formatter-kmnfk4kb.js";
26
26
  import {
27
27
  invocation2,
28
- Service61
29
- } from "./command-epap8xr2.js";
28
+ Service68
29
+ } from "./formatter-1y4446k4.js";
30
30
  import {
31
- Service60
32
- } from "./command-bf0m000r.js";
31
+ Service51
32
+ } from "./formatter-87yq9eva.js";
33
33
  import {
34
34
  __export
35
- } from "./command-9rqn6x4v.js";
35
+ } from "./formatter-9rqn6x4v.js";
36
36
 
37
37
  // src/tool/plugin/glob.ts
38
38
  var exports_glob = {};
39
39
  __export(exports_glob, {
40
40
  GlobTool: () => exports_glob,
41
- Input: () => Input2,
42
- Output: () => Output2,
43
- Plugin: () => Plugin2,
44
- name: () => name2,
41
+ Input: () => Input8,
42
+ Output: () => Output8,
43
+ Plugin: () => Plugin10,
44
+ name: () => name8,
45
45
  toModelContent: () => toModelContent2
46
46
  });
47
47
  import { ToolFailure } from "@opencode/ai/effect";
48
48
  import { Effect, Schema } from "effect";
49
49
  import path from "path";
50
- var name2 = "glob";
51
- var Input2 = Schema.Struct({
50
+ var name8 = "glob";
51
+ var Input8 = Schema.Struct({
52
52
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
53
53
  path: Schema.optionalKey(RelativePath2).annotate({
54
54
  description: "Directory to search. Defaults to the current working directory."
@@ -60,7 +60,7 @@ var Input2 = Schema.Struct({
60
60
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
61
61
  })
62
62
  });
63
- var Output2 = Schema.Array(Entry2);
63
+ var Output8 = Schema.Array(Entry2);
64
64
  var toModelContent2 = (entries, truncated = false) => {
65
65
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
66
66
  if (truncated)
@@ -68,26 +68,26 @@ var toModelContent2 = (entries, truncated = false) => {
68
68
  return lines.join(`
69
69
  `);
70
70
  };
71
- var Plugin2 = {
71
+ var Plugin10 = {
72
72
  id: "opencode.tool.glob",
73
73
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
74
- const environment = yield* Service70;
75
- const ripgrep = yield* Service48;
76
- const location = yield* Service90;
77
- const access = yield* Service60;
78
- const permission = yield* Service61;
74
+ const environment = yield* Service53;
75
+ const ripgrep = yield* Service52;
76
+ const location = yield* Service87;
77
+ const access = yield* Service51;
78
+ const permission = yield* Service68;
79
79
  yield* ctx.tool.transform((editor) => editor.add({
80
- name: name2,
80
+ name: name8,
81
81
  options: { codemode: false },
82
82
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
83
- input: Input2,
84
- output: Output2,
83
+ input: Input8,
84
+ output: Output8,
85
85
  execute: (input, context) => Effect.gen(function* () {
86
86
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
87
87
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
88
88
  yield* access.authorizeExternal([target], context);
89
89
  yield* permission.assert({
90
- action: name2,
90
+ action: name8,
91
91
  resources: [input.pattern],
92
92
  save: ["*"],
93
93
  metadata: {
@@ -119,4 +119,4 @@ var Plugin2 = {
119
119
  })
120
120
  };
121
121
 
122
- export { name2, Input2, Output2, toModelContent2, Plugin2, exports_glob };
122
+ export { name8, Input8, Output8, toModelContent2, Plugin10, exports_glob };
@@ -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/shell/result.ts
6
6
  var exports_result2 = {};
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./formatter-z5v4ffb3.js";
4
4
  import {
5
- Service90
6
- } from "./command-6g985hjc.js";
5
+ Service87
6
+ } from "./formatter-hw7r6q9t.js";
7
7
  import {
8
- Service70
9
- } from "./command-mvp1qzcv.js";
8
+ Service53
9
+ } from "./formatter-4rz36ceb.js";
10
10
  import {
11
11
  InvalidGlobError2,
12
12
  InvalidPatternError2,
13
- Service48
14
- } from "./command-1f32vgp3.js";
13
+ Service52
14
+ } from "./formatter-5nvn3v8n.js";
15
15
  import {
16
16
  DEFAULT_SEARCH_LIMIT2,
17
17
  GrepInput2,
18
18
  Entry2,
19
19
  Match2
20
- } from "./command-jz1q4zsd.js";
20
+ } from "./formatter-s9mjx3f0.js";
21
21
  import {
22
22
  invocation2,
23
- Service61
24
- } from "./command-epap8xr2.js";
23
+ Service68
24
+ } from "./formatter-1y4446k4.js";
25
25
  import {
26
- Service60
27
- } from "./command-bf0m000r.js";
26
+ Service51
27
+ } from "./formatter-87yq9eva.js";
28
28
  import {
29
29
  pathType2,
30
30
  bounded2
31
- } from "./command-kw06wevc.js";
31
+ } from "./formatter-kmnfk4kb.js";
32
32
  import {
33
33
  __export
34
- } from "./command-9rqn6x4v.js";
34
+ } from "./formatter-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/grep.ts
37
37
  var exports_grep = {};
38
38
  __export(exports_grep, {
39
39
  GrepTool: () => exports_grep,
40
- Input: () => Input4,
41
- Output: () => Output4,
42
- Plugin: () => Plugin4,
43
- name: () => name4,
44
- toModelContent: () => toModelContent3
40
+ Input: () => Input11,
41
+ Output: () => Output10,
42
+ Plugin: () => Plugin15,
43
+ name: () => name11,
44
+ toModelContent: () => toModelContent4
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai/effect";
47
47
  import { Effect, Schema } from "effect";
48
48
  import path from "path";
49
- var name4 = "grep";
50
- var Input4 = Schema.Struct({
49
+ var name11 = "grep";
50
+ var Input11 = Schema.Struct({
51
51
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
52
52
  description: "Regular expression or literal text to match in file contents."
53
53
  }),
@@ -67,8 +67,8 @@ var Input4 = Schema.Struct({
67
67
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
68
68
  })
69
69
  });
70
- var Output4 = Schema.Array(Match2);
71
- var toModelContent3 = (matches, truncated = false) => {
70
+ var Output10 = Schema.Array(Match2);
71
+ var toModelContent4 = (matches, truncated = false) => {
72
72
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
73
73
  let current = "";
74
74
  for (const match of matches) {
@@ -85,25 +85,25 @@ var toModelContent3 = (matches, truncated = false) => {
85
85
  return lines.join(`
86
86
  `);
87
87
  };
88
- var Plugin4 = {
88
+ var Plugin15 = {
89
89
  id: "opencode.tool.grep",
90
90
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
91
- const environment = yield* Service70;
92
- const ripgrep = yield* Service48;
93
- const location = yield* Service90;
94
- const access = yield* Service60;
95
- const permission = yield* Service61;
91
+ const environment = yield* Service53;
92
+ const ripgrep = yield* Service52;
93
+ const location = yield* Service87;
94
+ const access = yield* Service51;
95
+ const permission = yield* Service68;
96
96
  yield* ctx.tool.transform((editor) => editor.add({
97
- name: name4,
97
+ name: name11,
98
98
  options: { codemode: false },
99
99
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
100
- input: Input4,
101
- output: Output4,
100
+ input: Input11,
101
+ output: Output10,
102
102
  execute: (input, context) => Effect.gen(function* () {
103
103
  const target = yield* access.resolve({ path: input.path ?? "." });
104
104
  yield* access.authorizeExternal([target], context);
105
105
  yield* permission.assert({
106
- action: name4,
106
+ action: name11,
107
107
  resources: [input.pattern],
108
108
  save: ["*"],
109
109
  metadata: {
@@ -140,7 +140,7 @@ var Plugin4 = {
140
140
  };
141
141
  }).pipe(Effect.map((result) => ({
142
142
  output: result.matches,
143
- content: toModelContent3(result.matches.map((match) => ({
143
+ content: toModelContent4(result.matches.map((match) => ({
144
144
  ...match,
145
145
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
146
146
  })), result.truncated),
@@ -158,4 +158,4 @@ var Plugin4 = {
158
158
  })
159
159
  };
160
160
 
161
- export { name4, Input4, Output4, toModelContent3, Plugin4, exports_grep };
161
+ export { name11, Input11, Output10, toModelContent4, Plugin15, exports_grep };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ProjectTable2
3
- } from "./command-034tev2y.js";
3
+ } from "./formatter-034tev2y.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/project/icon.ts
9
9
  var exports_icon = {};