@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,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./agent-64jy87jm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./agent-cz4pebbb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin23
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin23 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service38;
|
|
26
|
+
const permission = yield* Service65;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin13 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin23, exports_mcp_resource };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info8,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info8 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info16 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info8, exports_provider2 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./variant-k7xgtgde.js";
|
|
5
|
-
import {
|
|
6
|
-
reserveSequence2,
|
|
7
2
|
Service83,
|
|
8
3
|
node87
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./agent-e2erybrn.js";
|
|
5
|
+
import {
|
|
6
|
+
reserveSequence2,
|
|
7
|
+
Service81,
|
|
8
|
+
node85
|
|
9
|
+
} from "./agent-mc5gsmcy.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./agent-3cegwx68.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-kb9j3d72.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./agent-6waraj69.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./agent-rx9ava5n.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./agent-7bvtnfyz.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./agent-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./agent-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node34
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -276,8 +276,8 @@ function projectIdle(db, event) {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
279
|
-
const bus = yield*
|
|
280
|
-
const db = (yield*
|
|
279
|
+
const bus = yield* Service81;
|
|
280
|
+
const db = (yield* Service83).db;
|
|
281
281
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
282
282
|
const stored = yield* db.insert(SessionTable2).values({
|
|
283
283
|
id: event.data.sessionID,
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node34 = makeGlobalNode({ name: "session-projector", layer, deps: [node85, node87] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node34, exports_projector };
|
|
@@ -1,63 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./variant-k7xgtgde.js";
|
|
5
1
|
import {
|
|
6
2
|
Service83,
|
|
7
3
|
node87
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./agent-e2erybrn.js";
|
|
5
|
+
import {
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./agent-mc5gsmcy.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
External: () => External2,
|
|
25
|
+
ID: () => ID15,
|
|
26
|
+
Info: () => Info25,
|
|
27
|
+
Key: () => Key4,
|
|
27
28
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
29
|
+
Service: () => Service77,
|
|
29
30
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
31
|
+
node: () => node81
|
|
31
32
|
});
|
|
32
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
35
|
import { Credential } from "@opencode/schema/credential";
|
|
35
36
|
import { Integration } from "@opencode/schema/integration";
|
|
36
37
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
38
|
+
var ID15 = Credential.ID;
|
|
38
39
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
40
|
+
var Key4 = Credential.Key;
|
|
41
|
+
var External2 = Credential.External;
|
|
40
42
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
43
|
+
var Event19 = Credential.Event;
|
|
42
44
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
45
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID15,
|
|
45
47
|
integrationID: Integration.ID,
|
|
46
48
|
label: Schema.String,
|
|
47
49
|
value: Value2
|
|
48
50
|
}) {
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
class
|
|
53
|
+
class Service77 extends Context.Service()("@opencode/Credential") {
|
|
52
54
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
55
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
56
|
+
const db = (yield* Service83).db;
|
|
57
|
+
const bus = yield* Service81;
|
|
56
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
59
|
const stored = (row) => {
|
|
58
60
|
if (!row.integration_id)
|
|
59
61
|
return;
|
|
60
|
-
return new
|
|
62
|
+
return new Info25({
|
|
61
63
|
id: row.id,
|
|
62
64
|
integrationID: row.integration_id,
|
|
63
65
|
label: row.label,
|
|
@@ -68,7 +70,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
68
70
|
const credential = stored(row);
|
|
69
71
|
return credential ? [credential] : [];
|
|
70
72
|
});
|
|
71
|
-
return
|
|
73
|
+
return Service77.of({
|
|
72
74
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
75
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +78,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
76
78
|
return row ? stored(row) : undefined;
|
|
77
79
|
}),
|
|
78
80
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
81
|
+
const credential = new Info25({
|
|
82
|
+
id: input.id ?? ID15.create(),
|
|
81
83
|
integrationID: input.integrationID,
|
|
82
84
|
label: input.label ?? "default",
|
|
83
85
|
value: input.value
|
|
@@ -108,9 +110,9 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
108
110
|
type: credential.value.type,
|
|
109
111
|
active: activated
|
|
110
112
|
});
|
|
111
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
112
114
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
116
|
return credential;
|
|
115
117
|
}),
|
|
116
118
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +132,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
130
132
|
})), Effect.orDie);
|
|
131
133
|
if (integrationID) {
|
|
132
134
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
136
|
}
|
|
135
137
|
}),
|
|
136
138
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +164,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
162
164
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
165
|
});
|
|
164
166
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
167
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
166
168
|
}),
|
|
167
169
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
170
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +197,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
195
197
|
active: removed.switched,
|
|
196
198
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
199
|
});
|
|
198
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
199
201
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
202
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
203
|
})
|
|
202
204
|
});
|
|
203
205
|
}));
|
|
204
|
-
var
|
|
206
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node87, node85] });
|
|
205
207
|
|
|
206
|
-
export {
|
|
208
|
+
export { ID15, OAuth3, Key4, External2, Value2, Event19, Info25, Service77, node81, exports_credential };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./agent-44a7phry.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./variant-k7xgtgde.js";
|
|
5
1
|
import {
|
|
6
2
|
Service83,
|
|
7
3
|
node87
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./agent-e2erybrn.js";
|
|
5
|
+
import {
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./agent-mc5gsmcy.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node66
|
|
12
|
+
} from "./agent-wdbnpmn3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service62,
|
|
15
|
+
node65
|
|
16
|
+
} from "./agent-nzq7ck9f.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./agent-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service59
|
|
26
|
+
} from "./agent-n4r3xatb.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service67,
|
|
29
|
+
node70
|
|
30
|
+
} from "./agent-d28w4k3h.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-r8jtv4kk.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./agent-6waraj69.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./agent-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service58,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer21,
|
|
47
|
+
node: () => node62,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service58 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
62
|
+
var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service67;
|
|
64
|
+
const instances = yield* Service62;
|
|
65
|
+
const bus = yield* Service81;
|
|
66
|
+
const jobs = yield* Service63;
|
|
67
|
+
const db = (yield* Service83).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -76,14 +76,14 @@ var layer18 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service59.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make18({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service58.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node62 = makeGlobalNode({
|
|
127
|
+
service: Service58,
|
|
128
|
+
layer: layer21,
|
|
129
|
+
deps: [node70, node65, node85, node87, node66]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service58, Service58.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service54, Service54.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service58, terminal2, layer21, node62, noopLayer3, exports_execution };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node38 = makeGlobalNode({ service: Service34, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer14, node38, exports_model_transport };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./agent-g5w8qwbj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|