@opencode/core 0.0.0-dev-524 → 0.0.0-dev-525
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +242 -242
- package/dist/bus.js +86 -86
- package/dist/chunks/{shell-cq1t411c.js → command-02nh6cag.js} +51 -51
- package/dist/chunks/{shell-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{shell-gerka9tj.js → command-04whjz6n.js} +9 -9
- package/dist/chunks/{shell-av7hf5pb.js → command-064m87rv.js} +25 -25
- package/dist/chunks/{shell-r82j83q4.js → command-074d9wa5.js} +36 -36
- package/dist/chunks/{shell-dg2hskz2.js → command-09j79agv.js} +8 -8
- package/dist/chunks/{shell-mbk8h3wg.js → command-0abspak8.js} +9 -9
- package/dist/chunks/{shell-njcn97q6.js → command-0d8x3dj0.js} +22 -22
- package/dist/chunks/{shell-q7xcpsfa.js → command-0gnxgj27.js} +7 -7
- package/dist/chunks/{shell-ybws1qgk.js → command-0h86f0az.js} +4 -4
- package/dist/chunks/{shell-0j7gp832.js → command-0j7gp832.js} +1 -1
- package/dist/chunks/{shell-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shell-6s2zeekk.js → command-0rnqyjrn.js} +9 -9
- package/dist/chunks/{shell-mjb4x3wz.js → command-0tpp4vdc.js} +19 -19
- package/dist/chunks/{shell-9rbvzweb.js → command-11mfvh52.js} +5 -5
- package/dist/chunks/{shell-1aqsckx4.js → command-1aqsckx4.js} +1 -1
- package/dist/chunks/{shell-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-b7sygazy.js → command-1jstmwa4.js} +15 -15
- package/dist/chunks/{shell-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-ewd4v74g.js → command-1y4mz3vx.js} +29 -29
- package/dist/chunks/{shell-1yq9hg58.js → command-1yq9hg58.js} +1 -1
- package/dist/chunks/{shell-bnrmk4xj.js → command-1zb12d2z.js} +10 -10
- package/dist/chunks/{shell-q2pyecvj.js → command-23ews3mh.js} +5 -5
- package/dist/chunks/{shell-rghhz6zv.js → command-256e7gvp.js} +11 -11
- package/dist/chunks/{shell-c5syj3x8.js → command-267919z8.js} +84 -84
- package/dist/chunks/{shell-gmemj5zs.js → command-26wfx3k0.js} +4 -4
- package/dist/chunks/{shell-3qzs2pb5.js → command-27qw66hx.js} +11 -11
- package/dist/chunks/{shell-w79nt68w.js → command-2kg89srt.js} +4 -4
- package/dist/chunks/{shell-vv8kfd4w.js → command-2tk0wm70.js} +25 -25
- package/dist/chunks/{shell-ry0v614g.js → command-2twam6pg.js} +30 -30
- package/dist/chunks/{shell-rdrzgfkv.js → command-2yy5117a.js} +6 -6
- package/dist/chunks/{shell-pdjjkz20.js → command-351t3psw.js} +15 -15
- package/dist/chunks/{shell-zh1vrc3z.js → command-362dybbw.js} +11 -11
- package/dist/chunks/{shell-97rp36fc.js → command-3deqpp53.js} +7 -7
- package/dist/chunks/{shell-r3tcmkcs.js → command-3dtj5d08.js} +17 -17
- package/dist/chunks/{shell-jk3qt3nm.js → command-3ge6n67g.js} +25 -25
- package/dist/chunks/{shell-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-938dqyhe.js → command-3k081308.js} +27 -27
- package/dist/chunks/{shell-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-f5fj0026.js → command-3qdn8ppp.js} +29 -29
- package/dist/chunks/{shell-4nh513ck.js → command-3r4w7sja.js} +3 -3
- package/dist/chunks/{shell-evjzfwys.js → command-3r5g8d5e.js} +32 -32
- package/dist/chunks/{shell-40y6dtc2.js → command-40y6dtc2.js} +1 -1
- package/dist/chunks/{shell-qv9r50zm.js → command-44s91745.js} +20 -20
- package/dist/chunks/{shell-pczp76wy.js → command-4agpc0tz.js} +17 -17
- package/dist/chunks/{shell-4dx1dgte.js → command-4dx1dgte.js} +1 -1
- package/dist/chunks/{shell-mq213kg4.js → command-4eq227ph.js} +10 -10
- package/dist/chunks/{shell-4f25tdd0.js → command-4f25tdd0.js} +1 -1
- package/dist/chunks/{shell-whdsx4c1.js → command-4h9tcrpz.js} +16 -16
- package/dist/chunks/{shell-sh62exzy.js → command-4kbwy8va.js} +20 -20
- package/dist/chunks/{shell-bj78ahtb.js → command-4krz84m7.js} +7 -7
- package/dist/chunks/{shell-vd0ryday.js → command-4p7jmbsw.js} +39 -39
- package/dist/chunks/{shell-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-19ckm0ck.js → command-4y1sz0ad.js} +19 -19
- package/dist/chunks/{shell-7rzq90wh.js → command-4z1vr99c.js} +17 -17
- package/dist/chunks/{shell-jpj143sy.js → command-55g5r261.js} +20 -20
- package/dist/chunks/{shell-2vfjfeag.js → command-57bahrw8.js} +20 -20
- package/dist/chunks/{shell-32c1ngxd.js → command-5ab64ye4.js} +9 -9
- package/dist/chunks/{shell-e27xj7a8.js → command-5fcjamkr.js} +25 -25
- package/dist/chunks/{shell-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-6yam1bnf.js → command-5qnv1593.js} +10 -10
- package/dist/chunks/{shell-r0qadsyg.js → command-5vzraghn.js} +18 -18
- package/dist/chunks/{shell-3dbxf0x7.js → command-5xfssjfj.js} +46 -46
- package/dist/chunks/{shell-9h0egadk.js → command-5xmc3nyq.js} +8 -8
- package/dist/chunks/{shell-xksw6ev0.js → command-67wwskyb.js} +4 -4
- package/dist/chunks/{shell-zdt1g382.js → command-6am4kvx9.js} +18 -18
- package/dist/chunks/{shell-v257k2g9.js → command-6cabf9xq.js} +37 -37
- package/dist/chunks/{shell-ndpbz77q.js → command-6d042k20.js} +3 -3
- package/dist/chunks/{shell-q65mdntm.js → command-6dqyy18z.js} +4 -4
- package/dist/chunks/{shell-psr002z0.js → command-6e9v7fez.js} +16 -16
- package/dist/chunks/{shell-y7t9x7tn.js → command-6kw9fchk.js} +6 -6
- package/dist/chunks/{shell-775hqbnd.js → command-775hqbnd.js} +3 -3
- package/dist/chunks/{shell-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-ey5vfp9s.js → command-7gf2jzy9.js} +44 -44
- package/dist/chunks/{shell-9sk33afj.js → command-7nqkf5r1.js} +6 -6
- package/dist/chunks/{shell-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-7weczvnd.js → command-7weczvnd.js} +1 -1
- package/dist/chunks/{shell-rh3shmtx.js → command-81g68a4p.js} +10 -10
- package/dist/chunks/{shell-kfwe892m.js → command-82d3wjfb.js} +12 -12
- package/dist/chunks/{shell-3ay6yzp4.js → command-82phgae0.js} +5 -5
- package/dist/chunks/{shell-3fe1jga9.js → command-85xpp1tt.js} +2 -2
- package/dist/chunks/{shell-89287pr7.js → command-89287pr7.js} +1 -1
- package/dist/chunks/{shell-8b3vzgkx.js → command-8b3vzgkx.js} +1 -1
- package/dist/chunks/{shell-5whx36p1.js → command-8cg7mtm3.js} +4 -4
- package/dist/chunks/{shell-b64vemre.js → command-8d9df08g.js} +11 -11
- package/dist/chunks/{shell-c51xvhgg.js → command-8mfptry9.js} +20 -20
- package/dist/chunks/{shell-8sxe6kv8.js → command-8sxe6kv8.js} +2 -2
- package/dist/chunks/{shell-r17fbvme.js → command-8t99kr38.js} +4 -4
- package/dist/chunks/{shell-rm3e3cyj.js → command-8whgbgnz.js} +12 -12
- package/dist/chunks/{shell-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-yh1setas.js → command-90ej8wzb.js} +4 -4
- package/dist/chunks/{shell-90zstvax.js → command-90zstvax.js} +1 -1
- package/dist/chunks/{shell-0hckme0g.js → command-917fdf9n.js} +28 -28
- package/dist/chunks/{shell-96djdqw5.js → command-96djdqw5.js} +4 -4
- package/dist/chunks/{shell-0ke53cpn.js → command-98qzw0ke.js} +13 -13
- package/dist/chunks/{shell-6ppdhvbm.js → command-9epwes7t.js} +34 -34
- package/dist/chunks/{shell-nmwmadty.js → command-9q6w3bb8.js} +12 -12
- package/dist/chunks/{shell-45qe9p54.js → command-9qayxaw8.js} +25 -25
- package/dist/chunks/{shell-wcrzq7nt.js → command-9sq79qyq.js} +21 -21
- package/dist/chunks/{shell-30qjv57a.js → command-9za8by3m.js} +18 -18
- package/dist/chunks/{shell-rvxxwe6w.js → command-9zsb5378.js} +9 -9
- package/dist/chunks/{shell-4xbt6kt3.js → command-a07cmgbn.js} +11 -11
- package/dist/chunks/{shell-2r77nwhq.js → command-acnzt9vb.js} +1 -1
- package/dist/chunks/{shell-dn75egny.js → command-agm27xf5.js} +20 -20
- package/dist/chunks/{shell-5vpw0qat.js → command-ah83p6t6.js} +6 -6
- package/dist/chunks/{shell-90ct6wq4.js → command-anvcme1c.js} +4 -4
- package/dist/chunks/{shell-d779t86q.js → command-aszkk4sv.js} +39 -39
- package/dist/chunks/{shell-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-jxgppkd5.js → command-b1xvtxqp.js} +5 -5
- package/dist/chunks/{shell-p3qgwpvm.js → command-b5bymvf0.js} +22 -22
- package/dist/chunks/{shell-b6vsg801.js → command-b6vsg801.js} +2 -2
- package/dist/chunks/{shell-b6z35kmf.js → command-b6z35kmf.js} +1 -1
- package/dist/chunks/{shell-en619q7r.js → command-bdtsfe6m.js} +40 -40
- package/dist/chunks/{shell-vmxsyvj6.js → command-bhfd478d.js} +4 -4
- package/dist/chunks/{shell-nec8svhy.js → command-bjh3vmv5.js} +43 -43
- package/dist/chunks/{shell-esm60jbr.js → command-bkdrj0zy.js} +19 -19
- package/dist/chunks/{shell-bstexjd6.js → command-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-0b0ckd4f.js → command-bxe0aw9e.js} +9 -9
- package/dist/chunks/{shell-t9vheqbg.js → command-byf0b6xm.js} +5 -5
- package/dist/chunks/{shell-fer7ek0z.js → command-bz1arw6e.js} +6 -6
- package/dist/chunks/{shell-e69hcays.js → command-c1egm1nn.js} +24 -24
- package/dist/chunks/{shell-zadskqzh.js → command-c2q7km6r.js} +17 -17
- package/dist/chunks/{shell-x423karh.js → command-c4a7emrx.js} +1 -1
- package/dist/chunks/{shell-0ahs07zn.js → command-c6x7d2ts.js} +4 -4
- package/dist/chunks/{shell-9cfr47nv.js → command-c7mdr3tt.js} +19 -19
- package/dist/chunks/{shell-hwwehp3g.js → command-c7s3m25c.js} +22 -22
- package/dist/chunks/{shell-c7gk57p6.js → command-cm0nas3h.js} +4 -4
- package/dist/chunks/{shell-mwzkn054.js → command-cmvfhmsb.js} +93 -93
- package/dist/chunks/{shell-pgd10jsf.js → command-cne7cqc5.js} +84 -84
- package/dist/chunks/{shell-6s2f0w57.js → command-cp8y7shp.js} +12 -12
- package/dist/chunks/{shell-038m8ne0.js → command-cpvyzsr2.js} +43 -43
- package/dist/chunks/{shell-h879y26b.js → command-cq5y4bwh.js} +4 -4
- package/dist/chunks/{shell-5ygc3h7c.js → command-cqas00yk.js} +35 -35
- package/dist/chunks/{shell-c83hkj5n.js → command-crfxy42b.js} +18 -18
- package/dist/chunks/{shell-f0d8bamp.js → command-cs46pczn.js} +20 -20
- package/dist/chunks/{shell-a5wrqxe8.js → command-csrj7g1y.js} +4 -4
- package/dist/chunks/{shell-t55b5cgh.js → command-cstc266c.js} +16 -16
- package/dist/chunks/{shell-cwrgdav8.js → command-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-yb6m76fq.js → command-czvsneg4.js} +6 -6
- package/dist/chunks/{shell-d4v9tmah.js → command-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-bfmm6xpm.js → command-d59mb49e.js} +8 -8
- package/dist/chunks/{shell-3zek37hk.js → command-dea3z4bb.js} +18 -18
- package/dist/chunks/{shell-kwdx365q.js → command-dnvyz10m.js} +5 -5
- package/dist/chunks/{shell-znq320h5.js → command-dpm8gpv0.js} +34 -34
- package/dist/chunks/{shell-dt77769w.js → command-dt77769w.js} +1 -1
- package/dist/chunks/{shell-sp4wf9at.js → command-dtzqnag0.js} +51 -51
- package/dist/chunks/{shell-j29mft07.js → command-e13bmjpy.js} +6 -6
- package/dist/chunks/{shell-5kvjt3bj.js → command-e44wstv1.js} +1 -1
- package/dist/chunks/{shell-f475w8cc.js → command-e4n6nz14.js} +34 -34
- package/dist/chunks/{shell-5958t36d.js → command-e74ckb0h.js} +31 -31
- package/dist/chunks/{shell-ym7qyz8p.js → command-e7tn3wyq.js} +23 -23
- package/dist/chunks/{shell-3c6bvymb.js → command-e7y4cz54.js} +6 -6
- package/dist/chunks/{shell-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{shell-mae2tq53.js → command-e9wyjjw9.js} +31 -31
- package/dist/chunks/{shell-q878chk0.js → command-ea3m5w1p.js} +357 -357
- package/dist/chunks/{shell-w4e86a8d.js → command-eaq9psqk.js} +3 -3
- package/dist/chunks/{shell-x150ncgg.js → command-eavcrtrz.js} +2 -2
- package/dist/chunks/{shell-qa6d23rc.js → command-ebg34qcc.js} +3 -3
- package/dist/chunks/{shell-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shell-9gt3wynh.js → command-esrpj8rw.js} +11 -11
- package/dist/chunks/{shell-gh1c3w3b.js → command-etfbz5bk.js} +13 -13
- package/dist/chunks/command-ev660z6k.js +18 -0
- package/dist/chunks/{shell-zsqh38e7.js → command-eysjq4yd.js} +11 -11
- package/dist/chunks/{shell-nkxfbf5e.js → command-f222tsah.js} +24 -24
- package/dist/chunks/{shell-h5chy42v.js → command-f341sazs.js} +3 -3
- package/dist/chunks/{shell-kzdam8c6.js → command-f4krjp8e.js} +7 -7
- package/dist/chunks/{shell-dh9vehck.js → command-f51s9hem.js} +35 -35
- package/dist/chunks/{shell-2ktchv7q.js → command-fdvgj5bd.js} +60 -60
- package/dist/chunks/{shell-ceg1n2ed.js → command-ffcb8kyb.js} +49 -49
- package/dist/chunks/{shell-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-1pw3h209.js → command-ffz0kz1m.js} +16 -16
- package/dist/chunks/{shell-fg9p65nk.js → command-fg9p65nk.js} +2 -2
- package/dist/chunks/{shell-jr3xr1h7.js → command-fpx7q6na.js} +45 -45
- package/dist/chunks/{shell-0hqdgkh5.js → command-fq7y9kdg.js} +5 -5
- package/dist/chunks/{shell-qkc3z5ds.js → command-fstdtr31.js} +4 -4
- package/dist/chunks/{shell-f9j325ak.js → command-fwp42dz0.js} +7 -7
- package/dist/chunks/{shell-9gamnqat.js → command-fzjqfzm5.js} +19 -19
- package/dist/chunks/{shell-9kgh7y83.js → command-fzk0xcgn.js} +35 -35
- package/dist/chunks/{shell-by86as2b.js → command-g30c98sx.js} +33 -33
- package/dist/chunks/{shell-rhapzdzw.js → command-g61rwqe2.js} +20 -20
- package/dist/chunks/{shell-rp7apy8s.js → command-ga2ynj5d.js} +20 -20
- package/dist/chunks/{shell-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shell-2sgmqb4r.js → command-gbn2r6bs.js} +6 -6
- package/dist/chunks/{shell-bc28fm4b.js → command-gew2tfps.js} +15 -15
- package/dist/chunks/{shell-m2tvmwk7.js → command-ghnqkvf8.js} +25 -25
- package/dist/chunks/{shell-ghrv1g9c.js → command-ghrv1g9c.js} +1 -1
- package/dist/chunks/{shell-ek2jw6a6.js → command-grxrsdxn.js} +21 -21
- package/dist/chunks/{shell-r56mgjcm.js → command-h3tnm1rt.js} +16 -16
- package/dist/chunks/{shell-1wsmx976.js → command-h59r6t73.js} +13 -13
- package/dist/chunks/{shell-3qevzq3v.js → command-h9xvjfqn.js} +8 -8
- package/dist/chunks/command-hdsvhsqj.js +265 -0
- package/dist/chunks/{shell-6f6jm3cp.js → command-hjnjc3ts.js} +8 -8
- package/dist/chunks/{shell-h0xn00cp.js → command-hk9mpf0z.js} +5 -5
- package/dist/chunks/{shell-rmhx75t3.js → command-hnea1j6a.js} +20 -20
- package/dist/chunks/{shell-xbfvprv6.js → command-hpcc3d8k.js} +43 -43
- package/dist/chunks/{shell-k2pt82t5.js → command-hvcfry8a.js} +7 -7
- package/dist/chunks/{shell-j376ae4e.js → command-j376ae4e.js} +1 -1
- package/dist/chunks/{shell-57q7h3sb.js → command-j38knkv1.js} +13 -13
- package/dist/chunks/{shell-j9nxzz3g.js → command-j9nxzz3g.js} +3 -3
- package/dist/chunks/{shell-qsdghx1p.js → command-jg11hrrc.js} +4 -4
- package/dist/chunks/{shell-8xd9qe3w.js → command-jnfs9wfb.js} +8 -8
- package/dist/chunks/{shell-jxd6f16v.js → command-jxd6f16v.js} +2 -2
- package/dist/chunks/{shell-70bbyff8.js → command-k1efc4wa.js} +6 -6
- package/dist/chunks/{shell-53qfbpfe.js → command-k4vpzaap.js} +15 -15
- package/dist/chunks/{shell-51kwf5nv.js → command-k5crwfzg.js} +10 -10
- package/dist/chunks/{shell-ccgfr9ez.js → command-k6881rgx.js} +21 -21
- package/dist/chunks/{shell-kh8gdsej.js → command-kh8gdsej.js} +1 -1
- package/dist/chunks/{shell-12h4y8ck.js → command-khz19zrw.js} +35 -35
- package/dist/chunks/command-krjssjyg.js +26 -0
- package/dist/chunks/{shell-6krg8p5y.js → command-ks6aa6e4.js} +32 -32
- package/dist/chunks/{shell-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shell-nb93nqqa.js → command-kyq531r4.js} +32 -32
- package/dist/chunks/{shell-kzczzf4v.js → command-kzczzf4v.js} +1 -1
- package/dist/chunks/{shell-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{shell-yfmbdz01.js → command-m17k7hhh.js} +4 -4
- package/dist/chunks/{shell-q4r31kbf.js → command-m2h1t11e.js} +26 -26
- package/dist/chunks/{shell-5b4k3yeg.js → command-m7gzp546.js} +19 -19
- package/dist/chunks/{shell-6p0htpnz.js → command-m7v4y796.js} +14 -14
- package/dist/chunks/{shell-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-mb7mbhnz.js → command-mb7mbhnz.js} +3 -3
- package/dist/chunks/{shell-rahnahn3.js → command-mb94ewcq.js} +6 -6
- package/dist/chunks/{shell-wxs085yw.js → command-mhkz5fvf.js} +14 -14
- package/dist/chunks/{shell-pd38x771.js → command-na3mw78m.js} +6 -6
- package/dist/chunks/{shell-chbgvwzv.js → command-nc1mwh0d.js} +18 -18
- package/dist/chunks/{shell-b3a32pfz.js → command-nemnqzpn.js} +4 -4
- package/dist/chunks/{shell-s4vamwkg.js → command-nhvhxvdt.js} +12 -12
- package/dist/chunks/{shell-3yaf1m62.js → command-ntzzxe9p.js} +5 -5
- package/dist/chunks/{shell-5vxk5b4t.js → command-p0x9twv5.js} +22 -22
- package/dist/chunks/{shell-ckbkj3gw.js → command-p773c9xs.js} +25 -25
- package/dist/chunks/{shell-d0z9ywe4.js → command-peh6qfeq.js} +35 -35
- package/dist/chunks/{shell-gk0y4mdb.js → command-phxnccdn.js} +16 -16
- package/dist/chunks/{shell-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{shell-yjsamv7j.js → command-psrmseec.js} +43 -43
- package/dist/chunks/{shell-s79v6bct.js → command-px7qpgcn.js} +4 -4
- package/dist/chunks/{shell-n95h2jb4.js → command-q04nr405.js} +10 -10
- package/dist/chunks/{shell-1red2kdm.js → command-q6dw3yv1.js} +59 -59
- package/dist/chunks/{shell-9zqj0zpf.js → command-qbx41anh.js} +51 -51
- package/dist/chunks/{shell-mjmpc5sw.js → command-qcc200rj.js} +8 -8
- package/dist/chunks/{shell-qfz6bxfd.js → command-qfz6bxfd.js} +1 -1
- package/dist/chunks/{shell-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-0n2fsn41.js → command-qpe3mzzm.js} +21 -21
- package/dist/chunks/{shell-fxgpkf86.js → command-qqmdf724.js} +9 -9
- package/dist/chunks/{shell-qqvy8y24.js → command-qqvy8y24.js} +1 -1
- package/dist/chunks/{shell-6snqk0kd.js → command-qsjwh50e.js} +29 -29
- package/dist/chunks/{shell-gn6qas9s.js → command-r0wrga32.js} +8 -8
- package/dist/chunks/{shell-40za9wsf.js → command-r41sfy63.js} +6 -6
- package/dist/chunks/{shell-h511s8tx.js → command-r89d1c3z.js} +5 -5
- package/dist/chunks/{shell-0g554w4n.js → command-r92wkm9m.js} +38 -38
- package/dist/chunks/{shell-kd0nmecv.js → command-rawbcf75.js} +7 -7
- package/dist/chunks/{shell-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-rgc9cx3e.js → command-rgc9cx3e.js} +2 -2
- package/dist/chunks/{shell-qa8wq1bx.js → command-rgr196vp.js} +2 -2
- package/dist/chunks/{shell-55jhk77d.js → command-rha71f46.js} +4 -4
- package/dist/chunks/{shell-22dry1sr.js → command-rj3dsn2w.js} +15 -15
- package/dist/chunks/{shell-hq3r0yyq.js → command-rjeg9c4a.js} +6 -6
- package/dist/chunks/{shell-r1fnsf7p.js → command-rmv7fhs4.js} +6 -6
- package/dist/chunks/{shell-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-0djcdsjt.js → command-s0t7g96k.js} +10 -10
- package/dist/chunks/{shell-j0dfz3p0.js → command-s11d7eb9.js} +7 -7
- package/dist/chunks/{shell-s1ba0vj0.js → command-s1ba0vj0.js} +2 -2
- package/dist/chunks/{shell-bbv7h0sc.js → command-s320htan.js} +8 -8
- package/dist/chunks/{shell-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
- package/dist/chunks/{shell-akx86dnn.js → command-sabmrbhf.js} +25 -25
- package/dist/chunks/{shell-5bhey0ap.js → command-saq60637.js} +28 -28
- package/dist/chunks/{shell-rxtbt6kv.js → command-saykm3qf.js} +12 -12
- package/dist/chunks/{shell-sbya78hr.js → command-sbya78hr.js} +1 -1
- package/dist/chunks/{shell-2cdjxzfg.js → command-sbz71ybr.js} +3 -3
- package/dist/chunks/{shell-61qraad9.js → command-scmk72rv.js} +5 -5
- package/dist/chunks/{shell-ywz0n6pd.js → command-sepd17dr.js} +9 -9
- package/dist/chunks/{shell-vvpmgzp6.js → command-snhag6t6.js} +48 -48
- package/dist/chunks/{shell-svcy3p9a.js → command-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-tt6gt43w.js → command-swfrchhw.js} +5 -5
- package/dist/chunks/{shell-j37rnbkx.js → command-syhk5kgt.js} +11 -11
- package/dist/chunks/{shell-4bkthaey.js → command-t2pg5vzh.js} +31 -31
- package/dist/chunks/{shell-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-gxs71cxp.js → command-tg7s7b5t.js} +4 -4
- package/dist/chunks/{shell-cjp0k87c.js → command-tkwtbhmp.js} +11 -11
- package/dist/chunks/{shell-9mjjkw01.js → command-tm5f056h.js} +3 -3
- package/dist/chunks/{shell-7y2zpb6b.js → command-tqw0ps8q.js} +4 -4
- package/dist/chunks/{shell-nvdvnz35.js → command-tt1t8ta0.js} +12 -12
- package/dist/chunks/{shell-tvtps2q9.js → command-tvtps2q9.js} +1 -1
- package/dist/chunks/{shell-twssxy5n.js → command-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-sh9a1hwy.js → command-v3km2bj0.js} +9 -9
- package/dist/chunks/{shell-5060mq2j.js → command-v5jcrjch.js} +21 -21
- package/dist/chunks/{shell-6y4awd4z.js → command-v7a5f7fs.js} +13 -13
- package/dist/chunks/{shell-3pb2qskw.js → command-v8r6m231.js} +26 -26
- package/dist/chunks/{shell-xp6dqf4j.js → command-v8vd993n.js} +8 -8
- package/dist/chunks/{shell-qxc3vksa.js → command-v97q42wb.js} +8 -8
- package/dist/chunks/{shell-jevmxyvj.js → command-vabkyy3n.js} +50 -50
- package/dist/chunks/{shell-mk8zq1xj.js → command-ve22198q.js} +28 -28
- package/dist/chunks/{shell-qqrzc0yh.js → command-vgs3tmp3.js} +6 -6
- package/dist/chunks/{shell-vjf35v1f.js → command-vjf35v1f.js} +1 -1
- package/dist/chunks/{shell-8hze26f7.js → command-vjkzj3kq.js} +39 -39
- package/dist/chunks/{shell-qtf35215.js → command-vnjc296t.js} +3 -3
- package/dist/chunks/{shell-5xshmq58.js → command-vsz0eq6m.js} +16 -16
- package/dist/chunks/{shell-4g3sdj5g.js → command-vt4r9rmy.js} +9 -9
- package/dist/chunks/{shell-1ryprd9x.js → command-w2280fc1.js} +11 -11
- package/dist/chunks/{shell-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-kgmdm1mc.js → command-w87hzrb3.js} +6 -6
- package/dist/chunks/{shell-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-yd109x35.js → command-wayr15s4.js} +23 -23
- package/dist/chunks/{shell-ep83ykpf.js → command-wcytbmeq.js} +3 -3
- package/dist/chunks/{shell-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{shell-wegkxhrn.js → command-wegkxhrn.js} +2 -2
- package/dist/chunks/{shell-a53xz8je.js → command-wg0s4x2q.js} +9 -9
- package/dist/chunks/{shell-dcsvd9bq.js → command-wh82crey.js} +17 -17
- package/dist/chunks/{shell-ekxc8d5q.js → command-wngp49ab.js} +5 -5
- package/dist/chunks/{shell-wnhgecwx.js → command-wnhgecwx.js} +1 -1
- package/dist/chunks/{shell-6y2b864j.js → command-wvr8xscb.js} +4 -4
- package/dist/chunks/{shell-xw8c6gnm.js → command-x1z6a9tw.js} +14 -14
- package/dist/chunks/{shell-5jx03shd.js → command-x56px1pc.js} +188 -188
- package/dist/chunks/{shell-0a6k6phd.js → command-xan9rsx8.js} +8 -8
- package/dist/chunks/{shell-npdgcan7.js → command-xdhgxatc.js} +16 -16
- package/dist/chunks/{shell-5jztgy8x.js → command-xdngrvng.js} +8 -8
- package/dist/chunks/{shell-zyfhsknv.js → command-xe6pezxp.js} +9 -9
- package/dist/chunks/{shell-xjr6c8m4.js → command-xjr6c8m4.js} +1 -1
- package/dist/chunks/{shell-6e65c26n.js → command-xrvce4qw.js} +16 -16
- package/dist/chunks/{shell-kn5pgt03.js → command-y0etrvew.js} +14 -14
- package/dist/chunks/{shell-x950xzef.js → command-yahhwfnh.js} +18 -18
- package/dist/chunks/{shell-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-gg6ydb9v.js → command-yc3ccsjh.js} +4 -4
- package/dist/chunks/{shell-5v51mt63.js → command-yd55qw15.js} +6 -6
- package/dist/chunks/{shell-kmzgegqq.js → command-ydsespw1.js} +8 -8
- package/dist/chunks/{shell-7f4r8bs9.js → command-ymgc33ap.js} +5 -5
- package/dist/chunks/{shell-yr705xyq.js → command-yr705xyq.js} +1 -1
- package/dist/chunks/{shell-yvtc2x31.js → command-yvtc2x31.js} +1 -1
- package/dist/chunks/{shell-xertjmz1.js → command-z3hx70ce.js} +5 -5
- package/dist/chunks/{shell-7jqp1j3q.js → command-z3v3hmej.js} +31 -31
- package/dist/chunks/{shell-g8kgv83r.js → command-z8c7spxp.js} +17 -17
- package/dist/chunks/{shell-tah62rx7.js → command-zgq5ynfz.js} +4 -4
- package/dist/chunks/{shell-5a65b5yp.js → command-zj1a0tt8.js} +31 -31
- package/dist/chunks/{shell-cc5m3ng3.js → command-zma2brvv.js} +2 -2
- package/dist/chunks/{shell-qby2zbqt.js → command-zpw0hdvn.js} +27 -27
- package/dist/chunks/{shell-ks3cm6m9.js → command-zrbfykn4.js} +11 -11
- package/dist/chunks/{shell-ej8c8e21.js → command-zwqtwbqk.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 +90 -90
- 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 +131 -131
- package/dist/config/plugin/command.js +232 -232
- package/dist/config/plugin/compaction.js +169 -169
- 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 +139 -139
- 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 +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 +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +130 -130
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +435 -435
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/form.js +93 -93
- 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 +426 -426
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- 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 +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -423
- package/dist/location.js +102 -102
- 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 +120 -120
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- 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 +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- 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 +87 -87
- 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 +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +402 -402
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- 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 +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- 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 +4 -4
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- 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 +3 -3
- 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 +138 -138
- 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 +138 -138
- 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 +81 -81
- 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 +412 -412
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- 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 +110 -110
- 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 +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +243 -243
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- 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 +171 -171
- package/dist/session/context.js +200 -200
- 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 +244 -244
- package/dist/session/execution.js +161 -161
- 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 +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +165 -165
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +252 -252
- 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 +182 -182
- 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 +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +231 -231
- 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 +242 -242
- package/dist/session/usage.js +1 -1
- 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 +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- 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 +230 -230
- 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 +241 -241
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +249 -249
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +149 -149
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +114 -114
- 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 +98 -98
- 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 +1 -1
- 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 +99 -99
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/shell-47mgcevd.js +0 -18
- package/dist/chunks/shell-7m4xrat3.js +0 -265
- package/dist/chunks/shell-hsexgbfa.js +0 -26
- /package/dist/chunks/{shell-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-108x4f4w.js → command-108x4f4w.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kah00gy.js → command-1kah00gy.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3af0jn4w.js → command-3af0jn4w.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4qk9sjk2.js → command-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → command-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6agm2x70.js → command-6agm2x70.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → command-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bhmrqjy3.js → command-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → command-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-ean2d8b5.js → command-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → command-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-nh4v3znn.js → command-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → command-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-syrav9an.js → command-syrav9an.js} +0 -0
- /package/dist/chunks/{shell-t03h4f5z.js → command-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shell-ty7weeps.js → command-ty7weeps.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-vtarvj67.js → command-vtarvj67.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z0h12gs8.js → command-z0h12gs8.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → command-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zxpyjp51.js → command-zxpyjp51.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizeContent2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-z0h12gs8.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-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: () => Plugin33,
|
|
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 Plugin33 = 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 { Plugin33, exports_tool_input_repair };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make32,
|
|
5
5
|
listUpdate2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-d59mb49e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID9,
|
|
9
9
|
Name2,
|
|
10
10
|
available4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service49,
|
|
12
|
+
node52
|
|
13
|
+
} from "./command-ghnqkvf8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service34,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node38
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID9,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -56,15 +56,15 @@ var update = listUpdate2({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service34 extends Context.Service()("@opencode/SkillInstructions") {
|
|
60
60
|
}
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const skills = yield*
|
|
63
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
62
|
+
const skills = yield* Service49;
|
|
63
|
+
return Service34.of({
|
|
64
64
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
65
65
|
const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
66
|
-
return
|
|
67
|
-
key:
|
|
66
|
+
return make32({
|
|
67
|
+
key: Key4.make("core/skill-guidance"),
|
|
68
68
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
69
69
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
70
70
|
render: {
|
|
@@ -76,6 +76,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node52] });
|
|
80
80
|
|
|
81
|
-
export {
|
|
81
|
+
export { Service34, node38, exports_instructions3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-3r4w7sja.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service89,
|
|
7
|
+
node91
|
|
8
|
+
} from "./command-m7v4y796.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_credential, {
|
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event20,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID19,
|
|
26
|
+
Info: () => Info28,
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service84,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node86
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID19 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
|
-
var
|
|
42
|
+
var Key3 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
45
|
var Event20 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID19,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service84 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service91).db;
|
|
59
|
-
const bus = yield*
|
|
59
|
+
const bus = yield* Service89;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info28({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
83
83
|
yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
|
|
84
84
|
});
|
|
85
85
|
const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
|
|
86
|
-
return
|
|
86
|
+
return Service84.of({
|
|
87
87
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
88
88
|
const current = pending.get(id);
|
|
89
89
|
if (current)
|
|
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
99
99
|
return row ? stored(row) : undefined;
|
|
100
100
|
}),
|
|
101
101
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
102
|
-
const credential = new
|
|
103
|
-
id: input.id ??
|
|
102
|
+
const credential = new Info28({
|
|
103
|
+
id: input.id ?? ID19.create(),
|
|
104
104
|
integrationID: input.integrationID,
|
|
105
105
|
label: input.label ?? "default",
|
|
106
106
|
value: input.value
|
|
@@ -207,6 +207,6 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
207
207
|
})
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
var
|
|
210
|
+
var node86 = makeGlobalNode({ service: Service84, layer, deps: [node94, node91, EffectFlock.node] });
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { ID19, OAuth3, Key3, External2, Value2, Event20, Info28, Service84, node86, exports_credential };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node91
|
|
4
|
+
} from "./command-m7v4y796.js";
|
|
5
|
+
import {
|
|
6
|
+
Service88,
|
|
7
|
+
node90
|
|
8
|
+
} from "./command-nhvhxvdt.js";
|
|
5
9
|
import {
|
|
6
10
|
Service86,
|
|
7
11
|
node88
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service84,
|
|
11
|
-
node86
|
|
12
|
-
} from "./shell-r3tcmkcs.js";
|
|
12
|
+
} from "./command-3dtj5d08.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node80
|
|
16
|
+
} from "./command-ffz0kz1m.js";
|
|
17
17
|
import {
|
|
18
18
|
awaitActivation2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-ev660z6k.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node25
|
|
22
|
+
} from "./command-bkdrj0zy.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./command-vt4r9rmy.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service86;
|
|
47
|
+
const watcher = yield* Service78;
|
|
48
|
+
const bus = yield* Service89;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service88;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node80, FSUtil.node, node88, node90, node91, node25, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-3r4w7sja.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./command-w87hzrb3.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-ev660z6k.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-sepd17dr.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-qsjwh50e.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service33
|
|
18
|
+
} from "./command-267919z8.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-wnhgecwx.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service65;
|
|
36
36
|
const database = yield* Service91;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service33;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-3r4w7sja.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./command-5xfssjfj.js";
|
|
12
12
|
import {
|
|
13
13
|
DirectoryNotFoundError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-2twam6pg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service65,
|
|
17
|
+
node67
|
|
18
|
+
} from "./command-w87hzrb3.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-mb7mbhnz.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service63,
|
|
27
|
+
node66
|
|
28
|
+
} from "./command-4p7jmbsw.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service31,
|
|
31
|
+
node34
|
|
32
|
+
} from "./command-cmvfhmsb.js";
|
|
33
33
|
import {
|
|
34
34
|
validate2,
|
|
35
35
|
describe2,
|
|
36
36
|
authorize2,
|
|
37
37
|
evaluate2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./command-3r5g8d5e.js";
|
|
39
39
|
import {
|
|
40
40
|
ScheduleTable2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./command-wegkxhrn.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./command-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/schedule.ts
|
|
47
47
|
var exports_schedule2 = {};
|
|
48
48
|
__export(exports_schedule2, {
|
|
49
49
|
Condition: () => Condition2,
|
|
50
50
|
ConditionInput: () => ConditionInput2,
|
|
51
|
-
CreateInput: () =>
|
|
51
|
+
CreateInput: () => CreateInput3,
|
|
52
52
|
DisabledError: () => DisabledError2,
|
|
53
|
-
ID: () =>
|
|
54
|
-
Info: () =>
|
|
53
|
+
ID: () => ID5,
|
|
54
|
+
Info: () => Info5,
|
|
55
55
|
InvalidError: () => InvalidError2,
|
|
56
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError3,
|
|
57
57
|
Outcome: () => Outcome3,
|
|
58
58
|
Request: () => Request2,
|
|
59
59
|
Schedule: () => exports_schedule2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service22,
|
|
61
61
|
Status: () => Status2,
|
|
62
62
|
When: () => When2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node24,
|
|
64
64
|
toCreateInput: () => toCreateInput2
|
|
65
65
|
});
|
|
66
66
|
import { randomUUID } from "node:crypto";
|
|
@@ -70,18 +70,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
70
70
|
import {
|
|
71
71
|
Condition as Condition2,
|
|
72
72
|
ConditionInput as ConditionInput2,
|
|
73
|
-
CreateInput as
|
|
73
|
+
CreateInput as CreateInput3,
|
|
74
74
|
durationMillis,
|
|
75
|
-
ID as
|
|
76
|
-
Info as
|
|
75
|
+
ID as ID5,
|
|
76
|
+
Info as Info5,
|
|
77
77
|
Outcome as Outcome3,
|
|
78
78
|
Request as Request2,
|
|
79
79
|
Status as Status2,
|
|
80
80
|
toCreateInput as toCreateInput2,
|
|
81
81
|
When as When2
|
|
82
82
|
} from "@opencode/schema/schedule";
|
|
83
|
-
class
|
|
84
|
-
scheduleID:
|
|
83
|
+
class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
84
|
+
scheduleID: ID5
|
|
85
85
|
}) {
|
|
86
86
|
get message() {
|
|
87
87
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -102,7 +102,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service22 extends Context.Service()("@opencode/Schedule") {
|
|
106
106
|
}
|
|
107
107
|
var MINUTE = 60000;
|
|
108
108
|
var HOUR = 60 * MINUTE;
|
|
@@ -188,15 +188,15 @@ var toInfo = (row, lastOutput) => ({
|
|
|
188
188
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
189
189
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
190
190
|
});
|
|
191
|
-
var layer = Layer.effect(
|
|
191
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
192
192
|
const database = yield* Service91;
|
|
193
193
|
const db = database.db;
|
|
194
|
-
const sessions = yield*
|
|
195
|
-
const instances = yield*
|
|
196
|
-
const execution = yield*
|
|
194
|
+
const sessions = yield* Service31;
|
|
195
|
+
const instances = yield* Service65;
|
|
196
|
+
const execution = yield* Service63;
|
|
197
197
|
const doorbell = yield* Latch.make();
|
|
198
198
|
const settings = (session) => Effect.gen(function* () {
|
|
199
|
-
const config = yield* Effect.serviceOption(
|
|
199
|
+
const config = yield* Effect.serviceOption(Service77);
|
|
200
200
|
if (Option.isNone(config))
|
|
201
201
|
return { enabled: false, timezone: undefined };
|
|
202
202
|
const entries = yield* config.value.entries();
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
205
205
|
timezone: latest2(entries, "timezone")
|
|
206
206
|
};
|
|
207
207
|
}).pipe(instances.provide(session));
|
|
208
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
208
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
|
|
209
209
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
210
210
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
211
211
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -479,7 +479,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
479
479
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
480
480
|
return Math.min(at.value, after ?? at.value);
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service22.of({
|
|
483
483
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
484
484
|
const session = yield* sessions.get(input.sessionID);
|
|
485
485
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -498,7 +498,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
498
498
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
499
499
|
if (ends !== null && due > ends)
|
|
500
500
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
501
|
-
const scheduleID =
|
|
501
|
+
const scheduleID = ID5.create();
|
|
502
502
|
const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
|
|
503
503
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
|
|
504
504
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -591,10 +591,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
591
591
|
run
|
|
592
592
|
});
|
|
593
593
|
}));
|
|
594
|
-
var
|
|
595
|
-
service:
|
|
594
|
+
var node24 = makeGlobalNode({
|
|
595
|
+
service: Service22,
|
|
596
596
|
layer,
|
|
597
|
-
deps: [node94,
|
|
597
|
+
deps: [node94, node34, node66, node67]
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
export { Condition2, ConditionInput2,
|
|
600
|
+
export { Condition2, ConditionInput2, CreateInput3, ID5, Info5, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service22, node24, exports_schedule2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/tools/pending.ts
|
|
6
6
|
var exports_pending = {};
|
|
7
7
|
__export(exports_pending, {
|
|
8
8
|
PendingTools: () => exports_pending,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make6
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make6() {
|
|
12
12
|
const calls = new Map;
|
|
13
13
|
const replacements = new Map;
|
|
14
14
|
let next;
|
|
@@ -64,4 +64,4 @@ function make4() {
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
export {
|
|
67
|
+
export { make6, exports_pending };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./command-5xfssjfj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./command-vabkyy3n.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin48,
|
|
16
16
|
register: () => register8
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin48 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register8(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service77;
|
|
28
|
+
const mcp = yield* Service44;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin48, register8, exports_mcp2 };
|