@opencode/core 0.0.0-dev-20670 → 0.0.0-dev-20677
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 +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{variant-gmmdfr2g.js → agent-03xyy9gs.js} +8 -8
- package/dist/chunks/{variant-av38vskm.js → agent-0e4zfx6z.js} +5 -5
- package/dist/chunks/{variant-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
- package/dist/chunks/{variant-a5hrzf2z.js → agent-0w51wpsa.js} +3 -3
- package/dist/chunks/{variant-g4yyayt9.js → agent-1a721rxg.js} +5 -5
- package/dist/chunks/{variant-y77dm3c4.js → agent-1bv2kaf1.js} +20 -20
- package/dist/chunks/{variant-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-8m5xe4tx.js → agent-1gpb38yh.js} +6 -6
- package/dist/chunks/{variant-jhbzetc7.js → agent-1gq97tmn.js} +176 -176
- package/dist/chunks/{variant-j0x50v7v.js → agent-212y0zje.js} +10 -10
- package/dist/chunks/{variant-mqj33d01.js → agent-237z5p4t.js} +18 -18
- package/dist/chunks/{variant-gsnm7xcg.js → agent-26mk346k.js} +25 -25
- package/dist/chunks/{variant-43myjda7.js → agent-27rataxe.js} +15 -15
- package/dist/chunks/{variant-hj5zw0v5.js → agent-299ygcnd.js} +23 -23
- package/dist/chunks/{variant-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-zhwjstx1.js → agent-2sradmzs.js} +25 -25
- package/dist/chunks/{variant-ygtb1s3e.js → agent-33ds9rj3.js} +11 -11
- package/dist/chunks/{variant-4ca69wfz.js → agent-35q2em60.js} +23 -23
- package/dist/chunks/{variant-psjjct8g.js → agent-37jae8a1.js} +11 -11
- package/dist/chunks/{variant-hcxj4rsa.js → agent-3afxxhd7.js} +44 -44
- package/dist/chunks/{variant-h2b79v29.js → agent-3cegwx68.js} +2 -2
- package/dist/chunks/{variant-12r2p6ep.js → agent-3dx6e5mz.js} +27 -27
- package/dist/chunks/{variant-tbmac1c7.js → agent-3ewed21c.js} +4 -4
- package/dist/chunks/{variant-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-xm1s6dzm.js → agent-3tm29b2b.js} +325 -325
- package/dist/chunks/{variant-yrm0szr2.js → agent-3tvp0d45.js} +17 -17
- package/dist/chunks/{variant-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-hb96kx89.js → agent-3xdvdhsm.js} +16 -16
- package/dist/chunks/{variant-w0033jfm.js → agent-3xx70s67.js} +9 -9
- package/dist/chunks/{variant-srk0zn0s.js → agent-3ze65hfa.js} +35 -35
- package/dist/chunks/{variant-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-t10yzrjw.js → agent-44a7phry.js} +35 -35
- package/dist/chunks/{variant-ajbd8md1.js → agent-4617ttsa.js} +22 -22
- package/dist/chunks/{variant-fqtvmpfq.js → agent-4a0nv7mx.js} +8 -8
- package/dist/chunks/{variant-zxsy4by3.js → agent-4c701q23.js} +24 -24
- package/dist/chunks/{variant-3ha3xwk3.js → agent-4kmwdp9k.js} +28 -28
- package/dist/chunks/{variant-vrc7s6sw.js → agent-4mp2bwzd.js} +13 -13
- package/dist/chunks/{variant-4ts7tf6z.js → agent-4ts7tf6z.js} +2 -2
- package/dist/chunks/{variant-1ypt9myv.js → agent-508esqyf.js} +35 -35
- package/dist/chunks/{variant-wyec3xap.js → agent-541dm475.js} +3 -3
- package/dist/chunks/{variant-54ma36ye.js → agent-54ma36ye.js} +1 -1
- package/dist/chunks/{variant-56gdpj1q.js → agent-56gdpj1q.js} +2 -2
- package/dist/chunks/{variant-qxtmr2bd.js → agent-59c10ypj.js} +4 -4
- package/dist/chunks/{variant-bvh7grhs.js → agent-5b3yx2mr.js} +1 -1
- package/dist/chunks/{variant-5daktx2q.js → agent-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{variant-vv8y31wj.js → agent-5n1rr6qj.js} +12 -12
- package/dist/chunks/{variant-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-kb1yqcjd.js → agent-5xzzfr73.js} +22 -22
- package/dist/chunks/{variant-90nsq7vp.js → agent-5ymje97q.js} +13 -13
- package/dist/chunks/{variant-pddh4aqp.js → agent-61bbtbmc.js} +30 -30
- package/dist/chunks/{variant-cz9840fe.js → agent-61tzzxsr.js} +35 -35
- package/dist/chunks/{variant-zr84kw0b.js → agent-64jy87jm.js} +54 -54
- package/dist/chunks/{variant-14mf7nj2.js → agent-64vpcbr9.js} +5 -5
- package/dist/chunks/{variant-85cf5a55.js → agent-672xc31r.js} +7 -7
- package/dist/chunks/{variant-fj13q4zb.js → agent-682b4fx6.js} +22 -22
- package/dist/chunks/{variant-sehwt9te.js → agent-6feta9cj.js} +21 -21
- package/dist/chunks/{variant-r42cqwsc.js → agent-6hk2686f.js} +42 -42
- package/dist/chunks/{variant-mge8kx0v.js → agent-6rcj2hr5.js} +26 -26
- package/dist/chunks/{variant-68hxq47m.js → agent-6waraj69.js} +26 -26
- package/dist/chunks/{variant-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
- package/dist/chunks/{variant-e4qpf6ew.js → agent-760hrz28.js} +40 -40
- package/dist/chunks/{variant-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-7qt3axmk.js → agent-7bvtnfyz.js} +18 -18
- package/dist/chunks/{variant-2k8khapm.js → agent-7dqw4kz8.js} +5 -5
- package/dist/chunks/{variant-eeaf82dq.js → agent-7j2qha59.js} +8 -8
- package/dist/chunks/{variant-a1gpj94z.js → agent-7yh4e7ss.js} +3 -3
- package/dist/chunks/{variant-genng97f.js → agent-848sxtqq.js} +14 -14
- package/dist/chunks/{variant-1dvck2a7.js → agent-84h8c373.js} +2 -2
- package/dist/chunks/{variant-gfds2h31.js → agent-84kwgfzz.js} +24 -24
- package/dist/chunks/{variant-84txncab.js → agent-84txncab.js} +1 -1
- package/dist/chunks/{variant-z053hk1w.js → agent-84tzk9gr.js} +12 -12
- package/dist/chunks/{variant-k70p9jzb.js → agent-8a6ws7jr.js} +9 -9
- package/dist/chunks/{variant-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-tj9v0x4b.js → agent-8dcer5qr.js} +13 -13
- package/dist/chunks/{variant-bf1ejp41.js → agent-8dpqntaq.js} +23 -23
- package/dist/chunks/{variant-5gxvh74d.js → agent-8j0012y3.js} +36 -32
- package/dist/chunks/{variant-s37hkjzm.js → agent-8kzy5fr5.js} +8 -8
- package/dist/chunks/{variant-rgx9nb55.js → agent-8n5zbqyh.js} +7 -7
- package/dist/chunks/{variant-cmwkp3r5.js → agent-8v6pyhej.js} +8 -8
- package/dist/chunks/{variant-04ah9brh.js → agent-95dtjqf2.js} +4 -4
- package/dist/chunks/{variant-47rh35ks.js → agent-96f2n6ah.js} +10 -10
- package/dist/chunks/{variant-6x68kpm5.js → agent-984m73yw.js} +17 -17
- package/dist/chunks/{variant-vnk7j1ms.js → agent-9hrc7yhg.js} +11 -11
- package/dist/chunks/{variant-hbepmwya.js → agent-9k8khh75.js} +17 -17
- package/dist/chunks/{variant-kg3zg8yk.js → agent-9nb94ttp.js} +41 -41
- package/dist/chunks/{variant-at1j3wg7.js → agent-9pst789e.js} +9 -9
- package/dist/chunks/{variant-q74y9j8r.js → agent-9zj3ww2h.js} +11 -11
- package/dist/chunks/{variant-takqf31v.js → agent-9zrkfg92.js} +37 -37
- package/dist/chunks/{variant-8pypt00x.js → agent-a4rged5n.js} +13 -13
- package/dist/chunks/{variant-aaet6srn.js → agent-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-f6es3tce.js → agent-abmjs3wp.js} +29 -29
- package/dist/chunks/{variant-db2wf4at.js → agent-addxnjmp.js} +4 -4
- package/dist/chunks/{variant-vfvegtrt.js → agent-adt5jcng.js} +19 -19
- package/dist/chunks/{variant-96ctqc5x.js → agent-afjydgk3.js} +4 -4
- package/dist/chunks/{variant-y2j1t95j.js → agent-angdxrpd.js} +16 -16
- package/dist/chunks/{variant-1aaptxkf.js → agent-apvampct.js} +15 -15
- package/dist/chunks/{variant-13phwz10.js → agent-asw8c91m.js} +4 -4
- package/dist/chunks/{variant-gkh8nh6z.js → agent-b6crebg4.js} +20 -20
- package/dist/chunks/{variant-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-fj7dxcp8.js → agent-b6mnpgpe.js} +28 -28
- package/dist/chunks/{variant-778zdafs.js → agent-bf9mzw80.js} +2 -2
- package/dist/chunks/{variant-zy58z06m.js → agent-bhhppv72.js} +9 -9
- package/dist/chunks/{variant-a7zpr1c3.js → agent-bmmeg5sm.js} +19 -19
- package/dist/chunks/{variant-1fbkv74j.js → agent-bmr4b0kb.js} +9 -9
- package/dist/chunks/{variant-m2c06fa4.js → agent-btdzdyts.js} +10 -10
- package/dist/chunks/{variant-n8vdnqrc.js → agent-bx0gyb4h.js} +5 -5
- package/dist/chunks/{variant-pje0b5e4.js → agent-bxfxz57t.js} +22 -22
- package/dist/chunks/{variant-2c6y2vpm.js → agent-c1fbq4kv.js} +37 -35
- package/dist/chunks/{variant-3r1fp5nk.js → agent-cb89hyx5.js} +5 -5
- package/dist/chunks/{variant-tfsj2qc7.js → agent-cc8cknna.js} +41 -41
- package/dist/chunks/{variant-tc2bp7te.js → agent-cdhr69tv.js} +11 -11
- package/dist/chunks/{variant-jktqzjpa.js → agent-cfsekr6v.js} +8 -8
- package/dist/chunks/{variant-sjryg82s.js → agent-ckt1a3xt.js} +13 -13
- package/dist/chunks/{variant-y2dcdtp0.js → agent-cvsve72h.js} +19 -19
- package/dist/chunks/{variant-qvpfanze.js → agent-cx89qeg3.js} +6 -6
- package/dist/chunks/{variant-2vjdd89t.js → agent-cz4pebbb.js} +58 -58
- package/dist/chunks/{variant-mqkwkb58.js → agent-d28w4k3h.js} +15 -15
- package/dist/chunks/{variant-gxre2ca4.js → agent-d3f2prkd.js} +42 -42
- package/dist/chunks/{variant-mm69kq7h.js → agent-d3pa2dt1.js} +19 -19
- package/dist/chunks/{variant-3jmpz8k1.js → agent-d93aaqkk.js} +1 -1
- package/dist/chunks/{variant-fcncf75j.js → agent-db62y6bp.js} +29 -29
- package/dist/chunks/{variant-7gak28c2.js → agent-ddd3v19d.js} +11 -11
- package/dist/chunks/{variant-3ftpg69t.js → agent-dkkan8mq.js} +17 -17
- package/dist/chunks/{variant-p5p5kne1.js → agent-drnf6xwf.js} +2 -2
- package/dist/chunks/{variant-k7xgtgde.js → agent-e2erybrn.js} +11 -11
- package/dist/chunks/{variant-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-5ejk7f0k.js → agent-egsf10bm.js} +13 -13
- package/dist/chunks/{variant-dkkxy9wz.js → agent-ej7nfns1.js} +18 -18
- package/dist/chunks/{variant-zpg27evg.js → agent-emb8t02r.js} +21 -21
- package/dist/chunks/{variant-vbhjmb5m.js → agent-emcb384r.js} +8 -8
- package/dist/chunks/{variant-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-fa9g1mnx.js → agent-eyq9c17f.js} +12 -12
- package/dist/chunks/{variant-xfwm1nrf.js → agent-f0wnr75e.js} +32 -32
- package/dist/chunks/{variant-71az546q.js → agent-f75zav2x.js} +2 -2
- package/dist/chunks/agent-f81tjggh.js +18 -0
- package/dist/chunks/{variant-ncv9kjc6.js → agent-f9kekh7f.js} +14 -14
- package/dist/chunks/{variant-bytkh039.js → agent-fd8908de.js} +15 -15
- package/dist/chunks/{variant-v44y4b59.js → agent-fqmwv32j.js} +14 -14
- package/dist/chunks/{variant-7zjc8zg2.js → agent-fswrwyfk.js} +6 -6
- package/dist/chunks/{variant-bydnjh3t.js → agent-ftjf86m5.js} +9 -9
- package/dist/chunks/{variant-kzht0r54.js → agent-ftxvqbsg.js} +11 -11
- package/dist/chunks/{variant-bf28q0c2.js → agent-fvbmtwra.js} +13 -13
- package/dist/chunks/{variant-w19d8598.js → agent-g5w8qwbj.js} +7 -7
- package/dist/chunks/{variant-djszqvmq.js → agent-g6q9qykm.js} +9 -9
- package/dist/chunks/{variant-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-6tqx1ph1.js → agent-gdyt3gj6.js} +11 -11
- package/dist/chunks/{variant-j3hvrqpy.js → agent-ghde90aw.js} +6 -6
- package/dist/chunks/{variant-4rgynks6.js → agent-gjzmqfxe.js} +10 -10
- package/dist/chunks/{variant-fa263v27.js → agent-gs91af73.js} +93 -93
- package/dist/chunks/{variant-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-az8dgmmc.js → agent-h7znadvr.js} +8 -8
- package/dist/chunks/{variant-anzb5n5e.js → agent-hcg5kpq6.js} +32 -32
- package/dist/chunks/{variant-7zt5x37y.js → agent-he27pt63.js} +1 -1
- package/dist/chunks/{variant-yj7yjf4r.js → agent-hfetwrmg.js} +20 -20
- package/dist/chunks/{variant-e842s4t9.js → agent-hh1fe6b7.js} +33 -33
- package/dist/chunks/{variant-jyapyf9t.js → agent-htb94n32.js} +12 -12
- package/dist/chunks/{variant-ynjzq9s0.js → agent-j01xwkjw.js} +21 -21
- package/dist/chunks/{variant-qyzq8tdf.js → agent-j422692e.js} +7 -7
- package/dist/chunks/{variant-j56e64zr.js → agent-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-zv2rxc3d.js → agent-j7dp57tw.js} +9 -9
- package/dist/chunks/{variant-6apymsef.js → agent-j9pgxxd7.js} +17 -17
- package/dist/chunks/{variant-p1dchzeh.js → agent-jmxsfgen.js} +9 -9
- package/dist/chunks/{variant-76p9kcxt.js → agent-jnyg353g.js} +20 -20
- package/dist/chunks/{variant-vhk0jjay.js → agent-jqyc2fxa.js} +4 -4
- package/dist/chunks/{variant-d646jtrt.js → agent-k2025ghf.js} +13 -13
- package/dist/chunks/{variant-9e5bzkjp.js → agent-kb9j3d72.js} +3 -3
- package/dist/chunks/{variant-y5rf7nzv.js → agent-knevfgda.js} +4 -4
- package/dist/chunks/{variant-5evreb3e.js → agent-ky1e5nsp.js} +9 -9
- package/dist/chunks/{variant-yj81bjva.js → agent-m1jewsve.js} +9 -9
- package/dist/chunks/{variant-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-qfyvnv8a.js → agent-m4twzpdx.js} +47 -47
- package/dist/chunks/{variant-2yxe94w7.js → agent-m8n59xp2.js} +8 -8
- package/dist/chunks/{variant-c7yhx3mn.js → agent-m938ztfj.js} +32 -32
- package/dist/chunks/{variant-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-9w3q8q8k.js → agent-mc5gsmcy.js} +16 -16
- package/dist/chunks/{variant-1bg0pxyr.js → agent-md04j19x.js} +4 -4
- package/dist/chunks/{variant-4wk8r1at.js → agent-md2j7y0e.js} +18 -18
- package/dist/chunks/{variant-magykp64.js → agent-mjymc32g.js} +4 -4
- package/dist/chunks/{variant-43a10n5x.js → agent-mktej9kf.js} +8 -8
- package/dist/chunks/{variant-gtz9hmz6.js → agent-mt48d8bc.js} +33 -33
- package/dist/chunks/{variant-p23nk964.js → agent-mx1sahds.js} +19 -19
- package/dist/chunks/{variant-8whp40kv.js → agent-my4zabxr.js} +3 -3
- package/dist/chunks/{variant-zpn6vsrm.js → agent-myj39cz3.js} +48 -48
- package/dist/chunks/{variant-ckf8nxjz.js → agent-n4r3xatb.js} +4 -4
- package/dist/chunks/{variant-bw5kq8m8.js → agent-nw12y3df.js} +11 -11
- package/dist/chunks/{variant-dpkg50ah.js → agent-nxm207yx.js} +4 -4
- package/dist/chunks/{variant-eqkxs06z.js → agent-nzq7ck9f.js} +6 -6
- package/dist/chunks/{variant-fmp6ttz0.js → agent-pber7d37.js} +11 -11
- package/dist/chunks/{variant-zv5357n6.js → agent-phrn0hnn.js} +48 -48
- package/dist/chunks/{variant-jhyh6f4e.js → agent-pjvcp6pt.js} +38 -38
- package/dist/chunks/{variant-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{variant-dgqg0y62.js → agent-pm6p0qfa.js} +26 -26
- package/dist/chunks/{variant-baep62j8.js → agent-pmf7a4gp.js} +94 -94
- package/dist/chunks/{variant-8d7mxkd3.js → agent-ptyashkp.js} +3 -3
- package/dist/chunks/{variant-34bswkv4.js → agent-pxstbhnf.js} +45 -45
- package/dist/chunks/{variant-q0xm7vwc.js → agent-q0xm7vwc.js} +2 -2
- package/dist/chunks/{variant-4arb9zza.js → agent-qagkqpcw.js} +8 -8
- package/dist/chunks/{variant-6hay09zr.js → agent-qhbttv6z.js} +24 -24
- package/dist/chunks/{variant-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
- package/dist/chunks/{variant-was7srj9.js → agent-qpbc7zwf.js} +8 -8
- package/dist/chunks/{variant-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-xyafkbt0.js → agent-qxjc9qry.js} +3 -3
- package/dist/chunks/{variant-y6hcfz9t.js → agent-r5ypt5d9.js} +11 -11
- package/dist/chunks/{variant-273qqx2t.js → agent-r8jtv4kk.js} +5 -5
- package/dist/chunks/{variant-rhraev7y.js → agent-r8xr0va3.js} +4 -4
- package/dist/chunks/{variant-s3rfr38d.js → agent-r9p2yfma.js} +8 -8
- package/dist/chunks/{variant-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-27k4znhv.js → agent-rgvftgaz.js} +34 -34
- package/dist/chunks/{variant-a1n2n4d8.js → agent-rp55dayf.js} +24 -24
- package/dist/chunks/{variant-pkqb68ka.js → agent-rx9ava5n.js} +4 -4
- package/dist/chunks/{variant-mf5w15f6.js → agent-rzem9bwq.js} +5 -5
- package/dist/chunks/{variant-wv396vej.js → agent-s8d7rejh.js} +8 -8
- package/dist/chunks/{variant-fzf3d4e0.js → agent-seefsy74.js} +32 -32
- package/dist/chunks/{variant-43hb2m25.js → agent-shqrd0p7.js} +5 -5
- package/dist/chunks/{variant-36zr3dcy.js → agent-sxcgg9pv.js} +4 -4
- package/dist/chunks/{variant-av9e2wha.js → agent-sz4assh2.js} +5 -5
- package/dist/chunks/{variant-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{variant-v5dkyp31.js → agent-tkmwgdpd.js} +5 -5
- package/dist/chunks/{variant-jarn1zxe.js → agent-tzhfy6rd.js} +6 -6
- package/dist/chunks/{variant-y4xh0pmk.js → agent-v0es1rhs.js} +7 -7
- package/dist/chunks/{variant-68b4ewtf.js → agent-v0yfz79w.js} +9 -9
- package/dist/chunks/{variant-pwkca9pk.js → agent-v3v4sgpm.js} +3 -3
- package/dist/chunks/{variant-09a75c85.js → agent-v6mpbx6v.js} +34 -34
- package/dist/chunks/agent-v8hbtvfc.js +26 -0
- package/dist/chunks/{variant-2weejz9f.js → agent-vasdvhx2.js} +8 -8
- package/dist/chunks/{variant-bdm4x938.js → agent-vbh50phm.js} +9 -9
- package/dist/chunks/agent-vden9jcp.js +253 -0
- package/dist/chunks/{variant-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-9vqn762s.js → agent-vnb5qef4.js} +1 -1
- package/dist/chunks/{variant-ye8czdsw.js → agent-vx4kd0j3.js} +15 -15
- package/dist/chunks/{variant-96te9d4b.js → agent-vykevjvn.js} +5 -5
- package/dist/chunks/{variant-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-8xxgh2t9.js → agent-w1vqmw9z.js} +22 -22
- package/dist/chunks/{variant-4xpgt2w9.js → agent-w39jehkq.js} +5 -5
- package/dist/chunks/{variant-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-dg6dbwk8.js → agent-w5zzhgd0.js} +4 -4
- package/dist/chunks/{variant-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{variant-11zweyk1.js → agent-wdbnpmn3.js} +14 -14
- package/dist/chunks/{variant-tpk0zy7s.js → agent-we2jpmnd.js} +17 -17
- package/dist/chunks/{variant-vms99gx2.js → agent-webf11ha.js} +6 -6
- package/dist/chunks/{variant-zyk1yjk8.js → agent-wecqtg5s.js} +5 -5
- package/dist/chunks/{variant-gwyfdq8m.js → agent-wmvjsdxp.js} +22 -22
- package/dist/chunks/{variant-g96ergdg.js → agent-wyjka35g.js} +31 -31
- package/dist/chunks/{variant-73y8v8y6.js → agent-x0bgzv0s.js} +1 -1
- package/dist/chunks/{variant-7kyq03wq.js → agent-x14d6wr9.js} +76 -76
- package/dist/chunks/{variant-mxtpa36p.js → agent-x2nf5h0k.js} +18 -18
- package/dist/chunks/{variant-22myzpse.js → agent-x7rh3hnq.js} +18 -18
- package/dist/chunks/{variant-c1enaq1p.js → agent-xb54y55j.js} +60 -60
- package/dist/chunks/{variant-rh1z4y1h.js → agent-xc7fr0n8.js} +36 -36
- package/dist/chunks/{variant-5a9dmyae.js → agent-xd0zgs67.js} +28 -28
- package/dist/chunks/{variant-npj3fp8d.js → agent-xgemm4h5.js} +11 -11
- package/dist/chunks/{variant-xkntkrq7.js → agent-xkntkrq7.js} +2 -2
- package/dist/chunks/{variant-saa5sm41.js → agent-xswen0y0.js} +5 -5
- package/dist/chunks/{variant-w8pj8qhp.js → agent-xsz0k8gc.js} +28 -28
- package/dist/chunks/{variant-37rf5trb.js → agent-xw8dfwaj.js} +18 -18
- package/dist/chunks/{variant-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-fq7d5agy.js → agent-y57vdypc.js} +42 -42
- package/dist/chunks/{variant-w1d288hs.js → agent-ygz1yfbt.js} +11 -11
- package/dist/chunks/{variant-363vysxk.js → agent-ynpe6tcd.js} +12 -12
- package/dist/chunks/{variant-kwdfxrj7.js → agent-ysr5vm6y.js} +15 -15
- package/dist/chunks/{variant-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-e4znzpr0.js → agent-z0hr7r87.js} +30 -30
- package/dist/chunks/{variant-9s3nv18s.js → agent-z20ctxjw.js} +23 -23
- package/dist/chunks/{variant-s1nb2eev.js → agent-z99e7jc7.js} +35 -35
- package/dist/chunks/{variant-24zt9st4.js → agent-zcps5b4x.js} +3 -3
- package/dist/chunks/{variant-0ryd0fps.js → agent-zd30eb5w.js} +5 -5
- package/dist/chunks/{variant-wzgtrbaw.js → agent-zdamgzkx.js} +5 -5
- package/dist/chunks/{variant-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-gw7cjrad.js → agent-zsr4wwhv.js} +4 -4
- package/dist/chunks/{variant-zxq2ej10.js → agent-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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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/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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- 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 +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- 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 +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +84 -84
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/credential/sql.d.ts +6 -0
- package/dist/types/credential.d.ts +14 -0
- package/dist/types/filesystem.d.ts +11 -5
- package/dist/types/integration/connection.d.ts +2 -2
- package/dist/types/integration.d.ts +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/variant-2jm8wccg.js +0 -26
- package/dist/chunks/variant-619r8v3y.js +0 -18
- package/dist/chunks/variant-7nkk035h.js +0 -253
- /package/dist/chunks/{variant-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./agent-848sxtqq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service18,
|
|
12
|
+
node20
|
|
13
|
+
} from "./agent-61bbtbmc.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event4,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError3,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service17,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node19
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event4 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service17 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service79;
|
|
115
|
+
const search = yield* Service18;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -121,24 +121,28 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
121
121
|
return Effect.die(cause);
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
|
-
|
|
124
|
+
if (input.includes("\x00"))
|
|
125
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
126
|
+
const absolute = path.resolve(location.directory, input);
|
|
125
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
126
|
-
return yield* Effect.
|
|
127
|
-
const real = yield* fs.realPath(absolute);
|
|
128
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
|
|
128
130
|
if (!FSUtil.contains(root, real))
|
|
129
|
-
return yield* Effect.
|
|
131
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
130
132
|
return { absolute, real, directory: location.directory };
|
|
131
133
|
});
|
|
132
|
-
return
|
|
134
|
+
return Service17.of({
|
|
133
135
|
find: search.find,
|
|
134
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
135
|
-
const target = yield* resolve(input.path)
|
|
136
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
137
|
+
const target = yield* resolve(input.path);
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
137
139
|
if (info.type !== "File")
|
|
138
|
-
return yield* Effect.
|
|
140
|
+
return yield* Effect.fail(new NotFoundError3({ path: input.path }));
|
|
139
141
|
return {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
+
mime: FSUtil.mimeType(target.real),
|
|
143
|
+
size: Number(info.size),
|
|
144
|
+
mtime: info.mtime,
|
|
145
|
+
stream: (options) => fs.stream(target.real, options)
|
|
142
146
|
};
|
|
143
147
|
}),
|
|
144
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
@@ -166,10 +170,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
166
170
|
})
|
|
167
171
|
});
|
|
168
172
|
}));
|
|
169
|
-
var
|
|
170
|
-
service:
|
|
173
|
+
var node19 = makeLocationNode({
|
|
174
|
+
service: Service17,
|
|
171
175
|
layer: baseLayer,
|
|
172
|
-
deps: [FSUtil.node,
|
|
176
|
+
deps: [FSUtil.node, node83, node20]
|
|
173
177
|
});
|
|
174
178
|
|
|
175
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
179
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./agent-d3f2prkd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./agent-qhbttv6z.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service47;
|
|
27
|
+
const snapshot = yield* Service50;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service10,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node12
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service10 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node12 = makeLocationNode({
|
|
19
|
+
service: Service10,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service10, Service10.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service10, node12, bound2, exports_instance2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./agent-44a7phry.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-fswrwyfk.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./agent-mc5gsmcy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service49,
|
|
6
6
|
Event11
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-x7rh3hnq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin20,
|
|
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 Plugin20 = 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* Service81;
|
|
24
|
+
const wellknown = yield* Service49;
|
|
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 { Plugin20, exports_plugin };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./agent-mc5gsmcy.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./agent-848sxtqq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
23
|
define: () => define2,
|
|
24
24
|
node: () => node56
|
|
25
25
|
});
|
|
@@ -27,7 +27,7 @@ import { define as define2 } from "@opencode/schema/rpc";
|
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service53 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service81;
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service53.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var node56 = makeLocationNode({ service:
|
|
128
|
+
var node56 = makeLocationNode({ service: Service53, layer, deps: [node85, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service53, node56, exports_rpc, define2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service50
|
|
7
|
+
} from "./agent-qhbttv6z.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-my4zabxr.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-1gpb38yh.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service50;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -109,20 +109,20 @@ ${render3(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render2,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update3, make15, exports_instructions3 };
|