@opencode/core 0.0.0-dev-19457 → 0.0.0-dev-19459
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{image-m4w607dc.js → kv-035y26vf.js} +15 -15
- package/dist/chunks/{image-5ba08tq2.js → kv-0bp11ksp.js} +18 -18
- package/dist/chunks/{image-zgag1mt3.js → kv-0evvd92y.js} +56 -56
- package/dist/chunks/kv-0kwcw7fy.js +4 -0
- package/dist/chunks/{image-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{image-w60wfjzm.js → kv-0yz71n10.js} +17 -17
- package/dist/chunks/{image-kv35jyk8.js → kv-11xwek3f.js} +15 -15
- package/dist/chunks/{image-78qgck3m.js → kv-12v07r08.js} +12 -12
- package/dist/chunks/kv-18nhnycp.js +22 -0
- package/dist/chunks/{image-r98e92ep.js → kv-1a6p2twq.js} +4 -4
- package/dist/chunks/{image-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-gavaq7t9.js → kv-1h6gjd8c.js} +30 -30
- package/dist/chunks/{image-4w9hfah2.js → kv-1ym52s0g.js} +18 -18
- package/dist/chunks/{image-sj54rnv5.js → kv-1ze9rnbj.js} +4 -4
- package/dist/chunks/{image-b4h4629r.js → kv-20y2msxf.js} +20 -20
- package/dist/chunks/{image-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{image-bm1f71yt.js → kv-23279rje.js} +8 -8
- package/dist/chunks/{image-1ervj5yr.js → kv-23k62ntz.js} +6 -6
- package/dist/chunks/{image-gea75zad.js → kv-244ny2pf.js} +15 -15
- package/dist/chunks/{image-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-hkbay003.js → kv-2kty7x0k.js} +34 -34
- package/dist/chunks/{image-v6kh18tr.js → kv-2tavq0r4.js} +4 -4
- package/dist/chunks/{image-znm7r4d0.js → kv-32t7e08w.js} +84 -84
- package/dist/chunks/{image-56gdpj1q.js → kv-33w4ejhs.js} +6 -6
- package/dist/chunks/{image-zser6m81.js → kv-34pkvy5y.js} +30 -30
- package/dist/chunks/{image-80s7wyqt.js → kv-35nm4m8d.js} +13 -13
- package/dist/chunks/{image-bgjgs47y.js → kv-37pkes6r.js} +34 -34
- package/dist/chunks/{image-bekaf6h9.js → kv-386yacj4.js} +4 -4
- package/dist/chunks/{image-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-593fhq5d.js → kv-3j6dd1ze.js} +14 -14
- package/dist/chunks/{image-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-v2kj6y7k.js → kv-3x2xmk5f.js} +23 -23
- package/dist/chunks/{image-fcxgme18.js → kv-3xjx3nnr.js} +14 -14
- package/dist/chunks/{image-0fbeg7er.js → kv-432xgzw3.js} +30 -30
- package/dist/chunks/{image-zkhp2mw3.js → kv-45h5n6eh.js} +9 -9
- package/dist/chunks/{image-fmmn8x74.js → kv-47r3zz0x.js} +3 -3
- package/dist/chunks/{image-1mpsz6n1.js → kv-4b1heq7g.js} +30 -30
- package/dist/chunks/{image-6yxyx5nk.js → kv-4eh77v0x.js} +17 -17
- package/dist/chunks/{image-t1bhcjx3.js → kv-4whayx0s.js} +1 -1
- package/dist/chunks/{image-0ajdgxne.js → kv-4y66k410.js} +5 -5
- package/dist/chunks/{image-hv4dbmz4.js → kv-4zph1b4r.js} +2 -2
- package/dist/chunks/{image-d3e6s3hq.js → kv-54envfdg.js} +12 -12
- package/dist/chunks/{image-4665f8tn.js → kv-5755hzzr.js} +24 -24
- package/dist/chunks/{image-zxjep6kn.js → kv-576fhmq5.js} +18 -18
- package/dist/chunks/{image-g9y442nq.js → kv-59qrh9ax.js} +30 -30
- package/dist/chunks/{image-r0dk3056.js → kv-5b2ja83v.js} +10 -10
- package/dist/chunks/{image-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{image-8sbmyw1k.js → kv-5h4p6p65.js} +32 -32
- package/dist/chunks/{image-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-y1cspw1d.js → kv-5ta5rkt1.js} +18 -18
- package/dist/chunks/{image-hr3gf4nn.js → kv-5xcehd92.js} +25 -25
- package/dist/chunks/{image-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{image-2402vzrj.js → kv-6h73sxmp.js} +5 -5
- package/dist/chunks/{image-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-5mppx927.js → kv-6qk3rsrc.js} +9 -9
- package/dist/chunks/{image-bv0j8maw.js → kv-6r8zamjg.js} +10 -10
- package/dist/chunks/{image-6tt5evqq.js → kv-6s9eyz9r.js} +4 -4
- package/dist/chunks/{image-n12gefs8.js → kv-6x37xp33.js} +12 -12
- package/dist/chunks/{image-tc8ewk3m.js → kv-711jmqzf.js} +3 -3
- package/dist/chunks/kv-715d9qs0.js +247 -0
- package/dist/chunks/{image-p0hbm3k3.js → kv-71d1h0hm.js} +30 -30
- package/dist/chunks/{image-71q4at8m.js → kv-71q4at8m.js} +1 -1
- package/dist/chunks/{image-mvfsc1pv.js → kv-73tb2d7t.js} +3 -3
- package/dist/chunks/{image-jqzsvaxq.js → kv-79fkffh7.js} +18 -18
- package/dist/chunks/{image-9tjj22mb.js → kv-7amrkpe1.js} +47 -47
- package/dist/chunks/{image-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-0jwsre1p.js → kv-7dqw4kz8.js} +5 -5
- package/dist/chunks/{image-w6y509k3.js → kv-7fda20w6.js} +5 -5
- package/dist/chunks/{image-bgv2vj74.js → kv-7fsaq6e9.js} +11 -11
- package/dist/chunks/{image-3gzhmtn4.js → kv-7nff8x50.js} +30 -30
- package/dist/chunks/{image-3pbjq009.js → kv-818pfwc9.js} +8 -8
- package/dist/chunks/{image-cgm8tx61.js → kv-8b7x386w.js} +11 -11
- package/dist/chunks/{image-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-chs42n3s.js → kv-8jjhk1q2.js} +20 -20
- package/dist/chunks/{image-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{image-n0k2s00q.js → kv-8w7wj211.js} +65 -65
- package/dist/chunks/{image-ppx3mf03.js → kv-8ykkmn9r.js} +4 -4
- package/dist/chunks/{image-t9we8gtp.js → kv-8ytb3y3t.js} +15 -15
- package/dist/chunks/{image-0e3dkj8x.js → kv-909q3sbg.js} +23 -23
- package/dist/chunks/{image-gaxs3wxq.js → kv-979jzsrn.js} +3 -3
- package/dist/chunks/{image-ztp1c22s.js → kv-98bbrenc.js} +14 -14
- package/dist/chunks/{image-4d5fg4zx.js → kv-98wca9vv.js} +16 -16
- package/dist/chunks/{image-wcbqwdj0.js → kv-992nrvv2.js} +18 -18
- package/dist/chunks/{image-68xpwqwy.js → kv-9pv0dm11.js} +9 -9
- package/dist/chunks/{image-41wmpfte.js → kv-9r3t3x4q.js} +5 -5
- package/dist/chunks/{image-k50dzesf.js → kv-9v1bvhx1.js} +32 -32
- package/dist/chunks/{image-078nxzjh.js → kv-9z6bc1tk.js} +5 -5
- package/dist/chunks/{image-t0xqehjt.js → kv-a04mvahc.js} +4 -4
- package/dist/chunks/{image-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{image-wctv2b53.js → kv-a1haqd7r.js} +6 -6
- package/dist/chunks/{image-ratrq7cm.js → kv-a2ew8a62.js} +4 -4
- package/dist/chunks/{image-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{image-zvhkt9az.js → kv-acz5m649.js} +46 -46
- package/dist/chunks/{image-pg7ahc1x.js → kv-ax7cneaf.js} +14 -14
- package/dist/chunks/{image-bfe2nngh.js → kv-b1fbxvtj.js} +35 -35
- package/dist/chunks/{image-p55kevqr.js → kv-b3xeh6c9.js} +13 -13
- package/dist/chunks/{image-nben00c6.js → kv-b49wezdf.js} +18 -18
- package/dist/chunks/{image-bej52x8k.js → kv-b5kvjmnm.js} +11 -11
- package/dist/chunks/{image-h6p4zd2r.js → kv-b63ht0s6.js} +18 -18
- package/dist/chunks/{image-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-fkk33nnp.js → kv-b6xmsvfe.js} +30 -30
- package/dist/chunks/{image-v7w2xbsn.js → kv-baymfvbz.js} +4 -4
- package/dist/chunks/{image-db1rdv3a.js → kv-c09xw0p7.js} +54 -54
- package/dist/chunks/{image-1c0nckdw.js → kv-c156ep7e.js} +11 -11
- package/dist/chunks/{image-4sz6vr31.js → kv-ccgygnta.js} +3 -3
- package/dist/chunks/{image-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{image-5gc856jg.js → kv-cwx08fmw.js} +30 -30
- package/dist/chunks/{image-7tpm343q.js → kv-d0vn5wzd.js} +22 -22
- package/dist/chunks/{image-6p5bvb6g.js → kv-d38t1zvd.js} +20 -20
- package/dist/chunks/{image-n4fv29tr.js → kv-d8j2ny38.js} +25 -25
- package/dist/chunks/{image-hzwr1k4c.js → kv-dam6jesc.js} +15 -15
- package/dist/chunks/{image-npx697kp.js → kv-ddgw6qpw.js} +26 -26
- package/dist/chunks/{image-9b46594b.js → kv-dvvjdwja.js} +43 -43
- package/dist/chunks/{image-hhd6670r.js → kv-e1czfjpt.js} +17 -17
- package/dist/chunks/{image-x200nq4y.js → kv-e8mc6xww.js} +7 -7
- package/dist/chunks/{image-hkfg6fzm.js → kv-ead3g9p8.js} +5 -5
- package/dist/chunks/{image-s8d7rejh.js → kv-eaj1djv9.js} +6 -6
- package/dist/chunks/{image-e5yapg83.js → kv-ebea0m75.js} +280 -280
- package/dist/chunks/{image-ta94b5yn.js → kv-ehrv1rgr.js} +8 -8
- package/dist/chunks/{image-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-7bpzgkas.js → kv-ev7pw2j0.js} +6 -6
- package/dist/chunks/{image-7s02b6me.js → kv-ezn8zr4k.js} +1 -1
- package/dist/chunks/{image-vqta07db.js → kv-f5xpd0e7.js} +39 -39
- package/dist/chunks/{image-f828m53h.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{image-czr7jp04.js → kv-fafk78t6.js} +8 -8
- package/dist/chunks/{image-ejnxgs4p.js → kv-fj3qsqhh.js} +3 -3
- package/dist/chunks/{image-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{image-b2fgjqaf.js → kv-fy32pdpb.js} +8 -8
- package/dist/chunks/{image-f3ngv102.js → kv-g190xswt.js} +4 -4
- package/dist/chunks/{image-qssq5wvh.js → kv-g6ew7cqr.js} +1 -1
- package/dist/chunks/{image-htnrdgfh.js → kv-g8few7yj.js} +20 -20
- package/dist/chunks/{image-n5zjdcc0.js → kv-g9245y80.js} +1 -1
- package/dist/chunks/{image-920fkxh9.js → kv-g9gcz8s8.js} +40 -40
- package/dist/chunks/{image-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-2ee8pmxs.js → kv-gey3b743.js} +5 -5
- package/dist/chunks/{image-q7fjq38y.js → kv-gke945h8.js} +17 -17
- package/dist/chunks/{image-3db73d6h.js → kv-gmqjg5t3.js} +81 -81
- package/dist/chunks/{image-zex37ywk.js → kv-gqawmzqm.js} +8 -8
- package/dist/chunks/{image-zzjqf56j.js → kv-gr5gf9xe.js} +13 -13
- package/dist/chunks/{image-ttqh24zm.js → kv-gst7axd9.js} +4 -4
- package/dist/chunks/{image-j108xegb.js → kv-gt76p7gm.js} +20 -20
- package/dist/chunks/{image-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{image-t2hwmdmx.js → kv-h5e4r8jw.js} +41 -41
- package/dist/chunks/{image-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-d8nc1xcx.js → kv-h6z8d5tn.js} +4 -4
- package/dist/chunks/{image-pa4nk3y3.js → kv-hm2z15f1.js} +15 -15
- package/dist/chunks/{image-24gp1g8y.js → kv-hm622x1n.js} +5 -5
- package/dist/chunks/{image-epp31gw2.js → kv-hthfj41c.js} +6 -6
- package/dist/chunks/{image-fban3jjy.js → kv-hw39y2t2.js} +12 -12
- package/dist/chunks/{image-1fa9ans5.js → kv-hx55d56e.js} +1 -1
- package/dist/chunks/{image-wzsv7nm2.js → kv-j41a475f.js} +11 -11
- package/dist/chunks/{image-q62b7msc.js → kv-j438vazm.js} +4 -4
- package/dist/chunks/{image-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{image-7w99qc9d.js → kv-j7wq2tw5.js} +3 -3
- package/dist/chunks/{image-q9a4c9pt.js → kv-jg1xt47z.js} +24 -24
- package/dist/chunks/{image-r4qwb947.js → kv-jmpfmt8q.js} +16 -16
- package/dist/chunks/{image-35dcs99g.js → kv-jmqs6zxy.js} +28 -28
- package/dist/chunks/{image-fddt73xq.js → kv-k1867beh.js} +9 -9
- package/dist/chunks/{image-kg06axw8.js → kv-kg06axw8.js} +1 -1
- package/dist/chunks/{image-tgadbda3.js → kv-kge3p68p.js} +13 -13
- package/dist/chunks/{image-jmwp84b9.js → kv-kgxz8xde.js} +10 -10
- package/dist/chunks/{image-000jn835.js → kv-khbrytmr.js} +18 -18
- package/dist/chunks/{image-fc4b3fbg.js → kv-ktqs2y9f.js} +39 -39
- package/dist/chunks/{image-sabycmh3.js → kv-kzd68pqg.js} +6 -6
- package/dist/chunks/{image-m2d0j7c0.js → kv-m2d0j7c0.js} +2 -2
- package/dist/chunks/{image-270ecnn0.js → kv-m6qnr7jw.js} +16 -16
- package/dist/chunks/{image-77jm4nff.js → kv-m8rz97y9.js} +17 -17
- package/dist/chunks/{image-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-z211tv0n.js → kv-m9xbxedm.js} +6 -6
- package/dist/chunks/{image-4yg6dpdr.js → kv-mg3wmayr.js} +5 -5
- package/dist/chunks/{image-mkcjrzeh.js → kv-mkcjrzeh.js} +1 -1
- package/dist/chunks/{image-wt23ypq9.js → kv-mn0apyfm.js} +20 -20
- package/dist/chunks/{image-0py0pkk2.js → kv-mn5tqr63.js} +2 -2
- package/dist/chunks/{image-abk1xxkx.js → kv-mntm3pyc.js} +26 -26
- package/dist/chunks/{image-hf8cnsjw.js → kv-mp045f7j.js} +1 -1
- package/dist/chunks/{image-bsdvb4am.js → kv-mqh518cc.js} +21 -21
- package/dist/chunks/{image-w9nfhp5m.js → kv-mrn7qyex.js} +9 -9
- package/dist/chunks/{image-tdh0n9n1.js → kv-mymqxebx.js} +6 -6
- package/dist/chunks/{image-6qcyxhyc.js → kv-n017zbq8.js} +13 -13
- package/dist/chunks/{image-3f5ct1b0.js → kv-n1r2whpk.js} +43 -43
- package/dist/chunks/{image-nq8ttx4a.js → kv-n3fvjmy7.js} +11 -11
- package/dist/chunks/{image-g4agn56x.js → kv-n91raeq2.js} +2 -2
- package/dist/chunks/{image-48q4dgm3.js → kv-nbddwgy7.js} +10 -10
- package/dist/chunks/{image-hjt4xg1x.js → kv-nhy5jxhy.js} +4 -4
- package/dist/chunks/{image-6jex2xta.js → kv-njyck951.js} +5 -5
- package/dist/chunks/{image-mm2chnq2.js → kv-nygmpey9.js} +22 -22
- package/dist/chunks/{image-tav4w66d.js → kv-p3ke781q.js} +5 -5
- package/dist/chunks/{image-5c0f1prt.js → kv-paegk39x.js} +4 -4
- package/dist/chunks/{image-c9c017qc.js → kv-pasxfhjk.js} +7 -7
- package/dist/chunks/{image-y6df3ape.js → kv-pepqf6ga.js} +22 -22
- package/dist/chunks/{image-4gxgfr4x.js → kv-pevfk95c.js} +16 -16
- package/dist/chunks/kv-pf31ssb9.js +18 -0
- package/dist/chunks/{image-awaee7qt.js → kv-pjedbq3k.js} +6 -6
- package/dist/chunks/{image-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{image-zcwp19hk.js → kv-pmk1pqd6.js} +4 -4
- package/dist/chunks/{image-qjt4v980.js → kv-pwb1y8eh.js} +21 -21
- package/dist/chunks/{image-g10x2gvc.js → kv-py5wtr6h.js} +10 -10
- package/dist/chunks/{image-qfppskvf.js → kv-pzb7ssjr.js} +22 -22
- package/dist/chunks/{image-xpfh0by1.js → kv-q08m8exk.js} +32 -32
- package/dist/chunks/{image-fh520ne1.js → kv-q123vns4.js} +13 -13
- package/dist/chunks/{image-dv1qgsyq.js → kv-q26tgv94.js} +8 -8
- package/dist/chunks/{image-fwpce91s.js → kv-q4vcefqv.js} +11 -11
- package/dist/chunks/{image-4rp3kb22.js → kv-q6trkzsx.js} +11 -11
- package/dist/chunks/{image-m455a2a1.js → kv-qj0wk3h6.js} +9 -9
- package/dist/chunks/{image-ak5zsrh4.js → kv-qpny3c6v.js} +20 -20
- package/dist/chunks/{image-zfznrpx1.js → kv-qpxqmgt2.js} +4 -4
- package/dist/chunks/{image-kaygpk1b.js → kv-qrek7wem.js} +22 -22
- package/dist/chunks/{image-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{image-431efcq4.js → kv-qtmr6th1.js} +37 -37
- package/dist/chunks/{image-zvt4wq01.js → kv-qvav3tk2.js} +23 -23
- package/dist/chunks/{image-2e96adxv.js → kv-qwkytnft.js} +6 -6
- package/dist/chunks/{image-n0s3xjfz.js → kv-qyy1k97r.js} +18 -18
- package/dist/chunks/{image-kxpygcw9.js → kv-qz49fwgp.js} +6 -6
- package/dist/chunks/{image-r9mregkx.js → kv-r9mregkx.js} +2 -2
- package/dist/chunks/{image-et4qc0a3.js → kv-rckresz4.js} +17 -17
- package/dist/chunks/{image-y6mjfkf5.js → kv-rh0baf1b.js} +17 -17
- package/dist/chunks/{image-sykc9y4a.js → kv-rmk2c50f.js} +5 -5
- package/dist/chunks/{image-dghgjkkt.js → kv-rwtq93ad.js} +4 -4
- package/dist/chunks/{image-2tn1039t.js → kv-s3r3b7q0.js} +11 -11
- package/dist/chunks/{image-f38a36z7.js → kv-s6awdsy0.js} +7 -7
- package/dist/chunks/{image-8evfnw32.js → kv-sj7m3pc4.js} +20 -20
- package/dist/chunks/{image-qnq64r6v.js → kv-sp3462fq.js} +24 -24
- package/dist/chunks/{image-w7rsxryv.js → kv-swe4yj3v.js} +14 -14
- package/dist/chunks/{image-6d9mz4vp.js → kv-t0x5rdq8.js} +9 -9
- package/dist/chunks/{image-y1e7sme4.js → kv-t6rmzs9c.js} +20 -20
- package/dist/chunks/{image-chnmz1hg.js → kv-t8bhz2vr.js} +8 -8
- package/dist/chunks/{image-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{image-gv6a8nnw.js → kv-th5km1p3.js} +5 -5
- package/dist/chunks/{image-b73n8hqq.js → kv-thtv50x5.js} +9 -9
- package/dist/chunks/{image-3cfzdc8e.js → kv-tn0aqsam.js} +5 -5
- package/dist/chunks/{image-fgbwzfw6.js → kv-tph2fk4h.js} +6 -6
- package/dist/chunks/{image-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{image-wk0jae2z.js → kv-v4wxntct.js} +8 -8
- package/dist/chunks/{image-m68majbh.js → kv-v6ee2h3v.js} +11 -11
- package/dist/chunks/{image-9tpqv2xk.js → kv-v79g31x1.js} +15 -15
- package/dist/chunks/{image-wh2cdyr9.js → kv-va68n4y2.js} +25 -25
- package/dist/chunks/{image-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{image-yjptyezs.js → kv-vmq7ehpy.js} +5 -5
- package/dist/chunks/{image-fzteaffw.js → kv-vrx6ppv4.js} +24 -24
- package/dist/chunks/{image-zqh73e34.js → kv-vt44rdpy.js} +6 -6
- package/dist/chunks/{image-t6knre1s.js → kv-vxfhm8bf.js} +10 -10
- package/dist/chunks/{image-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-zswa8gc2.js → kv-w2xthqm8.js} +7 -7
- package/dist/chunks/{image-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-b3t12aqp.js → kv-w79zsp0s.js} +1 -1
- package/dist/chunks/{image-rwb7gr04.js → kv-wc35t2q8.js} +33 -33
- package/dist/chunks/{image-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{image-wk5z6jzv.js → kv-wk5z6jzv.js} +2 -2
- package/dist/chunks/{image-txx7gcj8.js → kv-wvt7nan9.js} +26 -26
- package/dist/chunks/{image-wzq4pq7r.js → kv-wzq4pq7r.js} +2 -2
- package/dist/chunks/{image-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-a0ns0bt7.js → kv-x82mgsnk.js} +1 -1
- package/dist/chunks/{image-n39v7nmf.js → kv-x9zkcjgp.js} +11 -11
- package/dist/chunks/{image-nng2ktcm.js → kv-xg9t41r3.js} +2 -2
- package/dist/chunks/{image-kwysx2zn.js → kv-xk03nfws.js} +12 -12
- package/dist/chunks/{image-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-zags90na.js → kv-y6j5wgpg.js} +16 -16
- package/dist/chunks/{image-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{image-3j6f30h3.js → kv-yhpgskpg.js} +167 -167
- package/dist/chunks/{image-rhraev7y.js → kv-yp2x3t23.js} +4 -4
- package/dist/chunks/{image-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-yrznvahk.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{image-dt849bc4.js → kv-yt2qvb82.js} +8 -8
- package/dist/chunks/{image-jc2bp3ng.js → kv-ytfav154.js} +9 -9
- package/dist/chunks/{image-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-z63w68vq.js → kv-z63w68vq.js} +2 -2
- package/dist/chunks/{image-b0wjpe9c.js → kv-z7xewpzj.js} +8 -8
- package/dist/chunks/{image-7erpdyw6.js → kv-zbb7c5wr.js} +27 -27
- package/dist/chunks/{image-nx5drk4k.js → kv-zdeqbp5y.js} +41 -41
- package/dist/chunks/{image-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-wg5txr5f.js → kv-zwy6c5hz.js} +9 -9
- package/dist/chunks/{image-7jj89856.js → kv-zx4zts51.js} +47 -47
- package/dist/chunks/{image-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/chunks/{image-5rbsa297.js → kv-zxxfqb5b.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +86 -86
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- 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 +7 -7
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +81 -81
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +89 -89
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +87 -87
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +100 -100
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +7 -7
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/image-6kdq0pjd.js +0 -4
- package/dist/chunks/image-g84vdpmy.js +0 -22
- package/dist/chunks/image-mx97jbx9.js +0 -247
- package/dist/chunks/image-v1faaxn9.js +0 -18
- /package/dist/chunks/{image-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{image-hrnqkpcd.js → kv-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-paphc93g.js → kv-paphc93g.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-yt2qvb82.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node60
|
|
12
|
+
} from "./kv-n3fvjmy7.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-4zph1b4r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID9,
|
|
18
18
|
VariantID2,
|
|
19
19
|
Ref3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-hw39y2t2.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID4,
|
|
23
|
+
Service43,
|
|
24
|
+
node47
|
|
25
|
+
} from "./kv-4b1heq7g.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service42,
|
|
28
|
+
node46
|
|
29
|
+
} from "./kv-va68n4y2.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./kv-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service41,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
41
41
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
42
42
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
43
43
|
fromCatalogModel: () => fromCatalogModel2,
|
|
44
44
|
hasPackage: () => hasPackage2,
|
|
45
|
-
layer: () =>
|
|
46
|
-
node: () =>
|
|
45
|
+
layer: () => layer19,
|
|
46
|
+
node: () => node45,
|
|
47
47
|
resolveModel: () => resolveModel2,
|
|
48
48
|
withVariant: () => withVariant2
|
|
49
49
|
});
|
|
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
53
53
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
54
54
|
import { Npm } from "@opencode/util/npm";
|
|
55
55
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
56
|
-
providerID:
|
|
57
|
-
modelID:
|
|
56
|
+
providerID: ID11,
|
|
57
|
+
modelID: ID9,
|
|
58
58
|
variant: VariantID2
|
|
59
59
|
}) {
|
|
60
60
|
get message() {
|
|
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
66
|
-
providerID:
|
|
67
|
-
modelID:
|
|
66
|
+
providerID: ID11,
|
|
67
|
+
modelID: ID9,
|
|
68
68
|
package: Schema.String
|
|
69
69
|
}) {
|
|
70
70
|
get message() {
|
|
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
76
|
-
providerID:
|
|
77
|
-
modelID:
|
|
76
|
+
providerID: ID11,
|
|
77
|
+
modelID: ID9,
|
|
78
78
|
variables: Schema.Array(Schema.String)
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
86
|
-
providerID:
|
|
87
|
-
modelID:
|
|
86
|
+
providerID: ID11,
|
|
87
|
+
modelID: ID9,
|
|
88
88
|
route: Schema.String
|
|
89
89
|
}) {
|
|
90
90
|
get message() {
|
|
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service41 extends Context.Service()("@opencode/ModelResolver") {
|
|
96
96
|
}
|
|
97
97
|
var withVariant2 = (model, variantID) => {
|
|
98
98
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
218
218
|
});
|
|
219
219
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
220
220
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
221
|
-
var
|
|
222
|
-
const catalog = yield*
|
|
223
|
-
const integrations = yield*
|
|
221
|
+
var layer19 = Layer.effect(Service41, Effect.gen(function* () {
|
|
222
|
+
const catalog = yield* Service42;
|
|
223
|
+
const integrations = yield* Service43;
|
|
224
224
|
const npm = yield* Npm.Service;
|
|
225
|
-
const aisdk = yield*
|
|
225
|
+
const aisdk = yield* Service55;
|
|
226
226
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
227
227
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
228
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
228
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID4.make(selected.providerID));
|
|
229
229
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
230
230
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
231
231
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -247,7 +247,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
247
247
|
websocket: selected.websocket ?? false
|
|
248
248
|
};
|
|
249
249
|
});
|
|
250
|
-
return
|
|
250
|
+
return Service41.of({
|
|
251
251
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
252
252
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
253
253
|
if (!selected)
|
|
@@ -264,10 +264,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
264
264
|
const name = packageName2(packageName);
|
|
265
265
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
service:
|
|
269
|
-
layer:
|
|
270
|
-
deps: [
|
|
267
|
+
var node45 = makeLocationNode({
|
|
268
|
+
service: Service41,
|
|
269
|
+
layer: layer19,
|
|
270
|
+
deps: [node46, node47, Npm.node, node60]
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
273
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service41, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node45, exports_model_resolver };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service40,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service40 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service40, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service40, node44, exports_service2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-1ze9rnbj.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event14
|
|
7
|
+
} from "./kv-b6xmsvfe.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID4,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-4b1heq7g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID11,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-yt2qvb82.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID12,
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-5xcehd92.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID12
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID4.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID4.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID11.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
|
|
|
228
228
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
229
229
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
230
230
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
231
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
231
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
232
232
|
query: input.query,
|
|
233
233
|
providerID: descriptor.providerID
|
|
234
234
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./kv-zdeqbp5y.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info30,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service74,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node79,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info30, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service74 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node79 = LayerNode.unbound(Service74, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service75;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service74.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service74,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node80]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info30, Ref4, response2, Service74, node79, boundNode2, exports_location };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-j41a475f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID11,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-yt2qvb82.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-pasxfhjk.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID11.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-c09xw0p7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin20
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin20 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin20, exports_plan };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./kv-pepqf6ga.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service74
|
|
9
|
+
} from "./kv-m8rz97y9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./kv-h5e4r8jw.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-pevfk95c.js";
|
|
18
18
|
import {
|
|
19
19
|
Service7
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-m2d0j7c0.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-a04mvahc.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin33
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin33 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service60;
|
|
43
43
|
const discovery = yield* Service7;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service74;
|
|
47
|
+
const watcher = yield* Service61;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -181,4 +181,4 @@ var Plugin18 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin33, exports_skill3 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./kv-mqh518cc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service74
|
|
7
|
+
} from "./kv-m8rz97y9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service60
|
|
10
|
+
} from "./kv-h5e4r8jw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service59,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-0yz71n10.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./kv-32t7e08w.js";
|
|
18
18
|
import {
|
|
19
19
|
make9
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-fy32pdpb.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin40
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin40 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service60;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,11 +54,11 @@ var Plugin15 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service74;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service59;
|
|
60
|
+
const sessions = yield* Service18;
|
|
61
|
+
const agents = yield* Service78;
|
|
62
62
|
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -80,7 +80,7 @@ var Plugin15 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID18.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin40, exports_command2 };
|