@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,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-y07gmyf9.js";
|
|
8
8
|
import {
|
|
9
9
|
Event17,
|
|
10
10
|
Service72,
|
|
11
11
|
node76
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-vtqj2nn1.js";
|
|
13
13
|
import {
|
|
14
|
-
Service73,
|
|
15
|
-
node77
|
|
16
|
-
} from "./job-csk77y77.js";
|
|
17
|
-
import {
|
|
18
|
-
Service56,
|
|
19
|
-
node58
|
|
20
|
-
} from "./job-8z7qasvp.js";
|
|
21
|
-
import {
|
|
22
|
-
ID16,
|
|
23
14
|
Service79,
|
|
24
15
|
node83
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./location-degw2fzn.js";
|
|
17
|
+
import {
|
|
18
|
+
Service53,
|
|
19
|
+
node57
|
|
20
|
+
} from "./location-54btsc2b.js";
|
|
21
|
+
import {
|
|
22
|
+
ID12,
|
|
23
|
+
Service73,
|
|
24
|
+
node77
|
|
25
|
+
} from "./location-1k5x2qhk.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node75
|
|
35
|
+
} from "./location-9p3nq51p.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service38,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer16,
|
|
58
|
+
node: () => node41
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,20 +93,20 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service79;
|
|
106
|
+
const environment = yield* Service53;
|
|
107
107
|
const bus = yield* Service82;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
108
|
+
const forms = yield* Service73;
|
|
109
|
+
const integration = yield* Service71;
|
|
110
110
|
const credentials = yield* Service72;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID10.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -144,7 +144,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -156,7 +156,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID12.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service38.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured5(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service38,
|
|
516
|
+
layer: layer16(options),
|
|
517
|
+
deps: [node83, node57, node86, node77, node75, node76]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node41 = configured5();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer16, configured5, node41, exports_mcp4 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info24 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info24, key2, exports_connection };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-7d5kf786.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-4cc1h1mq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-tbc1560d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-jvbe9kz0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info22.make({
|
|
98
|
+
...Info22.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-s7dp56a3.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,65 +1,65 @@
|
|
|
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
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-26k5bknw.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-98s8e1rw.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-b97cbvw3.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-wgxkb9zp.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-1e0grdj1.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-x0809vwh.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./location-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./location-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service9,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node11,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer6 = Layer.effect(
|
|
301
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service82;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service83).db;
|
|
@@ -607,7 +607,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
});
|
|
610
|
-
return
|
|
610
|
+
return Service9.of({
|
|
611
611
|
transform: state.transform,
|
|
612
612
|
reload: state.reload,
|
|
613
613
|
enabled: () => state.get().auto,
|
|
@@ -616,10 +616,10 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
616
616
|
compactManual
|
|
617
617
|
});
|
|
618
618
|
}));
|
|
619
|
-
var
|
|
620
|
-
service:
|
|
619
|
+
var node11 = makeLocationNode({
|
|
620
|
+
service: Service9,
|
|
621
621
|
layer: layer6,
|
|
622
622
|
deps: [node86, node87, llmClient2]
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
export {
|
|
625
|
+
export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./location-6rr5h8pv.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./location-54btsc2b.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service68
|
|
16
|
+
} from "./location-dhxed570.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service74
|
|
19
|
+
} from "./location-t4qbbbps.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service58,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-92pdxfkb.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service48,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mamkxpqt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service43
|
|
37
|
+
} from "./location-2qfd01hw.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./location-8215kpvq.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-40rqm2bh.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin13,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name12 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input12 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin13 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service26;
|
|
122
|
+
const jobs = yield* Service68;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service53;
|
|
125
|
+
const access = yield* Service58;
|
|
126
|
+
const shell = yield* Service43;
|
|
127
|
+
const shellSelect = yield* Service48;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service74;
|
|
130
|
+
const config = yield* Service46;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin9 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name12,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin9 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name12,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input12,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin9 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name12,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name12];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin13, exports_shell };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-y6gnhzkc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID5.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|