@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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
11
|
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export { Service8,
|
|
155
|
+
export { Service8, node10, exports_discovery };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-rdzsqw97.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
11
|
node61
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-8e1b1gzh.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./snapshot-r31f3mt7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./snapshot-v6gb7zv2.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9zdhvgqs.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service63;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service55
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-ad9apwst.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service27,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-mebkexss.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./snapshot-mn9sycxr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service69
|
|
14
|
+
} from "./snapshot-w8wkjymx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./snapshot-bpnypz4k.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input4,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin38,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name4,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name4 = "write";
|
|
39
|
+
var Input4 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin38 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
55
|
+
const access = yield* Service18;
|
|
56
|
+
const fileMutation = yield* Service27;
|
|
57
57
|
const environment = yield* Service55;
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
58
|
+
const formatter = yield* Service58;
|
|
59
|
+
const permission = yield* Service69;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name4,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input4,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name4, Input4, Output4, toModelContent3, Plugin38, exports_write };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-hmsbh1sb.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service51
|
|
8
|
+
} from "./snapshot-p8hy2xfv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve2
|
|
11
|
+
} from "./snapshot-a37bxjft.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin23
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin23 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service51;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin9 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve2({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin23, exports_provider };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-m9a8nbc6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./snapshot-mzamgxpq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9etfqcq6.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./snapshot-hmsbh1sb.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./snapshot-vy8smdsx.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-pvh61k00.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-mqwxc12a.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID14.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service75;
|
|
161
161
|
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -214,14 +214,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(ID13.githubCopilot,
|
|
218
|
-
models.update(ID13.githubCopilot,
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
227
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node46
|
|
5
|
+
} from "./snapshot-mqwxc12a.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-rsdf2nvv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service73,
|
|
12
|
+
node77
|
|
13
|
+
} from "./snapshot-4e8vs6eh.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-w8wkjymx.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-mgrm5cv4.js";
|
|
20
20
|
import {
|
|
21
21
|
Error3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-h8mnccc2.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service37,
|
|
25
|
+
node40
|
|
26
|
+
} from "./snapshot-wavy99wc.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make15
|
|
29
|
+
} from "./snapshot-xfkkasph.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./snapshot-6rybd781.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service36,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer13,
|
|
45
|
+
node: () => node39,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer13 = Layer.effect(Service36, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service73;
|
|
157
|
+
const transport = yield* Service37;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -252,17 +252,17 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
255
|
-
return
|
|
255
|
+
return Service36.of({
|
|
256
256
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
257
257
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
258
258
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
259
259
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
262
|
+
var node39 = makeLocationNode({
|
|
263
|
+
service: Service36,
|
|
264
|
+
layer: layer13,
|
|
265
|
+
deps: [node77, node40, node46]
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service36, layer13, node39, exports_model_request };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service45,
|
|
17
|
+
node49
|
|
18
|
+
} from "./snapshot-63kpjth9.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service73,
|
|
21
|
+
node77
|
|
22
|
+
} from "./snapshot-4e8vs6eh.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service44,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node48
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service44 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service73;
|
|
58
|
+
const image = yield* Service45;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service44.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node48 = makeLocationNode({
|
|
277
|
+
service: Service44,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node77, node49]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service44, node48, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin13,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin13 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin13, exports_tool_input_repair };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-s8d7rejh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|