@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-4mg4d8r9.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID14,
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
17
|
+
Info: () => Info29,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service69,
|
|
21
|
+
node: () => node74
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -26,8 +26,8 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID14 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var Info29 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service69 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service81).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service69.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node74 = makeGlobalNode({ service: Service69, layer, deps: [node86] });
|
|
68
68
|
|
|
69
|
-
export { ID14,
|
|
69
|
+
export { ID14, Info29, ListInput5, AddInput2, Service69, node74, exports_saved };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-b18f862j.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-44h5tttr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./config-d8hxcene.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID10
|
|
12
|
+
} from "./config-9vsg8yc4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service61
|
|
16
|
+
} from "./config-f2p7c97r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./config-07z04894.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service61;
|
|
30
30
|
const bus = yield* Service80;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-b18f862j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./config-k3942g9h.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node59
|
|
12
|
+
} from "./config-v00ee303.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service54,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node58
|
|
20
|
+
} from "./config-9xf855tq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service75,
|
|
23
|
+
node80
|
|
24
|
+
} from "./config-n66sm98c.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service53,
|
|
27
|
+
node57
|
|
28
|
+
} from "./config-481njsdn.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-5cmxdwv8.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service58,
|
|
35
|
+
node63
|
|
36
|
+
} from "./config-t1rx5jyv.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./config-84vfkt4j.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service52,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node56
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service52 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service52, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service80;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service77;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service54;
|
|
94
|
+
const environment = yield* Service55;
|
|
95
|
+
const hooks = yield* Service75;
|
|
96
|
+
const environments = yield* Service53;
|
|
97
|
+
const config = yield* Service58;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError7({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service52.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node56 = makeLocationNode({
|
|
320
|
+
service: Service52,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node85,
|
|
324
|
-
|
|
324
|
+
node82,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node58,
|
|
327
|
+
node59,
|
|
328
|
+
node80,
|
|
329
|
+
node57,
|
|
330
|
+
node63,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service52, cleanup2, node56, exports_shell4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service10.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node13 = makeLocationNode({ service: Service10, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service10, node13, exports_location_watcher_policy };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./config-t1rx5jyv.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
@@ -20,7 +20,7 @@ import { Effect } from "effect";
|
|
|
20
20
|
var Plugin24 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service58;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info14
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info14 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info14, exports_attachment };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-b18f862j.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event17
|
|
7
|
+
} from "./config-d8hxcene.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-9vsg8yc4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-f2p7c97r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID4,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-pmzxmx7p.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID10.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID10.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID9.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID9.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-4mg4d8r9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-b18f862j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./config-hwe7x4em.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-922hggd3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service39
|
|
16
|
+
} from "./config-pbdz66w6.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./config-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./config-vmwh049b.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./config-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,11 +42,11 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service44;
|
|
46
46
|
const database = yield* Service81;
|
|
47
47
|
const bus = yield* Service80;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
49
|
+
const snapshot = yield* Service39;
|
|
50
50
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
@@ -74,10 +74,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service44;
|
|
78
78
|
const bus = yield* Service80;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service39;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
83
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|