@opencode/core 0.0.0-dev-20083 → 0.0.0-dev-20086
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{vcs-vfjhaew2.js → state-02cj0pc8.js} +16 -16
- package/dist/chunks/{vcs-371gek70.js → state-07rdd209.js} +16 -16
- package/dist/chunks/{vcs-nc17g1ks.js → state-0erg9wwv.js} +29 -29
- package/dist/chunks/state-0mesazry.js +4 -0
- package/dist/chunks/{vcs-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-xsgk3b13.js → state-0tmgye68.js} +9 -9
- package/dist/chunks/{vcs-qbazetqp.js → state-0wey50z9.js} +18 -18
- package/dist/chunks/{vcs-v6ysps7g.js → state-103sd08j.js} +39 -39
- package/dist/chunks/{vcs-jz5sxy2v.js → state-10jtetaj.js} +6 -6
- package/dist/chunks/{vcs-2v2a3t0h.js → state-12as4csw.js} +4 -4
- package/dist/chunks/{vcs-fydev08n.js → state-12p4qwq0.js} +17 -17
- package/dist/chunks/{vcs-66pxgpaw.js → state-14qvxy67.js} +4 -4
- package/dist/chunks/{vcs-fv92jnq2.js → state-1bmsx0zf.js} +10 -10
- package/dist/chunks/{vcs-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-r72p2pqe.js → state-1em0vfhe.js} +2 -2
- package/dist/chunks/{vcs-m65w0hjp.js → state-1px9a8xa.js} +36 -36
- package/dist/chunks/{vcs-yg1qn3cz.js → state-1s1ztnqh.js} +11 -11
- package/dist/chunks/{vcs-68vyb3qc.js → state-1vtry6ap.js} +11 -11
- package/dist/chunks/{vcs-33w4ejhs.js → state-1ygqh575.js} +6 -6
- package/dist/chunks/{vcs-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-w9tkr4jp.js → state-22r3fh08.js} +7 -7
- package/dist/chunks/{vcs-rsemhs2h.js → state-271vm2mc.js} +180 -180
- package/dist/chunks/{vcs-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-4a2h7ym7.js → state-2akz4pff.js} +20 -20
- package/dist/chunks/{vcs-2w88xg01.js → state-2cdppye1.js} +9 -9
- package/dist/chunks/{vcs-c38rsp43.js → state-2gsn04w3.js} +31 -31
- package/dist/chunks/{vcs-c4r6rz4w.js → state-2r4f9961.js} +20 -20
- package/dist/chunks/{vcs-wn8t9ac7.js → state-2wh0tznn.js} +43 -43
- package/dist/chunks/{vcs-gpds3780.js → state-331q5pgp.js} +24 -24
- package/dist/chunks/{vcs-kk0z3jeb.js → state-37pjvmwd.js} +7 -7
- package/dist/chunks/{vcs-t1ghz5t3.js → state-384gf1m7.js} +30 -30
- package/dist/chunks/{vcs-fpzpjdd6.js → state-38zhvv5q.js} +9 -9
- package/dist/chunks/{vcs-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-7bp3xrzr.js → state-3fmtxraa.js} +4 -4
- package/dist/chunks/{vcs-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-b3jbkr8y.js → state-3pt3xjye.js} +3 -3
- package/dist/chunks/{vcs-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-ky2mdz05.js → state-3tza3sf4.js} +53 -53
- package/dist/chunks/{vcs-51d8ehfy.js → state-3xe0jx7r.js} +5 -5
- package/dist/chunks/{vcs-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-pahxbg9p.js → state-3ztzj39p.js} +15 -15
- package/dist/chunks/{vcs-ch08nsxs.js → state-40e94ye7.js} +26 -26
- package/dist/chunks/{vcs-ws2hpek1.js → state-44849632.js} +17 -17
- package/dist/chunks/{vcs-705e2ap1.js → state-4n607a2z.js} +5 -5
- package/dist/chunks/{vcs-ryfje2sk.js → state-4ncjv8c3.js} +32 -32
- package/dist/chunks/{vcs-5qwkxp89.js → state-4nzwy074.js} +4 -4
- package/dist/chunks/{vcs-ggw2yz4k.js → state-4qv3yyzg.js} +10 -10
- package/dist/chunks/{vcs-63tqz9ht.js → state-527n1w5n.js} +7 -7
- package/dist/chunks/{vcs-0jkw1j53.js → state-52hb404k.js} +6 -6
- package/dist/chunks/{vcs-2fgn2we9.js → state-57ez7d0k.js} +9 -9
- package/dist/chunks/{vcs-0462xykd.js → state-580xtat9.js} +17 -17
- package/dist/chunks/{vcs-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-5ekn9679.js → state-5ekn9679.js} +1 -1
- package/dist/chunks/{vcs-g2m0x3mc.js → state-5gftdx11.js} +55 -55
- package/dist/chunks/{vcs-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-kgx5a6ff.js → state-5vmwkxe9.js} +22 -22
- package/dist/chunks/{vcs-ze9fxg61.js → state-637kffsg.js} +24 -24
- package/dist/chunks/{vcs-eswmeynf.js → state-63cq5ear.js} +11 -11
- package/dist/chunks/{vcs-48zrqm4j.js → state-64dtqc3f.js} +5 -5
- package/dist/chunks/{vcs-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{vcs-grng3ccv.js → state-6f09tcf1.js} +33 -33
- package/dist/chunks/{vcs-2402vzrj.js → state-6h73sxmp.js} +5 -5
- package/dist/chunks/state-6mkgf16q.js +252 -0
- package/dist/chunks/{vcs-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-x1rff75g.js → state-6n2eehmw.js} +22 -22
- package/dist/chunks/{vcs-8sze2n9a.js → state-6pc27hjz.js} +2 -2
- package/dist/chunks/{vcs-t2r6r89t.js → state-6q87yf47.js} +10 -10
- package/dist/chunks/{vcs-pbfpfpw9.js → state-6qsj15fd.js} +6 -6
- package/dist/chunks/{vcs-6wvz01fc.js → state-6s8wj2t2.js} +4 -4
- package/dist/chunks/{vcs-11hhv0de.js → state-6w1rts7e.js} +4 -4
- package/dist/chunks/{vcs-0ncwemsz.js → state-6xjd4qpp.js} +88 -88
- package/dist/chunks/{vcs-9ed38v85.js → state-6xxehmv1.js} +18 -18
- package/dist/chunks/{vcs-bq4s4pe3.js → state-72c7x5rd.js} +5 -5
- package/dist/chunks/{vcs-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-qgn6gcr1.js → state-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-5x6205s3.js → state-7wrqfeey.js} +43 -43
- package/dist/chunks/{vcs-179189h4.js → state-7z7az0f5.js} +4 -4
- package/dist/chunks/{vcs-87h9va2t.js → state-7z9wgydg.js} +10 -10
- package/dist/chunks/{vcs-8hwdgt3y.js → state-821ss22x.js} +48 -48
- package/dist/chunks/{vcs-pnvqzmvp.js → state-86dam8yv.js} +15 -15
- package/dist/chunks/{vcs-1cwqwg0q.js → state-87df55d3.js} +13 -13
- package/dist/chunks/{vcs-fj1wtqbp.js → state-87qk2fb2.js} +13 -13
- package/dist/chunks/{vcs-0kh7mner.js → state-892zz8qj.js} +2 -2
- package/dist/chunks/{vcs-svvemcs6.js → state-8d0p2m37.js} +5 -5
- package/dist/chunks/{vcs-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-212c3bce.js → state-8hm487hb.js} +22 -22
- package/dist/chunks/{vcs-6s2n83jy.js → state-8tt36ewb.js} +25 -25
- package/dist/chunks/{vcs-x13r1yah.js → state-8w6y8kk9.js} +20 -20
- package/dist/chunks/{vcs-h1j14yqf.js → state-8zz3fhf5.js} +33 -33
- package/dist/chunks/{vcs-94ek1h2f.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{vcs-mdjrqw72.js → state-96frkt8z.js} +7 -7
- package/dist/chunks/{vcs-j29b5e8q.js → state-9aq5295b.js} +5 -5
- package/dist/chunks/{vcs-kpa1ryd1.js → state-9g7qqvsb.js} +68 -68
- package/dist/chunks/{vcs-g0445xdp.js → state-9hn6k4tm.js} +8 -8
- package/dist/chunks/{vcs-yzztktw2.js → state-9smb885v.js} +35 -35
- package/dist/chunks/{vcs-atp0am1p.js → state-9zch71dn.js} +24 -24
- package/dist/chunks/{vcs-jca4demv.js → state-a3r4dcrj.js} +2 -2
- package/dist/chunks/{vcs-cavr175a.js → state-a8bn8zg0.js} +4 -4
- package/dist/chunks/{vcs-yxabtm2w.js → state-a8tm1nmv.js} +11 -11
- package/dist/chunks/{vcs-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-gk2dbm5x.js → state-ab3q5qw2.js} +24 -24
- package/dist/chunks/{vcs-ze71xwz7.js → state-addr2z3b.js} +14 -14
- package/dist/chunks/{vcs-f8vk1c9x.js → state-aesvhg1d.js} +43 -43
- package/dist/chunks/{vcs-ywfj9cpt.js → state-ahze9mkv.js} +10 -10
- package/dist/chunks/{vcs-qwqd8zme.js → state-ash9qzxk.js} +8 -8
- package/dist/chunks/{vcs-s5xy3xb2.js → state-b2rczs3a.js} +3 -3
- package/dist/chunks/{vcs-bkx1af4z.js → state-b4xx7p0v.js} +10 -10
- package/dist/chunks/{vcs-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-00z3vp5f.js → state-bct739vz.js} +4 -4
- package/dist/chunks/{vcs-dtqg9ce1.js → state-bgs9y14h.js} +5 -5
- package/dist/chunks/{vcs-m0faxyms.js → state-bgte5q86.js} +9 -9
- package/dist/chunks/{vcs-emwnxg71.js → state-bhnryp6n.js} +32 -32
- package/dist/chunks/{vcs-b7f8f75j.js → state-bswpvtym.js} +8 -8
- package/dist/chunks/{vcs-pjgby0gj.js → state-bwgpf6kh.js} +21 -21
- package/dist/chunks/{vcs-m1na4e3g.js → state-bxxr9cq6.js} +23 -23
- package/dist/chunks/{vcs-nm2z9cct.js → state-cbm7rw8j.js} +26 -26
- package/dist/chunks/{vcs-k0nnq3t9.js → state-cfm9g534.js} +8 -8
- package/dist/chunks/{vcs-nsjjga1k.js → state-chjpp9jv.js} +22 -22
- package/dist/chunks/{vcs-q23rvkdr.js → state-cjagda2z.js} +25 -25
- package/dist/chunks/{vcs-ckecvw8r.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{vcs-k76fn4kw.js → state-ckf8nxjz.js} +4 -4
- package/dist/chunks/{vcs-qmy51sea.js → state-d2jcr80b.js} +15 -15
- package/dist/chunks/{vcs-n2srvep7.js → state-d858xzj7.js} +4 -4
- package/dist/chunks/{vcs-n47f9j4d.js → state-dbs1cfk5.js} +17 -17
- package/dist/chunks/{vcs-53fyba40.js → state-dg2cj1yd.js} +4 -4
- package/dist/chunks/{vcs-vp8nspft.js → state-dhw6r217.js} +17 -17
- package/dist/chunks/{vcs-qr8csav2.js → state-dj9sq318.js} +5 -5
- package/dist/chunks/{vcs-r2m716tb.js → state-djszqvmq.js} +9 -9
- package/dist/chunks/{vcs-hj6ewc9q.js → state-dmcwwrzf.js} +40 -40
- package/dist/chunks/{vcs-q1v1r1nw.js → state-dnndpd67.js} +21 -21
- package/dist/chunks/{vcs-4gf9v735.js → state-dnrkp1py.js} +33 -33
- package/dist/chunks/{vcs-74rrnwt7.js → state-dq0v80fr.js} +12 -12
- package/dist/chunks/{vcs-vv97ra8n.js → state-dq47ydgj.js} +11 -11
- package/dist/chunks/{vcs-0ec8dtkw.js → state-dqpqvfc1.js} +22 -22
- package/dist/chunks/{vcs-xfkkasph.js → state-drwq78ky.js} +4 -4
- package/dist/chunks/{vcs-dj6963t9.js → state-dsdkcqh1.js} +12 -12
- package/dist/chunks/{vcs-me88mjxz.js → state-dxs7zpw7.js} +22 -22
- package/dist/chunks/{vcs-0r7yqxbf.js → state-e6hmchc5.js} +5 -5
- package/dist/chunks/{vcs-28fp0q0g.js → state-eef7h5va.js} +8 -8
- package/dist/chunks/{vcs-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-dtgdpacg.js → state-en8wy5tc.js} +6 -6
- package/dist/chunks/{vcs-6xbspavk.js → state-epb60yey.js} +26 -26
- package/dist/chunks/{vcs-1wvpkpe8.js → state-eqrfgmgr.js} +38 -38
- package/dist/chunks/{vcs-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{vcs-srfk2ym8.js → state-es9xe94t.js} +6 -6
- package/dist/chunks/{vcs-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-zj3mw4nr.js → state-ezbzr521.js} +32 -32
- package/dist/chunks/{vcs-prq7hedt.js → state-fdms3n6w.js} +9 -9
- package/dist/chunks/{vcs-d216944b.js → state-fdv30zvt.js} +4 -4
- package/dist/chunks/{vcs-rhafb4aa.js → state-fhs97t90.js} +5 -5
- package/dist/chunks/{vcs-rwpk0y3g.js → state-ftffmgpp.js} +29 -29
- package/dist/chunks/{vcs-5qyh9bdk.js → state-fv5cfh7k.js} +11 -11
- package/dist/chunks/{vcs-hszfjppb.js → state-g4w6jwnj.js} +5 -5
- package/dist/chunks/{vcs-a8ahxq4k.js → state-g5vp43hv.js} +4 -4
- package/dist/chunks/{vcs-b5rdtc93.js → state-g6h7bsxt.js} +14 -14
- package/dist/chunks/{vcs-6ysqs21a.js → state-g9a672k8.js} +8 -8
- package/dist/chunks/{vcs-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-trfjmmfn.js → state-ggydwk5a.js} +29 -29
- package/dist/chunks/{vcs-8s1pmqcy.js → state-gj2fds2z.js} +12 -12
- package/dist/chunks/{vcs-d5fw341f.js → state-gpk600j1.js} +13 -13
- package/dist/chunks/{vcs-h01nhy7h.js → state-gv189fdt.js} +4 -4
- package/dist/chunks/{vcs-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-carqdbj5.js → state-gvz217w8.js} +16 -16
- package/dist/chunks/{vcs-r55vasa2.js → state-h6r3nrb9.js} +4 -4
- package/dist/chunks/{vcs-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-q3t37ft6.js → state-jexxy024.js} +3 -3
- package/dist/chunks/{vcs-e0mwe6e4.js → state-jmx7yt6q.js} +6 -6
- package/dist/chunks/{vcs-t02k7490.js → state-jrfdjycb.js} +11 -11
- package/dist/chunks/{vcs-mza9sdsq.js → state-jtjd9btn.js} +12 -12
- package/dist/chunks/{vcs-wb0ej3re.js → state-k1jc7js8.js} +29 -29
- package/dist/chunks/{vcs-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-r3c4069c.js → state-k53npxr2.js} +1 -1
- package/dist/chunks/{vcs-nz7rrxb0.js → state-k7hn9ts1.js} +11 -11
- package/dist/chunks/{vcs-yzf4zjhy.js → state-kbhz4k7s.js} +11 -11
- package/dist/chunks/{vcs-ar5q60qm.js → state-khz59kc2.js} +26 -26
- package/dist/chunks/{vcs-x6vchg5p.js → state-ksg5ge3c.js} +11 -11
- package/dist/chunks/{vcs-pv9maacy.js → state-kv8zgwe7.js} +5 -5
- package/dist/chunks/{vcs-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-2pas28zy.js → state-m46seram.js} +20 -20
- package/dist/chunks/{vcs-70y8djn2.js → state-m5qjvym0.js} +30 -30
- package/dist/chunks/{vcs-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-1bbkgx8g.js → state-mhkvc446.js} +3 -3
- package/dist/chunks/{vcs-f023s5x2.js → state-mp6axp2d.js} +17 -17
- package/dist/chunks/{vcs-nyvg2195.js → state-mpsr4xxv.js} +5 -5
- package/dist/chunks/{vcs-0g4pshwm.js → state-my5aw7sa.js} +10 -10
- package/dist/chunks/{vcs-59sfag8d.js → state-n436yt00.js} +33 -33
- package/dist/chunks/{vcs-xc8t3em0.js → state-n45qbav7.js} +5 -5
- package/dist/chunks/{vcs-q7dd7m0y.js → state-n98mt2bs.js} +1 -1
- package/dist/chunks/{vcs-ng4rtfaf.js → state-ngxakx5z.js} +32 -32
- package/dist/chunks/{vcs-rhc0y5sn.js → state-nh5efkqv.js} +9 -9
- package/dist/chunks/{vcs-yf10kn3d.js → state-nj1j17x6.js} +8 -8
- package/dist/chunks/{vcs-qs56nzqh.js → state-nj4z6qgz.js} +5 -5
- package/dist/chunks/{vcs-8nexc0bc.js → state-njbb07ax.js} +15 -15
- package/dist/chunks/{vcs-5h1bmfmz.js → state-nkf0pzw4.js} +13 -13
- package/dist/chunks/{vcs-d5sgnwz6.js → state-nrx107y4.js} +19 -19
- package/dist/chunks/{vcs-nxhqveyz.js → state-nxhqveyz.js} +2 -2
- package/dist/chunks/{vcs-kck3bqxg.js → state-nybzzdwf.js} +23 -23
- package/dist/chunks/{vcs-xpwqtyvz.js → state-p1m5akjg.js} +10 -10
- package/dist/chunks/{vcs-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-y5689hke.js → state-prk02b1h.js} +24 -24
- package/dist/chunks/{vcs-0ep74p5j.js → state-q0jqcs2e.js} +25 -25
- package/dist/chunks/{vcs-g3m22pds.js → state-q994nwkr.js} +6 -6
- package/dist/chunks/state-qc068m1q.js +18 -0
- package/dist/chunks/{vcs-p0tapzan.js → state-qkrrfaax.js} +27 -27
- package/dist/chunks/{vcs-1zqsf2j9.js → state-qp3v07n2.js} +5 -5
- package/dist/chunks/{vcs-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-tx9w5tca.js → state-qwjmgwmn.js} +8 -8
- package/dist/chunks/{vcs-fng9e0je.js → state-r33ff4dw.js} +6 -6
- package/dist/chunks/{vcs-mhc8sq43.js → state-r860wnh4.js} +3 -3
- package/dist/chunks/{vcs-1acjjqhc.js → state-r8xr0va3.js} +4 -4
- package/dist/chunks/{vcs-rynhfk08.js → state-r9tfwnqk.js} +3 -3
- package/dist/chunks/{vcs-29cveazg.js → state-rdve76c1.js} +14 -14
- package/dist/chunks/{vcs-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-h2s45jn8.js → state-rhg03jha.js} +18 -18
- package/dist/chunks/{vcs-eaj1djv9.js → state-rhjbct0v.js} +8 -8
- package/dist/chunks/{vcs-pkkm8try.js → state-rxp8vwqb.js} +14 -14
- package/dist/chunks/{vcs-83w0ed2f.js → state-rycbktba.js} +3 -3
- package/dist/chunks/{vcs-tjj1kmg0.js → state-s0gvgf44.js} +25 -25
- package/dist/chunks/{vcs-fhxa9dhj.js → state-s2zjj5p9.js} +22 -22
- package/dist/chunks/{vcs-rtg3pve1.js → state-sc9th92v.js} +19 -19
- package/dist/chunks/{vcs-f0wsx59q.js → state-scad059f.js} +51 -51
- package/dist/chunks/{vcs-ccy9qdqg.js → state-sfr5ve0q.js} +20 -20
- package/dist/chunks/{vcs-g32kj6az.js → state-smmy5npd.js} +24 -24
- package/dist/chunks/{vcs-49qbn6ev.js → state-t15fh6tg.js} +11 -11
- package/dist/chunks/{vcs-y881vcph.js → state-t3dtk66s.js} +19 -19
- package/dist/chunks/{vcs-f6h44vt5.js → state-t6msp11s.js} +6 -6
- package/dist/chunks/{vcs-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-sxetf54f.js → state-tmgek03n.js} +38 -38
- package/dist/chunks/state-tp76zfa1.js +26 -0
- package/dist/chunks/{vcs-v3bjpj8z.js → state-tr7ttk42.js} +23 -23
- package/dist/chunks/{vcs-8pg7n18v.js → state-trg234vc.js} +32 -32
- package/dist/chunks/{vcs-70e6w8tp.js → state-ttkne1yr.js} +28 -28
- package/dist/chunks/{vcs-6vp0xhq8.js → state-tvqfr44j.js} +18 -18
- package/dist/chunks/{vcs-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-cvhqjk08.js → state-vchqcv40.js} +15 -15
- package/dist/chunks/{vcs-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-f2b6tz2e.js → state-vgbaqptb.js} +6 -6
- package/dist/chunks/{vcs-7bcdhp23.js → state-vpwpbydj.js} +12 -12
- package/dist/chunks/{vcs-1fjbjtrx.js → state-vssbqz3f.js} +4 -4
- package/dist/chunks/{vcs-9cyfspf3.js → state-vtxr0yy2.js} +5 -5
- package/dist/chunks/{vcs-jkp9xdnd.js → state-vyj7e0dj.js} +36 -36
- package/dist/chunks/{vcs-6f31ra40.js → state-vyxryegc.js} +35 -35
- package/dist/chunks/{vcs-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-d43g2pfh.js → state-w2fbgn6w.js} +19 -19
- package/dist/chunks/{vcs-rkm1ygc2.js → state-w2gpeyga.js} +23 -23
- package/dist/chunks/{vcs-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-v1m9cfjw.js → state-w5mngq82.js} +1 -1
- package/dist/chunks/{vcs-wt50w2qg.js → state-w6wc4w52.js} +324 -324
- package/dist/chunks/{vcs-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{vcs-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/state-wgzsnxjh.js +339 -0
- package/dist/chunks/{vcs-q0szzxes.js → state-wm0kxxzy.js} +11 -11
- package/dist/chunks/{vcs-hx2t9gj5.js → state-ws3tx48n.js} +86 -86
- package/dist/chunks/{vcs-s3gwxvhs.js → state-ww31mshw.js} +12 -12
- package/dist/chunks/{vcs-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-nby89d84.js → state-x46s54wc.js} +5 -5
- package/dist/chunks/{vcs-hnsrqchr.js → state-x69hm2n9.js} +20 -20
- package/dist/chunks/{vcs-9hk1bndn.js → state-x7gyst7m.js} +14 -14
- package/dist/chunks/{vcs-xacmvfyf.js → state-x9ftw283.js} +44 -44
- package/dist/chunks/{vcs-d1wwhrg0.js → state-xcfbfb3r.js} +34 -34
- package/dist/chunks/{vcs-nzdcam8v.js → state-xhvbz364.js} +16 -16
- package/dist/chunks/{vcs-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-dpkg50ah.js → state-y71avatq.js} +4 -4
- package/dist/chunks/{vcs-g8jasmdt.js → state-y7x142mt.js} +8 -8
- package/dist/chunks/{vcs-3ktbe3hf.js → state-ybhbtxjg.js} +6 -6
- package/dist/chunks/{vcs-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-yvvvp4gn.js → state-yvvvp4gn.js} +1 -1
- package/dist/chunks/{vcs-z07pqspn.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{vcs-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{vcs-fzccyq97.js → state-za95q0ey.js} +15 -15
- package/dist/chunks/{vcs-ak2j0eh5.js → state-zaxbaxp3.js} +13 -13
- package/dist/chunks/{vcs-ajnwywap.js → state-zdnfnbnt.js} +33 -33
- package/dist/chunks/{vcs-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-xb6kadxm.js → state-zhfw9w26.js} +28 -28
- package/dist/chunks/{vcs-t295fak2.js → state-zpx8x5b1.js} +15 -15
- package/dist/chunks/{vcs-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-2qgbqbzg.js → state-zw06ysnm.js} +9 -9
- package/dist/chunks/{vcs-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +99 -99
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +15 -15
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/plugin/provider/gitlab.d.ts +4 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +2 -2
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +9 -9
- package/dist/chunks/vcs-06jg3mcb.js +0 -26
- package/dist/chunks/vcs-by5v678g.js +0 -18
- package/dist/chunks/vcs-hr9dp009.js +0 -4
- package/dist/chunks/vcs-jrk41cqv.js +0 -252
- package/dist/chunks/vcs-nedh9485.js +0 -61
- /package/dist/chunks/{vcs-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./state-trg234vc.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./state-trg234vc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./state-7wrqfeey.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-q994nwkr.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service51;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info16
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info16 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info9 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info16, exports_skills };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-fv5cfh7k.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin7 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin18 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin18 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin7, exports_firecrawl };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-12as4csw.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service77,
|
|
12
|
+
node81,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./state-0erg9wwv.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./state-xhvbz364.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service76,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node80,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service77;
|
|
231
|
+
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service76.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-jexxy024.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-ybhbtxjg.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-3fmtxraa.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-dg2cj1yd.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-12as4csw.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command5 = {};
|
|
14
14
|
__export(exports_command5, {
|
|
15
15
|
Command: () => exports_command5,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event12,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info20,
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Service: () => Service66,
|
|
21
|
+
layer: () => layer24,
|
|
22
|
+
node: () => node70
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event12 } from "@opencode/schema/command";
|
|
28
|
+
var Info20 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service66 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer24 = Layer.effect(Service66, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer25 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info20.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service66.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer25 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node70 = makeLocationNode({
|
|
75
|
+
service: Service66,
|
|
76
|
+
layer: layer24,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info20, NotFoundError7, ExecutionError2, Service66, layer24, node70, exports_command5, Event12 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-bhnryp6n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-trg234vc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|