@opencode/core 0.0.0-dev-522 → 0.0.0-dev-524
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 +238 -238
- package/dist/bus.js +80 -80
- package/dist/chunks/{model-retry-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-bh17g5gv.js → shell-038m8ne0.js} +36 -36
- package/dist/chunks/{model-retry-2h6k8afz.js → shell-0a6k6phd.js} +6 -6
- package/dist/chunks/{model-retry-0ahs07zn.js → shell-0ahs07zn.js} +1 -1
- package/dist/chunks/{model-retry-sx3k1r24.js → shell-0b0ckd4f.js} +8 -8
- package/dist/chunks/{model-retry-jqsxth3s.js → shell-0djcdsjt.js} +12 -12
- package/dist/chunks/{model-retry-s4n4vg8r.js → shell-0g554w4n.js} +38 -38
- package/dist/chunks/{model-retry-vhbaker9.js → shell-0hckme0g.js} +28 -28
- package/dist/chunks/{model-retry-r343yv53.js → shell-0hqdgkh5.js} +5 -5
- package/dist/chunks/{model-retry-0j7gp832.js → shell-0j7gp832.js} +1 -1
- package/dist/chunks/{model-retry-313pdhz2.js → shell-0ke53cpn.js} +13 -13
- package/dist/chunks/{model-retry-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-retry-y9p823a5.js → shell-0n2fsn41.js} +19 -19
- package/dist/chunks/{model-retry-ta7eff0d.js → shell-12h4y8ck.js} +16 -16
- package/dist/chunks/{model-retry-fh4mtqct.js → shell-19ckm0ck.js} +19 -19
- package/dist/chunks/{model-retry-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-retry-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-v8wxce3j.js → shell-1pw3h209.js} +12 -12
- package/dist/chunks/{model-retry-1qvny275.js → shell-1red2kdm.js} +59 -59
- package/dist/chunks/{model-retry-67x3kfmd.js → shell-1ryprd9x.js} +9 -9
- package/dist/chunks/{model-retry-ahjhkwwj.js → shell-1wsmx976.js} +15 -15
- package/dist/chunks/{model-retry-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-1yq9hg58.js → shell-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-retry-21104yg0.js → shell-22dry1sr.js} +15 -15
- package/dist/chunks/{model-retry-mqe7nf5n.js → shell-2cdjxzfg.js} +3 -3
- package/dist/chunks/{model-retry-paj10b95.js → shell-2ktchv7q.js} +55 -55
- package/dist/chunks/{model-retry-p1x6snt1.js → shell-2r77nwhq.js} +4 -4
- package/dist/chunks/{model-retry-dznv9wr0.js → shell-2sgmqb4r.js} +4 -4
- package/dist/chunks/{model-retry-2379nghw.js → shell-2vfjfeag.js} +14 -14
- package/dist/chunks/{model-retry-040ahvwp.js → shell-30qjv57a.js} +16 -16
- package/dist/chunks/{model-retry-hr3kczcs.js → shell-32c1ngxd.js} +9 -9
- package/dist/chunks/{model-retry-f32m8sjz.js → shell-3ay6yzp4.js} +5 -5
- package/dist/chunks/{model-retry-w00pmpz4.js → shell-3c6bvymb.js} +8 -8
- package/dist/chunks/{model-retry-mcvp24xr.js → shell-3dbxf0x7.js} +37 -37
- package/dist/chunks/{model-retry-0j2whhmm.js → shell-3fe1jga9.js} +2 -2
- package/dist/chunks/{model-retry-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-stsmc9a4.js → shell-3pb2qskw.js} +27 -27
- package/dist/chunks/{model-retry-w9df92qk.js → shell-3qevzq3v.js} +11 -11
- package/dist/chunks/{model-retry-23ec8jz8.js → shell-3qzs2pb5.js} +14 -14
- package/dist/chunks/{model-retry-t3qgac3j.js → shell-3yaf1m62.js} +5 -5
- package/dist/chunks/{model-retry-y0f40vmx.js → shell-3zek37hk.js} +17 -17
- package/dist/chunks/{model-retry-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-retry-w2eysc6j.js → shell-40za9wsf.js} +9 -9
- package/dist/chunks/{model-retry-5nt4d42h.js → shell-45qe9p54.js} +25 -25
- package/dist/chunks/shell-47mgcevd.js +18 -0
- package/dist/chunks/{model-retry-zaaxhjqc.js → shell-4bkthaey.js} +31 -31
- package/dist/chunks/{model-retry-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-retry-r542h3bh.js → shell-4f25tdd0.js} +5 -5
- package/dist/chunks/{model-retry-teav1bzy.js → shell-4g3sdj5g.js} +9 -9
- package/dist/chunks/{model-retry-x2ndfy6h.js → shell-4nh513ck.js} +3 -3
- package/dist/chunks/{model-retry-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-retry-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-g1p8tryc.js → shell-4xbt6kt3.js} +11 -11
- package/dist/chunks/{model-retry-ctk26xy0.js → shell-5060mq2j.js} +18 -18
- package/dist/chunks/{model-retry-5fcpfsvm.js → shell-51kwf5nv.js} +6 -6
- package/dist/chunks/{model-retry-0pkyagxm.js → shell-53qfbpfe.js} +15 -15
- package/dist/chunks/{model-retry-88kypjvy.js → shell-55jhk77d.js} +4 -4
- package/dist/chunks/{model-retry-x6xv13fq.js → shell-57q7h3sb.js} +13 -13
- package/dist/chunks/{model-retry-ene5d8sz.js → shell-5958t36d.js} +12 -12
- package/dist/chunks/{model-retry-vms99yab.js → shell-5a65b5yp.js} +19 -19
- package/dist/chunks/{model-retry-78bvm8j8.js → shell-5b4k3yeg.js} +16 -16
- package/dist/chunks/{model-retry-kza4z7tg.js → shell-5bhey0ap.js} +22 -22
- package/dist/chunks/{model-retry-yzem1831.js → shell-5jx03shd.js} +169 -169
- package/dist/chunks/{model-retry-yb9qqmha.js → shell-5jztgy8x.js} +6 -6
- package/dist/chunks/{model-retry-5pr10cy5.js → shell-5kvjt3bj.js} +4 -4
- package/dist/chunks/{model-retry-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-y9qqg13e.js → shell-5v51mt63.js} +6 -6
- package/dist/chunks/{model-retry-fep26vdr.js → shell-5vpw0qat.js} +6 -6
- package/dist/chunks/{model-retry-57xm15c5.js → shell-5vxk5b4t.js} +20 -20
- package/dist/chunks/{model-retry-8cg7mtm3.js → shell-5whx36p1.js} +4 -4
- package/dist/chunks/{model-retry-rz8v6ye2.js → shell-5xshmq58.js} +6 -6
- package/dist/chunks/{model-retry-nj5362c0.js → shell-5ygc3h7c.js} +32 -32
- package/dist/chunks/{model-retry-9zwexsxs.js → shell-61qraad9.js} +5 -5
- package/dist/chunks/{model-retry-2hccw83s.js → shell-6e65c26n.js} +16 -16
- package/dist/chunks/{model-retry-0vhe3zz8.js → shell-6f6jm3cp.js} +5 -5
- package/dist/chunks/{model-retry-z9zvwr5a.js → shell-6krg8p5y.js} +32 -32
- package/dist/chunks/{model-retry-s5pb553a.js → shell-6p0htpnz.js} +4 -4
- package/dist/chunks/{model-retry-6tdmx8x3.js → shell-6ppdhvbm.js} +37 -37
- package/dist/chunks/{model-retry-wtppas8f.js → shell-6s2f0w57.js} +13 -13
- package/dist/chunks/{model-retry-hvt5qccz.js → shell-6s2zeekk.js} +9 -9
- package/dist/chunks/{model-retry-6wanefsy.js → shell-6snqk0kd.js} +29 -29
- package/dist/chunks/{model-retry-vwcz1f45.js → shell-6y2b864j.js} +7 -7
- package/dist/chunks/{model-retry-96zbwb42.js → shell-6y4awd4z.js} +14 -14
- package/dist/chunks/{model-retry-b96e45z7.js → shell-6yam1bnf.js} +6 -6
- package/dist/chunks/{model-retry-tww5npzc.js → shell-70bbyff8.js} +2 -2
- package/dist/chunks/{model-retry-775hqbnd.js → shell-775hqbnd.js} +3 -3
- package/dist/chunks/{model-retry-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-p5x5ke5n.js → shell-7f4r8bs9.js} +5 -5
- package/dist/chunks/{model-retry-s0hsmfvj.js → shell-7jqp1j3q.js} +29 -29
- package/dist/chunks/shell-7m4xrat3.js +265 -0
- package/dist/chunks/{model-retry-e3apafn0.js → shell-7rzq90wh.js} +9 -9
- package/dist/chunks/{model-retry-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-7weczvnd.js → shell-7weczvnd.js} +1 -1
- package/dist/chunks/{model-retry-f4zhj8dy.js → shell-7y2zpb6b.js} +7 -7
- package/dist/chunks/{model-retry-89287pr7.js → shell-89287pr7.js} +1 -1
- package/dist/chunks/{model-retry-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
- package/dist/chunks/{model-retry-d3m6k2ad.js → shell-8hze26f7.js} +36 -36
- package/dist/chunks/{model-retry-8sxe6kv8.js → shell-8sxe6kv8.js} +2 -2
- package/dist/chunks/{model-retry-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-radt6btp.js → shell-8xd9qe3w.js} +6 -6
- package/dist/chunks/{model-retry-r7f89qmp.js → shell-90ct6wq4.js} +4 -4
- package/dist/chunks/{model-retry-90zstvax.js → shell-90zstvax.js} +1 -1
- package/dist/chunks/{model-retry-90khhth6.js → shell-938dqyhe.js} +24 -24
- package/dist/chunks/{model-retry-96djdqw5.js → shell-96djdqw5.js} +4 -4
- package/dist/chunks/{model-retry-2tqrg817.js → shell-97rp36fc.js} +7 -7
- package/dist/chunks/{model-retry-4m58d2b7.js → shell-9cfr47nv.js} +11 -11
- package/dist/chunks/{model-retry-2zt8ns9h.js → shell-9gamnqat.js} +19 -19
- package/dist/chunks/{model-retry-dnern54h.js → shell-9gt3wynh.js} +11 -11
- package/dist/chunks/{model-retry-50d0hzz1.js → shell-9h0egadk.js} +9 -9
- package/dist/chunks/{model-retry-q4aaye94.js → shell-9kgh7y83.js} +35 -35
- package/dist/chunks/{model-retry-m1drnt0x.js → shell-9mjjkw01.js} +1 -1
- package/dist/chunks/{model-retry-t6m54dwp.js → shell-9rbvzweb.js} +5 -5
- package/dist/chunks/{model-retry-kmekj7m2.js → shell-9sk33afj.js} +8 -8
- package/dist/chunks/{model-retry-00s7gjcf.js → shell-9zqj0zpf.js} +45 -45
- package/dist/chunks/{model-retry-q8gvdtzg.js → shell-a53xz8je.js} +9 -9
- package/dist/chunks/{model-retry-byr6f84d.js → shell-a5wrqxe8.js} +4 -4
- package/dist/chunks/{model-retry-ds3yqcse.js → shell-akx86dnn.js} +23 -23
- package/dist/chunks/{model-retry-byj3h104.js → shell-av7hf5pb.js} +27 -27
- package/dist/chunks/{model-retry-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-3bgf9gas.js → shell-b3a32pfz.js} +4 -4
- package/dist/chunks/{model-retry-kkmtmrgc.js → shell-b64vemre.js} +8 -8
- package/dist/chunks/{model-retry-b6vsg801.js → shell-b6vsg801.js} +2 -2
- package/dist/chunks/{model-retry-0h8y3ex8.js → shell-b6z35kmf.js} +4 -4
- package/dist/chunks/{model-retry-z5tnba5f.js → shell-b7sygazy.js} +17 -17
- package/dist/chunks/{model-retry-bbv7h0sc.js → shell-bbv7h0sc.js} +1 -1
- package/dist/chunks/{model-retry-8ghknd81.js → shell-bc28fm4b.js} +17 -17
- package/dist/chunks/{model-retry-3spf441s.js → shell-bfmm6xpm.js} +4 -4
- package/dist/chunks/{model-retry-h5gm5jf1.js → shell-bj78ahtb.js} +7 -7
- package/dist/chunks/{model-retry-3mc10hy0.js → shell-bnrmk4xj.js} +12 -12
- package/dist/chunks/{model-retry-bstexjd6.js → shell-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-046swykb.js → shell-by86as2b.js} +40 -40
- package/dist/chunks/{model-retry-pe2nkaqs.js → shell-c51xvhgg.js} +20 -20
- package/dist/chunks/{model-retry-dx1wjjx5.js → shell-c5syj3x8.js} +82 -82
- package/dist/chunks/{model-retry-qwz12hkq.js → shell-c7gk57p6.js} +4 -4
- package/dist/chunks/{model-retry-absdbppj.js → shell-c83hkj5n.js} +10 -10
- package/dist/chunks/{model-retry-raq8tkwj.js → shell-cc5m3ng3.js} +2 -2
- package/dist/chunks/{model-retry-eg2d7vgw.js → shell-ccgfr9ez.js} +19 -19
- package/dist/chunks/{model-retry-gdgh5wxk.js → shell-ceg1n2ed.js} +45 -45
- package/dist/chunks/{model-retry-510sqk2z.js → shell-chbgvwzv.js} +18 -18
- package/dist/chunks/{model-retry-pppy9358.js → shell-cjp0k87c.js} +11 -11
- package/dist/chunks/{model-retry-n2fh0ez3.js → shell-ckbkj3gw.js} +28 -28
- package/dist/chunks/{model-retry-8b6vc372.js → shell-cq1t411c.js} +37 -37
- package/dist/chunks/{model-retry-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-retry-4nhx1m4t.js → shell-d0z9ywe4.js} +31 -31
- package/dist/chunks/{model-retry-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-45fvmn93.js → shell-d779t86q.js} +36 -36
- package/dist/chunks/{model-retry-bwfka8tb.js → shell-dcsvd9bq.js} +15 -15
- package/dist/chunks/{model-retry-npsqt33r.js → shell-dg2hskz2.js} +8 -8
- package/dist/chunks/{model-retry-nc4hvdtz.js → shell-dh9vehck.js} +28 -28
- package/dist/chunks/{model-retry-ayy9hq9v.js → shell-dn75egny.js} +20 -20
- package/dist/chunks/{model-retry-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{model-retry-n4rc99nq.js → shell-e27xj7a8.js} +25 -25
- package/dist/chunks/{model-retry-t5ja9d0g.js → shell-e69hcays.js} +21 -21
- package/dist/chunks/{model-retry-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-2t8sxxq3.js → shell-ej8c8e21.js} +4 -4
- package/dist/chunks/{model-retry-d67xjgd2.js → shell-ek2jw6a6.js} +21 -21
- package/dist/chunks/{model-retry-5ax50e2x.js → shell-ekxc8d5q.js} +5 -5
- package/dist/chunks/{model-retry-5tsqkt8q.js → shell-en619q7r.js} +40 -40
- package/dist/chunks/{model-retry-cfgvgebt.js → shell-ep83ykpf.js} +3 -3
- package/dist/chunks/{model-retry-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-retry-m8gg2r61.js → shell-esm60jbr.js} +16 -16
- package/dist/chunks/{model-retry-1hzp2809.js → shell-evjzfwys.js} +32 -32
- package/dist/chunks/{model-retry-e0jw5zf9.js → shell-ewd4v74g.js} +26 -26
- package/dist/chunks/{model-retry-dfj6hfj3.js → shell-ey5vfp9s.js} +41 -41
- package/dist/chunks/{model-retry-0shwd63d.js → shell-f0d8bamp.js} +24 -24
- package/dist/chunks/{model-retry-05gcdst7.js → shell-f475w8cc.js} +29 -29
- package/dist/chunks/{model-retry-twp2mmjd.js → shell-f5fj0026.js} +21 -21
- package/dist/chunks/{model-retry-7n50n386.js → shell-f9j325ak.js} +7 -7
- package/dist/chunks/{model-retry-qst89rrd.js → shell-fer7ek0z.js} +6 -6
- package/dist/chunks/{model-retry-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-retry-aqpm8sjd.js → shell-fxgpkf86.js} +9 -9
- package/dist/chunks/{model-retry-d44g1qb4.js → shell-g8kgv83r.js} +13 -13
- package/dist/chunks/{model-retry-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-retry-3adw4bt5.js → shell-gerka9tj.js} +9 -9
- package/dist/chunks/{model-retry-djqhmdnb.js → shell-gg6ydb9v.js} +4 -4
- package/dist/chunks/{model-retry-ak1hfr5m.js → shell-gh1c3w3b.js} +11 -11
- package/dist/chunks/{model-retry-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
- package/dist/chunks/{model-retry-n7yjqep5.js → shell-gk0y4mdb.js} +16 -16
- package/dist/chunks/{model-retry-kze6nzna.js → shell-gmemj5zs.js} +7 -7
- package/dist/chunks/{model-retry-vj50rhab.js → shell-gn6qas9s.js} +8 -8
- package/dist/chunks/{model-retry-tg7s7b5t.js → shell-gxs71cxp.js} +4 -4
- package/dist/chunks/{model-retry-r3yd059b.js → shell-h0xn00cp.js} +5 -5
- package/dist/chunks/{model-retry-5ay8k29b.js → shell-h511s8tx.js} +5 -5
- package/dist/chunks/{model-retry-rj7jtxy8.js → shell-h5chy42v.js} +3 -3
- package/dist/chunks/{model-retry-2ywepbfj.js → shell-h879y26b.js} +4 -4
- package/dist/chunks/{model-retry-dkpjsqx5.js → shell-hq3r0yyq.js} +6 -6
- package/dist/chunks/shell-hsexgbfa.js +26 -0
- package/dist/chunks/{model-retry-56xvxeba.js → shell-hwwehp3g.js} +19 -19
- package/dist/chunks/{model-retry-mepfg8er.js → shell-j0dfz3p0.js} +7 -7
- package/dist/chunks/{model-retry-687fy18w.js → shell-j29mft07.js} +7 -7
- package/dist/chunks/{model-retry-j376ae4e.js → shell-j376ae4e.js} +1 -1
- package/dist/chunks/{model-retry-1gz7zm0b.js → shell-j37rnbkx.js} +9 -9
- package/dist/chunks/{model-retry-j9nxzz3g.js → shell-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-retry-03akfpcj.js → shell-jevmxyvj.js} +50 -50
- package/dist/chunks/{model-retry-hcjkd60y.js → shell-jk3qt3nm.js} +28 -28
- package/dist/chunks/{model-retry-m1sd1nzj.js → shell-jpj143sy.js} +26 -26
- package/dist/chunks/{model-retry-edccdjgn.js → shell-jr3xr1h7.js} +24 -24
- package/dist/chunks/{model-retry-jxd6f16v.js → shell-jxd6f16v.js} +2 -2
- package/dist/chunks/{model-retry-dfxqvc4e.js → shell-jxgppkd5.js} +2 -2
- package/dist/chunks/{model-retry-eev65t0h.js → shell-k2pt82t5.js} +7 -7
- package/dist/chunks/{model-retry-1yh4cc2k.js → shell-kd0nmecv.js} +7 -7
- package/dist/chunks/{model-retry-52bq3fza.js → shell-kfwe892m.js} +12 -12
- package/dist/chunks/{model-retry-58wf94jx.js → shell-kgmdm1mc.js} +6 -6
- package/dist/chunks/{model-retry-kh8gdsej.js → shell-kh8gdsej.js} +1 -1
- package/dist/chunks/{model-retry-v5hpj9dd.js → shell-kmzgegqq.js} +8 -8
- package/dist/chunks/{model-retry-qphqztqn.js → shell-kn5pgt03.js} +12 -12
- package/dist/chunks/{model-retry-yr85y3b1.js → shell-ks3cm6m9.js} +9 -9
- package/dist/chunks/{model-retry-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-4et74f6b.js → shell-kwdx365q.js} +5 -5
- package/dist/chunks/{model-retry-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-retry-ep6pe98a.js → shell-kzdam8c6.js} +7 -7
- package/dist/chunks/{model-retry-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-qpq3aa4d.js → shell-m2tvmwk7.js} +23 -23
- package/dist/chunks/{model-retry-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-n6gzv18t.js → shell-mae2tq53.js} +31 -31
- package/dist/chunks/{model-retry-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
- package/dist/chunks/{model-retry-0n28khqy.js → shell-mbk8h3wg.js} +9 -9
- package/dist/chunks/{model-retry-eg634yz2.js → shell-mjb4x3wz.js} +16 -16
- package/dist/chunks/{model-retry-mt9pskbw.js → shell-mjmpc5sw.js} +2 -2
- package/dist/chunks/{model-retry-jffrhh9g.js → shell-mk8zq1xj.js} +19 -19
- package/dist/chunks/{model-retry-hx3v7gkd.js → shell-mq213kg4.js} +10 -10
- package/dist/chunks/{model-retry-5tktyjsz.js → shell-mwzkn054.js} +87 -87
- package/dist/chunks/{model-retry-wxynfj5e.js → shell-n95h2jb4.js} +14 -14
- package/dist/chunks/{model-retry-bc1zr08q.js → shell-nb93nqqa.js} +27 -27
- package/dist/chunks/{model-retry-1v68nqjc.js → shell-ndpbz77q.js} +3 -3
- package/dist/chunks/{model-retry-s7teqg5a.js → shell-nec8svhy.js} +40 -40
- package/dist/chunks/{model-retry-xmxf0jav.js → shell-njcn97q6.js} +19 -19
- package/dist/chunks/{model-retry-65jde9q7.js → shell-nkxfbf5e.js} +19 -19
- package/dist/chunks/{model-retry-fwv5jk54.js → shell-nmwmadty.js} +10 -10
- package/dist/chunks/{model-retry-y346hdw2.js → shell-npdgcan7.js} +7 -7
- package/dist/chunks/{model-retry-3627dt3h.js → shell-nvdvnz35.js} +27 -27
- package/dist/chunks/{model-retry-pcz6jjc3.js → shell-p3qgwpvm.js} +3 -3
- package/dist/chunks/{model-retry-qf6vnvtz.js → shell-pczp76wy.js} +7 -7
- package/dist/chunks/{model-retry-9gzp0nca.js → shell-pd38x771.js} +6 -6
- package/dist/chunks/{model-retry-gpsveqwr.js → shell-pdjjkz20.js} +13 -13
- package/dist/chunks/{model-retry-bzbtkgr3.js → shell-pgd10jsf.js} +79 -79
- package/dist/chunks/{model-retry-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-zx68twwp.js → shell-psr002z0.js} +19 -19
- package/dist/chunks/{model-retry-k6ymtmb5.js → shell-q2pyecvj.js} +5 -5
- package/dist/chunks/{model-retry-xbrwr3dr.js → shell-q4r31kbf.js} +23 -23
- package/dist/chunks/{model-retry-jhwp234h.js → shell-q65mdntm.js} +4 -4
- package/dist/chunks/{model-retry-j6hzybbs.js → shell-q7xcpsfa.js} +7 -7
- package/dist/chunks/{model-retry-fnctwaab.js → shell-q878chk0.js} +353 -353
- package/dist/chunks/{model-retry-d1tfjsd6.js → shell-qa6d23rc.js} +3 -3
- package/dist/chunks/{model-retry-p2tvx8t7.js → shell-qa8wq1bx.js} +9 -9
- package/dist/chunks/{model-retry-y0cxba2k.js → shell-qby2zbqt.js} +22 -22
- package/dist/chunks/{model-retry-kj9n5bvh.js → shell-qfz6bxfd.js} +4 -4
- package/dist/chunks/{model-retry-w9w8mt4n.js → shell-qkc3z5ds.js} +4 -4
- package/dist/chunks/{model-retry-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-retry-0qs2w0pq.js → shell-qqrzc0yh.js} +11 -11
- package/dist/chunks/{model-retry-qqvy8y24.js → shell-qqvy8y24.js} +1 -1
- package/dist/chunks/{model-retry-wfdx5ztx.js → shell-qsdghx1p.js} +4 -4
- package/dist/chunks/{model-retry-weqc7sb9.js → shell-qtf35215.js} +3 -3
- package/dist/chunks/{model-retry-kkcrh3pd.js → shell-qv9r50zm.js} +18 -18
- package/dist/chunks/{model-retry-x9a09dck.js → shell-qxc3vksa.js} +6 -6
- package/dist/chunks/{model-retry-6xyc0kax.js → shell-r0qadsyg.js} +13 -13
- package/dist/chunks/{model-retry-3qgwywyc.js → shell-r17fbvme.js} +4 -4
- package/dist/chunks/{model-retry-vzppetdn.js → shell-r1fnsf7p.js} +6 -6
- package/dist/chunks/{model-retry-714sva13.js → shell-r3tcmkcs.js} +17 -17
- package/dist/chunks/{model-retry-h4ng16ej.js → shell-r56mgjcm.js} +16 -16
- package/dist/chunks/{model-retry-0m2wn4td.js → shell-r82j83q4.js} +36 -36
- package/dist/chunks/{model-retry-5kfyzpnv.js → shell-rahnahn3.js} +6 -6
- package/dist/chunks/{model-retry-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-m979knme.js → shell-rdrzgfkv.js} +6 -6
- package/dist/chunks/{model-retry-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-retry-kanv5jxz.js → shell-rghhz6zv.js} +9 -9
- package/dist/chunks/{model-retry-dtne69m2.js → shell-rh3shmtx.js} +10 -10
- package/dist/chunks/{model-retry-26vw3nkf.js → shell-rhapzdzw.js} +18 -18
- package/dist/chunks/{model-retry-mn48dts9.js → shell-rm3e3cyj.js} +8 -8
- package/dist/chunks/{model-retry-k7k2wzdy.js → shell-rmhx75t3.js} +15 -15
- package/dist/chunks/{model-retry-n8c07vr4.js → shell-rp7apy8s.js} +18 -18
- package/dist/chunks/{model-retry-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-0tcj55vp.js → shell-rvxxwe6w.js} +9 -9
- package/dist/chunks/{model-retry-6dz7wdar.js → shell-rxtbt6kv.js} +10 -10
- package/dist/chunks/{model-retry-xdg7qpd5.js → shell-ry0v614g.js} +32 -32
- package/dist/chunks/{model-retry-s1ba0vj0.js → shell-s1ba0vj0.js} +2 -2
- package/dist/chunks/{model-retry-vgbhzz5z.js → shell-s4vamwkg.js} +12 -12
- package/dist/chunks/{model-retry-dg5naf6e.js → shell-s79v6bct.js} +4 -4
- package/dist/chunks/{model-retry-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-retry-sbya78hr.js → shell-sbya78hr.js} +1 -1
- package/dist/chunks/{model-retry-6f7h967y.js → shell-sh62exzy.js} +19 -19
- package/dist/chunks/{model-retry-56z5jcfe.js → shell-sh9a1hwy.js} +7 -7
- package/dist/chunks/{model-retry-3j3557gf.js → shell-sp4wf9at.js} +50 -50
- package/dist/chunks/{model-retry-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-retry-zx7hpb7p.js → shell-t55b5cgh.js} +14 -14
- package/dist/chunks/{model-retry-ympz6dt8.js → shell-t9vheqbg.js} +3 -3
- package/dist/chunks/{model-retry-p26htzqx.js → shell-tah62rx7.js} +8 -8
- package/dist/chunks/{model-retry-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-tgx2mcr0.js → shell-tt6gt43w.js} +5 -5
- package/dist/chunks/{model-retry-tvtps2q9.js → shell-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-retry-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{model-retry-8y1x94rh.js → shell-v257k2g9.js} +31 -31
- package/dist/chunks/{model-retry-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-chy84r4k.js → shell-vd0ryday.js} +36 -36
- package/dist/chunks/{model-retry-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-retry-5n0rnk8e.js → shell-vmxsyvj6.js} +4 -4
- package/dist/chunks/{model-retry-jeg20vnb.js → shell-vv8kfd4w.js} +25 -25
- package/dist/chunks/{model-retry-gvca9fq4.js → shell-vvpmgzp6.js} +45 -45
- package/dist/chunks/{model-retry-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-133hy8g0.js → shell-w4e86a8d.js} +3 -3
- package/dist/chunks/{model-retry-mf63ygpr.js → shell-w79nt68w.js} +4 -4
- package/dist/chunks/{model-retry-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-rzrpwr1q.js → shell-wcrzq7nt.js} +28 -28
- package/dist/chunks/{model-retry-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
- package/dist/chunks/{model-retry-1e7234jn.js → shell-whdsx4c1.js} +16 -16
- package/dist/chunks/{model-retry-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
- package/dist/chunks/{model-retry-f5h1k6kg.js → shell-wxs085yw.js} +12 -12
- package/dist/chunks/{model-retry-55g2q5p5.js → shell-x150ncgg.js} +2 -2
- package/dist/chunks/{model-retry-87n69sem.js → shell-x423karh.js} +1 -1
- package/dist/chunks/{model-retry-8c6wzkmq.js → shell-x950xzef.js} +13 -13
- package/dist/chunks/{model-retry-wv2cr0rm.js → shell-xbfvprv6.js} +18 -18
- package/dist/chunks/{model-retry-50eg523m.js → shell-xertjmz1.js} +3 -3
- package/dist/chunks/{model-retry-xxschbft.js → shell-xjr6c8m4.js} +4 -4
- package/dist/chunks/{model-retry-brv6mkyx.js → shell-xksw6ev0.js} +4 -4
- package/dist/chunks/{model-retry-kc4ez2ea.js → shell-xp6dqf4j.js} +8 -8
- package/dist/chunks/{model-retry-fjtt755v.js → shell-xw8c6gnm.js} +10 -10
- package/dist/chunks/{model-retry-vmrnw26k.js → shell-y7t9x7tn.js} +6 -6
- package/dist/chunks/{model-retry-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-84p2h2nr.js → shell-yb6m76fq.js} +10 -10
- package/dist/chunks/{model-retry-0h86f0az.js → shell-ybws1qgk.js} +4 -4
- package/dist/chunks/{model-retry-zgv53tvs.js → shell-yd109x35.js} +3 -3
- package/dist/chunks/{model-retry-jnhgr88h.js → shell-yfmbdz01.js} +4 -4
- package/dist/chunks/{model-retry-bsmhfrg4.js → shell-yh1setas.js} +4 -4
- package/dist/chunks/{model-retry-33v5y19x.js → shell-yjsamv7j.js} +30 -30
- package/dist/chunks/{model-retry-mmmhs07p.js → shell-ym7qyz8p.js} +21 -21
- package/dist/chunks/{model-retry-yr705xyq.js → shell-yr705xyq.js} +1 -1
- package/dist/chunks/{model-retry-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-retry-cmgjhmvc.js → shell-ywz0n6pd.js} +9 -9
- package/dist/chunks/{model-retry-grkedb35.js → shell-zadskqzh.js} +15 -15
- package/dist/chunks/{model-retry-evw2arw5.js → shell-zdt1g382.js} +12 -12
- package/dist/chunks/{model-retry-0yrs0ja2.js → shell-zh1vrc3z.js} +9 -9
- package/dist/chunks/{model-retry-6kfhwn66.js → shell-znq320h5.js} +21 -21
- package/dist/chunks/{model-retry-xvjkaw2n.js → shell-zsqh38e7.js} +11 -11
- package/dist/chunks/{model-retry-963hk181.js → shell-zyfhsknv.js} +9 -9
- 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 +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +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 +132 -132
- package/dist/config/plugin/mcp.js +143 -143
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +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 +132 -132
- 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 +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 +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +86 -86
- 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 +118 -118
- 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 +104 -104
- 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 +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +174 -174
- 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 +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- 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 +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 +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 +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 +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 +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 +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 +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 +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +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 +6 -6
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +104 -104
- 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 +249 -249
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- 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 +241 -241
- 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 +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 +180 -180
- 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 +5 -5
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +239 -239
- package/dist/session/usage.js +3 -3
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +1 -1
- 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 +9 -9
- package/dist/shell.js +147 -147
- 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 +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 +168 -168
- 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 +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -168
- 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 +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +1 -1
- 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 +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- 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 → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-108x4f4w.js → shell-108x4f4w.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-1kah00gy.js → shell-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3af0jn4w.js → shell-3af0jn4w.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-retry-6agm2x70.js → shell-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-retry-bhmrqjy3.js → shell-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-syrav9an.js → shell-syrav9an.js} +0 -0
- /package/dist/chunks/{model-retry-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-retry-ty7weeps.js → shell-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-vtarvj67.js → shell-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-z0h12gs8.js → shell-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-retry-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-4nh513ck.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node86
|
|
8
|
+
} from "./shell-r3tcmkcs.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref3,
|
|
12
12
|
Service82,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node84
|
|
14
|
+
} from "./shell-5958t36d.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID12,
|
|
17
|
+
Service64,
|
|
18
|
+
node65
|
|
19
|
+
} from "./shell-hwwehp3g.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-hq3r0yyq.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-bfmm6xpm.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-ywz0n6pd.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service63,
|
|
31
|
+
node64
|
|
32
|
+
} from "./shell-kfwe892m.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./shell-vvpmgzp6.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make24
|
|
38
|
+
} from "./shell-1wsmx976.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service44,
|
|
41
|
+
node47
|
|
42
|
+
} from "./shell-f5fj0026.js";
|
|
43
|
+
import {
|
|
44
|
+
Service32,
|
|
45
|
+
node36
|
|
46
|
+
} from "./shell-mjb4x3wz.js";
|
|
47
|
+
import {
|
|
48
|
+
Service59,
|
|
49
|
+
node60
|
|
50
|
+
} from "./shell-6e65c26n.js";
|
|
51
|
+
import {
|
|
52
|
+
Service48,
|
|
53
|
+
node51
|
|
54
|
+
} from "./shell-jk3qt3nm.js";
|
|
43
55
|
import {
|
|
44
56
|
Service35,
|
|
45
57
|
node39
|
|
46
|
-
} from "./
|
|
47
|
-
import {
|
|
48
|
-
Service52,
|
|
49
|
-
node53
|
|
50
|
-
} from "./model-retry-2hccw83s.js";
|
|
58
|
+
} from "./shell-5ygc3h7c.js";
|
|
51
59
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
60
|
+
Service34,
|
|
61
|
+
node38
|
|
62
|
+
} from "./shell-ym7qyz8p.js";
|
|
55
63
|
import {
|
|
56
64
|
Service33,
|
|
57
65
|
node37
|
|
58
|
-
} from "./
|
|
59
|
-
import {
|
|
60
|
-
Service32,
|
|
61
|
-
node36
|
|
62
|
-
} from "./model-retry-mmmhs07p.js";
|
|
66
|
+
} from "./shell-rp7apy8s.js";
|
|
63
67
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
68
|
+
Service37,
|
|
69
|
+
node41
|
|
70
|
+
} from "./shell-5vxk5b4t.js";
|
|
67
71
|
import {
|
|
68
72
|
Service41,
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
71
|
-
import {
|
|
72
|
-
Service36,
|
|
73
|
-
node40
|
|
74
|
-
} from "./model-retry-grkedb35.js";
|
|
73
|
+
node45
|
|
74
|
+
} from "./shell-zadskqzh.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service39,
|
|
77
|
+
node43
|
|
78
|
+
} from "./shell-6snqk0kd.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./shell-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service31,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node35
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service31 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
94
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service64;
|
|
96
|
+
const builtins = yield* Service32;
|
|
97
97
|
const model = yield* Service82;
|
|
98
98
|
const db = (yield* Service91).db;
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
99
|
+
const discovery = yield* Service44;
|
|
100
|
+
const entries = yield* Service41;
|
|
101
|
+
const location = yield* Service84;
|
|
102
|
+
const mcpInstructions = yield* Service34;
|
|
103
|
+
const mcpTools = yield* Service35;
|
|
104
|
+
const models = yield* Service59;
|
|
105
|
+
const request = yield* Service39;
|
|
106
|
+
const referenceInstructions = yield* Service33;
|
|
107
|
+
const skillInstructions = yield* Service37;
|
|
108
|
+
const store = yield* Service63;
|
|
109
|
+
const registry = yield* Service48;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID12.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
168
168
|
session,
|
|
169
169
|
agent: { ...agent, info: agent.info },
|
|
170
170
|
instructions: combine2([
|
|
171
|
-
|
|
171
|
+
make24(loaded.tools.codeModeCatalog),
|
|
172
172
|
loaded.mcp,
|
|
173
173
|
loaded.references,
|
|
174
174
|
loaded.skills,
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service31.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node35 = makeLocationNode({
|
|
203
|
+
service: Service31,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
node65,
|
|
207
|
+
node84,
|
|
208
208
|
node94,
|
|
209
|
-
node39,
|
|
210
|
-
node57,
|
|
211
|
-
node40,
|
|
212
|
-
node90,
|
|
213
209
|
node36,
|
|
210
|
+
node47,
|
|
211
|
+
node45,
|
|
212
|
+
node86,
|
|
213
|
+
node38,
|
|
214
|
+
node39,
|
|
214
215
|
node37,
|
|
215
|
-
|
|
216
|
-
|
|
216
|
+
node60,
|
|
217
|
+
node43,
|
|
218
|
+
node64,
|
|
217
219
|
node41,
|
|
218
|
-
|
|
219
|
-
node44,
|
|
220
|
-
node46
|
|
220
|
+
node51
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service31, node35, exports_context };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/codemode/execution.ts
|
|
6
6
|
var exports_execution = {};
|
|
7
7
|
__export(exports_execution, {
|
|
8
8
|
CodeModeExecution: () => exports_execution,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service49
|
|
10
10
|
});
|
|
11
11
|
import { Context } from "effect";
|
|
12
12
|
|
|
13
|
-
class
|
|
13
|
+
class Service49 extends Context.Service()("@opencode/CodeModeExecution") {
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Service49, exports_execution };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-6p0htpnz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID21,
|
|
6
|
+
Event20,
|
|
7
|
+
Service88
|
|
8
|
+
} from "./shell-ckbkj3gw.js";
|
|
9
9
|
import {
|
|
10
10
|
ID17
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-5a65b5yp.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-70bbyff8.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
43
43
|
id: "opencode.provider.google.vertex",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
45
|
const fs = yield* FSUtil.Service;
|
|
46
|
-
const credentials = yield*
|
|
46
|
+
const credentials = yield* Service88;
|
|
47
47
|
const bus = yield* Service90;
|
|
48
48
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
49
49
|
return;
|
|
@@ -68,7 +68,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active(ID17.googleVertex);
|
|
71
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
71
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID21.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
74
74
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
yield* bus.subscribe([
|
|
162
|
+
yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
163
163
|
const next = yield* load();
|
|
164
164
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
165
165
|
return;
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-6p0htpnz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Event20,
|
|
6
|
+
Service88
|
|
7
|
+
} from "./shell-ckbkj3gw.js";
|
|
8
8
|
import {
|
|
9
9
|
batch2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-40y6dtc2.js";
|
|
11
11
|
import {
|
|
12
12
|
suppliers2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-r17fbvme.js";
|
|
14
14
|
import {
|
|
15
15
|
match3
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-1aqsckx4.js";
|
|
17
17
|
import {
|
|
18
18
|
statements2,
|
|
19
19
|
decision2,
|
|
20
20
|
integrationResource2,
|
|
21
21
|
accounts2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-h5chy42v.js";
|
|
23
23
|
import {
|
|
24
24
|
Service78
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-3dbxf0x7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service22
|
|
28
|
+
} from "./shell-znq320h5.js";
|
|
29
29
|
import {
|
|
30
30
|
observe2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./shell-tvtps2q9.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./shell-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/plugin/policy.ts
|
|
37
37
|
var exports_policy = {};
|
|
38
38
|
__export(exports_policy, {
|
|
39
39
|
ConfigPolicyPlugin: () => exports_policy,
|
|
40
|
-
Plugin: () =>
|
|
40
|
+
Plugin: () => Plugin45
|
|
41
41
|
});
|
|
42
42
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
43
43
|
import { Effect, Stream } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var Plugin45 = define({
|
|
45
45
|
id: "opencode.config.policy",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
47
|
const config = yield* Service78;
|
|
48
|
-
const credentials = yield*
|
|
49
|
-
const websearch = yield*
|
|
48
|
+
const credentials = yield* Service88;
|
|
49
|
+
const websearch = yield* Service22;
|
|
50
50
|
const bus = yield* Service90;
|
|
51
51
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload(), websearch.reload()], {
|
|
52
52
|
discard: true
|
|
@@ -54,7 +54,7 @@ var Plugin29 = define({
|
|
|
54
54
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
55
55
|
const policies = () => statements2(loaded.entries);
|
|
56
56
|
const current = { accounts: accounts2(yield* credentials.all()) };
|
|
57
|
-
yield* bus.subscribe([
|
|
57
|
+
yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
58
58
|
const next = accounts2(yield* credentials.all());
|
|
59
59
|
if (next.size === current.accounts.size && Array.from(next).every(([id, account]) => current.accounts.get(id) === account))
|
|
60
60
|
return;
|
|
@@ -110,4 +110,4 @@ var Plugin29 = define({
|
|
|
110
110
|
})
|
|
111
111
|
});
|
|
112
112
|
|
|
113
|
-
export {
|
|
113
|
+
export { Plugin45, exports_policy };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
6
|
Service82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-5958t36d.js";
|
|
8
8
|
import {
|
|
9
9
|
Service78
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-3dbxf0x7.js";
|
|
11
11
|
import {
|
|
12
12
|
observe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-tvtps2q9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./shell-c51xvhgg.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionMessage2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-gftt206x.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service61
|
|
23
|
+
} from "./shell-vvpmgzp6.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service21
|
|
26
|
+
} from "./shell-e27xj7a8.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service74
|
|
29
|
+
} from "./shell-akx86dnn.js";
|
|
30
30
|
import {
|
|
31
31
|
text2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shell-8b3vzgkx.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
Service58
|
|
35
|
+
} from "./shell-kn5pgt03.js";
|
|
36
36
|
import {
|
|
37
37
|
detect2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./shell-4pyp9zr9.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service29
|
|
41
|
+
} from "./shell-mwzkn054.js";
|
|
42
42
|
import {
|
|
43
43
|
collectBoundedResponseBody2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./shell-3v8g72cx.js";
|
|
45
45
|
import {
|
|
46
46
|
__export
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./shell-9rqn6x4v.js";
|
|
48
48
|
|
|
49
49
|
// src/tool/plugin/image-generate.ts
|
|
50
50
|
var exports_image_generate = {};
|
|
51
51
|
__export(exports_image_generate, {
|
|
52
52
|
ImageGenerateTool: () => exports_image_generate,
|
|
53
|
-
Input: () =>
|
|
53
|
+
Input: () => Input12,
|
|
54
54
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
55
|
-
Output: () =>
|
|
56
|
-
Plugin: () =>
|
|
55
|
+
Output: () => Output8,
|
|
56
|
+
Plugin: () => Plugin34,
|
|
57
57
|
defaultModel: () => defaultModel2,
|
|
58
|
-
description: () =>
|
|
59
|
-
name: () =>
|
|
58
|
+
description: () => description7,
|
|
59
|
+
name: () => name12
|
|
60
60
|
});
|
|
61
61
|
import path from "path";
|
|
62
62
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
|
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
65
|
import { Duration, Effect, Schema, Scope, Stream } from "effect";
|
|
66
66
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
67
|
-
var
|
|
67
|
+
var name12 = "experimental_image_generate";
|
|
68
68
|
var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
|
|
69
69
|
var DOWNLOAD_TIMEOUT = Duration.seconds(30);
|
|
70
70
|
var GENERATE_TIMEOUT = Duration.minutes(30);
|
|
@@ -75,7 +75,7 @@ var EXTENSIONS = {
|
|
|
75
75
|
"image/webp": ".webp",
|
|
76
76
|
"image/gif": ".gif"
|
|
77
77
|
};
|
|
78
|
-
var
|
|
78
|
+
var description7 = [
|
|
79
79
|
"Generates a new image, or edits existing ones.",
|
|
80
80
|
"Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
|
|
81
81
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
@@ -84,7 +84,7 @@ var description4 = [
|
|
|
84
84
|
"Don't repeat a request unless the user asks."
|
|
85
85
|
].join(`
|
|
86
86
|
`);
|
|
87
|
-
var
|
|
87
|
+
var Input12 = Schema.Struct({
|
|
88
88
|
prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
89
89
|
description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
|
|
90
90
|
}),
|
|
@@ -98,25 +98,25 @@ var Input4 = Schema.Struct({
|
|
|
98
98
|
description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
|
-
var
|
|
101
|
+
var Output8 = Schema.Struct({
|
|
102
102
|
id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
|
|
103
103
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
104
104
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
105
105
|
});
|
|
106
|
-
var
|
|
106
|
+
var Plugin34 = {
|
|
107
107
|
id: "opencode.tool.image-generate",
|
|
108
108
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const environment = yield*
|
|
111
|
-
const generate = yield*
|
|
109
|
+
const access = yield* Service21;
|
|
110
|
+
const environment = yield* Service69;
|
|
111
|
+
const generate = yield* Service74;
|
|
112
112
|
const global = yield* Global.Service;
|
|
113
113
|
const http = yield* HttpClient.HttpClient;
|
|
114
114
|
const config = yield* Service78;
|
|
115
|
-
const jobs = yield*
|
|
115
|
+
const jobs = yield* Service58;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
|
-
const sessions = yield*
|
|
117
|
+
const sessions = yield* Service29;
|
|
118
118
|
const models = yield* Service82;
|
|
119
|
-
const permission = yield*
|
|
119
|
+
const permission = yield* Service61;
|
|
120
120
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
121
121
|
const available = yield* models.available(["image"]);
|
|
122
122
|
if (!input) {
|
|
@@ -201,7 +201,7 @@ var Plugin6 = {
|
|
|
201
201
|
state: info.status,
|
|
202
202
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
203
203
|
}),
|
|
204
|
-
metadata: { source:
|
|
204
|
+
metadata: { source: name12, jobID: input.id, state: info.status, path: input.file }
|
|
205
205
|
});
|
|
206
206
|
yield* jobs.completeBackground(input.notificationID);
|
|
207
207
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
@@ -220,11 +220,11 @@ var Plugin6 = {
|
|
|
220
220
|
if (!enabled || imageGenerate(loaded.entries) === false)
|
|
221
221
|
return;
|
|
222
222
|
editor.add({
|
|
223
|
-
name:
|
|
223
|
+
name: name12,
|
|
224
224
|
options: { codemode: false },
|
|
225
|
-
description:
|
|
226
|
-
input:
|
|
227
|
-
output:
|
|
225
|
+
description: description7,
|
|
226
|
+
input: Input12,
|
|
227
|
+
output: Output8,
|
|
228
228
|
execute: (input, context) => Effect.gen(function* () {
|
|
229
229
|
const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
|
|
230
230
|
const model = resolved.model;
|
|
@@ -233,7 +233,7 @@ var Plugin6 = {
|
|
|
233
233
|
const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
|
|
234
234
|
const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
|
|
235
235
|
yield* permission.assert({
|
|
236
|
-
action:
|
|
236
|
+
action: name12,
|
|
237
237
|
resources: [ref],
|
|
238
238
|
save: ["*"],
|
|
239
239
|
metadata: { ...input, model: ref },
|
|
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
|
|
|
287
287
|
yield* jobs.start({
|
|
288
288
|
id,
|
|
289
289
|
notificationID,
|
|
290
|
-
type:
|
|
290
|
+
type: name12,
|
|
291
291
|
title: input.prompt,
|
|
292
292
|
metadata: { sessionID: context.sessionID, path: stem, model: ref },
|
|
293
293
|
recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
|
|
@@ -326,4 +326,4 @@ function acceptsImages(model) {
|
|
|
326
326
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name12, MAX_INPUT_BYTES2, description7, Input12, Output8, Plugin34, defaultModel2, exports_image_generate };
|