@opencode/core 0.0.0-dev-19618 → 0.0.0-dev-19620
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 +76 -76
- package/dist/aisdk-native.js +92 -91
- package/dist/aisdk.js +89 -89
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{filesystem-ysz7wnt3.js → config-01a7je3t.js} +30 -30
- package/dist/chunks/{filesystem-92s2v7tn.js → config-07n19tq3.js} +47 -47
- package/dist/chunks/{filesystem-apwwcccb.js → config-07z04894.js} +25 -26
- package/dist/chunks/{filesystem-kj1rs0ex.js → config-082j28at.js} +4 -4
- package/dist/chunks/{filesystem-406qt69j.js → config-09znq5v6.js} +9 -9
- package/dist/chunks/{filesystem-70qmacgz.js → config-0b9jragr.js} +8 -6
- package/dist/chunks/{filesystem-e0mmdbx3.js → config-0gb302ex.js} +10 -10
- package/dist/chunks/{filesystem-w0fqee3t.js → config-0kyv5em2.js} +4 -4
- package/dist/chunks/{filesystem-f0yntm5b.js → config-0mhcx6tn.js} +17 -17
- package/dist/chunks/{filesystem-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-sfnc39yp.js → config-0wdk316n.js} +8 -8
- package/dist/chunks/{filesystem-v5b0xx0m.js → config-12jxxftq.js} +16 -16
- package/dist/chunks/{filesystem-4890h4h8.js → config-147z1f8h.js} +32 -32
- package/dist/chunks/{filesystem-yp2x3t23.js → config-1acjjqhc.js} +4 -4
- package/dist/chunks/{filesystem-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-n0k1g4fc.js → config-1km8dk21.js} +16 -16
- package/dist/chunks/{filesystem-vbxkep6a.js → config-1xww6kdy.js} +15 -15
- package/dist/chunks/{filesystem-1ygqh575.js → config-1ygqh575.js} +2 -2
- package/dist/chunks/{filesystem-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-39btv581.js → config-24dcb14g.js} +1 -8
- package/dist/chunks/{filesystem-s9jsf10w.js → config-28whzyd9.js} +6 -6
- package/dist/chunks/{filesystem-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-6ev5h72j.js → config-2m7svab7.js} +87 -87
- package/dist/chunks/{filesystem-jgj0cmjf.js → config-34s6cg07.js} +7 -7
- package/dist/chunks/{filesystem-qq1c0rfq.js → config-3atm5pec.js} +8 -8
- package/dist/chunks/{filesystem-3wj4dvam.js → config-3bqsmn8j.js} +6 -6
- package/dist/chunks/{filesystem-x8kx70zw.js → config-3de56gd9.js} +20 -20
- package/dist/chunks/{filesystem-3j24hfx9.js → config-3dnvhw7p.js} +9 -9
- package/dist/chunks/{filesystem-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-y7z8aqqx.js → config-3ghk67v3.js} +15 -15
- package/dist/chunks/{filesystem-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-wwxgka64.js → config-3n3mkc0a.js} +14 -14
- package/dist/chunks/{filesystem-dq0sj55k.js → config-3qn6xs8f.js} +5 -5
- package/dist/chunks/{filesystem-92k45pvj.js → config-3r916n3t.js} +6 -6
- package/dist/chunks/{filesystem-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-8z00fdkb.js → config-44h5tttr.js} +4 -4
- package/dist/chunks/{filesystem-z6259ffv.js → config-46tyheva.js} +8 -8
- package/dist/chunks/{filesystem-gdezgtpw.js → config-481njsdn.js} +8 -8
- package/dist/chunks/{filesystem-qznyv1pd.js → config-4f5hf89x.js} +6 -6
- package/dist/chunks/config-4fp0neyv.js +68 -0
- package/dist/chunks/{filesystem-3a5s2rra.js → config-4gd731xa.js} +7 -7
- package/dist/chunks/{filesystem-zfs18d5t.js → config-4gdprx9j.js} +3 -3
- package/dist/chunks/{filesystem-4jc5c4h4.js → config-4jc5c4h4.js} +1 -1
- package/dist/chunks/{filesystem-j8hh79t3.js → config-4jkwnjww.js} +167 -167
- package/dist/chunks/{filesystem-37k0eqq3.js → config-4mg4d8r9.js} +3 -3
- package/dist/chunks/{filesystem-ymcnatpj.js → config-4pp10hk6.js} +25 -25
- package/dist/chunks/{filesystem-1k8tpdq4.js → config-4yrxhb6j.js} +6 -6
- package/dist/chunks/{filesystem-4jf7s0ck.js → config-53p8tn45.js} +4 -4
- package/dist/chunks/{filesystem-ws7b1vd7.js → config-553ta1rf.js} +24 -24
- package/dist/chunks/{filesystem-syxap8am.js → config-569tr4pc.js} +4 -4
- package/dist/chunks/{filesystem-57ez7d0k.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/{filesystem-2f04pwep.js → config-5cmxdwv8.js} +2 -2
- package/dist/chunks/{filesystem-fdywpn9x.js → config-5d02jmpq.js} +11 -11
- package/dist/chunks/{filesystem-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-38hz51bw.js → config-65rr7ck3.js} +18 -18
- package/dist/chunks/{filesystem-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{filesystem-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-7xbgkkry.js → config-71e6t07v.js} +17 -17
- package/dist/chunks/{filesystem-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-jtzgk00g.js → config-7dtazzwr.js} +9 -9
- package/dist/chunks/{filesystem-0f9afca0.js → config-7gvwkz6m.js} +5 -5
- package/dist/chunks/{filesystem-07yk87ch.js → config-7v9pxec5.js} +4 -4
- package/dist/chunks/{filesystem-shh6fz4q.js → config-7z7az0f5.js} +4 -4
- package/dist/chunks/{filesystem-dm18e6rv.js → config-82drw8c2.js} +13 -13
- package/dist/chunks/{filesystem-n8mqzfm9.js → config-84vfkt4j.js} +12 -12
- package/dist/chunks/{filesystem-mx9sgxdp.js → config-8d4je01t.js} +2 -2
- package/dist/chunks/{filesystem-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-qp3v07n2.js → config-8mfdap3f.js} +8 -8
- package/dist/chunks/{filesystem-8p4f9s12.js → config-8p4f9s12.js} +2 -2
- package/dist/chunks/{filesystem-9tmk4wfj.js → config-8xb4fn80.js} +5 -5
- package/dist/chunks/{filesystem-903hvwdd.js → config-958f6mdd.js} +32 -32
- package/dist/chunks/{filesystem-827vnqcm.js → config-9as7e6ma.js} +42 -42
- package/dist/chunks/{filesystem-v1kfa28m.js → config-9cpn9ax9.js} +9 -9
- package/dist/chunks/{filesystem-8m0x795s.js → config-9mdtzecd.js} +32 -32
- package/dist/chunks/{filesystem-tn345pzm.js → config-9r929b30.js} +6 -6
- package/dist/chunks/{filesystem-brhvyepg.js → config-9r9pq2ty.js} +10 -10
- package/dist/chunks/{filesystem-xd7p5zqs.js → config-9sbvqvys.js} +25 -25
- package/dist/chunks/config-9sh4wc5j.js +18 -0
- package/dist/chunks/{filesystem-gzprh467.js → config-9vsg8yc4.js} +25 -25
- package/dist/chunks/{filesystem-6f0xwptt.js → config-9xf855tq.js} +15 -15
- package/dist/chunks/{filesystem-a1bz86dw.js → config-a1bz86dw.js} +3 -3
- package/dist/chunks/{filesystem-1g7epwpd.js → config-a2ew8a62.js} +7 -7
- package/dist/chunks/{filesystem-wtaqqafq.js → config-a5rvh4nv.js} +11 -11
- package/dist/chunks/{filesystem-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-33ka9sw2.js → config-b0ayvr0x.js} +20 -20
- package/dist/chunks/{filesystem-5xy61mm9.js → config-b18f862j.js} +4 -4
- package/dist/chunks/{filesystem-813ty9ck.js → config-b5myacj1.js} +21 -21
- package/dist/chunks/{filesystem-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-41f61ev5.js → config-ba8mse6q.js} +11 -11
- package/dist/chunks/{filesystem-2h5jvt6q.js → config-bgk88e04.js} +38 -38
- package/dist/chunks/{filesystem-fxqygnfa.js → config-bha4atvq.js} +4 -4
- package/dist/chunks/{filesystem-5df2rnfx.js → config-bmha4d8f.js} +13 -13
- package/dist/chunks/{filesystem-gcx5yr3q.js → config-brn8szsg.js} +15 -15
- package/dist/chunks/{filesystem-9v67fpxy.js → config-bt4a0k6p.js} +14 -14
- package/dist/chunks/{filesystem-1mqcdkn4.js → config-btqxeatv.js} +17 -17
- package/dist/chunks/{filesystem-rds95j8z.js → config-bw07e7gc.js} +1 -1
- package/dist/chunks/{filesystem-skz9jdxs.js → config-c41he9zp.js} +47 -47
- package/dist/chunks/{filesystem-6dt5d3yy.js → config-c4vcfcbt.js} +9 -9
- package/dist/chunks/{filesystem-fddsyqr4.js → config-c5gg6rgh.js} +5 -5
- package/dist/chunks/{filesystem-37s12vcn.js → config-c78bbtc9.js} +5 -5
- package/dist/chunks/{filesystem-zvt32j6c.js → config-cad40pv7.js} +17 -17
- package/dist/chunks/{filesystem-cfpkc3c9.js → config-cfpkc3c9.js} +2 -2
- package/dist/chunks/{filesystem-ms4phxsh.js → config-cjp58b5b.js} +16 -16
- package/dist/chunks/{filesystem-5w764t2b.js → config-cjwndxkq.js} +23 -23
- package/dist/chunks/{filesystem-844ef7ks.js → config-cmwkp3r5.js} +4 -4
- package/dist/chunks/{filesystem-byacmj7b.js → config-cn8sqj9q.js} +18 -18
- package/dist/chunks/{filesystem-s1aps666.js → config-cy3hxfvf.js} +7 -7
- package/dist/chunks/{filesystem-mmy54dzb.js → config-d66crwzg.js} +9 -9
- package/dist/chunks/{filesystem-k17k9k58.js → config-d7cwqg7e.js} +10 -10
- package/dist/chunks/{filesystem-mfw11q3n.js → config-d8hxcene.js} +28 -28
- package/dist/chunks/{filesystem-bh5mjw3r.js → config-dag2nrwr.js} +43 -43
- package/dist/chunks/{filesystem-9zswys26.js → config-depwzj9d.js} +9 -9
- package/dist/chunks/{filesystem-bndc73cn.js → config-e5nv3ght.js} +5 -5
- package/dist/chunks/{filesystem-02nrjc1r.js → config-eaj1djv9.js} +4 -4
- package/dist/chunks/{filesystem-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-73tb2d7t.js → config-eq1pz5kg.js} +3 -3
- package/dist/chunks/{filesystem-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-fap9mv8s.js → config-ew7nbhn8.js} +36 -36
- package/dist/chunks/{filesystem-9c8qb4fx.js → config-ewmwb483.js} +15 -15
- package/dist/chunks/config-f2p7c97r.js +609 -0
- package/dist/chunks/{filesystem-b6nkjk1t.js → config-f37w05r2.js} +27 -27
- package/dist/chunks/{filesystem-7rmm56r3.js → config-f48bmwtv.js} +5 -5
- package/dist/chunks/{filesystem-s2rjst4c.js → config-f5qar08c.js} +32 -32
- package/dist/chunks/{filesystem-xyyjnszw.js → config-f67713nv.js} +21 -24
- package/dist/chunks/{filesystem-f828m53h.js → config-f828m53h.js} +2 -2
- package/dist/chunks/{filesystem-qxk9wp59.js → config-fcfj6g1p.js} +23 -23
- package/dist/chunks/{filesystem-0jwsre1p.js → config-fcrkznn8.js} +5 -5
- package/dist/chunks/{filesystem-z97y4ypk.js → config-ftra40n9.js} +3 -3
- package/dist/chunks/{filesystem-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-3fr2v5qz.js → config-gfjmx2tb.js} +4 -4
- package/dist/chunks/{filesystem-dzjvqage.js → config-ghfpptr2.js} +5 -13
- package/dist/chunks/{filesystem-a38p36g0.js → config-gm5wm00c.js} +14 -14
- package/dist/chunks/{filesystem-gn350eyy.js → config-gpa99hwg.js} +20 -20
- package/dist/chunks/{filesystem-th5km1p3.js → config-gv6a8nnw.js} +5 -5
- package/dist/chunks/{filesystem-yjg451mg.js → config-gye5ymp9.js} +15 -15
- package/dist/chunks/{filesystem-h03wrkyp.js → config-h03wrkyp.js} +2 -2
- package/dist/chunks/{filesystem-eqs0pmgx.js → config-h4gk7zvx.js} +3 -3
- package/dist/chunks/{filesystem-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-6ynxx3sz.js → config-he7wn027.js} +10 -10
- package/dist/chunks/{filesystem-ck5yfnd1.js → config-hhxyj69g.js} +24 -24
- package/dist/chunks/{filesystem-nhy5jxhy.js → config-hjt4xg1x.js} +4 -4
- package/dist/chunks/{filesystem-vy0wt1xp.js → config-hknfap8y.js} +36 -36
- package/dist/chunks/{filesystem-9yr2yfq4.js → config-hwe7x4em.js} +6 -6
- package/dist/chunks/{filesystem-e54dr8r7.js → config-hx2psyfh.js} +10 -10
- package/dist/chunks/{filesystem-0j4pm1hq.js → config-hydf4jck.js} +8 -8
- package/dist/chunks/{filesystem-wesp68ae.js → config-j49tgg6r.js} +24 -24
- package/dist/chunks/{filesystem-q5nw5m1n.js → config-j5208yae.js} +6 -6
- package/dist/chunks/{filesystem-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-33js1h5h.js → config-j8fqp1rw.js} +18 -18
- package/dist/chunks/{filesystem-wtkcq731.js → config-jc0ymxqr.js} +39 -39
- package/dist/chunks/{filesystem-dvj7hexm.js → config-jjkms2e6.js} +1 -8
- package/dist/chunks/{filesystem-xa9r7nw9.js → config-jrvsyn0z.js} +20 -20
- package/dist/chunks/{filesystem-t7n9q6bq.js → config-jvf3yq6v.js} +4 -4
- package/dist/chunks/{filesystem-magykp64.js → config-k2h4r4s0.js} +4 -4
- package/dist/chunks/{filesystem-req2f1zf.js → config-k3942g9h.js} +14 -14
- package/dist/chunks/{filesystem-1ak9gecn.js → config-k3kxt7h3.js} +8 -8
- package/dist/chunks/{filesystem-56n3j9hn.js → config-kd8wqpk3.js} +53 -53
- package/dist/chunks/{filesystem-axq00zzf.js → config-kygx0r76.js} +22 -22
- package/dist/chunks/{filesystem-jfc61th8.js → config-kypcf4qg.js} +20 -20
- package/dist/chunks/{filesystem-f7dhzska.js → config-m1979k5p.js} +32 -32
- package/dist/chunks/{filesystem-2w7hg4c7.js → config-m3yhsweq.js} +41 -52
- package/dist/chunks/{filesystem-h7ygw6q4.js → config-m86bnw2c.js} +9 -9
- package/dist/chunks/{filesystem-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-mqjke63f.js → config-mbj59j53.js} +12 -12
- package/dist/chunks/{filesystem-d2k0bxc6.js → config-mbnzj7fq.js} +11 -11
- package/dist/chunks/{filesystem-6kt92yqk.js → config-mc9c1zbf.js} +13 -13
- package/dist/chunks/{filesystem-ndh7jbby.js → config-mdm1g8s7.js} +24 -24
- package/dist/chunks/{filesystem-t73pnhmt.js → config-mg37ak55.js} +25 -25
- package/dist/chunks/{filesystem-jmnxg2hy.js → config-n0bqns9b.js} +31 -31
- package/dist/chunks/{filesystem-8de9g2wa.js → config-n66sm98c.js} +8 -8
- package/dist/chunks/{filesystem-gsjsmvjz.js → config-n67mgy0c.js} +23 -23
- package/dist/chunks/{filesystem-6nrgx7s9.js → config-ne3kjeyx.js} +15 -15
- package/dist/chunks/{filesystem-5pkq4p4h.js → config-nm1c1912.js} +50 -50
- package/dist/chunks/{filesystem-h609avsd.js → config-nmx43amf.js} +10 -10
- package/dist/chunks/{filesystem-3n48t328.js → config-nrcmaa2f.js} +11 -11
- package/dist/chunks/{filesystem-0m11qpm4.js → config-pbdz66w6.js} +20 -20
- package/dist/chunks/{filesystem-7qne9t03.js → config-pe7t7t2c.js} +28 -28
- package/dist/chunks/{filesystem-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-t9zs3egg.js → config-pmr4s4kc.js} +4 -4
- package/dist/chunks/{filesystem-nb9b6p15.js → config-pmzxmx7p.js} +25 -25
- package/dist/chunks/{filesystem-fw7t8djd.js → config-pn8tp4tb.js} +64 -64
- package/dist/chunks/{filesystem-6z8y8spb.js → config-ps5yzaa8.js} +24 -24
- package/dist/chunks/config-psx5q6he.js +26 -0
- package/dist/chunks/{filesystem-j41a475f.js → config-pztqrn0p.js} +11 -11
- package/dist/chunks/{filesystem-dyzsby59.js → config-q8x0g613.js} +11 -11
- package/dist/chunks/{filesystem-kpmnv95v.js → config-qby8jf2p.js} +8 -8
- package/dist/chunks/{filesystem-fcw1zqre.js → config-qf1faf3j.js} +18 -18
- package/dist/chunks/{filesystem-jx4a7yyx.js → config-qg3g05ea.js} +1 -8
- package/dist/chunks/config-qjn00rtb.js +63 -0
- package/dist/chunks/{filesystem-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-23pqda6t.js → config-r33ff4dw.js} +6 -6
- package/dist/chunks/{filesystem-yd1jaf3z.js → config-r4amq9j8.js} +11 -11
- package/dist/chunks/{filesystem-gw9t2z3w.js → config-r7krxm43.js} +23 -24
- package/dist/chunks/{filesystem-r9mregkx.js → config-r9mregkx.js} +2 -2
- package/dist/chunks/{filesystem-d3rs6qmg.js → config-rbb9szz8.js} +21 -9
- package/dist/chunks/{filesystem-40xvhc0y.js → config-rdp8w1tj.js} +25 -25
- package/dist/chunks/{filesystem-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-zxse2e34.js → config-ref137j6.js} +11 -11
- package/dist/chunks/{filesystem-zmn1asca.js → config-rj3zc9k8.js} +294 -298
- package/dist/chunks/{filesystem-698rmahv.js → config-rj7j27xs.js} +7 -7
- package/dist/chunks/{filesystem-0rshgchp.js → config-rqmwkd1g.js} +10 -10
- package/dist/chunks/{filesystem-9wgyq2tt.js → config-rvv9w8j7.js} +11 -11
- package/dist/chunks/{filesystem-jfzms4ed.js → config-s6e2pa35.js} +1 -1
- package/dist/chunks/{filesystem-z07af02a.js → config-s9vxdr24.js} +21 -21
- package/dist/chunks/{filesystem-wbt8vg77.js → config-sad597vp.js} +14 -14
- package/dist/chunks/{filesystem-dnxjdd8e.js → config-sd4y1mcp.js} +11 -11
- package/dist/chunks/{filesystem-bcfqw6ff.js → config-sk01cyn9.js} +15 -15
- package/dist/chunks/{filesystem-4f699rp4.js → config-sqbvksyk.js} +10 -10
- package/dist/chunks/{filesystem-5y69nyve.js → config-t0rt79at.js} +11 -11
- package/dist/chunks/{filesystem-b339w5wj.js → config-t1rx5jyv.js} +46 -46
- package/dist/chunks/{filesystem-w3jz5mh3.js → config-t2q9hcwk.js} +15 -15
- package/dist/chunks/config-t632knej.js +251 -0
- package/dist/chunks/{filesystem-evvf1n35.js → config-t7eadng9.js} +19 -19
- package/dist/chunks/{filesystem-s5pht5ae.js → config-tacs2yqm.js} +32 -32
- package/dist/chunks/{filesystem-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-89znhe33.js → config-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-2vep0yyn.js → config-tgpkg1mv.js} +6 -6
- package/dist/chunks/config-thzkma29.js +500 -0
- package/dist/chunks/{filesystem-s4bmhrbd.js → config-tk5pet79.js} +17 -17
- package/dist/chunks/{filesystem-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-zh0vtjyr.js → config-v00ee303.js} +24 -24
- package/dist/chunks/{filesystem-6j62sct7.js → config-v0xe2nxv.js} +17 -17
- package/dist/chunks/{filesystem-8hm8e1by.js → config-va70fm6r.js} +18 -18
- package/dist/chunks/{filesystem-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-s8610hey.js → config-vmgq4x8b.js} +2 -2
- package/dist/chunks/{filesystem-qjnxxf51.js → config-vmq7ehpy.js} +5 -5
- package/dist/chunks/{filesystem-wqkncbjv.js → config-vmwh049b.js} +6 -6
- package/dist/chunks/{filesystem-grkcecy6.js → config-vr0jy3rn.js} +40 -32
- package/dist/chunks/{filesystem-vymvq99p.js → config-vvte70ab.js} +22 -22
- package/dist/chunks/{filesystem-nryd581v.js → config-vy1eywvp.js} +38 -38
- package/dist/chunks/{filesystem-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-364eg4va.js → config-vzg7frpw.js} +26 -26
- package/dist/chunks/{filesystem-w1k39n5e.js → config-w1k39n5e.js} +1 -1
- package/dist/chunks/{filesystem-he07zsyr.js → config-w1xxf7tm.js} +13 -13
- package/dist/chunks/{filesystem-gf5fcfbn.js → config-w2dvrnz2.js} +10 -10
- package/dist/chunks/{filesystem-6n2tb6ee.js → config-w2mb4z4n.js} +15 -15
- package/dist/chunks/{filesystem-e6ajfsdf.js → config-w3fxp1m0.js} +9 -9
- package/dist/chunks/{filesystem-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-4n11223c.js → config-w6czwadd.js} +60 -337
- package/dist/chunks/{filesystem-3w85bfh1.js → config-w7da87xb.js} +27 -27
- package/dist/chunks/{filesystem-ejhwb09y.js → config-wc3fc9cn.js} +1 -6
- package/dist/chunks/{filesystem-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-gdqqvv7c.js → config-wq0gz2nf.js} +18 -18
- package/dist/chunks/{filesystem-m3npdpng.js → config-wsjfr4d3.js} +5 -5
- package/dist/chunks/{filesystem-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-kzqkxx2v.js → config-x7cjmgkw.js} +24 -24
- package/dist/chunks/{filesystem-9389c3ww.js → config-xdyh6fgr.js} +4 -4
- package/dist/chunks/{filesystem-ctn2km86.js → config-xe94yqgp.js} +2 -2
- package/dist/chunks/{filesystem-4sazzpff.js → config-xkg16ng2.js} +21 -21
- package/dist/chunks/{filesystem-asysv629.js → config-xpx0gg6d.js} +11 -11
- package/dist/chunks/{filesystem-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-p5tc0jkc.js → config-y2z5qgwy.js} +4 -8
- package/dist/chunks/{filesystem-n3pf906j.js → config-y6rxdhkr.js} +12 -12
- package/dist/chunks/{filesystem-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-tqq9vv0r.js → config-y93vqz97.js} +13 -13
- package/dist/chunks/{filesystem-nc6g6xf4.js → config-yejepwtj.js} +6 -12
- package/dist/chunks/{filesystem-jaqr24m8.js → config-ygxjh9rx.js} +33 -33
- package/dist/chunks/{filesystem-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-tqb4zsas.js → config-yt1r22a2.js} +18 -18
- package/dist/chunks/{filesystem-hrc76cbb.js → config-ywrabq02.js} +20 -20
- package/dist/chunks/{filesystem-vbzbj883.js → config-yxmwekd1.js} +30 -38
- package/dist/chunks/{filesystem-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-btec747f.js → config-z2qbjhyn.js} +5 -5
- package/dist/chunks/{filesystem-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{filesystem-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-q7ts5rjt.js → config-zgav49qc.js} +91 -91
- package/dist/chunks/{filesystem-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-ngqd1g3c.js → config-zt03gkt5.js} +4 -4
- package/dist/chunks/{filesystem-cqhybqg6.js → config-zx20m7ss.js} +26 -26
- package/dist/chunks/{filesystem-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-7gzpfzkj.js → config-zy39rx0a.js} +24 -24
- package/dist/chunks/{filesystem-cjjf7ytg.js → config-zznte351.js} +23 -23
- 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 +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -211
- package/dist/config/plugin/compaction.js +158 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +119 -119
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- 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 +362 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +218 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -105
- 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 +98 -98
- 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 +353 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +350 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +93 -94
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -216
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +324 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -89
- package/dist/plugin/provider/llmgateway.js +76 -89
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -89
- package/dist/plugin/provider.js +157 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -131
- package/dist/session/context.js +150 -151
- package/dist/session/diff.js +87 -87
- 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 +219 -220
- package/dist/session/execution.js +125 -126
- package/dist/session/generate.js +153 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -114
- package/dist/session/runner/step.js +124 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -172
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- 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 +208 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -155
- package/dist/session/to-session-error.js +110 -111
- package/dist/session/transfer.js +213 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +86 -86
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/aisdk-native.d.ts +21 -13
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/variant.d.ts +14 -0
- 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 +5 -5
- 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 +91 -91
- 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 +97 -0
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/refresh.js +342 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +9 -15
- package/dist/chunks/filesystem-71q4at8m.js +0 -15
- package/dist/chunks/filesystem-8nwmmt46.js +0 -331
- package/dist/chunks/filesystem-a5kagja2.js +0 -26
- package/dist/chunks/filesystem-chf0k88c.js +0 -170
- package/dist/chunks/filesystem-hrnqkpcd.js +0 -20
- package/dist/chunks/filesystem-nyrzeqwa.js +0 -251
- package/dist/chunks/filesystem-pf31ssb9.js +0 -18
- package/dist/chunks/filesystem-t82q7pe6.js +0 -113
- package/dist/chunks/filesystem-wd41hx6g.js +0 -118
- package/dist/chunks/filesystem-wjrkf519.js +0 -53
- package/dist/plugin/provider/alibaba.js +0 -7
- package/dist/plugin/provider/openai-compatible.js +0 -6
- package/dist/plugin/variant.js +0 -98
- package/dist/types/plugin/provider/alibaba.d.ts +0 -1
- package/dist/types/plugin/provider/openai-compatible.d.ts +0 -1
- package/dist/types/plugin/variant.d.ts +0 -10
- /package/dist/chunks/{filesystem-0mesazry.js → config-0mesazry.js} +0 -0
- /package/dist/chunks/{filesystem-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Plugin4
|
|
3
|
-
} from "./filesystem-qp3v07n2.js";
|
|
4
|
-
import {
|
|
5
|
-
Plugin5
|
|
6
|
-
} from "./filesystem-s9jsf10w.js";
|
|
7
|
-
import {
|
|
8
|
-
Plugin7
|
|
9
|
-
} from "./filesystem-3j24hfx9.js";
|
|
10
|
-
import {
|
|
11
|
-
Plugin6
|
|
12
|
-
} from "./filesystem-dq0sj55k.js";
|
|
13
|
-
import {
|
|
14
|
-
Plugin3
|
|
15
|
-
} from "./filesystem-3wj4dvam.js";
|
|
16
|
-
|
|
17
|
-
// src/plugin/websearch/index.ts
|
|
18
|
-
var WebSearchPlugins2 = [
|
|
19
|
-
Plugin4,
|
|
20
|
-
Plugin5,
|
|
21
|
-
Plugin7,
|
|
22
|
-
Plugin6,
|
|
23
|
-
Plugin3
|
|
24
|
-
];
|
|
25
|
-
|
|
26
|
-
export { WebSearchPlugins2 };
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
mergeOverlay2,
|
|
3
|
-
mergeHeaders2
|
|
4
|
-
} from "./filesystem-8nwmmt46.js";
|
|
5
|
-
import {
|
|
6
|
-
__export
|
|
7
|
-
} from "./filesystem-9rqn6x4v.js";
|
|
8
|
-
|
|
9
|
-
// src/aisdk-native.ts
|
|
10
|
-
var exports_aisdk_native = {};
|
|
11
|
-
__export(exports_aisdk_native, {
|
|
12
|
-
AISDKNative: () => exports_aisdk_native,
|
|
13
|
-
map: () => map2
|
|
14
|
-
});
|
|
15
|
-
import { Effect, Option, Schema, Struct } from "effect";
|
|
16
|
-
var lenient = (schema) => Schema.optional(Schema.UndefinedOr(schema).pipe(Schema.catchDecoding(() => Effect.succeed(Option.some(undefined)))));
|
|
17
|
-
var Credentials = Schema.Struct({
|
|
18
|
-
accessKeyId: Schema.String,
|
|
19
|
-
secretAccessKey: Schema.String,
|
|
20
|
-
sessionToken: lenient(Schema.String),
|
|
21
|
-
region: lenient(Schema.String)
|
|
22
|
-
});
|
|
23
|
-
var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
24
|
-
apiKey: lenient(Schema.String),
|
|
25
|
-
baseURL: lenient(Schema.String),
|
|
26
|
-
headers: lenient(Schema.Record(Schema.String, Schema.String)),
|
|
27
|
-
extraBody: lenient(Schema.Record(Schema.String, Schema.Unknown)),
|
|
28
|
-
useCompletionUrls: lenient(Schema.Boolean),
|
|
29
|
-
auth: lenient(Schema.Literals(["bearer", "sigv4"])),
|
|
30
|
-
bearerToken: lenient(Schema.String),
|
|
31
|
-
endpoint: lenient(Schema.String),
|
|
32
|
-
region: lenient(Schema.String),
|
|
33
|
-
credentials: lenient(Credentials),
|
|
34
|
-
accessKeyId: lenient(Schema.String),
|
|
35
|
-
secretAccessKey: lenient(Schema.String),
|
|
36
|
-
sessionToken: lenient(Schema.String),
|
|
37
|
-
anthropicBeta: lenient(Schema.Array(Schema.String)),
|
|
38
|
-
serviceTier: lenient(Schema.String),
|
|
39
|
-
reasoningConfig: lenient(Schema.Struct({
|
|
40
|
-
type: lenient(Schema.String),
|
|
41
|
-
display: lenient(Schema.String),
|
|
42
|
-
maxReasoningEffort: lenient(Schema.String),
|
|
43
|
-
budgetTokens: lenient(Schema.Number)
|
|
44
|
-
})),
|
|
45
|
-
additionalModelRequestFields: lenient(Schema.StructWithRest(Schema.Struct({
|
|
46
|
-
anthropic_beta: lenient(Schema.Array(Schema.String)),
|
|
47
|
-
output_config: lenient(Schema.Record(Schema.String, Schema.Unknown)),
|
|
48
|
-
reasoning: lenient(Schema.Record(Schema.String, Schema.Unknown))
|
|
49
|
-
}), [Schema.Record(Schema.String, Schema.Unknown)])),
|
|
50
|
-
appName: lenient(Schema.String),
|
|
51
|
-
appUrl: lenient(Schema.String),
|
|
52
|
-
api_keys: lenient(Schema.Record(Schema.String, Schema.String))
|
|
53
|
-
}), [Schema.Record(Schema.String, Schema.Unknown)]);
|
|
54
|
-
var decode = Schema.decodeUnknownSync(Legacy);
|
|
55
|
-
function map2(input) {
|
|
56
|
-
const settings = decode(input.settings);
|
|
57
|
-
const native = mapPackage(input.packageName, input.modelID, settings);
|
|
58
|
-
if (!native)
|
|
59
|
-
return;
|
|
60
|
-
const converse = native === "@opencode/ai/providers/amazon-bedrock";
|
|
61
|
-
const mapped = {
|
|
62
|
-
...Struct.omit(settings, ["headers", "extraBody", "useCompletionUrls", ...OPENROUTER_KEYS]),
|
|
63
|
-
...native === "@opencode/ai/providers/openai-compatible" ? { provider: input.providerID } : {}
|
|
64
|
-
};
|
|
65
|
-
return {
|
|
66
|
-
package: native,
|
|
67
|
-
settings: native.startsWith("@opencode/ai/providers/amazon-bedrock") ? bedrockSettings(mapped, converse) : mapped,
|
|
68
|
-
...settings.headers === undefined ? {} : { headers: settings.headers },
|
|
69
|
-
...settings.extraBody === undefined ? {} : { body: settings.extraBody },
|
|
70
|
-
...converse ? bedrockRequest(input.modelID, settings) : {},
|
|
71
|
-
...native === "@opencode/ai/providers/openrouter" ? openRouterRequest(settings) : {}
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
function mapPackage(packageName, modelID, settings) {
|
|
75
|
-
switch (packageName) {
|
|
76
|
-
case "@ai-sdk/anthropic":
|
|
77
|
-
case "@ai-sdk/cerebras":
|
|
78
|
-
case "@ai-sdk/deepinfra":
|
|
79
|
-
case "@ai-sdk/google":
|
|
80
|
-
case "@ai-sdk/google-vertex":
|
|
81
|
-
case "@ai-sdk/groq":
|
|
82
|
-
case "@ai-sdk/mistral":
|
|
83
|
-
case "@ai-sdk/openai":
|
|
84
|
-
case "@ai-sdk/togetherai":
|
|
85
|
-
case "@ai-sdk/xai":
|
|
86
|
-
case "@ai-sdk/amazon-bedrock":
|
|
87
|
-
return `@opencode/ai/providers/${packageName.slice("@ai-sdk/".length)}`;
|
|
88
|
-
case "@ai-sdk/amazon-bedrock/mantle":
|
|
89
|
-
return `@opencode/ai/providers/amazon-bedrock/mantle/${modelID.includes("gpt-oss") ? "chat" : "responses"}`;
|
|
90
|
-
case "@ai-sdk/azure":
|
|
91
|
-
return `@opencode/ai/providers/azure/${settings.useCompletionUrls === true ? "chat" : "responses"}`;
|
|
92
|
-
case "@ai-sdk/google-vertex/anthropic":
|
|
93
|
-
return "@opencode/ai/providers/google-vertex/messages";
|
|
94
|
-
case "@ai-sdk/openai-compatible":
|
|
95
|
-
return settings.baseURL === undefined ? undefined : "@opencode/ai/providers/openai-compatible";
|
|
96
|
-
case "@openrouter/ai-sdk-provider":
|
|
97
|
-
return "@opencode/ai/providers/openrouter";
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
var BEDROCK_KEYS = [
|
|
101
|
-
"bearerToken",
|
|
102
|
-
"endpoint",
|
|
103
|
-
"credentials",
|
|
104
|
-
"credentialProvider",
|
|
105
|
-
"accessKeyId",
|
|
106
|
-
"secretAccessKey",
|
|
107
|
-
"sessionToken"
|
|
108
|
-
];
|
|
109
|
-
var CONVERSE_KEYS = ["additionalModelRequestFields", "reasoningConfig", "anthropicBeta", "serviceTier"];
|
|
110
|
-
function bedrockSettings(settings, converse) {
|
|
111
|
-
const region = settings.region ?? settings.credentials?.region;
|
|
112
|
-
const credentials = settings.credentials ?? settings;
|
|
113
|
-
const baseURL = settings.baseURL ?? settings.endpoint;
|
|
114
|
-
return {
|
|
115
|
-
...Struct.omit(settings, converse ? [...BEDROCK_KEYS, ...CONVERSE_KEYS] : BEDROCK_KEYS),
|
|
116
|
-
...baseURL === undefined ? {} : { baseURL: region === undefined ? baseURL : baseURL.replaceAll("${AWS_REGION}", region) },
|
|
117
|
-
...settings.apiKey === undefined && settings.bearerToken !== undefined ? { apiKey: settings.bearerToken } : {},
|
|
118
|
-
...region === undefined || credentials.accessKeyId === undefined || credentials.secretAccessKey === undefined ? {} : {
|
|
119
|
-
credentials: {
|
|
120
|
-
region,
|
|
121
|
-
accessKeyId: credentials.accessKeyId,
|
|
122
|
-
secretAccessKey: credentials.secretAccessKey,
|
|
123
|
-
...credentials.sessionToken === undefined ? {} : { sessionToken: credentials.sessionToken }
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
function bedrockRequest(modelID, settings) {
|
|
129
|
-
const additional = settings.additionalModelRequestFields ?? {};
|
|
130
|
-
const reasoning = settings.reasoningConfig;
|
|
131
|
-
const anthropic = modelID.includes("anthropic");
|
|
132
|
-
const openai = modelID.includes("openai.");
|
|
133
|
-
const harmony = modelID.includes("openai.gpt-oss");
|
|
134
|
-
const effort = reasoning?.maxReasoningEffort;
|
|
135
|
-
const type = reasoning?.type;
|
|
136
|
-
const budget = reasoning?.budgetTokens;
|
|
137
|
-
const display = reasoning?.display;
|
|
138
|
-
const betas = settings.anthropicBeta ?? [];
|
|
139
|
-
const fields = mergeOverlay2(additional, {
|
|
140
|
-
...betas.length > 0 ? { anthropic_beta: [...additional.anthropic_beta ?? [], ...betas] } : {},
|
|
141
|
-
...anthropic && type === "enabled" && budget !== undefined ? { thinking: { type: "enabled", budget_tokens: budget } } : {},
|
|
142
|
-
...anthropic && type === "adaptive" ? { thinking: { type: "adaptive", ...display === undefined ? {} : { display } } } : {},
|
|
143
|
-
...anthropic && effort !== undefined ? { output_config: { ...additional.output_config, effort } } : {},
|
|
144
|
-
...!anthropic && openai && harmony && effort !== undefined ? { reasoning_effort: effort } : {},
|
|
145
|
-
...!anthropic && openai && !harmony && effort !== undefined ? { reasoning: { ...additional.reasoning, effort } } : {},
|
|
146
|
-
...!anthropic && !openai && effort !== undefined ? {
|
|
147
|
-
reasoningConfig: {
|
|
148
|
-
...type === undefined || type === "adaptive" ? {} : { type },
|
|
149
|
-
...budget === undefined ? {} : { budgetTokens: budget },
|
|
150
|
-
maxReasoningEffort: effort
|
|
151
|
-
}
|
|
152
|
-
} : {}
|
|
153
|
-
});
|
|
154
|
-
const body = {
|
|
155
|
-
...fields && Object.keys(fields).length > 0 ? { additionalModelRequestFields: fields } : {},
|
|
156
|
-
...settings.serviceTier === undefined ? {} : { serviceTier: { type: settings.serviceTier } }
|
|
157
|
-
};
|
|
158
|
-
return Object.keys(body).length === 0 ? {} : { body };
|
|
159
|
-
}
|
|
160
|
-
var OPENROUTER_KEYS = ["appName", "appUrl", "api_keys", "compatibility"];
|
|
161
|
-
function openRouterRequest(settings) {
|
|
162
|
-
const headers = mergeHeaders2({
|
|
163
|
-
...settings.appName === undefined ? {} : { "X-OpenRouter-Title": settings.appName },
|
|
164
|
-
...settings.appUrl === undefined ? {} : { "HTTP-Referer": settings.appUrl },
|
|
165
|
-
...settings.api_keys === undefined || Object.keys(settings.api_keys).length === 0 ? {} : { "X-Provider-API-Keys": JSON.stringify(settings.api_keys) }
|
|
166
|
-
}, settings.headers) ?? {};
|
|
167
|
-
return Object.keys(headers).length === 0 ? {} : { headers };
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
export { map2, exports_aisdk_native };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// src/plugin/provider/openai-compatible.ts
|
|
2
|
-
import { Effect } from "effect";
|
|
3
|
-
import { define } from "@opencode/plugin/effect/plugin";
|
|
4
|
-
var OpenAICompatiblePlugin2 = define({
|
|
5
|
-
id: "opencode.provider.openai.compatible",
|
|
6
|
-
effect: Effect.fn(function* (ctx) {
|
|
7
|
-
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
8
|
-
if (evt.sdk)
|
|
9
|
-
return;
|
|
10
|
-
if (!evt.package.includes("@ai-sdk/openai-compatible"))
|
|
11
|
-
return;
|
|
12
|
-
if (evt.options.includeUsage !== false)
|
|
13
|
-
evt.options.includeUsage = true;
|
|
14
|
-
const mod = yield* Effect.promise(() => import("@ai-sdk/openai-compatible"));
|
|
15
|
-
evt.sdk = mod.createOpenAICompatible(evt.options);
|
|
16
|
-
}));
|
|
17
|
-
})
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
export { OpenAICompatiblePlugin2 };
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
node77
|
|
3
|
-
} from "./filesystem-dm18e6rv.js";
|
|
4
|
-
import {
|
|
5
|
-
node59
|
|
6
|
-
} from "./filesystem-wesp68ae.js";
|
|
7
|
-
import {
|
|
8
|
-
node58
|
|
9
|
-
} from "./filesystem-gzprh467.js";
|
|
10
|
-
import {
|
|
11
|
-
node80,
|
|
12
|
-
boundNode2
|
|
13
|
-
} from "./filesystem-req2f1zf.js";
|
|
14
|
-
import {
|
|
15
|
-
node57
|
|
16
|
-
} from "./filesystem-8nwmmt46.js";
|
|
17
|
-
import {
|
|
18
|
-
node55
|
|
19
|
-
} from "./filesystem-9389c3ww.js";
|
|
20
|
-
import {
|
|
21
|
-
node56
|
|
22
|
-
} from "./filesystem-grkcecy6.js";
|
|
23
|
-
import {
|
|
24
|
-
node70
|
|
25
|
-
} from "./filesystem-ws7b1vd7.js";
|
|
26
|
-
import {
|
|
27
|
-
configured6,
|
|
28
|
-
node46
|
|
29
|
-
} from "./filesystem-b339w5wj.js";
|
|
30
|
-
import {
|
|
31
|
-
node66
|
|
32
|
-
} from "./filesystem-zh0vtjyr.js";
|
|
33
|
-
import {
|
|
34
|
-
node19
|
|
35
|
-
} from "./filesystem-6kt92yqk.js";
|
|
36
|
-
import {
|
|
37
|
-
node16
|
|
38
|
-
} from "./filesystem-bcfqw6ff.js";
|
|
39
|
-
import {
|
|
40
|
-
node64
|
|
41
|
-
} from "./filesystem-903hvwdd.js";
|
|
42
|
-
import {
|
|
43
|
-
node63
|
|
44
|
-
} from "./filesystem-s2rjst4c.js";
|
|
45
|
-
import {
|
|
46
|
-
node54
|
|
47
|
-
} from "./filesystem-2w7hg4c7.js";
|
|
48
|
-
import {
|
|
49
|
-
node34
|
|
50
|
-
} from "./filesystem-813ty9ck.js";
|
|
51
|
-
import {
|
|
52
|
-
node42
|
|
53
|
-
} from "./filesystem-406qt69j.js";
|
|
54
|
-
import {
|
|
55
|
-
node32
|
|
56
|
-
} from "./filesystem-5pkq4p4h.js";
|
|
57
|
-
import {
|
|
58
|
-
Service48,
|
|
59
|
-
node52
|
|
60
|
-
} from "./filesystem-9yr2yfq4.js";
|
|
61
|
-
import {
|
|
62
|
-
node30
|
|
63
|
-
} from "./filesystem-6nrgx7s9.js";
|
|
64
|
-
import {
|
|
65
|
-
node78
|
|
66
|
-
} from "./filesystem-8de9g2wa.js";
|
|
67
|
-
import {
|
|
68
|
-
node74
|
|
69
|
-
} from "./filesystem-nryd581v.js";
|
|
70
|
-
import {
|
|
71
|
-
node50
|
|
72
|
-
} from "./filesystem-e54dr8r7.js";
|
|
73
|
-
import {
|
|
74
|
-
configured4,
|
|
75
|
-
node37
|
|
76
|
-
} from "./filesystem-7gzpfzkj.js";
|
|
77
|
-
import {
|
|
78
|
-
node24
|
|
79
|
-
} from "./filesystem-n0k1g4fc.js";
|
|
80
|
-
import {
|
|
81
|
-
node35
|
|
82
|
-
} from "./filesystem-ymcnatpj.js";
|
|
83
|
-
import {
|
|
84
|
-
node31
|
|
85
|
-
} from "./filesystem-xd7p5zqs.js";
|
|
86
|
-
import {
|
|
87
|
-
node40
|
|
88
|
-
} from "./filesystem-7qne9t03.js";
|
|
89
|
-
import {
|
|
90
|
-
node26
|
|
91
|
-
} from "./filesystem-8hm8e1by.js";
|
|
92
|
-
import {
|
|
93
|
-
node36
|
|
94
|
-
} from "./filesystem-ndh7jbby.js";
|
|
95
|
-
import {
|
|
96
|
-
node33
|
|
97
|
-
} from "./filesystem-xa9r7nw9.js";
|
|
98
|
-
import {
|
|
99
|
-
node23
|
|
100
|
-
} from "./filesystem-6ev5h72j.js";
|
|
101
|
-
import {
|
|
102
|
-
node38
|
|
103
|
-
} from "./filesystem-0m11qpm4.js";
|
|
104
|
-
import {
|
|
105
|
-
node84
|
|
106
|
-
} from "./filesystem-6f0xwptt.js";
|
|
107
|
-
import {
|
|
108
|
-
node45
|
|
109
|
-
} from "./filesystem-n8mqzfm9.js";
|
|
110
|
-
import {
|
|
111
|
-
node43
|
|
112
|
-
} from "./filesystem-skz9jdxs.js";
|
|
113
|
-
import {
|
|
114
|
-
node69
|
|
115
|
-
} from "./filesystem-9c8qb4fx.js";
|
|
116
|
-
import {
|
|
117
|
-
node61
|
|
118
|
-
} from "./filesystem-33ka9sw2.js";
|
|
119
|
-
import {
|
|
120
|
-
node62
|
|
121
|
-
} from "./filesystem-nb9b6p15.js";
|
|
122
|
-
import {
|
|
123
|
-
node79
|
|
124
|
-
} from "./filesystem-2h5jvt6q.js";
|
|
125
|
-
import {
|
|
126
|
-
node20
|
|
127
|
-
} from "./filesystem-tqb4zsas.js";
|
|
128
|
-
import {
|
|
129
|
-
node2
|
|
130
|
-
} from "./filesystem-4sazzpff.js";
|
|
131
|
-
import {
|
|
132
|
-
node73
|
|
133
|
-
} from "./filesystem-fcw1zqre.js";
|
|
134
|
-
import {
|
|
135
|
-
node8,
|
|
136
|
-
bound2
|
|
137
|
-
} from "./filesystem-844ef7ks.js";
|
|
138
|
-
import {
|
|
139
|
-
node12
|
|
140
|
-
} from "./filesystem-vymvq99p.js";
|
|
141
|
-
import {
|
|
142
|
-
node13
|
|
143
|
-
} from "./filesystem-evvf1n35.js";
|
|
144
|
-
import {
|
|
145
|
-
node14
|
|
146
|
-
} from "./filesystem-6j62sct7.js";
|
|
147
|
-
import {
|
|
148
|
-
node6
|
|
149
|
-
} from "./filesystem-jmnxg2hy.js";
|
|
150
|
-
import {
|
|
151
|
-
node5
|
|
152
|
-
} from "./filesystem-gn350eyy.js";
|
|
153
|
-
import {
|
|
154
|
-
node17
|
|
155
|
-
} from "./filesystem-tqq9vv0r.js";
|
|
156
|
-
import {
|
|
157
|
-
node4
|
|
158
|
-
} from "./filesystem-364eg4va.js";
|
|
159
|
-
import {
|
|
160
|
-
node3
|
|
161
|
-
} from "./filesystem-fw7t8djd.js";
|
|
162
|
-
import {
|
|
163
|
-
__export
|
|
164
|
-
} from "./filesystem-9rqn6x4v.js";
|
|
165
|
-
|
|
166
|
-
// src/instance.ts
|
|
167
|
-
var exports_instance = {};
|
|
168
|
-
__export(exports_instance, {
|
|
169
|
-
Instance: () => exports_instance,
|
|
170
|
-
Service: () => Service48,
|
|
171
|
-
graph: () => graph2,
|
|
172
|
-
layer: () => layer2,
|
|
173
|
-
node: () => node52
|
|
174
|
-
});
|
|
175
|
-
import { Effect, Layer } from "effect";
|
|
176
|
-
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
177
|
-
import { Node } from "@opencode/util/effect/app-node";
|
|
178
|
-
var nodes = [
|
|
179
|
-
node80,
|
|
180
|
-
node66,
|
|
181
|
-
node46,
|
|
182
|
-
node77,
|
|
183
|
-
node70,
|
|
184
|
-
node40,
|
|
185
|
-
node69,
|
|
186
|
-
node62,
|
|
187
|
-
node58,
|
|
188
|
-
node57,
|
|
189
|
-
node56,
|
|
190
|
-
node54,
|
|
191
|
-
node55,
|
|
192
|
-
node20,
|
|
193
|
-
node78,
|
|
194
|
-
node8,
|
|
195
|
-
node6,
|
|
196
|
-
node5,
|
|
197
|
-
node79,
|
|
198
|
-
node64,
|
|
199
|
-
node63,
|
|
200
|
-
node84,
|
|
201
|
-
node17,
|
|
202
|
-
node43,
|
|
203
|
-
node36,
|
|
204
|
-
node24,
|
|
205
|
-
node37,
|
|
206
|
-
node73,
|
|
207
|
-
node19,
|
|
208
|
-
node16,
|
|
209
|
-
node32,
|
|
210
|
-
node74,
|
|
211
|
-
node35,
|
|
212
|
-
node45,
|
|
213
|
-
node42,
|
|
214
|
-
node33,
|
|
215
|
-
node26,
|
|
216
|
-
node30,
|
|
217
|
-
node59,
|
|
218
|
-
node34,
|
|
219
|
-
node14,
|
|
220
|
-
node31,
|
|
221
|
-
node13,
|
|
222
|
-
node50,
|
|
223
|
-
node12,
|
|
224
|
-
node4,
|
|
225
|
-
node23,
|
|
226
|
-
node38,
|
|
227
|
-
node3,
|
|
228
|
-
node61,
|
|
229
|
-
node2
|
|
230
|
-
];
|
|
231
|
-
var graph2 = LayerNode.group(nodes);
|
|
232
|
-
var vanillaReplacements = [
|
|
233
|
-
node46.replace(configured6({ project: false, global: false })),
|
|
234
|
-
node37.replace(configured4({ project: false, global: false }))
|
|
235
|
-
];
|
|
236
|
-
function layer2(ref, options = {}) {
|
|
237
|
-
const startedAt = performance.now();
|
|
238
|
-
const replacements = [
|
|
239
|
-
...options.discovery === false ? vanillaReplacements : [],
|
|
240
|
-
...options.replacements ?? [],
|
|
241
|
-
node80.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
242
|
-
node8.replace(bound2(options.plugins ?? []))
|
|
243
|
-
];
|
|
244
|
-
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
|
|
245
|
-
directory: ref.directory,
|
|
246
|
-
workspaceID: ref.workspaceID,
|
|
247
|
-
durationMs: Math.round(performance.now() - startedAt)
|
|
248
|
-
})));
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
export { graph2, layer2, exports_instance };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__export
|
|
3
|
-
} from "./filesystem-9rqn6x4v.js";
|
|
4
|
-
|
|
5
|
-
// src/plugin/service.ts
|
|
6
|
-
var exports_service = {};
|
|
7
|
-
__export(exports_service, {
|
|
8
|
-
Plugin: () => exports_service,
|
|
9
|
-
Service: () => Service26,
|
|
10
|
-
awaitActivation: () => awaitActivation2
|
|
11
|
-
});
|
|
12
|
-
import { Context } from "effect";
|
|
13
|
-
|
|
14
|
-
class Service26 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
-
}
|
|
16
|
-
var awaitActivation2 = Service26.use((plugins) => plugins.awaitActivation);
|
|
17
|
-
|
|
18
|
-
export { Service26, awaitActivation2, exports_service };
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useragent2
|
|
3
|
-
} from "./filesystem-j41a475f.js";
|
|
4
|
-
import {
|
|
5
|
-
ID7,
|
|
6
|
-
isAISDK2
|
|
7
|
-
} from "./filesystem-8nwmmt46.js";
|
|
8
|
-
import {
|
|
9
|
-
iife2
|
|
10
|
-
} from "./filesystem-1kg9ymc8.js";
|
|
11
|
-
import {
|
|
12
|
-
configuredSettings2
|
|
13
|
-
} from "./filesystem-1k8tpdq4.js";
|
|
14
|
-
|
|
15
|
-
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
|
-
import os from "os";
|
|
17
|
-
import { Effect } from "effect";
|
|
18
|
-
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
|
-
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID = ID7.make("cloudflare-workers-ai");
|
|
21
|
-
var CloudflareWorkersAIPlugin2 = define({
|
|
22
|
-
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
|
-
effect: Effect.fn(function* (ctx) {
|
|
24
|
-
const configured = yield* configuredSettings2(providerID);
|
|
25
|
-
const form = iife2(() => {
|
|
26
|
-
if (typeof configured?.baseURL === "string" || resolveAccountId(configured ?? {}))
|
|
27
|
-
return;
|
|
28
|
-
return Form.Fields.make([
|
|
29
|
-
{
|
|
30
|
-
type: "string",
|
|
31
|
-
key: "accountId",
|
|
32
|
-
title: "Enter your Cloudflare Account ID",
|
|
33
|
-
placeholder: "e.g. 1234567890abcdef1234567890abcdef",
|
|
34
|
-
required: true
|
|
35
|
-
}
|
|
36
|
-
]);
|
|
37
|
-
});
|
|
38
|
-
yield* ctx.integration.transform((editor) => {
|
|
39
|
-
editor.method.update({
|
|
40
|
-
integrationID: providerID,
|
|
41
|
-
method: {
|
|
42
|
-
type: "key",
|
|
43
|
-
label: "API key",
|
|
44
|
-
form
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
yield* ctx.provider.transform((evt) => {
|
|
49
|
-
const item = evt.get(providerID);
|
|
50
|
-
if (!item)
|
|
51
|
-
return;
|
|
52
|
-
evt.update(item.provider.id, (provider) => {
|
|
53
|
-
if (!isAISDK2(provider.package))
|
|
54
|
-
return;
|
|
55
|
-
if (typeof provider.settings?.baseURL === "string")
|
|
56
|
-
return;
|
|
57
|
-
const accountId = resolveAccountId(provider.settings ?? {});
|
|
58
|
-
if (accountId)
|
|
59
|
-
provider.settings = { ...provider.settings, baseURL: workersEndpoint(accountId) };
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
63
|
-
if (evt.model.providerID !== providerID)
|
|
64
|
-
return;
|
|
65
|
-
if (evt.package !== "@ai-sdk/openai-compatible")
|
|
66
|
-
return;
|
|
67
|
-
const accountId = resolveAccountId(evt.options);
|
|
68
|
-
if (!hasWorkersEndpoint(evt.model) && !accountId)
|
|
69
|
-
return;
|
|
70
|
-
const mod = yield* Effect.promise(() => import("@ai-sdk/openai-compatible"));
|
|
71
|
-
evt.sdk = mod.createOpenAICompatible(sdkOptions({
|
|
72
|
-
...evt.options,
|
|
73
|
-
baseURL: evt.options.baseURL ?? (accountId ? workersEndpoint(accountId) : undefined)
|
|
74
|
-
}, ctx.app));
|
|
75
|
-
}));
|
|
76
|
-
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
77
|
-
if (evt.model.providerID !== providerID)
|
|
78
|
-
return;
|
|
79
|
-
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
80
|
-
}));
|
|
81
|
-
})
|
|
82
|
-
});
|
|
83
|
-
function resolveAccountId(options) {
|
|
84
|
-
return process.env.CLOUDFLARE_ACCOUNT_ID ?? stringOption(options, "accountId");
|
|
85
|
-
}
|
|
86
|
-
function workersEndpoint(accountId) {
|
|
87
|
-
return `https://api.cloudflare.com/client/v4/accounts/${accountId}/ai/v1`;
|
|
88
|
-
}
|
|
89
|
-
function hasWorkersEndpoint(model) {
|
|
90
|
-
return isAISDK2(model.package) && typeof model.settings?.baseURL === "string";
|
|
91
|
-
}
|
|
92
|
-
function sdkOptions(options, app) {
|
|
93
|
-
return {
|
|
94
|
-
...options,
|
|
95
|
-
baseURL: expandAccountId(options.baseURL),
|
|
96
|
-
apiKey: process.env.CLOUDFLARE_API_KEY ?? options.apiKey,
|
|
97
|
-
headers: {
|
|
98
|
-
"User-Agent": `${useragent2(app)} cloudflare-workers-ai (${os.platform()} ${os.release()}; ${os.arch()})`,
|
|
99
|
-
...options.headers
|
|
100
|
-
},
|
|
101
|
-
name: providerID
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
function expandAccountId(baseURL) {
|
|
105
|
-
if (typeof baseURL !== "string")
|
|
106
|
-
return baseURL;
|
|
107
|
-
return baseURL.replaceAll("${CLOUDFLARE_ACCOUNT_ID}", process.env.CLOUDFLARE_ACCOUNT_ID ?? "${CLOUDFLARE_ACCOUNT_ID}");
|
|
108
|
-
}
|
|
109
|
-
function stringOption(options, key) {
|
|
110
|
-
return typeof options[key] === "string" ? options[key] : undefined;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export { CloudflareWorkersAIPlugin2 };
|