@opencode/core 0.0.0-dev-21106 → 0.0.0-dev-21108
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-services-6p69xtgv.js → vcs-02e36gs3.js} +18 -18
- package/dist/chunks/{location-services-3mqpzj3c.js → vcs-0aqfmf5v.js} +35 -35
- package/dist/chunks/{location-services-ks2azddx.js → vcs-0p6hghjm.js} +11 -11
- package/dist/chunks/{location-services-gvdcyqq1.js → vcs-0pnx5nh0.js} +10 -10
- package/dist/chunks/{location-services-7kk48pxy.js → vcs-0qke7b7v.js} +18 -18
- package/dist/chunks/{location-services-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-4v7ngy20.js → vcs-0xqyf95c.js} +4 -4
- package/dist/chunks/{location-services-1tmzd80p.js → vcs-15fn43ap.js} +10 -10
- package/dist/chunks/{location-services-fzg7cpa7.js → vcs-1a430sh5.js} +15 -15
- package/dist/chunks/{location-services-k2gjqwpp.js → vcs-1bmjn0qh.js} +8 -8
- package/dist/chunks/{location-services-bjx1sjef.js → vcs-1ffvrpkg.js} +6 -6
- package/dist/chunks/{location-services-qcjrpjwa.js → vcs-1vayj7pv.js} +7 -7
- package/dist/chunks/{location-services-ryzasrd4.js → vcs-1xwjxjf0.js} +42 -42
- package/dist/chunks/{location-services-tnz01zr5.js → vcs-23fmqdqn.js} +10 -10
- package/dist/chunks/{location-services-dthcv1wz.js → vcs-278dshqs.js} +8 -8
- package/dist/chunks/{location-services-cknd69cm.js → vcs-29m6mk6w.js} +5 -5
- package/dist/chunks/{location-services-762r0j46.js → vcs-2cmv458r.js} +5 -5
- package/dist/chunks/{location-services-706phk7x.js → vcs-2cybgqhz.js} +2 -2
- package/dist/chunks/{location-services-tdcr03np.js → vcs-2hcv2g42.js} +9 -9
- package/dist/chunks/{location-services-xa9ys1dk.js → vcs-2kz8np98.js} +34 -34
- package/dist/chunks/{location-services-qwtectgj.js → vcs-2x84g0hg.js} +16 -16
- package/dist/chunks/{location-services-h7s7r6s9.js → vcs-31xfzrxg.js} +5 -5
- package/dist/chunks/{location-services-0wxtr9f2.js → vcs-3bz86aqc.js} +10 -10
- package/dist/chunks/{location-services-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-0by4cv8g.js → vcs-3febqyrh.js} +15 -15
- package/dist/chunks/{location-services-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3hwn7j4h.js → vcs-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-services-hz8xhk9p.js → vcs-3k043h5p.js} +11 -11
- package/dist/chunks/{location-services-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-ge04r35n.js → vcs-3wvege5j.js} +5 -5
- package/dist/chunks/{location-services-evx684vz.js → vcs-3xxwenrj.js} +6 -6
- package/dist/chunks/{location-services-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-gqgz49fy.js → vcs-4ztejm5p.js} +29 -29
- package/dist/chunks/{location-services-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-qv7ea5pm.js → vcs-57mezkvj.js} +18 -18
- package/dist/chunks/{location-services-653zxppr.js → vcs-5bvwnfz3.js} +9 -9
- package/dist/chunks/{location-services-w2h15q85.js → vcs-5fykfdj7.js} +5 -5
- package/dist/chunks/{location-services-ffsgb9yq.js → vcs-5hpssq55.js} +35 -35
- package/dist/chunks/{location-services-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-services-kqdsm7er.js → vcs-5ryha89e.js} +22 -22
- package/dist/chunks/{location-services-42ta3yv6.js → vcs-5wzb8f99.js} +23 -23
- package/dist/chunks/{location-services-mwn5775p.js → vcs-5ywzfb3j.js} +9 -9
- package/dist/chunks/{location-services-bnb2m7vh.js → vcs-5z6fkxtw.js} +9 -9
- package/dist/chunks/{location-services-p1342kz7.js → vcs-694900vg.js} +13 -13
- package/dist/chunks/{location-services-0ft0yr9w.js → vcs-6e6k9ee1.js} +6 -6
- package/dist/chunks/{location-services-wygx0h61.js → vcs-6fh64ftw.js} +21 -21
- package/dist/chunks/{location-services-58r1jg05.js → vcs-6jn4zywt.js} +19 -19
- package/dist/chunks/{location-services-gywhxt4f.js → vcs-6kbcj5hv.js} +10 -10
- package/dist/chunks/{location-services-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-services-yqc6bamn.js → vcs-6xcvt31d.js} +1 -1
- package/dist/chunks/{location-services-6g6g97n0.js → vcs-6xnzn5r9.js} +12 -12
- package/dist/chunks/{location-services-e6eeg2pk.js → vcs-70n7ee7d.js} +26 -26
- package/dist/chunks/{location-services-xbvnm2ed.js → vcs-749m9j3c.js} +7 -7
- package/dist/chunks/{location-services-ry4dxtnx.js → vcs-74g3bhj7.js} +8 -8
- package/dist/chunks/{location-services-775gj3j1.js → vcs-775gj3j1.js} +2 -2
- package/dist/chunks/{location-services-4bjwhnbm.js → vcs-7ar02ars.js} +23 -23
- package/dist/chunks/{location-services-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-jeb2epxq.js → vcs-7em5ghts.js} +22 -22
- package/dist/chunks/{location-services-e01edv31.js → vcs-7evj5wva.js} +3 -3
- package/dist/chunks/{location-services-xxa1172v.js → vcs-7h4aqy0s.js} +10 -10
- package/dist/chunks/{location-services-dpfc21fw.js → vcs-7hvkf8ba.js} +25 -25
- package/dist/chunks/{location-services-tyekzr88.js → vcs-7jsc1qpe.js} +3 -3
- package/dist/chunks/{location-services-7tkggmat.js → vcs-8034592z.js} +24 -24
- package/dist/chunks/{location-services-ajzsbz6h.js → vcs-80vk4pbp.js} +14 -14
- package/dist/chunks/{location-services-30h8q41b.js → vcs-81ncqz2m.js} +17 -17
- package/dist/chunks/{location-services-6hjx5zpb.js → vcs-82rhge12.js} +9 -9
- package/dist/chunks/{location-services-0e8vet4q.js → vcs-84msw036.js} +11 -11
- package/dist/chunks/{location-services-84txncab.js → vcs-84txncab.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{location-services-6b6pzbqj.js → vcs-8chrd1c9.js} +10 -10
- package/dist/chunks/{location-services-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-services-m2svmn72.js → vcs-8mnysrst.js} +3 -3
- package/dist/chunks/{location-services-fxh8jgjs.js → vcs-8vkwsqvz.js} +18 -18
- package/dist/chunks/{location-services-bda90bqx.js → vcs-8wpwcw2c.js} +33 -33
- package/dist/chunks/{location-services-j09zfasm.js → vcs-91qna3x0.js} +3 -3
- package/dist/chunks/{location-services-cfz2qr34.js → vcs-98v90pwc.js} +31 -31
- package/dist/chunks/{location-services-sfvwbqhk.js → vcs-9dawpgdd.js} +6 -6
- package/dist/chunks/{location-services-scp5ngm2.js → vcs-9h5geed1.js} +23 -23
- package/dist/chunks/{location-services-rntq0wr5.js → vcs-9jvzcmy4.js} +1 -1
- package/dist/chunks/{location-services-bkmex65f.js → vcs-9s83jr1p.js} +9 -9
- package/dist/chunks/{location-services-4dx3mpd0.js → vcs-9zm0mfan.js} +3 -3
- package/dist/chunks/{location-services-1rhdwmpp.js → vcs-a2wv01vg.js} +15 -15
- package/dist/chunks/{location-services-ytqr7vs8.js → vcs-a72zk5vh.js} +2 -2
- package/dist/chunks/{location-services-hbq4e136.js → vcs-a8r1ndjr.js} +13 -13
- package/dist/chunks/{location-services-67kwpczx.js → vcs-abwx4fz1.js} +11 -11
- package/dist/chunks/{location-services-m8d65krt.js → vcs-ah9qjh8p.js} +11 -11
- package/dist/chunks/{location-services-ft8ey32c.js → vcs-apbzx1qy.js} +1 -1
- package/dist/chunks/{location-services-9tqvd253.js → vcs-aqab6bvk.js} +4 -4
- package/dist/chunks/{location-services-979pd12m.js → vcs-at768xak.js} +18 -18
- package/dist/chunks/{location-services-k3bj973j.js → vcs-az977ysh.js} +35 -35
- package/dist/chunks/{location-services-chj935f8.js → vcs-b3xja3vs.js} +11 -11
- package/dist/chunks/{location-services-a4hk43zv.js → vcs-b4gkm0yn.js} +17 -17
- package/dist/chunks/{location-services-tf6n1kae.js → vcs-b6770wny.js} +46 -46
- package/dist/chunks/{location-services-77yn7j3n.js → vcs-bbpptzmy.js} +32 -32
- package/dist/chunks/{location-services-2vke4pdf.js → vcs-bcq6ngff.js} +93 -93
- package/dist/chunks/{location-services-k6e47qvb.js → vcs-bf12m7kx.js} +11 -11
- package/dist/chunks/{location-services-11ndvexq.js → vcs-bh74vh5r.js} +12 -12
- package/dist/chunks/{location-services-7xxhw447.js → vcs-bsegt2fq.js} +5 -5
- package/dist/chunks/{location-services-859s541j.js → vcs-c1dxt66b.js} +13 -13
- package/dist/chunks/{location-services-c1fqxshp.js → vcs-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-services-fcjdc125.js → vcs-c44mjgcb.js} +24 -24
- package/dist/chunks/{location-services-n7d88tpn.js → vcs-c8zwaxmp.js} +3 -3
- package/dist/chunks/{location-services-rma58dd1.js → vcs-cjmfqnq2.js} +35 -35
- package/dist/chunks/{location-services-e3x2st6d.js → vcs-cqbghwqx.js} +27 -27
- package/dist/chunks/{location-services-er1tw77y.js → vcs-cqwdbp8s.js} +20 -20
- package/dist/chunks/{location-services-kw7rcx37.js → vcs-cv00cvbs.js} +58 -58
- package/dist/chunks/{location-services-2sejkfem.js → vcs-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-services-h462p6mc.js → vcs-d1pkjdrj.js} +18 -18
- package/dist/chunks/{location-services-jfqtm2ew.js → vcs-d216944b.js} +7 -7
- package/dist/chunks/{location-services-83peqxcv.js → vcs-de3tz8ce.js} +6 -6
- package/dist/chunks/{location-services-dqxsqydv.js → vcs-dqxsqydv.js} +1 -1
- package/dist/chunks/{location-services-xfkkasph.js → vcs-drwq78ky.js} +4 -4
- package/dist/chunks/{location-services-278mzw34.js → vcs-e497y9d1.js} +9 -9
- package/dist/chunks/{location-services-2pqjgx71.js → vcs-e7w08kap.js} +32 -32
- package/dist/chunks/vcs-e7x5qhf1.js +513 -0
- package/dist/chunks/{location-services-e80seqcp.js → vcs-e80seqcp.js} +1 -1
- package/dist/chunks/{location-services-2j00ac8a.js → vcs-ec487xam.js} +16 -16
- package/dist/chunks/{location-services-wfsnrcf2.js → vcs-ecja6gpk.js} +3 -3
- package/dist/chunks/{location-services-eej6y6fw.js → vcs-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-services-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-bzh6wz94.js → vcs-ev6xeesc.js} +11 -11
- package/dist/chunks/{location-services-htmqamza.js → vcs-ewcy99y7.js} +25 -25
- package/dist/chunks/{location-services-4s6xf1pa.js → vcs-eyn1arby.js} +53 -53
- package/dist/chunks/{location-services-3zjzsznw.js → vcs-f00h63f7.js} +28 -28
- package/dist/chunks/{location-services-r8xr0va3.js → vcs-f2n192rq.js} +4 -4
- package/dist/chunks/{location-services-fcy631f0.js → vcs-fcy631f0.js} +1 -1
- package/dist/chunks/{location-services-0d56ha6q.js → vcs-fkyvq0kx.js} +26 -26
- package/dist/chunks/{location-services-fn9t717r.js → vcs-fn9t717r.js} +3 -3
- package/dist/chunks/{location-services-khmqacep.js → vcs-fxaymqdw.js} +4 -4
- package/dist/chunks/{location-services-yqad5krn.js → vcs-g1kppfdc.js} +28 -28
- package/dist/chunks/{location-services-k82gsvwq.js → vcs-g72yd4k4.js} +12 -12
- package/dist/chunks/{location-services-z6171qj4.js → vcs-gcr4j17e.js} +34 -34
- package/dist/chunks/{location-services-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-br0e8tcs.js → vcs-gdvrp62c.js} +7 -7
- package/dist/chunks/{location-services-z6c3x22d.js → vcs-gj71zhbs.js} +5 -5
- package/dist/chunks/{location-services-548m99gt.js → vcs-gqmeawtn.js} +18 -18
- package/dist/chunks/{location-services-wc20fpmx.js → vcs-gxv64e4w.js} +15 -15
- package/dist/chunks/{location-services-70yx33t2.js → vcs-gz9sjfgx.js} +6 -6
- package/dist/chunks/{location-services-9c2ce4kp.js → vcs-gzx41zxb.js} +28 -28
- package/dist/chunks/{location-services-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-hgz4x7wa.js → vcs-hgz4x7wa.js} +1 -1
- package/dist/chunks/vcs-ht5y0zrb.js +18 -0
- package/dist/chunks/{location-services-n9s1y3ra.js → vcs-j0bxzt0p.js} +4 -4
- package/dist/chunks/{location-services-ysm8xkcf.js → vcs-j2s852az.js} +36 -36
- package/dist/chunks/{location-services-1tgfvtjy.js → vcs-j758eka2.js} +17 -17
- package/dist/chunks/{location-services-h8dg8d02.js → vcs-j9s0qvjv.js} +12 -12
- package/dist/chunks/{location-services-2b73xj9b.js → vcs-jf22arnf.js} +3 -3
- package/dist/chunks/{location-services-d0k1g5nx.js → vcs-jhf3jymm.js} +6 -6
- package/dist/chunks/{location-services-kw2spxn4.js → vcs-jj5ks10b.js} +2 -2
- package/dist/chunks/vcs-jwkxpzhb.js +257 -0
- package/dist/chunks/{location-services-5e8c4hth.js → vcs-jwrbm3d8.js} +16 -16
- package/dist/chunks/{location-services-fghpxytk.js → vcs-jxg22agt.js} +14 -14
- package/dist/chunks/{location-services-xk6vykwg.js → vcs-jypkjyjj.js} +149 -149
- package/dist/chunks/{location-services-s60aqfjt.js → vcs-k80zjrbm.js} +26 -26
- package/dist/chunks/{location-services-mnxc4h6z.js → vcs-kbgg0xp7.js} +25 -25
- package/dist/chunks/{location-services-89226jmx.js → vcs-kbs69a2x.js} +4 -4
- package/dist/chunks/{location-services-e5y4m074.js → vcs-kbvzwwv7.js} +11 -11
- package/dist/chunks/{location-services-y88c22bj.js → vcs-kqx1b4hy.js} +4 -4
- package/dist/chunks/{location-services-zysvs9g8.js → vcs-kr3za5q8.js} +37 -37
- package/dist/chunks/{location-services-v1szxf8c.js → vcs-ksqkdsfg.js} +27 -27
- package/dist/chunks/{location-services-vqvqkmng.js → vcs-kw0erqyq.js} +18 -18
- package/dist/chunks/{location-services-kwb1v3vj.js → vcs-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-services-zsb6ammf.js → vcs-kwztdq7h.js} +6 -6
- package/dist/chunks/{location-services-eahhehpg.js → vcs-kzc3h1h3.js} +4 -4
- package/dist/chunks/{location-services-rbynycgd.js → vcs-m27qakrx.js} +15 -15
- package/dist/chunks/{location-services-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-maspj1v3.js → vcs-maspj1v3.js} +1 -1
- package/dist/chunks/{location-services-qc2c1fqt.js → vcs-mm8g4k7x.js} +40 -40
- package/dist/chunks/{location-services-9sgsjpgv.js → vcs-mp6m6hpj.js} +11 -11
- package/dist/chunks/{location-services-rpsbzg2t.js → vcs-mq3zggt6.js} +24 -24
- package/dist/chunks/{location-services-kqv3x6rj.js → vcs-mv3hx7wz.js} +9 -9
- package/dist/chunks/{location-services-52tmw1jj.js → vcs-mwpybj7y.js} +12 -12
- package/dist/chunks/{location-services-x661k3y3.js → vcs-mxvxcxwy.js} +4 -4
- package/dist/chunks/{location-services-cygrsq30.js → vcs-my0tytnd.js} +25 -25
- package/dist/chunks/{location-services-rnhrd9ke.js → vcs-my4qtva3.js} +19 -19
- package/dist/chunks/{location-services-33qe6zx4.js → vcs-n1f7gktn.js} +32 -32
- package/dist/chunks/{location-services-ztak1syt.js → vcs-n8rrra3a.js} +9 -9
- package/dist/chunks/{location-services-tt34s15d.js → vcs-nrkkc40d.js} +89 -89
- package/dist/chunks/{location-services-h9wp8z5w.js → vcs-nxe4pcap.js} +4 -4
- package/dist/chunks/{location-services-9gf2ktjb.js → vcs-p1j52kwe.js} +8 -8
- package/dist/chunks/{location-services-9qgs4twx.js → vcs-p9p9s22a.js} +5 -5
- package/dist/chunks/{location-services-0rv9k1bd.js → vcs-pa2b1817.js} +47 -47
- package/dist/chunks/{location-services-5yzzbxa7.js → vcs-pa8pe2x7.js} +8 -8
- package/dist/chunks/{location-services-eegbd1nb.js → vcs-pgcq6gba.js} +10 -10
- package/dist/chunks/{location-services-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-gnbn4h0h.js → vcs-pn9m0qmr.js} +2 -2
- package/dist/chunks/{location-services-7dbmnfn4.js → vcs-ppbmqrvr.js} +8 -8
- package/dist/chunks/{location-services-vr5k6743.js → vcs-ps6734b0.js} +15 -15
- package/dist/chunks/{location-services-6jcfgqfv.js → vcs-py94f0e0.js} +24 -24
- package/dist/chunks/{location-services-taj93ebv.js → vcs-pymsrck8.js} +16 -16
- package/dist/chunks/{location-services-bcrzxpkv.js → vcs-q0qjy1zt.js} +17 -17
- package/dist/chunks/{location-services-9m5zssg8.js → vcs-q4rtw0sm.js} +50 -50
- package/dist/chunks/{location-services-dmyw4w9k.js → vcs-q6cvmfpv.js} +11 -11
- package/dist/chunks/{location-services-1j8yzcpc.js → vcs-qf76qvkk.js} +5 -5
- package/dist/chunks/{location-services-7dqw4kz8.js → vcs-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-services-ny5mns9s.js → vcs-qkfkzs5q.js} +17 -17
- package/dist/chunks/{location-services-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-bpdrcxe3.js → vcs-qzawr4c0.js} +43 -43
- package/dist/chunks/{location-services-tbznjfkf.js → vcs-r5tp3nbh.js} +4 -4
- package/dist/chunks/{location-services-bacj9t34.js → vcs-r70na3yp.js} +9 -9
- package/dist/chunks/{location-services-8zhzggcd.js → vcs-rd3e5ygt.js} +11 -11
- package/dist/chunks/{location-services-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-3ez2zsgj.js → vcs-regzcayk.js} +9 -9
- package/dist/chunks/{location-services-rert0e01.js → vcs-rert0e01.js} +2 -2
- package/dist/chunks/{location-services-s8d7rejh.js → vcs-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-services-rj3eygr5.js → vcs-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-services-py3kkmfq.js → vcs-rkprpv83.js} +2 -2
- package/dist/chunks/{location-services-5220mkhv.js → vcs-rnn4727b.js} +13 -13
- package/dist/chunks/{location-services-pby3wrs0.js → vcs-rqds5wzt.js} +16 -16
- package/dist/chunks/{location-services-sa8ekw3f.js → vcs-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-services-8waf3vza.js → vcs-sdkx3pjx.js} +51 -51
- package/dist/chunks/{location-services-s5btqgfz.js → vcs-sesj2hvf.js} +56 -56
- package/dist/chunks/{location-services-5r6s66xm.js → vcs-snhrfy7w.js} +24 -24
- package/dist/chunks/{location-services-dgym8gdj.js → vcs-ssprmpe5.js} +48 -48
- package/dist/chunks/{location-services-zy513mdr.js → vcs-sswp2h42.js} +11 -11
- package/dist/chunks/{location-services-grzrst1y.js → vcs-st8atvy4.js} +16 -16
- package/dist/chunks/{location-services-ssvhepmq.js → vcs-stwte7t7.js} +32 -32
- package/dist/chunks/{location-services-syv4x271.js → vcs-syv4x271.js} +1 -1
- package/dist/chunks/{location-services-jz10bmv8.js → vcs-t08z9s5h.js} +8 -8
- package/dist/chunks/{location-services-hy1va3t8.js → vcs-t0pyhqcw.js} +11 -11
- package/dist/chunks/{location-services-fayr1t93.js → vcs-t1n56gek.js} +72 -72
- package/dist/chunks/{location-services-ad746bsv.js → vcs-t7nkm7zy.js} +11 -11
- package/dist/chunks/{location-services-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-a0rzy1ew.js → vcs-tb2eav5j.js} +27 -27
- package/dist/chunks/{location-services-19rsyt1c.js → vcs-tcdv4xxx.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-62b6r9gt.js → vcs-tf57n56z.js} +14 -14
- package/dist/chunks/{location-services-tm0kqsz3.js → vcs-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-services-38596mmf.js → vcs-tprpskj3.js} +3 -3
- package/dist/chunks/{location-services-6anx6hye.js → vcs-tre5yt63.js} +8 -8
- package/dist/chunks/{location-services-sycxn284.js → vcs-trt0dew0.js} +20 -20
- package/dist/chunks/{location-services-s8n139ky.js → vcs-tx5fk5pn.js} +4 -4
- package/dist/chunks/{location-services-tyytaxap.js → vcs-tyytaxap.js} +1 -1
- package/dist/chunks/{location-services-rpg9c19m.js → vcs-tz4n1mmd.js} +4 -4
- package/dist/chunks/{location-services-btvs9fn2.js → vcs-v0es1rhs.js} +9 -9
- package/dist/chunks/{location-services-v7p4zvkq.js → vcs-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-services-vyq134yh.js → vcs-v9cgcx37.js} +28 -28
- package/dist/chunks/{location-services-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-k1140vbz.js → vcs-vh1d1c6z.js} +17 -17
- package/dist/chunks/{location-services-sh5rpbpc.js → vcs-vrja8bfg.js} +1 -1
- package/dist/chunks/{location-services-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-9w1af9qb.js → vcs-w6xajd1d.js} +22 -22
- package/dist/chunks/{location-services-kbckpb3k.js → vcs-w7xw82wb.js} +11 -11
- package/dist/chunks/{location-services-s7zbh9mg.js → vcs-wbzy543d.js} +25 -25
- package/dist/chunks/{location-services-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-v6rz958s.js → vcs-wdk0efzn.js} +25 -25
- package/dist/chunks/{location-services-h9kwetak.js → vcs-wqffb857.js} +15 -15
- package/dist/chunks/{location-services-ah0p05m1.js → vcs-wt2f84b9.js} +4 -4
- package/dist/chunks/{location-services-vgr4p7dw.js → vcs-wtv33j88.js} +29 -29
- package/dist/chunks/{location-services-q3cd1dmr.js → vcs-x1bbg2xd.js} +13 -13
- package/dist/chunks/{location-services-mb2rzwp2.js → vcs-xa1ekjr5.js} +21 -21
- package/dist/chunks/vcs-xb6h6tjx.js +26 -0
- package/dist/chunks/{location-services-1ze76vsx.js → vcs-xbarvga5.js} +48 -48
- package/dist/chunks/{location-services-ydwws4tr.js → vcs-xset6v8e.js} +27 -27
- package/dist/chunks/{location-services-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-te4j4htj.js → vcs-y1kqc1p7.js} +31 -31
- package/dist/chunks/{location-services-h4x85t77.js → vcs-y4v5ah6d.js} +23 -23
- package/dist/chunks/{location-services-y71avatq.js → vcs-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-1vpyt6w9.js → vcs-yh2wrcre.js} +18 -18
- package/dist/chunks/{location-services-djaw7b23.js → vcs-yw1yd8am.js} +11 -11
- package/dist/chunks/{location-services-5bdbc12f.js → vcs-yx0rmv9r.js} +6 -6
- package/dist/chunks/{location-services-degx4mba.js → vcs-yyjjzvwv.js} +28 -28
- package/dist/chunks/{location-services-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-8y5sne0z.js → vcs-z0c53cnc.js} +18 -18
- package/dist/chunks/{location-services-ntk88cs4.js → vcs-z1z60s25.js} +4 -4
- package/dist/chunks/{location-services-xdrba4jw.js → vcs-z3nay82g.js} +9 -9
- package/dist/chunks/{location-services-nk454yk1.js → vcs-z4rktwb2.js} +6 -6
- package/dist/chunks/{location-services-eswm4xzm.js → vcs-zae46mp4.js} +3 -3
- package/dist/chunks/{location-services-64j9cy2v.js → vcs-zbzfepeb.js} +4 -4
- package/dist/chunks/{location-services-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-0xezjjjn.js → vcs-zrq8kphx.js} +8 -8
- package/dist/chunks/{location-services-34kgva51.js → vcs-zsaystjn.js} +17 -17
- package/dist/chunks/{location-services-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-7jyptewp.js → vcs-zz2r6mts.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +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.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -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 +106 -106
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- 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 +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- 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 +131 -131
- 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 +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- 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 +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- 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 +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 +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- 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 +91 -91
- 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 +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 -138
- 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 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +118 -118
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/account/sql.d.ts +3 -3
- package/dist/types/codemode/tool.d.ts +9 -9
- 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.d.ts +1 -1
- package/dist/types/credential/sql.d.ts +1 -1
- 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 +1 -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.d.ts +73 -73
- package/dist/types/permission/sql.d.ts +1 -1
- package/dist/types/permission.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 +2 -2
- 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 +3 -3
- 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/mcp.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 +1 -1
- package/dist/types/session/command.d.ts +1 -1
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/types/session/diff.d.ts +1 -1
- 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 +826 -826
- 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 +1 -1
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/prompt.d.ts +7 -7
- package/dist/types/session/revert.d.ts +1 -1
- package/dist/types/session/runner/index.d.ts +42 -46
- package/dist/types/session/runner/step.d.ts +86 -96
- package/dist/types/session/session.d.ts +27 -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 +5 -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 +26 -26
- package/dist/types/session.d.ts +5 -5
- package/dist/types/shell/result.d.ts +14 -14
- 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/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/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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +9 -9
- package/dist/chunks/location-services-9sh4wc5j.js +0 -18
- package/dist/chunks/location-services-kd6e3p5z.js +0 -26
- package/dist/chunks/location-services-mwjx7n7y.js +0 -513
- package/dist/chunks/location-services-yy75bg6z.js +0 -257
- /package/dist/chunks/{location-services-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-services-pyv0edze.js → vcs-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wjj7prxr.js → vcs-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -16,173 +16,123 @@ export declare const latestCompaction: (db: import("../database/drizzle.js").Eff
|
|
|
16
16
|
} | undefined, never, never>;
|
|
17
17
|
export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSelect) => Effect.Effect<{
|
|
18
18
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
19
|
-
readonly
|
|
19
|
+
readonly metadata?: {
|
|
20
|
+
readonly [x: string]: unknown;
|
|
21
|
+
} | undefined;
|
|
20
22
|
readonly time: {
|
|
21
23
|
readonly created: import("effect/DateTime").Utc;
|
|
22
24
|
};
|
|
23
|
-
readonly
|
|
25
|
+
readonly type: "compaction";
|
|
26
|
+
readonly status: "running";
|
|
27
|
+
readonly reason: "auto" | "manual";
|
|
28
|
+
readonly summary: string;
|
|
29
|
+
readonly recent: string;
|
|
30
|
+
} | {
|
|
31
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
24
32
|
readonly metadata?: {
|
|
25
33
|
readonly [x: string]: unknown;
|
|
26
34
|
} | undefined;
|
|
27
|
-
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
28
|
-
} | {
|
|
29
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
30
|
-
readonly type: "model-switched";
|
|
31
35
|
readonly time: {
|
|
32
36
|
readonly created: import("effect/DateTime").Utc;
|
|
33
37
|
};
|
|
34
|
-
readonly
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
readonly
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
readonly
|
|
38
|
+
readonly type: "compaction";
|
|
39
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
40
|
+
readonly tokens?: {
|
|
41
|
+
readonly input: number;
|
|
42
|
+
readonly output: number;
|
|
43
|
+
readonly reasoning: number;
|
|
44
|
+
readonly cache: {
|
|
45
|
+
readonly read: number;
|
|
46
|
+
readonly write: number;
|
|
47
|
+
};
|
|
41
48
|
} | undefined;
|
|
42
|
-
readonly
|
|
49
|
+
readonly status: "completed";
|
|
50
|
+
readonly reason: "auto" | "manual";
|
|
51
|
+
readonly model?: {
|
|
43
52
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
44
53
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
45
54
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
46
55
|
} | undefined;
|
|
47
|
-
|
|
48
|
-
readonly location: {
|
|
49
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
50
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
51
|
-
};
|
|
52
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
53
|
-
readonly type: "location-switched";
|
|
54
|
-
readonly time: {
|
|
55
|
-
readonly created: import("effect/DateTime").Utc;
|
|
56
|
-
};
|
|
57
|
-
readonly metadata?: {
|
|
56
|
+
readonly providerState?: {
|
|
58
57
|
readonly [x: string]: unknown;
|
|
59
58
|
} | undefined;
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
readonly summary: string;
|
|
60
|
+
readonly recent: string;
|
|
61
|
+
readonly providerContext?: {
|
|
62
|
+
readonly version: 1;
|
|
63
|
+
readonly provenance: {
|
|
64
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
65
|
+
readonly provider: string;
|
|
66
|
+
readonly modelID: string;
|
|
67
|
+
readonly route: string;
|
|
68
|
+
readonly protocol: string;
|
|
69
|
+
readonly endpoint: string;
|
|
65
70
|
};
|
|
66
|
-
readonly
|
|
67
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
71
|
+
readonly messages: Schema.Json;
|
|
68
72
|
} | undefined;
|
|
69
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
70
73
|
} | {
|
|
71
74
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
72
|
-
readonly type: "user";
|
|
73
|
-
readonly time: {
|
|
74
|
-
readonly created: import("effect/DateTime").Utc;
|
|
75
|
-
};
|
|
76
|
-
readonly text: string;
|
|
77
75
|
readonly metadata?: {
|
|
78
76
|
readonly [x: string]: unknown;
|
|
79
77
|
} | undefined;
|
|
80
|
-
readonly files?: readonly {
|
|
81
|
-
readonly data: string;
|
|
82
|
-
readonly source: {
|
|
83
|
-
readonly type: "inline";
|
|
84
|
-
} | {
|
|
85
|
-
readonly type: "uri";
|
|
86
|
-
readonly uri: string;
|
|
87
|
-
};
|
|
88
|
-
readonly mime: string;
|
|
89
|
-
readonly name?: string | undefined;
|
|
90
|
-
readonly description?: string | undefined;
|
|
91
|
-
readonly mention?: {
|
|
92
|
-
readonly start: number;
|
|
93
|
-
readonly end: number;
|
|
94
|
-
readonly text: string;
|
|
95
|
-
} | undefined;
|
|
96
|
-
}[] | undefined;
|
|
97
|
-
readonly agents?: readonly {
|
|
98
|
-
readonly name: string;
|
|
99
|
-
readonly mention?: {
|
|
100
|
-
readonly start: number;
|
|
101
|
-
readonly end: number;
|
|
102
|
-
readonly text: string;
|
|
103
|
-
} | undefined;
|
|
104
|
-
}[] | undefined;
|
|
105
|
-
readonly skills?: readonly {
|
|
106
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
107
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
108
|
-
readonly text?: string | undefined;
|
|
109
|
-
readonly mention?: {
|
|
110
|
-
readonly start: number;
|
|
111
|
-
readonly end: number;
|
|
112
|
-
readonly text: string;
|
|
113
|
-
} | undefined;
|
|
114
|
-
}[] | undefined;
|
|
115
|
-
} | {
|
|
116
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
117
|
-
readonly type: "synthetic";
|
|
118
78
|
readonly time: {
|
|
119
79
|
readonly created: import("effect/DateTime").Utc;
|
|
120
80
|
};
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
81
|
+
readonly type: "compaction";
|
|
82
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
83
|
+
readonly tokens?: {
|
|
84
|
+
readonly input: number;
|
|
85
|
+
readonly output: number;
|
|
86
|
+
readonly reasoning: number;
|
|
87
|
+
readonly cache: {
|
|
88
|
+
readonly read: number;
|
|
89
|
+
readonly write: number;
|
|
90
|
+
};
|
|
125
91
|
} | undefined;
|
|
92
|
+
readonly status: "failed";
|
|
93
|
+
readonly reason: "auto" | "manual";
|
|
94
|
+
readonly error: {
|
|
95
|
+
readonly type: string;
|
|
96
|
+
readonly message: string;
|
|
97
|
+
readonly status?: number | undefined;
|
|
98
|
+
readonly response?: {
|
|
99
|
+
readonly body: string;
|
|
100
|
+
} | undefined;
|
|
101
|
+
};
|
|
126
102
|
} | {
|
|
127
103
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
128
|
-
readonly type: "system";
|
|
129
|
-
readonly time: {
|
|
130
|
-
readonly created: import("effect/DateTime").Utc;
|
|
131
|
-
};
|
|
132
|
-
readonly text: string;
|
|
133
|
-
readonly description?: string | undefined;
|
|
134
104
|
readonly metadata?: {
|
|
135
105
|
readonly [x: string]: unknown;
|
|
136
106
|
} | undefined;
|
|
137
|
-
} | {
|
|
138
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
139
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
140
|
-
readonly type: "skill";
|
|
141
107
|
readonly time: {
|
|
142
108
|
readonly created: import("effect/DateTime").Utc;
|
|
143
109
|
};
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly [x: string]: unknown;
|
|
148
|
-
} | undefined;
|
|
110
|
+
readonly type: "agent-switched";
|
|
111
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
112
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
149
113
|
} | {
|
|
150
114
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
151
|
-
readonly type: "shell";
|
|
152
|
-
readonly status: "timeout" | "running" | "exited" | "killed";
|
|
153
|
-
readonly command: string;
|
|
154
|
-
readonly time: {
|
|
155
|
-
readonly created: import("effect/DateTime").Utc;
|
|
156
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
157
|
-
};
|
|
158
|
-
readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
159
115
|
readonly metadata?: {
|
|
160
116
|
readonly [x: string]: unknown;
|
|
161
117
|
} | undefined;
|
|
162
|
-
readonly output?: {
|
|
163
|
-
readonly output: string;
|
|
164
|
-
readonly cursor: number;
|
|
165
|
-
readonly size: number;
|
|
166
|
-
readonly truncated: boolean;
|
|
167
|
-
} | undefined;
|
|
168
|
-
readonly exit?: number | undefined;
|
|
169
|
-
} | {
|
|
170
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
171
118
|
readonly type: "assistant";
|
|
172
|
-
readonly
|
|
173
|
-
readonly created: import("effect/DateTime").Utc;
|
|
174
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
175
|
-
readonly streamed?: import("effect/DateTime").Utc | undefined;
|
|
176
|
-
};
|
|
119
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
177
120
|
readonly model: {
|
|
178
121
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
179
122
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
180
123
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
181
124
|
};
|
|
182
125
|
readonly content: readonly ({
|
|
183
|
-
readonly name: string;
|
|
184
|
-
readonly id: string;
|
|
185
126
|
readonly type: "tool";
|
|
127
|
+
readonly id: string;
|
|
128
|
+
readonly name: string;
|
|
129
|
+
readonly executed?: boolean | undefined;
|
|
130
|
+
readonly providerState?: {
|
|
131
|
+
readonly [x: string]: unknown;
|
|
132
|
+
} | undefined;
|
|
133
|
+
readonly providerResultState?: {
|
|
134
|
+
readonly [x: string]: unknown;
|
|
135
|
+
} | undefined;
|
|
186
136
|
readonly state: {
|
|
187
137
|
readonly status: "streaming";
|
|
188
138
|
readonly input: string;
|
|
@@ -232,9 +182,6 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
232
182
|
readonly body: string;
|
|
233
183
|
} | undefined;
|
|
234
184
|
};
|
|
235
|
-
readonly metadata?: {
|
|
236
|
-
readonly [x: string]: Schema.Json;
|
|
237
|
-
} | undefined;
|
|
238
185
|
readonly content?: readonly [{
|
|
239
186
|
readonly type: "text";
|
|
240
187
|
readonly text: string;
|
|
@@ -252,19 +199,15 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
252
199
|
readonly mime: string;
|
|
253
200
|
readonly name?: string | undefined;
|
|
254
201
|
})[]] | undefined;
|
|
202
|
+
readonly metadata?: {
|
|
203
|
+
readonly [x: string]: Schema.Json;
|
|
204
|
+
} | undefined;
|
|
255
205
|
};
|
|
256
206
|
readonly time: {
|
|
257
207
|
readonly created: import("effect/DateTime").Utc;
|
|
258
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
259
208
|
readonly ran?: import("effect/DateTime").Utc | undefined;
|
|
209
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
260
210
|
};
|
|
261
|
-
readonly executed?: boolean | undefined;
|
|
262
|
-
readonly providerState?: {
|
|
263
|
-
readonly [x: string]: unknown;
|
|
264
|
-
} | undefined;
|
|
265
|
-
readonly providerResultState?: {
|
|
266
|
-
readonly [x: string]: unknown;
|
|
267
|
-
} | undefined;
|
|
268
211
|
} | {
|
|
269
212
|
readonly type: "text";
|
|
270
213
|
readonly text: string;
|
|
@@ -282,29 +225,17 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
282
225
|
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
283
226
|
} | undefined;
|
|
284
227
|
})[];
|
|
285
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
286
|
-
readonly metadata?: {
|
|
287
|
-
readonly [x: string]: unknown;
|
|
288
|
-
} | undefined;
|
|
289
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
290
|
-
readonly error?: {
|
|
291
|
-
readonly type: string;
|
|
292
|
-
readonly message: string;
|
|
293
|
-
readonly status?: number | undefined;
|
|
294
|
-
readonly response?: {
|
|
295
|
-
readonly body: string;
|
|
296
|
-
} | undefined;
|
|
297
|
-
} | undefined;
|
|
298
|
-
readonly providerState?: {
|
|
299
|
-
readonly [x: string]: unknown;
|
|
300
|
-
} | undefined;
|
|
301
228
|
readonly snapshot?: {
|
|
302
229
|
readonly start?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
303
230
|
readonly end?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
304
231
|
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
305
232
|
} | undefined;
|
|
306
|
-
readonly finish?: "
|
|
233
|
+
readonly finish?: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown" | undefined;
|
|
307
234
|
readonly rawFinish?: string | undefined;
|
|
235
|
+
readonly providerState?: {
|
|
236
|
+
readonly [x: string]: unknown;
|
|
237
|
+
} | undefined;
|
|
238
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
308
239
|
readonly tokens?: {
|
|
309
240
|
readonly input: number;
|
|
310
241
|
readonly output: number;
|
|
@@ -314,6 +245,14 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
314
245
|
readonly write: number;
|
|
315
246
|
};
|
|
316
247
|
} | undefined;
|
|
248
|
+
readonly error?: {
|
|
249
|
+
readonly type: string;
|
|
250
|
+
readonly message: string;
|
|
251
|
+
readonly status?: number | undefined;
|
|
252
|
+
readonly response?: {
|
|
253
|
+
readonly body: string;
|
|
254
|
+
} | undefined;
|
|
255
|
+
} | undefined;
|
|
317
256
|
readonly retry?: {
|
|
318
257
|
readonly attempt: number;
|
|
319
258
|
readonly at: import("effect/DateTime").Utc;
|
|
@@ -326,184 +265,143 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
326
265
|
} | undefined;
|
|
327
266
|
};
|
|
328
267
|
} | undefined;
|
|
329
|
-
} | {
|
|
330
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
331
|
-
readonly type: "compaction";
|
|
332
|
-
readonly status: "running";
|
|
333
268
|
readonly time: {
|
|
334
269
|
readonly created: import("effect/DateTime").Utc;
|
|
270
|
+
readonly streamed?: import("effect/DateTime").Utc | undefined;
|
|
271
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
335
272
|
};
|
|
336
|
-
|
|
337
|
-
readonly
|
|
338
|
-
readonly recent: string;
|
|
273
|
+
} | {
|
|
274
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
339
275
|
readonly metadata?: {
|
|
340
276
|
readonly [x: string]: unknown;
|
|
341
277
|
} | undefined;
|
|
342
|
-
} | {
|
|
343
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
344
|
-
readonly type: "compaction";
|
|
345
|
-
readonly status: "completed";
|
|
346
278
|
readonly time: {
|
|
347
279
|
readonly created: import("effect/DateTime").Utc;
|
|
348
280
|
};
|
|
349
|
-
readonly
|
|
350
|
-
readonly
|
|
351
|
-
readonly
|
|
352
|
-
readonly metadata?: {
|
|
353
|
-
readonly [x: string]: unknown;
|
|
354
|
-
} | undefined;
|
|
355
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
356
|
-
readonly model?: {
|
|
357
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
358
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
359
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
360
|
-
} | undefined;
|
|
361
|
-
readonly providerState?: {
|
|
362
|
-
readonly [x: string]: unknown;
|
|
363
|
-
} | undefined;
|
|
364
|
-
readonly tokens?: {
|
|
365
|
-
readonly input: number;
|
|
366
|
-
readonly output: number;
|
|
367
|
-
readonly reasoning: number;
|
|
368
|
-
readonly cache: {
|
|
369
|
-
readonly read: number;
|
|
370
|
-
readonly write: number;
|
|
371
|
-
};
|
|
372
|
-
} | undefined;
|
|
373
|
-
readonly providerContext?: {
|
|
374
|
-
readonly version: 1;
|
|
375
|
-
readonly provenance: {
|
|
376
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
377
|
-
readonly provider: string;
|
|
378
|
-
readonly modelID: string;
|
|
379
|
-
readonly route: string;
|
|
380
|
-
readonly protocol: string;
|
|
381
|
-
readonly endpoint: string;
|
|
382
|
-
};
|
|
383
|
-
readonly messages: Schema.Json;
|
|
384
|
-
} | undefined;
|
|
385
|
-
} | {
|
|
386
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
387
|
-
readonly type: "compaction";
|
|
388
|
-
readonly status: "failed";
|
|
389
|
-
readonly time: {
|
|
390
|
-
readonly created: import("effect/DateTime").Utc;
|
|
391
|
-
};
|
|
392
|
-
readonly error: {
|
|
281
|
+
readonly type: "idle";
|
|
282
|
+
readonly outcome: "failed" | "interrupted" | "succeeded";
|
|
283
|
+
readonly error?: {
|
|
393
284
|
readonly type: string;
|
|
394
285
|
readonly message: string;
|
|
395
286
|
readonly status?: number | undefined;
|
|
396
287
|
readonly response?: {
|
|
397
288
|
readonly body: string;
|
|
398
289
|
} | undefined;
|
|
399
|
-
};
|
|
400
|
-
readonly reason: "auto" | "manual";
|
|
401
|
-
readonly metadata?: {
|
|
402
|
-
readonly [x: string]: unknown;
|
|
403
|
-
} | undefined;
|
|
404
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
405
|
-
readonly tokens?: {
|
|
406
|
-
readonly input: number;
|
|
407
|
-
readonly output: number;
|
|
408
|
-
readonly reasoning: number;
|
|
409
|
-
readonly cache: {
|
|
410
|
-
readonly read: number;
|
|
411
|
-
readonly write: number;
|
|
412
|
-
};
|
|
413
290
|
} | undefined;
|
|
414
291
|
} | {
|
|
415
292
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
416
|
-
readonly type: "idle";
|
|
417
|
-
readonly time: {
|
|
418
|
-
readonly created: import("effect/DateTime").Utc;
|
|
419
|
-
};
|
|
420
|
-
readonly outcome: "failed" | "succeeded" | "interrupted";
|
|
421
293
|
readonly metadata?: {
|
|
422
294
|
readonly [x: string]: unknown;
|
|
423
295
|
} | undefined;
|
|
424
|
-
readonly error?: {
|
|
425
|
-
readonly type: string;
|
|
426
|
-
readonly message: string;
|
|
427
|
-
readonly status?: number | undefined;
|
|
428
|
-
readonly response?: {
|
|
429
|
-
readonly body: string;
|
|
430
|
-
} | undefined;
|
|
431
|
-
} | undefined;
|
|
432
|
-
}, MessageDecodeError, never>;
|
|
433
|
-
export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
434
|
-
$client: import("effect/sql/SqlClient").SqlClient;
|
|
435
|
-
}, sessionID: string & import("effect/Brand").Brand<"SessionID">, boundary: Boundary) => Effect.Effect<({
|
|
436
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
437
|
-
readonly type: "agent-switched";
|
|
438
296
|
readonly time: {
|
|
439
297
|
readonly created: import("effect/DateTime").Utc;
|
|
440
298
|
};
|
|
441
|
-
readonly
|
|
442
|
-
readonly
|
|
443
|
-
readonly
|
|
299
|
+
readonly type: "location-switched";
|
|
300
|
+
readonly location: {
|
|
301
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
302
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
303
|
+
};
|
|
304
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
305
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
306
|
+
readonly previous?: {
|
|
307
|
+
readonly location: {
|
|
308
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
309
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
310
|
+
};
|
|
311
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
312
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
444
313
|
} | undefined;
|
|
445
|
-
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
446
314
|
} | {
|
|
447
315
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
448
|
-
readonly
|
|
316
|
+
readonly metadata?: {
|
|
317
|
+
readonly [x: string]: unknown;
|
|
318
|
+
} | undefined;
|
|
449
319
|
readonly time: {
|
|
450
320
|
readonly created: import("effect/DateTime").Utc;
|
|
451
321
|
};
|
|
322
|
+
readonly type: "model-switched";
|
|
452
323
|
readonly model: {
|
|
453
324
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
454
325
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
455
326
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
456
327
|
};
|
|
457
|
-
readonly metadata?: {
|
|
458
|
-
readonly [x: string]: unknown;
|
|
459
|
-
} | undefined;
|
|
460
328
|
readonly previous?: {
|
|
461
329
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
462
330
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
463
331
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
464
332
|
} | undefined;
|
|
465
333
|
} | {
|
|
466
|
-
readonly location: {
|
|
467
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
468
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
469
|
-
};
|
|
470
334
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
471
|
-
readonly
|
|
335
|
+
readonly metadata?: {
|
|
336
|
+
readonly [x: string]: unknown;
|
|
337
|
+
} | undefined;
|
|
338
|
+
readonly type: "shell";
|
|
339
|
+
readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
340
|
+
readonly command: string;
|
|
341
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
342
|
+
readonly exit?: number | undefined;
|
|
343
|
+
readonly output?: {
|
|
344
|
+
readonly output: string;
|
|
345
|
+
readonly cursor: number;
|
|
346
|
+
readonly size: number;
|
|
347
|
+
readonly truncated: boolean;
|
|
348
|
+
} | undefined;
|
|
472
349
|
readonly time: {
|
|
473
350
|
readonly created: import("effect/DateTime").Utc;
|
|
351
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
474
352
|
};
|
|
353
|
+
} | {
|
|
354
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
475
355
|
readonly metadata?: {
|
|
476
356
|
readonly [x: string]: unknown;
|
|
477
357
|
} | undefined;
|
|
478
|
-
readonly
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
358
|
+
readonly time: {
|
|
359
|
+
readonly created: import("effect/DateTime").Utc;
|
|
360
|
+
};
|
|
361
|
+
readonly type: "skill";
|
|
362
|
+
readonly skill: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
363
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
364
|
+
readonly text: string;
|
|
365
|
+
} | {
|
|
366
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
367
|
+
readonly metadata?: {
|
|
368
|
+
readonly [x: string]: unknown;
|
|
486
369
|
} | undefined;
|
|
487
|
-
readonly
|
|
370
|
+
readonly time: {
|
|
371
|
+
readonly created: import("effect/DateTime").Utc;
|
|
372
|
+
};
|
|
373
|
+
readonly text: string;
|
|
374
|
+
readonly description?: string | undefined;
|
|
375
|
+
readonly type: "synthetic";
|
|
488
376
|
} | {
|
|
489
377
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
490
|
-
readonly
|
|
378
|
+
readonly metadata?: {
|
|
379
|
+
readonly [x: string]: unknown;
|
|
380
|
+
} | undefined;
|
|
491
381
|
readonly time: {
|
|
492
382
|
readonly created: import("effect/DateTime").Utc;
|
|
493
383
|
};
|
|
384
|
+
readonly type: "system";
|
|
494
385
|
readonly text: string;
|
|
386
|
+
readonly description?: string | undefined;
|
|
387
|
+
} | {
|
|
388
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
495
389
|
readonly metadata?: {
|
|
496
390
|
readonly [x: string]: unknown;
|
|
497
391
|
} | undefined;
|
|
392
|
+
readonly time: {
|
|
393
|
+
readonly created: import("effect/DateTime").Utc;
|
|
394
|
+
};
|
|
395
|
+
readonly text: string;
|
|
498
396
|
readonly files?: readonly {
|
|
499
397
|
readonly data: string;
|
|
398
|
+
readonly mime: string;
|
|
500
399
|
readonly source: {
|
|
501
400
|
readonly type: "inline";
|
|
502
401
|
} | {
|
|
503
402
|
readonly type: "uri";
|
|
504
403
|
readonly uri: string;
|
|
505
404
|
};
|
|
506
|
-
readonly mime: string;
|
|
507
405
|
readonly name?: string | undefined;
|
|
508
406
|
readonly description?: string | undefined;
|
|
509
407
|
readonly mention?: {
|
|
@@ -521,8 +419,8 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
521
419
|
} | undefined;
|
|
522
420
|
}[] | undefined;
|
|
523
421
|
readonly skills?: readonly {
|
|
524
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
525
422
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
423
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
526
424
|
readonly text?: string | undefined;
|
|
527
425
|
readonly mention?: {
|
|
528
426
|
readonly start: number;
|
|
@@ -530,77 +428,129 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
530
428
|
readonly text: string;
|
|
531
429
|
} | undefined;
|
|
532
430
|
}[] | undefined;
|
|
533
|
-
|
|
431
|
+
readonly type: "user";
|
|
432
|
+
}, MessageDecodeError, never>;
|
|
433
|
+
export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
434
|
+
$client: import("effect/sql/SqlClient").SqlClient;
|
|
435
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">, boundary: Boundary) => Effect.Effect<({
|
|
534
436
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
535
|
-
readonly
|
|
437
|
+
readonly metadata?: {
|
|
438
|
+
readonly [x: string]: unknown;
|
|
439
|
+
} | undefined;
|
|
536
440
|
readonly time: {
|
|
537
441
|
readonly created: import("effect/DateTime").Utc;
|
|
538
442
|
};
|
|
539
|
-
readonly
|
|
540
|
-
readonly
|
|
443
|
+
readonly type: "compaction";
|
|
444
|
+
readonly status: "running";
|
|
445
|
+
readonly reason: "auto" | "manual";
|
|
446
|
+
readonly summary: string;
|
|
447
|
+
readonly recent: string;
|
|
448
|
+
} | {
|
|
449
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
541
450
|
readonly metadata?: {
|
|
542
451
|
readonly [x: string]: unknown;
|
|
543
452
|
} | undefined;
|
|
544
|
-
} | {
|
|
545
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
546
|
-
readonly type: "system";
|
|
547
453
|
readonly time: {
|
|
548
454
|
readonly created: import("effect/DateTime").Utc;
|
|
549
455
|
};
|
|
550
|
-
readonly
|
|
551
|
-
readonly
|
|
552
|
-
readonly
|
|
456
|
+
readonly type: "compaction";
|
|
457
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
458
|
+
readonly tokens?: {
|
|
459
|
+
readonly input: number;
|
|
460
|
+
readonly output: number;
|
|
461
|
+
readonly reasoning: number;
|
|
462
|
+
readonly cache: {
|
|
463
|
+
readonly read: number;
|
|
464
|
+
readonly write: number;
|
|
465
|
+
};
|
|
466
|
+
} | undefined;
|
|
467
|
+
readonly status: "completed";
|
|
468
|
+
readonly reason: "auto" | "manual";
|
|
469
|
+
readonly model?: {
|
|
470
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
471
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
472
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
473
|
+
} | undefined;
|
|
474
|
+
readonly providerState?: {
|
|
553
475
|
readonly [x: string]: unknown;
|
|
554
476
|
} | undefined;
|
|
477
|
+
readonly summary: string;
|
|
478
|
+
readonly recent: string;
|
|
479
|
+
readonly providerContext?: {
|
|
480
|
+
readonly version: 1;
|
|
481
|
+
readonly provenance: {
|
|
482
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
483
|
+
readonly provider: string;
|
|
484
|
+
readonly modelID: string;
|
|
485
|
+
readonly route: string;
|
|
486
|
+
readonly protocol: string;
|
|
487
|
+
readonly endpoint: string;
|
|
488
|
+
};
|
|
489
|
+
readonly messages: Schema.Json;
|
|
490
|
+
} | undefined;
|
|
555
491
|
} | {
|
|
556
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
557
492
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
558
|
-
readonly
|
|
493
|
+
readonly metadata?: {
|
|
494
|
+
readonly [x: string]: unknown;
|
|
495
|
+
} | undefined;
|
|
559
496
|
readonly time: {
|
|
560
497
|
readonly created: import("effect/DateTime").Utc;
|
|
561
498
|
};
|
|
562
|
-
readonly
|
|
563
|
-
readonly
|
|
564
|
-
readonly
|
|
565
|
-
readonly
|
|
499
|
+
readonly type: "compaction";
|
|
500
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
501
|
+
readonly tokens?: {
|
|
502
|
+
readonly input: number;
|
|
503
|
+
readonly output: number;
|
|
504
|
+
readonly reasoning: number;
|
|
505
|
+
readonly cache: {
|
|
506
|
+
readonly read: number;
|
|
507
|
+
readonly write: number;
|
|
508
|
+
};
|
|
566
509
|
} | undefined;
|
|
510
|
+
readonly status: "failed";
|
|
511
|
+
readonly reason: "auto" | "manual";
|
|
512
|
+
readonly error: {
|
|
513
|
+
readonly type: string;
|
|
514
|
+
readonly message: string;
|
|
515
|
+
readonly status?: number | undefined;
|
|
516
|
+
readonly response?: {
|
|
517
|
+
readonly body: string;
|
|
518
|
+
} | undefined;
|
|
519
|
+
};
|
|
567
520
|
} | {
|
|
568
521
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
569
|
-
readonly
|
|
570
|
-
|
|
571
|
-
|
|
522
|
+
readonly metadata?: {
|
|
523
|
+
readonly [x: string]: unknown;
|
|
524
|
+
} | undefined;
|
|
572
525
|
readonly time: {
|
|
573
526
|
readonly created: import("effect/DateTime").Utc;
|
|
574
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
575
527
|
};
|
|
576
|
-
readonly
|
|
528
|
+
readonly type: "agent-switched";
|
|
529
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
530
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
531
|
+
} | {
|
|
532
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
577
533
|
readonly metadata?: {
|
|
578
534
|
readonly [x: string]: unknown;
|
|
579
535
|
} | undefined;
|
|
580
|
-
readonly output?: {
|
|
581
|
-
readonly output: string;
|
|
582
|
-
readonly cursor: number;
|
|
583
|
-
readonly size: number;
|
|
584
|
-
readonly truncated: boolean;
|
|
585
|
-
} | undefined;
|
|
586
|
-
readonly exit?: number | undefined;
|
|
587
|
-
} | {
|
|
588
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
589
536
|
readonly type: "assistant";
|
|
590
|
-
readonly
|
|
591
|
-
readonly created: import("effect/DateTime").Utc;
|
|
592
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
593
|
-
readonly streamed?: import("effect/DateTime").Utc | undefined;
|
|
594
|
-
};
|
|
537
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
595
538
|
readonly model: {
|
|
596
539
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
597
540
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
598
541
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
599
542
|
};
|
|
600
543
|
readonly content: readonly ({
|
|
601
|
-
readonly name: string;
|
|
602
|
-
readonly id: string;
|
|
603
544
|
readonly type: "tool";
|
|
545
|
+
readonly id: string;
|
|
546
|
+
readonly name: string;
|
|
547
|
+
readonly executed?: boolean | undefined;
|
|
548
|
+
readonly providerState?: {
|
|
549
|
+
readonly [x: string]: unknown;
|
|
550
|
+
} | undefined;
|
|
551
|
+
readonly providerResultState?: {
|
|
552
|
+
readonly [x: string]: unknown;
|
|
553
|
+
} | undefined;
|
|
604
554
|
readonly state: {
|
|
605
555
|
readonly status: "streaming";
|
|
606
556
|
readonly input: string;
|
|
@@ -650,9 +600,6 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
650
600
|
readonly body: string;
|
|
651
601
|
} | undefined;
|
|
652
602
|
};
|
|
653
|
-
readonly metadata?: {
|
|
654
|
-
readonly [x: string]: Schema.Json;
|
|
655
|
-
} | undefined;
|
|
656
603
|
readonly content?: readonly [{
|
|
657
604
|
readonly type: "text";
|
|
658
605
|
readonly text: string;
|
|
@@ -670,19 +617,15 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
670
617
|
readonly mime: string;
|
|
671
618
|
readonly name?: string | undefined;
|
|
672
619
|
})[]] | undefined;
|
|
620
|
+
readonly metadata?: {
|
|
621
|
+
readonly [x: string]: Schema.Json;
|
|
622
|
+
} | undefined;
|
|
673
623
|
};
|
|
674
624
|
readonly time: {
|
|
675
625
|
readonly created: import("effect/DateTime").Utc;
|
|
676
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
677
626
|
readonly ran?: import("effect/DateTime").Utc | undefined;
|
|
627
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
678
628
|
};
|
|
679
|
-
readonly executed?: boolean | undefined;
|
|
680
|
-
readonly providerState?: {
|
|
681
|
-
readonly [x: string]: unknown;
|
|
682
|
-
} | undefined;
|
|
683
|
-
readonly providerResultState?: {
|
|
684
|
-
readonly [x: string]: unknown;
|
|
685
|
-
} | undefined;
|
|
686
629
|
} | {
|
|
687
630
|
readonly type: "text";
|
|
688
631
|
readonly text: string;
|
|
@@ -700,29 +643,17 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
700
643
|
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
701
644
|
} | undefined;
|
|
702
645
|
})[];
|
|
703
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
704
|
-
readonly metadata?: {
|
|
705
|
-
readonly [x: string]: unknown;
|
|
706
|
-
} | undefined;
|
|
707
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
708
|
-
readonly error?: {
|
|
709
|
-
readonly type: string;
|
|
710
|
-
readonly message: string;
|
|
711
|
-
readonly status?: number | undefined;
|
|
712
|
-
readonly response?: {
|
|
713
|
-
readonly body: string;
|
|
714
|
-
} | undefined;
|
|
715
|
-
} | undefined;
|
|
716
|
-
readonly providerState?: {
|
|
717
|
-
readonly [x: string]: unknown;
|
|
718
|
-
} | undefined;
|
|
719
646
|
readonly snapshot?: {
|
|
720
647
|
readonly start?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
721
648
|
readonly end?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
722
649
|
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
723
650
|
} | undefined;
|
|
724
|
-
readonly finish?: "
|
|
651
|
+
readonly finish?: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown" | undefined;
|
|
725
652
|
readonly rawFinish?: string | undefined;
|
|
653
|
+
readonly providerState?: {
|
|
654
|
+
readonly [x: string]: unknown;
|
|
655
|
+
} | undefined;
|
|
656
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
726
657
|
readonly tokens?: {
|
|
727
658
|
readonly input: number;
|
|
728
659
|
readonly output: number;
|
|
@@ -732,6 +663,14 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
732
663
|
readonly write: number;
|
|
733
664
|
};
|
|
734
665
|
} | undefined;
|
|
666
|
+
readonly error?: {
|
|
667
|
+
readonly type: string;
|
|
668
|
+
readonly message: string;
|
|
669
|
+
readonly status?: number | undefined;
|
|
670
|
+
readonly response?: {
|
|
671
|
+
readonly body: string;
|
|
672
|
+
} | undefined;
|
|
673
|
+
} | undefined;
|
|
735
674
|
readonly retry?: {
|
|
736
675
|
readonly attempt: number;
|
|
737
676
|
readonly at: import("effect/DateTime").Utc;
|
|
@@ -744,109 +683,170 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
744
683
|
} | undefined;
|
|
745
684
|
};
|
|
746
685
|
} | undefined;
|
|
747
|
-
} | {
|
|
748
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
749
|
-
readonly type: "compaction";
|
|
750
|
-
readonly status: "running";
|
|
751
686
|
readonly time: {
|
|
752
687
|
readonly created: import("effect/DateTime").Utc;
|
|
688
|
+
readonly streamed?: import("effect/DateTime").Utc | undefined;
|
|
689
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
753
690
|
};
|
|
754
|
-
|
|
755
|
-
readonly
|
|
756
|
-
readonly recent: string;
|
|
691
|
+
} | {
|
|
692
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
757
693
|
readonly metadata?: {
|
|
758
694
|
readonly [x: string]: unknown;
|
|
759
695
|
} | undefined;
|
|
696
|
+
readonly time: {
|
|
697
|
+
readonly created: import("effect/DateTime").Utc;
|
|
698
|
+
};
|
|
699
|
+
readonly type: "idle";
|
|
700
|
+
readonly outcome: "failed" | "interrupted" | "succeeded";
|
|
701
|
+
readonly error?: {
|
|
702
|
+
readonly type: string;
|
|
703
|
+
readonly message: string;
|
|
704
|
+
readonly status?: number | undefined;
|
|
705
|
+
readonly response?: {
|
|
706
|
+
readonly body: string;
|
|
707
|
+
} | undefined;
|
|
708
|
+
} | undefined;
|
|
760
709
|
} | {
|
|
761
710
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
762
|
-
readonly
|
|
763
|
-
|
|
711
|
+
readonly metadata?: {
|
|
712
|
+
readonly [x: string]: unknown;
|
|
713
|
+
} | undefined;
|
|
764
714
|
readonly time: {
|
|
765
715
|
readonly created: import("effect/DateTime").Utc;
|
|
766
716
|
};
|
|
767
|
-
readonly
|
|
768
|
-
readonly
|
|
769
|
-
|
|
717
|
+
readonly type: "location-switched";
|
|
718
|
+
readonly location: {
|
|
719
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
720
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
721
|
+
};
|
|
722
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
723
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
724
|
+
readonly previous?: {
|
|
725
|
+
readonly location: {
|
|
726
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
727
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
728
|
+
};
|
|
729
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
730
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
731
|
+
} | undefined;
|
|
732
|
+
} | {
|
|
733
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
770
734
|
readonly metadata?: {
|
|
771
735
|
readonly [x: string]: unknown;
|
|
772
736
|
} | undefined;
|
|
773
|
-
readonly
|
|
774
|
-
|
|
737
|
+
readonly time: {
|
|
738
|
+
readonly created: import("effect/DateTime").Utc;
|
|
739
|
+
};
|
|
740
|
+
readonly type: "model-switched";
|
|
741
|
+
readonly model: {
|
|
742
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
743
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
744
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
745
|
+
};
|
|
746
|
+
readonly previous?: {
|
|
775
747
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
776
748
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
777
749
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
778
750
|
} | undefined;
|
|
779
|
-
|
|
751
|
+
} | {
|
|
752
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
753
|
+
readonly metadata?: {
|
|
780
754
|
readonly [x: string]: unknown;
|
|
781
755
|
} | undefined;
|
|
782
|
-
readonly
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
readonly version: 1;
|
|
793
|
-
readonly provenance: {
|
|
794
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
795
|
-
readonly provider: string;
|
|
796
|
-
readonly modelID: string;
|
|
797
|
-
readonly route: string;
|
|
798
|
-
readonly protocol: string;
|
|
799
|
-
readonly endpoint: string;
|
|
800
|
-
};
|
|
801
|
-
readonly messages: Schema.Json;
|
|
756
|
+
readonly type: "shell";
|
|
757
|
+
readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
758
|
+
readonly command: string;
|
|
759
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
760
|
+
readonly exit?: number | undefined;
|
|
761
|
+
readonly output?: {
|
|
762
|
+
readonly output: string;
|
|
763
|
+
readonly cursor: number;
|
|
764
|
+
readonly size: number;
|
|
765
|
+
readonly truncated: boolean;
|
|
802
766
|
} | undefined;
|
|
767
|
+
readonly time: {
|
|
768
|
+
readonly created: import("effect/DateTime").Utc;
|
|
769
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
770
|
+
};
|
|
803
771
|
} | {
|
|
804
772
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
805
|
-
readonly
|
|
806
|
-
|
|
773
|
+
readonly metadata?: {
|
|
774
|
+
readonly [x: string]: unknown;
|
|
775
|
+
} | undefined;
|
|
807
776
|
readonly time: {
|
|
808
777
|
readonly created: import("effect/DateTime").Utc;
|
|
809
778
|
};
|
|
810
|
-
readonly
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
} | undefined;
|
|
817
|
-
};
|
|
818
|
-
readonly reason: "auto" | "manual";
|
|
779
|
+
readonly type: "skill";
|
|
780
|
+
readonly skill: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
781
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
782
|
+
readonly text: string;
|
|
783
|
+
} | {
|
|
784
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
819
785
|
readonly metadata?: {
|
|
820
786
|
readonly [x: string]: unknown;
|
|
821
787
|
} | undefined;
|
|
822
|
-
readonly
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
readonly read: number;
|
|
829
|
-
readonly write: number;
|
|
830
|
-
};
|
|
831
|
-
} | undefined;
|
|
788
|
+
readonly time: {
|
|
789
|
+
readonly created: import("effect/DateTime").Utc;
|
|
790
|
+
};
|
|
791
|
+
readonly text: string;
|
|
792
|
+
readonly description?: string | undefined;
|
|
793
|
+
readonly type: "synthetic";
|
|
832
794
|
} | {
|
|
833
795
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
834
|
-
readonly
|
|
796
|
+
readonly metadata?: {
|
|
797
|
+
readonly [x: string]: unknown;
|
|
798
|
+
} | undefined;
|
|
835
799
|
readonly time: {
|
|
836
800
|
readonly created: import("effect/DateTime").Utc;
|
|
837
801
|
};
|
|
838
|
-
readonly
|
|
802
|
+
readonly type: "system";
|
|
803
|
+
readonly text: string;
|
|
804
|
+
readonly description?: string | undefined;
|
|
805
|
+
} | {
|
|
806
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
839
807
|
readonly metadata?: {
|
|
840
808
|
readonly [x: string]: unknown;
|
|
841
809
|
} | undefined;
|
|
842
|
-
readonly
|
|
843
|
-
readonly
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
810
|
+
readonly time: {
|
|
811
|
+
readonly created: import("effect/DateTime").Utc;
|
|
812
|
+
};
|
|
813
|
+
readonly text: string;
|
|
814
|
+
readonly files?: readonly {
|
|
815
|
+
readonly data: string;
|
|
816
|
+
readonly mime: string;
|
|
817
|
+
readonly source: {
|
|
818
|
+
readonly type: "inline";
|
|
819
|
+
} | {
|
|
820
|
+
readonly type: "uri";
|
|
821
|
+
readonly uri: string;
|
|
822
|
+
};
|
|
823
|
+
readonly name?: string | undefined;
|
|
824
|
+
readonly description?: string | undefined;
|
|
825
|
+
readonly mention?: {
|
|
826
|
+
readonly start: number;
|
|
827
|
+
readonly end: number;
|
|
828
|
+
readonly text: string;
|
|
848
829
|
} | undefined;
|
|
849
|
-
} | undefined;
|
|
830
|
+
}[] | undefined;
|
|
831
|
+
readonly agents?: readonly {
|
|
832
|
+
readonly name: string;
|
|
833
|
+
readonly mention?: {
|
|
834
|
+
readonly start: number;
|
|
835
|
+
readonly end: number;
|
|
836
|
+
readonly text: string;
|
|
837
|
+
} | undefined;
|
|
838
|
+
}[] | undefined;
|
|
839
|
+
readonly skills?: readonly {
|
|
840
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
841
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
842
|
+
readonly text?: string | undefined;
|
|
843
|
+
readonly mention?: {
|
|
844
|
+
readonly start: number;
|
|
845
|
+
readonly end: number;
|
|
846
|
+
readonly text: string;
|
|
847
|
+
} | undefined;
|
|
848
|
+
}[] | undefined;
|
|
849
|
+
readonly type: "user";
|
|
850
850
|
})[], MessageDecodeError, never>;
|
|
851
851
|
export declare const entriesForRunner: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
852
852
|
$client: import("effect/sql/SqlClient").SqlClient;
|
|
@@ -856,173 +856,123 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
856
856
|
seq: number;
|
|
857
857
|
message: {
|
|
858
858
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
859
|
-
readonly
|
|
859
|
+
readonly metadata?: {
|
|
860
|
+
readonly [x: string]: unknown;
|
|
861
|
+
} | undefined;
|
|
860
862
|
readonly time: {
|
|
861
863
|
readonly created: import("effect/DateTime").Utc;
|
|
862
864
|
};
|
|
863
|
-
readonly
|
|
865
|
+
readonly type: "compaction";
|
|
866
|
+
readonly status: "running";
|
|
867
|
+
readonly reason: "auto" | "manual";
|
|
868
|
+
readonly summary: string;
|
|
869
|
+
readonly recent: string;
|
|
870
|
+
} | {
|
|
871
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
864
872
|
readonly metadata?: {
|
|
865
873
|
readonly [x: string]: unknown;
|
|
866
874
|
} | undefined;
|
|
867
|
-
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
868
|
-
} | {
|
|
869
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
870
|
-
readonly type: "model-switched";
|
|
871
875
|
readonly time: {
|
|
872
876
|
readonly created: import("effect/DateTime").Utc;
|
|
873
877
|
};
|
|
874
|
-
readonly
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
readonly
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
readonly
|
|
878
|
+
readonly type: "compaction";
|
|
879
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
880
|
+
readonly tokens?: {
|
|
881
|
+
readonly input: number;
|
|
882
|
+
readonly output: number;
|
|
883
|
+
readonly reasoning: number;
|
|
884
|
+
readonly cache: {
|
|
885
|
+
readonly read: number;
|
|
886
|
+
readonly write: number;
|
|
887
|
+
};
|
|
881
888
|
} | undefined;
|
|
882
|
-
readonly
|
|
889
|
+
readonly status: "completed";
|
|
890
|
+
readonly reason: "auto" | "manual";
|
|
891
|
+
readonly model?: {
|
|
883
892
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
884
893
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
885
894
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
886
895
|
} | undefined;
|
|
887
|
-
|
|
888
|
-
readonly location: {
|
|
889
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
890
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
891
|
-
};
|
|
892
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
893
|
-
readonly type: "location-switched";
|
|
894
|
-
readonly time: {
|
|
895
|
-
readonly created: import("effect/DateTime").Utc;
|
|
896
|
-
};
|
|
897
|
-
readonly metadata?: {
|
|
896
|
+
readonly providerState?: {
|
|
898
897
|
readonly [x: string]: unknown;
|
|
899
898
|
} | undefined;
|
|
900
|
-
readonly
|
|
901
|
-
readonly
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
899
|
+
readonly summary: string;
|
|
900
|
+
readonly recent: string;
|
|
901
|
+
readonly providerContext?: {
|
|
902
|
+
readonly version: 1;
|
|
903
|
+
readonly provenance: {
|
|
904
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
905
|
+
readonly provider: string;
|
|
906
|
+
readonly modelID: string;
|
|
907
|
+
readonly route: string;
|
|
908
|
+
readonly protocol: string;
|
|
909
|
+
readonly endpoint: string;
|
|
905
910
|
};
|
|
906
|
-
readonly
|
|
907
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
911
|
+
readonly messages: Schema.Json;
|
|
908
912
|
} | undefined;
|
|
909
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
910
913
|
} | {
|
|
911
914
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
912
|
-
readonly type: "user";
|
|
913
|
-
readonly time: {
|
|
914
|
-
readonly created: import("effect/DateTime").Utc;
|
|
915
|
-
};
|
|
916
|
-
readonly text: string;
|
|
917
915
|
readonly metadata?: {
|
|
918
916
|
readonly [x: string]: unknown;
|
|
919
917
|
} | undefined;
|
|
920
|
-
readonly files?: readonly {
|
|
921
|
-
readonly data: string;
|
|
922
|
-
readonly source: {
|
|
923
|
-
readonly type: "inline";
|
|
924
|
-
} | {
|
|
925
|
-
readonly type: "uri";
|
|
926
|
-
readonly uri: string;
|
|
927
|
-
};
|
|
928
|
-
readonly mime: string;
|
|
929
|
-
readonly name?: string | undefined;
|
|
930
|
-
readonly description?: string | undefined;
|
|
931
|
-
readonly mention?: {
|
|
932
|
-
readonly start: number;
|
|
933
|
-
readonly end: number;
|
|
934
|
-
readonly text: string;
|
|
935
|
-
} | undefined;
|
|
936
|
-
}[] | undefined;
|
|
937
|
-
readonly agents?: readonly {
|
|
938
|
-
readonly name: string;
|
|
939
|
-
readonly mention?: {
|
|
940
|
-
readonly start: number;
|
|
941
|
-
readonly end: number;
|
|
942
|
-
readonly text: string;
|
|
943
|
-
} | undefined;
|
|
944
|
-
}[] | undefined;
|
|
945
|
-
readonly skills?: readonly {
|
|
946
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
947
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
948
|
-
readonly text?: string | undefined;
|
|
949
|
-
readonly mention?: {
|
|
950
|
-
readonly start: number;
|
|
951
|
-
readonly end: number;
|
|
952
|
-
readonly text: string;
|
|
953
|
-
} | undefined;
|
|
954
|
-
}[] | undefined;
|
|
955
|
-
} | {
|
|
956
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
957
|
-
readonly type: "synthetic";
|
|
958
918
|
readonly time: {
|
|
959
919
|
readonly created: import("effect/DateTime").Utc;
|
|
960
920
|
};
|
|
961
|
-
readonly
|
|
962
|
-
readonly
|
|
963
|
-
readonly
|
|
964
|
-
readonly
|
|
921
|
+
readonly type: "compaction";
|
|
922
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
923
|
+
readonly tokens?: {
|
|
924
|
+
readonly input: number;
|
|
925
|
+
readonly output: number;
|
|
926
|
+
readonly reasoning: number;
|
|
927
|
+
readonly cache: {
|
|
928
|
+
readonly read: number;
|
|
929
|
+
readonly write: number;
|
|
930
|
+
};
|
|
965
931
|
} | undefined;
|
|
932
|
+
readonly status: "failed";
|
|
933
|
+
readonly reason: "auto" | "manual";
|
|
934
|
+
readonly error: {
|
|
935
|
+
readonly type: string;
|
|
936
|
+
readonly message: string;
|
|
937
|
+
readonly status?: number | undefined;
|
|
938
|
+
readonly response?: {
|
|
939
|
+
readonly body: string;
|
|
940
|
+
} | undefined;
|
|
941
|
+
};
|
|
966
942
|
} | {
|
|
967
943
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
968
|
-
readonly type: "system";
|
|
969
|
-
readonly time: {
|
|
970
|
-
readonly created: import("effect/DateTime").Utc;
|
|
971
|
-
};
|
|
972
|
-
readonly text: string;
|
|
973
|
-
readonly description?: string | undefined;
|
|
974
944
|
readonly metadata?: {
|
|
975
945
|
readonly [x: string]: unknown;
|
|
976
946
|
} | undefined;
|
|
977
|
-
} | {
|
|
978
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
979
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
980
|
-
readonly type: "skill";
|
|
981
947
|
readonly time: {
|
|
982
948
|
readonly created: import("effect/DateTime").Utc;
|
|
983
949
|
};
|
|
984
|
-
readonly
|
|
985
|
-
readonly
|
|
986
|
-
readonly
|
|
987
|
-
readonly [x: string]: unknown;
|
|
988
|
-
} | undefined;
|
|
950
|
+
readonly type: "agent-switched";
|
|
951
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
952
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
989
953
|
} | {
|
|
990
954
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
991
|
-
readonly type: "shell";
|
|
992
|
-
readonly status: "timeout" | "running" | "exited" | "killed";
|
|
993
|
-
readonly command: string;
|
|
994
|
-
readonly time: {
|
|
995
|
-
readonly created: import("effect/DateTime").Utc;
|
|
996
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
997
|
-
};
|
|
998
|
-
readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
999
955
|
readonly metadata?: {
|
|
1000
956
|
readonly [x: string]: unknown;
|
|
1001
957
|
} | undefined;
|
|
1002
|
-
readonly output?: {
|
|
1003
|
-
readonly output: string;
|
|
1004
|
-
readonly cursor: number;
|
|
1005
|
-
readonly size: number;
|
|
1006
|
-
readonly truncated: boolean;
|
|
1007
|
-
} | undefined;
|
|
1008
|
-
readonly exit?: number | undefined;
|
|
1009
|
-
} | {
|
|
1010
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1011
958
|
readonly type: "assistant";
|
|
1012
|
-
readonly
|
|
1013
|
-
readonly created: import("effect/DateTime").Utc;
|
|
1014
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1015
|
-
readonly streamed?: import("effect/DateTime").Utc | undefined;
|
|
1016
|
-
};
|
|
959
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1017
960
|
readonly model: {
|
|
1018
961
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1019
962
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1020
963
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1021
964
|
};
|
|
1022
965
|
readonly content: readonly ({
|
|
1023
|
-
readonly name: string;
|
|
1024
|
-
readonly id: string;
|
|
1025
966
|
readonly type: "tool";
|
|
967
|
+
readonly id: string;
|
|
968
|
+
readonly name: string;
|
|
969
|
+
readonly executed?: boolean | undefined;
|
|
970
|
+
readonly providerState?: {
|
|
971
|
+
readonly [x: string]: unknown;
|
|
972
|
+
} | undefined;
|
|
973
|
+
readonly providerResultState?: {
|
|
974
|
+
readonly [x: string]: unknown;
|
|
975
|
+
} | undefined;
|
|
1026
976
|
readonly state: {
|
|
1027
977
|
readonly status: "streaming";
|
|
1028
978
|
readonly input: string;
|
|
@@ -1072,9 +1022,6 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1072
1022
|
readonly body: string;
|
|
1073
1023
|
} | undefined;
|
|
1074
1024
|
};
|
|
1075
|
-
readonly metadata?: {
|
|
1076
|
-
readonly [x: string]: Schema.Json;
|
|
1077
|
-
} | undefined;
|
|
1078
1025
|
readonly content?: readonly [{
|
|
1079
1026
|
readonly type: "text";
|
|
1080
1027
|
readonly text: string;
|
|
@@ -1092,19 +1039,15 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1092
1039
|
readonly mime: string;
|
|
1093
1040
|
readonly name?: string | undefined;
|
|
1094
1041
|
})[]] | undefined;
|
|
1042
|
+
readonly metadata?: {
|
|
1043
|
+
readonly [x: string]: Schema.Json;
|
|
1044
|
+
} | undefined;
|
|
1095
1045
|
};
|
|
1096
1046
|
readonly time: {
|
|
1097
1047
|
readonly created: import("effect/DateTime").Utc;
|
|
1098
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1099
1048
|
readonly ran?: import("effect/DateTime").Utc | undefined;
|
|
1049
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1100
1050
|
};
|
|
1101
|
-
readonly executed?: boolean | undefined;
|
|
1102
|
-
readonly providerState?: {
|
|
1103
|
-
readonly [x: string]: unknown;
|
|
1104
|
-
} | undefined;
|
|
1105
|
-
readonly providerResultState?: {
|
|
1106
|
-
readonly [x: string]: unknown;
|
|
1107
|
-
} | undefined;
|
|
1108
1051
|
} | {
|
|
1109
1052
|
readonly type: "text";
|
|
1110
1053
|
readonly text: string;
|
|
@@ -1122,29 +1065,17 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1122
1065
|
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1123
1066
|
} | undefined;
|
|
1124
1067
|
})[];
|
|
1125
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1126
|
-
readonly metadata?: {
|
|
1127
|
-
readonly [x: string]: unknown;
|
|
1128
|
-
} | undefined;
|
|
1129
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1130
|
-
readonly error?: {
|
|
1131
|
-
readonly type: string;
|
|
1132
|
-
readonly message: string;
|
|
1133
|
-
readonly status?: number | undefined;
|
|
1134
|
-
readonly response?: {
|
|
1135
|
-
readonly body: string;
|
|
1136
|
-
} | undefined;
|
|
1137
|
-
} | undefined;
|
|
1138
|
-
readonly providerState?: {
|
|
1139
|
-
readonly [x: string]: unknown;
|
|
1140
|
-
} | undefined;
|
|
1141
1068
|
readonly snapshot?: {
|
|
1142
1069
|
readonly start?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1143
1070
|
readonly end?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1144
1071
|
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1145
1072
|
} | undefined;
|
|
1146
|
-
readonly finish?: "
|
|
1073
|
+
readonly finish?: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown" | undefined;
|
|
1147
1074
|
readonly rawFinish?: string | undefined;
|
|
1075
|
+
readonly providerState?: {
|
|
1076
|
+
readonly [x: string]: unknown;
|
|
1077
|
+
} | undefined;
|
|
1078
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1148
1079
|
readonly tokens?: {
|
|
1149
1080
|
readonly input: number;
|
|
1150
1081
|
readonly output: number;
|
|
@@ -1154,6 +1085,14 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1154
1085
|
readonly write: number;
|
|
1155
1086
|
};
|
|
1156
1087
|
} | undefined;
|
|
1088
|
+
readonly error?: {
|
|
1089
|
+
readonly type: string;
|
|
1090
|
+
readonly message: string;
|
|
1091
|
+
readonly status?: number | undefined;
|
|
1092
|
+
readonly response?: {
|
|
1093
|
+
readonly body: string;
|
|
1094
|
+
} | undefined;
|
|
1095
|
+
} | undefined;
|
|
1157
1096
|
readonly retry?: {
|
|
1158
1097
|
readonly attempt: number;
|
|
1159
1098
|
readonly at: import("effect/DateTime").Utc;
|
|
@@ -1166,109 +1105,170 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1166
1105
|
} | undefined;
|
|
1167
1106
|
};
|
|
1168
1107
|
} | undefined;
|
|
1169
|
-
} | {
|
|
1170
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1171
|
-
readonly type: "compaction";
|
|
1172
|
-
readonly status: "running";
|
|
1173
1108
|
readonly time: {
|
|
1174
1109
|
readonly created: import("effect/DateTime").Utc;
|
|
1110
|
+
readonly streamed?: import("effect/DateTime").Utc | undefined;
|
|
1111
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1175
1112
|
};
|
|
1176
|
-
|
|
1177
|
-
readonly
|
|
1178
|
-
readonly recent: string;
|
|
1113
|
+
} | {
|
|
1114
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1179
1115
|
readonly metadata?: {
|
|
1180
1116
|
readonly [x: string]: unknown;
|
|
1181
1117
|
} | undefined;
|
|
1182
|
-
} | {
|
|
1183
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1184
|
-
readonly type: "compaction";
|
|
1185
|
-
readonly status: "completed";
|
|
1186
1118
|
readonly time: {
|
|
1187
1119
|
readonly created: import("effect/DateTime").Utc;
|
|
1188
1120
|
};
|
|
1189
|
-
readonly
|
|
1190
|
-
readonly
|
|
1191
|
-
readonly
|
|
1192
|
-
|
|
1193
|
-
readonly
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1199
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1121
|
+
readonly type: "idle";
|
|
1122
|
+
readonly outcome: "failed" | "interrupted" | "succeeded";
|
|
1123
|
+
readonly error?: {
|
|
1124
|
+
readonly type: string;
|
|
1125
|
+
readonly message: string;
|
|
1126
|
+
readonly status?: number | undefined;
|
|
1127
|
+
readonly response?: {
|
|
1128
|
+
readonly body: string;
|
|
1129
|
+
} | undefined;
|
|
1200
1130
|
} | undefined;
|
|
1201
|
-
|
|
1131
|
+
} | {
|
|
1132
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1133
|
+
readonly metadata?: {
|
|
1202
1134
|
readonly [x: string]: unknown;
|
|
1203
1135
|
} | undefined;
|
|
1204
|
-
readonly
|
|
1205
|
-
readonly
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
readonly
|
|
1214
|
-
|
|
1215
|
-
readonly
|
|
1216
|
-
readonly
|
|
1217
|
-
readonly
|
|
1218
|
-
readonly modelID: string;
|
|
1219
|
-
readonly route: string;
|
|
1220
|
-
readonly protocol: string;
|
|
1221
|
-
readonly endpoint: string;
|
|
1136
|
+
readonly time: {
|
|
1137
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1138
|
+
};
|
|
1139
|
+
readonly type: "location-switched";
|
|
1140
|
+
readonly location: {
|
|
1141
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1142
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1143
|
+
};
|
|
1144
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
1145
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1146
|
+
readonly previous?: {
|
|
1147
|
+
readonly location: {
|
|
1148
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1149
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1222
1150
|
};
|
|
1223
|
-
readonly
|
|
1151
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
1152
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1224
1153
|
} | undefined;
|
|
1225
1154
|
} | {
|
|
1226
1155
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1227
|
-
readonly
|
|
1228
|
-
|
|
1156
|
+
readonly metadata?: {
|
|
1157
|
+
readonly [x: string]: unknown;
|
|
1158
|
+
} | undefined;
|
|
1229
1159
|
readonly time: {
|
|
1230
1160
|
readonly created: import("effect/DateTime").Utc;
|
|
1231
1161
|
};
|
|
1232
|
-
readonly
|
|
1233
|
-
|
|
1234
|
-
readonly
|
|
1235
|
-
readonly
|
|
1236
|
-
readonly
|
|
1237
|
-
readonly body: string;
|
|
1238
|
-
} | undefined;
|
|
1162
|
+
readonly type: "model-switched";
|
|
1163
|
+
readonly model: {
|
|
1164
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1165
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1166
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1239
1167
|
};
|
|
1240
|
-
readonly
|
|
1168
|
+
readonly previous?: {
|
|
1169
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1170
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1171
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1172
|
+
} | undefined;
|
|
1173
|
+
} | {
|
|
1174
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1241
1175
|
readonly metadata?: {
|
|
1242
1176
|
readonly [x: string]: unknown;
|
|
1243
1177
|
} | undefined;
|
|
1244
|
-
readonly
|
|
1245
|
-
readonly
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1178
|
+
readonly type: "shell";
|
|
1179
|
+
readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1180
|
+
readonly command: string;
|
|
1181
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
1182
|
+
readonly exit?: number | undefined;
|
|
1183
|
+
readonly output?: {
|
|
1184
|
+
readonly output: string;
|
|
1185
|
+
readonly cursor: number;
|
|
1186
|
+
readonly size: number;
|
|
1187
|
+
readonly truncated: boolean;
|
|
1253
1188
|
} | undefined;
|
|
1189
|
+
readonly time: {
|
|
1190
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1191
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1192
|
+
};
|
|
1254
1193
|
} | {
|
|
1255
1194
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1256
|
-
readonly
|
|
1195
|
+
readonly metadata?: {
|
|
1196
|
+
readonly [x: string]: unknown;
|
|
1197
|
+
} | undefined;
|
|
1257
1198
|
readonly time: {
|
|
1258
1199
|
readonly created: import("effect/DateTime").Utc;
|
|
1259
1200
|
};
|
|
1260
|
-
readonly
|
|
1201
|
+
readonly type: "skill";
|
|
1202
|
+
readonly skill: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1203
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1204
|
+
readonly text: string;
|
|
1205
|
+
} | {
|
|
1206
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1261
1207
|
readonly metadata?: {
|
|
1262
1208
|
readonly [x: string]: unknown;
|
|
1263
1209
|
} | undefined;
|
|
1264
|
-
readonly
|
|
1265
|
-
readonly
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1210
|
+
readonly time: {
|
|
1211
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1212
|
+
};
|
|
1213
|
+
readonly text: string;
|
|
1214
|
+
readonly description?: string | undefined;
|
|
1215
|
+
readonly type: "synthetic";
|
|
1216
|
+
} | {
|
|
1217
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1218
|
+
readonly metadata?: {
|
|
1219
|
+
readonly [x: string]: unknown;
|
|
1271
1220
|
} | undefined;
|
|
1221
|
+
readonly time: {
|
|
1222
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1223
|
+
};
|
|
1224
|
+
readonly type: "system";
|
|
1225
|
+
readonly text: string;
|
|
1226
|
+
readonly description?: string | undefined;
|
|
1227
|
+
} | {
|
|
1228
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1229
|
+
readonly metadata?: {
|
|
1230
|
+
readonly [x: string]: unknown;
|
|
1231
|
+
} | undefined;
|
|
1232
|
+
readonly time: {
|
|
1233
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1234
|
+
};
|
|
1235
|
+
readonly text: string;
|
|
1236
|
+
readonly files?: readonly {
|
|
1237
|
+
readonly data: string;
|
|
1238
|
+
readonly mime: string;
|
|
1239
|
+
readonly source: {
|
|
1240
|
+
readonly type: "inline";
|
|
1241
|
+
} | {
|
|
1242
|
+
readonly type: "uri";
|
|
1243
|
+
readonly uri: string;
|
|
1244
|
+
};
|
|
1245
|
+
readonly name?: string | undefined;
|
|
1246
|
+
readonly description?: string | undefined;
|
|
1247
|
+
readonly mention?: {
|
|
1248
|
+
readonly start: number;
|
|
1249
|
+
readonly end: number;
|
|
1250
|
+
readonly text: string;
|
|
1251
|
+
} | undefined;
|
|
1252
|
+
}[] | undefined;
|
|
1253
|
+
readonly agents?: readonly {
|
|
1254
|
+
readonly name: string;
|
|
1255
|
+
readonly mention?: {
|
|
1256
|
+
readonly start: number;
|
|
1257
|
+
readonly end: number;
|
|
1258
|
+
readonly text: string;
|
|
1259
|
+
} | undefined;
|
|
1260
|
+
}[] | undefined;
|
|
1261
|
+
readonly skills?: readonly {
|
|
1262
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1263
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1264
|
+
readonly text?: string | undefined;
|
|
1265
|
+
readonly mention?: {
|
|
1266
|
+
readonly start: number;
|
|
1267
|
+
readonly end: number;
|
|
1268
|
+
readonly text: string;
|
|
1269
|
+
} | undefined;
|
|
1270
|
+
}[] | undefined;
|
|
1271
|
+
readonly type: "user";
|
|
1272
1272
|
};
|
|
1273
1273
|
}[];
|
|
1274
1274
|
}, never, never>;
|
|
@@ -1278,173 +1278,123 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1278
1278
|
initial: string;
|
|
1279
1279
|
messages: ({
|
|
1280
1280
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1281
|
-
readonly
|
|
1281
|
+
readonly metadata?: {
|
|
1282
|
+
readonly [x: string]: unknown;
|
|
1283
|
+
} | undefined;
|
|
1282
1284
|
readonly time: {
|
|
1283
1285
|
readonly created: import("effect/DateTime").Utc;
|
|
1284
1286
|
};
|
|
1285
|
-
readonly
|
|
1287
|
+
readonly type: "compaction";
|
|
1288
|
+
readonly status: "running";
|
|
1289
|
+
readonly reason: "auto" | "manual";
|
|
1290
|
+
readonly summary: string;
|
|
1291
|
+
readonly recent: string;
|
|
1292
|
+
} | {
|
|
1293
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1286
1294
|
readonly metadata?: {
|
|
1287
1295
|
readonly [x: string]: unknown;
|
|
1288
1296
|
} | undefined;
|
|
1289
|
-
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
1290
|
-
} | {
|
|
1291
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1292
|
-
readonly type: "model-switched";
|
|
1293
1297
|
readonly time: {
|
|
1294
1298
|
readonly created: import("effect/DateTime").Utc;
|
|
1295
1299
|
};
|
|
1296
|
-
readonly
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
readonly
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
readonly
|
|
1300
|
+
readonly type: "compaction";
|
|
1301
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1302
|
+
readonly tokens?: {
|
|
1303
|
+
readonly input: number;
|
|
1304
|
+
readonly output: number;
|
|
1305
|
+
readonly reasoning: number;
|
|
1306
|
+
readonly cache: {
|
|
1307
|
+
readonly read: number;
|
|
1308
|
+
readonly write: number;
|
|
1309
|
+
};
|
|
1303
1310
|
} | undefined;
|
|
1304
|
-
readonly
|
|
1311
|
+
readonly status: "completed";
|
|
1312
|
+
readonly reason: "auto" | "manual";
|
|
1313
|
+
readonly model?: {
|
|
1305
1314
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1306
1315
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1307
1316
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1308
1317
|
} | undefined;
|
|
1309
|
-
|
|
1310
|
-
readonly location: {
|
|
1311
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1312
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1313
|
-
};
|
|
1314
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1315
|
-
readonly type: "location-switched";
|
|
1316
|
-
readonly time: {
|
|
1317
|
-
readonly created: import("effect/DateTime").Utc;
|
|
1318
|
-
};
|
|
1319
|
-
readonly metadata?: {
|
|
1318
|
+
readonly providerState?: {
|
|
1320
1319
|
readonly [x: string]: unknown;
|
|
1321
1320
|
} | undefined;
|
|
1322
|
-
readonly
|
|
1323
|
-
readonly
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1321
|
+
readonly summary: string;
|
|
1322
|
+
readonly recent: string;
|
|
1323
|
+
readonly providerContext?: {
|
|
1324
|
+
readonly version: 1;
|
|
1325
|
+
readonly provenance: {
|
|
1326
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1327
|
+
readonly provider: string;
|
|
1328
|
+
readonly modelID: string;
|
|
1329
|
+
readonly route: string;
|
|
1330
|
+
readonly protocol: string;
|
|
1331
|
+
readonly endpoint: string;
|
|
1327
1332
|
};
|
|
1328
|
-
readonly
|
|
1329
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1333
|
+
readonly messages: Schema.Json;
|
|
1330
1334
|
} | undefined;
|
|
1331
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1332
1335
|
} | {
|
|
1333
1336
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1334
|
-
readonly type: "user";
|
|
1335
|
-
readonly time: {
|
|
1336
|
-
readonly created: import("effect/DateTime").Utc;
|
|
1337
|
-
};
|
|
1338
|
-
readonly text: string;
|
|
1339
1337
|
readonly metadata?: {
|
|
1340
1338
|
readonly [x: string]: unknown;
|
|
1341
1339
|
} | undefined;
|
|
1342
|
-
readonly files?: readonly {
|
|
1343
|
-
readonly data: string;
|
|
1344
|
-
readonly source: {
|
|
1345
|
-
readonly type: "inline";
|
|
1346
|
-
} | {
|
|
1347
|
-
readonly type: "uri";
|
|
1348
|
-
readonly uri: string;
|
|
1349
|
-
};
|
|
1350
|
-
readonly mime: string;
|
|
1351
|
-
readonly name?: string | undefined;
|
|
1352
|
-
readonly description?: string | undefined;
|
|
1353
|
-
readonly mention?: {
|
|
1354
|
-
readonly start: number;
|
|
1355
|
-
readonly end: number;
|
|
1356
|
-
readonly text: string;
|
|
1357
|
-
} | undefined;
|
|
1358
|
-
}[] | undefined;
|
|
1359
|
-
readonly agents?: readonly {
|
|
1360
|
-
readonly name: string;
|
|
1361
|
-
readonly mention?: {
|
|
1362
|
-
readonly start: number;
|
|
1363
|
-
readonly end: number;
|
|
1364
|
-
readonly text: string;
|
|
1365
|
-
} | undefined;
|
|
1366
|
-
}[] | undefined;
|
|
1367
|
-
readonly skills?: readonly {
|
|
1368
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1369
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1370
|
-
readonly text?: string | undefined;
|
|
1371
|
-
readonly mention?: {
|
|
1372
|
-
readonly start: number;
|
|
1373
|
-
readonly end: number;
|
|
1374
|
-
readonly text: string;
|
|
1375
|
-
} | undefined;
|
|
1376
|
-
}[] | undefined;
|
|
1377
|
-
} | {
|
|
1378
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1379
|
-
readonly type: "synthetic";
|
|
1380
1340
|
readonly time: {
|
|
1381
1341
|
readonly created: import("effect/DateTime").Utc;
|
|
1382
1342
|
};
|
|
1383
|
-
readonly
|
|
1384
|
-
readonly
|
|
1385
|
-
readonly
|
|
1386
|
-
readonly
|
|
1343
|
+
readonly type: "compaction";
|
|
1344
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1345
|
+
readonly tokens?: {
|
|
1346
|
+
readonly input: number;
|
|
1347
|
+
readonly output: number;
|
|
1348
|
+
readonly reasoning: number;
|
|
1349
|
+
readonly cache: {
|
|
1350
|
+
readonly read: number;
|
|
1351
|
+
readonly write: number;
|
|
1352
|
+
};
|
|
1387
1353
|
} | undefined;
|
|
1354
|
+
readonly status: "failed";
|
|
1355
|
+
readonly reason: "auto" | "manual";
|
|
1356
|
+
readonly error: {
|
|
1357
|
+
readonly type: string;
|
|
1358
|
+
readonly message: string;
|
|
1359
|
+
readonly status?: number | undefined;
|
|
1360
|
+
readonly response?: {
|
|
1361
|
+
readonly body: string;
|
|
1362
|
+
} | undefined;
|
|
1363
|
+
};
|
|
1388
1364
|
} | {
|
|
1389
1365
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1390
|
-
readonly type: "system";
|
|
1391
|
-
readonly time: {
|
|
1392
|
-
readonly created: import("effect/DateTime").Utc;
|
|
1393
|
-
};
|
|
1394
|
-
readonly text: string;
|
|
1395
|
-
readonly description?: string | undefined;
|
|
1396
1366
|
readonly metadata?: {
|
|
1397
1367
|
readonly [x: string]: unknown;
|
|
1398
1368
|
} | undefined;
|
|
1399
|
-
} | {
|
|
1400
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1401
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1402
|
-
readonly type: "skill";
|
|
1403
1369
|
readonly time: {
|
|
1404
1370
|
readonly created: import("effect/DateTime").Utc;
|
|
1405
1371
|
};
|
|
1406
|
-
readonly
|
|
1407
|
-
readonly
|
|
1408
|
-
readonly
|
|
1409
|
-
readonly [x: string]: unknown;
|
|
1410
|
-
} | undefined;
|
|
1372
|
+
readonly type: "agent-switched";
|
|
1373
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1374
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
1411
1375
|
} | {
|
|
1412
1376
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1413
|
-
readonly type: "shell";
|
|
1414
|
-
readonly status: "timeout" | "running" | "exited" | "killed";
|
|
1415
|
-
readonly command: string;
|
|
1416
|
-
readonly time: {
|
|
1417
|
-
readonly created: import("effect/DateTime").Utc;
|
|
1418
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1419
|
-
};
|
|
1420
|
-
readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1421
1377
|
readonly metadata?: {
|
|
1422
1378
|
readonly [x: string]: unknown;
|
|
1423
1379
|
} | undefined;
|
|
1424
|
-
readonly
|
|
1425
|
-
|
|
1426
|
-
readonly cursor: number;
|
|
1427
|
-
readonly size: number;
|
|
1428
|
-
readonly truncated: boolean;
|
|
1429
|
-
} | undefined;
|
|
1430
|
-
readonly exit?: number | undefined;
|
|
1431
|
-
} | {
|
|
1432
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1433
|
-
readonly type: "assistant";
|
|
1434
|
-
readonly time: {
|
|
1435
|
-
readonly created: import("effect/DateTime").Utc;
|
|
1436
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1437
|
-
readonly streamed?: import("effect/DateTime").Utc | undefined;
|
|
1438
|
-
};
|
|
1380
|
+
readonly type: "assistant";
|
|
1381
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1439
1382
|
readonly model: {
|
|
1440
1383
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1441
1384
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1442
1385
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1443
1386
|
};
|
|
1444
1387
|
readonly content: readonly ({
|
|
1445
|
-
readonly name: string;
|
|
1446
|
-
readonly id: string;
|
|
1447
1388
|
readonly type: "tool";
|
|
1389
|
+
readonly id: string;
|
|
1390
|
+
readonly name: string;
|
|
1391
|
+
readonly executed?: boolean | undefined;
|
|
1392
|
+
readonly providerState?: {
|
|
1393
|
+
readonly [x: string]: unknown;
|
|
1394
|
+
} | undefined;
|
|
1395
|
+
readonly providerResultState?: {
|
|
1396
|
+
readonly [x: string]: unknown;
|
|
1397
|
+
} | undefined;
|
|
1448
1398
|
readonly state: {
|
|
1449
1399
|
readonly status: "streaming";
|
|
1450
1400
|
readonly input: string;
|
|
@@ -1494,9 +1444,6 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1494
1444
|
readonly body: string;
|
|
1495
1445
|
} | undefined;
|
|
1496
1446
|
};
|
|
1497
|
-
readonly metadata?: {
|
|
1498
|
-
readonly [x: string]: Schema.Json;
|
|
1499
|
-
} | undefined;
|
|
1500
1447
|
readonly content?: readonly [{
|
|
1501
1448
|
readonly type: "text";
|
|
1502
1449
|
readonly text: string;
|
|
@@ -1514,19 +1461,15 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1514
1461
|
readonly mime: string;
|
|
1515
1462
|
readonly name?: string | undefined;
|
|
1516
1463
|
})[]] | undefined;
|
|
1464
|
+
readonly metadata?: {
|
|
1465
|
+
readonly [x: string]: Schema.Json;
|
|
1466
|
+
} | undefined;
|
|
1517
1467
|
};
|
|
1518
1468
|
readonly time: {
|
|
1519
1469
|
readonly created: import("effect/DateTime").Utc;
|
|
1520
|
-
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1521
1470
|
readonly ran?: import("effect/DateTime").Utc | undefined;
|
|
1471
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1522
1472
|
};
|
|
1523
|
-
readonly executed?: boolean | undefined;
|
|
1524
|
-
readonly providerState?: {
|
|
1525
|
-
readonly [x: string]: unknown;
|
|
1526
|
-
} | undefined;
|
|
1527
|
-
readonly providerResultState?: {
|
|
1528
|
-
readonly [x: string]: unknown;
|
|
1529
|
-
} | undefined;
|
|
1530
1473
|
} | {
|
|
1531
1474
|
readonly type: "text";
|
|
1532
1475
|
readonly text: string;
|
|
@@ -1544,29 +1487,17 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1544
1487
|
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1545
1488
|
} | undefined;
|
|
1546
1489
|
})[];
|
|
1547
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1548
|
-
readonly metadata?: {
|
|
1549
|
-
readonly [x: string]: unknown;
|
|
1550
|
-
} | undefined;
|
|
1551
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1552
|
-
readonly error?: {
|
|
1553
|
-
readonly type: string;
|
|
1554
|
-
readonly message: string;
|
|
1555
|
-
readonly status?: number | undefined;
|
|
1556
|
-
readonly response?: {
|
|
1557
|
-
readonly body: string;
|
|
1558
|
-
} | undefined;
|
|
1559
|
-
} | undefined;
|
|
1560
|
-
readonly providerState?: {
|
|
1561
|
-
readonly [x: string]: unknown;
|
|
1562
|
-
} | undefined;
|
|
1563
1490
|
readonly snapshot?: {
|
|
1564
1491
|
readonly start?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1565
1492
|
readonly end?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1566
1493
|
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1567
1494
|
} | undefined;
|
|
1568
|
-
readonly finish?: "
|
|
1495
|
+
readonly finish?: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown" | undefined;
|
|
1569
1496
|
readonly rawFinish?: string | undefined;
|
|
1497
|
+
readonly providerState?: {
|
|
1498
|
+
readonly [x: string]: unknown;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1570
1501
|
readonly tokens?: {
|
|
1571
1502
|
readonly input: number;
|
|
1572
1503
|
readonly output: number;
|
|
@@ -1576,6 +1507,14 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1576
1507
|
readonly write: number;
|
|
1577
1508
|
};
|
|
1578
1509
|
} | undefined;
|
|
1510
|
+
readonly error?: {
|
|
1511
|
+
readonly type: string;
|
|
1512
|
+
readonly message: string;
|
|
1513
|
+
readonly status?: number | undefined;
|
|
1514
|
+
readonly response?: {
|
|
1515
|
+
readonly body: string;
|
|
1516
|
+
} | undefined;
|
|
1517
|
+
} | undefined;
|
|
1579
1518
|
readonly retry?: {
|
|
1580
1519
|
readonly attempt: number;
|
|
1581
1520
|
readonly at: import("effect/DateTime").Utc;
|
|
@@ -1588,109 +1527,170 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1588
1527
|
} | undefined;
|
|
1589
1528
|
};
|
|
1590
1529
|
} | undefined;
|
|
1591
|
-
} | {
|
|
1592
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1593
|
-
readonly type: "compaction";
|
|
1594
|
-
readonly status: "running";
|
|
1595
1530
|
readonly time: {
|
|
1596
1531
|
readonly created: import("effect/DateTime").Utc;
|
|
1532
|
+
readonly streamed?: import("effect/DateTime").Utc | undefined;
|
|
1533
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1597
1534
|
};
|
|
1598
|
-
|
|
1599
|
-
readonly
|
|
1600
|
-
readonly recent: string;
|
|
1535
|
+
} | {
|
|
1536
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1601
1537
|
readonly metadata?: {
|
|
1602
1538
|
readonly [x: string]: unknown;
|
|
1603
1539
|
} | undefined;
|
|
1540
|
+
readonly time: {
|
|
1541
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1542
|
+
};
|
|
1543
|
+
readonly type: "idle";
|
|
1544
|
+
readonly outcome: "failed" | "interrupted" | "succeeded";
|
|
1545
|
+
readonly error?: {
|
|
1546
|
+
readonly type: string;
|
|
1547
|
+
readonly message: string;
|
|
1548
|
+
readonly status?: number | undefined;
|
|
1549
|
+
readonly response?: {
|
|
1550
|
+
readonly body: string;
|
|
1551
|
+
} | undefined;
|
|
1552
|
+
} | undefined;
|
|
1604
1553
|
} | {
|
|
1605
1554
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1606
|
-
readonly
|
|
1607
|
-
|
|
1555
|
+
readonly metadata?: {
|
|
1556
|
+
readonly [x: string]: unknown;
|
|
1557
|
+
} | undefined;
|
|
1608
1558
|
readonly time: {
|
|
1609
1559
|
readonly created: import("effect/DateTime").Utc;
|
|
1610
1560
|
};
|
|
1611
|
-
readonly
|
|
1612
|
-
readonly
|
|
1613
|
-
|
|
1561
|
+
readonly type: "location-switched";
|
|
1562
|
+
readonly location: {
|
|
1563
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1564
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1565
|
+
};
|
|
1566
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
1567
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1568
|
+
readonly previous?: {
|
|
1569
|
+
readonly location: {
|
|
1570
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1571
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1572
|
+
};
|
|
1573
|
+
readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
|
|
1574
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1575
|
+
} | undefined;
|
|
1576
|
+
} | {
|
|
1577
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1614
1578
|
readonly metadata?: {
|
|
1615
1579
|
readonly [x: string]: unknown;
|
|
1616
1580
|
} | undefined;
|
|
1617
|
-
readonly
|
|
1618
|
-
|
|
1581
|
+
readonly time: {
|
|
1582
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1583
|
+
};
|
|
1584
|
+
readonly type: "model-switched";
|
|
1585
|
+
readonly model: {
|
|
1586
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1587
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1588
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1589
|
+
};
|
|
1590
|
+
readonly previous?: {
|
|
1619
1591
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1620
1592
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1621
1593
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1622
1594
|
} | undefined;
|
|
1623
|
-
|
|
1595
|
+
} | {
|
|
1596
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1597
|
+
readonly metadata?: {
|
|
1624
1598
|
readonly [x: string]: unknown;
|
|
1625
1599
|
} | undefined;
|
|
1626
|
-
readonly
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
readonly version: 1;
|
|
1637
|
-
readonly provenance: {
|
|
1638
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1639
|
-
readonly provider: string;
|
|
1640
|
-
readonly modelID: string;
|
|
1641
|
-
readonly route: string;
|
|
1642
|
-
readonly protocol: string;
|
|
1643
|
-
readonly endpoint: string;
|
|
1644
|
-
};
|
|
1645
|
-
readonly messages: Schema.Json;
|
|
1600
|
+
readonly type: "shell";
|
|
1601
|
+
readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1602
|
+
readonly command: string;
|
|
1603
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
1604
|
+
readonly exit?: number | undefined;
|
|
1605
|
+
readonly output?: {
|
|
1606
|
+
readonly output: string;
|
|
1607
|
+
readonly cursor: number;
|
|
1608
|
+
readonly size: number;
|
|
1609
|
+
readonly truncated: boolean;
|
|
1646
1610
|
} | undefined;
|
|
1611
|
+
readonly time: {
|
|
1612
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1613
|
+
readonly completed?: import("effect/DateTime").Utc | undefined;
|
|
1614
|
+
};
|
|
1647
1615
|
} | {
|
|
1648
1616
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1649
|
-
readonly
|
|
1650
|
-
|
|
1617
|
+
readonly metadata?: {
|
|
1618
|
+
readonly [x: string]: unknown;
|
|
1619
|
+
} | undefined;
|
|
1651
1620
|
readonly time: {
|
|
1652
1621
|
readonly created: import("effect/DateTime").Utc;
|
|
1653
1622
|
};
|
|
1654
|
-
readonly
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
} | undefined;
|
|
1661
|
-
};
|
|
1662
|
-
readonly reason: "auto" | "manual";
|
|
1623
|
+
readonly type: "skill";
|
|
1624
|
+
readonly skill: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1625
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1626
|
+
readonly text: string;
|
|
1627
|
+
} | {
|
|
1628
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1663
1629
|
readonly metadata?: {
|
|
1664
1630
|
readonly [x: string]: unknown;
|
|
1665
1631
|
} | undefined;
|
|
1666
|
-
readonly
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
readonly read: number;
|
|
1673
|
-
readonly write: number;
|
|
1674
|
-
};
|
|
1675
|
-
} | undefined;
|
|
1632
|
+
readonly time: {
|
|
1633
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1634
|
+
};
|
|
1635
|
+
readonly text: string;
|
|
1636
|
+
readonly description?: string | undefined;
|
|
1637
|
+
readonly type: "synthetic";
|
|
1676
1638
|
} | {
|
|
1677
1639
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1678
|
-
readonly
|
|
1640
|
+
readonly metadata?: {
|
|
1641
|
+
readonly [x: string]: unknown;
|
|
1642
|
+
} | undefined;
|
|
1679
1643
|
readonly time: {
|
|
1680
1644
|
readonly created: import("effect/DateTime").Utc;
|
|
1681
1645
|
};
|
|
1682
|
-
readonly
|
|
1646
|
+
readonly type: "system";
|
|
1647
|
+
readonly text: string;
|
|
1648
|
+
readonly description?: string | undefined;
|
|
1649
|
+
} | {
|
|
1650
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1683
1651
|
readonly metadata?: {
|
|
1684
1652
|
readonly [x: string]: unknown;
|
|
1685
1653
|
} | undefined;
|
|
1686
|
-
readonly
|
|
1687
|
-
readonly
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1654
|
+
readonly time: {
|
|
1655
|
+
readonly created: import("effect/DateTime").Utc;
|
|
1656
|
+
};
|
|
1657
|
+
readonly text: string;
|
|
1658
|
+
readonly files?: readonly {
|
|
1659
|
+
readonly data: string;
|
|
1660
|
+
readonly mime: string;
|
|
1661
|
+
readonly source: {
|
|
1662
|
+
readonly type: "inline";
|
|
1663
|
+
} | {
|
|
1664
|
+
readonly type: "uri";
|
|
1665
|
+
readonly uri: string;
|
|
1666
|
+
};
|
|
1667
|
+
readonly name?: string | undefined;
|
|
1668
|
+
readonly description?: string | undefined;
|
|
1669
|
+
readonly mention?: {
|
|
1670
|
+
readonly start: number;
|
|
1671
|
+
readonly end: number;
|
|
1672
|
+
readonly text: string;
|
|
1692
1673
|
} | undefined;
|
|
1693
|
-
} | undefined;
|
|
1674
|
+
}[] | undefined;
|
|
1675
|
+
readonly agents?: readonly {
|
|
1676
|
+
readonly name: string;
|
|
1677
|
+
readonly mention?: {
|
|
1678
|
+
readonly start: number;
|
|
1679
|
+
readonly end: number;
|
|
1680
|
+
readonly text: string;
|
|
1681
|
+
} | undefined;
|
|
1682
|
+
}[] | undefined;
|
|
1683
|
+
readonly skills?: readonly {
|
|
1684
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1685
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1686
|
+
readonly text?: string | undefined;
|
|
1687
|
+
readonly mention?: {
|
|
1688
|
+
readonly start: number;
|
|
1689
|
+
readonly end: number;
|
|
1690
|
+
readonly text: string;
|
|
1691
|
+
} | undefined;
|
|
1692
|
+
}[] | undefined;
|
|
1693
|
+
readonly type: "user";
|
|
1694
1694
|
})[];
|
|
1695
1695
|
instructionUpdate: string;
|
|
1696
1696
|
}, Instructions.InitializationBlocked, never>;
|
|
@@ -1699,23 +1699,22 @@ export declare const firstUserMessage: (db: import("../database/drizzle.js").Eff
|
|
|
1699
1699
|
$client: import("effect/sql/SqlClient").SqlClient;
|
|
1700
1700
|
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<{
|
|
1701
1701
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1702
|
-
readonly
|
|
1702
|
+
readonly metadata?: {
|
|
1703
|
+
readonly [x: string]: unknown;
|
|
1704
|
+
} | undefined;
|
|
1703
1705
|
readonly time: {
|
|
1704
1706
|
readonly created: import("effect/DateTime").Utc;
|
|
1705
1707
|
};
|
|
1706
1708
|
readonly text: string;
|
|
1707
|
-
readonly metadata?: {
|
|
1708
|
-
readonly [x: string]: unknown;
|
|
1709
|
-
} | undefined;
|
|
1710
1709
|
readonly files?: readonly {
|
|
1711
1710
|
readonly data: string;
|
|
1711
|
+
readonly mime: string;
|
|
1712
1712
|
readonly source: {
|
|
1713
1713
|
readonly type: "inline";
|
|
1714
1714
|
} | {
|
|
1715
1715
|
readonly type: "uri";
|
|
1716
1716
|
readonly uri: string;
|
|
1717
1717
|
};
|
|
1718
|
-
readonly mime: string;
|
|
1719
1718
|
readonly name?: string | undefined;
|
|
1720
1719
|
readonly description?: string | undefined;
|
|
1721
1720
|
readonly mention?: {
|
|
@@ -1733,8 +1732,8 @@ export declare const firstUserMessage: (db: import("../database/drizzle.js").Eff
|
|
|
1733
1732
|
} | undefined;
|
|
1734
1733
|
}[] | undefined;
|
|
1735
1734
|
readonly skills?: readonly {
|
|
1736
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1737
1735
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1736
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1738
1737
|
readonly text?: string | undefined;
|
|
1739
1738
|
readonly mention?: {
|
|
1740
1739
|
readonly start: number;
|
|
@@ -1742,5 +1741,6 @@ export declare const firstUserMessage: (db: import("../database/drizzle.js").Eff
|
|
|
1742
1741
|
readonly text: string;
|
|
1743
1742
|
} | undefined;
|
|
1744
1743
|
}[] | undefined;
|
|
1744
|
+
readonly type: "user";
|
|
1745
1745
|
} | undefined, never, never>;
|
|
1746
1746
|
export * as SessionHistory from "./history.js";
|