@opencode/core 0.0.0-dev-20489 → 0.0.0-dev-20495
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{plugin-0st2k7bp.js → agent-05qm76tv.js} +5 -5
- package/dist/chunks/{plugin-s2rhz4ah.js → agent-06extccp.js} +3 -3
- package/dist/chunks/{plugin-mzpqzxtj.js → agent-0969ms2e.js} +15 -15
- package/dist/chunks/{plugin-qe2mh3tq.js → agent-0b54nqfq.js} +6 -6
- package/dist/chunks/{plugin-q5sv98z1.js → agent-0ee9cpen.js} +17 -17
- package/dist/chunks/{plugin-0vbcp93d.js → agent-0emb60td.js} +2 -2
- package/dist/chunks/{plugin-c7s4vxbp.js → agent-0fmjwecz.js} +5 -5
- package/dist/chunks/{plugin-q0xm7vwc.js → agent-0j77ygfz.js} +6 -6
- package/dist/chunks/{plugin-xqkkqd5t.js → agent-0keq86b3.js} +3 -3
- package/dist/chunks/{plugin-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-r2s5mzj1.js → agent-0tcn2edf.js} +4 -4
- package/dist/chunks/{plugin-gvf59224.js → agent-0vyq000p.js} +13 -13
- package/dist/chunks/{plugin-0ghtmzcp.js → agent-1225krvv.js} +48 -48
- package/dist/chunks/{plugin-knqt1fk3.js → agent-15zv1stq.js} +3 -3
- package/dist/chunks/{plugin-jhmdvha7.js → agent-180kw0bq.js} +18 -18
- package/dist/chunks/{plugin-yp2x3t23.js → agent-1acjjqhc.js} +4 -4
- package/dist/chunks/{plugin-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-32hdvsd1.js → agent-1egsrvyz.js} +9 -9
- package/dist/chunks/{plugin-552dhgzm.js → agent-1pk6jmbv.js} +5 -5
- package/dist/chunks/{plugin-gxer4289.js → agent-1wjt2sv4.js} +2 -2
- package/dist/chunks/{plugin-9tv1ghsx.js → agent-281yg8g7.js} +4 -4
- package/dist/chunks/{plugin-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-4ts7tf6z.js → agent-2ccvkpx1.js} +2 -2
- package/dist/chunks/{plugin-bh48mnt2.js → agent-2ejavyye.js} +22 -22
- package/dist/chunks/{plugin-7dqw4kz8.js → agent-2k8khapm.js} +5 -5
- package/dist/chunks/{plugin-yz16v67g.js → agent-2r2egdr4.js} +11 -11
- package/dist/chunks/{plugin-g0eqw7vj.js → agent-2tfjmdh5.js} +14 -14
- package/dist/chunks/{plugin-sk5hrgtc.js → agent-30846h32.js} +8 -8
- package/dist/chunks/{plugin-yssjxqzx.js → agent-3adj5p0b.js} +8 -8
- package/dist/chunks/{plugin-3cegwx68.js → agent-3cegwx68.js} +2 -2
- package/dist/chunks/{plugin-8x81hhm0.js → agent-3e0m7cwy.js} +36 -36
- package/dist/chunks/{plugin-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-s4vv33mq.js → agent-3wd3ybnr.js} +36 -36
- package/dist/chunks/{plugin-w4dx7hzn.js → agent-3ynasgj1.js} +3 -3
- package/dist/chunks/{plugin-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-tbdf39ae.js → agent-50c2qfar.js} +19 -19
- package/dist/chunks/{plugin-54ma36ye.js → agent-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-33w4ejhs.js → agent-56gdpj1q.js} +6 -6
- package/dist/chunks/{plugin-bn6g6p4n.js → agent-56wxwffs.js} +10 -10
- package/dist/chunks/{plugin-mdwkzxwq.js → agent-56zcmy0x.js} +43 -43
- package/dist/chunks/{plugin-qkb64swz.js → agent-5ctfgyhd.js} +11 -11
- package/dist/chunks/{plugin-5daktx2q.js → agent-5daktx2q.js} +1 -1
- package/dist/chunks/{plugin-4j4tgtq5.js → agent-5dkn69vz.js} +4 -4
- package/dist/chunks/{plugin-g3khgvgp.js → agent-5manh0gh.js} +49 -49
- package/dist/chunks/{plugin-nje5s9z6.js → agent-5mde3jdk.js} +13 -13
- package/dist/chunks/{plugin-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-a8bn8zg0.js → agent-5wtwrezn.js} +21 -21
- package/dist/chunks/{plugin-2sjdad61.js → agent-5zfe1hs5.js} +30 -30
- package/dist/chunks/{plugin-619r8v3y.js → agent-619r8v3y.js} +1 -1
- package/dist/chunks/{plugin-669tq793.js → agent-669tq793.js} +1 -1
- package/dist/chunks/{plugin-afabwxgp.js → agent-6b2kn43a.js} +6 -6
- package/dist/chunks/{plugin-9v7q5m1c.js → agent-6gvmk3q1.js} +15 -15
- package/dist/chunks/{plugin-w25fr9f9.js → agent-6jsnjtd7.js} +32 -32
- package/dist/chunks/{plugin-p9dr31ta.js → agent-71y1mzkm.js} +10 -10
- package/dist/chunks/{plugin-88wfbx9b.js → agent-7379n787.js} +34 -34
- package/dist/chunks/{plugin-gm6expwy.js → agent-78qt3sj1.js} +27 -27
- package/dist/chunks/{plugin-rghnzapf.js → agent-79db117c.js} +26 -26
- package/dist/chunks/{plugin-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-w43yw030.js → agent-7fxnnqbh.js} +5 -5
- package/dist/chunks/{plugin-h7zfyhdd.js → agent-7j08c9r1.js} +13 -13
- package/dist/chunks/{plugin-42ada8tk.js → agent-7mtf2ng8.js} +19 -19
- package/dist/chunks/{plugin-k3kq5fdz.js → agent-7mwqrr0g.js} +3 -3
- package/dist/chunks/{plugin-qvb3nf84.js → agent-7s2tn799.js} +8 -8
- package/dist/chunks/{plugin-w8zxs343.js → agent-81q1psws.js} +16 -16
- package/dist/chunks/{plugin-84h8c373.js → agent-84h8c373.js} +2 -2
- package/dist/chunks/{plugin-w1eejvng.js → agent-84txncab.js} +5 -5
- package/dist/chunks/{plugin-p4k59x61.js → agent-8bjjjscb.js} +26 -26
- package/dist/chunks/{plugin-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-h3gq0wn1.js → agent-8gccp9jq.js} +47 -47
- package/dist/chunks/{plugin-3gmgegrq.js → agent-8jpf4asr.js} +20 -20
- package/dist/chunks/{plugin-bxwnqnzf.js → agent-8n04mb3d.js} +24 -24
- package/dist/chunks/{plugin-bwwwqt94.js → agent-8percxtt.js} +10 -10
- package/dist/chunks/{plugin-dbmc5gjs.js → agent-8tsdq50x.js} +4 -4
- package/dist/chunks/{plugin-q4aqwj73.js → agent-8y3049xf.js} +24 -24
- package/dist/chunks/{plugin-rkse2x0j.js → agent-90kkfwkk.js} +17 -17
- package/dist/chunks/{plugin-w758s7nv.js → agent-961aaqfq.js} +43 -43
- package/dist/chunks/{plugin-rhwq70n6.js → agent-9f7pkh13.js} +11 -11
- package/dist/chunks/{plugin-xqb26yp8.js → agent-9jb08jxh.js} +15 -15
- package/dist/chunks/{plugin-5xs2yarg.js → agent-9mwv3506.js} +24 -24
- package/dist/chunks/{plugin-8am2xe2c.js → agent-9qkyr202.js} +89 -89
- package/dist/chunks/{plugin-svykb2th.js → agent-9sb0gsac.js} +32 -32
- package/dist/chunks/{plugin-w81m6cf9.js → agent-9tgqm29x.js} +22 -22
- package/dist/chunks/{plugin-ndp479ha.js → agent-a04xb9v5.js} +25 -25
- package/dist/chunks/{plugin-zy43x3f1.js → agent-a2rpfkac.js} +4 -4
- package/dist/chunks/{plugin-aaet6srn.js → agent-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-k22b66k8.js → agent-addxnjmp.js} +4 -4
- package/dist/chunks/{plugin-e2ts7srd.js → agent-am625cf0.js} +33 -33
- package/dist/chunks/{plugin-vpgtgc27.js → agent-aq1vxrpg.js} +4 -4
- package/dist/chunks/{plugin-cn6q53zc.js → agent-assaykk3.js} +11 -11
- package/dist/chunks/{plugin-3ah5pgmr.js → agent-aw71md39.js} +44 -44
- package/dist/chunks/{plugin-qvreyy9g.js → agent-axs6pdy0.js} +5 -5
- package/dist/chunks/{plugin-b3f8fkhc.js → agent-b3f8fkhc.js} +2 -2
- package/dist/chunks/{plugin-gy1e9esd.js → agent-b3wt4537.js} +18 -18
- package/dist/chunks/{plugin-py3kkmfq.js → agent-b4twkq7r.js} +6 -6
- package/dist/chunks/{plugin-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-9njedpex.js → agent-bgwt1ext.js} +8 -8
- package/dist/chunks/{plugin-sqmzwr9m.js → agent-bkxyw0dr.js} +9 -9
- package/dist/chunks/{plugin-qes05c22.js → agent-bsn5q6aq.js} +44 -44
- package/dist/chunks/{plugin-kh2dz1qf.js → agent-bsytyf4b.js} +13 -13
- package/dist/chunks/{plugin-n389n8yy.js → agent-bw7n94es.js} +180 -180
- package/dist/chunks/{plugin-y7cqqg6m.js → agent-c4hxtsjn.js} +18 -18
- package/dist/chunks/{plugin-gcbvw9h7.js → agent-c4ns4q6k.js} +328 -328
- package/dist/chunks/{plugin-s66tm1sq.js → agent-c50maqbp.js} +5 -5
- package/dist/chunks/{plugin-engkm2d6.js → agent-c5c0bz0t.js} +5 -5
- package/dist/chunks/{plugin-mhnyy3p3.js → agent-c60ns7m9.js} +11 -11
- package/dist/chunks/{plugin-5qwkxp89.js → agent-c651xxjb.js} +4 -4
- package/dist/chunks/{plugin-sk3qaz4a.js → agent-c7tg5ahm.js} +58 -20
- package/dist/chunks/{plugin-jebqk7jw.js → agent-cb44h7a0.js} +23 -23
- package/dist/chunks/{plugin-keq0amzm.js → agent-cdnk6ftw.js} +13 -13
- package/dist/chunks/{plugin-37n8qkst.js → agent-cey1m555.js} +11 -11
- package/dist/chunks/{plugin-cfymty4z.js → agent-chhwftq5.js} +31 -31
- package/dist/chunks/{plugin-6nam3y6a.js → agent-ct17t7wc.js} +21 -21
- package/dist/chunks/{plugin-g6tzv9ct.js → agent-cv7vxd11.js} +14 -14
- package/dist/chunks/{plugin-7x15szr3.js → agent-d7hcd0ym.js} +9 -9
- package/dist/chunks/{plugin-nge6e8t3.js → agent-dcr03msm.js} +20 -20
- package/dist/chunks/{plugin-xkntkrq7.js → agent-dmqcgk4z.js} +5 -5
- package/dist/chunks/{plugin-dpkg50ah.js → agent-dpkg50ah.js} +1 -1
- package/dist/chunks/{plugin-4a2kvcyx.js → agent-drnf6xwf.js} +2 -2
- package/dist/chunks/{plugin-cnvcdvk7.js → agent-dtz9s4b3.js} +6 -6
- package/dist/chunks/{plugin-gkj81yr6.js → agent-dw4v8saq.js} +15 -15
- package/dist/chunks/{plugin-5qd3pb7m.js → agent-e3qxr5gk.js} +2 -2
- package/dist/chunks/{plugin-53751w34.js → agent-e8y5teeb.js} +32 -32
- package/dist/chunks/{plugin-yy6k95dt.js → agent-ee7hath9.js} +24 -24
- package/dist/chunks/{plugin-g7pyd2xg.js → agent-eejvp2f2.js} +22 -22
- package/dist/chunks/{plugin-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-9ck34fdg.js → agent-enbxprp7.js} +7 -7
- package/dist/chunks/{plugin-mhkvc446.js → agent-eq1pz5kg.js} +3 -3
- package/dist/chunks/{plugin-5eqgw8nb.js → agent-er7bzzx2.js} +8 -8
- package/dist/chunks/{plugin-maheee0q.js → agent-es3gwfzz.js} +32 -32
- package/dist/chunks/{plugin-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-0he9bta8.js → agent-etzmzv32.js} +10 -10
- package/dist/chunks/{plugin-p37cw4rj.js → agent-eys57y9b.js} +8 -8
- package/dist/chunks/{plugin-k9wzpze3.js → agent-f0wzsm6w.js} +30 -30
- package/dist/chunks/{plugin-aby4nxsj.js → agent-f3g7k472.js} +31 -33
- package/dist/chunks/{plugin-29g2crnb.js → agent-f4ydgy3z.js} +7 -7
- package/dist/chunks/{plugin-mpfqpskx.js → agent-f5a9xnpw.js} +10 -10
- package/dist/chunks/{plugin-eneefzjq.js → agent-f5gy8qwh.js} +8 -8
- package/dist/chunks/{plugin-0me0fk48.js → agent-f6b7e72t.js} +4 -4
- package/dist/chunks/{plugin-w224pj40.js → agent-f717gdek.js} +19 -19
- package/dist/chunks/{plugin-f75zav2x.js → agent-f75zav2x.js} +2 -2
- package/dist/chunks/{plugin-vxh2w9az.js → agent-f7jtcmdh.js} +22 -22
- package/dist/chunks/{plugin-wc1qr0sj.js → agent-fe7h0mm2.js} +11 -11
- package/dist/chunks/{plugin-pte6hzve.js → agent-fje83gfw.js} +33 -33
- package/dist/chunks/{plugin-xp6rvhe2.js → agent-fkcqrwcb.js} +9 -9
- package/dist/chunks/{plugin-te665yay.js → agent-fmpajtcd.js} +15 -15
- package/dist/chunks/{plugin-n0qch2gr.js → agent-frfw21hw.js} +9 -9
- package/dist/chunks/{plugin-xfkkasph.js → agent-g5w8qwbj.js} +4 -4
- package/dist/chunks/{plugin-q553k2y0.js → agent-g74z9j9z.js} +18 -18
- package/dist/chunks/{plugin-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-08tmw935.js → agent-ghq8k3p0.js} +5 -5
- package/dist/chunks/{plugin-8wvbgzhc.js → agent-gnes5cxx.js} +6 -6
- package/dist/chunks/{plugin-js7acmhb.js → agent-gnvs0enq.js} +3 -3
- package/dist/chunks/{plugin-9j62v1na.js → agent-gx8qcdc6.js} +5 -5
- package/dist/chunks/{plugin-sjhf83m2.js → agent-h1c96afk.js} +8 -8
- package/dist/chunks/{plugin-hd8vw2pw.js → agent-h5w29vws.js} +1 -1
- package/dist/chunks/{plugin-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-2920kkda.js → agent-harr5xv8.js} +32 -32
- package/dist/chunks/{plugin-n7fvg6tv.js → agent-hcf0s5h1.js} +8 -8
- package/dist/chunks/{plugin-qj72p9h2.js → agent-hqhgbs2g.js} +3 -3
- package/dist/chunks/{plugin-g99crknm.js → agent-hvcgaqb3.js} +20 -20
- package/dist/chunks/{plugin-6b8kbxwq.js → agent-j245gaa0.js} +9 -9
- package/dist/chunks/{plugin-j56e64zr.js → agent-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-a9bdmzgt.js → agent-jgpg880r.js} +22 -22
- package/dist/chunks/{plugin-5w1jn6g6.js → agent-jjjc0chz.js} +30 -30
- package/dist/chunks/{plugin-a546qe5c.js → agent-jvp7p798.js} +21 -21
- package/dist/chunks/{plugin-vdgc7sk8.js → agent-jwtynxd2.js} +3 -3
- package/dist/chunks/{plugin-wpfn465e.js → agent-jzsegfhb.js} +4 -4
- package/dist/chunks/{plugin-fy55jrv2.js → agent-k6geg3g4.js} +7 -7
- package/dist/chunks/{plugin-kb9j3d72.js → agent-kb9j3d72.js} +3 -3
- package/dist/chunks/{plugin-ydgym1xa.js → agent-kbkg0dr4.js} +15 -15
- package/dist/chunks/{plugin-y6kccm89.js → agent-kjfdeayr.js} +8 -8
- package/dist/chunks/{plugin-aepc0ehj.js → agent-kjyqzbch.js} +25 -25
- package/dist/chunks/{plugin-t7n9q6bq.js → agent-kne8f3cn.js} +4 -4
- package/dist/chunks/{plugin-dmrh8gvy.js → agent-kxtv85c3.js} +24 -24
- package/dist/chunks/{plugin-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-9bk9cnp5.js → agent-ma9td961.js} +34 -34
- package/dist/chunks/{plugin-7bwettt8.js → agent-mmqb0ckj.js} +8 -8
- package/dist/chunks/{plugin-2a6rn6yr.js → agent-mx9vqzsb.js} +6 -6
- package/dist/chunks/{plugin-btfhnvjh.js → agent-my4zabxr.js} +3 -3
- package/dist/chunks/{plugin-aqg4cax4.js → agent-myymb6xt.js} +11 -11
- package/dist/chunks/{plugin-7sjb06ew.js → agent-n1mmzv0t.js} +11 -11
- package/dist/chunks/{plugin-ywp84kpb.js → agent-n94yfme4.js} +9 -9
- package/dist/chunks/{plugin-58avdj84.js → agent-nf0836sh.js} +23 -23
- package/dist/chunks/{plugin-7k9nbph5.js → agent-nnegx4ye.js} +34 -34
- package/dist/chunks/{plugin-b6h23dgp.js → agent-nq59jwz9.js} +16 -16
- package/dist/chunks/{plugin-wbhkz6w4.js → agent-p52b6053.js} +15 -15
- package/dist/chunks/{plugin-9dbt7z73.js → agent-pevp0vkc.js} +18 -18
- package/dist/chunks/{plugin-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-py01hhmc.js → agent-pm3rvpnw.js} +11 -11
- package/dist/chunks/{plugin-7cr7kbfa.js → agent-pnhxssdf.js} +1 -1
- package/dist/chunks/{plugin-h2mrpd9j.js → agent-pvax30d3.js} +45 -45
- package/dist/chunks/{plugin-wsw9xjjb.js → agent-pwbc1eft.js} +29 -29
- package/dist/chunks/{plugin-530jjp36.js → agent-pydjced1.js} +10 -10
- package/dist/chunks/{plugin-ygdna4kr.js → agent-pzjh1fyp.js} +5 -5
- package/dist/chunks/{plugin-29eykq4v.js → agent-q1c6gfm2.js} +19 -19
- package/dist/chunks/{plugin-ak9msbxp.js → agent-q3ersh05.js} +6 -6
- package/dist/chunks/{plugin-59t371j7.js → agent-q3hqp1sp.js} +3 -3
- package/dist/chunks/{plugin-qm0v3jhh.js → agent-qa3qhgw8.js} +7 -7
- package/dist/chunks/{plugin-hgqax4q6.js → agent-qc1xg33w.js} +22 -22
- package/dist/chunks/{plugin-4p82swk3.js → agent-qhsygc0r.js} +5 -5
- package/dist/chunks/{plugin-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-vjx4dhe3.js → agent-qp7thzpe.js} +11 -11
- package/dist/chunks/{plugin-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-m6g91zyk.js → agent-qx178q0k.js} +15 -15
- package/dist/chunks/{plugin-djszqvmq.js → agent-r2m716tb.js} +9 -9
- package/dist/chunks/{plugin-prq7hedt.js → agent-r9w3djhf.js} +9 -9
- package/dist/chunks/{plugin-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-r44petzp.js → agent-rfrf17aw.js} +12 -12
- package/dist/chunks/{plugin-9m5s7xmk.js → agent-rg23r00q.js} +35 -35
- package/dist/chunks/{plugin-wv396vej.js → agent-rhjbct0v.js} +8 -8
- package/dist/chunks/{plugin-bz068n2q.js → agent-rmbj2ecd.js} +24 -24
- package/dist/chunks/{plugin-wpvpdrjr.js → agent-rmr3r19k.js} +4 -4
- package/dist/chunks/{plugin-mmha00yr.js → agent-rmrqxqxb.js} +23 -23
- package/dist/chunks/{plugin-6ncs3jcp.js → agent-rmvpnps6.js} +35 -35
- package/dist/chunks/{plugin-62hsdztg.js → agent-rmwzrvg6.js} +10 -10
- package/dist/chunks/{plugin-bqq66rcm.js → agent-rvxarf9v.js} +4 -4
- package/dist/chunks/{plugin-pr301zdv.js → agent-rwb52vrc.js} +60 -60
- package/dist/chunks/{plugin-y5f3qdbg.js → agent-ry082wg0.js} +9 -9
- package/dist/chunks/{plugin-6vge9h39.js → agent-s4v9x9re.js} +26 -26
- package/dist/chunks/{plugin-e4qyxvqk.js → agent-sb3bqbj6.js} +11 -11
- package/dist/chunks/{plugin-pt41nrzb.js → agent-snw8yyk6.js} +28 -28
- package/dist/chunks/{plugin-3ag6mk8n.js → agent-spx8c6ms.js} +6 -6
- package/dist/chunks/{plugin-6ne101av.js → agent-sv2c0njk.js} +22 -22
- package/dist/chunks/{plugin-snnkctvy.js → agent-sw2s00mc.js} +16 -16
- package/dist/chunks/{plugin-xk6sbjp1.js → agent-t0d6zw4z.js} +9 -9
- package/dist/chunks/{plugin-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-qf3mq4ra.js → agent-tt3j5xxe.js} +21 -21
- package/dist/chunks/{plugin-jagbr6h4.js → agent-v1wz7cyc.js} +17 -17
- package/dist/chunks/{plugin-c59ctwfg.js → agent-vaatkb7m.js} +20 -20
- package/dist/chunks/agent-vbqmraq8.js +253 -0
- package/dist/chunks/{plugin-k4wmp9nh.js → agent-vdd4vb6q.js} +37 -37
- package/dist/chunks/{plugin-hgt7erew.js → agent-vdeedkq6.js} +11 -11
- package/dist/chunks/{plugin-gdgk23je.js → agent-ve4zfcma.js} +22 -22
- package/dist/chunks/{plugin-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
- package/dist/chunks/{plugin-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-1rpvqjb2.js → agent-w47smtgf.js} +18 -18
- package/dist/chunks/{plugin-jvq0khv9.js → agent-w7fnhhq6.js} +18 -18
- package/dist/chunks/{plugin-g2qsvwwh.js → agent-wb2syegf.js} +24 -24
- package/dist/chunks/{plugin-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-hh2jxtdr.js → agent-wv8a670q.js} +67 -67
- package/dist/chunks/{plugin-p8v7gray.js → agent-wzkdy7pq.js} +9 -9
- package/dist/chunks/{plugin-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
- package/dist/chunks/{plugin-pn55wrwy.js → agent-x2h9s1mq.js} +30 -30
- package/dist/chunks/{plugin-ttn9g19g.js → agent-x2n4r1b6.js} +17 -17
- package/dist/chunks/{plugin-h4ckqw4f.js → agent-x75ma0cf.js} +11 -11
- package/dist/chunks/{plugin-ns6nxdj3.js → agent-x8qwh5yk.js} +1 -1
- package/dist/chunks/{plugin-0bg0bx69.js → agent-xecxzrdp.js} +5 -5
- package/dist/chunks/{plugin-1xw4ekgp.js → agent-xgrk1snk.js} +26 -26
- package/dist/chunks/{plugin-7mvfv48b.js → agent-xjphdyj0.js} +5 -5
- package/dist/chunks/{plugin-gf5746j9.js → agent-xmbvsbqy.js} +11 -11
- package/dist/chunks/{plugin-xn3aq1vn.js → agent-xmsh8y1f.js} +41 -41
- package/dist/chunks/{plugin-jgaj827t.js → agent-xpf13hnw.js} +26 -26
- package/dist/chunks/{plugin-xyafkbt0.js → agent-xyafkbt0.js} +3 -3
- package/dist/chunks/{plugin-9f659gft.js → agent-xyzvdesr.js} +9 -9
- package/dist/chunks/{plugin-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-g5nesaam.js → agent-y218q3m0.js} +11 -11
- package/dist/chunks/{plugin-na8rrp7m.js → agent-y9e856tf.js} +35 -35
- package/dist/chunks/{plugin-z6e4akrq.js → agent-y9t2v59g.js} +10 -10
- package/dist/chunks/{plugin-b00njkv4.js → agent-ya7p2kne.js} +20 -20
- package/dist/chunks/{plugin-a1tj4w97.js → agent-ydxjpy93.js} +17 -17
- package/dist/chunks/{plugin-1pxz8ven.js → agent-yebk9b1k.js} +5 -5
- package/dist/chunks/{plugin-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
- package/dist/chunks/{plugin-592e04rw.js → agent-ywrxzmrq.js} +22 -22
- package/dist/chunks/{plugin-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/agent-z2gne1tr.js +26 -0
- package/dist/chunks/{plugin-whbvrzaq.js → agent-zm5gxt3d.js} +20 -20
- package/dist/chunks/{plugin-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-zpd5qt32.js → agent-zwywmq97.js} +12 -12
- package/dist/chunks/{plugin-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/chunks/{plugin-aqcsk7k7.js → agent-zxxvxyna.js} +12 -12
- package/dist/chunks/{plugin-seybfen1.js → agent-zykjx2tp.js} +84 -84
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +70 -70
- 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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- 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 +355 -355
- package/dist/instruction-discovery.js +85 -85
- 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 +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- 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 +103 -103
- 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 +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- 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/gateway.js +2 -2
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- 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/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- 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 +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- 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 +122 -122
- 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 +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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/persistent-pty/daemon.d.ts +4 -4
- package/dist/types/persistent-pty/index.d.ts +2 -0
- 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 +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +10 -10
- package/dist/chunks/plugin-9pk6az91.js +0 -26
- package/dist/chunks/plugin-pjqdv965.js +0 -253
- /package/dist/chunks/{plugin-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node62
|
|
3
|
+
} from "./agent-rmbj2ecd.js";
|
|
4
|
+
import {
|
|
5
|
+
node82
|
|
6
|
+
} from "./agent-xpf13hnw.js";
|
|
7
|
+
import {
|
|
8
|
+
node81
|
|
9
|
+
} from "./agent-jjjc0chz.js";
|
|
10
|
+
import {
|
|
11
|
+
node84,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./agent-2tfjmdh5.js";
|
|
14
|
+
import {
|
|
15
|
+
node80
|
|
16
|
+
} from "./agent-9sb0gsac.js";
|
|
17
|
+
import {
|
|
18
|
+
node78
|
|
19
|
+
} from "./agent-cey1m555.js";
|
|
20
|
+
import {
|
|
21
|
+
node79
|
|
22
|
+
} from "./agent-harr5xv8.js";
|
|
23
|
+
import {
|
|
24
|
+
node43
|
|
25
|
+
} from "./agent-kxtv85c3.js";
|
|
26
|
+
import {
|
|
27
|
+
configured8,
|
|
28
|
+
node66
|
|
29
|
+
} from "./agent-xmsh8y1f.js";
|
|
30
|
+
import {
|
|
31
|
+
node72
|
|
32
|
+
} from "./agent-8n04mb3d.js";
|
|
33
|
+
import {
|
|
34
|
+
node59
|
|
35
|
+
} from "./agent-cdnk6ftw.js";
|
|
36
|
+
import {
|
|
37
|
+
node76
|
|
38
|
+
} from "./agent-p52b6053.js";
|
|
39
|
+
import {
|
|
40
|
+
node26
|
|
41
|
+
} from "./agent-5zfe1hs5.js";
|
|
42
|
+
import {
|
|
43
|
+
DirectoryNotFoundError2,
|
|
44
|
+
node25
|
|
45
|
+
} from "./agent-tt3j5xxe.js";
|
|
46
|
+
import {
|
|
47
|
+
node77
|
|
48
|
+
} from "./agent-bsn5q6aq.js";
|
|
49
|
+
import {
|
|
50
|
+
node23
|
|
51
|
+
} from "./agent-9tgqm29x.js";
|
|
52
|
+
import {
|
|
53
|
+
node51
|
|
54
|
+
} from "./agent-bkxyw0dr.js";
|
|
55
|
+
import {
|
|
56
|
+
node35
|
|
57
|
+
} from "./agent-aw71md39.js";
|
|
58
|
+
import {
|
|
59
|
+
Service45,
|
|
60
|
+
node47
|
|
61
|
+
} from "./agent-mx9vqzsb.js";
|
|
62
|
+
import {
|
|
63
|
+
node40
|
|
64
|
+
} from "./agent-kbkg0dr4.js";
|
|
65
|
+
import {
|
|
66
|
+
node70
|
|
67
|
+
} from "./agent-30846h32.js";
|
|
68
|
+
import {
|
|
69
|
+
node55
|
|
70
|
+
} from "./agent-rwb52vrc.js";
|
|
71
|
+
import {
|
|
72
|
+
node46
|
|
73
|
+
} from "./agent-7j08c9r1.js";
|
|
74
|
+
import {
|
|
75
|
+
configured7,
|
|
76
|
+
node53
|
|
77
|
+
} from "./agent-8bjjjscb.js";
|
|
78
|
+
import {
|
|
79
|
+
node36
|
|
80
|
+
} from "./agent-50c2qfar.js";
|
|
81
|
+
import {
|
|
82
|
+
node50
|
|
83
|
+
} from "./agent-eejvp2f2.js";
|
|
84
|
+
import {
|
|
85
|
+
node34
|
|
86
|
+
} from "./agent-w47smtgf.js";
|
|
87
|
+
import {
|
|
88
|
+
node41
|
|
89
|
+
} from "./agent-wb2syegf.js";
|
|
90
|
+
import {
|
|
91
|
+
node33
|
|
92
|
+
} from "./agent-8jpf4asr.js";
|
|
93
|
+
import {
|
|
94
|
+
node42
|
|
95
|
+
} from "./agent-2ejavyye.js";
|
|
96
|
+
import {
|
|
97
|
+
node31
|
|
98
|
+
} from "./agent-f7jtcmdh.js";
|
|
99
|
+
import {
|
|
100
|
+
node30
|
|
101
|
+
} from "./agent-zykjx2tp.js";
|
|
102
|
+
import {
|
|
103
|
+
node61
|
|
104
|
+
} from "./agent-am625cf0.js";
|
|
105
|
+
import {
|
|
106
|
+
node75
|
|
107
|
+
} from "./agent-q1c6gfm2.js";
|
|
108
|
+
import {
|
|
109
|
+
node68
|
|
110
|
+
} from "./agent-c60ns7m9.js";
|
|
111
|
+
import {
|
|
112
|
+
node64
|
|
113
|
+
} from "./agent-8gccp9jq.js";
|
|
114
|
+
import {
|
|
115
|
+
node60
|
|
116
|
+
} from "./agent-dw4v8saq.js";
|
|
117
|
+
import {
|
|
118
|
+
node19
|
|
119
|
+
} from "./agent-jvp7p798.js";
|
|
120
|
+
import {
|
|
121
|
+
node18
|
|
122
|
+
} from "./agent-cb44h7a0.js";
|
|
123
|
+
import {
|
|
124
|
+
node22
|
|
125
|
+
} from "./agent-ct17t7wc.js";
|
|
126
|
+
import {
|
|
127
|
+
node17
|
|
128
|
+
} from "./agent-0969ms2e.js";
|
|
129
|
+
import {
|
|
130
|
+
node2
|
|
131
|
+
} from "./agent-f0wzsm6w.js";
|
|
132
|
+
import {
|
|
133
|
+
Service13,
|
|
134
|
+
node15
|
|
135
|
+
} from "./agent-fje83gfw.js";
|
|
136
|
+
import {
|
|
137
|
+
node54
|
|
138
|
+
} from "./agent-g74z9j9z.js";
|
|
139
|
+
import {
|
|
140
|
+
node9,
|
|
141
|
+
bound2
|
|
142
|
+
} from "./agent-eys57y9b.js";
|
|
143
|
+
import {
|
|
144
|
+
node12
|
|
145
|
+
} from "./agent-snw8yyk6.js";
|
|
146
|
+
import {
|
|
147
|
+
node13
|
|
148
|
+
} from "./agent-f717gdek.js";
|
|
149
|
+
import {
|
|
150
|
+
node6
|
|
151
|
+
} from "./agent-frfw21hw.js";
|
|
152
|
+
import {
|
|
153
|
+
node3
|
|
154
|
+
} from "./agent-rg23r00q.js";
|
|
155
|
+
import {
|
|
156
|
+
node63
|
|
157
|
+
} from "./agent-nnegx4ye.js";
|
|
158
|
+
import {
|
|
159
|
+
node14
|
|
160
|
+
} from "./agent-s4v9x9re.js";
|
|
161
|
+
import {
|
|
162
|
+
node11
|
|
163
|
+
} from "./agent-wv8a670q.js";
|
|
164
|
+
import {
|
|
165
|
+
__export
|
|
166
|
+
} from "./agent-9rqn6x4v.js";
|
|
167
|
+
|
|
168
|
+
// src/instance.ts
|
|
169
|
+
var exports_instance = {};
|
|
170
|
+
__export(exports_instance, {
|
|
171
|
+
Instance: () => exports_instance,
|
|
172
|
+
Service: () => Service45,
|
|
173
|
+
graph: () => graph2,
|
|
174
|
+
layer: () => layer2,
|
|
175
|
+
node: () => node47
|
|
176
|
+
});
|
|
177
|
+
import { Context, Effect, Layer } from "effect";
|
|
178
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
179
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
180
|
+
var nodes = [
|
|
181
|
+
node84,
|
|
182
|
+
node15,
|
|
183
|
+
node72,
|
|
184
|
+
node66,
|
|
185
|
+
node62,
|
|
186
|
+
node43,
|
|
187
|
+
node41,
|
|
188
|
+
node60,
|
|
189
|
+
node18,
|
|
190
|
+
node81,
|
|
191
|
+
node80,
|
|
192
|
+
node79,
|
|
193
|
+
node77,
|
|
194
|
+
node78,
|
|
195
|
+
node17,
|
|
196
|
+
node70,
|
|
197
|
+
node9,
|
|
198
|
+
node3,
|
|
199
|
+
node22,
|
|
200
|
+
node26,
|
|
201
|
+
node25,
|
|
202
|
+
node75,
|
|
203
|
+
node63,
|
|
204
|
+
node64,
|
|
205
|
+
node42,
|
|
206
|
+
node36,
|
|
207
|
+
node53,
|
|
208
|
+
node54,
|
|
209
|
+
node59,
|
|
210
|
+
node76,
|
|
211
|
+
node35,
|
|
212
|
+
node55,
|
|
213
|
+
node50,
|
|
214
|
+
node68,
|
|
215
|
+
node51,
|
|
216
|
+
node31,
|
|
217
|
+
node33,
|
|
218
|
+
node40,
|
|
219
|
+
node82,
|
|
220
|
+
node23,
|
|
221
|
+
node6,
|
|
222
|
+
node34,
|
|
223
|
+
node13,
|
|
224
|
+
node46,
|
|
225
|
+
node12,
|
|
226
|
+
node14,
|
|
227
|
+
node30,
|
|
228
|
+
node61,
|
|
229
|
+
node11,
|
|
230
|
+
node19,
|
|
231
|
+
node2
|
|
232
|
+
];
|
|
233
|
+
var graph2 = LayerNode.group(nodes);
|
|
234
|
+
var vanillaReplacements = [
|
|
235
|
+
node66.replace(configured8({ project: false, global: false })),
|
|
236
|
+
node53.replace(configured7({ project: false, global: false }))
|
|
237
|
+
];
|
|
238
|
+
function layer2(ref, options = {}) {
|
|
239
|
+
const startedAt = performance.now();
|
|
240
|
+
const replacements = [
|
|
241
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
242
|
+
...options.replacements ?? [],
|
|
243
|
+
node84.replace(boundNode2(ref)),
|
|
244
|
+
node9.replace(bound2(options.plugins ?? []))
|
|
245
|
+
];
|
|
246
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service13).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
247
|
+
directory: ref.directory,
|
|
248
|
+
workspaceID: ref.workspaceID,
|
|
249
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
250
|
+
})));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-q3hqp1sp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-0tcn2edf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node58
|
|
12
|
+
} from "./agent-81q1psws.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service45,
|
|
15
|
+
node47
|
|
16
|
+
} from "./agent-mx9vqzsb.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./agent-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service43
|
|
26
|
+
} from "./agent-kne8f3cn.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service53,
|
|
29
|
+
node56
|
|
30
|
+
} from "./agent-nq59jwz9.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-1pk6jmbv.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./agent-v1wz7cyc.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: () => Service42,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer18,
|
|
47
|
+
node: () => node45,
|
|
48
|
+
noopLayer: () => noopLayer2,
|
|
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 Service42 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ 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*
|
|
62
|
+
var layer18 = Layer.effect(Service42, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service53;
|
|
64
|
+
const instances = yield* Service45;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service55;
|
|
67
67
|
const db = (yield* Service84).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) => ({
|
|
@@ -76,14 +76,14 @@ var layer17 = Layer.effect(Service44, 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* Service43.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* make17({
|
|
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 layer17 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service42.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node45 = makeGlobalNode({
|
|
127
|
+
service: Service42,
|
|
128
|
+
layer: layer18,
|
|
129
|
+
deps: [node56, node47, node87, node88, node58]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service42, Service42.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(Service44, Service44.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service42, terminal2, layer18, node45, noopLayer2, exports_execution };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-my4zabxr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-ry082wg0.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-f6b7e72t.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./agent-5dkn69vz.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./agent-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-9sb0gsac.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./agent-harr5xv8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-0tcn2edf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service32,
|
|
7
|
+
node35
|
|
8
|
+
} from "./agent-aw71md39.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node55
|
|
12
|
+
} from "./agent-rwb52vrc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service48,
|
|
15
|
+
node50
|
|
16
|
+
} from "./agent-eejvp2f2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
@@ -26,7 +26,7 @@ __export(exports_mcp3, {
|
|
|
26
26
|
layer: () => layer13,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -38,10 +38,10 @@ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-
|
|
|
38
38
|
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
40
|
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
41
|
+
const mcp = yield* Service32;
|
|
42
|
+
const tools = yield* Service48;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service52;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -120,10 +120,10 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
121
|
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
123
|
+
var node34 = makeLocationNode({
|
|
124
124
|
service: Service31,
|
|
125
125
|
layer: layer13,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node50, node35, node87, node55]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13, Service31, layer13,
|
|
129
|
+
export { namespace2, name13, Service31, layer13, node34, exports_mcp3 };
|