@opencode/core 0.0.0-dev-398 → 0.0.0-dev-406
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +228 -228
- package/dist/bus.js +84 -84
- package/dist/chunks/{repository-1vnt2h24.js → snapshot-02pjpvcc.js} +22 -22
- package/dist/chunks/{repository-7qt7d24k.js → snapshot-03fwz5er.js} +1 -1
- package/dist/chunks/{repository-963hk181.js → snapshot-0b5y8qrs.js} +9 -9
- package/dist/chunks/{repository-0j7gp832.js → snapshot-0j7gp832.js} +1 -1
- package/dist/chunks/{repository-a5hf8tf4.js → snapshot-0qq0cfxe.js} +13 -13
- package/dist/chunks/{repository-4zeh2781.js → snapshot-0wv27kca.js} +20 -20
- package/dist/chunks/{repository-wy9m61br.js → snapshot-0wxjpx7n.js} +9 -9
- package/dist/chunks/{repository-6aekme1e.js → snapshot-0xemvfzd.js} +5 -5
- package/dist/chunks/{repository-cqx1a29r.js → snapshot-144w1kcn.js} +15 -15
- package/dist/chunks/{repository-p212j8y1.js → snapshot-15q0jnpn.js} +15 -15
- package/dist/chunks/{repository-1aqsckx4.js → snapshot-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-g1jn7dpj.js → snapshot-1tsym9r0.js} +6 -6
- package/dist/chunks/{repository-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-6q8jj3zs.js → snapshot-1xb40zjp.js} +2 -2
- package/dist/chunks/{repository-xj1s8g0g.js → snapshot-217173sj.js} +14 -14
- package/dist/chunks/{repository-kd06wgjj.js → snapshot-24t7kb5m.js} +22 -22
- package/dist/chunks/{repository-1ep2p91f.js → snapshot-27w5k9zf.js} +2 -2
- package/dist/chunks/{repository-03h4ymk6.js → snapshot-28xy2ctr.js} +6 -6
- package/dist/chunks/{repository-bt7vp3wg.js → snapshot-2ddytw2t.js} +7 -7
- package/dist/chunks/{repository-v0t96s7a.js → snapshot-2kg89srt.js} +4 -4
- package/dist/chunks/{repository-nbh8p6ww.js → snapshot-2ntb1qqa.js} +31 -31
- package/dist/chunks/{repository-38yzze0k.js → snapshot-2yn6vtvg.js} +12 -12
- package/dist/chunks/{repository-1zy208v1.js → snapshot-391njdbe.js} +10 -10
- package/dist/chunks/{repository-ayjs7tqn.js → snapshot-3cbjf1nt.js} +2 -2
- package/dist/chunks/{repository-est5w5t7.js → snapshot-3eawpy06.js} +4 -4
- package/dist/chunks/{repository-dwrmbyqf.js → snapshot-3h1j3pqr.js} +4 -4
- package/dist/chunks/{repository-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-6j8sp8g6.js → snapshot-3qsavvjy.js} +53 -52
- package/dist/chunks/{repository-vsx6z3ef.js → snapshot-3y2j65wz.js} +24 -24
- package/dist/chunks/{repository-40y6dtc2.js → snapshot-40y6dtc2.js} +1 -1
- package/dist/chunks/{repository-mq45sd29.js → snapshot-43z3jsav.js} +25 -25
- package/dist/chunks/{repository-q315ntxc.js → snapshot-49pkreda.js} +5 -5
- package/dist/chunks/{repository-egsrr66v.js → snapshot-4a5wkxfx.js} +12 -12
- package/dist/chunks/{repository-8cg7mtm3.js → snapshot-4d2dtj2f.js} +4 -4
- package/dist/chunks/{repository-4dx1dgte.js → snapshot-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-tcb8d6wv.js → snapshot-4ef5qeve.js} +14 -14
- package/dist/chunks/{repository-nvh9azrc.js → snapshot-4gt7vjcc.js} +11 -11
- package/dist/chunks/{repository-7vk054hd.js → snapshot-4hbra4ea.js} +12 -12
- package/dist/chunks/{repository-4pyp9zr9.js → snapshot-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-msd2a3qm.js → snapshot-4tnarq1t.js} +6 -6
- package/dist/chunks/{repository-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-h4z7h7ag.js → snapshot-54g0t3c6.js} +8 -8
- package/dist/chunks/{repository-j6k5nchf.js → snapshot-57406pnf.js} +3 -3
- package/dist/chunks/{repository-a0d132hd.js → snapshot-5am0py7h.js} +14 -14
- package/dist/chunks/{repository-q58ddcyg.js → snapshot-5aqpsnry.js} +18 -18
- package/dist/chunks/{repository-pbdkmj6p.js → snapshot-5gfbt72n.js} +17 -17
- package/dist/chunks/{repository-00qfdy27.js → snapshot-5j7wrwn4.js} +22 -22
- package/dist/chunks/{repository-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-jqgqc1vf.js → snapshot-5rrdarpr.js} +36 -36
- package/dist/chunks/{repository-1yq9hg58.js → snapshot-5zrxpy3q.js} +5 -5
- package/dist/chunks/{repository-12vj2b1h.js → snapshot-64ns21at.js} +19 -19
- package/dist/chunks/{repository-k207nqnc.js → snapshot-66dcgqg3.js} +17 -17
- package/dist/chunks/{repository-n0026tak.js → snapshot-6bd2t8jb.js} +6 -6
- package/dist/chunks/{repository-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-zfvn3r5d.js → snapshot-6n35w1y6.js} +35 -35
- package/dist/chunks/{repository-2pc2x7h5.js → snapshot-6ntvk8pg.js} +41 -41
- package/dist/chunks/{repository-ygkrqd61.js → snapshot-6qaah0h2.js} +19 -19
- package/dist/chunks/{repository-pjnewz4h.js → snapshot-6rbk612b.js} +35 -35
- package/dist/chunks/{repository-6gzr7cf8.js → snapshot-72e1zqdg.js} +33 -33
- package/dist/chunks/{repository-hva0766z.js → snapshot-764z6aen.js} +46 -46
- package/dist/chunks/{repository-76cb1hcw.js → snapshot-76cb1hcw.js} +1 -1
- package/dist/chunks/{repository-75t7768k.js → snapshot-76hrpvbm.js} +18 -18
- package/dist/chunks/{repository-80mg3ag8.js → snapshot-775hqbnd.js} +3 -3
- package/dist/chunks/{repository-3rnx49f9.js → snapshot-7a52j6g5.js} +2 -2
- package/dist/chunks/{repository-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-3xx0nvzn.js → snapshot-7crxwvgp.js} +5 -5
- package/dist/chunks/{repository-4wzs20xx.js → snapshot-7jj2xggg.js} +3 -3
- package/dist/chunks/{repository-7kr66rt3.js → snapshot-7kr66rt3.js} +1 -1
- package/dist/chunks/{repository-9ed90ky0.js → snapshot-7mnx815n.js} +32 -32
- package/dist/chunks/{repository-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-r7tfzb8e.js → snapshot-7xynjv4x.js} +10 -10
- package/dist/chunks/{repository-cfq471k7.js → snapshot-88vdkk0b.js} +46 -41
- package/dist/chunks/{repository-89287pr7.js → snapshot-89287pr7.js} +1 -1
- package/dist/chunks/{repository-2fgrey3x.js → snapshot-8983s98m.js} +11 -11
- package/dist/chunks/{repository-8b3vzgkx.js → snapshot-8b3vzgkx.js} +1 -1
- package/dist/chunks/{repository-mjvy5yzf.js → snapshot-8df8n1ms.js} +49 -49
- package/dist/chunks/{repository-vpdytt8w.js → snapshot-8dqwm1r1.js} +5 -5
- package/dist/chunks/{repository-qk5sk9d1.js → snapshot-8hfctyyf.js} +5 -5
- package/dist/chunks/{repository-12w3gwbs.js → snapshot-8p00n8d3.js} +9 -9
- package/dist/chunks/{repository-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-5rp489bd.js → snapshot-8y8fys6m.js} +11 -11
- package/dist/chunks/{repository-mb7mbhnz.js → snapshot-8z6m94af.js} +3 -3
- package/dist/chunks/{repository-90zstvax.js → snapshot-90zstvax.js} +1 -1
- package/dist/chunks/{repository-gmqag8rw.js → snapshot-9127f48c.js} +3 -3
- package/dist/chunks/{repository-4wg58wk0.js → snapshot-9bwe9f45.js} +13 -13
- package/dist/chunks/{repository-d5v2xrz0.js → snapshot-9czkngpf.js} +8 -8
- package/dist/chunks/{repository-w7qzbdzf.js → snapshot-9jgte3wq.js} +22 -22
- package/dist/chunks/{repository-e7pmcp40.js → snapshot-9mc87n3m.js} +11 -11
- package/dist/chunks/{repository-jhq8j8y9.js → snapshot-9qgv7bsk.js} +11 -11
- package/dist/chunks/{repository-hppgwy0r.js → snapshot-9sgvr357.js} +189 -189
- package/dist/chunks/{repository-dv96216k.js → snapshot-9sy1j1hj.js} +4 -4
- package/dist/chunks/{repository-2kkw9hyz.js → snapshot-9tcj7sqc.js} +6 -6
- package/dist/chunks/{repository-csmjcn1q.js → snapshot-9w4n5h69.js} +14 -14
- package/dist/chunks/{repository-jjv3ebv6.js → snapshot-9w8mvdp6.js} +7 -7
- package/dist/chunks/{repository-wn6m9687.js → snapshot-9z7x29xy.js} +23 -23
- package/dist/chunks/{repository-dg3tysff.js → snapshot-a0setetn.js} +7 -7
- package/dist/chunks/{repository-7nqkf5r1.js → snapshot-a5fx33f2.js} +6 -6
- package/dist/chunks/{repository-7xt82jmj.js → snapshot-a66m6j8q.js} +21 -21
- package/dist/chunks/{repository-2p60zmnr.js → snapshot-ad21tgm2.js} +4 -4
- package/dist/chunks/{repository-034tev2y.js → snapshot-aj7mw0zk.js} +2 -2
- package/dist/chunks/{repository-5sph470p.js → snapshot-aqn77ae6.js} +9 -9
- package/dist/chunks/{repository-80j5eryf.js → snapshot-arb4tpet.js} +19 -19
- package/dist/chunks/{repository-werwhw8f.js → snapshot-aw51rh2p.js} +338 -338
- package/dist/chunks/{repository-hfdx7xtc.js → snapshot-azw5c8v4.js} +23 -23
- package/dist/chunks/snapshot-b1ybw7j9.js +261 -0
- package/dist/chunks/{repository-b6vsg801.js → snapshot-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-3cj3n7a2.js → snapshot-b7mww9pr.js} +17 -17
- package/dist/chunks/{repository-sdn2zcx3.js → snapshot-b8s66ae1.js} +2 -2
- package/dist/chunks/{repository-vw0zhxcn.js → snapshot-b92vky8a.js} +15 -15
- package/dist/chunks/{repository-fbaygqc2.js → snapshot-bbebv08a.js} +21 -21
- package/dist/chunks/{repository-mpd288r4.js → snapshot-bfr65paq.js} +26 -26
- package/dist/chunks/{repository-j7vcdfrp.js → snapshot-bg8bpnpp.js} +9 -9
- package/dist/chunks/{repository-qb2784ew.js → snapshot-bgrjzcye.js} +23 -23
- package/dist/chunks/{repository-yts2a8qm.js → snapshot-brv6mkyx.js} +4 -4
- package/dist/chunks/{repository-0160n4e9.js → snapshot-bzz3gsn2.js} +6 -6
- package/dist/chunks/{repository-m6cfdtf3.js → snapshot-c7gk57p6.js} +4 -4
- package/dist/chunks/{repository-ankbfx9c.js → snapshot-ca7jq2yv.js} +23 -23
- package/dist/chunks/{repository-mvg5jam3.js → snapshot-cbmqssdp.js} +31 -31
- package/dist/chunks/{repository-nf6qbft0.js → snapshot-ccmmjrk6.js} +32 -32
- package/dist/chunks/{repository-4fs1ttzm.js → snapshot-ce0h6m0g.js} +38 -38
- package/dist/chunks/{repository-zftnqq30.js → snapshot-cmwhqz3w.js} +25 -25
- package/dist/chunks/{repository-hg8tt10n.js → snapshot-cnngkgcm.js} +50 -50
- package/dist/chunks/{repository-qqg9c0kv.js → snapshot-cpvd08na.js} +4 -4
- package/dist/chunks/{repository-7d4wtrr4.js → snapshot-crrarh49.js} +18 -18
- package/dist/chunks/{repository-cwrgdav8.js → snapshot-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-ww2p0375.js → snapshot-czc3e01s.js} +6 -6
- package/dist/chunks/{repository-5rsxnmrp.js → snapshot-d2n7sc2r.js} +10 -10
- package/dist/chunks/{repository-wh1wjwqr.js → snapshot-d2pqqz8b.js} +9 -9
- package/dist/chunks/{repository-kdtfz1k3.js → snapshot-d8knw3fb.js} +27 -27
- package/dist/chunks/{repository-ak9xvm0n.js → snapshot-d8zqcy3b.js} +11 -11
- package/dist/chunks/{repository-8jw5dp9j.js → snapshot-dbccrw1t.js} +6 -6
- package/dist/chunks/{repository-t7q1s4jf.js → snapshot-dbjeh9px.js} +38 -38
- package/dist/chunks/{repository-dt77769w.js → snapshot-dt77769w.js} +1 -1
- package/dist/chunks/{repository-g4f6ps2a.js → snapshot-e63f5s33.js} +9 -9
- package/dist/chunks/{repository-an7p6n0m.js → snapshot-e7cst251.js} +18 -18
- package/dist/chunks/{repository-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{repository-zdat2xwq.js → snapshot-e8pm465n.js} +4 -4
- package/dist/chunks/{repository-m6erdz7g.js → snapshot-ekzwxv5p.js} +25 -25
- package/dist/chunks/{repository-t9kr4kfh.js → snapshot-eng2ayvz.js} +11 -11
- package/dist/chunks/{repository-scmk72rv.js → snapshot-ensv1rzq.js} +5 -5
- package/dist/chunks/{repository-eqw4pqj1.js → snapshot-eqw4pqj1.js} +2 -2
- package/dist/chunks/{repository-3gfpnfqk.js → snapshot-f320ktkw.js} +4 -4
- package/dist/chunks/{repository-b4z90bz3.js → snapshot-f4r5gceq.js} +31 -31
- package/dist/chunks/{repository-17f8cxnn.js → snapshot-fb644pb3.js} +15 -15
- package/dist/chunks/{repository-7mefzhmg.js → snapshot-fdktr6m7.js} +9 -9
- package/dist/chunks/{repository-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-yv39fqry.js → snapshot-ffqhsvv1.js} +9 -9
- package/dist/chunks/{repository-prq7xxp2.js → snapshot-fg9p65nk.js} +6 -6
- package/dist/chunks/{repository-h78gmwm8.js → snapshot-fk98tnh1.js} +7 -7
- package/dist/chunks/{repository-dqddngz4.js → snapshot-fpgj4thp.js} +12 -12
- package/dist/chunks/{repository-9e28vbjj.js → snapshot-fpncdj63.js} +31 -31
- package/dist/chunks/{repository-rh83epcf.js → snapshot-fs2yy8fv.js} +38 -38
- package/dist/chunks/{repository-vcrsdn8r.js → snapshot-fzmq5f01.js} +14 -14
- package/dist/chunks/{repository-ecrcxjkp.js → snapshot-g1a6h9mr.js} +50 -17
- package/dist/chunks/{repository-gbjdnr5j.js → snapshot-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-ky55b5b1.js → snapshot-ghjeb6j8.js} +4 -4
- package/dist/chunks/{repository-wexf2k6a.js → snapshot-gks4v33p.js} +9 -9
- package/dist/chunks/{repository-1ww1rpnf.js → snapshot-gn7v9w64.js} +59 -59
- package/dist/chunks/{repository-d4v9tmah.js → snapshot-gn8tkhbf.js} +2 -2
- package/dist/chunks/{repository-gbkyg869.js → snapshot-gv14mq9b.js} +44 -44
- package/dist/chunks/{repository-bnzx9dwt.js → snapshot-h1n0qg42.js} +5 -5
- package/dist/chunks/{repository-fb1sejwy.js → snapshot-h3fvexnt.js} +20 -20
- package/dist/chunks/{repository-f341sazs.js → snapshot-h5chy42v.js} +3 -3
- package/dist/chunks/{repository-ex7m7qe1.js → snapshot-h5gw1mv8.js} +8 -8
- package/dist/chunks/{repository-xrhq19gq.js → snapshot-hcvc4jwb.js} +4 -4
- package/dist/chunks/{repository-smhhrjeq.js → snapshot-hdc6d0py.js} +24 -24
- package/dist/chunks/{repository-hh7kjqtw.js → snapshot-hh7kjqtw.js} +1 -1
- package/dist/chunks/{repository-dpraxfyb.js → snapshot-hkcr01zq.js} +8 -8
- package/dist/chunks/{repository-hpg1pkwy.js → snapshot-hpg1pkwy.js} +1 -1
- package/dist/chunks/{repository-7389kptq.js → snapshot-hvx6apmw.js} +6 -6
- package/dist/chunks/{repository-fhahebde.js → snapshot-hw1br2bp.js} +4 -4
- package/dist/chunks/{repository-wsfx1sg6.js → snapshot-j2zn6t4x.js} +13 -13
- package/dist/chunks/{repository-sa4ztjn1.js → snapshot-j39ggc5n.js} +5 -5
- package/dist/chunks/{repository-ze75qvmd.js → snapshot-j9nxzz3g.js} +3 -3
- package/dist/chunks/{repository-00r8q0yt.js → snapshot-jbca55a3.js} +38 -38
- package/dist/chunks/{repository-akc4t9gv.js → snapshot-jgqb6z2d.js} +32 -32
- package/dist/chunks/{repository-tr8x705m.js → snapshot-jht64jd1.js} +4 -4
- package/dist/chunks/{repository-qm58qbvp.js → snapshot-jp5rjajp.js} +12 -12
- package/dist/chunks/{repository-zqbtnvm2.js → snapshot-jrwngcde.js} +24 -24
- package/dist/chunks/{repository-jtnps1zs.js → snapshot-jtnps1zs.js} +2 -2
- package/dist/chunks/{repository-eqktjn3r.js → snapshot-jvn25kqv.js} +7 -7
- package/dist/chunks/{repository-xa91xadg.js → snapshot-k2fagca9.js} +11 -11
- package/dist/chunks/{repository-n7bnkb3p.js → snapshot-k302pdnh.js} +9 -9
- package/dist/chunks/{repository-zfv1ake6.js → snapshot-k3bbsj40.js} +23 -23
- package/dist/chunks/{repository-8vm714rn.js → snapshot-k4nxjnv1.js} +35 -35
- package/dist/chunks/{repository-pgj56wr2.js → snapshot-k5kzvttb.js} +17 -17
- package/dist/chunks/{repository-qwrwand2.js → snapshot-khkhkr0h.js} +40 -40
- package/dist/chunks/{repository-687hq225.js → snapshot-kk5zaac5.js} +49 -49
- package/dist/chunks/{repository-7g7rhba8.js → snapshot-krng6xfc.js} +12 -12
- package/dist/chunks/{repository-zad8kfsb.js → snapshot-ksmemvx8.js} +31 -31
- package/dist/chunks/{repository-kt3bjfbg.js → snapshot-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-8p90nvs2.js → snapshot-kv676bpb.js} +19 -19
- package/dist/chunks/{repository-79scnwzb.js → snapshot-kwe1szpf.js} +10 -10
- package/dist/chunks/{repository-kzczzf4v.js → snapshot-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-gmemj5zs.js → snapshot-kze6nzna.js} +7 -7
- package/dist/chunks/{repository-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{repository-zw2cn8hf.js → snapshot-m23y4wv7.js} +5 -5
- package/dist/chunks/{repository-s8tccdec.js → snapshot-m3twmbkf.js} +4 -4
- package/dist/chunks/{repository-m2c0tfws.js → snapshot-m56nf5sd.js} +29 -29
- package/dist/chunks/{repository-3d3pvmxz.js → snapshot-m80jg20d.js} +12 -12
- package/dist/chunks/{repository-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-0qn50e8a.js → snapshot-mqz8gh7e.js} +11 -11
- package/dist/chunks/{repository-zrmnbdg0.js → snapshot-mw9tbtkt.js} +25 -25
- package/dist/chunks/{repository-evxxbf4w.js → snapshot-myy6psmc.js} +25 -25
- package/dist/chunks/{repository-s6h2s3rz.js → snapshot-mzm8bzzq.js} +4 -4
- package/dist/chunks/{repository-4ez1xyss.js → snapshot-n07gvy4d.js} +27 -27
- package/dist/chunks/{repository-szwm4crx.js → snapshot-n4z1q12f.js} +7 -7
- package/dist/chunks/{repository-nah043kf.js → snapshot-nah043kf.js} +1 -1
- package/dist/chunks/{repository-rk9mn8f7.js → snapshot-nbavfan3.js} +23 -23
- package/dist/chunks/{repository-b2ht1kmm.js → snapshot-nbk34sar.js} +13 -13
- package/dist/chunks/{repository-kf43d1eq.js → snapshot-nn715xat.js} +22 -22
- package/dist/chunks/{repository-v2gedntn.js → snapshot-npk9jhsr.js} +9 -9
- package/dist/chunks/{repository-a59kc8m4.js → snapshot-nqeb8098.js} +10 -10
- package/dist/chunks/{repository-wegkxhrn.js → snapshot-nx4vzyjd.js} +2 -2
- package/dist/chunks/{repository-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-mtbbaj7x.js → snapshot-p3d81k55.js} +6 -6
- package/dist/chunks/{repository-cxpktaf3.js → snapshot-p65z3q1b.js} +5 -5
- package/dist/chunks/{repository-pahg8g4d.js → snapshot-pahg8g4d.js} +2 -2
- package/dist/chunks/{repository-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{repository-n1yy3t2x.js → snapshot-pqk3d334.js} +66 -66
- package/dist/chunks/{repository-yara3q77.js → snapshot-pxtfkpje.js} +2 -2
- package/dist/chunks/{repository-epxyk7zg.js → snapshot-py04xzas.js} +15 -15
- package/dist/chunks/{repository-43ax85f5.js → snapshot-pz4gw6rp.js} +11 -11
- package/dist/chunks/{repository-bv5k4tct.js → snapshot-pz6y4r6z.js} +21 -21
- package/dist/chunks/{repository-2t113hd6.js → snapshot-q08ag60j.js} +8 -8
- package/dist/chunks/{repository-nbvp3f9m.js → snapshot-q1axkn86.js} +26 -26
- package/dist/chunks/{repository-vaaw7kac.js → snapshot-q1b59kmw.js} +55 -55
- package/dist/chunks/{repository-xp4s1g3x.js → snapshot-q1x1cyeb.js} +23 -23
- package/dist/chunks/{repository-n5c9sy2r.js → snapshot-q1zdytxe.js} +22 -22
- package/dist/chunks/{repository-y52vf7zr.js → snapshot-q6cjan6r.js} +33 -33
- package/dist/chunks/{repository-2gw36y1w.js → snapshot-q7ayekhv.js} +16 -16
- package/dist/chunks/{repository-v8bad55c.js → snapshot-qcxm7cn9.js} +15 -15
- package/dist/chunks/{repository-5zsangy9.js → snapshot-qdb09wh4.js} +29 -29
- package/dist/chunks/{repository-a3a17e1e.js → snapshot-qh4ryqzt.js} +32 -32
- package/dist/chunks/{repository-x7de2wha.js → snapshot-qh5g3qaw.js} +9 -9
- package/dist/chunks/{repository-qw2t3dzn.js → snapshot-qnqasnye.js} +6 -6
- package/dist/chunks/{repository-qp7r0hxv.js → snapshot-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-qqvy8y24.js → snapshot-qqvy8y24.js} +1 -1
- package/dist/chunks/{repository-k3cx6fhe.js → snapshot-qsdghx1p.js} +4 -4
- package/dist/chunks/{repository-5e13b2kr.js → snapshot-qtdx8d81.js} +3 -3
- package/dist/chunks/{repository-07nbfc86.js → snapshot-qwch7fht.js} +3 -3
- package/dist/chunks/{repository-8t99kr38.js → snapshot-r17fbvme.js} +4 -4
- package/dist/chunks/{repository-4f25tdd0.js → snapshot-r542h3bh.js} +5 -5
- package/dist/chunks/{repository-715ez6py.js → snapshot-r6b2fg3b.js} +30 -30
- package/dist/chunks/{repository-xv0kd9hc.js → snapshot-r9a93xxj.js} +16 -16
- package/dist/chunks/{repository-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-p76me67c.js → snapshot-rbg54dp1.js} +4 -4
- package/dist/chunks/{repository-re3hbd1p.js → snapshot-rd795hfg.js} +8 -8
- package/dist/chunks/{repository-bz9e4xwq.js → snapshot-rgcc3cfq.js} +36 -36
- package/dist/chunks/{repository-6j0xgcj1.js → snapshot-rhnm5xgc.js} +5 -5
- package/dist/chunks/{repository-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-53qrs49z.js → snapshot-ry7kp2db.js} +8 -8
- package/dist/chunks/{repository-vd9yn8w3.js → snapshot-s0339vy1.js} +21 -21
- package/dist/chunks/{repository-bhfd478d.js → snapshot-s26c8eb5.js} +4 -4
- package/dist/chunks/{repository-fcwk9vhw.js → snapshot-s3qzsam1.js} +17 -17
- package/dist/chunks/{repository-86ng5cw0.js → snapshot-s4tvz5ga.js} +8 -8
- package/dist/chunks/{repository-sa3fpqfw.js → snapshot-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-sbya78hr.js → snapshot-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-g5ajqn12.js → snapshot-sf9y72b7.js} +4 -4
- package/dist/chunks/{repository-t2ce5xch.js → snapshot-sqfs65x3.js} +11 -11
- package/dist/chunks/{repository-0anx5598.js → snapshot-srt1m9k4.js} +23 -23
- package/dist/chunks/{repository-svcy3p9a.js → snapshot-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-d1bq990r.js → snapshot-t04neh10.js} +6 -6
- package/dist/chunks/{repository-4sd5nkp5.js → snapshot-tcqtbtmg.js} +25 -25
- package/dist/chunks/{repository-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-4bh8py8c.js → snapshot-tdmkjf55.js} +5 -5
- package/dist/chunks/{repository-tg7s7b5t.js → snapshot-tg7s7b5t.js} +1 -1
- package/dist/chunks/{repository-tay525vg.js → snapshot-tjjte1kj.js} +12 -12
- package/dist/chunks/{repository-d6hk4npf.js → snapshot-tk9tp9b8.js} +72 -72
- package/dist/chunks/{repository-xdjqbh1q.js → snapshot-tm8vreea.js} +18 -18
- package/dist/chunks/{repository-hw621kav.js → snapshot-tqx9c315.js} +8 -8
- package/dist/chunks/{repository-43517qt4.js → snapshot-tv5hrea3.js} +17 -17
- package/dist/chunks/{repository-44pmzq9c.js → snapshot-twhtcdx9.js} +4 -4
- package/dist/chunks/{repository-twssxy5n.js → snapshot-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-1f75kze0.js → snapshot-ty85z9e6.js} +25 -25
- package/dist/chunks/{repository-mx6f7k3w.js → snapshot-tzsb0n23.js} +32 -32
- package/dist/chunks/{repository-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-b73pa457.js → snapshot-v3vff7q4.js} +11 -11
- package/dist/chunks/{repository-31avdb49.js → snapshot-v87xr3h5.js} +8 -8
- package/dist/chunks/{repository-yjjyz0e3.js → snapshot-vg0erq9k.js} +3 -3
- package/dist/chunks/{repository-vjf35v1f.js → snapshot-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-kj9n5bvh.js → snapshot-vmqe41cb.js} +4 -4
- package/dist/chunks/{repository-a3tva24r.js → snapshot-vn788nw7.js} +20 -20
- package/dist/chunks/{repository-229tvxdn.js → snapshot-vt2d6wap.js} +4 -4
- package/dist/chunks/{repository-9myj1rt3.js → snapshot-vwrhe80m.js} +2 -2
- package/dist/chunks/{repository-ad10dq2h.js → snapshot-vy5wcvef.js} +21 -21
- package/dist/chunks/{repository-fsevz08s.js → snapshot-vypy9v5p.js} +24 -24
- package/dist/chunks/{repository-w2eysc6j.js → snapshot-w2eysc6j.js} +2 -2
- package/dist/chunks/{repository-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-pa3fs051.js → snapshot-w7xpfg5t.js} +9 -9
- package/dist/chunks/{repository-dmakv3jz.js → snapshot-w9zdnvcm.js} +4 -4
- package/dist/chunks/{repository-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{repository-163d9n7a.js → snapshot-wdt1pfv0.js} +16 -16
- package/dist/chunks/{repository-wnhgecwx.js → snapshot-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-42yrh4ar.js → snapshot-wp5hx8hm.js} +31 -31
- package/dist/chunks/{repository-w687dnns.js → snapshot-wr3re1en.js} +4 -4
- package/dist/chunks/{repository-gfy59a16.js → snapshot-wrsbktar.js} +87 -24
- package/dist/chunks/{repository-w52d91kq.js → snapshot-wsqgzygg.js} +12 -12
- package/dist/chunks/{repository-wvr8xscb.js → snapshot-wvr8xscb.js} +1 -1
- package/dist/chunks/{repository-vx6zbweh.js → snapshot-x3h3rbw3.js} +45 -45
- package/dist/chunks/{repository-73mp86fw.js → snapshot-x59f2yvh.js} +10 -10
- package/dist/chunks/{repository-ce5fknq2.js → snapshot-x6pyv2yz.js} +5 -5
- package/dist/chunks/{repository-axtwz132.js → snapshot-x7ps9kt0.js} +4 -4
- package/dist/chunks/{repository-xd9cc171.js → snapshot-xd9cc171.js} +1 -1
- package/dist/chunks/{repository-3jf1xmra.js → snapshot-xdf7jne0.js} +28 -28
- package/dist/chunks/{repository-rw8wdfk3.js → snapshot-xf2hqg8j.js} +13 -13
- package/dist/chunks/{repository-zswszhjj.js → snapshot-xf4axmd8.js} +28 -28
- package/dist/chunks/{repository-20cae54x.js → snapshot-xfa541me.js} +9 -9
- package/dist/chunks/{repository-1mnq2rn5.js → snapshot-y0svfq6r.js} +2 -2
- package/dist/chunks/{repository-tpx7g6md.js → snapshot-y1gqpbdj.js} +11 -11
- package/dist/chunks/{repository-ac1j90m4.js → snapshot-y654kny2.js} +19 -19
- package/dist/chunks/{repository-fbjqxkhq.js → snapshot-y7rptanb.js} +8 -8
- package/dist/chunks/{repository-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-67xca3db.js → snapshot-yb9wrz09.js} +7 -7
- package/dist/chunks/{repository-a1qwck5h.js → snapshot-yngvyh0w.js} +8 -8
- package/dist/chunks/{repository-vekvn0ce.js → snapshot-ypc712j2.js} +72 -72
- package/dist/chunks/{repository-q52p8ber.js → snapshot-yq5ghs0e.js} +5 -5
- package/dist/chunks/{repository-yr705xyq.js → snapshot-yr705xyq.js} +1 -1
- package/dist/chunks/snapshot-z355x5yr.js +18 -0
- package/dist/chunks/{repository-6gyvhx5a.js → snapshot-z3jankv6.js} +12 -12
- package/dist/chunks/{repository-53rrm9sf.js → snapshot-z97e618c.js} +10 -10
- package/dist/chunks/{repository-1xpbhcsv.js → snapshot-z9wqjq9s.js} +35 -35
- package/dist/chunks/{repository-x4edsjm2.js → snapshot-zc7q3mjw.js} +47 -47
- package/dist/chunks/{repository-bkycdrpd.js → snapshot-zgszavk2.js} +64 -31
- package/dist/chunks/{repository-cn9xv7mh.js → snapshot-zm2w3v8r.js} +12 -12
- package/dist/chunks/{repository-qaxfcnsv.js → snapshot-zm9m67ms.js} +11 -11
- package/dist/chunks/{repository-43t800eb.js → snapshot-zpz7wh08.js} +7 -7
- package/dist/chunks/{repository-v5da91pb.js → snapshot-ztw8cfxm.js} +20 -20
- package/dist/chunks/{repository-57q76zcw.js → snapshot-zw1dtt9r.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +130 -130
- package/dist/config/plugin/command.js +229 -229
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +137 -137
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +130 -130
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +428 -428
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +106 -106
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +109 -109
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +419 -419
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +175 -175
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +416 -416
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -151
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +113 -113
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +395 -395
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +130 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +111 -111
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +106 -106
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +108 -108
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +105 -105
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +210 -210
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -407
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +245 -245
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +249 -249
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +194 -194
- package/dist/session/diff.js +101 -101
- 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 +239 -239
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +164 -164
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +161 -161
- package/dist/session/projector.js +141 -141
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +235 -235
- package/dist/session/usage.js +3 -3
- package/dist/session.js +227 -227
- 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 +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +147 -147
- package/dist/skill.js +158 -158
- package/dist/snapshot.js +106 -106
- 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 +176 -176
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +158 -158
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +166 -166
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/types/permission.d.ts +2 -0
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- 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/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/repository-ev660z6k.js +0 -18
- package/dist/chunks/repository-s251z23y.js +0 -261
- /package/dist/chunks/{repository-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kah00gy.js → snapshot-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-1pevy3nx.js → snapshot-1pevy3nx.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4qk9sjk2.js → snapshot-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5w3e23ze.js → snapshot-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-6agm2x70.js → snapshot-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-7stb81gk.js → snapshot-7stb81gk.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-beh6qq61.js → snapshot-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ean2d8b5.js → snapshot-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fkpq3x5p.js → snapshot-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jwr30sdr.js → snapshot-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-nh4v3znn.js → snapshot-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-p71gwv9c.js → snapshot-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-t03h4f5z.js → snapshot-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-ty7weeps.js → snapshot-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-vtarvj67.js → snapshot-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-nqeb8098.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./snapshot-krng6xfc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID22,
|
|
9
|
+
Event21,
|
|
10
|
+
Service84
|
|
11
|
+
} from "./snapshot-2ntb1qqa.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-mzm8bzzq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID20,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-cbmqssdp.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID17,
|
|
24
|
+
Service79
|
|
25
|
+
} from "./snapshot-q6cjan6r.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID16
|
|
28
|
+
} from "./snapshot-6rbk612b.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-28xy2ctr.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make17(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID17.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service85;
|
|
76
|
+
const credentials = yield* Service84;
|
|
77
|
+
const providers = yield* Service79;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make14(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID17.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID17.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make14(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID17.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make14(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make14(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID17.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make14(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID17.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID17.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make14(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID17.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID17.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make14(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID17.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make14(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID17.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make14(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID17.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID17.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(
|
|
283
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID20.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make14(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID17.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make14(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID17.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID17.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make14(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID17.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make17();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID16.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID16.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make17, AzurePlugin2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./snapshot-k5kzvttb.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service23
|
|
12
|
+
} from "./snapshot-ekzwxv5p.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service5
|
|
15
|
+
} from "./snapshot-24t7kb5m.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service37
|
|
26
|
+
} from "./snapshot-qcxm7cn9.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input11,
|
|
35
|
+
Plugin: () => Plugin15,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name11,
|
|
38
|
+
toModelContent: () => toModelContent4
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name11 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input11 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin15 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service37;
|
|
61
|
+
const access = yield* Service23;
|
|
62
|
+
const sessionInstructions = yield* Service5;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service80;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name11,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input11,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin14 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -128,12 +128,45 @@ var Plugin14 = {
|
|
|
128
128
|
return;
|
|
129
129
|
return join(dirname(absolute), matches[0].name);
|
|
130
130
|
});
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
const
|
|
131
|
+
const listing = (path) => reader.list(AbsolutePath2.make(path)).pipe(Effect.map((entries) => ({ type: "found", names: entries.map((entry) => entry.name) })), Effect.catchTag("Environment.NotFound", () => Effect.succeed({ type: "missing" })), Effect.orElseSucceed(() => ({ type: "unknown" })));
|
|
132
|
+
const similar = (names, name) => {
|
|
133
|
+
const base = name.toLowerCase();
|
|
134
|
+
return names.filter((entry) => {
|
|
134
135
|
const candidate = entry.toLowerCase();
|
|
135
136
|
return candidate.includes(base) || base.includes(candidate);
|
|
136
|
-
}).
|
|
137
|
+
}).slice(0, 3);
|
|
138
|
+
};
|
|
139
|
+
const missingFolder = Effect.fn("ReadTool.missingFolder")(function* (input, folder) {
|
|
140
|
+
let child = folder;
|
|
141
|
+
let parent = dirname(folder);
|
|
142
|
+
while (parent !== child) {
|
|
143
|
+
const found = yield* listing(parent);
|
|
144
|
+
if (found.type === "unknown")
|
|
145
|
+
break;
|
|
146
|
+
if (found.type === "found") {
|
|
147
|
+
const suggestions = similar(found.names, basename(child)).map((entry) => join(parent, entry));
|
|
148
|
+
const message = [
|
|
149
|
+
`File not found: ${input}`,
|
|
150
|
+
`The folder ${child} does not exist. The nearest folder that does is ${parent}.`,
|
|
151
|
+
...suggestions.length === 0 ? [] : [`Did you mean one of these?
|
|
152
|
+
${suggestions.join(`
|
|
153
|
+
`)}`]
|
|
154
|
+
].join(`
|
|
155
|
+
|
|
156
|
+
`);
|
|
157
|
+
return yield* new ToolFailure({ message });
|
|
158
|
+
}
|
|
159
|
+
child = parent;
|
|
160
|
+
parent = dirname(parent);
|
|
161
|
+
}
|
|
162
|
+
return yield* new ToolFailure({ message: `File not found: ${input}` });
|
|
163
|
+
});
|
|
164
|
+
const missing = Effect.fn("ReadTool.missing")(function* (input, absolute) {
|
|
165
|
+
const folder = dirname(absolute);
|
|
166
|
+
const found = yield* listing(folder);
|
|
167
|
+
if (found.type === "missing")
|
|
168
|
+
return yield* missingFolder(input, folder);
|
|
169
|
+
const suggestions = found.type === "found" ? similar(found.names, basename(input)).map((entry) => join(dirname(input), entry)) : [];
|
|
137
170
|
const message = suggestions.length === 0 ? `File not found: ${input}` : `File not found: ${input}
|
|
138
171
|
|
|
139
172
|
Did you mean one of these?
|
|
@@ -143,7 +176,7 @@ ${suggestions.join(`
|
|
|
143
176
|
});
|
|
144
177
|
})
|
|
145
178
|
};
|
|
146
|
-
var
|
|
179
|
+
var toModelContent4 = (path, offset, output) => {
|
|
147
180
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
181
|
return [
|
|
149
182
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +212,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
179
212
|
`);
|
|
180
213
|
};
|
|
181
214
|
|
|
182
|
-
export {
|
|
215
|
+
export { name11, Input11, Plugin15, toModelContent4, exports_read };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin37
|
|
3
|
+
} from "./snapshot-y7rptanb.js";
|
|
1
4
|
import {
|
|
2
5
|
Plugin39
|
|
3
|
-
} from "./
|
|
6
|
+
} from "./snapshot-8p00n8d3.js";
|
|
4
7
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
8
|
+
Plugin40
|
|
9
|
+
} from "./snapshot-d2pqqz8b.js";
|
|
7
10
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
11
|
+
Plugin38
|
|
12
|
+
} from "./snapshot-h5gw1mv8.js";
|
|
10
13
|
import {
|
|
11
14
|
Plugin41
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Plugin40
|
|
15
|
-
} from "./repository-qm58qbvp.js";
|
|
15
|
+
} from "./snapshot-jp5rjajp.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/websearch/index.ts
|
|
18
18
|
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin37,
|
|
19
20
|
Plugin39,
|
|
21
|
+
Plugin40,
|
|
20
22
|
Plugin38,
|
|
21
|
-
|
|
22
|
-
Plugin41,
|
|
23
|
-
Plugin40
|
|
23
|
+
Plugin41
|
|
24
24
|
];
|
|
25
25
|
|
|
26
26
|
export { WebSearchPlugins2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service52,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node54
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service52 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service52.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node54 = makeLocationNode({
|
|
143
|
+
service: Service52,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service52, node54, exports_tool_output2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./snapshot-bfr65paq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./snapshot-88vdkk0b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin55 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service83;
|
|
57
|
+
const permission = yield* Service67;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name16,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./snapshot-krng6xfc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID22,
|
|
6
|
+
Event21,
|
|
7
|
+
Service84
|
|
8
|
+
} from "./snapshot-2ntb1qqa.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID17
|
|
11
|
+
} from "./snapshot-q6cjan6r.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-28xy2ctr.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -43,8 +43,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
43
43
|
id: "opencode.provider.google.vertex",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
45
|
const fs = yield* FSUtil.Service;
|
|
46
|
-
const credentials = yield*
|
|
47
|
-
const bus = yield*
|
|
46
|
+
const credentials = yield* Service84;
|
|
47
|
+
const bus = yield* Service85;
|
|
48
48
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
49
49
|
return;
|
|
50
50
|
}));
|
|
@@ -53,7 +53,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
53
53
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
54
54
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
55
55
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
56
|
-
const configured = (yield* configuredSettings2(
|
|
56
|
+
const configured = (yield* configuredSettings2(ID17.googleVertex)) ?? {};
|
|
57
57
|
const projects = Array.from(new Set([
|
|
58
58
|
resolveProject(configured),
|
|
59
59
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -67,8 +67,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
67
67
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
|
-
const connection = yield* ctx.integration.connection.active(
|
|
71
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
70
|
+
const connection = yield* ctx.integration.connection.active(ID17.googleVertex);
|
|
71
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
74
74
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -76,15 +76,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
76
76
|
const selected = { settings: yield* load() };
|
|
77
77
|
const settingsFor = (provider) => ({
|
|
78
78
|
...provider.settings,
|
|
79
|
-
...(provider.integrationID ?? provider.id) ===
|
|
79
|
+
...(provider.integrationID ?? provider.id) === ID17.googleVertex ? selected.settings : {}
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID17.googleVertex,
|
|
84
84
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
85
85
|
});
|
|
86
86
|
editor.method.update({
|
|
87
|
-
integrationID:
|
|
87
|
+
integrationID: ID17.googleVertex,
|
|
88
88
|
method: {
|
|
89
89
|
id: ADC_METHOD,
|
|
90
90
|
type: "external",
|
|
@@ -122,7 +122,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
122
122
|
});
|
|
123
123
|
yield* ctx.provider.transform((evt) => {
|
|
124
124
|
for (const item of evt.list()) {
|
|
125
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
125
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID17.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
126
126
|
continue;
|
|
127
127
|
const settings = settingsFor(item.provider);
|
|
128
128
|
const project = resolveProject(settings);
|
|
@@ -141,7 +141,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
141
141
|
});
|
|
142
142
|
yield* ctx.model.transform((models) => {
|
|
143
143
|
for (const item of models.provider.list()) {
|
|
144
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
144
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID17.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
145
145
|
continue;
|
|
146
146
|
const settings = settingsFor(item.provider);
|
|
147
147
|
const project = resolveProject(settings);
|
|
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
yield* bus.subscribe([
|
|
162
|
+
yield* bus.subscribe([Event21.Updated, Event21.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
163
163
|
const next = yield* load();
|
|
164
164
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
165
165
|
return;
|