@opencode/core 0.0.0-dev-20784 → 0.0.0-dev-20787
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{file-retention-n7chjqa1.js → mime-027wet4k.js} +18 -18
- package/dist/chunks/{file-retention-9r9w78qs.js → mime-02rhty21.js} +10 -10
- package/dist/chunks/{file-retention-t8g2rvm9.js → mime-043vq6jw.js} +9 -9
- package/dist/chunks/{file-retention-xdqkszf6.js → mime-06svym02.js} +20 -20
- package/dist/chunks/{file-retention-6mbzp12p.js → mime-0caw9ff2.js} +40 -40
- package/dist/chunks/{file-retention-gz086qgb.js → mime-0cdge0jb.js} +9 -9
- package/dist/chunks/{file-retention-rtg4wmet.js → mime-0h0j16kf.js} +2 -2
- package/dist/chunks/{file-retention-909p1r3q.js → mime-0hf9g8pg.js} +6 -6
- package/dist/chunks/{file-retention-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-3pa89wpn.js → mime-0r44031v.js} +4 -4
- package/dist/chunks/{file-retention-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-4bzbvhwk.js → mime-119kcbn4.js} +14 -14
- package/dist/chunks/{file-retention-37ea9c2d.js → mime-166kng33.js} +8 -8
- package/dist/chunks/{file-retention-yp2x3t23.js → mime-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-1dvck2a7.js → mime-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-retention-bjx1sjef.js → mime-1ffvrpkg.js} +6 -6
- package/dist/chunks/{file-retention-m91gvp7t.js → mime-1fmrbde1.js} +4 -4
- package/dist/chunks/{file-retention-tk14y25j.js → mime-1pxz8ven.js} +5 -5
- package/dist/chunks/{file-retention-x47gwdav.js → mime-1rt8m1ja.js} +11 -11
- package/dist/chunks/{file-retention-cd70q2ry.js → mime-22ew7zjk.js} +24 -24
- package/dist/chunks/{file-retention-sww10ew7.js → mime-25bt1wpa.js} +13 -13
- package/dist/chunks/{file-retention-ecv6s6zk.js → mime-2a4kwaqe.js} +21 -21
- package/dist/chunks/{file-retention-t5ae1t4b.js → mime-2a8fhf6b.js} +22 -22
- package/dist/chunks/{file-retention-7dqw4kz8.js → mime-2k8khapm.js} +5 -5
- package/dist/chunks/{file-retention-75w0f5x3.js → mime-2tzxhtg5.js} +6 -6
- package/dist/chunks/{file-retention-2vvh33eb.js → mime-2vvh33eb.js} +2 -2
- package/dist/chunks/{file-retention-7pj8drkf.js → mime-2wjj0fs1.js} +20 -20
- package/dist/chunks/{file-retention-hnra3d6s.js → mime-2y6me16a.js} +5 -5
- package/dist/chunks/{file-retention-hq6c81g9.js → mime-2zgyweca.js} +11 -11
- package/dist/chunks/{file-retention-h7s7r6s9.js → mime-31xfzrxg.js} +5 -5
- package/dist/chunks/{file-retention-qsxkee9e.js → mime-39p60x63.js} +12 -12
- package/dist/chunks/{file-retention-spqcpneg.js → mime-3c019r4e.js} +6 -6
- package/dist/chunks/mime-3cr89ktw.js +26 -0
- package/dist/chunks/{file-retention-eynxa54k.js → mime-3f0qz8hp.js} +42 -42
- package/dist/chunks/{file-retention-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3hwn7j4h.js → mime-3hwn7j4h.js} +2 -2
- package/dist/chunks/{file-retention-291fq28g.js → mime-3rh0t8ax.js} +49 -49
- package/dist/chunks/{file-retention-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-qf6etae5.js → mime-3yaz0sw4.js} +8 -8
- package/dist/chunks/{file-retention-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-9hy1eatw.js → mime-474fe47g.js} +6 -6
- package/dist/chunks/{file-retention-85xxa1xb.js → mime-4a2kvcyx.js} +2 -2
- package/dist/chunks/{file-retention-5dkn69vz.js → mime-4j4tgtq5.js} +4 -4
- package/dist/chunks/{file-retention-5shkaybx.js → mime-4qe3v82z.js} +18 -18
- package/dist/chunks/{file-retention-gw2k9m0t.js → mime-4r678tgn.js} +51 -51
- package/dist/chunks/{file-retention-2ccvkpx1.js → mime-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-retention-641gya88.js → mime-51q7kv5k.js} +3 -3
- package/dist/chunks/{file-retention-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-4x8je4cs.js → mime-555m9css.js} +30 -30
- package/dist/chunks/{file-retention-azanj09g.js → mime-5d64x3an.js} +9 -9
- package/dist/chunks/{file-retention-m8q1dgfp.js → mime-5fw1pe9s.js} +5 -5
- package/dist/chunks/{file-retention-0rfmeyxn.js → mime-5jnhywy7.js} +11 -11
- package/dist/chunks/{file-retention-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-nb1wrey8.js → mime-5p7mbjgr.js} +32 -32
- package/dist/chunks/{file-retention-e3qxr5gk.js → mime-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-retention-xwfqprxb.js → mime-5r9tjx33.js} +11 -11
- package/dist/chunks/{file-retention-zrnmd36g.js → mime-64p0dc34.js} +7 -7
- package/dist/chunks/mime-69df29ex.js +253 -0
- package/dist/chunks/{file-retention-fm2qvscf.js → mime-6hh8tjw2.js} +4 -4
- package/dist/chunks/{file-retention-90ncnea0.js → mime-6n4qmm4z.js} +15 -15
- package/dist/chunks/{file-retention-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-retention-71az546q.js → mime-71az546q.js} +2 -2
- package/dist/chunks/{file-retention-72sxpf59.js → mime-72sxpf59.js} +3 -3
- package/dist/chunks/{file-retention-ycd7fagt.js → mime-76v4hyh5.js} +24 -24
- package/dist/chunks/{file-retention-k3wcbxqn.js → mime-78ap8ptf.js} +11 -11
- package/dist/chunks/{file-retention-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-2908y79c.js → mime-7gefn60q.js} +14 -14
- package/dist/chunks/{file-retention-ymh22vxa.js → mime-7gz4zf6g.js} +8 -8
- package/dist/chunks/{file-retention-phxa5z0e.js → mime-7nrehf5e.js} +7 -7
- package/dist/chunks/{file-retention-eyhnzkb4.js → mime-7tyef49m.js} +8 -8
- package/dist/chunks/{file-retention-ath3g41k.js → mime-7yf5bkbq.js} +43 -43
- package/dist/chunks/{file-retention-e80jqawr.js → mime-84q7187x.js} +35 -35
- package/dist/chunks/{file-retention-w1eejvng.js → mime-84txncab.js} +5 -5
- package/dist/chunks/{file-retention-a9kdv268.js → mime-86bpe89k.js} +15 -15
- package/dist/chunks/{file-retention-8sd5y0hb.js → mime-89axc63h.js} +26 -26
- package/dist/chunks/{file-retention-e4nca66s.js → mime-8fe25v87.js} +4 -4
- package/dist/chunks/{file-retention-7j5w12p9.js → mime-8kp6mxwf.js} +35 -35
- package/dist/chunks/{file-retention-8m6m0r52.js → mime-8m6m0r52.js} +1 -1
- package/dist/chunks/{file-retention-v7rdbjkx.js → mime-8npmv51p.js} +45 -45
- package/dist/chunks/{file-retention-ek3n6pab.js → mime-8qhkxqz0.js} +16 -16
- package/dist/chunks/{file-retention-mmsbfapg.js → mime-8spw8k1s.js} +1 -1
- package/dist/chunks/{file-retention-ks6sgrkr.js → mime-92gkf13j.js} +4 -4
- package/dist/chunks/{file-retention-9e5bzkjp.js → mime-9e5bzkjp.js} +3 -3
- package/dist/chunks/{file-retention-banfh6zd.js → mime-9j7s670v.js} +17 -17
- package/dist/chunks/{file-retention-7kk9evys.js → mime-9khw333n.js} +18 -18
- package/dist/chunks/{file-retention-5526gnt0.js → mime-9npg7sgn.js} +30 -30
- package/dist/chunks/{file-retention-xnyn0jx3.js → mime-9p5s5qkh.js} +16 -16
- package/dist/chunks/{file-retention-sd2fp9ec.js → mime-9vyb4gb4.js} +20 -20
- package/dist/chunks/{file-retention-y497myth.js → mime-agkwbcw7.js} +3 -3
- package/dist/chunks/{file-retention-15vdfc9c.js → mime-am9t0yx5.js} +5 -5
- package/dist/chunks/{file-retention-226karrg.js → mime-athh32y1.js} +32 -32
- package/dist/chunks/{file-retention-t3kgvaqg.js → mime-azxjp3dp.js} +24 -24
- package/dist/chunks/{file-retention-2ekw743c.js → mime-b296qpte.js} +1 -1
- package/dist/chunks/{file-retention-b3f8fkhc.js → mime-b3f8fkhc.js} +2 -2
- package/dist/chunks/{file-retention-jjenqzg1.js → mime-b8g0b6fs.js} +39 -39
- package/dist/chunks/{file-retention-vwpcpzep.js → mime-bc9tah8j.js} +8 -8
- package/dist/chunks/{file-retention-2w2dfs1b.js → mime-bg30q172.js} +15 -15
- package/dist/chunks/{file-retention-2hg7qvzt.js → mime-bgs9y14h.js} +5 -5
- package/dist/chunks/{file-retention-pgdn5y71.js → mime-bkrd29jn.js} +22 -22
- package/dist/chunks/{file-retention-thygzj8s.js → mime-bmcasqcw.js} +36 -36
- package/dist/chunks/{file-retention-h5qdgnb5.js → mime-bmcshxbz.js} +24 -24
- package/dist/chunks/{file-retention-4zeyygbb.js → mime-bsedjk5j.js} +11 -11
- package/dist/chunks/{file-retention-ba07h9gm.js → mime-btfhnvjh.js} +3 -3
- package/dist/chunks/{file-retention-s4wwhvjv.js → mime-c2hzm904.js} +21 -21
- package/dist/chunks/{file-retention-dwaxmk1s.js → mime-cbep1waf.js} +20 -20
- package/dist/chunks/{file-retention-ck45pw9k.js → mime-ckvhbccj.js} +5 -5
- package/dist/chunks/{file-retention-9j1mbtc1.js → mime-cvpz6d4t.js} +15 -15
- package/dist/chunks/{file-retention-54vb1344.js → mime-cw9hs8vb.js} +35 -35
- package/dist/chunks/{file-retention-fjh3s92b.js → mime-cwxspmwx.js} +15 -15
- package/dist/chunks/{file-retention-ryndta0d.js → mime-cz82p42g.js} +42 -42
- package/dist/chunks/{file-retention-hs4w86ex.js → mime-d1hg4edt.js} +7 -7
- package/dist/chunks/{file-retention-4re51v5c.js → mime-ddx03t81.js} +88 -88
- package/dist/chunks/{file-retention-6wh776qa.js → mime-djg0yxrp.js} +3 -3
- package/dist/chunks/{file-retention-81fjg4yx.js → mime-dktjxkrs.js} +12 -12
- package/dist/chunks/{file-retention-kkymj4jt.js → mime-dn9rb59v.js} +19 -19
- package/dist/chunks/{file-retention-76g80x4f.js → mime-dq5t6pd6.js} +3 -3
- package/dist/chunks/{file-retention-57b9ws8p.js → mime-drwq78ky.js} +5 -5
- package/dist/chunks/{file-retention-k430jzx8.js → mime-dvnbbf9e.js} +17 -17
- package/dist/chunks/{file-retention-z71twgyp.js → mime-e8vkwm2v.js} +5 -5
- package/dist/chunks/{file-retention-s8d7rejh.js → mime-eaj1djv9.js} +6 -6
- package/dist/chunks/{file-retention-eej6y6fw.js → mime-eej6y6fw.js} +2 -2
- package/dist/chunks/{file-retention-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-enqcm95t.js → mime-ejthmgn4.js} +33 -33
- package/dist/chunks/{file-retention-xc914k0j.js → mime-eq7febrf.js} +24 -24
- package/dist/chunks/{file-retention-jtmhc97q.js → mime-exydzexz.js} +59 -59
- package/dist/chunks/{file-retention-k79tzb9n.js → mime-fdms3n6w.js} +9 -9
- package/dist/chunks/{file-retention-hrh521yf.js → mime-fh2psg6v.js} +11 -11
- package/dist/chunks/{file-retention-bzn6nda8.js → mime-fkej15m0.js} +11 -11
- package/dist/chunks/{file-retention-2mqvqnd5.js → mime-fmgyvksq.js} +15 -15
- package/dist/chunks/{file-retention-vytaj533.js → mime-fyg8yg6h.js} +28 -28
- package/dist/chunks/{file-retention-5xtgfte3.js → mime-g0445xdp.js} +6 -6
- package/dist/chunks/{file-retention-hn2ax6sd.js → mime-g1dne7vm.js} +18 -18
- package/dist/chunks/{file-retention-sfczn6wa.js → mime-g1z3w466.js} +11 -11
- package/dist/chunks/{file-retention-x799tqys.js → mime-g2pj49kc.js} +15 -15
- package/dist/chunks/{file-retention-d7x0sh0y.js → mime-g686f6pq.js} +9 -9
- package/dist/chunks/{file-retention-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-1k45a421.js → mime-gh3y8pm2.js} +13 -13
- package/dist/chunks/{file-retention-6gaajhts.js → mime-gj914s14.js} +13 -13
- package/dist/chunks/{file-retention-gk8qb678.js → mime-gk8qb678.js} +1 -1
- package/dist/chunks/{file-retention-32y4ehgv.js → mime-gqxd2p8g.js} +11 -11
- package/dist/chunks/{file-retention-0e3qe3yy.js → mime-gs1jyngd.js} +22 -22
- package/dist/chunks/{file-retention-kksd5aqz.js → mime-gtzzrxfe.js} +23 -23
- package/dist/chunks/{file-retention-vcn79w6t.js → mime-gxgkqch3.js} +3 -3
- package/dist/chunks/{file-retention-h2b79v29.js → mime-h2b79v29.js} +2 -2
- package/dist/chunks/{file-retention-btmq9cxd.js → mime-h3f2yjd6.js} +17 -17
- package/dist/chunks/{file-retention-pdetw647.js → mime-h5qrb2fe.js} +11 -11
- package/dist/chunks/{file-retention-d6w343vm.js → mime-h5yjbcg8.js} +21 -21
- package/dist/chunks/{file-retention-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-ka5c30pq.js → mime-h77dp10q.js} +20 -20
- package/dist/chunks/{file-retention-mx7expm3.js → mime-hbgztc69.js} +14 -14
- package/dist/chunks/{file-retention-ynmknp8q.js → mime-hcv80w8f.js} +11 -11
- package/dist/chunks/{file-retention-t171g2rj.js → mime-hex8zqpz.js} +15 -15
- package/dist/chunks/{file-retention-mm2pt0qe.js → mime-hgf4dt9s.js} +20 -20
- package/dist/chunks/{file-retention-fkrcgtjd.js → mime-hgfer15g.js} +9 -9
- package/dist/chunks/{file-retention-hgz4x7wa.js → mime-hgz4x7wa.js} +1 -1
- package/dist/chunks/{file-retention-d580n77m.js → mime-hj508e7e.js} +11 -11
- package/dist/chunks/{file-retention-fgjzfnyp.js → mime-hr6fafxf.js} +5 -5
- package/dist/chunks/{file-retention-y6nv3cb4.js → mime-hrt380bf.js} +23 -23
- package/dist/chunks/{file-retention-35p49r4v.js → mime-hrvxfe8q.js} +33 -33
- package/dist/chunks/mime-ht5y0zrb.js +18 -0
- package/dist/chunks/{file-retention-gfe3ax2q.js → mime-j4my293e.js} +3 -3
- package/dist/chunks/{file-retention-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-qthw6f29.js → mime-jfahkm5h.js} +11 -11
- package/dist/chunks/{file-retention-700ev8gh.js → mime-jky4ye9c.js} +37 -37
- package/dist/chunks/{file-retention-f8d5qev0.js → mime-jpxm8prz.js} +10 -10
- package/dist/chunks/{file-retention-1f2vccss.js → mime-jq7vh08d.js} +43 -43
- package/dist/chunks/{file-retention-e4ma86vn.js → mime-jwz9xay8.js} +10 -10
- package/dist/chunks/{file-retention-kne8f3cn.js → mime-k76fn4kw.js} +4 -4
- package/dist/chunks/{file-retention-5w8jzqx5.js → mime-k8k1q94h.js} +5 -5
- package/dist/chunks/mime-k9byb1f6.js +513 -0
- package/dist/chunks/{file-retention-b2tc811h.js → mime-khxfz34n.js} +7 -7
- package/dist/chunks/{file-retention-0y4k1x12.js → mime-km9wxv53.js} +16 -16
- package/dist/chunks/{file-retention-pmwpe40e.js → mime-m0r31qfn.js} +4 -4
- package/dist/chunks/{file-retention-xrmap3r6.js → mime-m1p4hsbp.js} +4 -4
- package/dist/chunks/{file-retention-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-md08r0z8.js → mime-ma1dyg6s.js} +24 -24
- package/dist/chunks/{file-retention-nge58cm1.js → mime-mj1ev22k.js} +13 -13
- package/dist/chunks/{file-retention-fhx5vk7x.js → mime-mw0d6578.js} +18 -18
- package/dist/chunks/{file-retention-x0q3bb0r.js → mime-n8jrms90.js} +33 -33
- package/dist/chunks/{file-retention-ab8h52gf.js → mime-nbjv7f5k.js} +27 -27
- package/dist/chunks/{file-retention-azy71b5p.js → mime-nshegbx5.js} +10 -10
- package/dist/chunks/{file-retention-msa89gt8.js → mime-ntmqqprx.js} +9 -9
- package/dist/chunks/{file-retention-hs6v00ac.js → mime-nvk5447c.js} +11 -11
- package/dist/chunks/{file-retention-frf5w0nt.js → mime-nxf150ty.js} +15 -15
- package/dist/chunks/{file-retention-7me7tz75.js → mime-nypq18gz.js} +6 -6
- package/dist/chunks/{file-retention-rr9cc36v.js → mime-p2108z5q.js} +11 -11
- package/dist/chunks/{file-retention-xhr4eg5m.js → mime-p6r9gt0e.js} +15 -15
- package/dist/chunks/{file-retention-y5y4kes7.js → mime-paqvwarx.js} +22 -22
- package/dist/chunks/{file-retention-zfs8ae4p.js → mime-pgsrtt9v.js} +4 -4
- package/dist/chunks/{file-retention-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-my8b67cc.js → mime-pm3fjw9d.js} +11 -11
- package/dist/chunks/{file-retention-m6y8pydv.js → mime-pm8zwzej.js} +4 -4
- package/dist/chunks/{file-retention-5z9rmvjz.js → mime-pp6w2n40.js} +69 -69
- package/dist/chunks/{file-retention-88pgeajf.js → mime-pt2ghbdz.js} +6 -6
- package/dist/chunks/{file-retention-btwe4kze.js → mime-ptyhp8x2.js} +5 -5
- package/dist/chunks/{file-retention-5g380qbr.js → mime-pw45mt5g.js} +29 -29
- package/dist/chunks/{file-retention-84wx499v.js → mime-pwg95dhw.js} +27 -27
- package/dist/chunks/{file-retention-0j77ygfz.js → mime-q0xm7vwc.js} +6 -6
- package/dist/chunks/{file-retention-dwe8s81y.js → mime-qdj621en.js} +10 -10
- package/dist/chunks/{file-retention-v97fnpgb.js → mime-qmkkptsn.js} +5 -5
- package/dist/chunks/{file-retention-qmqgtz8f.js → mime-qmqgtz8f.js} +2 -2
- package/dist/chunks/{file-retention-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-nqj1gben.js → mime-qz30qjnb.js} +36 -36
- package/dist/chunks/{file-retention-r2z489rp.js → mime-r2z489rp.js} +1 -1
- package/dist/chunks/{file-retention-vczmck8z.js → mime-r67c82cp.js} +13 -13
- package/dist/chunks/{file-retention-5sn004hq.js → mime-r8cdb8d1.js} +19 -19
- package/dist/chunks/{file-retention-vbrars45.js → mime-rbpvdgf0.js} +8 -8
- package/dist/chunks/{file-retention-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-d7zv88p4.js → mime-rj535w0r.js} +21 -21
- package/dist/chunks/{file-retention-1p07q0wb.js → mime-rkprpv83.js} +4 -4
- package/dist/chunks/{file-retention-bbcm0tyt.js → mime-rm79vesf.js} +89 -89
- package/dist/chunks/{file-retention-2n9hdwqs.js → mime-rnfpy8wk.js} +27 -27
- package/dist/chunks/{file-retention-z3db4tjk.js → mime-rskec7mq.js} +23 -23
- package/dist/chunks/{file-retention-85snt3vs.js → mime-rvtvv650.js} +177 -177
- package/dist/chunks/{file-retention-ac7rwfbv.js → mime-rxsvjrcp.js} +7 -7
- package/dist/chunks/{file-retention-998r05vw.js → mime-s9rk4g4r.js} +46 -46
- package/dist/chunks/{file-retention-mvsrg00e.js → mime-sdp1rx2v.js} +32 -32
- package/dist/chunks/{file-retention-r2ktrraj.js → mime-seewk876.js} +9 -9
- package/dist/chunks/{file-retention-ytt0bby0.js → mime-sfjpyg4a.js} +10 -10
- package/dist/chunks/{file-retention-z7qtbqvc.js → mime-sh2d2d9q.js} +18 -18
- package/dist/chunks/{file-retention-xhvwjgs8.js → mime-t0157md9.js} +44 -44
- package/dist/chunks/{file-retention-xxy9zgkz.js → mime-t2rmr46s.js} +31 -31
- package/dist/chunks/{file-retention-g7kzsnmy.js → mime-t7a6mr3j.js} +23 -23
- package/dist/chunks/{file-retention-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-76rvckpe.js → mime-tdqj5rj9.js} +5 -5
- package/dist/chunks/{file-retention-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-0sdx5hkx.js → mime-tparn3vn.js} +18 -18
- package/dist/chunks/{file-retention-7fdjvgwr.js → mime-tvqmtm4q.js} +4 -4
- package/dist/chunks/{file-retention-2j3kqcde.js → mime-tw0x9r6k.js} +25 -25
- package/dist/chunks/{file-retention-5fec3t3w.js → mime-txm3e8qz.js} +9 -9
- package/dist/chunks/{file-retention-tyytaxap.js → mime-tyytaxap.js} +1 -1
- package/dist/chunks/{file-retention-4434d9q2.js → mime-v0es1rhs.js} +9 -9
- package/dist/chunks/{file-retention-q4dve0yc.js → mime-v63n2ckv.js} +14 -14
- package/dist/chunks/{file-retention-v7p4zvkq.js → mime-v7p4zvkq.js} +2 -2
- package/dist/chunks/{file-retention-h9pnpq88.js → mime-ve85v3xb.js} +4 -4
- package/dist/chunks/{file-retention-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-wx15gkxh.js → mime-vqjg70nz.js} +14 -14
- package/dist/chunks/{file-retention-hp90m9cj.js → mime-vvh8wk4a.js} +32 -32
- package/dist/chunks/{file-retention-wsq1jxfe.js → mime-vyw2z53s.js} +32 -32
- package/dist/chunks/{file-retention-4wnyxfvg.js → mime-vz5w0m48.js} +4 -4
- package/dist/chunks/{file-retention-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-waztmdc6.js → mime-wmtpy0s3.js} +20 -20
- package/dist/chunks/{file-retention-g95216pe.js → mime-wppa2pay.js} +42 -42
- package/dist/chunks/{file-retention-7cxxxtha.js → mime-wrcfn0vf.js} +55 -55
- package/dist/chunks/{file-retention-a0pnfrft.js → mime-x44zd53x.js} +31 -31
- package/dist/chunks/{file-retention-adm4qcea.js → mime-x4zw4aa2.js} +32 -32
- package/dist/chunks/{file-retention-mcp2qyd7.js → mime-xfsxdr6e.js} +23 -23
- package/dist/chunks/{file-retention-jhdf29st.js → mime-xt4njr3s.js} +1 -1
- package/dist/chunks/{file-retention-q3qqjc4j.js → mime-xzg29whq.js} +10 -10
- package/dist/chunks/{file-retention-j4hxg427.js → mime-xzyak3pr.js} +4 -4
- package/dist/chunks/{file-retention-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-wcdwbs26.js → mime-y60y4p2q.js} +17 -17
- package/dist/chunks/{file-retention-fshxsajn.js → mime-y6ecqznf.js} +30 -30
- package/dist/chunks/{file-retention-dpkg50ah.js → mime-y71avatq.js} +4 -4
- package/dist/chunks/{file-retention-01m0edtj.js → mime-yerhakjb.js} +11 -11
- package/dist/chunks/{file-retention-2k9fjx65.js → mime-ygdna4kr.js} +5 -5
- package/dist/chunks/{file-retention-0crjjxxx.js → mime-yh544exa.js} +18 -18
- package/dist/chunks/{file-retention-wy0w7taj.js → mime-ym3gh3rk.js} +23 -23
- package/dist/chunks/{file-retention-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-hymc8p36.js → mime-z4x1pac8.js} +8 -8
- package/dist/chunks/{file-retention-sf9ed94r.js → mime-z7r5j9y4.js} +17 -17
- package/dist/chunks/{file-retention-ea9a622x.js → mime-z8g8xkam.js} +17 -17
- package/dist/chunks/{file-retention-bkxyw0dr.js → mime-zab19jja.js} +9 -9
- package/dist/chunks/{file-retention-a310axxt.js → mime-znvvnn0n.js} +18 -18
- package/dist/chunks/{file-retention-87bzfwd4.js → mime-zp1tmv74.js} +9 -9
- package/dist/chunks/{file-retention-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-pq6k9xjj.js → mime-zt8we9d1.js} +4 -4
- package/dist/chunks/{file-retention-pr54a62y.js → mime-zvgv897q.js} +27 -27
- package/dist/chunks/{file-retention-3y377wv9.js → mime-zw2hpfmh.js} +4 -4
- package/dist/chunks/{file-retention-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +67 -67
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- 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 +100 -100
- 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 +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +7 -7
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +94 -94
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/file-retention-02wkw50e.js +0 -513
- package/dist/chunks/file-retention-dxj72tfx.js +0 -18
- package/dist/chunks/file-retention-f2fj5fz0.js +0 -253
- package/dist/chunks/file-retention-nxaxcbj9.js +0 -26
- /package/dist/chunks/{file-retention-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-bw78ga2c.js → mime-bw78ga2c.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-pyv0edze.js → mime-pyv0edze.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-fh2psg6v.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-1ffvrpkg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin18,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin18 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin10 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin10 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint4, Plugin18, exports_tinyfish };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-7nrehf5e.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service53,
|
|
10
|
+
node: () => node56
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service53 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node56 = LayerNode.unbound(Service53, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service53, node56, exports_service2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-seewk876.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service65,
|
|
8
|
+
node68
|
|
9
|
+
} from "./mime-76v4hyh5.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-gk8qb678.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service17,
|
|
24
|
+
node: () => node19
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service17 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service65;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service17.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [node68, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service17, node19, exports_ripgrep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service75,
|
|
10
|
+
node: () => node79
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service75 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service75.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service75, node79, exports_hooks };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make17
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make17 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make17, exports_run_coordinator };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-h2b79v29.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
10
10
|
__export(exports_mcp, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make20,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node70,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node70 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node70, exports_driver };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID3,
|
|
6
|
+
Service34
|
|
7
|
+
} from "./mime-n8jrms90.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-btfhnvjh.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-043vq6jw.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-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* Service34;
|
|
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: ID3.make(from),
|
|
91
|
+
to: ID3.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-pm8zwzej.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event18,
|
|
18
|
+
ID: () => ID14,
|
|
19
|
+
Info: () => Info23,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service74,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node78
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event18 } from "@opencode/schema/agent";
|
|
29
|
+
var ID14 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID14.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info23 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service74 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service84;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info23.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID14.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service74.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID14.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID14.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node88] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID14, Name3, defaultID2, Color2, Info23, Service74, node78, exports_agent4, Event18 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service55,
|
|
3
|
+
node58
|
|
4
|
+
} from "./mime-8npmv51p.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-btfhnvjh.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service54,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node57,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service54 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service55;
|
|
59
|
+
return Service54.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node57 = makeLocationNode({ service: Service54, layer, deps: [node58] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service54, resolved2, node57, exports_model };
|