@opencode/core 0.0.0-dev-552 → 0.0.0-dev-555
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +238 -238
- package/dist/bus.js +80 -80
- package/dist/chunks/{tool-output-6636asvx.js → image-02k0xazt.js} +26 -26
- package/dist/chunks/{tool-output-aj7mw0zk.js → image-034tev2y.js} +2 -2
- package/dist/chunks/{tool-output-sx8acyer.js → image-04whjz6n.js} +9 -9
- package/dist/chunks/{tool-output-fvqbnn4y.js → image-09vyy9jz.js} +34 -34
- package/dist/chunks/{tool-output-g9g2km6e.js → image-0fqsham1.js} +7 -7
- package/dist/chunks/{tool-output-0j7gp832.js → image-0j7gp832.js} +1 -1
- package/dist/chunks/{tool-output-0ma9gw4f.js → image-0ma9gw4f.js} +2 -2
- package/dist/chunks/{tool-output-gh8kdreh.js → image-0mwmjqpr.js} +17 -17
- package/dist/chunks/{tool-output-gjnqq892.js → image-0y15sqga.js} +11 -11
- package/dist/chunks/{tool-output-1sfa5jwh.js → image-11x8sp61.js} +8 -8
- package/dist/chunks/{tool-output-1aqsckx4.js → image-1aqsckx4.js} +1 -1
- package/dist/chunks/{tool-output-27w5k9zf.js → image-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-output-jy893b30.js → image-1qna1hg3.js} +15 -15
- package/dist/chunks/{tool-output-s3pmgk5v.js → image-1vydkq8e.js} +6 -6
- package/dist/chunks/{tool-output-1x2knyw4.js → image-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-output-s4j07fm3.js → image-1y6k58jk.js} +29 -29
- package/dist/chunks/{tool-output-qfz6bxfd.js → image-20pht57w.js} +4 -4
- package/dist/chunks/{tool-output-71q6t58q.js → image-25mddd6t.js} +15 -15
- package/dist/chunks/{tool-output-fx0pgg4r.js → image-26fzfeak.js} +4 -4
- package/dist/chunks/{tool-output-9nxvacx1.js → image-2bb1zdn2.js} +9 -9
- package/dist/chunks/{tool-output-4x5tdhd6.js → image-2kv9862h.js} +8 -8
- package/dist/chunks/{tool-output-z71echd8.js → image-2kyfkf43.js} +18 -18
- package/dist/chunks/{tool-output-2hjzj56h.js → image-2mn9z4z1.js} +36 -36
- package/dist/chunks/{tool-output-2p60zmnr.js → image-2p60zmnr.js} +2 -2
- package/dist/chunks/{tool-output-75f0sdph.js → image-2tr4gzfh.js} +20 -20
- package/dist/chunks/{tool-output-0mgprbja.js → image-3h1bv8fr.js} +4 -4
- package/dist/chunks/{tool-output-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-deyg1g1a.js → image-3j133pgh.js} +3 -3
- package/dist/chunks/{tool-output-yg6xkjrk.js → image-3jx0cvga.js} +25 -25
- package/dist/chunks/{tool-output-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-output-cjdeqwb6.js → image-3tn4jh5m.js} +32 -32
- package/dist/chunks/{tool-output-yvzyxwec.js → image-3xntzx5c.js} +19 -19
- package/dist/chunks/{tool-output-5cyrnk8k.js → image-3zzpt97w.js} +13 -13
- package/dist/chunks/{tool-output-40y6dtc2.js → image-40y6dtc2.js} +1 -1
- package/dist/chunks/{tool-output-qq4a6y1a.js → image-42gmxtpq.js} +22 -22
- package/dist/chunks/{tool-output-44pmzq9c.js → image-44pmzq9c.js} +2 -2
- package/dist/chunks/{tool-output-0c7bpw4e.js → image-45wb8ppp.js} +4 -4
- package/dist/chunks/{tool-output-kp8mwpe2.js → image-4941t89j.js} +6 -6
- package/dist/chunks/{tool-output-jkyac8e3.js → image-4deandmx.js} +5 -5
- package/dist/chunks/{tool-output-4dx1dgte.js → image-4dx1dgte.js} +1 -1
- package/dist/chunks/{tool-output-99ndk95c.js → image-4k6vnzrq.js} +34 -34
- package/dist/chunks/{tool-output-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-output-4v008n1t.js → image-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-output-s6ewk60r.js → image-59dc2611.js} +29 -29
- package/dist/chunks/{tool-output-a1qwck5h.js → image-59kt51qq.js} +8 -8
- package/dist/chunks/{tool-output-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-output-5whx36p1.js → image-5whx36p1.js} +1 -1
- package/dist/chunks/{tool-output-nf9m8bvx.js → image-5xt1pape.js} +3 -3
- package/dist/chunks/{tool-output-gmemj5zs.js → image-62zd5tzk.js} +7 -7
- package/dist/chunks/{tool-output-j35c50pr.js → image-6ae23ska.js} +23 -23
- package/dist/chunks/image-6bshxcsx.js +18 -0
- package/dist/chunks/{tool-output-pe2g2s61.js → image-6jxjehmv.js} +7 -7
- package/dist/chunks/{tool-output-p02vdpga.js → image-6ms3nhg9.js} +11 -11
- package/dist/chunks/{tool-output-gr6d1ch0.js → image-73tw93bq.js} +26 -26
- package/dist/chunks/{tool-output-61qraad9.js → image-78p2h4ex.js} +5 -5
- package/dist/chunks/{tool-output-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-x6q8nf7j.js → image-7eaxkjg9.js} +14 -14
- package/dist/chunks/{tool-output-k4k63fqr.js → image-7fd8j399.js} +16 -16
- package/dist/chunks/{tool-output-7beb7bc3.js → image-7gwteh35.js} +24 -24
- package/dist/chunks/{tool-output-25txcz08.js → image-7qsqsz72.js} +20 -20
- package/dist/chunks/{tool-output-sth9zcg7.js → image-7qv9q654.js} +11 -11
- package/dist/chunks/{tool-output-jx9660ex.js → image-7rk4y5kz.js} +9 -9
- package/dist/chunks/{tool-output-5224ax61.js → image-7vshr64k.js} +6 -6
- package/dist/chunks/{tool-output-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-output-7weczvnd.js → image-7weczvnd.js} +1 -1
- package/dist/chunks/{tool-output-775hqbnd.js → image-80mg3ag8.js} +3 -3
- package/dist/chunks/{tool-output-8r2dge1w.js → image-84brcpka.js} +12 -12
- package/dist/chunks/{tool-output-89287pr7.js → image-89287pr7.js} +1 -1
- package/dist/chunks/{tool-output-8b3vzgkx.js → image-8b3vzgkx.js} +1 -1
- package/dist/chunks/{tool-output-emcam472.js → image-8ba28171.js} +12 -12
- package/dist/chunks/{tool-output-g4qh6hbr.js → image-8h1879g2.js} +15 -15
- package/dist/chunks/{tool-output-6edbc7zm.js → image-8hfctyyf.js} +5 -5
- package/dist/chunks/{tool-output-511df5en.js → image-8mstnbhz.js} +3 -3
- package/dist/chunks/{tool-output-hqgk1342.js → image-8pjnnye4.js} +16 -16
- package/dist/chunks/{tool-output-e49pnydj.js → image-8pzsrasy.js} +4 -4
- package/dist/chunks/{tool-output-n22ne341.js → image-8re726gk.js} +26 -26
- package/dist/chunks/{tool-output-mqayxavw.js → image-8rxsfbyh.js} +24 -24
- package/dist/chunks/{tool-output-ynyj9jtp.js → image-8s1b991p.js} +31 -31
- package/dist/chunks/{tool-output-4766k6e2.js → image-8s8bdjfn.js} +14 -14
- package/dist/chunks/{tool-output-bb3mmwvh.js → image-8sxe6kv8.js} +2 -2
- package/dist/chunks/{tool-output-yck1kvm9.js → image-8v3nvq1a.js} +7 -7
- package/dist/chunks/{tool-output-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-output-90zstvax.js → image-90zstvax.js} +1 -1
- package/dist/chunks/{tool-output-4e52v30t.js → image-91pn6y1k.js} +14 -14
- package/dist/chunks/{tool-output-pnyg3p33.js → image-93qy7c07.js} +36 -36
- package/dist/chunks/{tool-output-b2kea4tc.js → image-9441gtxa.js} +18 -18
- package/dist/chunks/{tool-output-f341sazs.js → image-94e33dpz.js} +3 -3
- package/dist/chunks/{tool-output-4b6bkt24.js → image-973j6ce7.js} +3 -3
- package/dist/chunks/{tool-output-wz6ge0x3.js → image-9a8825bc.js} +10 -10
- package/dist/chunks/{tool-output-c1cpy8r7.js → image-9c1xkzn4.js} +1 -1
- package/dist/chunks/{tool-output-4svr3wg6.js → image-9ckk18kn.js} +9 -9
- package/dist/chunks/{tool-output-tcac46dq.js → image-9gsd3wah.js} +32 -32
- package/dist/chunks/{tool-output-kmzgegqq.js → image-9kg5w032.js} +8 -8
- package/dist/chunks/{tool-output-fzhbrffk.js → image-9pad87pg.js} +31 -31
- package/dist/chunks/{tool-output-6e5728cn.js → image-9y8weyev.js} +10 -10
- package/dist/chunks/{tool-output-1qr1y771.js → image-9zjsffn3.js} +36 -36
- package/dist/chunks/{tool-output-zan07mqm.js → image-a268vbst.js} +24 -24
- package/dist/chunks/{tool-output-9104gxsx.js → image-a3kyp7a6.js} +11 -11
- package/dist/chunks/{tool-output-dakaherw.js → image-a8n5x0th.js} +20 -20
- package/dist/chunks/{tool-output-hj83ejt3.js → image-aenfgdrw.js} +20 -20
- package/dist/chunks/{tool-output-m7hsyhkh.js → image-ak2r2eks.js} +10 -10
- package/dist/chunks/{tool-output-m3zg2dtg.js → image-akse0cmk.js} +11 -11
- package/dist/chunks/{tool-output-3cbjf1nt.js → image-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-output-gpe365jb.js → image-b03hmnkf.js} +14 -14
- package/dist/chunks/{tool-output-b6vsg801.js → image-b6vsg801.js} +2 -2
- package/dist/chunks/{tool-output-a7nd66ya.js → image-b7fmpabb.js} +13 -13
- package/dist/chunks/{tool-output-gnkmn8c6.js → image-baefqw34.js} +1 -1
- package/dist/chunks/{tool-output-5n28m5gf.js → image-bdhemnqz.js} +3 -3
- package/dist/chunks/{tool-output-rfetd9kc.js → image-be6wbg75.js} +43 -43
- package/dist/chunks/{tool-output-j565xrd9.js → image-bed87xrj.js} +36 -36
- package/dist/chunks/{tool-output-3sf7zae1.js → image-bj9xg24w.js} +17 -17
- package/dist/chunks/{tool-output-6v6fe6sh.js → image-bmgjskxq.js} +16 -16
- package/dist/chunks/{tool-output-nksxf08n.js → image-bxyysycc.js} +4 -4
- package/dist/chunks/{tool-output-zpdbqgja.js → image-by8ty0bx.js} +4 -4
- package/dist/chunks/{tool-output-gbd7jt70.js → image-c092wk13.js} +5 -5
- package/dist/chunks/{tool-output-1zh2cyjj.js → image-c5vx1zac.js} +5 -5
- package/dist/chunks/{tool-output-746ye5r9.js → image-c7j5v5hg.js} +12 -12
- package/dist/chunks/{tool-output-r3ktkn7y.js → image-c974yqn3.js} +30 -30
- package/dist/chunks/{tool-output-7ke2z32d.js → image-cgwdk7h8.js} +6 -6
- package/dist/chunks/{tool-output-6jyhcee2.js → image-ch65jeve.js} +10 -10
- package/dist/chunks/{tool-output-mnzcnazm.js → image-cm3cg0a9.js} +41 -41
- package/dist/chunks/{tool-output-exa9x16m.js → image-cmfqbt07.js} +9 -9
- package/dist/chunks/{tool-output-vmxsyvj6.js → image-cr4rfj9z.js} +4 -4
- package/dist/chunks/{tool-output-05havjry.js → image-cre4e4hj.js} +59 -59
- package/dist/chunks/{tool-output-cwrgdav8.js → image-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-output-ht2asm0r.js → image-cy6rczmd.js} +11 -11
- package/dist/chunks/{tool-output-x62yngd4.js → image-czasat60.js} +11 -11
- package/dist/chunks/{tool-output-njxqg05y.js → image-czp2x92j.js} +19 -19
- package/dist/chunks/{tool-output-cbj9m4kh.js → image-d02ch8m2.js} +18 -18
- package/dist/chunks/{tool-output-xcgbppnz.js → image-d05g8p7q.js} +79 -79
- package/dist/chunks/{tool-output-08fyh1z2.js → image-d0s4qfvp.js} +4 -4
- package/dist/chunks/{tool-output-227cq8f8.js → image-d20zd56s.js} +27 -27
- package/dist/chunks/{tool-output-gkk6awwg.js → image-d25k7nba.js} +42 -42
- package/dist/chunks/{tool-output-d4v9tmah.js → image-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-output-c4g24ry4.js → image-d57zy3q1.js} +2 -2
- package/dist/chunks/{tool-output-kzynbv05.js → image-d6sava7d.js} +3 -3
- package/dist/chunks/{tool-output-twdycxtj.js → image-dfey69ds.js} +11 -11
- package/dist/chunks/{tool-output-c5zvymhv.js → image-dg5naf6e.js} +4 -4
- package/dist/chunks/{tool-output-m8zx2yvr.js → image-dhtyhrzw.js} +3 -3
- package/dist/chunks/{tool-output-k0r21p40.js → image-dq4pk5k3.js} +21 -21
- package/dist/chunks/{tool-output-sp29r20v.js → image-dqywpxm8.js} +31 -31
- package/dist/chunks/{tool-output-dt77769w.js → image-dt77769w.js} +1 -1
- package/dist/chunks/{tool-output-963hk181.js → image-dv16mx8y.js} +7 -7
- package/dist/chunks/{tool-output-e834z07m.js → image-e834z07m.js} +1 -1
- package/dist/chunks/{tool-output-5w1mdqt7.js → image-e8pm465n.js} +4 -4
- package/dist/chunks/{tool-output-qe0yxm02.js → image-e8tb0d9f.js} +3 -3
- package/dist/chunks/{tool-output-09e75zjw.js → image-edxc03ag.js} +10 -10
- package/dist/chunks/{tool-output-5qe1xh8p.js → image-ejax6dvs.js} +2 -2
- package/dist/chunks/{tool-output-eqw4pqj1.js → image-eqw4pqj1.js} +2 -2
- package/dist/chunks/{tool-output-nchw3v9s.js → image-ez5kac3c.js} +5 -5
- package/dist/chunks/{tool-output-s7e2q7r1.js → image-f61ewdqb.js} +34 -34
- package/dist/chunks/{tool-output-4vy82jrr.js → image-f6s81dg8.js} +31 -31
- package/dist/chunks/{tool-output-k0pcsrds.js → image-f8g1ppwy.js} +14 -14
- package/dist/chunks/{tool-output-aagh67vb.js → image-f9skkdtp.js} +32 -32
- package/dist/chunks/{tool-output-39vz30en.js → image-fa3k9tx6.js} +13 -13
- package/dist/chunks/{tool-output-fffv3p7h.js → image-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-output-yy93s4r5.js → image-fj1211hk.js} +39 -39
- package/dist/chunks/{tool-output-3ya61fkd.js → image-fqshqzv0.js} +5 -5
- package/dist/chunks/{tool-output-pse34fzg.js → image-fr30swe2.js} +28 -28
- package/dist/chunks/{tool-output-sx632ymh.js → image-fspjncjj.js} +50 -50
- package/dist/chunks/image-ftrm39n3.js +563 -0
- package/dist/chunks/{tool-output-fyfzbt3s.js → image-g1x3338p.js} +3 -3
- package/dist/chunks/{tool-output-p6whrcvg.js → image-g8e59k0y.js} +10 -10
- package/dist/chunks/{tool-output-g8gy8cqb.js → image-g8gy8cqb.js} +1 -1
- package/dist/chunks/{tool-output-gbjdnr5j.js → image-gbjdnr5j.js} +2 -2
- package/dist/chunks/{tool-output-sdt5j0rm.js → image-ghrv1g9c.js} +4 -4
- package/dist/chunks/{tool-output-cdx6pxh3.js → image-gk525ztt.js} +22 -22
- package/dist/chunks/{tool-output-3smm4zxf.js → image-gsjhnd44.js} +10 -10
- package/dist/chunks/{tool-output-t62dywgn.js → image-gvjax9xa.js} +8 -8
- package/dist/chunks/{tool-output-81c4mprs.js → image-h6hed1sq.js} +9 -9
- package/dist/chunks/{tool-output-x41fzh3r.js → image-hf2g6awt.js} +17 -17
- package/dist/chunks/{tool-output-a2g8vcfk.js → image-hv16ydqb.js} +18 -18
- package/dist/chunks/{tool-output-qh6ynv16.js → image-hydhrcpd.js} +11 -11
- package/dist/chunks/{tool-output-egt9m3ps.js → image-j43v3wwk.js} +143 -143
- package/dist/chunks/{tool-output-9rwqds7z.js → image-j50j1kzn.js} +22 -22
- package/dist/chunks/{tool-output-wgvnftve.js → image-jc512s3p.js} +8 -8
- package/dist/chunks/{tool-output-jg11hrrc.js → image-jg11hrrc.js} +1 -1
- package/dist/chunks/{tool-output-cpmgjma2.js → image-jjfhqcqt.js} +31 -31
- package/dist/chunks/{tool-output-eqktdfrb.js → image-jm79tbss.js} +2 -2
- package/dist/chunks/{tool-output-awbze0rg.js → image-jmxmr10c.js} +16 -16
- package/dist/chunks/{tool-output-wd83k364.js → image-k0zbzedy.js} +4 -4
- package/dist/chunks/{tool-output-2397d0qs.js → image-k47bt2zs.js} +42 -42
- package/dist/chunks/{tool-output-419yqr3a.js → image-k4gez227.js} +28 -28
- package/dist/chunks/{tool-output-apvw25zg.js → image-k9ccvh3m.js} +3 -3
- package/dist/chunks/{tool-output-k3ezbk9y.js → image-k9cx235e.js} +7 -7
- package/dist/chunks/{tool-output-1x7bzasz.js → image-kbgs7tyr.js} +4 -4
- package/dist/chunks/{tool-output-kh8gdsej.js → image-kh8gdsej.js} +1 -1
- package/dist/chunks/{tool-output-hmhcwfpk.js → image-kmekj7m2.js} +6 -6
- package/dist/chunks/{tool-output-h6xk36xd.js → image-kmyywh25.js} +9 -9
- package/dist/chunks/{tool-output-kqb1ppz6.js → image-kpambw8p.js} +28 -28
- package/dist/chunks/{tool-output-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-output-8yzstaxc.js → image-kz62fcez.js} +3 -3
- package/dist/chunks/{tool-output-kzczzf4v.js → image-kzczzf4v.js} +1 -1
- package/dist/chunks/{tool-output-m1714858.js → image-m1714858.js} +1 -1
- package/dist/chunks/{tool-output-xbdy7879.js → image-m50q0ytx.js} +11 -11
- package/dist/chunks/{tool-output-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-8z6m94af.js → image-mb7mbhnz.js} +3 -3
- package/dist/chunks/{tool-output-9zvshgbm.js → image-mmtr8zjy.js} +23 -23
- package/dist/chunks/{tool-output-ec2jnhv3.js → image-mp65ks7h.js} +6 -6
- package/dist/chunks/{tool-output-c9b6dnwv.js → image-mrf5my2y.js} +16 -16
- package/dist/chunks/{tool-output-msd2a3qm.js → image-msd2a3qm.js} +4 -4
- package/dist/chunks/{tool-output-aebzzn9x.js → image-mvgx777g.js} +12 -12
- package/dist/chunks/{tool-output-ph3tbhez.js → image-mvwrw2nz.js} +34 -34
- package/dist/chunks/{tool-output-kxcskwx8.js → image-mwxt7jr5.js} +14 -14
- package/dist/chunks/{tool-output-96jnrges.js → image-n18yq4h8.js} +4 -4
- package/dist/chunks/{tool-output-prykw90a.js → image-n4s7wb50.js} +3 -3
- package/dist/chunks/{tool-output-4xea06mt.js → image-n7n8d8fq.js} +19 -19
- package/dist/chunks/{tool-output-6rwcqwd2.js → image-nrxcgcys.js} +7 -7
- package/dist/chunks/{tool-output-xqjexrw9.js → image-nts0abnx.js} +29 -29
- package/dist/chunks/{tool-output-z0c26qk4.js → image-nw314s9d.js} +2 -2
- package/dist/chunks/{tool-output-356qfvw9.js → image-nxh4e4nb.js} +21 -21
- package/dist/chunks/{tool-output-cqrw4292.js → image-nz0ggbwa.js} +4 -4
- package/dist/chunks/{tool-output-rs43y10t.js → image-nzzacd1w.js} +16 -16
- package/dist/chunks/{tool-output-gcqh1q4y.js → image-p0hrayvw.js} +41 -41
- package/dist/chunks/{tool-output-w00hgye2.js → image-p2zgsc1h.js} +11 -11
- package/dist/chunks/{tool-output-hk8ww777.js → image-p5jrs0cb.js} +21 -21
- package/dist/chunks/{tool-output-z52jmq82.js → image-p68dgss7.js} +23 -23
- package/dist/chunks/{tool-output-fpqm0zgb.js → image-pddwed0s.js} +12 -12
- package/dist/chunks/{tool-output-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-fg9p65nk.js → image-prq7xxp2.js} +6 -6
- package/dist/chunks/image-ptaj1g8q.js +265 -0
- package/dist/chunks/{tool-output-csbbbnjb.js → image-px386mpv.js} +4 -4
- package/dist/chunks/{tool-output-01b0j58p.js → image-q52kf7ff.js} +19 -19
- package/dist/chunks/{tool-output-5dth6py4.js → image-q8g72hps.js} +9 -9
- package/dist/chunks/{tool-output-n3znqw40.js → image-qa9m9yrh.js} +17 -17
- package/dist/chunks/{tool-output-3fsd14xc.js → image-qdtvge5d.js} +14 -14
- package/dist/chunks/{tool-output-9f3jsh1d.js → image-qh5g3qaw.js} +5 -5
- package/dist/chunks/{tool-output-86j4j7q4.js → image-qmc59nz1.js} +5 -5
- package/dist/chunks/{tool-output-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
- package/dist/chunks/{tool-output-cpvd08na.js → image-qqg9c0kv.js} +4 -4
- package/dist/chunks/{tool-output-wfdx687j.js → image-qts06mpj.js} +19 -19
- package/dist/chunks/{tool-output-88q83wze.js → image-qxnjn1tb.js} +19 -19
- package/dist/chunks/{tool-output-pg3ntrnn.js → image-qy1v2yhs.js} +21 -21
- package/dist/chunks/{tool-output-8t99kr38.js → image-r17fbvme.js} +4 -4
- package/dist/chunks/{tool-output-6nsvh2h7.js → image-r1ahr94h.js} +15 -15
- package/dist/chunks/{tool-output-6n2jnh2t.js → image-r43y939d.js} +9 -9
- package/dist/chunks/{tool-output-4f25tdd0.js → image-r542h3bh.js} +5 -5
- package/dist/chunks/{tool-output-44fdwxvc.js → image-rb145xy3.js} +12 -12
- package/dist/chunks/{tool-output-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-output-2m2g9ynh.js → image-rcbjwvze.js} +4 -4
- package/dist/chunks/{tool-output-x3c9tvtc.js → image-rfrmafb1.js} +4 -4
- package/dist/chunks/{tool-output-rgc9cx3e.js → image-rgc9cx3e.js} +2 -2
- package/dist/chunks/{tool-output-46jrjpv7.js → image-rh1at2a9.js} +4 -4
- package/dist/chunks/{tool-output-g7gmzqmx.js → image-rrrksm1c.js} +89 -89
- package/dist/chunks/{tool-output-mafkzc8x.js → image-rsr00wza.js} +7 -7
- package/dist/chunks/{tool-output-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-output-hrpg1pdd.js → image-rwcc01tt.js} +7 -7
- package/dist/chunks/{tool-output-sz694gh2.js → image-s9frqexh.js} +6 -6
- package/dist/chunks/{tool-output-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-output-t5cmg6d3.js → image-sa4r2ca5.js} +17 -17
- package/dist/chunks/{tool-output-sbya78hr.js → image-sbya78hr.js} +1 -1
- package/dist/chunks/{tool-output-njtaczab.js → image-sc28g299.js} +6 -6
- package/dist/chunks/{tool-output-90ct6wq4.js → image-sf9y72b7.js} +4 -4
- package/dist/chunks/{tool-output-2ydcfzqs.js → image-sfsaa5np.js} +27 -27
- package/dist/chunks/{tool-output-azbn3vy4.js → image-shqhg2z7.js} +9 -9
- package/dist/chunks/image-smjxajxb.js +26 -0
- package/dist/chunks/{tool-output-4n037qb1.js → image-snzc79f0.js} +77 -77
- package/dist/chunks/{tool-output-svcy3p9a.js → image-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-output-877hnd4d.js → image-sz6g8jgx.js} +1 -1
- package/dist/chunks/{tool-output-szwm4crx.js → image-szwm4crx.js} +4 -4
- package/dist/chunks/{tool-output-eqa15cwh.js → image-t5y8fs1s.js} +6 -6
- package/dist/chunks/{tool-output-h47320y1.js → image-t8skwaj3.js} +9 -9
- package/dist/chunks/{tool-output-c08bfn7h.js → image-tcp3jw5p.js} +35 -35
- package/dist/chunks/{tool-output-tczq8hjw.js → image-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-output-tg7s7b5t.js → image-tg7s7b5t.js} +1 -1
- package/dist/chunks/{tool-output-f61ga2an.js → image-th6h8dwx.js} +14 -14
- package/dist/chunks/{tool-output-v2xh9bjj.js → image-tht15va1.js} +36 -36
- package/dist/chunks/{tool-output-tr8x705m.js → image-tr8x705m.js} +1 -1
- package/dist/chunks/{tool-output-xzbsafy3.js → image-trv4ttt9.js} +41 -41
- package/dist/chunks/{tool-output-64eehrrp.js → image-tsygc3ff.js} +8 -8
- package/dist/chunks/{tool-output-thqxtn4m.js → image-tt88n1g6.js} +18 -18
- package/dist/chunks/{tool-output-tvtps2q9.js → image-tvtps2q9.js} +1 -1
- package/dist/chunks/{tool-output-twssxy5n.js → image-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-output-f1kgf4pk.js → image-ty7c51mz.js} +7 -7
- package/dist/chunks/{tool-output-7bpvqsty.js → image-tyea02k1.js} +2 -2
- package/dist/chunks/{tool-output-ggp6gwx4.js → image-v1z3gphh.js} +21 -21
- package/dist/chunks/{tool-output-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-output-nwqz334c.js → image-v5shhexh.js} +16 -16
- package/dist/chunks/{tool-output-ghpsxst0.js → image-v80nk8m9.js} +31 -31
- package/dist/chunks/{tool-output-1yq9hg58.js → image-v9ez2kgh.js} +5 -5
- package/dist/chunks/{tool-output-2cdjxzfg.js → image-vg0erq9k.js} +3 -3
- package/dist/chunks/{tool-output-bd6rrxn7.js → image-vgwq4gkr.js} +22 -22
- package/dist/chunks/{tool-output-xx6b04ef.js → image-vheve2y4.js} +12 -12
- package/dist/chunks/{tool-output-vjf35v1f.js → image-vjf35v1f.js} +1 -1
- package/dist/chunks/{tool-output-qw2t3dzn.js → image-vsqvcqta.js} +6 -6
- package/dist/chunks/{tool-output-79k544d0.js → image-vwcz1f45.js} +4 -4
- package/dist/chunks/{tool-output-y540derg.js → image-vwxs1arr.js} +12 -12
- package/dist/chunks/{tool-output-2z8avw8y.js → image-w0kch0br.js} +18 -18
- package/dist/chunks/{tool-output-r41sfy63.js → image-w2eysc6j.js} +6 -6
- package/dist/chunks/{tool-output-v0t96s7a.js → image-w35wzz9x.js} +4 -4
- package/dist/chunks/{tool-output-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-f63d2psk.js → image-w5dw3tdx.js} +8 -8
- package/dist/chunks/{tool-output-33ex1g0t.js → image-w8z83mre.js} +4 -4
- package/dist/chunks/{tool-output-dbccrw1t.js → image-wa8k00xj.js} +6 -6
- package/dist/chunks/{tool-output-wakvkjy4.js → image-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-output-k7txa80t.js → image-wbha76wa.js} +23 -23
- package/dist/chunks/{tool-output-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-gc902kk9.js → image-we5nvrjg.js} +27 -27
- package/dist/chunks/{tool-output-nx4vzyjd.js → image-wegkxhrn.js} +2 -2
- package/dist/chunks/{tool-output-etk0n51b.js → image-wfytmw1f.js} +19 -19
- package/dist/chunks/{tool-output-40echsds.js → image-wgy5s2je.js} +12 -12
- package/dist/chunks/{tool-output-51tbvpgh.js → image-whfmbjzy.js} +9 -9
- package/dist/chunks/{tool-output-wnhgecwx.js → image-wnhgecwx.js} +1 -1
- package/dist/chunks/{tool-output-g5cyjhfe.js → image-wnzcgr6s.js} +16 -16
- package/dist/chunks/{tool-output-fznmdakp.js → image-wr3re1en.js} +4 -4
- package/dist/chunks/{tool-output-hp1gbgrg.js → image-wty7rpvh.js} +16 -16
- package/dist/chunks/{tool-output-3nw1k2zv.js → image-ww63bgb6.js} +6 -6
- package/dist/chunks/{tool-output-5j6j0hr6.js → image-wzhjf4ys.js} +15 -15
- package/dist/chunks/{tool-output-5v7h90mf.js → image-x331mzve.js} +13 -13
- package/dist/chunks/{tool-output-eewc3e51.js → image-x36bd3xr.js} +47 -47
- package/dist/chunks/{tool-output-pamdx7wx.js → image-x4050fn4.js} +2 -2
- package/dist/chunks/{tool-output-bstexjd6.js → image-xd9cc171.js} +5 -5
- package/dist/chunks/{tool-output-nq73cb6s.js → image-xqxdzwmt.js} +11 -11
- package/dist/chunks/{tool-output-742ey3d3.js → image-xtsjbda3.js} +21 -21
- package/dist/chunks/{tool-output-5z7n15dj.js → image-xxgqx85s.js} +11 -11
- package/dist/chunks/{tool-output-xjr6c8m4.js → image-xxschbft.js} +4 -4
- package/dist/chunks/{tool-output-yp3ceknm.js → image-xxt4s3zy.js} +19 -19
- package/dist/chunks/{tool-output-7e38491a.js → image-y9me5z2w.js} +12 -12
- package/dist/chunks/{tool-output-yb20nhc3.js → image-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-output-n58dd7nb.js → image-yde3vwey.js} +23 -23
- package/dist/chunks/{tool-output-s8y13th6.js → image-yhvdje9f.js} +7 -7
- package/dist/chunks/{tool-output-31avdb49.js → image-ypzz06n9.js} +11 -11
- package/dist/chunks/{tool-output-yr705xyq.js → image-yr705xyq.js} +1 -1
- package/dist/chunks/{tool-output-yvtc2x31.js → image-yvtc2x31.js} +1 -1
- package/dist/chunks/{tool-output-297c7bxc.js → image-yw1rsrb3.js} +8 -8
- package/dist/chunks/{tool-output-dpptc56n.js → image-ywd99pj9.js} +15 -15
- package/dist/chunks/{tool-output-wa694ata.js → image-ywxnq61h.js} +15 -15
- package/dist/chunks/{tool-output-x1ee036e.js → image-yyggqxat.js} +6 -6
- package/dist/chunks/{tool-output-2ertqy85.js → image-z33hv5x5.js} +37 -37
- package/dist/chunks/{tool-output-qa8wq1bx.js → image-z3nw929v.js} +9 -9
- package/dist/chunks/{tool-output-a8zv29m9.js → image-z6qr9yqd.js} +10 -10
- package/dist/chunks/{tool-output-be9ybc1c.js → image-z8wpr6kv.js} +9 -9
- package/dist/chunks/{tool-output-ddz6aytf.js → image-z9165bmc.js} +13 -13
- package/dist/chunks/{tool-output-t4yq194d.js → image-zd7h2jpv.js} +1 -1
- package/dist/chunks/{tool-output-r84m51n9.js → image-ze2gmytz.js} +11 -11
- package/dist/chunks/{tool-output-j9nxzz3g.js → image-ze75qvmd.js} +3 -3
- package/dist/chunks/{tool-output-ezx2vz2q.js → image-zjgwam28.js} +4 -4
- package/dist/chunks/{tool-output-808kdw85.js → image-zpbpdhe8.js} +54 -54
- package/dist/chunks/{tool-output-d58vy9zx.js → image-zqymw8z4.js} +4 -4
- 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 +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +88 -88
- package/dist/config/discovery.js +97 -97
- 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 +133 -133
- package/dist/config/plugin/command.js +236 -236
- 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 +132 -132
- package/dist/config/plugin/mcp.js +143 -143
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- 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 +90 -90
- package/dist/database/database.js +77 -77
- 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/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/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +81 -81
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +249 -249
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +428 -428
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +92 -92
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- 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 +178 -178
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +105 -105
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +104 -104
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- 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 +153 -153
- 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 +87 -87
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +240 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +406 -406
- 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 +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- 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 +1 -1
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- 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 +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +157 -157
- 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/refresh.js +87 -87
- 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 +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -416
- 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 +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +97 -97
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +253 -253
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- 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 +243 -243
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +202 -202
- 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 +139 -139
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +143 -143
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +254 -254
- 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 +5 -5
- package/dist/session/session.js +184 -184
- package/dist/session/shell.js +145 -145
- 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 +233 -233
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +241 -241
- package/dist/session/usage.js +3 -3
- package/dist/session.js +237 -237
- package/dist/shared-cache.js +5 -5
- 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 +15 -15
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +102 -102
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +232 -232
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +243 -243
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +239 -239
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +240 -240
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +153 -153
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- 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 +7 -7
- 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 +106 -106
- 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 +5 -5
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/tool-output-7stn477s.js +0 -26
- package/dist/chunks/tool-output-8jekr1x5.js +0 -265
- package/dist/chunks/tool-output-d77dj7jw.js +0 -18
- package/dist/chunks/tool-output-hw19qxz6.js +0 -563
- /package/dist/chunks/{tool-output-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-108x4f4w.js → image-108x4f4w.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-1kah00gy.js → image-1kah00gy.js} +0 -0
- /package/dist/chunks/{tool-output-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3af0jn4w.js → image-3af0jn4w.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4qk9sjk2.js → image-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-5w3e23ze.js → image-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-output-6agm2x70.js → image-6agm2x70.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-beh6qq61.js → image-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-output-bhmrqjy3.js → image-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cqv5kn06.js → image-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-ean2d8b5.js → image-ean2d8b5.js} +0 -0
- /package/dist/chunks/{tool-output-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-output-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jwr30sdr.js → image-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-nh4v3znn.js → image-nh4v3znn.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-p71gwv9c.js → image-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-syrav9an.js → image-syrav9an.js} +0 -0
- /package/dist/chunks/{tool-output-t03h4f5z.js → image-t03h4f5z.js} +0 -0
- /package/dist/chunks/{tool-output-ty7weeps.js → image-ty7weeps.js} +0 -0
- /package/dist/chunks/{tool-output-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-output-vtarvj67.js → image-vtarvj67.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-z0h12gs8.js → image-z0h12gs8.js} +0 -0
- /package/dist/chunks/{tool-output-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → image-z9919s4g.js} +0 -0
- /package/dist/chunks/{tool-output-zxpyjp51.js → image-zxpyjp51.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./image-k47bt2zs.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input8,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
25
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin26,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
30
|
description: () => description4,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name8
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
38
|
+
var name8 = "webfetch";
|
|
39
39
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -43,7 +43,7 @@ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input8 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input6 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input8.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -116,16 +116,16 @@ var convert = (content, contentType, format) => {
|
|
|
116
116
|
return extractTextFromHTML2(content);
|
|
117
117
|
return content;
|
|
118
118
|
};
|
|
119
|
-
var
|
|
119
|
+
var Plugin26 = {
|
|
120
120
|
id: "opencode.tool.webfetch",
|
|
121
121
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
122
122
|
const http = yield* HttpClient.HttpClient;
|
|
123
|
-
const permission = yield*
|
|
123
|
+
const permission = yield* Service59;
|
|
124
124
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
125
|
-
name:
|
|
125
|
+
name: name8,
|
|
126
126
|
options: { codemode: false },
|
|
127
127
|
description: description4,
|
|
128
|
-
input:
|
|
128
|
+
input: Input8,
|
|
129
129
|
output: Output,
|
|
130
130
|
execute: (input, context) => Effect.gen(function* () {
|
|
131
131
|
const url = yield* Effect.try({
|
|
@@ -137,7 +137,7 @@ var Plugin10 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name8,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin10 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name8,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, MAX_REDIRECTS2, Plugin26, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service50,
|
|
3
|
+
node52
|
|
4
|
+
} from "./image-wa8k00xj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Service67,
|
|
7
|
+
node70,
|
|
8
8
|
canonical3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9ckk18kn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./image-dqywpxm8.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-ptaj1g8q.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
var HELD_WARNING_AFTER = "30 seconds";
|
|
20
20
|
function buildLocationServiceMap2(replacements = []) {
|
|
21
|
-
return Layer.effect(
|
|
21
|
+
return Layer.effect(Service67, Effect.gen(function* () {
|
|
22
22
|
const owner = yield* Effect.scope;
|
|
23
23
|
const builds = MutableHashMap.empty();
|
|
24
24
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
const finish = Effect.suspend(() => {
|
|
29
29
|
if (Exit.isSuccess(exit)) {
|
|
30
30
|
return Effect.gen(function* () {
|
|
31
|
-
const lifecycle = Context.get(exit.value,
|
|
31
|
+
const lifecycle = Context.get(exit.value, Service18);
|
|
32
32
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
33
33
|
return yield* lifecycle.shutdown;
|
|
34
34
|
build.close = lifecycle.shutdown;
|
|
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
65
65
|
}).pipe(Effect.uninterruptible)
|
|
66
66
|
};
|
|
67
67
|
const bindings = [
|
|
68
|
-
|
|
68
|
+
node52.replace(Layer.succeed(Service50, {
|
|
69
69
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
70
70
|
})),
|
|
71
71
|
...replacements,
|
|
72
|
-
|
|
72
|
+
node70.replace(Layer.succeed(Service67, map))
|
|
73
73
|
];
|
|
74
74
|
return map;
|
|
75
75
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service82,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured10,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list5,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name17,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node85,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service82 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list5(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create4({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service82.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list5(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured10(options) {
|
|
210
|
+
return makeLocationNode({ service: Service82, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node85 = configured10();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options7, Service82, gitbash2, name17, login2, ps2, args2, environment2, resolve4, list5, configured10, node85, exports_select };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin43,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin43 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin43, exports_goal };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-sa4r2ca5.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-qts06mpj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve3,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve3(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -585,4 +585,4 @@ var PROTOCOLS = {
|
|
|
585
585
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
586
586
|
};
|
|
587
587
|
|
|
588
|
-
export { supports2,
|
|
588
|
+
export { supports2, resolve3, exports_variant };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizeContent2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-z0h12gs8.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/tool-input-repair.ts
|
|
10
10
|
var exports_tool_input_repair = {};
|
|
11
11
|
__export(exports_tool_input_repair, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin52,
|
|
13
13
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
14
14
|
});
|
|
15
15
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -18,7 +18,7 @@ import { Effect, Option, Predicate, Schema } from "effect";
|
|
|
18
18
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
19
19
|
var maxDepth = 6;
|
|
20
20
|
var aliases = new Map([["bash", "shell"]]);
|
|
21
|
-
var
|
|
21
|
+
var Plugin52 = define({
|
|
22
22
|
id: "opencode.tool.input.repair",
|
|
23
23
|
effect: (ctx) => Effect.gen(function* () {
|
|
24
24
|
const aliased = new Map;
|
|
@@ -153,4 +153,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
153
153
|
return compatible ? [repaired] : value;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Plugin52, exports_tool_input_repair };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91,
|
|
6
6
|
node94
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-d6sava7d.js";
|
|
8
8
|
import {
|
|
9
9
|
Service90,
|
|
10
10
|
node93
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-w8z83mre.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service88,
|
|
14
|
+
node91
|
|
15
|
+
} from "./image-8ba28171.js";
|
|
16
16
|
import {
|
|
17
17
|
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-dv16mx8y.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./image-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./image-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
@@ -41,14 +41,14 @@ __export(exports_project, {
|
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
43
|
ID: () => ID21,
|
|
44
|
-
Info: () =>
|
|
44
|
+
Info: () => Info30,
|
|
45
45
|
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service84,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured11,
|
|
51
|
+
node: () => node87,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -64,7 +64,7 @@ import { Hash } from "@opencode/util/hash";
|
|
|
64
64
|
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info30 = Info31;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
70
|
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service84 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service88;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service90;
|
|
120
120
|
const db = (yield* Service91).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event19.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event19.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -189,14 +189,14 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
189
189
|
if (!row)
|
|
190
190
|
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service84.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured11(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service84,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node93, node94, FSUtil.node,
|
|
354
|
+
deps: [node93, node94, FSUtil.node, node91, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node87 = configured11();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service84;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node87]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export { ID21, Vcs2, Current2,
|
|
367
|
+
export { ID21, Vcs2, Current2, Info30, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service84, configured11, node87, sweepNode2, exports_project };
|