@opencode/core 0.0.0-dev-20113 → 0.0.0-dev-20115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{image-sz613scp.js → generate-058r5a9s.js} +16 -16
- package/dist/chunks/{image-7x2nsmvk.js → generate-05v90r5t.js} +29 -29
- package/dist/chunks/{image-8vn671xv.js → generate-0cazcqtd.js} +13 -13
- package/dist/chunks/{image-5vbx7n99.js → generate-0cgtmc8a.js} +12 -12
- package/dist/chunks/{image-p88md3q8.js → generate-0jq9fyba.js} +9 -9
- package/dist/chunks/generate-0mesazry.js +4 -0
- package/dist/chunks/{image-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-e6hmchc5.js → generate-0r7yqxbf.js} +5 -5
- package/dist/chunks/{image-pyfvkh5e.js → generate-0rkxpd3w.js} +14 -14
- package/dist/chunks/{image-sbw74b5r.js → generate-0z594a3n.js} +82 -82
- package/dist/chunks/{image-xy39rfb7.js → generate-135dqwpd.js} +9 -9
- package/dist/chunks/{image-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-qxc8r00e.js → generate-1wj59nq5.js} +11 -11
- package/dist/chunks/{image-npamt89n.js → generate-1wqg2ck8.js} +23 -23
- package/dist/chunks/{image-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{image-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{image-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-aemd976n.js → generate-2fghpfkp.js} +43 -43
- package/dist/chunks/{image-4sn99hha.js → generate-2fgn2we9.js} +5 -5
- package/dist/chunks/{image-6c5w8k1k.js → generate-2qd48t7m.js} +12 -12
- package/dist/chunks/{image-djszqvmq.js → generate-2sejkfem.js} +9 -9
- package/dist/chunks/{image-5ymhfyg0.js → generate-2tdwad47.js} +17 -17
- package/dist/chunks/{image-0j3d6amx.js → generate-2tf17v0s.js} +12 -12
- package/dist/chunks/{image-ybv07nhy.js → generate-2y92msa0.js} +8 -8
- package/dist/chunks/{image-gmmv7n6h.js → generate-2z03bkx6.js} +5 -5
- package/dist/chunks/{image-5b4stqbr.js → generate-312csvmh.js} +10 -10
- package/dist/chunks/{image-33w4ejhs.js → generate-33w4ejhs.js} +2 -2
- package/dist/chunks/{image-jp4k4cwe.js → generate-36nf603s.js} +32 -32
- package/dist/chunks/{image-rey4n0wx.js → generate-3bw4v39f.js} +9 -9
- package/dist/chunks/{image-7b3690ew.js → generate-3dx765w3.js} +12 -12
- package/dist/chunks/{image-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-t1gfjrf3.js → generate-3gc9tq7p.js} +11 -11
- package/dist/chunks/{image-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-f9kxw7ch.js → generate-3ka6c8fj.js} +47 -47
- package/dist/chunks/{image-gfr393vr.js → generate-3n114cxc.js} +15 -15
- package/dist/chunks/{image-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-770exhkv.js → generate-3v0kbfet.js} +6 -6
- package/dist/chunks/{image-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{image-wfzvfztp.js → generate-408p2t6a.js} +32 -32
- package/dist/chunks/{image-kbqaqrep.js → generate-4478d6jr.js} +22 -22
- package/dist/chunks/{image-nzyhnfxz.js → generate-44h5tttr.js} +4 -4
- package/dist/chunks/{image-zg5a92pj.js → generate-48yaw2g6.js} +35 -35
- package/dist/chunks/{image-10xqw9ew.js → generate-4krywg4p.js} +10 -10
- package/dist/chunks/{image-ry00nx84.js → generate-4sx6m46k.js} +7 -7
- package/dist/chunks/{image-634rmh9x.js → generate-4vd7n6yw.js} +1 -1
- package/dist/chunks/{image-fmjrtwa9.js → generate-4wgvb1zg.js} +8 -8
- package/dist/chunks/{image-pr3detqk.js → generate-4yqq56vx.js} +24 -24
- package/dist/chunks/{image-f207cexx.js → generate-4z9rzteq.js} +25 -25
- package/dist/chunks/{image-663rft7j.js → generate-500fmqbd.js} +11 -11
- package/dist/chunks/{image-22e5vd5e.js → generate-50d7ccq3.js} +16 -16
- package/dist/chunks/{image-p1xmed22.js → generate-5c9sd73s.js} +8 -8
- package/dist/chunks/{image-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{image-5ekn9679.js → generate-5ekn9679.js} +1 -1
- package/dist/chunks/{image-1ewy1br2.js → generate-5na67w3t.js} +4 -4
- package/dist/chunks/{image-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-k2trz52r.js → generate-5vs0p599.js} +25 -25
- package/dist/chunks/{image-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{image-52n3ytht.js → generate-6dxb6f6k.js} +27 -27
- package/dist/chunks/{image-efzf9zk4.js → generate-6fra3cd5.js} +5 -5
- package/dist/chunks/{image-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-w92k2e0p.js → generate-6pc27hjz.js} +4 -4
- package/dist/chunks/{image-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-myr9sre4.js → generate-7d7mc7nn.js} +18 -18
- package/dist/chunks/{image-7dqw4kz8.js → generate-7dqw4kz8.js} +1 -1
- package/dist/chunks/{image-jqt8mqsr.js → generate-7fzbbf6p.js} +19 -19
- package/dist/chunks/{image-av8mxqza.js → generate-7p3fcf52.js} +29 -29
- package/dist/chunks/{image-8rv81xk8.js → generate-7rats573.js} +17 -17
- package/dist/chunks/{image-yydg9xbw.js → generate-7vv29s32.js} +21 -21
- package/dist/chunks/{image-kh02fzyq.js → generate-7w8dz25z.js} +25 -25
- package/dist/chunks/{image-rqqqmm2x.js → generate-8aaqm6qj.js} +8 -8
- package/dist/chunks/{image-fx3wk6a3.js → generate-8bpcqbtr.js} +31 -31
- package/dist/chunks/{image-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-9p5nya9r.js → generate-8exb21m6.js} +21 -21
- package/dist/chunks/{image-nqaq94vp.js → generate-8j75q05v.js} +56 -56
- package/dist/chunks/{image-js0d1agj.js → generate-8k1taj4b.js} +20 -20
- package/dist/chunks/{image-c3parjrz.js → generate-8whe1ftd.js} +10 -10
- package/dist/chunks/{image-94ek1h2f.js → generate-94ek1h2f.js} +2 -2
- package/dist/chunks/{image-mpbb34q8.js → generate-96av1tye.js} +30 -30
- package/dist/chunks/{image-e05xq2f0.js → generate-9chjmrjd.js} +22 -22
- package/dist/chunks/{image-p8rb0j6p.js → generate-9gz4pnve.js} +18 -18
- package/dist/chunks/{image-3776wdme.js → generate-9hqhm2d2.js} +28 -28
- package/dist/chunks/{image-p1f33w0k.js → generate-9sp5ch6w.js} +35 -35
- package/dist/chunks/{image-jg9t1rv4.js → generate-a1fy41p6.js} +83 -83
- package/dist/chunks/{image-yz5517fk.js → generate-a22s65z7.js} +28 -28
- package/dist/chunks/{image-nbrsdxg4.js → generate-a54cg76a.js} +25 -25
- package/dist/chunks/{image-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{image-xhbqsxyx.js → generate-ahwm19b7.js} +38 -38
- package/dist/chunks/{image-2yzp2mzj.js → generate-arzv5pyn.js} +21 -21
- package/dist/chunks/{image-1m26q0f9.js → generate-aw6rh0e0.js} +15 -15
- package/dist/chunks/{image-c620ddxt.js → generate-b0rvnc5h.js} +45 -45
- package/dist/chunks/{image-1zdkxdab.js → generate-b5vd5f2s.js} +3 -3
- package/dist/chunks/{image-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-3s216tfs.js → generate-ba3st6n3.js} +2 -2
- package/dist/chunks/{image-9wfqyrmt.js → generate-basnvkrt.js} +3 -3
- package/dist/chunks/{image-58v8j9r6.js → generate-bfhawprk.js} +9 -9
- package/dist/chunks/{image-z30vtyeh.js → generate-bgbs76xx.js} +24 -24
- package/dist/chunks/{image-8ayafdqn.js → generate-bmbezxvj.js} +10 -10
- package/dist/chunks/{image-tpx0gc93.js → generate-bt5w0njk.js} +30 -30
- package/dist/chunks/{image-zy43x3f1.js → generate-btbmdjwj.js} +4 -4
- package/dist/chunks/{image-qj8eh1ht.js → generate-cavr175a.js} +4 -4
- package/dist/chunks/{image-xhtm5rzq.js → generate-cfsjmcx3.js} +17 -17
- package/dist/chunks/{image-ckecvw8r.js → generate-ckecvw8r.js} +2 -2
- package/dist/chunks/{image-cc1kzkvd.js → generate-cpx588df.js} +304 -304
- package/dist/chunks/{image-r33ff4dw.js → generate-cpy6gm2a.js} +4 -4
- package/dist/chunks/{image-3qagm8yh.js → generate-cv19meg5.js} +7 -7
- package/dist/chunks/{image-7wz9shf8.js → generate-cybk5p7c.js} +66 -66
- package/dist/chunks/{image-k8c62mcw.js → generate-d6bnq78f.js} +39 -39
- package/dist/chunks/{image-1mcf8axt.js → generate-d97kjvmj.js} +13 -13
- package/dist/chunks/{image-p9nxns17.js → generate-djdxfn23.js} +27 -27
- package/dist/chunks/{image-57b9ws8p.js → generate-drwq78ky.js} +5 -5
- package/dist/chunks/{image-dga71q50.js → generate-dsh6f6yj.js} +39 -39
- package/dist/chunks/{image-2mcvh2n3.js → generate-dtp9vetf.js} +10 -10
- package/dist/chunks/{image-07s8m1z6.js → generate-e0xdgz0m.js} +11 -11
- package/dist/chunks/{image-w7mqkfhb.js → generate-e40qhhm8.js} +11 -11
- package/dist/chunks/{image-tch7083r.js → generate-e4670fxf.js} +5 -5
- package/dist/chunks/{image-c0m28p3w.js → generate-e7shfttd.js} +9 -9
- package/dist/chunks/{image-02nrjc1r.js → generate-eaj1djv9.js} +4 -4
- package/dist/chunks/{image-9c8gxprz.js → generate-ebhw3mq4.js} +4 -4
- package/dist/chunks/{image-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-qxrkxshc.js → generate-er4hwy7c.js} +17 -17
- package/dist/chunks/{image-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
- package/dist/chunks/{image-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-4gxz2kx8.js → generate-ev27g8wa.js} +32 -32
- package/dist/chunks/{image-dh1b120n.js → generate-ewvdpzth.js} +19 -19
- package/dist/chunks/{image-r105h9b1.js → generate-ey7ggjjv.js} +33 -33
- package/dist/chunks/{image-9atd0qg2.js → generate-f9qkrfrz.js} +17 -17
- package/dist/chunks/{image-cntg9czn.js → generate-fgbmk54h.js} +8 -8
- package/dist/chunks/{image-t38hgp9c.js → generate-fjq2vs6z.js} +6 -6
- package/dist/chunks/{image-18tvb9ms.js → generate-fpm8vwy4.js} +34 -34
- package/dist/chunks/{image-cmwkp3r5.js → generate-g0445xdp.js} +4 -4
- package/dist/chunks/{image-bc0yk3ga.js → generate-g25em2wa.js} +6 -6
- package/dist/chunks/{image-y9b84fnk.js → generate-g26gfjk9.js} +12 -12
- package/dist/chunks/{image-mmjsk5hc.js → generate-g7nv64e4.js} +17 -17
- package/dist/chunks/{image-53yvyx9v.js → generate-g8f2cmxd.js} +22 -22
- package/dist/chunks/{image-ntwexnb4.js → generate-gcqgchj4.js} +43 -43
- package/dist/chunks/{image-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-gf58v98r.js → generate-ge5cpj3r.js} +5 -5
- package/dist/chunks/{image-mqzwmgjk.js → generate-gghkw5p5.js} +24 -24
- package/dist/chunks/{image-h5af1y13.js → generate-gmjjhz4f.js} +6 -6
- package/dist/chunks/{image-vf6k9qc2.js → generate-gr6sts3c.js} +24 -24
- package/dist/chunks/{image-9hwzc92f.js → generate-gsxdchbh.js} +9 -9
- package/dist/chunks/{image-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-6szrdwa0.js → generate-gzafw2k2.js} +17 -17
- package/dist/chunks/{image-85tvp9fd.js → generate-gzre948x.js} +12 -12
- package/dist/chunks/{image-yd1zya46.js → generate-gzvxer3a.js} +5 -5
- package/dist/chunks/{image-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-em3h5ktn.js → generate-hehaxqkv.js} +4 -4
- package/dist/chunks/{image-qjv8nf6r.js → generate-hgs5ny64.js} +11 -11
- package/dist/chunks/{image-x27w9g4p.js → generate-hpjt3c9f.js} +15 -15
- package/dist/chunks/{image-6apv16q4.js → generate-hqax1sk6.js} +3 -3
- package/dist/chunks/{image-wjh3vg4b.js → generate-hs0gycjv.js} +20 -20
- package/dist/chunks/{image-5bkn97b7.js → generate-htfm5hm2.js} +13 -13
- package/dist/chunks/{image-0y0j53mb.js → generate-hzp6wvvn.js} +15 -15
- package/dist/chunks/{image-m376s9bv.js → generate-j2gexte7.js} +15 -15
- package/dist/chunks/{image-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{image-2myva995.js → generate-j5w2yx54.js} +6 -6
- package/dist/chunks/{image-m7va1g8x.js → generate-jca4demv.js} +2 -2
- package/dist/chunks/{image-a3ffqj26.js → generate-jpv1641y.js} +8 -8
- package/dist/chunks/{image-z4dhzm7f.js → generate-jrwd5gjp.js} +13 -13
- package/dist/chunks/{image-bh79aq3p.js → generate-k1qrnqst.js} +8 -8
- package/dist/chunks/{image-qa3qhgw8.js → generate-k8962brh.js} +7 -7
- package/dist/chunks/{image-k8dasee7.js → generate-k8dasee7.js} +2 -2
- package/dist/chunks/{image-1waqhqgx.js → generate-kh5864kc.js} +19 -19
- package/dist/chunks/{image-hpagaahd.js → generate-kjqhhdrj.js} +6 -6
- package/dist/chunks/{image-fd69q2ca.js → generate-km5mjpbt.js} +3 -3
- package/dist/chunks/{image-72dyagzw.js → generate-kmdz5r4y.js} +23 -23
- package/dist/chunks/{image-gkj51nnj.js → generate-kw185j9a.js} +28 -28
- package/dist/chunks/{image-k9d40v1y.js → generate-kwrf6mrp.js} +4 -4
- package/dist/chunks/{image-pe8nenhf.js → generate-m2yg46wj.js} +11 -11
- package/dist/chunks/{image-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-qpj9km4b.js → generate-m40fkmb4.js} +15 -15
- package/dist/chunks/{image-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-sp7nseq3.js → generate-mg9my19h.js} +3 -3
- package/dist/chunks/{image-73tb2d7t.js → generate-mhkvc446.js} +3 -3
- package/dist/chunks/{image-jc0ts2h3.js → generate-mnp2fbq7.js} +18 -18
- package/dist/chunks/{image-ftdzjz2b.js → generate-mqzwkyay.js} +6 -6
- package/dist/chunks/{image-bmtfvb6n.js → generate-mvk2jfk4.js} +5 -5
- package/dist/chunks/{image-htjccydj.js → generate-n46we7c3.js} +44 -44
- package/dist/chunks/{image-ewbnfzy6.js → generate-n6f6v89y.js} +11 -11
- package/dist/chunks/{image-9jbdt4qb.js → generate-n78y29v0.js} +3 -3
- package/dist/chunks/{image-ntwebah5.js → generate-na4s0x3w.js} +18 -18
- package/dist/chunks/{image-ayc4106j.js → generate-nkttmmpy.js} +4 -4
- package/dist/chunks/{image-8ysa277v.js → generate-nnh0aynp.js} +20 -20
- package/dist/chunks/{image-s8zy8myc.js → generate-nxhqveyz.js} +5 -5
- package/dist/chunks/{image-nzks3jc8.js → generate-nzks3jc8.js} +3 -3
- package/dist/chunks/{image-h0j2nr32.js → generate-p0b30zvt.js} +11 -11
- package/dist/chunks/{image-ta055kay.js → generate-p6frwh1y.js} +32 -32
- package/dist/chunks/{image-eh3wnq3n.js → generate-pbt7bx9c.js} +19 -19
- package/dist/chunks/{image-5jvc3mjr.js → generate-pek3718z.js} +9 -9
- package/dist/chunks/{image-xkydw24q.js → generate-peprph1j.js} +30 -30
- package/dist/chunks/{image-phz3h32g.js → generate-phz3h32g.js} +1 -1
- package/dist/chunks/{image-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{image-ba7d3swx.js → generate-pmw6zdhr.js} +4 -4
- package/dist/chunks/{image-8q279wwj.js → generate-pn9jkae5.js} +9 -9
- package/dist/chunks/{image-0jksg60z.js → generate-pwaxk50r.js} +16 -16
- package/dist/chunks/generate-q1k3p0aj.js +252 -0
- package/dist/chunks/{image-256nx13v.js → generate-q3t37ft6.js} +3 -3
- package/dist/chunks/{image-qa7075pb.js → generate-q4fmv0xv.js} +5 -5
- package/dist/chunks/{image-s2b1gttb.js → generate-q4qc13yr.js} +39 -39
- package/dist/chunks/{image-jv4eadh7.js → generate-q8n9d2sh.js} +8 -8
- package/dist/chunks/{image-5z7kcmm3.js → generate-qb1vw869.js} +40 -40
- package/dist/chunks/{image-nq7qbqzc.js → generate-qg0jgkcp.js} +9 -9
- package/dist/chunks/{image-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{image-ewpp5e7n.js → generate-r03v0hjj.js} +39 -39
- package/dist/chunks/{image-tcdyfre7.js → generate-r06z5h03.js} +25 -25
- package/dist/chunks/{image-x4h4af76.js → generate-r3889vak.js} +18 -18
- package/dist/chunks/{image-jxyjvaaf.js → generate-rcjabzwr.js} +5 -5
- package/dist/chunks/{image-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-yq14pbr7.js → generate-reg6q42h.js} +5 -5
- package/dist/chunks/{image-ybmae93c.js → generate-rj7bpn2q.js} +8 -8
- package/dist/chunks/{image-3r4a67rj.js → generate-rmebftez.js} +175 -175
- package/dist/chunks/{image-kzc3h1h3.js → generate-s26hbv8p.js} +4 -4
- package/dist/chunks/{image-h5crbhmb.js → generate-s375a249.js} +15 -15
- package/dist/chunks/{image-0xqf1fvw.js → generate-sn6ab8mn.js} +26 -26
- package/dist/chunks/{image-tjj5s44w.js → generate-srn8r8jz.js} +21 -21
- package/dist/chunks/{image-yhgwf81s.js → generate-sve65ey2.js} +11 -11
- package/dist/chunks/{image-6tbabvvx.js → generate-swgq8cqr.js} +9 -9
- package/dist/chunks/{image-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-d2w632g8.js → generate-tcdcapjr.js} +3 -3
- package/dist/chunks/{image-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{image-p4y5km0g.js → generate-tjbwbrpf.js} +10 -10
- package/dist/chunks/{image-3cfzdc8e.js → generate-tn0aqsam.js} +5 -5
- package/dist/chunks/{image-5gshzgwa.js → generate-tv09qagv.js} +49 -49
- package/dist/chunks/{image-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{image-166kng33.js → generate-tx9w5tca.js} +8 -8
- package/dist/chunks/{image-7gmr5zjm.js → generate-txcvczgx.js} +28 -28
- package/dist/chunks/{image-ctmr8zqa.js → generate-tz4n1mmd.js} +4 -4
- package/dist/chunks/{image-tdgdhk1e.js → generate-v1sqp18z.js} +10 -10
- package/dist/chunks/{image-w4r87ktx.js → generate-v44xvwz4.js} +25 -25
- package/dist/chunks/{image-appc3a7v.js → generate-v7twaqy7.js} +22 -22
- package/dist/chunks/{image-0v53mg2y.js → generate-ve4pfa0n.js} +4 -4
- package/dist/chunks/{image-pxwf7x3g.js → generate-vek5t477.js} +9 -9
- package/dist/chunks/{image-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{image-edmj9df8.js → generate-vnpwkwtz.js} +17 -17
- package/dist/chunks/{image-nyt6jjzz.js → generate-vpr681xz.js} +8 -8
- package/dist/chunks/{image-4qtrgqz0.js → generate-vrjazymd.js} +1 -1
- package/dist/chunks/{image-sqy4ahhk.js → generate-vtpkq4qf.js} +1 -1
- package/dist/chunks/{image-vyqn3nqs.js → generate-vyqn3nqs.js} +1 -1
- package/dist/chunks/{image-r5y57ggj.js → generate-vz9yhsd3.js} +22 -22
- package/dist/chunks/{image-4f22rktn.js → generate-vzbekny8.js} +10 -10
- package/dist/chunks/{image-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-n775cbrb.js → generate-w9m1hehb.js} +29 -29
- package/dist/chunks/{image-pd3h1bmn.js → generate-wb66k78e.js} +20 -20
- package/dist/chunks/{image-gt1j80n6.js → generate-wcrxxh2z.js} +32 -32
- package/dist/chunks/{image-wd3x2cqz.js → generate-wd3x2cqz.js} +2 -2
- package/dist/chunks/{image-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{image-xphjvb0e.js → generate-wgzm9wz2.js} +11 -11
- package/dist/chunks/{image-tw8a8mq4.js → generate-wp7yrr8t.js} +28 -28
- package/dist/chunks/{image-wgtcm0m7.js → generate-wq4mmp7m.js} +4 -4
- package/dist/chunks/{image-av8qn4q0.js → generate-wtgzqz62.js} +15 -15
- package/dist/chunks/{image-y843p43y.js → generate-wwgrxbk4.js} +10 -10
- package/dist/chunks/{image-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-xkntkrq7.js → generate-xkntkrq7.js} +2 -2
- package/dist/chunks/{image-xvpsxfft.js → generate-xx13ga85.js} +5 -5
- package/dist/chunks/{image-a0bpa5q3.js → generate-xxyw0hgj.js} +31 -31
- package/dist/chunks/{image-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-ma6vedv2.js → generate-y4n2nqts.js} +10 -10
- package/dist/chunks/{image-r1b1h9p2.js → generate-y52aqrcn.js} +5 -5
- package/dist/chunks/{image-e23w9d35.js → generate-y5df08dr.js} +12 -12
- package/dist/chunks/{image-jwcy2c2z.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{image-j3mggexs.js → generate-y7t0d5q6.js} +4 -4
- package/dist/chunks/{image-sf6zrh50.js → generate-y8adhbbs.js} +3 -3
- package/dist/chunks/{image-f6007f9y.js → generate-ydpvnw0r.js} +10 -10
- package/dist/chunks/{image-2e3htp8t.js → generate-ynpb9wcp.js} +13 -13
- package/dist/chunks/{image-1acjjqhc.js → generate-yp2x3t23.js} +4 -4
- package/dist/chunks/{image-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{image-xw8skkg7.js → generate-ysa4kjbr.js} +28 -28
- package/dist/chunks/{image-5t31c093.js → generate-yxn70j2j.js} +48 -48
- package/dist/chunks/{image-z07pqspn.js → generate-z07pqspn.js} +3 -3
- package/dist/chunks/{image-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-774cd9f1.js → generate-z2wn3pyy.js} +35 -35
- package/dist/chunks/{image-zvwz45r0.js → generate-z3nay82g.js} +9 -9
- package/dist/chunks/{image-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{image-y4pq5snz.js → generate-z8m5seqj.js} +19 -19
- package/dist/chunks/{image-akrnn5pm.js → generate-za9cx4qh.js} +8 -8
- package/dist/chunks/{image-skhxta5r.js → generate-zcjrg8ya.js} +3 -3
- package/dist/chunks/{image-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-rxx8w1cp.js → generate-zxfgyqze.js} +9 -9
- package/dist/chunks/{image-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +3 -3
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +3 -3
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +1 -1
- 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 +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/image-93k530h5.js +0 -252
- package/dist/chunks/image-qapv375x.js +0 -4
- /package/dist/chunks/{image-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./generate-3dx765w3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./generate-0rkxpd3w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service77,
|
|
12
|
+
node81
|
|
13
|
+
} from "./generate-gghkw5p5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./generate-gmjjhz4f.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node79
|
|
20
|
+
} from "./generate-2qd48t7m.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service76,
|
|
26
|
+
node80
|
|
27
|
+
} from "./generate-hpjt3c9f.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service78,
|
|
30
|
+
node82
|
|
31
|
+
} from "./generate-tx9w5tca.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event18,
|
|
46
|
+
ID: () => ID12,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service74,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node78
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID12 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -75,19 +75,19 @@ var RequestFields = {
|
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
77
|
var Request3 = Permission.Request;
|
|
78
|
-
var
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID12.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID14.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID12,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID12,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID12
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service74 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service83;
|
|
132
|
+
const location = yield* Service79;
|
|
133
|
+
const agents = yield* Service77;
|
|
134
|
+
const sessions = yield* Service75;
|
|
135
|
+
const saved = yield* Service76;
|
|
136
|
+
const hooks = yield* Service78;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID12.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID12.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service74.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node78 = makeLocationNode({
|
|
303
|
+
service: Service74,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node87, node83, node81, node79, node80, node82]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service74, node78, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-ey7ggjjv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9hqhm2d2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
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))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
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(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -97,7 +97,7 @@ function build(id, remote, baseURL, previous) {
|
|
|
97
97
|
return Info21.make({
|
|
98
98
|
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./generate-3dx765w3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service53,
|
|
6
6
|
Event10
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-hzp6wvvn.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service83;
|
|
24
|
+
const wellknown = yield* Service53;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -45,4 +45,4 @@ var Plugin15 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./generate-y5df08dr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./generate-0rkxpd3w.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
26
|
ID: () => ID4,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service31,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node34,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 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 Service31 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
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(Service51, 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 Error2({ 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(Service51, 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 Error2({ 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;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service51, 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 Error2({ 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 Error2({ 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 Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node34 = makeLocationNode({
|
|
144
|
+
service: Service31,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service31, Service31.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(Service51, Service51.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
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 { ID4,
|
|
166
|
+
export { ID4, Error2, Service31, node34, noopLayer2, exports_snapshot2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./generate-3dx765w3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./generate-96av1tye.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./generate-gr6sts3c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./generate-0cgtmc8a.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-gmjjhz4f.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-nkttmmpy.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-fjq2vs6z.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make7
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make7 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service31;
|
|
58
|
+
const toolOutput = yield* Service50;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
209
209
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
export { Outcome2,
|
|
212
|
+
export { Outcome2, make7, exports_step };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service59,
|
|
8
|
+
node62
|
|
9
|
+
} from "./generate-bgbs76xx.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service46,
|
|
24
|
+
node: () => node48
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service46 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service59;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service46.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node48 = makeLocationNode({ service: Service46, layer, deps: [node62, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service46, node48, exports_ripgrep };
|