@opencode/core 0.0.0-dev-1292 → 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 +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +9 -9
- package/dist/artifact.js +258 -258
- package/dist/bus.js +80 -80
- package/dist/chunks/{plugin-034tev2y.js → formatter-034tev2y.js} +2 -2
- package/dist/chunks/{plugin-c87agcqt.js → formatter-09cv1hcq.js} +17 -17
- package/dist/chunks/{plugin-fxx2w5eh.js → formatter-0b9dpcqh.js} +20 -20
- package/dist/chunks/{plugin-p7nw0k3v.js → formatter-0f98ft02.js} +40 -40
- package/dist/chunks/{plugin-0fvxehme.js → formatter-0fvxehme.js} +2 -2
- package/dist/chunks/{plugin-0609hzj9.js → formatter-0jk88157.js} +16 -16
- package/dist/chunks/{plugin-51bn2edm.js → formatter-0p8fz9ey.js} +25 -25
- package/dist/chunks/{plugin-r7tat47q.js → formatter-0r5j1y1x.js} +10 -10
- package/dist/chunks/{plugin-0yqqtqxy.js → formatter-0rdrv6c4.js} +9 -9
- package/dist/chunks/{plugin-89emqc8b.js → formatter-1065azbp.js} +8 -8
- package/dist/chunks/{plugin-0w27011v.js → formatter-107n4kdg.js} +49 -49
- package/dist/chunks/{plugin-jjst9jfk.js → formatter-10veb3z3.js} +5 -5
- package/dist/chunks/{plugin-v9bjzsvh.js → formatter-18w9amv2.js} +4 -4
- package/dist/chunks/{plugin-jygffn0g.js → formatter-19ah3epb.js} +5 -5
- package/dist/chunks/{plugin-d3erfjeh.js → formatter-19cz2mh9.js} +31 -31
- package/dist/chunks/{plugin-r9v3swbt.js → formatter-1afk09fq.js} +11 -11
- package/dist/chunks/{plugin-1aqsckx4.js → formatter-1aqsckx4.js} +1 -1
- package/dist/chunks/{plugin-maxn6ge4.js → formatter-1cnk63hp.js} +8 -8
- package/dist/chunks/{plugin-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
- package/dist/chunks/{plugin-8q7j3fm3.js → formatter-1m5xsna8.js} +24 -24
- package/dist/chunks/{plugin-adsn3xcr.js → formatter-1rtj8tn6.js} +5 -5
- package/dist/chunks/{plugin-y1mhp724.js → formatter-1twmh811.js} +17 -17
- package/dist/chunks/{plugin-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
- package/dist/chunks/{plugin-e1bqac62.js → formatter-1y4446k4.js} +38 -38
- package/dist/chunks/{plugin-1yq9hg58.js → formatter-1yq9hg58.js} +1 -1
- package/dist/chunks/{plugin-qcd60252.js → formatter-26g5dw0a.js} +18 -18
- package/dist/chunks/{plugin-sss7hgn8.js → formatter-284qbwak.js} +37 -37
- package/dist/chunks/{plugin-0ycrpty4.js → formatter-2bvj0tyw.js} +21 -21
- package/dist/chunks/{plugin-2fc7eemy.js → formatter-2fc7eemy.js} +1 -1
- package/dist/chunks/{plugin-v0t96s7a.js → formatter-2kg89srt.js} +4 -4
- package/dist/chunks/{plugin-2prt43t7.js → formatter-2prt43t7.js} +1 -1
- package/dist/chunks/{plugin-wt0g9zcg.js → formatter-2q7w2n5y.js} +20 -20
- package/dist/chunks/{plugin-7kwwkjnm.js → formatter-2t6bt9cz.js} +26 -26
- package/dist/chunks/{plugin-r8z129bg.js → formatter-2yn2tdym.js} +64 -64
- package/dist/chunks/{plugin-s47rahr7.js → formatter-2ytp0tvq.js} +4 -4
- package/dist/chunks/{plugin-6wzv0ef4.js → formatter-2z7m33tr.js} +6 -6
- package/dist/chunks/{plugin-kjhv4y2j.js → formatter-367yzc22.js} +376 -376
- package/dist/chunks/{plugin-92mrref1.js → formatter-36veeb2h.js} +11 -11
- package/dist/chunks/{plugin-ss6cpaky.js → formatter-3aystt2y.js} +4 -4
- package/dist/chunks/{plugin-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-ek1f49yw.js → formatter-3k1xqshc.js} +5 -5
- package/dist/chunks/{plugin-57rprq0n.js → formatter-3m4fz3hb.js} +10 -10
- package/dist/chunks/{plugin-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
- package/dist/chunks/{plugin-y00x4xpa.js → formatter-3p57dcxh.js} +4 -4
- package/dist/chunks/{plugin-zw6d6ftc.js → formatter-3qhreq2y.js} +4 -4
- package/dist/chunks/{plugin-cpvd08na.js → formatter-3ryz99p0.js} +4 -4
- package/dist/chunks/{plugin-40y6dtc2.js → formatter-40y6dtc2.js} +1 -1
- package/dist/chunks/{plugin-2fwmaymh.js → formatter-472kcb6j.js} +4 -4
- package/dist/chunks/{plugin-m4p4r8nc.js → formatter-4dfqsw0d.js} +4 -4
- package/dist/chunks/{plugin-4dx1dgte.js → formatter-4dx1dgte.js} +1 -1
- package/dist/chunks/{plugin-4f25tdd0.js → formatter-4f25tdd0.js} +1 -1
- package/dist/chunks/{plugin-5vsrwayn.js → formatter-4nr20r5b.js} +36 -36
- package/dist/chunks/{plugin-75g5my13.js → formatter-4r37kn7a.js} +32 -32
- package/dist/chunks/{plugin-qhcwze05.js → formatter-4rz36ceb.js} +20 -20
- package/dist/chunks/{plugin-4v008n1t.js → formatter-4v008n1t.js} +1 -1
- package/dist/chunks/{plugin-7bw8rdqb.js → formatter-514vvw19.js} +1 -1
- package/dist/chunks/{plugin-kh0hrg97.js → formatter-5c0ay57s.js} +4 -4
- package/dist/chunks/{plugin-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-wtcx83g7.js → formatter-5nvn3v8n.js} +29 -19
- package/dist/chunks/{plugin-q236cww0.js → formatter-5tda77qk.js} +17 -17
- package/dist/chunks/{plugin-ybws1qgk.js → formatter-5wyjxme5.js} +7 -7
- package/dist/chunks/{plugin-jw6ekc69.js → formatter-5xbqvg7k.js} +24 -24
- package/dist/chunks/{plugin-3tt6s45g.js → formatter-633zrvc0.js} +9 -9
- package/dist/chunks/{plugin-tj6g9xqy.js → formatter-66r11b12.js} +9 -9
- package/dist/chunks/{plugin-nq8wb5wy.js → formatter-67s9kfqp.js} +31 -31
- package/dist/chunks/{plugin-vjrrzgd0.js → formatter-681reqgc.js} +8 -8
- package/dist/chunks/{plugin-qfz6bxfd.js → formatter-69rarv6g.js} +4 -4
- package/dist/chunks/{plugin-x9mwx3ft.js → formatter-6d0ke9pc.js} +7 -7
- package/dist/chunks/{plugin-bz64fk4v.js → formatter-6ftp030z.js} +20 -20
- package/dist/chunks/{plugin-p6g8wmp3.js → formatter-6mqmmy5j.js} +46 -46
- package/dist/chunks/{plugin-8h2wbacs.js → formatter-6phyd5m2.js} +15 -15
- package/dist/chunks/{plugin-fczwgtym.js → formatter-6s29sep7.js} +25 -25
- package/dist/chunks/{plugin-cg0zckwz.js → formatter-6s9a3p6j.js} +26 -26
- package/dist/chunks/{plugin-4awjamkd.js → formatter-6sg7v011.js} +2 -2
- package/dist/chunks/{plugin-vwcz1f45.js → formatter-6y2b864j.js} +7 -7
- package/dist/chunks/{plugin-8bcc8xgx.js → formatter-73ff1310.js} +3 -3
- package/dist/chunks/{plugin-d6k65kk8.js → formatter-75a2gs08.js} +1 -1
- package/dist/chunks/{plugin-s2wc454v.js → formatter-75nm06f1.js} +59 -65
- package/dist/chunks/{plugin-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-9wejywb3.js → formatter-7ha2pc0m.js} +21 -21
- package/dist/chunks/{plugin-7tx5zndv.js → formatter-7tx5zndv.js} +2 -2
- package/dist/chunks/{plugin-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
- package/dist/chunks/{plugin-7weczvnd.js → formatter-7weczvnd.js} +1 -1
- package/dist/chunks/{plugin-3qgwywyc.js → formatter-7zs4mqwf.js} +4 -4
- package/dist/chunks/{plugin-775hqbnd.js → formatter-80mg3ag8.js} +3 -3
- package/dist/chunks/{plugin-80pdk984.js → formatter-80pdk984.js} +1 -1
- package/dist/chunks/{plugin-85jq8dht.js → formatter-85jq8dht.js} +1 -1
- package/dist/chunks/{plugin-c644s9pr.js → formatter-875etveh.js} +7 -7
- package/dist/chunks/{plugin-jkcf38he.js → formatter-87yq9eva.js} +25 -25
- package/dist/chunks/{plugin-k0tnn256.js → formatter-88vzj3a4.js} +3 -3
- package/dist/chunks/{plugin-e2e0ddf0.js → formatter-89wqeg04.js} +6 -6
- package/dist/chunks/{plugin-8b3vzgkx.js → formatter-8b3vzgkx.js} +1 -1
- package/dist/chunks/{plugin-rfvpwrc5.js → formatter-8er0ykh9.js} +34 -34
- package/dist/chunks/{plugin-6j769ent.js → formatter-8faq9twa.js} +16 -16
- package/dist/chunks/{plugin-b60n2ew4.js → formatter-8frvfs4e.js} +44 -44
- package/dist/chunks/{plugin-bp5ayng6.js → formatter-8gc9kz7m.js} +35 -34
- package/dist/chunks/{plugin-8kjyvwy5.js → formatter-8kjyvwy5.js} +1 -1
- package/dist/chunks/{plugin-anwwcbf2.js → formatter-8p9429cg.js} +45 -36
- package/dist/chunks/{plugin-8sxe6kv8.js → formatter-8sxe6kv8.js} +2 -2
- package/dist/chunks/{plugin-wwdayeda.js → formatter-8vnqf0b3.js} +19 -19
- package/dist/chunks/{plugin-kqfzafrz.js → formatter-8wdnmp4h.js} +40 -40
- package/dist/chunks/{plugin-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
- package/dist/chunks/{plugin-qqvf7dye.js → formatter-8ye65hwy.js} +15 -15
- package/dist/chunks/{plugin-8zv0xmg5.js → formatter-8zv0xmg5.js} +1 -1
- package/dist/chunks/{plugin-pt2z6tm2.js → formatter-90fyndgx.js} +28 -28
- package/dist/chunks/{plugin-fk6wt8n2.js → formatter-97yxev1x.js} +7 -7
- package/dist/chunks/{plugin-g71pxyed.js → formatter-98m3s5a8.js} +20 -20
- package/dist/chunks/{plugin-m86czt1w.js → formatter-999eq5wg.js} +7 -7
- package/dist/chunks/{plugin-5fsny0qh.js → formatter-9efj75yn.js} +42 -42
- package/dist/chunks/{plugin-p5hbwp86.js → formatter-9gdt4sfh.js} +21 -21
- package/dist/chunks/{plugin-yd3w860h.js → formatter-9j79xsdn.js} +6 -6
- package/dist/chunks/{plugin-yd51zprz.js → formatter-9kkht3bz.js} +35 -35
- package/dist/chunks/{plugin-60ghzrka.js → formatter-9mz9bkgy.js} +9 -9
- package/dist/chunks/{plugin-rj7jtxy8.js → formatter-9zfcngb4.js} +3 -3
- package/dist/chunks/{plugin-ptgwyg0g.js → formatter-a0rh3gnp.js} +16 -16
- package/dist/chunks/{plugin-v2jmyar3.js → formatter-a18qm98g.js} +18 -18
- package/dist/chunks/{plugin-btw382nf.js → formatter-a6f3a7w7.js} +12 -12
- package/dist/chunks/{plugin-1jzy9c7a.js → formatter-a9770cg9.js} +26 -26
- package/dist/chunks/{plugin-nqsybqfb.js → formatter-astymy2y.js} +23 -23
- package/dist/chunks/{plugin-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
- package/dist/chunks/{plugin-fcrd7kek.js → formatter-azqdag7d.js} +4 -4
- package/dist/chunks/{plugin-sky834ym.js → formatter-b1t3h42q.js} +29 -29
- package/dist/chunks/formatter-b5696b0c.js +26 -0
- package/dist/chunks/{plugin-a24v1jhk.js → formatter-b9t4mw29.js} +18 -18
- package/dist/chunks/{plugin-7zeqjkdp.js → formatter-bc6vcyc2.js} +22 -22
- package/dist/chunks/{plugin-897e8p9s.js → formatter-be3cmm3y.js} +59 -59
- package/dist/chunks/{plugin-vwmbgv7p.js → formatter-bes4ktrd.js} +5 -5
- package/dist/chunks/{plugin-ye35bnfh.js → formatter-bkfnmamh.js} +34 -34
- package/dist/chunks/{plugin-regmrg71.js → formatter-bm49bgmn.js} +23 -23
- package/dist/chunks/{plugin-4medx3yc.js → formatter-bmw1c1w2.js} +8 -8
- package/dist/chunks/{plugin-xksw6ev0.js → formatter-brv6mkyx.js} +4 -4
- package/dist/chunks/{plugin-bstexjd6.js → formatter-bstexjd6.js} +1 -1
- package/dist/chunks/{plugin-zjcgbe71.js → formatter-c09jwrv7.js} +8 -8
- package/dist/chunks/{plugin-gmemj5zs.js → formatter-c0fe0nyt.js} +4 -4
- package/dist/chunks/{plugin-2mbjfaxd.js → formatter-c5kjsz6q.js} +4 -4
- package/dist/chunks/{plugin-7a7n4dhy.js → formatter-c8g1f16z.js} +18 -18
- package/dist/chunks/{plugin-k5kmjxmp.js → formatter-c98n4vdv.js} +9 -9
- package/dist/chunks/{plugin-8navhbzb.js → formatter-crke0hy6.js} +15 -15
- package/dist/chunks/{plugin-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
- package/dist/chunks/{plugin-dpjf616e.js → formatter-cwws9yn6.js} +20 -20
- package/dist/chunks/{plugin-1nqk9g29.js → formatter-d34c0f98.js} +8 -8
- package/dist/chunks/{plugin-6xs7s8sg.js → formatter-d49t3rb6.js} +15 -15
- package/dist/chunks/{plugin-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
- package/dist/chunks/{plugin-pd510afr.js → formatter-d58gm13w.js} +18 -18
- package/dist/chunks/{plugin-8cnv89dr.js → formatter-d66h0vnz.js} +11 -11
- package/dist/chunks/{plugin-yxsecem0.js → formatter-dchba5z5.js} +21 -21
- package/dist/chunks/{plugin-c13fyhqe.js → formatter-dft9bp6v.js} +16 -16
- package/dist/chunks/{plugin-deyp4kp5.js → formatter-dgjqzpns.js} +5 -5
- package/dist/chunks/{plugin-szyy4wsy.js → formatter-dj4g1h0v.js} +23 -23
- package/dist/chunks/{plugin-dt77769w.js → formatter-dt77769w.js} +1 -1
- package/dist/chunks/{plugin-wn53qy4r.js → formatter-dxvykrw7.js} +10 -10
- package/dist/chunks/{plugin-erx3hdr3.js → formatter-e3jrxgpp.js} +20 -20
- package/dist/chunks/{plugin-v8fejd5b.js → formatter-e5rky726.js} +27 -27
- package/dist/chunks/{plugin-tre18yc2.js → formatter-e6rgf6z7.js} +24 -24
- package/dist/chunks/{plugin-5cht9twd.js → formatter-ebhg4tc3.js} +79 -79
- package/dist/chunks/{plugin-01607bc9.js → formatter-ee62m3wg.js} +17 -17
- package/dist/chunks/{plugin-fbc5rcyk.js → formatter-eeytvfr7.js} +2 -2
- package/dist/chunks/{plugin-npt1vkj4.js → formatter-ejv3gkck.js} +4 -4
- package/dist/chunks/{plugin-tg1vr1qt.js → formatter-enkpkfwx.js} +8 -8
- package/dist/chunks/{plugin-nn2nd58t.js → formatter-ep6pe98a.js} +7 -7
- package/dist/chunks/{plugin-eqw4pqj1.js → formatter-eqw4pqj1.js} +2 -2
- package/dist/chunks/{plugin-q5bk3gvt.js → formatter-f2zjpyt5.js} +5 -5
- package/dist/chunks/{plugin-r6e6q8ps.js → formatter-f3ptgqzf.js} +8 -8
- package/dist/chunks/{plugin-gwyytpcj.js → formatter-f80thpwy.js} +6 -6
- package/dist/chunks/{plugin-vfgx4qfe.js → formatter-f9tc5me5.js} +3 -3
- package/dist/chunks/{plugin-s2zwfsds.js → formatter-fck1fraj.js} +8 -8
- package/dist/chunks/{plugin-fg9p65nk.js → formatter-fg9p65nk.js} +2 -2
- package/dist/chunks/{plugin-cqk7w1cv.js → formatter-fhwbhm4t.js} +4 -4
- package/dist/chunks/{plugin-an4qb1gt.js → formatter-fj2fxy38.js} +8 -8
- package/dist/chunks/{plugin-7npe9wtt.js → formatter-fjfab1hg.js} +13 -13
- package/dist/chunks/{plugin-fnrhryqq.js → formatter-fnrhryqq.js} +1 -1
- package/dist/chunks/{plugin-brb50ym1.js → formatter-fnyetkmc.js} +7 -7
- package/dist/chunks/{plugin-y2rfw6n8.js → formatter-fpzzg31c.js} +12 -12
- package/dist/chunks/{plugin-f34atbzy.js → formatter-fs0w54hj.js} +14 -14
- package/dist/chunks/{plugin-54y85w7w.js → formatter-ftbc3n7f.js} +29 -29
- package/dist/chunks/{plugin-pzcda9q7.js → formatter-ftmc7284.js} +4 -4
- package/dist/chunks/{plugin-j14db03a.js → formatter-fwh96pc6.js} +43 -43
- package/dist/chunks/{plugin-4gk49rq9.js → formatter-fyef4kah.js} +17 -17
- package/dist/chunks/{plugin-wyttxmeg.js → formatter-g1b5nzek.js} +8 -8
- package/dist/chunks/{plugin-m044zmrv.js → formatter-g25zmjdc.js} +11 -11
- package/dist/chunks/{plugin-g4txs7zc.js → formatter-g4txs7zc.js} +4 -4
- package/dist/chunks/{plugin-0ax9znzx.js → formatter-g88qm316.js} +10 -10
- package/dist/chunks/{plugin-gbjdnr5j.js → formatter-gbjdnr5j.js} +2 -2
- package/dist/chunks/{plugin-ghrv1g9c.js → formatter-ghrv1g9c.js} +1 -1
- package/dist/chunks/{plugin-3epkk9f5.js → formatter-gs70f3rg.js} +6 -6
- package/dist/chunks/{plugin-ezae8g8m.js → formatter-gwh4e7sy.js} +23 -23
- package/dist/chunks/{plugin-97zg0734.js → formatter-gz50ktfn.js} +12 -12
- package/dist/chunks/{plugin-8vzhmf4b.js → formatter-h1hvzfh9.js} +30 -29
- package/dist/chunks/{plugin-cfwmcqgd.js → formatter-h9cw37xw.js} +10 -10
- package/dist/chunks/{plugin-zrkvg7sx.js → formatter-h9rpx784.js} +30 -30
- package/dist/chunks/{plugin-ke89v0d6.js → formatter-haksh1nm.js} +12 -12
- package/dist/chunks/{plugin-hgzwgvze.js → formatter-hgzwgvze.js} +2 -2
- package/dist/chunks/{plugin-7nb8tm12.js → formatter-hj0xet7m.js} +5 -5
- package/dist/chunks/{plugin-n4er0yv8.js → formatter-hsqbp4e3.js} +21 -21
- package/dist/chunks/{plugin-sq4s6wq1.js → formatter-hvvf9qw8.js} +6 -6
- package/dist/chunks/{plugin-49gc03zv.js → formatter-hw7r6q9t.js} +17 -17
- package/dist/chunks/{plugin-j376ae4e.js → formatter-j376ae4e.js} +1 -1
- package/dist/chunks/{plugin-zkybrta7.js → formatter-j6q8d4x2.js} +8 -8
- package/dist/chunks/{plugin-c5zvymhv.js → formatter-jbca85dn.js} +4 -4
- package/dist/chunks/{plugin-sn7rh1kj.js → formatter-jbgt7846.js} +9 -9
- package/dist/chunks/{plugin-e2snswjm.js → formatter-jj1w0njq.js} +8 -8
- package/dist/chunks/{plugin-ve84deah.js → formatter-jjp0376k.js} +46 -46
- package/dist/chunks/{plugin-jm70asfg.js → formatter-jm70asfg.js} +1 -1
- package/dist/chunks/{plugin-yz974gd4.js → formatter-jxaybbka.js} +5 -5
- package/dist/chunks/{plugin-jxd6f16v.js → formatter-jxd6f16v.js} +2 -2
- package/dist/chunks/{plugin-ysj4azg4.js → formatter-k0e8skg7.js} +27 -27
- package/dist/chunks/{plugin-613njqbt.js → formatter-k15h447b.js} +28 -28
- package/dist/chunks/{plugin-zmhp59c4.js → formatter-kfjk2j2t.js} +26 -26
- package/dist/chunks/{plugin-77bkc9bs.js → formatter-kjpcdd93.js} +6 -6
- package/dist/chunks/{plugin-ekf6rv5n.js → formatter-kmnfk4kb.js} +3 -3
- package/dist/chunks/{plugin-pqg97sz9.js → formatter-knp4g8v8.js} +11 -11
- package/dist/chunks/{plugin-eg2pz8hn.js → formatter-kph8mjwn.js} +11 -11
- package/dist/chunks/{plugin-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
- package/dist/chunks/{plugin-0r4rq991.js → formatter-kw0j7zdf.js} +3 -3
- package/dist/chunks/{plugin-82b78wnc.js → formatter-kw4np9ag.js} +2 -2
- package/dist/chunks/{plugin-ftm61f85.js → formatter-kxfy12sm.js} +20 -20
- package/dist/chunks/{plugin-mc9mrq38.js → formatter-kybpnnhk.js} +15 -15
- package/dist/chunks/{plugin-kzczzf4v.js → formatter-kzczzf4v.js} +1 -1
- package/dist/chunks/{plugin-m1714858.js → formatter-m1714858.js} +1 -1
- package/dist/chunks/{plugin-m90tx7mw.js → formatter-m90tx7mw.js} +1 -1
- package/dist/chunks/{plugin-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-mb7mbhnz.js → formatter-mb7mbhnz.js} +3 -3
- package/dist/chunks/{plugin-5jvxdpk8.js → formatter-mfcckmmr.js} +18 -18
- package/dist/chunks/{plugin-mwnxvxbk.js → formatter-mwnxvxbk.js} +1 -1
- package/dist/chunks/{plugin-zrp3dz5n.js → formatter-n1jv3hnp.js} +24 -24
- package/dist/chunks/{plugin-xx5sma95.js → formatter-n4b81h20.js} +4 -4
- package/dist/chunks/{plugin-43br7vda.js → formatter-n61xnajd.js} +3 -3
- package/dist/chunks/{plugin-jrcptypk.js → formatter-n6nqkh8e.js} +33 -33
- package/dist/chunks/{plugin-tnsgfgh4.js → formatter-n6y2yx69.js} +15 -15
- package/dist/chunks/{plugin-bhfd478d.js → formatter-njx9gg5k.js} +4 -4
- package/dist/chunks/{plugin-99ar0nt2.js → formatter-nsza2hwd.js} +16 -16
- package/dist/chunks/{plugin-jyk43rrv.js → formatter-nyxvepra.js} +10 -10
- package/dist/chunks/{plugin-8nah8h3h.js → formatter-p1qy27ja.js} +54 -54
- package/dist/chunks/{plugin-acqpq35z.js → formatter-p2vw66gn.js} +24 -24
- package/dist/chunks/{plugin-fwhw9hs7.js → formatter-p4s9564z.js} +31 -31
- package/dist/chunks/{plugin-8xrt3mxv.js → formatter-p9dwe2ys.js} +6 -6
- package/dist/chunks/{plugin-nzrf81c6.js → formatter-pde3h8sb.js} +30 -30
- package/dist/chunks/{plugin-rmkys370.js → formatter-pevw1m5g.js} +20 -20
- package/dist/chunks/{plugin-0226wsvx.js → formatter-pfc82750.js} +10 -10
- package/dist/chunks/{plugin-zz99va1w.js → formatter-phkzaw91.js} +6 -6
- package/dist/chunks/{plugin-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-ta8897d0.js → formatter-pn8p7g5s.js} +30 -30
- package/dist/chunks/{plugin-pe9gpx2p.js → formatter-ppk2ta81.js} +47 -47
- package/dist/chunks/{plugin-qqf9xs46.js → formatter-ppvn17ey.js} +9 -9
- package/dist/chunks/{plugin-4193jrha.js → formatter-pt2ev3mw.js} +9 -9
- package/dist/chunks/{plugin-v73d8nda.js → formatter-pxfvz1hx.js} +8 -8
- package/dist/chunks/{plugin-55d00r7z.js → formatter-pz2ne4az.js} +15 -15
- package/dist/chunks/{plugin-5bpzzgkv.js → formatter-q08apbdq.js} +16 -16
- package/dist/chunks/{plugin-vaetqqyx.js → formatter-q929d8mh.js} +6 -6
- package/dist/chunks/{plugin-mcbq1bax.js → formatter-q963thn8.js} +4 -4
- package/dist/chunks/{plugin-477q1n8k.js → formatter-qbqg5kvw.js} +22 -22
- package/dist/chunks/{plugin-31avdb49.js → formatter-qfdvj3xm.js} +11 -11
- package/dist/chunks/{plugin-8zqzm5np.js → formatter-qkn1vdbd.js} +5 -5
- package/dist/chunks/{plugin-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
- package/dist/chunks/{plugin-zwef2z6c.js → formatter-qrjwc0ab.js} +16 -16
- package/dist/chunks/{plugin-4dd90fse.js → formatter-qy94z0q3.js} +8 -8
- package/dist/chunks/{plugin-j9pmdpfg.js → formatter-qycm87ym.js} +5 -5
- package/dist/chunks/{plugin-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
- package/dist/chunks/{plugin-5h9aabws.js → formatter-rbvnf4ks.js} +21 -21
- package/dist/chunks/{plugin-0ev7gdsj.js → formatter-re955109.js} +7 -7
- package/dist/chunks/{plugin-rgc9cx3e.js → formatter-rgc9cx3e.js} +2 -2
- package/dist/chunks/formatter-rnatn0se.js +273 -0
- package/dist/chunks/{plugin-04whjz6n.js → formatter-rp6t20zc.js} +9 -9
- package/dist/chunks/{plugin-eg7amf8s.js → formatter-rvy75j9f.js} +11 -11
- package/dist/chunks/{plugin-msgj2bp2.js → formatter-rwt90xdw.js} +23 -28
- package/dist/chunks/{plugin-6aw1gdrn.js → formatter-rxptv60e.js} +5 -5
- package/dist/chunks/{plugin-90ct6wq4.js → formatter-rzg6y5rp.js} +4 -4
- package/dist/chunks/{plugin-s1ba0vj0.js → formatter-s1ba0vj0.js} +2 -2
- package/dist/chunks/{plugin-v7dnaw89.js → formatter-s31xv9rs.js} +42 -42
- package/dist/chunks/{plugin-72aygk2s.js → formatter-s5m9z68j.js} +28 -28
- package/dist/chunks/{plugin-3hd0xq8m.js → formatter-s9mjx3f0.js} +32 -32
- package/dist/chunks/{plugin-zds53pbn.js → formatter-saqprc7x.js} +5 -5
- package/dist/chunks/{plugin-sbya78hr.js → formatter-sbya78hr.js} +1 -1
- package/dist/chunks/{plugin-vp3y4zp8.js → formatter-smwgzt6b.js} +4 -4
- package/dist/chunks/{plugin-qcbqj1dn.js → formatter-ssjd5cby.js} +13 -13
- package/dist/chunks/{plugin-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
- package/dist/chunks/{plugin-3qevzq3v.js → formatter-swaacjqy.js} +11 -11
- package/dist/chunks/{plugin-scmk72rv.js → formatter-t8erkws8.js} +5 -5
- package/dist/chunks/{plugin-2k4vg450.js → formatter-tay08eyj.js} +12 -12
- package/dist/chunks/{plugin-tbpn7jtk.js → formatter-tbpn7jtk.js} +1 -1
- package/dist/chunks/{plugin-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
- package/dist/chunks/{plugin-nm19cjgq.js → formatter-te4ym9cz.js} +41 -41
- package/dist/chunks/{plugin-gxs71cxp.js → formatter-tg7s7b5t.js} +4 -4
- package/dist/chunks/{plugin-p9jmt18g.js → formatter-tmxr2s7a.js} +8 -8
- package/dist/chunks/{plugin-3ws0s17n.js → formatter-tpjmrfc6.js} +16 -16
- package/dist/chunks/{plugin-dxxckx4g.js → formatter-tsm0w78m.js} +11 -11
- package/dist/chunks/{plugin-tvtps2q9.js → formatter-tvtps2q9.js} +1 -1
- package/dist/chunks/{plugin-twssxy5n.js → formatter-twssxy5n.js} +2 -2
- package/dist/chunks/{plugin-kmgvt03h.js → formatter-v02hya04.js} +22 -22
- package/dist/chunks/{plugin-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
- package/dist/chunks/{plugin-81hxxa3v.js → formatter-v37bc009.js} +3 -3
- package/dist/chunks/{plugin-gx3w2new.js → formatter-v3c2n8v6.js} +25 -25
- package/dist/chunks/{plugin-crs1z90h.js → formatter-v62q6mjx.js} +21 -21
- package/dist/chunks/{plugin-cb67h20a.js → formatter-v840bdta.js} +6 -6
- package/dist/chunks/{plugin-rfebzqh6.js → formatter-vfrym1mm.js} +40 -40
- package/dist/chunks/{plugin-f5a59h6p.js → formatter-vg2ks647.js} +13 -13
- package/dist/chunks/{plugin-a4n91h16.js → formatter-vh2m3kqm.js} +32 -32
- package/dist/chunks/{plugin-kvcybmzg.js → formatter-vhe13esa.js} +23 -23
- package/dist/chunks/{plugin-vjf35v1f.js → formatter-vjf35v1f.js} +1 -1
- package/dist/chunks/{plugin-2927jybr.js → formatter-vm5ant4y.js} +17 -17
- package/dist/chunks/{plugin-1fhk8d9c.js → formatter-vpa8zgt8.js} +28 -28
- package/dist/chunks/{plugin-0hmd3jd7.js → formatter-vsb4jc51.js} +11 -11
- package/dist/chunks/{plugin-vt4r9rmy.js → formatter-vt4r9rmy.js} +2 -2
- package/dist/chunks/{plugin-jt8yxpj0.js → formatter-vwjkfnk2.js} +5 -5
- package/dist/chunks/{plugin-40za9wsf.js → formatter-w2eysc6j.js} +9 -9
- package/dist/chunks/{plugin-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
- package/dist/chunks/{plugin-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-wegkxhrn.js → formatter-wegkxhrn.js} +2 -2
- package/dist/chunks/{plugin-gzen3yq3.js → formatter-wp9rabm0.js} +17 -17
- package/dist/chunks/{plugin-w687dnns.js → formatter-wr3re1en.js} +4 -4
- package/dist/chunks/{plugin-swhck8m3.js → formatter-wx6nv8fq.js} +7 -7
- package/dist/chunks/{plugin-r64epy3b.js → formatter-x061st40.js} +16 -16
- package/dist/chunks/{plugin-y4f1qbr6.js → formatter-x1rh6vcx.js} +5 -5
- package/dist/chunks/{plugin-xg8cb95m.js → formatter-x2w3vhab.js} +10 -10
- package/dist/chunks/{plugin-4gw90rx8.js → formatter-xd7ffwxg.js} +12 -12
- package/dist/chunks/{plugin-pmgpce1w.js → formatter-xe53826y.js} +13 -13
- package/dist/chunks/{plugin-tfkay11g.js → formatter-xpr07rag.js} +18 -18
- package/dist/chunks/{plugin-xjr6c8m4.js → formatter-xxschbft.js} +4 -4
- package/dist/chunks/{plugin-z44qmhg8.js → formatter-xy9mx054.js} +46 -46
- package/dist/chunks/{plugin-b8mkdqyh.js → formatter-xyc15gmq.js} +49 -49
- package/dist/chunks/{plugin-kmekj7m2.js → formatter-xz07m27x.js} +4 -4
- package/dist/chunks/{plugin-ja0p7jpp.js → formatter-ya6jhd7d.js} +23 -23
- package/dist/chunks/{plugin-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
- package/dist/chunks/{plugin-zrtn29yn.js → formatter-ymhcxh1d.js} +93 -93
- package/dist/chunks/{plugin-yr705xyq.js → formatter-yr705xyq.js} +1 -1
- package/dist/chunks/{plugin-yvtc2x31.js → formatter-yvtc2x31.js} +1 -1
- package/dist/chunks/{plugin-z0wbgq7s.js → formatter-z0wbgq7s.js} +1 -1
- package/dist/chunks/formatter-z7bdqmx5.js +18 -0
- package/dist/chunks/{plugin-7ynyctvs.js → formatter-z8adrwbe.js} +7 -7
- package/dist/chunks/{plugin-getvfpb8.js → formatter-zb0mnwnv.js} +87 -87
- package/dist/chunks/{plugin-bjrsf3h4.js → formatter-zbj23qj9.js} +14 -14
- package/dist/chunks/{plugin-j9nxzz3g.js → formatter-ze75qvmd.js} +3 -3
- package/dist/chunks/{plugin-yzjcqg94.js → formatter-zhh3ssa0.js} +7 -7
- package/dist/chunks/{plugin-x7bncmg1.js → formatter-zjks91hc.js} +18 -18
- package/dist/chunks/{plugin-9y1hz8ch.js → formatter-zpkeqzrx.js} +20 -20
- package/dist/chunks/{plugin-zktqam5s.js → formatter-zpw8n7tm.js} +9 -9
- package/dist/chunks/{plugin-kwk7a8sm.js → formatter-zqp0bxw0.js} +18 -18
- package/dist/chunks/{plugin-wpjssdac.js → formatter-zqzpkhyt.js} +15 -15
- package/dist/chunks/{plugin-avts9kdp.js → formatter-zr79126c.js} +32 -32
- package/dist/chunks/{plugin-33e25f4c.js → formatter-ztbesdks.js} +203 -203
- package/dist/chunks/{plugin-z0xhgaf8.js → formatter-ztwsqh7x.js} +8 -8
- package/dist/chunks/{plugin-3728w157.js → formatter-zv324z0d.js} +11 -11
- package/dist/chunks/{plugin-n0ht38ba.js → formatter-zwmrnfgc.js} +27 -27
- package/dist/chunks/{plugin-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 +92 -92
- 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 +134 -134
- 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 +150 -150
- 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 +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- 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 +134 -134
- 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 +109 -109
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +254 -254
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +136 -136
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +117 -117
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +113 -113
- 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 +94 -94
- 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 +100 -100
- 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 +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- 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 +151 -151
- 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 +113 -113
- package/dist/model-resolver.js +113 -113
- 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 +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +148 -148
- 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 +1 -1
- 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 +116 -116
- 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 +111 -111
- 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 +3 -3
- 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 +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- 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 +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +262 -262
- 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 +113 -113
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +113 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +270 -270
- 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 +173 -173
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +272 -272
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +154 -154
- 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 +196 -196
- 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 +249 -249
- 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 +11 -11
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +100 -100
- 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 +189 -189
- 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 +171 -171
- package/dist/tool/plugin/question.js +149 -149
- 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 +162 -162
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +162 -162
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- 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 +167 -167
- package/dist/types/ripgrep.d.ts +2 -0
- 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 +3 -3
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- 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 +113 -113
- package/package.json +9 -9
- package/dist/chunks/plugin-2dkjcnxp.js +0 -18
- package/dist/chunks/plugin-k3e88xzx.js +0 -26
- package/dist/chunks/plugin-ss8bg5zf.js +0 -273
- /package/dist/chunks/{plugin-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kah00gy.js → formatter-1kah00gy.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4qk9sjk2.js → formatter-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
- /package/dist/chunks/{plugin-6agm2x70.js → formatter-6agm2x70.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-7rvsyqjv.js → formatter-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9ceax7yg.js → formatter-9ceax7yg.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-ade8csyh.js → formatter-ade8csyh.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-beh6qq61.js → formatter-beh6qq61.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-ean2d8b5.js → formatter-ean2d8b5.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-nh4v3znn.js → formatter-nh4v3znn.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-syrav9an.js → formatter-syrav9an.js} +0 -0
- /package/dist/chunks/{plugin-t03h4f5z.js → formatter-t03h4f5z.js} +0 -0
- /package/dist/chunks/{plugin-ty7weeps.js → formatter-ty7weeps.js} +0 -0
- /package/dist/chunks/{plugin-v2dnd5dt.js → formatter-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{plugin-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{plugin-vtarvj67.js → formatter-vtarvj67.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x4th4bpe.js → formatter-x4th4bpe.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → formatter-z9919s4g.js} +0 -0
- /package/dist/chunks/{plugin-zxpyjp51.js → formatter-zxpyjp51.js} +0 -0
- /package/dist/chunks/{plugin-zz5vv3aq.js → formatter-zz5vv3aq.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-2ytp0tvq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./formatter-4rz36ceb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/connection.ts
|
|
12
12
|
var exports_connection = {};
|
|
13
13
|
__export(exports_connection, {
|
|
14
14
|
McpConnection: () => exports_connection,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make25
|
|
16
16
|
});
|
|
17
17
|
import { Cause, Effect, Exit, Scope } from "effect";
|
|
18
18
|
import { FetchHttpClient } from "effect/http";
|
|
19
19
|
var endpointLoads = makeUnsafe2();
|
|
20
|
-
function
|
|
20
|
+
function make25(input) {
|
|
21
21
|
const state = {};
|
|
22
22
|
const whenLive = (client) => (effect) => input.callbacks(Effect.suspend(() => state.client === client ? effect : Effect.void).pipe(input.lock, Effect.ignore));
|
|
23
23
|
const refreshTools = (client) => client.tools().pipe(Effect.map((tools) => {
|
|
@@ -60,7 +60,7 @@ function make26(input) {
|
|
|
60
60
|
clientInfo: input.clientInfo,
|
|
61
61
|
roots: !input.shared,
|
|
62
62
|
events: input.mcpEvents
|
|
63
|
-
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(
|
|
63
|
+
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(Service53, input.environment), Effect.provideService(FetchHttpClient.Fetch, input.fetch), Scope.provide(scope), (effect) => config.type === "remote" && !input.shared ? endpointLoads.withLock(config.url)(effect) : effect, Effect.exit);
|
|
64
64
|
if (Exit.isSuccess(result) && !result.value.tools) {
|
|
65
65
|
yield* Scope.close(scope, Exit.void);
|
|
66
66
|
state.scope = undefined;
|
|
@@ -113,4 +113,4 @@ function make26(input) {
|
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
export {
|
|
116
|
+
export { make25, exports_connection };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_system_prompt, {
|
|
|
8
8
|
AGENT_OPTION: () => AGENT_OPTION2,
|
|
9
9
|
ClaudeSystemPrompt: () => exports_system_prompt,
|
|
10
10
|
INSTRUCTIONS_OPTION: () => INSTRUCTIONS_OPTION2,
|
|
11
|
-
make: () =>
|
|
11
|
+
make: () => make15,
|
|
12
12
|
utility: () => utility2
|
|
13
13
|
});
|
|
14
14
|
var AGENT_OPTION2 = "claudeCodeAgent";
|
|
@@ -19,7 +19,7 @@ var primary = {
|
|
|
19
19
|
snapshot: false,
|
|
20
20
|
append: "<runtime_info>You are running in OpenCode through the Claude Code harness. Mention this only when asked.</runtime_info>"
|
|
21
21
|
};
|
|
22
|
-
function
|
|
22
|
+
function make15(role, instructions) {
|
|
23
23
|
const blocks = [primary.append];
|
|
24
24
|
if (role)
|
|
25
25
|
blocks.push(`# Agent role (from OpenCode)
|
|
@@ -37,4 +37,4 @@ function utility2(prompt) {
|
|
|
37
37
|
`) || "You are a text generation helper. Return only the requested output.";
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2,
|
|
40
|
+
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make15, utility2, exports_system_prompt };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service91
|
|
3
|
+
} from "./formatter-e6rgf6z7.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./formatter-1y4446k4.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/tool/plugin/question.ts
|
|
13
13
|
var exports_question = {};
|
|
@@ -54,8 +54,8 @@ var toModelContent5 = (questions, answers) => {
|
|
|
54
54
|
var Plugin57 = {
|
|
55
55
|
id: "opencode.tool.question",
|
|
56
56
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
57
|
-
const forms = yield*
|
|
58
|
-
const permission = yield*
|
|
57
|
+
const forms = yield* Service91;
|
|
58
|
+
const permission = yield* Service68;
|
|
59
59
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
60
60
|
name: name15,
|
|
61
61
|
options: { codemode: false },
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-nyxvepra.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-k15h447b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID20,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-vpa8zgt8.js";
|
|
11
11
|
import {
|
|
12
12
|
success2,
|
|
13
13
|
error2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-yb20nhc3.js";
|
|
15
15
|
import {
|
|
16
16
|
submit2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-z0wbgq7s.js";
|
|
18
18
|
import {
|
|
19
19
|
mergeOverlay2,
|
|
20
20
|
mergeHeaders2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-m90tx7mw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
ID17
|
|
24
|
+
} from "./formatter-67s9kfqp.js";
|
|
25
25
|
import {
|
|
26
26
|
get5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-3nnrz6f6.js";
|
|
28
28
|
import {
|
|
29
29
|
configuredSettings2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-wx6nv8fq.js";
|
|
31
31
|
import {
|
|
32
32
|
onSwitch2,
|
|
33
33
|
reloadIfChanged2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-3m4fz3hb.js";
|
|
35
35
|
import {
|
|
36
36
|
activeCredential2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./formatter-p9dwe2ys.js";
|
|
38
38
|
|
|
39
39
|
// src/plugin/provider/openai.ts
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -58,7 +58,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
58
58
|
}));
|
|
59
59
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
60
60
|
var browser = (app) => ({
|
|
61
|
-
integrationID:
|
|
61
|
+
integrationID: ID20.make("openai"),
|
|
62
62
|
method: {
|
|
63
63
|
id: browserMethodID,
|
|
64
64
|
type: "oauth",
|
|
@@ -132,7 +132,7 @@ function addressInUse(error) {
|
|
|
132
132
|
return "code" in error && error.code === "EADDRINUSE";
|
|
133
133
|
}
|
|
134
134
|
var headless = (app) => ({
|
|
135
|
-
integrationID:
|
|
135
|
+
integrationID: ID20.make("openai"),
|
|
136
136
|
method: {
|
|
137
137
|
id: headlessMethodID,
|
|
138
138
|
type: "oauth",
|
|
@@ -190,9 +190,9 @@ var OpenAIPlugin2 = define({
|
|
|
190
190
|
editor.method.update(headless(ctx.app));
|
|
191
191
|
});
|
|
192
192
|
yield* load();
|
|
193
|
-
const configured = yield* configuredSettings2(
|
|
193
|
+
const configured = yield* configuredSettings2(ID17.openai);
|
|
194
194
|
yield* ctx.provider.transform((providers) => {
|
|
195
|
-
const item = providers.get(
|
|
195
|
+
const item = providers.get(ID17.openai);
|
|
196
196
|
if (!item)
|
|
197
197
|
return;
|
|
198
198
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -212,7 +212,7 @@ var OpenAIPlugin2 = define({
|
|
|
212
212
|
});
|
|
213
213
|
});
|
|
214
214
|
yield* ctx.model.transform((models) => {
|
|
215
|
-
for (const model of models.list(
|
|
215
|
+
for (const model of models.list(ID17.openai)) {
|
|
216
216
|
models.update(model.providerID, model.id, (draft) => {
|
|
217
217
|
if (!chatgpt)
|
|
218
218
|
return;
|
|
@@ -249,12 +249,12 @@ var OpenAIPlugin2 = define({
|
|
|
249
249
|
}));
|
|
250
250
|
evt.headers.originator = "opencode";
|
|
251
251
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
252
|
-
}), { providerID:
|
|
252
|
+
}), { providerID: ID17.openai });
|
|
253
253
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
254
254
|
delete evt.options.maxTokens;
|
|
255
255
|
});
|
|
256
256
|
for (const name of ["context", "compaction"])
|
|
257
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
257
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID17.openai });
|
|
258
258
|
yield* onSwitch2("openai", loading.withPermit(reloadIfChanged2(load(), ctx.provider.reload())));
|
|
259
259
|
})
|
|
260
260
|
});
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-fhwbhm4t.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service74
|
|
11
|
+
} from "./formatter-ppk2ta81.js";
|
|
12
12
|
import {
|
|
13
13
|
DirectoryNotFoundError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-s9mjx3f0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service72
|
|
17
|
+
} from "./formatter-zwmrnfgc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service40,
|
|
20
|
+
node42
|
|
21
|
+
} from "./formatter-hvvf9qw8.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessage2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-gftt206x.js";
|
|
25
25
|
import {
|
|
26
26
|
SessionInboxTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-mb7mbhnz.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service37,
|
|
30
|
+
node40
|
|
31
|
+
} from "./formatter-0f98ft02.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service18,
|
|
34
|
+
node21
|
|
35
|
+
} from "./formatter-ymhcxh1d.js";
|
|
36
36
|
import {
|
|
37
37
|
validate2,
|
|
38
38
|
describe2,
|
|
39
39
|
authorize2,
|
|
40
40
|
evaluate2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./formatter-4r37kn7a.js";
|
|
42
42
|
import {
|
|
43
43
|
ScheduleTable2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./formatter-wegkxhrn.js";
|
|
45
45
|
import {
|
|
46
46
|
__export
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./formatter-9rqn6x4v.js";
|
|
48
48
|
|
|
49
49
|
// src/schedule.ts
|
|
50
50
|
var exports_schedule2 = {};
|
|
51
51
|
__export(exports_schedule2, {
|
|
52
52
|
Condition: () => Condition2,
|
|
53
53
|
ConditionInput: () => ConditionInput2,
|
|
54
|
-
CreateInput: () =>
|
|
54
|
+
CreateInput: () => CreateInput2,
|
|
55
55
|
DisabledError: () => DisabledError2,
|
|
56
|
-
ID: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
ID: () => ID4,
|
|
57
|
+
Info: () => Info3,
|
|
58
58
|
InvalidError: () => InvalidError2,
|
|
59
|
-
NotFoundError: () =>
|
|
59
|
+
NotFoundError: () => NotFoundError2,
|
|
60
60
|
Outcome: () => Outcome3,
|
|
61
61
|
Request: () => Request2,
|
|
62
62
|
Schedule: () => exports_schedule2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service13,
|
|
64
64
|
Status: () => Status2,
|
|
65
65
|
When: () => When2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node15,
|
|
67
67
|
toCreateInput: () => toCreateInput2
|
|
68
68
|
});
|
|
69
69
|
import { randomUUID } from "node:crypto";
|
|
@@ -73,18 +73,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
73
73
|
import {
|
|
74
74
|
Condition as Condition2,
|
|
75
75
|
ConditionInput as ConditionInput2,
|
|
76
|
-
CreateInput as
|
|
76
|
+
CreateInput as CreateInput2,
|
|
77
77
|
durationMillis,
|
|
78
|
-
ID as
|
|
79
|
-
Info as
|
|
78
|
+
ID as ID4,
|
|
79
|
+
Info as Info3,
|
|
80
80
|
Outcome as Outcome3,
|
|
81
81
|
Request as Request2,
|
|
82
82
|
Status as Status2,
|
|
83
83
|
toCreateInput as toCreateInput2,
|
|
84
84
|
When as When2
|
|
85
85
|
} from "@opencode/schema/schedule";
|
|
86
|
-
class
|
|
87
|
-
scheduleID:
|
|
86
|
+
class NotFoundError2 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
87
|
+
scheduleID: ID4
|
|
88
88
|
}) {
|
|
89
89
|
get message() {
|
|
90
90
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -105,7 +105,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
class
|
|
108
|
+
class Service13 extends Context.Service()("@opencode/Schedule") {
|
|
109
109
|
}
|
|
110
110
|
var MINUTE = 60000;
|
|
111
111
|
var HOUR = 60 * MINUTE;
|
|
@@ -191,23 +191,23 @@ var toInfo = (row, lastOutput) => ({
|
|
|
191
191
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
192
192
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
193
193
|
});
|
|
194
|
-
var layer = Layer.effect(
|
|
194
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
195
195
|
const database = yield* Service94;
|
|
196
196
|
const db = database.db;
|
|
197
|
-
const sessions = yield*
|
|
198
|
-
const instances = yield*
|
|
199
|
-
const execution = yield*
|
|
197
|
+
const sessions = yield* Service18;
|
|
198
|
+
const instances = yield* Service40;
|
|
199
|
+
const execution = yield* Service37;
|
|
200
200
|
const doorbell = yield* Latch.make();
|
|
201
201
|
const settings = (session) => Effect.gen(function* () {
|
|
202
|
-
const config = yield*
|
|
203
|
-
const flags = yield*
|
|
202
|
+
const config = yield* Service74;
|
|
203
|
+
const flags = yield* Service72;
|
|
204
204
|
const entries = yield* config.entries();
|
|
205
205
|
return {
|
|
206
206
|
enabled: flags.resolve(entries).schedules.enabled,
|
|
207
207
|
timezone: latest2(entries, "timezone")
|
|
208
208
|
};
|
|
209
209
|
}).pipe(instances.provide(session));
|
|
210
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
210
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError2({ scheduleID: id }))));
|
|
211
211
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
212
212
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
213
213
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -481,7 +481,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
481
481
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
482
482
|
return Math.min(at.value, after ?? at.value);
|
|
483
483
|
});
|
|
484
|
-
return
|
|
484
|
+
return Service13.of({
|
|
485
485
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
486
486
|
const session = yield* sessions.get(input.sessionID);
|
|
487
487
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -500,7 +500,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
500
500
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
501
501
|
if (ends !== null && due > ends)
|
|
502
502
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
503
|
-
const scheduleID =
|
|
503
|
+
const scheduleID = ID4.create();
|
|
504
504
|
const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
|
|
505
505
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
|
|
506
506
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -593,10 +593,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
593
593
|
run
|
|
594
594
|
});
|
|
595
595
|
}));
|
|
596
|
-
var
|
|
597
|
-
service:
|
|
596
|
+
var node15 = makeGlobalNode({
|
|
597
|
+
service: Service13,
|
|
598
598
|
layer,
|
|
599
|
-
deps: [node96,
|
|
599
|
+
deps: [node96, node21, node40, node42]
|
|
600
600
|
});
|
|
601
601
|
|
|
602
|
-
export { Condition2, ConditionInput2,
|
|
602
|
+
export { Condition2, ConditionInput2, CreateInput2, ID4, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service13, node15, exports_schedule2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make33,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-f2zjpyt5.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
lookup2,
|
|
11
11
|
namespaceLine2,
|
|
12
12
|
cost2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-85jq8dht.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/codemode/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
CodeModeInstructions: () =>
|
|
22
|
-
make: () =>
|
|
23
|
-
render: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
22
|
+
make: () => make24,
|
|
23
|
+
render: () => render2,
|
|
24
24
|
update: () => update3
|
|
25
25
|
});
|
|
26
26
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -38,7 +38,7 @@ var searchNote = `You can also look up tools that aren't listed with the global
|
|
|
38
38
|
|
|
39
39
|
- ${searchSignature}`;
|
|
40
40
|
var UPDATE_BUDGET = 1000;
|
|
41
|
-
function
|
|
41
|
+
function render2(catalog) {
|
|
42
42
|
if (catalog.total === 0)
|
|
43
43
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
44
44
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -52,7 +52,7 @@ ${tools.join(`
|
|
|
52
52
|
function update3(previous, current, lookup) {
|
|
53
53
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
54
54
|
|
|
55
|
-
${
|
|
55
|
+
${render2(current)}`;
|
|
56
56
|
if (current.total === 0 || previous.total === 0)
|
|
57
57
|
return replacement;
|
|
58
58
|
const namespaces = diffByKey2(previous.namespaces, current.namespaces, (namespace) => namespace.name, (before, after) => before.description !== after.description);
|
|
@@ -123,14 +123,14 @@ function fit(listings, budget) {
|
|
|
123
123
|
}
|
|
124
124
|
var key = Key3.make("core/codemode");
|
|
125
125
|
var codec = Schema.toCodecJson(Summary2);
|
|
126
|
-
var
|
|
126
|
+
var make24 = (inventory) => {
|
|
127
127
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
128
|
-
return
|
|
128
|
+
return make33({
|
|
129
129
|
key,
|
|
130
130
|
codec,
|
|
131
131
|
read: Effect.succeed(catalog),
|
|
132
132
|
render: {
|
|
133
|
-
initial:
|
|
133
|
+
initial: render2,
|
|
134
134
|
changed: (previous, current) => update3(previous, current, inventory === undefined ? () => {
|
|
135
135
|
return;
|
|
136
136
|
} : lookup2(inventory)),
|
|
@@ -139,4 +139,4 @@ var make27 = (inventory) => {
|
|
|
139
139
|
});
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
export {
|
|
142
|
+
export { render2, update3, make24, exports_instructions3 };
|
|
@@ -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
|
-
MAX_RESPONSE_BYTES: () =>
|
|
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
|
|
39
|
-
var
|
|
38
|
+
var name13 = "webfetch";
|
|
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 Input3 = 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) => {
|
|
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
107
107
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
108
108
|
});
|
|
109
109
|
}));
|
|
110
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
110
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
111
111
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
112
112
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
113
113
|
var convert = (content, contentType, 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 Plugin40 = {
|
|
|
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 Plugin40 = {
|
|
|
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 };
|