@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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./snapshot-a2pzwxd2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service55
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-ad9apwst.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service27,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-mebkexss.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service58
|
|
14
|
+
} from "./snapshot-mn9sycxr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service69
|
|
17
|
+
} from "./snapshot-w8wkjymx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service18,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-bpnypz4k.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input6,
|
|
34
|
+
Output: () => Output6,
|
|
35
|
+
Plugin: () => Plugin41,
|
|
36
|
+
name: () => name6
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name6 = "edit";
|
|
43
|
+
var Input6 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input11 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output6 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin41 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
109
|
+
const access = yield* Service18;
|
|
110
|
+
const fileMutation = yield* Service27;
|
|
111
111
|
const environment = yield* Service55;
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
112
|
+
const formatter = yield* Service58;
|
|
113
|
+
const location = yield* Service79;
|
|
114
|
+
const permission = yield* Service69;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name6,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input6,
|
|
120
|
+
output: Output6,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin31 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name6, Input6, Output6, Plugin41, exports_edit };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-vy8smdsx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./snapshot-p8hy2xfv.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-tfch9n9x.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service51;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID8.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service49,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node53
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service49 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service49.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node53 = makeLocationNode({
|
|
143
|
+
service: Service49,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service49, node53, exports_tool_output2 };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service66,
|
|
9
|
+
node70
|
|
10
|
+
} from "./snapshot-jz6s72fr.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-6bsje7ws.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service62,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node66,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service62 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service66;
|
|
77
|
+
return Service62.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node70] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service62, resolved2, node66, exports_model };
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./snapshot-a2pzwxd2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./snapshot-pnxdc0kd.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service14,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node16
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event3 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service79;
|
|
95
|
+
const search = yield* Service15;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service14.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node16 = makeLocationNode({
|
|
144
|
+
service: Service14,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, node17]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service46,
|
|
3
|
+
node50
|
|
4
|
+
} from "./snapshot-4t78hymw.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service41,
|
|
20
|
+
node: () => node44
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service41 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service46;
|
|
64
|
+
return Service41.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node44 = makeLocationNode({ service: Service41, layer, deps: [node50] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service41, node44, exports_instructions5 };
|