@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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +94 -94
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +250 -250
- package/dist/bus.js +80 -80
- package/dist/chunks/{command-034tev2y.js → formatter-034tev2y.js} +2 -2
- package/dist/chunks/{command-6w30sr0w.js → formatter-09cv1hcq.js} +16 -16
- package/dist/chunks/{command-zk1cryvj.js → formatter-0b9dpcqh.js} +18 -18
- package/dist/chunks/{command-c9v165g9.js → formatter-0f98ft02.js} +36 -36
- package/dist/chunks/{command-0fvxehme.js → formatter-0fvxehme.js} +2 -2
- package/dist/chunks/{command-ymh2zpye.js → formatter-0jk88157.js} +16 -16
- package/dist/chunks/{command-dc4t5msd.js → formatter-0p8fz9ey.js} +23 -23
- package/dist/chunks/{command-vxcqyea6.js → formatter-0r5j1y1x.js} +10 -10
- package/dist/chunks/{command-m6b1y2sf.js → formatter-0rdrv6c4.js} +9 -9
- package/dist/chunks/{command-yrt2j6wb.js → formatter-1065azbp.js} +8 -8
- package/dist/chunks/{command-48t0pb5g.js → formatter-107n4kdg.js} +37 -37
- package/dist/chunks/{command-5tf32vej.js → formatter-10veb3z3.js} +5 -5
- package/dist/chunks/{command-q99548g1.js → formatter-18w9amv2.js} +4 -4
- package/dist/chunks/{command-c5vx1zac.js → formatter-19ah3epb.js} +5 -5
- package/dist/chunks/{command-6tdwsadc.js → formatter-19cz2mh9.js} +31 -31
- package/dist/chunks/{command-2km60gbx.js → formatter-1afk09fq.js} +11 -11
- package/dist/chunks/{command-1aqsckx4.js → formatter-1aqsckx4.js} +1 -1
- package/dist/chunks/{command-4d1f1c7e.js → formatter-1cnk63hp.js} +11 -11
- package/dist/chunks/{command-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-bsycervj.js → formatter-1m5xsna8.js} +24 -24
- package/dist/chunks/{command-vz7cb8rc.js → formatter-1rtj8tn6.js} +5 -5
- package/dist/chunks/{command-w69q6psg.js → formatter-1twmh811.js} +17 -17
- package/dist/chunks/{command-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-epap8xr2.js → formatter-1y4446k4.js} +45 -45
- package/dist/chunks/{command-p7vhpwh8.js → formatter-1yq9hg58.js} +5 -5
- package/dist/chunks/{command-hbjxspw9.js → formatter-26g5dw0a.js} +15 -15
- package/dist/chunks/{command-00vb7kby.js → formatter-284qbwak.js} +41 -41
- package/dist/chunks/{command-dt6tsz7x.js → formatter-2bvj0tyw.js} +23 -23
- package/dist/chunks/{command-2fc7eemy.js → formatter-2fc7eemy.js} +1 -1
- package/dist/chunks/{command-h7d4rbrg.js → formatter-2kg89srt.js} +4 -4
- package/dist/chunks/{command-2prt43t7.js → formatter-2prt43t7.js} +1 -1
- package/dist/chunks/{command-vdcc3vzr.js → formatter-2q7w2n5y.js} +20 -20
- package/dist/chunks/{command-djcm10vk.js → formatter-2t6bt9cz.js} +23 -23
- package/dist/chunks/{command-vw17p9nj.js → formatter-2yn2tdym.js} +65 -65
- package/dist/chunks/{command-s47rahr7.js → formatter-2ytp0tvq.js} +4 -4
- package/dist/chunks/{command-wqeff9d1.js → formatter-2z7m33tr.js} +6 -6
- package/dist/chunks/{command-z2kxm34f.js → formatter-367yzc22.js} +370 -370
- package/dist/chunks/{command-mk9nde4r.js → formatter-36veeb2h.js} +13 -13
- package/dist/chunks/{command-8kxf49yw.js → formatter-3aystt2y.js} +4 -4
- package/dist/chunks/{command-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-s6q3xz50.js → formatter-3k1xqshc.js} +5 -5
- package/dist/chunks/{command-45gvefkm.js → formatter-3m4fz3hb.js} +10 -10
- package/dist/chunks/{command-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-7a2bwsmz.js → formatter-3p57dcxh.js} +4 -4
- package/dist/chunks/{command-xtyr0vxr.js → formatter-3qhreq2y.js} +4 -4
- package/dist/chunks/{command-br0kkpnn.js → formatter-3ryz99p0.js} +7 -7
- package/dist/chunks/{command-40y6dtc2.js → formatter-40y6dtc2.js} +1 -1
- package/dist/chunks/{command-qa4hpnzm.js → formatter-472kcb6j.js} +4 -4
- package/dist/chunks/{command-m4p4r8nc.js → formatter-4dfqsw0d.js} +4 -4
- package/dist/chunks/{command-4dx1dgte.js → formatter-4dx1dgte.js} +1 -1
- package/dist/chunks/{command-4f25tdd0.js → formatter-4f25tdd0.js} +1 -1
- package/dist/chunks/{command-z2wzp662.js → formatter-4nr20r5b.js} +34 -34
- package/dist/chunks/{command-545mfvbm.js → formatter-4r37kn7a.js} +32 -32
- package/dist/chunks/{command-mvp1qzcv.js → formatter-4rz36ceb.js} +20 -20
- package/dist/chunks/{command-4v008n1t.js → formatter-4v008n1t.js} +1 -1
- package/dist/chunks/{command-4yw3xa9p.js → formatter-514vvw19.js} +1 -1
- package/dist/chunks/{command-d4qb2rc3.js → formatter-5c0ay57s.js} +4 -4
- package/dist/chunks/{command-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-1f32vgp3.js → formatter-5nvn3v8n.js} +16 -15
- package/dist/chunks/{command-b7tcf9j8.js → formatter-5tda77qk.js} +17 -17
- package/dist/chunks/{command-msd2a3qm.js → formatter-5wyjxme5.js} +7 -7
- package/dist/chunks/{command-2bjvbgsm.js → formatter-5xbqvg7k.js} +19 -19
- package/dist/chunks/{command-rcxa3fp6.js → formatter-633zrvc0.js} +9 -9
- package/dist/chunks/{command-5m3xrn1j.js → formatter-66r11b12.js} +9 -9
- package/dist/chunks/{command-anetphez.js → formatter-67s9kfqp.js} +31 -31
- package/dist/chunks/{command-hdr5hne2.js → formatter-681reqgc.js} +8 -8
- package/dist/chunks/{command-kj9n5bvh.js → formatter-69rarv6g.js} +4 -4
- package/dist/chunks/{command-pmxhedey.js → formatter-6d0ke9pc.js} +11 -11
- package/dist/chunks/{command-zfjmf10w.js → formatter-6ftp030z.js} +20 -20
- package/dist/chunks/{command-e8fm7yqv.js → formatter-6mqmmy5j.js} +37 -37
- package/dist/chunks/{command-kxrn7gky.js → formatter-6phyd5m2.js} +15 -15
- package/dist/chunks/{command-9tg5000s.js → formatter-6s29sep7.js} +22 -22
- package/dist/chunks/{command-3scav9bn.js → formatter-6s9a3p6j.js} +20 -20
- package/dist/chunks/{command-c51p6570.js → formatter-6sg7v011.js} +2 -2
- package/dist/chunks/{command-vwcz1f45.js → formatter-6y2b864j.js} +7 -7
- package/dist/chunks/{command-dbatw319.js → formatter-73ff1310.js} +3 -3
- package/dist/chunks/{command-vkz3ha21.js → formatter-75a2gs08.js} +1 -1
- package/dist/chunks/{command-t1xbeg12.js → formatter-75nm06f1.js} +60 -66
- package/dist/chunks/{command-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-xrayc9jg.js → formatter-7ha2pc0m.js} +21 -21
- package/dist/chunks/{command-7tx5zndv.js → formatter-7tx5zndv.js} +2 -2
- package/dist/chunks/{command-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-7weczvnd.js → formatter-7weczvnd.js} +1 -1
- package/dist/chunks/{command-hkf8spj2.js → formatter-7zs4mqwf.js} +5 -5
- package/dist/chunks/{command-775hqbnd.js → formatter-80mg3ag8.js} +3 -3
- package/dist/chunks/{command-80pdk984.js → formatter-80pdk984.js} +1 -1
- package/dist/chunks/{command-85jq8dht.js → formatter-85jq8dht.js} +1 -1
- package/dist/chunks/{command-gjqpkb49.js → formatter-875etveh.js} +7 -7
- package/dist/chunks/{command-bf0m000r.js → formatter-87yq9eva.js} +25 -25
- package/dist/chunks/{command-j5c22pgh.js → formatter-88vzj3a4.js} +3 -3
- package/dist/chunks/{command-rxp2smpj.js → formatter-89wqeg04.js} +6 -6
- package/dist/chunks/{command-8b3vzgkx.js → formatter-8b3vzgkx.js} +1 -1
- package/dist/chunks/{command-exkmrkyq.js → formatter-8er0ykh9.js} +40 -40
- package/dist/chunks/{command-0jgcgtm3.js → formatter-8faq9twa.js} +16 -16
- package/dist/chunks/{command-bs7vr8qa.js → formatter-8frvfs4e.js} +44 -44
- package/dist/chunks/{command-trs7a2qk.js → formatter-8gc9kz7m.js} +33 -33
- package/dist/chunks/{command-8kjyvwy5.js → formatter-8kjyvwy5.js} +1 -1
- package/dist/chunks/{command-3dygp556.js → formatter-8p9429cg.js} +35 -35
- package/dist/chunks/{command-8sxe6kv8.js → formatter-8sxe6kv8.js} +2 -2
- package/dist/chunks/{command-wnqev3np.js → formatter-8vnqf0b3.js} +19 -19
- package/dist/chunks/{command-6rwp9k3d.js → formatter-8wdnmp4h.js} +37 -37
- package/dist/chunks/{command-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-9mg2j4gp.js → formatter-8ye65hwy.js} +15 -15
- package/dist/chunks/{command-8zv0xmg5.js → formatter-8zv0xmg5.js} +1 -1
- package/dist/chunks/{command-shs0bj48.js → formatter-90fyndgx.js} +28 -28
- package/dist/chunks/{command-ptqtsqsq.js → formatter-97yxev1x.js} +7 -7
- package/dist/chunks/{command-6bhge99a.js → formatter-98m3s5a8.js} +22 -22
- package/dist/chunks/{command-kvq9h0sm.js → formatter-999eq5wg.js} +7 -7
- package/dist/chunks/{command-9fbvv04g.js → formatter-9efj75yn.js} +42 -42
- package/dist/chunks/{command-d5z7929f.js → formatter-9gdt4sfh.js} +18 -18
- package/dist/chunks/{command-x443n8rt.js → formatter-9j79xsdn.js} +6 -6
- package/dist/chunks/{command-ez7z3q9e.js → formatter-9kkht3bz.js} +35 -35
- package/dist/chunks/{command-nvnvd5wa.js → formatter-9mz9bkgy.js} +9 -9
- package/dist/chunks/{command-atz1w742.js → formatter-9zfcngb4.js} +3 -3
- package/dist/chunks/{command-1mfn2wbd.js → formatter-a0rh3gnp.js} +16 -16
- package/dist/chunks/{command-g3k34n04.js → formatter-a18qm98g.js} +18 -18
- package/dist/chunks/{command-4p9g6gya.js → formatter-a6f3a7w7.js} +12 -12
- package/dist/chunks/{command-npte79n3.js → formatter-a9770cg9.js} +22 -22
- package/dist/chunks/{command-jhbk36e1.js → formatter-astymy2y.js} +22 -22
- package/dist/chunks/{command-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-xvn8mnch.js → formatter-azqdag7d.js} +4 -4
- package/dist/chunks/{command-6nw0se4n.js → formatter-b1t3h42q.js} +28 -28
- package/dist/chunks/formatter-b5696b0c.js +26 -0
- package/dist/chunks/{command-qxvrvs93.js → formatter-b9t4mw29.js} +18 -18
- package/dist/chunks/{command-741va2xm.js → formatter-bc6vcyc2.js} +20 -20
- package/dist/chunks/{command-ybxm74q5.js → formatter-be3cmm3y.js} +59 -59
- package/dist/chunks/{command-ad3ej1v4.js → formatter-bes4ktrd.js} +5 -5
- package/dist/chunks/{command-njb58ya1.js → formatter-bkfnmamh.js} +25 -25
- package/dist/chunks/{command-hyq0mm5d.js → formatter-bm49bgmn.js} +25 -25
- package/dist/chunks/{command-kc4ez2ea.js → formatter-bmw1c1w2.js} +8 -8
- package/dist/chunks/{command-xksw6ev0.js → formatter-brv6mkyx.js} +4 -4
- package/dist/chunks/{command-bstexjd6.js → formatter-bstexjd6.js} +1 -1
- package/dist/chunks/{command-sch203vp.js → formatter-c09jwrv7.js} +8 -8
- package/dist/chunks/{command-tb2mrvc9.js → formatter-c0fe0nyt.js} +4 -4
- package/dist/chunks/{command-emq6awqh.js → formatter-c5kjsz6q.js} +4 -4
- package/dist/chunks/{command-e4b4cbc2.js → formatter-c8g1f16z.js} +17 -17
- package/dist/chunks/{command-r2rgtba5.js → formatter-c98n4vdv.js} +9 -9
- package/dist/chunks/{command-73gcsqdp.js → formatter-crke0hy6.js} +13 -13
- package/dist/chunks/{command-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-3y4zhc2n.js → formatter-cwws9yn6.js} +22 -22
- package/dist/chunks/{command-nkzb5f1v.js → formatter-d34c0f98.js} +8 -8
- package/dist/chunks/{command-1wmzbjb1.js → formatter-d49t3rb6.js} +21 -21
- package/dist/chunks/{command-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-7wkcwtpg.js → formatter-d58gm13w.js} +15 -15
- package/dist/chunks/{command-d7dn0zx2.js → formatter-d66h0vnz.js} +11 -11
- package/dist/chunks/{command-3zfajawq.js → formatter-dchba5z5.js} +21 -21
- package/dist/chunks/{command-evjv4h7n.js → formatter-dft9bp6v.js} +16 -16
- package/dist/chunks/{command-vhjhcx68.js → formatter-dgjqzpns.js} +5 -5
- package/dist/chunks/{command-1byp4d39.js → formatter-dj4g1h0v.js} +23 -23
- package/dist/chunks/{command-dt77769w.js → formatter-dt77769w.js} +1 -1
- package/dist/chunks/{command-ywwk2jyx.js → formatter-dxvykrw7.js} +10 -10
- package/dist/chunks/{command-05qmkqxc.js → formatter-e3jrxgpp.js} +20 -20
- package/dist/chunks/{command-a84t9kh6.js → formatter-e5rky726.js} +26 -26
- package/dist/chunks/{command-n1r126yv.js → formatter-e6rgf6z7.js} +23 -23
- package/dist/chunks/{command-k62xrt9q.js → formatter-ebhg4tc3.js} +86 -86
- package/dist/chunks/{command-p7xq7ysq.js → formatter-ee62m3wg.js} +17 -17
- package/dist/chunks/{command-5ej7n8k1.js → formatter-eeytvfr7.js} +2 -2
- package/dist/chunks/{command-7hyftc6b.js → formatter-ejv3gkck.js} +4 -4
- package/dist/chunks/{command-tg1vr1qt.js → formatter-enkpkfwx.js} +8 -8
- package/dist/chunks/{command-qk5sk9d1.js → formatter-ep6pe98a.js} +5 -5
- package/dist/chunks/{command-eqw4pqj1.js → formatter-eqw4pqj1.js} +2 -2
- package/dist/chunks/{command-amjjh717.js → formatter-f2zjpyt5.js} +5 -5
- package/dist/chunks/{command-0k0e3yqn.js → formatter-f3ptgqzf.js} +8 -8
- package/dist/chunks/{command-w75qynz4.js → formatter-f80thpwy.js} +6 -6
- package/dist/chunks/{command-6zxqzzmm.js → formatter-f9tc5me5.js} +6 -6
- package/dist/chunks/{command-n9tv4x9v.js → formatter-fck1fraj.js} +8 -8
- package/dist/chunks/{command-fg9p65nk.js → formatter-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-9ahpzkmc.js → formatter-fhwbhm4t.js} +4 -4
- package/dist/chunks/{command-b9qgv8m5.js → formatter-fj2fxy38.js} +8 -8
- package/dist/chunks/{command-mnj5jjmx.js → formatter-fjfab1hg.js} +13 -13
- package/dist/chunks/{command-fnrhryqq.js → formatter-fnrhryqq.js} +1 -1
- package/dist/chunks/{command-32kdnsac.js → formatter-fnyetkmc.js} +7 -7
- package/dist/chunks/{command-z8mdwd44.js → formatter-fpzzg31c.js} +10 -10
- package/dist/chunks/{command-fh8am5dj.js → formatter-fs0w54hj.js} +11 -11
- package/dist/chunks/{command-69b8verm.js → formatter-ftbc3n7f.js} +25 -25
- package/dist/chunks/{command-g5bf500w.js → formatter-ftmc7284.js} +4 -4
- package/dist/chunks/{command-4z0vtj0c.js → formatter-fwh96pc6.js} +43 -43
- package/dist/chunks/{command-e9actfxe.js → formatter-fyef4kah.js} +17 -17
- package/dist/chunks/{command-k9ev0kgm.js → formatter-g1b5nzek.js} +5 -5
- package/dist/chunks/{command-fmbhv8wq.js → formatter-g25zmjdc.js} +11 -11
- package/dist/chunks/{command-b26ddj6h.js → formatter-g4txs7zc.js} +4 -4
- package/dist/chunks/{command-3kcm45zc.js → formatter-g88qm316.js} +10 -10
- package/dist/chunks/{command-gbjdnr5j.js → formatter-gbjdnr5j.js} +2 -2
- package/dist/chunks/{command-ghrv1g9c.js → formatter-ghrv1g9c.js} +1 -1
- package/dist/chunks/{command-wdn6va0d.js → formatter-gs70f3rg.js} +6 -6
- package/dist/chunks/{command-2vqjzyt6.js → formatter-gwh4e7sy.js} +23 -23
- package/dist/chunks/{command-gxnp7ekr.js → formatter-gz50ktfn.js} +14 -14
- package/dist/chunks/{command-j76kcwy4.js → formatter-h1hvzfh9.js} +30 -29
- package/dist/chunks/{command-pxszmvbt.js → formatter-h9cw37xw.js} +13 -13
- package/dist/chunks/{command-gam3p8fy.js → formatter-h9rpx784.js} +29 -29
- package/dist/chunks/{command-8k2mn50d.js → formatter-haksh1nm.js} +12 -12
- package/dist/chunks/{command-hgzwgvze.js → formatter-hgzwgvze.js} +2 -2
- package/dist/chunks/{command-hj0xet7m.js → formatter-hj0xet7m.js} +2 -2
- package/dist/chunks/{command-561wfhxt.js → formatter-hsqbp4e3.js} +21 -21
- package/dist/chunks/{command-9cbnrx2n.js → formatter-hvvf9qw8.js} +6 -6
- package/dist/chunks/{command-6g985hjc.js → formatter-hw7r6q9t.js} +17 -17
- package/dist/chunks/{command-tr8x705m.js → formatter-j376ae4e.js} +5 -5
- package/dist/chunks/{command-9ajzb2kh.js → formatter-j6q8d4x2.js} +8 -8
- package/dist/chunks/{command-rj7j5fvs.js → formatter-jbca85dn.js} +4 -4
- package/dist/chunks/{command-nrvnrvd9.js → formatter-jbgt7846.js} +9 -9
- package/dist/chunks/{command-nc5gqs0z.js → formatter-jj1w0njq.js} +8 -8
- package/dist/chunks/{command-fhgvdm1j.js → formatter-jjp0376k.js} +44 -44
- package/dist/chunks/{command-jm70asfg.js → formatter-jm70asfg.js} +1 -1
- package/dist/chunks/{command-v4gq67p5.js → formatter-jxaybbka.js} +5 -5
- package/dist/chunks/{command-44pmzq9c.js → formatter-jxd6f16v.js} +2 -2
- package/dist/chunks/{command-61dc3kjz.js → formatter-k0e8skg7.js} +27 -27
- package/dist/chunks/{command-4kmavamd.js → formatter-k15h447b.js} +28 -28
- package/dist/chunks/{command-29xnk67d.js → formatter-kfjk2j2t.js} +15 -15
- package/dist/chunks/{command-88n83f38.js → formatter-kjpcdd93.js} +6 -6
- package/dist/chunks/{command-kw06wevc.js → formatter-kmnfk4kb.js} +3 -3
- package/dist/chunks/{command-8ar0836h.js → formatter-knp4g8v8.js} +11 -11
- package/dist/chunks/{command-s0z62q3x.js → formatter-kph8mjwn.js} +11 -11
- package/dist/chunks/{command-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-zxd2y8y4.js → formatter-kw0j7zdf.js} +3 -3
- package/dist/chunks/{command-psy9mywm.js → formatter-kw4np9ag.js} +2 -2
- package/dist/chunks/{command-qe6954ph.js → formatter-kxfy12sm.js} +20 -20
- package/dist/chunks/{command-b15xysde.js → formatter-kybpnnhk.js} +15 -15
- package/dist/chunks/{command-kzczzf4v.js → formatter-kzczzf4v.js} +1 -1
- package/dist/chunks/{command-m1714858.js → formatter-m1714858.js} +1 -1
- package/dist/chunks/{command-m90tx7mw.js → formatter-m90tx7mw.js} +1 -1
- package/dist/chunks/{command-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-mb7mbhnz.js → formatter-mb7mbhnz.js} +3 -3
- package/dist/chunks/{command-chgkwb0j.js → formatter-mfcckmmr.js} +14 -14
- package/dist/chunks/{command-mwnxvxbk.js → formatter-mwnxvxbk.js} +1 -1
- package/dist/chunks/{command-7gqnzgav.js → formatter-n1jv3hnp.js} +19 -19
- package/dist/chunks/{command-03vgrdy6.js → formatter-n4b81h20.js} +4 -4
- package/dist/chunks/{command-6fp9hgrk.js → formatter-n61xnajd.js} +3 -3
- package/dist/chunks/{command-1kresdfv.js → formatter-n6nqkh8e.js} +33 -33
- package/dist/chunks/{command-avrmj142.js → formatter-n6y2yx69.js} +15 -15
- package/dist/chunks/{command-bhfd478d.js → formatter-njx9gg5k.js} +4 -4
- package/dist/chunks/{command-gzkxc65a.js → formatter-nsza2hwd.js} +13 -13
- package/dist/chunks/formatter-nyxvepra.js +35 -0
- package/dist/chunks/{command-66jzz31a.js → formatter-p1qy27ja.js} +55 -55
- package/dist/chunks/{command-ed2rhd70.js → formatter-p2vw66gn.js} +13 -13
- package/dist/chunks/{command-mrc8gdh0.js → formatter-p4s9564z.js} +31 -31
- package/dist/chunks/{command-72n513kv.js → formatter-p9dwe2ys.js} +6 -6
- package/dist/chunks/{command-a84cszaf.js → formatter-pde3h8sb.js} +34 -34
- package/dist/chunks/{command-x4pvyz3p.js → formatter-pevw1m5g.js} +14 -14
- package/dist/chunks/{command-j7hqze2t.js → formatter-pfc82750.js} +10 -10
- package/dist/chunks/{command-jb4gpq25.js → formatter-phkzaw91.js} +6 -6
- package/dist/chunks/{command-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{command-8xd8xvh0.js → formatter-pn8p7g5s.js} +30 -30
- package/dist/chunks/{command-h83e0t1m.js → formatter-ppk2ta81.js} +50 -50
- package/dist/chunks/{command-s349q7p5.js → formatter-ppvn17ey.js} +9 -9
- package/dist/chunks/{command-gs317ewe.js → formatter-pt2ev3mw.js} +10 -10
- package/dist/chunks/{command-7a35fjb6.js → formatter-pxfvz1hx.js} +8 -8
- package/dist/chunks/{command-rjdz0je4.js → formatter-pz2ne4az.js} +15 -15
- package/dist/chunks/{command-grmaj3s8.js → formatter-q08apbdq.js} +16 -16
- package/dist/chunks/{command-4e22apbf.js → formatter-q929d8mh.js} +6 -6
- package/dist/chunks/{command-pdn7768w.js → formatter-q963thn8.js} +4 -4
- package/dist/chunks/{command-gx70bdw1.js → formatter-qbqg5kvw.js} +22 -22
- package/dist/chunks/{command-8esf06c6.js → formatter-qfdvj3xm.js} +11 -11
- package/dist/chunks/{command-qq8nxmq8.js → formatter-qkn1vdbd.js} +5 -5
- package/dist/chunks/{command-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-3nxcgjv6.js → formatter-qrjwc0ab.js} +30 -30
- package/dist/chunks/{command-qy94z0q3.js → formatter-qy94z0q3.js} +3 -3
- package/dist/chunks/{command-3em2z4he.js → formatter-qycm87ym.js} +5 -5
- package/dist/chunks/{command-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-55bcys5k.js → formatter-rbvnf4ks.js} +23 -23
- package/dist/chunks/{command-c65w1jkd.js → formatter-re955109.js} +7 -7
- package/dist/chunks/{command-rgc9cx3e.js → formatter-rgc9cx3e.js} +2 -2
- package/dist/chunks/formatter-rnatn0se.js +273 -0
- package/dist/chunks/{command-br85n61x.js → formatter-rp6t20zc.js} +9 -9
- package/dist/chunks/{command-prnegb22.js → formatter-rvy75j9f.js} +8 -8
- package/dist/chunks/{command-99x81fn2.js → formatter-rwt90xdw.js} +17 -22
- package/dist/chunks/{command-mcabtfgp.js → formatter-rxptv60e.js} +5 -5
- package/dist/chunks/{command-90ct6wq4.js → formatter-rzg6y5rp.js} +4 -4
- package/dist/chunks/{command-2p60zmnr.js → formatter-s1ba0vj0.js} +2 -2
- package/dist/chunks/{command-38hffzgp.js → formatter-s31xv9rs.js} +40 -40
- package/dist/chunks/{command-wfpw9855.js → formatter-s5m9z68j.js} +25 -25
- package/dist/chunks/{command-jz1q4zsd.js → formatter-s9mjx3f0.js} +21 -21
- package/dist/chunks/{command-1p4vhnrh.js → formatter-saqprc7x.js} +5 -5
- package/dist/chunks/{command-sbya78hr.js → formatter-sbya78hr.js} +1 -1
- package/dist/chunks/{command-491c9q92.js → formatter-smwgzt6b.js} +4 -4
- package/dist/chunks/{command-v12yjajt.js → formatter-ssjd5cby.js} +13 -13
- package/dist/chunks/{command-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-gx76kxxn.js → formatter-swaacjqy.js} +11 -11
- package/dist/chunks/{command-scmk72rv.js → formatter-t8erkws8.js} +5 -5
- package/dist/chunks/{command-hdsvjrkq.js → formatter-tay08eyj.js} +12 -12
- package/dist/chunks/{command-tbpn7jtk.js → formatter-tbpn7jtk.js} +1 -1
- package/dist/chunks/{command-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-j63q17en.js → formatter-te4ym9cz.js} +41 -41
- package/dist/chunks/{command-tg7s7b5t.js → formatter-tg7s7b5t.js} +1 -1
- package/dist/chunks/{command-29avq3cp.js → formatter-tmxr2s7a.js} +8 -8
- package/dist/chunks/{command-g6cytcga.js → formatter-tpjmrfc6.js} +16 -16
- package/dist/chunks/{command-q5db7jz2.js → formatter-tsm0w78m.js} +11 -11
- package/dist/chunks/{command-tvtps2q9.js → formatter-tvtps2q9.js} +1 -1
- package/dist/chunks/{command-twssxy5n.js → formatter-twssxy5n.js} +2 -2
- package/dist/chunks/{command-ntyam5cy.js → formatter-v02hya04.js} +26 -26
- package/dist/chunks/{command-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-88vr49vm.js → formatter-v37bc009.js} +3 -3
- package/dist/chunks/{command-wbwc7xrx.js → formatter-v3c2n8v6.js} +25 -25
- package/dist/chunks/{command-dfz60nj9.js → formatter-v62q6mjx.js} +18 -18
- package/dist/chunks/{command-p1ea0emk.js → formatter-v840bdta.js} +6 -6
- package/dist/chunks/{command-2m935wwe.js → formatter-vfrym1mm.js} +36 -36
- package/dist/chunks/{command-b1bejxds.js → formatter-vg2ks647.js} +13 -13
- package/dist/chunks/{command-z4z67x7v.js → formatter-vh2m3kqm.js} +36 -36
- package/dist/chunks/{command-5c8k4hxw.js → formatter-vhe13esa.js} +30 -30
- package/dist/chunks/{command-vjf35v1f.js → formatter-vjf35v1f.js} +1 -1
- package/dist/chunks/{command-maqcfgk7.js → formatter-vm5ant4y.js} +19 -19
- package/dist/chunks/{command-xn4a5x1q.js → formatter-vpa8zgt8.js} +31 -31
- package/dist/chunks/{command-4dwjnmct.js → formatter-vsb4jc51.js} +11 -11
- package/dist/chunks/{command-x7de2wha.js → formatter-vt4r9rmy.js} +9 -9
- package/dist/chunks/{command-hs4st8jg.js → formatter-vwjkfnk2.js} +5 -5
- package/dist/chunks/{command-w2eysc6j.js → formatter-w2eysc6j.js} +2 -2
- package/dist/chunks/{command-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{command-wegkxhrn.js → formatter-wegkxhrn.js} +2 -2
- package/dist/chunks/{command-n2ah2rkn.js → formatter-wp9rabm0.js} +13 -13
- package/dist/chunks/{command-w687dnns.js → formatter-wr3re1en.js} +4 -4
- package/dist/chunks/{command-wf5xbgyh.js → formatter-wx6nv8fq.js} +7 -7
- package/dist/chunks/{command-vntcsxyj.js → formatter-x061st40.js} +10 -10
- package/dist/chunks/{command-jgvrj005.js → formatter-x1rh6vcx.js} +5 -5
- package/dist/chunks/{command-jb6z6a30.js → formatter-x2w3vhab.js} +10 -10
- package/dist/chunks/{command-4gatbntd.js → formatter-xd7ffwxg.js} +12 -12
- package/dist/chunks/{command-x713kxbr.js → formatter-xe53826y.js} +13 -13
- package/dist/chunks/{command-4xzzce0f.js → formatter-xpr07rag.js} +29 -29
- package/dist/chunks/{command-xxschbft.js → formatter-xxschbft.js} +1 -1
- package/dist/chunks/{command-2z6qaazc.js → formatter-xy9mx054.js} +44 -44
- package/dist/chunks/{command-mb36n99k.js → formatter-xyc15gmq.js} +49 -49
- package/dist/chunks/{command-kmekj7m2.js → formatter-xz07m27x.js} +4 -4
- package/dist/chunks/{command-9zc2sd1y.js → formatter-ya6jhd7d.js} +26 -26
- package/dist/chunks/{command-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-akvkwv3r.js → formatter-ymhcxh1d.js} +93 -93
- package/dist/chunks/{command-yr705xyq.js → formatter-yr705xyq.js} +1 -1
- package/dist/chunks/{command-yvtc2x31.js → formatter-yvtc2x31.js} +1 -1
- package/dist/chunks/{command-z0wbgq7s.js → formatter-z0wbgq7s.js} +1 -1
- package/dist/chunks/formatter-z7bdqmx5.js +18 -0
- package/dist/chunks/{command-jvc6ajf5.js → formatter-z8adrwbe.js} +4 -4
- package/dist/chunks/{command-vspq6nrc.js → formatter-zb0mnwnv.js} +83 -83
- package/dist/chunks/{command-gab8rwnv.js → formatter-zbj23qj9.js} +11 -11
- package/dist/chunks/{command-j9nxzz3g.js → formatter-ze75qvmd.js} +3 -3
- package/dist/chunks/{command-wsqqgvdy.js → formatter-zhh3ssa0.js} +7 -7
- package/dist/chunks/{command-s2rmzza2.js → formatter-zjks91hc.js} +24 -24
- package/dist/chunks/{command-epnvf3pb.js → formatter-zpkeqzrx.js} +20 -20
- package/dist/chunks/{command-7y2jw3ee.js → formatter-zpw8n7tm.js} +12 -12
- package/dist/chunks/{command-jd3pkr7r.js → formatter-zqp0bxw0.js} +16 -16
- package/dist/chunks/{command-d44wfkmg.js → formatter-zqzpkhyt.js} +15 -15
- package/dist/chunks/{command-s9kd1pfb.js → formatter-zr79126c.js} +32 -32
- package/dist/chunks/{command-ee2b5eh8.js → formatter-ztbesdks.js} +198 -198
- package/dist/chunks/{command-fyfcjg2j.js → formatter-ztwsqh7x.js} +9 -9
- package/dist/chunks/{command-angwvatz.js → formatter-zv324z0d.js} +8 -8
- package/dist/chunks/{command-0ht5pcpg.js → formatter-zwmrnfgc.js} +22 -22
- package/dist/chunks/{command-963hk181.js → formatter-zyfhsknv.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +10 -10
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +260 -260
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +132 -132
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +115 -115
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +4 -4
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +153 -153
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +114 -114
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +260 -260
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +113 -113
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +97 -97
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +272 -272
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +170 -170
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +148 -148
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +194 -194
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +175 -175
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +257 -257
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +163 -163
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +247 -247
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +95 -95
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/command-4spk3jf8.js +0 -273
- package/dist/chunks/command-69588b63.js +0 -35
- package/dist/chunks/command-ezna1kdx.js +0 -18
- package/dist/chunks/command-f2dgq8fn.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kah00gy.js → formatter-1kah00gy.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4qk9sjk2.js → formatter-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6agm2x70.js → formatter-6agm2x70.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-7rvsyqjv.js → formatter-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9ceax7yg.js → formatter-9ceax7yg.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-ade8csyh.js → formatter-ade8csyh.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → formatter-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-ean2d8b5.js → formatter-ean2d8b5.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → formatter-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-syrav9an.js → formatter-syrav9an.js} +0 -0
- /package/dist/chunks/{command-t03h4f5z.js → formatter-t03h4f5z.js} +0 -0
- /package/dist/chunks/{command-ty7weeps.js → formatter-ty7weeps.js} +0 -0
- /package/dist/chunks/{command-v2dnd5dt.js → formatter-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-vtarvj67.js → formatter-vtarvj67.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x4th4bpe.js → formatter-x4th4bpe.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → formatter-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zxpyjp51.js → formatter-zxpyjp51.js} +0 -0
- /package/dist/chunks/{command-zz5vv3aq.js → formatter-zz5vv3aq.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-mwnxvxbk.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./formatter-1y4446k4.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input13,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
25
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin18,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description6,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name13
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
38
|
+
var name13 = "webfetch";
|
|
39
39
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description6 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input13 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input9 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input13.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin18 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service68;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name13,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description6,
|
|
131
|
+
input: Input13,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin14 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name13,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin14 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name13,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name13, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input13, MAX_REDIRECTS2, Plugin18, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-fhwbhm4t.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-2ytp0tvq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service93,
|
|
10
10
|
node95
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-18w9amv2.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-mb7mbhnz.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./formatter-999eq5wg.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./formatter-g88qm316.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./formatter-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service39,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -60,12 +60,12 @@ __export(exports_inbox, {
|
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
62
|
layer: () => layer19,
|
|
63
|
-
list: () =>
|
|
63
|
+
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
65
|
make: () => make28,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node41,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -184,7 +184,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service39 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
189
|
var make28 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service94;
|
|
@@ -226,7 +226,7 @@ var make28 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
226
226
|
}
|
|
227
227
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
228
228
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
229
|
-
const pending = (yield*
|
|
229
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
230
230
|
if (pending)
|
|
231
231
|
return pending;
|
|
232
232
|
return yield* admit({
|
|
@@ -251,7 +251,7 @@ var make28 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
251
251
|
delivery: "queue"
|
|
252
252
|
})));
|
|
253
253
|
return {
|
|
254
|
-
list: (sessionID) =>
|
|
254
|
+
list: (sessionID) => list3(db, sessionID),
|
|
255
255
|
reconcile,
|
|
256
256
|
admit,
|
|
257
257
|
admitCompaction,
|
|
@@ -260,8 +260,8 @@ var make28 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var layer19 = Layer.effect(
|
|
264
|
-
var
|
|
263
|
+
var layer19 = Layer.effect(Service39, make28());
|
|
264
|
+
var node41 = makeGlobalNode({ service: Service39, layer: layer19, deps: [node96, node95] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -310,7 +310,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
310
310
|
to: input.delivery
|
|
311
311
|
}));
|
|
312
312
|
var listRows = (db, sessionID) => db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
313
|
-
var
|
|
313
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
314
314
|
return (yield* hydrateInbox2(db, yield* listRows(db, sessionID))).map(fromRow);
|
|
315
315
|
});
|
|
316
316
|
var listWithRefs2 = Effect.fn("SessionInbox.listWithRefs")(function* (db, sessionID) {
|
|
@@ -388,4 +388,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
388
388
|
return rows;
|
|
389
389
|
}));
|
|
390
390
|
|
|
391
|
-
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2,
|
|
391
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make28, layer19, node41, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-v37bc009.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt2 = {};
|
|
7
7
|
__export(exports_system_prompt2, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt2,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make26,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
13
13
|
var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
@@ -28,10 +28,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function make26(tools) {
|
|
32
|
+
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function render3(prompt, tools) {
|
|
35
35
|
const instructions = [];
|
|
36
36
|
if (tools.includes("shell")) {
|
|
37
37
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -46,4 +46,4 @@ function render2(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make26, render3, exports_system_prompt2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-x4th4bpe.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/util/record";
|
|
9
|
-
function
|
|
9
|
+
function make4(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make4 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-18w9amv2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Ref4,
|
|
7
|
+
Service87,
|
|
8
|
+
node89
|
|
9
|
+
} from "./formatter-hw7r6q9t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service53,
|
|
12
|
+
node55
|
|
13
|
+
} from "./formatter-4rz36ceb.js";
|
|
14
14
|
import {
|
|
15
15
|
cleanup3
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-tczq8hjw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service63,
|
|
19
19
|
args2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node66
|
|
21
|
+
} from "./formatter-vm5ant4y.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
23
|
+
Service62,
|
|
24
|
+
node65,
|
|
25
|
+
available4
|
|
26
|
+
} from "./formatter-vhe13esa.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node73
|
|
30
|
+
} from "./formatter-d34c0f98.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service44,
|
|
33
|
+
node46
|
|
34
|
+
} from "./formatter-bmw1c1w2.js";
|
|
35
35
|
import {
|
|
36
36
|
SessionSchema2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./formatter-v37bc009.js";
|
|
38
38
|
import {
|
|
39
39
|
latest2,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service74,
|
|
41
|
+
node76
|
|
42
|
+
} from "./formatter-ppk2ta81.js";
|
|
43
43
|
import {
|
|
44
44
|
MAX_LINES2,
|
|
45
45
|
MAX_BYTES2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./formatter-kph8mjwn.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./formatter-9rqn6x4v.js";
|
|
50
50
|
|
|
51
51
|
// src/shell.ts
|
|
52
52
|
var exports_shell4 = {};
|
|
53
53
|
__export(exports_shell4, {
|
|
54
54
|
DIRECTORY: () => DIRECTORY2,
|
|
55
55
|
Daemon: () => Daemon2,
|
|
56
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError7,
|
|
57
57
|
RETENTION: () => RETENTION2,
|
|
58
|
-
Service: () =>
|
|
58
|
+
Service: () => Service43,
|
|
59
59
|
Shell: () => exports_shell4,
|
|
60
60
|
ToolCall: () => ToolCall2,
|
|
61
61
|
cleanup: () => cleanup2,
|
|
62
62
|
daemonNode: () => daemonNode2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node45
|
|
64
64
|
});
|
|
65
65
|
import path from "path";
|
|
66
66
|
import {
|
|
@@ -84,8 +84,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
84
84
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
85
85
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
86
86
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
87
|
+
import { TextBoundary } from "@opencode/util/text-boundary";
|
|
87
88
|
import { Global } from "@opencode/util/global";
|
|
88
|
-
class
|
|
89
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
89
90
|
id: Shell.ID
|
|
90
91
|
}) {
|
|
91
92
|
}
|
|
@@ -114,12 +115,12 @@ var Stored = Schema.Struct({
|
|
|
114
115
|
});
|
|
115
116
|
var decodeStored = Schema.decodeUnknownOption(Stored);
|
|
116
117
|
|
|
117
|
-
class
|
|
118
|
+
class Service43 extends Context.Service()("@opencode/Shell") {
|
|
118
119
|
}
|
|
119
120
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
120
121
|
const fs = yield* FSUtil.Service;
|
|
121
122
|
const global = yield* Global.Service;
|
|
122
|
-
const pty = yield*
|
|
123
|
+
const pty = yield* Service62;
|
|
123
124
|
const directory = path.join(global.data, DIRECTORY2);
|
|
124
125
|
const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
|
|
125
126
|
const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
|
|
@@ -139,14 +140,14 @@ var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.sp
|
|
|
139
140
|
var cleanupNode = makeGlobalNode({
|
|
140
141
|
name: "shell-output-cleanup",
|
|
141
142
|
layer: cleanupLayer,
|
|
142
|
-
deps: [FSUtil.node, Global.node,
|
|
143
|
+
deps: [FSUtil.node, Global.node, node65]
|
|
143
144
|
});
|
|
144
145
|
|
|
145
146
|
class Daemon2 extends Context.Service()("@opencode/Shell/Daemon") {
|
|
146
147
|
}
|
|
147
148
|
var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
148
149
|
const bus = yield* Service93;
|
|
149
|
-
const pty = yield*
|
|
150
|
+
const pty = yield* Service62;
|
|
150
151
|
const scope = yield* Effect.scope;
|
|
151
152
|
const context = yield* Effect.context();
|
|
152
153
|
const global = yield* Global.Service;
|
|
@@ -156,7 +157,7 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
156
157
|
const place = (location) => {
|
|
157
158
|
const runs = new Map;
|
|
158
159
|
const exitOrder = [];
|
|
159
|
-
const ref =
|
|
160
|
+
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
160
161
|
const outputDir = path.join(global.data, DIRECTORY2, location.project.id);
|
|
161
162
|
const persisted = (run) => ({
|
|
162
163
|
id: run.info.id,
|
|
@@ -188,7 +189,7 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
188
189
|
yield* Fiber.interrupt(run.wait);
|
|
189
190
|
yield* pty.terminatePipe(run.process).pipe(Effect.ignore);
|
|
190
191
|
yield* Effect.promise(() => unlink(run.info.file).catch(() => {}));
|
|
191
|
-
yield* Deferred.fail(run.done, new
|
|
192
|
+
yield* Deferred.fail(run.done, new NotFoundError7({ id }));
|
|
192
193
|
if (run.info.status === "running")
|
|
193
194
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" }, { location: ref });
|
|
194
195
|
yield* bus.publish(Shell.Event.Deleted, { id }, { location: ref });
|
|
@@ -381,23 +382,23 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
381
382
|
var daemonNode2 = makeGlobalNode({
|
|
382
383
|
service: Daemon2,
|
|
383
384
|
layer: daemonLayer,
|
|
384
|
-
deps: [node95, Global.node,
|
|
385
|
+
deps: [node95, Global.node, node65]
|
|
385
386
|
});
|
|
386
|
-
var layer = () => Layer.effect(
|
|
387
|
+
var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
387
388
|
const bus = yield* Service93;
|
|
388
|
-
const location = yield*
|
|
389
|
+
const location = yield* Service87;
|
|
389
390
|
const global = yield* Global.Service;
|
|
390
|
-
const shell = yield*
|
|
391
|
-
const environment = yield*
|
|
392
|
-
const hooks = yield*
|
|
393
|
-
const environments = yield*
|
|
394
|
-
const config = yield*
|
|
391
|
+
const shell = yield* Service63;
|
|
392
|
+
const environment = yield* Service53;
|
|
393
|
+
const hooks = yield* Service71;
|
|
394
|
+
const environments = yield* Service44;
|
|
395
|
+
const config = yield* Service74;
|
|
395
396
|
const daemon = yield* Daemon2;
|
|
396
397
|
const context = yield* Effect.context();
|
|
397
398
|
const runFork = Effect.runForkWith(context);
|
|
398
399
|
const commands = new Map;
|
|
399
400
|
const exitOrder = [];
|
|
400
|
-
const runs = location.workspaceID === undefined &&
|
|
401
|
+
const runs = location.workspaceID === undefined && available4 ? yield* daemon.at(location) : undefined;
|
|
401
402
|
const outputDir = path.join(global.data, DIRECTORY2, location.project.id);
|
|
402
403
|
const { mkdir, unlink, stat } = yield* Effect.promise(() => import("fs/promises"));
|
|
403
404
|
const { createWriteStream, createReadStream } = yield* Effect.promise(() => import("fs"));
|
|
@@ -414,7 +415,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
414
415
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
415
416
|
const command = commands.get(id) ?? runs?.get(id);
|
|
416
417
|
if (!command)
|
|
417
|
-
return yield* new
|
|
418
|
+
return yield* new NotFoundError7({ id });
|
|
418
419
|
return command;
|
|
419
420
|
});
|
|
420
421
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -427,7 +428,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
427
428
|
commands.delete(id);
|
|
428
429
|
if (command.timeoutFiber)
|
|
429
430
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
430
|
-
yield* Deferred.fail(command.done, new
|
|
431
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
431
432
|
yield* Effect.promise(() => unlink(command.info.file).catch(() => {}));
|
|
432
433
|
if (command.info.status === "running")
|
|
433
434
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -549,7 +550,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
549
550
|
const start = Math.max(0, size - maxBytes);
|
|
550
551
|
const before = Math.max(0, start - 1);
|
|
551
552
|
const window = yield* readRange(info.file, before, size - before);
|
|
552
|
-
const page =
|
|
553
|
+
const page = TextBoundary.utf8Tail(window, size - start);
|
|
553
554
|
const partial = start > 0 && window[0] !== 10;
|
|
554
555
|
const endsWithNewline = page.endsWith(`
|
|
555
556
|
`);
|
|
@@ -757,7 +758,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
757
758
|
const command = yield* Deferred.await(ready);
|
|
758
759
|
return command.info;
|
|
759
760
|
});
|
|
760
|
-
return
|
|
761
|
+
return Service43.of({
|
|
761
762
|
create,
|
|
762
763
|
list,
|
|
763
764
|
get,
|
|
@@ -788,32 +789,25 @@ function spanCommand(command) {
|
|
|
788
789
|
return command.toWellFormed();
|
|
789
790
|
return `${command.slice(0, SPAN_COMMAND_LIMIT).toWellFormed()}…`;
|
|
790
791
|
}
|
|
791
|
-
function charBoundary(bytes, offset) {
|
|
792
|
-
const limit = Math.min(bytes.length, offset + 3);
|
|
793
|
-
for (let index = offset;index < limit; index++)
|
|
794
|
-
if ((bytes[index] & 192) !== 128)
|
|
795
|
-
return index;
|
|
796
|
-
return limit;
|
|
797
|
-
}
|
|
798
792
|
function formatSize(bytes) {
|
|
799
793
|
const kb = bytes / 1024;
|
|
800
794
|
return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
|
|
801
795
|
}
|
|
802
|
-
var
|
|
803
|
-
service:
|
|
796
|
+
var node45 = makeLocationNode({
|
|
797
|
+
service: Service43,
|
|
804
798
|
layer: layer(),
|
|
805
799
|
deps: [
|
|
806
800
|
node95,
|
|
807
|
-
|
|
801
|
+
node89,
|
|
808
802
|
Global.node,
|
|
809
|
-
node91,
|
|
810
|
-
node71,
|
|
811
803
|
node66,
|
|
812
|
-
|
|
813
|
-
|
|
804
|
+
node55,
|
|
805
|
+
node73,
|
|
806
|
+
node46,
|
|
807
|
+
node76,
|
|
814
808
|
daemonNode2,
|
|
815
809
|
cleanupNode
|
|
816
810
|
]
|
|
817
811
|
});
|
|
818
812
|
|
|
819
|
-
export {
|
|
813
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, ToolCall2, Service43, cleanup2, Daemon2, daemonNode2, node45, exports_shell4 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|