@opencode/core 2.0.31 → 2.1.0
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-b5t06xk9.js → shell-027ww35v.js} +43 -43
- package/dist/chunks/{location-wgkt74tw.js → shell-02vamycj.js} +8 -8
- package/dist/chunks/{location-gp4grenw.js → shell-03p3wnad.js} +36 -36
- package/dist/chunks/{location-d2gxvrjz.js → shell-04s17g1v.js} +50 -50
- package/dist/chunks/{location-zvn35tm5.js → shell-08sd8799.js} +1 -1
- package/dist/chunks/{location-v23zj4w8.js → shell-0dwthkwv.js} +18 -15
- package/dist/chunks/{location-725z4hsd.js → shell-0jkbja5p.js} +26 -26
- package/dist/chunks/{location-dn4cq3jj.js → shell-0kt21gsk.js} +26 -26
- package/dist/chunks/{location-nxwbzm2s.js → shell-0rsgqgrk.js} +23 -23
- package/dist/chunks/{location-0vbcp93d.js → shell-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-had4kgfk.js → shell-0w62qmxp.js} +6 -6
- package/dist/chunks/{location-egy7b75h.js → shell-0x5xc4da.js} +35 -35
- package/dist/chunks/{location-9emww0n5.js → shell-0x7kry74.js} +83 -70
- package/dist/chunks/{location-ed777npe.js → shell-0ytk1mmd.js} +8 -8
- package/dist/chunks/{location-0gwx0s3y.js → shell-0ztvstyz.js} +7 -7
- package/dist/chunks/{location-gwf59qdk.js → shell-16fye9k3.js} +43 -43
- package/dist/chunks/{location-sp6sqjr9.js → shell-17drjap0.js} +32 -32
- package/dist/chunks/{location-1acjjqhc.js → shell-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-1qeeh34f.js → shell-1cbagaqy.js} +5 -5
- package/dist/chunks/shell-1ep4rre3.js +42 -0
- package/dist/chunks/{location-1ffvrpkg.js → shell-1ffvrpkg.js} +2 -2
- package/dist/chunks/{location-vmz83zrx.js → shell-1j769d1c.js} +3 -3
- package/dist/chunks/{location-ptefqdz6.js → shell-1ncsq4gc.js} +48 -48
- package/dist/chunks/{location-0gn2wfg7.js → shell-1pd15nec.js} +4 -4
- package/dist/chunks/{location-ptva3pym.js → shell-2exgm5zs.js} +51 -51
- package/dist/chunks/{location-0d5fgvs9.js → shell-2fxx0rz9.js} +17 -17
- package/dist/chunks/{location-gdmbfffs.js → shell-2g93jbb8.js} +45 -47
- package/dist/chunks/{location-fcrkznn8.js → shell-2k8khapm.js} +5 -5
- package/dist/chunks/{location-7b3a7ss3.js → shell-2ndqr24s.js} +12 -12
- package/dist/chunks/{location-jf14n6qf.js → shell-2qhkdr5r.js} +6 -6
- package/dist/chunks/{location-y8jdt19h.js → shell-2sq5abjd.js} +28 -29
- package/dist/chunks/{location-ad2byham.js → shell-37kervd6.js} +21 -24
- package/dist/chunks/{location-jr70j6bk.js → shell-387dpq4s.js} +20 -20
- package/dist/chunks/{location-b476w8hy.js → shell-3atk1qyf.js} +34 -34
- package/dist/chunks/{location-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3hwn7j4h.js → shell-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-k22b66k8.js → shell-3y377wv9.js} +4 -4
- package/dist/chunks/{location-q66bexh6.js → shell-3ys3ran9.js} +16 -16
- package/dist/chunks/{location-kdv1w5tp.js → shell-3zqqw7j0.js} +10 -10
- package/dist/chunks/{location-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-qkefedax.js → shell-41gge36f.js} +29 -30
- package/dist/chunks/{location-yz9xngpq.js → shell-41wjcvt0.js} +5 -5
- package/dist/chunks/{location-55m3mq6h.js → shell-432psgyy.js} +29 -29
- package/dist/chunks/shell-4b0g6gv7.js +71 -0
- package/dist/chunks/{location-wdwn1xw9.js → shell-4d10bng8.js} +15 -15
- package/dist/chunks/{location-2svw76rs.js → shell-4nejsby7.js} +20 -20
- package/dist/chunks/{location-m464tetq.js → shell-50d2yybn.js} +36 -36
- package/dist/chunks/{location-s8efh3qt.js → shell-51ajtkpf.js} +23 -23
- package/dist/chunks/{location-54ma36ye.js → shell-54ma36ye.js} +1 -1
- package/dist/chunks/{location-vafycr3d.js → shell-5b64kxs9.js} +1 -1
- package/dist/chunks/{location-bv75eenn.js → shell-5jjsdkbk.js} +60 -43
- package/dist/chunks/{location-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-a08hwrr8.js → shell-5tt655ph.js} +29 -29
- package/dist/chunks/{location-twaq3jzm.js → shell-5v1f1gfq.js} +19 -19
- package/dist/chunks/{location-xg3acd94.js → shell-5xghjtfa.js} +33 -33
- package/dist/chunks/{location-e6hpsnvb.js → shell-603vct5e.js} +33 -33
- package/dist/chunks/{location-kje2jy7e.js → shell-6559rxr6.js} +11 -4
- package/dist/chunks/{location-qjmwhgd5.js → shell-6775gw9z.js} +29 -29
- package/dist/chunks/{location-dqxsqydv.js → shell-6827pfxn.js} +2 -2
- package/dist/chunks/{location-3vpfcmec.js → shell-6c27xjax.js} +17 -17
- package/dist/chunks/{location-2ajwk0j6.js → shell-6eey2wfv.js} +41 -41
- package/dist/chunks/{location-t3nfadhs.js → shell-6f33sypz.js} +79 -82
- package/dist/chunks/{location-edrmdtr5.js → shell-6hh8tjw2.js} +7 -7
- package/dist/chunks/{location-1hws7hxk.js → shell-6hj3adh9.js} +15 -15
- package/dist/chunks/{location-pey7n3za.js → shell-6p4g3g3k.js} +23 -23
- package/dist/chunks/{location-chbmk58x.js → shell-6rx6hnnq.js} +3 -3
- package/dist/chunks/{location-dyava1km.js → shell-6srycd3a.js} +13 -13
- package/dist/chunks/{location-6xb47vfp.js → shell-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-4xpgt2w9.js → shell-6yz0wx8n.js} +5 -5
- package/dist/chunks/{location-7r0r50e5.js → shell-70y17xeh.js} +5 -5
- package/dist/chunks/{location-31sbk34f.js → shell-75w6s6ma.js} +11 -11
- package/dist/chunks/{location-775gj3j1.js → shell-775gj3j1.js} +2 -2
- package/dist/chunks/{location-332p2pj5.js → shell-79zqvytx.js} +73 -76
- package/dist/chunks/{location-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-j09zfasm.js → shell-7v6vae4w.js} +39 -21
- package/dist/chunks/{location-qfqwar9z.js → shell-7vj6fy4k.js} +18 -18
- package/dist/chunks/{location-s42x7kbt.js → shell-7wdpyrwx.js} +5 -5
- package/dist/chunks/{location-ankyagqv.js → shell-8471hwdy.js} +12 -12
- package/dist/chunks/{location-84txncab.js → shell-84txncab.js} +1 -1
- package/dist/chunks/{location-kkhv8ffc.js → shell-89e5dy4j.js} +9 -9
- package/dist/chunks/{location-tcezcvh9.js → shell-89znhe33.js} +4 -4
- package/dist/chunks/{location-n75tjgph.js → shell-8bee7htz.js} +29 -29
- package/dist/chunks/shell-8dfnjpdr.js +112 -0
- package/dist/chunks/{location-8m6m0r52.js → shell-8m6m0r52.js} +1 -1
- package/dist/chunks/shell-8mywswrd.js +86 -0
- package/dist/chunks/{location-fak546jh.js → shell-8rnv749x.js} +36 -29
- package/dist/chunks/{location-6pc27hjz.js → shell-8sze2n9a.js} +2 -2
- package/dist/chunks/{location-yeaxfmem.js → shell-8z3cvr3k.js} +17 -17
- package/dist/chunks/{location-k6t9754k.js → shell-9bh5q6pj.js} +3 -3
- package/dist/chunks/{location-pyv4m8ny.js → shell-9d6xe95g.js} +13 -13
- package/dist/chunks/{location-v2hqmhsj.js → shell-9hm03b9h.js} +22 -22
- package/dist/chunks/{location-p59fwf97.js → shell-9jf0f2cs.js} +7 -7
- package/dist/chunks/shell-9jvjhjkm.js +130 -0
- package/dist/chunks/shell-9t7nqqf0.js +26 -0
- package/dist/chunks/{location-fgamwy3d.js → shell-9vbreq9z.js} +11 -11
- package/dist/chunks/{location-dwtdh34y.js → shell-9vyc8vj1.js} +4 -4
- package/dist/chunks/{location-3k46pnes.js → shell-9w64rzck.js} +13 -13
- package/dist/chunks/{location-nmrzdgqa.js → shell-9zv65pgs.js} +15 -15
- package/dist/chunks/{location-98vn5e4g.js → shell-a36y64am.js} +16 -16
- package/dist/chunks/{location-xxbhqfv7.js → shell-a98yv52t.js} +22 -15
- package/dist/chunks/{location-fv1pwmey.js → shell-adehtbxa.js} +4 -4
- package/dist/chunks/{location-n7zsrb9m.js → shell-ae0va0j1.js} +5 -5
- package/dist/chunks/{location-aqjemj7v.js → shell-af8g5zb6.js} +24 -24
- package/dist/chunks/{location-zqkh3haf.js → shell-ahe504bx.js} +22 -22
- package/dist/chunks/{location-v41ydkwg.js → shell-ajpgmfw4.js} +20 -20
- package/dist/chunks/{location-7b4crnna.js → shell-asecphd2.js} +19 -19
- package/dist/chunks/{location-hhkvbeez.js → shell-awefsnnk.js} +4 -4
- package/dist/chunks/{location-w8yd89gy.js → shell-axe3mf62.js} +3 -3
- package/dist/chunks/{location-ygdna4kr.js → shell-b674v2dg.js} +5 -5
- package/dist/chunks/{location-c9wbyant.js → shell-baqyxak2.js} +9 -9
- package/dist/chunks/{location-a3kydf8v.js → shell-bj7p7j85.js} +17 -17
- package/dist/chunks/{location-98tg60b9.js → shell-c1bdvjkd.js} +30 -30
- package/dist/chunks/{location-c1fqxshp.js → shell-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-d08c6kge.js → shell-c7fvvtsq.js} +32 -32
- package/dist/chunks/{location-08mhz53j.js → shell-ccbzs5ke.js} +10 -10
- package/dist/chunks/{location-e21ryx48.js → shell-cf6pg1xw.js} +8 -8
- package/dist/chunks/{location-cwa6csj7.js → shell-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-v5v0w1v9.js → shell-dajdhw2j.js} +6 -6
- package/dist/chunks/{location-sp3e7rwb.js → shell-dcspakzd.js} +59 -59
- package/dist/chunks/{location-6fatt4mk.js → shell-depwzj9d.js} +9 -9
- package/dist/chunks/{location-bdva7wc0.js → shell-dpkssma6.js} +11 -11
- package/dist/chunks/{location-dxj72tfx.js → shell-dxj72tfx.js} +1 -1
- package/dist/chunks/{location-3kxs742t.js → shell-e3s3zy1r.js} +10 -10
- package/dist/chunks/{location-z41z05dk.js → shell-e738kmdw.js} +6 -6
- package/dist/chunks/{location-kkv8xsc6.js → shell-eeggec7k.js} +11 -11
- package/dist/chunks/{location-eej6y6fw.js → shell-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-hm3bk0p8.js → shell-ehbg6y37.js} +34 -34
- package/dist/chunks/{location-0k8emadn.js → shell-envzrdm3.js} +52 -52
- package/dist/chunks/{location-p0b32wnx.js → shell-ey7dv0w4.js} +19 -19
- package/dist/chunks/shell-eyv86r6e.js +257 -0
- package/dist/chunks/{location-ac3w4tg1.js → shell-f2mw6jyj.js} +11 -11
- package/dist/chunks/{location-v5asjnvt.js → shell-f5852yed.js} +13 -13
- package/dist/chunks/{location-x72tgrkt.js → shell-f6aytc7n.js} +10 -10
- package/dist/chunks/{location-5kmwyhcc.js → shell-fbxzvvsv.js} +11 -11
- package/dist/chunks/shell-fcy631f0.js +62 -0
- package/dist/chunks/{location-2k9gth8v.js → shell-ffxxyzcb.js} +9 -9
- package/dist/chunks/{location-wmx2yec4.js → shell-fmax1t4t.js} +24 -24
- package/dist/chunks/{location-8ank75fn.js → shell-fqtvmpfq.js} +8 -8
- package/dist/chunks/{location-ef6w4cys.js → shell-fvgqktbw.js} +26 -26
- package/dist/chunks/{location-pba85c1x.js → shell-fww2ha2b.js} +10 -10
- package/dist/chunks/{location-khmqacep.js → shell-fxaymqdw.js} +4 -4
- package/dist/chunks/{location-xc3gbc81.js → shell-fypxcyz2.js} +12 -12
- package/dist/chunks/{location-5a4fa56b.js → shell-g4qztyvf.js} +37 -37
- package/dist/chunks/{location-604zh56d.js → shell-g6bqk7eb.js} +11 -11
- package/dist/chunks/{location-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-d2kjhx1e.js → shell-gmbs0yfc.js} +49 -49
- package/dist/chunks/{location-zbax6w3t.js → shell-gt7zzye3.js} +15 -15
- package/dist/chunks/{location-zrjxanbe.js → shell-h055mtc6.js} +35 -27
- package/dist/chunks/{location-bczx5ry5.js → shell-h0bzvw2w.js} +17 -13
- package/dist/chunks/{location-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-d0k1g5nx.js → shell-h896pcm5.js} +6 -6
- package/dist/chunks/{location-xjqbcb23.js → shell-hdgwvq1e.js} +32 -32
- package/dist/chunks/{location-q89amkt5.js → shell-hdn28k8z.js} +13 -13
- package/dist/chunks/{location-hgz4x7wa.js → shell-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-xshzrn6p.js → shell-hj7zb2g9.js} +20 -20
- package/dist/chunks/{location-e3h2tv5m.js → shell-htx26fav.js} +39 -39
- package/dist/chunks/{location-zg9mg9xh.js → shell-hvp5ag27.js} +6 -6
- package/dist/chunks/{location-zewj3pg6.js → shell-hzdxw2qq.js} +11 -11
- package/dist/chunks/{location-rbdhhdfw.js → shell-j148atrz.js} +5 -5
- package/dist/chunks/{location-kavz8ev8.js → shell-j9abz2tj.js} +19 -19
- package/dist/chunks/{location-0bx9ftm6.js → shell-jaqs594m.js} +22 -22
- package/dist/chunks/{location-n207hqvt.js → shell-jfh8dh4w.js} +23 -23
- package/dist/chunks/{location-6je2rgp2.js → shell-jgp4qpwz.js} +15 -15
- package/dist/chunks/{location-5r0sd97x.js → shell-jmb2cr8q.js} +11 -11
- package/dist/chunks/{location-32g64bfd.js → shell-jmxxwznn.js} +4 -4
- package/dist/chunks/{location-9ex8f1cq.js → shell-jn0tk1mz.js} +8 -8
- package/dist/chunks/{location-w8s3ffgw.js → shell-jp35yjqz.js} +32 -32
- package/dist/chunks/{location-7c6xqexj.js → shell-jtjk5p9j.js} +11 -11
- package/dist/chunks/{location-rda1ncrk.js → shell-k0ev5b6x.js} +5 -5
- package/dist/chunks/{location-k2a504bc.js → shell-k51kf5tx.js} +12 -12
- package/dist/chunks/{location-d43tgzm4.js → shell-k7myrtme.js} +9 -9
- package/dist/chunks/{location-cneqc13g.js → shell-kbxy4n3g.js} +4 -4
- package/dist/chunks/{location-hdyh3agd.js → shell-kcrn19zp.js} +21 -21
- package/dist/chunks/{location-sk8ngeq0.js → shell-kcz1zv3y.js} +23 -23
- package/dist/chunks/{location-4vkzjfz1.js → shell-kfmczrqx.js} +16 -16
- package/dist/chunks/{location-0dnxk7rk.js → shell-kg4680zm.js} +13 -13
- package/dist/chunks/{location-1gb4csdk.js → shell-kgcb372b.js} +11 -11
- package/dist/chunks/{location-kwb1v3vj.js → shell-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-qfav9mb9.js → shell-kxnmaf3s.js} +20 -20
- package/dist/chunks/{location-5r0e9r43.js → shell-kzy2940e.js} +36 -36
- package/dist/chunks/{location-s26hbv8p.js → shell-m0r31qfn.js} +4 -4
- package/dist/chunks/{location-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-8ekd6vxm.js → shell-maneqgxr.js} +31 -28
- package/dist/chunks/{location-maspj1v3.js → shell-maspj1v3.js} +1 -1
- package/dist/chunks/{location-eykbxn2n.js → shell-mhpexy54.js} +20 -20
- package/dist/chunks/{location-txm3e8qz.js → shell-mqqhst8y.js} +4 -4
- package/dist/chunks/{location-7fpfrasm.js → shell-mwpm31k7.js} +51 -50
- package/dist/chunks/{location-37dgakmz.js → shell-n2qdned2.js} +30 -30
- package/dist/chunks/{location-8945desn.js → shell-nb27xjmq.js} +18 -18
- package/dist/chunks/{location-h7s7r6s9.js → shell-nz56sr1f.js} +18 -19
- package/dist/chunks/{location-ps53sfwy.js → shell-p20se939.js} +8 -8
- package/dist/chunks/{location-jdj7c2dh.js → shell-pdf17x7p.js} +11 -11
- package/dist/chunks/{location-egeseaw5.js → shell-pg6gmj9m.js} +17 -14
- package/dist/chunks/{location-g686f6pq.js → shell-phz50fbd.js} +9 -9
- package/dist/chunks/{location-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{location-pzq6k8vz.js → shell-pnzpyq4k.js} +132 -110
- package/dist/chunks/{location-2s0kcc7y.js → shell-pw4zabmd.js} +194 -193
- package/dist/chunks/{location-fykrrrct.js → shell-q41jq0qr.js} +11 -11
- package/dist/chunks/{location-0ngbj78w.js → shell-qajney5x.js} +13 -13
- package/dist/chunks/{location-bfwybkmg.js → shell-qhat5nnc.js} +35 -35
- package/dist/chunks/{location-qnc92qwc.js → shell-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{location-f4pp2f84.js → shell-qv079c4h.js} +38 -38
- package/dist/chunks/{location-r2z489rp.js → shell-r2z489rp.js} +1 -1
- package/dist/chunks/{location-vtv85xx9.js → shell-r5ndtmnm.js} +4 -4
- package/dist/chunks/{location-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-rert0e01.js → shell-rert0e01.js} +2 -2
- package/dist/chunks/{location-rj3eygr5.js → shell-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-4pqc6r0s.js → shell-rnfredjj.js} +33 -31
- package/dist/chunks/{location-54ekx5ae.js → shell-rw4jj2rk.js} +37 -36
- package/dist/chunks/{location-ynrbdj0p.js → shell-rxxx7r4k.js} +24 -21
- package/dist/chunks/{location-f6v6e9jj.js → shell-s389npg2.js} +101 -167
- package/dist/chunks/{location-02nrjc1r.js → shell-s8d7rejh.js} +8 -8
- package/dist/chunks/{location-sa8ekw3f.js → shell-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-rx3mvgkr.js → shell-sh0qrkbh.js} +18 -18
- package/dist/chunks/{location-k9axst5t.js → shell-sjtzq83v.js} +10 -10
- package/dist/chunks/{location-8n3txx1w.js → shell-srmwk7dt.js} +5 -5
- package/dist/chunks/{location-syv4x271.js → shell-syv4x271.js} +1 -1
- package/dist/chunks/{location-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-6rm5yzkt.js → shell-tb1cafh6.js} +4 -4
- package/dist/chunks/{location-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{location-tm0kqsz3.js → shell-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-5xtgfte3.js → shell-tpw6cwsb.js} +8 -8
- package/dist/chunks/{location-yhntedeb.js → shell-tqr4vm00.js} +11 -11
- package/dist/chunks/{location-wapmwjpk.js → shell-trg827xp.js} +21 -19
- package/dist/chunks/shell-tt8gc4fv.js +59 -0
- package/dist/chunks/{location-5v0crexd.js → shell-tx0gtb9m.js} +7 -7
- package/dist/chunks/{location-tyytaxap.js → shell-tyytaxap.js} +1 -1
- package/dist/chunks/{location-j0p2n9y3.js → shell-v1bmpj3w.js} +15 -15
- package/dist/chunks/{location-kfspy82a.js → shell-v6abvp0h.js} +5 -5
- package/dist/chunks/{location-q02nkz8q.js → shell-v715hp7c.js} +15 -15
- package/dist/chunks/{location-v7p4zvkq.js → shell-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-q22hcgwy.js → shell-vdaaq34n.js} +4 -4
- package/dist/chunks/{location-wnqm0cgw.js → shell-vdwzhxqd.js} +9 -9
- package/dist/chunks/{location-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{location-rexbarkw.js → shell-vk2t4k53.js} +14 -14
- package/dist/chunks/{location-x4zxggeh.js → shell-vm9wfeep.js} +53 -35
- package/dist/chunks/{location-byhrkmnv.js → shell-vywzj4qb.js} +20 -20
- package/dist/chunks/{location-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-gjy4e9va.js → shell-w2swb6sv.js} +318 -314
- package/dist/chunks/{location-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-ndxmvpwy.js → shell-w921m42b.js} +24 -24
- package/dist/chunks/{location-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{location-0226ecw2.js → shell-wfztk8xg.js} +8 -8
- package/dist/chunks/{location-agk9a7ht.js → shell-wjjv5c56.js} +9 -9
- package/dist/chunks/{location-0p4tcy8x.js → shell-wmxpb99x.js} +3 -3
- package/dist/chunks/{location-nc34fnv7.js → shell-wqfheh0m.js} +23 -23
- package/dist/chunks/{location-hcv80w8f.js → shell-wrmbd4ct.js} +8 -8
- package/dist/chunks/{location-922zmdzk.js → shell-wx13yw6b.js} +11 -11
- package/dist/chunks/{location-mgnytpvb.js → shell-wyepen03.js} +28 -28
- package/dist/chunks/{location-gkv0m4je.js → shell-x3p3s57s.js} +3 -3
- package/dist/chunks/{location-z0pkcfr2.js → shell-x95qaydz.js} +29 -29
- package/dist/chunks/{location-jv6mm5r1.js → shell-xayeaa42.js} +11 -11
- package/dist/chunks/{location-drwq78ky.js → shell-xfkkasph.js} +4 -4
- package/dist/chunks/{location-qvbvh2j1.js → shell-xg9m98z8.js} +36 -36
- package/dist/chunks/{location-xdyvfy69.js → shell-xkmpyy1n.js} +9 -9
- package/dist/chunks/{location-xz5ete57.js → shell-xr38e3s7.js} +15 -15
- package/dist/chunks/{location-4826d3mm.js → shell-xv32mmfd.js} +21 -21
- package/dist/chunks/{location-wpw4fxj8.js → shell-xwkencv2.js} +19 -14
- package/dist/chunks/{location-ykfvkqah.js → shell-y0st3mmr.js} +2 -2
- package/dist/chunks/{location-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-y71avatq.js → shell-y71avatq.js} +1 -1
- package/dist/chunks/{location-y01krfzx.js → shell-y8cyz0t7.js} +11 -11
- package/dist/chunks/{location-30z8dtpn.js → shell-yn5t1h2v.js} +13 -13
- package/dist/chunks/{location-wcgwrd3j.js → shell-ypg4226y.js} +23 -18
- package/dist/chunks/shell-ypxp1xp8.js +97 -0
- package/dist/chunks/{location-q4ht2jz5.js → shell-yzkfk5qj.js} +9 -9
- package/dist/chunks/{location-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-3fc6dm20.js → shell-z18fegx4.js} +4 -4
- package/dist/chunks/{location-rpg9c19m.js → shell-zav06jzw.js} +4 -4
- package/dist/chunks/{location-d5am0rpv.js → shell-zc34mber.js} +36 -36
- package/dist/chunks/{location-4ekscj25.js → shell-zjtrsxny.js} +5 -5
- package/dist/chunks/{location-y8asngre.js → shell-zk3946p4.js} +9 -9
- package/dist/chunks/{location-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-htx0x9rj.js → shell-ztk94t9n.js} +23 -23
- package/dist/chunks/{location-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- 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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -205
- package/dist/config/plugin/compaction.js +155 -154
- package/dist/config/plugin/compatibility.js +135 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +10 -0
- package/dist/config/plugin/skill.js +136 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +89 -86
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +219 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -105
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -354
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model-retry.js +10 -0
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +3 -3
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +219 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -156
- package/dist/session/history.js +19 -13
- package/dist/session/inbox.js +95 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +14 -0
- package/dist/session/revert.js +96 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -2
- package/dist/session/runner/step.js +126 -125
- package/dist/session/runner/to-llm-message.js +14 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +221 -225
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -209
- 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 +17 -17
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +111 -111
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +213 -212
- package/dist/tool/plugin/todo.js +147 -0
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/account/sql.d.ts +3 -3
- package/dist/types/codemode/tool.d.ts +12 -12
- package/dist/types/config/discovery.d.ts +2 -2
- package/dist/types/config/plugin/entry-observer.d.ts +1 -1
- package/dist/types/config/plugin/instruction.d.ts +1 -1
- package/dist/types/config/plugin/skill-scan.d.ts +5 -0
- package/dist/types/config.d.ts +1 -1
- package/dist/types/credential/sql.d.ts +1 -4
- package/dist/types/credential.d.ts +0 -3
- package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +1 -1
- package/dist/types/database/migration/20260805200742_import_legacy_credentials.d.ts +1 -1
- package/dist/types/database/path.d.ts +16 -16
- package/dist/types/database/sqlite.bun.d.ts +1 -1
- package/dist/types/database/sqlite.node.d.ts +1 -1
- package/dist/types/database/sqlite.workerd.d.ts +1 -1
- package/dist/types/effect/websocket-constructor.d.ts +2 -1
- package/dist/types/environment/files.d.ts +1 -1
- package/dist/types/event/sql.d.ts +2 -2
- package/dist/types/file-mutation.d.ts +4 -3
- package/dist/types/filesystem.d.ts +1 -1
- package/dist/types/form.d.ts +55 -55
- package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +27 -27
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +80 -80
- package/dist/types/github-copilot/responses/tool/file-search.d.ts +1 -1
- package/dist/types/github-copilot/responses/tool/image-generation.d.ts +5 -5
- package/dist/types/github-copilot/responses/tool/web-search-preview.d.ts +1 -1
- package/dist/types/github-copilot/responses/tool/web-search.d.ts +1 -1
- package/dist/types/image/photon-wasm.workerd.d.ts +1 -1
- package/dist/types/image/photon.d.ts +5 -5
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/integration.d.ts +257 -257
- package/dist/types/kv/sql.d.ts +1 -1
- package/dist/types/managed-policy.d.ts +2 -2
- package/dist/types/mcp/client.d.ts +74 -74
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/model-retry.d.ts +14 -0
- package/dist/types/model.d.ts +76 -73
- package/dist/types/permission/saved.d.ts +26 -1
- package/dist/types/permission/sql.d.ts +1 -1
- package/dist/types/permission.d.ts +1 -1
- package/dist/types/persistent-pty/binary.bun.d.ts +1 -1
- package/dist/types/persistent-pty/binary.node.d.ts +1 -1
- package/dist/types/plugin/command.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/module.d.ts +7 -7
- package/dist/types/plugin/provider/azure.d.ts +2 -2
- package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
- package/dist/types/plugin/provider/digitalocean.d.ts +1 -1
- package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
- package/dist/types/plugin/provider/gitlab.d.ts +1 -1
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
- package/dist/types/plugin/provider/local.d.ts +2 -2
- package/dist/types/plugin/provider/ollama.d.ts +2 -2
- package/dist/types/plugin/provider/opencode.d.ts +1 -1
- package/dist/types/plugin/provider/poe.d.ts +1 -1
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
- package/dist/types/plugin/provider/vllm.d.ts +2 -2
- package/dist/types/plugin/supervisor.d.ts +2 -2
- package/dist/types/plugin/websearch/exa.d.ts +1 -1
- package/dist/types/plugin/websearch/firecrawl.d.ts +1 -1
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/plugin/websearch/parallel.d.ts +1 -1
- package/dist/types/plugin/websearch/tavily.d.ts +1 -1
- package/dist/types/plugin/websearch/tinyfish.d.ts +1 -1
- package/dist/types/project/sql.d.ts +75 -75
- package/dist/types/provider.d.ts +3 -1
- package/dist/types/session/command.d.ts +1 -1
- package/dist/types/session/compaction.d.ts +2 -2
- package/dist/types/session/diff.d.ts +1 -1
- package/dist/types/session/error.d.ts +4 -0
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +2 -2
- package/dist/types/session/generate.d.ts +1 -1
- package/dist/types/session/history.d.ts +389 -1242
- package/dist/types/session/inbox.d.ts +110 -110
- package/dist/types/session/instruction-entry.d.ts +2 -2
- package/dist/types/session/instruction-state.d.ts +7 -3
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/prompt.d.ts +7 -7
- package/dist/types/session/recent-text.d.ts +11 -0
- package/dist/types/session/revert.d.ts +1 -1
- package/dist/types/session/runner/index.d.ts +42 -46
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/types/session/runner/step.d.ts +86 -96
- package/dist/types/session/session.d.ts +29 -27
- package/dist/types/session/skill.d.ts +1 -1
- package/dist/types/session/sql.d.ts +139 -139
- package/dist/types/session/stats.d.ts +1 -1
- package/dist/types/session/store.d.ts +8 -5
- package/dist/types/session/subagent-completion.d.ts +1 -1
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +31 -81
- package/dist/types/session.d.ts +24 -11
- package/dist/types/shell/result.d.ts +14 -14
- package/dist/types/skill.d.ts +1 -1
- package/dist/types/state.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +2 -2
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/skill.d.ts +1 -1
- package/dist/types/tool/plugin/todo.d.ts +29 -0
- package/dist/types/tool/plugin/webfetch.d.ts +1 -1
- package/dist/types/tool/read-filesystem.d.ts +4 -4
- package/dist/types/tool/runtime.d.ts +1 -1
- package/dist/types/util/error.d.ts +36 -32
- package/dist/types/v1/config/agent.d.ts +2 -2
- package/dist/types/v1/config/error.d.ts +51 -46
- package/dist/types/v1/config/migrate.d.ts +14 -14
- package/dist/types/v1/config/permission.d.ts +3 -3
- package/dist/types/voice.d.ts +29 -0
- package/dist/types/wellknown.d.ts +4 -6
- package/dist/types/workspace/sql.d.ts +1 -1
- package/dist/types/worktree/git.d.ts +3 -3
- package/dist/types/worktree/sql.d.ts +1 -1
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +97 -0
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +10 -10
- package/dist/chunks/location-b3f8fkhc.js +0 -80
- package/dist/chunks/location-b49nb10p.js +0 -253
- package/dist/chunks/location-k2w6m327.js +0 -26
- package/dist/chunks/location-syf57q56.js +0 -69
- package/dist/chunks/location-t57002t3.js +0 -73
- package/dist/chunks/location-xx6gh137.js +0 -95
- package/dist/session/provider-context.js +0 -20
- package/dist/types/session/provider-context.d.ts +0 -46
- /package/dist/chunks/{location-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → shell-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → shell-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-pyv0edze.js → shell-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → shell-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -34,6 +34,8 @@ export declare const make: () => Effect.Effect<{
|
|
|
34
34
|
rename: (input: {
|
|
35
35
|
title: string;
|
|
36
36
|
}) => Effect.Effect<void, NotFoundError, never>;
|
|
37
|
+
archive: () => Effect.Effect<void, NotFoundError, never>;
|
|
38
|
+
unarchive: () => Effect.Effect<void, NotFoundError, never>;
|
|
37
39
|
setMetadata: (input: {
|
|
38
40
|
metadata: SessionSchema.Metadata;
|
|
39
41
|
}) => Effect.Effect<void, NotFoundError, never>;
|
|
@@ -50,18 +52,15 @@ export declare const make: () => Effect.Effect<{
|
|
|
50
52
|
readonly type: "user";
|
|
51
53
|
readonly payload: {
|
|
52
54
|
readonly text: string;
|
|
53
|
-
readonly metadata?: {
|
|
54
|
-
readonly [x: string]: unknown;
|
|
55
|
-
} | undefined;
|
|
56
55
|
readonly files?: readonly {
|
|
57
56
|
readonly data: string;
|
|
57
|
+
readonly mime: string;
|
|
58
58
|
readonly source: {
|
|
59
59
|
readonly type: "inline";
|
|
60
60
|
} | {
|
|
61
61
|
readonly type: "uri";
|
|
62
62
|
readonly uri: string;
|
|
63
63
|
};
|
|
64
|
-
readonly mime: string;
|
|
65
64
|
readonly name?: string | undefined;
|
|
66
65
|
readonly description?: string | undefined;
|
|
67
66
|
readonly mention?: {
|
|
@@ -79,8 +78,8 @@ export declare const make: () => Effect.Effect<{
|
|
|
79
78
|
} | undefined;
|
|
80
79
|
}[] | undefined;
|
|
81
80
|
readonly skills?: readonly {
|
|
82
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
83
81
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
82
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
84
83
|
readonly text?: string | undefined;
|
|
85
84
|
readonly mention?: {
|
|
86
85
|
readonly start: number;
|
|
@@ -88,8 +87,11 @@ export declare const make: () => Effect.Effect<{
|
|
|
88
87
|
readonly text: string;
|
|
89
88
|
} | undefined;
|
|
90
89
|
}[] | undefined;
|
|
90
|
+
readonly metadata?: {
|
|
91
|
+
readonly [x: string]: unknown;
|
|
92
|
+
} | undefined;
|
|
91
93
|
};
|
|
92
|
-
readonly delivery: "
|
|
94
|
+
readonly delivery: "queue" | "steer";
|
|
93
95
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
94
96
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
95
97
|
readonly time: {
|
|
@@ -104,7 +106,7 @@ export declare const make: () => Effect.Effect<{
|
|
|
104
106
|
readonly [x: string]: unknown;
|
|
105
107
|
} | undefined;
|
|
106
108
|
};
|
|
107
|
-
readonly delivery: "
|
|
109
|
+
readonly delivery: "queue" | "steer";
|
|
108
110
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
109
111
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
110
112
|
readonly time: {
|
|
@@ -113,7 +115,7 @@ export declare const make: () => Effect.Effect<{
|
|
|
113
115
|
} | {
|
|
114
116
|
readonly type: "compaction";
|
|
115
117
|
readonly payload: {};
|
|
116
|
-
readonly delivery: "
|
|
118
|
+
readonly delivery: "queue" | "steer";
|
|
117
119
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
118
120
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
119
121
|
readonly time: {
|
|
@@ -129,7 +131,7 @@ export declare const make: () => Effect.Effect<{
|
|
|
129
131
|
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
130
132
|
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
131
133
|
};
|
|
132
|
-
readonly delivery: "
|
|
134
|
+
readonly delivery: "queue" | "steer";
|
|
133
135
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
134
136
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
135
137
|
readonly time: {
|
|
@@ -140,18 +142,15 @@ export declare const make: () => Effect.Effect<{
|
|
|
140
142
|
readonly type: "user";
|
|
141
143
|
readonly payload: {
|
|
142
144
|
readonly text: string;
|
|
143
|
-
readonly metadata?: {
|
|
144
|
-
readonly [x: string]: unknown;
|
|
145
|
-
} | undefined;
|
|
146
145
|
readonly files?: readonly {
|
|
147
146
|
readonly data: string;
|
|
147
|
+
readonly mime: string;
|
|
148
148
|
readonly source: {
|
|
149
149
|
readonly type: "inline";
|
|
150
150
|
} | {
|
|
151
151
|
readonly type: "uri";
|
|
152
152
|
readonly uri: string;
|
|
153
153
|
};
|
|
154
|
-
readonly mime: string;
|
|
155
154
|
readonly name?: string | undefined;
|
|
156
155
|
readonly description?: string | undefined;
|
|
157
156
|
readonly mention?: {
|
|
@@ -169,8 +168,8 @@ export declare const make: () => Effect.Effect<{
|
|
|
169
168
|
} | undefined;
|
|
170
169
|
}[] | undefined;
|
|
171
170
|
readonly skills?: readonly {
|
|
172
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
173
171
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
172
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
174
173
|
readonly text?: string | undefined;
|
|
175
174
|
readonly mention?: {
|
|
176
175
|
readonly start: number;
|
|
@@ -178,14 +177,17 @@ export declare const make: () => Effect.Effect<{
|
|
|
178
177
|
readonly text: string;
|
|
179
178
|
} | undefined;
|
|
180
179
|
}[] | undefined;
|
|
180
|
+
readonly metadata?: {
|
|
181
|
+
readonly [x: string]: unknown;
|
|
182
|
+
} | undefined;
|
|
181
183
|
};
|
|
182
|
-
readonly delivery: "
|
|
184
|
+
readonly delivery: "queue" | "steer";
|
|
183
185
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
184
186
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
185
187
|
readonly time: {
|
|
186
188
|
readonly created: DateTime.Utc;
|
|
187
189
|
};
|
|
188
|
-
},
|
|
190
|
+
}, import("./error.js").AttachmentError | import("../filesystem.js").DirectoryNotFoundError | NotFoundError | PromptConflictError | import("./error.js").SkillNotFoundError, never>;
|
|
189
191
|
synthetic: (input: {
|
|
190
192
|
id?: SessionMessage.ID;
|
|
191
193
|
text: string;
|
|
@@ -202,7 +204,7 @@ export declare const make: () => Effect.Effect<{
|
|
|
202
204
|
readonly [x: string]: unknown;
|
|
203
205
|
} | undefined;
|
|
204
206
|
};
|
|
205
|
-
readonly delivery: "
|
|
207
|
+
readonly delivery: "queue" | "steer";
|
|
206
208
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
207
209
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
208
210
|
readonly time: {
|
|
@@ -217,28 +219,28 @@ export declare const make: () => Effect.Effect<{
|
|
|
217
219
|
messageID?: SessionMessage.ID;
|
|
218
220
|
skill: Skill.ID;
|
|
219
221
|
resume?: boolean;
|
|
220
|
-
}) => Effect.Effect<void,
|
|
222
|
+
}) => Effect.Effect<void, import("../filesystem.js").DirectoryNotFoundError | NotFoundError | import("./error.js").SkillNotFoundError, never>;
|
|
221
223
|
compact: (input: {
|
|
222
224
|
id?: SessionMessage.ID;
|
|
223
225
|
delivery?: SessionInbox.Delivery;
|
|
224
226
|
}) => Effect.Effect<{
|
|
225
227
|
readonly type: "compaction";
|
|
226
228
|
readonly payload: {};
|
|
227
|
-
readonly delivery: "
|
|
229
|
+
readonly delivery: "queue" | "steer";
|
|
228
230
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
229
231
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
230
232
|
readonly time: {
|
|
231
233
|
readonly created: DateTime.Utc;
|
|
232
234
|
};
|
|
233
|
-
},
|
|
235
|
+
}, CompactionConflictError | NotFoundError, never>;
|
|
234
236
|
wait: () => Effect.Effect<void, NotFoundError, never>;
|
|
235
237
|
resume: () => Effect.Effect<void, NotFoundError | import("./runner/index.js").RunError, never>;
|
|
236
238
|
interrupt: (options?: {
|
|
237
239
|
readonly resume?: boolean;
|
|
238
240
|
} | undefined) => Effect.Effect<boolean, never, never>;
|
|
239
|
-
cancelInbox: (inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<void,
|
|
240
|
-
steerInbox: (inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<void,
|
|
241
|
-
queueInbox: (inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<void,
|
|
241
|
+
cancelInbox: (inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<void, InboxConflictError | NotFoundError, never>;
|
|
242
|
+
steerInbox: (inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<void, InboxConflictError | NotFoundError, never>;
|
|
243
|
+
queueInbox: (inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<void, InboxConflictError | NotFoundError, never>;
|
|
242
244
|
revert: {
|
|
243
245
|
stage: (input: {
|
|
244
246
|
messageID: SessionMessage.ID;
|
|
@@ -247,10 +249,10 @@ export declare const make: () => Effect.Effect<{
|
|
|
247
249
|
messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
248
250
|
snapshot: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
249
251
|
files: readonly import("@opencode/schema/file-diff").Info[];
|
|
250
|
-
},
|
|
251
|
-
clear: () => Effect.Effect<void,
|
|
252
|
-
commit: () => Effect.Effect<void,
|
|
252
|
+
}, BusyError | import("../filesystem.js").DirectoryNotFoundError | import("../snapshot.js").Error | import("./error.js").MessageNotFoundError | NotFoundError, never>;
|
|
253
|
+
clear: () => Effect.Effect<void, BusyError | import("../filesystem.js").DirectoryNotFoundError | import("../snapshot.js").Error | NotFoundError, never>;
|
|
254
|
+
commit: () => Effect.Effect<void, BusyError | NotFoundError, never>;
|
|
253
255
|
};
|
|
254
256
|
};
|
|
255
|
-
}, never, Scope.Scope | Database.Service | FSUtil.Service |
|
|
257
|
+
}, never, Scope.Scope | Database.Service | FSUtil.Service | SessionInbox.Service | Bus.Service | SessionStore.Service | Instance.Service | SessionExecution.Service>;
|
|
256
258
|
export type Handle = ReturnType<Effect.Success<ReturnType<typeof make>>["forSession"]>;
|
|
@@ -7,4 +7,4 @@ import { SkillNotFoundError } from "./error.js";
|
|
|
7
7
|
export declare const get: (input: {
|
|
8
8
|
session: Session.Info;
|
|
9
9
|
skill: Skill.ID;
|
|
10
|
-
}) => Effect.Effect<import("@opencode/schema/skill").Info,
|
|
10
|
+
}) => Effect.Effect<import("@opencode/schema/skill").Info, import("../filesystem.js").DirectoryNotFoundError | SkillNotFoundError, Instance.Service>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SessionMessage } from "./message.js";
|
|
2
|
-
import type { SessionInbox } from "./inbox.js";
|
|
3
2
|
import type { FileDiff } from "@opencode/schema/file-diff";
|
|
4
3
|
import type { SessionSchema } from "./schema.js";
|
|
4
|
+
import type { CompactionPayload, MovePayload, SyntheticPayload, UserPayload } from "@opencode/schema/session-inbox";
|
|
5
5
|
import type { RevertV1 } from "@opencode/schema/session-revert";
|
|
6
6
|
import type { Schema } from "effect";
|
|
7
7
|
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
@@ -10,118 +10,6 @@ export declare const SessionTable: import("drizzle-orm/sqlite-core").SQLiteTable
|
|
|
10
10
|
name: "session_v2";
|
|
11
11
|
schema: undefined;
|
|
12
12
|
columns: {
|
|
13
|
-
time_idle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
14
|
-
name: string;
|
|
15
|
-
tableName: "session_v2";
|
|
16
|
-
dataType: "number int53";
|
|
17
|
-
data: number;
|
|
18
|
-
driverParam: number;
|
|
19
|
-
notNull: false;
|
|
20
|
-
hasDefault: false;
|
|
21
|
-
isPrimaryKey: false;
|
|
22
|
-
isAutoincrement: false;
|
|
23
|
-
hasRuntimeDefault: false;
|
|
24
|
-
enumValues: undefined;
|
|
25
|
-
baseColumn: never;
|
|
26
|
-
identity: undefined;
|
|
27
|
-
generated: undefined;
|
|
28
|
-
}, {}>;
|
|
29
|
-
time_viewed: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
30
|
-
name: string;
|
|
31
|
-
tableName: "session_v2";
|
|
32
|
-
dataType: "number int53";
|
|
33
|
-
data: number;
|
|
34
|
-
driverParam: number;
|
|
35
|
-
notNull: false;
|
|
36
|
-
hasDefault: false;
|
|
37
|
-
isPrimaryKey: false;
|
|
38
|
-
isAutoincrement: false;
|
|
39
|
-
hasRuntimeDefault: false;
|
|
40
|
-
enumValues: undefined;
|
|
41
|
-
baseColumn: never;
|
|
42
|
-
identity: undefined;
|
|
43
|
-
generated: undefined;
|
|
44
|
-
}, {}>;
|
|
45
|
-
idle_outcome: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
46
|
-
name: string;
|
|
47
|
-
tableName: "session_v2";
|
|
48
|
-
dataType: "string";
|
|
49
|
-
data: NonNullable<"failed" | "succeeded" | "interrupted" | undefined>;
|
|
50
|
-
driverParam: string;
|
|
51
|
-
notNull: false;
|
|
52
|
-
hasDefault: false;
|
|
53
|
-
isPrimaryKey: false;
|
|
54
|
-
isAutoincrement: false;
|
|
55
|
-
hasRuntimeDefault: false;
|
|
56
|
-
enumValues: [string, ...string[]];
|
|
57
|
-
baseColumn: never;
|
|
58
|
-
identity: undefined;
|
|
59
|
-
generated: undefined;
|
|
60
|
-
}, {}>;
|
|
61
|
-
time_compacting: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
62
|
-
name: string;
|
|
63
|
-
tableName: "session_v2";
|
|
64
|
-
dataType: "number int53";
|
|
65
|
-
data: number;
|
|
66
|
-
driverParam: number;
|
|
67
|
-
notNull: false;
|
|
68
|
-
hasDefault: false;
|
|
69
|
-
isPrimaryKey: false;
|
|
70
|
-
isAutoincrement: false;
|
|
71
|
-
hasRuntimeDefault: false;
|
|
72
|
-
enumValues: undefined;
|
|
73
|
-
baseColumn: never;
|
|
74
|
-
identity: undefined;
|
|
75
|
-
generated: undefined;
|
|
76
|
-
}, {}>;
|
|
77
|
-
time_archived: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
78
|
-
name: string;
|
|
79
|
-
tableName: "session_v2";
|
|
80
|
-
dataType: "number int53";
|
|
81
|
-
data: number;
|
|
82
|
-
driverParam: number;
|
|
83
|
-
notNull: false;
|
|
84
|
-
hasDefault: false;
|
|
85
|
-
isPrimaryKey: false;
|
|
86
|
-
isAutoincrement: false;
|
|
87
|
-
hasRuntimeDefault: false;
|
|
88
|
-
enumValues: undefined;
|
|
89
|
-
baseColumn: never;
|
|
90
|
-
identity: undefined;
|
|
91
|
-
generated: undefined;
|
|
92
|
-
}, {}>;
|
|
93
|
-
time_suspended: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
94
|
-
name: string;
|
|
95
|
-
tableName: "session_v2";
|
|
96
|
-
dataType: "number int53";
|
|
97
|
-
data: number;
|
|
98
|
-
driverParam: number;
|
|
99
|
-
notNull: false;
|
|
100
|
-
hasDefault: false;
|
|
101
|
-
isPrimaryKey: false;
|
|
102
|
-
isAutoincrement: false;
|
|
103
|
-
hasRuntimeDefault: false;
|
|
104
|
-
enumValues: undefined;
|
|
105
|
-
baseColumn: never;
|
|
106
|
-
identity: undefined;
|
|
107
|
-
generated: undefined;
|
|
108
|
-
}, {}>;
|
|
109
|
-
resume_attempts: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
110
|
-
name: string;
|
|
111
|
-
tableName: "session_v2";
|
|
112
|
-
dataType: "number int53";
|
|
113
|
-
data: number;
|
|
114
|
-
driverParam: number;
|
|
115
|
-
notNull: true;
|
|
116
|
-
hasDefault: true;
|
|
117
|
-
isPrimaryKey: false;
|
|
118
|
-
isAutoincrement: false;
|
|
119
|
-
hasRuntimeDefault: false;
|
|
120
|
-
enumValues: undefined;
|
|
121
|
-
baseColumn: never;
|
|
122
|
-
identity: undefined;
|
|
123
|
-
generated: undefined;
|
|
124
|
-
}, {}>;
|
|
125
13
|
time_created: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
126
14
|
name: string;
|
|
127
15
|
tableName: "session_v2";
|
|
@@ -553,7 +441,7 @@ export declare const SessionTable: import("drizzle-orm/sqlite-core").SQLiteTable
|
|
|
553
441
|
data: readonly {
|
|
554
442
|
readonly action: string;
|
|
555
443
|
readonly resource: string;
|
|
556
|
-
readonly effect: "allow" | "
|
|
444
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
557
445
|
}[];
|
|
558
446
|
driverParam: string;
|
|
559
447
|
notNull: false;
|
|
@@ -602,20 +490,77 @@ export declare const SessionTable: import("drizzle-orm/sqlite-core").SQLiteTable
|
|
|
602
490
|
identity: undefined;
|
|
603
491
|
generated: undefined;
|
|
604
492
|
}, {}>;
|
|
605
|
-
|
|
606
|
-
dialect: "sqlite";
|
|
607
|
-
}>;
|
|
608
|
-
export declare const SessionMessageTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
609
|
-
name: "session_message";
|
|
610
|
-
schema: undefined;
|
|
611
|
-
columns: {
|
|
612
|
-
data: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
493
|
+
time_idle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
613
494
|
name: string;
|
|
614
|
-
tableName: "
|
|
615
|
-
dataType: "
|
|
616
|
-
data:
|
|
495
|
+
tableName: "session_v2";
|
|
496
|
+
dataType: "number int53";
|
|
497
|
+
data: number;
|
|
498
|
+
driverParam: number;
|
|
499
|
+
notNull: false;
|
|
500
|
+
hasDefault: false;
|
|
501
|
+
isPrimaryKey: false;
|
|
502
|
+
isAutoincrement: false;
|
|
503
|
+
hasRuntimeDefault: false;
|
|
504
|
+
enumValues: undefined;
|
|
505
|
+
baseColumn: never;
|
|
506
|
+
identity: undefined;
|
|
507
|
+
generated: undefined;
|
|
508
|
+
}, {}>;
|
|
509
|
+
time_viewed: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
510
|
+
name: string;
|
|
511
|
+
tableName: "session_v2";
|
|
512
|
+
dataType: "number int53";
|
|
513
|
+
data: number;
|
|
514
|
+
driverParam: number;
|
|
515
|
+
notNull: false;
|
|
516
|
+
hasDefault: false;
|
|
517
|
+
isPrimaryKey: false;
|
|
518
|
+
isAutoincrement: false;
|
|
519
|
+
hasRuntimeDefault: false;
|
|
520
|
+
enumValues: undefined;
|
|
521
|
+
baseColumn: never;
|
|
522
|
+
identity: undefined;
|
|
523
|
+
generated: undefined;
|
|
524
|
+
}, {}>;
|
|
525
|
+
idle_outcome: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
526
|
+
name: string;
|
|
527
|
+
tableName: "session_v2";
|
|
528
|
+
dataType: "string";
|
|
529
|
+
data: NonNullable<"failed" | "interrupted" | "succeeded" | undefined>;
|
|
617
530
|
driverParam: string;
|
|
618
|
-
notNull:
|
|
531
|
+
notNull: false;
|
|
532
|
+
hasDefault: false;
|
|
533
|
+
isPrimaryKey: false;
|
|
534
|
+
isAutoincrement: false;
|
|
535
|
+
hasRuntimeDefault: false;
|
|
536
|
+
enumValues: [string, ...string[]];
|
|
537
|
+
baseColumn: never;
|
|
538
|
+
identity: undefined;
|
|
539
|
+
generated: undefined;
|
|
540
|
+
}, {}>;
|
|
541
|
+
time_compacting: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
542
|
+
name: string;
|
|
543
|
+
tableName: "session_v2";
|
|
544
|
+
dataType: "number int53";
|
|
545
|
+
data: number;
|
|
546
|
+
driverParam: number;
|
|
547
|
+
notNull: false;
|
|
548
|
+
hasDefault: false;
|
|
549
|
+
isPrimaryKey: false;
|
|
550
|
+
isAutoincrement: false;
|
|
551
|
+
hasRuntimeDefault: false;
|
|
552
|
+
enumValues: undefined;
|
|
553
|
+
baseColumn: never;
|
|
554
|
+
identity: undefined;
|
|
555
|
+
generated: undefined;
|
|
556
|
+
}, {}>;
|
|
557
|
+
time_archived: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
558
|
+
name: string;
|
|
559
|
+
tableName: "session_v2";
|
|
560
|
+
dataType: "number int53";
|
|
561
|
+
data: number;
|
|
562
|
+
driverParam: number;
|
|
563
|
+
notNull: false;
|
|
619
564
|
hasDefault: false;
|
|
620
565
|
isPrimaryKey: false;
|
|
621
566
|
isAutoincrement: false;
|
|
@@ -625,6 +570,45 @@ export declare const SessionMessageTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
625
570
|
identity: undefined;
|
|
626
571
|
generated: undefined;
|
|
627
572
|
}, {}>;
|
|
573
|
+
time_suspended: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
574
|
+
name: string;
|
|
575
|
+
tableName: "session_v2";
|
|
576
|
+
dataType: "number int53";
|
|
577
|
+
data: number;
|
|
578
|
+
driverParam: number;
|
|
579
|
+
notNull: false;
|
|
580
|
+
hasDefault: false;
|
|
581
|
+
isPrimaryKey: false;
|
|
582
|
+
isAutoincrement: false;
|
|
583
|
+
hasRuntimeDefault: false;
|
|
584
|
+
enumValues: undefined;
|
|
585
|
+
baseColumn: never;
|
|
586
|
+
identity: undefined;
|
|
587
|
+
generated: undefined;
|
|
588
|
+
}, {}>;
|
|
589
|
+
resume_attempts: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
590
|
+
name: string;
|
|
591
|
+
tableName: "session_v2";
|
|
592
|
+
dataType: "number int53";
|
|
593
|
+
data: number;
|
|
594
|
+
driverParam: number;
|
|
595
|
+
notNull: true;
|
|
596
|
+
hasDefault: true;
|
|
597
|
+
isPrimaryKey: false;
|
|
598
|
+
isAutoincrement: false;
|
|
599
|
+
hasRuntimeDefault: false;
|
|
600
|
+
enumValues: undefined;
|
|
601
|
+
baseColumn: never;
|
|
602
|
+
identity: undefined;
|
|
603
|
+
generated: undefined;
|
|
604
|
+
}, {}>;
|
|
605
|
+
};
|
|
606
|
+
dialect: 'sqlite';
|
|
607
|
+
}>;
|
|
608
|
+
export declare const SessionMessageTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
609
|
+
name: "session_message";
|
|
610
|
+
schema: undefined;
|
|
611
|
+
columns: {
|
|
628
612
|
time_created: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
629
613
|
name: string;
|
|
630
614
|
tableName: "session_message";
|
|
@@ -693,7 +677,7 @@ export declare const SessionMessageTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
693
677
|
name: string;
|
|
694
678
|
tableName: "session_message";
|
|
695
679
|
dataType: "string";
|
|
696
|
-
data: "
|
|
680
|
+
data: "agent-switched" | "assistant" | "compaction" | "idle" | "location-switched" | "model-switched" | "shell" | "skill" | "synthetic" | "system" | "user";
|
|
697
681
|
driverParam: string;
|
|
698
682
|
notNull: true;
|
|
699
683
|
hasDefault: false;
|
|
@@ -721,8 +705,24 @@ export declare const SessionMessageTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
721
705
|
identity: undefined;
|
|
722
706
|
generated: undefined;
|
|
723
707
|
}, {}>;
|
|
708
|
+
data: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
709
|
+
name: string;
|
|
710
|
+
tableName: "session_message";
|
|
711
|
+
dataType: "object json";
|
|
712
|
+
data: SessionMessageData;
|
|
713
|
+
driverParam: string;
|
|
714
|
+
notNull: true;
|
|
715
|
+
hasDefault: false;
|
|
716
|
+
isPrimaryKey: false;
|
|
717
|
+
isAutoincrement: false;
|
|
718
|
+
hasRuntimeDefault: false;
|
|
719
|
+
enumValues: undefined;
|
|
720
|
+
baseColumn: never;
|
|
721
|
+
identity: undefined;
|
|
722
|
+
generated: undefined;
|
|
723
|
+
}, {}>;
|
|
724
724
|
};
|
|
725
|
-
dialect:
|
|
725
|
+
dialect: 'sqlite';
|
|
726
726
|
}>;
|
|
727
727
|
export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
728
728
|
name: "session_pending";
|
|
@@ -764,7 +764,7 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
764
764
|
name: string;
|
|
765
765
|
tableName: "session_pending";
|
|
766
766
|
dataType: "string";
|
|
767
|
-
data: "compaction" | "
|
|
767
|
+
data: "compaction" | "move" | "synthetic" | "user";
|
|
768
768
|
driverParam: string;
|
|
769
769
|
notNull: true;
|
|
770
770
|
hasDefault: false;
|
|
@@ -780,7 +780,7 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
780
780
|
name: string;
|
|
781
781
|
tableName: "session_pending";
|
|
782
782
|
dataType: "object json";
|
|
783
|
-
data: Record<string, never> |
|
|
783
|
+
data: Record<string, never> | SyntheticPayload | UserPayload;
|
|
784
784
|
driverParam: string;
|
|
785
785
|
notNull: true;
|
|
786
786
|
hasDefault: false;
|
|
@@ -796,7 +796,7 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
796
796
|
name: string;
|
|
797
797
|
tableName: "session_pending";
|
|
798
798
|
dataType: "string";
|
|
799
|
-
data: "
|
|
799
|
+
data: "queue" | "steer";
|
|
800
800
|
driverParam: string;
|
|
801
801
|
notNull: false;
|
|
802
802
|
hasDefault: false;
|
|
@@ -841,7 +841,7 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
841
841
|
generated: undefined;
|
|
842
842
|
}, {}>;
|
|
843
843
|
};
|
|
844
|
-
dialect:
|
|
844
|
+
dialect: 'sqlite';
|
|
845
845
|
}>;
|
|
846
846
|
export declare const SessionInboxTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
847
847
|
name: "session_inbox";
|
|
@@ -883,7 +883,7 @@ export declare const SessionInboxTable: import("drizzle-orm/sqlite-core").SQLite
|
|
|
883
883
|
name: string;
|
|
884
884
|
tableName: "session_inbox";
|
|
885
885
|
dataType: "string";
|
|
886
|
-
data: "compaction" | "
|
|
886
|
+
data: "compaction" | "move" | "synthetic" | "user";
|
|
887
887
|
driverParam: string;
|
|
888
888
|
notNull: true;
|
|
889
889
|
hasDefault: false;
|
|
@@ -899,7 +899,7 @@ export declare const SessionInboxTable: import("drizzle-orm/sqlite-core").SQLite
|
|
|
899
899
|
name: string;
|
|
900
900
|
tableName: "session_inbox";
|
|
901
901
|
dataType: "object json";
|
|
902
|
-
data:
|
|
902
|
+
data: CompactionPayload | MovePayload | SyntheticPayload | UserPayload;
|
|
903
903
|
driverParam: string;
|
|
904
904
|
notNull: true;
|
|
905
905
|
hasDefault: false;
|
|
@@ -915,7 +915,7 @@ export declare const SessionInboxTable: import("drizzle-orm/sqlite-core").SQLite
|
|
|
915
915
|
name: string;
|
|
916
916
|
tableName: "session_inbox";
|
|
917
917
|
dataType: "string";
|
|
918
|
-
data: "
|
|
918
|
+
data: "queue" | "steer";
|
|
919
919
|
driverParam: string;
|
|
920
920
|
notNull: true;
|
|
921
921
|
hasDefault: false;
|
|
@@ -960,7 +960,7 @@ export declare const SessionInboxTable: import("drizzle-orm/sqlite-core").SQLite
|
|
|
960
960
|
generated: undefined;
|
|
961
961
|
}, {}>;
|
|
962
962
|
};
|
|
963
|
-
dialect:
|
|
963
|
+
dialect: 'sqlite';
|
|
964
964
|
}>;
|
|
965
965
|
export declare const InstructionEntryTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
966
966
|
name: "instruction_entry";
|
|
@@ -1063,7 +1063,7 @@ export declare const InstructionEntryTable: import("drizzle-orm/sqlite-core").SQ
|
|
|
1063
1063
|
generated: undefined;
|
|
1064
1064
|
}, {}>;
|
|
1065
1065
|
};
|
|
1066
|
-
dialect:
|
|
1066
|
+
dialect: 'sqlite';
|
|
1067
1067
|
}>;
|
|
1068
1068
|
export declare const InstructionBlobTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1069
1069
|
name: "instruction_blob";
|
|
@@ -1102,7 +1102,7 @@ export declare const InstructionBlobTable: import("drizzle-orm/sqlite-core").SQL
|
|
|
1102
1102
|
generated: undefined;
|
|
1103
1103
|
}, {}>;
|
|
1104
1104
|
};
|
|
1105
|
-
dialect:
|
|
1105
|
+
dialect: 'sqlite';
|
|
1106
1106
|
}>;
|
|
1107
1107
|
export declare const InstructionStateTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1108
1108
|
name: "instruction_state";
|
|
@@ -1189,6 +1189,6 @@ export declare const InstructionStateTable: import("drizzle-orm/sqlite-core").SQ
|
|
|
1189
1189
|
generated: undefined;
|
|
1190
1190
|
}, {}>;
|
|
1191
1191
|
};
|
|
1192
|
-
dialect:
|
|
1192
|
+
dialect: 'sqlite';
|
|
1193
1193
|
}>;
|
|
1194
1194
|
export {};
|
|
@@ -74,9 +74,9 @@ export declare const get: (input?: Input | undefined) => Effect.Effect<{
|
|
|
74
74
|
steps: number;
|
|
75
75
|
}[];
|
|
76
76
|
models: {
|
|
77
|
-
cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
78
77
|
model: Model.Ref;
|
|
79
78
|
steps: number;
|
|
80
79
|
tokens: Tokens;
|
|
80
|
+
cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
81
81
|
}[];
|
|
82
82
|
}, InvalidRangeError, Database.Service>;
|
|
@@ -4,7 +4,6 @@ import { MessageDecodeError } from "./error.js";
|
|
|
4
4
|
import { SessionMessage } from "./message.js";
|
|
5
5
|
import { Session } from "@opencode/schema/session";
|
|
6
6
|
export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
|
|
7
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
8
7
|
readonly workspaceID: Schema.optional<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9
8
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10
9
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
@@ -16,6 +15,7 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
|
|
|
16
15
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
17
16
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
18
17
|
}>>;
|
|
18
|
+
readonly archived: Schema.optional<Schema.Boolean>;
|
|
19
19
|
readonly anchor: Schema.optional<Schema.Struct<{
|
|
20
20
|
readonly id: Schema.brand<Schema.String, "SessionID"> & {
|
|
21
21
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -24,11 +24,8 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
|
|
|
24
24
|
readonly time: Schema.Finite;
|
|
25
25
|
readonly direction: Schema.Literals<readonly ["previous", "next"]>;
|
|
26
26
|
}>>;
|
|
27
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
27
28
|
}>, Schema.Struct<{
|
|
28
|
-
readonly project: Schema.brand<Schema.String, "Project.ID"> & {
|
|
29
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
30
|
-
};
|
|
31
|
-
readonly subpath: Schema.optional<Schema.brand<Schema.String, "RelativePath">>;
|
|
32
29
|
readonly workspaceID: Schema.optional<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
33
30
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
34
31
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
@@ -40,6 +37,7 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
|
|
|
40
37
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
41
38
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
42
39
|
}>>;
|
|
40
|
+
readonly archived: Schema.optional<Schema.Boolean>;
|
|
43
41
|
readonly anchor: Schema.optional<Schema.Struct<{
|
|
44
42
|
readonly id: Schema.brand<Schema.String, "SessionID"> & {
|
|
45
43
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -48,6 +46,10 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
|
|
|
48
46
|
readonly time: Schema.Finite;
|
|
49
47
|
readonly direction: Schema.Literals<readonly ["previous", "next"]>;
|
|
50
48
|
}>>;
|
|
49
|
+
readonly project: Schema.brand<Schema.String, "Project.ID"> & {
|
|
50
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
51
|
+
};
|
|
52
|
+
readonly subpath: Schema.optional<Schema.brand<Schema.String, "RelativePath">>;
|
|
51
53
|
}>, Schema.Struct<{
|
|
52
54
|
workspaceID: Schema.optional<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
53
55
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
@@ -60,6 +62,7 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
|
|
|
60
62
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
61
63
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
62
64
|
}>>;
|
|
65
|
+
archived: Schema.optional<Schema.Boolean>;
|
|
63
66
|
anchor: Schema.optional<Schema.Struct<{
|
|
64
67
|
readonly id: Schema.brand<Schema.String, "SessionID"> & {
|
|
65
68
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|