@opencode/core 0.0.0-dev-20327 → 0.0.0-dev-20329
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{repository-2qzws9he.js → location-activity-077m8v1r.js} +11 -11
- package/dist/chunks/{repository-bx61kp2z.js → location-activity-0b2zk8pd.js} +31 -31
- package/dist/chunks/{repository-w6yj84m2.js → location-activity-0e9rs99r.js} +8 -8
- package/dist/chunks/{repository-57ez7d0k.js → location-activity-0ke265bw.js} +5 -5
- package/dist/chunks/{repository-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-pdz52ded.js → location-activity-0seget7c.js} +25 -25
- package/dist/chunks/{repository-k2yahx9c.js → location-activity-0xg64tzr.js} +5 -5
- package/dist/chunks/{repository-sf5q03y5.js → location-activity-13m3jm1s.js} +49 -49
- package/dist/chunks/{repository-1bbkgx8g.js → location-activity-1bbkgx8g.js} +1 -1
- package/dist/chunks/{repository-c4sra46q.js → location-activity-1bvqb18g.js} +9 -9
- package/dist/chunks/{repository-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cqbspedd.js → location-activity-1e8xy3zp.js} +14 -14
- package/dist/chunks/{repository-pnaxc6j9.js → location-activity-1gfgk62c.js} +8 -8
- package/dist/chunks/{repository-03yhb5ad.js → location-activity-1h24k1r9.js} +14 -14
- package/dist/chunks/{repository-cadhwe8h.js → location-activity-1mfhpedz.js} +9 -9
- package/dist/chunks/{repository-wd11n6zd.js → location-activity-1smqcxb3.js} +2 -2
- package/dist/chunks/{repository-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{repository-20gsadav.js → location-activity-229kgytr.js} +24 -24
- package/dist/chunks/{repository-rftjbn8p.js → location-activity-266vcxgd.js} +3 -3
- package/dist/chunks/{repository-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-eeaf82dq.js → location-activity-2aet7wja.js} +8 -8
- package/dist/chunks/{repository-jx6w3tcg.js → location-activity-2bdac0n9.js} +25 -25
- package/dist/chunks/{repository-0nf4068s.js → location-activity-2h7z08qc.js} +23 -23
- package/dist/chunks/{repository-z2hzy96q.js → location-activity-2k05be8x.js} +6 -6
- package/dist/chunks/{repository-qmyetdfw.js → location-activity-2mp83jfq.js} +22 -22
- package/dist/chunks/{repository-4nzwy074.js → location-activity-30krspkn.js} +4 -4
- package/dist/chunks/{repository-gycdx838.js → location-activity-34n5sbfk.js} +9 -9
- package/dist/chunks/{repository-3qtmwhvy.js → location-activity-3a1krv2k.js} +23 -23
- package/dist/chunks/{repository-xy1m2s0m.js → location-activity-3ejw8a3m.js} +5 -5
- package/dist/chunks/{repository-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-2fj6nf2m.js → location-activity-3myc71jt.js} +17 -17
- package/dist/chunks/{repository-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-dqmwfghx.js → location-activity-3w0fmcng.js} +5 -5
- package/dist/chunks/{repository-vk6t1kw2.js → location-activity-3w9g5he6.js} +9 -9
- package/dist/chunks/{repository-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-8rkn0jpj.js → location-activity-40dbptmr.js} +33 -33
- package/dist/chunks/{repository-z8fpy401.js → location-activity-41drvpt3.js} +5 -5
- package/dist/chunks/{repository-a2skee4f.js → location-activity-47n28gsq.js} +35 -35
- package/dist/chunks/{repository-h9wp8z5w.js → location-activity-4j4tgtq5.js} +4 -4
- package/dist/chunks/{repository-6hjx5zpb.js → location-activity-4nj4bn9q.js} +9 -9
- package/dist/chunks/{repository-xwatpa0g.js → location-activity-4p75gkfp.js} +90 -90
- package/dist/chunks/{repository-zy8av054.js → location-activity-4r30jxym.js} +2 -2
- package/dist/chunks/{repository-pp2vfp84.js → location-activity-4vzdpms5.js} +13 -13
- package/dist/chunks/{repository-xdk9p2qn.js → location-activity-50mzsvk4.js} +21 -21
- package/dist/chunks/{repository-94vf58n3.js → location-activity-52p88gvx.js} +6 -6
- package/dist/chunks/{repository-bzrp7q37.js → location-activity-53hmgd1n.js} +13 -13
- package/dist/chunks/{repository-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-ckecvw8r.js → location-activity-54tcyq79.js} +2 -2
- package/dist/chunks/{repository-330w2vey.js → location-activity-575d2e68.js} +93 -93
- package/dist/chunks/{repository-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-5khs75m3.js → location-activity-5hjckbc2.js} +33 -33
- package/dist/chunks/{repository-e3qxr5gk.js → location-activity-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-fzhjq0vw.js → location-activity-5rg3wxb4.js} +8 -8
- package/dist/chunks/{repository-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-v81gfb7z.js → location-activity-63nhzkyw.js} +9 -9
- package/dist/chunks/{repository-1j5pt4ft.js → location-activity-63xbqhd3.js} +47 -47
- package/dist/chunks/{repository-5ngaw42y.js → location-activity-659sfxq9.js} +8 -8
- package/dist/chunks/{repository-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{repository-ekmk2epb.js → location-activity-6fzbf4p9.js} +27 -27
- package/dist/chunks/{repository-84qcc0z6.js → location-activity-6jpm1nv0.js} +18 -18
- package/dist/chunks/{repository-f3h1v3p4.js → location-activity-6kagehp5.js} +8 -8
- package/dist/chunks/{repository-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-dn8jpt1b.js → location-activity-6pmchycv.js} +11 -11
- package/dist/chunks/{repository-x6p7tmnf.js → location-activity-6s622yr1.js} +12 -12
- package/dist/chunks/{repository-346y6mfm.js → location-activity-6xe4fgg8.js} +7 -7
- package/dist/chunks/{repository-g3mc5kfg.js → location-activity-74knqbzz.js} +35 -35
- package/dist/chunks/{repository-c8e8p37w.js → location-activity-75szhmtc.js} +31 -31
- package/dist/chunks/{repository-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-2wts5qzq.js → location-activity-7f85ph34.js} +5 -5
- package/dist/chunks/{repository-z983jzxa.js → location-activity-809qe8sk.js} +23 -23
- package/dist/chunks/{repository-84txncab.js → location-activity-84txncab.js} +1 -1
- package/dist/chunks/{repository-6yea8ax2.js → location-activity-8a197mr1.js} +9 -9
- package/dist/chunks/{repository-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-ypyd1n4s.js → location-activity-8p54jxc6.js} +11 -11
- package/dist/chunks/{repository-mb7qsxty.js → location-activity-8vbndzfj.js} +22 -22
- package/dist/chunks/{repository-4xrsv61j.js → location-activity-8w7jzeqg.js} +3 -3
- package/dist/chunks/{repository-sp7fmdjf.js → location-activity-8z7pc6r1.js} +19 -19
- package/dist/chunks/{repository-stwc6554.js → location-activity-8zb08g4c.js} +12 -12
- package/dist/chunks/{repository-e4xyx1jr.js → location-activity-8zr3m3wh.js} +35 -35
- package/dist/chunks/{repository-d8r9gpwm.js → location-activity-908jv299.js} +10 -10
- package/dist/chunks/{repository-vy4zg7qh.js → location-activity-965ggptx.js} +12 -12
- package/dist/chunks/{repository-5v36bsqd.js → location-activity-97q6njzc.js} +36 -36
- package/dist/chunks/location-activity-9brjy31v.js +18 -0
- package/dist/chunks/{repository-g2yz86wh.js → location-activity-9kmbd9mt.js} +2 -2
- package/dist/chunks/{repository-krbat558.js → location-activity-9mkc24xa.js} +6 -6
- package/dist/chunks/{repository-6cxm58b5.js → location-activity-9rkayaet.js} +22 -22
- package/dist/chunks/{repository-b5rh7nhk.js → location-activity-9spd21z5.js} +11 -11
- package/dist/chunks/{repository-y24krm64.js → location-activity-9x5rebw7.js} +8 -8
- package/dist/chunks/{repository-hwce49kt.js → location-activity-a5w17s0s.js} +22 -22
- package/dist/chunks/{repository-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-k9psjfbd.js → location-activity-ac5dy6fj.js} +6 -6
- package/dist/chunks/{repository-f73rjn58.js → location-activity-afdssyjb.js} +4 -4
- package/dist/chunks/{repository-pkve43rd.js → location-activity-amzv4cj8.js} +39 -39
- package/dist/chunks/{repository-rb6gffef.js → location-activity-aq2adzr3.js} +44 -44
- package/dist/chunks/{repository-gtf1jrjg.js → location-activity-ats5qnf8.js} +32 -32
- package/dist/chunks/{repository-734ywdzp.js → location-activity-b14v52mz.js} +43 -43
- package/dist/chunks/{repository-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-xwbd059y.js → location-activity-b9zav7zg.js} +48 -48
- package/dist/chunks/{repository-92a4ap4w.js → location-activity-bgxcxs0p.js} +5 -5
- package/dist/chunks/{repository-z07pqspn.js → location-activity-bjtzbw4r.js} +3 -3
- package/dist/chunks/{repository-evfe50z6.js → location-activity-bvbj4v5c.js} +36 -36
- package/dist/chunks/{repository-092bevw2.js → location-activity-c1cem4ms.js} +4 -4
- package/dist/chunks/{repository-ewbysjez.js → location-activity-c2xxqq54.js} +12 -12
- package/dist/chunks/{repository-w4tc47y0.js → location-activity-c3nwvhvh.js} +33 -33
- package/dist/chunks/{repository-pqwcs79a.js → location-activity-cfgnezqe.js} +18 -18
- package/dist/chunks/{repository-ghat809j.js → location-activity-chsg2cca.js} +26 -26
- package/dist/chunks/{repository-2p8k3371.js → location-activity-cn1v2m3x.js} +8 -8
- package/dist/chunks/{repository-a1x9jh75.js → location-activity-cnxgg46z.js} +5 -5
- package/dist/chunks/{repository-m76a2k0m.js → location-activity-cpwtdbzf.js} +8 -8
- package/dist/chunks/{repository-ead3g9p8.js → location-activity-cr07tj7n.js} +5 -5
- package/dist/chunks/{repository-r2m716tb.js → location-activity-cwa6csj7.js} +9 -9
- package/dist/chunks/{repository-knx6vc55.js → location-activity-cx7facz5.js} +24 -24
- package/dist/chunks/{repository-g0445xdp.js → location-activity-czfptnv9.js} +8 -8
- package/dist/chunks/{repository-q26xrw20.js → location-activity-d2zsdd4d.js} +19 -19
- package/dist/chunks/{repository-kfahhyhy.js → location-activity-d7ajkdyx.js} +25 -25
- package/dist/chunks/{repository-s5vjzjxc.js → location-activity-d8nm787w.js} +36 -36
- package/dist/chunks/location-activity-dcr8cv6d.js +26 -0
- package/dist/chunks/{repository-1a6p2twq.js → location-activity-dfe8djrf.js} +4 -4
- package/dist/chunks/{repository-a67k4gtk.js → location-activity-dfj6fbnh.js} +12 -12
- package/dist/chunks/{repository-dmqcgk4z.js → location-activity-dmqcgk4z.js} +2 -2
- package/dist/chunks/{repository-2ccxq8sz.js → location-activity-dnvd7z42.js} +57 -57
- package/dist/chunks/{repository-y71avatq.js → location-activity-dpkg50ah.js} +4 -4
- package/dist/chunks/{repository-xfkkasph.js → location-activity-drwq78ky.js} +4 -4
- package/dist/chunks/{repository-46zwd712.js → location-activity-dth4y816.js} +26 -26
- package/dist/chunks/{repository-dt4h0wgn.js → location-activity-dzzshj1y.js} +10 -10
- package/dist/chunks/{repository-fnwzaghr.js → location-activity-e01wyxnv.js} +30 -30
- package/dist/chunks/{repository-1tq060df.js → location-activity-e6hd9jay.js} +6 -6
- package/dist/chunks/{repository-s8d7rejh.js → location-activity-eaj1djv9.js} +6 -6
- package/dist/chunks/{repository-ecfe7b91.js → location-activity-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-hrspk2jv.js → location-activity-emdw47k5.js} +20 -20
- package/dist/chunks/{repository-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-7sg25f73.js → location-activity-evkwanfq.js} +6 -6
- package/dist/chunks/{repository-64d4fz0c.js → location-activity-f5f62g8d.js} +33 -33
- package/dist/chunks/{repository-8wz7d5k9.js → location-activity-f72pbp8a.js} +25 -25
- package/dist/chunks/{repository-e8g69mg2.js → location-activity-f8g6ptxf.js} +30 -30
- package/dist/chunks/{repository-etsm0c4w.js → location-activity-ffg6pth4.js} +14 -14
- package/dist/chunks/{repository-qn1kcwf1.js → location-activity-fnvysv06.js} +33 -33
- package/dist/chunks/{repository-52hb404k.js → location-activity-fwhqfwqn.js} +6 -6
- package/dist/chunks/{repository-9esrwjy0.js → location-activity-fx11cx3p.js} +177 -177
- package/dist/chunks/{repository-a5bnh3fe.js → location-activity-g1ff065m.js} +11 -11
- package/dist/chunks/{repository-7mx8b6x1.js → location-activity-g554a1q9.js} +10 -10
- package/dist/chunks/{repository-g5agzp2h.js → location-activity-g5agzp2h.js} +2 -2
- package/dist/chunks/{repository-8a17t1bw.js → location-activity-gcbp8h4n.js} +2 -2
- package/dist/chunks/{repository-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-94ek1h2f.js → location-activity-gfvb90ym.js} +2 -2
- package/dist/chunks/{repository-zf9fes0n.js → location-activity-gjw6p9rk.js} +11 -11
- package/dist/chunks/{repository-djj2fqjh.js → location-activity-gmf3x8bs.js} +28 -28
- package/dist/chunks/{repository-9skhgxq9.js → location-activity-gnbk51kj.js} +35 -35
- package/dist/chunks/{repository-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-x7rhc6wm.js → location-activity-gvrb3dy5.js} +5 -5
- package/dist/chunks/{repository-pen903sm.js → location-activity-h5670nt2.js} +7 -7
- package/dist/chunks/{repository-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-q5zafh14.js → location-activity-ha607pgt.js} +6 -6
- package/dist/chunks/{repository-7resshyd.js → location-activity-hc9qtajb.js} +28 -28
- package/dist/chunks/{repository-znsx74x0.js → location-activity-hd8vw2pw.js} +1 -1
- package/dist/chunks/location-activity-he76kwyv.js +252 -0
- package/dist/chunks/{repository-62jtkyqj.js → location-activity-hgnyq8n3.js} +4 -4
- package/dist/chunks/{repository-azbzvrwt.js → location-activity-hmm5qybx.js} +11 -11
- package/dist/chunks/{repository-44khr5w8.js → location-activity-hmqsdwnf.js} +28 -28
- package/dist/chunks/{repository-cgvtq6pd.js → location-activity-hrw20ktp.js} +33 -33
- package/dist/chunks/{repository-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-yk5hfv3m.js → location-activity-j8n6cjcw.js} +35 -35
- package/dist/chunks/{repository-rgaw6yy6.js → location-activity-j9n98th9.js} +14 -14
- package/dist/chunks/{repository-p5gmb07n.js → location-activity-jg41maze.js} +5 -5
- package/dist/chunks/{repository-mwhefvvw.js → location-activity-jnvevjvm.js} +3 -3
- package/dist/chunks/{repository-jpqeh2wc.js → location-activity-jpqeh2wc.js} +1 -1
- package/dist/chunks/{repository-k3c624dm.js → location-activity-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-51b08hzt.js → location-activity-kh303gds.js} +13 -13
- package/dist/chunks/{repository-qe2vk4xy.js → location-activity-kjst15yx.js} +7 -7
- package/dist/chunks/{repository-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-xkhfjrgz.js → location-activity-mf9m2v67.js} +3 -3
- package/dist/chunks/{repository-mfqp6xfm.js → location-activity-mfqp6xfm.js} +2 -2
- package/dist/chunks/{repository-rwdmhfe9.js → location-activity-mk1y78ps.js} +4 -4
- package/dist/chunks/{repository-dnxkq42g.js → location-activity-mpk0rfs5.js} +4 -4
- package/dist/chunks/{repository-tap773t1.js → location-activity-n0a780pf.js} +11 -11
- package/dist/chunks/{repository-rhafb4aa.js → location-activity-n35d2xk4.js} +9 -9
- package/dist/chunks/{repository-zsm3phbg.js → location-activity-nbzsj80d.js} +11 -11
- package/dist/chunks/{repository-fjvydvzm.js → location-activity-ndqtf2h8.js} +6 -6
- package/dist/chunks/{repository-hmy61pfr.js → location-activity-nt99nghq.js} +12 -12
- package/dist/chunks/{repository-yb1xnzya.js → location-activity-nw4x666j.js} +11 -11
- package/dist/chunks/{repository-ddwbawsj.js → location-activity-nx24f48e.js} +41 -41
- package/dist/chunks/{repository-hafbkqsf.js → location-activity-p3whrt10.js} +11 -11
- package/dist/chunks/{repository-8x0w9677.js → location-activity-p4ba9kby.js} +16 -16
- package/dist/chunks/{repository-51bqn9hx.js → location-activity-p8zyjhbq.js} +19 -19
- package/dist/chunks/{repository-e2vme18q.js → location-activity-pgbr8qsq.js} +40 -40
- package/dist/chunks/{repository-dxy9rwgs.js → location-activity-pj04vm81.js} +15 -15
- package/dist/chunks/{repository-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{repository-8c1hkqew.js → location-activity-pnxxqgm9.js} +11 -11
- package/dist/chunks/{repository-wd3x2cqz.js → location-activity-psazpmmj.js} +2 -2
- package/dist/chunks/{repository-w3yyykta.js → location-activity-q0raz0xt.js} +5 -5
- package/dist/chunks/{repository-bvjb2t71.js → location-activity-q13vczj5.js} +30 -30
- package/dist/chunks/{repository-5xpznt2d.js → location-activity-q7azfttr.js} +4 -4
- package/dist/chunks/{repository-bkzqp4j5.js → location-activity-qacn8y7r.js} +23 -23
- package/dist/chunks/{repository-vybhs2ww.js → location-activity-qdg2ycbc.js} +11 -11
- package/dist/chunks/{repository-7dqw4kz8.js → location-activity-qgn6gcr1.js} +5 -5
- package/dist/chunks/{repository-xnbva5hb.js → location-activity-qnvreqxt.js} +25 -25
- package/dist/chunks/{repository-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-nyqx1cb3.js → location-activity-qvreyy9g.js} +5 -5
- package/dist/chunks/{repository-nj1j17x6.js → location-activity-qw3tzrgn.js} +8 -8
- package/dist/chunks/{repository-74n4xpv9.js → location-activity-qwwggkzn.js} +21 -21
- package/dist/chunks/{repository-2sabx5kp.js → location-activity-r2wsw91e.js} +5 -5
- package/dist/chunks/{repository-5ph46173.js → location-activity-r322y1ma.js} +27 -27
- package/dist/chunks/{repository-hhvyr323.js → location-activity-r46t4cz6.js} +47 -47
- package/dist/chunks/{repository-evh8asg6.js → location-activity-r8tqkv0e.js} +14 -14
- package/dist/chunks/location-activity-r9mxrrsd.js +507 -0
- package/dist/chunks/{repository-nk8qx497.js → location-activity-raa6wmpj.js} +21 -21
- package/dist/chunks/{repository-bahkxd2v.js → location-activity-rcbgpb4r.js} +16 -16
- package/dist/chunks/{repository-mrg70h1v.js → location-activity-rdnpkcaj.js} +21 -21
- package/dist/chunks/{repository-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-w0nrm5hv.js → location-activity-regtqa0k.js} +32 -32
- package/dist/chunks/{repository-8sze2n9a.js → location-activity-rkprpv83.js} +6 -6
- package/dist/chunks/{repository-4pnr4hhq.js → location-activity-s7jdknsc.js} +11 -11
- package/dist/chunks/{repository-wgjgjn1f.js → location-activity-s7xe57j0.js} +15 -15
- package/dist/chunks/{repository-256vj6ze.js → location-activity-s9rg3eta.js} +20 -20
- package/dist/chunks/{repository-fnrmajhb.js → location-activity-sfnhvteh.js} +18 -18
- package/dist/chunks/{repository-23nv5e2k.js → location-activity-sk4ctnjz.js} +20 -20
- package/dist/chunks/{repository-k91hc397.js → location-activity-sm7q614n.js} +10 -10
- package/dist/chunks/{repository-e6v2k67t.js → location-activity-sp1hxvt0.js} +1 -1
- package/dist/chunks/{repository-yb2az3xg.js → location-activity-t74kfxm5.js} +5 -5
- package/dist/chunks/{repository-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{repository-z0aj456m.js → location-activity-tfzngn12.js} +4 -4
- package/dist/chunks/{repository-a2ew8a62.js → location-activity-tkmwgdpd.js} +7 -7
- package/dist/chunks/{repository-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-9f5fzrca.js → location-activity-twevnpth.js} +40 -40
- package/dist/chunks/{repository-yxn7kx7v.js → location-activity-v31wc8m3.js} +46 -46
- package/dist/chunks/{repository-522c72ec.js → location-activity-v9vs3966.js} +1 -1
- package/dist/chunks/{repository-ezbqyzn4.js → location-activity-vantngra.js} +11 -11
- package/dist/chunks/{repository-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-h1hhz3wc.js → location-activity-vfarcj8v.js} +13 -13
- package/dist/chunks/{repository-j91df599.js → location-activity-vg61q99b.js} +34 -34
- package/dist/chunks/{repository-ar00q028.js → location-activity-vve92bbj.js} +7 -7
- package/dist/chunks/{repository-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-6hr9dd4j.js → location-activity-w7p1gzy6.js} +24 -24
- package/dist/chunks/{repository-ypjj027g.js → location-activity-w9tybd38.js} +9 -9
- package/dist/chunks/{repository-7g7rfneh.js → location-activity-wd22x1ac.js} +29 -29
- package/dist/chunks/{repository-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{repository-end8q9yf.js → location-activity-wkw0swf1.js} +74 -74
- package/dist/chunks/{repository-hm4b16ap.js → location-activity-wxtgkjpy.js} +39 -39
- package/dist/chunks/{repository-0aejbemy.js → location-activity-wyc9ts9v.js} +19 -19
- package/dist/chunks/{repository-sjm6y15r.js → location-activity-wyktqry7.js} +10 -10
- package/dist/chunks/{repository-vxp3kcg3.js → location-activity-wz5tj16h.js} +5 -5
- package/dist/chunks/{repository-xgfgp5z3.js → location-activity-x0jksney.js} +23 -23
- package/dist/chunks/{repository-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-zeasar47.js → location-activity-xgr1zbnh.js} +12 -12
- package/dist/chunks/{repository-hgvwc7cd.js → location-activity-xq60nwxf.js} +22 -22
- package/dist/chunks/{repository-p3expsqa.js → location-activity-xvh8c9bc.js} +13 -13
- package/dist/chunks/{repository-pw3aqa3b.js → location-activity-y0yzcz58.js} +19 -19
- package/dist/chunks/{repository-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-e0a154fg.js → location-activity-y38ja4bc.js} +8 -8
- package/dist/chunks/{repository-jr4dxy5c.js → location-activity-y5p0b48k.js} +3 -3
- package/dist/chunks/{repository-9v98as8j.js → location-activity-y7fz84ff.js} +18 -18
- package/dist/chunks/{repository-awbq9rs1.js → location-activity-y7jk5301.js} +13 -13
- package/dist/chunks/{repository-1ncm4hts.js → location-activity-y90p0pz1.js} +23 -23
- package/dist/chunks/{repository-0tnq87cq.js → location-activity-y9wkp7y4.js} +15 -15
- package/dist/chunks/{repository-zyc1d5mg.js → location-activity-ycse678a.js} +15 -15
- package/dist/chunks/{repository-6ytch5ea.js → location-activity-ydzw58ph.js} +18 -18
- package/dist/chunks/{repository-6ty81bja.js → location-activity-ye6hvepj.js} +15 -15
- package/dist/chunks/{repository-r8xr0va3.js → location-activity-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-7ec2pg6r.js → location-activity-ypczpx3e.js} +17 -17
- package/dist/chunks/{repository-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-s4enseaf.js → location-activity-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-qyd0022c.js → location-activity-ystbhy0h.js} +30 -30
- package/dist/chunks/{repository-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-qz061pbh.js → location-activity-z5v99h50.js} +6 -6
- package/dist/chunks/{repository-29x78va6.js → location-activity-z63w68vq.js} +6 -6
- package/dist/chunks/{repository-ksdq3yt2.js → location-activity-z6makp0e.js} +28 -28
- package/dist/chunks/{repository-zgt0ygn8.js → location-activity-z6nst2md.js} +10 -10
- package/dist/chunks/{repository-5pwkv57x.js → location-activity-z966pbtj.js} +5 -5
- package/dist/chunks/{repository-mv2ay9dz.js → location-activity-zd8paa4v.js} +14 -14
- package/dist/chunks/{repository-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-6abfc7az.js → location-activity-zm7ccgde.js} +29 -29
- package/dist/chunks/{repository-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-46m0hjzr.js → location-activity-ztweh0jg.js} +4 -4
- package/dist/chunks/{repository-d2ksf4va.js → location-activity-zvnak894.js} +20 -20
- package/dist/chunks/{repository-46vthg38.js → location-activity-zvsgve89.js} +6 -6
- package/dist/chunks/{repository-z45mjmxx.js → location-activity-zwg4j557.js} +24 -24
- package/dist/chunks/{repository-cme5mnrk.js → location-activity-zxbtycr0.js} +19 -19
- package/dist/chunks/{repository-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +100 -100
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +230 -230
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +223 -223
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-1g8ttbme.js +0 -26
- package/dist/chunks/repository-4rsbbpr6.js +0 -252
- package/dist/chunks/repository-bk8heh08.js +0 -507
- package/dist/chunks/repository-ht5y0zrb.js +0 -18
- /package/dist/chunks/{repository-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-40dbptmr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info25,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-f5f62g8d.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info25.make({
|
|
98
|
+
...Info25.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-activity-1e8xy3zp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./location-activity-v31wc8m3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./location-activity-raa6wmpj.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin7
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin7 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service46;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service42;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin11 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin7, exports_worktree };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./location-activity-w7p1gzy6.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service81
|
|
13
|
+
} from "./location-activity-hmqsdwnf.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./location-activity-1e8xy3zp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin19
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin19 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service81;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service79;
|
|
42
|
+
const watcher = yield* Service47;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin19, exports_instruction };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-6fzbf4p9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./location-activity-1e8xy3zp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service63,
|
|
13
|
+
node65
|
|
14
|
+
} from "./location-activity-13m3jm1s.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service49,
|
|
26
|
+
node: () => node52,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service49 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service63;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service49.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node52 = makeLocationNode({ service: Service49, layer, deps: [FSUtil.node, node83, node65] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service49, resolvePath2, node52, exports_file_access };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-activity-1e8xy3zp.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service39,
|
|
17
|
+
node: () => node42
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service39 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service79;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service39.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node42 = makeLocationNode({
|
|
91
|
+
service: Service39,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node83, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service39, node42, exports_formatter2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make18 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-6pmchycv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-activity-p4ba9kby.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./location-activity-47n28gsq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-c3nwvhvh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID12
|
|
17
|
+
} from "./location-activity-40dbptmr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-f5f62g8d.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID12.make("digitalocean");
|
|
31
|
+
var integrationID = ID13.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service82;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z63w68vq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/config/variable.ts
|
|
9
9
|
var exports_variable = {};
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service45
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-r8tqkv0e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service31,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-g554a1q9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service39
|
|
11
|
+
} from "./location-activity-ye6hvepj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service63
|
|
14
|
+
} from "./location-activity-13m3jm1s.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service49
|
|
17
|
+
} from "./location-activity-ydzw58ph.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input8,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin42,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name8,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name8 = "write";
|
|
39
|
+
var Input8 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin42 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
55
|
+
const access = yield* Service49;
|
|
56
|
+
const fileMutation = yield* Service31;
|
|
57
57
|
const environment = yield* Service45;
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
58
|
+
const formatter = yield* Service39;
|
|
59
|
+
const permission = yield* Service63;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name8,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input8,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name8, Input8, Output5, toModelContent2, Plugin42, exports_write };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service62
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-1h24k1r9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service13
|
|
6
|
+
} from "./location-activity-575d2e68.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
23
|
+
const sessions = yield* Service13;
|
|
24
24
|
const jobs = yield* Service62;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|