@opencode/core 0.0.0-dev-20388 → 0.0.0-dev-20389
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{git-mqpkp4kz.js → location-lifecycle-00gjg8ex.js} +26 -26
- package/dist/chunks/{git-0c0695j7.js → location-lifecycle-020a34kt.js} +21 -21
- package/dist/chunks/{git-s8d7rejh.js → location-lifecycle-02nrjc1r.js} +8 -8
- package/dist/chunks/{git-0kznb05v.js → location-lifecycle-0btnsmvf.js} +22 -22
- package/dist/chunks/{git-2x16c9ep.js → location-lifecycle-0enep7x8.js} +45 -45
- package/dist/chunks/{git-640hrwp9.js → location-lifecycle-0hftftse.js} +28 -28
- package/dist/chunks/{git-rantnw5e.js → location-lifecycle-0mpdx1vd.js} +8 -8
- package/dist/chunks/{git-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-vkf44a78.js → location-lifecycle-11rqzxdw.js} +1 -1
- package/dist/chunks/{git-48tzy520.js → location-lifecycle-13m3r43m.js} +10 -10
- package/dist/chunks/{git-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-d15sf6mv.js → location-lifecycle-1m0hg0d3.js} +18 -18
- package/dist/chunks/{git-qmwqscpd.js → location-lifecycle-1ssjz20k.js} +30 -30
- package/dist/chunks/{git-m0r31qfn.js → location-lifecycle-1y283654.js} +4 -4
- package/dist/chunks/{git-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
- package/dist/chunks/{git-0dzy3033.js → location-lifecycle-253c8rnc.js} +22 -22
- package/dist/chunks/{git-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-z6p0ftv1.js → location-lifecycle-2cyrzdgn.js} +12 -12
- package/dist/chunks/{git-s3j81f4a.js → location-lifecycle-2dhnhkkk.js} +18 -18
- package/dist/chunks/{git-jexxy024.js → location-lifecycle-2f04pwep.js} +3 -3
- package/dist/chunks/{git-pq3e229m.js → location-lifecycle-2f1s2ykp.js} +17 -17
- package/dist/chunks/{git-bj6x105w.js → location-lifecycle-2k9etz4a.js} +13 -13
- package/dist/chunks/{git-g1bwmzbp.js → location-lifecycle-2knc1bdj.js} +3 -3
- package/dist/chunks/{git-6m45rye6.js → location-lifecycle-2mfvmfgs.js} +11 -11
- package/dist/chunks/{git-qcekwvdg.js → location-lifecycle-2n7ag2wc.js} +10 -10
- package/dist/chunks/{git-xqq4j1ks.js → location-lifecycle-2r8e8syc.js} +10 -10
- package/dist/chunks/{git-3n913fej.js → location-lifecycle-31y78g57.js} +41 -41
- package/dist/chunks/{git-bk9c1rhb.js → location-lifecycle-36b0qpbe.js} +36 -36
- package/dist/chunks/{git-9yta650y.js → location-lifecycle-3bd31bm8.js} +10 -10
- package/dist/chunks/{git-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-rnnxe44a.js → location-lifecycle-3g8d2v0w.js} +4 -4
- package/dist/chunks/{git-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-dcvjtemh.js → location-lifecycle-3ptkj4n2.js} +16 -16
- package/dist/chunks/{git-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-9snwjxvr.js → location-lifecycle-3w1cbdcn.js} +51 -51
- package/dist/chunks/{git-evbgk2k8.js → location-lifecycle-3w2b2yj4.js} +5 -5
- package/dist/chunks/{git-dbpe2207.js → location-lifecycle-3wgzgc1x.js} +24 -24
- package/dist/chunks/{git-ncqa4rgx.js → location-lifecycle-3ymf6fhm.js} +41 -41
- package/dist/chunks/{git-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
- package/dist/chunks/location-lifecycle-40yqras8.js +507 -0
- package/dist/chunks/{git-sbpew2a6.js → location-lifecycle-44gxchs9.js} +13 -13
- package/dist/chunks/{git-675a9rqf.js → location-lifecycle-4e7v0rrg.js} +31 -31
- package/dist/chunks/{git-6b56byp1.js → location-lifecycle-4hd4kjmc.js} +24 -24
- package/dist/chunks/{git-54ma36ye.js → location-lifecycle-54ma36ye.js} +1 -1
- package/dist/chunks/{git-7jxfk54w.js → location-lifecycle-555emwad.js} +17 -17
- package/dist/chunks/{git-7v81x33d.js → location-lifecycle-56bnbftg.js} +9 -9
- package/dist/chunks/{git-mfqp6xfm.js → location-lifecycle-56gdpj1q.js} +6 -6
- package/dist/chunks/{git-rsdkdfjj.js → location-lifecycle-56znk2fn.js} +15 -15
- package/dist/chunks/{git-btd0ftk7.js → location-lifecycle-5d9e1zgn.js} +39 -39
- package/dist/chunks/{git-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{git-g7jkrskj.js → location-lifecycle-5e4fbfme.js} +19 -19
- package/dist/chunks/{git-6t298p2h.js → location-lifecycle-5f90fjb2.js} +12 -12
- package/dist/chunks/{git-qfgc2m2j.js → location-lifecycle-5gcfahsk.js} +22 -22
- package/dist/chunks/{git-8m0ba7zt.js → location-lifecycle-5hn1egzf.js} +11 -11
- package/dist/chunks/{git-b2gx3txk.js → location-lifecycle-5jcvmf6g.js} +2 -2
- package/dist/chunks/{git-s5fmfqw4.js → location-lifecycle-5ngwhca0.js} +18 -18
- package/dist/chunks/{git-eh8a8tjn.js → location-lifecycle-5q870297.js} +11 -11
- package/dist/chunks/{git-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-wt2stqwd.js → location-lifecycle-5wbf656g.js} +35 -35
- package/dist/chunks/{git-kavy5er9.js → location-lifecycle-60qbdqev.js} +8 -8
- package/dist/chunks/{git-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/{git-z8bsjf0y.js → location-lifecycle-67pbeb88.js} +3 -3
- package/dist/chunks/{git-4xyzmsba.js → location-lifecycle-69cqjyej.js} +15 -15
- package/dist/chunks/{git-t1t9n6y4.js → location-lifecycle-6ed4xda8.js} +24 -24
- package/dist/chunks/{git-4y1xccvm.js → location-lifecycle-6h25qssc.js} +13 -13
- package/dist/chunks/{git-gxz3as52.js → location-lifecycle-6jxf3vab.js} +17 -17
- package/dist/chunks/{git-gh46k75h.js → location-lifecycle-6km7wde6.js} +22 -22
- package/dist/chunks/{git-a5ttg10t.js → location-lifecycle-6mcntczv.js} +19 -19
- package/dist/chunks/{git-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-8sze2n9a.js → location-lifecycle-6pc27hjz.js} +2 -2
- package/dist/chunks/{git-k9gchh7r.js → location-lifecycle-6vwab7ta.js} +6 -6
- package/dist/chunks/{git-2ekc3v9w.js → location-lifecycle-6y8sf15t.js} +10 -10
- package/dist/chunks/{git-rf80fxgj.js → location-lifecycle-762r0j46.js} +5 -5
- package/dist/chunks/{git-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-ebt03znt.js → location-lifecycle-7fkwbpyt.js} +32 -32
- package/dist/chunks/{git-0hbfp3rh.js → location-lifecycle-7t2gnzb5.js} +27 -27
- package/dist/chunks/{git-y6se903k.js → location-lifecycle-7w9dhde7.js} +11 -11
- package/dist/chunks/{git-aab22j0c.js → location-lifecycle-7wgd4vvt.js} +28 -28
- package/dist/chunks/{git-x8sg340m.js → location-lifecycle-80wd4bgt.js} +37 -37
- package/dist/chunks/{git-xxhb4jr7.js → location-lifecycle-81swgkk7.js} +9 -9
- package/dist/chunks/{git-zw63bdmn.js → location-lifecycle-83mg0jke.js} +12 -12
- package/dist/chunks/{git-8rgxcejn.js → location-lifecycle-86s9zp2n.js} +15 -15
- package/dist/chunks/{git-09tmqmb5.js → location-lifecycle-87c4f466.js} +25 -25
- package/dist/chunks/{git-y0k7ncdy.js → location-lifecycle-899x5tcm.js} +21 -21
- package/dist/chunks/{git-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-b04b8x2j.js → location-lifecycle-8fyegk21.js} +8 -8
- package/dist/chunks/{git-gzjdj5j0.js → location-lifecycle-8mseex61.js} +28 -28
- package/dist/chunks/{git-n8d4mbxn.js → location-lifecycle-8nggr3bd.js} +13 -13
- package/dist/chunks/{git-yxf2kahc.js → location-lifecycle-8ssds5e7.js} +9 -9
- package/dist/chunks/{git-rd9ts5sq.js → location-lifecycle-93axvesd.js} +46 -46
- package/dist/chunks/{git-yztfb3pz.js → location-lifecycle-93gqyvac.js} +25 -25
- package/dist/chunks/{git-94ek1h2f.js → location-lifecycle-94ek1h2f.js} +2 -2
- package/dist/chunks/{git-2j9rgn65.js → location-lifecycle-97ag2qje.js} +11 -11
- package/dist/chunks/{git-2tv7gqmx.js → location-lifecycle-97v75msb.js} +11 -11
- package/dist/chunks/{git-pfk2n936.js → location-lifecycle-99fnjfmf.js} +48 -48
- package/dist/chunks/{git-3j60ppqf.js → location-lifecycle-9b8cxr50.js} +10 -10
- package/dist/chunks/{git-27nk4x6p.js → location-lifecycle-9z3bkwkr.js} +8 -8
- package/dist/chunks/{git-apyybb6c.js → location-lifecycle-a3br9d05.js} +21 -21
- package/dist/chunks/{git-gw7cjrad.js → location-lifecycle-a81kfqvn.js} +4 -4
- package/dist/chunks/{git-2wrfgpms.js → location-lifecycle-a87e6tav.js} +6 -6
- package/dist/chunks/{git-3g22mkwe.js → location-lifecycle-a8khvex0.js} +12 -12
- package/dist/chunks/location-lifecycle-aa0qyfj6.js +26 -0
- package/dist/chunks/{git-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/{git-v5fh98v6.js → location-lifecycle-amer0j2s.js} +11 -11
- package/dist/chunks/{git-zfx54h0g.js → location-lifecycle-awgkw4g3.js} +9 -9
- package/dist/chunks/{git-ffk3tnaf.js → location-lifecycle-azz8yn5t.js} +17 -17
- package/dist/chunks/{git-4792e2b2.js → location-lifecycle-b0w7qwm1.js} +46 -46
- package/dist/chunks/{git-7pr2hkwv.js → location-lifecycle-b4p19tx4.js} +5 -5
- package/dist/chunks/{git-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-awaee7qt.js → location-lifecycle-bscb95cy.js} +6 -6
- package/dist/chunks/{git-t32n9cga.js → location-lifecycle-bx4vh86y.js} +15 -15
- package/dist/chunks/{git-nr9pd330.js → location-lifecycle-bxb4rdyw.js} +47 -47
- package/dist/chunks/{git-ts95b2w6.js → location-lifecycle-by6hj6zx.js} +11 -11
- package/dist/chunks/{git-zmdb4gxh.js → location-lifecycle-c0q46r44.js} +5 -5
- package/dist/chunks/{git-xnd5ej3q.js → location-lifecycle-c35z1gf6.js} +5 -5
- package/dist/chunks/{git-2fzws0g4.js → location-lifecycle-c5dk5hgv.js} +5 -5
- package/dist/chunks/{git-ve3qrhhk.js → location-lifecycle-c8em0s1d.js} +20 -20
- package/dist/chunks/{git-xa1geypd.js → location-lifecycle-cg2hks08.js} +31 -31
- package/dist/chunks/{git-9qq5qbrb.js → location-lifecycle-cgwedmpd.js} +24 -24
- package/dist/chunks/{git-ckecvw8r.js → location-lifecycle-ckecvw8r.js} +2 -2
- package/dist/chunks/{git-4v7yaj9r.js → location-lifecycle-ct2pt04d.js} +52 -52
- package/dist/chunks/{git-q8gb9q10.js → location-lifecycle-cvh2jq35.js} +32 -32
- package/dist/chunks/{git-jgb2hz60.js → location-lifecycle-cyf1h9zc.js} +32 -32
- package/dist/chunks/{git-cee3pda0.js → location-lifecycle-d27d43db.js} +4 -4
- package/dist/chunks/{git-g6q9qykm.js → location-lifecycle-d4he2qe1.js} +9 -9
- package/dist/chunks/{git-3ern9qn7.js → location-lifecycle-d5r4zsa4.js} +3 -3
- package/dist/chunks/{git-eg3dg4pc.js → location-lifecycle-d6g0v4z6.js} +8 -8
- package/dist/chunks/{git-m11dv875.js → location-lifecycle-dcsr6wah.js} +32 -32
- package/dist/chunks/{git-9mv39jdx.js → location-lifecycle-dfcdvdh6.js} +4 -4
- package/dist/chunks/{git-xkntkrq7.js → location-lifecycle-dmqcgk4z.js} +5 -5
- package/dist/chunks/{git-xfkkasph.js → location-lifecycle-drwq78ky.js} +4 -4
- package/dist/chunks/{git-dbzhd3wq.js → location-lifecycle-dy2b1g1b.js} +1 -1
- package/dist/chunks/{git-tm9mtfcm.js → location-lifecycle-dysj71w2.js} +17 -17
- package/dist/chunks/{git-97w4v05c.js → location-lifecycle-e1gx7kk1.js} +3 -3
- package/dist/chunks/{git-vavepvbb.js → location-lifecycle-e2fkxt23.js} +9 -9
- package/dist/chunks/{git-qjfqjtp6.js → location-lifecycle-e66371b9.js} +5 -5
- package/dist/chunks/{git-cc3z3mm8.js → location-lifecycle-ebd8z10x.js} +19 -19
- package/dist/chunks/{git-gss037cc.js → location-lifecycle-ee2pnbwx.js} +29 -29
- package/dist/chunks/{git-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-ha607pgt.js → location-lifecycle-emgtyv65.js} +6 -6
- package/dist/chunks/{git-t5qhm49b.js → location-lifecycle-ephevzh6.js} +1 -1
- package/dist/chunks/{git-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-f37yrtqa.js → location-lifecycle-exrrwt6t.js} +3 -3
- package/dist/chunks/{git-qc5tbdym.js → location-lifecycle-ez3kqvwb.js} +7 -7
- package/dist/chunks/{git-pk48rez6.js → location-lifecycle-fempkgdk.js} +17 -17
- package/dist/chunks/{git-dk17fbv1.js → location-lifecycle-fhm5cw4a.js} +29 -29
- package/dist/chunks/{git-d2fqyxj9.js → location-lifecycle-fn7n210z.js} +31 -31
- package/dist/chunks/{git-g2xmb77m.js → location-lifecycle-fpy88pca.js} +62 -62
- package/dist/chunks/{git-k0nnq3t9.js → location-lifecycle-ftdzjz2b.js} +6 -6
- package/dist/chunks/{git-tpmcqqx3.js → location-lifecycle-fwdryt6b.js} +5 -5
- package/dist/chunks/{git-f3ngv102.js → location-lifecycle-g190xswt.js} +4 -4
- package/dist/chunks/{git-t18acs6r.js → location-lifecycle-g20m0hav.js} +12 -12
- package/dist/chunks/{git-qq2m58t1.js → location-lifecycle-g71h1vp1.js} +21 -21
- package/dist/chunks/{git-9xkcece5.js → location-lifecycle-g9frsj9b.js} +11 -11
- package/dist/chunks/{git-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-5bdh3vp3.js → location-lifecycle-gdv3pqaf.js} +19 -19
- package/dist/chunks/{git-wxyynt4w.js → location-lifecycle-gg3hnhsj.js} +1 -1
- package/dist/chunks/{git-gcvc8aqa.js → location-lifecycle-ghcy2847.js} +3 -3
- package/dist/chunks/{git-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-c1ezrmqj.js → location-lifecycle-gyjs02pa.js} +20 -20
- package/dist/chunks/{git-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-4ev7smc3.js → location-lifecycle-h8213dts.js} +11 -11
- package/dist/chunks/{git-xzcsrrr7.js → location-lifecycle-h9v2k6ys.js} +8 -8
- package/dist/chunks/{git-s8zy8myc.js → location-lifecycle-hkfg6fzm.js} +5 -5
- package/dist/chunks/{git-39c3xmeq.js → location-lifecycle-hrq808j0.js} +11 -11
- package/dist/chunks/{git-k6k470b6.js → location-lifecycle-hxdm9kmc.js} +33 -33
- package/dist/chunks/{git-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{git-8mn6a01z.js → location-lifecycle-j8j25zrv.js} +4 -4
- package/dist/chunks/{git-1vbhmq04.js → location-lifecycle-j8k1nw8e.js} +23 -23
- package/dist/chunks/{git-879n19st.js → location-lifecycle-j997kwff.js} +185 -185
- package/dist/chunks/{git-qfm24y6p.js → location-lifecycle-jdj03ngj.js} +24 -24
- package/dist/chunks/{git-jkp0d30b.js → location-lifecycle-jhf3jymm.js} +6 -6
- package/dist/chunks/{git-hrtjndpd.js → location-lifecycle-jj6afdrs.js} +14 -14
- package/dist/chunks/{git-hncv6x49.js → location-lifecycle-jn2r9j5k.js} +7 -7
- package/dist/chunks/{git-k3c624dm.js → location-lifecycle-k3c624dm.js} +3 -3
- package/dist/chunks/{git-gc4fb455.js → location-lifecycle-k3sn4jay.js} +4 -4
- package/dist/chunks/{git-btbmdjwj.js → location-lifecycle-knevfgda.js} +4 -4
- package/dist/chunks/{git-d9s1mk97.js → location-lifecycle-kqa30pjk.js} +14 -14
- package/dist/chunks/{git-pztav6qe.js → location-lifecycle-kra6w156.js} +12 -12
- package/dist/chunks/{git-fhs97t90.js → location-lifecycle-m2d0j7c0.js} +9 -9
- package/dist/chunks/{git-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-m58kmhef.js → location-lifecycle-m58kmhef.js} +2 -2
- package/dist/chunks/{git-m6f3t844.js → location-lifecycle-m6f3t844.js} +1 -1
- package/dist/chunks/{git-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-wvjdx0nk.js → location-lifecycle-mf9dvkqt.js} +16 -16
- package/dist/chunks/{git-vjjxy6yb.js → location-lifecycle-mn5gq2gv.js} +6 -6
- package/dist/chunks/{git-tkmwgdpd.js → location-lifecycle-mtq6xxnx.js} +4 -4
- package/dist/chunks/{git-awpnsnap.js → location-lifecycle-n0ktzzmx.js} +88 -88
- package/dist/chunks/{git-phesrcgj.js → location-lifecycle-n2wpdt86.js} +21 -21
- package/dist/chunks/{git-2wrdwt9m.js → location-lifecycle-nk09bpx4.js} +20 -20
- package/dist/chunks/{git-ad37gnpt.js → location-lifecycle-ntckq6qj.js} +4 -4
- package/dist/chunks/{git-d10sr3ce.js → location-lifecycle-nvgyfyp8.js} +10 -10
- package/dist/chunks/{git-ysypevm1.js → location-lifecycle-nydm3dng.js} +10 -10
- package/dist/chunks/{git-r2mgmrrq.js → location-lifecycle-p0wnskax.js} +35 -35
- package/dist/chunks/{git-8v6pyhej.js → location-lifecycle-phstrbs2.js} +8 -8
- package/dist/chunks/{git-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{git-eqvftjbn.js → location-lifecycle-pmrjcwca.js} +17 -17
- package/dist/chunks/location-lifecycle-pmvmy03f.js +252 -0
- package/dist/chunks/{git-xjqdvhz2.js → location-lifecycle-pp101388.js} +4 -4
- package/dist/chunks/{git-2k8khapm.js → location-lifecycle-qgn6gcr1.js} +5 -5
- package/dist/chunks/{git-wzyvzam6.js → location-lifecycle-qne2w00m.js} +22 -22
- package/dist/chunks/{git-z7agxk7e.js → location-lifecycle-qpwdytc7.js} +29 -29
- package/dist/chunks/{git-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{git-4w5f3qm5.js → location-lifecycle-qwjmgwmn.js} +8 -8
- package/dist/chunks/{git-hpfvhvya.js → location-lifecycle-qxmaq0sm.js} +8 -8
- package/dist/chunks/{git-0ft9cg2j.js → location-lifecycle-r33ff4dw.js} +6 -6
- package/dist/chunks/{git-7yh4e7ss.js → location-lifecycle-r5x6zcsm.js} +3 -3
- package/dist/chunks/location-lifecycle-rap9a73h.js +18 -0
- package/dist/chunks/{git-m0s4j0vx.js → location-lifecycle-rd0515sr.js} +28 -28
- package/dist/chunks/{git-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-a149k0pw.js → location-lifecycle-rppj2eta.js} +15 -15
- package/dist/chunks/{git-a8htrd82.js → location-lifecycle-rptqmk3w.js} +6 -6
- package/dist/chunks/{git-yg6nt6v4.js → location-lifecycle-rtathh62.js} +8 -8
- package/dist/chunks/{git-jy3rwz12.js → location-lifecycle-rtd9dq1x.js} +27 -27
- package/dist/chunks/{git-wk5z6jzv.js → location-lifecycle-s1kvmffy.js} +9 -9
- package/dist/chunks/{git-a3r4dcrj.js → location-lifecycle-s8610hey.js} +2 -2
- package/dist/chunks/{git-adzwmyxf.js → location-lifecycle-sgt8ykaq.js} +15 -15
- package/dist/chunks/{git-6rhp9f1h.js → location-lifecycle-sgv71e4r.js} +20 -20
- package/dist/chunks/{git-s3dmvxak.js → location-lifecycle-stcpc9nh.js} +35 -35
- package/dist/chunks/{git-10r550b7.js → location-lifecycle-t61gq44b.js} +36 -36
- package/dist/chunks/{git-ngcyazz8.js → location-lifecycle-ta6p5fg7.js} +11 -11
- package/dist/chunks/{git-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{git-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
- package/dist/chunks/{git-dhmh7aw6.js → location-lifecycle-tz4n1mmd.js} +4 -4
- package/dist/chunks/{git-e7fged3g.js → location-lifecycle-tzz98ydv.js} +32 -32
- package/dist/chunks/{git-9gm387jw.js → location-lifecycle-v25pkgtb.js} +8 -8
- package/dist/chunks/{git-0sz4mzf8.js → location-lifecycle-v5s93khz.js} +27 -27
- package/dist/chunks/{git-gbhc6ywe.js → location-lifecycle-v5zkd8xa.js} +17 -17
- package/dist/chunks/{git-nap39a15.js → location-lifecycle-v78vah6b.js} +13 -13
- package/dist/chunks/{git-esp7reb4.js → location-lifecycle-vbqdcmkb.js} +20 -20
- package/dist/chunks/{git-8kmdq9aq.js → location-lifecycle-ve607rch.js} +40 -40
- package/dist/chunks/{git-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{git-6j9qywme.js → location-lifecycle-vf2hhpge.js} +11 -11
- package/dist/chunks/{git-qyj0qkkq.js → location-lifecycle-vg9qfrmb.js} +5 -5
- package/dist/chunks/{git-52d0p3cg.js → location-lifecycle-vhasbth3.js} +3 -3
- package/dist/chunks/{git-g04a706a.js → location-lifecycle-vj3xztss.js} +9 -9
- package/dist/chunks/{git-bct739vz.js → location-lifecycle-vncycja5.js} +4 -4
- package/dist/chunks/{git-mbfyshdn.js → location-lifecycle-vp53bvj2.js} +83 -83
- package/dist/chunks/{git-3z8t007d.js → location-lifecycle-vs58350y.js} +27 -27
- package/dist/chunks/{git-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-84txncab.js → location-lifecycle-w1eejvng.js} +5 -5
- package/dist/chunks/{git-bdp9qg1w.js → location-lifecycle-w25j3g45.js} +13 -13
- package/dist/chunks/{git-em054f3j.js → location-lifecycle-w3krrvhb.js} +16 -16
- package/dist/chunks/{git-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-45y17pkn.js → location-lifecycle-w83asxna.js} +5 -5
- package/dist/chunks/{git-wbkyxrgf.js → location-lifecycle-wbkyxrgf.js} +2 -2
- package/dist/chunks/{git-wd3x2cqz.js → location-lifecycle-wd3x2cqz.js} +2 -2
- package/dist/chunks/{git-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{git-02v793tm.js → location-lifecycle-wdw782p5.js} +8 -8
- package/dist/chunks/{git-5xpznt2d.js → location-lifecycle-wgtcm0m7.js} +4 -4
- package/dist/chunks/{git-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-7tw9ghjr.js → location-lifecycle-x3mxa5kz.js} +11 -11
- package/dist/chunks/{git-4ch7j1sz.js → location-lifecycle-x661k3y3.js} +4 -4
- package/dist/chunks/{git-154cngd0.js → location-lifecycle-xbp71ze3.js} +9 -9
- package/dist/chunks/{git-ra0ft92r.js → location-lifecycle-xgqhcagn.js} +5 -5
- package/dist/chunks/{git-kfn1shxw.js → location-lifecycle-xqwze6g8.js} +15 -15
- package/dist/chunks/{git-87wwy8za.js → location-lifecycle-xxaepykj.js} +13 -13
- package/dist/chunks/{git-16nrxpzh.js → location-lifecycle-xzfz3f2s.js} +13 -13
- package/dist/chunks/{git-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-y71avatq.js → location-lifecycle-y71avatq.js} +1 -1
- package/dist/chunks/{git-hgkqfzfv.js → location-lifecycle-ycvwaxym.js} +11 -11
- package/dist/chunks/{git-7ty99mn5.js → location-lifecycle-yedf9bfx.js} +5 -5
- package/dist/chunks/{git-hg9h6169.js → location-lifecycle-ykdzv960.js} +6 -6
- package/dist/chunks/{git-1acjjqhc.js → location-lifecycle-yp2x3t23.js} +4 -4
- package/dist/chunks/{git-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-yrznvahk.js → location-lifecycle-yrznvahk.js} +2 -2
- package/dist/chunks/{git-ftq5wxdn.js → location-lifecycle-yvm0wxhc.js} +8 -8
- package/dist/chunks/{git-z07pqspn.js → location-lifecycle-z07pqspn.js} +3 -3
- package/dist/chunks/{git-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-6etexda4.js → location-lifecycle-z4enzw37.js} +17 -17
- package/dist/chunks/{git-z63w68vq.js → location-lifecycle-z63w68vq.js} +2 -2
- package/dist/chunks/{git-3pbjq009.js → location-lifecycle-za4pw5w1.js} +8 -8
- package/dist/chunks/{git-dagryq3b.js → location-lifecycle-zahjqy66.js} +14 -14
- package/dist/chunks/{git-qvreyy9g.js → location-lifecycle-zd30eb5w.js} +5 -5
- package/dist/chunks/{git-cv9jj7zm.js → location-lifecycle-zea99hmn.js} +8 -8
- package/dist/chunks/{git-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-vptfm5hv.js → location-lifecycle-zmacrcex.js} +9 -9
- package/dist/chunks/{git-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-0kv8bc90.js → location-lifecycle-zr6d1hq1.js} +23 -23
- package/dist/chunks/{git-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-s7xn4jw7.js → location-lifecycle-zxvt3za1.js} +20 -20
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- 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 +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- 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 +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +2 -2
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/git-1pbwcgwx.js +0 -507
- package/dist/chunks/git-7fj5dwt0.js +0 -18
- package/dist/chunks/git-804fgeth.js +0 -26
- package/dist/chunks/git-8k2g2mjs.js +0 -252
- /package/dist/chunks/{git-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → location-lifecycle-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-ghcy2847.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-dfcdvdh6.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info24,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service60,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node62
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service60 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info24({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service60.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
79
|
+
const credential = new Info24({
|
|
80
|
+
id: input.id ?? ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node62 = makeGlobalNode({ service: Service60, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID10, OAuth3, Key3, Value2, Event16, Info24, Service60, node62, exports_credential };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin41,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin41 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin41, exports_identity };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-dfcdvdh6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./location-lifecycle-5f90fjb2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./location-lifecycle-pmrjcwca.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-rap9a73h.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service55,
|
|
18
|
+
node57
|
|
19
|
+
} from "./location-lifecycle-c8em0s1d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node24
|
|
22
|
+
} from "./location-lifecycle-mf9dvkqt.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service8,
|
|
25
|
+
node10
|
|
26
|
+
} from "./location-lifecycle-d4he2qe1.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
@@ -43,12 +43,12 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
45
|
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service55;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
|
+
const policy = yield* Service8;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
105
105
|
var node2 = makeLocationNode({
|
|
106
106
|
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node57, FSUtil.node, node83, node85, node87, node24, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-ghcy2847.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-0mpdx1vd.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-s8610hey.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service69,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node73
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service69 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service69.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service69, node73, exports_store };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-5d9e1zgn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./location-lifecycle-pmrjcwca.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service67,
|
|
13
|
+
node71
|
|
14
|
+
} from "./location-lifecycle-ct2pt04d.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service16,
|
|
26
|
+
node: () => node18,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service16 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service67;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service16.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node18 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node83, node71] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service16, resolvePath2, node18, exports_file_access };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info30 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info30, SessionSchema2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service51,
|
|
3
|
+
node53
|
|
4
|
+
} from "./location-lifecycle-8mseex61.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions2 = {};
|
|
17
17
|
__export(exports_instructions2, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service24,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service24 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service51;
|
|
64
|
+
return Service24.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,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make20({
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node27 = makeLocationNode({ service: Service24, layer, deps: [node53] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service24, node27, exports_instructions2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node64
|
|
7
|
+
} from "./location-lifecycle-6ed4xda8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service19,
|
|
17
|
+
node: () => node21,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service19 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service61;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service19.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node21 = makeLocationNode({ service: Service19, layer, deps: [node64] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service19, readText2, syncTextBom2, node21, exports_file_mutation };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-99fnjfmf.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service56
|
|
3
|
-
} from "./git-ve3qrhhk.js";
|
|
4
1
|
import {
|
|
5
2
|
Service55
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-c8em0s1d.js";
|
|
4
|
+
import {
|
|
5
|
+
Service54
|
|
6
|
+
} from "./location-lifecycle-3ymf6fhm.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-rptqmk3w.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin28
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin28 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service54;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service55;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin12 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin28, exports_compatibility };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./location-lifecycle-pmrjcwca.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-zxvt3za1.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin37,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin37 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin37, exports_git };
|