@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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./config-k3942g9h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service32
|
|
7
|
+
} from "./config-9sh4wc5j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service21,
|
|
10
|
+
node25
|
|
11
|
+
} from "./config-bgk88e04.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node23
|
|
14
|
+
} from "./config-yt1r22a2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node4
|
|
17
|
+
} from "./config-n0bqns9b.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node3
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service77;
|
|
32
|
+
const plugins = yield* Service32;
|
|
33
|
+
const worktrees = yield* Service21;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node3 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node25, node82, node23, node4]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node3, exports_refresh };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
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/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
10
10
|
__export(exports_directory, {
|
|
11
11
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
12
12
|
WorktreeDirectory: () => exports_directory,
|
|
13
|
-
canonical: () =>
|
|
13
|
+
canonical: () => canonical2
|
|
14
14
|
});
|
|
15
15
|
import { Effect, Schema } from "effect";
|
|
16
16
|
class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var canonical2 = Effect.fnUntraced(function* (fs, input) {
|
|
19
19
|
const resolved = AbsolutePath2.make(yield* fs.resolve(input));
|
|
20
20
|
if (!(yield* fs.isDir(resolved)))
|
|
21
21
|
return yield* new DirectoryUnavailableError2({ directory: input });
|
|
22
22
|
return resolved;
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export { DirectoryUnavailableError2,
|
|
25
|
+
export { DirectoryUnavailableError2, canonical2, exports_directory };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service59,
|
|
3
|
+
node64
|
|
4
|
+
} from "./config-kygx0r76.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
|
+
Service58,
|
|
11
|
+
node63
|
|
12
|
+
} from "./config-t1rx5jyv.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
@@ -36,10 +36,10 @@ import { fileURLToPath, pathToFileURL } from "url";
|
|
|
36
36
|
class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
38
|
var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
39
|
+
const config = yield* Service58;
|
|
40
|
+
const watcher = yield* Service59;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service77;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -73,7 +73,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
73
73
|
var node10 = makeLocationNode({
|
|
74
74
|
service: Service7,
|
|
75
75
|
layer: layer6,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node63, FSUtil.node, node64, node82]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
79
|
service: Service7,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-cy3hxfvf.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-s6e2pa35.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./config-k3942g9h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service77;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-4mg4d8r9.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node61
|
|
12
|
+
} from "./config-k3kxt7h3.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID7,
|
|
25
|
+
Info: () => Info11,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service56,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured9,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node60
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID7 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info11 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID7,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID7,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service56 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service56,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node86,
|
|
64
|
+
deps: [node86, node61]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service81).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info11({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service56.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID7.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node60 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID7, Info11, NotFound3, CreateConflict2, Service56, configured9, node60, exports_workspace };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service77
|
|
8
|
+
} from "./config-k3942g9h.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service55
|
|
11
|
+
} from "./config-v00ee303.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service12
|
|
14
|
+
} from "./config-sk01cyn9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service19,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-mc9c1zbf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service67
|
|
22
|
+
} from "./config-vy1eywvp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service66,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-qf1faf3j.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./config-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin34,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin34 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service55;
|
|
112
|
+
const access = yield* Service66;
|
|
113
|
+
const fileMutation = yield* Service19;
|
|
114
|
+
const formatter = yield* Service12;
|
|
115
|
+
const location = yield* Service77;
|
|
116
|
+
const permission = yield* Service67;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin37 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin34, exports_patch };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service44,
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service44 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node47 = LayerNode.unbound(Service44, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service44, node47, exports_service2 };
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
8
|
Service50,
|
|
9
9
|
node54
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-m3yhsweq.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-5cmxdwv8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service45,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node48,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service45 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
websocket: options.websocket ?? false
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
75
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
76
76
|
const resolver = yield* Service50;
|
|
77
|
-
return
|
|
77
|
+
return Service45.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node48 = makeLocationNode({ service: Service45, layer, deps: [node54] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service45, resolved2, node48, exports_model };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./config-pbdz66w6.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-5cmxdwv8.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-vmwh049b.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service39;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|