@opencode/core 0.0.0-dev-19750 → 0.0.0-dev-19754
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 +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{job-rsb3r1at.js → location-05ygg3qe.js} +4 -4
- package/dist/chunks/{job-y0q5x5d6.js → location-08f3efvy.js} +4 -4
- package/dist/chunks/{job-n6rt551t.js → location-0dx2y7e9.js} +35 -35
- package/dist/chunks/{job-pf2hb43r.js → location-0ft9cg2j.js} +4 -4
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{job-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-g0sety0r.js → location-19hqpwt2.js} +30 -30
- package/dist/chunks/{job-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-ajrq8mb2.js → location-1e0grdj1.js} +4 -4
- package/dist/chunks/{job-mzhb90k8.js → location-1k5x2qhk.js} +25 -25
- package/dist/chunks/{job-f27tc57e.js → location-1ttp1ytm.js} +10 -10
- package/dist/chunks/{job-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{job-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{job-msq0jde0.js → location-26k5bknw.js} +4 -4
- package/dist/chunks/{job-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-e1bnaych.js → location-2a6t769v.js} +26 -26
- package/dist/chunks/{job-9kfttatn.js → location-2cxfa0dv.js} +35 -35
- package/dist/chunks/{job-1f5fvxkw.js → location-2pjqnemj.js} +13 -13
- package/dist/chunks/{job-ac0y39cd.js → location-2qfd01hw.js} +46 -46
- package/dist/chunks/{job-33w4ejhs.js → location-33w4ejhs.js} +2 -2
- package/dist/chunks/{job-3gyx8qas.js → location-3dgv3hjd.js} +44 -44
- package/dist/chunks/{job-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-m69ytysw.js → location-3jvz8kdw.js} +15 -15
- package/dist/chunks/{job-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-3w0fmcng.js → location-3w0fmcng.js} +2 -2
- package/dist/chunks/{job-6914g88p.js → location-40rqm2bh.js} +4 -4
- package/dist/chunks/{job-f3btqy3n.js → location-42htsy3g.js} +44 -44
- package/dist/chunks/{job-5mtzsd3b.js → location-44h5tttr.js} +4 -4
- package/dist/chunks/{job-xhp7tec4.js → location-470p2a86.js} +3 -3
- package/dist/chunks/{job-hwprykwj.js → location-4a5qb9ne.js} +12 -12
- package/dist/chunks/{job-4azewpwe.js → location-4cc1h1mq.js} +3 -3
- package/dist/chunks/{job-dfnzfz25.js → location-4dhnehv0.js} +22 -22
- package/dist/chunks/{job-pcra6mkj.js → location-4pegme4e.js} +43 -43
- package/dist/chunks/{job-j74g3tqy.js → location-4qzjx893.js} +6 -6
- package/dist/chunks/{job-hhqz84ye.js → location-4s40p9k7.js} +26 -26
- package/dist/chunks/{job-5w847pea.js → location-4t1cgb8z.js} +9 -9
- package/dist/chunks/{job-hdqjrtj4.js → location-4ymr1qre.js} +3 -3
- package/dist/chunks/{job-xdkrc6q1.js → location-4zrmry1a.js} +9 -9
- package/dist/chunks/{job-913x7je8.js → location-50pydq1b.js} +5 -5
- package/dist/chunks/{job-6cafgrxj.js → location-53we3s11.js} +16 -16
- package/dist/chunks/{job-8z7qasvp.js → location-54btsc2b.js} +24 -24
- package/dist/chunks/{job-57ez7d0k.js → location-57ez7d0k.js} +2 -2
- package/dist/chunks/{job-8b88sbb8.js → location-5895fefb.js} +3 -3
- package/dist/chunks/{job-s9cc1fr9.js → location-58je2fax.js} +11 -11
- package/dist/chunks/{job-xagnd2e6.js → location-59k38er6.js} +24 -24
- package/dist/chunks/{job-awxsahfx.js → location-59t0awad.js} +13 -13
- package/dist/chunks/{job-91m9hd8f.js → location-5cmxdwv8.js} +3 -3
- package/dist/chunks/{job-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{job-13m9c5q2.js → location-5djjmt2r.js} +5 -5
- package/dist/chunks/{job-3wm2cje7.js → location-5ncvss9b.js} +22 -22
- package/dist/chunks/{job-6jvx2wv8.js → location-5rj11cww.js} +5 -5
- package/dist/chunks/{job-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-tpw6cwsb.js → location-5yzzbxa7.js} +8 -8
- package/dist/chunks/{job-9m5npvv6.js → location-60txwd5f.js} +8 -8
- package/dist/chunks/location-619r8v3y.js +18 -0
- package/dist/chunks/{job-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{job-60g97py5.js → location-6kqg9tnj.js} +68 -68
- package/dist/chunks/{job-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-wtz46evs.js → location-6qr3rp4k.js} +8 -8
- package/dist/chunks/{job-4b3r418a.js → location-6r44w5n7.js} +16 -16
- package/dist/chunks/{job-bm37spdt.js → location-6r7eqvte.js} +25 -25
- package/dist/chunks/location-6rph4hcx.js +49 -0
- package/dist/chunks/{job-cywwwsrk.js → location-6rr5h8pv.js} +34 -34
- package/dist/chunks/{job-ns0wn83k.js → location-6vfz26fc.js} +5 -5
- package/dist/chunks/{job-vpcvkgny.js → location-6znat1zd.js} +9 -9
- package/dist/chunks/{job-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-d9cqvg8s.js → location-7d5kf786.js} +3 -3
- package/dist/chunks/{job-kq1b99fm.js → location-7ehep04d.js} +10 -10
- package/dist/chunks/{job-5kbshkb8.js → location-7k4e5m1f.js} +13 -13
- package/dist/chunks/{job-a3dhx74t.js → location-7kkf9gtp.js} +9 -9
- package/dist/chunks/{job-b7v0ejbk.js → location-7zff5f2w.js} +16 -16
- package/dist/chunks/{job-v4w3e683.js → location-8215kpvq.js} +87 -87
- package/dist/chunks/{job-b7sa8c0h.js → location-82h62x3b.js} +35 -35
- package/dist/chunks/{job-6pzw4973.js → location-880p7epb.js} +5 -5
- package/dist/chunks/{job-bcreqe71.js → location-8b5x2rym.js} +7 -7
- package/dist/chunks/{job-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-dj2t23y0.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{job-91p9nzjg.js → location-8yt4q9vr.js} +20 -20
- package/dist/chunks/{job-1ycfewzc.js → location-92pdxfkb.js} +18 -18
- package/dist/chunks/{job-m3w1hak0.js → location-98s8e1rw.js} +8 -8
- package/dist/chunks/{job-hg2vx4zj.js → location-9b3vnfxp.js} +11 -11
- package/dist/chunks/{job-179189h4.js → location-9h41vc4j.js} +4 -4
- package/dist/chunks/{job-hkwfkgzx.js → location-9k0trt10.js} +11 -11
- package/dist/chunks/{job-5hd5pzr2.js → location-9mnrwx6c.js} +12 -12
- package/dist/chunks/{job-r7y4726e.js → location-9p3nq51p.js} +21 -21
- package/dist/chunks/{job-typ0bw30.js → location-9x1ezptv.js} +36 -36
- package/dist/chunks/{job-hnntwa9j.js → location-9yh9j0es.js} +15 -15
- package/dist/chunks/{job-j89j3j4q.js → location-9zyewfa2.js} +295 -295
- package/dist/chunks/{job-5c4hm403.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{job-2pwjt9b6.js → location-a6akvax8.js} +11 -11
- package/dist/chunks/location-a88bzxj7.js +252 -0
- package/dist/chunks/{job-74zg2pc7.js → location-a8daz2nm.js} +20 -20
- package/dist/chunks/{job-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{job-2rfe45q1.js → location-ae9xvxm4.js} +26 -26
- package/dist/chunks/{job-1pjertdr.js → location-aq2hhbb5.js} +10 -10
- package/dist/chunks/{job-5s8r4cby.js → location-azx4vnej.js} +15 -15
- package/dist/chunks/{job-y4fqvq2g.js → location-b1a82khe.js} +13 -13
- package/dist/chunks/{job-3vqcz1ge.js → location-b54zk12g.js} +25 -25
- package/dist/chunks/{job-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-pstg3rfm.js → location-b97cbvw3.js} +1 -1
- package/dist/chunks/{job-kypjpdwq.js → location-b9y9tgv9.js} +10 -10
- package/dist/chunks/{job-qj5gjkmj.js → location-bdsqc29r.js} +17 -17
- package/dist/chunks/{job-2tfmgkzg.js → location-bha4atvq.js} +4 -4
- package/dist/chunks/{job-p7a39gy5.js → location-bw9zjykr.js} +6 -6
- package/dist/chunks/{job-pvy68yra.js → location-bx7pdy00.js} +11 -11
- package/dist/chunks/{job-40k7r1a0.js → location-c0g1hmz8.js} +11 -11
- package/dist/chunks/{job-a1bz16p2.js → location-c0g79gjn.js} +15 -15
- package/dist/chunks/{job-5f90fjb2.js → location-c488s98d.js} +5 -5
- package/dist/chunks/{job-jw80jp6b.js → location-cavr175a.js} +4 -4
- package/dist/chunks/{job-m93xnq36.js → location-ccc8z42m.js} +21 -21
- package/dist/chunks/{job-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{job-74e20efm.js → location-cpwynne0.js} +18 -18
- package/dist/chunks/{job-vwpcpzep.js → location-cq9vh2fv.js} +8 -8
- package/dist/chunks/{job-rt9v3r5z.js → location-cv9se371.js} +13 -13
- package/dist/chunks/{job-qmqgtz8f.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{job-qa8n2dqg.js → location-cxgtjqh0.js} +4 -4
- package/dist/chunks/{job-d5an5nag.js → location-cxp0yhm4.js} +32 -32
- package/dist/chunks/{job-kwb80b5k.js → location-d1x6gan2.js} +8 -8
- package/dist/chunks/{job-20z9p9jv.js → location-d7b05d6k.js} +41 -41
- package/dist/chunks/{job-q5xvhvda.js → location-dcse214k.js} +6 -6
- package/dist/chunks/{job-csk77y77.js → location-degw2fzn.js} +12 -12
- package/dist/chunks/{job-adwtw4r7.js → location-dfw05mcb.js} +8 -8
- package/dist/chunks/{job-ge3p1t28.js → location-dhxed570.js} +15 -15
- package/dist/chunks/{job-7s4e5k0s.js → location-dk38q76h.js} +5 -5
- package/dist/chunks/{job-drwq78ky.js → location-drwq78ky.js} +1 -1
- package/dist/chunks/{job-5571xw2s.js → location-e2f1r03f.js} +32 -32
- package/dist/chunks/{job-dt6wtwq3.js → location-e4s5wsx0.js} +22 -22
- package/dist/chunks/{job-eaj1djv9.js → location-eaj1djv9.js} +1 -1
- package/dist/chunks/{job-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-4qdmv3g1.js → location-efbgs6vz.js} +26 -26
- package/dist/chunks/{job-yc3jebk0.js → location-eg1gpj3a.js} +13 -13
- package/dist/chunks/{job-yz6r7j6q.js → location-ej65p0rp.js} +19 -19
- package/dist/chunks/{job-erw5rpbs.js → location-erw5rpbs.js} +2 -2
- package/dist/chunks/{job-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-ygw2d79h.js → location-f2dc96r8.js} +6 -6
- package/dist/chunks/{job-kf0jck9y.js → location-f5fjq72r.js} +24 -24
- package/dist/chunks/{job-40dr47j5.js → location-f6jdw9wk.js} +20 -20
- package/dist/chunks/{job-hdnk95c8.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{job-8fyegk21.js → location-fbawcmnd.js} +3 -3
- package/dist/chunks/{job-vk30jnc7.js → location-fexw5mvn.js} +12 -12
- package/dist/chunks/{job-nscznvay.js → location-fhs97t90.js} +9 -9
- package/dist/chunks/{job-xqrwa75f.js → location-fn5vdp5m.js} +86 -86
- package/dist/chunks/{job-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-ba4w6g48.js → location-g17wn8cw.js} +12 -12
- package/dist/chunks/{job-x1xcpfha.js → location-g4damz2s.js} +9 -9
- package/dist/chunks/{job-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-qte5z7bc.js → location-gg7pg1rj.js} +5 -5
- package/dist/chunks/{job-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-n9f59pf7.js → location-gwvxqpv7.js} +20 -20
- package/dist/chunks/{job-tec5y437.js → location-gyve3rq7.js} +5 -5
- package/dist/chunks/{job-pdccwdmv.js → location-h13g856r.js} +27 -27
- package/dist/chunks/{job-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-zkc0zcyj.js → location-hbmxcjqj.js} +38 -38
- package/dist/chunks/{job-ysymny8f.js → location-hmp1x13k.js} +2 -2
- package/dist/chunks/{job-xhpbzw0d.js → location-hn0f0zdj.js} +17 -17
- package/dist/chunks/{job-938ebd8s.js → location-htnsynwp.js} +11 -11
- package/dist/chunks/{job-rhmxhgd0.js → location-hyrejdvv.js} +1 -1
- package/dist/chunks/{job-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{job-ea2yn5et.js → location-jdjpygpn.js} +1 -1
- package/dist/chunks/{job-h713mcwk.js → location-jn3dn3tv.js} +17 -17
- package/dist/chunks/{job-m1h7kgjw.js → location-jp0yz35h.js} +10 -10
- package/dist/chunks/{job-fyxt6bhy.js → location-jv1xxs7q.js} +14 -14
- package/dist/chunks/{job-aj1f0whz.js → location-jvbe9kz0.js} +30 -30
- package/dist/chunks/{job-4n7gtawk.js → location-jw0h1ja3.js} +25 -25
- package/dist/chunks/{job-fkjmw100.js → location-knb7evpn.js} +6 -6
- package/dist/chunks/{job-tvp8rve0.js → location-kxz8htra.js} +39 -39
- package/dist/chunks/{job-nb9p6b26.js → location-m0r31qfn.js} +4 -4
- package/dist/chunks/{job-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-cfs33k05.js → location-m479avaq.js} +8 -8
- package/dist/chunks/{job-ngyh2xat.js → location-m4fv4r77.js} +16 -16
- package/dist/chunks/{job-2k3x41zv.js → location-m7j0w58y.js} +8 -8
- package/dist/chunks/{job-pa2a5w63.js → location-m81yw74a.js} +3 -3
- package/dist/chunks/{job-hc4fnx3k.js → location-m9g140gf.js} +4 -4
- package/dist/chunks/{job-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-mh5wyt4r.js → location-mamkxpqt.js} +22 -22
- package/dist/chunks/{job-sd11ez4q.js → location-mfq58xys.js} +7 -7
- package/dist/chunks/{job-73tb2d7t.js → location-mhkvc446.js} +3 -3
- package/dist/chunks/{job-xd1hn0xe.js → location-my3nbca3.js} +5 -5
- package/dist/chunks/{job-zmg7pjzw.js → location-n4kesxxz.js} +11 -11
- package/dist/chunks/{job-pwtp0t94.js → location-n6151p29.js} +10 -10
- package/dist/chunks/{job-a7hrha0t.js → location-n6v1p1rv.js} +11 -11
- package/dist/chunks/{job-dg5bcj4q.js → location-ndqtf2h8.js} +4 -4
- package/dist/chunks/{job-w938akkd.js → location-nfw2844t.js} +22 -22
- package/dist/chunks/{job-6fatt4mk.js → location-njhqdk9p.js} +9 -9
- package/dist/chunks/{job-y0ahz58r.js → location-npajmshb.js} +5 -5
- package/dist/chunks/{job-frjhsfhj.js → location-nqq83r9p.js} +50 -50
- package/dist/chunks/{job-s0ncx931.js → location-nw2grrtp.js} +33 -33
- package/dist/chunks/{job-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{job-p28j5sbe.js → location-p28j5sbe.js} +2 -2
- package/dist/chunks/{job-k6420stv.js → location-p5sk6m23.js} +30 -30
- package/dist/chunks/{job-wtvsn9fs.js → location-p9xqg7t9.js} +9 -9
- package/dist/chunks/{job-a02j18dy.js → location-pd9nn3ne.js} +14 -14
- package/dist/chunks/{job-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{job-dmqaspa7.js → location-praqn373.js} +9 -9
- package/dist/chunks/location-pzkt74ah.js +26 -0
- package/dist/chunks/{job-rv12w8vt.js → location-q31adfz8.js} +7 -7
- package/dist/chunks/{job-k8dasee7.js → location-q8peyv7x.js} +5 -5
- package/dist/chunks/{job-8m61drr3.js → location-qfx54062.js} +8 -8
- package/dist/chunks/{job-qgn6gcr1.js → location-qgn6gcr1.js} +1 -1
- package/dist/chunks/{job-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{job-97bh2sm1.js → location-qx8pr09x.js} +3 -3
- package/dist/chunks/{job-9xnbs488.js → location-r312qztd.js} +23 -23
- package/dist/chunks/{job-4bfeayzr.js → location-r86jh9fw.js} +25 -25
- package/dist/chunks/{job-f2n192rq.js → location-r8xr0va3.js} +4 -4
- package/dist/chunks/{job-5543h9jq.js → location-rb3ck9sj.js} +5 -5
- package/dist/chunks/{job-1xs14nxh.js → location-rcnj0rme.js} +33 -33
- package/dist/chunks/{job-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-v37hnymp.js → location-rny3dqzs.js} +8 -8
- package/dist/chunks/{job-xe6cmgbq.js → location-s4t99ejd.js} +11 -11
- package/dist/chunks/{job-bz1r5mv1.js → location-s5g2gr5j.js} +14 -14
- package/dist/chunks/{job-9mrvgg68.js → location-s7dp56a3.js} +47 -47
- package/dist/chunks/{job-vx3kqe1h.js → location-s7j02z9m.js} +9 -9
- package/dist/chunks/{job-p44d8wdy.js → location-s8zy8myc.js} +5 -5
- package/dist/chunks/{job-dnbdzmbm.js → location-sdep53ed.js} +13 -13
- package/dist/chunks/{job-96sdg91b.js → location-skgxmk24.js} +25 -25
- package/dist/chunks/{job-a9wy5asy.js → location-sztr4n2w.js} +24 -24
- package/dist/chunks/{job-vmx52y2a.js → location-t3aez6g2.js} +16 -16
- package/dist/chunks/{job-dmgkx8hy.js → location-t4267b90.js} +4 -4
- package/dist/chunks/{job-wc2fqzkf.js → location-t4qbbbps.js} +55 -55
- package/dist/chunks/{job-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-359csp35.js → location-tbc1560d.js} +32 -32
- package/dist/chunks/{job-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{job-mwxbdqkm.js → location-tjnkxtjb.js} +181 -181
- package/dist/chunks/{job-6hh8tjw2.js → location-tkmwgdpd.js} +7 -7
- package/dist/chunks/{job-swzzr2y1.js → location-tknq6q93.js} +17 -17
- package/dist/chunks/{job-nmv26jra.js → location-tr0b1em8.js} +9 -9
- package/dist/chunks/{job-r3pwtkjs.js → location-tr98cyyj.js} +30 -30
- package/dist/chunks/{job-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{job-ngts6ef0.js → location-tx9w5tca.js} +8 -8
- package/dist/chunks/{job-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{job-g2yc4nhb.js → location-vj505gsk.js} +19 -19
- package/dist/chunks/{job-b07rpg7m.js → location-vmgq4x8b.js} +2 -2
- package/dist/chunks/{job-gvwmjjns.js → location-vmwh049b.js} +6 -6
- package/dist/chunks/{job-w09w3g0n.js → location-vn7akvp0.js} +18 -18
- package/dist/chunks/{job-bct739vz.js → location-vncycja5.js} +4 -4
- package/dist/chunks/{job-j43s6hh6.js → location-vtqj2nn1.js} +14 -14
- package/dist/chunks/{job-rah4gqt4.js → location-vtt21ede.js} +7 -7
- package/dist/chunks/{job-zcrew02j.js → location-vx82sa08.js} +14 -14
- package/dist/chunks/{job-nst5sezg.js → location-vyyew2bd.js} +22 -22
- package/dist/chunks/{job-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-6gw9jdmb.js → location-w1nh38jn.js} +15 -15
- package/dist/chunks/{job-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{job-29s83sv3.js → location-wgxkb9zp.js} +30 -30
- package/dist/chunks/{job-82p39xr4.js → location-wm55hp8j.js} +19 -19
- package/dist/chunks/{job-32agryyw.js → location-wyx7s1ws.js} +44 -44
- package/dist/chunks/{job-xhbt1w4c.js → location-x0809vwh.js} +3 -3
- package/dist/chunks/{job-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-hvrqesbf.js → location-x4vmrnra.js} +9 -9
- package/dist/chunks/{job-mg8rb167.js → location-x7hqa4ja.js} +17 -17
- package/dist/chunks/{job-c3287d1h.js → location-xbra3s6q.js} +35 -35
- package/dist/chunks/{job-f7at90d9.js → location-xdtsb8mr.js} +13 -13
- package/dist/chunks/{job-rm256x5y.js → location-y07gmyf9.js} +4 -4
- package/dist/chunks/{job-vtx958sq.js → location-y19agrsy.js} +20 -20
- package/dist/chunks/{job-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-mpgeqjgs.js → location-y2vx680w.js} +24 -24
- package/dist/chunks/{job-j4j550rd.js → location-y6gnhzkc.js} +24 -24
- package/dist/chunks/{job-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{job-js3keqqh.js → location-yj1rgshd.js} +34 -34
- package/dist/chunks/{job-762r0j46.js → location-ykczf8eq.js} +5 -5
- package/dist/chunks/{job-d1tvh4ge.js → location-ykjyqz5q.js} +15 -15
- package/dist/chunks/{job-8bhn792h.js → location-ymd8awj8.js} +3 -3
- package/dist/chunks/{job-s2w42wf0.js → location-ynnt83sx.js} +16 -16
- package/dist/chunks/{job-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{job-b72kh71w.js → location-yt8as05q.js} +6 -6
- package/dist/chunks/{job-619gyt83.js → location-z0ase6az.js} +11 -11
- package/dist/chunks/{job-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-3jhv2bht.js → location-z2xg158e.js} +11 -11
- package/dist/chunks/{job-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{job-kjwwhfxd.js → location-zatg04pf.js} +20 -20
- package/dist/chunks/{job-ddt2bs9e.js → location-zee1rnkq.js} +4 -4
- package/dist/chunks/{job-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-k0a89ygs.js → location-zrvkv1b7.js} +26 -26
- package/dist/chunks/{job-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- 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 +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- 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 +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +65 -65
- 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.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 +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- 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 +354 -354
- package/dist/location.js +86 -86
- 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 +74 -74
- 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 +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- 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 +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +2 -2
- 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 +111 -111
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- 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 +122 -122
- 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 +12 -12
- package/dist/types/v1/config/migrate.d.ts +1 -1
- 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 +2 -2
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/job-egetzy34.js +0 -38
- package/dist/chunks/job-ht5y0zrb.js +0 -18
- package/dist/chunks/job-qe1h87c9.js +0 -252
- package/dist/chunks/job-t721ff2z.js +0 -26
- package/dist/chunks/job-z926abd4.js +0 -4
- /package/dist/chunks/{job-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-c488s98d.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service69,
|
|
16
|
+
node73
|
|
17
|
+
} from "./location-jp0yz35h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service52,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node56,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service52 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service69;
|
|
110
|
+
return Service52.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node56 = makeGlobalNode({
|
|
171
|
+
service: Service52,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node85, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node73]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service52, isError2, validateBranch2, node56, exports_repository_cache };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9k0trt10.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin15,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin15 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin21 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin21 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint3, Plugin15, exports_parallel };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service81,
|
|
9
9
|
node85
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-c488s98d.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./location-degw2fzn.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service40,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node43,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service40 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node43 = makeLocationNode({
|
|
144
|
+
service: Service40,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node, node85, Global.node,
|
|
146
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service63, Service63.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error3, Service40, node43, noopLayer2, exports_snapshot2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service78,
|
|
10
|
+
node: () => node82
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service78 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service78.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service78, node82, exports_hooks };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-y07gmyf9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-degw2fzn.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service76,
|
|
14
|
+
node80
|
|
15
|
+
} from "./location-jv1xxs7q.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service76;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node86, FSUtil.node,
|
|
101
|
+
deps: [node86, FSUtil.node, node83, node80]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-5cmxdwv8.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-5cmxdwv8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError10,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError10, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID5,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service39,
|
|
13
|
+
node42
|
|
14
|
+
} from "./location-y6gnhzkc.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions3 = {};
|
|
21
|
+
__export(exports_instructions3, {
|
|
22
|
+
Service: () => Service31,
|
|
23
|
+
SkillInstructions: () => exports_instructions3,
|
|
24
|
+
node: () => node35
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID5,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,11 +60,11 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service31 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service39;
|
|
67
|
+
return Service31.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [node42] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service31, node35, exports_instructions3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_skills };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-470p2a86.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-y07gmyf9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-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
23
|
Event: () => Event17,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
28
|
Service: () => Service72,
|
|
@@ -34,14 +34,14 @@ 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 ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service72, 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:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -195,4 +195,4 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
195
195
|
}));
|
|
196
196
|
var node76 = makeGlobalNode({ service: Service72, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event17, Info26, Service72, node76, exports_credential };
|