@opencode/core 0.0.0-dev-19910 → 0.0.0-dev-19911
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{git-2aet7wja.js → snapshot-00x4qneg.js} +8 -8
- package/dist/chunks/{git-wejqvva8.js → snapshot-0cahk45h.js} +14 -14
- package/dist/chunks/{git-jf362r72.js → snapshot-0nk9z11r.js} +1 -1
- package/dist/chunks/{git-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
- package/dist/chunks/{git-s7fy4fw9.js → snapshot-0q3v4fyv.js} +69 -69
- package/dist/chunks/{git-gqft2nrr.js → snapshot-0z1gmn2q.js} +6 -6
- package/dist/chunks/{git-v2fn5cje.js → snapshot-172c54zz.js} +2 -2
- package/dist/chunks/{git-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-sx705cz4.js → snapshot-1g29fh3f.js} +16 -16
- package/dist/chunks/{git-56gdpj1q.js → snapshot-1ygqh575.js} +9 -9
- package/dist/chunks/{git-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{git-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
- package/dist/chunks/{git-sk9aqj88.js → snapshot-26ppr2dg.js} +30 -30
- package/dist/chunks/{git-ntazb8er.js → snapshot-294av9h5.js} +7 -7
- package/dist/chunks/{git-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-dfvnyc1p.js → snapshot-2gbsvbx5.js} +12 -12
- package/dist/chunks/{git-4p5t2wp7.js → snapshot-2mzxbbne.js} +13 -13
- package/dist/chunks/{git-b4etar07.js → snapshot-2twd0hcx.js} +32 -32
- package/dist/chunks/{git-4r2mk5j3.js → snapshot-30g8pqj5.js} +16 -16
- package/dist/chunks/{git-8g9s2qm2.js → snapshot-33vh1ta1.js} +34 -34
- package/dist/chunks/{git-ntf7ng8w.js → snapshot-341czked.js} +10 -10
- package/dist/chunks/{git-jk15xws4.js → snapshot-3776p8sw.js} +11 -11
- package/dist/chunks/{git-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-teypzqam.js → snapshot-3hfbp1j6.js} +11 -11
- package/dist/chunks/{git-63nbkngr.js → snapshot-3nhf0b0f.js} +21 -21
- package/dist/chunks/{git-43zf1p2c.js → snapshot-3nz1v3re.js} +5 -5
- package/dist/chunks/{git-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-fkjmw100.js → snapshot-44ke2mar.js} +6 -6
- package/dist/chunks/{git-tr4gpxdj.js → snapshot-45jw24ds.js} +10 -10
- package/dist/chunks/{git-v8xjkfmf.js → snapshot-46zm72w0.js} +29 -29
- package/dist/chunks/{git-q2k0k7gp.js → snapshot-48adanj3.js} +26 -26
- package/dist/chunks/{git-nc19f9d4.js → snapshot-49s0wfnm.js} +25 -25
- package/dist/chunks/{git-g1sxm558.js → snapshot-4e8vs6eh.js} +8 -8
- package/dist/chunks/{git-pkn2k75h.js → snapshot-4sqwj1fj.js} +4 -4
- package/dist/chunks/{git-6dt9rsqm.js → snapshot-4t78hymw.js} +26 -26
- package/dist/chunks/{git-aamtrqep.js → snapshot-57ez7d0k.js} +9 -9
- package/dist/chunks/{git-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{git-3pe4e59h.js → snapshot-5j2nex8k.js} +15 -15
- package/dist/chunks/{git-2bxa57sj.js → snapshot-5n8a4f8s.js} +15 -15
- package/dist/chunks/{git-vh4e3tf6.js → snapshot-5pqs3yzm.js} +8 -8
- package/dist/chunks/{git-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-w072qfac.js → snapshot-5twwxv4s.js} +27 -27
- package/dist/chunks/{git-rymrqawx.js → snapshot-5vvej3cv.js} +87 -87
- package/dist/chunks/{git-pv119cyc.js → snapshot-5wxpt6m1.js} +9 -9
- package/dist/chunks/{git-czfptnv9.js → snapshot-5yzzbxa7.js} +8 -8
- package/dist/chunks/{git-qrvxy8qx.js → snapshot-607q5haz.js} +12 -12
- package/dist/chunks/{git-43nsyqa5.js → snapshot-624zyddg.js} +20 -20
- package/dist/chunks/{git-1rh4yqvv.js → snapshot-63kpjth9.js} +9 -9
- package/dist/chunks/{git-6gykz65j.js → snapshot-65jd754x.js} +3 -3
- package/dist/chunks/{git-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{git-0ft9cg2j.js → snapshot-6anwy9fs.js} +4 -4
- package/dist/chunks/{git-w2xq192h.js → snapshot-6bctew4d.js} +11 -11
- package/dist/chunks/{git-jexxy024.js → snapshot-6bsje7ws.js} +3 -3
- package/dist/chunks/{git-0vm7ymqn.js → snapshot-6d1vy48w.js} +10 -10
- package/dist/chunks/{git-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-zhq6vg7a.js → snapshot-6rybd781.js} +1 -1
- package/dist/chunks/{git-6sxa5bvt.js → snapshot-6sw1ch82.js} +20 -20
- package/dist/chunks/{git-8xy4ymhm.js → snapshot-723jqqe8.js} +41 -41
- package/dist/chunks/{git-yffsrks6.js → snapshot-7ag4nb16.js} +35 -35
- package/dist/chunks/{git-sqsnjckg.js → snapshot-7azymjpy.js} +11 -11
- package/dist/chunks/{git-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-er6g6738.js → snapshot-7bqvh5f8.js} +1 -1
- package/dist/chunks/{git-3ewed21c.js → snapshot-7fkrnyxq.js} +4 -4
- package/dist/chunks/{git-fx8hh4f3.js → snapshot-7s9mzm64.js} +13 -13
- package/dist/chunks/{git-74b6haq2.js → snapshot-8a9m2q6m.js} +33 -33
- package/dist/chunks/{git-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-8e1b1gzh.js → snapshot-8e1b1gzh.js} +1 -1
- package/dist/chunks/{git-kczjb4tf.js → snapshot-8fpnzef2.js} +18 -18
- package/dist/chunks/{git-672beszh.js → snapshot-8j2p21x9.js} +1 -1
- package/dist/chunks/{git-8p4f9s12.js → snapshot-8p4f9s12.js} +2 -2
- package/dist/chunks/{git-ftt4q9pv.js → snapshot-8rryby26.js} +10 -10
- package/dist/chunks/{git-dvn4kdj3.js → snapshot-90xjgha7.js} +15 -15
- package/dist/chunks/{git-4wja9c2w.js → snapshot-94n8x2pm.js} +10 -10
- package/dist/chunks/{git-tafcm9s2.js → snapshot-9epmzyvk.js} +10 -10
- package/dist/chunks/{git-0vrxxr1a.js → snapshot-9etfqcq6.js} +27 -27
- package/dist/chunks/{git-1ns81jp7.js → snapshot-9kfebp52.js} +18 -18
- package/dist/chunks/{git-0xs9q83d.js → snapshot-9w0w0c1j.js} +4 -4
- package/dist/chunks/snapshot-9zdhvgqs.js +18 -0
- package/dist/chunks/{git-zbxcgkb3.js → snapshot-9zw6sq4y.js} +16 -16
- package/dist/chunks/{git-a1bz86dw.js → snapshot-a1bz86dw.js} +3 -3
- package/dist/chunks/{git-16y6wkws.js → snapshot-a1zeg3jw.js} +11 -11
- package/dist/chunks/{git-p402qtyx.js → snapshot-a2pzwxd2.js} +17 -17
- package/dist/chunks/{git-4fp7hyfn.js → snapshot-a37bxjft.js} +6 -6
- package/dist/chunks/{git-5scqd8ad.js → snapshot-a7mdkq3p.js} +29 -29
- package/dist/chunks/{git-v2fywz06.js → snapshot-a7ww4pt2.js} +14 -14
- package/dist/chunks/{git-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{git-yjpwaj2n.js → snapshot-ad9apwst.js} +11 -11
- package/dist/chunks/{git-wzg7zq6j.js → snapshot-apn8f15b.js} +6 -6
- package/dist/chunks/{git-7parea5t.js → snapshot-aq2wywq2.js} +33 -33
- package/dist/chunks/{git-e1h2r55f.js → snapshot-b2qj0hc5.js} +6 -6
- package/dist/chunks/{git-2689451z.js → snapshot-b3y340z6.js} +4 -4
- package/dist/chunks/{git-g6kej4xb.js → snapshot-b5pkf8k9.js} +15 -15
- package/dist/chunks/{git-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-vw95j725.js → snapshot-b8mpq6j4.js} +27 -27
- package/dist/chunks/{git-8hnmhdsn.js → snapshot-bg53drgn.js} +20 -20
- package/dist/chunks/{git-p0j3v3px.js → snapshot-bpnypz4k.js} +18 -18
- package/dist/chunks/{git-xdd5m13n.js → snapshot-bzzpeszc.js} +13 -13
- package/dist/chunks/{git-wwxvw6cz.js → snapshot-c39jsbcn.js} +23 -23
- package/dist/chunks/{git-9gz4yvws.js → snapshot-c8ey3qa9.js} +4 -4
- package/dist/chunks/{git-njs7e820.js → snapshot-ced6kcvk.js} +37 -37
- package/dist/chunks/{git-288kk2p1.js → snapshot-cfhxasza.js} +7 -7
- package/dist/chunks/{git-cfpkc3c9.js → snapshot-cfpkc3c9.js} +2 -2
- package/dist/chunks/{git-c6z42dag.js → snapshot-cq6kw089.js} +27 -27
- package/dist/chunks/{git-r2m716tb.js → snapshot-cwa6csj7.js} +9 -9
- package/dist/chunks/{git-r04dhbzm.js → snapshot-cz3v1cej.js} +22 -22
- package/dist/chunks/{git-y0fr9ak9.js → snapshot-d2157car.js} +86 -86
- package/dist/chunks/{git-p2s4r87m.js → snapshot-d416vsnr.js} +3 -3
- package/dist/chunks/{git-ras1ee3t.js → snapshot-d4h1dsgp.js} +3 -3
- package/dist/chunks/{git-bm3dpr67.js → snapshot-d7j1ga4e.js} +4 -4
- package/dist/chunks/{git-5hx7d1d6.js → snapshot-d9wzmzc3.js} +5 -5
- package/dist/chunks/{git-yc72r6y6.js → snapshot-dgf8fvr8.js} +20 -20
- package/dist/chunks/{git-vhzwz6jw.js → snapshot-dgfmtra8.js} +19 -19
- package/dist/chunks/{git-78v47nsk.js → snapshot-dj9sq318.js} +5 -5
- package/dist/chunks/{git-y71avatq.js → snapshot-dpkg50ah.js} +4 -4
- package/dist/chunks/{git-x6h9vts0.js → snapshot-drjxn4mt.js} +2 -2
- package/dist/chunks/{git-ha8vn221.js → snapshot-dzv3kmrh.js} +13 -13
- package/dist/chunks/{git-drmrsq1a.js → snapshot-e3geph7p.js} +19 -19
- package/dist/chunks/{git-yjptyezs.js → snapshot-e6hmchc5.js} +5 -5
- package/dist/chunks/{git-5s1mhvj6.js → snapshot-ebkn7tnf.js} +14 -14
- package/dist/chunks/{git-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-mq533pjk.js → snapshot-eh6mc15a.js} +14 -14
- package/dist/chunks/{git-nhny46wm.js → snapshot-emp0rw8a.js} +17 -17
- package/dist/chunks/{git-sxpyths9.js → snapshot-emx3b1zn.js} +6 -6
- package/dist/chunks/{git-erw5rpbs.js → snapshot-erw5rpbs.js} +2 -2
- package/dist/chunks/{git-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-f828m53h.js → snapshot-f828m53h.js} +2 -2
- package/dist/chunks/{git-0jwsre1p.js → snapshot-fcrkznn8.js} +5 -5
- package/dist/chunks/{git-a3r4dcrj.js → snapshot-ff0svapt.js} +2 -2
- package/dist/chunks/{git-rhafb4aa.js → snapshot-fhs97t90.js} +5 -5
- package/dist/chunks/{git-zyyrtepr.js → snapshot-fk7pz3cy.js} +5 -5
- package/dist/chunks/{git-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-858mqmds.js → snapshot-fzm81a6m.js} +8 -8
- package/dist/chunks/{git-x039wt3r.js → snapshot-fzxx1z56.js} +30 -30
- package/dist/chunks/{git-ybzt69z9.js → snapshot-gcqf8jk1.js} +12 -12
- package/dist/chunks/{git-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-pqqx5r28.js → snapshot-gf40en4q.js} +17 -17
- package/dist/chunks/{git-dy3fdsce.js → snapshot-gq7he4kw.js} +30 -30
- package/dist/chunks/{git-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-h6r3nrb9.js → snapshot-h6r3nrb9.js} +1 -1
- package/dist/chunks/{git-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-7z7fdcae.js → snapshot-h8mnccc2.js} +24 -24
- package/dist/chunks/{git-x2d9qy7d.js → snapshot-hbyhqfhs.js} +5 -5
- package/dist/chunks/{git-hfdr1yjj.js → snapshot-hfdr1yjj.js} +4 -4
- package/dist/chunks/{git-tw48jm20.js → snapshot-hfm903zf.js} +23 -23
- package/dist/chunks/{git-ckpezhnz.js → snapshot-hkedn9gj.js} +28 -28
- package/dist/chunks/{git-p44d8wdy.js → snapshot-hkfg6fzm.js} +5 -5
- package/dist/chunks/{git-ebc9nwad.js → snapshot-hkms5h5a.js} +11 -11
- package/dist/chunks/{git-c42wgx82.js → snapshot-hmsbh1sb.js} +23 -23
- package/dist/chunks/{git-6yv4qapz.js → snapshot-hpjjptkf.js} +9 -9
- package/dist/chunks/{git-j8xg6mrm.js → snapshot-hsnmzj8s.js} +42 -42
- package/dist/chunks/{git-d3vp4tvv.js → snapshot-hzq9xz76.js} +47 -47
- package/dist/chunks/{git-r40wg4tq.js → snapshot-j0d8z1fm.js} +29 -29
- package/dist/chunks/{git-ph7261hm.js → snapshot-j0eqyxyf.js} +5 -5
- package/dist/chunks/{git-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{git-vf09fb5w.js → snapshot-jm7rc1qj.js} +18 -18
- package/dist/chunks/{git-sez5jh81.js → snapshot-jw80jp6b.js} +4 -4
- package/dist/chunks/{git-h2aa9ksg.js → snapshot-jz6s72fr.js} +35 -35
- package/dist/chunks/{git-1e3e3vry.js → snapshot-k2en61s1.js} +9 -9
- package/dist/chunks/{git-k3c624dm.js → snapshot-k3c624dm.js} +3 -3
- package/dist/chunks/{git-618b53ja.js → snapshot-k7fpbf2n.js} +20 -20
- package/dist/chunks/{git-1p4vxbgh.js → snapshot-kck1xgk1.js} +5 -5
- package/dist/chunks/{git-5y69b4r6.js → snapshot-km6nrb6d.js} +9 -9
- package/dist/chunks/{git-9znc1w06.js → snapshot-kts1zzak.js} +44 -44
- package/dist/chunks/{git-4vxbjmaf.js → snapshot-kyepgnfb.js} +24 -24
- package/dist/chunks/{git-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-zr3s38d1.js → snapshot-m5j2kpqk.js} +15 -15
- package/dist/chunks/{git-bqcxmntf.js → snapshot-m9a8nbc6.js} +4 -4
- package/dist/chunks/{git-eyqq4r43.js → snapshot-m9d03vsf.js} +8 -8
- package/dist/chunks/{git-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-te19744a.js → snapshot-m9x2k754.js} +14 -14
- package/dist/chunks/{git-9zajbvzp.js → snapshot-ma3yc5r6.js} +6 -6
- package/dist/chunks/{git-7qfnj7bd.js → snapshot-ma8rz1b3.js} +9 -9
- package/dist/chunks/{git-7vr3dmr2.js → snapshot-mebkexss.js} +10 -10
- package/dist/chunks/{git-hz84tk5e.js → snapshot-mgp54d0b.js} +8 -8
- package/dist/chunks/{git-aze3g556.js → snapshot-mgrm5cv4.js} +11 -11
- package/dist/chunks/{git-c6ds0c94.js → snapshot-mh1qkymb.js} +4 -4
- package/dist/chunks/{git-j028xdjb.js → snapshot-mhkvc446.js} +3 -3
- package/dist/chunks/{git-z1cbmdk8.js → snapshot-mksgfzgs.js} +8 -8
- package/dist/chunks/{git-1hyh35hc.js → snapshot-mn9sycxr.js} +15 -15
- package/dist/chunks/{git-z3t6faa9.js → snapshot-mqwxc12a.js} +10 -10
- package/dist/chunks/snapshot-mvww34c5.js +26 -0
- package/dist/chunks/{git-vayd41fe.js → snapshot-mzamgxpq.js} +28 -28
- package/dist/chunks/{git-r9hg784z.js → snapshot-n04t6nrv.js} +29 -29
- package/dist/chunks/{git-fa0xf0qg.js → snapshot-n1g72t29.js} +11 -11
- package/dist/chunks/{git-p6mzafbb.js → snapshot-n886nese.js} +316 -316
- package/dist/chunks/{git-x5cyaybx.js → snapshot-n9hwvdtj.js} +3 -3
- package/dist/chunks/{git-xchesy5b.js → snapshot-naw1tbqv.js} +15 -15
- package/dist/chunks/{git-bpjsqt6w.js → snapshot-nb4jkd55.js} +11 -11
- package/dist/chunks/{git-fzgke8tr.js → snapshot-nbjpwa4f.js} +11 -11
- package/dist/chunks/{git-hka040n9.js → snapshot-nedq17xz.js} +13 -13
- package/dist/chunks/{git-3hr1140z.js → snapshot-nwcwczvr.js} +18 -18
- package/dist/chunks/{git-3cjhgjje.js → snapshot-nytcgn7j.js} +49 -49
- package/dist/chunks/{git-tbz0fdvh.js → snapshot-p28j5sbe.js} +5 -5
- package/dist/chunks/{git-c49neaws.js → snapshot-p8hy2xfv.js} +46 -46
- package/dist/chunks/{git-ybhbtxjg.js → snapshot-phc8pspp.js} +3 -3
- package/dist/chunks/{git-6j8cvwa1.js → snapshot-pj0sjbgk.js} +25 -25
- package/dist/chunks/{git-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{git-2nwjcwjm.js → snapshot-pnxdc0kd.js} +32 -32
- package/dist/chunks/{git-ehsj7wt5.js → snapshot-pnz7nghh.js} +13 -13
- package/dist/chunks/{git-xkc5gz1n.js → snapshot-pvh61k00.js} +9 -9
- package/dist/chunks/{git-8cyahtjd.js → snapshot-pxz7cyvr.js} +2 -2
- package/dist/chunks/{git-er2nv8wb.js → snapshot-pzd9m7k8.js} +8 -8
- package/dist/chunks/{git-pecsbykn.js → snapshot-q59v9naq.js} +18 -18
- package/dist/chunks/{git-6jqkynh6.js → snapshot-q5rhn9x0.js} +12 -12
- package/dist/chunks/{git-b4wh3kk3.js → snapshot-q85hyj5a.js} +36 -36
- package/dist/chunks/{git-vrqxrqyx.js → snapshot-q8cgqksh.js} +9 -9
- package/dist/chunks/{git-mp3jt1vp.js → snapshot-q9cq7v4d.js} +21 -21
- package/dist/chunks/{git-tkmwgdpd.js → snapshot-qa3qhgw8.js} +7 -7
- package/dist/chunks/snapshot-qbk6x2f6.js +252 -0
- package/dist/chunks/{git-b8wnyzx7.js → snapshot-qjnggjk3.js} +41 -41
- package/dist/chunks/{git-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{git-ym0qxjj8.js → snapshot-qwqmmf4f.js} +8 -8
- package/dist/chunks/{git-64af36b2.js → snapshot-qxnm76dc.js} +8 -8
- package/dist/chunks/{git-17peyqa8.js → snapshot-r31f3mt7.js} +24 -24
- package/dist/chunks/{git-rprjdt61.js → snapshot-r3mw3n99.js} +2 -2
- package/dist/chunks/{git-9nxfh24q.js → snapshot-r4xvkvzr.js} +13 -13
- package/dist/chunks/{git-zm1kgnct.js → snapshot-r5zgs4xn.js} +24 -24
- package/dist/chunks/{git-pmr4s4kc.js → snapshot-r98e92ep.js} +4 -4
- package/dist/chunks/{git-gjcbrjt5.js → snapshot-r9de1bmn.js} +1 -1
- package/dist/chunks/{git-njhqdk9p.js → snapshot-r9w3djhf.js} +9 -9
- package/dist/chunks/{git-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-6e6g2mqd.js → snapshot-rdzsqw97.js} +3 -3
- package/dist/chunks/{git-r8xr0va3.js → snapshot-rhraev7y.js} +4 -4
- package/dist/chunks/{git-5c0f1prt.js → snapshot-rsdf2nvv.js} +4 -4
- package/dist/chunks/{git-s8d7rejh.js → snapshot-s8d7rejh.js} +1 -1
- package/dist/chunks/{git-zxv2zsm9.js → snapshot-sbcdk7dq.js} +9 -9
- package/dist/chunks/{git-1pp06av9.js → snapshot-sfgq3cgq.js} +26 -26
- package/dist/chunks/{git-hf4whmtg.js → snapshot-svbn7smg.js} +1 -1
- package/dist/chunks/{git-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-89znhe33.js → snapshot-tcezcvh9.js} +4 -4
- package/dist/chunks/{git-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{git-tjfg9936.js → snapshot-tfch9n9x.js} +6 -6
- package/dist/chunks/{git-3hj12f9s.js → snapshot-tgxkatwb.js} +10 -10
- package/dist/chunks/{git-0e4jjwrw.js → snapshot-tt07q8xz.js} +24 -24
- package/dist/chunks/{git-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{git-ggjkqpcf.js → snapshot-ty7d494y.js} +15 -15
- package/dist/chunks/{git-6ybsm94g.js → snapshot-tzs8kqev.js} +16 -16
- package/dist/chunks/{git-pf4sg1bc.js → snapshot-v24dc41g.js} +46 -46
- package/dist/chunks/{git-bjn91642.js → snapshot-v4jw97dc.js} +4 -4
- package/dist/chunks/{git-fpq9acqp.js → snapshot-v6gb7zv2.js} +6 -6
- package/dist/chunks/{git-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{git-5hv86fpb.js → snapshot-vfmbdkmd.js} +12 -12
- package/dist/chunks/{git-pce1006a.js → snapshot-vnhmmnjb.js} +21 -21
- package/dist/chunks/{git-yxssrz9b.js → snapshot-vnpbbx9v.js} +11 -11
- package/dist/chunks/{git-zh4jz90y.js → snapshot-vvxj9t5p.js} +35 -35
- package/dist/chunks/{git-wajqq34j.js → snapshot-vy8smdsx.js} +26 -26
- package/dist/chunks/{git-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-xffg26zj.js → snapshot-w6fvq6r8.js} +10 -10
- package/dist/chunks/{git-j63fa09p.js → snapshot-w8wkjymx.js} +45 -45
- package/dist/chunks/{git-f5yy2vv1.js → snapshot-wakn2wsr.js} +9 -9
- package/dist/chunks/{git-wx3m0z92.js → snapshot-wavy99wc.js} +11 -11
- package/dist/chunks/{git-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{git-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-kh9xs558.js → snapshot-x9thrr1w.js} +9 -9
- package/dist/chunks/{git-drwq78ky.js → snapshot-xfkkasph.js} +4 -4
- package/dist/chunks/{git-jpd36d6c.js → snapshot-xqnjj423.js} +15 -15
- package/dist/chunks/{git-by82rxdc.js → snapshot-xqwp91h3.js} +20 -20
- package/dist/chunks/{git-brvw573r.js → snapshot-xs3zfhx9.js} +10 -10
- package/dist/chunks/{git-8erct5rq.js → snapshot-y070d939.js} +5 -5
- package/dist/chunks/{git-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/snapshot-y2qs1p31.js +65 -0
- package/dist/chunks/{git-xd2eepn7.js → snapshot-y7bkpsz5.js} +16 -16
- package/dist/chunks/{git-dkgfs7qs.js → snapshot-yb4td6hj.js} +43 -43
- package/dist/chunks/{git-wb6nw9s2.js → snapshot-yjw22c5c.js} +7 -7
- package/dist/chunks/{git-cdbm2jpq.js → snapshot-ypk7b8cy.js} +13 -13
- package/dist/chunks/{git-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-yrznvahk.js → snapshot-yrznvahk.js} +2 -2
- package/dist/chunks/{git-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-cg9hks8v.js → snapshot-z4ryv47y.js} +20 -20
- package/dist/chunks/{git-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
- package/dist/chunks/{git-xgrh65hf.js → snapshot-z88tvqv9.js} +170 -170
- package/dist/chunks/{git-afdssyjb.js → snapshot-zee1rnkq.js} +4 -4
- package/dist/chunks/{git-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-ar15xcmb.js → snapshot-zeyxjqbn.js} +8 -8
- package/dist/chunks/{git-krbhq476.js → snapshot-zk7hjewm.js} +43 -43
- package/dist/chunks/{git-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-zxq2ej10.js → snapshot-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 +84 -84
- package/dist/config/discovery.js +83 -83
- 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 +161 -161
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +69 -69
- 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 +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- 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 +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +100 -100
- 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 +106 -106
- 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 +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- 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 +330 -330
- 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/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 +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +6 -6
- 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 +224 -224
- 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 +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 +1 -1
- 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 +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 +220 -220
- 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 +81 -81
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +125 -125
- 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 +72 -72
- 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 +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +4 -4
- 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 +123 -123
- 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 +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- 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 +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 +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 +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 +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +69 -69
- 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/git-7aqwnkq9.js +0 -252
- package/dist/chunks/git-9a3eyg4n.js +0 -26
- package/dist/chunks/git-q509s3k3.js +0 -18
- package/dist/chunks/git-ygkrcpmw.js +0 -65
- /package/dist/chunks/{git-0mesazry.js → snapshot-0mesazry.js} +0 -0
- /package/dist/chunks/{git-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-m9a8nbc6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./snapshot-94n8x2pm.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event13,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node57,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service53 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event13 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service74;
|
|
81
81
|
const bus = yield* Service81;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event13.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service53.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event13.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event13.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node57 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node78, node85] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event13, inspect2, resolve4, node57, exports_wellknown };
|
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node46
|
|
4
|
+
} from "./snapshot-mqwxc12a.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-m9a8nbc6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service72,
|
|
12
|
+
node76
|
|
13
|
+
} from "./snapshot-3nhf0b0f.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-mzamgxpq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID14,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service76,
|
|
24
|
+
node80
|
|
25
|
+
} from "./snapshot-9etfqcq6.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-922hggd3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
30
|
+
Info32,
|
|
31
|
+
Ref4,
|
|
32
|
+
Service79,
|
|
33
|
+
node83
|
|
34
|
+
} from "./snapshot-a2pzwxd2.js";
|
|
35
35
|
import {
|
|
36
36
|
ID13,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service75,
|
|
38
|
+
node79
|
|
39
|
+
} from "./snapshot-hmsbh1sb.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service67,
|
|
42
|
+
node71
|
|
43
|
+
} from "./snapshot-km6nrb6d.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service40,
|
|
46
|
+
node43
|
|
47
|
+
} from "./snapshot-r31f3mt7.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service74,
|
|
50
|
+
node78
|
|
51
|
+
} from "./snapshot-94n8x2pm.js";
|
|
52
52
|
import {
|
|
53
|
+
Service65,
|
|
54
|
+
node69
|
|
55
|
+
} from "./snapshot-hkms5h5a.js";
|
|
56
|
+
import {
|
|
57
|
+
ID8,
|
|
53
58
|
Service68,
|
|
54
59
|
node72
|
|
55
|
-
} from "./
|
|
56
|
-
import {
|
|
57
|
-
ID12,
|
|
58
|
-
Service72,
|
|
59
|
-
node76
|
|
60
|
-
} from "./git-wajqq34j.js";
|
|
60
|
+
} from "./snapshot-vy8smdsx.js";
|
|
61
61
|
import {
|
|
62
62
|
ID7
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./snapshot-fk7pz3cy.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service39,
|
|
66
|
+
node42
|
|
67
|
+
} from "./snapshot-v24dc41g.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service73,
|
|
70
|
+
node77
|
|
71
|
+
} from "./snapshot-4e8vs6eh.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service69,
|
|
74
|
+
node73
|
|
75
|
+
} from "./snapshot-w8wkjymx.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service44,
|
|
78
|
+
node48
|
|
79
|
+
} from "./snapshot-h8mnccc2.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
81
|
+
Source4,
|
|
82
|
+
Service46,
|
|
83
|
+
node50
|
|
84
|
+
} from "./snapshot-4t78hymw.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info8,
|
|
87
|
+
Service43,
|
|
88
|
+
node47
|
|
89
|
+
} from "./snapshot-9kfebp52.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service28,
|
|
92
|
+
node31
|
|
93
|
+
} from "./snapshot-d2157car.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service21,
|
|
96
|
+
node24
|
|
97
|
+
} from "./snapshot-cq6kw089.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service23,
|
|
100
|
+
node26
|
|
101
|
+
} from "./snapshot-624zyddg.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service22,
|
|
104
|
+
node25
|
|
105
|
+
} from "./snapshot-xqwp91h3.js";
|
|
106
106
|
import {
|
|
107
107
|
ID4,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
108
|
+
Service26,
|
|
109
|
+
node29
|
|
110
|
+
} from "./snapshot-nwcwczvr.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service25,
|
|
113
|
+
node28
|
|
114
|
+
} from "./snapshot-vnhmmnjb.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info5,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service24,
|
|
120
|
+
node27
|
|
121
|
+
} from "./snapshot-hsnmzj8s.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service20,
|
|
124
|
+
node23
|
|
125
|
+
} from "./snapshot-pj0sjbgk.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,49 +143,49 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
146
|
+
const agents = yield* Service72;
|
|
147
|
+
const aisdk = yield* Service67;
|
|
148
|
+
const providers = yield* Service75;
|
|
149
|
+
const models = yield* Service68;
|
|
150
|
+
const commands = yield* Service40;
|
|
151
151
|
const bus = yield* Service81;
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
155
|
-
const location = yield*
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
152
|
+
const integration = yield* Service76;
|
|
153
|
+
const kv = yield* Service74;
|
|
154
|
+
const mcp = yield* Service39;
|
|
155
|
+
const location = yield* Service79;
|
|
156
|
+
const reference = yield* Service46;
|
|
157
|
+
const rpc = yield* Service23;
|
|
158
|
+
const skill = yield* Service43;
|
|
159
|
+
const tools = yield* Service44;
|
|
160
|
+
const vcs = yield* Service22;
|
|
161
|
+
const websearch = yield* Service26;
|
|
162
|
+
const generate = yield* Service20;
|
|
163
|
+
const permission = yield* Service69;
|
|
164
|
+
const hooks = yield* Service73;
|
|
165
|
+
const sessions = yield* Service28;
|
|
166
|
+
const persistentPty = yield* Service21;
|
|
167
|
+
const locations = yield* Service65;
|
|
168
|
+
const worktrees = yield* Service24;
|
|
169
|
+
const worktreeStrategies = yield* Service25;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
|
-
const locationInfo = () => new
|
|
171
|
+
const locationInfo = () => new Info32({
|
|
172
172
|
directory: location.directory,
|
|
173
173
|
workspaceID: location.workspaceID,
|
|
174
174
|
project: location.project
|
|
175
175
|
});
|
|
176
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
176
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
177
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
178
|
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info5);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
|
-
const location = yield*
|
|
186
|
-
const agents = yield*
|
|
185
|
+
const location = yield* Service79;
|
|
186
|
+
const agents = yield* Service72;
|
|
187
187
|
return {
|
|
188
|
-
location: new
|
|
188
|
+
location: new Info32({
|
|
189
189
|
directory: location.directory,
|
|
190
190
|
workspaceID: location.workspaceID,
|
|
191
191
|
project: location.project
|
|
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID11.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID11.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID11.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -262,14 +262,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
262
262
|
get: (id) => editor.get(ID13.make(id)),
|
|
263
263
|
add: (definition) => editor.add({
|
|
264
264
|
...definition,
|
|
265
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
266
|
}),
|
|
267
267
|
update: (id, update) => editor.update(ID13.make(id), update),
|
|
268
268
|
remove: (id) => editor.remove(ID13.make(id)),
|
|
269
269
|
models: {
|
|
270
270
|
set: (id, models) => editor.models.set(ID13.make(id), models),
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID),
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID8.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID8.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -280,12 +280,12 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
282
|
list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
|
|
283
|
-
get: (providerID, modelID) => editor.get(ID13.make(providerID),
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(ID13.make(providerID),
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(ID13.make(providerID),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID13.make(providerID), ID8.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID8.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID8.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(ID13.make(providerID),
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID8.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
@@ -312,14 +312,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
312
312
|
integration: {
|
|
313
313
|
list: () => response(integration.list()),
|
|
314
314
|
get: Effect.fn(function* (input) {
|
|
315
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID14.make(input.integrationID));
|
|
316
316
|
if (!item)
|
|
317
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
318
318
|
return yield* response(Effect.succeed(item));
|
|
319
319
|
}),
|
|
320
320
|
connect: {
|
|
321
321
|
key: (input) => integration.connection.key({
|
|
322
|
-
integrationID:
|
|
322
|
+
integrationID: ID14.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
@@ -327,55 +327,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
327
327
|
},
|
|
328
328
|
oauth: {
|
|
329
329
|
connect: (input) => response(integration.oauth.connect({
|
|
330
|
-
integrationID:
|
|
330
|
+
integrationID: ID14.make(input.integrationID),
|
|
331
331
|
methodID: MethodID2.make(input.methodID),
|
|
332
332
|
answer: input.answer,
|
|
333
333
|
label: input.label
|
|
334
334
|
})),
|
|
335
335
|
status: (input) => response(integration.oauth.status({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID14.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})),
|
|
339
339
|
complete: (input) => integration.oauth.complete({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID14.make(input.integrationID),
|
|
341
341
|
attemptID: AttemptID2.make(input.attemptID),
|
|
342
342
|
code: input.code
|
|
343
343
|
}),
|
|
344
344
|
cancel: (input) => integration.oauth.cancel({
|
|
345
|
-
integrationID:
|
|
345
|
+
integrationID: ID14.make(input.integrationID),
|
|
346
346
|
attemptID: AttemptID2.make(input.attemptID)
|
|
347
347
|
})
|
|
348
348
|
},
|
|
349
349
|
command: {
|
|
350
350
|
connect: (input) => response(integration.command.connect({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID14.make(input.integrationID),
|
|
352
352
|
methodID: MethodID2.make(input.methodID),
|
|
353
353
|
label: input.label
|
|
354
354
|
})),
|
|
355
355
|
status: (input) => response(integration.command.status({
|
|
356
|
-
integrationID:
|
|
356
|
+
integrationID: ID14.make(input.integrationID),
|
|
357
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
358
|
})),
|
|
359
359
|
cancel: (input) => integration.command.cancel({
|
|
360
|
-
integrationID:
|
|
360
|
+
integrationID: ID14.make(input.integrationID),
|
|
361
361
|
attemptID: AttemptID2.make(input.attemptID)
|
|
362
362
|
})
|
|
363
363
|
},
|
|
364
364
|
reload: integration.reload,
|
|
365
365
|
connection: {
|
|
366
|
-
active: (id) => integration.connection.active(
|
|
367
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
366
|
+
active: (id) => integration.connection.active(ID14.make(id)),
|
|
367
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection)
|
|
368
368
|
},
|
|
369
369
|
transform: (callback) => integration.transform((editor) => {
|
|
370
370
|
callback({
|
|
371
371
|
list: () => mutable(editor.list()),
|
|
372
|
-
get: (id) => mutable(editor.get(
|
|
373
|
-
update: (id, update) => editor.update(
|
|
374
|
-
remove: (id) => editor.remove(
|
|
372
|
+
get: (id) => mutable(editor.get(ID14.make(id))),
|
|
373
|
+
update: (id, update) => editor.update(ID14.make(id), update),
|
|
374
|
+
remove: (id) => editor.remove(ID14.make(id)),
|
|
375
375
|
method: {
|
|
376
|
-
list: (id) => editor.method.list(
|
|
376
|
+
list: (id) => editor.method.list(ID14.make(id)),
|
|
377
377
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
378
|
-
remove: (id, method) => editor.method.remove(
|
|
378
|
+
remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
381
|
})
|
|
@@ -385,10 +385,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
385
385
|
const ref = locationRef(input);
|
|
386
386
|
if (ref && !isCurrentLocation(ref))
|
|
387
387
|
return Effect.gen(function* () {
|
|
388
|
-
const location = yield*
|
|
389
|
-
const mcp = yield*
|
|
388
|
+
const location = yield* Service79;
|
|
389
|
+
const mcp = yield* Service39;
|
|
390
390
|
return {
|
|
391
|
-
location: new
|
|
391
|
+
location: new Info32({
|
|
392
392
|
directory: location.directory,
|
|
393
393
|
workspaceID: location.workspaceID,
|
|
394
394
|
project: location.project
|
|
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
423
423
|
reload: reference.reload,
|
|
424
424
|
transform: (callback) => reference.transform((editor) => {
|
|
425
425
|
callback({
|
|
426
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
426
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
|
|
427
427
|
remove: editor.remove,
|
|
428
428
|
list: editor.list,
|
|
429
429
|
get: editor.get
|
|
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
437
437
|
callback({
|
|
438
438
|
list: () => mutable(editor.list()),
|
|
439
439
|
get: editor.get,
|
|
440
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
440
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
|
|
441
441
|
update: editor.update,
|
|
442
442
|
remove: editor.remove
|
|
443
443
|
});
|
|
@@ -509,7 +509,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
509
509
|
model: input?.model,
|
|
510
510
|
metadata: input?.metadata,
|
|
511
511
|
permissions: input?.permissions,
|
|
512
|
-
location: input?.location ??
|
|
512
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
513
513
|
}),
|
|
514
514
|
get: (input) => sessions.get(input.sessionID),
|
|
515
515
|
switchAgent: sessions.switchAgent,
|
|
@@ -534,31 +534,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
534
534
|
return context;
|
|
535
535
|
});
|
|
536
536
|
var requirements3 = LayerNode.group([
|
|
537
|
-
|
|
538
|
-
node70,
|
|
539
|
-
node75,
|
|
540
|
-
node77,
|
|
537
|
+
node46,
|
|
541
538
|
node76,
|
|
542
|
-
|
|
539
|
+
node71,
|
|
540
|
+
node79,
|
|
541
|
+
node72,
|
|
542
|
+
node43,
|
|
543
543
|
node85,
|
|
544
|
-
|
|
545
|
-
node86,
|
|
546
|
-
node27,
|
|
544
|
+
node80,
|
|
547
545
|
node78,
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
546
|
+
node42,
|
|
547
|
+
node83,
|
|
548
|
+
node50,
|
|
549
|
+
node26,
|
|
551
550
|
node47,
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
551
|
+
node48,
|
|
552
|
+
node25,
|
|
553
|
+
node29,
|
|
554
|
+
node27,
|
|
555
|
+
node28,
|
|
556
|
+
node23,
|
|
556
557
|
node73,
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
node72
|
|
558
|
+
node77,
|
|
559
|
+
node31,
|
|
560
|
+
node24,
|
|
561
|
+
node69
|
|
562
562
|
]);
|
|
563
563
|
function storage2(kv, pluginID) {
|
|
564
564
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -585,7 +585,7 @@ function methodImplementation(input) {
|
|
|
585
585
|
if ("authorize" in input) {
|
|
586
586
|
const refresh = input.refresh;
|
|
587
587
|
return {
|
|
588
|
-
integrationID:
|
|
588
|
+
integrationID: ID14.make(input.integrationID),
|
|
589
589
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
590
590
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
591
591
|
if (authorization.mode === "auto") {
|
|
@@ -605,18 +605,18 @@ function methodImplementation(input) {
|
|
|
605
605
|
}
|
|
606
606
|
if (input.method.type === "env") {
|
|
607
607
|
return {
|
|
608
|
-
integrationID:
|
|
608
|
+
integrationID: ID14.make(input.integrationID),
|
|
609
609
|
method: input.method
|
|
610
610
|
};
|
|
611
611
|
}
|
|
612
612
|
if (input.method.type === "command") {
|
|
613
613
|
return {
|
|
614
|
-
integrationID:
|
|
614
|
+
integrationID: ID14.make(input.integrationID),
|
|
615
615
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
618
|
return {
|
|
619
|
-
integrationID:
|
|
619
|
+
integrationID: ID14.make(input.integrationID),
|
|
620
620
|
method: input.method
|
|
621
621
|
};
|
|
622
622
|
}
|