@opencode-ai/core 0.0.0-dev-18318 → 0.0.0-dev-18321
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 +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{workspace-02dbfq60.js → schema-02dbfq60.js} +1 -1
- package/dist/chunks/{workspace-3gdj2mbf.js → schema-0f8dr6k6.js} +3 -3
- package/dist/chunks/{workspace-0kvmztkf.js → schema-0kvmztkf.js} +1 -1
- package/dist/chunks/{workspace-s4hcyea5.js → schema-0sm4taqy.js} +8 -8
- package/dist/chunks/{workspace-kw6ytxws.js → schema-1202kp1d.js} +7 -7
- package/dist/chunks/{workspace-r45f9fg0.js → schema-16kjgrpw.js} +8 -8
- package/dist/chunks/{workspace-18pv8fg3.js → schema-18pv8fg3.js} +2 -2
- package/dist/chunks/{workspace-9ten3w5q.js → schema-1b4hft7c.js} +10 -10
- package/dist/chunks/{workspace-pd8tpgw3.js → schema-1ea11myn.js} +2 -2
- package/dist/chunks/{workspace-k3mta6f5.js → schema-1egrw3y5.js} +8 -8
- package/dist/chunks/{workspace-72bjc1rz.js → schema-1fns9rkr.js} +7 -7
- package/dist/chunks/{workspace-1cepeqrv.js → schema-1rck7x37.js} +9 -9
- package/dist/chunks/{workspace-cbdrxzjq.js → schema-1tebjaz6.js} +12 -12
- package/dist/chunks/{workspace-75pwkj48.js → schema-21e3887x.js} +3 -3
- package/dist/chunks/{workspace-x7rk7k9e.js → schema-237p5w9c.js} +1 -1
- package/dist/chunks/{workspace-zha6p8nc.js → schema-25vtt7r9.js} +5 -5
- package/dist/chunks/{workspace-4v0n4e94.js → schema-2a05xgmv.js} +15 -15
- package/dist/chunks/{workspace-g1wan275.js → schema-2ec4ck40.js} +5 -5
- package/dist/chunks/{workspace-2m0hgr65.js → schema-2m0hgr65.js} +1 -1
- package/dist/chunks/{workspace-2nmyybe0.js → schema-2nmyybe0.js} +1 -1
- package/dist/chunks/{workspace-nergws86.js → schema-2sfw1y0h.js} +4 -4
- package/dist/chunks/{workspace-69dtk6t0.js → schema-2v253ncv.js} +7 -7
- package/dist/chunks/{workspace-2wds5nk3.js → schema-2wds5nk3.js} +1 -1
- package/dist/chunks/{workspace-g6td1p09.js → schema-3317h9v8.js} +4 -4
- package/dist/chunks/{workspace-3g8vftxb.js → schema-3g8vftxb.js} +2 -2
- package/dist/chunks/{workspace-tjvq65rf.js → schema-3hxwxadn.js} +37 -37
- package/dist/chunks/{workspace-3qv8nf0b.js → schema-3qv8nf0b.js} +1 -1
- package/dist/chunks/{workspace-3thh6229.js → schema-3thh6229.js} +2 -2
- package/dist/chunks/{workspace-tws5r3gz.js → schema-47pspvv2.js} +6 -6
- package/dist/chunks/{workspace-mjcnxtcg.js → schema-4cgrr0g8.js} +5 -5
- package/dist/chunks/{workspace-0yrybwrr.js → schema-4r5htkxp.js} +5 -5
- package/dist/chunks/{workspace-4s2xwh5d.js → schema-4s2xwh5d.js} +3 -3
- package/dist/chunks/{workspace-4zzdwbaz.js → schema-4zzdwbaz.js} +2 -2
- package/dist/chunks/{workspace-50jxp3hw.js → schema-50jxp3hw.js} +1 -1
- package/dist/chunks/{workspace-b1vaw7zx.js → schema-53jfyqc6.js} +2 -2
- package/dist/chunks/{workspace-g0057hxt.js → schema-5799k2nn.js} +2 -2
- package/dist/chunks/{workspace-57tzwnz4.js → schema-57tzwnz4.js} +1 -1
- package/dist/chunks/{workspace-58xdvehb.js → schema-58xdvehb.js} +1 -1
- package/dist/chunks/{workspace-5cdnkd94.js → schema-5cdnkd94.js} +3 -3
- package/dist/chunks/{workspace-hy8841bt.js → schema-5exnvvc7.js} +35 -33
- package/dist/chunks/{workspace-5fe026tx.js → schema-5fe026tx.js} +3 -3
- package/dist/chunks/{workspace-5rs65q6p.js → schema-5rs65q6p.js} +1 -1
- package/dist/chunks/{workspace-5vcssjzn.js → schema-5vcssjzn.js} +1 -1
- package/dist/chunks/{workspace-5z4zwtb4.js → schema-5z4zwtb4.js} +2 -2
- package/dist/chunks/{workspace-6272rtjg.js → schema-6272rtjg.js} +1 -1
- package/dist/chunks/{workspace-m5re0kbx.js → schema-6bhqeqkw.js} +5 -5
- package/dist/chunks/{workspace-742rjj3b.js → schema-6f955yrg.js} +15 -15
- package/dist/chunks/{workspace-as7sk9t0.js → schema-6k76aq7r.js} +5 -5
- package/dist/chunks/{workspace-6ky7rqk7.js → schema-6ky7rqk7.js} +1 -1
- package/dist/chunks/{workspace-6q0m15b3.js → schema-6q0m15b3.js} +1 -1
- package/dist/chunks/{workspace-6wkzvma0.js → schema-6wkzvma0.js} +2 -2
- package/dist/chunks/{workspace-75h1hfe2.js → schema-75h1hfe2.js} +2 -2
- package/dist/chunks/{workspace-qjsh9pj2.js → schema-7c5v1z0q.js} +25 -25
- package/dist/chunks/{workspace-f7q7a28y.js → schema-7ccgh94t.js} +6 -6
- package/dist/chunks/{workspace-2hbvr7mb.js → schema-7fz1g73q.js} +4 -4
- package/dist/chunks/{workspace-7gqqz1s8.js → schema-7gqqz1s8.js} +1 -1
- package/dist/chunks/{workspace-7khw64yh.js → schema-7khw64yh.js} +1 -1
- package/dist/chunks/{workspace-7mrpdsq5.js → schema-7mrpdsq5.js} +1 -1
- package/dist/chunks/{workspace-7thnevmq.js → schema-7thnevmq.js} +2 -2
- package/dist/chunks/{workspace-q9xbb66t.js → schema-7v5hvxpd.js} +9 -9
- package/dist/chunks/{workspace-7wcmqxrc.js → schema-7wcmqxrc.js} +1 -1
- package/dist/chunks/{workspace-hvx0jvjd.js → schema-88akcyy8.js} +4 -4
- package/dist/chunks/{workspace-88jbfw8z.js → schema-88jbfw8z.js} +2 -2
- package/dist/chunks/{workspace-nj73kz53.js → schema-8c0en5k1.js} +50 -44
- package/dist/chunks/{workspace-47h90nc1.js → schema-8cs6xgaj.js} +12 -12
- package/dist/chunks/{workspace-cydbd033.js → schema-8f9xkat7.js} +4 -4
- package/dist/chunks/{workspace-8pngjawd.js → schema-8pngjawd.js} +2 -2
- package/dist/chunks/{workspace-tny6ds63.js → schema-9280j59p.js} +3 -3
- package/dist/chunks/{workspace-999qd968.js → schema-999qd968.js} +1 -1
- package/dist/chunks/{workspace-d594dyq5.js → schema-9b76fep3.js} +6 -6
- package/dist/chunks/{workspace-jer2q715.js → schema-9d6wd7sf.js} +87 -87
- package/dist/chunks/{workspace-9f0rnpkn.js → schema-9f0rnpkn.js} +1 -1
- package/dist/chunks/{workspace-kytwepdm.js → schema-9hff1ya3.js} +6 -6
- package/dist/chunks/{workspace-npnx26bg.js → schema-9vf6eq81.js} +45 -45
- package/dist/chunks/{workspace-10sg8hjc.js → schema-9y7v345f.js} +11 -11
- package/dist/chunks/{workspace-a09abg6q.js → schema-a09abg6q.js} +2 -2
- package/dist/chunks/{workspace-ekp953yh.js → schema-a2gxsn8r.js} +2 -2
- package/dist/chunks/{workspace-rfq526ky.js → schema-a31f83q8.js} +2 -2
- package/dist/chunks/{workspace-a39d6vx2.js → schema-ab2rwxac.js} +7 -7
- package/dist/chunks/{workspace-dn12pcjb.js → schema-adn642mq.js} +4 -4
- package/dist/chunks/{workspace-awg5d31a.js → schema-awg5d31a.js} +1 -1
- package/dist/chunks/{workspace-txww1eej.js → schema-az1r9gqg.js} +5 -5
- package/dist/chunks/{workspace-8w05arsy.js → schema-b14bqyjs.js} +12 -12
- package/dist/chunks/{workspace-c5fkfgq0.js → schema-b1rswy6s.js} +6 -6
- package/dist/chunks/{workspace-509m7h3n.js → schema-b54mpb3g.js} +6 -6
- package/dist/chunks/{workspace-bh1wr8rq.js → schema-bh1wr8rq.js} +2 -2
- package/dist/chunks/{workspace-bmknfyv0.js → schema-bmknfyv0.js} +2 -2
- package/dist/chunks/{workspace-fgebspy8.js → schema-btmyhxky.js} +6 -6
- package/dist/chunks/{workspace-yws6p46f.js → schema-bwz2bvaa.js} +3 -3
- package/dist/chunks/{workspace-byab506k.js → schema-byab506k.js} +1 -1
- package/dist/chunks/{workspace-tjn9mwnp.js → schema-c1ydtzzh.js} +59 -59
- package/dist/chunks/{workspace-c4wcb9vc.js → schema-c4wcb9vc.js} +2 -2
- package/dist/chunks/{workspace-bvt2dj08.js → schema-c8tnzy8t.js} +3 -3
- package/dist/chunks/{workspace-q9jhps2w.js → schema-cf6tdmr7.js} +11 -11
- package/dist/chunks/{workspace-9avcmvpe.js → schema-cg9jc6md.js} +21 -15
- package/dist/chunks/{workspace-ynp2nn9h.js → schema-cktbh0v3.js} +3 -3
- package/dist/chunks/{workspace-pky83n14.js → schema-cp4m8zsw.js} +7 -7
- package/dist/chunks/{workspace-csrx180a.js → schema-csrx180a.js} +3 -3
- package/dist/chunks/{workspace-r4b3yfsa.js → schema-cve8dcmg.js} +5 -5
- package/dist/chunks/{workspace-xrefe6k5.js → schema-cwn729am.js} +3 -3
- package/dist/chunks/{workspace-d2gk9vpf.js → schema-d2gk9vpf.js} +2 -2
- package/dist/chunks/{workspace-d4ax61k3.js → schema-d4ax61k3.js} +2 -2
- package/dist/chunks/{workspace-e701g4sa.js → schema-d4n62cnh.js} +4 -4
- package/dist/chunks/{workspace-jp2abtft.js → schema-dex70t1e.js} +6 -6
- package/dist/chunks/{workspace-g0cmwgn0.js → schema-dhhcjmj4.js} +4 -4
- package/dist/chunks/{workspace-dhphtf1x.js → schema-dhphtf1x.js} +1 -1
- package/dist/chunks/{workspace-prca6rc8.js → schema-dt8fq1n0.js} +13 -13
- package/dist/chunks/{workspace-e1z9a0ts.js → schema-e1z9a0ts.js} +2 -2
- package/dist/chunks/{workspace-2zt9kwkb.js → schema-e3a5351g.js} +9 -9
- package/dist/chunks/{workspace-q3qa31vh.js → schema-e407faty.js} +3 -3
- package/dist/chunks/{workspace-ec8vrfw5.js → schema-ec8vrfw5.js} +1 -1
- package/dist/chunks/{workspace-1psgfqkw.js → schema-ef8tv3wp.js} +8 -8
- package/dist/chunks/{workspace-mc7eme21.js → schema-egtdf082.js} +3 -3
- package/dist/chunks/{workspace-enpg66yn.js → schema-enpg66yn.js} +1 -1
- package/dist/chunks/{workspace-td2cbb9g.js → schema-exszdndn.js} +14 -14
- package/dist/chunks/{workspace-f11jbhcb.js → schema-f11jbhcb.js} +4 -4
- package/dist/chunks/{workspace-srrvj946.js → schema-f6xf5hjt.js} +7 -7
- package/dist/chunks/{workspace-f9wt0tjw.js → schema-f9wt0tjw.js} +2 -2
- package/dist/chunks/{workspace-fb7nfzf2.js → schema-fb7nfzf2.js} +3 -3
- package/dist/chunks/{workspace-sn0q7xgw.js → schema-fc86x2ag.js} +3 -3
- package/dist/chunks/{workspace-fgyjabww.js → schema-fgyjabww.js} +2 -2
- package/dist/chunks/{workspace-3scdt4fb.js → schema-fhwr9x9f.js} +6 -6
- package/dist/chunks/{workspace-5qxck63e.js → schema-ftk2f1ny.js} +38 -32
- package/dist/chunks/{workspace-08nxp414.js → schema-fwbgfmk5.js} +12 -12
- package/dist/chunks/{workspace-0pdnc7zd.js → schema-fwmzfem8.js} +11 -11
- package/dist/chunks/{workspace-m12n7avv.js → schema-gc9fgmjs.js} +7 -7
- package/dist/chunks/{workspace-gcay93cp.js → schema-gcay93cp.js} +1 -1
- package/dist/chunks/{workspace-a3h27402.js → schema-gcb36m3h.js} +8 -8
- package/dist/chunks/{workspace-gd2xppx8.js → schema-gd2xppx8.js} +1 -1
- package/dist/chunks/{workspace-gpybhmhb.js → schema-gpybhmhb.js} +3 -3
- package/dist/chunks/{workspace-h12kt9pa.js → schema-h12kt9pa.js} +2 -2
- package/dist/chunks/{workspace-h3kcef9b.js → schema-h3kcef9b.js} +6 -6
- package/dist/chunks/{workspace-t5b8592a.js → schema-h618zzkw.js} +3 -3
- package/dist/chunks/{workspace-h94zdhz8.js → schema-h94zdhz8.js} +2 -2
- package/dist/chunks/{workspace-jb7agtpy.js → schema-hasd4fbt.js} +8 -8
- package/dist/chunks/{workspace-5q3w17nz.js → schema-hngcdfvy.js} +8 -8
- package/dist/chunks/{workspace-hp6rpdnc.js → schema-hp6rpdnc.js} +1 -1
- package/dist/chunks/{workspace-hqh8yks9.js → schema-hqh8yks9.js} +3 -3
- package/dist/chunks/{workspace-8rzdn2d4.js → schema-hqn4y4dr.js} +10 -10
- package/dist/chunks/{workspace-sz03s6yz.js → schema-hw7p9bx8.js} +3 -3
- package/dist/chunks/{workspace-j2rwtkhe.js → schema-j2rwtkhe.js} +4 -4
- package/dist/chunks/{workspace-nc1wvx05.js → schema-jahg033y.js} +10 -10
- package/dist/chunks/{workspace-1w4gpc3w.js → schema-jgbt9t0r.js} +11 -11
- package/dist/chunks/{workspace-3vpv6b5j.js → schema-jj11p3ah.js} +12 -12
- package/dist/chunks/{workspace-tjsvnhtd.js → schema-jpm8ttna.js} +5 -5
- package/dist/chunks/{workspace-b73mypxm.js → schema-jserkev5.js} +5 -5
- package/dist/chunks/{workspace-w4jw6wz1.js → schema-jwznhtnp.js} +22 -22
- package/dist/chunks/{workspace-haa9ek3r.js → schema-k06ezrxd.js} +9 -9
- package/dist/chunks/{workspace-mrf9s4jq.js → schema-k3v5h4bz.js} +17 -17
- package/dist/chunks/{workspace-k42t1tha.js → schema-k42t1tha.js} +2 -2
- package/dist/chunks/{workspace-xy0tad3x.js → schema-k6dyccgy.js} +3 -3
- package/dist/chunks/{workspace-t3htekb2.js → schema-k7909jr9.js} +3 -3
- package/dist/chunks/{workspace-kg1345f7.js → schema-kg1345f7.js} +1 -1
- package/dist/chunks/{workspace-xc11nd42.js → schema-kjnxt8jk.js} +3 -3
- package/dist/chunks/{workspace-kp1t5rcy.js → schema-kp1t5rcy.js} +1 -1
- package/dist/chunks/{workspace-krsqcmnj.js → schema-krsqcmnj.js} +1 -1
- package/dist/chunks/{workspace-e26aeak6.js → schema-ksfxb13k.js} +6 -6
- package/dist/chunks/{workspace-yhgp3n9q.js → schema-ky4vgery.js} +7 -7
- package/dist/chunks/{workspace-6qy9meas.js → schema-kyerza5s.js} +21 -21
- package/dist/chunks/{workspace-m55whf0h.js → schema-m55whf0h.js} +2 -2
- package/dist/chunks/{workspace-mnb29hrd.js → schema-m7be90d5.js} +90 -90
- package/dist/chunks/{workspace-n8kgxz9p.js → schema-mb26c9jh.js} +7 -7
- package/dist/chunks/{workspace-mf0hyk7z.js → schema-mf0hyk7z.js} +1 -1
- package/dist/chunks/{workspace-mh28new4.js → schema-mh28new4.js} +2 -2
- package/dist/chunks/{workspace-mnb85w6b.js → schema-mnb85w6b.js} +2 -2
- package/dist/chunks/{workspace-76heey42.js → schema-mqwjjtcy.js} +10 -10
- package/dist/chunks/{workspace-6xfym4yb.js → schema-mxm93q64.js} +2 -2
- package/dist/chunks/{workspace-mxvw03gv.js → schema-mxvw03gv.js} +1 -1
- package/dist/chunks/{workspace-nesb2rcz.js → schema-nesb2rcz.js} +2 -2
- package/dist/chunks/{workspace-44q8n0ee.js → schema-nfdh4srr.js} +5 -5
- package/dist/chunks/{workspace-nr76rjj3.js → schema-nr76rjj3.js} +2 -2
- package/dist/chunks/{workspace-v63gwaj3.js → schema-nt7p4qke.js} +6 -6
- package/dist/chunks/{workspace-nv9gjhyw.js → schema-nv9gjhyw.js} +2 -2
- package/dist/chunks/{workspace-nzrjycs5.js → schema-nzrjycs5.js} +1 -1
- package/dist/chunks/{workspace-ea9p4tra.js → schema-p28prf16.js} +19 -19
- package/dist/chunks/{workspace-95t67323.js → schema-pbjc30rf.js} +9 -9
- package/dist/chunks/{workspace-gfbb7dtj.js → schema-pe8yaqsn.js} +3 -3
- package/dist/chunks/{workspace-pq4b4pqk.js → schema-pq4b4pqk.js} +2 -2
- package/dist/chunks/{workspace-wn1e843c.js → schema-pw5vf5zh.js} +154 -154
- package/dist/chunks/{workspace-bedmregb.js → schema-pwm6pcq4.js} +4 -4
- package/dist/chunks/{workspace-5kcrrpkb.js → schema-q0j9qayj.js} +6 -6
- package/dist/chunks/{workspace-mp8sty81.js → schema-q70gvhbx.js} +9 -9
- package/dist/chunks/{workspace-q9b4qnv8.js → schema-q9b4qnv8.js} +2 -2
- package/dist/chunks/{workspace-qe0d689s.js → schema-qe0d689s.js} +2 -2
- package/dist/chunks/{workspace-r13w8t0w.js → schema-r13w8t0w.js} +2 -2
- package/dist/chunks/{workspace-hmwh360q.js → schema-r36eq9y0.js} +6 -6
- package/dist/chunks/{workspace-r3k9abhd.js → schema-r3k9abhd.js} +2 -2
- package/dist/chunks/{workspace-p9yhvfmr.js → schema-r6fxsp6w.js} +2 -2
- package/dist/chunks/{workspace-rahat93a.js → schema-rahat93a.js} +1 -1
- package/dist/chunks/{workspace-rameyvmv.js → schema-rameyvmv.js} +1 -1
- package/dist/chunks/{workspace-rbnp2c85.js → schema-rbnp2c85.js} +3 -3
- package/dist/chunks/{workspace-pvxskqy9.js → schema-rd3fbjnm.js} +9 -9
- package/dist/chunks/{workspace-rfbm65k8.js → schema-rfbm65k8.js} +1 -1
- package/dist/chunks/{workspace-4w15vnvw.js → schema-rxh9anj9.js} +12 -12
- package/dist/chunks/{workspace-s33fw6zm.js → schema-s33fw6zm.js} +1 -1
- package/dist/chunks/{workspace-pbr8rt2b.js → schema-s88ssrw4.js} +3 -3
- package/dist/chunks/{workspace-se1aqaya.js → schema-se1aqaya.js} +3 -3
- package/dist/chunks/{workspace-smpeg8c9.js → schema-smpeg8c9.js} +2 -2
- package/dist/chunks/{workspace-8gwz3839.js → schema-sq6fk3cm.js} +7 -7
- package/dist/chunks/{workspace-g5basxzh.js → schema-stg9t523.js} +9 -9
- package/dist/chunks/{workspace-sw84ckhj.js → schema-sw84ckhj.js} +1 -1
- package/dist/chunks/{workspace-btyytdvb.js → schema-swe591m5.js} +12 -12
- package/dist/chunks/{workspace-thzyb7a2.js → schema-szjxv7pm.js} +8 -8
- package/dist/chunks/{workspace-t14kykx1.js → schema-t14kykx1.js} +1 -1
- package/dist/chunks/{workspace-h4ebfa3r.js → schema-t2gfe931.js} +2 -2
- package/dist/chunks/{workspace-tcptxgyq.js → schema-tcptxgyq.js} +1 -1
- package/dist/chunks/{workspace-h0651kv6.js → schema-te13jtgd.js} +4 -4
- package/dist/chunks/{workspace-fdrh9mhy.js → schema-teaq46xj.js} +3 -3
- package/dist/chunks/{workspace-tgbb2ckq.js → schema-tgbb2ckq.js} +2 -2
- package/dist/chunks/{workspace-thstd87d.js → schema-thstd87d.js} +1 -1
- package/dist/chunks/{workspace-gxmvzzd0.js → schema-trmtb9t9.js} +11 -11
- package/dist/chunks/{workspace-m5t4efyq.js → schema-v1fca5ms.js} +3 -3
- package/dist/chunks/{workspace-v2wshkax.js → schema-v2wshkax.js} +1 -1
- package/dist/chunks/{workspace-v80zsxnb.js → schema-v80zsxnb.js} +1 -1
- package/dist/chunks/{workspace-v972xay6.js → schema-v972xay6.js} +1 -1
- package/dist/chunks/{workspace-v9bfv94f.js → schema-v9bfv94f.js} +1 -1
- package/dist/chunks/{workspace-vcwr2vpf.js → schema-vcwr2vpf.js} +1 -1
- package/dist/chunks/{workspace-1cxdyd8h.js → schema-vpwx2zdk.js} +4 -4
- package/dist/chunks/{workspace-vqbmgfq1.js → schema-vqbmgfq1.js} +3 -3
- package/dist/chunks/{workspace-wc8th075.js → schema-vycjsnjm.js} +3 -3
- package/dist/chunks/{workspace-vz89hfgr.js → schema-vz89hfgr.js} +1 -1
- package/dist/chunks/{workspace-wbkt8qpj.js → schema-wbkt8qpj.js} +1 -1
- package/dist/chunks/{workspace-wd268jeg.js → schema-wd268jeg.js} +1 -1
- package/dist/chunks/{workspace-ez7qszd8.js → schema-wfdyk5dd.js} +4 -4
- package/dist/chunks/{workspace-whk0g8cz.js → schema-whk0g8cz.js} +4 -4
- package/dist/chunks/{workspace-wmxdh12w.js → schema-wmxdh12w.js} +1 -1
- package/dist/chunks/{workspace-wps8gh8n.js → schema-wps8gh8n.js} +2 -2
- package/dist/chunks/{workspace-8gk7m0p4.js → schema-wt3jwz4z.js} +3 -3
- package/dist/chunks/{workspace-x89rah0x.js → schema-x89rah0x.js} +1 -1
- package/dist/chunks/{workspace-xczfw7dq.js → schema-xczfw7dq.js} +1 -1
- package/dist/chunks/{workspace-s5m0eq2h.js → schema-xexpz37b.js} +4 -4
- package/dist/chunks/{workspace-kg3w89a4.js → schema-xg86q8bf.js} +6 -6
- package/dist/chunks/{workspace-xgv25zxy.js → schema-xgv25zxy.js} +1 -1
- package/dist/chunks/{workspace-xwftk1fd.js → schema-xwftk1fd.js} +2 -2
- package/dist/chunks/{workspace-xxpvz42q.js → schema-xxpvz42q.js} +3 -3
- package/dist/chunks/{workspace-y0x38cee.js → schema-y0x38cee.js} +1 -1
- package/dist/chunks/{workspace-y198y2ra.js → schema-y198y2ra.js} +1 -1
- package/dist/chunks/{workspace-y67x6rf6.js → schema-y67x6rf6.js} +1 -1
- package/dist/chunks/{workspace-2ggxtwc0.js → schema-y741dvq9.js} +58 -58
- package/dist/chunks/{workspace-y980s7ka.js → schema-y980s7ka.js} +3 -3
- package/dist/chunks/{workspace-8ktcnywr.js → schema-y9h21c2b.js} +10 -10
- package/dist/chunks/{workspace-ybhfpy64.js → schema-ybhfpy64.js} +2 -2
- package/dist/chunks/{workspace-yc2vxtaa.js → schema-yc2vxtaa.js} +2 -2
- package/dist/chunks/{workspace-tb33ng7x.js → schema-ydksdzdn.js} +107 -35
- package/dist/chunks/{workspace-yf0knd5z.js → schema-yf0knd5z.js} +2 -2
- package/dist/chunks/{workspace-zsc4vaxg.js → schema-yfzj8r6f.js} +6 -6
- package/dist/chunks/{workspace-ygy0xbqa.js → schema-ygy0xbqa.js} +3 -3
- package/dist/chunks/{workspace-d4x5kmsn.js → schema-z4re7gpa.js} +11 -10
- package/dist/chunks/{workspace-bkhc9grj.js → schema-z6z6bfwb.js} +6 -6
- package/dist/chunks/{workspace-rbb8drtn.js → schema-z954vqqj.js} +5 -5
- package/dist/chunks/{workspace-dbbg27t1.js → schema-zbm3b1hc.js} +10 -10
- package/dist/chunks/{workspace-zbqqnp0n.js → schema-zbqqnp0n.js} +1 -1
- package/dist/chunks/{workspace-zdkg1k91.js → schema-zdkg1k91.js} +1 -1
- package/dist/chunks/{workspace-f2a5dnb8.js → schema-zmn0f7tf.js} +3 -3
- package/dist/chunks/{workspace-e3vpyf6g.js → schema-zmzn1jst.js} +5 -5
- package/dist/chunks/{workspace-6ecmz7bg.js → schema-zp6zqjdm.js} +3 -3
- package/dist/chunks/{workspace-zxcy6vhn.js → schema-zxcy6vhn.js} +1 -1
- package/dist/chunks/{workspace-zxe9jjhn.js → schema-zxe9jjhn.js} +2 -2
- 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 +70 -70
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +135 -135
- package/dist/config/plugin/command.js +118 -118
- package/dist/config/plugin/compaction.js +170 -170
- package/dist/config/plugin/entry-observer.js +114 -114
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +108 -108
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/variable.js +4 -4
- package/dist/config.js +113 -113
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- 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 +19 -19
- 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 +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- 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 +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +77 -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 +327 -327
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +2 -2
- 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-policy.js +3 -3
- package/dist/filesystem/location-watcher.js +306 -306
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +96 -96
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +85 -85
- package/dist/generate.js +84 -84
- 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 +18 -18
- 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 +2 -2
- 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 +11 -11
- 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/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 +98 -98
- package/dist/image.js +98 -98
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +87 -87
- package/dist/location-mutation.js +84 -84
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +327 -327
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -81
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +70 -70
- package/dist/plugin/agent.js +106 -106
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +170 -170
- package/dist/plugin/internal.js +300 -300
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +106 -106
- package/dist/plugin/promise.js +2 -2
- 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 +121 -121
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +119 -119
- 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 +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +93 -93
- 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/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/runtime.js +158 -156
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +305 -305
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +171 -171
- package/dist/project/markers.js +74 -74
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +82 -82
- 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 +70 -70
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +77 -77
- package/dist/reference.js +75 -75
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +94 -94
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +142 -142
- package/dist/session/context.js +312 -312
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +252 -129
- package/dist/session/execution.js +125 -121
- package/dist/session/generate-node.js +313 -313
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +77 -77
- package/dist/session/inbox.js +77 -77
- package/dist/session/info.js +92 -92
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +101 -101
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +138 -138
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +90 -90
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +319 -319
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -72
- package/dist/session/runner/step.js +147 -147
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +100 -100
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +140 -140
- package/dist/session/to-session-error.js +116 -116
- package/dist/session/transfer.js +156 -154
- package/dist/session/usage.js +2 -2
- package/dist/session.js +156 -154
- package/dist/shell/parse.js +5 -5
- 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/scan.js +1 -1
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +85 -85
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +186 -186
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +183 -183
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +120 -120
- package/dist/types/job.d.ts +45 -8
- package/dist/types/plugin/runtime.d.ts +1 -1
- package/dist/types/session/execution/restart.d.ts +6 -1
- package/dist/types/session/execution.d.ts +2 -1
- package/dist/types/session/store.d.ts +5 -7
- package/dist/util/array.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/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/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/patch.js +2 -2
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- /package/dist/chunks/{workspace-0cgt0xh2.js → schema-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{workspace-0f48qthw.js → schema-0f48qthw.js} +0 -0
- /package/dist/chunks/{workspace-0zz82cjq.js → schema-0zz82cjq.js} +0 -0
- /package/dist/chunks/{workspace-1fb7bmpf.js → schema-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{workspace-1wcz8fvj.js → schema-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{workspace-2qdx6zz3.js → schema-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{workspace-2xb0r1c6.js → schema-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{workspace-39ktntah.js → schema-39ktntah.js} +0 -0
- /package/dist/chunks/{workspace-3g3rpp2x.js → schema-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{workspace-3q6gbwmd.js → schema-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{workspace-3w3ybtfd.js → schema-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{workspace-47ty4mvs.js → schema-47ty4mvs.js} +0 -0
- /package/dist/chunks/{workspace-4b2tz2m9.js → schema-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{workspace-5a5ch9ts.js → schema-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{workspace-5va1yh78.js → schema-5va1yh78.js} +0 -0
- /package/dist/chunks/{workspace-61ek4hj9.js → schema-61ek4hj9.js} +0 -0
- /package/dist/chunks/{workspace-69qrqpw0.js → schema-69qrqpw0.js} +0 -0
- /package/dist/chunks/{workspace-6zqxzw0a.js → schema-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{workspace-7n9qwqk4.js → schema-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{workspace-8nn8kqcn.js → schema-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{workspace-8rpfd2h6.js → schema-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{workspace-8sj3ajy5.js → schema-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{workspace-8w9tzfz1.js → schema-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{workspace-906y0b6d.js → schema-906y0b6d.js} +0 -0
- /package/dist/chunks/{workspace-9dct5xhx.js → schema-9dct5xhx.js} +0 -0
- /package/dist/chunks/{workspace-9sdtsapf.js → schema-9sdtsapf.js} +0 -0
- /package/dist/chunks/{workspace-a02svayp.js → schema-a02svayp.js} +0 -0
- /package/dist/chunks/{workspace-a83yvq99.js → schema-a83yvq99.js} +0 -0
- /package/dist/chunks/{workspace-ayevdmef.js → schema-ayevdmef.js} +0 -0
- /package/dist/chunks/{workspace-b02txbh8.js → schema-b02txbh8.js} +0 -0
- /package/dist/chunks/{workspace-bbqs2y60.js → schema-bbqs2y60.js} +0 -0
- /package/dist/chunks/{workspace-bjwj8hwv.js → schema-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{workspace-brsh5f65.js → schema-brsh5f65.js} +0 -0
- /package/dist/chunks/{workspace-bxdhjb3y.js → schema-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{workspace-c77ad0vh.js → schema-c77ad0vh.js} +0 -0
- /package/dist/chunks/{workspace-ck5pgha0.js → schema-ck5pgha0.js} +0 -0
- /package/dist/chunks/{workspace-cm67rqy2.js → schema-cm67rqy2.js} +0 -0
- /package/dist/chunks/{workspace-df3v2q6j.js → schema-df3v2q6j.js} +0 -0
- /package/dist/chunks/{workspace-dhcq6c44.js → schema-dhcq6c44.js} +0 -0
- /package/dist/chunks/{workspace-dht5baf0.js → schema-dht5baf0.js} +0 -0
- /package/dist/chunks/{workspace-dkmkay92.js → schema-dkmkay92.js} +0 -0
- /package/dist/chunks/{workspace-drean1vx.js → schema-drean1vx.js} +0 -0
- /package/dist/chunks/{workspace-ehj9csmv.js → schema-ehj9csmv.js} +0 -0
- /package/dist/chunks/{workspace-em6xpscd.js → schema-em6xpscd.js} +0 -0
- /package/dist/chunks/{workspace-emmqknsm.js → schema-emmqknsm.js} +0 -0
- /package/dist/chunks/{workspace-ezs3tagn.js → schema-ezs3tagn.js} +0 -0
- /package/dist/chunks/{workspace-f14r7hfz.js → schema-f14r7hfz.js} +0 -0
- /package/dist/chunks/{workspace-f4cp4g4a.js → schema-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{workspace-faypg4r1.js → schema-faypg4r1.js} +0 -0
- /package/dist/chunks/{workspace-fgbfdq62.js → schema-fgbfdq62.js} +0 -0
- /package/dist/chunks/{workspace-gd5xeqc2.js → schema-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{workspace-ghm4673n.js → schema-ghm4673n.js} +0 -0
- /package/dist/chunks/{workspace-ghwjy7my.js → schema-ghwjy7my.js} +0 -0
- /package/dist/chunks/{workspace-gqn2zsfg.js → schema-gqn2zsfg.js} +0 -0
- /package/dist/chunks/{workspace-gy500k2r.js → schema-gy500k2r.js} +0 -0
- /package/dist/chunks/{workspace-h846wrk2.js → schema-h846wrk2.js} +0 -0
- /package/dist/chunks/{workspace-hzeg9cfr.js → schema-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{workspace-j07kk359.js → schema-j07kk359.js} +0 -0
- /package/dist/chunks/{workspace-jve7t217.js → schema-jve7t217.js} +0 -0
- /package/dist/chunks/{workspace-k3e42drn.js → schema-k3e42drn.js} +0 -0
- /package/dist/chunks/{workspace-k8b45nas.js → schema-k8b45nas.js} +0 -0
- /package/dist/chunks/{workspace-kcacmy5c.js → schema-kcacmy5c.js} +0 -0
- /package/dist/chunks/{workspace-kpdbz7gn.js → schema-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{workspace-kxy11nzk.js → schema-kxy11nzk.js} +0 -0
- /package/dist/chunks/{workspace-kyyqvx4s.js → schema-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{workspace-m8cbvarh.js → schema-m8cbvarh.js} +0 -0
- /package/dist/chunks/{workspace-ma60vzgv.js → schema-ma60vzgv.js} +0 -0
- /package/dist/chunks/{workspace-n3m50c2t.js → schema-n3m50c2t.js} +0 -0
- /package/dist/chunks/{workspace-nkm1m8dz.js → schema-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{workspace-nsc0c3zb.js → schema-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{workspace-qaarhjrp.js → schema-qaarhjrp.js} +0 -0
- /package/dist/chunks/{workspace-qc167nrn.js → schema-qc167nrn.js} +0 -0
- /package/dist/chunks/{workspace-qp95y4jb.js → schema-qp95y4jb.js} +0 -0
- /package/dist/chunks/{workspace-r8f4w671.js → schema-r8f4w671.js} +0 -0
- /package/dist/chunks/{workspace-rdfev9jy.js → schema-rdfev9jy.js} +0 -0
- /package/dist/chunks/{workspace-rvfvac9x.js → schema-rvfvac9x.js} +0 -0
- /package/dist/chunks/{workspace-s7whb9gt.js → schema-s7whb9gt.js} +0 -0
- /package/dist/chunks/{workspace-se76j685.js → schema-se76j685.js} +0 -0
- /package/dist/chunks/{workspace-sem2g21k.js → schema-sem2g21k.js} +0 -0
- /package/dist/chunks/{workspace-sp575ygv.js → schema-sp575ygv.js} +0 -0
- /package/dist/chunks/{workspace-tmb1f636.js → schema-tmb1f636.js} +0 -0
- /package/dist/chunks/{workspace-ttxf0gsy.js → schema-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{workspace-tvmhrvfj.js → schema-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{workspace-v2adqbbe.js → schema-v2adqbbe.js} +0 -0
- /package/dist/chunks/{workspace-vkvb1sb3.js → schema-vkvb1sb3.js} +0 -0
- /package/dist/chunks/{workspace-wj4sxzqa.js → schema-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{workspace-wwntjmk1.js → schema-wwntjmk1.js} +0 -0
- /package/dist/chunks/{workspace-wyqjaaa5.js → schema-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{workspace-x4q807cx.js → schema-x4q807cx.js} +0 -0
- /package/dist/chunks/{workspace-xt0068v8.js → schema-xt0068v8.js} +0 -0
- /package/dist/chunks/{workspace-yrqrg4vp.js → schema-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{workspace-z47nswr2.js → schema-z47nswr2.js} +0 -0
- /package/dist/chunks/{workspace-zsf8rs93.js → schema-zsf8rs93.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-kp1t5rcy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_location_watcher_policy
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-6wkzvma0.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_config
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9y7v345f.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventSequenceTable,
|
|
3
3
|
EventTable
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
exports_database
|
|
7
|
-
} from "./workspace-zha6p8nc.js";
|
|
4
|
+
} from "./schema-zsf8rs93.js";
|
|
8
5
|
import {
|
|
9
6
|
exports_keyed_mutex
|
|
10
|
-
} from "./
|
|
7
|
+
} from "./schema-0kvmztkf.js";
|
|
8
|
+
import {
|
|
9
|
+
exports_database
|
|
10
|
+
} from "./schema-25vtt7r9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export,
|
|
13
13
|
__require
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-rvfvac9x.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/venice.ts
|
|
9
9
|
var VenicePlugin = createProviderPlugin({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_catalog
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-57tzwnz4.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_instructions
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-ec8vrfw5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/codemode/instructions.ts
|
|
12
12
|
var exports_instructions2 = {};
|
|
@@ -1,121 +1,121 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_revert
|
|
3
|
+
} from "./schema-stg9t523.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_generate
|
|
6
|
+
} from "./schema-xgv25zxy.js";
|
|
1
7
|
import {
|
|
2
8
|
exports_projector
|
|
3
|
-
} from "./
|
|
9
|
+
} from "./schema-kyerza5s.js";
|
|
4
10
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
11
|
+
exports_instruction_entry
|
|
12
|
+
} from "./schema-3317h9v8.js";
|
|
7
13
|
import {
|
|
8
14
|
exports_execution
|
|
9
|
-
} from "./
|
|
15
|
+
} from "./schema-cg9jc6md.js";
|
|
10
16
|
import {
|
|
11
17
|
exports_inbox
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_generate
|
|
15
|
-
} from "./workspace-xgv25zxy.js";
|
|
16
|
-
import {
|
|
17
|
-
exports_instruction_entry
|
|
18
|
-
} from "./workspace-g6td1p09.js";
|
|
19
|
-
import {
|
|
20
|
-
exports_revert
|
|
21
|
-
} from "./workspace-g5basxzh.js";
|
|
18
|
+
} from "./schema-h3kcef9b.js";
|
|
22
19
|
import {
|
|
23
20
|
exports_supervisor_service
|
|
24
|
-
} from "./
|
|
21
|
+
} from "./schema-s33fw6zm.js";
|
|
25
22
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
23
|
+
exports_model_transport
|
|
24
|
+
} from "./schema-d4ax61k3.js";
|
|
28
25
|
import {
|
|
29
26
|
exports_shell
|
|
30
|
-
} from "./
|
|
27
|
+
} from "./schema-b14bqyjs.js";
|
|
31
28
|
import {
|
|
32
29
|
exports_environment
|
|
33
|
-
} from "./
|
|
34
|
-
import {
|
|
35
|
-
exports_mime
|
|
36
|
-
} from "./workspace-dhphtf1x.js";
|
|
30
|
+
} from "./schema-6ky7rqk7.js";
|
|
37
31
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
32
|
+
exports_job
|
|
33
|
+
} from "./schema-ydksdzdn.js";
|
|
40
34
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
35
|
+
exports_image
|
|
36
|
+
} from "./schema-mxm93q64.js";
|
|
43
37
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
38
|
+
exports_mime
|
|
39
|
+
} from "./schema-dhphtf1x.js";
|
|
46
40
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
41
|
+
exports_app
|
|
42
|
+
} from "./schema-50jxp3hw.js";
|
|
49
43
|
import {
|
|
50
44
|
Slug
|
|
51
|
-
} from "./
|
|
45
|
+
} from "./schema-df3v2q6j.js";
|
|
46
|
+
import {
|
|
47
|
+
exports_skill
|
|
48
|
+
} from "./schema-8f9xkat7.js";
|
|
52
49
|
import {
|
|
53
50
|
exports_store
|
|
54
|
-
} from "./
|
|
51
|
+
} from "./schema-ab2rwxac.js";
|
|
55
52
|
import {
|
|
56
53
|
fromRow
|
|
57
|
-
} from "./
|
|
54
|
+
} from "./schema-jj11p3ah.js";
|
|
58
55
|
import {
|
|
59
56
|
exports_history
|
|
60
|
-
} from "./
|
|
57
|
+
} from "./schema-q70gvhbx.js";
|
|
61
58
|
import {
|
|
62
59
|
exports_instruction_state
|
|
63
|
-
} from "./
|
|
60
|
+
} from "./schema-f11jbhcb.js";
|
|
64
61
|
import {
|
|
65
62
|
ForkEmptyError,
|
|
66
63
|
MessageDecodeError,
|
|
67
64
|
NotFoundError
|
|
68
|
-
} from "./
|
|
65
|
+
} from "./schema-fb7nfzf2.js";
|
|
69
66
|
import {
|
|
70
67
|
SessionMessageTable,
|
|
71
68
|
SessionTable
|
|
72
|
-
} from "./
|
|
69
|
+
} from "./schema-ygy0xbqa.js";
|
|
73
70
|
import {
|
|
74
71
|
SessionMessage
|
|
75
|
-
} from "./
|
|
72
|
+
} from "./schema-8rpfd2h6.js";
|
|
76
73
|
import {
|
|
77
74
|
ID,
|
|
78
75
|
Info,
|
|
79
76
|
SessionSchema
|
|
80
|
-
} from "./
|
|
77
|
+
} from "./schema-bjwj8hwv.js";
|
|
81
78
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
84
|
-
import {
|
|
85
|
-
exports_image
|
|
86
|
-
} from "./workspace-6xfym4yb.js";
|
|
79
|
+
exports_model
|
|
80
|
+
} from "./schema-r13w8t0w.js";
|
|
87
81
|
import {
|
|
88
82
|
exports_workspace
|
|
89
|
-
} from "./
|
|
83
|
+
} from "./schema-1egrw3y5.js";
|
|
84
|
+
import {
|
|
85
|
+
exports_command
|
|
86
|
+
} from "./schema-21e3887x.js";
|
|
87
|
+
import {
|
|
88
|
+
SessionEvent
|
|
89
|
+
} from "./schema-a83yvq99.js";
|
|
90
|
+
import {
|
|
91
|
+
exports_location_service_map
|
|
92
|
+
} from "./schema-zdkg1k91.js";
|
|
90
93
|
import {
|
|
91
94
|
exports_location
|
|
92
|
-
} from "./
|
|
95
|
+
} from "./schema-5799k2nn.js";
|
|
93
96
|
import {
|
|
94
97
|
exports_project
|
|
95
|
-
} from "./
|
|
98
|
+
} from "./schema-7v5hvxpd.js";
|
|
96
99
|
import {
|
|
97
100
|
upsertProject
|
|
98
|
-
} from "./
|
|
101
|
+
} from "./schema-88jbfw8z.js";
|
|
99
102
|
import {
|
|
100
103
|
AbsolutePath,
|
|
101
104
|
PositiveInt,
|
|
102
105
|
RelativePath
|
|
103
|
-
} from "./
|
|
104
|
-
import {
|
|
105
|
-
exports_model
|
|
106
|
-
} from "./workspace-r13w8t0w.js";
|
|
106
|
+
} from "./schema-j07kk359.js";
|
|
107
107
|
import {
|
|
108
108
|
exports_bus
|
|
109
|
-
} from "./
|
|
110
|
-
import {
|
|
111
|
-
exports_database
|
|
112
|
-
} from "./workspace-zha6p8nc.js";
|
|
109
|
+
} from "./schema-xg86q8bf.js";
|
|
113
110
|
import {
|
|
114
111
|
exports_keyed_mutex
|
|
115
|
-
} from "./
|
|
112
|
+
} from "./schema-0kvmztkf.js";
|
|
113
|
+
import {
|
|
114
|
+
exports_database
|
|
115
|
+
} from "./schema-25vtt7r9.js";
|
|
116
116
|
import {
|
|
117
117
|
__export
|
|
118
|
-
} from "./
|
|
118
|
+
} from "./schema-rvfvac9x.js";
|
|
119
119
|
|
|
120
120
|
// src/session.ts
|
|
121
121
|
var exports_session = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-dkmkay92.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-8w9tzfz1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_skill_file
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-pwm6pcq4.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_discovery
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
exports_skill
|
|
9
|
-
} from "./workspace-cydbd033.js";
|
|
6
|
+
} from "./schema-ybhfpy64.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_config
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./schema-9y7v345f.js";
|
|
13
10
|
import {
|
|
14
11
|
exports_watcher
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./schema-y980s7ka.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_skill
|
|
15
|
+
} from "./schema-8f9xkat7.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_location
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-5799k2nn.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-j07kk359.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-rvfvac9x.js";
|
|
25
25
|
|
|
26
26
|
// src/config/plugin/skill.ts
|
|
27
27
|
var exports_skill2 = {};
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_id
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-58xdvehb.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_kv
|
|
6
|
+
} from "./schema-bwz2bvaa.js";
|
|
7
|
+
import {
|
|
8
|
+
SessionMessage
|
|
9
|
+
} from "./schema-8rpfd2h6.js";
|
|
10
|
+
import {
|
|
11
|
+
SessionSchema
|
|
12
|
+
} from "./schema-bjwj8hwv.js";
|
|
4
13
|
import {
|
|
5
14
|
__export
|
|
6
|
-
} from "./
|
|
15
|
+
} from "./schema-rvfvac9x.js";
|
|
7
16
|
|
|
8
17
|
// src/job.ts
|
|
9
18
|
var exports_job = {};
|
|
@@ -13,8 +22,33 @@ __export(exports_job, {
|
|
|
13
22
|
Service: () => Service,
|
|
14
23
|
Job: () => exports_job
|
|
15
24
|
});
|
|
16
|
-
import { Cause, Clock, Context, Deferred, Effect, Exit, Layer, Scope, SynchronizedRef } from "effect";
|
|
25
|
+
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
17
26
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
27
|
+
var Background = Schema.Struct({
|
|
28
|
+
id: Schema.String,
|
|
29
|
+
notificationID: SessionMessage.ID,
|
|
30
|
+
recovery: Schema.Union([
|
|
31
|
+
Schema.Struct({
|
|
32
|
+
kind: Schema.Literal("shell"),
|
|
33
|
+
sessionID: SessionSchema.ID,
|
|
34
|
+
shellID: Schema.String,
|
|
35
|
+
command: Schema.String
|
|
36
|
+
}),
|
|
37
|
+
Schema.Struct({
|
|
38
|
+
kind: Schema.Literal("subagent"),
|
|
39
|
+
parentSessionID: SessionSchema.ID,
|
|
40
|
+
childSessionID: SessionSchema.ID,
|
|
41
|
+
agent: Schema.String,
|
|
42
|
+
description: Schema.String
|
|
43
|
+
})
|
|
44
|
+
]),
|
|
45
|
+
status: Schema.Literals(["running", "completed", "error", "cancelled"]),
|
|
46
|
+
output: Schema.optionalKey(Schema.String),
|
|
47
|
+
error: Schema.optionalKey(Schema.String)
|
|
48
|
+
});
|
|
49
|
+
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
50
|
+
var backgroundPrefix = "job.background/";
|
|
51
|
+
|
|
18
52
|
class Service extends Context.Service()("@opencode/Job") {
|
|
19
53
|
}
|
|
20
54
|
function snapshot(job) {
|
|
@@ -43,13 +77,26 @@ function decrementSession(input, sessionID) {
|
|
|
43
77
|
return next;
|
|
44
78
|
}
|
|
45
79
|
var make = Effect.gen(function* () {
|
|
80
|
+
const kv = yield* exports_kv.Service;
|
|
46
81
|
const state = {
|
|
47
82
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
48
83
|
scope: yield* Scope.Scope
|
|
49
84
|
};
|
|
85
|
+
const persistBackground = Effect.fnUntraced(function* (job) {
|
|
86
|
+
if (!job.recovery || !job.info.notificationID)
|
|
87
|
+
return;
|
|
88
|
+
yield* kv.set(`${backgroundPrefix}${job.info.notificationID}`, {
|
|
89
|
+
id: job.info.id,
|
|
90
|
+
notificationID: job.info.notificationID,
|
|
91
|
+
recovery: job.recovery,
|
|
92
|
+
status: job.info.status,
|
|
93
|
+
...job.info.output !== undefined ? { output: job.info.output } : {},
|
|
94
|
+
...job.info.error !== undefined ? { error: job.info.error } : {}
|
|
95
|
+
});
|
|
96
|
+
});
|
|
50
97
|
const settle = Effect.fnUntraced(function* (id, token, exit) {
|
|
51
98
|
const completed_at = yield* Clock.currentTimeMillis;
|
|
52
|
-
const result = yield* SynchronizedRef.
|
|
99
|
+
const result = yield* SynchronizedRef.modifyEffect(state.jobs, Effect.fnUntraced(function* (jobs) {
|
|
53
100
|
const job = jobs.get(id);
|
|
54
101
|
if (!job)
|
|
55
102
|
return [{}, jobs];
|
|
@@ -69,8 +116,10 @@ var make = Effect.gen(function* () {
|
|
|
69
116
|
...Exit.isFailure(exit) ? { error: errorText(Cause.squash(exit.cause)) } : {}
|
|
70
117
|
}
|
|
71
118
|
};
|
|
119
|
+
if (status !== "cancelled")
|
|
120
|
+
yield* persistBackground(next);
|
|
72
121
|
return [{ info: snapshot(next), done: job.done, scope: job.scope }, new Map(jobs).set(id, next)];
|
|
73
|
-
});
|
|
122
|
+
}));
|
|
74
123
|
if (result.info && result.done)
|
|
75
124
|
yield* Deferred.succeed(result.done, result.info).pipe(Effect.ignore);
|
|
76
125
|
if (result.scope) {
|
|
@@ -78,12 +127,6 @@ var make = Effect.gen(function* () {
|
|
|
78
127
|
}
|
|
79
128
|
return result.info;
|
|
80
129
|
});
|
|
81
|
-
const fork = Effect.fnUntraced(function* (scope, id, token, run) {
|
|
82
|
-
return yield* run.pipe(Effect.matchCauseEffect({
|
|
83
|
-
onSuccess: (output) => settle(id, token, Exit.succeed(output)),
|
|
84
|
-
onFailure: (cause) => settle(id, token, Exit.failCause(cause))
|
|
85
|
-
}), Effect.asVoid, Effect.forkIn(scope, { startImmediately: true }));
|
|
86
|
-
});
|
|
87
130
|
const get = Effect.fn("Job.get")(function* (id) {
|
|
88
131
|
const job = (yield* SynchronizedRef.get(state.jobs)).get(id);
|
|
89
132
|
if (!job)
|
|
@@ -110,19 +153,21 @@ var make = Effect.gen(function* () {
|
|
|
110
153
|
title: input.title,
|
|
111
154
|
status: "running",
|
|
112
155
|
started_at,
|
|
113
|
-
metadata: input.metadata
|
|
156
|
+
metadata: input.metadata,
|
|
157
|
+
...input.notificationID ? { notificationID: input.notificationID } : {}
|
|
114
158
|
},
|
|
115
159
|
done,
|
|
116
160
|
backgrounded,
|
|
117
161
|
scope,
|
|
118
162
|
token,
|
|
119
163
|
blockingSessions: new Map,
|
|
120
|
-
isBackgrounded: false
|
|
164
|
+
isBackgrounded: false,
|
|
165
|
+
recovery: input.recovery
|
|
121
166
|
};
|
|
122
167
|
return [{ info: snapshot(job), scope, token }, new Map(jobs).set(id, job)];
|
|
123
168
|
}));
|
|
124
169
|
if ("scope" in result)
|
|
125
|
-
yield*
|
|
170
|
+
yield* restore(input.run).pipe(Effect.exit, Effect.flatMap((exit) => settle(id, result.token, exit)), Effect.asVoid, Effect.forkIn(result.scope, { startImmediately: true }));
|
|
126
171
|
return result.info;
|
|
127
172
|
}));
|
|
128
173
|
});
|
|
@@ -177,26 +222,35 @@ var make = Effect.gen(function* () {
|
|
|
177
222
|
return { type: "backgrounded", info: result.info };
|
|
178
223
|
return yield* Effect.raceFirst(Deferred.await(result.wait.done).pipe(Effect.map((info) => ({ type: "finished", info }))), Deferred.await(result.wait.backgrounded).pipe(Effect.map((info) => ({ type: "backgrounded", info })))).pipe(Effect.ensuring(removeBlock(input)));
|
|
179
224
|
});
|
|
225
|
+
const markBackground = Effect.fnUntraced(function* (job) {
|
|
226
|
+
const next = {
|
|
227
|
+
...job,
|
|
228
|
+
isBackgrounded: true,
|
|
229
|
+
blockingSessions: new Map,
|
|
230
|
+
info: {
|
|
231
|
+
...job.info,
|
|
232
|
+
...job.recovery ? { notificationID: job.info.notificationID ?? SessionMessage.ID.create() } : {}
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
yield* persistBackground(next);
|
|
236
|
+
return next;
|
|
237
|
+
});
|
|
180
238
|
const background = Effect.fn("Job.background")(function* (id) {
|
|
181
|
-
const result = yield* SynchronizedRef.
|
|
239
|
+
const result = yield* SynchronizedRef.modifyEffect(state.jobs, Effect.fnUntraced(function* (jobs) {
|
|
182
240
|
const job = jobs.get(id);
|
|
183
|
-
if (!job || job.info.status !== "running")
|
|
241
|
+
if (!job || job.info.status !== "running" && !job.recovery)
|
|
184
242
|
return [{}, jobs];
|
|
185
243
|
if (job.isBackgrounded)
|
|
186
244
|
return [{ info: snapshot(job) }, jobs];
|
|
187
|
-
const next =
|
|
188
|
-
...job,
|
|
189
|
-
isBackgrounded: true,
|
|
190
|
-
blockingSessions: new Map
|
|
191
|
-
};
|
|
245
|
+
const next = yield* markBackground(job);
|
|
192
246
|
return [{ info: snapshot(next), backgrounded: job.backgrounded }, new Map(jobs).set(id, next)];
|
|
193
|
-
});
|
|
247
|
+
}));
|
|
194
248
|
if (result.info && result.backgrounded)
|
|
195
249
|
yield* Deferred.succeed(result.backgrounded, result.info).pipe(Effect.ignore);
|
|
196
250
|
return result.info;
|
|
197
251
|
});
|
|
198
252
|
const backgroundAll = Effect.fn("Job.backgroundAll")(function* (input) {
|
|
199
|
-
const result = yield* SynchronizedRef.
|
|
253
|
+
const result = yield* SynchronizedRef.modifyEffect(state.jobs, Effect.fnUntraced(function* (jobs) {
|
|
200
254
|
const results = [];
|
|
201
255
|
const next = new Map(jobs);
|
|
202
256
|
for (const [id, job] of jobs) {
|
|
@@ -208,22 +262,18 @@ var make = Effect.gen(function* () {
|
|
|
208
262
|
continue;
|
|
209
263
|
if (!job.blockingSessions.has(input.sessionID))
|
|
210
264
|
continue;
|
|
211
|
-
const updated =
|
|
212
|
-
...job,
|
|
213
|
-
isBackgrounded: true,
|
|
214
|
-
blockingSessions: new Map
|
|
215
|
-
};
|
|
265
|
+
const updated = yield* markBackground(job);
|
|
216
266
|
results.push({ info: snapshot(updated), backgrounded: job.backgrounded });
|
|
217
267
|
next.set(id, updated);
|
|
218
268
|
}
|
|
219
269
|
return [results, next];
|
|
220
|
-
});
|
|
221
|
-
yield* Effect.forEach(result, (item) =>
|
|
222
|
-
return result.
|
|
270
|
+
}));
|
|
271
|
+
yield* Effect.forEach(result, (item) => Deferred.succeed(item.backgrounded, item.info), { discard: true });
|
|
272
|
+
return result.map((item) => item.info);
|
|
223
273
|
});
|
|
224
274
|
const cancel = Effect.fn("Job.cancel")(function* (id) {
|
|
225
275
|
const completed_at = yield* Clock.currentTimeMillis;
|
|
226
|
-
const result = yield* SynchronizedRef.
|
|
276
|
+
const result = yield* SynchronizedRef.modifyEffect(state.jobs, Effect.fnUntraced(function* (jobs) {
|
|
227
277
|
const job = jobs.get(id);
|
|
228
278
|
if (!job)
|
|
229
279
|
return [{}, jobs];
|
|
@@ -238,17 +288,39 @@ var make = Effect.gen(function* () {
|
|
|
238
288
|
completed_at
|
|
239
289
|
}
|
|
240
290
|
};
|
|
291
|
+
yield* persistBackground(next);
|
|
241
292
|
return [{ info: snapshot(next), done: job.done, scope: job.scope }, new Map(jobs).set(id, next)];
|
|
242
|
-
});
|
|
293
|
+
}));
|
|
243
294
|
if (result.info && result.done)
|
|
244
295
|
yield* Deferred.succeed(result.done, result.info).pipe(Effect.ignore);
|
|
245
296
|
if (result.scope)
|
|
246
297
|
yield* Scope.close(result.scope, Exit.void);
|
|
247
298
|
return result.info;
|
|
248
299
|
});
|
|
249
|
-
|
|
300
|
+
const pendingBackground = Effect.gen(function* () {
|
|
301
|
+
const recovered = [];
|
|
302
|
+
let after;
|
|
303
|
+
do {
|
|
304
|
+
const page = yield* kv.scan({ prefix: backgroundPrefix, after });
|
|
305
|
+
recovered.push(...Array.filterMap(page.entries, (entry) => decodeBackground(entry.value)));
|
|
306
|
+
after = page.next;
|
|
307
|
+
} while (after);
|
|
308
|
+
return recovered;
|
|
309
|
+
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
310
|
+
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
311
|
+
return Service.of({
|
|
312
|
+
get,
|
|
313
|
+
start,
|
|
314
|
+
wait,
|
|
315
|
+
block,
|
|
316
|
+
background,
|
|
317
|
+
backgroundAll,
|
|
318
|
+
cancel,
|
|
319
|
+
pendingBackground,
|
|
320
|
+
completeBackground
|
|
321
|
+
});
|
|
250
322
|
});
|
|
251
323
|
var layer = Layer.effect(Service, make);
|
|
252
|
-
var node = makeGlobalNode({ service: Service, layer, deps: [] });
|
|
324
|
+
var node = makeGlobalNode({ service: Service, layer, deps: [exports_kv.node] });
|
|
253
325
|
|
|
254
326
|
export { Service, make, node, exports_job };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
Failed,
|
|
3
3
|
NotFound,
|
|
4
4
|
WrongKind
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-xczfw7dq.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-rvfvac9x.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_snapshot
|
|
6
|
-
} from "./workspace-srrvj946.js";
|
|
3
|
+
} from "./schema-kp1t5rcy.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_config
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./schema-9y7v345f.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_snapshot
|
|
9
|
+
} from "./schema-f6xf5hjt.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/snapshot.ts
|
|
15
15
|
var exports_snapshot2 = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTable
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-88jbfw8z.js";
|
|
4
4
|
import {
|
|
5
5
|
directoryColumn,
|
|
6
6
|
pathColumn
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-zbqqnp0n.js";
|
|
8
8
|
import {
|
|
9
9
|
Timestamps
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-sem2g21k.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|