@opencode/core 0.0.0-dev-433 → 0.0.0-dev-434
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 +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +238 -238
- package/dist/bus.js +80 -80
- package/dist/chunks/{console-access-ck75m63q.js → command-01ff0a55.js} +3 -3
- package/dist/chunks/{console-access-61ggehfe.js → command-06wrtaec.js} +20 -20
- package/dist/chunks/{console-access-6hbwdsfx.js → command-0eaxh8qq.js} +14 -14
- package/dist/chunks/{console-access-0j7gp832.js → command-0j7gp832.js} +1 -1
- package/dist/chunks/{console-access-pr5jbasx.js → command-0j7njajq.js} +43 -43
- package/dist/chunks/{console-access-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
- package/dist/chunks/{console-access-3j5t2d9f.js → command-0tcj55vp.js} +11 -11
- package/dist/chunks/{console-access-eetyt14z.js → command-0z90yfde.js} +9 -9
- package/dist/chunks/{console-access-32brnyq3.js → command-10h4ravn.js} +13 -13
- package/dist/chunks/{console-access-v5hpj9dd.js → command-160yv0cs.js} +8 -8
- package/dist/chunks/{console-access-9nafbtnp.js → command-173g28c6.js} +3 -3
- package/dist/chunks/{console-access-1aqsckx4.js → command-1aqsckx4.js} +1 -1
- package/dist/chunks/{console-access-gfm785mt.js → command-1dzf37gy.js} +4 -4
- package/dist/chunks/{console-access-rc7cmy01.js → command-1gc6basf.js} +11 -11
- package/dist/chunks/{console-access-z50gqtt7.js → command-1jx74pb3.js} +15 -15
- package/dist/chunks/{console-access-th2hp9ev.js → command-1rv52bc9.js} +5 -5
- package/dist/chunks/{console-access-f2p2tf0y.js → command-1t7n7d3e.js} +7 -7
- package/dist/chunks/{console-access-p78171e1.js → command-1wma1wjh.js} +4 -4
- package/dist/chunks/{console-access-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{console-access-3vdmjzpb.js → command-1xh4za3x.js} +2 -2
- package/dist/chunks/{console-access-sg3y9fdz.js → command-1xq91efe.js} +19 -19
- package/dist/chunks/{console-access-p7vhpwh8.js → command-1yq9hg58.js} +5 -5
- package/dist/chunks/{console-access-n7jeh3hd.js → command-22322d3s.js} +4 -4
- package/dist/chunks/{console-access-s0mm9f8n.js → command-24fafpw7.js} +11 -11
- package/dist/chunks/{console-access-hqzgcn0m.js → command-25ydw9rq.js} +13 -13
- package/dist/chunks/{console-access-1ep2p91f.js → command-27w5k9zf.js} +2 -2
- package/dist/chunks/{console-access-dhp1pzdk.js → command-2e6dhtgj.js} +79 -79
- package/dist/chunks/{console-access-v67kxy0c.js → command-2nqg4893.js} +3 -3
- package/dist/chunks/{console-access-2p60zmnr.js → command-2p60zmnr.js} +2 -2
- package/dist/chunks/{console-access-cm52n9z7.js → command-34kqkbym.js} +15 -15
- package/dist/chunks/{console-access-snaf2v67.js → command-38dwvzc2.js} +32 -32
- package/dist/chunks/{console-access-ayjs7tqn.js → command-3cbjf1nt.js} +2 -2
- package/dist/chunks/{console-access-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{console-access-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
- package/dist/chunks/{console-access-p9xbtx66.js → command-3svk23zz.js} +32 -32
- package/dist/chunks/{console-access-sg3757jj.js → command-3xnsjp31.js} +9 -9
- package/dist/chunks/{console-access-40y6dtc2.js → command-40y6dtc2.js} +1 -1
- package/dist/chunks/{console-access-3ebwg681.js → command-4339k7tk.js} +18 -18
- package/dist/chunks/{console-access-n3ftmwcj.js → command-44abv5ax.js} +6 -6
- package/dist/chunks/{console-access-44pmzq9c.js → command-44pmzq9c.js} +2 -2
- package/dist/chunks/{console-access-1q7276rs.js → command-497cbh7y.js} +2 -2
- package/dist/chunks/{console-access-0w7k0494.js → command-4bp07n3d.js} +11 -11
- package/dist/chunks/{console-access-qnsy8n07.js → command-4c1b9aw6.js} +43 -43
- package/dist/chunks/{console-access-4dx1dgte.js → command-4dx1dgte.js} +1 -1
- package/dist/chunks/{console-access-7rvrq7f4.js → command-4mszn7hs.js} +8 -8
- package/dist/chunks/{console-access-bdz60pnr.js → command-4n0pf5fx.js} +8 -8
- package/dist/chunks/{console-access-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
- package/dist/chunks/{console-access-49t63ssp.js → command-4sgec3wj.js} +40 -40
- package/dist/chunks/{console-access-hfzwmhse.js → command-4sgeyqsj.js} +22 -22
- package/dist/chunks/{console-access-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{console-access-65bz48rw.js → command-4z0esw61.js} +12 -12
- package/dist/chunks/{console-access-t6bg1q5k.js → command-5f3j9k0d.js} +2 -2
- package/dist/chunks/{console-access-02fwh478.js → command-5jfjz3xv.js} +4 -4
- package/dist/chunks/{console-access-yazd0vcr.js → command-5k2w52r0.js} +8 -8
- package/dist/chunks/{console-access-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{console-access-jkdcm5hg.js → command-5n0rnk8e.js} +4 -4
- package/dist/chunks/{console-access-qzgz55fp.js → command-5t2nv0ty.js} +33 -33
- package/dist/chunks/{console-access-pcwncv2z.js → command-5vw144qj.js} +25 -25
- package/dist/chunks/{console-access-x3t8qkxb.js → command-61qraad9.js} +5 -5
- package/dist/chunks/{console-access-2k1rgnn7.js → command-64dgh3k3.js} +22 -22
- package/dist/chunks/{console-access-c32zfq3f.js → command-64eehrrp.js} +8 -8
- package/dist/chunks/{console-access-zx36r2f9.js → command-64ks2qz2.js} +21 -21
- package/dist/chunks/{console-access-wyywacbw.js → command-671snc9x.js} +29 -29
- package/dist/chunks/{console-access-tb2mrvc9.js → command-694dpcrp.js} +7 -7
- package/dist/chunks/{console-access-shtwd5y1.js → command-6af1yqan.js} +32 -32
- package/dist/chunks/{console-access-2km8vjms.js → command-6atfaf08.js} +8 -8
- package/dist/chunks/command-6bshxcsx.js +18 -0
- package/dist/chunks/{console-access-5wrq2rbh.js → command-6jn0z4zq.js} +17 -17
- package/dist/chunks/{console-access-gcjdgkn2.js → command-6twykydk.js} +9 -9
- package/dist/chunks/{console-access-f5j6v7nx.js → command-6zkb6m81.js} +17 -17
- package/dist/chunks/{console-access-jn0pxsew.js → command-74ts6fdr.js} +6 -6
- package/dist/chunks/{console-access-w8qtt4th.js → command-76cb1hcw.js} +4 -4
- package/dist/chunks/{console-access-txr9fdxt.js → command-7abx72ys.js} +11 -11
- package/dist/chunks/{console-access-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{console-access-p2qpf694.js → command-7h2byrns.js} +3 -3
- package/dist/chunks/{console-access-mhnjywtp.js → command-7jxk402j.js} +7 -7
- package/dist/chunks/{console-access-7kr66rt3.js → command-7kr66rt3.js} +1 -1
- package/dist/chunks/{console-access-ekpns71v.js → command-7kvgb96f.js} +15 -15
- package/dist/chunks/{console-access-4mjf9r3x.js → command-7nsm0dtp.js} +22 -22
- package/dist/chunks/{console-access-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{console-access-7weczvnd.js → command-7weczvnd.js} +1 -1
- package/dist/chunks/{console-access-n98nm5mz.js → command-80abjh3h.js} +15 -15
- package/dist/chunks/{console-access-775hqbnd.js → command-80mg3ag8.js} +3 -3
- package/dist/chunks/{console-access-dp702t2q.js → command-88gpz3gg.js} +27 -27
- package/dist/chunks/{console-access-89287pr7.js → command-89287pr7.js} +1 -1
- package/dist/chunks/{console-access-8b3vzgkx.js → command-8b3vzgkx.js} +1 -1
- package/dist/chunks/{console-access-4d2dtj2f.js → command-8cg7mtm3.js} +4 -4
- package/dist/chunks/{console-access-naghedjd.js → command-8gycsq8m.js} +16 -16
- package/dist/chunks/{console-access-8t99kr38.js → command-8t99kr38.js} +1 -1
- package/dist/chunks/command-8wnssyfy.js +555 -0
- package/dist/chunks/{console-access-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/{console-access-yp6xf2cv.js → command-8x0e9fhm.js} +43 -43
- package/dist/chunks/{console-access-ve1xdzxf.js → command-8xx0f9bs.js} +29 -29
- package/dist/chunks/{console-access-mb7mbhnz.js → command-8z6m94af.js} +3 -3
- package/dist/chunks/{console-access-hkt98v1s.js → command-8zb5510s.js} +14 -14
- package/dist/chunks/{console-access-90zstvax.js → command-90zstvax.js} +1 -1
- package/dist/chunks/{console-access-94s5f2xb.js → command-94s5f2xb.js} +1 -1
- package/dist/chunks/{console-access-95sp4hdf.js → command-95sp4hdf.js} +1 -1
- package/dist/chunks/{console-access-963hk181.js → command-963hk181.js} +2 -2
- package/dist/chunks/{console-access-571740d0.js → command-98wp0h2e.js} +7 -7
- package/dist/chunks/{console-access-d8wyahrb.js → command-997x2gyn.js} +16 -16
- package/dist/chunks/{console-access-3nnav6hm.js → command-9n9g8h1e.js} +9 -9
- package/dist/chunks/{console-access-p3g3b7x5.js → command-9nkjg9qd.js} +6 -6
- package/dist/chunks/{console-access-wvm0jmw7.js → command-9phmjwad.js} +17 -17
- package/dist/chunks/{console-access-mmx1mfjr.js → command-9q8g9sv8.js} +4 -4
- package/dist/chunks/{console-access-yaw5mgj3.js → command-9xtz4xxk.js} +23 -23
- package/dist/chunks/{console-access-tk0ms0d2.js → command-a33gx8kj.js} +18 -18
- package/dist/chunks/{console-access-h41qf60r.js → command-a42xyq8m.js} +24 -24
- package/dist/chunks/{console-access-8qrsqr4h.js → command-a4f1ekc8.js} +19 -19
- package/dist/chunks/{console-access-r30bgqk9.js → command-a5vbn1gz.js} +18 -18
- package/dist/chunks/{console-access-cf9kkq94.js → command-a6ybx6kp.js} +72 -72
- package/dist/chunks/{console-access-034tev2y.js → command-aj7mw0zk.js} +2 -2
- package/dist/chunks/{console-access-9tctw3ba.js → command-ake1ncr2.js} +21 -21
- package/dist/chunks/{console-access-gggg4n29.js → command-arp7s6mb.js} +6 -6
- package/dist/chunks/{console-access-b6vsg801.js → command-b6vsg801.js} +2 -2
- package/dist/chunks/{console-access-k4850m39.js → command-b7kt7hzm.js} +20 -20
- package/dist/chunks/{console-access-z4kzdpr4.js → command-bcwbngne.js} +14 -14
- package/dist/chunks/{console-access-203mhtba.js → command-bhfjntg1.js} +12 -12
- package/dist/chunks/{console-access-6kqfrh7j.js → command-bkzshpm5.js} +16 -16
- package/dist/chunks/{console-access-tcr3xm27.js → command-bnttf9xa.js} +16 -16
- package/dist/chunks/{console-access-ca12re6t.js → command-bp6cyex6.js} +27 -27
- package/dist/chunks/{console-access-8xz27cp9.js → command-brv6mkyx.js} +4 -4
- package/dist/chunks/{console-access-bstexjd6.js → command-bstexjd6.js} +1 -1
- package/dist/chunks/{console-access-cagrh3hw.js → command-bzwv4pm6.js} +16 -16
- package/dist/chunks/{console-access-nrfea6y3.js → command-c6xt3hyv.js} +10 -10
- package/dist/chunks/{console-access-brn5acms.js → command-cgm929w9.js} +4 -4
- package/dist/chunks/{console-access-p2zan2kg.js → command-cnjb880w.js} +25 -25
- package/dist/chunks/{console-access-gkk73xtb.js → command-cnv992xx.js} +10 -10
- package/dist/chunks/{console-access-nemnqzpn.js → command-cpe35zww.js} +4 -4
- package/dist/chunks/{console-access-cpvd08na.js → command-cpvd08na.js} +1 -1
- package/dist/chunks/{console-access-9e4rpczb.js → command-cr6pn214.js} +5 -5
- package/dist/chunks/{console-access-x3s7tck7.js → command-csxgerg0.js} +23 -23
- package/dist/chunks/{console-access-cwrgdav8.js → command-cwrgdav8.js} +2 -2
- package/dist/chunks/{console-access-my7rd139.js → command-cx2jthk9.js} +43 -43
- package/dist/chunks/{console-access-nymz80y4.js → command-cyw3yyvp.js} +11 -11
- package/dist/chunks/{console-access-d4v9tmah.js → command-d4v9tmah.js} +2 -2
- package/dist/chunks/{console-access-8v9p3ssr.js → command-d77em42c.js} +23 -23
- package/dist/chunks/{console-access-tvdfthjb.js → command-dadjdgyz.js} +5 -5
- package/dist/chunks/{console-access-zzrv6hmv.js → command-dew5qk93.js} +3 -3
- package/dist/chunks/{console-access-vt2d6wap.js → command-dg5naf6e.js} +4 -4
- package/dist/chunks/{console-access-zzq8e1qd.js → command-dk7fqqpc.js} +20 -20
- package/dist/chunks/{console-access-dt77769w.js → command-dt77769w.js} +1 -1
- package/dist/chunks/{console-access-dr2entw9.js → command-dv96216k.js} +4 -4
- package/dist/chunks/{console-access-0hqesebc.js → command-dw9ambcw.js} +18 -18
- package/dist/chunks/{console-access-yeznf84t.js → command-e20404rw.js} +20 -20
- package/dist/chunks/{console-access-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{console-access-h94p8a1g.js → command-e8zvtb1d.js} +4 -4
- package/dist/chunks/{console-access-c51p6570.js → command-eavcrtrz.js} +2 -2
- package/dist/chunks/{console-access-r2yk7pyr.js → command-eb88xskz.js} +3 -3
- package/dist/chunks/{console-access-e64j4m66.js → command-eh0vxpws.js} +12 -12
- package/dist/chunks/{console-access-9qw355mz.js → command-em76vs3r.js} +21 -21
- package/dist/chunks/{console-access-2bswbpgz.js → command-ep6pe98a.js} +5 -5
- package/dist/chunks/{console-access-jsq335zf.js → command-eq7e38gt.js} +44 -44
- package/dist/chunks/{console-access-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
- package/dist/chunks/{console-access-cf7ccg46.js → command-ewfampc3.js} +5 -5
- package/dist/chunks/{console-access-xh49vxj8.js → command-ex0pka66.js} +5 -5
- package/dist/chunks/{console-access-wxzgy38h.js → command-f1yvwjyg.js} +15 -15
- package/dist/chunks/{console-access-f341sazs.js → command-f341sazs.js} +3 -3
- package/dist/chunks/{console-access-dn2vjhsa.js → command-f8xy3smx.js} +7 -7
- package/dist/chunks/{console-access-624zahf0.js → command-fd76rfhc.js} +15 -15
- package/dist/chunks/{console-access-twecacrr.js → command-fem8f9eb.js} +4 -4
- package/dist/chunks/{console-access-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{console-access-fg9p65nk.js → command-fg9p65nk.js} +2 -2
- package/dist/chunks/{console-access-xkwa9bch.js → command-fkbe4g64.js} +43 -43
- package/dist/chunks/{console-access-p8ps3hb8.js → command-fp4v3mch.js} +26 -26
- package/dist/chunks/{console-access-bm74mb0m.js → command-fz1yarbh.js} +8 -8
- package/dist/chunks/{console-access-2jw11307.js → command-g1k7aycc.js} +59 -59
- package/dist/chunks/{console-access-4xd968k4.js → command-g3gj9wbx.js} +16 -16
- package/dist/chunks/{console-access-yxrvy3v0.js → command-g7xbx5hr.js} +26 -26
- package/dist/chunks/{console-access-5b8k0r9c.js → command-gadfgand.js} +30 -30
- package/dist/chunks/{console-access-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
- package/dist/chunks/{console-access-3c7btp5b.js → command-gf0n33sa.js} +41 -41
- package/dist/chunks/{console-access-w9bn5hmw.js → command-gn6qas9s.js} +8 -8
- package/dist/chunks/{console-access-e56qxkt4.js → command-h121ctj5.js} +26 -26
- package/dist/chunks/{console-access-26pqs6nj.js → command-h15jyg2c.js} +20 -20
- package/dist/chunks/{console-access-2qztzx85.js → command-h4p3s0ke.js} +8 -8
- package/dist/chunks/{console-access-eqrgg9w4.js → command-h9w2wztg.js} +7 -7
- package/dist/chunks/{console-access-d6anhaet.js → command-hdreqhvr.js} +6 -6
- package/dist/chunks/{console-access-xmpds20m.js → command-hdvssxsh.js} +8 -8
- package/dist/chunks/{console-access-fmq8jk01.js → command-hggysd9g.js} +17 -17
- package/dist/chunks/{console-access-vvcrky5h.js → command-hgq3vbzc.js} +13 -13
- package/dist/chunks/{console-access-e4534mb3.js → command-hj6757n4.js} +9 -9
- package/dist/chunks/{console-access-660m4eb8.js → command-hmtj6hyv.js} +7 -7
- package/dist/chunks/{console-access-hpg1pkwy.js → command-hpg1pkwy.js} +1 -1
- package/dist/chunks/{console-access-3r17c5hc.js → command-hsnq1va6.js} +5 -5
- package/dist/chunks/{console-access-1419jydy.js → command-hydc8sb0.js} +28 -28
- package/dist/chunks/{console-access-dchadnsn.js → command-j2vadtqh.js} +4 -4
- package/dist/chunks/{console-access-m7azzab1.js → command-jehkna21.js} +35 -35
- package/dist/chunks/{console-access-c7ftmb2r.js → command-jj70n8bv.js} +11 -11
- package/dist/chunks/{console-access-rktk457n.js → command-jkmtdw7r.js} +31 -31
- package/dist/chunks/{console-access-qy3c2dy2.js → command-jsgsqtkj.js} +23 -23
- package/dist/chunks/{console-access-jtnps1zs.js → command-jtnps1zs.js} +2 -2
- package/dist/chunks/{console-access-g1qykwzp.js → command-k12egh6v.js} +12 -12
- package/dist/chunks/{console-access-qtyhj1r4.js → command-k3cx6fhe.js} +4 -4
- package/dist/chunks/{console-access-bax3s44t.js → command-k3xz1kqh.js} +10 -10
- package/dist/chunks/{console-access-xyg4pv5p.js → command-k8tfz2pr.js} +13 -13
- package/dist/chunks/{console-access-p40bz6hx.js → command-k98vne29.js} +6 -6
- package/dist/chunks/{console-access-3x2cfskp.js → command-k9vf01a8.js} +26 -26
- package/dist/chunks/{console-access-bmmx49x9.js → command-kb0np1gh.js} +15 -15
- package/dist/chunks/{console-access-05t2sh6f.js → command-kfh2x84g.js} +25 -25
- package/dist/chunks/{console-access-ne9zgeam.js → command-kfk88nk4.js} +3 -3
- package/dist/chunks/{console-access-0tsexbhg.js → command-kfy2q1ak.js} +15 -15
- package/dist/chunks/{console-access-00av7mmf.js → command-kk6xkkkx.js} +5 -5
- package/dist/chunks/{console-access-f097nb4k.js → command-km40m5ns.js} +5 -5
- package/dist/chunks/{console-access-z4q7sbr8.js → command-kpf2z2p8.js} +15 -15
- package/dist/chunks/{console-access-35kh23ch.js → command-kshj9d31.js} +6 -6
- package/dist/chunks/{console-access-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{console-access-vck3djmw.js → command-kw3k79h8.js} +11 -11
- package/dist/chunks/{console-access-pcz7d684.js → command-kxapkf6w.js} +22 -22
- package/dist/chunks/{console-access-kzczzf4v.js → command-kzczzf4v.js} +1 -1
- package/dist/chunks/{console-access-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{console-access-zpzp6d8n.js → command-m3kvqs0d.js} +4 -4
- package/dist/chunks/{console-access-k5a151g4.js → command-m3n793pr.js} +13 -13
- package/dist/chunks/{console-access-xpy6zrrm.js → command-m6v42eaj.js} +18 -18
- package/dist/chunks/{console-access-6dgg9zbw.js → command-m7c7chqb.js} +8 -8
- package/dist/chunks/{console-access-v8xpr2tt.js → command-m81bzjfe.js} +11 -11
- package/dist/chunks/{console-access-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{console-access-6bmp6cfx.js → command-mar5fkdv.js} +18 -18
- package/dist/chunks/{console-access-ed3pzxm2.js → command-mc4nak6k.js} +11 -11
- package/dist/chunks/command-mhzfw4jr.js +26 -0
- package/dist/chunks/{console-access-sbz71ybr.js → command-mqe7nf5n.js} +3 -3
- package/dist/chunks/{console-access-6nk58est.js → command-mrbybpah.js} +9 -9
- package/dist/chunks/{console-access-qj27ec1j.js → command-mrpnjyvf.js} +6 -6
- package/dist/chunks/{console-access-msd2a3qm.js → command-msd2a3qm.js} +4 -4
- package/dist/chunks/{console-access-02t4sq1s.js → command-mzghyjtv.js} +9 -9
- package/dist/chunks/{console-access-s6vb3pn5.js → command-n6psnvgb.js} +83 -83
- package/dist/chunks/{console-access-mz61v94s.js → command-nhb7dawg.js} +6 -6
- package/dist/chunks/{console-access-4ennmbap.js → command-njgmnpsj.js} +17 -17
- package/dist/chunks/{console-access-563btd7h.js → command-njwn7sfg.js} +5 -5
- package/dist/chunks/{console-access-wegkxhrn.js → command-nx4vzyjd.js} +2 -2
- package/dist/chunks/{console-access-nyxvvj5y.js → command-nyxvvj5y.js} +1 -1
- package/dist/chunks/{console-access-mk685369.js → command-p5g9w7pv.js} +5 -5
- package/dist/chunks/{console-access-32zczr2d.js → command-p5zn79av.js} +12 -12
- package/dist/chunks/{console-access-gqcb6hht.js → command-p8707ak6.js} +8 -8
- package/dist/chunks/{console-access-kwbmt926.js → command-panhh2j7.js} +7 -7
- package/dist/chunks/{console-access-fqdzsgb0.js → command-pb6ek1ed.js} +6 -6
- package/dist/chunks/{console-access-0m9q59s6.js → command-pgqxr0th.js} +4 -4
- package/dist/chunks/{console-access-zf7524d8.js → command-pkkerzhz.js} +9 -9
- package/dist/chunks/{console-access-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{console-access-20tp8xjj.js → command-q8sewpqz.js} +28 -28
- package/dist/chunks/{console-access-mbm9ywtd.js → command-qa5fs36y.js} +50 -50
- package/dist/chunks/{console-access-aysgnqn4.js → command-qb4gh8kf.js} +11 -11
- package/dist/chunks/{console-access-r83a0y0t.js → command-qcfgkj9r.js} +38 -38
- package/dist/chunks/{console-access-9w206snf.js → command-qe7mwe9n.js} +19 -19
- package/dist/chunks/{console-access-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
- package/dist/chunks/{console-access-qqvy8y24.js → command-qqvy8y24.js} +1 -1
- package/dist/chunks/{console-access-80w7pvyj.js → command-qtqd8qd2.js} +34 -34
- package/dist/chunks/{console-access-nthzbqcj.js → command-qzt3vhe1.js} +19 -19
- package/dist/chunks/{console-access-44490wat.js → command-r0p7eeq8.js} +3 -3
- package/dist/chunks/{console-access-44h3ma3a.js → command-r16vpvj8.js} +21 -21
- package/dist/chunks/{console-access-kb88sqat.js → command-r3p0yxt4.js} +4 -4
- package/dist/chunks/{console-access-4f25tdd0.js → command-r542h3bh.js} +5 -5
- package/dist/chunks/{console-access-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{console-access-dyam4349.js → command-rbmcs465.js} +48 -48
- package/dist/chunks/{console-access-j8vetwd8.js → command-rd4mm1pb.js} +14 -14
- package/dist/chunks/{console-access-d7cgytp7.js → command-rjg4ptcj.js} +9 -9
- package/dist/chunks/{console-access-h0d7pj0g.js → command-rpn80m74.js} +23 -23
- package/dist/chunks/{console-access-wv0g8kj6.js → command-rsbwxkx1.js} +23 -23
- package/dist/chunks/{console-access-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{console-access-d5n505qg.js → command-rz96zqye.js} +35 -35
- package/dist/chunks/{console-access-z080rjh6.js → command-rzg6y5rp.js} +4 -4
- package/dist/chunks/{console-access-xmfvk442.js → command-s876m31k.js} +1 -1
- package/dist/chunks/{console-access-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
- package/dist/chunks/{console-access-sbya78hr.js → command-sbya78hr.js} +1 -1
- package/dist/chunks/{console-access-bzp3zv0g.js → command-sn407hwe.js} +4 -4
- package/dist/chunks/{console-access-f91rbz3w.js → command-snd2c1sc.js} +8 -8
- package/dist/chunks/{console-access-wh2kfbg9.js → command-sq46n1ws.js} +33 -33
- package/dist/chunks/{console-access-t6q6zta1.js → command-srpr092m.js} +8 -8
- package/dist/chunks/{console-access-bntk4jd2.js → command-ss6rca7c.js} +11 -11
- package/dist/chunks/{console-access-jbd4zzkw.js → command-st0msf87.js} +8 -8
- package/dist/chunks/{console-access-svcy3p9a.js → command-svcy3p9a.js} +1 -1
- package/dist/chunks/{console-access-pmajhwk5.js → command-sxfhqfma.js} +20 -20
- package/dist/chunks/{console-access-za5s83ga.js → command-szaz2na7.js} +9 -9
- package/dist/chunks/{console-access-jyg7yfag.js → command-szk0qybb.js} +11 -11
- package/dist/chunks/{console-access-szwm4crx.js → command-szwm4crx.js} +4 -4
- package/dist/chunks/{console-access-65ev8zx0.js → command-taph1qf0.js} +18 -18
- package/dist/chunks/{console-access-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{console-access-ctmpqb7w.js → command-teav1bzy.js} +9 -9
- package/dist/chunks/{console-access-tg7s7b5t.js → command-tg7s7b5t.js} +1 -1
- package/dist/chunks/{console-access-eq9a65a0.js → command-tg97v2x8.js} +10 -10
- package/dist/chunks/{console-access-bja887sn.js → command-tj8at3pd.js} +19 -19
- package/dist/chunks/{console-access-m0hf8jcj.js → command-tqm8dnep.js} +28 -28
- package/dist/chunks/{console-access-tr8x705m.js → command-tr8x705m.js} +1 -1
- package/dist/chunks/{console-access-bht54dp0.js → command-tvxtjraa.js} +19 -19
- package/dist/chunks/{console-access-twssxy5n.js → command-twssxy5n.js} +2 -2
- package/dist/chunks/{console-access-6hk9n0ea.js → command-v02mjp3j.js} +12 -12
- package/dist/chunks/{console-access-0ha3e93w.js → command-v05kmqya.js} +25 -25
- package/dist/chunks/{console-access-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{console-access-3tx67vzs.js → command-v6gz3rmh.js} +11 -11
- package/dist/chunks/{console-access-vjf35v1f.js → command-vjf35v1f.js} +1 -1
- package/dist/chunks/{console-access-k46dd5bg.js → command-vmqe41cb.js} +4 -4
- package/dist/chunks/{console-access-88vr49vm.js → command-vnjc296t.js} +3 -3
- package/dist/chunks/{console-access-zj094p6x.js → command-vq898f1s.js} +163 -163
- package/dist/chunks/{console-access-qc1ntex2.js → command-vrzg4qtw.js} +13 -13
- package/dist/chunks/{console-access-stew84z7.js → command-vwrmm61s.js} +9 -9
- package/dist/chunks/{console-access-8wjgamp7.js → command-vzppetdn.js} +6 -6
- package/dist/chunks/{console-access-r41sfy63.js → command-w2eysc6j.js} +6 -6
- package/dist/chunks/{console-access-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{console-access-mb483vwh.js → command-w4ev9r83.js} +49 -49
- package/dist/chunks/{console-access-w4912arp.js → command-w4q3878f.js} +9 -9
- package/dist/chunks/{console-access-dwz0axpt.js → command-w8d5vdwn.js} +8 -8
- package/dist/chunks/{console-access-wkzek7yd.js → command-w8kbqbtc.js} +48 -48
- package/dist/chunks/{console-access-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{console-access-j4b6t5e8.js → command-wc7xqkqp.js} +12 -12
- package/dist/chunks/{console-access-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{console-access-87n1kqyy.js → command-wdrav5q2.js} +6 -6
- package/dist/chunks/{console-access-y0bzh6gv.js → command-wkcv597c.js} +19 -19
- package/dist/chunks/{console-access-wnhgecwx.js → command-wnhgecwx.js} +1 -1
- package/dist/chunks/{console-access-y4rj72h1.js → command-wqgynrd9.js} +22 -22
- package/dist/chunks/{console-access-w687dnns.js → command-wr3re1en.js} +4 -4
- package/dist/chunks/{console-access-8wp918wm.js → command-wzpt9sha.js} +16 -16
- package/dist/chunks/{console-access-zze2878w.js → command-x5bmkdk7.js} +11 -11
- package/dist/chunks/{console-access-zm27gg57.js → command-x67mg8mk.js} +2 -2
- package/dist/chunks/{console-access-x0e1k7q0.js → command-xhmyjmwr.js} +27 -27
- package/dist/chunks/{console-access-yqxc2111.js → command-xnmp91g9.js} +3 -3
- package/dist/chunks/{console-access-m4nd2gbn.js → command-xnsg1h88.js} +21 -21
- package/dist/chunks/{console-access-sjdh2dpj.js → command-xxyt325t.js} +21 -21
- package/dist/chunks/{console-access-00p7q2hf.js → command-xz26zpy4.js} +11 -11
- package/dist/chunks/{console-access-hmdw8s6j.js → command-y2m9h3t8.js} +33 -33
- package/dist/chunks/{console-access-aj1mvpr4.js → command-y597xyv2.js} +5 -5
- package/dist/chunks/{console-access-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{console-access-amavfpzd.js → command-ybr8wh1x.js} +12 -12
- package/dist/chunks/{console-access-y8dnxcz5.js → command-yej5ha0y.js} +31 -31
- package/dist/chunks/{console-access-2mbjfaxd.js → command-yqveydy6.js} +4 -4
- package/dist/chunks/{console-access-yr705xyq.js → command-yr705xyq.js} +1 -1
- package/dist/chunks/{console-access-yvtc2x31.js → command-yvtc2x31.js} +1 -1
- package/dist/chunks/command-ywh3xphk.js +16 -0
- package/dist/chunks/{console-access-ae3jze8m.js → command-yzk0q0ka.js} +43 -43
- package/dist/chunks/{console-access-eqfkf0xx.js → command-z1n1esxz.js} +19 -19
- package/dist/chunks/{console-access-w8m5eqbn.js → command-z9xnksb8.js} +9 -9
- package/dist/chunks/{console-access-j9nxzz3g.js → command-ze75qvmd.js} +3 -3
- package/dist/chunks/command-ztcs3mn5.js +261 -0
- package/dist/chunks/{console-access-0ew0hkvc.js → command-zz4psmsc.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +128 -128
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- 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 +62 -62
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- package/dist/effect/app-node-platform.js +2 -2
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- 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 +239 -239
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- 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 +421 -421
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +94 -94
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- 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 +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- 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 +4 -4
- 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 +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- 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 +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -405
- 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 +106 -106
- package/dist/plugin/warming.js +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +112 -112
- 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 +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +198 -198
- 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 +239 -239
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +143 -143
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +248 -248
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +196 -196
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +234 -234
- package/dist/session/usage.js +3 -3
- package/dist/session.js +235 -235
- 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 +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +106 -106
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +162 -162
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +166 -166
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +165 -165
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +153 -153
- package/dist/tool/plugin/websearch.js +151 -151
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/usage-limits.js +100 -100
- 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 +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- 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 +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/console-access-197h7524.js +0 -261
- package/dist/chunks/console-access-2b1ea8az.js +0 -26
- package/dist/chunks/console-access-d77dj7jw.js +0 -18
- package/dist/chunks/console-access-e9r9mnye.js +0 -16
- package/dist/chunks/console-access-hdva3y54.js +0 -555
- /package/dist/chunks/{console-access-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{console-access-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{console-access-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{console-access-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{console-access-1kah00gy.js → command-1kah00gy.js} +0 -0
- /package/dist/chunks/{console-access-1pevy3nx.js → command-1pevy3nx.js} +0 -0
- /package/dist/chunks/{console-access-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{console-access-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{console-access-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{console-access-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{console-access-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{console-access-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{console-access-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{console-access-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{console-access-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{console-access-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{console-access-4qk9sjk2.js → command-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{console-access-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{console-access-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{console-access-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{console-access-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{console-access-5w3e23ze.js → command-5w3e23ze.js} +0 -0
- /package/dist/chunks/{console-access-6agm2x70.js → command-6agm2x70.js} +0 -0
- /package/dist/chunks/{console-access-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{console-access-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{console-access-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{console-access-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{console-access-7stb81gk.js → command-7stb81gk.js} +0 -0
- /package/dist/chunks/{console-access-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{console-access-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{console-access-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{console-access-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{console-access-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{console-access-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{console-access-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{console-access-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{console-access-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{console-access-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{console-access-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{console-access-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{console-access-beh6qq61.js → command-beh6qq61.js} +0 -0
- /package/dist/chunks/{console-access-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{console-access-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{console-access-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{console-access-cqv5kn06.js → command-cqv5kn06.js} +0 -0
- /package/dist/chunks/{console-access-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{console-access-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{console-access-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{console-access-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{console-access-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{console-access-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{console-access-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{console-access-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{console-access-ean2d8b5.js → command-ean2d8b5.js} +0 -0
- /package/dist/chunks/{console-access-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{console-access-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{console-access-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{console-access-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{console-access-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{console-access-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{console-access-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{console-access-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{console-access-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{console-access-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{console-access-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{console-access-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{console-access-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{console-access-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{console-access-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{console-access-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{console-access-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{console-access-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{console-access-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{console-access-jwr30sdr.js → command-jwr30sdr.js} +0 -0
- /package/dist/chunks/{console-access-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{console-access-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{console-access-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{console-access-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{console-access-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{console-access-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{console-access-nh4v3znn.js → command-nh4v3znn.js} +0 -0
- /package/dist/chunks/{console-access-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{console-access-p71gwv9c.js → command-p71gwv9c.js} +0 -0
- /package/dist/chunks/{console-access-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{console-access-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{console-access-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{console-access-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{console-access-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{console-access-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{console-access-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{console-access-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{console-access-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{console-access-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{console-access-syrav9an.js → command-syrav9an.js} +0 -0
- /package/dist/chunks/{console-access-t03h4f5z.js → command-t03h4f5z.js} +0 -0
- /package/dist/chunks/{console-access-ty7weeps.js → command-ty7weeps.js} +0 -0
- /package/dist/chunks/{console-access-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{console-access-vtarvj67.js → command-vtarvj67.js} +0 -0
- /package/dist/chunks/{console-access-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{console-access-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{console-access-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{console-access-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{console-access-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{console-access-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{console-access-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{console-access-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{console-access-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{console-access-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{console-access-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node79
|
|
8
|
+
} from "./command-671snc9x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node64
|
|
12
|
+
} from "./command-yzk0q0ka.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
24
|
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service21,
|
|
29
29
|
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer12,
|
|
32
|
+
node: () => node24
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service21 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer12 = Layer.effect(Service21, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service62;
|
|
89
|
+
const models = yield* Service77;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -163,7 +163,7 @@ var layer21 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
165
|
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
-
return
|
|
166
|
+
return Service21.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node24 = makeLocationNode({
|
|
219
|
+
service: Service21,
|
|
220
|
+
layer: layer12,
|
|
221
|
+
deps: [node64, node79, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2,
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service21, layer12, node24, exports_generate };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info21,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -70,6 +70,6 @@ var Remote2 = Schema.Struct({
|
|
|
70
70
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
71
71
|
})
|
|
72
72
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
73
|
-
var
|
|
73
|
+
var Info21 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
74
74
|
|
|
75
|
-
export { Local2, OAuth2, Remote2,
|
|
75
|
+
export { Local2, OAuth2, Remote2, Info21, exports_mcp5 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2,
|
|
3
3
|
exists2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-svcy3p9a.js";
|
|
5
5
|
import {
|
|
6
6
|
AbsolutePath2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9n9g8h1e.js";
|
|
11
11
|
import {
|
|
12
12
|
Service86,
|
|
13
13
|
node89
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-497cbh7y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service82,
|
|
17
|
+
node84
|
|
18
|
+
} from "./command-xnsg1h88.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node70
|
|
22
|
+
} from "./command-eq7e38gt.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/file-access.ts
|
|
28
28
|
var exports_file_access = {};
|
|
@@ -30,8 +30,8 @@ __export(exports_file_access, {
|
|
|
30
30
|
FileAccess: () => exports_file_access,
|
|
31
31
|
Kind: () => Kind2,
|
|
32
32
|
ResolveInput: () => ResolveInput2,
|
|
33
|
-
Service: () =>
|
|
34
|
-
node: () =>
|
|
33
|
+
Service: () => Service67,
|
|
34
|
+
node: () => node69,
|
|
35
35
|
resolvePath: () => resolvePath2
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -45,7 +45,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
45
45
|
kind: Kind2.pipe(Schema.optional)
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service67 extends Context.Service()("@opencode/FileAccess") {
|
|
49
49
|
}
|
|
50
50
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
51
51
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -57,11 +57,11 @@ var invocation = (context) => ({
|
|
|
57
57
|
agent: context.agent,
|
|
58
58
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
59
59
|
});
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const { files } = yield*
|
|
60
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
61
|
+
const { files } = yield* Service82;
|
|
62
62
|
const exists = (file) => exists2(files, file);
|
|
63
63
|
const location = yield* Service86;
|
|
64
|
-
const permission = yield*
|
|
64
|
+
const permission = yield* Service68;
|
|
65
65
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
66
66
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
67
67
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -110,12 +110,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
110
110
|
});
|
|
111
111
|
return target;
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service67.of({ resolve, authorizeExternal, authorizeRead });
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node69 = makeLocationNode({
|
|
116
|
+
service: Service67,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [
|
|
118
|
+
deps: [node84, node89, node70]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { Kind2, ResolveInput2,
|
|
121
|
+
export { Kind2, ResolveInput2, Service67, resolvePath2, node69, exports_file_access };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shared-cache.ts
|
|
6
6
|
var exports_shared_cache = {};
|
|
7
7
|
__export(exports_shared_cache, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service16,
|
|
9
9
|
SharedCache: () => exports_shared_cache,
|
|
10
10
|
fingerprint: () => fingerprint2,
|
|
11
11
|
interval: () => interval2,
|
|
12
|
-
node: () =>
|
|
12
|
+
node: () => node18,
|
|
13
13
|
transient: () => transient2
|
|
14
14
|
});
|
|
15
15
|
import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
|
|
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
|
|
|
18
18
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
var interval2 = Duration.minutes(10);
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class Service16 extends Context.Service()("@opencode/SharedCache") {
|
|
22
22
|
}
|
|
23
23
|
var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
|
|
24
24
|
var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
|
|
25
25
|
var unread = Duration.toMillis(Duration.hours(24));
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
27
27
|
const run = yield* FiberSet.makeRuntime();
|
|
28
28
|
const entries = new Map;
|
|
29
29
|
const start = Effect.fnUntraced(function* (key, entry, load) {
|
|
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
59
59
|
}))));
|
|
60
60
|
return yield* Fiber.join(entry.loading);
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return Service16.of({ get });
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node18 = makeGlobalNode({ service: Service16, layer, deps: [] });
|
|
65
65
|
|
|
66
|
-
export { interval2,
|
|
66
|
+
export { interval2, Service16, fingerprint2, transient2, node18, exports_shared_cache };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-dew5qk93.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-27w5k9zf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID12,
|
|
17
|
+
Info: () => Info15,
|
|
18
|
+
NotFoundError: () => NotFoundError12,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service70,
|
|
21
|
+
node: () => node72
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID12 = PermissionSaved.ID;
|
|
29
|
+
var Info15 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError12 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID12
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID12,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service70 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service90).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID12.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service70.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node72 = makeGlobalNode({ service: Service70, layer, deps: [node93] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID12, Info15, NotFoundError12, ConflictError2, Service70, node72, exports_saved };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-5jfjz3xv.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
Service86,
|
|
11
11
|
node89
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-497cbh7y.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node80,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./command-v05kmqya.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID15,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service77,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node79,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -50,8 +50,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
54
|
-
var
|
|
53
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
54
|
+
var ID15 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,12 +69,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info23 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
76
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service78;
|
|
78
78
|
const bus = yield* Service89;
|
|
79
79
|
const location = yield* Service86;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info23.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID16.opencode, ID16.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -227,8 +227,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
227
227
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
|
-
yield* bus.subscribe(
|
|
231
|
-
return
|
|
230
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
+
return Service77.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node79 = makeLocationNode({ service: Service77, layer, deps: [node80, node92, node89] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID16.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -274,9 +274,9 @@ function compatibility2(input) {
|
|
|
274
274
|
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info23, Service77, node79, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/usage.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ClaudeUsage: () =>
|
|
9
|
-
make: () =>
|
|
6
|
+
var exports_usage2 = {};
|
|
7
|
+
__export(exports_usage2, {
|
|
8
|
+
ClaudeUsage: () => exports_usage2,
|
|
9
|
+
make: () => make12
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make12() {
|
|
12
12
|
const messages = new Map;
|
|
13
13
|
let last;
|
|
14
14
|
function update(id, usage) {
|
|
@@ -52,4 +52,4 @@ function make10() {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { make12, exports_usage2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./command-xnsg1h88.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service19,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-vrzg4qtw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service57
|
|
11
|
+
} from "./command-xz26zpy4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service68
|
|
14
|
+
} from "./command-eq7e38gt.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service67
|
|
17
|
+
} from "./command-64dgh3k3.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin7,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin7 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service67;
|
|
56
|
+
const fileMutation = yield* Service19;
|
|
57
|
+
const environment = yield* Service82;
|
|
58
|
+
const formatter = yield* Service57;
|
|
59
|
+
const permission = yield* Service68;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input5,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output4, toModelContent3, Plugin7, exports_write };
|