@opencode/core 0.0.0-dev-20341 → 0.0.0-dev-20345
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 +75 -75
- package/dist/chunks/{persistent-pty-4hvfhxsc.js → state-0e4jz1n8.js} +17 -17
- package/dist/chunks/{persistent-pty-6yfg5v83.js → state-0npnkq69.js} +20 -20
- package/dist/chunks/{persistent-pty-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-ggr88sj4.js → state-0rhrw73v.js} +18 -18
- package/dist/chunks/{persistent-pty-k8hpw67k.js → state-0ryd0fps.js} +5 -5
- package/dist/chunks/{persistent-pty-jxg7w2yt.js → state-0vpvgsj7.js} +52 -52
- package/dist/chunks/{persistent-pty-k2cf7ycz.js → state-0zdym56s.js} +7 -7
- package/dist/chunks/{persistent-pty-hnkth8hh.js → state-0zeppm43.js} +7 -7
- package/dist/chunks/{persistent-pty-hs14hted.js → state-12xd4ymj.js} +10 -10
- package/dist/chunks/{persistent-pty-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-be3be266.js → state-1eg0141z.js} +3 -3
- package/dist/chunks/{persistent-pty-1jyay2fm.js → state-1ejw9j53.js} +27 -27
- package/dist/chunks/{persistent-pty-fq1eaaax.js → state-1r786k4f.js} +31 -31
- package/dist/chunks/{persistent-pty-9b50t81g.js → state-1wy6918f.js} +8 -8
- package/dist/chunks/{persistent-pty-8jyzywxv.js → state-1zgzas4z.js} +36 -36
- package/dist/chunks/{persistent-pty-0ymbac85.js → state-216bemhx.js} +30 -30
- package/dist/chunks/{persistent-pty-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-z63w68vq.js → state-29x78va6.js} +6 -6
- package/dist/chunks/{persistent-pty-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-20zz1ang.js → state-2angj6gv.js} +12 -12
- package/dist/chunks/{persistent-pty-dbkkmbew.js → state-2bgvn5nj.js} +10 -10
- package/dist/chunks/{persistent-pty-ygxhnps7.js → state-2e83wwrs.js} +17 -17
- package/dist/chunks/{persistent-pty-fw7a63m3.js → state-2q2sbzgs.js} +6 -6
- package/dist/chunks/{persistent-pty-mnxyjaz9.js → state-2vhkgxeb.js} +20 -20
- package/dist/chunks/{persistent-pty-hr7t50ew.js → state-30pmczq8.js} +13 -13
- package/dist/chunks/{persistent-pty-pdrz96x4.js → state-30sh4j22.js} +10 -10
- package/dist/chunks/{persistent-pty-ect61mw4.js → state-31gw44a1.js} +10 -10
- package/dist/chunks/{persistent-pty-hd8vw2pw.js → state-3556dn8t.js} +1 -1
- package/dist/chunks/{persistent-pty-qkt14v07.js → state-36qhr83r.js} +35 -35
- package/dist/chunks/{persistent-pty-w936gsj9.js → state-39ad5as0.js} +11 -11
- package/dist/chunks/{persistent-pty-kazy0ayh.js → state-3e87262r.js} +1 -1
- package/dist/chunks/{persistent-pty-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-t9zs3egg.js → state-3j8sdtpz.js} +4 -4
- package/dist/chunks/{persistent-pty-k5nxbakh.js → state-3k4qtam6.js} +25 -25
- package/dist/chunks/{persistent-pty-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-qy1187xz.js → state-3ywf2fjx.js} +37 -37
- package/dist/chunks/{persistent-pty-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-z4szxkd7.js → state-41k2ygh2.js} +9 -9
- package/dist/chunks/{persistent-pty-9qb76avw.js → state-41wzkj33.js} +11 -11
- package/dist/chunks/{persistent-pty-jsqbbv53.js → state-4xndpv5p.js} +14 -14
- package/dist/chunks/{persistent-pty-4j4tgtq5.js → state-4z58m4b4.js} +4 -4
- package/dist/chunks/{persistent-pty-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-54tcyq79.js → state-54tcyq79.js} +2 -2
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → state-56gdpj1q.js} +6 -6
- package/dist/chunks/{persistent-pty-vdphxgnn.js → state-56xa85j2.js} +10 -10
- package/dist/chunks/{persistent-pty-4n3sdfe5.js → state-5adcek81.js} +6 -6
- package/dist/chunks/{persistent-pty-04wpcwjp.js → state-5d58fczq.js} +17 -17
- package/dist/chunks/{persistent-pty-edbn27ge.js → state-5dak2w70.js} +4 -4
- package/dist/chunks/{persistent-pty-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-jexxy024.js → state-5epte933.js} +3 -3
- package/dist/chunks/{persistent-pty-6n8a4jjg.js → state-5fbqftap.js} +16 -16
- package/dist/chunks/{persistent-pty-b95vg044.js → state-5mn92tv3.js} +22 -22
- package/dist/chunks/{persistent-pty-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-bw6eqvc2.js → state-662ekzyz.js} +25 -25
- package/dist/chunks/{persistent-pty-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-b0grxa7w.js → state-66r9f6z1.js} +5 -5
- package/dist/chunks/{persistent-pty-5xq1sedg.js → state-69vwg8tc.js} +49 -49
- package/dist/chunks/{persistent-pty-k8962brh.js → state-6cfd75hy.js} +4 -4
- package/dist/chunks/{persistent-pty-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-8sze2n9a.js → state-6pc27hjz.js} +2 -2
- package/dist/chunks/{persistent-pty-4wfraw0w.js → state-6qmvz171.js} +25 -25
- package/dist/chunks/{persistent-pty-yt5c9h39.js → state-71mzxbmj.js} +35 -35
- package/dist/chunks/{persistent-pty-wp1mqwss.js → state-79n0bxvh.js} +3 -3
- package/dist/chunks/{persistent-pty-azexmtne.js → state-7bcnwrvj.js} +3 -3
- package/dist/chunks/{persistent-pty-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-0jwsre1p.js → state-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-jgg5903p.js → state-7j9zgq8p.js} +46 -46
- package/dist/chunks/{persistent-pty-pqsj7wgp.js → state-80d1yvs7.js} +5 -5
- package/dist/chunks/{persistent-pty-0fq9kbe5.js → state-80mb3rs2.js} +14 -14
- package/dist/chunks/{persistent-pty-b6sgv4g0.js → state-8159mah8.js} +17 -17
- package/dist/chunks/{persistent-pty-57ez7d0k.js → state-81swgkk7.js} +7 -7
- package/dist/chunks/{persistent-pty-84txncab.js → state-84txncab.js} +1 -1
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-h1s4ax7h.js → state-8e176bsp.js} +13 -13
- package/dist/chunks/{persistent-pty-9wncg805.js → state-8nv3jfj1.js} +8 -8
- package/dist/chunks/{persistent-pty-dsv4qt6d.js → state-918r00qh.js} +21 -21
- package/dist/chunks/{persistent-pty-wbkyxrgf.js → state-92a4ap4w.js} +5 -5
- package/dist/chunks/{persistent-pty-5cpzvd3j.js → state-936k06nc.js} +17 -17
- package/dist/chunks/{persistent-pty-sd75nvd1.js → state-959s7zb7.js} +18 -18
- package/dist/chunks/{persistent-pty-efxgthxc.js → state-9ah7747k.js} +25 -25
- package/dist/chunks/{persistent-pty-1fkbnb3h.js → state-9ecan2nc.js} +33 -33
- package/dist/chunks/{persistent-pty-3878e13v.js → state-9g40tecy.js} +94 -94
- package/dist/chunks/{persistent-pty-31jg3jzd.js → state-9kza3txs.js} +10 -10
- package/dist/chunks/{persistent-pty-rsjwp548.js → state-9s372dca.js} +28 -28
- package/dist/chunks/state-9sh4wc5j.js +18 -0
- package/dist/chunks/{persistent-pty-qkk4yay7.js → state-9tjbveq7.js} +11 -11
- package/dist/chunks/{persistent-pty-kyktj0vd.js → state-9vtsvkk2.js} +6 -6
- package/dist/chunks/{persistent-pty-ek57zv8b.js → state-9wnq827a.js} +17 -17
- package/dist/chunks/{persistent-pty-v4qes6kb.js → state-a2js1e01.js} +17 -17
- package/dist/chunks/{persistent-pty-pgp1nwjn.js → state-a2rpfkac.js} +4 -4
- package/dist/chunks/{persistent-pty-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-vaydq29x.js → state-aevpzszq.js} +45 -45
- package/dist/chunks/{persistent-pty-jh34xga3.js → state-afd8vays.js} +6 -6
- package/dist/chunks/{persistent-pty-c1m7agks.js → state-avzp3gyq.js} +15 -15
- package/dist/chunks/{persistent-pty-mb8ahhxd.js → state-azwp2v3h.js} +44 -44
- package/dist/chunks/{persistent-pty-2nes80nj.js → state-b5c7acg6.js} +13 -13
- package/dist/chunks/{persistent-pty-zfq801h6.js → state-b65r9e3v.js} +8 -8
- package/dist/chunks/{persistent-pty-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-5jqc7mmh.js → state-bdw8v3mn.js} +48 -48
- package/dist/chunks/{persistent-pty-0jnnzt4k.js → state-be59z4hg.js} +36 -36
- package/dist/chunks/{persistent-pty-zvxz31za.js → state-be9x6ywh.js} +9 -9
- package/dist/chunks/{persistent-pty-bjtzbw4r.js → state-bjtzbw4r.js} +3 -3
- package/dist/chunks/{persistent-pty-bjmt3h04.js → state-bnmr3cva.js} +8 -8
- package/dist/chunks/{persistent-pty-vz9db08s.js → state-bvjk94fa.js} +4 -4
- package/dist/chunks/{persistent-pty-6b79em31.js → state-bwje1fea.js} +18 -18
- package/dist/chunks/{persistent-pty-9vjccf17.js → state-ce68aqnt.js} +6 -6
- package/dist/chunks/{persistent-pty-880ef89g.js → state-cg3ccyyg.js} +15 -15
- package/dist/chunks/{persistent-pty-bp98ntrt.js → state-chtreyd7.js} +24 -24
- package/dist/chunks/{persistent-pty-8e7wxhqf.js → state-cjxbqd7h.js} +27 -27
- package/dist/chunks/{persistent-pty-g0445xdp.js → state-cmwkp3r5.js} +4 -4
- package/dist/chunks/state-cpgb32tx.js +252 -0
- package/dist/chunks/{persistent-pty-f9t0t77v.js → state-csmch40z.js} +27 -27
- package/dist/chunks/{persistent-pty-djszqvmq.js → state-cwa6csj7.js} +9 -9
- package/dist/chunks/{persistent-pty-6nweqnhb.js → state-cz7wr2zz.js} +36 -36
- package/dist/chunks/{persistent-pty-51f5btjf.js → state-d1mtykxg.js} +6 -6
- package/dist/chunks/{persistent-pty-05hmz687.js → state-d5s62x3z.js} +13 -13
- package/dist/chunks/{persistent-pty-9zrtdmhy.js → state-d80ttx72.js} +11 -11
- package/dist/chunks/{persistent-pty-zcrspsvn.js → state-ddt2bs9e.js} +4 -4
- package/dist/chunks/{persistent-pty-qreq96fy.js → state-dgvwm360.js} +16 -16
- package/dist/chunks/{persistent-pty-g8jasmdt.js → state-dhwr7h25.js} +11 -11
- package/dist/chunks/{persistent-pty-jwcy2c2z.js → state-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-xfkkasph.js → state-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
- package/dist/chunks/{persistent-pty-ecfe7b91.js → state-ecfe7b91.js} +2 -2
- package/dist/chunks/{persistent-pty-fqj9nv8j.js → state-ednp5hmx.js} +5 -5
- package/dist/chunks/{persistent-pty-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-dy5mtzz8.js → state-ef5xe33j.js} +13 -13
- package/dist/chunks/{persistent-pty-ng06zct7.js → state-efhbm40n.js} +29 -29
- package/dist/chunks/{persistent-pty-5rwf64p2.js → state-ektkda5n.js} +9 -9
- package/dist/chunks/{persistent-pty-pcxghkgz.js → state-em3h5ktn.js} +4 -4
- package/dist/chunks/{persistent-pty-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-yabnvfn3.js → state-f2wnd5nk.js} +88 -88
- package/dist/chunks/{persistent-pty-b985cns1.js → state-f4b92smv.js} +10 -10
- package/dist/chunks/{persistent-pty-84y3cxrg.js → state-fb1tbn8m.js} +16 -16
- package/dist/chunks/{persistent-pty-qfqtz2mg.js → state-fd8ad5g5.js} +3 -3
- package/dist/chunks/{persistent-pty-rev16gg1.js → state-fhb5ssfr.js} +32 -32
- package/dist/chunks/{persistent-pty-eye44qas.js → state-fmcqyzhx.js} +9 -9
- package/dist/chunks/{persistent-pty-7j5zvf86.js → state-fmye1ng3.js} +4 -4
- package/dist/chunks/{persistent-pty-jhcrq6fy.js → state-fqbcpy34.js} +20 -20
- package/dist/chunks/{persistent-pty-2pw9t7y0.js → state-fr0z36kv.js} +18 -18
- package/dist/chunks/{persistent-pty-cjdtr2ds.js → state-fsf584xg.js} +33 -33
- package/dist/chunks/{persistent-pty-xen1zbvx.js → state-ftr96xex.js} +2 -2
- package/dist/chunks/{persistent-pty-wq4zc2h0.js → state-fva3gcq8.js} +29 -29
- package/dist/chunks/{persistent-pty-1nzs1dt7.js → state-fvanntqq.js} +6 -6
- package/dist/chunks/{persistent-pty-ajdjch6h.js → state-fwwk8vbp.js} +9 -9
- package/dist/chunks/{persistent-pty-00vf67kq.js → state-fzdh19fh.js} +9 -9
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → state-g97bb4fb.js} +2 -2
- package/dist/chunks/{persistent-pty-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-gfvb90ym.js → state-gfvb90ym.js} +2 -2
- package/dist/chunks/{persistent-pty-vv4wkjrp.js → state-gj33z6hv.js} +8 -8
- package/dist/chunks/{persistent-pty-3bkzp6nm.js → state-gn4mtd9h.js} +11 -11
- package/dist/chunks/{persistent-pty-nyh6yxg3.js → state-grq906mk.js} +21 -21
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-46pet8gs.js → state-gwcert61.js} +15 -15
- package/dist/chunks/{persistent-pty-xvp1j2dc.js → state-h6b02349.js} +5 -5
- package/dist/chunks/{persistent-pty-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-vwcfpena.js → state-h8n7s2er.js} +9 -9
- package/dist/chunks/{persistent-pty-3vb8825b.js → state-hgy5zrac.js} +21 -21
- package/dist/chunks/{persistent-pty-981fg1k8.js → state-hwxfv3tc.js} +12 -12
- package/dist/chunks/{persistent-pty-fjvydvzm.js → state-j5208yae.js} +4 -4
- package/dist/chunks/{persistent-pty-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-bdhtmqf5.js → state-j6acr1hx.js} +34 -34
- package/dist/chunks/{persistent-pty-k3akrp7q.js → state-jrfyc01p.js} +58 -58
- package/dist/chunks/{persistent-pty-2w7feyg1.js → state-jxy46986.js} +11 -11
- package/dist/chunks/{persistent-pty-efm7cqaz.js → state-jzbn4sdj.js} +25 -25
- package/dist/chunks/{persistent-pty-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-nbwqk53a.js → state-k84kd2rq.js} +18 -18
- package/dist/chunks/{persistent-pty-72hvh6jh.js → state-krph668c.js} +29 -29
- package/dist/chunks/{persistent-pty-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-7ews3x9x.js → state-m4z5w7fj.js} +43 -43
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-x9ate6zv.js → state-mezm2w51.js} +8 -8
- package/dist/chunks/{persistent-pty-gdgx11yp.js → state-mjj1bz1p.js} +10 -10
- package/dist/chunks/{persistent-pty-dnxkq42g.js → state-mpk0rfs5.js} +4 -4
- package/dist/chunks/{persistent-pty-8aaqm6qj.js → state-ms93yq6r.js} +8 -8
- package/dist/chunks/{persistent-pty-mhkvc446.js → state-mvfsc1pv.js} +3 -3
- package/dist/chunks/{persistent-pty-784hb5j4.js → state-mzywpf3p.js} +4 -4
- package/dist/chunks/{persistent-pty-r2cdb093.js → state-n25nhtx9.js} +21 -21
- package/dist/chunks/{persistent-pty-v8n97m4h.js → state-n5693fw6.js} +11 -11
- package/dist/chunks/{persistent-pty-fdmgm320.js → state-n781nrqq.js} +16 -16
- package/dist/chunks/{persistent-pty-rebxb36w.js → state-njqgdpjp.js} +7 -7
- package/dist/chunks/{persistent-pty-55zqgwvr.js → state-np3fkp2v.js} +11 -11
- package/dist/chunks/{persistent-pty-jk236s1c.js → state-nqt4j4tt.js} +32 -32
- package/dist/chunks/{persistent-pty-fhs97t90.js → state-nscznvay.js} +9 -9
- package/dist/chunks/{persistent-pty-7hpm9vff.js → state-nwqe4f3s.js} +18 -18
- package/dist/chunks/{persistent-pty-hsz3e5dy.js → state-nzhr00nd.js} +24 -24
- package/dist/chunks/{persistent-pty-s4df5zxh.js → state-p3fxhk0g.js} +26 -26
- package/dist/chunks/state-papj7q52.js +507 -0
- package/dist/chunks/{persistent-pty-kb09e3ps.js → state-ph2w6qfe.js} +2 -2
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-apbqs3pw.js → state-pk7dtzh7.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-6vyb99v6.js → state-pmerw669.js} +10 -10
- package/dist/chunks/{persistent-pty-psazpmmj.js → state-psazpmmj.js} +2 -2
- package/dist/chunks/state-pt6s91j2.js +26 -0
- package/dist/chunks/{persistent-pty-8s8r9gf0.js → state-pzsxz3jz.js} +26 -26
- package/dist/chunks/{persistent-pty-pknkq1ya.js → state-q5hpy1pp.js} +8 -8
- package/dist/chunks/{persistent-pty-h90v2x9d.js → state-qbqbaz6q.js} +4 -4
- package/dist/chunks/{persistent-pty-zjasv8zh.js → state-qh8vwz7j.js} +32 -32
- package/dist/chunks/{persistent-pty-cjs1c48m.js → state-qjw7q168.js} +13 -13
- package/dist/chunks/{persistent-pty-zyrwm43r.js → state-qm865f5x.js} +25 -25
- package/dist/chunks/{persistent-pty-pysk3085.js → state-qmhxt3hx.js} +156 -155
- package/dist/chunks/{persistent-pty-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-xkaxm87r.js → state-qt6sdbsb.js} +9 -9
- package/dist/chunks/{persistent-pty-9v2r64bp.js → state-qy3qk6ng.js} +1 -1
- package/dist/chunks/{persistent-pty-4p2v91mq.js → state-qzbep2cn.js} +17 -17
- package/dist/chunks/{persistent-pty-hgsmh1nh.js → state-r4feqcmh.js} +18 -18
- package/dist/chunks/{persistent-pty-aapjkkww.js → state-r7525m21.js} +45 -45
- package/dist/chunks/{persistent-pty-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → state-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-t550f9t1.js → state-s8d7rejh.js} +4 -4
- package/dist/chunks/{persistent-pty-55zfesz9.js → state-sexjdqf6.js} +18 -18
- package/dist/chunks/{persistent-pty-q63sg9wh.js → state-sr6aw9m2.js} +14 -14
- package/dist/chunks/{persistent-pty-p44d8wdy.js → state-sra9araw.js} +5 -5
- package/dist/chunks/{persistent-pty-f4xqw7wa.js → state-stjna85r.js} +19 -19
- package/dist/chunks/{persistent-pty-wvq7e1s4.js → state-szck5pq9.js} +4 -4
- package/dist/chunks/{persistent-pty-a2yvrr1e.js → state-t2f2p2hs.js} +47 -47
- package/dist/chunks/{persistent-pty-3efxt51q.js → state-t6hysv17.js} +18 -18
- package/dist/chunks/{persistent-pty-m97jxw3r.js → state-t9v8ce90.js} +9 -9
- package/dist/chunks/{persistent-pty-vnqycjs3.js → state-taxxrjzd.js} +32 -32
- package/dist/chunks/{persistent-pty-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-89znhe33.js → state-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-0aksezd1.js → state-te6p44we.js} +3 -3
- package/dist/chunks/{persistent-pty-2f0bjgcj.js → state-tn0aqsam.js} +5 -5
- package/dist/chunks/{persistent-pty-vs8k4vg6.js → state-tq190vwz.js} +27 -27
- package/dist/chunks/{persistent-pty-wf2zhhrq.js → state-tvphtg2k.js} +34 -34
- package/dist/chunks/{persistent-pty-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-2vjymgz4.js → state-txvbd51c.js} +11 -11
- package/dist/chunks/{persistent-pty-yxdp53eh.js → state-v2yhmqtv.js} +1 -1
- package/dist/chunks/{persistent-pty-zvs730z4.js → state-v79qzs0e.js} +5 -5
- package/dist/chunks/{persistent-pty-m3nayt80.js → state-vbga4g3c.js} +8 -8
- package/dist/chunks/{persistent-pty-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-0cmajtfh.js → state-vje8wz55.js} +24 -24
- package/dist/chunks/{persistent-pty-6ypennq8.js → state-vkrdzdkx.js} +43 -43
- package/dist/chunks/{persistent-pty-hym2md94.js → state-vr16sjez.js} +12 -12
- package/dist/chunks/{persistent-pty-811rfafr.js → state-vrzb7372.js} +28 -28
- package/dist/chunks/{persistent-pty-cavr175a.js → state-vsp1fds9.js} +21 -21
- package/dist/chunks/{persistent-pty-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-14xhwdvx.js → state-w2q85e14.js} +11 -11
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-32tkr9wa.js → state-w74ktcr0.js} +38 -38
- package/dist/chunks/{persistent-pty-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-chmcxnpv.js → state-wf98btk2.js} +11 -11
- package/dist/chunks/{persistent-pty-64wymc54.js → state-wkrjrqp5.js} +12 -12
- package/dist/chunks/{persistent-pty-rhe6q90e.js → state-wm0fnsq3.js} +25 -25
- package/dist/chunks/{persistent-pty-mwxvj69v.js → state-wm1tzmrb.js} +29 -29
- package/dist/chunks/{persistent-pty-jcenn4a0.js → state-wpk6ae5y.js} +24 -24
- package/dist/chunks/{persistent-pty-f1as396s.js → state-wprsb84s.js} +13 -13
- package/dist/chunks/{persistent-pty-v2xh51ss.js → state-wsm9s30m.js} +27 -27
- package/dist/chunks/{persistent-pty-s7h7at2m.js → state-wywf0jv5.js} +31 -31
- package/dist/chunks/{persistent-pty-pmth53f6.js → state-x0e6358b.js} +36 -36
- package/dist/chunks/{persistent-pty-42mqjpyj.js → state-x0kfg7bm.js} +15 -15
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-nd5pg0jd.js → state-x20r9ngb.js} +15 -15
- package/dist/chunks/{persistent-pty-te9eb2ne.js → state-x5zps9n8.js} +23 -23
- package/dist/chunks/{persistent-pty-aq6cef94.js → state-x8m5f2m8.js} +12 -12
- package/dist/chunks/{persistent-pty-avvhg6ef.js → state-x8t44att.js} +3 -3
- package/dist/chunks/{persistent-pty-2h15mtsb.js → state-xhpe18j8.js} +11 -11
- package/dist/chunks/{persistent-pty-29cwx4ks.js → state-xk37293j.js} +2 -2
- package/dist/chunks/{persistent-pty-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
- package/dist/chunks/{persistent-pty-a0ga5595.js → state-xpx5mjk6.js} +11 -11
- package/dist/chunks/{persistent-pty-cj0q7yrn.js → state-xrac12dq.js} +32 -32
- package/dist/chunks/{persistent-pty-6q8zcy5k.js → state-xx531rrw.js} +11 -11
- package/dist/chunks/{persistent-pty-h0n6hth2.js → state-xy0es05p.js} +32 -32
- package/dist/chunks/{persistent-pty-75jb4kyn.js → state-y09nxxfn.js} +12 -12
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-kt0am480.js → state-y5qxgpje.js} +3 -3
- package/dist/chunks/{persistent-pty-yy0dcyjw.js → state-yc6hmas2.js} +5 -5
- package/dist/chunks/{persistent-pty-6khx4p0d.js → state-yhs2t3wf.js} +77 -77
- package/dist/chunks/{persistent-pty-1v8stjbz.js → state-ykej036m.js} +1 -1
- package/dist/chunks/{persistent-pty-yp2x3t23.js → state-yp2x3t23.js} +1 -1
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-m142re3c.js → state-yt7aqnvn.js} +24 -24
- package/dist/chunks/{persistent-pty-kt98sm59.js → state-yt8vsfev.js} +3 -3
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-qxv5x38a.js → state-z4vzmr80.js} +13 -13
- package/dist/chunks/{persistent-pty-hn4w1bkj.js → state-z53dzy5k.js} +18 -18
- package/dist/chunks/{persistent-pty-s4rskdge.js → state-zbwqc9a9.js} +9 -9
- package/dist/chunks/{persistent-pty-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-new922dw.js → state-zftz6z13.js} +23 -23
- package/dist/chunks/{persistent-pty-3fv5zerb.js → state-zfz6p2zn.js} +12 -12
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- 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 +83 -83
- 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 +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 +81 -81
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +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 +93 -93
- 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 +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 +87 -87
- package/dist/generate.js +101 -101
- 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 +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 +81 -81
- 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 +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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 +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +84 -84
- 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 +3 -3
- 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 +354 -354
- 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 +4 -4
- 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 +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +4 -4
- 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 +1 -1
- 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 +5 -5
- 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 +85 -85
- 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 +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- 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 +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +116 -116
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +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 +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-01qtd5dc.js +0 -252
- package/dist/chunks/persistent-pty-0ntnwng5.js +0 -507
- package/dist/chunks/persistent-pty-6k12j7x1.js +0 -26
- package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Info12
|
|
10
|
-
} from "./persistent-pty-g8jasmdt.js";
|
|
11
|
-
import {
|
|
12
|
-
Info18
|
|
13
|
-
} from "./persistent-pty-2f0bjgcj.js";
|
|
6
|
+
Info20
|
|
7
|
+
} from "./state-vsp1fds9.js";
|
|
14
8
|
import {
|
|
15
9
|
Info19
|
|
16
|
-
} from "./
|
|
10
|
+
} from "./state-dhwr7h25.js";
|
|
17
11
|
import {
|
|
18
12
|
Info17
|
|
19
|
-
} from "./
|
|
13
|
+
} from "./state-tn0aqsam.js";
|
|
20
14
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
15
|
+
Info22
|
|
16
|
+
} from "./state-6cfd75hy.js";
|
|
23
17
|
import {
|
|
24
18
|
Info16
|
|
25
|
-
} from "./
|
|
19
|
+
} from "./state-j5208yae.js";
|
|
20
|
+
import {
|
|
21
|
+
Layout2
|
|
22
|
+
} from "./state-21r38tys.js";
|
|
23
|
+
import {
|
|
24
|
+
Info18
|
|
25
|
+
} from "./state-fvanntqq.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info21
|
|
28
|
+
} from "./state-sra9araw.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info24
|
|
34
|
+
} from "./state-92a4ap4w.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./state-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info23
|
|
40
|
+
} from "./state-3j8sdtpz.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./state-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info15,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info15 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info10 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info22)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info23).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info10 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info19), plan: Schema.optional(Info19) }), [Schema.Record(Schema.String, Info19)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info19),
|
|
119
|
+
build: Schema.optional(Info19),
|
|
120
|
+
general: Schema.optional(Info19),
|
|
121
|
+
explore: Schema.optional(Info19),
|
|
122
|
+
title: Schema.optional(Info19),
|
|
123
|
+
summary: Schema.optional(Info19),
|
|
124
|
+
compaction: Schema.optional(Info19)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info19)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info24)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info21, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info16).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info18).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info20),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info17).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info10 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info15, exports_config2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./state-sexjdqf6.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-mpk0rfs5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./state-216bemhx.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-p3fxhk0g.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service72
|
|
16
|
+
} from "./state-fva3gcq8.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-2bgvn5nj.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service72;
|
|
30
|
+
const bus = yield* Service80;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./state-0vpvgsj7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service57
|
|
10
|
+
} from "./state-9s372dca.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input6,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin7,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name6,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name6 = "skill";
|
|
30
|
+
var Input6 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin7 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service57;
|
|
51
|
+
const permission = yield* Service58;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name6,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input6,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name6,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin44 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name6, Input6, Output4, description3, toModelOutput2, Plugin7, exports_skill };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info20,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info20 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info20, exports_permission2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./state-0e4jz1n8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service21
|
|
6
|
+
} from "./state-9g40tecy.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make5
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make5 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service21;
|
|
24
|
+
const jobs = yield* Service46;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make5, exports_subagent_job };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./state-cg3ccyyg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./state-sexjdqf6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node48
|
|
12
|
+
} from "./state-0e4jz1n8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node41
|
|
16
|
+
} from "./state-d1mtykxg.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service36
|
|
26
|
+
} from "./state-ddt2bs9e.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service60,
|
|
29
29
|
node64
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-nwqe4f3s.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-80d1yvs7.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./state-qm865f5x.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service35,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
46
|
layer: () => layer15,
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
47
|
+
node: () => node38,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service35 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var layer15 = Layer.effect(
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
62
|
+
var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service60;
|
|
64
|
+
const instances = yield* Service39;
|
|
65
|
+
const bus = yield* Service80;
|
|
66
|
+
const jobs = yield* Service46;
|
|
67
|
+
const db = (yield* Service81).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -76,7 +76,7 @@ var layer15 = Layer.effect(Service40, 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* Service36.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),
|
|
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service35.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
126
|
+
var node38 = makeGlobalNode({
|
|
127
|
+
service: Service35,
|
|
128
128
|
layer: layer15,
|
|
129
|
-
deps: [node64,
|
|
129
|
+
deps: [node64, node41, node84, node85, node48]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service35, Service35.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service35, terminal2, layer15, node38, noopLayer3, exports_execution };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./state-stjna85r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./state-0vpvgsj7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service74;
|
|
57
|
+
const permission = yield* Service58;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|