@opencode/core 0.0.0-dev-522 → 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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +246 -246
- package/dist/bus.js +86 -86
- package/dist/chunks/{model-retry-8b6vc372.js → command-02nh6cag.js} +59 -59
- package/dist/chunks/{model-retry-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-3adw4bt5.js → command-04whjz6n.js} +9 -9
- package/dist/chunks/{model-retry-byj3h104.js → command-064m87rv.js} +25 -25
- package/dist/chunks/{model-retry-0m2wn4td.js → command-074d9wa5.js} +33 -33
- package/dist/chunks/{model-retry-npsqt33r.js → command-09j79agv.js} +8 -8
- package/dist/chunks/{model-retry-0n28khqy.js → command-0abspak8.js} +9 -9
- package/dist/chunks/{model-retry-xmxf0jav.js → command-0d8x3dj0.js} +22 -22
- package/dist/chunks/{model-retry-j6hzybbs.js → command-0gnxgj27.js} +9 -9
- package/dist/chunks/{model-retry-0h86f0az.js → command-0h86f0az.js} +4 -4
- package/dist/chunks/{model-retry-0j7gp832.js → command-0j7gp832.js} +1 -1
- package/dist/chunks/{model-retry-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-retry-hvt5qccz.js → command-0rnqyjrn.js} +9 -9
- package/dist/chunks/{model-retry-eg634yz2.js → command-0tpp4vdc.js} +19 -19
- package/dist/chunks/{model-retry-t6m54dwp.js → command-11mfvh52.js} +5 -5
- package/dist/chunks/{model-retry-1aqsckx4.js → command-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-retry-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-z5tnba5f.js → command-1jstmwa4.js} +17 -17
- package/dist/chunks/{model-retry-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-e0jw5zf9.js → command-1y4mz3vx.js} +29 -29
- package/dist/chunks/{model-retry-1yq9hg58.js → command-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-retry-3mc10hy0.js → command-1zb12d2z.js} +12 -12
- package/dist/chunks/{model-retry-k6ymtmb5.js → command-23ews3mh.js} +5 -5
- package/dist/chunks/{model-retry-kanv5jxz.js → command-256e7gvp.js} +11 -11
- package/dist/chunks/{model-retry-dx1wjjx5.js → command-267919z8.js} +87 -87
- package/dist/chunks/{model-retry-kze6nzna.js → command-26wfx3k0.js} +7 -7
- package/dist/chunks/{model-retry-23ec8jz8.js → command-27qw66hx.js} +14 -14
- package/dist/chunks/{model-retry-mf63ygpr.js → command-2kg89srt.js} +4 -4
- package/dist/chunks/{model-retry-jeg20vnb.js → command-2tk0wm70.js} +23 -23
- package/dist/chunks/{model-retry-xdg7qpd5.js → command-2twam6pg.js} +21 -21
- package/dist/chunks/{model-retry-m979knme.js → command-2yy5117a.js} +6 -6
- package/dist/chunks/{model-retry-gpsveqwr.js → command-351t3psw.js} +15 -15
- package/dist/chunks/{model-retry-0yrs0ja2.js → command-362dybbw.js} +11 -11
- package/dist/chunks/{model-retry-2tqrg817.js → command-3deqpp53.js} +7 -7
- package/dist/chunks/{model-retry-714sva13.js → command-3dtj5d08.js} +16 -16
- package/dist/chunks/{model-retry-hcjkd60y.js → command-3ge6n67g.js} +28 -28
- package/dist/chunks/{model-retry-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-90khhth6.js → command-3k081308.js} +29 -29
- package/dist/chunks/{model-retry-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-twp2mmjd.js → command-3qdn8ppp.js} +29 -29
- package/dist/chunks/{model-retry-x2ndfy6h.js → command-3r4w7sja.js} +3 -3
- package/dist/chunks/{model-retry-1hzp2809.js → command-3r5g8d5e.js} +32 -32
- package/dist/chunks/{model-retry-40y6dtc2.js → command-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-retry-kkcrh3pd.js → command-44s91745.js} +20 -20
- package/dist/chunks/{model-retry-qf6vnvtz.js → command-4agpc0tz.js} +20 -20
- package/dist/chunks/{model-retry-4dx1dgte.js → command-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-retry-hx3v7gkd.js → command-4eq227ph.js} +10 -10
- package/dist/chunks/{model-retry-r542h3bh.js → command-4f25tdd0.js} +5 -5
- package/dist/chunks/{model-retry-1e7234jn.js → command-4h9tcrpz.js} +16 -16
- package/dist/chunks/{model-retry-6f7h967y.js → command-4kbwy8va.js} +20 -20
- package/dist/chunks/{model-retry-h5gm5jf1.js → command-4krz84m7.js} +7 -7
- package/dist/chunks/{model-retry-chy84r4k.js → command-4p7jmbsw.js} +39 -39
- package/dist/chunks/{model-retry-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-retry-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-fh4mtqct.js → command-4y1sz0ad.js} +19 -19
- package/dist/chunks/{model-retry-e3apafn0.js → command-4z1vr99c.js} +14 -14
- package/dist/chunks/{model-retry-m1sd1nzj.js → command-55g5r261.js} +28 -28
- package/dist/chunks/{model-retry-2379nghw.js → command-57bahrw8.js} +18 -18
- package/dist/chunks/{model-retry-hr3kczcs.js → command-5ab64ye4.js} +9 -9
- package/dist/chunks/{model-retry-n4rc99nq.js → command-5fcjamkr.js} +25 -25
- package/dist/chunks/{model-retry-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-b96e45z7.js → command-5qnv1593.js} +7 -7
- package/dist/chunks/{model-retry-6xyc0kax.js → command-5vzraghn.js} +18 -18
- package/dist/chunks/{model-retry-mcvp24xr.js → command-5xfssjfj.js} +46 -46
- package/dist/chunks/{model-retry-50d0hzz1.js → command-5xmc3nyq.js} +11 -11
- package/dist/chunks/{model-retry-brv6mkyx.js → command-67wwskyb.js} +4 -4
- package/dist/chunks/{model-retry-evw2arw5.js → command-6am4kvx9.js} +18 -18
- package/dist/chunks/{model-retry-8y1x94rh.js → command-6cabf9xq.js} +35 -35
- package/dist/chunks/{model-retry-1v68nqjc.js → command-6d042k20.js} +3 -3
- package/dist/chunks/{model-retry-jhwp234h.js → command-6dqyy18z.js} +4 -4
- package/dist/chunks/{model-retry-zx68twwp.js → command-6e9v7fez.js} +10 -10
- package/dist/chunks/{model-retry-vmrnw26k.js → command-6kw9fchk.js} +4 -4
- package/dist/chunks/{model-retry-775hqbnd.js → command-775hqbnd.js} +3 -3
- package/dist/chunks/{model-retry-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-dfj6hfj3.js → command-7gf2jzy9.js} +46 -46
- package/dist/chunks/{model-retry-kmekj7m2.js → command-7nqkf5r1.js} +4 -4
- package/dist/chunks/{model-retry-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-7weczvnd.js → command-7weczvnd.js} +1 -1
- package/dist/chunks/{model-retry-dtne69m2.js → command-81g68a4p.js} +10 -10
- package/dist/chunks/{model-retry-52bq3fza.js → command-82d3wjfb.js} +12 -12
- package/dist/chunks/{model-retry-f32m8sjz.js → command-82phgae0.js} +5 -5
- package/dist/chunks/{model-retry-0j2whhmm.js → command-85xpp1tt.js} +2 -2
- package/dist/chunks/{model-retry-89287pr7.js → command-89287pr7.js} +1 -1
- package/dist/chunks/{model-retry-8b3vzgkx.js → command-8b3vzgkx.js} +1 -1
- package/dist/chunks/{model-retry-8cg7mtm3.js → command-8cg7mtm3.js} +1 -1
- package/dist/chunks/{model-retry-kkmtmrgc.js → command-8d9df08g.js} +11 -11
- package/dist/chunks/{model-retry-pe2nkaqs.js → command-8mfptry9.js} +20 -20
- package/dist/chunks/{model-retry-8sxe6kv8.js → command-8sxe6kv8.js} +2 -2
- package/dist/chunks/{model-retry-3qgwywyc.js → command-8t99kr38.js} +4 -4
- package/dist/chunks/{model-retry-mn48dts9.js → command-8whgbgnz.js} +12 -12
- package/dist/chunks/{model-retry-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-bsmhfrg4.js → command-90ej8wzb.js} +4 -4
- package/dist/chunks/{model-retry-90zstvax.js → command-90zstvax.js} +1 -1
- package/dist/chunks/{model-retry-vhbaker9.js → command-917fdf9n.js} +25 -25
- package/dist/chunks/{model-retry-96djdqw5.js → command-96djdqw5.js} +4 -4
- package/dist/chunks/{model-retry-313pdhz2.js → command-98qzw0ke.js} +13 -13
- package/dist/chunks/{model-retry-6tdmx8x3.js → command-9epwes7t.js} +37 -37
- package/dist/chunks/{model-retry-fwv5jk54.js → command-9q6w3bb8.js} +12 -12
- package/dist/chunks/{model-retry-5nt4d42h.js → command-9qayxaw8.js} +22 -22
- package/dist/chunks/{model-retry-rzrpwr1q.js → command-9sq79qyq.js} +29 -29
- package/dist/chunks/{model-retry-040ahvwp.js → command-9za8by3m.js} +18 -18
- package/dist/chunks/{model-retry-0tcj55vp.js → command-9zsb5378.js} +9 -9
- package/dist/chunks/{model-retry-g1p8tryc.js → command-a07cmgbn.js} +11 -11
- package/dist/chunks/{model-retry-p1x6snt1.js → command-acnzt9vb.js} +4 -4
- package/dist/chunks/{model-retry-ayy9hq9v.js → command-agm27xf5.js} +23 -23
- package/dist/chunks/{model-retry-fep26vdr.js → command-ah83p6t6.js} +6 -6
- package/dist/chunks/{model-retry-r7f89qmp.js → command-anvcme1c.js} +4 -4
- package/dist/chunks/{model-retry-45fvmn93.js → command-aszkk4sv.js} +36 -36
- package/dist/chunks/{model-retry-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-dfxqvc4e.js → command-b1xvtxqp.js} +5 -5
- package/dist/chunks/{model-retry-pcz6jjc3.js → command-b5bymvf0.js} +22 -22
- package/dist/chunks/{model-retry-b6vsg801.js → command-b6vsg801.js} +2 -2
- package/dist/chunks/{model-retry-0h8y3ex8.js → command-b6z35kmf.js} +4 -4
- package/dist/chunks/{model-retry-5tsqkt8q.js → command-bdtsfe6m.js} +36 -36
- package/dist/chunks/{model-retry-5n0rnk8e.js → command-bhfd478d.js} +4 -4
- package/dist/chunks/{model-retry-s7teqg5a.js → command-bjh3vmv5.js} +39 -39
- package/dist/chunks/{model-retry-m8gg2r61.js → command-bkdrj0zy.js} +18 -18
- package/dist/chunks/{model-retry-bstexjd6.js → command-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-sx3k1r24.js → command-bxe0aw9e.js} +12 -12
- package/dist/chunks/{model-retry-ympz6dt8.js → command-byf0b6xm.js} +5 -5
- package/dist/chunks/{model-retry-qst89rrd.js → command-bz1arw6e.js} +3 -3
- package/dist/chunks/{model-retry-t5ja9d0g.js → command-c1egm1nn.js} +24 -24
- package/dist/chunks/{model-retry-grkedb35.js → command-c2q7km6r.js} +15 -15
- package/dist/chunks/{model-retry-87n69sem.js → command-c4a7emrx.js} +1 -1
- package/dist/chunks/{model-retry-0ahs07zn.js → command-c6x7d2ts.js} +4 -4
- package/dist/chunks/{model-retry-4m58d2b7.js → command-c7mdr3tt.js} +19 -19
- package/dist/chunks/{model-retry-56xvxeba.js → command-c7s3m25c.js} +20 -20
- package/dist/chunks/{model-retry-qwz12hkq.js → command-cm0nas3h.js} +4 -4
- package/dist/chunks/{model-retry-5tktyjsz.js → command-cmvfhmsb.js} +91 -91
- package/dist/chunks/{model-retry-bzbtkgr3.js → command-cne7cqc5.js} +83 -83
- package/dist/chunks/{model-retry-wtppas8f.js → command-cp8y7shp.js} +15 -15
- package/dist/chunks/{model-retry-bh17g5gv.js → command-cpvyzsr2.js} +43 -43
- package/dist/chunks/{model-retry-2ywepbfj.js → command-cq5y4bwh.js} +4 -4
- package/dist/chunks/{model-retry-nj5362c0.js → command-cqas00yk.js} +33 -33
- package/dist/chunks/{model-retry-absdbppj.js → command-crfxy42b.js} +18 -18
- package/dist/chunks/{model-retry-0shwd63d.js → command-cs46pczn.js} +28 -28
- package/dist/chunks/{model-retry-byr6f84d.js → command-csrj7g1y.js} +4 -4
- package/dist/chunks/{model-retry-zx7hpb7p.js → command-cstc266c.js} +21 -21
- package/dist/chunks/{model-retry-cwrgdav8.js → command-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-retry-84p2h2nr.js → command-czvsneg4.js} +13 -13
- package/dist/chunks/{model-retry-d4v9tmah.js → command-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-3spf441s.js → command-d59mb49e.js} +8 -8
- package/dist/chunks/{model-retry-y0f40vmx.js → command-dea3z4bb.js} +21 -21
- package/dist/chunks/{model-retry-4et74f6b.js → command-dnvyz10m.js} +5 -5
- package/dist/chunks/{model-retry-6kfhwn66.js → command-dpm8gpv0.js} +34 -34
- package/dist/chunks/{model-retry-dt77769w.js → command-dt77769w.js} +1 -1
- package/dist/chunks/{model-retry-3j3557gf.js → command-dtzqnag0.js} +44 -44
- package/dist/chunks/{model-retry-687fy18w.js → command-e13bmjpy.js} +9 -9
- package/dist/chunks/{model-retry-5pr10cy5.js → command-e44wstv1.js} +4 -4
- package/dist/chunks/{model-retry-05gcdst7.js → command-e4n6nz14.js} +34 -34
- package/dist/chunks/{model-retry-ene5d8sz.js → command-e74ckb0h.js} +31 -31
- package/dist/chunks/{model-retry-mmmhs07p.js → command-e7tn3wyq.js} +22 -22
- package/dist/chunks/{model-retry-w00pmpz4.js → command-e7y4cz54.js} +8 -8
- package/dist/chunks/{model-retry-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-n6gzv18t.js → command-e9wyjjw9.js} +31 -31
- package/dist/chunks/{model-retry-fnctwaab.js → command-ea3m5w1p.js} +364 -364
- package/dist/chunks/{model-retry-133hy8g0.js → command-eaq9psqk.js} +3 -3
- package/dist/chunks/{model-retry-55g2q5p5.js → command-eavcrtrz.js} +2 -2
- package/dist/chunks/{model-retry-d1tfjsd6.js → command-ebg34qcc.js} +3 -3
- package/dist/chunks/{model-retry-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-retry-dnern54h.js → command-esrpj8rw.js} +11 -11
- package/dist/chunks/{model-retry-ak1hfr5m.js → command-etfbz5bk.js} +13 -13
- package/dist/chunks/command-ev660z6k.js +18 -0
- package/dist/chunks/{model-retry-xvjkaw2n.js → command-eysjq4yd.js} +11 -11
- package/dist/chunks/{model-retry-65jde9q7.js → command-f222tsah.js} +22 -22
- package/dist/chunks/{model-retry-rj7jtxy8.js → command-f341sazs.js} +3 -3
- package/dist/chunks/{model-retry-ep6pe98a.js → command-f4krjp8e.js} +5 -5
- package/dist/chunks/{model-retry-nc4hvdtz.js → command-f51s9hem.js} +31 -31
- package/dist/chunks/{model-retry-paj10b95.js → command-fdvgj5bd.js} +58 -58
- package/dist/chunks/{model-retry-gdgh5wxk.js → command-ffcb8kyb.js} +49 -49
- package/dist/chunks/{model-retry-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-v8wxce3j.js → command-ffz0kz1m.js} +16 -16
- package/dist/chunks/{model-retry-fg9p65nk.js → command-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-retry-edccdjgn.js → command-fpx7q6na.js} +45 -45
- package/dist/chunks/{model-retry-r343yv53.js → command-fq7y9kdg.js} +5 -5
- package/dist/chunks/{model-retry-w9w8mt4n.js → command-fstdtr31.js} +4 -4
- package/dist/chunks/{model-retry-7n50n386.js → command-fwp42dz0.js} +7 -7
- package/dist/chunks/{model-retry-2zt8ns9h.js → command-fzjqfzm5.js} +19 -19
- package/dist/chunks/{model-retry-q4aaye94.js → command-fzk0xcgn.js} +30 -30
- package/dist/chunks/{model-retry-046swykb.js → command-g30c98sx.js} +43 -43
- package/dist/chunks/{model-retry-26vw3nkf.js → command-g61rwqe2.js} +20 -20
- package/dist/chunks/{model-retry-n8c07vr4.js → command-ga2ynj5d.js} +20 -20
- package/dist/chunks/{model-retry-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-retry-dznv9wr0.js → command-gbn2r6bs.js} +6 -6
- package/dist/chunks/{model-retry-8ghknd81.js → command-gew2tfps.js} +15 -15
- package/dist/chunks/{model-retry-qpq3aa4d.js → command-ghnqkvf8.js} +27 -27
- package/dist/chunks/{model-retry-ghrv1g9c.js → command-ghrv1g9c.js} +1 -1
- package/dist/chunks/{model-retry-d67xjgd2.js → command-grxrsdxn.js} +8 -8
- package/dist/chunks/{model-retry-h4ng16ej.js → command-h3tnm1rt.js} +16 -16
- package/dist/chunks/{model-retry-ahjhkwwj.js → command-h59r6t73.js} +17 -17
- package/dist/chunks/{model-retry-w9df92qk.js → command-h9xvjfqn.js} +11 -11
- package/dist/chunks/command-hdsvhsqj.js +265 -0
- package/dist/chunks/{model-retry-0vhe3zz8.js → command-hjnjc3ts.js} +8 -8
- package/dist/chunks/{model-retry-r3yd059b.js → command-hk9mpf0z.js} +3 -3
- package/dist/chunks/{model-retry-k7k2wzdy.js → command-hnea1j6a.js} +20 -20
- package/dist/chunks/{model-retry-wv2cr0rm.js → command-hpcc3d8k.js} +41 -41
- package/dist/chunks/{model-retry-eev65t0h.js → command-hvcfry8a.js} +7 -7
- package/dist/chunks/{model-retry-j376ae4e.js → command-j376ae4e.js} +1 -1
- package/dist/chunks/{model-retry-x6xv13fq.js → command-j38knkv1.js} +13 -13
- package/dist/chunks/{model-retry-j9nxzz3g.js → command-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-retry-wfdx5ztx.js → command-jg11hrrc.js} +4 -4
- package/dist/chunks/{model-retry-radt6btp.js → command-jnfs9wfb.js} +8 -8
- package/dist/chunks/{model-retry-jxd6f16v.js → command-jxd6f16v.js} +2 -2
- package/dist/chunks/{model-retry-tww5npzc.js → command-k1efc4wa.js} +6 -6
- package/dist/chunks/{model-retry-0pkyagxm.js → command-k4vpzaap.js} +15 -15
- package/dist/chunks/{model-retry-5fcpfsvm.js → command-k5crwfzg.js} +10 -10
- package/dist/chunks/{model-retry-eg2d7vgw.js → command-k6881rgx.js} +23 -23
- package/dist/chunks/{model-retry-kh8gdsej.js → command-kh8gdsej.js} +1 -1
- package/dist/chunks/{model-retry-ta7eff0d.js → command-khz19zrw.js} +35 -35
- package/dist/chunks/command-krjssjyg.js +26 -0
- package/dist/chunks/{model-retry-z9zvwr5a.js → command-ks6aa6e4.js} +30 -30
- package/dist/chunks/{model-retry-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-bc1zr08q.js → command-kyq531r4.js} +38 -38
- package/dist/chunks/{model-retry-kzczzf4v.js → command-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-retry-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-jnhgr88h.js → command-m17k7hhh.js} +4 -4
- package/dist/chunks/{model-retry-xbrwr3dr.js → command-m2h1t11e.js} +23 -23
- package/dist/chunks/{model-retry-78bvm8j8.js → command-m7gzp546.js} +19 -19
- package/dist/chunks/{model-retry-s5pb553a.js → command-m7v4y796.js} +14 -14
- package/dist/chunks/{model-retry-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-mb7mbhnz.js → command-mb7mbhnz.js} +3 -3
- package/dist/chunks/{model-retry-5kfyzpnv.js → command-mb94ewcq.js} +6 -6
- package/dist/chunks/{model-retry-f5h1k6kg.js → command-mhkz5fvf.js} +11 -11
- package/dist/chunks/{model-retry-9gzp0nca.js → command-na3mw78m.js} +6 -6
- package/dist/chunks/{model-retry-510sqk2z.js → command-nc1mwh0d.js} +14 -14
- package/dist/chunks/{model-retry-3bgf9gas.js → command-nemnqzpn.js} +4 -4
- package/dist/chunks/{model-retry-vgbhzz5z.js → command-nhvhxvdt.js} +12 -12
- package/dist/chunks/{model-retry-t3qgac3j.js → command-ntzzxe9p.js} +5 -5
- package/dist/chunks/{model-retry-57xm15c5.js → command-p0x9twv5.js} +22 -22
- package/dist/chunks/{model-retry-n2fh0ez3.js → command-p773c9xs.js} +25 -25
- package/dist/chunks/{model-retry-4nhx1m4t.js → command-peh6qfeq.js} +32 -32
- package/dist/chunks/{model-retry-n7yjqep5.js → command-phxnccdn.js} +12 -12
- package/dist/chunks/{model-retry-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-33v5y19x.js → command-psrmseec.js} +43 -43
- package/dist/chunks/{model-retry-dg5naf6e.js → command-px7qpgcn.js} +4 -4
- package/dist/chunks/{model-retry-wxynfj5e.js → command-q04nr405.js} +16 -16
- package/dist/chunks/{model-retry-1qvny275.js → command-q6dw3yv1.js} +59 -59
- package/dist/chunks/{model-retry-00s7gjcf.js → command-qbx41anh.js} +40 -40
- package/dist/chunks/{model-retry-mt9pskbw.js → command-qcc200rj.js} +8 -8
- package/dist/chunks/{model-retry-kj9n5bvh.js → command-qfz6bxfd.js} +4 -4
- package/dist/chunks/{model-retry-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-retry-y9p823a5.js → command-qpe3mzzm.js} +21 -21
- package/dist/chunks/{model-retry-aqpm8sjd.js → command-qqmdf724.js} +7 -7
- package/dist/chunks/{model-retry-qqvy8y24.js → command-qqvy8y24.js} +1 -1
- package/dist/chunks/{model-retry-6wanefsy.js → command-qsjwh50e.js} +27 -27
- package/dist/chunks/{model-retry-vj50rhab.js → command-r0wrga32.js} +8 -8
- package/dist/chunks/{model-retry-w2eysc6j.js → command-r41sfy63.js} +6 -6
- package/dist/chunks/{model-retry-5ay8k29b.js → command-r89d1c3z.js} +5 -5
- package/dist/chunks/{model-retry-s4n4vg8r.js → command-r92wkm9m.js} +38 -38
- package/dist/chunks/{model-retry-1yh4cc2k.js → command-rawbcf75.js} +7 -7
- package/dist/chunks/{model-retry-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-rgc9cx3e.js → command-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-retry-p2tvx8t7.js → command-rgr196vp.js} +9 -9
- package/dist/chunks/{model-retry-88kypjvy.js → command-rha71f46.js} +4 -4
- package/dist/chunks/{model-retry-21104yg0.js → command-rj3dsn2w.js} +15 -15
- package/dist/chunks/{model-retry-dkpjsqx5.js → command-rjeg9c4a.js} +6 -6
- package/dist/chunks/{model-retry-vzppetdn.js → command-rmv7fhs4.js} +6 -6
- package/dist/chunks/{model-retry-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-jqsxth3s.js → command-s0t7g96k.js} +12 -12
- package/dist/chunks/{model-retry-mepfg8er.js → command-s11d7eb9.js} +7 -7
- package/dist/chunks/{model-retry-s1ba0vj0.js → command-s1ba0vj0.js} +2 -2
- package/dist/chunks/{model-retry-bbv7h0sc.js → command-s320htan.js} +8 -8
- package/dist/chunks/{model-retry-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-retry-ds3yqcse.js → command-sabmrbhf.js} +22 -22
- package/dist/chunks/{model-retry-kza4z7tg.js → command-saq60637.js} +28 -28
- package/dist/chunks/{model-retry-6dz7wdar.js → command-saykm3qf.js} +12 -12
- package/dist/chunks/{model-retry-sbya78hr.js → command-sbya78hr.js} +1 -1
- package/dist/chunks/{model-retry-mqe7nf5n.js → command-sbz71ybr.js} +3 -3
- package/dist/chunks/{model-retry-9zwexsxs.js → command-scmk72rv.js} +5 -5
- package/dist/chunks/{model-retry-cmgjhmvc.js → command-sepd17dr.js} +9 -9
- package/dist/chunks/{model-retry-gvca9fq4.js → command-snhag6t6.js} +35 -35
- package/dist/chunks/{model-retry-svcy3p9a.js → command-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-retry-tgx2mcr0.js → command-swfrchhw.js} +5 -5
- package/dist/chunks/{model-retry-1gz7zm0b.js → command-syhk5kgt.js} +11 -11
- package/dist/chunks/{model-retry-zaaxhjqc.js → command-t2pg5vzh.js} +31 -31
- package/dist/chunks/{model-retry-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-tg7s7b5t.js → command-tg7s7b5t.js} +1 -1
- package/dist/chunks/{model-retry-pppy9358.js → command-tkwtbhmp.js} +9 -9
- package/dist/chunks/{model-retry-m1drnt0x.js → command-tm5f056h.js} +3 -3
- package/dist/chunks/{model-retry-f4zhj8dy.js → command-tqw0ps8q.js} +7 -7
- package/dist/chunks/{model-retry-3627dt3h.js → command-tt1t8ta0.js} +31 -31
- package/dist/chunks/{model-retry-tvtps2q9.js → command-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-retry-twssxy5n.js → command-twssxy5n.js} +2 -2
- package/dist/chunks/{model-retry-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-56z5jcfe.js → command-v3km2bj0.js} +9 -9
- package/dist/chunks/{model-retry-ctk26xy0.js → command-v5jcrjch.js} +18 -18
- package/dist/chunks/{model-retry-96zbwb42.js → command-v7a5f7fs.js} +16 -16
- package/dist/chunks/{model-retry-stsmc9a4.js → command-v8r6m231.js} +29 -29
- package/dist/chunks/{model-retry-kc4ez2ea.js → command-v8vd993n.js} +4 -4
- package/dist/chunks/{model-retry-x9a09dck.js → command-v97q42wb.js} +8 -8
- package/dist/chunks/{model-retry-03akfpcj.js → command-vabkyy3n.js} +48 -48
- package/dist/chunks/{model-retry-jffrhh9g.js → command-ve22198q.js} +28 -28
- package/dist/chunks/{model-retry-0qs2w0pq.js → command-vgs3tmp3.js} +11 -11
- package/dist/chunks/{model-retry-vjf35v1f.js → command-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-retry-d3m6k2ad.js → command-vjkzj3kq.js} +28 -28
- package/dist/chunks/{model-retry-weqc7sb9.js → command-vnjc296t.js} +3 -3
- package/dist/chunks/{model-retry-rz8v6ye2.js → command-vsz0eq6m.js} +16 -16
- package/dist/chunks/{model-retry-teav1bzy.js → command-vt4r9rmy.js} +9 -9
- package/dist/chunks/{model-retry-67x3kfmd.js → command-w2280fc1.js} +11 -11
- package/dist/chunks/{model-retry-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-58wf94jx.js → command-w87hzrb3.js} +6 -6
- package/dist/chunks/{model-retry-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-zgv53tvs.js → command-wayr15s4.js} +23 -23
- package/dist/chunks/{model-retry-cfgvgebt.js → command-wcytbmeq.js} +3 -3
- package/dist/chunks/{model-retry-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-wegkxhrn.js → command-wegkxhrn.js} +2 -2
- package/dist/chunks/{model-retry-q8gvdtzg.js → command-wg0s4x2q.js} +9 -9
- package/dist/chunks/{model-retry-bwfka8tb.js → command-wh82crey.js} +17 -17
- package/dist/chunks/{model-retry-5ax50e2x.js → command-wngp49ab.js} +5 -5
- package/dist/chunks/{model-retry-wnhgecwx.js → command-wnhgecwx.js} +1 -1
- package/dist/chunks/{model-retry-vwcz1f45.js → command-wvr8xscb.js} +5 -5
- package/dist/chunks/{model-retry-fjtt755v.js → command-x1z6a9tw.js} +14 -14
- package/dist/chunks/{model-retry-yzem1831.js → command-x56px1pc.js} +193 -193
- package/dist/chunks/{model-retry-2h6k8afz.js → command-xan9rsx8.js} +8 -8
- package/dist/chunks/{model-retry-y346hdw2.js → command-xdhgxatc.js} +16 -16
- package/dist/chunks/{model-retry-yb9qqmha.js → command-xdngrvng.js} +8 -8
- package/dist/chunks/{model-retry-963hk181.js → command-xe6pezxp.js} +7 -7
- package/dist/chunks/{model-retry-xxschbft.js → command-xjr6c8m4.js} +4 -4
- package/dist/chunks/{model-retry-2hccw83s.js → command-xrvce4qw.js} +17 -17
- package/dist/chunks/{model-retry-qphqztqn.js → command-y0etrvew.js} +14 -14
- package/dist/chunks/{model-retry-8c6wzkmq.js → command-yahhwfnh.js} +18 -18
- package/dist/chunks/{model-retry-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-djqhmdnb.js → command-yc3ccsjh.js} +4 -4
- package/dist/chunks/{model-retry-y9qqg13e.js → command-yd55qw15.js} +6 -6
- package/dist/chunks/{model-retry-v5hpj9dd.js → command-ydsespw1.js} +8 -8
- package/dist/chunks/{model-retry-p5x5ke5n.js → command-ymgc33ap.js} +5 -5
- package/dist/chunks/{model-retry-yr705xyq.js → command-yr705xyq.js} +1 -1
- package/dist/chunks/{model-retry-yvtc2x31.js → command-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-retry-50eg523m.js → command-z3hx70ce.js} +5 -5
- package/dist/chunks/{model-retry-s0hsmfvj.js → command-z3v3hmej.js} +24 -24
- package/dist/chunks/{model-retry-d44g1qb4.js → command-z8c7spxp.js} +17 -17
- package/dist/chunks/{model-retry-p26htzqx.js → command-zgq5ynfz.js} +8 -8
- package/dist/chunks/{model-retry-vms99yab.js → command-zj1a0tt8.js} +29 -29
- package/dist/chunks/{model-retry-raq8tkwj.js → command-zma2brvv.js} +2 -2
- package/dist/chunks/{model-retry-y0cxba2k.js → command-zpw0hdvn.js} +29 -29
- package/dist/chunks/{model-retry-yr85y3b1.js → command-zrbfykn4.js} +11 -11
- package/dist/chunks/{model-retry-2t8sxxq3.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 +9 -9
- 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 +133 -133
- package/dist/config/plugin/command.js +234 -234
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +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 +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 +153 -153
- 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 +132 -132
- 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 +92 -92
- 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 +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 +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 +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 +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +114 -114
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +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 +96 -96
- 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 +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 +116 -116
- package/dist/mcp/instructions.js +181 -181
- 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 +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +85 -85
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- 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 +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 +129 -129
- package/dist/plugin/optimize.js +2 -2
- 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 +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +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 +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +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 +133 -133
- 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 +414 -414
- 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 +8 -8
- 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 +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +247 -247
- 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 +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 +105 -105
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- 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 +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +3 -3
- 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 +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +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 +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 +13 -13
- package/dist/shell.js +143 -143
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- 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 +178 -178
- 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 +169 -169
- package/dist/tool/plugin/grep.js +166 -166
- 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 +168 -168
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +162 -162
- 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 +159 -159
- 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 +97 -97
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +85 -85
- 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/model-retry-6bshxcsx.js +0 -18
- package/dist/chunks/model-retry-er8gj22z.js +0 -26
- package/dist/chunks/model-retry-j571r41k.js +0 -265
- /package/dist/chunks/{model-retry-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-108x4f4w.js → command-108x4f4w.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-1kah00gy.js → command-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3af0jn4w.js → command-3af0jn4w.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4qk9sjk2.js → command-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-5w3e23ze.js → command-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-retry-6agm2x70.js → command-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-beh6qq61.js → command-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-retry-bhmrqjy3.js → command-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → command-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-ean2d8b5.js → command-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → command-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-nh4v3znn.js → command-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-p71gwv9c.js → command-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-syrav9an.js → command-syrav9an.js} +0 -0
- /package/dist/chunks/{model-retry-t03h4f5z.js → command-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-retry-ty7weeps.js → command-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-vtarvj67.js → command-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-z0h12gs8.js → command-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → command-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-retry-zxpyjp51.js → command-zxpyjp51.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
NotFound3,
|
|
6
6
|
WrongKind2,
|
|
7
7
|
Failed2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-svcy3p9a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service86
|
|
11
|
+
} from "./command-3dtj5d08.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service61
|
|
14
|
+
} from "./command-8mfptry9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./command-rj3dsn2w.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service16,
|
|
20
20
|
readText2,
|
|
21
21
|
syncTextBom2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-98qzw0ke.js";
|
|
23
23
|
import {
|
|
24
24
|
invocation2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service72
|
|
26
|
+
} from "./command-snhag6t6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service28,
|
|
29
29
|
resolvePath2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-5fcjamkr.js";
|
|
31
31
|
import {
|
|
32
32
|
fileDiff2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-6prwharc.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/plugin/patch.ts
|
|
39
39
|
var exports_patch = {};
|
|
40
40
|
__export(exports_patch, {
|
|
41
41
|
Applied: () => Applied2,
|
|
42
|
-
Input: () =>
|
|
43
|
-
Output: () =>
|
|
42
|
+
Input: () => Input8,
|
|
43
|
+
Output: () => Output6,
|
|
44
44
|
PatchTool: () => exports_patch,
|
|
45
|
-
Plugin: () =>
|
|
46
|
-
name: () =>
|
|
47
|
-
toModelContent: () =>
|
|
45
|
+
Plugin: () => Plugin9,
|
|
46
|
+
name: () => name8,
|
|
47
|
+
toModelContent: () => toModelContent3
|
|
48
48
|
});
|
|
49
49
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
50
50
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -89,8 +89,8 @@ It is important to remember:
|
|
|
89
89
|
`;
|
|
90
90
|
|
|
91
91
|
// src/tool/plugin/patch.ts
|
|
92
|
-
var
|
|
93
|
-
var
|
|
92
|
+
var name8 = "patch";
|
|
93
|
+
var Input8 = Schema.Struct({
|
|
94
94
|
patchText: Schema.String.annotate({
|
|
95
95
|
description: "The full patch text describing add, update, and delete operations"
|
|
96
96
|
})
|
|
@@ -100,30 +100,30 @@ var Applied2 = Schema.Struct({
|
|
|
100
100
|
resource: Schema.String,
|
|
101
101
|
target: Schema.String
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var Output6 = Schema.Struct({
|
|
104
104
|
applied: Schema.Array(Applied2),
|
|
105
105
|
files: Schema.Array(FileDiff.Info)
|
|
106
106
|
});
|
|
107
|
-
var
|
|
107
|
+
var toModelContent3 = (output) => [
|
|
108
108
|
"Success. Updated the following files:",
|
|
109
109
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
110
110
|
].join(`
|
|
111
111
|
`);
|
|
112
|
-
var
|
|
112
|
+
var Plugin9 = {
|
|
113
113
|
id: "opencode.tool.patch",
|
|
114
114
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
115
|
-
const environment = yield*
|
|
116
|
-
const access = yield*
|
|
117
|
-
const fileMutation = yield*
|
|
118
|
-
const formatter = yield*
|
|
119
|
-
const location = yield*
|
|
120
|
-
const permission = yield*
|
|
115
|
+
const environment = yield* Service61;
|
|
116
|
+
const access = yield* Service28;
|
|
117
|
+
const fileMutation = yield* Service16;
|
|
118
|
+
const formatter = yield* Service20;
|
|
119
|
+
const location = yield* Service86;
|
|
120
|
+
const permission = yield* Service72;
|
|
121
121
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
122
|
-
name:
|
|
122
|
+
name: name8,
|
|
123
123
|
options: { codemode: false, permission: "edit" },
|
|
124
124
|
description: patch_default,
|
|
125
|
-
input:
|
|
126
|
-
output:
|
|
125
|
+
input: Input8,
|
|
126
|
+
output: Output6,
|
|
127
127
|
execute: (input, context) => {
|
|
128
128
|
const applied = [];
|
|
129
129
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -265,7 +265,7 @@ var Plugin16 = {
|
|
|
265
265
|
return { applied, files };
|
|
266
266
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
267
267
|
output,
|
|
268
|
-
content:
|
|
268
|
+
content: toModelContent3(output),
|
|
269
269
|
metadata: { files: output.files }
|
|
270
270
|
})), Effect.mapError(toolFailure2("Unable to apply patch")));
|
|
271
271
|
}
|
|
@@ -325,4 +325,4 @@ function trimDiff(diff) {
|
|
|
325
325
|
`);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
export {
|
|
328
|
+
export { name8, Input8, Applied2, Output6, toModelContent3, Plugin9, exports_patch };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-zj1a0tt8.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-z0h12gs8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk2 = {};
|
|
18
18
|
__export(exports_aisdk2, {
|
|
19
19
|
AISDK: () => exports_aisdk2,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service71,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node73
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -153,7 +153,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
153
153
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
154
154
|
|
|
155
155
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
156
|
-
providerID:
|
|
156
|
+
providerID: ID16,
|
|
157
157
|
cause: Schema.Defect()
|
|
158
158
|
}) {
|
|
159
159
|
}
|
|
@@ -161,9 +161,9 @@ function initError(providerID) {
|
|
|
161
161
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class Service71 extends Context.Service()("@opencode/AISDK") {
|
|
165
165
|
}
|
|
166
|
-
var locationLayer2 = Layer.effect(
|
|
166
|
+
var locationLayer2 = Layer.effect(Service71, Effect.gen(function* () {
|
|
167
167
|
let sdkHooks = [];
|
|
168
168
|
let languageHooks = [];
|
|
169
169
|
const languages = new Map;
|
|
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
201
201
|
}
|
|
202
202
|
return event;
|
|
203
203
|
});
|
|
204
|
-
const service =
|
|
204
|
+
const service = Service71.of({
|
|
205
205
|
hook: {
|
|
206
206
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
207
207
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -855,6 +855,6 @@ function providerErrorMessage(error) {
|
|
|
855
855
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
856
856
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
857
857
|
}
|
|
858
|
-
var
|
|
858
|
+
var node73 = makeLocationNode({ service: Service71, layer: locationLayer2, deps: [] });
|
|
859
859
|
|
|
860
|
-
export { InitError2,
|
|
860
|
+
export { InitError2, Service71, locationLayer2, node73, exports_aisdk2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./command-snhag6t6.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-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: () => Input11,
|
|
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: () => Plugin15,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description5,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name11
|
|
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 name11 = "webfetch";
|
|
39
39
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
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 Input11 = 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 Input3 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input11.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 Plugin15 = {
|
|
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* Service72;
|
|
124
124
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
125
|
-
name:
|
|
125
|
+
name: name11,
|
|
126
126
|
options: { codemode: false },
|
|
127
|
-
description:
|
|
128
|
-
input:
|
|
127
|
+
description: description5,
|
|
128
|
+
input: Input11,
|
|
129
129
|
output: Output,
|
|
130
130
|
execute: (input, context) => Effect.gen(function* () {
|
|
131
131
|
const url = yield* Effect.try({
|
|
@@ -137,7 +137,7 @@ var Plugin3 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name11,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin3 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name11,
|
|
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 { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, MAX_REDIRECTS2, Plugin15, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
real2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-96djdqw5.js";
|
|
4
4
|
import {
|
|
5
5
|
registry2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-k4vpzaap.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
make4
|
|
9
|
+
} from "./command-yd55qw15.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service86
|
|
12
|
+
} from "./command-3dtj5d08.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
register7,
|
|
15
15
|
connection2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-4agpc0tz.js";
|
|
17
|
+
import {
|
|
18
|
+
register4
|
|
19
|
+
} from "./command-tqw0ps8q.js";
|
|
17
20
|
import {
|
|
18
21
|
register5
|
|
19
|
-
} from "./
|
|
22
|
+
} from "./command-e13bmjpy.js";
|
|
20
23
|
import {
|
|
21
24
|
register6
|
|
22
|
-
} from "./
|
|
23
|
-
import {
|
|
24
|
-
register4
|
|
25
|
-
} from "./model-retry-1yh4cc2k.js";
|
|
25
|
+
} from "./command-rawbcf75.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
register3
|
|
28
|
+
} from "./command-mb94ewcq.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service61
|
|
31
|
+
} from "./command-8mfptry9.js";
|
|
32
32
|
import {
|
|
33
33
|
spawner2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-b6z35kmf.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/claude-agent/index.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
38
38
|
import { Effect, Option, Stream } from "effect";
|
|
39
39
|
var ID2 = "opencode.provider.claude-agent";
|
|
40
|
-
var
|
|
40
|
+
var make3 = (io, registry = registry2()) => define({
|
|
41
41
|
id: ID2,
|
|
42
42
|
effect: Effect.fn("ClaudeAgent.Plugin")(function* (ctx) {
|
|
43
|
-
const environment = yield* Effect.serviceOption(
|
|
44
|
-
const location = yield* Effect.serviceOption(
|
|
43
|
+
const environment = yield* Effect.serviceOption(Service61);
|
|
44
|
+
const location = yield* Effect.serviceOption(Service86);
|
|
45
45
|
if (Option.isSome(location) && location.value.workspaceID !== undefined)
|
|
46
46
|
return;
|
|
47
47
|
if (Option.isSome(environment) && environment.value.spawner === spawner2)
|
|
48
48
|
return;
|
|
49
|
-
const status = yield*
|
|
49
|
+
const status = yield* make4(io, () => connection2(ctx));
|
|
50
50
|
const sessions = yield* registry.attach({ io, status, storage: ctx.storage, directory: ctx.location.directory });
|
|
51
51
|
yield* ctx.event.subscribe({
|
|
52
52
|
types: ["session.execution.succeeded", "session.execution.failed", "session.execution.interrupted"]
|
|
53
53
|
}).pipe(Stream.runForEach((event) => sessions.idle(event.data.sessionID)), Effect.forkScoped({ startImmediately: true }));
|
|
54
|
-
yield*
|
|
55
|
-
yield*
|
|
56
|
-
yield*
|
|
57
|
-
yield*
|
|
58
|
-
yield*
|
|
54
|
+
yield* register7(ctx, status, io);
|
|
55
|
+
yield* register6(ctx, status);
|
|
56
|
+
yield* register4(ctx, sessions);
|
|
57
|
+
yield* register3(ctx);
|
|
58
|
+
yield* register5(ctx);
|
|
59
59
|
})
|
|
60
60
|
});
|
|
61
|
-
var ClaudeAgentPlugin2 =
|
|
61
|
+
var ClaudeAgentPlugin2 = make3(real2);
|
|
62
62
|
|
|
63
|
-
export { ID2,
|
|
63
|
+
export { ID2, make3, ClaudeAgentPlugin2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./command-5xfssjfj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info11,
|
|
9
|
+
ID9,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-ghnqkvf8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin32,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin32 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info11.make({
|
|
439
|
+
id: ID9.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("skill://opencode/SKILL.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info11.make({
|
|
446
|
+
id: ID9.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("skill://report/SKILL.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service77;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin32, exports_skill2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service43,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer17,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node46
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service43 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service43, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service43.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
372
|
var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node46 = makeGlobalNode({ service: Service43, layer: layer17, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service43, makeLayer2, layer17, node46, exports_model_transport };
|
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./command-vabkyy3n.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service72
|
|
10
|
+
} from "./command-snhag6t6.js";
|
|
11
11
|
import {
|
|
12
12
|
MEDIA_MIMES2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-1jstmwa4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/mcp-resource.ts
|
|
19
19
|
var exports_mcp_resource = {};
|
|
20
20
|
__export(exports_mcp_resource, {
|
|
21
21
|
McpResourceTools: () => exports_mcp_resource,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin12
|
|
23
23
|
});
|
|
24
24
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
26
|
-
var
|
|
26
|
+
var Plugin12 = {
|
|
27
27
|
id: "opencode.tools.mcp-resources",
|
|
28
28
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
29
|
-
const mcp = yield*
|
|
30
|
-
const permission = yield*
|
|
29
|
+
const mcp = yield* Service44;
|
|
30
|
+
const permission = yield* Service72;
|
|
31
31
|
yield* ctx.tool.transform((editor) => {
|
|
32
32
|
editor.add({
|
|
33
33
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin5 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin12, exports_mcp_resource };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-x1z6a9tw.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make13 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make13();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make13, OllamaPlugin2 };
|