@opencode/core 0.0.0-dev-19626 → 0.0.0-dev-19628
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{instance-gffj713w.js → project-02npky8t.js} +15 -15
- package/dist/chunks/{instance-r2dn7e69.js → project-07jqw2wt.js} +1 -1
- package/dist/chunks/{instance-2v1tekmx.js → project-09j0jr97.js} +12 -12
- package/dist/chunks/{instance-pmx05hv5.js → project-0g8b3cp3.js} +22 -22
- package/dist/chunks/{instance-ry62k031.js → project-0mxbz6cg.js} +9 -9
- package/dist/chunks/{instance-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-qzyph8ek.js → project-17dw8pkg.js} +11 -11
- package/dist/chunks/{instance-dsh5gj19.js → project-1c0qdd4m.js} +23 -23
- package/dist/chunks/{instance-cx92zwpy.js → project-1cnwdj7j.js} +11 -11
- package/dist/chunks/{instance-9y9hvn9f.js → project-1cp7rtfc.js} +12 -12
- package/dist/chunks/{instance-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-1ze3fj9p.js → project-1vamtg20.js} +28 -28
- package/dist/chunks/{instance-dzvkn7t8.js → project-1vy54y9f.js} +8 -8
- package/dist/chunks/{instance-005526v9.js → project-1x12esvj.js} +18 -18
- package/dist/chunks/{instance-bavw6ffe.js → project-1x7pnkv6.js} +85 -85
- package/dist/chunks/{instance-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{instance-pjedbq3k.js → project-23sxaqwc.js} +6 -6
- package/dist/chunks/{instance-x4zba2ff.js → project-259jgdne.js} +5 -5
- package/dist/chunks/{instance-5v4sqzgr.js → project-26xawcrj.js} +5 -5
- package/dist/chunks/{instance-29x78va6.js → project-29x78va6.js} +2 -2
- package/dist/chunks/{instance-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-7dqw4kz8.js → project-2k8khapm.js} +5 -5
- package/dist/chunks/project-2pwzh2qj.js +247 -0
- package/dist/chunks/{instance-cjys6k6m.js → project-2swtdwje.js} +11 -11
- package/dist/chunks/{instance-kne8f3cn.js → project-2vs2nh1n.js} +4 -4
- package/dist/chunks/{instance-q1f67bwr.js → project-2ywebzac.js} +31 -31
- package/dist/chunks/{instance-y3ye5brk.js → project-353bn1fj.js} +11 -11
- package/dist/chunks/{instance-cyp3zcq5.js → project-3dvzgvsa.js} +11 -11
- package/dist/chunks/{instance-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-h7ygw6q4.js → project-3pe7sts8.js} +9 -9
- package/dist/chunks/{instance-jzjrp6ac.js → project-3sb64rq7.js} +43 -43
- package/dist/chunks/{instance-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-fpmq6gma.js → project-3w2b2yj4.js} +5 -5
- package/dist/chunks/{instance-h6r3nrb9.js → project-44h5tttr.js} +4 -4
- package/dist/chunks/{instance-gfazvam9.js → project-4b4wdfnp.js} +19 -19
- package/dist/chunks/{instance-f32czd11.js → project-4cf19nbk.js} +8 -8
- package/dist/chunks/{instance-xzj84bvr.js → project-4fa8k3k5.js} +12 -12
- package/dist/chunks/{instance-5fx85d4x.js → project-4jz9xskr.js} +1 -1
- package/dist/chunks/{instance-xqxgzzam.js → project-4kcff6vb.js} +6 -6
- package/dist/chunks/{instance-w21bzq9q.js → project-4mwpykj0.js} +6 -6
- package/dist/chunks/project-4nrdjra1.js +26 -0
- package/dist/chunks/{instance-a33bht5e.js → project-4sg5w2a7.js} +13 -13
- package/dist/chunks/{instance-59a5kam3.js → project-4t5vzxby.js} +11 -11
- package/dist/chunks/{instance-yvxb46eq.js → project-55s1chmx.js} +5 -5
- package/dist/chunks/{instance-ksf81zt2.js → project-55skyyrc.js} +11 -11
- package/dist/chunks/{instance-mfqp6xfm.js → project-56gdpj1q.js} +6 -6
- package/dist/chunks/{instance-q6d53jre.js → project-57e9z27j.js} +8 -8
- package/dist/chunks/{instance-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-ec3p188n.js → project-5rtg8v4f.js} +8 -8
- package/dist/chunks/{instance-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-g6qm2edy.js → project-5zrne849.js} +4 -4
- package/dist/chunks/{instance-jw17pt90.js → project-60g3sj5v.js} +8 -8
- package/dist/chunks/{instance-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{instance-ss0awb04.js → project-6anwy9fs.js} +6 -6
- package/dist/chunks/{instance-7f1r43eh.js → project-6cnpzqq7.js} +48 -48
- package/dist/chunks/{instance-v4hmzr0r.js → project-6f890ccd.js} +8 -8
- package/dist/chunks/{instance-2402vzrj.js → project-6h73sxmp.js} +5 -5
- package/dist/chunks/{instance-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-703jyx7f.js → project-757464b7.js} +8 -8
- package/dist/chunks/{instance-4rh7nyge.js → project-79fhh2gp.js} +47 -47
- package/dist/chunks/{instance-2a9hxxpw.js → project-79wxqeje.js} +25 -25
- package/dist/chunks/{instance-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-sr9sb9y2.js → project-7r6qqdtq.js} +20 -20
- package/dist/chunks/{instance-xm8qr0x3.js → project-8640cccz.js} +9 -9
- package/dist/chunks/{instance-vs0gackm.js → project-898hvbcp.js} +15 -15
- package/dist/chunks/{instance-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-ed0w586q.js → project-8fpqe0dc.js} +17 -17
- package/dist/chunks/{instance-gjt8wv2y.js → project-8gcc4xjh.js} +17 -17
- package/dist/chunks/{instance-dj2t23y0.js → project-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-eamw3cyr.js → project-9daap1qz.js} +20 -20
- package/dist/chunks/{instance-1g96y08y.js → project-9jbvj98d.js} +8 -8
- package/dist/chunks/{instance-pezedjaz.js → project-9w8h378s.js} +18 -18
- package/dist/chunks/{instance-ggrxy4rs.js → project-9wgmbypx.js} +26 -26
- package/dist/chunks/{instance-d70jxyey.js → project-9zz72r8a.js} +41 -41
- package/dist/chunks/{instance-5c4hm403.js → project-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-z3nay82g.js → project-a881zpfh.js} +9 -9
- package/dist/chunks/{instance-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-kjtnp8hj.js → project-akqwb96g.js} +108 -116
- package/dist/chunks/{instance-vqe3a6nj.js → project-aq006y5y.js} +22 -22
- package/dist/chunks/{instance-vs2g7sm6.js → project-at7enqjf.js} +24 -24
- package/dist/chunks/{instance-dsg0rm71.js → project-av0mmvpn.js} +8 -8
- package/dist/chunks/{instance-q7pq59py.js → project-avtdxkqt.js} +16 -16
- package/dist/chunks/{instance-82tye6ms.js → project-az8a2yam.js} +13 -13
- package/dist/chunks/{instance-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-xh1aq95h.js → project-b9qgr8qp.js} +36 -36
- package/dist/chunks/{instance-qxtdrv9q.js → project-b9zj3kn1.js} +56 -56
- package/dist/chunks/{instance-bg2gq5qa.js → project-bajakh74.js} +4 -4
- package/dist/chunks/{instance-bccb6npm.js → project-bccb6npm.js} +1 -1
- package/dist/chunks/{instance-y9ap2p02.js → project-bgqy63e3.js} +20 -20
- package/dist/chunks/{instance-rkevjsa4.js → project-bkrjkb13.js} +19 -19
- package/dist/chunks/{instance-5xv9aaee.js → project-bmkfdkwx.js} +17 -17
- package/dist/chunks/{instance-v6d4v6jq.js → project-bvejaycr.js} +28 -28
- package/dist/chunks/{instance-wyawgadg.js → project-by0gsg89.js} +3 -3
- package/dist/chunks/{instance-bjtgkgtt.js → project-c0480hwk.js} +25 -25
- package/dist/chunks/{instance-ed27kc2q.js → project-c3q8eaer.js} +24 -24
- package/dist/chunks/{instance-85bxt0yz.js → project-c84hgbnx.js} +13 -13
- package/dist/chunks/{instance-m0jqrx5p.js → project-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-rvydjrpx.js → project-cgy3sbv3.js} +16 -16
- package/dist/chunks/{instance-w3eyqdtb.js → project-cshfpq41.js} +34 -34
- package/dist/chunks/{instance-pe1s98c6.js → project-cwp5xj07.js} +17 -17
- package/dist/chunks/{instance-6xjq67s0.js → project-cyevzdjf.js} +44 -44
- package/dist/chunks/{instance-167qt7f9.js → project-d21w5bt1.js} +11 -11
- package/dist/chunks/{instance-n8zr52k9.js → project-d4t6hpm2.js} +15 -15
- package/dist/chunks/{instance-7gbft6an.js → project-d5s5pf33.js} +35 -35
- package/dist/chunks/{instance-919tp9z0.js → project-d7vf99ne.js} +9 -9
- package/dist/chunks/{instance-mqshrq5t.js → project-dr36qrwc.js} +9 -9
- package/dist/chunks/{instance-0gacneyh.js → project-dv1vx6t2.js} +18 -18
- package/dist/chunks/{instance-3kq5yncf.js → project-dwghrtd7.js} +17 -17
- package/dist/chunks/{instance-h1yf0y0e.js → project-e15ntc4t.js} +7 -7
- package/dist/chunks/{instance-e5nv3ght.js → project-e5nv3ght.js} +2 -2
- package/dist/chunks/{instance-myhakecn.js → project-edvgyycs.js} +13 -13
- package/dist/chunks/{instance-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-02s4da2m.js → project-f2b80ee2.js} +7 -7
- package/dist/chunks/{instance-9spjdt5y.js → project-f7ty4j2n.js} +26 -26
- package/dist/chunks/{instance-hdnk95c8.js → project-f828m53h.js} +2 -2
- package/dist/chunks/{instance-dxphz4rn.js → project-f9gg2skd.js} +32 -32
- package/dist/chunks/{instance-qn0j0dkc.js → project-fcwr5x5c.js} +8 -8
- package/dist/chunks/{instance-wdsnhfsd.js → project-feb5hr90.js} +10 -10
- package/dist/chunks/{instance-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/project-fxhv1aw0.js +66 -0
- package/dist/chunks/{instance-wfrdzx2b.js → project-fy2r6802.js} +12 -12
- package/dist/chunks/{instance-rmacqpyz.js → project-g0ke2vx6.js} +20 -20
- package/dist/chunks/{instance-f7fkew40.js → project-g374vg8s.js} +27 -27
- package/dist/chunks/{instance-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-08zchdps.js → project-grx711cr.js} +32 -32
- package/dist/chunks/{instance-th5km1p3.js → project-gv6a8nnw.js} +5 -5
- package/dist/chunks/{instance-q9ave7j0.js → project-gyrnz1ke.js} +28 -28
- package/dist/chunks/{instance-h03wrkyp.js → project-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-62yskeeq.js → project-h2hkvaqb.js} +8 -8
- package/dist/chunks/{instance-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-p0d34h28.js → project-hc2rjyny.js} +16 -16
- package/dist/chunks/{instance-92a4ap4w.js → project-hcz3zddy.js} +5 -5
- package/dist/chunks/{instance-e82z9tr0.js → project-hjt4xg1x.js} +7 -7
- package/dist/chunks/{instance-zmzwkbhv.js → project-hmq12a4k.js} +5 -5
- package/dist/chunks/{instance-41kev6en.js → project-hx5ww8wt.js} +11 -11
- package/dist/chunks/{instance-89vjf07m.js → project-j34dxvpb.js} +5 -5
- package/dist/chunks/{instance-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-9xzpt3ep.js → project-j6cnd6pq.js} +32 -32
- package/dist/chunks/{instance-8spd7vcp.js → project-jbh7eaj6.js} +17 -17
- package/dist/chunks/{instance-nywjskf3.js → project-jd3sm2cb.js} +23 -23
- package/dist/chunks/{instance-a88f4eq7.js → project-jm41p8c9.js} +9 -9
- package/dist/chunks/{instance-3z2rpyjg.js → project-jse2t38q.js} +30 -30
- package/dist/chunks/{instance-7j92jdde.js → project-jva4mgym.js} +4 -4
- package/dist/chunks/{instance-151xgw5n.js → project-jvhzf42w.js} +11 -11
- package/dist/chunks/{instance-z5x28zm6.js → project-jxhcm6a8.js} +7 -7
- package/dist/chunks/{instance-wvjz3gc7.js → project-jzdd0kff.js} +4 -4
- package/dist/chunks/{instance-95wf764r.js → project-k8ye623y.js} +16 -16
- package/dist/chunks/{instance-2tnr6z1w.js → project-kj4rvgf1.js} +38 -38
- package/dist/chunks/{instance-jayyna5d.js → project-kj91gjsx.js} +24 -24
- package/dist/chunks/{instance-b8b3f19r.js → project-kp8q1t60.js} +9 -9
- package/dist/chunks/{instance-gr5q12fx.js → project-kr1k6zz7.js} +9 -9
- package/dist/chunks/{instance-803gagz9.js → project-kwtt87aw.js} +22 -22
- package/dist/chunks/{instance-k4drpexb.js → project-kzs6j0ha.js} +6 -6
- package/dist/chunks/{instance-vze34wk4.js → project-m144tsf8.js} +6 -6
- package/dist/chunks/{instance-e758p7qe.js → project-m437k757.js} +32 -32
- package/dist/chunks/{instance-vf304emn.js → project-m8xkkgnz.js} +18 -18
- package/dist/chunks/{instance-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-sj0pd38k.js → project-mar7rqed.js} +12 -12
- package/dist/chunks/{instance-gnpdrzyp.js → project-mmhn33zq.js} +4 -4
- package/dist/chunks/{instance-xb02k0wq.js → project-mtq6xxnx.js} +7 -7
- package/dist/chunks/{instance-eq1pz5kg.js → project-mvfsc1pv.js} +3 -3
- package/dist/chunks/{instance-2y4s2rg0.js → project-mxvxyk3g.js} +19 -19
- package/dist/chunks/{instance-ekgw5y1z.js → project-myp5sw1f.js} +5 -5
- package/dist/chunks/{instance-vsgtcbn2.js → project-n34vayx2.js} +37 -37
- package/dist/chunks/{instance-3vtqk0fd.js → project-n3eh9z61.js} +10 -10
- package/dist/chunks/{instance-05d804h8.js → project-n5vz0cry.js} +11 -11
- package/dist/chunks/{instance-6qqzc0bp.js → project-n7gr9xxz.js} +8 -8
- package/dist/chunks/{instance-7ysw83b4.js → project-nd1a8rn4.js} +15 -15
- package/dist/chunks/{instance-zznd93jw.js → project-nfrhjm27.js} +17 -17
- package/dist/chunks/{instance-1bg0qxs1.js → project-njsjzm26.js} +3 -3
- package/dist/chunks/{instance-0yj5xewp.js → project-nk3wpnq2.js} +30 -30
- package/dist/chunks/{instance-8e2zpme0.js → project-nkg579ba.js} +48 -48
- package/dist/chunks/{instance-zsnh4763.js → project-nsgsffy1.js} +13 -13
- package/dist/chunks/{instance-3tbzcjrn.js → project-nswt86ga.js} +15 -15
- package/dist/chunks/{instance-gqqc2kn1.js → project-nvwv9vf6.js} +24 -24
- package/dist/chunks/{instance-p5s2wgha.js → project-p1cpmwyf.js} +22 -22
- package/dist/chunks/{instance-ct44bwr3.js → project-p33qzpjt.js} +9 -9
- package/dist/chunks/{instance-d2aac7k2.js → project-p44d8wdy.js} +5 -5
- package/dist/chunks/{instance-zfwtjyrh.js → project-p6yda8sh.js} +17 -17
- package/dist/chunks/{instance-p75hnr01.js → project-pg94t5r8.js} +2 -2
- package/dist/chunks/{instance-tfmm411s.js → project-phrqe1n5.js} +32 -32
- package/dist/chunks/{instance-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{instance-dfe8djrf.js → project-pmr4s4kc.js} +4 -4
- package/dist/chunks/{instance-dp6y6dpa.js → project-pr0pwz8z.js} +9 -9
- package/dist/chunks/{instance-57ez7d0k.js → project-pzkk0785.js} +7 -7
- package/dist/chunks/{instance-p6dqdzbz.js → project-q0bad23w.js} +11 -11
- package/dist/chunks/{instance-g8f82tga.js → project-q0neqv3n.js} +4 -4
- package/dist/chunks/{instance-5h36w7b3.js → project-q38pj0tx.js} +28 -28
- package/dist/chunks/project-qc068m1q.js +18 -0
- package/dist/chunks/{instance-ycw8yczh.js → project-qc7sfe0t.js} +5 -5
- package/dist/chunks/{instance-9bpbcn0x.js → project-qjk0x4g8.js} +19 -19
- package/dist/chunks/{instance-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-3sm2tqew.js → project-qt970c0q.js} +32 -32
- package/dist/chunks/{instance-3x9anw65.js → project-qvd3kry0.js} +12 -12
- package/dist/chunks/{instance-vep8e94v.js → project-qwdvs2p0.js} +29 -29
- package/dist/chunks/{instance-a9gh96kw.js → project-qxydxzk3.js} +11 -11
- package/dist/chunks/{instance-wf1efbtj.js → project-qz4rfney.js} +21 -21
- package/dist/chunks/{instance-xvtqr6gp.js → project-r01t9b5y.js} +8 -8
- package/dist/chunks/{instance-r9mregkx.js → project-r9mregkx.js} +2 -2
- package/dist/chunks/{instance-2zmvcxwn.js → project-raa1pnsf.js} +6 -6
- package/dist/chunks/{instance-jmqbe6bp.js → project-rbv3jq6k.js} +5 -5
- package/dist/chunks/{instance-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-9ff31bqh.js → project-rey5gbxv.js} +9 -9
- package/dist/chunks/{instance-z076nmc8.js → project-rhp07p3k.js} +95 -95
- package/dist/chunks/{instance-33vbamfj.js → project-rhtmfbtp.js} +41 -41
- package/dist/chunks/{instance-dhj3npyc.js → project-rntk04yd.js} +23 -23
- package/dist/chunks/{instance-ryt7pzqc.js → project-ryt7pzqc.js} +1 -1
- package/dist/chunks/{instance-rp7edk77.js → project-s3kdpa44.js} +10 -10
- package/dist/chunks/{instance-wg2pkbq9.js → project-s40sp0nv.js} +4 -4
- package/dist/chunks/{instance-s4enseaf.js → project-s4enseaf.js} +2 -2
- package/dist/chunks/{instance-g7sr1kve.js → project-scxh138f.js} +27 -27
- package/dist/chunks/{instance-7gq6gbe3.js → project-sf2p8ett.js} +18 -18
- package/dist/chunks/{instance-r4s75e97.js → project-sjsffq0v.js} +10 -10
- package/dist/chunks/{instance-sy0w1jwb.js → project-sz9x7shk.js} +27 -27
- package/dist/chunks/{instance-p8fpqpay.js → project-t0xwwvxm.js} +190 -197
- package/dist/chunks/{instance-0gdmqesm.js → project-t550f9t1.js} +4 -4
- package/dist/chunks/{instance-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tfnergqq.js → project-tbnjqe6a.js} +64 -64
- package/dist/chunks/{instance-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-5nb2d01r.js → project-tdgd79rq.js} +2 -2
- package/dist/chunks/{instance-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{instance-3xt1tafv.js → project-tfp5y93d.js} +19 -19
- package/dist/chunks/{instance-hspvzq38.js → project-tfxfws18.js} +11 -11
- package/dist/chunks/{instance-r1cpq9ty.js → project-tq2ada0b.js} +5 -5
- package/dist/chunks/{instance-zbkqp5t7.js → project-trgr6nw0.js} +36 -36
- package/dist/chunks/{instance-yrbs634a.js → project-tss6jp96.js} +10 -10
- package/dist/chunks/{instance-dkbfs573.js → project-tvp7ax91.js} +4 -4
- package/dist/chunks/{instance-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-d42pmbxt.js → project-txqerv78.js} +3 -3
- package/dist/chunks/{instance-17r7sqk5.js → project-v1g6pdmp.js} +32 -32
- package/dist/chunks/{instance-twbrtgyh.js → project-vbrdpthe.js} +6 -6
- package/dist/chunks/{instance-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-rj6d5p5e.js → project-vjnb44yt.js} +3 -3
- package/dist/chunks/{instance-c5dsyxmc.js → project-vk1xt8hv.js} +30 -30
- package/dist/chunks/{instance-frqdc45t.js → project-vnga1qsf.js} +43 -43
- package/dist/chunks/{instance-yctkbaw6.js → project-vq10kw2f.js} +18 -18
- package/dist/chunks/{instance-vjzz8sxc.js → project-vqf2h3ad.js} +25 -25
- package/dist/chunks/{instance-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-qvz4ctz3.js → project-w4zzjw3g.js} +26 -26
- package/dist/chunks/{instance-58k680qt.js → project-w7n777mq.js} +23 -23
- package/dist/chunks/{instance-q3ehw3cx.js → project-waq9xepp.js} +29 -29
- package/dist/chunks/{instance-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{instance-ja58kv6n.js → project-wxata4c6.js} +11 -11
- package/dist/chunks/{instance-5c0bdg24.js → project-x0980x1d.js} +20 -20
- package/dist/chunks/{instance-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-s4kbqr0a.js → project-x26jwgwx.js} +26 -26
- package/dist/chunks/{instance-6m8qwvb9.js → project-xb0hfm2b.js} +39 -39
- package/dist/chunks/{instance-vt5h22tz.js → project-xbnkan1d.js} +15 -15
- package/dist/chunks/{instance-4mewn31d.js → project-xcvkpzh5.js} +11 -11
- package/dist/chunks/{instance-q4bprqfk.js → project-xd42nzb0.js} +12 -12
- package/dist/chunks/{instance-axmvebxj.js → project-xdk9p2qn.js} +4 -4
- package/dist/chunks/{instance-18myttx2.js → project-xjb11nnv.js} +3 -3
- package/dist/chunks/{instance-9msmm2tq.js → project-xrjwkp2r.js} +4 -4
- package/dist/chunks/{instance-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-k9c9mgdx.js → project-y28p2mmz.js} +8 -8
- package/dist/chunks/{instance-g15gwk1k.js → project-y2f10e65.js} +30 -30
- package/dist/chunks/{instance-z4k1nywn.js → project-y5t6h2pv.js} +304 -298
- package/dist/chunks/{instance-dpkg50ah.js → project-y71avatq.js} +4 -4
- package/dist/chunks/{instance-2z1e8rxr.js → project-y9a3srbc.js} +9 -9
- package/dist/chunks/{instance-vbcz9h2j.js → project-ybrnvmsb.js} +6 -6
- package/dist/chunks/{instance-yp2x3t23.js → project-yp2x3t23.js} +1 -1
- package/dist/chunks/{instance-sez6j504.js → project-ypmnqm1w.js} +25 -25
- package/dist/chunks/{instance-rymwgvqq.js → project-yr7v9wer.js} +5 -5
- package/dist/chunks/{instance-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-mbeb8pgp.js → project-yw0bcj9m.js} +24 -24
- package/dist/chunks/{instance-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-s96gbbjc.js → project-zca3g7cc.js} +53 -53
- package/dist/chunks/{instance-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +120 -120
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +67 -67
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +362 -362
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +71 -71
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +219 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +8 -8
- 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 +90 -90
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +350 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +223 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- 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 +221 -221
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/config/plugin/worktree.d.ts +2 -2
- package/dist/types/instance.d.ts +2 -2
- package/dist/types/plugin/host.d.ts +3 -2
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/worktree/git.d.ts +2 -4
- package/dist/types/worktree/strategies.d.ts +36 -0
- package/dist/types/worktree.d.ts +23 -40
- 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 +5 -5
- 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 +2 -2
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -0
- package/dist/worktree.js +95 -97
- package/package.json +8 -8
- package/dist/chunks/instance-4jj5ge3x.js +0 -251
- package/dist/chunks/instance-an68154v.js +0 -44
- package/dist/chunks/instance-hge1hkn3.js +0 -26
- package/dist/chunks/instance-phz3h32g.js +0 -18
- package/dist/types/worktree/refresh.d.ts +0 -2
- package/dist/worktree/refresh.js +0 -347
- /package/dist/chunks/{instance-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6kdq0pjd.js → project-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e3qxr5gk.js → project-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./project-xd42nzb0.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-44h5tttr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./project-qt970c0q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./project-scxh138f.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID11,
|
|
15
|
+
Service67
|
|
16
|
+
} from "./project-phrqe1n5.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-4fa8k3k5.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service67;
|
|
30
|
+
const bus = yield* Service81;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-xdk9p2qn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./project-4cf19nbk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Info23
|
|
15
|
-
} from "./instance-xb02k0wq.js";
|
|
11
|
+
Info19
|
|
12
|
+
} from "./project-3w2b2yj4.js";
|
|
16
13
|
import {
|
|
17
14
|
Info18
|
|
18
|
-
} from "./
|
|
15
|
+
} from "./project-mtq6xxnx.js";
|
|
16
|
+
import {
|
|
17
|
+
Info14
|
|
18
|
+
} from "./project-p44d8wdy.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./project-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info20
|
|
24
|
+
} from "./project-hcz3zddy.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info12
|
|
27
|
+
} from "./project-vnga1qsf.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./project-mmhn33zq.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./project-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info12.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info19, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info14, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info20, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service70,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node74,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service70 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service70.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service70, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node74 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service70, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node74, exports_select };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-17dw8pkg.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin35 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin24 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin24 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin35, exports_tinyfish };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-y9a3srbc.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service34,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service34 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make19({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make18({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service82;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service34.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service34, node38, exports_instruction_entry };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-jxhcm6a8.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-xd42nzb0.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID13,
|
|
11
|
+
Service71,
|
|
12
|
+
node75,
|
|
13
|
+
Event16
|
|
14
|
+
} from "./project-scxh138f.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-44h5tttr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service74,
|
|
20
|
+
node78
|
|
21
|
+
} from "./project-hc2rjyny.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -36,13 +36,13 @@ import { Effect as Effect2, Option, Schema as Schema2, Struct as Struct2 } from
|
|
|
36
36
|
var exports_provider3 = {};
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
|
-
Event: () =>
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
39
|
+
Event: () => Event15,
|
|
40
|
+
ID: () => ID11,
|
|
41
|
+
Info: () => Info23,
|
|
42
42
|
LoadError: () => LoadError3,
|
|
43
43
|
Provider: () => exports_provider3,
|
|
44
44
|
Request: () => Request3,
|
|
45
|
-
Service: () =>
|
|
45
|
+
Service: () => Service67,
|
|
46
46
|
Settings: () => Settings2,
|
|
47
47
|
aisdk: () => aisdk2,
|
|
48
48
|
isAISDK: () => isAISDK2,
|
|
@@ -50,7 +50,7 @@ __export(exports_provider3, {
|
|
|
50
50
|
mergeHeaders: () => mergeHeaders2,
|
|
51
51
|
mergeOverlay: () => mergeOverlay2,
|
|
52
52
|
nativeSettings: () => nativeSettings2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node70,
|
|
54
54
|
packageName: () => packageName2
|
|
55
55
|
});
|
|
56
56
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -61,8 +61,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
61
61
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
62
62
|
import { Credential } from "@opencode/schema/credential";
|
|
63
63
|
import { freeze } from "immer";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
65
|
+
var ID11 = Provider.ID;
|
|
66
66
|
var AISDK_PREFIX2 = "aisdk:";
|
|
67
67
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
68
68
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -201,9 +201,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
201
201
|
}
|
|
202
202
|
var Request3 = Provider.Request;
|
|
203
203
|
var Settings2 = Provider.Settings;
|
|
204
|
-
var
|
|
204
|
+
var Info23 = Provider.Info;
|
|
205
205
|
|
|
206
|
-
class
|
|
206
|
+
class Service67 extends Context.Service()("@opencode/Provider") {
|
|
207
207
|
}
|
|
208
208
|
var definitions = new WeakMap;
|
|
209
209
|
function index(models) {
|
|
@@ -214,10 +214,10 @@ function index(models) {
|
|
|
214
214
|
definitions.set(models, result);
|
|
215
215
|
return result;
|
|
216
216
|
}
|
|
217
|
-
var layer = Layer.effect(
|
|
218
|
-
const bus = yield*
|
|
219
|
-
const integrations = yield*
|
|
220
|
-
const location = yield*
|
|
217
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
218
|
+
const bus = yield* Service81;
|
|
219
|
+
const integrations = yield* Service71;
|
|
220
|
+
const location = yield* Service74;
|
|
221
221
|
const state = create3({
|
|
222
222
|
name: "provider",
|
|
223
223
|
initial: () => new Map,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
228
228
|
const current = records.get(id);
|
|
229
229
|
if (current)
|
|
230
230
|
return current;
|
|
231
|
-
const added = { provider:
|
|
231
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
232
232
|
records.set(id, added);
|
|
233
233
|
maps.add(added.models);
|
|
234
234
|
return added;
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
312
312
|
const available = Array.from(records.values()).filter((record) => {
|
|
313
313
|
if (record.provider.activation === "disabled")
|
|
314
314
|
return false;
|
|
315
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
315
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
316
316
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
317
317
|
return false;
|
|
318
318
|
if (record.provider.activation === "enabled")
|
|
@@ -336,8 +336,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
336
336
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
337
337
|
});
|
|
338
338
|
});
|
|
339
|
-
yield* bus.subscribe([
|
|
340
|
-
return
|
|
339
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
340
|
+
return Service67.of({
|
|
341
341
|
transform: state.transform,
|
|
342
342
|
reload: state.reload,
|
|
343
343
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -346,7 +346,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
346
346
|
snapshot
|
|
347
347
|
});
|
|
348
348
|
}));
|
|
349
|
-
var
|
|
349
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node85, node75, node78] });
|
|
350
350
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
351
351
|
const module = yield* Effect.tryPromise({
|
|
352
352
|
try: () => {
|
|
@@ -606,4 +606,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
606
606
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
607
607
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
608
608
|
|
|
609
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
609
|
+
export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info23, Service67, node70, exports_provider3, Event15 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info17 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_skills };
|