@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,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-b18f862j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node64
|
|
7
|
+
} from "./config-kygx0r76.js";
|
|
8
8
|
import {
|
|
9
9
|
Service7,
|
|
10
10
|
node10
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-gye5ymp9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service32
|
|
14
|
+
} from "./config-9sh4wc5j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node23,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-yt1r22a2.js";
|
|
19
19
|
import {
|
|
20
20
|
Service5,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node7
|
|
22
|
+
} from "./config-cmwkp3r5.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-rj3zc9k8.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make3,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-46tyheva.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
33
|
Service4,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
node6
|
|
35
|
+
} from "./config-rj7j27xs.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service3,
|
|
38
|
+
node5
|
|
39
|
+
} from "./config-depwzj9d.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./config-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer3,
|
|
49
|
+
node: () => node4
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
124
124
|
pending: [...pending]
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
|
-
var
|
|
128
|
-
const registry = yield*
|
|
127
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
+
const registry = yield* Service32;
|
|
129
129
|
const sdk = yield* Service4;
|
|
130
130
|
const instance = yield* Service5;
|
|
131
131
|
const sources = yield* Service7;
|
|
132
|
-
const modules = yield*
|
|
132
|
+
const modules = yield* make3();
|
|
133
133
|
const bus = yield* Service80;
|
|
134
|
-
const updates = yield*
|
|
134
|
+
const updates = yield* Service3;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
209
|
+
node23,
|
|
210
|
+
node6,
|
|
210
211
|
node7,
|
|
211
|
-
node8,
|
|
212
212
|
node10,
|
|
213
|
-
|
|
213
|
+
node5,
|
|
214
214
|
node85,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node64,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { layer3, node4, exports_supervisor };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service75,
|
|
10
|
+
node: () => node80
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service75 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service75.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node80 = makeLocationNode({ service: Service75, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service75, node80, exports_hooks };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID15,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./config-82drw8c2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./config-k3942g9h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service58
|
|
10
|
+
} from "./config-t1rx5jyv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service54,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9xf855tq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./config-zgav49qc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./config-sd4y1mcp.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin25
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin25 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service58;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin30 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service77;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service54;
|
|
60
|
+
const sessions = yield* Service26;
|
|
61
|
+
const agents = yield* Service70;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin25, exports_command2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-4mg4d8r9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service31 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service81;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service31.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node36 = makeLocationNode({ service: Service31, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node36, exports_instruction_entry };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-b18f862j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service64,
|
|
11
|
+
node69
|
|
12
|
+
} from "./config-d8hxcene.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service77,
|
|
15
|
+
node82
|
|
16
|
+
} from "./config-k3942g9h.js";
|
|
17
17
|
import {
|
|
18
|
-
Service62,
|
|
19
|
-
node66
|
|
20
|
-
} from "./filesystem-zh0vtjyr.js";
|
|
21
|
-
import {
|
|
22
|
-
ID9,
|
|
23
18
|
Service55,
|
|
24
19
|
node59
|
|
25
|
-
} from "./
|
|
20
|
+
} from "./config-v00ee303.js";
|
|
21
|
+
import {
|
|
22
|
+
ID11,
|
|
23
|
+
Service63,
|
|
24
|
+
node68
|
|
25
|
+
} from "./config-j49tgg6r.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service62,
|
|
34
|
+
node67
|
|
35
|
+
} from "./config-9vsg8yc4.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./config-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service38,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer16,
|
|
58
|
+
node: () => node42
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
92
92
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
93
93
|
var cloneConfig = (config) => structuredClone(config);
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Options5 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
99
99
|
name: Schema.String,
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var
|
|
104
|
-
const location = yield*
|
|
105
|
-
const environment = yield*
|
|
103
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
104
|
+
const location = yield* Service77;
|
|
105
|
+
const environment = yield* Service55;
|
|
106
106
|
const bus = yield* Service80;
|
|
107
|
-
const forms = yield*
|
|
108
|
-
const integration = yield*
|
|
109
|
-
const credentials = yield*
|
|
107
|
+
const forms = yield* Service63;
|
|
108
|
+
const integration = yield* Service62;
|
|
109
|
+
const credentials = yield* Service64;
|
|
110
110
|
const root = yield* Effect.scope;
|
|
111
111
|
const fork = yield* FiberSet.makeRuntime();
|
|
112
112
|
const entries = new Map;
|
|
@@ -118,7 +118,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
const remote = entry.config;
|
|
120
120
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
121
|
-
const integrationID =
|
|
121
|
+
const integrationID = ID10.make(suffix);
|
|
122
122
|
entry.integrationID = integrationID;
|
|
123
123
|
owned.add(integrationID);
|
|
124
124
|
const methodID = MethodID2.make(suffix);
|
|
@@ -134,7 +134,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
134
134
|
method: { id: methodID, type: "oauth", label: name },
|
|
135
135
|
authorize: () => Effect.gen(function* () {
|
|
136
136
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
137
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
137
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service64, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -143,19 +143,19 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
143
143
|
const name = ServerName2.make(server);
|
|
144
144
|
const entry = entries.get(name);
|
|
145
145
|
if (!entry)
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new NotFoundError5({ server: name });
|
|
147
147
|
return { name, entry };
|
|
148
148
|
});
|
|
149
149
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
150
150
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
151
151
|
return;
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service64, credentials));
|
|
154
154
|
});
|
|
155
155
|
const elicitation = {
|
|
156
156
|
create: (input) => Effect.gen(function* () {
|
|
157
157
|
if (input.params.mode === "url") {
|
|
158
|
-
const formID =
|
|
158
|
+
const formID = ID11.create();
|
|
159
159
|
const elicitationID = input.params.elicitationId;
|
|
160
160
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
161
161
|
if (key)
|
|
@@ -239,7 +239,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
239
239
|
entry.scope = scope;
|
|
240
240
|
const authProvider = yield* connectProvider(entry);
|
|
241
241
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
242
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
242
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.exit);
|
|
243
243
|
if (Exit.isSuccess(result)) {
|
|
244
244
|
entry.client = result.value.connection;
|
|
245
245
|
entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
|
|
@@ -363,7 +363,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
363
363
|
yield* startServer(name, entry);
|
|
364
364
|
}).pipe(locks.withLock(name));
|
|
365
365
|
});
|
|
366
|
-
fork(bus.subscribe(
|
|
366
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
367
367
|
const state = create3({
|
|
368
368
|
name: "mcp",
|
|
369
369
|
initial: () => ({
|
|
@@ -389,7 +389,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
389
389
|
}),
|
|
390
390
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
391
391
|
});
|
|
392
|
-
return
|
|
392
|
+
return Service38.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -508,14 +508,14 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
508
508
|
})
|
|
509
509
|
});
|
|
510
510
|
}));
|
|
511
|
-
function
|
|
511
|
+
function configured5(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
514
|
-
layer:
|
|
515
|
-
deps: [
|
|
513
|
+
service: Service38,
|
|
514
|
+
layer: layer16(options),
|
|
515
|
+
deps: [node82, node59, node85, node68, node67, node69]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node42 = configured5();
|
|
519
519
|
function toElicitationField(key, property, required) {
|
|
520
520
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
521
521
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer16, configured5, node42, exports_mcp4 };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./config-k3942g9h.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-b0ayvr0x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin6,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin6 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service77;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin6, exports_git };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./config-t1rx5jyv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./config-9xf855tq.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service58;
|
|
27
|
+
const shell = yield* Service54;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin32 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin31, exports_shell };
|