@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16,
|
|
3
|
-
|
|
3
|
+
Info31,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-5cmxdwv8.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-4mg4d8r9.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-b18f862j.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node83
|
|
21
|
+
} from "./config-zznte351.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service44,
|
|
24
|
+
node47
|
|
25
|
+
} from "./config-hwe7x4em.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./config-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node46
|
|
34
|
+
} from "./config-kypcf4qg.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./config-bha4atvq.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./config-ne3kjeyx.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node32
|
|
47
|
+
} from "./config-j8fqp1rw.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node50
|
|
51
|
+
} from "./config-pztqrn0p.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./config-vmwh049b.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service68,
|
|
68
|
+
node73
|
|
69
|
+
} from "./config-gm5wm00c.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service48,
|
|
72
|
+
node52
|
|
73
|
+
} from "./config-w2mb4z4n.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service41,
|
|
76
|
+
node45
|
|
77
|
+
} from "./config-ew7nbhn8.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./config-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service36,
|
|
83
|
+
node40
|
|
84
|
+
} from "./config-ba8mse6q.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
generate2
|
|
87
|
+
} from "./config-cn8sqj9q.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./config-0wdk316n.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service76,
|
|
93
|
+
node81
|
|
94
|
+
} from "./config-sqbvksyk.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service27,
|
|
100
|
+
node31
|
|
101
|
+
} from "./config-kd8wqpk3.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service53,
|
|
104
|
+
node57
|
|
105
|
+
} from "./config-481njsdn.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./config-ygxjh9rx.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./config-hydf4jck.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./config-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -125,20 +125,20 @@ __export(exports_session, {
|
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
126
|
ID: () => ID16,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info31,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service26,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node30
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
|
+
class Service26 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service81;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service80;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service78;
|
|
160
|
+
const execution = yield* Service41;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service36;
|
|
163
|
+
const store = yield* Service68;
|
|
164
|
+
const instances = yield* Service44;
|
|
165
|
+
const moves = yield* Service27;
|
|
166
|
+
const jobs = yield* Service48;
|
|
167
|
+
const environments = yield* Service53;
|
|
168
|
+
const locations = yield* Service76;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service26.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield*
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service81, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service44, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node30 = Node.makeGlobalNode({
|
|
330
|
+
service: Service26,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node52,
|
|
334
|
+
node57,
|
|
335
335
|
node86,
|
|
336
336
|
node85,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
337
|
+
node83,
|
|
338
|
+
node45,
|
|
339
|
+
node40,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node73,
|
|
342
|
+
node47,
|
|
343
|
+
node46,
|
|
344
|
+
node31,
|
|
345
|
+
node32,
|
|
346
|
+
node81,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node50
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2,
|
|
352
|
+
export { ListAnchor2, ListInput3, Service26, node30, exports_session };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin39,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin39 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin38 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin39, exports_opencode };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./config-j49tgg6r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./config-vy1eywvp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service24
|
|
14
|
+
} from "./config-pmzxmx7p.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin42,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin42 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service67;
|
|
53
|
+
const forms = yield* Service63;
|
|
54
|
+
const websearch = yield* Service24;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description3, Input9, Plugin42, exports_websearch2 };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service80,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-b18f862j.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options6,
|
|
30
|
+
Service: () => Service40,
|
|
31
|
+
configured: () => configured6,
|
|
32
|
+
layer: () => layer17,
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key4.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options6 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service80;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service40.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service40,
|
|
110
|
+
layer: layer17(options),
|
|
111
111
|
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node44 = configured6();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event8, Options6, Service40, layer17, configured6, node44, exports_instruction_discovery };
|