@opencode/core 0.0.0-dev-20336 → 0.0.0-dev-20341
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{job-t3rymwwm.js → persistent-pty-00vf67kq.js} +9 -9
- package/dist/chunks/persistent-pty-01qtd5dc.js +252 -0
- package/dist/chunks/{job-nrgqgta6.js → persistent-pty-04wpcwjp.js} +14 -14
- package/dist/chunks/{job-nkwkaxf1.js → persistent-pty-05hmz687.js} +11 -11
- package/dist/chunks/{job-2asns5vc.js → persistent-pty-0aksezd1.js} +6 -6
- package/dist/chunks/{job-rxbadc90.js → persistent-pty-0cmajtfh.js} +16 -16
- package/dist/chunks/{job-75csm02s.js → persistent-pty-0fq9kbe5.js} +11 -11
- package/dist/chunks/{job-6qjftq9w.js → persistent-pty-0jnnzt4k.js} +30 -30
- package/dist/chunks/{job-qgn6gcr1.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/persistent-pty-0ntnwng5.js +507 -0
- package/dist/chunks/{job-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-zxapkpa5.js → persistent-pty-0ymbac85.js} +30 -30
- package/dist/chunks/{job-zf229rdw.js → persistent-pty-14xhwdvx.js} +11 -11
- package/dist/chunks/{job-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-kj3jrt41.js → persistent-pty-1fkbnb3h.js} +25 -25
- package/dist/chunks/{job-6tz19gyx.js → persistent-pty-1jyay2fm.js} +17 -17
- package/dist/chunks/{job-7ebn0nc0.js → persistent-pty-1nzs1dt7.js} +6 -6
- package/dist/chunks/{job-fh75rate.js → persistent-pty-1v8stjbz.js} +1 -1
- package/dist/chunks/{job-dq0v80fr.js → persistent-pty-20zz1ang.js} +8 -8
- package/dist/chunks/{job-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{job-g9vavm7g.js → persistent-pty-29cwx4ks.js} +2 -2
- package/dist/chunks/{job-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-fpmq6gma.js → persistent-pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{job-adkeyyk9.js → persistent-pty-2h15mtsb.js} +11 -11
- package/dist/chunks/{job-bpecpa4s.js → persistent-pty-2nes80nj.js} +10 -10
- package/dist/chunks/{job-m5dccm3z.js → persistent-pty-2pw9t7y0.js} +18 -18
- package/dist/chunks/{job-58acdtj6.js → persistent-pty-2vjymgz4.js} +11 -11
- package/dist/chunks/{job-3mhv727s.js → persistent-pty-2w7feyg1.js} +11 -11
- package/dist/chunks/{job-ztt4fm57.js → persistent-pty-31jg3jzd.js} +7 -7
- package/dist/chunks/{job-g6dneb80.js → persistent-pty-32tkr9wa.js} +38 -38
- package/dist/chunks/{job-594rwtqg.js → persistent-pty-3878e13v.js} +81 -81
- package/dist/chunks/{job-3v2cpxt2.js → persistent-pty-3bkzp6nm.js} +11 -11
- package/dist/chunks/{job-ap89vq3r.js → persistent-pty-3efxt51q.js} +22 -22
- package/dist/chunks/{job-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-43j300tq.js → persistent-pty-3fv5zerb.js} +12 -12
- package/dist/chunks/{job-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-v8y396jm.js → persistent-pty-3vb8825b.js} +17 -17
- package/dist/chunks/{job-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-xs1p5wmh.js → persistent-pty-42mqjpyj.js} +13 -13
- package/dist/chunks/{job-9aheh86c.js → persistent-pty-46pet8gs.js} +13 -13
- package/dist/chunks/{job-ad13vv04.js → persistent-pty-4hvfhxsc.js} +17 -17
- package/dist/chunks/{job-1b4m0bzf.js → persistent-pty-4j4tgtq5.js} +4 -4
- package/dist/chunks/{job-kxwsagv1.js → persistent-pty-4n3sdfe5.js} +4 -4
- package/dist/chunks/{job-ta3krhcf.js → persistent-pty-4p2v91mq.js} +18 -18
- package/dist/chunks/{job-zwnps6g2.js → persistent-pty-4wfraw0w.js} +25 -25
- package/dist/chunks/{job-eqkxs06z.js → persistent-pty-51f5btjf.js} +6 -6
- package/dist/chunks/{job-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
- package/dist/chunks/{job-54tcyq79.js → persistent-pty-54tcyq79.js} +2 -2
- package/dist/chunks/{job-a57rzqkn.js → persistent-pty-55zfesz9.js} +11 -11
- package/dist/chunks/{job-aw67y148.js → persistent-pty-55zqgwvr.js} +11 -11
- package/dist/chunks/{job-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{job-hggwccpy.js → persistent-pty-5cpzvd3j.js} +15 -15
- package/dist/chunks/{job-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{job-nwd3z7e8.js → persistent-pty-5jqc7mmh.js} +48 -48
- package/dist/chunks/{job-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{job-hbqjxvpe.js → persistent-pty-5rwf64p2.js} +9 -9
- package/dist/chunks/{job-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-86w17476.js → persistent-pty-5xq1sedg.js} +45 -45
- package/dist/chunks/{job-eb35tzb0.js → persistent-pty-64wymc54.js} +6 -6
- package/dist/chunks/{job-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{job-yv6ca32c.js → persistent-pty-6b79em31.js} +9 -9
- package/dist/chunks/{job-9q1v9n4z.js → persistent-pty-6k12j7x1.js} +10 -10
- package/dist/chunks/{job-t6etr70n.js → persistent-pty-6khx4p0d.js} +73 -73
- package/dist/chunks/{job-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-zs1hc5s2.js → persistent-pty-6n8a4jjg.js} +14 -14
- package/dist/chunks/{job-pgvyfn9b.js → persistent-pty-6nweqnhb.js} +21 -21
- package/dist/chunks/{job-xwvjf3ce.js → persistent-pty-6q8zcy5k.js} +8 -8
- package/dist/chunks/{job-jqc5y2ba.js → persistent-pty-6vyb99v6.js} +10 -10
- package/dist/chunks/{job-mk4tcgbc.js → persistent-pty-6yfg5v83.js} +20 -20
- package/dist/chunks/{job-20khx3m5.js → persistent-pty-6ypennq8.js} +43 -43
- package/dist/chunks/{job-95axr1yr.js → persistent-pty-72hvh6jh.js} +19 -19
- package/dist/chunks/{job-g4xer9vd.js → persistent-pty-75jb4kyn.js} +12 -12
- package/dist/chunks/{job-zph2bqh4.js → persistent-pty-784hb5j4.js} +4 -4
- package/dist/chunks/{job-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-1qqp8se9.js → persistent-pty-7ews3x9x.js} +37 -37
- package/dist/chunks/{job-54rsvzdv.js → persistent-pty-7hpm9vff.js} +16 -16
- package/dist/chunks/{job-sstpnqq8.js → persistent-pty-7j5zvf86.js} +4 -4
- package/dist/chunks/{job-4ppwc1fw.js → persistent-pty-811rfafr.js} +20 -20
- package/dist/chunks/{job-84txncab.js → persistent-pty-84txncab.js} +1 -1
- package/dist/chunks/{job-7grbyccc.js → persistent-pty-84y3cxrg.js} +7 -7
- package/dist/chunks/{job-0b1jg2q1.js → persistent-pty-880ef89g.js} +11 -11
- package/dist/chunks/{job-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{job-rzs3gq0x.js → persistent-pty-8aaqm6qj.js} +8 -8
- package/dist/chunks/{job-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-9n0gwwx1.js → persistent-pty-8e7wxhqf.js} +31 -31
- package/dist/chunks/{job-b3bcnazv.js → persistent-pty-8jyzywxv.js} +15 -15
- package/dist/chunks/{job-b9acg77r.js → persistent-pty-8s8r9gf0.js} +17 -17
- package/dist/chunks/{job-py3kkmfq.js → persistent-pty-8sze2n9a.js} +6 -6
- package/dist/chunks/{job-cnj87pjj.js → persistent-pty-981fg1k8.js} +10 -10
- package/dist/chunks/{job-xh1ma9n3.js → persistent-pty-9b50t81g.js} +6 -6
- package/dist/chunks/{job-ky6yw5g0.js → persistent-pty-9qb76avw.js} +9 -9
- package/dist/chunks/{job-0mv8j8k9.js → persistent-pty-9v2r64bp.js} +1 -1
- package/dist/chunks/{job-ndkpbsgf.js → persistent-pty-9vjccf17.js} +6 -6
- package/dist/chunks/{job-f5gy8qwh.js → persistent-pty-9wncg805.js} +8 -8
- package/dist/chunks/{job-p7afssgn.js → persistent-pty-9zrtdmhy.js} +11 -11
- package/dist/chunks/{job-p9g6edyn.js → persistent-pty-a0ga5595.js} +11 -11
- package/dist/chunks/{job-xr9x2h9h.js → persistent-pty-a2yvrr1e.js} +39 -39
- package/dist/chunks/{job-g2yz86wh.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{job-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{job-x8mwn2ty.js → persistent-pty-aapjkkww.js} +41 -41
- package/dist/chunks/{job-bzgcn0jp.js → persistent-pty-ajdjch6h.js} +9 -9
- package/dist/chunks/{job-55c455mf.js → persistent-pty-apbqs3pw.js} +1 -1
- package/dist/chunks/{job-vz7a7mkg.js → persistent-pty-aq6cef94.js} +10 -10
- package/dist/chunks/{job-8c0jss2t.js → persistent-pty-avvhg6ef.js} +3 -3
- package/dist/chunks/{job-qzm2e7xh.js → persistent-pty-azexmtne.js} +6 -6
- package/dist/chunks/{job-qa7075pb.js → persistent-pty-b0grxa7w.js} +5 -5
- package/dist/chunks/{job-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-y4ny5ahf.js → persistent-pty-b6sgv4g0.js} +13 -13
- package/dist/chunks/{job-xq6sg5pm.js → persistent-pty-b95vg044.js} +20 -20
- package/dist/chunks/{job-br36vpfw.js → persistent-pty-b985cns1.js} +7 -7
- package/dist/chunks/{job-2d4k9jj7.js → persistent-pty-bdhtmqf5.js} +35 -35
- package/dist/chunks/{job-nkht507p.js → persistent-pty-be3be266.js} +3 -3
- package/dist/chunks/{job-ngts6ef0.js → persistent-pty-bjmt3h04.js} +8 -8
- package/dist/chunks/{job-bjtzbw4r.js → persistent-pty-bjtzbw4r.js} +3 -3
- package/dist/chunks/{job-r7ytkdzw.js → persistent-pty-bp98ntrt.js} +22 -22
- package/dist/chunks/{job-z4kpbbmy.js → persistent-pty-bw6eqvc2.js} +26 -26
- package/dist/chunks/{job-gx0n0a9z.js → persistent-pty-c1m7agks.js} +13 -13
- package/dist/chunks/{job-axmvebxj.js → persistent-pty-cavr175a.js} +21 -21
- package/dist/chunks/{job-0pa63p4t.js → persistent-pty-chmcxnpv.js} +9 -9
- package/dist/chunks/{job-9thnk5ps.js → persistent-pty-cj0q7yrn.js} +30 -30
- package/dist/chunks/{job-j2hkd4k9.js → persistent-pty-cjdtr2ds.js} +31 -31
- package/dist/chunks/{job-dsxds9jb.js → persistent-pty-cjs1c48m.js} +13 -13
- package/dist/chunks/{job-rk32hc8c.js → persistent-pty-dbkkmbew.js} +10 -10
- package/dist/chunks/{job-5d607bsg.js → persistent-pty-djszqvmq.js} +9 -9
- package/dist/chunks/{job-dmqcgk4z.js → persistent-pty-dmqcgk4z.js} +2 -2
- package/dist/chunks/{job-dnxkq42g.js → persistent-pty-dnxkq42g.js} +1 -1
- package/dist/chunks/{job-vj9emm8g.js → persistent-pty-dsv4qt6d.js} +16 -16
- package/dist/chunks/{job-h5psk01r.js → persistent-pty-dy5mtzz8.js} +11 -11
- package/dist/chunks/{job-ecfe7b91.js → persistent-pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{job-vyf876zv.js → persistent-pty-ect61mw4.js} +12 -12
- package/dist/chunks/{job-ghxhxmvq.js → persistent-pty-edbn27ge.js} +4 -4
- package/dist/chunks/{job-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-aa96q7pf.js → persistent-pty-efm7cqaz.js} +26 -26
- package/dist/chunks/{job-q3njkd70.js → persistent-pty-efxgthxc.js} +16 -16
- package/dist/chunks/{job-7vw9mcmm.js → persistent-pty-ek57zv8b.js} +15 -15
- package/dist/chunks/{job-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-xsgk3b13.js → persistent-pty-eye44qas.js} +9 -9
- package/dist/chunks/{job-tqxmj6gx.js → persistent-pty-f1as396s.js} +9 -9
- package/dist/chunks/{job-rmvhjvxm.js → persistent-pty-f4xqw7wa.js} +19 -19
- package/dist/chunks/{job-spxtaarx.js → persistent-pty-f9t0t77v.js} +23 -23
- package/dist/chunks/{job-43ngz610.js → persistent-pty-fdmgm320.js} +12 -12
- package/dist/chunks/{job-n35d2xk4.js → persistent-pty-fhs97t90.js} +9 -9
- package/dist/chunks/{job-1d626cn7.js → persistent-pty-fjvydvzm.js} +7 -7
- package/dist/chunks/{job-tq0aja3g.js → persistent-pty-fq1eaaax.js} +25 -25
- package/dist/chunks/{job-n2kah95r.js → persistent-pty-fqj9nv8j.js} +5 -5
- package/dist/chunks/{job-8z3rc051.js → persistent-pty-fw7a63m3.js} +6 -6
- package/dist/chunks/{job-czfptnv9.js → persistent-pty-g0445xdp.js} +8 -8
- package/dist/chunks/{job-f32czd11.js → persistent-pty-g8jasmdt.js} +11 -11
- package/dist/chunks/{job-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-aakp3cxj.js → persistent-pty-gdgx11yp.js} +10 -10
- package/dist/chunks/{job-gfvb90ym.js → persistent-pty-gfvb90ym.js} +2 -2
- package/dist/chunks/{job-3x2zyzfp.js → persistent-pty-ggr88sj4.js} +18 -18
- package/dist/chunks/{job-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-cq5z9zk7.js → persistent-pty-h0n6hth2.js} +28 -28
- package/dist/chunks/{job-gvx451f5.js → persistent-pty-h1s4ax7h.js} +11 -11
- package/dist/chunks/{job-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-tfzngn12.js → persistent-pty-h90v2x9d.js} +4 -4
- package/dist/chunks/{job-325sge2s.js → persistent-pty-hd8vw2pw.js} +1 -1
- package/dist/chunks/{job-bcbyy22v.js → persistent-pty-hgsmh1nh.js} +13 -13
- package/dist/chunks/{job-88y100z1.js → persistent-pty-hn4w1bkj.js} +13 -13
- package/dist/chunks/{job-428rdfbk.js → persistent-pty-hnkth8hh.js} +7 -7
- package/dist/chunks/{job-x7900zzk.js → persistent-pty-hr7t50ew.js} +13 -13
- package/dist/chunks/{job-jf6zf2rn.js → persistent-pty-hs14hted.js} +10 -10
- package/dist/chunks/{job-vwhw76dt.js → persistent-pty-hsz3e5dy.js} +24 -24
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{job-80mwyjq3.js → persistent-pty-hym2md94.js} +10 -10
- package/dist/chunks/{job-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{job-a78s9db2.js → persistent-pty-jcenn4a0.js} +24 -24
- package/dist/chunks/{job-xkhfjrgz.js → persistent-pty-jexxy024.js} +2 -2
- package/dist/chunks/{job-bqnbcz94.js → persistent-pty-jgg5903p.js} +31 -31
- package/dist/chunks/{job-kbdnyrzf.js → persistent-pty-jh34xga3.js} +9 -9
- package/dist/chunks/{job-qv2280dq.js → persistent-pty-jhcrq6fy.js} +18 -18
- package/dist/chunks/{job-gzasaysv.js → persistent-pty-jk236s1c.js} +30 -30
- package/dist/chunks/{job-4mgk6c50.js → persistent-pty-jsqbbv53.js} +12 -12
- package/dist/chunks/{job-y71avatq.js → persistent-pty-jwcy2c2z.js} +4 -4
- package/dist/chunks/{job-vxexwmjt.js → persistent-pty-jxg7w2yt.js} +41 -41
- package/dist/chunks/{job-346y6mfm.js → persistent-pty-k2cf7ycz.js} +9 -9
- package/dist/chunks/{job-05nz9j8w.js → persistent-pty-k3akrp7q.js} +43 -43
- package/dist/chunks/{job-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{job-tnyr0z2a.js → persistent-pty-k5nxbakh.js} +26 -26
- package/dist/chunks/{job-xb02k0wq.js → persistent-pty-k8962brh.js} +7 -7
- package/dist/chunks/{job-150yg2gd.js → persistent-pty-k8hpw67k.js} +5 -5
- package/dist/chunks/{job-h66gqtfn.js → persistent-pty-kazy0ayh.js} +1 -1
- package/dist/chunks/{job-r76nadcw.js → persistent-pty-kb09e3ps.js} +2 -2
- package/dist/chunks/{job-yf26cq0g.js → persistent-pty-kt0am480.js} +5 -5
- package/dist/chunks/{job-qeg61qyy.js → persistent-pty-kt98sm59.js} +3 -3
- package/dist/chunks/{job-7q3qvr3d.js → persistent-pty-kyktj0vd.js} +6 -6
- package/dist/chunks/{job-6hq6h515.js → persistent-pty-m142re3c.js} +24 -24
- package/dist/chunks/{job-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-nvw9amg7.js → persistent-pty-m3nayt80.js} +5 -5
- package/dist/chunks/{job-w3jyfp25.js → persistent-pty-m97jxw3r.js} +9 -9
- package/dist/chunks/{job-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-83a48ncz.js → persistent-pty-mb8ahhxd.js} +43 -43
- package/dist/chunks/{job-mfqp6xfm.js → persistent-pty-mfqp6xfm.js} +2 -2
- package/dist/chunks/{job-mvfsc1pv.js → persistent-pty-mhkvc446.js} +3 -3
- package/dist/chunks/{job-c0m0cb4z.js → persistent-pty-mnxyjaz9.js} +19 -19
- package/dist/chunks/{job-ax7kbht8.js → persistent-pty-mwxvj69v.js} +27 -27
- package/dist/chunks/{job-q4q3htsk.js → persistent-pty-nbwqk53a.js} +16 -16
- package/dist/chunks/{job-dvqtpf6s.js → persistent-pty-nd5pg0jd.js} +16 -16
- package/dist/chunks/{job-ym4mtytv.js → persistent-pty-new922dw.js} +19 -19
- package/dist/chunks/{job-m4c9d9r4.js → persistent-pty-ng06zct7.js} +22 -22
- package/dist/chunks/{job-cwghwexs.js → persistent-pty-nyh6yxg3.js} +17 -17
- package/dist/chunks/{job-7gvwkz6m.js → persistent-pty-p44d8wdy.js} +5 -5
- package/dist/chunks/{job-vxzh5eqq.js → persistent-pty-pcxghkgz.js} +4 -4
- package/dist/chunks/{job-2gjr1rky.js → persistent-pty-pdrz96x4.js} +8 -8
- package/dist/chunks/{job-pgp1nwjn.js → persistent-pty-pgp1nwjn.js} +1 -1
- package/dist/chunks/{job-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-phhdajc1.js → persistent-pty-pknkq1ya.js} +8 -8
- package/dist/chunks/{job-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{job-hvfrsctp.js → persistent-pty-pmth53f6.js} +28 -28
- package/dist/chunks/{job-ass7ydek.js → persistent-pty-pqsj7wgp.js} +5 -5
- package/dist/chunks/{job-psazpmmj.js → persistent-pty-psazpmmj.js} +2 -2
- package/dist/chunks/{job-j1432g81.js → persistent-pty-pysk3085.js} +125 -125
- package/dist/chunks/{job-rpdjsxb2.js → persistent-pty-q63sg9wh.js} +14 -14
- package/dist/chunks/{job-a8w7s6c8.js → persistent-pty-qfqtz2mg.js} +3 -3
- package/dist/chunks/{job-41vqc9dz.js → persistent-pty-qkk4yay7.js} +8 -8
- package/dist/chunks/{job-rbdzqrp0.js → persistent-pty-qkt14v07.js} +37 -37
- package/dist/chunks/{job-2dxnkfqe.js → persistent-pty-qreq96fy.js} +16 -16
- package/dist/chunks/{job-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{job-c6wc5rke.js → persistent-pty-qxv5x38a.js} +11 -11
- package/dist/chunks/{job-h9c5bhzr.js → persistent-pty-qy1187xz.js} +35 -35
- package/dist/chunks/{job-1385q6zt.js → persistent-pty-r2cdb093.js} +10 -10
- package/dist/chunks/{job-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-fsgfmda0.js → persistent-pty-rebxb36w.js} +7 -7
- package/dist/chunks/{job-5r5k3c40.js → persistent-pty-rev16gg1.js} +32 -32
- package/dist/chunks/{job-h6z2539c.js → persistent-pty-rhe6q90e.js} +19 -19
- package/dist/chunks/{job-3hgf9tpp.js → persistent-pty-rsjwp548.js} +14 -14
- package/dist/chunks/{job-w9k9pd4w.js → persistent-pty-s4df5zxh.js} +17 -17
- package/dist/chunks/{job-vwyyqzd7.js → persistent-pty-s4rskdge.js} +7 -7
- package/dist/chunks/{job-g4888p5f.js → persistent-pty-s7h7at2m.js} +26 -26
- package/dist/chunks/{job-8te14jf7.js → persistent-pty-sd75nvd1.js} +16 -16
- package/dist/chunks/{job-s8d7rejh.js → persistent-pty-t550f9t1.js} +4 -4
- package/dist/chunks/{job-ve4pfa0n.js → persistent-pty-t9zs3egg.js} +4 -4
- package/dist/chunks/{job-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{job-j3d0mbdc.js → persistent-pty-te9eb2ne.js} +21 -21
- package/dist/chunks/{job-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{job-9k8ccm24.js → persistent-pty-v2xh51ss.js} +23 -23
- package/dist/chunks/{job-zpxvft8s.js → persistent-pty-v4qes6kb.js} +17 -17
- package/dist/chunks/{job-ztsxb9dj.js → persistent-pty-v8n97m4h.js} +11 -11
- package/dist/chunks/{job-qyq6e5qz.js → persistent-pty-vaydq29x.js} +46 -46
- package/dist/chunks/{job-7vbwhngw.js → persistent-pty-vdphxgnn.js} +8 -8
- package/dist/chunks/{job-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{job-br7skqp4.js → persistent-pty-vnqycjs3.js} +34 -34
- package/dist/chunks/{job-9b6x747e.js → persistent-pty-vs8k4vg6.js} +15 -15
- package/dist/chunks/{job-khwh3fyq.js → persistent-pty-vv4wkjrp.js} +8 -8
- package/dist/chunks/{job-yaqxtwvd.js → persistent-pty-vwcfpena.js} +9 -9
- package/dist/chunks/{job-60fbsqnd.js → persistent-pty-vz9db08s.js} +4 -4
- package/dist/chunks/{job-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-xnyj4tg8.js → persistent-pty-w936gsj9.js} +11 -11
- package/dist/chunks/{job-510m7gjw.js → persistent-pty-wbkyxrgf.js} +5 -5
- package/dist/chunks/{job-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{job-7a3m00ed.js → persistent-pty-wf2zhhrq.js} +30 -30
- package/dist/chunks/{job-xcae95h5.js → persistent-pty-wp1mqwss.js} +3 -3
- package/dist/chunks/{job-7rj9kkae.js → persistent-pty-wq4zc2h0.js} +293 -293
- package/dist/chunks/{job-j14t79n7.js → persistent-pty-wvq7e1s4.js} +4 -4
- package/dist/chunks/{job-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-8d0p2m37.js → persistent-pty-x9ate6zv.js} +3 -3
- package/dist/chunks/{job-33k2ehp8.js → persistent-pty-xen1zbvx.js} +2 -2
- package/dist/chunks/{job-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
- package/dist/chunks/{job-d7eda4mw.js → persistent-pty-xkaxm87r.js} +6 -6
- package/dist/chunks/{job-vd7rzxqf.js → persistent-pty-xvp1j2dc.js} +5 -5
- package/dist/chunks/{job-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-th0s0f4m.js → persistent-pty-yabnvfn3.js} +77 -77
- package/dist/chunks/{job-tx577je4.js → persistent-pty-ygxhnps7.js} +17 -17
- package/dist/chunks/{job-1acjjqhc.js → persistent-pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{job-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{job-d4str853.js → persistent-pty-yt5c9h39.js} +30 -30
- package/dist/chunks/{job-qk2y8k3x.js → persistent-pty-yxdp53eh.js} +1 -1
- package/dist/chunks/{job-rss0fqwj.js → persistent-pty-yy0dcyjw.js} +2 -2
- package/dist/chunks/{job-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-q8ghk9ne.js → persistent-pty-z4szxkd7.js} +8 -8
- package/dist/chunks/{job-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{job-q5asdkn4.js → persistent-pty-zcrspsvn.js} +4 -4
- package/dist/chunks/{job-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-mnbh32fx.js → persistent-pty-zfq801h6.js} +6 -6
- package/dist/chunks/{job-w8yd187f.js → persistent-pty-zjasv8zh.js} +27 -27
- package/dist/chunks/{job-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-jb5gz6q5.js → persistent-pty-zvs730z4.js} +6 -6
- package/dist/chunks/{job-6pf2q9rn.js → persistent-pty-zvxz31za.js} +7 -7
- package/dist/chunks/{job-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{job-z06kv680.js → persistent-pty-zyrwm43r.js} +26 -26
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- 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 +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +72 -72
- 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 +76 -76
- 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 +72 -72
- 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 +228 -228
- 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 +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +99 -99
- package/dist/git.js +8 -8
- 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 +91 -91
- 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 +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- 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 +83 -83
- 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 +91 -91
- package/dist/model-resolver.js +94 -94
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +102 -102
- package/dist/plugin/command.js +100 -100
- 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 +1 -1
- 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 +100 -100
- 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 +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- 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 +120 -120
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +222 -222
- 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 +90 -90
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +91 -91
- 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 +120 -120
- 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 +109 -109
- package/dist/tool/plugin/subagent.js +220 -220
- 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 +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 +5 -5
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/job-5cgcf55e.js +0 -507
- package/dist/chunks/job-7sn92kxj.js +0 -252
- package/dist/chunks/job-rap9a73h.js +0 -18
- /package/dist/chunks/{job-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node86
|
|
5
|
+
} from "./persistent-pty-55zfesz9.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer5,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node5
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer5 = Layer.effect(
|
|
25
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node5 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer5, node5, exports_sdk };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service39,
|
|
3
|
+
node42
|
|
4
|
+
} from "./persistent-pty-72hvh6jh.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service22,
|
|
20
|
+
node: () => node25
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service22 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service39;
|
|
64
|
+
return Service22.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make19({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node25 = makeLocationNode({ service: Service22, layer, deps: [node42] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service22, node25, exports_instructions3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured13,
|
|
11
|
+
layer: () => layer26,
|
|
12
|
+
make: () => make23,
|
|
13
|
+
node: () => node88,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make23()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make23(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer26 = (input) => Layer.succeed(Metadata2, make23(input));
|
|
32
|
+
var configured13 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
|
|
33
|
+
var node88 = configured13();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make23, useragent2, layer26, configured13, node88, exports_app };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2vjymgz4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-55zfesz9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./persistent-pty-0ymbac85.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-s4df5zxh.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-wq4zc2h0.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
}),
|
|
163
163
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
164
164
|
});
|
|
165
|
-
var
|
|
165
|
+
var OpenAIPlugin3 = define({
|
|
166
166
|
id: "opencode.provider.openai",
|
|
167
167
|
effect: Effect.fn(function* (ctx) {
|
|
168
168
|
const bus = yield* Service83;
|
|
@@ -238,7 +238,7 @@ var OpenAIPlugin2 = define({
|
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
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(Event20.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) {
|
|
@@ -329,4 +329,4 @@ function claim(token) {
|
|
|
329
329
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./persistent-pty-s7h7at2m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./persistent-pty-5xq1sedg.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-fw7a63m3.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -26,7 +26,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service49;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID7.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node87
|
|
4
|
+
} from "./persistent-pty-880ef89g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node86
|
|
8
|
+
} from "./persistent-pty-55zfesz9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service45,
|
|
11
|
+
node47
|
|
12
|
+
} from "./persistent-pty-4hvfhxsc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service44,
|
|
15
|
+
node46
|
|
16
|
+
} from "./persistent-pty-51f5btjf.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./persistent-pty-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service41
|
|
26
|
+
} from "./persistent-pty-zcrspsvn.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service62,
|
|
29
29
|
node64
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-7hpm9vff.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-pqsj7wgp.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-zyrwm43r.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service40,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer15,
|
|
47
|
+
node: () => node43,
|
|
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 Service40 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 layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service62;
|
|
64
|
+
const instances = yield* Service44;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service45;
|
|
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(Service53, 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* Service41.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* make16({
|
|
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(Service53, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service40.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(Service53, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [node64,
|
|
126
|
+
var node43 = makeGlobalNode({
|
|
127
|
+
service: Service40,
|
|
128
|
+
layer: layer15,
|
|
129
|
+
deps: [node64, node46, node86, node87, node47]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.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(Service53, Service53.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service40, terminal2, layer15, node43, noopLayer2, exports_execution };
|