@opencode/core 0.0.0-dev-21357 → 0.0.0-dev-21366
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 +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{config-tj1mb8k7.js → form-04gde0z7.js} +21 -21
- package/dist/chunks/{config-r19d657x.js → form-04zqcv5b.js} +30 -30
- package/dist/chunks/{config-ffxepqpn.js → form-08e8839p.js} +32 -32
- package/dist/chunks/{config-f04b7fkv.js → form-0dmhk06n.js} +30 -30
- package/dist/chunks/{config-11dqjexa.js → form-0jq9fyba.js} +9 -9
- package/dist/chunks/{config-m5paqf2g.js → form-0mpb2594.js} +32 -32
- package/dist/chunks/{config-bzkayexk.js → form-0q6bzv9j.js} +19 -19
- package/dist/chunks/{config-32pxjafj.js → form-0sdf0qey.js} +15 -15
- package/dist/chunks/{config-z88jw627.js → form-0thw0tvr.js} +6 -6
- package/dist/chunks/{config-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{config-15rsdq6e.js → form-1271r34y.js} +36 -36
- package/dist/chunks/{config-ykgnd92y.js → form-12d1ewzw.js} +10 -10
- package/dist/chunks/{config-63ak3stf.js → form-16bthr3t.js} +8 -8
- package/dist/chunks/{config-2n7mj27j.js → form-17116gfm.js} +8 -8
- package/dist/chunks/{config-y45vxbtn.js → form-19d68r03.js} +14 -14
- package/dist/chunks/{config-nn3p50dy.js → form-19k05nxq.js} +18 -18
- package/dist/chunks/{config-y06s3qmd.js → form-1f52gq3m.js} +24 -24
- package/dist/chunks/{config-zevtz36z.js → form-21b5jaqs.js} +7 -7
- package/dist/chunks/{config-t364h0ga.js → form-23qegrxz.js} +25 -25
- package/dist/chunks/{config-dj68pnee.js → form-277eer69.js} +4 -4
- package/dist/chunks/{config-v9km43zh.js → form-2b3trp23.js} +49 -49
- package/dist/chunks/{config-eyh2h61y.js → form-2e698tw2.js} +12 -12
- package/dist/chunks/{config-wymva24z.js → form-2em56rg1.js} +11 -11
- package/dist/chunks/{config-r2mahbrd.js → form-2gpvr3g3.js} +19 -19
- package/dist/chunks/{config-c53xjpva.js → form-2qwajngy.js} +9 -9
- package/dist/chunks/{config-m5s739gf.js → form-2sfa3baz.js} +38 -38
- package/dist/chunks/{config-0146ehcd.js → form-38pf4p3g.js} +37 -37
- package/dist/chunks/{config-r5d9wbyh.js → form-3cy6ygha.js} +7 -7
- package/dist/chunks/{config-vs4d0xe8.js → form-3enf7134.js} +15 -15
- package/dist/chunks/{config-5n3frxbd.js → form-3f7eexd0.js} +10 -10
- package/dist/chunks/{config-s0dvnttc.js → form-3gkmwhhy.js} +1 -1
- package/dist/chunks/{config-g31rm23e.js → form-3he49gvd.js} +14 -14
- package/dist/chunks/{config-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{config-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-50dha6f4.js → form-3t117dar.js} +10 -10
- package/dist/chunks/{config-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-52jgfbpk.js → form-3wh0fnkb.js} +41 -41
- package/dist/chunks/{config-7byx5q39.js → form-3zbx3h7w.js} +36 -36
- package/dist/chunks/{config-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-6rk0qtx5.js → form-49091bzx.js} +23 -23
- package/dist/chunks/{config-vpdhx3rn.js → form-4jx3bwb8.js} +10 -10
- package/dist/chunks/{config-4ww92429.js → form-4nscrjds.js} +89 -89
- package/dist/chunks/{config-12tcmyxx.js → form-4tbmbj09.js} +27 -27
- package/dist/chunks/{config-2c9v7a19.js → form-4z0jytq9.js} +21 -21
- package/dist/chunks/{config-y72zmemf.js → form-52fpbh6z.js} +8 -8
- package/dist/chunks/{config-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{config-cgsh41s3.js → form-56gyssj8.js} +45 -45
- package/dist/chunks/{config-57myy5jh.js → form-57myy5jh.js} +2 -2
- package/dist/chunks/{config-9q85pybg.js → form-5c3vxfh0.js} +29 -29
- package/dist/chunks/{config-5fec3t3w.js → form-5fec3t3w.js} +1 -1
- package/dist/chunks/{config-9r3hany2.js → form-5gt9nc9t.js} +21 -21
- package/dist/chunks/{config-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{config-180t97jp.js → form-5mb9cf55.js} +30 -30
- package/dist/chunks/{config-2tbjjbgs.js → form-5nw2wzf9.js} +19 -19
- package/dist/chunks/{config-f4kwc7sz.js → form-5w8megq2.js} +3 -3
- package/dist/chunks/{config-d7nwkqpz.js → form-5xda5hqs.js} +16 -16
- package/dist/chunks/{config-9hn6k4tm.js → form-5yzzbxa7.js} +8 -8
- package/dist/chunks/{config-6827pfxn.js → form-6827pfxn.js} +1 -1
- package/dist/chunks/{config-5ve7jj82.js → form-6ayhefjg.js} +5 -5
- package/dist/chunks/{config-zg7zaxa7.js → form-6jjecsmt.js} +27 -27
- package/dist/chunks/{config-6pc27hjz.js → form-6pc27hjz.js} +2 -2
- package/dist/chunks/{config-3hpw86qk.js → form-6ss6brbq.js} +5 -5
- package/dist/chunks/{config-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{config-bjje5kk1.js → form-74d9v2fc.js} +15 -15
- package/dist/chunks/{config-wty6bgg7.js → form-76wqcf0a.js} +5 -5
- package/dist/chunks/{config-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{config-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-mwfpcask.js → form-7bwgwstm.js} +43 -43
- package/dist/chunks/{config-5pt2mcnr.js → form-7q7tdt9r.js} +30 -30
- package/dist/chunks/{config-tgnctp9w.js → form-833me25k.js} +13 -13
- package/dist/chunks/{config-84txncab.js → form-84txncab.js} +1 -1
- package/dist/chunks/{config-jscyxzwk.js → form-86fpx1fw.js} +4 -4
- package/dist/chunks/{config-xkyhk0aw.js → form-877ypse5.js} +14 -14
- package/dist/chunks/{config-cpzrm4es.js → form-8a2q96p4.js} +11 -11
- package/dist/chunks/form-8d77zc71.js +257 -0
- package/dist/chunks/{config-15wkt9r0.js → form-8ejckeyx.js} +24 -24
- package/dist/chunks/{config-4adxw2q2.js → form-8ja30ehw.js} +8 -8
- package/dist/chunks/{config-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{config-8mywswrd.js → form-8mywswrd.js} +1 -1
- package/dist/chunks/{config-098mw7j8.js → form-8pxgwx02.js} +19 -19
- package/dist/chunks/{config-3nkcb2f7.js → form-8vzk4gb7.js} +22 -22
- package/dist/chunks/{config-vt49cx54.js → form-8y2xcxay.js} +18 -18
- package/dist/chunks/{config-av20eqx4.js → form-92swtbh8.js} +3 -3
- package/dist/chunks/{config-kstnevy1.js → form-9d5n2cav.js} +5 -5
- package/dist/chunks/{config-c6zmkhp3.js → form-9eh2b9tz.js} +18 -18
- package/dist/chunks/{config-qvapsqgq.js → form-9j7zhwfa.js} +1 -1
- package/dist/chunks/{config-g3fevjja.js → form-9man8zct.js} +20 -20
- package/dist/chunks/{config-3fzp089a.js → form-9nxktn4c.js} +10 -10
- package/dist/chunks/{config-y0ce904t.js → form-9qbkfy8j.js} +28 -28
- package/dist/chunks/{config-7v6vae4w.js → form-a20pjse5.js} +3 -3
- package/dist/chunks/{config-nvcb2me1.js → form-a8nkje97.js} +11 -11
- package/dist/chunks/{config-bnaqkdcm.js → form-az5hjsz4.js} +26 -26
- package/dist/chunks/{config-snbmbkyq.js → form-b6d3184h.js} +14 -14
- package/dist/chunks/{config-ybacsgwy.js → form-b7277dxx.js} +35 -35
- package/dist/chunks/{config-z8swzr19.js → form-b8spkqz0.js} +10 -10
- package/dist/chunks/{config-9qgvjr2e.js → form-bgg9avxn.js} +3 -3
- package/dist/chunks/{config-1ffvrpkg.js → form-bjx1sjef.js} +6 -6
- package/dist/chunks/{config-n0f1vr5p.js → form-bkt2f8yx.js} +10 -10
- package/dist/chunks/{config-4sgmmrrd.js → form-bpzz8sk3.js} +13 -13
- package/dist/chunks/{config-x6pefea0.js → form-bq2jgg1t.js} +5 -5
- package/dist/chunks/{config-z6z398pq.js → form-br9ffvj3.js} +6 -6
- package/dist/chunks/{config-f6ssxvba.js → form-btxgmbmp.js} +27 -27
- package/dist/chunks/{config-1ep4rre3.js → form-bzeyqsqd.js} +4 -4
- package/dist/chunks/{config-c1fqxshp.js → form-c1fqxshp.js} +3 -3
- package/dist/chunks/{config-5epte933.js → form-c2sed5cq.js} +2 -2
- package/dist/chunks/{config-x9z4gqn5.js → form-c6wjmv7c.js} +11 -11
- package/dist/chunks/{config-b89refpb.js → form-cefkz2r6.js} +4 -4
- package/dist/chunks/{config-kcz5hpxv.js → form-cgceftma.js} +14 -14
- package/dist/chunks/{config-yt2d26s8.js → form-ck1zs89s.js} +13 -13
- package/dist/chunks/{config-wezx3yaj.js → form-ctkmsz73.js} +17 -17
- package/dist/chunks/{config-gnnqajqc.js → form-d1p465nq.js} +8 -8
- package/dist/chunks/{config-8qbxhjh4.js → form-d5sedwsn.js} +18 -18
- package/dist/chunks/form-d6a0dzba.js +26 -0
- package/dist/chunks/{config-gxeds83z.js → form-d7fb65k9.js} +47 -47
- package/dist/chunks/{config-0k354qyb.js → form-dg24z682.js} +34 -34
- package/dist/chunks/{config-a01j9zgm.js → form-dhb2hta4.js} +5 -5
- package/dist/chunks/{config-8rgyadme.js → form-djp577me.js} +8 -8
- package/dist/chunks/{config-drwq78ky.js → form-drwq78ky.js} +1 -1
- package/dist/chunks/{config-ha0sjevb.js → form-dsxc0gdn.js} +3 -3
- package/dist/chunks/{config-eb2d9dj2.js → form-dv4gps5g.js} +2 -2
- package/dist/chunks/{config-x7c6yhp3.js → form-dy50jp3n.js} +15 -15
- package/dist/chunks/{config-bcmq4rdz.js → form-e0z0jdq6.js} +9 -9
- package/dist/chunks/{config-ys7bpb1s.js → form-e2efsa8y.js} +19 -19
- package/dist/chunks/{config-c72jc7ts.js → form-e3m5h7z7.js} +6 -6
- package/dist/chunks/{config-g2yfkae0.js → form-e4svjp07.js} +38 -38
- package/dist/chunks/{config-vep9yay1.js → form-e7gxy7fd.js} +4 -4
- package/dist/chunks/{config-9b55rd9h.js → form-e7vcsn0z.js} +11 -11
- package/dist/chunks/{config-nma959mg.js → form-e80seqcp.js} +3 -3
- package/dist/chunks/{config-e8gmhsy9.js → form-e8c8zgaf.js} +72 -72
- package/dist/chunks/{config-9ndxqh6g.js → form-ebdsrbwd.js} +28 -28
- package/dist/chunks/{config-w3h4062d.js → form-edgrr010.js} +2 -2
- package/dist/chunks/{config-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-e411ahfn.js → form-eqgdfs9h.js} +12 -12
- package/dist/chunks/{config-4mwpykj0.js → form-eqkxs06z.js} +6 -6
- package/dist/chunks/{config-8a27v2a9.js → form-ewexpb9k.js} +6 -6
- package/dist/chunks/{config-fcrkznn8.js → form-fcrkznn8.js} +1 -1
- package/dist/chunks/{config-fcy631f0.js → form-fcy631f0.js} +1 -1
- package/dist/chunks/{config-hbkz9y4g.js → form-ffm3byn0.js} +15 -15
- package/dist/chunks/{config-jzd62m09.js → form-fhn4ym0h.js} +23 -23
- package/dist/chunks/{config-r2m716tb.js → form-ft3hqk2c.js} +9 -9
- package/dist/chunks/{config-b0sy7btn.js → form-fwedgtee.js} +12 -12
- package/dist/chunks/{config-8p4aw0bd.js → form-g2pewrzk.js} +21 -21
- package/dist/chunks/{config-d9xej2qg.js → form-g36kca0s.js} +4 -4
- package/dist/chunks/{config-zs3nsmqd.js → form-g4fh54as.js} +11 -11
- package/dist/chunks/{config-2y5zvhyc.js → form-gatqkby9.js} +24 -24
- package/dist/chunks/{config-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-cj7b5bvp.js → form-gh89cy2x.js} +24 -24
- package/dist/chunks/{config-kxkke69v.js → form-ghwdn9we.js} +6 -6
- package/dist/chunks/{config-w9enybe6.js → form-gqqjwrr4.js} +7 -7
- package/dist/chunks/{config-vn2b5ja7.js → form-gwszmx42.js} +13 -13
- package/dist/chunks/{config-0am8fjdy.js → form-h39nf5em.js} +18 -18
- package/dist/chunks/{config-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-tt8gc4fv.js → form-hbb7npd7.js} +6 -6
- package/dist/chunks/{config-g80172w6.js → form-hbfzz612.js} +17 -17
- package/dist/chunks/{config-5qfavyey.js → form-hded69yb.js} +18 -18
- package/dist/chunks/{config-zj1j3pwt.js → form-herw6cax.js} +5 -5
- package/dist/chunks/{config-xd76gghg.js → form-hgp8ga1w.js} +79 -79
- package/dist/chunks/{config-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{config-6drhhcgp.js → form-hhfx60p8.js} +18 -18
- package/dist/chunks/{config-z348g6gc.js → form-hp22rb7y.js} +20 -20
- package/dist/chunks/{config-p88vvsz3.js → form-jcmaxbq8.js} +4 -4
- package/dist/chunks/{config-n6jsk7we.js → form-jqebagr2.js} +44 -44
- package/dist/chunks/{config-qefw6cfz.js → form-jypyv8j2.js} +14 -14
- package/dist/chunks/{config-01w2j48t.js → form-k22705tg.js} +188 -188
- package/dist/chunks/{config-9ph9narp.js → form-k42evvpj.js} +11 -11
- package/dist/chunks/{config-qdm6e7vz.js → form-k4a4z99s.js} +50 -50
- package/dist/chunks/{config-skhmt099.js → form-kamqz7n1.js} +9 -9
- package/dist/chunks/{config-e7pp2s8c.js → form-kcgvbftg.js} +11 -11
- package/dist/chunks/{config-f04qpyrt.js → form-kedsnqtc.js} +23 -23
- package/dist/chunks/{config-fxaymqdw.js → form-khmqacep.js} +4 -4
- package/dist/chunks/{config-rmg23tmx.js → form-km89rq23.js} +14 -14
- package/dist/chunks/{config-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
- package/dist/chunks/{config-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{config-7rkcz7sg.js → form-mg46656p.js} +4 -4
- package/dist/chunks/{config-amv78yhn.js → form-mjx4d27a.js} +28 -28
- package/dist/chunks/{config-cac2amd6.js → form-mmne1w82.js} +39 -39
- package/dist/chunks/{config-9yy9ab6f.js → form-mmq9wxfe.js} +46 -46
- package/dist/chunks/{config-0q3gqcca.js → form-mnqkv3ke.js} +5 -5
- package/dist/chunks/{config-dgpsrprm.js → form-mxvxcxwy.js} +4 -4
- package/dist/chunks/{config-22sd1qqc.js → form-n0tq777j.js} +8 -8
- package/dist/chunks/{config-xkzfnk1e.js → form-n2vqhefj.js} +5 -5
- package/dist/chunks/{config-by382cv3.js → form-n5csmyza.js} +10 -10
- package/dist/chunks/{config-4q9d5zmx.js → form-n64j14rh.js} +35 -35
- package/dist/chunks/{config-4xdpab2z.js → form-nd4tfyg0.js} +9 -9
- package/dist/chunks/{config-fvwy1vyc.js → form-nyretmae.js} +4 -4
- package/dist/chunks/{config-11pezjhg.js → form-nysx7nj2.js} +34 -34
- package/dist/chunks/{config-edj4339e.js → form-p30t7e37.js} +4 -4
- package/dist/chunks/{config-e1n9zcw9.js → form-pb4fd284.js} +14 -14
- package/dist/chunks/{config-cja2h5j5.js → form-pbq40pk4.js} +21 -21
- package/dist/chunks/{config-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{config-t8x95368.js → form-pmykfp9p.js} +8 -8
- package/dist/chunks/{config-gn31e51v.js → form-pz51kqst.js} +11 -11
- package/dist/chunks/{config-yz37vbp4.js → form-q0p071b0.js} +2 -2
- package/dist/chunks/{config-1h3v5wkf.js → form-q2r8gbdf.js} +58 -58
- package/dist/chunks/{config-g5yn26t0.js → form-q55rfppt.js} +20 -20
- package/dist/chunks/{config-zcrspsvn.js → form-q5asdkn4.js} +4 -4
- package/dist/chunks/{config-qpvqe435.js → form-q9177bt4.js} +45 -45
- package/dist/chunks/{config-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{config-qne3fa44.js → form-qne3fa44.js} +2 -2
- package/dist/chunks/{config-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{config-52v926c4.js → form-qve897jx.js} +28 -28
- package/dist/chunks/{config-nzxs01ks.js → form-r17zqvjw.js} +16 -16
- package/dist/chunks/{config-2dryst3t.js → form-r2v4c7r0.js} +8 -8
- package/dist/chunks/{config-9c366hpc.js → form-r3ndx3a2.js} +12 -12
- package/dist/chunks/{config-2s6fx24g.js → form-r8jgt09m.js} +13 -13
- package/dist/chunks/form-rap9a73h.js +18 -0
- package/dist/chunks/{config-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-rert0e01.js → form-rert0e01.js} +2 -2
- package/dist/chunks/{config-rj3eygr5.js → form-rj3eygr5.js} +2 -2
- package/dist/chunks/{config-mtrbqqrq.js → form-rkdvqggb.js} +5 -5
- package/dist/chunks/{config-j3bw3kw0.js → form-rnaqt492.js} +25 -25
- package/dist/chunks/{config-sa8ekw3f.js → form-sa8ekw3f.js} +2 -2
- package/dist/chunks/{config-fw181sc9.js → form-sgpss9b5.js} +9 -9
- package/dist/chunks/{config-dcm3phq5.js → form-sngg5jzg.js} +14 -14
- package/dist/chunks/{config-czx6xwt7.js → form-snx4nqk9.js} +15 -15
- package/dist/chunks/{config-ba4pvmzc.js → form-sq0tjeh0.js} +45 -45
- package/dist/chunks/{config-jcbq9qyv.js → form-ssk7czj1.js} +20 -20
- package/dist/chunks/{config-a2ew8a62.js → form-sxz6gkc3.js} +7 -7
- package/dist/chunks/{config-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{config-3m8ztwev.js → form-t1ydd63c.js} +41 -41
- package/dist/chunks/{config-qap5887j.js → form-t3nryzzt.js} +17 -17
- package/dist/chunks/{config-3v7yvdjz.js → form-t4rshbjx.js} +20 -20
- package/dist/chunks/{config-0gdmqesm.js → form-t550f9t1.js} +4 -4
- package/dist/chunks/{config-qp9tjspb.js → form-t9x7ks3k.js} +26 -26
- package/dist/chunks/{config-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{config-jge05sef.js → form-thg1vn1a.js} +6 -6
- package/dist/chunks/{config-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{config-8ypvz7qz.js → form-tn1wh4ar.js} +26 -26
- package/dist/chunks/{config-nekmryzb.js → form-ty2f8d57.js} +29 -29
- package/dist/chunks/{config-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{config-v13b12ef.js → form-v13b12ef.js} +2 -2
- package/dist/chunks/{config-ywwy23a8.js → form-v210v162.js} +9 -9
- package/dist/chunks/{config-01dnnh97.js → form-v29px2ne.js} +20 -20
- package/dist/chunks/{config-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{config-0xqyf95c.js → form-v7z2bvyd.js} +4 -4
- package/dist/chunks/{config-kz72sk14.js → form-v8fz4mt5.js} +29 -29
- package/dist/chunks/{config-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{config-b7an2wpv.js → form-vg8a1yvs.js} +335 -335
- package/dist/chunks/{config-6mg66w46.js → form-vmfvcz6g.js} +17 -17
- package/dist/chunks/{config-esa7kqcn.js → form-vqkwn4tj.js} +18 -18
- package/dist/chunks/{config-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-5s9rh5zt.js → form-w32a45cq.js} +25 -25
- package/dist/chunks/{config-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-pfgcdf6c.js → form-wbg02h9n.js} +5 -5
- package/dist/chunks/{config-amaj7c21.js → form-wbppzfdy.js} +9 -9
- package/dist/chunks/{config-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{config-w9qd1epz.js → form-wxp1snbt.js} +11 -11
- package/dist/chunks/{config-8jqzjjgp.js → form-wy70kt51.js} +1 -1
- package/dist/chunks/{config-9r4817sq.js → form-x0b6dsea.js} +17 -17
- package/dist/chunks/{config-xsyaf836.js → form-x2xyd8bp.js} +11 -11
- package/dist/chunks/{config-yswgg9qv.js → form-x5bj7jd8.js} +27 -27
- package/dist/chunks/{config-qc37ryp5.js → form-x6h5gppg.js} +14 -14
- package/dist/chunks/{config-mrxs1jjw.js → form-x830gk0v.js} +16 -16
- package/dist/chunks/{config-hqam50bx.js → form-xes13cec.js} +17 -17
- package/dist/chunks/{config-4ywq529d.js → form-xkdqbgma.js} +7 -7
- package/dist/chunks/{config-jkcvv5zp.js → form-xn9d5d7a.js} +9 -9
- package/dist/chunks/{config-p6tf2z3c.js → form-xryw55cn.js} +11 -11
- package/dist/chunks/{config-2vvbbmgf.js → form-xvdstdyg.js} +5 -5
- package/dist/chunks/{config-p4g5r354.js → form-xyjecrh1.js} +32 -32
- package/dist/chunks/{config-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-1zbharsm.js → form-y1paeth2.js} +25 -25
- package/dist/chunks/{config-dpkg50ah.js → form-y71avatq.js} +4 -4
- package/dist/chunks/{config-8m3cssw6.js → form-yebkwvs3.js} +20 -20
- package/dist/chunks/{config-7rsqhaa1.js → form-ymrej2er.js} +13 -13
- package/dist/chunks/{config-ynmknp8q.js → form-ynmknp8q.js} +3 -3
- package/dist/chunks/{config-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-z18fegx4.js → form-z18fegx4.js} +1 -1
- package/dist/chunks/{config-mpk95cj2.js → form-z5gmjsqz.js} +8 -8
- package/dist/chunks/{config-k850gnf2.js → form-zghqh9m4.js} +16 -7
- package/dist/chunks/{config-f8e526k5.js → form-zhpzfnnm.js} +6 -6
- package/dist/chunks/{config-jgmf5dt5.js → form-zj70vn69.js} +8 -8
- package/dist/chunks/{config-0ryw2dh8.js → form-zpr2q4qf.js} +21 -21
- package/dist/chunks/{config-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +101 -101
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/error.d.ts +1 -0
- package/dist/types/session/history.d.ts +10 -0
- package/dist/types/session/transfer.d.ts +8 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/config-619r8v3y.js +0 -18
- package/dist/chunks/config-7qbkbymg.js +0 -257
- package/dist/chunks/config-kdcahg00.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{config-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{config-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e3qxr5gk.js → form-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{config-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-wxp1snbt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-xn9d5d7a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./form-ty2f8d57.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-mxvxcxwy.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-v8fz4mt5.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./form-n5csmyza.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./form-ebdsrbwd.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-btxgmbmp.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve2
|
|
33
|
+
} from "./form-br9ffvj3.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID11,
|
|
36
|
+
Input15,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./form-az5hjsz4.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import {
|
|
@@ -73,7 +73,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
73
73
|
var RemoteResponse = Schema.Struct({
|
|
74
74
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
75
75
|
websearch: Schema.Struct({
|
|
76
|
-
providerID:
|
|
76
|
+
providerID: ID11
|
|
77
77
|
}).pipe(Schema.optional),
|
|
78
78
|
mcp: Schema.Struct({
|
|
79
79
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -124,7 +124,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
124
124
|
}
|
|
125
125
|
function oauth(http) {
|
|
126
126
|
return {
|
|
127
|
-
integrationID:
|
|
127
|
+
integrationID: ID14.make("opencode"),
|
|
128
128
|
method: {
|
|
129
129
|
id: methodID,
|
|
130
130
|
type: "oauth",
|
|
@@ -191,7 +191,7 @@ var OpencodePlugin2 = define({
|
|
|
191
191
|
const bus = yield* Service84;
|
|
192
192
|
const client = yield* HttpClient.HttpClient;
|
|
193
193
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
194
|
-
const managed = yield*
|
|
194
|
+
const managed = yield* Service22;
|
|
195
195
|
const scope = yield* Scope.Scope;
|
|
196
196
|
const loading = Semaphore.makeUnsafe(1);
|
|
197
197
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -245,7 +245,7 @@ var OpencodePlugin2 = define({
|
|
|
245
245
|
providers.update(providerID, (provider) => {
|
|
246
246
|
if (source && source.provider !== provider)
|
|
247
247
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
248
|
-
provider.integrationID =
|
|
248
|
+
provider.integrationID = ID14.make("opencode");
|
|
249
249
|
if (item.canonical !== undefined)
|
|
250
250
|
provider.canonical = item.canonical;
|
|
251
251
|
if (item.name !== undefined)
|
|
@@ -283,7 +283,7 @@ var OpencodePlugin2 = define({
|
|
|
283
283
|
providers.models.update(providerID, modelID, (model) => {
|
|
284
284
|
if (config.capabilities?.reasoning !== undefined)
|
|
285
285
|
model.variants = [
|
|
286
|
-
...
|
|
286
|
+
...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
287
287
|
];
|
|
288
288
|
for (const variant of config.variants ?? []) {
|
|
289
289
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -319,7 +319,7 @@ var OpencodePlugin2 = define({
|
|
|
319
319
|
sourceConnection: snapshot.connection
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
const item = providers.get(
|
|
322
|
+
const item = providers.get(ID13.opencode);
|
|
323
323
|
if (!item)
|
|
324
324
|
return;
|
|
325
325
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -331,7 +331,7 @@ var OpencodePlugin2 = define({
|
|
|
331
331
|
});
|
|
332
332
|
});
|
|
333
333
|
yield* ctx.model.transform((models) => {
|
|
334
|
-
const item = models.provider.get(
|
|
334
|
+
const item = models.provider.get(ID13.opencode);
|
|
335
335
|
if (!item)
|
|
336
336
|
return;
|
|
337
337
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -365,7 +365,7 @@ var OpencodePlugin2 = define({
|
|
|
365
365
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
366
366
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
367
367
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
368
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
368
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
369
369
|
query: input.query,
|
|
370
370
|
providerID: descriptor.providerID
|
|
371
371
|
}));
|
|
@@ -426,7 +426,7 @@ var OpencodePlugin2 = define({
|
|
|
426
426
|
});
|
|
427
427
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
428
428
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
429
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
429
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
430
430
|
});
|
|
431
431
|
yield* guard(snapshot);
|
|
432
432
|
const polling = yield* FiberHandle.make();
|
|
@@ -437,7 +437,7 @@ var OpencodePlugin2 = define({
|
|
|
437
437
|
onlyIfMissing: true
|
|
438
438
|
});
|
|
439
439
|
});
|
|
440
|
-
yield* bus.subscribe(
|
|
440
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
441
441
|
yield* poll();
|
|
442
442
|
})
|
|
443
443
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./form-eqgdfs9h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service81,
|
|
13
|
+
node85
|
|
14
|
+
} from "./form-x0b6dsea.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node47,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service81;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -147,14 +147,14 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node47 = makeLocationNode({
|
|
153
|
+
service: Service44,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -172,4 +172,4 @@ function failure(operation, cause) {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { ID5, Error3,
|
|
175
|
+
export { ID5, Error3, Service44, node47, noopLayer2, exports_snapshot2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service47,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service47 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service47, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service47.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service52, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node50 = makeGlobalNode({ service: Service47, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service47, node50, exports_environment };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service71,
|
|
4
|
+
node74
|
|
5
|
+
} from "./form-v8fz4mt5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node73
|
|
20
|
+
} from "./form-ebdsrbwd.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node63
|
|
24
|
+
} from "./form-k42evvpj.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service69,
|
|
30
|
+
node72,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./form-btxgmbmp.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./form-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service59,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer23,
|
|
52
|
+
node: () => node62,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID13,
|
|
63
|
+
modelID: ID12,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID13,
|
|
73
|
+
modelID: ID12,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID13,
|
|
84
|
+
modelID: ID12,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID13,
|
|
95
|
+
modelID: ID12,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID13,
|
|
107
|
+
modelID: ID12,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID13,
|
|
117
|
+
modelID: ID12,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service59 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
234
234
|
return tokenSettings(specifier, credential.access);
|
|
235
235
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
236
236
|
return { auth: "sigv4" };
|
|
237
|
-
if (model.providerID ===
|
|
237
|
+
if (model.providerID === ID13.azure)
|
|
238
238
|
return tokenSettings(specifier, "azure-cli");
|
|
239
239
|
return {};
|
|
240
240
|
};
|
|
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer23 = Layer.effect(Service59, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service70;
|
|
274
|
+
const models = yield* Service69;
|
|
275
|
+
const integrations = yield* Service71;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service60;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
281
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
283
|
const runtimeInfo = {
|
|
@@ -304,7 +304,7 @@ var layer21 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service59.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node62 = makeLocationNode({
|
|
325
|
+
service: Service59,
|
|
326
|
+
layer: layer23,
|
|
327
|
+
deps: [node73, node72, node74, Npm.node, node63]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node62, exports_model_resolver };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./form-y1paeth2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./form-3wh0fnkb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID11,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service67
|
|
14
|
+
} from "./form-az5hjsz4.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin48,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID11,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin48 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service61;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service67;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin48, exports_websearch2 };
|