@opencode-ai/core 0.0.0-next-17335 → 0.0.0-next-17352
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 +2 -2
- package/dist/agent.js +81 -80
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +79 -78
- package/dist/catalog.js +88 -87
- package/dist/chunks/{app-02dbfq60.js → reference-02dbfq60.js} +1 -1
- package/dist/chunks/{app-04kwjb53.js → reference-04kwjb53.js} +2 -2
- package/dist/chunks/{app-k1fd56f5.js → reference-0ahbfw43.js} +3 -3
- package/dist/chunks/{app-0kvmztkf.js → reference-0kvmztkf.js} +1 -1
- package/dist/chunks/{app-rmgfhn2t.js → reference-0r325ptc.js} +6 -8
- package/dist/chunks/{app-pf5ypctv.js → reference-0twfhf41.js} +3 -3
- package/dist/chunks/{app-wccqrc8q.js → reference-0vpn76p2.js} +7 -7
- package/dist/chunks/{app-f0hm9ta4.js → reference-0w3p8wtk.js} +3 -3
- package/dist/chunks/{app-8ccp6vnz.js → reference-10wgkwdn.js} +3 -3
- package/dist/chunks/{app-10xtr3be.js → reference-10xtr3be.js} +2 -2
- package/dist/chunks/{app-rw8dscsf.js → reference-142jmgcw.js} +2 -2
- package/dist/chunks/{app-18pv8fg3.js → reference-18pv8fg3.js} +2 -2
- package/dist/chunks/{app-3g53147q.js → reference-1b3hb7bh.js} +25 -25
- package/dist/chunks/{app-1c00jchy.js → reference-1c00jchy.js} +2 -2
- package/dist/chunks/{app-1kvtxahz.js → reference-1kvtxahz.js} +1 -1
- package/dist/chunks/{app-6mhfmmqr.js → reference-1rw9yznt.js} +7 -7
- package/dist/chunks/{app-jee929nm.js → reference-1tt3kzhk.js} +4 -4
- package/dist/chunks/{app-g4hjfc8x.js → reference-1va8kc79.js} +16 -16
- package/dist/chunks/{app-1xksxgzs.js → reference-1xksxgzs.js} +2 -2
- package/dist/chunks/{app-25pxtba7.js → reference-25pxtba7.js} +1 -1
- package/dist/chunks/{app-0x0c3819.js → reference-2a5pgcdp.js} +10 -10
- package/dist/chunks/{app-252pp5t1.js → reference-2eksxpbd.js} +10 -9
- package/dist/chunks/{app-0zc688m1.js → reference-2jqgwvse.js} +6 -6
- package/dist/chunks/{app-2nmyybe0.js → reference-2nmyybe0.js} +1 -1
- package/dist/chunks/{app-36tebsy3.js → reference-2q9vhfrb.js} +3 -3
- package/dist/chunks/{app-b1nq29k7.js → reference-2vj565bv.js} +9 -9
- package/dist/chunks/{app-0wexhvt6.js → reference-2w8fz7g4.js} +17 -17
- package/dist/chunks/{app-btqsvsd6.js → reference-33frbrb9.js} +10 -10
- package/dist/chunks/{app-37rcj8p3.js → reference-37rcj8p3.js} +3 -3
- package/dist/chunks/{app-3mfgaav1.js → reference-3mfgaav1.js} +4 -4
- package/dist/chunks/{app-3thh6229.js → reference-3thh6229.js} +2 -2
- package/dist/chunks/{app-qhsy44x4.js → reference-3tsvr8ys.js} +2 -2
- package/dist/chunks/{app-3vh42rcr.js → reference-3vh42rcr.js} +2 -2
- package/dist/chunks/{app-3w0f1yxt.js → reference-3w0f1yxt.js} +3 -3
- package/dist/chunks/{app-z7px8c9g.js → reference-3z8zh7we.js} +1 -1
- package/dist/chunks/{app-cbq8p2qc.js → reference-40q4eyrh.js} +7 -7
- package/dist/chunks/{app-nvhb2pkk.js → reference-435eewn3.js} +10 -10
- package/dist/chunks/{app-k3514hrr.js → reference-4ajev0fj.js} +12 -12
- package/dist/chunks/{app-b7rr85c4.js → reference-4fmj33j1.js} +14 -14
- package/dist/chunks/{app-52vrdvh3.js → reference-4msn358y.js} +3 -3
- package/dist/chunks/{app-4s2xwh5d.js → reference-4s2xwh5d.js} +3 -3
- package/dist/chunks/{app-4zzdwbaz.js → reference-4zzdwbaz.js} +2 -2
- package/dist/chunks/{app-50jxp3hw.js → reference-50jxp3hw.js} +1 -1
- package/dist/chunks/{app-52jzav25.js → reference-52jzav25.js} +1 -1
- package/dist/chunks/{app-56p2m126.js → reference-56p2m126.js} +1 -1
- package/dist/chunks/{app-57tzwnz4.js → reference-57tzwnz4.js} +1 -1
- package/dist/chunks/{app-qcga4k7k.js → reference-5bkzctyf.js} +3 -3
- package/dist/chunks/{app-9q0jhgvd.js → reference-5fvy871a.js} +6 -6
- package/dist/chunks/{app-16hvwqqz.js → reference-5ke3bvg8.js} +7 -7
- package/dist/chunks/{app-5p2sx24b.js → reference-5p2sx24b.js} +3 -3
- package/dist/chunks/{app-5pfeh60c.js → reference-5pfeh60c.js} +2 -2
- package/dist/chunks/{app-h0cv54ja.js → reference-5qsmpab3.js} +3 -3
- package/dist/chunks/{app-rr93phqw.js → reference-5rcfqd2k.js} +17 -9
- package/dist/chunks/{app-5rs65q6p.js → reference-5rs65q6p.js} +1 -1
- package/dist/chunks/{app-5sgbvx3z.js → reference-5sgbvx3z.js} +2 -2
- package/dist/chunks/{app-nvt1z2n1.js → reference-6a1qk488.js} +5 -5
- package/dist/chunks/{app-6sc9h3ca.js → reference-6sc9h3ca.js} +1 -1
- package/dist/chunks/{app-706a4azd.js → reference-706a4azd.js} +1 -1
- package/dist/chunks/{app-0c808nm7.js → reference-70ybe7yx.js} +8 -8
- package/dist/chunks/{app-6b17dp15.js → reference-799bs47s.js} +28 -28
- package/dist/chunks/{app-7mpw7j43.js → reference-7mpw7j43.js} +2 -2
- package/dist/chunks/{app-7mrpdsq5.js → reference-7mrpdsq5.js} +1 -1
- package/dist/chunks/{app-7wcmqxrc.js → reference-7wcmqxrc.js} +1 -1
- package/dist/chunks/{app-857g7h76.js → reference-857g7h76.js} +1 -1
- package/dist/chunks/{app-88jbfw8z.js → reference-88jbfw8z.js} +2 -2
- package/dist/chunks/{app-jr4jm25g.js → reference-88mbd3pa.js} +6 -6
- package/dist/chunks/{app-ax7h47s0.js → reference-8deng6ac.js} +11 -11
- package/dist/chunks/{app-pkmtn0sf.js → reference-8qb9yj5m.js} +5 -5
- package/dist/chunks/{app-8ywqk2j9.js → reference-8ywqk2j9.js} +1 -1
- package/dist/chunks/{app-93qdgxxd.js → reference-93qdgxxd.js} +1 -1
- package/dist/chunks/{app-hycs162w.js → reference-94r3nz7x.js} +7 -7
- package/dist/chunks/{app-999qd968.js → reference-999qd968.js} +1 -1
- package/dist/chunks/{app-zvvp2xr4.js → reference-9d2xhdr4.js} +16 -4
- package/dist/chunks/{app-cce40zk2.js → reference-9edq1p2k.js} +10 -10
- package/dist/chunks/{app-9f0rnpkn.js → reference-9f0rnpkn.js} +1 -1
- package/dist/chunks/{app-9q1hedyj.js → reference-9q1hedyj.js} +2 -2
- package/dist/chunks/{app-9r0qzhnf.js → reference-9r0qzhnf.js} +2 -2
- package/dist/chunks/{app-h6m5zw2k.js → reference-9vvphcxz.js} +16 -22
- package/dist/chunks/{app-919a3qrk.js → reference-a1yfgfxd.js} +11 -10
- package/dist/chunks/{app-3wtzjxz9.js → reference-a45m9evq.js} +7 -7
- package/dist/chunks/{app-a65h300v.js → reference-a65h300v.js} +2 -2
- package/dist/chunks/{app-q516cnfv.js → reference-ad2krp6r.js} +2 -2
- package/dist/chunks/{app-dbt02g4j.js → reference-as9y05z6.js} +128 -25
- package/dist/chunks/{app-tmw2qnje.js → reference-awd7f7m5.js} +3 -3
- package/dist/chunks/{app-ayfwnm78.js → reference-ayfwnm78.js} +2 -2
- package/dist/chunks/{app-07879qbe.js → reference-b405tpch.js} +11 -11
- package/dist/chunks/{app-k9vaxxg2.js → reference-bah8azbn.js} +4 -4
- package/dist/chunks/{app-kbysj895.js → reference-bdtjah9g.js} +4 -4
- package/dist/chunks/{app-c248mbrs.js → reference-br7xyjpc.js} +17 -17
- package/dist/chunks/{app-byab506k.js → reference-byab506k.js} +1 -1
- package/dist/chunks/{app-b9g863e8.js → reference-cgbz67x9.js} +5 -5
- package/dist/chunks/{app-cgvnqv92.js → reference-cgvnqv92.js} +1 -1
- package/dist/chunks/{app-cwrt32y2.js → reference-cxsk3q7a.js} +12 -12
- package/dist/chunks/{app-cz3dkvcz.js → reference-cz3dkvcz.js} +1 -1
- package/dist/chunks/{app-d076mabj.js → reference-d076mabj.js} +2 -2
- package/dist/chunks/{app-d6vvk673.js → reference-d6vvk673.js} +1 -1
- package/dist/chunks/{app-ddn74qps.js → reference-ddn74qps.js} +2 -2
- package/dist/chunks/{app-a6wcc54f.js → reference-ddwn3k72.js} +5 -5
- package/dist/chunks/{app-4z5dpnsv.js → reference-dg44e9jb.js} +3 -3
- package/dist/chunks/{app-dhphtf1x.js → reference-dhphtf1x.js} +1 -1
- package/dist/chunks/{app-6jdj5f9n.js → reference-dkmkay92.js} +1 -1
- package/dist/chunks/{app-e1z9a0ts.js → reference-e1z9a0ts.js} +2 -2
- package/dist/chunks/{app-ed4jjjcc.js → reference-ed4jjjcc.js} +2 -2
- package/dist/chunks/{app-g7k2wtxy.js → reference-eemxqj3v.js} +9 -9
- package/dist/chunks/reference-emmqknsm.js +26 -0
- package/dist/chunks/{app-erj4j75s.js → reference-erj4j75s.js} +1 -1
- package/dist/chunks/{app-eyk9wdct.js → reference-eyk9wdct.js} +2 -2
- package/dist/chunks/{app-n981m8zt.js → reference-ezxfb7tv.js} +8 -8
- package/dist/chunks/{app-f05p34aa.js → reference-f05p34aa.js} +3 -3
- package/dist/chunks/{app-x8422b88.js → reference-f8bd8r5v.js} +2 -2
- package/dist/chunks/{app-42pr6m4v.js → reference-fcdftrap.js} +3 -3
- package/dist/chunks/{app-1av9tmz1.js → reference-fet11qj6.js} +10 -10
- package/dist/chunks/{app-r2wy0t7z.js → reference-fkry7ef9.js} +10 -10
- package/dist/chunks/{app-fm1nvm5g.js → reference-fm1nvm5g.js} +1 -1
- package/dist/chunks/{app-mymjj5q2.js → reference-fmc2ak4k.js} +5 -5
- package/dist/chunks/{app-fmyre8m1.js → reference-fmyre8m1.js} +1 -1
- package/dist/chunks/{app-g9yygpzr.js → reference-g9yygpzr.js} +1 -1
- package/dist/chunks/{app-z3s38tr7.js → reference-gc5p999t.js} +10 -10
- package/dist/chunks/{app-gcay93cp.js → reference-gcay93cp.js} +1 -1
- package/dist/chunks/{app-8jyw9g1t.js → reference-gcg3cmms.js} +4 -4
- package/dist/chunks/{app-gd2xppx8.js → reference-gd2xppx8.js} +1 -1
- package/dist/chunks/{app-gm8kdh5e.js → reference-gm8kdh5e.js} +2 -2
- package/dist/chunks/{app-hrrkwtqv.js → reference-gw5yyv61.js} +3 -3
- package/dist/chunks/{app-6n33d2zt.js → reference-h43a3dj0.js} +13 -13
- package/dist/chunks/{app-h8ecejt5.js → reference-h8ecejt5.js} +1 -1
- package/dist/chunks/{app-9649hqw4.js → reference-hbq9w65g.js} +3 -3
- package/dist/chunks/{app-gkgbt54r.js → reference-hdvk6zr0.js} +46 -61
- package/dist/chunks/{app-4vnzazhe.js → reference-hfnpfkep.js} +2 -2
- package/dist/chunks/{app-4dkvetqj.js → reference-hv9tmagq.js} +4 -4
- package/dist/chunks/{app-r8b3p74h.js → reference-hxvjx7ye.js} +13 -13
- package/dist/chunks/{app-7enhmwwz.js → reference-j1x2cr1a.js} +5 -5
- package/dist/chunks/{app-fep56512.js → reference-jeaznf79.js} +2 -2
- package/dist/chunks/{app-hy0hzg1s.js → reference-jkrm4ad7.js} +14 -0
- package/dist/chunks/{app-jssy2dr3.js → reference-jssy2dr3.js} +2 -2
- package/dist/chunks/{app-32qpwhyq.js → reference-jwxddreg.js} +8 -8
- package/dist/chunks/{app-7g9bp7zy.js → reference-jzzxdhtx.js} +5 -5
- package/dist/chunks/{app-kcwh27nh.js → reference-kcwh27nh.js} +3 -3
- package/dist/chunks/{app-89nbqv4e.js → reference-kfgmehra.js} +3 -3
- package/dist/chunks/{app-kg1345f7.js → reference-kg1345f7.js} +1 -1
- package/dist/chunks/{app-4mgz5nw6.js → reference-kk05hq7e.js} +3 -3
- package/dist/chunks/{app-zz7g7dgq.js → reference-kmeqvb5y.js} +118 -118
- package/dist/chunks/{app-1zkaz7gr.js → reference-krp1f6mt.js} +4 -4
- package/dist/chunks/{app-m01ryvbe.js → reference-m01ryvbe.js} +1 -1
- package/dist/chunks/{app-yt47r5db.js → reference-m02z7q4j.js} +2 -2
- package/dist/chunks/{app-hskb502a.js → reference-m0j7p73q.js} +5 -5
- package/dist/chunks/{app-65jpn00m.js → reference-m4kggx5r.js} +9 -9
- package/dist/chunks/{app-q8bcfd62.js → reference-m5qvwjgq.js} +5 -5
- package/dist/chunks/{app-swj91yr9.js → reference-m7v56cje.js} +5 -5
- package/dist/chunks/{app-d8b8z25p.js → reference-m8g3wtr2.js} +19 -19
- package/dist/chunks/reference-mafn19y6.js +286 -0
- package/dist/chunks/{app-mf0hyk7z.js → reference-mf0hyk7z.js} +1 -1
- package/dist/chunks/{app-7cqmh9qy.js → reference-ms43n4b7.js} +10 -10
- package/dist/chunks/{app-mwceq5am.js → reference-mwceq5am.js} +1 -1
- package/dist/chunks/{app-wvfrhbat.js → reference-n5t84ax5.js} +6 -6
- package/dist/chunks/{app-mq5kc9na.js → reference-n7vwmnv3.js} +2 -2
- package/dist/chunks/{app-gq874kak.js → reference-nagej5vs.js} +3 -3
- package/dist/chunks/{app-nesb2rcz.js → reference-nesb2rcz.js} +2 -2
- package/dist/chunks/{app-h127s9vy.js → reference-nj68qcyf.js} +3 -3
- package/dist/chunks/{app-nr76rjj3.js → reference-nr76rjj3.js} +2 -2
- package/dist/chunks/{app-nv7zjdpe.js → reference-nv7zjdpe.js} +2 -2
- package/dist/chunks/{app-4wxpfswd.js → reference-nzgkkgx7.js} +4 -4
- package/dist/chunks/{app-nzrjycs5.js → reference-nzrjycs5.js} +1 -1
- package/dist/chunks/{app-y3fchm6z.js → reference-pa8xqpx5.js} +4 -4
- package/dist/chunks/{app-0b9mz2zz.js → reference-parx81xx.js} +9 -9
- package/dist/chunks/{app-pfqehjmy.js → reference-pfqehjmy.js} +2 -2
- package/dist/chunks/{app-ph1me6ah.js → reference-ph1me6ah.js} +2 -2
- package/dist/chunks/{app-00r41jbj.js → reference-ppcbz24r.js} +2 -2
- package/dist/chunks/{app-pq4b4pqk.js → reference-pq4b4pqk.js} +2 -2
- package/dist/chunks/{app-prf9bavk.js → reference-prf9bavk.js} +3 -3
- package/dist/chunks/{app-5cpn88d0.js → reference-pwg39feg.js} +9 -9
- package/dist/chunks/{app-q4r4pzs4.js → reference-q4r4pzs4.js} +1 -1
- package/dist/chunks/{app-gg81f3tc.js → reference-q7x48rgf.js} +96 -57
- package/dist/chunks/{app-nkhdtsyw.js → reference-q8skn3wz.js} +5 -5
- package/dist/chunks/{app-qe0d689s.js → reference-qe0d689s.js} +2 -2
- package/dist/chunks/{app-bwd9fce7.js → reference-qp32zw9w.js} +11 -11
- package/dist/chunks/{app-r3k9abhd.js → reference-r3k9abhd.js} +2 -2
- package/dist/chunks/{app-ddfcha7d.js → reference-r468md4e.js} +9 -9
- package/dist/chunks/{app-r1pn2q79.js → reference-ragd67k7.js} +4 -4
- package/dist/chunks/{app-fky33s4r.js → reference-raqny5dr.js} +4 -4
- package/dist/chunks/{app-j99cspxn.js → reference-re4sagta.js} +8 -8
- package/dist/chunks/{app-rqswsgbs.js → reference-rqswsgbs.js} +2 -2
- package/dist/chunks/{app-rt6yg6j2.js → reference-rt6yg6j2.js} +2 -2
- package/dist/chunks/{app-gzfr2944.js → reference-rvh7acxf.js} +5 -5
- package/dist/chunks/{app-s1t3svdm.js → reference-rxktp9jg.js} +2 -2
- package/dist/chunks/{app-ryap75b3.js → reference-ryap75b3.js} +1 -1
- package/dist/chunks/{app-s6by3cc4.js → reference-s6by3cc4.js} +3 -3
- package/dist/chunks/{app-1qjjrk1p.js → reference-s7ge054a.js} +3 -3
- package/dist/chunks/{app-s9f13v9h.js → reference-s9f13v9h.js} +1 -1
- package/dist/chunks/{app-smpeg8c9.js → reference-smpeg8c9.js} +2 -2
- package/dist/chunks/{app-r3sk35vx.js → reference-ssr9we49.js} +6 -6
- package/dist/chunks/{app-szax8zgv.js → reference-szax8zgv.js} +2 -2
- package/dist/chunks/{app-szjq6xea.js → reference-szjq6xea.js} +2 -2
- package/dist/chunks/{app-t2j2ttmx.js → reference-t2j2ttmx.js} +1 -1
- package/dist/chunks/{app-vg1a9k54.js → reference-t9ykzkfk.js} +2 -2
- package/dist/chunks/{app-tcn24h1d.js → reference-tcn24h1d.js} +1 -1
- package/dist/chunks/{app-tdm3rp2k.js → reference-tdm3rp2k.js} +1 -1
- package/dist/chunks/{app-tenv3kfs.js → reference-tenv3kfs.js} +2 -2
- package/dist/chunks/{app-thstd87d.js → reference-thstd87d.js} +1 -1
- package/dist/chunks/{app-j3wx22ze.js → reference-tketg602.js} +5 -5
- package/dist/chunks/{app-877b6jx2.js → reference-tnxdzkd0.js} +96 -91
- package/dist/chunks/{app-rwmb2jmq.js → reference-trnqtxbp.js} +7 -7
- package/dist/chunks/{app-ts4t4v20.js → reference-ts4t4v20.js} +2 -2
- package/dist/chunks/{app-jnasrsc7.js → reference-ty736602.js} +1 -1
- package/dist/chunks/{app-tyh0a1hs.js → reference-tyh0a1hs.js} +3 -3
- package/dist/chunks/{app-v972xay6.js → reference-v972xay6.js} +1 -1
- package/dist/chunks/{app-v9bfv94f.js → reference-v9bfv94f.js} +1 -1
- package/dist/chunks/{app-nbmzf26a.js → reference-vee19c4k.js} +9 -9
- package/dist/chunks/{app-eyz27an3.js → reference-vkcgdr6q.js} +27 -27
- package/dist/chunks/{app-pn5zyfhy.js → reference-vy5waj3h.js} +30 -28
- package/dist/chunks/{app-5q2kjf44.js → reference-vymehp3g.js} +9 -9
- package/dist/chunks/{app-vynn1k31.js → reference-vynn1k31.js} +2 -2
- package/dist/chunks/{app-vz89hfgr.js → reference-vz89hfgr.js} +1 -1
- package/dist/chunks/{app-qbcccd0j.js → reference-vzmz3vzs.js} +9 -9
- package/dist/chunks/{app-qr7ehfkw.js → reference-vzvwwv7p.js} +3 -3
- package/dist/chunks/{app-0a78htpv.js → reference-w0fk9jw9.js} +2 -2
- package/dist/chunks/{app-bwnsmz26.js → reference-w4725xhf.js} +33 -33
- package/dist/chunks/{app-wd268jeg.js → reference-wd268jeg.js} +1 -1
- package/dist/chunks/{app-we2zmhe4.js → reference-we2zmhe4.js} +2 -2
- package/dist/chunks/{app-wf37p1a1.js → reference-wf37p1a1.js} +1 -1
- package/dist/chunks/{app-wmxdh12w.js → reference-wmxdh12w.js} +1 -1
- package/dist/chunks/{app-wps8gh8n.js → reference-wps8gh8n.js} +2 -2
- package/dist/chunks/{app-x621qyqy.js → reference-wr2q50dv.js} +12 -12
- package/dist/chunks/{app-wt193r4g.js → reference-wt193r4g.js} +1 -1
- package/dist/chunks/{app-h7sbsfdh.js → reference-x5djb2xc.js} +86 -82
- package/dist/chunks/{app-m61gmzrm.js → reference-x86ps226.js} +4 -4
- package/dist/chunks/{app-xfd1xnk3.js → reference-xfd1xnk3.js} +2 -2
- package/dist/chunks/{app-xfrawapx.js → reference-xfrawapx.js} +1 -1
- package/dist/chunks/{app-1pg50nan.js → reference-xg37s3rp.js} +12 -12
- package/dist/chunks/{app-gfkf25t4.js → reference-xg8aqthm.js} +8 -8
- package/dist/chunks/{app-xgv25zxy.js → reference-xgv25zxy.js} +1 -1
- package/dist/chunks/{app-pr8fgr91.js → reference-xjf70e83.js} +5 -5
- package/dist/chunks/{app-xq1vkeee.js → reference-xq1vkeee.js} +2 -2
- package/dist/chunks/{app-xwftk1fd.js → reference-xwftk1fd.js} +2 -2
- package/dist/chunks/{app-3tzbq4td.js → reference-xy74thcm.js} +19 -17
- package/dist/chunks/{app-y0x38cee.js → reference-y0x38cee.js} +1 -1
- package/dist/chunks/{app-y67x6rf6.js → reference-y67x6rf6.js} +1 -1
- package/dist/chunks/{app-55vp0eqg.js → reference-y6g141qz.js} +58 -58
- package/dist/chunks/{app-3ep6e3ar.js → reference-y7fd0997.js} +5 -5
- package/dist/chunks/{app-y8rs54ne.js → reference-y8rs54ne.js} +1 -1
- package/dist/chunks/{app-a3xgesk5.js → reference-y980s7ka.js} +5 -5
- package/dist/chunks/{app-yz0wm9s3.js → reference-yz0wm9s3.js} +2 -2
- package/dist/chunks/{app-695htgsm.js → reference-z81xkjhs.js} +10 -10
- package/dist/chunks/{app-zbqqnp0n.js → reference-zbqqnp0n.js} +1 -1
- package/dist/chunks/{app-zdkg1k91.js → reference-zdkg1k91.js} +1 -1
- package/dist/chunks/{app-0jgdtkpr.js → reference-zfx0tmdd.js} +3 -3
- package/dist/chunks/{app-zfxc0ze5.js → reference-zfxc0ze5.js} +1 -1
- package/dist/chunks/{app-15bemh33.js → reference-zt5v913r.js} +5 -5
- package/dist/chunks/{app-zthe9zqc.js → reference-zthe9zqc.js} +1 -1
- package/dist/chunks/{app-2t9pncaj.js → reference-zzn46khp.js} +83 -83
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +129 -128
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +130 -129
- package/dist/config/plugin/command.js +131 -130
- package/dist/config/plugin/instruction.js +86 -85
- package/dist/config/plugin/policy.js +111 -110
- package/dist/config/plugin/provider.js +110 -109
- package/dist/config/plugin/reference.js +114 -113
- package/dist/config/plugin/skill-file.js +103 -102
- package/dist/config/plugin/skill.js +133 -132
- package/dist/config/plugin/source.js +110 -109
- package/dist/config/plugin/websearch.js +110 -109
- package/dist/config/variable.js +4 -4
- package/dist/config.js +109 -108
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +69 -68
- package/dist/database/database.js +66 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
- package/dist/database/drizzle/effect-sqlite/index.js +16 -16
- package/dist/database/drizzle/effect-sqlite/migrator.js +15 -15
- package/dist/database/drizzle/effect-sqlite/session.js +15 -15
- package/dist/database/drizzle/index.js +18 -18
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +23 -23
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +14 -14
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle/up-migrations/effect-sqlite.js +4 -4
- package/dist/database/drizzle/up-migrations/sqlite.js +3 -3
- package/dist/database/drizzle/up-migrations/utils.js +2 -2
- package/dist/database/drizzle.js +19 -19
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +7 -0
- package/dist/database/migration.gen.js +45 -44
- package/dist/database/migration.js +47 -46
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +78 -77
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +311 -310
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +85 -84
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +87 -86
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +25 -0
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +79 -78
- package/dist/file-mutation.js +86 -85
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher.js +110 -109
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +90 -89
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +90 -89
- package/dist/form.js +80 -79
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +112 -111
- package/dist/generate.js +93 -92
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +19 -19
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +3 -3
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +12 -12
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/local-shell.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +123 -122
- package/dist/image.js +123 -122
- package/dist/instruction-discovery.js +82 -81
- package/dist/instructions/builtins.js +80 -79
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +85 -84
- package/dist/job.js +4 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +69 -68
- package/dist/location-mutation.js +78 -77
- package/dist/location-service-map.js +78 -77
- package/dist/location-services.js +311 -310
- package/dist/location.js +77 -76
- package/dist/mcp/client.js +87 -86
- package/dist/mcp/index.js +126 -125
- package/dist/mcp/instructions.js +154 -153
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -85
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +91 -90
- package/dist/model.js +3 -3
- package/dist/models-dev.js +85 -84
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +78 -77
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +100 -99
- package/dist/plugin/agent.js +101 -100
- package/dist/plugin/command.js +78 -77
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +185 -184
- package/dist/plugin/internal.js +271 -270
- package/dist/plugin/models-dev.js +86 -85
- package/dist/plugin/plan.js +83 -82
- package/dist/plugin/promise.js +145 -144
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +117 -116
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +115 -114
- package/dist/plugin/provider/deepinfra.js +3 -3
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +92 -91
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/groq.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +87 -86
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +89 -88
- package/dist/plugin/provider/opencode.js +102 -101
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/togetherai.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/xai.js +87 -86
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +153 -152
- package/dist/plugin/runtime.js +176 -175
- package/dist/plugin/sdk.js +80 -79
- package/dist/plugin/skill.js +131 -130
- package/dist/plugin/supervisor.js +276 -275
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/warming.js +111 -110
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin.js +186 -185
- package/dist/project/copy-strategies.js +81 -80
- package/dist/project/copy.js +81 -80
- package/dist/project/directories.js +72 -71
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +76 -75
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +71 -70
- package/dist/pty.js +113 -112
- package/dist/question.js +81 -80
- package/dist/reference/instructions.js +85 -84
- package/dist/reference.js +83 -82
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +88 -87
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +147 -146
- package/dist/session/context.js +284 -283
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +116 -115
- package/dist/session/execution.js +116 -115
- package/dist/session/generate-node.js +290 -289
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +78 -77
- package/dist/session/inbox.js +147 -0
- package/dist/session/info.js +88 -87
- package/dist/session/instruction-entry.js +74 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +97 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-headers.js +4 -4
- package/dist/session/model-http.js +4 -4
- package/dist/session/model-request.js +292 -291
- package/dist/session/projector.js +96 -95
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/prompt-cache-key.js +3 -3
- package/dist/session/revert.js +115 -114
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +94 -93
- package/dist/session/runner/llm.js +300 -299
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +93 -92
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +83 -82
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +8 -6
- package/dist/session/store.js +96 -95
- package/dist/session/title.js +113 -112
- package/dist/session/to-session-error.js +112 -111
- package/dist/session/transfer.js +180 -179
- package/dist/session/usage.js +2 -2
- package/dist/session.js +177 -176
- package/dist/shell/parse.js +4 -4
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/select.js +3 -3
- package/dist/shell.js +122 -121
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +102 -101
- package/dist/skill.js +101 -100
- package/dist/snapshot.js +110 -109
- package/dist/state.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +153 -152
- package/dist/tool/plugin/edit.js +140 -139
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +112 -111
- package/dist/tool/plugin/grep.js +112 -111
- package/dist/tool/plugin/patch.js +139 -138
- package/dist/tool/plugin/question.js +103 -102
- package/dist/tool/plugin/read.js +115 -114
- package/dist/tool/plugin/shell.js +180 -179
- package/dist/tool/plugin/skill.js +102 -101
- package/dist/tool/plugin/subagent.js +177 -176
- package/dist/tool/plugin/webfetch.js +102 -101
- package/dist/tool/plugin/websearch.js +105 -104
- package/dist/tool/plugin/write.js +140 -139
- package/dist/tool/read-filesystem.js +92 -91
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +111 -110
- package/dist/tool.js +144 -143
- package/dist/types/bus.d.ts +9 -0
- package/dist/types/database/migration/20260812181746_session_inbox.d.ts +3 -0
- package/dist/types/environment/unavailable.d.ts +20 -0
- package/dist/types/mcp/index.d.ts +0 -2
- package/dist/types/plugin/host.d.ts +6 -6
- package/dist/types/session/compaction.d.ts +1 -0
- package/dist/types/session/{pending.d.ts → inbox.d.ts} +263 -50
- package/dist/types/session/sql.d.ts +122 -3
- package/dist/types/session.d.ts +19 -17
- package/dist/types/shell.d.ts +2 -1
- package/dist/types/tool.d.ts +1 -1
- package/dist/util/array.js +1 -1
- package/dist/util/binary.js +1 -1
- package/dist/util/encode.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/path.js +1 -1
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/retry.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/git.js +3 -3
- package/dist/vcs/hg.js +3 -3
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +83 -82
- package/dist/websearch.js +83 -82
- package/dist/wellknown/plugin.js +83 -82
- package/dist/wellknown.js +82 -81
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +70 -69
- package/package.json +7 -7
- package/dist/chunks/app-dv3j3vqm.js +0 -309
- package/dist/session/pending.js +0 -142
- /package/dist/chunks/{app-0cgt0xh2.js → reference-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{app-0f48qthw.js → reference-0f48qthw.js} +0 -0
- /package/dist/chunks/{app-0zz82cjq.js → reference-0zz82cjq.js} +0 -0
- /package/dist/chunks/{app-1fb7bmpf.js → reference-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{app-1wcz8fvj.js → reference-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{app-2qdx6zz3.js → reference-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{app-3c4nztf9.js → reference-3c4nztf9.js} +0 -0
- /package/dist/chunks/{app-3g3rpp2x.js → reference-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{app-3q6gbwmd.js → reference-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{app-3w3ybtfd.js → reference-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{app-47ty4mvs.js → reference-47ty4mvs.js} +0 -0
- /package/dist/chunks/{app-4b2tz2m9.js → reference-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{app-5a5ch9ts.js → reference-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{app-5va1yh78.js → reference-5va1yh78.js} +0 -0
- /package/dist/chunks/{app-69qrqpw0.js → reference-69qrqpw0.js} +0 -0
- /package/dist/chunks/{app-6jtjggv5.js → reference-6jtjggv5.js} +0 -0
- /package/dist/chunks/{app-6yt963b8.js → reference-6yt963b8.js} +0 -0
- /package/dist/chunks/{app-7n9qwqk4.js → reference-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{app-8m0qaa0v.js → reference-8m0qaa0v.js} +0 -0
- /package/dist/chunks/{app-8nn8kqcn.js → reference-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{app-8sj3ajy5.js → reference-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{app-8w9tzfz1.js → reference-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{app-906y0b6d.js → reference-906y0b6d.js} +0 -0
- /package/dist/chunks/{app-9dct5xhx.js → reference-9dct5xhx.js} +0 -0
- /package/dist/chunks/{app-9sdtsapf.js → reference-9sdtsapf.js} +0 -0
- /package/dist/chunks/{app-a02svayp.js → reference-a02svayp.js} +0 -0
- /package/dist/chunks/{app-a83yvq99.js → reference-a83yvq99.js} +0 -0
- /package/dist/chunks/{app-ayevdmef.js → reference-ayevdmef.js} +0 -0
- /package/dist/chunks/{app-b02txbh8.js → reference-b02txbh8.js} +0 -0
- /package/dist/chunks/{app-bbqs2y60.js → reference-bbqs2y60.js} +0 -0
- /package/dist/chunks/{app-brsh5f65.js → reference-brsh5f65.js} +0 -0
- /package/dist/chunks/{app-bxdhjb3y.js → reference-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{app-c77ad0vh.js → reference-c77ad0vh.js} +0 -0
- /package/dist/chunks/{app-cm67rqy2.js → reference-cm67rqy2.js} +0 -0
- /package/dist/chunks/{app-d6s8p2vk.js → reference-d6s8p2vk.js} +0 -0
- /package/dist/chunks/{app-dbah77c1.js → reference-dbah77c1.js} +0 -0
- /package/dist/chunks/{app-df3v2q6j.js → reference-df3v2q6j.js} +0 -0
- /package/dist/chunks/{app-dhcq6c44.js → reference-dhcq6c44.js} +0 -0
- /package/dist/chunks/{app-dht5baf0.js → reference-dht5baf0.js} +0 -0
- /package/dist/chunks/{app-dppgrtwb.js → reference-dppgrtwb.js} +0 -0
- /package/dist/chunks/{app-ehj9csmv.js → reference-ehj9csmv.js} +0 -0
- /package/dist/chunks/{app-ezs3tagn.js → reference-ezs3tagn.js} +0 -0
- /package/dist/chunks/{app-f4cp4g4a.js → reference-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{app-f84sxdqn.js → reference-f84sxdqn.js} +0 -0
- /package/dist/chunks/{app-faypg4r1.js → reference-faypg4r1.js} +0 -0
- /package/dist/chunks/{app-g7k9te92.js → reference-g7k9te92.js} +0 -0
- /package/dist/chunks/{app-gd5xeqc2.js → reference-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{app-ghm4673n.js → reference-ghm4673n.js} +0 -0
- /package/dist/chunks/{app-ghwjy7my.js → reference-ghwjy7my.js} +0 -0
- /package/dist/chunks/{app-gy500k2r.js → reference-gy500k2r.js} +0 -0
- /package/dist/chunks/{app-hzeg9cfr.js → reference-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{app-j07kk359.js → reference-j07kk359.js} +0 -0
- /package/dist/chunks/{app-jve7t217.js → reference-jve7t217.js} +0 -0
- /package/dist/chunks/{app-kpdbz7gn.js → reference-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{app-kxy11nzk.js → reference-kxy11nzk.js} +0 -0
- /package/dist/chunks/{app-kyyqvx4s.js → reference-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{app-m8cbvarh.js → reference-m8cbvarh.js} +0 -0
- /package/dist/chunks/{app-ma07p6tt.js → reference-ma07p6tt.js} +0 -0
- /package/dist/chunks/{app-ma60vzgv.js → reference-ma60vzgv.js} +0 -0
- /package/dist/chunks/{app-n3m50c2t.js → reference-n3m50c2t.js} +0 -0
- /package/dist/chunks/{app-nkm1m8dz.js → reference-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{app-nsc0c3zb.js → reference-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{app-qaarhjrp.js → reference-qaarhjrp.js} +0 -0
- /package/dist/chunks/{app-qc167nrn.js → reference-qc167nrn.js} +0 -0
- /package/dist/chunks/{app-qp95y4jb.js → reference-qp95y4jb.js} +0 -0
- /package/dist/chunks/{app-r8f4w671.js → reference-r8f4w671.js} +0 -0
- /package/dist/chunks/{app-rdfev9jy.js → reference-rdfev9jy.js} +0 -0
- /package/dist/chunks/{app-rvfvac9x.js → reference-rvfvac9x.js} +0 -0
- /package/dist/chunks/{app-s7whb9gt.js → reference-s7whb9gt.js} +0 -0
- /package/dist/chunks/{app-se76j685.js → reference-se76j685.js} +0 -0
- /package/dist/chunks/{app-sem2g21k.js → reference-sem2g21k.js} +0 -0
- /package/dist/chunks/{app-tmb1f636.js → reference-tmb1f636.js} +0 -0
- /package/dist/chunks/{app-ttxf0gsy.js → reference-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{app-tvmhrvfj.js → reference-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{app-v2adqbbe.js → reference-v2adqbbe.js} +0 -0
- /package/dist/chunks/{app-wj4sxzqa.js → reference-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{app-wwntjmk1.js → reference-wwntjmk1.js} +0 -0
- /package/dist/chunks/{app-wx89ywv3.js → reference-wx89ywv3.js} +0 -0
- /package/dist/chunks/{app-wyqjaaa5.js → reference-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{app-x4q807cx.js → reference-x4q807cx.js} +0 -0
- /package/dist/chunks/{app-yrqrg4vp.js → reference-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{app-z47nswr2.js → reference-z47nswr2.js} +0 -0
- /package/dist/chunks/{app-zsf8rs93.js → reference-zsf8rs93.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as SessionInbox from "./inbox.js";
|
|
2
2
|
import { DateTime, Effect, Schema } from "effect";
|
|
3
|
-
import { Compaction, Delivery, Info,
|
|
3
|
+
import { Compaction, CompactionPayload, Delivery, Info, Item, Move, MovePayload, Synthetic, SyntheticPayload, User, UserPayload } from "@opencode-ai/schema/session-inbox";
|
|
4
4
|
import { Bus } from "../bus.js";
|
|
5
5
|
import { SessionMessage } from "./message.js";
|
|
6
6
|
import { SessionSchema } from "./schema.js";
|
|
7
|
-
export { Compaction, Delivery, Info,
|
|
7
|
+
export { Compaction, CompactionPayload, Delivery, Info, Item, Move, MovePayload, Synthetic, SyntheticPayload, User, UserPayload, };
|
|
8
8
|
/**
|
|
9
9
|
* Which pending input `promote` may consume: "steer" promotes steers only (a step
|
|
10
10
|
* boundary mid-work), while "input" also allows one queued input when no steers are
|
|
@@ -15,7 +15,8 @@ type PendingRef = {
|
|
|
15
15
|
readonly id: SessionMessage.ID;
|
|
16
16
|
readonly sessionID: SessionSchema.ID;
|
|
17
17
|
};
|
|
18
|
-
declare const
|
|
18
|
+
export declare const serialized: <A, E, R>(sessionID: SessionSchema.ID, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
19
|
+
declare const LifecycleConflict_base: Schema.Class<LifecycleConflict, Schema.TaggedStruct<"SessionInbox.LifecycleConflict", {
|
|
19
20
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
20
21
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
21
22
|
fromEvent: (eventID: import("@opencode-ai/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -27,7 +28,7 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
27
28
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
28
29
|
}, id: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<{
|
|
29
30
|
readonly type: "user";
|
|
30
|
-
readonly
|
|
31
|
+
readonly payload: {
|
|
31
32
|
readonly text: string;
|
|
32
33
|
readonly metadata?: {
|
|
33
34
|
readonly [x: string]: unknown;
|
|
@@ -74,7 +75,7 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
74
75
|
readonly timeCreated: DateTime.Utc;
|
|
75
76
|
} | {
|
|
76
77
|
readonly type: "synthetic";
|
|
77
|
-
readonly
|
|
78
|
+
readonly payload: {
|
|
78
79
|
readonly text: string;
|
|
79
80
|
readonly description?: string | undefined;
|
|
80
81
|
readonly metadata?: {
|
|
@@ -87,14 +88,22 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
87
88
|
readonly timeCreated: DateTime.Utc;
|
|
88
89
|
} | {
|
|
89
90
|
readonly type: "compaction";
|
|
91
|
+
readonly payload: {};
|
|
92
|
+
readonly delivery: "steer" | "queue";
|
|
90
93
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
91
94
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
92
95
|
readonly timeCreated: DateTime.Utc;
|
|
93
|
-
} |
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
} | {
|
|
97
|
+
readonly type: "move";
|
|
98
|
+
readonly payload: {
|
|
99
|
+
readonly location: {
|
|
100
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
101
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
102
|
+
};
|
|
103
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
104
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
105
|
+
};
|
|
106
|
+
readonly delivery: "steer" | "queue";
|
|
98
107
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
99
108
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
100
109
|
readonly timeCreated: DateTime.Utc;
|
|
@@ -104,10 +113,10 @@ export declare const admit: (db: import("../database/drizzle.js").EffectSQLiteDa
|
|
|
104
113
|
}, bus: Bus.Interface, request: {
|
|
105
114
|
readonly id: SessionMessage.ID;
|
|
106
115
|
readonly sessionID: SessionSchema.ID;
|
|
107
|
-
readonly
|
|
116
|
+
readonly item: Item;
|
|
108
117
|
}) => Effect.Effect<{
|
|
109
118
|
readonly type: "user";
|
|
110
|
-
readonly
|
|
119
|
+
readonly payload: {
|
|
111
120
|
readonly text: string;
|
|
112
121
|
readonly metadata?: {
|
|
113
122
|
readonly [x: string]: unknown;
|
|
@@ -154,7 +163,7 @@ export declare const admit: (db: import("../database/drizzle.js").EffectSQLiteDa
|
|
|
154
163
|
readonly timeCreated: DateTime.Utc;
|
|
155
164
|
} | {
|
|
156
165
|
readonly type: "synthetic";
|
|
157
|
-
readonly
|
|
166
|
+
readonly payload: {
|
|
158
167
|
readonly text: string;
|
|
159
168
|
readonly description?: string | undefined;
|
|
160
169
|
readonly metadata?: {
|
|
@@ -165,14 +174,38 @@ export declare const admit: (db: import("../database/drizzle.js").EffectSQLiteDa
|
|
|
165
174
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
166
175
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
167
176
|
readonly timeCreated: DateTime.Utc;
|
|
177
|
+
} | {
|
|
178
|
+
readonly type: "compaction";
|
|
179
|
+
readonly payload: {};
|
|
180
|
+
readonly delivery: "steer" | "queue";
|
|
181
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
182
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
183
|
+
readonly timeCreated: DateTime.Utc;
|
|
184
|
+
} | {
|
|
185
|
+
readonly type: "move";
|
|
186
|
+
readonly payload: {
|
|
187
|
+
readonly location: {
|
|
188
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
189
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
190
|
+
};
|
|
191
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
192
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
193
|
+
};
|
|
194
|
+
readonly delivery: "steer" | "queue";
|
|
195
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
196
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
197
|
+
readonly timeCreated: DateTime.Utc;
|
|
168
198
|
}, never, never>;
|
|
169
199
|
export declare const admitCompaction: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
170
200
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
171
201
|
}, bus: Bus.Interface, input: {
|
|
172
202
|
readonly id: SessionMessage.ID;
|
|
173
203
|
readonly sessionID: SessionSchema.ID;
|
|
204
|
+
readonly delivery: Delivery;
|
|
174
205
|
}) => Effect.Effect<{
|
|
175
206
|
readonly type: "compaction";
|
|
207
|
+
readonly payload: {};
|
|
208
|
+
readonly delivery: "steer" | "queue";
|
|
176
209
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
177
210
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
178
211
|
readonly timeCreated: DateTime.Utc;
|
|
@@ -180,35 +213,22 @@ export declare const admitCompaction: (db: import("../database/drizzle.js").Effe
|
|
|
180
213
|
export declare const projectAdmitted: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
181
214
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
182
215
|
}, request: {
|
|
183
|
-
readonly
|
|
216
|
+
readonly enqueuedSeq: number;
|
|
184
217
|
readonly id: SessionMessage.ID;
|
|
185
218
|
readonly sessionID: SessionSchema.ID;
|
|
186
|
-
readonly
|
|
219
|
+
readonly item: Item;
|
|
187
220
|
readonly timeCreated: DateTime.Utc;
|
|
188
221
|
}) => Effect.Effect<undefined, never, never>;
|
|
189
|
-
export declare const projectCompactionAdmitted: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
190
|
-
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
191
|
-
}, input: {
|
|
192
|
-
readonly admittedSeq: number;
|
|
193
|
-
readonly id: SessionMessage.ID;
|
|
194
|
-
readonly sessionID: SessionSchema.ID;
|
|
195
|
-
readonly timeCreated: DateTime.Utc;
|
|
196
|
-
}) => Effect.Effect<{
|
|
197
|
-
readonly type: "compaction";
|
|
198
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
199
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
200
|
-
readonly timeCreated: DateTime.Utc;
|
|
201
|
-
}, never, never>;
|
|
202
222
|
/**
|
|
203
223
|
* Consume one pending row at promotion. The row's content feeds the projected
|
|
204
224
|
* message insert inside the same event transaction; the deleted row is what
|
|
205
225
|
* makes the table pending-only.
|
|
206
226
|
*/
|
|
207
|
-
export declare const
|
|
227
|
+
export declare const projectDelivered: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
208
228
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
209
229
|
}, input: PendingRef) => Effect.Effect<{
|
|
210
230
|
readonly type: "user";
|
|
211
|
-
readonly
|
|
231
|
+
readonly payload: {
|
|
212
232
|
readonly text: string;
|
|
213
233
|
readonly metadata?: {
|
|
214
234
|
readonly [x: string]: unknown;
|
|
@@ -255,7 +275,7 @@ export declare const projectPromoted: (db: import("../database/drizzle.js").Effe
|
|
|
255
275
|
readonly timeCreated: DateTime.Utc;
|
|
256
276
|
} | {
|
|
257
277
|
readonly type: "synthetic";
|
|
258
|
-
readonly
|
|
278
|
+
readonly payload: {
|
|
259
279
|
readonly text: string;
|
|
260
280
|
readonly description?: string | undefined;
|
|
261
281
|
readonly metadata?: {
|
|
@@ -266,31 +286,209 @@ export declare const projectPromoted: (db: import("../database/drizzle.js").Effe
|
|
|
266
286
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
267
287
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
268
288
|
readonly timeCreated: DateTime.Utc;
|
|
289
|
+
} | {
|
|
290
|
+
readonly type: "compaction";
|
|
291
|
+
readonly payload: {};
|
|
292
|
+
readonly delivery: "steer" | "queue";
|
|
293
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
294
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
295
|
+
readonly timeCreated: DateTime.Utc;
|
|
296
|
+
} | {
|
|
297
|
+
readonly type: "move";
|
|
298
|
+
readonly payload: {
|
|
299
|
+
readonly location: {
|
|
300
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
301
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
302
|
+
};
|
|
303
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
304
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
305
|
+
};
|
|
306
|
+
readonly delivery: "steer" | "queue";
|
|
307
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
308
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
309
|
+
readonly timeCreated: DateTime.Utc;
|
|
269
310
|
}, never, never>;
|
|
270
311
|
export declare const projectCancelled: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
271
312
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
272
313
|
}, input: PendingRef) => Effect.Effect<undefined, never, never>;
|
|
273
|
-
export declare const
|
|
314
|
+
export declare const projectDeliveryChanged: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
274
315
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
275
|
-
}, input: PendingRef
|
|
276
|
-
|
|
316
|
+
}, input: PendingRef & {
|
|
317
|
+
readonly delivery: Delivery;
|
|
318
|
+
}) => Effect.Effect<undefined, never, never>;
|
|
319
|
+
export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
277
320
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
278
|
-
},
|
|
279
|
-
|
|
321
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<({
|
|
322
|
+
readonly type: "user";
|
|
323
|
+
readonly payload: {
|
|
324
|
+
readonly text: string;
|
|
325
|
+
readonly metadata?: {
|
|
326
|
+
readonly [x: string]: unknown;
|
|
327
|
+
} | undefined;
|
|
328
|
+
readonly files?: readonly {
|
|
329
|
+
readonly source: {
|
|
330
|
+
readonly type: "inline";
|
|
331
|
+
} | {
|
|
332
|
+
readonly type: "uri";
|
|
333
|
+
readonly uri: string;
|
|
334
|
+
};
|
|
335
|
+
readonly data: string;
|
|
336
|
+
readonly mime: string;
|
|
337
|
+
readonly name?: string | undefined;
|
|
338
|
+
readonly description?: string | undefined;
|
|
339
|
+
readonly mention?: {
|
|
340
|
+
readonly start: number;
|
|
341
|
+
readonly end: number;
|
|
342
|
+
readonly text: string;
|
|
343
|
+
} | undefined;
|
|
344
|
+
}[] | undefined;
|
|
345
|
+
readonly agents?: readonly {
|
|
346
|
+
readonly name: string;
|
|
347
|
+
readonly mention?: {
|
|
348
|
+
readonly start: number;
|
|
349
|
+
readonly end: number;
|
|
350
|
+
readonly text: string;
|
|
351
|
+
} | undefined;
|
|
352
|
+
}[] | undefined;
|
|
353
|
+
readonly skills?: readonly {
|
|
354
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
355
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
356
|
+
readonly text: string;
|
|
357
|
+
readonly mention?: {
|
|
358
|
+
readonly start: number;
|
|
359
|
+
readonly end: number;
|
|
360
|
+
readonly text: string;
|
|
361
|
+
} | undefined;
|
|
362
|
+
}[] | undefined;
|
|
363
|
+
};
|
|
364
|
+
readonly delivery: "steer" | "queue";
|
|
365
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
366
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
367
|
+
readonly timeCreated: DateTime.Utc;
|
|
368
|
+
} | {
|
|
369
|
+
readonly type: "synthetic";
|
|
370
|
+
readonly payload: {
|
|
371
|
+
readonly text: string;
|
|
372
|
+
readonly description?: string | undefined;
|
|
373
|
+
readonly metadata?: {
|
|
374
|
+
readonly [x: string]: unknown;
|
|
375
|
+
} | undefined;
|
|
376
|
+
};
|
|
377
|
+
readonly delivery: "steer" | "queue";
|
|
378
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
379
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
380
|
+
readonly timeCreated: DateTime.Utc;
|
|
381
|
+
} | {
|
|
382
|
+
readonly type: "compaction";
|
|
383
|
+
readonly payload: {};
|
|
384
|
+
readonly delivery: "steer" | "queue";
|
|
385
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
386
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
387
|
+
readonly timeCreated: DateTime.Utc;
|
|
388
|
+
} | {
|
|
389
|
+
readonly type: "move";
|
|
390
|
+
readonly payload: {
|
|
391
|
+
readonly location: {
|
|
392
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
393
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
394
|
+
};
|
|
395
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
396
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
397
|
+
};
|
|
398
|
+
readonly delivery: "steer" | "queue";
|
|
399
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
400
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
401
|
+
readonly timeCreated: DateTime.Utc;
|
|
402
|
+
})[], never, never>;
|
|
403
|
+
export declare const nextQueued: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
280
404
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
281
|
-
},
|
|
282
|
-
readonly
|
|
283
|
-
|
|
405
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<{
|
|
406
|
+
readonly type: "user";
|
|
407
|
+
readonly payload: {
|
|
408
|
+
readonly text: string;
|
|
409
|
+
readonly metadata?: {
|
|
410
|
+
readonly [x: string]: unknown;
|
|
411
|
+
} | undefined;
|
|
412
|
+
readonly files?: readonly {
|
|
413
|
+
readonly source: {
|
|
414
|
+
readonly type: "inline";
|
|
415
|
+
} | {
|
|
416
|
+
readonly type: "uri";
|
|
417
|
+
readonly uri: string;
|
|
418
|
+
};
|
|
419
|
+
readonly data: string;
|
|
420
|
+
readonly mime: string;
|
|
421
|
+
readonly name?: string | undefined;
|
|
422
|
+
readonly description?: string | undefined;
|
|
423
|
+
readonly mention?: {
|
|
424
|
+
readonly start: number;
|
|
425
|
+
readonly end: number;
|
|
426
|
+
readonly text: string;
|
|
427
|
+
} | undefined;
|
|
428
|
+
}[] | undefined;
|
|
429
|
+
readonly agents?: readonly {
|
|
430
|
+
readonly name: string;
|
|
431
|
+
readonly mention?: {
|
|
432
|
+
readonly start: number;
|
|
433
|
+
readonly end: number;
|
|
434
|
+
readonly text: string;
|
|
435
|
+
} | undefined;
|
|
436
|
+
}[] | undefined;
|
|
437
|
+
readonly skills?: readonly {
|
|
438
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
439
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
440
|
+
readonly text: string;
|
|
441
|
+
readonly mention?: {
|
|
442
|
+
readonly start: number;
|
|
443
|
+
readonly end: number;
|
|
444
|
+
readonly text: string;
|
|
445
|
+
} | undefined;
|
|
446
|
+
}[] | undefined;
|
|
447
|
+
};
|
|
448
|
+
readonly delivery: "steer" | "queue";
|
|
449
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
450
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
451
|
+
readonly timeCreated: DateTime.Utc;
|
|
452
|
+
} | {
|
|
453
|
+
readonly type: "synthetic";
|
|
454
|
+
readonly payload: {
|
|
455
|
+
readonly text: string;
|
|
456
|
+
readonly description?: string | undefined;
|
|
457
|
+
readonly metadata?: {
|
|
458
|
+
readonly [x: string]: unknown;
|
|
459
|
+
} | undefined;
|
|
460
|
+
};
|
|
461
|
+
readonly delivery: "steer" | "queue";
|
|
462
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
463
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
464
|
+
readonly timeCreated: DateTime.Utc;
|
|
465
|
+
} | {
|
|
284
466
|
readonly type: "compaction";
|
|
467
|
+
readonly payload: {};
|
|
468
|
+
readonly delivery: "steer" | "queue";
|
|
469
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
470
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
471
|
+
readonly timeCreated: DateTime.Utc;
|
|
472
|
+
} | {
|
|
473
|
+
readonly type: "move";
|
|
474
|
+
readonly payload: {
|
|
475
|
+
readonly location: {
|
|
476
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
477
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
478
|
+
};
|
|
479
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
480
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
481
|
+
};
|
|
482
|
+
readonly delivery: "steer" | "queue";
|
|
285
483
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
286
484
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
287
485
|
readonly timeCreated: DateTime.Utc;
|
|
288
486
|
} | undefined, never, never>;
|
|
289
|
-
export declare const
|
|
487
|
+
export declare const nextSteer: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
290
488
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
291
|
-
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<
|
|
489
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<{
|
|
292
490
|
readonly type: "user";
|
|
293
|
-
readonly
|
|
491
|
+
readonly payload: {
|
|
294
492
|
readonly text: string;
|
|
295
493
|
readonly metadata?: {
|
|
296
494
|
readonly [x: string]: unknown;
|
|
@@ -337,7 +535,7 @@ export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
337
535
|
readonly timeCreated: DateTime.Utc;
|
|
338
536
|
} | {
|
|
339
537
|
readonly type: "synthetic";
|
|
340
|
-
readonly
|
|
538
|
+
readonly payload: {
|
|
341
539
|
readonly text: string;
|
|
342
540
|
readonly description?: string | undefined;
|
|
343
541
|
readonly metadata?: {
|
|
@@ -350,22 +548,37 @@ export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
350
548
|
readonly timeCreated: DateTime.Utc;
|
|
351
549
|
} | {
|
|
352
550
|
readonly type: "compaction";
|
|
551
|
+
readonly payload: {};
|
|
552
|
+
readonly delivery: "steer" | "queue";
|
|
353
553
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
354
554
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
355
555
|
readonly timeCreated: DateTime.Utc;
|
|
356
|
-
}
|
|
556
|
+
} | {
|
|
557
|
+
readonly type: "move";
|
|
558
|
+
readonly payload: {
|
|
559
|
+
readonly location: {
|
|
560
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
561
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
562
|
+
};
|
|
563
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
564
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
565
|
+
};
|
|
566
|
+
readonly delivery: "steer" | "queue";
|
|
567
|
+
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
568
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
569
|
+
readonly timeCreated: DateTime.Utc;
|
|
570
|
+
} | undefined, never, never>;
|
|
357
571
|
/**
|
|
358
|
-
* Which pending rows count: "any" counts every row
|
|
359
|
-
*
|
|
360
|
-
* any model-facing input, steered or queued.
|
|
572
|
+
* Which pending rows count: "any" counts every row, while "input" means any
|
|
573
|
+
* item in either delivery mode.
|
|
361
574
|
*/
|
|
362
575
|
export type Scope = "any" | "input" | Delivery;
|
|
363
576
|
export declare const has: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
364
577
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
365
578
|
}, sessionID: string & import("effect/Brand").Brand<"SessionID">, scope: Scope) => Effect.Effect<boolean, never, never>;
|
|
366
|
-
export declare const equivalent: (input:
|
|
579
|
+
export declare const equivalent: (input: Info, expected: {
|
|
367
580
|
readonly sessionID: SessionSchema.ID;
|
|
368
|
-
readonly
|
|
581
|
+
readonly item: Item;
|
|
369
582
|
}) => boolean;
|
|
370
583
|
export declare const cancel: (bus: Bus.Interface, input: PendingRef) => Effect.Effect<void, never, never>;
|
|
371
584
|
export declare const steer: (bus: Bus.Interface, input: PendingRef) => Effect.Effect<void, never, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SessionMessage } from "./message.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { SessionInbox } from "./inbox.js";
|
|
3
3
|
import type { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
4
4
|
import type { Session } from "@opencode-ai/schema/session";
|
|
5
5
|
import type { RevertV1 } from "@opencode-ai/schema/session-revert";
|
|
@@ -713,7 +713,7 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
713
713
|
name: string;
|
|
714
714
|
tableName: "session_pending";
|
|
715
715
|
dataType: "string";
|
|
716
|
-
data: "user" | "synthetic" | "compaction";
|
|
716
|
+
data: "user" | "synthetic" | "compaction" | "move";
|
|
717
717
|
driverParam: string;
|
|
718
718
|
notNull: true;
|
|
719
719
|
hasDefault: false;
|
|
@@ -729,7 +729,7 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
729
729
|
name: string;
|
|
730
730
|
tableName: "session_pending";
|
|
731
731
|
dataType: "object json";
|
|
732
|
-
data: Record<string, never> |
|
|
732
|
+
data: Record<string, never> | SessionInbox.UserPayload | SessionInbox.SyntheticPayload;
|
|
733
733
|
driverParam: string;
|
|
734
734
|
notNull: true;
|
|
735
735
|
hasDefault: false;
|
|
@@ -792,6 +792,125 @@ export declare const SessionPendingTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
792
792
|
};
|
|
793
793
|
dialect: "sqlite";
|
|
794
794
|
}>;
|
|
795
|
+
export declare const SessionInboxTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
796
|
+
name: "session_inbox";
|
|
797
|
+
schema: undefined;
|
|
798
|
+
columns: {
|
|
799
|
+
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
800
|
+
name: string;
|
|
801
|
+
tableName: "session_inbox";
|
|
802
|
+
dataType: "string";
|
|
803
|
+
data: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
804
|
+
driverParam: string;
|
|
805
|
+
notNull: true;
|
|
806
|
+
hasDefault: false;
|
|
807
|
+
isPrimaryKey: true;
|
|
808
|
+
isAutoincrement: false;
|
|
809
|
+
hasRuntimeDefault: false;
|
|
810
|
+
enumValues: [string, ...string[]];
|
|
811
|
+
baseColumn: never;
|
|
812
|
+
identity: undefined;
|
|
813
|
+
generated: undefined;
|
|
814
|
+
}, {}>;
|
|
815
|
+
session_id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
816
|
+
name: string;
|
|
817
|
+
tableName: "session_inbox";
|
|
818
|
+
dataType: "string";
|
|
819
|
+
data: string & import("effect/Brand").Brand<"SessionID">;
|
|
820
|
+
driverParam: string;
|
|
821
|
+
notNull: true;
|
|
822
|
+
hasDefault: false;
|
|
823
|
+
isPrimaryKey: false;
|
|
824
|
+
isAutoincrement: false;
|
|
825
|
+
hasRuntimeDefault: false;
|
|
826
|
+
enumValues: [string, ...string[]];
|
|
827
|
+
baseColumn: never;
|
|
828
|
+
identity: undefined;
|
|
829
|
+
generated: undefined;
|
|
830
|
+
}, {}>;
|
|
831
|
+
type: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
832
|
+
name: string;
|
|
833
|
+
tableName: "session_inbox";
|
|
834
|
+
dataType: "string";
|
|
835
|
+
data: "user" | "synthetic" | "compaction" | "move";
|
|
836
|
+
driverParam: string;
|
|
837
|
+
notNull: true;
|
|
838
|
+
hasDefault: false;
|
|
839
|
+
isPrimaryKey: false;
|
|
840
|
+
isAutoincrement: false;
|
|
841
|
+
hasRuntimeDefault: false;
|
|
842
|
+
enumValues: [string, ...string[]];
|
|
843
|
+
baseColumn: never;
|
|
844
|
+
identity: undefined;
|
|
845
|
+
generated: undefined;
|
|
846
|
+
}, {}>;
|
|
847
|
+
payload: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
848
|
+
name: string;
|
|
849
|
+
tableName: "session_inbox";
|
|
850
|
+
dataType: "object json";
|
|
851
|
+
data: SessionInbox.UserPayload | SessionInbox.SyntheticPayload | SessionInbox.CompactionPayload | SessionInbox.MovePayload;
|
|
852
|
+
driverParam: string;
|
|
853
|
+
notNull: true;
|
|
854
|
+
hasDefault: false;
|
|
855
|
+
isPrimaryKey: false;
|
|
856
|
+
isAutoincrement: false;
|
|
857
|
+
hasRuntimeDefault: false;
|
|
858
|
+
enumValues: undefined;
|
|
859
|
+
baseColumn: never;
|
|
860
|
+
identity: undefined;
|
|
861
|
+
generated: undefined;
|
|
862
|
+
}, {}>;
|
|
863
|
+
delivery: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
864
|
+
name: string;
|
|
865
|
+
tableName: "session_inbox";
|
|
866
|
+
dataType: "string";
|
|
867
|
+
data: "steer" | "queue";
|
|
868
|
+
driverParam: string;
|
|
869
|
+
notNull: true;
|
|
870
|
+
hasDefault: false;
|
|
871
|
+
isPrimaryKey: false;
|
|
872
|
+
isAutoincrement: false;
|
|
873
|
+
hasRuntimeDefault: false;
|
|
874
|
+
enumValues: [string, ...string[]];
|
|
875
|
+
baseColumn: never;
|
|
876
|
+
identity: undefined;
|
|
877
|
+
generated: undefined;
|
|
878
|
+
}, {}>;
|
|
879
|
+
enqueued_seq: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
880
|
+
name: string;
|
|
881
|
+
tableName: "session_inbox";
|
|
882
|
+
dataType: "number int53";
|
|
883
|
+
data: number;
|
|
884
|
+
driverParam: number;
|
|
885
|
+
notNull: true;
|
|
886
|
+
hasDefault: false;
|
|
887
|
+
isPrimaryKey: false;
|
|
888
|
+
isAutoincrement: false;
|
|
889
|
+
hasRuntimeDefault: false;
|
|
890
|
+
enumValues: undefined;
|
|
891
|
+
baseColumn: never;
|
|
892
|
+
identity: undefined;
|
|
893
|
+
generated: undefined;
|
|
894
|
+
}, {}>;
|
|
895
|
+
time_created: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
896
|
+
name: string;
|
|
897
|
+
tableName: "session_inbox";
|
|
898
|
+
dataType: "number int53";
|
|
899
|
+
data: number;
|
|
900
|
+
driverParam: number;
|
|
901
|
+
notNull: true;
|
|
902
|
+
hasDefault: true;
|
|
903
|
+
isPrimaryKey: false;
|
|
904
|
+
isAutoincrement: false;
|
|
905
|
+
hasRuntimeDefault: true;
|
|
906
|
+
enumValues: undefined;
|
|
907
|
+
baseColumn: never;
|
|
908
|
+
identity: undefined;
|
|
909
|
+
generated: undefined;
|
|
910
|
+
}, {}>;
|
|
911
|
+
};
|
|
912
|
+
dialect: "sqlite";
|
|
913
|
+
}>;
|
|
795
914
|
export declare const InstructionEntryTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
796
915
|
name: "instruction_entry";
|
|
797
916
|
schema: undefined;
|