@opencode/core 0.0.0-dev-20356 → 0.0.0-dev-20357
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 +73 -73
- package/dist/chunks/{project-gynv5cx7.js → mime-08rawchj.js} +2 -2
- package/dist/chunks/{project-29qm0wq5.js → mime-0d46t3ec.js} +23 -23
- package/dist/chunks/{project-h6wyq11a.js → mime-0g48p6vr.js} +20 -20
- package/dist/chunks/{project-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-tfb7wsn7.js → mime-0qtc3cks.js} +11 -11
- package/dist/chunks/{project-ev5h5ydt.js → mime-0vrkqtc8.js} +18 -18
- package/dist/chunks/{project-vme540ew.js → mime-12hgr1bm.js} +3 -3
- package/dist/chunks/{project-tnj7w1ns.js → mime-1cnmjpf3.js} +89 -89
- package/dist/chunks/{project-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{project-0878msad.js → mime-1dszprzg.js} +14 -14
- package/dist/chunks/{project-6zkzrtmg.js → mime-1jt2n6st.js} +27 -27
- package/dist/chunks/{project-wt0nnffb.js → mime-1mtadfea.js} +41 -41
- package/dist/chunks/{project-qq9nedxw.js → mime-1v7wv6cb.js} +19 -19
- package/dist/chunks/{project-56gdpj1q.js → mime-1ygqh575.js} +9 -9
- package/dist/chunks/{project-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{project-3bxd3j1q.js → mime-24bqy9wh.js} +8 -8
- package/dist/chunks/{project-w8p5fr4d.js → mime-275560dt.js} +30 -30
- package/dist/chunks/{project-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{project-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-pf2hb43r.js → mime-2d57kztd.js} +4 -4
- package/dist/chunks/{project-cfebf2b3.js → mime-2gfh4smv.js} +18 -18
- package/dist/chunks/{project-gycsprcg.js → mime-2h9zfskj.js} +25 -25
- package/dist/chunks/{project-nzep5kp0.js → mime-2hev1hmr.js} +46 -46
- package/dist/chunks/{project-fzq9b8e0.js → mime-2m02hkrg.js} +4 -4
- package/dist/chunks/{project-8t1g6eyt.js → mime-30m2bfsy.js} +33 -33
- package/dist/chunks/{project-qt41wyaw.js → mime-31sg0ebh.js} +5 -5
- package/dist/chunks/{project-ncnm8wen.js → mime-3556dn8t.js} +1 -1
- package/dist/chunks/{project-t503hra4.js → mime-35w82194.js} +11 -11
- package/dist/chunks/{project-axs6pdy0.js → mime-3801kdgp.js} +5 -5
- package/dist/chunks/{project-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{project-6v6z346v.js → mime-3ftsqe3x.js} +11 -11
- package/dist/chunks/{project-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-zg5102wc.js → mime-3kzxhzwk.js} +25 -25
- package/dist/chunks/{project-m6m7f38k.js → mime-3nw8wjd1.js} +4 -4
- package/dist/chunks/{project-q6ffwytb.js → mime-3pwk07sq.js} +32 -32
- package/dist/chunks/{project-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{project-tcdk566h.js → mime-42e3yd9q.js} +26 -26
- package/dist/chunks/{project-8p1n5kzm.js → mime-436p0ree.js} +1 -1
- package/dist/chunks/{project-9x77fmbz.js → mime-44pdqs77.js} +4 -4
- package/dist/chunks/{project-vdzkh65a.js → mime-451p6gb0.js} +17 -17
- package/dist/chunks/{project-2d8g41z0.js → mime-4az0ap15.js} +5 -5
- package/dist/chunks/{project-cmet8kw7.js → mime-4rm2k9v5.js} +22 -22
- package/dist/chunks/{project-9tef4xa6.js → mime-4tg3npcq.js} +25 -25
- package/dist/chunks/mime-4v7qdvcn.js +18 -0
- package/dist/chunks/{project-zsr4wwhv.js → mime-4z58m4b4.js} +4 -4
- package/dist/chunks/{project-01b2nk25.js → mime-4z5b7cq3.js} +15 -15
- package/dist/chunks/{project-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{project-ckecvw8r.js → mime-54tcyq79.js} +2 -2
- package/dist/chunks/{project-fep3pdp6.js → mime-55g0mqff.js} +324 -324
- package/dist/chunks/{project-csmvz898.js → mime-56bnbftg.js} +9 -9
- package/dist/chunks/{project-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
- package/dist/chunks/{project-6r8gf4vt.js → mime-585rwsxc.js} +13 -13
- package/dist/chunks/{project-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{project-qrj3wnkg.js → mime-5eb3a1ca.js} +12 -12
- package/dist/chunks/{project-wh0hmwac.js → mime-5q7w5dw4.js} +22 -22
- package/dist/chunks/{project-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{project-1tyxkk7v.js → mime-5ypay5ec.js} +45 -45
- package/dist/chunks/{project-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{project-cyaky418.js → mime-6bfgxdxy.js} +3 -3
- package/dist/chunks/{project-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{project-4sg0qqqr.js → mime-70ghbar0.js} +14 -14
- package/dist/chunks/{project-r5x6zcsm.js → mime-73tb2d7t.js} +3 -3
- package/dist/chunks/{project-tazp3vs0.js → mime-784hb5j4.js} +4 -4
- package/dist/chunks/{project-wgekj4qb.js → mime-78w2c962.js} +3 -3
- package/dist/chunks/{project-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-2tb6ny1p.js → mime-7d4sap7d.js} +32 -32
- package/dist/chunks/{project-607tc6va.js → mime-7dqw4kz8.js} +5 -5
- package/dist/chunks/{project-9y2xma3b.js → mime-7kjdg552.js} +20 -20
- package/dist/chunks/{project-a1a50ys5.js → mime-809q4hne.js} +5 -5
- package/dist/chunks/{project-pe58eyng.js → mime-81hwre94.js} +9 -9
- package/dist/chunks/{project-w1eejvng.js → mime-84txncab.js} +5 -5
- package/dist/chunks/{project-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{project-40ctg4xk.js → mime-8egjf8hv.js} +25 -25
- package/dist/chunks/{project-0s7psmf3.js → mime-8jk8106t.js} +1 -1
- package/dist/chunks/{project-0yzz1bpd.js → mime-8m4waq6v.js} +29 -29
- package/dist/chunks/{project-6a90sj0r.js → mime-8xtwbd7n.js} +23 -23
- package/dist/chunks/{project-b2bq2q2h.js → mime-9182tnph.js} +13 -13
- package/dist/chunks/{project-a694798e.js → mime-94s48bjb.js} +5 -5
- package/dist/chunks/{project-r2tk4372.js → mime-94wan21z.js} +15 -15
- package/dist/chunks/{project-ysyj05xv.js → mime-963afhp9.js} +30 -30
- package/dist/chunks/{project-ezzzks3g.js → mime-9m1c9bc6.js} +19 -19
- package/dist/chunks/{project-7zhqx0r2.js → mime-9tm41fxb.js} +19 -19
- package/dist/chunks/{project-dbqhdgwa.js → mime-9vy5z0j9.js} +9 -9
- package/dist/chunks/{project-8y61pqpd.js → mime-9yj7necg.js} +7 -7
- package/dist/chunks/{project-yw5zhsjr.js → mime-a1gftt2j.js} +6 -6
- package/dist/chunks/{project-gs3s1a1g.js → mime-a2qe2ev9.js} +8 -8
- package/dist/chunks/{project-n1gphgks.js → mime-a2snrrhh.js} +57 -57
- package/dist/chunks/{project-g8d3gcyj.js → mime-a46v4e4v.js} +7 -7
- package/dist/chunks/{project-r3knsq37.js → mime-a9b0w8ke.js} +44 -44
- package/dist/chunks/{project-zke1m8at.js → mime-a9jk16wk.js} +24 -24
- package/dist/chunks/{project-n6ay0naj.js → mime-a9m5xffm.js} +48 -48
- package/dist/chunks/{project-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{project-sr67wv65.js → mime-abtzwxnt.js} +44 -44
- package/dist/chunks/{project-77vbs49e.js → mime-adxscsa6.js} +25 -25
- package/dist/chunks/{project-ybkv2jt6.js → mime-are8fj85.js} +11 -11
- package/dist/chunks/{project-4qqqe9ph.js → mime-asnx69vs.js} +41 -41
- package/dist/chunks/{project-dzgh9fhm.js → mime-ayp5f77b.js} +17 -17
- package/dist/chunks/{project-0aqwtw9c.js → mime-azt1av7k.js} +13 -13
- package/dist/chunks/{project-mwx6kxq6.js → mime-azz8ttf1.js} +11 -11
- package/dist/chunks/{project-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-pykhz9mf.js → mime-bbq3sp3s.js} +5 -5
- package/dist/chunks/{project-r0xrbqbv.js → mime-bdkgyfqw.js} +6 -6
- package/dist/chunks/{project-c2pegpsk.js → mime-bf61bssj.js} +27 -27
- package/dist/chunks/{project-jj9pxt8a.js → mime-bhwmvv2r.js} +2 -2
- package/dist/chunks/{project-z07pqspn.js → mime-bjtzbw4r.js} +3 -3
- package/dist/chunks/{project-snw098qj.js → mime-bkc1xbmh.js} +8 -8
- package/dist/chunks/{project-v6t56ak3.js → mime-bwz9kms9.js} +11 -11
- package/dist/chunks/{project-17s5n6t0.js → mime-c0nc78gk.js} +93 -93
- package/dist/chunks/{project-g0shecj4.js → mime-cewa3bgj.js} +29 -29
- package/dist/chunks/{project-qwz4cyrr.js → mime-cp33fe45.js} +18 -18
- package/dist/chunks/{project-6c2v4ws9.js → mime-cqhqv80y.js} +26 -26
- package/dist/chunks/{project-tkmktw5m.js → mime-cqnjyvea.js} +13 -13
- package/dist/chunks/{project-b4cd6zbv.js → mime-csvhrtyy.js} +43 -43
- package/dist/chunks/{project-57dkzzcj.js → mime-cz2qe7qr.js} +10 -10
- package/dist/chunks/{project-mv21s43e.js → mime-d22yz40m.js} +33 -33
- package/dist/chunks/{project-6f50nh7r.js → mime-d4ht8xn7.js} +7 -7
- package/dist/chunks/{project-1shstth8.js → mime-dj2whpbc.js} +15 -15
- package/dist/chunks/{project-y6bex35g.js → mime-dnxkq42g.js} +4 -4
- package/dist/chunks/{project-y71avatq.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{project-3cfzdc8e.js → mime-dqmwfghx.js} +5 -5
- package/dist/chunks/{project-phstrbs2.js → mime-dv1qgsyq.js} +8 -8
- package/dist/chunks/{project-w0gv56zd.js → mime-e1hq19dm.js} +26 -26
- package/dist/chunks/{project-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{project-fcbbx3j9.js → mime-e4g6rnfs.js} +11 -11
- package/dist/chunks/{project-ecfe7b91.js → mime-ecfe7b91.js} +2 -2
- package/dist/chunks/{project-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-bkr283zm.js → mime-ejndsc2m.js} +38 -38
- package/dist/chunks/{project-vz3kzhcq.js → mime-emq6k8s5.js} +28 -28
- package/dist/chunks/mime-ep6xxngp.js +252 -0
- package/dist/chunks/{project-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{project-jrc6xc47.js → mime-ewgg2vfd.js} +38 -38
- package/dist/chunks/{project-52d0evsq.js → mime-eyhtqccb.js} +9 -9
- package/dist/chunks/{project-nt9whnnx.js → mime-f1ztasbk.js} +19 -19
- package/dist/chunks/{project-kbwf032e.js → mime-f38wsw69.js} +2 -2
- package/dist/chunks/{project-5cks982w.js → mime-f673fv72.js} +6 -6
- package/dist/chunks/{project-easxsp29.js → mime-f9pj28cm.js} +2 -2
- package/dist/chunks/{project-pfvk3f1h.js → mime-fnf5adsy.js} +12 -12
- package/dist/chunks/{project-7maxm005.js → mime-fxwg9x87.js} +42 -42
- package/dist/chunks/{project-re3t6z20.js → mime-fyqp1ang.js} +10 -10
- package/dist/chunks/{project-m9ty708k.js → mime-fysazz09.js} +11 -11
- package/dist/chunks/{project-jaqv1zgp.js → mime-fzj3093f.js} +8 -8
- package/dist/chunks/{project-6xfxz08t.js → mime-fzn8jgnf.js} +20 -20
- package/dist/chunks/{project-vj6g15k9.js → mime-g3rtn128.js} +28 -28
- package/dist/chunks/{project-dc8a0e4c.js → mime-g7cpb448.js} +37 -37
- package/dist/chunks/{project-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-7zdfjpaf.js → mime-ge40smna.js} +8 -8
- package/dist/chunks/mime-gez9rmx3.js +26 -0
- package/dist/chunks/{project-rjb06q8w.js → mime-gf1x9zt8.js} +76 -76
- package/dist/chunks/{project-94ek1h2f.js → mime-gfvb90ym.js} +2 -2
- package/dist/chunks/{project-avb1xd8t.js → mime-gmn4g1vm.js} +13 -13
- package/dist/chunks/{project-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{project-072d3ke0.js → mime-h03px39b.js} +30 -30
- package/dist/chunks/{project-6d6xcght.js → mime-h6nxw0pd.js} +6 -6
- package/dist/chunks/{project-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-x3gqap9d.js → mime-h9pnpq88.js} +4 -4
- package/dist/chunks/{project-3j6fv4nn.js → mime-haceje86.js} +17 -17
- package/dist/chunks/{project-64mbz47k.js → mime-hafkgw1r.js} +6 -6
- package/dist/chunks/{project-f2k3y3vz.js → mime-hcb6asbt.js} +19 -19
- package/dist/chunks/{project-bkhdt41m.js → mime-hdax66s1.js} +10 -10
- package/dist/chunks/{project-5kmj8a77.js → mime-hn1syae9.js} +18 -18
- package/dist/chunks/{project-hqe4fdw9.js → mime-hv63nw24.js} +24 -24
- package/dist/chunks/{project-4ytqk5q0.js → mime-j301k1rd.js} +34 -34
- package/dist/chunks/{project-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{project-g2xem7mq.js → mime-j5behb2c.js} +15 -15
- package/dist/chunks/{project-jhkpzm07.js → mime-jc90xm0c.js} +13 -13
- package/dist/chunks/{project-kpt1qdq7.js → mime-jgjn4qh1.js} +11 -11
- package/dist/chunks/{project-0r7yqxbf.js → mime-jv01nqvq.js} +5 -5
- package/dist/chunks/{project-ddt2bs9e.js → mime-jvf3yq6v.js} +4 -4
- package/dist/chunks/{project-hstednbn.js → mime-jyhrke1x.js} +8 -8
- package/dist/chunks/{project-f7rj482f.js → mime-k1qrnqst.js} +8 -8
- package/dist/chunks/{project-6de9kzwx.js → mime-k5a199nr.js} +23 -23
- package/dist/chunks/{project-fqjdsq6b.js → mime-kt6f47v4.js} +35 -35
- package/dist/chunks/{project-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{project-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-q5ny0xm2.js → mime-mebn6vhz.js} +5 -5
- package/dist/chunks/{project-tj25kyyd.js → mime-mp7ts3gd.js} +8 -8
- package/dist/chunks/{project-q6r2g4xj.js → mime-mtkvqbm7.js} +18 -18
- package/dist/chunks/{project-d1mtykxg.js → mime-mx9vqzsb.js} +6 -6
- package/dist/chunks/{project-14pjqsw5.js → mime-mzq5qkcw.js} +35 -35
- package/dist/chunks/{project-a3ftg8j6.js → mime-n37c4crj.js} +9 -9
- package/dist/chunks/{project-1qpfrbew.js → mime-n46yc5jk.js} +15 -15
- package/dist/chunks/{project-erdet7sg.js → mime-n4yppvr1.js} +10 -10
- package/dist/chunks/{project-6j2q8pwq.js → mime-n5a03fey.js} +5 -5
- package/dist/chunks/{project-qsxf26yz.js → mime-n8c291r7.js} +6 -6
- package/dist/chunks/{project-n9cj0wre.js → mime-n8ycavnk.js} +20 -20
- package/dist/chunks/{project-veknk6k5.js → mime-na461qmw.js} +9 -9
- package/dist/chunks/{project-qm4097qr.js → mime-nazh9js1.js} +3 -3
- package/dist/chunks/{project-pnv527nz.js → mime-nq7qbqzc.js} +9 -9
- package/dist/chunks/{project-k3c624dm.js → mime-nzks3jc8.js} +3 -3
- package/dist/chunks/{project-bekm1yvf.js → mime-p4terpsa.js} +4 -4
- package/dist/chunks/{project-w099a06a.js → mime-p5sd9dfh.js} +9 -9
- package/dist/chunks/{project-bacyadyn.js → mime-pct1c8gm.js} +4 -4
- package/dist/chunks/{project-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{project-9bf000qt.js → mime-pp173efe.js} +11 -11
- package/dist/chunks/{project-wd3x2cqz.js → mime-psazpmmj.js} +2 -2
- package/dist/chunks/{project-2a4f6v5q.js → mime-pw9v3g6d.js} +5 -5
- package/dist/chunks/{project-rkprpv83.js → mime-py3kkmfq.js} +2 -2
- package/dist/chunks/{project-7fywwnp8.js → mime-qb34ym9h.js} +5 -5
- package/dist/chunks/{project-tj4fg8zh.js → mime-qjm70hfx.js} +7 -7
- package/dist/chunks/{project-g6q9qykm.js → mime-qmqgtz8f.js} +9 -9
- package/dist/chunks/{project-t9zs3egg.js → mime-qq11w61w.js} +4 -4
- package/dist/chunks/{project-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{project-jwv1tpse.js → mime-qtf88vwk.js} +26 -26
- package/dist/chunks/{project-d7fjbfjm.js → mime-r6b72tt5.js} +4 -4
- package/dist/chunks/{project-xs98p9c0.js → mime-r8p3c49k.js} +3 -3
- package/dist/chunks/{project-395kcsa0.js → mime-r8rm2ttn.js} +9 -9
- package/dist/chunks/{project-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{project-amfjbzn6.js → mime-rhxgy7qf.js} +8 -8
- package/dist/chunks/{project-zb4gqkjh.js → mime-rnakma6c.js} +27 -27
- package/dist/chunks/{project-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{project-hx9j0tnp.js → mime-s9ebk3qw.js} +35 -35
- package/dist/chunks/{project-r4czcqfh.js → mime-sfb7zdnf.js} +11 -11
- package/dist/chunks/{project-nz3ky2x1.js → mime-std33n5a.js} +5 -5
- package/dist/chunks/{project-v28mczge.js → mime-sv1q03nr.js} +22 -22
- package/dist/chunks/{project-j8xxef54.js → mime-sva1dgt9.js} +4 -4
- package/dist/chunks/{project-tf6f15mf.js → mime-swmdjj48.js} +30 -30
- package/dist/chunks/{project-gec46073.js → mime-sx8nx28h.js} +19 -19
- package/dist/chunks/{project-39nh3gac.js → mime-t3mrdfz4.js} +14 -14
- package/dist/chunks/{project-0gdmqesm.js → mime-t550f9t1.js} +4 -4
- package/dist/chunks/{project-mhhs4gcd.js → mime-t9sqp817.js} +47 -47
- package/dist/chunks/{project-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-89znhe33.js → mime-tcezcvh9.js} +4 -4
- package/dist/chunks/{project-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{project-t5p73v1q.js → mime-tfswnq6h.js} +29 -29
- package/dist/chunks/{project-3s53nyp7.js → mime-tfwm1ee2.js} +29 -29
- package/dist/chunks/{project-cg278hgw.js → mime-tn1saqyh.js} +11 -11
- package/dist/chunks/{project-e72d9hmz.js → mime-tpztfyyv.js} +14 -14
- package/dist/chunks/{project-bkjffg37.js → mime-tq0k68j4.js} +26 -26
- package/dist/chunks/{project-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{project-fjw551ks.js → mime-tz95vf9q.js} +19 -19
- package/dist/chunks/{project-f322zf8a.js → mime-v4t1yx44.js} +10 -10
- package/dist/chunks/{project-3ca0bmfd.js → mime-v5ga0sqk.js} +29 -29
- package/dist/chunks/{project-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{project-7k5g5h3h.js → mime-vt9gyxc5.js} +11 -11
- package/dist/chunks/{project-mwhk2m9m.js → mime-vtw4ex8e.js} +5 -5
- package/dist/chunks/{project-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{project-9ybqhkdr.js → mime-vzp4eea0.js} +16 -16
- package/dist/chunks/{project-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{project-x04bbqq1.js → mime-w07y5snj.js} +24 -24
- package/dist/chunks/{project-1enaff33.js → mime-w1cfvdbk.js} +6 -6
- package/dist/chunks/{project-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-mcdwv36b.js → mime-wc73zry6.js} +11 -11
- package/dist/chunks/{project-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{project-je116bp6.js → mime-wdk9k2gs.js} +25 -25
- package/dist/chunks/{project-4qg7k24a.js → mime-wmz6q48y.js} +11 -11
- package/dist/chunks/{project-px6qakvs.js → mime-wzq3pt1n.js} +30 -30
- package/dist/chunks/{project-z59whknb.js → mime-x0g5kz9f.js} +180 -180
- package/dist/chunks/{project-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-1hzm83a3.js → mime-x43z2jw0.js} +13 -13
- package/dist/chunks/{project-w010rjay.js → mime-x617j8as.js} +30 -30
- package/dist/chunks/{project-7kzmyqxz.js → mime-xbjbtxzz.js} +24 -24
- package/dist/chunks/{project-cavr175a.js → mime-xdk9p2qn.js} +21 -21
- package/dist/chunks/{project-drwq78ky.js → mime-xfkkasph.js} +4 -4
- package/dist/chunks/{project-htevdsp6.js → mime-xh3nrjh6.js} +22 -22
- package/dist/chunks/{project-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{project-f2vmp4t1.js → mime-xn3bd7m9.js} +5 -5
- package/dist/chunks/{project-5m8wngbv.js → mime-xt1tzkvd.js} +23 -23
- package/dist/chunks/{project-h6b02349.js → mime-xvp1j2dc.js} +5 -5
- package/dist/chunks/{project-qxbk3bdb.js → mime-xyhkgzn6.js} +17 -17
- package/dist/chunks/{project-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-8n69n882.js → mime-y72zmemf.js} +8 -8
- package/dist/chunks/{project-afed7ext.js → mime-y93b664k.js} +12 -12
- package/dist/chunks/{project-mqp59dgv.js → mime-ybyj6r0c.js} +30 -30
- package/dist/chunks/{project-gcvekh3w.js → mime-yf7jzfb8.js} +11 -11
- package/dist/chunks/{project-3856nbqk.js → mime-ygsx1bjn.js} +16 -16
- package/dist/chunks/{project-z88ew3v7.js → mime-yke98s4n.js} +11 -11
- package/dist/chunks/{project-eatefz1s.js → mime-ynp8b50y.js} +11 -11
- package/dist/chunks/{project-f2n192rq.js → mime-yp2x3t23.js} +4 -4
- package/dist/chunks/{project-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{project-wx196b1m.js → mime-ytqnsxqy.js} +23 -23
- package/dist/chunks/{project-8ay87enk.js → mime-yyyrkqse.js} +13 -13
- package/dist/chunks/{project-ag37rm3p.js → mime-yzs15tep.js} +12 -12
- package/dist/chunks/{project-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-ws2zt9bt.js → mime-z88nfd5r.js} +11 -11
- package/dist/chunks/{project-qnmpdahd.js → mime-zdpjdk6q.js} +51 -51
- package/dist/chunks/{project-kxeqqz93.js → mime-ze42ap7x.js} +20 -20
- package/dist/chunks/{project-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{project-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-fad6j005.js → mime-zsm3phbg.js} +11 -11
- package/dist/chunks/{project-6xzdaz95.js → mime-zv3btv0d.js} +13 -13
- package/dist/chunks/{project-b6z5kj38.js → mime-zw8a836n.js} +31 -31
- package/dist/chunks/{project-fmj8bsa7.js → mime-zwctxk35.js} +56 -56
- package/dist/chunks/{project-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{project-cz67tnsk.js → mime-zzrjpn9x.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- 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 +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- 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 +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +140 -140
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- 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 +80 -80
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/project-9zdhvgqs.js +0 -18
- package/dist/chunks/project-agjs0zsw.js +0 -26
- package/dist/chunks/project-qgym36w0.js +0 -252
- /package/dist/chunks/{project-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./mime-y93b664k.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service71,
|
|
16
|
+
node75
|
|
17
|
+
} from "./mime-585rwsxc.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service40,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node43,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service40 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service84;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service71;
|
|
110
|
+
return Service40.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node43 = makeGlobalNode({
|
|
171
|
+
service: Service40,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node75]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service40, isError2, validateBranch2, node43, exports_repository_cache };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service46,
|
|
3
|
+
node48,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-9vy5z0j9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service45,
|
|
8
|
+
node47
|
|
9
|
+
} from "./mime-mx9vqzsb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./mime-swmdjj48.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-ep6xxngp.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service46, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service15);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node47.replace(Layer.succeed(Service45, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node48.replace(Layer.succeed(Service46, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
node70
|
|
7
|
+
} from "./mime-a9b0w8ke.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service63,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
19
|
layer: () => layer19,
|
|
20
|
-
node: () =>
|
|
20
|
+
node: () => node66
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service63 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var layer19 = Layer.effect(
|
|
39
|
+
var layer19 = Layer.effect(Service63, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service67;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer19 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service63.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node66 = makeLocationNode({
|
|
74
|
+
service: Service63,
|
|
75
75
|
layer: layer19,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node70, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service63, layer19, node66, exports_generate2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./mime-vzp4eea0.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-dnxkq42g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service74,
|
|
15
|
+
node78,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./mime-8m4waq6v.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-bhwmvv2r.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service73,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node77,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -210,9 +210,9 @@ var Request3 = Provider.Request;
|
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service73 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
229
|
-
const bus = yield*
|
|
230
|
-
const integrations = yield*
|
|
228
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
229
|
+
const bus = yield* Service82;
|
|
230
|
+
const integrations = yield* Service74;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service73.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node86, node78, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service73, node77, exports_provider3, Event17 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service53,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured6,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node55,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service53 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service53.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured6(options) {
|
|
210
|
+
return makeLocationNode({ service: Service53, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node55 = configured6();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service53, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured6, node55, exports_select };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-jgjn4qh1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./mime-vzp4eea0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./mime-d22yz40m.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-8m4waq6v.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-963afhp9.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID14.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID14.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -165,7 +165,7 @@ var headless = (app) => ({
|
|
|
165
165
|
var OpenAIPlugin2 = define({
|
|
166
166
|
id: "opencode.provider.openai",
|
|
167
167
|
effect: Effect.fn(function* (ctx) {
|
|
168
|
-
const bus = yield*
|
|
168
|
+
const bus = yield* Service82;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
let chatgpt;
|
|
171
171
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID13.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID13.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
|
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
233
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
234
|
-
}), { providerID:
|
|
234
|
+
}), { providerID: ID13.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-bhwmvv2r.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service46,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node48,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service46 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service46, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node48 = LayerNode.unbound(Service46, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service46;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service46, node48, reload2, canonical3, exports_location_service_map };
|