@opencode/core 0.0.0-dev-19774 → 0.0.0-dev-19775
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 +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{file-mutation-nng2ktcm.js → location-lifecycle-042q83f5.js} +2 -2
- package/dist/chunks/{file-mutation-x2gr69vr.js → location-lifecycle-0m545p7q.js} +9 -9
- package/dist/chunks/location-lifecycle-0mesazry.js +4 -0
- package/dist/chunks/{file-mutation-paqyj2en.js → location-lifecycle-0p85d2b5.js} +15 -15
- package/dist/chunks/{file-mutation-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → location-lifecycle-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-ysw9y8px.js → location-lifecycle-0qfptt5k.js} +33 -33
- package/dist/chunks/{file-mutation-4vtzzjzy.js → location-lifecycle-0t2p0s6x.js} +35 -35
- package/dist/chunks/{file-mutation-zy95xavh.js → location-lifecycle-0vweymcq.js} +21 -21
- package/dist/chunks/{file-mutation-5x4r9t6b.js → location-lifecycle-18sy4pmj.js} +8 -8
- package/dist/chunks/{file-mutation-jfqtm2ew.js → location-lifecycle-19vf66h0.js} +4 -4
- package/dist/chunks/{file-mutation-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-fwr1nb5p.js → location-lifecycle-1n6mrg39.js} +24 -24
- package/dist/chunks/{file-mutation-waay8jvx.js → location-lifecycle-1yzkmr49.js} +24 -24
- package/dist/chunks/{file-mutation-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-x8tgrdy7.js → location-lifecycle-2359sbzh.js} +13 -13
- package/dist/chunks/{file-mutation-6h73sxmp.js → location-lifecycle-2402vzrj.js} +5 -5
- package/dist/chunks/location-lifecycle-26hpxw0m.js +252 -0
- package/dist/chunks/{file-mutation-kf7mt0f8.js → location-lifecycle-27bvgpry.js} +18 -18
- package/dist/chunks/{file-mutation-3cdqy5gs.js → location-lifecycle-2919v7f8.js} +6 -6
- package/dist/chunks/{file-mutation-29x78va6.js → location-lifecycle-29x78va6.js} +2 -2
- package/dist/chunks/{file-mutation-26zn0zdd.js → location-lifecycle-2a1p58y4.js} +22 -22
- package/dist/chunks/{file-mutation-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-y7gfa8qa.js → location-lifecycle-2e6tr95n.js} +15 -15
- package/dist/chunks/{file-mutation-9zsbca5k.js → location-lifecycle-2n8ex6wt.js} +48 -48
- package/dist/chunks/{file-mutation-56gdpj1q.js → location-lifecycle-33w4ejhs.js} +6 -6
- package/dist/chunks/{file-mutation-kjyymkn6.js → location-lifecycle-3702ncx3.js} +11 -11
- package/dist/chunks/{file-mutation-5xv3dz3w.js → location-lifecycle-37ee5xtk.js} +91 -91
- package/dist/chunks/{file-mutation-ebqbjk3w.js → location-lifecycle-39fbdg6v.js} +23 -23
- package/dist/chunks/{file-mutation-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-18xb591f.js → location-lifecycle-3nssxx48.js} +7 -7
- package/dist/chunks/{file-mutation-1b5j2nkr.js → location-lifecycle-3nztwa7f.js} +3 -3
- package/dist/chunks/{file-mutation-b8kkksp1.js → location-lifecycle-3qsm2re4.js} +18 -18
- package/dist/chunks/{file-mutation-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-2qp6y8xf.js → location-lifecycle-3w2b2yj4.js} +5 -5
- package/dist/chunks/{file-mutation-32h20yfr.js → location-lifecycle-47cy0djt.js} +1 -1
- package/dist/chunks/{file-mutation-bs0e8e65.js → location-lifecycle-488ecjmm.js} +1 -1
- package/dist/chunks/{file-mutation-9q2n6mg9.js → location-lifecycle-4b2v48k8.js} +17 -17
- package/dist/chunks/{file-mutation-sc7wv7tt.js → location-lifecycle-4faaayh9.js} +13 -13
- package/dist/chunks/{file-mutation-g0p5jsxc.js → location-lifecycle-4grhrwhs.js} +30 -30
- package/dist/chunks/{file-mutation-cgegp93j.js → location-lifecycle-4m9w2phg.js} +18 -18
- package/dist/chunks/{file-mutation-g2kefdbs.js → location-lifecycle-4mrjq53b.js} +32 -32
- package/dist/chunks/{file-mutation-fwrss4ad.js → location-lifecycle-4y9pqhyv.js} +4 -4
- package/dist/chunks/{file-mutation-aamtrqep.js → location-lifecycle-57ez7d0k.js} +9 -9
- package/dist/chunks/{file-mutation-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-xkredtp8.js → location-lifecycle-5hb63z90.js} +15 -15
- package/dist/chunks/{file-mutation-jkk2smcb.js → location-lifecycle-5jch67cs.js} +16 -16
- package/dist/chunks/{file-mutation-9t5hjfj5.js → location-lifecycle-5kj4kk34.js} +16 -16
- package/dist/chunks/{file-mutation-36ysvq8r.js → location-lifecycle-5m2thc3h.js} +15 -15
- package/dist/chunks/{file-mutation-fpz52p8q.js → location-lifecycle-5mgfe4rs.js} +2 -2
- package/dist/chunks/{file-mutation-fxfyjszp.js → location-lifecycle-5rx1en03.js} +13 -13
- package/dist/chunks/{file-mutation-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-metngcsb.js → location-lifecycle-5v63wf0e.js} +27 -27
- package/dist/chunks/{file-mutation-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-64kphnzf.js → location-lifecycle-6p3xbzsx.js} +4 -4
- package/dist/chunks/{file-mutation-2tnvdx3z.js → location-lifecycle-75251nmg.js} +165 -165
- package/dist/chunks/{file-mutation-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-7dqw4kz8.js → location-lifecycle-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-mutation-n0pywpq4.js → location-lifecycle-7gcp8pkf.js} +6 -6
- package/dist/chunks/{file-mutation-hrhrsrxp.js → location-lifecycle-7kne1rr3.js} +32 -32
- package/dist/chunks/{file-mutation-tpwrm9yt.js → location-lifecycle-7pzbss7r.js} +46 -46
- package/dist/chunks/{file-mutation-4hsrte5k.js → location-lifecycle-7s6533aw.js} +27 -27
- package/dist/chunks/{file-mutation-81tbvkms.js → location-lifecycle-7wacmsvk.js} +15 -15
- package/dist/chunks/{file-mutation-y8m9m17y.js → location-lifecycle-88z22xyb.js} +24 -24
- package/dist/chunks/{file-mutation-7bx1sn78.js → location-lifecycle-8bkef4w4.js} +18 -18
- package/dist/chunks/{file-mutation-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-dct99a2c.js → location-lifecycle-8f6k85bw.js} +1 -1
- package/dist/chunks/{file-mutation-8p4f9s12.js → location-lifecycle-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-3rqkssp8.js → location-lifecycle-8rrp4d6h.js} +6 -6
- package/dist/chunks/{file-mutation-rtathh62.js → location-lifecycle-90p59b3a.js} +5 -5
- package/dist/chunks/{file-mutation-8aaqm6qj.js → location-lifecycle-97w5rk9e.js} +8 -8
- package/dist/chunks/{file-mutation-21s87zpc.js → location-lifecycle-9gksjqwg.js} +21 -21
- package/dist/chunks/{file-mutation-bszv4pr1.js → location-lifecycle-9k9p9g57.js} +26 -26
- package/dist/chunks/{file-mutation-v9s3adxq.js → location-lifecycle-9snyxm1r.js} +3 -3
- package/dist/chunks/{file-mutation-8cx2cchs.js → location-lifecycle-9vzyn289.js} +30 -30
- package/dist/chunks/{file-mutation-fe107s36.js → location-lifecycle-9yhet4f0.js} +27 -27
- package/dist/chunks/{file-mutation-a1bz86dw.js → location-lifecycle-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-vb222jev.js → location-lifecycle-a1r6gdc1.js} +67 -67
- package/dist/chunks/{file-mutation-96tqna7g.js → location-lifecycle-a5d13p60.js} +13 -13
- package/dist/chunks/{file-mutation-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-h03rnsfd.js → location-lifecycle-abxf3pnh.js} +47 -47
- package/dist/chunks/{file-mutation-cfwkp8ke.js → location-lifecycle-am60j996.js} +8 -8
- package/dist/chunks/{file-mutation-0a8rb6zk.js → location-lifecycle-anpxnxga.js} +8 -8
- package/dist/chunks/{file-mutation-txr16vfg.js → location-lifecycle-apasb5kv.js} +26 -26
- package/dist/chunks/{file-mutation-59bsrgj4.js → location-lifecycle-ars4a9nd.js} +35 -35
- package/dist/chunks/{file-mutation-zfvm8rtc.js → location-lifecycle-b648f3a2.js} +6 -6
- package/dist/chunks/{file-mutation-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-m32fe6rj.js → location-lifecycle-b7wa81tp.js} +11 -11
- package/dist/chunks/{file-mutation-x90w03rt.js → location-lifecycle-b9gzvhds.js} +32 -32
- package/dist/chunks/{file-mutation-3j8sdtpz.js → location-lifecycle-bf0ztrs3.js} +4 -4
- package/dist/chunks/{file-mutation-q8qgrk48.js → location-lifecycle-bn6s17cs.js} +36 -36
- package/dist/chunks/{file-mutation-672tdqna.js → location-lifecycle-brx3w182.js} +33 -33
- package/dist/chunks/{file-mutation-jeybges7.js → location-lifecycle-byr3fygr.js} +4 -4
- package/dist/chunks/{file-mutation-p9qdtawc.js → location-lifecycle-c447jeeg.js} +24 -24
- package/dist/chunks/{file-mutation-6y0m54vs.js → location-lifecycle-c5gqad7k.js} +17 -17
- package/dist/chunks/{file-mutation-b1paggmv.js → location-lifecycle-c7kw5n00.js} +47 -47
- package/dist/chunks/{file-mutation-cfpkc3c9.js → location-lifecycle-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-xpr3mqf5.js → location-lifecycle-cvgayg76.js} +11 -11
- package/dist/chunks/{file-mutation-d4he2qe1.js → location-lifecycle-cwa6csj7.js} +9 -9
- package/dist/chunks/{file-mutation-n436hdn0.js → location-lifecycle-d0kq6bcs.js} +16 -16
- package/dist/chunks/{file-mutation-h2mtz7rf.js → location-lifecycle-d8ner1vk.js} +19 -19
- package/dist/chunks/{file-mutation-gsp24vdq.js → location-lifecycle-day6310d.js} +20 -20
- package/dist/chunks/{file-mutation-h53tpazp.js → location-lifecycle-db54agdm.js} +12 -12
- package/dist/chunks/{file-mutation-kne8f3cn.js → location-lifecycle-ddt2bs9e.js} +4 -4
- package/dist/chunks/{file-mutation-ftfm72kd.js → location-lifecycle-dnavak78.js} +8 -8
- package/dist/chunks/{file-mutation-y71avatq.js → location-lifecycle-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-mutation-xfkkasph.js → location-lifecycle-drwq78ky.js} +4 -4
- package/dist/chunks/{file-mutation-br0tr5aq.js → location-lifecycle-dv1qgsyq.js} +8 -8
- package/dist/chunks/{file-mutation-0svbgh5c.js → location-lifecycle-dwtvkfdb.js} +43 -43
- package/dist/chunks/{file-mutation-tgkhkf8q.js → location-lifecycle-e6yt117e.js} +8 -8
- package/dist/chunks/{file-mutation-gxzpt4bf.js → location-lifecycle-e7hvxrxc.js} +5 -5
- package/dist/chunks/location-lifecycle-e804n02b.js +65 -0
- package/dist/chunks/{file-mutation-73k5nevg.js → location-lifecycle-e89vbeg8.js} +32 -32
- package/dist/chunks/{file-mutation-sr3kag3a.js → location-lifecycle-eakwe6db.js} +23 -23
- package/dist/chunks/{file-mutation-x12g5k71.js → location-lifecycle-ee8fp9pb.js} +2 -2
- package/dist/chunks/{file-mutation-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-mzrbxmyd.js → location-lifecycle-en0bd26m.js} +8 -8
- package/dist/chunks/{file-mutation-mvfsc1pv.js → location-lifecycle-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-mutation-998pkbc5.js → location-lifecycle-erf1z1aw.js} +20 -20
- package/dist/chunks/{file-mutation-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-mutation-744d2y49.js → location-lifecycle-erx1ymvz.js} +13 -13
- package/dist/chunks/{file-mutation-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-7sqbmk8k.js → location-lifecycle-f67z0p6b.js} +32 -32
- package/dist/chunks/{file-mutation-f828m53h.js → location-lifecycle-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-8qspac1s.js → location-lifecycle-fe13djvq.js} +26 -26
- package/dist/chunks/{file-mutation-pnv527nz.js → location-lifecycle-fhs97t90.js} +9 -9
- package/dist/chunks/{file-mutation-cf3tj770.js → location-lifecycle-fjvydvzm.js} +4 -4
- package/dist/chunks/{file-mutation-44ke2mar.js → location-lifecycle-fkjmw100.js} +6 -6
- package/dist/chunks/{file-mutation-7000hrfc.js → location-lifecycle-fv6axbdc.js} +8 -8
- package/dist/chunks/{file-mutation-7yqjxrmz.js → location-lifecycle-fvanntqq.js} +4 -4
- package/dist/chunks/{file-mutation-qpbktacs.js → location-lifecycle-fvgp010w.js} +6 -6
- package/dist/chunks/{file-mutation-hnr5yq9h.js → location-lifecycle-fvsyg6qk.js} +5 -5
- package/dist/chunks/{file-mutation-fxbjtjnd.js → location-lifecycle-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-337ej1cd.js → location-lifecycle-fy4nfvq6.js} +5 -5
- package/dist/chunks/{file-mutation-gdsttb99.js → location-lifecycle-g85jzhcq.js} +4 -4
- package/dist/chunks/{file-mutation-kn475exs.js → location-lifecycle-g9d4q01g.js} +11 -11
- package/dist/chunks/{file-mutation-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-9s4fnnwx.js → location-lifecycle-grjhnehy.js} +16 -16
- package/dist/chunks/{file-mutation-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-sy5npsvs.js → location-lifecycle-gzgsw2w2.js} +23 -23
- package/dist/chunks/{file-mutation-h6r3nrb9.js → location-lifecycle-h6r3nrb9.js} +1 -1
- package/dist/chunks/{file-mutation-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-b8rp9x54.js → location-lifecycle-hafpya9j.js} +16 -16
- package/dist/chunks/{file-mutation-vkxpz7g2.js → location-lifecycle-hc7n3jk5.js} +4 -4
- package/dist/chunks/{file-mutation-b52awwxw.js → location-lifecycle-hcwqpyvc.js} +14 -14
- package/dist/chunks/{file-mutation-a58czpns.js → location-lifecycle-hj6d10w0.js} +17 -17
- package/dist/chunks/location-lifecycle-ht5y0zrb.js +18 -0
- package/dist/chunks/{file-mutation-9d52tmdm.js → location-lifecycle-j33757dq.js} +10 -10
- package/dist/chunks/{file-mutation-kfnrrrna.js → location-lifecycle-j4jgwbxy.js} +5 -5
- package/dist/chunks/{file-mutation-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-wy8b5sm2.js → location-lifecycle-j5786zrt.js} +1 -1
- package/dist/chunks/{file-mutation-qpgdq3j5.js → location-lifecycle-j5djgq14.js} +20 -20
- package/dist/chunks/{file-mutation-6reav88k.js → location-lifecycle-jfktk5f2.js} +28 -28
- package/dist/chunks/{file-mutation-xnahtpae.js → location-lifecycle-jgn59k9q.js} +12 -12
- package/dist/chunks/{file-mutation-bh6093r6.js → location-lifecycle-jjng5k39.js} +38 -38
- package/dist/chunks/{file-mutation-pw3xx31k.js → location-lifecycle-jqccg9bw.js} +5 -5
- package/dist/chunks/{file-mutation-7bhykvjv.js → location-lifecycle-jxcmjcy4.js} +32 -32
- package/dist/chunks/{file-mutation-0md6znfh.js → location-lifecycle-k0km23p1.js} +6 -6
- package/dist/chunks/{file-mutation-k3c624dm.js → location-lifecycle-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-9ejexxwn.js → location-lifecycle-k9fj1e0n.js} +24 -24
- package/dist/chunks/{file-mutation-89zh9079.js → location-lifecycle-kamc54jj.js} +41 -41
- package/dist/chunks/{file-mutation-ksnwa2zv.js → location-lifecycle-keaxt39w.js} +11 -11
- package/dist/chunks/{file-mutation-ypp9m475.js → location-lifecycle-kgs94606.js} +40 -40
- package/dist/chunks/{file-mutation-2pnhn36q.js → location-lifecycle-kk00bynn.js} +4 -4
- package/dist/chunks/{file-mutation-s4q94gyy.js → location-lifecycle-kn58mc9c.js} +13 -13
- package/dist/chunks/{file-mutation-evz86p9p.js → location-lifecycle-kvbgbx56.js} +14 -14
- package/dist/chunks/{file-mutation-jewzahs7.js → location-lifecycle-kzc3h1h3.js} +4 -4
- package/dist/chunks/{file-mutation-rkdvqggb.js → location-lifecycle-kzdcqyn1.js} +5 -5
- package/dist/chunks/{file-mutation-wdpm5xyv.js → location-lifecycle-m3dzp4pc.js} +18 -18
- package/dist/chunks/{file-mutation-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-vmctfggj.js → location-lifecycle-m7q6macq.js} +13 -13
- package/dist/chunks/{file-mutation-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-he62sb3p.js → location-lifecycle-mg0hvqns.js} +18 -18
- package/dist/chunks/{file-mutation-gb26m6rq.js → location-lifecycle-mtcwhrrs.js} +29 -29
- package/dist/chunks/{file-mutation-2xn06zhq.js → location-lifecycle-n6kjjvst.js} +19 -19
- package/dist/chunks/{file-mutation-ckvaaqnr.js → location-lifecycle-neggjd8m.js} +18 -18
- package/dist/chunks/{file-mutation-6qdm2rsa.js → location-lifecycle-nj9ssgdn.js} +16 -16
- package/dist/chunks/{file-mutation-9yrzyr7j.js → location-lifecycle-nzh7nt0x.js} +18 -18
- package/dist/chunks/{file-mutation-2qfmjqcy.js → location-lifecycle-p5r4g375.js} +9 -9
- package/dist/chunks/{file-mutation-mx9vqzsb.js → location-lifecycle-p7a39gy5.js} +6 -6
- package/dist/chunks/location-lifecycle-pe3634vc.js +26 -0
- package/dist/chunks/{file-mutation-pex2dkp7.js → location-lifecycle-pgkynvr1.js} +29 -29
- package/dist/chunks/{file-mutation-cekd2vsf.js → location-lifecycle-phrncyc5.js} +28 -28
- package/dist/chunks/{file-mutation-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-267zfkt7.js → location-lifecycle-pkvdgekh.js} +22 -22
- package/dist/chunks/{file-mutation-xwv6rqmk.js → location-lifecycle-ppgtt6fv.js} +3 -3
- package/dist/chunks/{file-mutation-h78m9h9q.js → location-lifecycle-pryfatb2.js} +6 -6
- package/dist/chunks/{file-mutation-jh7y3ak4.js → location-lifecycle-pxr7vr2f.js} +3 -3
- package/dist/chunks/{file-mutation-vynmvp9h.js → location-lifecycle-q0raz0xt.js} +9 -9
- package/dist/chunks/{file-mutation-k16pevg1.js → location-lifecycle-q58r1q90.js} +8 -8
- package/dist/chunks/{file-mutation-yw8t9dwe.js → location-lifecycle-qby9dwvd.js} +8 -8
- package/dist/chunks/{file-mutation-3zbb0e4x.js → location-lifecycle-qek8dtx8.js} +14 -14
- package/dist/chunks/{file-mutation-daq2e3zz.js → location-lifecycle-qmz5hgkz.js} +4 -4
- package/dist/chunks/{file-mutation-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-7w99qc9d.js → location-lifecycle-qsee9sfb.js} +2 -2
- package/dist/chunks/{file-mutation-p2e22hpe.js → location-lifecycle-qx8yq4hs.js} +9 -9
- package/dist/chunks/{file-mutation-sxhyyss9.js → location-lifecycle-qyppsvy7.js} +47 -47
- package/dist/chunks/{file-mutation-rg5hq0wm.js → location-lifecycle-qys7d30g.js} +13 -13
- package/dist/chunks/{file-mutation-0ehxtnnz.js → location-lifecycle-r0vfb6s8.js} +26 -26
- package/dist/chunks/{file-mutation-8ae46srb.js → location-lifecycle-r8074hfk.js} +22 -22
- package/dist/chunks/{file-mutation-z59eg471.js → location-lifecycle-rcsbpktc.js} +9 -9
- package/dist/chunks/{file-mutation-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-b5a5chs4.js → location-lifecycle-rfyy2fbp.js} +8 -8
- package/dist/chunks/{file-mutation-a0wtmgep.js → location-lifecycle-rgw6bvjh.js} +9 -9
- package/dist/chunks/{file-mutation-0kpaqnhp.js → location-lifecycle-rh8waqx1.js} +9 -9
- package/dist/chunks/{file-mutation-0gdmqesm.js → location-lifecycle-rhjbct0v.js} +4 -4
- package/dist/chunks/{file-mutation-f6kbfvjt.js → location-lifecycle-rkdqx70x.js} +12 -12
- package/dist/chunks/{file-mutation-8tjk8105.js → location-lifecycle-rxq1rw6x.js} +1 -1
- package/dist/chunks/{file-mutation-s4enseaf.js → location-lifecycle-s4enseaf.js} +2 -2
- package/dist/chunks/{file-mutation-y9vy3w1f.js → location-lifecycle-s6kv65ar.js} +41 -41
- package/dist/chunks/{file-mutation-qfv53cem.js → location-lifecycle-sdsxhjm1.js} +22 -22
- package/dist/chunks/{file-mutation-v5a2m05x.js → location-lifecycle-sewjnrgk.js} +9 -9
- package/dist/chunks/{file-mutation-n53jc5f0.js → location-lifecycle-sfsanhkm.js} +7 -7
- package/dist/chunks/{file-mutation-dq0f4b6t.js → location-lifecycle-sgnqmrx9.js} +8 -8
- package/dist/chunks/{file-mutation-nxhqveyz.js → location-lifecycle-sra9araw.js} +5 -5
- package/dist/chunks/{file-mutation-e4gqq6ma.js → location-lifecycle-sv6xjb0f.js} +25 -25
- package/dist/chunks/{file-mutation-82wb5vjr.js → location-lifecycle-sy0y93sa.js} +14 -14
- package/dist/chunks/{file-mutation-ppd28z9t.js → location-lifecycle-t6rnktzk.js} +9 -9
- package/dist/chunks/{file-mutation-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-p28j5sbe.js → location-lifecycle-tbz0fdvh.js} +5 -5
- package/dist/chunks/{file-mutation-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-rg9jxnrj.js → location-lifecycle-tjbwrg3m.js} +4 -4
- package/dist/chunks/{file-mutation-sqmfwgs3.js → location-lifecycle-ts8nkrqx.js} +23 -23
- package/dist/chunks/{file-mutation-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-aw4er02a.js → location-lifecycle-v0zfhqw3.js} +17 -17
- package/dist/chunks/location-lifecycle-v699prpt.js +478 -0
- package/dist/chunks/{file-mutation-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-c8mrj3kp.js → location-lifecycle-vj3k5gd6.js} +60 -60
- package/dist/chunks/{file-mutation-9ybrs273.js → location-lifecycle-vk2qvkq3.js} +14 -14
- package/dist/chunks/{file-mutation-x6f9vzrq.js → location-lifecycle-vqrz25dp.js} +15 -15
- package/dist/chunks/{file-mutation-d0gb447e.js → location-lifecycle-vvb19s65.js} +26 -26
- package/dist/chunks/{file-mutation-pdb8ga4w.js → location-lifecycle-vyp5mzt3.js} +12 -12
- package/dist/chunks/{file-mutation-zyr433b0.js → location-lifecycle-vyrd71eq.js} +8 -8
- package/dist/chunks/{file-mutation-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-thp2m506.js → location-lifecycle-w1hvpvz2.js} +11 -11
- package/dist/chunks/{file-mutation-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-xj4hsedh.js → location-lifecycle-w40pnpej.js} +11 -11
- package/dist/chunks/{file-mutation-rs8v52yx.js → location-lifecycle-w7954qpa.js} +1 -1
- package/dist/chunks/{file-mutation-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-cmq3w01w.js → location-lifecycle-wjvzynk3.js} +15 -15
- package/dist/chunks/{file-mutation-a0whw9jd.js → location-lifecycle-wk77qrbw.js} +11 -11
- package/dist/chunks/{file-mutation-gmrkgfhq.js → location-lifecycle-wrh74t2j.js} +16 -16
- package/dist/chunks/{file-mutation-bcbe7qcx.js → location-lifecycle-wsp0kw9y.js} +11 -11
- package/dist/chunks/{file-mutation-87z6e93s.js → location-lifecycle-wtcwnkvw.js} +30 -30
- package/dist/chunks/{file-mutation-16ykham6.js → location-lifecycle-wwmey332.js} +11 -11
- package/dist/chunks/{file-mutation-av0n72pr.js → location-lifecycle-wy609sy0.js} +22 -22
- package/dist/chunks/{file-mutation-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-y0jwsk5r.js → location-lifecycle-xdsa205k.js} +14 -14
- package/dist/chunks/{file-mutation-pn0bg5pg.js → location-lifecycle-xgmv817t.js} +90 -90
- package/dist/chunks/{file-mutation-6tegjpz6.js → location-lifecycle-xn1s65b5.js} +9 -9
- package/dist/chunks/{file-mutation-prbe7swn.js → location-lifecycle-xncbf6ay.js} +5 -5
- package/dist/chunks/{file-mutation-1btxqys4.js → location-lifecycle-xprfz8hm.js} +4 -4
- package/dist/chunks/{file-mutation-thyqgksr.js → location-lifecycle-xsd6aqt0.js} +10 -10
- package/dist/chunks/{file-mutation-ec8389mk.js → location-lifecycle-xwwz9aqf.js} +4 -4
- package/dist/chunks/{file-mutation-6mn82bpr.js → location-lifecycle-xy7zkf14.js} +8 -8
- package/dist/chunks/{file-mutation-608s2005.js → location-lifecycle-xymwp6jy.js} +30 -30
- package/dist/chunks/{file-mutation-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-jrq0rrs9.js → location-lifecycle-y563cxrh.js} +5 -5
- package/dist/chunks/{file-mutation-b0dgvpy7.js → location-lifecycle-y56ehv6b.js} +9 -9
- package/dist/chunks/{file-mutation-x66hh719.js → location-lifecycle-y7hyc544.js} +15 -15
- package/dist/chunks/{file-mutation-9vw038cm.js → location-lifecycle-yb62w462.js} +24 -24
- package/dist/chunks/{file-mutation-yp2x3t23.js → location-lifecycle-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-mutation-920tyraz.js → location-lifecycle-yprrd5kf.js} +22 -22
- package/dist/chunks/{file-mutation-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-e0y5jvpm.js → location-lifecycle-yw8t7fty.js} +39 -39
- package/dist/chunks/{file-mutation-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-v1r8ymca.js → location-lifecycle-z4y453q1.js} +9 -9
- package/dist/chunks/{file-mutation-tegzbpn0.js → location-lifecycle-z6pnwnms.js} +2 -2
- package/dist/chunks/{file-mutation-2hgjwxzn.js → location-lifecycle-z7fg3yzq.js} +17 -17
- package/dist/chunks/{file-mutation-4en4kvr5.js → location-lifecycle-zbfk49h1.js} +1 -1
- package/dist/chunks/{file-mutation-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-be80trnb.js → location-lifecycle-zfjy4kgb.js} +17 -17
- package/dist/chunks/{file-mutation-y5b0ehek.js → location-lifecycle-zmw9a2ym.js} +43 -43
- package/dist/chunks/{file-mutation-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-vtggy08e.js → location-lifecycle-zt149n1m.js} +26 -26
- package/dist/chunks/{file-mutation-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +76 -76
- 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 +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- 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 +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- 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 +143 -143
- 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 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- 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 +366 -366
- 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 +73 -73
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +357 -357
- 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 +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- 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 +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- 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/prompt-cache-key.js +89 -89
- 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 +158 -158
- 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 +345 -345
- 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 +5 -5
- 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 +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- 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 +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- 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 +3 -3
- 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 -228
- 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 +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +84 -84
- 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 +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- 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 +14 -14
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +1 -1
- 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 +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-mutation-0dr17sfc.js +0 -252
- package/dist/chunks/file-mutation-3n20nwgf.js +0 -478
- package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
- package/dist/chunks/file-mutation-75z37rd0.js +0 -65
- package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
- package/dist/chunks/file-mutation-k14es7wq.js +0 -26
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e3qxr5gk.js → location-lifecycle-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → location-lifecycle-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./location-lifecycle-kamc54jj.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service49
|
|
13
|
+
} from "./location-lifecycle-yb62w462.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service40
|
|
16
|
+
} from "./location-lifecycle-5kj4kk34.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service62
|
|
19
|
+
} from "./location-lifecycle-jjng5k39.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service59,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-nzh7nt0x.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service46,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-lifecycle-d8ner1vk.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError6,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service44
|
|
37
|
+
} from "./location-lifecycle-c7kw5n00.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./location-lifecycle-xgmv817t.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-lifecycle-g85jzhcq.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin11,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name10 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input10 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin11 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service20;
|
|
122
|
+
const jobs = yield* Service40;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service49;
|
|
125
|
+
const access = yield* Service59;
|
|
126
|
+
const shell = yield* Service44;
|
|
127
|
+
const shellSelect = yield* Service46;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service62;
|
|
130
|
+
const config = yield* Service69;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin6 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name10,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin6 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name10,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input10,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name10,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name10];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin11, exports_shell };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-lifecycle-hafpya9j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./location-lifecycle-hj6d10w0.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service64,
|
|
14
|
+
node67
|
|
15
|
+
} from "./location-lifecycle-5m2thc3h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service81;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service64;
|
|
41
|
+
const location = yield* Service78;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node85, FSUtil.node, node82, node67]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-en0bd26m.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-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: () => Plugin20,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
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 endpoint5 = "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 Plugin20 = 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 Plugin36 = 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, endpoint5, "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 Plugin36 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin20, exports_tinyfish };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./location-lifecycle-kamc54jj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin27,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin27 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service69;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin43 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin27, exports_warming };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
5
|
ID6,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./location-lifecycle-jfktk5f2.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-qsee9sfb.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-pxr7vr2f.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service58;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-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: () => Info21,
|
|
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 Info21 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info21, exports_mcp5 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./location-lifecycle-jjng5k39.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service34
|
|
10
|
+
} from "./location-lifecycle-9k9p9g57.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill = {};
|
|
17
17
|
__export(exports_skill, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin4,
|
|
21
21
|
SkillTool: () => exports_skill,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin4 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service34;
|
|
51
|
+
const permission = yield* Service62;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin14 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output4, description3, toModelOutput2, Plugin4, exports_skill };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-zt149n1m.js";
|
|
5
5
|
import {
|
|
6
6
|
ID12,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-39fbdg6v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-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_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -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 get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(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) {
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./location-lifecycle-hj6d10w0.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-eakwe6db.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin16,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin16 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service78;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin16, exports_hg };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -401,4 +401,4 @@ function update2(adapter, event) {
|
|
|
401
401
|
return project(event);
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
export {
|
|
404
|
+
export { update3, exports_message_updater };
|