@opencode/core 0.0.0-dev-555 → 0.0.0-dev-565
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/{image-x4050fn4.js → session-00z8f2wb.js} +6 -6
- package/dist/chunks/{image-034tev2y.js → session-034tev2y.js} +2 -2
- package/dist/chunks/{image-dfey69ds.js → session-04fzva34.js} +11 -11
- package/dist/chunks/{image-04whjz6n.js → session-04whjz6n.js} +2 -2
- package/dist/chunks/{image-8re726gk.js → session-086jsyq9.js} +29 -29
- package/dist/chunks/{image-8rxsfbyh.js → session-0cg8xyyv.js} +26 -26
- package/dist/chunks/{image-aenfgdrw.js → session-0k2xwh1j.js} +20 -20
- package/dist/chunks/{image-z9165bmc.js → session-0k8rkn64.js} +13 -13
- package/dist/chunks/{image-w5dw3tdx.js → session-0krmktcb.js} +8 -8
- package/dist/chunks/{image-0ma9gw4f.js → session-0ma9gw4f.js} +2 -2
- package/dist/chunks/{image-3h1bv8fr.js → session-0php2d2a.js} +4 -4
- package/dist/chunks/{image-ww63bgb6.js → session-0xwnwztb.js} +8 -8
- package/dist/chunks/session-14bb2mkx.js +265 -0
- package/dist/chunks/{image-8pjnnye4.js → session-18ya4r63.js} +43 -43
- package/dist/chunks/{image-1aqsckx4.js → session-1aqsckx4.js} +1 -1
- package/dist/chunks/{image-6jxjehmv.js → session-1bnpr0v3.js} +7 -7
- package/dist/chunks/{image-wfytmw1f.js → session-1bs82csh.js} +19 -19
- package/dist/chunks/{image-mvgx777g.js → session-1deycwz7.js} +18 -18
- package/dist/chunks/{image-1ep2p91f.js → session-1ep2p91f.js} +2 -2
- package/dist/chunks/{image-j43v3wwk.js → session-1k9yp3a1.js} +193 -193
- package/dist/chunks/{image-h6hed1sq.js → session-1qbpncw2.js} +9 -9
- package/dist/chunks/{image-msd2a3qm.js → session-1v2g13eq.js} +4 -4
- package/dist/chunks/{image-1x2knyw4.js → session-1x2knyw4.js} +1 -1
- package/dist/chunks/{image-59kt51qq.js → session-1xgd112x.js} +8 -8
- package/dist/chunks/{image-2tr4gzfh.js → session-1y6pmrj8.js} +45 -45
- package/dist/chunks/{image-v9ez2kgh.js → session-1yq9hg58.js} +5 -5
- package/dist/chunks/{image-25mddd6t.js → session-2063rmea.js} +15 -15
- package/dist/chunks/{image-kmyywh25.js → session-21rrby8r.js} +9 -9
- package/dist/chunks/{image-8b3vzgkx.js → session-25h84942.js} +4 -4
- package/dist/chunks/{image-g8e59k0y.js → session-28jbfk44.js} +10 -10
- package/dist/chunks/{image-2kv9862h.js → session-2c6fpjes.js} +8 -8
- package/dist/chunks/{image-fqshqzv0.js → session-2hmytcqx.js} +5 -5
- package/dist/chunks/{image-f6s81dg8.js → session-2khdab78.js} +31 -31
- package/dist/chunks/{image-2p60zmnr.js → session-2p60zmnr.js} +2 -2
- package/dist/chunks/{image-bmgjskxq.js → session-2sppxr3w.js} +21 -21
- package/dist/chunks/{image-tcp3jw5p.js → session-2tw0fdgr.js} +35 -35
- package/dist/chunks/{image-nrxcgcys.js → session-2wadyvfj.js} +7 -7
- package/dist/chunks/{image-k9cx235e.js → session-2xsr084q.js} +20 -20
- package/dist/chunks/{image-dhtyhrzw.js → session-30vs6m4c.js} +3 -3
- package/dist/chunks/{image-ypzz06n9.js → session-31avdb49.js} +11 -11
- package/dist/chunks/{image-0y15sqga.js → session-32s5n8c8.js} +11 -11
- package/dist/chunks/{image-93qy7c07.js → session-3483m88w.js} +36 -36
- package/dist/chunks/{image-be6wbg75.js → session-399g79dq.js} +46 -46
- package/dist/chunks/{image-1vydkq8e.js → session-39sdzqme.js} +18 -18
- package/dist/chunks/{image-bed87xrj.js → session-3d5r1kzb.js} +29 -29
- package/dist/chunks/{image-ze2gmytz.js → session-3e7txgya.js} +11 -11
- package/dist/chunks/{image-v1z3gphh.js → session-3h7z89yb.js} +21 -21
- package/dist/chunks/{image-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-3nnrz6f6.js → session-3nnrz6f6.js} +1 -1
- package/dist/chunks/{image-hydhrcpd.js → session-3qrj1n1c.js} +11 -11
- package/dist/chunks/{image-7gwteh35.js → session-3rtjnxxr.js} +36 -35
- package/dist/chunks/{image-qqg9c0kv.js → session-3ryz99p0.js} +4 -4
- package/dist/chunks/{image-40y6dtc2.js → session-40y6dtc2.js} +1 -1
- package/dist/chunks/{image-w2eysc6j.js → session-40za9wsf.js} +9 -9
- package/dist/chunks/{image-44pmzq9c.js → session-44pmzq9c.js} +2 -2
- package/dist/chunks/{image-rh1at2a9.js → session-4a65e717.js} +4 -4
- package/dist/chunks/{image-c092wk13.js → session-4aygvfyq.js} +5 -5
- package/dist/chunks/{image-59dc2611.js → session-4b4zke7t.js} +33 -33
- package/dist/chunks/{image-1qna1hg3.js → session-4bvch20p.js} +15 -15
- package/dist/chunks/{image-4dx1dgte.js → session-4dx1dgte.js} +1 -1
- package/dist/chunks/{image-j50j1kzn.js → session-4eeynqps.js} +20 -20
- package/dist/chunks/{image-r542h3bh.js → session-4f25tdd0.js} +5 -5
- package/dist/chunks/{image-kpambw8p.js → session-4jgw7497.js} +28 -28
- package/dist/chunks/session-4m6g1g4q.js +16 -0
- package/dist/chunks/{image-4pyp9zr9.js → session-4pyp9zr9.js} +1 -1
- package/dist/chunks/{image-qxnjn1tb.js → session-4qqwzp5f.js} +19 -19
- package/dist/chunks/{image-k4gez227.js → session-4sv52fd8.js} +25 -25
- package/dist/chunks/{image-4v008n1t.js → session-4v008n1t.js} +1 -1
- package/dist/chunks/{image-p0hrayvw.js → session-4vf4af81.js} +38 -38
- package/dist/chunks/{image-xxgqx85s.js → session-4xe5dg26.js} +11 -11
- package/dist/chunks/{image-3zzpt97w.js → session-50xaw2nm.js} +13 -13
- package/dist/chunks/{image-xtsjbda3.js → session-52c8pja7.js} +21 -21
- package/dist/chunks/{image-4deandmx.js → session-5652bp9h.js} +5 -5
- package/dist/chunks/{image-k47bt2zs.js → session-5h5640ya.js} +45 -45
- package/dist/chunks/{image-5m9w47nd.js → session-5m9w47nd.js} +1 -1
- package/dist/chunks/{image-9pad87pg.js → session-5mrft8kb.js} +31 -31
- package/dist/chunks/{image-fj1211hk.js → session-5p8jja08.js} +39 -39
- package/dist/chunks/{image-5whx36p1.js → session-5whx36p1.js} +1 -1
- package/dist/chunks/{image-q52kf7ff.js → session-5zrs9ahq.js} +21 -21
- package/dist/chunks/{image-wzhjf4ys.js → session-60689dcm.js} +11 -11
- package/dist/chunks/{image-hv16ydqb.js → session-6c0qgzb7.js} +20 -20
- package/dist/chunks/{image-rwcc01tt.js → session-6cqkw5v2.js} +7 -7
- package/dist/chunks/{image-cgwdk7h8.js → session-6r3yknj0.js} +6 -6
- package/dist/chunks/{image-jc512s3p.js → session-73y9ag02.js} +8 -8
- package/dist/chunks/{image-k9ccvh3m.js → session-78f1cnqv.js} +5 -5
- package/dist/chunks/{image-78p2h4ex.js → session-78p2h4ex.js} +2 -2
- package/dist/chunks/{image-b03hmnkf.js → session-7az6dh2s.js} +11 -11
- package/dist/chunks/{image-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-84brcpka.js → session-7mptvmsj.js} +12 -12
- package/dist/chunks/{image-tht15va1.js → session-7pc3emwf.js} +54 -54
- package/dist/chunks/{image-7w2ypzdf.js → session-7w2ypzdf.js} +1 -1
- package/dist/chunks/{image-7weczvnd.js → session-7weczvnd.js} +1 -1
- package/dist/chunks/{image-x36bd3xr.js → session-7xqeyyte.js} +51 -51
- package/dist/chunks/session-7yv5xa0k.js +18 -0
- package/dist/chunks/{image-p68dgss7.js → session-7zxqh8g8.js} +23 -23
- package/dist/chunks/{image-80mg3ag8.js → session-80mg3ag8.js} +3 -3
- package/dist/chunks/{image-wbha76wa.js → session-846zk90t.js} +27 -27
- package/dist/chunks/{image-89287pr7.js → session-89287pr7.js} +1 -1
- package/dist/chunks/{image-wty7rpvh.js → session-8b7gbs74.js} +16 -16
- package/dist/chunks/{image-sc28g299.js → session-8estr47b.js} +6 -6
- package/dist/chunks/{image-jjfhqcqt.js → session-8fvyepkh.js} +33 -33
- package/dist/chunks/{image-fspjncjj.js → session-8gm6jpeb.js} +51 -51
- package/dist/chunks/{image-7vshr64k.js → session-8pjgrggj.js} +8 -8
- package/dist/chunks/{image-ywd99pj9.js → session-8sqdexwy.js} +12 -12
- package/dist/chunks/{image-8sxe6kv8.js → session-8sxe6kv8.js} +2 -2
- package/dist/chunks/{image-zjgwam28.js → session-8vdbwyzg.js} +8 -8
- package/dist/chunks/{image-8wtp7s3z.js → session-8wtp7s3z.js} +1 -1
- package/dist/chunks/{image-fr30swe2.js → session-90sqhpss.js} +26 -26
- package/dist/chunks/{image-90zstvax.js → session-90zstvax.js} +1 -1
- package/dist/chunks/{image-czasat60.js → session-948ryf4r.js} +11 -11
- package/dist/chunks/{image-94e33dpz.js → session-94e33dpz.js} +3 -3
- package/dist/chunks/{image-dv16mx8y.js → session-963hk181.js} +7 -7
- package/dist/chunks/{image-4k6vnzrq.js → session-99ap4qjt.js} +34 -34
- package/dist/chunks/{image-b7fmpabb.js → session-9jq6vedg.js} +17 -17
- package/dist/chunks/{image-p5jrs0cb.js → session-9kygbeng.js} +21 -21
- package/dist/chunks/{image-v5shhexh.js → session-9m0m0m7d.js} +16 -16
- package/dist/chunks/{image-62zd5tzk.js → session-9qqfewpb.js} +7 -7
- package/dist/chunks/{image-2mn9z4z1.js → session-9v9v34jf.js} +36 -36
- package/dist/chunks/{image-n7n8d8fq.js → session-9wag002k.js} +19 -19
- package/dist/chunks/{image-a3kyp7a6.js → session-a2prwkaz.js} +11 -11
- package/dist/chunks/{image-qdtvge5d.js → session-a37tstf3.js} +22 -22
- package/dist/chunks/{image-vwxs1arr.js → session-a6mvz5yg.js} +14 -14
- package/dist/chunks/{image-8v3nvq1a.js → session-a8vp0knq.js} +7 -7
- package/dist/chunks/{image-qts06mpj.js → session-avdkfkqz.js} +34 -34
- package/dist/chunks/{image-c5vx1zac.js → session-avr0hj0j.js} +5 -5
- package/dist/chunks/{image-ayjs7tqn.js → session-ayjs7tqn.js} +2 -2
- package/dist/chunks/{image-m50q0ytx.js → session-b2bxw1t8.js} +11 -11
- package/dist/chunks/{image-45wb8ppp.js → session-b3a32pfz.js} +4 -4
- package/dist/chunks/{image-ch65jeve.js → session-b3vmpkrb.js} +20 -20
- package/dist/chunks/{image-42gmxtpq.js → session-b5atpkfy.js} +19 -19
- package/dist/chunks/{image-k0zbzedy.js → session-b6c0ka80.js} +4 -4
- package/dist/chunks/{image-b6vsg801.js → session-b6vsg801.js} +2 -2
- package/dist/chunks/{image-zd7h2jpv.js → session-ba3a4jn0.js} +5 -5
- package/dist/chunks/{image-8s8bdjfn.js → session-bgdzw4qm.js} +14 -14
- package/dist/chunks/{image-edxc03ag.js → session-bh030fek.js} +10 -10
- package/dist/chunks/{image-mp65ks7h.js → session-bhabf1f2.js} +6 -6
- package/dist/chunks/{image-ty7c51mz.js → session-bhnyva81.js} +7 -7
- package/dist/chunks/{image-xd9cc171.js → session-bstexjd6.js} +5 -5
- package/dist/chunks/{image-rb145xy3.js → session-btnd51e4.js} +16 -16
- package/dist/chunks/{image-7qv9q654.js → session-c09y0a8j.js} +6 -6
- package/dist/chunks/{image-tt88n1g6.js → session-c21cs5x9.js} +18 -18
- package/dist/chunks/{image-tsygc3ff.js → session-c32zfq3f.js} +8 -8
- package/dist/chunks/{image-px386mpv.js → session-ce831ss6.js} +4 -4
- package/dist/chunks/{image-mwxt7jr5.js → session-cexh0sks.js} +20 -20
- package/dist/chunks/{image-n4s7wb50.js → session-chmw37br.js} +5 -5
- package/dist/chunks/{image-vgwq4gkr.js → session-cne52mbv.js} +23 -23
- package/dist/chunks/{image-f8g1ppwy.js → session-crv9h1v8.js} +18 -18
- package/dist/chunks/{image-cwrgdav8.js → session-cwrgdav8.js} +2 -2
- package/dist/chunks/{image-d4v9tmah.js → session-d4v9tmah.js} +2 -2
- package/dist/chunks/{image-e8pm465n.js → session-ddwaa558.js} +4 -4
- package/dist/chunks/{image-dg5naf6e.js → session-dg5naf6e.js} +1 -1
- package/dist/chunks/{image-dt77769w.js → session-dt77769w.js} +1 -1
- package/dist/chunks/{image-d6sava7d.js → session-e09bgb28.js} +3 -3
- package/dist/chunks/{image-e834z07m.js → session-e834z07m.js} +1 -1
- package/dist/chunks/{image-w8z83mre.js → session-e8918hcz.js} +4 -4
- package/dist/chunks/{image-q8g72hps.js → session-eekn1xjq.js} +7 -7
- package/dist/chunks/{image-8ba28171.js → session-emcam472.js} +12 -12
- package/dist/chunks/{image-d25k7nba.js → session-ep0qj4gv.js} +42 -42
- package/dist/chunks/{image-eqw4pqj1.js → session-eqw4pqj1.js} +2 -2
- package/dist/chunks/{image-yde3vwey.js → session-ernn5wm1.js} +25 -25
- package/dist/chunks/{image-v80nk8m9.js → session-esecg30a.js} +40 -40
- package/dist/chunks/{image-p2zgsc1h.js → session-esrpj8rw.js} +11 -11
- package/dist/chunks/{image-3xntzx5c.js → session-ev5rvqv0.js} +25 -25
- package/dist/chunks/{image-d57zy3q1.js → session-evcdz3vw.js} +2 -2
- package/dist/chunks/{image-akse0cmk.js → session-eytwamfd.js} +11 -11
- package/dist/chunks/{image-ez5kac3c.js → session-f32m8sjz.js} +5 -5
- package/dist/chunks/{image-tyea02k1.js → session-f4k19a40.js} +2 -2
- package/dist/chunks/{image-73tw93bq.js → session-f9qgt6gx.js} +27 -27
- package/dist/chunks/{image-fffv3p7h.js → session-fffv3p7h.js} +1 -1
- package/dist/chunks/{image-prq7xxp2.js → session-fg9p65nk.js} +6 -6
- package/dist/chunks/{image-nts0abnx.js → session-fmg6h5cc.js} +29 -29
- package/dist/chunks/{image-r43y939d.js → session-fsdjxwv2.js} +9 -9
- package/dist/chunks/{image-3jx0cvga.js → session-ft131wsv.js} +25 -25
- package/dist/chunks/{image-rsr00wza.js → session-g1t6d8er.js} +4 -4
- package/dist/chunks/{image-sf9y72b7.js → session-g5ajqn12.js} +4 -4
- package/dist/chunks/{image-baefqw34.js → session-g8b9rg46.js} +1 -1
- package/dist/chunks/{image-gbjdnr5j.js → session-gbjdnr5j.js} +2 -2
- package/dist/chunks/{image-ghrv1g9c.js → session-ghrv1g9c.js} +1 -1
- package/dist/chunks/{image-tg7s7b5t.js → session-gxs71cxp.js} +4 -4
- package/dist/chunks/{image-hf2g6awt.js → session-gywqmcjq.js} +30 -30
- package/dist/chunks/{image-we5nvrjg.js → session-h1j9jhw9.js} +29 -29
- package/dist/chunks/{image-bdhemnqz.js → session-h3c892cr.js} +3 -3
- package/dist/chunks/{image-0fqsham1.js → session-hjdvyttd.js} +7 -7
- package/dist/chunks/{image-26fzfeak.js → session-jcj7mbjm.js} +7 -7
- package/dist/chunks/{image-wgy5s2je.js → session-jf47dbsz.js} +9 -9
- package/dist/chunks/{image-g8gy8cqb.js → session-jhwp234h.js} +4 -4
- package/dist/chunks/{image-rrrksm1c.js → session-jk58dnnv.js} +83 -83
- package/dist/chunks/{image-cr4rfj9z.js → session-jkdcm5hg.js} +4 -4
- package/dist/chunks/{image-r1ahr94h.js → session-jpc49ztp.js} +17 -17
- package/dist/chunks/{image-cy6rczmd.js → session-jqxxh6dk.js} +11 -11
- package/dist/chunks/{image-ejax6dvs.js → session-jvafs75d.js} +5 -5
- package/dist/chunks/{image-czp2x92j.js → session-jz7azmz9.js} +21 -21
- package/dist/chunks/{image-d02ch8m2.js → session-k5rhtcb1.js} +24 -24
- package/dist/chunks/{image-e8tb0d9f.js → session-ka5ebzj0.js} +3 -3
- package/dist/chunks/{image-kbgs7tyr.js → session-kbgs7tyr.js} +1 -1
- package/dist/chunks/{image-sfsaa5np.js → session-kdxpza4x.js} +23 -23
- package/dist/chunks/{image-kh8gdsej.js → session-kh8gdsej.js} +1 -1
- package/dist/chunks/{image-20pht57w.js → session-kj9n5bvh.js} +4 -4
- package/dist/chunks/{image-9c1xkzn4.js → session-kjk6xkpq.js} +3 -3
- package/dist/chunks/{image-shqhg2z7.js → session-kp3132kq.js} +9 -9
- package/dist/chunks/{image-pddwed0s.js → session-krkbt94p.js} +14 -14
- package/dist/chunks/{image-1y6k58jk.js → session-ksdjf82s.js} +29 -29
- package/dist/chunks/{image-jmxmr10c.js → session-ksq6t40v.js} +16 -16
- package/dist/chunks/{image-c974yqn3.js → session-kss93zc9.js} +21 -21
- package/dist/chunks/{image-kt3bjfbg.js → session-kt3bjfbg.js} +1 -1
- package/dist/chunks/{image-kzczzf4v.js → session-kzczzf4v.js} +1 -1
- package/dist/chunks/{image-8hfctyyf.js → session-kzdam8c6.js} +7 -7
- package/dist/chunks/{image-qy1v2yhs.js → session-kzsaxt6t.js} +21 -21
- package/dist/chunks/{image-m1714858.js → session-m1714858.js} +1 -1
- package/dist/chunks/{image-yyggqxat.js → session-m23vy583.js} +6 -6
- package/dist/chunks/{image-0mwmjqpr.js → session-m6e3mqk9.js} +17 -17
- package/dist/chunks/{image-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-2kyfkf43.js → session-mae3vjc7.js} +16 -16
- package/dist/chunks/{image-5xt1pape.js → session-mamk2x3r.js} +3 -3
- package/dist/chunks/{image-mb7mbhnz.js → session-mb7mbhnz.js} +3 -3
- package/dist/chunks/{image-gsjhnd44.js → session-mdr86c3r.js} +5 -5
- package/dist/chunks/{image-t8skwaj3.js → session-metkvx8b.js} +12 -12
- package/dist/chunks/{image-8pzsrasy.js → session-mmzmtj25.js} +4 -4
- package/dist/chunks/{image-3tn4jh5m.js → session-mqr68j6y.js} +29 -29
- package/dist/chunks/{image-z6qr9yqd.js → session-n1h5sn89.js} +12 -12
- package/dist/chunks/{image-gvjax9xa.js → session-n3j33rb6.js} +8 -8
- package/dist/chunks/{image-d05g8p7q.js → session-ngbc6g9w.js} +76 -76
- package/dist/chunks/{image-qa9m9yrh.js → session-ngf5sbnj.js} +17 -17
- package/dist/chunks/{image-8s1b991p.js → session-nmxm1a7h.js} +24 -24
- package/dist/chunks/{image-ak2r2eks.js → session-nsefcy07.js} +10 -10
- package/dist/chunks/{image-vwcz1f45.js → session-nyxvvj5y.js} +7 -7
- package/dist/chunks/{image-cre4e4hj.js → session-p4816td6.js} +59 -59
- package/dist/chunks/{image-wa8k00xj.js → session-p580ev26.js} +6 -6
- package/dist/chunks/{image-rcbjwvze.js → session-p76me67c.js} +4 -4
- package/dist/chunks/{image-nzzacd1w.js → session-pdjkan3w.js} +16 -16
- package/dist/chunks/{image-s9frqexh.js → session-pjrjyc21.js} +8 -8
- package/dist/chunks/{image-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{image-g1x3338p.js → session-pmc4955j.js} +3 -3
- package/dist/chunks/{image-gk525ztt.js → session-ppxn8sr5.js} +24 -24
- package/dist/chunks/{image-dq4pk5k3.js → session-pvhwty9v.js} +21 -21
- package/dist/chunks/{image-ywxnq61h.js → session-pye4nj8d.js} +15 -15
- package/dist/chunks/{image-8h1879g2.js → session-q3e6hkja.js} +15 -15
- package/dist/chunks/{image-nz0ggbwa.js → session-q87cxtyc.js} +11 -6
- package/dist/chunks/{image-kz62fcez.js → session-q9g6cw74.js} +5 -5
- package/dist/chunks/session-qf931qd2.js +26 -0
- package/dist/chunks/{image-kmekj7m2.js → session-qj27ec1j.js} +4 -4
- package/dist/chunks/{image-qp7r0hxv.js → session-qp7r0hxv.js} +1 -1
- package/dist/chunks/{image-yw1rsrb3.js → session-qs64pqq1.js} +8 -8
- package/dist/chunks/{image-jg11hrrc.js → session-qsdghx1p.js} +4 -4
- package/dist/chunks/{image-f9skkdtp.js → session-qx0n3k4d.js} +30 -30
- package/dist/chunks/{image-zqymw8z4.js → session-r040qkkv.js} +6 -6
- package/dist/chunks/{image-r17fbvme.js → session-r17fbvme.js} +1 -1
- package/dist/chunks/{image-sz6g8jgx.js → session-r2bpxsxt.js} +1 -1
- package/dist/chunks/{image-9ckk18kn.js → session-r938gggz.js} +9 -9
- package/dist/chunks/{image-rb9dy4dg.js → session-rb9dy4dg.js} +1 -1
- package/dist/chunks/{image-d20zd56s.js → session-rezv00j4.js} +23 -23
- package/dist/chunks/{image-rgc9cx3e.js → session-rgc9cx3e.js} +2 -2
- package/dist/chunks/{image-4941t89j.js → session-rhztpsf2.js} +6 -6
- package/dist/chunks/{image-vsqvcqta.js → session-rmv7fhs4.js} +6 -6
- package/dist/chunks/{image-91pn6y1k.js → session-rpc16d44.js} +23 -23
- package/dist/chunks/{image-rt5dr6hb.js → session-rt5dr6hb.js} +1 -1
- package/dist/chunks/{image-11x8sp61.js → session-rz1adjnw.js} +11 -11
- package/dist/chunks/{image-7rk4y5kz.js → session-rz441b4s.js} +9 -9
- package/dist/chunks/{image-2bb1zdn2.js → session-s16qz30n.js} +19 -19
- package/dist/chunks/{image-9y8weyev.js → session-s317ht61.js} +10 -10
- package/dist/chunks/{image-3j133pgh.js → session-s4d8wa3e.js} +3 -3
- package/dist/chunks/{image-sa3fpqfw.js → session-sa3fpqfw.js} +2 -2
- package/dist/chunks/{image-973j6ce7.js → session-sb3khb0t.js} +6 -6
- package/dist/chunks/{image-8mstnbhz.js → session-sbe18kjg.js} +3 -3
- package/dist/chunks/{image-sbya78hr.js → session-sbya78hr.js} +1 -1
- package/dist/chunks/{image-vg0erq9k.js → session-sbz71ybr.js} +3 -3
- package/dist/chunks/{image-th6h8dwx.js → session-sec0fc3c.js} +16 -16
- package/dist/chunks/{image-9zjsffn3.js → session-sgczd0gh.js} +36 -36
- package/dist/chunks/{image-c7j5v5hg.js → session-shr2xpws.js} +12 -12
- package/dist/chunks/{image-nxh4e4nb.js → session-snm0a37z.js} +23 -23
- package/dist/chunks/{image-0j7gp832.js → session-sqjzf8x2.js} +4 -4
- package/dist/chunks/{image-svcy3p9a.js → session-svcy3p9a.js} +1 -1
- package/dist/chunks/{image-bxyysycc.js → session-szpwqya9.js} +4 -4
- package/dist/chunks/{image-szwm4crx.js → session-szwm4crx.js} +4 -4
- package/dist/chunks/{image-7fd8j399.js → session-t5719r6v.js} +16 -16
- package/dist/chunks/{image-tczq8hjw.js → session-tczq8hjw.js} +1 -1
- package/dist/chunks/{image-9kg5w032.js → session-tg1vr1qt.js} +8 -8
- package/dist/chunks/{image-tr8x705m.js → session-tr8x705m.js} +1 -1
- package/dist/chunks/{image-tvtps2q9.js → session-tvtps2q9.js} +1 -1
- package/dist/chunks/{image-twssxy5n.js → session-twssxy5n.js} +2 -2
- package/dist/chunks/{image-z3nw929v.js → session-tz8eqr11.js} +9 -9
- package/dist/chunks/{image-w35wzz9x.js → session-v0t96s7a.js} +4 -4
- package/dist/chunks/{image-v2r1d0zg.js → session-v2r1d0zg.js} +1 -1
- package/dist/chunks/{image-6ms3nhg9.js → session-v6ha0hz5.js} +8 -8
- package/dist/chunks/{image-nw314s9d.js → session-vdznht59.js} +2 -2
- package/dist/chunks/{image-vjf35v1f.js → session-vjf35v1f.js} +1 -1
- package/dist/chunks/{image-mrf5my2y.js → session-vrsdmr9v.js} +16 -16
- package/dist/chunks/{image-qh5g3qaw.js → session-vt4r9rmy.js} +9 -9
- package/dist/chunks/{image-cmfqbt07.js → session-vxc2zscy.js} +9 -9
- package/dist/chunks/{image-z8wpr6kv.js → session-w02fxq9y.js} +24 -24
- package/dist/chunks/{image-mvwrw2nz.js → session-w38j5mqt.js} +32 -32
- package/dist/chunks/{image-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-whfmbjzy.js → session-w81j1vy6.js} +9 -9
- package/dist/chunks/{image-wakvkjy4.js → session-wakvkjy4.js} +1 -1
- package/dist/chunks/{image-n18yq4h8.js → session-wb6ajpqa.js} +11 -11
- package/dist/chunks/{image-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{image-zpbpdhe8.js → session-wdw87taf.js} +53 -53
- package/dist/chunks/{image-wegkxhrn.js → session-wegkxhrn.js} +2 -2
- package/dist/chunks/{image-a268vbst.js → session-wf045e33.js} +20 -20
- package/dist/chunks/{image-f61ewdqb.js → session-wfbqhg6r.js} +40 -40
- package/dist/chunks/{image-7eaxkjg9.js → session-wg6453e2.js} +14 -14
- package/dist/chunks/{image-wnhgecwx.js → session-wnhgecwx.js} +1 -1
- package/dist/chunks/{image-9a8825bc.js → session-wpgmm5pc.js} +10 -10
- package/dist/chunks/{image-wr3re1en.js → session-wr3re1en.js} +1 -1
- package/dist/chunks/{image-x331mzve.js → session-wvrchjda.js} +15 -15
- package/dist/chunks/{image-9gsd3wah.js → session-ww4hmm8p.js} +32 -32
- package/dist/chunks/{image-wnzcgr6s.js → session-x4fzc9e2.js} +20 -20
- package/dist/chunks/{image-6ae23ska.js → session-x9a1sqtc.js} +23 -23
- package/dist/chunks/{image-02k0xazt.js → session-x9w9wn6c.js} +24 -24
- package/dist/chunks/{image-z33hv5x5.js → session-xbkc869v.js} +37 -37
- package/dist/chunks/{image-trv4ttt9.js → session-xgwnqr1h.js} +43 -43
- package/dist/chunks/{image-xxschbft.js → session-xjr6c8m4.js} +4 -4
- package/dist/chunks/{image-jm79tbss.js → session-xjwqssyq.js} +8 -8
- package/dist/chunks/{image-09vyy9jz.js → session-xqcw1yd5.js} +32 -32
- package/dist/chunks/{image-dqywpxm8.js → session-xvdswmyk.js} +33 -33
- package/dist/chunks/{image-9441gtxa.js → session-xx5z3znf.js} +30 -30
- package/dist/chunks/{image-xqxdzwmt.js → session-y567cnnz.js} +18 -18
- package/dist/chunks/{image-yb20nhc3.js → session-yb20nhc3.js} +1 -1
- package/dist/chunks/{image-t5y8fs1s.js → session-yct2r1w4.js} +6 -6
- package/dist/chunks/{image-xxt4s3zy.js → session-ydzz3qna.js} +21 -21
- package/dist/chunks/{image-7qsqsz72.js → session-yeq2g40v.js} +35 -35
- package/dist/chunks/{image-cm3cg0a9.js → session-yner75h8.js} +40 -40
- package/dist/chunks/{image-fa3k9tx6.js → session-ypdaz1m9.js} +13 -13
- package/dist/chunks/{image-yr705xyq.js → session-yr705xyq.js} +1 -1
- package/dist/chunks/{image-a8n5x0th.js → session-yrh74s2k.js} +20 -20
- package/dist/chunks/{image-yvtc2x31.js → session-yvtc2x31.js} +1 -1
- package/dist/chunks/{image-yhvdje9f.js → session-z5n9q6w6.js} +15 -15
- package/dist/chunks/{image-sa4r2ca5.js → session-z74bzyka.js} +30 -30
- package/dist/chunks/{image-bj9xg24w.js → session-zajyew7n.js} +17 -17
- package/dist/chunks/{image-ze75qvmd.js → session-ze75qvmd.js} +3 -3
- package/dist/chunks/{image-w0kch0br.js → session-zf2zym56.js} +18 -18
- package/dist/chunks/{image-qmc59nz1.js → session-zh1eyf81.js} +5 -5
- package/dist/chunks/{image-mmtr8zjy.js → session-zhbhbp9b.js} +21 -21
- package/dist/chunks/{image-vheve2y4.js → session-znfnvpg1.js} +12 -12
- package/dist/chunks/{image-by8ty0bx.js → session-zpdbqgja.js} +4 -4
- package/dist/chunks/{image-y9me5z2w.js → session-zs5n980c.js} +21 -21
- package/dist/chunks/{image-d0s4qfvp.js → session-ztkh3f7x.js} +4 -4
- package/dist/chunks/{image-snzc79f0.js → session-zwbew2pm.js} +84 -84
- package/dist/chunks/{image-ftrm39n3.js → session-zyb6mf41.js} +367 -367
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- 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 +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +236 -236
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +143 -143
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +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 +130 -130
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +249 -249
- 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 +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +428 -428
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +178 -178
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +157 -107
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- 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 +157 -105
- 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 +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +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 +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +240 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +406 -406
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +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 +113 -113
- 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 +1 -1
- 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 +1 -1
- 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 +416 -416
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- 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 +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +112 -112
- 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 +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +247 -247
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +202 -202
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- 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 +164 -164
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +254 -254
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +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 +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +233 -233
- 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 +241 -241
- package/dist/session/usage.js +3 -3
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +180 -180
- package/dist/tool/plugin/artifact.js +232 -232
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +243 -243
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +166 -166
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +240 -240
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +151 -151
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/mcp/stdio.d.ts +6 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/schedule/check.d.ts +2 -2
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/image-generate.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -10
- package/dist/chunks/image-6bshxcsx.js +0 -18
- package/dist/chunks/image-ptaj1g8q.js +0 -265
- package/dist/chunks/image-rfrmafb1.js +0 -16
- package/dist/chunks/image-smjxajxb.js +0 -26
- /package/dist/chunks/{image-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-108x4f4w.js → session-108x4f4w.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kah00gy.js → session-1kah00gy.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2bv980vf.js → session-2bv980vf.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3af0jn4w.js → session-3af0jn4w.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4qk9sjk2.js → session-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5w3e23ze.js → session-5w3e23ze.js} +0 -0
- /package/dist/chunks/{image-6agm2x70.js → session-6agm2x70.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{image-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{image-84wd9syh.js → session-84wd9syh.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-beh6qq61.js → session-beh6qq61.js} +0 -0
- /package/dist/chunks/{image-bhmrqjy3.js → session-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cqv5kn06.js → session-cqv5kn06.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-ean2d8b5.js → session-ean2d8b5.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fkpq3x5p.js → session-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hcxmzztb.js → session-hcxmzztb.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jwr30sdr.js → session-jwr30sdr.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-m18g726c.js → session-m18g726c.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-nh4v3znn.js → session-nh4v3znn.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-p71gwv9c.js → session-p71gwv9c.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-syrav9an.js → session-syrav9an.js} +0 -0
- /package/dist/chunks/{image-t03h4f5z.js → session-t03h4f5z.js} +0 -0
- /package/dist/chunks/{image-ty7weeps.js → session-ty7weeps.js} +0 -0
- /package/dist/chunks/{image-ve7vex1e.js → session-ve7vex1e.js} +0 -0
- /package/dist/chunks/{image-vtarvj67.js → session-vtarvj67.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-z0h12gs8.js → session-z0h12gs8.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → session-z9919s4g.js} +0 -0
- /package/dist/chunks/{image-zxpyjp51.js → session-zxpyjp51.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node85
|
|
8
|
+
} from "./session-avdkfkqz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node83
|
|
12
|
+
} from "./session-1y6pmrj8.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
24
|
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service24,
|
|
29
29
|
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer12,
|
|
32
|
+
node: () => node27
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service24 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service80;
|
|
89
|
+
const models = yield* Service82;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -163,7 +163,7 @@ var layer23 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
165
|
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
-
return
|
|
166
|
+
return Service24.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node27 = makeLocationNode({
|
|
219
|
+
service: Service24,
|
|
220
|
+
layer: layer12,
|
|
221
|
+
deps: [node83, node85, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2,
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service24, layer12, node27, exports_generate };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-b2bxw1t8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID19,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-xx5z3znf.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-jhwp234h.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID18,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-gywqmcjq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID17
|
|
21
|
+
} from "./session-z74bzyka.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
25
|
make32
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./session-r17fbvme.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service71
|
|
29
|
+
} from "./session-8gm6jpeb.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./session-q3e6hkja.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service44
|
|
36
|
+
} from "./session-snm0a37z.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./session-bhabf1f2.js";
|
|
40
40
|
import {
|
|
41
41
|
defaultServer2,
|
|
42
42
|
server2,
|
|
43
43
|
headers2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./session-kt3bjfbg.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
File2,
|
|
47
|
+
Service47
|
|
48
|
+
} from "./session-ksdjf82s.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
Service14
|
|
51
|
+
} from "./session-c32zfq3f.js";
|
|
52
52
|
import {
|
|
53
53
|
isSafeSegment2,
|
|
54
54
|
isSafeRelativePath2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./session-04whjz6n.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
57
|
+
ID7,
|
|
58
58
|
Input15,
|
|
59
59
|
Response2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./session-3h7z89yb.js";
|
|
61
61
|
import {
|
|
62
62
|
onSwitch2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./session-bhnyva81.js";
|
|
64
64
|
|
|
65
65
|
// src/plugin/provider/opencode.ts
|
|
66
66
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore } from "effect";
|
|
@@ -123,7 +123,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
123
123
|
}
|
|
124
124
|
function oauth(http) {
|
|
125
125
|
return {
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID18.make("opencode"),
|
|
127
127
|
method: {
|
|
128
128
|
id: methodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -190,10 +190,10 @@ var OpencodePlugin2 = define({
|
|
|
190
190
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
191
191
|
const client = yield* HttpClient.HttpClient;
|
|
192
192
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
193
|
-
const config = yield*
|
|
194
|
-
const discovery = yield*
|
|
195
|
-
const skills = yield*
|
|
196
|
-
const cache = yield*
|
|
193
|
+
const config = yield* Service71;
|
|
194
|
+
const discovery = yield* Service47;
|
|
195
|
+
const skills = yield* Service44;
|
|
196
|
+
const cache = yield* Service14;
|
|
197
197
|
const scope = yield* Scope.Scope;
|
|
198
198
|
const loading = Semaphore.makeUnsafe(1);
|
|
199
199
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -235,13 +235,13 @@ var OpencodePlugin2 = define({
|
|
|
235
235
|
});
|
|
236
236
|
let integrated;
|
|
237
237
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
238
|
-
yield* config.integration?.(
|
|
239
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
238
|
+
yield* config.integration?.(ID18.make("opencode"), document) ?? Effect.void;
|
|
239
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID18.make("opencode"));
|
|
240
240
|
});
|
|
241
241
|
const publish = Effect.fnUntraced(function* (next) {
|
|
242
242
|
const document = next.remote && next.connection && make32({
|
|
243
|
-
integrationID:
|
|
244
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
243
|
+
integrationID: ID18.make("opencode"),
|
|
244
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID19.make(next.connection.id) } : next.connection,
|
|
245
245
|
organization: next.organization,
|
|
246
246
|
info: next.remote
|
|
247
247
|
});
|
|
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
});
|
|
251
251
|
const syncLibrary = (next, allowed) => {
|
|
252
252
|
const library = allowed ? Option.getOrUndefined(Schema.decodeUnknownOption(Library)(next.remote?.library)) : undefined;
|
|
253
|
-
instructions = (library?.instructions ?? []).map((item) => new
|
|
253
|
+
instructions = (library?.instructions ?? []).map((item) => new File2({ path: `OpenCode Console instruction ${item.id}`, content: item.content }));
|
|
254
254
|
if (!allowed)
|
|
255
255
|
librarySkills = { owner: "", items: [] };
|
|
256
256
|
return FiberHandle.run(skillDownload, loadSkills(next.connection, library?.skills ?? []).pipe(Effect.flatMap((loaded) => {
|
|
@@ -320,7 +320,7 @@ var OpencodePlugin2 = define({
|
|
|
320
320
|
integrate2(providers, integrated);
|
|
321
321
|
});
|
|
322
322
|
yield* ctx.provider.transform((providers) => {
|
|
323
|
-
const item = providers.get(
|
|
323
|
+
const item = providers.get(ID17.opencode);
|
|
324
324
|
if (!item)
|
|
325
325
|
return;
|
|
326
326
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
|
|
|
332
332
|
});
|
|
333
333
|
});
|
|
334
334
|
yield* ctx.model.transform((models) => {
|
|
335
|
-
const item = models.provider.get(
|
|
335
|
+
const item = models.provider.get(ID17.opencode);
|
|
336
336
|
if (!item)
|
|
337
337
|
return;
|
|
338
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -347,7 +347,7 @@ var OpencodePlugin2 = define({
|
|
|
347
347
|
}
|
|
348
348
|
});
|
|
349
349
|
yield* ctx.websearch.transform((editor) => {
|
|
350
|
-
const provider =
|
|
350
|
+
const provider = ID7.make("opencode");
|
|
351
351
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
352
352
|
editor.add(search(provider, snapshot.connection));
|
|
353
353
|
});
|
|
@@ -386,7 +386,7 @@ var OpencodePlugin2 = define({
|
|
|
386
386
|
});
|
|
387
387
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
388
388
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
389
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
389
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID17.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
390
390
|
});
|
|
391
391
|
yield* guard(snapshot);
|
|
392
392
|
const polling = yield* FiberHandle.make();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service56,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node59
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service56 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service56.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node59 = makeLocationNode({
|
|
143
|
+
service: Service56,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service56, node59, exports_tool_output2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./session-5h5640ya.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-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: () => Input7,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
|
-
MAX_RESPONSE_BYTES: () =>
|
|
25
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin44,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description5,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name7
|
|
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
|
|
39
|
-
var
|
|
38
|
+
var name7 = "webfetch";
|
|
39
|
+
var MAX_RESPONSE_BYTES3 = 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 Input7 = 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 Input8 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input7.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -104,7 +104,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
104
104
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
107
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
108
108
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
109
109
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
110
110
|
var convert = (content, contentType, 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 Plugin44 = {
|
|
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* Service66;
|
|
124
124
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
125
|
-
name:
|
|
125
|
+
name: name7,
|
|
126
126
|
options: { codemode: false },
|
|
127
|
-
description:
|
|
128
|
-
input:
|
|
127
|
+
description: description5,
|
|
128
|
+
input: Input7,
|
|
129
129
|
output: Output,
|
|
130
130
|
execute: (input, context) => Effect.gen(function* () {
|
|
131
131
|
const url = yield* Effect.try({
|
|
@@ -137,7 +137,7 @@ var Plugin26 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name7,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin26 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name7,
|
|
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 { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input7, MAX_REDIRECTS2, Plugin44, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-a8vp0knq.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./session-7pc3emwf.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service66
|
|
10
|
+
} from "./session-5h5640ya.js";
|
|
11
11
|
import {
|
|
12
12
|
MEDIA_MIMES2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-ydzz3qna.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-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: () => Plugin50
|
|
23
23
|
});
|
|
24
24
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
26
|
-
var
|
|
26
|
+
var Plugin50 = {
|
|
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* Service41;
|
|
30
|
+
const permission = yield* Service66;
|
|
31
31
|
yield* ctx.tool.transform((editor) => {
|
|
32
32
|
editor.add({
|
|
33
33
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin35 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin50, exports_mcp_resource };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider4 = {};
|
|
10
10
|
__export(exports_provider4, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider4,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info21,
|
|
13
13
|
Model: () => Model3,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info21 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info14 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model3))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model3,
|
|
94
|
+
export { ModelStatus2, Model3, Info21, exports_provider4 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
real2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-szwm4crx.js";
|
|
4
4
|
import {
|
|
5
5
|
registry2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-60689dcm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
make10
|
|
9
|
+
} from "./session-m23vy583.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service87
|
|
12
|
+
} from "./session-pdjkan3w.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
register7,
|
|
15
15
|
connection2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-2xsr084q.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
register3
|
|
19
|
+
} from "./session-jcj7mbjm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
register5
|
|
22
|
+
} from "./session-1qbpncw2.js";
|
|
23
23
|
import {
|
|
24
24
|
register6
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./session-g1t6d8er.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
register4
|
|
28
|
+
} from "./session-sb3khb0t.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service59
|
|
31
|
+
} from "./session-yrh74s2k.js";
|
|
32
32
|
import {
|
|
33
33
|
spawner2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./session-wr3re1en.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 make4 = (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(Service59);
|
|
44
|
+
const location = yield* Effect.serviceOption(Service87);
|
|
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* make10(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*
|
|
54
|
+
yield* register7(ctx, status, io);
|
|
55
55
|
yield* register6(ctx, status);
|
|
56
|
-
yield*
|
|
56
|
+
yield* register3(ctx, sessions);
|
|
57
|
+
yield* register4(ctx);
|
|
57
58
|
yield* register5(ctx);
|
|
58
|
-
yield* register7(ctx);
|
|
59
59
|
})
|
|
60
60
|
});
|
|
61
|
-
var ClaudeAgentPlugin2 =
|
|
61
|
+
var ClaudeAgentPlugin2 = make4(real2);
|
|
62
62
|
|
|
63
|
-
export { ID2,
|
|
63
|
+
export { ID2, make4, ClaudeAgentPlugin2 };
|