@opencode/core 0.0.0-dev-457 → 0.0.0-dev-463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +106 -106
- package/dist/app.js +7 -7
- package/dist/artifact.js +246 -246
- package/dist/bus.js +84 -84
- package/dist/chunks/{shared-cache-76pt27tc.js → kv-02x7183a.js} +20 -20
- package/dist/chunks/{shared-cache-034tev2y.js → kv-034tev2y.js} +2 -2
- package/dist/chunks/{shared-cache-c54xxfzm.js → kv-091867k5.js} +36 -36
- package/dist/chunks/{shared-cache-z0naddr1.js → kv-0a9xft0q.js} +10 -10
- package/dist/chunks/{shared-cache-xmx7xj34.js → kv-0ahs07zn.js} +4 -4
- package/dist/chunks/{shared-cache-65zstjt1.js → kv-0cqaejmj.js} +13 -13
- package/dist/chunks/{shared-cache-jxr5ks98.js → kv-0dkvek4b.js} +6 -6
- package/dist/chunks/{shared-cache-0ma9gw4f.js → kv-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shared-cache-pnwsrq7c.js → kv-0vhe3zz8.js} +8 -8
- package/dist/chunks/{shared-cache-0vfm4m30.js → kv-104sxbv1.js} +10 -10
- package/dist/chunks/{shared-cache-rj7j5fvs.js → kv-15qtk8ma.js} +4 -4
- package/dist/chunks/{shared-cache-1aqsckx4.js → kv-1aqsckx4.js} +1 -1
- package/dist/chunks/{shared-cache-1ep2p91f.js → kv-1ep2p91f.js} +2 -2
- package/dist/chunks/{shared-cache-dpfwk0f7.js → kv-1eq5t2j4.js} +27 -27
- package/dist/chunks/{shared-cache-h1fsh5gg.js → kv-1qf0danm.js} +11 -11
- package/dist/chunks/{shared-cache-1x2knyw4.js → kv-1x2knyw4.js} +1 -1
- package/dist/chunks/{shared-cache-1yq9hg58.js → kv-1yq9hg58.js} +1 -1
- package/dist/chunks/{shared-cache-8889jn16.js → kv-1zrvbnhn.js} +33 -33
- package/dist/chunks/{shared-cache-25h84942.js → kv-25h84942.js} +1 -1
- package/dist/chunks/{shared-cache-82m30djg.js → kv-279habt9.js} +11 -11
- package/dist/chunks/{shared-cache-1scgcwfj.js → kv-2cdjxzfg.js} +3 -3
- package/dist/chunks/{shared-cache-stztk7h0.js → kv-2ehydsxs.js} +23 -23
- package/dist/chunks/{shared-cache-rc7cmy01.js → kv-2j5gpsjp.js} +11 -11
- package/dist/chunks/{shared-cache-2p60zmnr.js → kv-2p60zmnr.js} +2 -2
- package/dist/chunks/{shared-cache-6qqp4y7r.js → kv-348g6vdz.js} +9 -9
- package/dist/chunks/{shared-cache-335h8y1q.js → kv-38sgh7nx.js} +36 -36
- package/dist/chunks/{shared-cache-szgw3rmb.js → kv-38x49yk8.js} +44 -44
- package/dist/chunks/{shared-cache-390xskpw.js → kv-390xskpw.js} +1 -1
- package/dist/chunks/{shared-cache-y1r4n95f.js → kv-3cnwfwb4.js} +8 -8
- package/dist/chunks/{shared-cache-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{shared-cache-wgzqyxnv.js → kv-3nfw77dj.js} +12 -12
- package/dist/chunks/{shared-cache-kzw92vkv.js → kv-3r90zn6t.js} +38 -38
- package/dist/chunks/{shared-cache-2j9d56vn.js → kv-3xqfmw3b.js} +32 -32
- package/dist/chunks/{shared-cache-s2xjhrkd.js → kv-3y9zcr5d.js} +4 -4
- package/dist/chunks/{shared-cache-40y6dtc2.js → kv-40y6dtc2.js} +1 -1
- package/dist/chunks/{shared-cache-xxh1ym0y.js → kv-42hr4xkg.js} +5 -5
- package/dist/chunks/{shared-cache-44pmzq9c.js → kv-44pmzq9c.js} +2 -2
- package/dist/chunks/{shared-cache-40r16e5m.js → kv-45j996zk.js} +3 -3
- package/dist/chunks/{shared-cache-pf5m8b3c.js → kv-475pmsf4.js} +26 -26
- package/dist/chunks/{shared-cache-g7szjcez.js → kv-48550ama.js} +51 -51
- package/dist/chunks/{shared-cache-w17yb6n4.js → kv-48h6ydh5.js} +6 -6
- package/dist/chunks/{shared-cache-8cg7mtm3.js → kv-4d2dtj2f.js} +4 -4
- package/dist/chunks/{shared-cache-4dx1dgte.js → kv-4dx1dgte.js} +1 -1
- package/dist/chunks/{shared-cache-4f25tdd0.js → kv-4f25tdd0.js} +1 -1
- package/dist/chunks/{shared-cache-nsr0xhep.js → kv-4k56bh2d.js} +31 -31
- package/dist/chunks/{shared-cache-4pyp9zr9.js → kv-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shared-cache-4v008n1t.js → kv-4v008n1t.js} +1 -1
- package/dist/chunks/{shared-cache-3kmrk0at.js → kv-4y8qzd8z.js} +8 -8
- package/dist/chunks/{shared-cache-j351eg86.js → kv-55qnc5ar.js} +4 -9
- package/dist/chunks/{shared-cache-4wwt44bz.js → kv-5hqtac0m.js} +21 -21
- package/dist/chunks/{shared-cache-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
- package/dist/chunks/{shared-cache-5nnwax6m.js → kv-5nnwax6m.js} +2 -2
- package/dist/chunks/{shared-cache-3wmw86pa.js → kv-5pjz195d.js} +19 -19
- package/dist/chunks/{shared-cache-8d1w7f37.js → kv-5yec2skm.js} +23 -23
- package/dist/chunks/{shared-cache-pana0d56.js → kv-5zpqhmp2.js} +3 -3
- package/dist/chunks/{shared-cache-9zwexsxs.js → kv-61qraad9.js} +5 -5
- package/dist/chunks/{shared-cache-szt8as1t.js → kv-64hfm95n.js} +25 -25
- package/dist/chunks/{shared-cache-hp5p8e88.js → kv-6951814z.js} +41 -41
- package/dist/chunks/{shared-cache-xs0w7nj3.js → kv-6aaef434.js} +5 -5
- package/dist/chunks/{shared-cache-20httykd.js → kv-6dt3jg77.js} +35 -35
- package/dist/chunks/{shared-cache-bexzbe2y.js → kv-6e7p6np7.js} +42 -42
- package/dist/chunks/{shared-cache-2bswbpgz.js → kv-6edbc7zm.js} +5 -5
- package/dist/chunks/{shared-cache-3sj5a19d.js → kv-6yt8xnmb.js} +2 -2
- package/dist/chunks/{shared-cache-cv3zt5fr.js → kv-6z66srpx.js} +41 -41
- package/dist/chunks/{shared-cache-76cb1hcw.js → kv-76cb1hcw.js} +1 -1
- package/dist/chunks/{shared-cache-80mg3ag8.js → kv-775hqbnd.js} +3 -3
- package/dist/chunks/kv-777xa7tn.js +555 -0
- package/dist/chunks/{shared-cache-dn2tbeq0.js → kv-77fr1a8s.js} +20 -20
- package/dist/chunks/{shared-cache-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{shared-cache-wmxbp2m1.js → kv-7exh6wv1.js} +35 -35
- package/dist/chunks/{shared-cache-j6r348n2.js → kv-7hzed13s.js} +8 -8
- package/dist/chunks/{shared-cache-ara4d2g6.js → kv-7jf424nk.js} +12 -12
- package/dist/chunks/{shared-cache-7kr66rt3.js → kv-7kr66rt3.js} +1 -1
- package/dist/chunks/{shared-cache-7w2ypzdf.js → kv-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shared-cache-7weczvnd.js → kv-7weczvnd.js} +1 -1
- package/dist/chunks/{shared-cache-e4939h50.js → kv-7wkb27ph.js} +17 -17
- package/dist/chunks/{shared-cache-pe032dms.js → kv-7xvv661f.js} +9 -9
- package/dist/chunks/{shared-cache-qpchws8n.js → kv-7yn5njxn.js} +84 -84
- package/dist/chunks/{shared-cache-a4tn1t8d.js → kv-835fs15q.js} +8 -8
- package/dist/chunks/{shared-cache-3we67zyn.js → kv-85edh9cr.js} +7 -7
- package/dist/chunks/{shared-cache-2q55fwpn.js → kv-88zq23g6.js} +17 -17
- package/dist/chunks/{shared-cache-89287pr7.js → kv-89287pr7.js} +1 -1
- package/dist/chunks/{shared-cache-qwr0zwd0.js → kv-8ae67v52.js} +6 -6
- package/dist/chunks/{shared-cache-wvcem29w.js → kv-8ebfsdk5.js} +5 -5
- package/dist/chunks/{shared-cache-ybw2rd55.js → kv-8emfpnej.js} +13 -13
- package/dist/chunks/{shared-cache-8sxe6kv8.js → kv-8sxe6kv8.js} +2 -2
- package/dist/chunks/{shared-cache-8wtp7s3z.js → kv-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shared-cache-z080rjh6.js → kv-90ct6wq4.js} +4 -4
- package/dist/chunks/{shared-cache-90zstvax.js → kv-90zstvax.js} +1 -1
- package/dist/chunks/{shared-cache-1vbrkdbs.js → kv-94e33dpz.js} +3 -3
- package/dist/chunks/{shared-cache-963hk181.js → kv-963hk181.js} +2 -2
- package/dist/chunks/{shared-cache-h4694nx1.js → kv-97qxj3ta.js} +8 -8
- package/dist/chunks/{shared-cache-4908ts34.js → kv-9cc8jzfj.js} +21 -21
- package/dist/chunks/kv-9e4sbvwk.js +261 -0
- package/dist/chunks/kv-9eymfpe1.js +26 -0
- package/dist/chunks/{shared-cache-53dvpje3.js → kv-9gfh1w94.js} +4 -4
- package/dist/chunks/{shared-cache-d9j8kz1s.js → kv-9h9yyyvr.js} +6 -6
- package/dist/chunks/{shared-cache-78c83dz3.js → kv-a262kt7g.js} +5 -5
- package/dist/chunks/{shared-cache-54kgf0t3.js → kv-a314c1yn.js} +13 -13
- package/dist/chunks/{shared-cache-f7qhqc2m.js → kv-a94vr9zm.js} +6 -6
- package/dist/chunks/{shared-cache-v5hpj9dd.js → kv-aedwt843.js} +4 -4
- package/dist/chunks/{shared-cache-ayjs7tqn.js → kv-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shared-cache-73czttcw.js → kv-azd8n5rk.js} +11 -11
- package/dist/chunks/{shared-cache-bgs9y14h.js → kv-b0grxa7w.js} +5 -5
- package/dist/chunks/{shared-cache-0s2nyjka.js → kv-b20v0sad.js} +19 -19
- package/dist/chunks/{shared-cache-pm55fh0v.js → kv-b3b9b3h1.js} +24 -24
- package/dist/chunks/{shared-cache-k4jqjvqk.js → kv-b4mbbm94.js} +27 -27
- package/dist/chunks/{shared-cache-9x29zr15.js → kv-b9xj6p1v.js} +6 -6
- package/dist/chunks/{shared-cache-9rxeyvad.js → kv-bbbmdjy4.js} +23 -23
- package/dist/chunks/{shared-cache-jhp78y9r.js → kv-bc87eywq.js} +16 -16
- package/dist/chunks/{shared-cache-ahytd4qs.js → kv-bmqcdv79.js} +49 -49
- package/dist/chunks/{shared-cache-1ss34ysn.js → kv-br3vvby6.js} +18 -18
- package/dist/chunks/{shared-cache-xd9cc171.js → kv-bstexjd6.js} +5 -5
- package/dist/chunks/{shared-cache-b096peb1.js → kv-c32zfq3f.js} +8 -8
- package/dist/chunks/{shared-cache-qgr2wv1c.js → kv-c4rf1zj5.js} +30 -30
- package/dist/chunks/{shared-cache-jc512s3p.js → kv-c5m2a8vb.js} +8 -8
- package/dist/chunks/{shared-cache-bfmgkdsj.js → kv-c7rq5y96.js} +32 -32
- package/dist/chunks/{shared-cache-ekkk0f4d.js → kv-cdvaxqet.js} +23 -23
- package/dist/chunks/{shared-cache-qqg4080p.js → kv-cgkv6xhk.js} +9 -9
- package/dist/chunks/{shared-cache-79hsyw72.js → kv-cp1gsbm1.js} +12 -12
- package/dist/chunks/{shared-cache-f3fdhana.js → kv-cwq43bx0.js} +15 -15
- package/dist/chunks/{shared-cache-cwrgdav8.js → kv-cwrgdav8.js} +2 -2
- package/dist/chunks/{shared-cache-nemnqzpn.js → kv-d4qb2rc3.js} +4 -4
- package/dist/chunks/{shared-cache-d4v9tmah.js → kv-d4v9tmah.js} +2 -2
- package/dist/chunks/{shared-cache-fwj8chqf.js → kv-d9t352jd.js} +21 -21
- package/dist/chunks/{shared-cache-p9xrsnvg.js → kv-dj38w6kp.js} +19 -19
- package/dist/chunks/{shared-cache-spe6nwpw.js → kv-drjn6577.js} +32 -32
- package/dist/chunks/{shared-cache-dt77769w.js → kv-dt77769w.js} +1 -1
- package/dist/chunks/{shared-cache-9y752z0k.js → kv-dtfyv3zf.js} +8 -8
- package/dist/chunks/{shared-cache-9b6r78gs.js → kv-dv7yh041.js} +25 -25
- package/dist/chunks/{shared-cache-5sk19c47.js → kv-dvma3yps.js} +20 -20
- package/dist/chunks/{shared-cache-rd3k82cy.js → kv-dxaxk2g7.js} +8 -8
- package/dist/chunks/{shared-cache-yyr882aa.js → kv-dxm1q7rg.js} +5 -5
- package/dist/chunks/{shared-cache-x6x1nndz.js → kv-dzdv2v3g.js} +29 -29
- package/dist/chunks/{shared-cache-5e5gz891.js → kv-e0ar916e.js} +6 -6
- package/dist/chunks/{shared-cache-83z2hrem.js → kv-e1y225ng.js} +8 -8
- package/dist/chunks/{shared-cache-5sbjqqwj.js → kv-e2kna7ja.js} +24 -24
- package/dist/chunks/{shared-cache-8ejs04fm.js → kv-e7fgtdd1.js} +25 -25
- package/dist/chunks/{shared-cache-b948jmy1.js → kv-e826br8j.js} +46 -46
- package/dist/chunks/{shared-cache-e834z07m.js → kv-e834z07m.js} +1 -1
- package/dist/chunks/{shared-cache-xsvq7cjt.js → kv-e8pm465n.js} +4 -4
- package/dist/chunks/{shared-cache-78az2fcw.js → kv-ec8knycs.js} +56 -56
- package/dist/chunks/{shared-cache-35540211.js → kv-ejfdeeeq.js} +15 -15
- package/dist/chunks/{shared-cache-cb32ztw6.js → kv-epxmp9r9.js} +4 -4
- package/dist/chunks/{shared-cache-eqw4pqj1.js → kv-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shared-cache-dbxc1608.js → kv-ety3ew88.js} +23 -23
- package/dist/chunks/{shared-cache-956zvm58.js → kv-ev714t55.js} +7 -7
- package/dist/chunks/{shared-cache-ewa1ec51.js → kv-ewa1ec51.js} +4 -4
- package/dist/chunks/{shared-cache-vtnm23gn.js → kv-eznj39e7.js} +13 -13
- package/dist/chunks/{shared-cache-4he7yfh3.js → kv-f0h2122t.js} +18 -18
- package/dist/chunks/{shared-cache-8n59df1n.js → kv-f1kzaf15.js} +6 -6
- package/dist/chunks/{shared-cache-r1xc615x.js → kv-f45yfwcj.js} +29 -29
- package/dist/chunks/{shared-cache-44jvmyw9.js → kv-f8av0dr9.js} +12 -12
- package/dist/chunks/{shared-cache-p7d7t6w3.js → kv-fajbfx6j.js} +40 -40
- package/dist/chunks/{shared-cache-pmh2kq9n.js → kv-fc1tyj59.js} +36 -36
- package/dist/chunks/{shared-cache-m7ksbpap.js → kv-fdkctdv6.js} +91 -91
- package/dist/chunks/{shared-cache-j05qjvrv.js → kv-ffa4wh4p.js} +12 -12
- package/dist/chunks/{shared-cache-fffv3p7h.js → kv-fffv3p7h.js} +1 -1
- package/dist/chunks/{shared-cache-fg9p65nk.js → kv-fg9p65nk.js} +2 -2
- package/dist/chunks/{shared-cache-jgtdwqt8.js → kv-fgwd0f5t.js} +8 -8
- package/dist/chunks/{shared-cache-fpjxw46t.js → kv-fp2kss3x.js} +6 -6
- package/dist/chunks/{shared-cache-0r84vseg.js → kv-fsc67bbk.js} +9 -9
- package/dist/chunks/{shared-cache-p33kn2f3.js → kv-g1af2rwn.js} +4 -4
- package/dist/chunks/{shared-cache-ree0x2as.js → kv-g2yvvf5f.js} +10 -10
- package/dist/chunks/{shared-cache-d34c0f98.js → kv-g4v74gy6.js} +8 -8
- package/dist/chunks/{shared-cache-01qan1r0.js → kv-g98tr8sb.js} +12 -12
- package/dist/chunks/{shared-cache-fv0gqzre.js → kv-gb8aby5e.js} +2 -2
- package/dist/chunks/{shared-cache-gbjdnr5j.js → kv-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shared-cache-76ac2f9y.js → kv-gbnh12e9.js} +38 -38
- package/dist/chunks/{shared-cache-gcjdgkn2.js → kv-gcjdgkn2.js} +2 -2
- package/dist/chunks/{shared-cache-x1138qf2.js → kv-gjazrbgn.js} +14 -14
- package/dist/chunks/{shared-cache-dyebhzpv.js → kv-gk794f74.js} +21 -21
- package/dist/chunks/{shared-cache-tb2mrvc9.js → kv-gmemj5zs.js} +4 -4
- package/dist/chunks/{shared-cache-0xe6vqk7.js → kv-gqzpxtfs.js} +14 -14
- package/dist/chunks/{shared-cache-kpa6mjfj.js → kv-h3dvgnt2.js} +9 -9
- package/dist/chunks/{shared-cache-n5v7jmd6.js → kv-h9h9r8jb.js} +22 -22
- package/dist/chunks/{shared-cache-vdgf3x25.js → kv-hhcta08j.js} +10 -10
- package/dist/chunks/{shared-cache-hpg1pkwy.js → kv-hpg1pkwy.js} +1 -1
- package/dist/chunks/{shared-cache-j5pp33gg.js → kv-j6fnsbvp.js} +14 -14
- package/dist/chunks/{shared-cache-ze75qvmd.js → kv-j9nxzz3g.js} +3 -3
- package/dist/chunks/{shared-cache-kcvmrqty.js → kv-jcnrevj0.js} +4 -4
- package/dist/chunks/{shared-cache-4zqa8vte.js → kv-je8jbz99.js} +25 -25
- package/dist/chunks/{shared-cache-b2scchx5.js → kv-jebxhqhc.js} +18 -18
- package/dist/chunks/{shared-cache-hsnq1va6.js → kv-jf43mb4q.js} +5 -5
- package/dist/chunks/{shared-cache-7bdez437.js → kv-jhqq3bcw.js} +6 -6
- package/dist/chunks/{shared-cache-jtnps1zs.js → kv-jtnps1zs.js} +2 -2
- package/dist/chunks/{shared-cache-a4ejydmw.js → kv-jttrxpyp.js} +35 -35
- package/dist/chunks/{shared-cache-6mdbkvg8.js → kv-jvmsr7ys.js} +5 -5
- package/dist/chunks/{shared-cache-csby1x6w.js → kv-jxs9nank.js} +35 -35
- package/dist/chunks/{shared-cache-y6z0jv9h.js → kv-k4fcj3vf.js} +24 -24
- package/dist/chunks/{shared-cache-h99ek2x4.js → kv-k6zcr3d2.js} +23 -23
- package/dist/chunks/{shared-cache-29tqe9d2.js → kv-key46bzf.js} +28 -28
- package/dist/chunks/{shared-cache-bgtfms1n.js → kv-kkz0wsf4.js} +32 -32
- package/dist/chunks/{shared-cache-p94q8hge.js → kv-kmt137a9.js} +65 -65
- package/dist/chunks/{shared-cache-x9y7w5qr.js → kv-kphpybh5.js} +29 -29
- package/dist/chunks/{shared-cache-kt3bjfbg.js → kv-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shared-cache-sqaq72qw.js → kv-kt6nygt9.js} +13 -13
- package/dist/chunks/{shared-cache-3gv0spa2.js → kv-ky596kc3.js} +4 -4
- package/dist/chunks/{shared-cache-kzczzf4v.js → kv-kzczzf4v.js} +1 -1
- package/dist/chunks/{shared-cache-m1714858.js → kv-m1714858.js} +1 -1
- package/dist/chunks/{shared-cache-pp5gghwv.js → kv-m2y5pdyn.js} +1 -1
- package/dist/chunks/{shared-cache-1rfmbpcr.js → kv-m5rn6m50.js} +25 -25
- package/dist/chunks/{shared-cache-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shared-cache-mb7mbhnz.js → kv-mb7mbhnz.js} +3 -3
- package/dist/chunks/{shared-cache-9q8g9sv8.js → kv-mf63ygpr.js} +4 -4
- package/dist/chunks/{shared-cache-mxxad9v0.js → kv-mm27w63f.js} +11 -11
- package/dist/chunks/{shared-cache-msd2a3qm.js → kv-msd2a3qm.js} +4 -4
- package/dist/chunks/{shared-cache-0j8e1req.js → kv-mza0w7xf.js} +22 -22
- package/dist/chunks/{shared-cache-wv6svstt.js → kv-n3cw3nam.js} +32 -32
- package/dist/chunks/{shared-cache-aq5frc3d.js → kv-n50aepnj.js} +4 -4
- package/dist/chunks/{shared-cache-gjb13sdp.js → kv-ncv5s97k.js} +5 -5
- package/dist/chunks/{shared-cache-978jgtnz.js → kv-nkydhhm9.js} +84 -82
- package/dist/chunks/{shared-cache-vgt1abs0.js → kv-nwsj1cwd.js} +25 -25
- package/dist/chunks/{shared-cache-wvr8xscb.js → kv-nyxvvj5y.js} +4 -4
- package/dist/chunks/{shared-cache-4ajefbv8.js → kv-p7zjft01.js} +14 -14
- package/dist/chunks/{shared-cache-7e18g4px.js → kv-papqe6bk.js} +17 -17
- package/dist/chunks/{shared-cache-r4gz9jm9.js → kv-pbf523ys.js} +10 -10
- package/dist/chunks/{shared-cache-ac0nrts2.js → kv-pgfabxcd.js} +7 -7
- package/dist/chunks/{shared-cache-mjnhe1nq.js → kv-phqbdkzg.js} +23 -23
- package/dist/chunks/{shared-cache-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{shared-cache-3d9m6vm1.js → kv-pkq7hshp.js} +30 -30
- package/dist/chunks/{shared-cache-e09ngpdh.js → kv-pvsqqrf7.js} +24 -24
- package/dist/chunks/{shared-cache-pvx25tzf.js → kv-pxpzd3xh.js} +4 -4
- package/dist/chunks/{shared-cache-ytj76p73.js → kv-q1678z4n.js} +10 -10
- package/dist/chunks/{shared-cache-czh9y0nn.js → kv-q6czkqsp.js} +12 -12
- package/dist/chunks/{shared-cache-53j7xvnm.js → kv-q7a2bk82.js} +16 -16
- package/dist/chunks/{shared-cache-g6fwdp5w.js → kv-qftpxn2w.js} +11 -11
- package/dist/chunks/{shared-cache-k46dd5bg.js → kv-qfz6bxfd.js} +4 -4
- package/dist/chunks/{shared-cache-bd54nrqf.js → kv-qhpc418q.js} +11 -11
- package/dist/chunks/{shared-cache-7nqkf5r1.js → kv-qj27ec1j.js} +2 -2
- package/dist/chunks/{shared-cache-qp7r0hxv.js → kv-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shared-cache-qqvy8y24.js → kv-qqvy8y24.js} +1 -1
- package/dist/chunks/{shared-cache-dv250zvr.js → kv-qtf35215.js} +3 -3
- package/dist/chunks/{shared-cache-xrtd710r.js → kv-qvgw3df5.js} +32 -14
- package/dist/chunks/{shared-cache-qw2t3dzn.js → kv-qw2t3dzn.js} +3 -3
- package/dist/chunks/{shared-cache-fjae3t1k.js → kv-qyqeq8hj.js} +11 -11
- package/dist/chunks/{shared-cache-6v1f9b3c.js → kv-r0sc7qzh.js} +3 -3
- package/dist/chunks/{shared-cache-wfs84ra6.js → kv-r17fbvme.js} +4 -4
- package/dist/chunks/{shared-cache-660m4eb8.js → kv-r3styde8.js} +7 -7
- package/dist/chunks/{shared-cache-5hzm2a2n.js → kv-r4kghmrm.js} +5 -5
- package/dist/chunks/{shared-cache-rb9dy4dg.js → kv-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shared-cache-j1pth68z.js → kv-rgt0fs8t.js} +33 -33
- package/dist/chunks/{shared-cache-as0mg86e.js → kv-rswskmkb.js} +18 -18
- package/dist/chunks/{shared-cache-rt5dr6hb.js → kv-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shared-cache-mv0k3gyx.js → kv-rzdbmr93.js} +22 -22
- package/dist/chunks/{shared-cache-ph12y7yp.js → kv-s06f3zcw.js} +3 -3
- package/dist/chunks/{shared-cache-hvra224z.js → kv-s7hxpbzb.js} +3 -3
- package/dist/chunks/{shared-cache-sa3fpqfw.js → kv-sa3fpqfw.js} +2 -2
- package/dist/chunks/{shared-cache-sbya78hr.js → kv-sbya78hr.js} +1 -1
- package/dist/chunks/{shared-cache-gn6y8vzr.js → kv-sge96gp9.js} +12 -12
- package/dist/chunks/{shared-cache-1tcfse8e.js → kv-sp9q91vx.js} +5 -5
- package/dist/chunks/{shared-cache-sqjzf8x2.js → kv-sqjzf8x2.js} +1 -1
- package/dist/chunks/{shared-cache-svcy3p9a.js → kv-svcy3p9a.js} +1 -1
- package/dist/chunks/{shared-cache-emjzq4az.js → kv-sy817ser.js} +21 -21
- package/dist/chunks/{shared-cache-szwm4crx.js → kv-szwm4crx.js} +4 -4
- package/dist/chunks/{shared-cache-8dq44xrt.js → kv-t0w8z6q1.js} +17 -17
- package/dist/chunks/{shared-cache-cskeh2qn.js → kv-t6aq5wef.js} +5 -5
- package/dist/chunks/{shared-cache-73hwfq4w.js → kv-t77tdkfp.js} +28 -28
- package/dist/chunks/{shared-cache-rhx7sxcq.js → kv-tasnwepa.js} +9 -9
- package/dist/chunks/{shared-cache-tczq8hjw.js → kv-tczq8hjw.js} +1 -1
- package/dist/chunks/{shared-cache-hxjp32hp.js → kv-tf327jrp.js} +8 -8
- package/dist/chunks/{shared-cache-tg7s7b5t.js → kv-tg7s7b5t.js} +1 -1
- package/dist/chunks/{shared-cache-9cdcbvsm.js → kv-th2hp9ev.js} +12 -12
- package/dist/chunks/{shared-cache-3nnrz6f6.js → kv-tmc7xdjs.js} +4 -4
- package/dist/chunks/{shared-cache-nv64swaj.js → kv-tmstahpq.js} +26 -26
- package/dist/chunks/{shared-cache-tr8x705m.js → kv-tr8x705m.js} +1 -1
- package/dist/chunks/{shared-cache-tb4cnk9d.js → kv-tsejbqqk.js} +4 -4
- package/dist/chunks/kv-tt9rk80g.js +16 -0
- package/dist/chunks/{shared-cache-twssxy5n.js → kv-twssxy5n.js} +2 -2
- package/dist/chunks/{shared-cache-31r9ew24.js → kv-tyvabczr.js} +18 -18
- package/dist/chunks/{shared-cache-0se1q41g.js → kv-tzdxn8w1.js} +16 -16
- package/dist/chunks/{shared-cache-87dpdb9s.js → kv-v10ah28d.js} +9 -9
- package/dist/chunks/{shared-cache-pap24bzz.js → kv-v2bg42y5.js} +15 -15
- package/dist/chunks/{shared-cache-v2r1d0zg.js → kv-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shared-cache-0q0exa15.js → kv-v74re6p4.js} +12 -12
- package/dist/chunks/{shared-cache-y37rxwzh.js → kv-v7et57j7.js} +18 -18
- package/dist/chunks/{shared-cache-qx7d52zy.js → kv-v7kj1s7s.js} +35 -35
- package/dist/chunks/{shared-cache-03mpff5k.js → kv-v83sfb1v.js} +13 -13
- package/dist/chunks/{shared-cache-gtsw9av3.js → kv-v95nzwvv.js} +11 -11
- package/dist/chunks/kv-vdh3rgac.js +18 -0
- package/dist/chunks/{shared-cache-kfg9w0kz.js → kv-vh5m3ez0.js} +40 -23
- package/dist/chunks/{shared-cache-vjf35v1f.js → kv-vjf35v1f.js} +1 -1
- package/dist/chunks/{shared-cache-jkdcm5hg.js → kv-vmxsyvj6.js} +4 -4
- package/dist/chunks/{shared-cache-dmze3mc3.js → kv-vrqf57jv.js} +5 -5
- package/dist/chunks/{shared-cache-yx89v5j3.js → kv-vzrtv76d.js} +29 -29
- package/dist/chunks/{shared-cache-r41sfy63.js → kv-w2eysc6j.js} +6 -6
- package/dist/chunks/{shared-cache-b8kb0jc9.js → kv-w3c3s7r0.js} +16 -16
- package/dist/chunks/{shared-cache-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shared-cache-w687dnns.js → kv-w687dnns.js} +1 -1
- package/dist/chunks/{shared-cache-pn1g3a6b.js → kv-w81j1vy6.js} +9 -9
- package/dist/chunks/{shared-cache-0wdj7mfr.js → kv-w9dx19k5.js} +11 -11
- package/dist/chunks/{shared-cache-0zrvsdva.js → kv-wa6cdf20.js} +16 -16
- package/dist/chunks/{shared-cache-x8jx2pq0.js → kv-waagszdr.js} +11 -11
- package/dist/chunks/{shared-cache-wakvkjy4.js → kv-wakvkjy4.js} +1 -1
- package/dist/chunks/{shared-cache-j8q030kd.js → kv-wasaya9j.js} +39 -39
- package/dist/chunks/{shared-cache-yv1nawr6.js → kv-wcnkf9e4.js} +12 -12
- package/dist/chunks/{shared-cache-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{shared-cache-18y3b983.js → kv-wdb2v9zb.js} +48 -48
- package/dist/chunks/{shared-cache-wegkxhrn.js → kv-wegkxhrn.js} +2 -2
- package/dist/chunks/{shared-cache-qsdghx1p.js → kv-wfdx5ztx.js} +4 -4
- package/dist/chunks/{shared-cache-wtpcbd8x.js → kv-wgysxxvx.js} +17 -17
- package/dist/chunks/{shared-cache-m9622p9a.js → kv-wh26e6vx.js} +15 -15
- package/dist/chunks/{shared-cache-wnhgecwx.js → kv-wnhgecwx.js} +1 -1
- package/dist/chunks/{shared-cache-95sp4hdf.js → kv-wws03c5r.js} +4 -4
- package/dist/chunks/{shared-cache-hs0y3m5w.js → kv-wyfgkt0v.js} +25 -25
- package/dist/chunks/{shared-cache-92etfc35.js → kv-x0r3a1xk.js} +20 -20
- package/dist/chunks/{shared-cache-y9c350ew.js → kv-x150ncgg.js} +2 -2
- package/dist/chunks/{shared-cache-1sz52pcc.js → kv-x1sfbxtm.js} +9 -9
- package/dist/chunks/{shared-cache-sykxe607.js → kv-x78x2jnf.js} +59 -59
- package/dist/chunks/{shared-cache-qc39n20q.js → kv-xackwg1y.js} +14 -14
- package/dist/chunks/{shared-cache-7z7n868z.js → kv-xd7yvmwx.js} +16 -16
- package/dist/chunks/{shared-cache-yvbkpmy4.js → kv-xf9r6fpb.js} +34 -29
- package/dist/chunks/{shared-cache-ww26epb1.js → kv-xja4t88y.js} +17 -17
- package/dist/chunks/{shared-cache-xksw6ev0.js → kv-xksw6ev0.js} +1 -1
- package/dist/chunks/{shared-cache-nn1p33cp.js → kv-xqs234yc.js} +32 -32
- package/dist/chunks/{shared-cache-c322zrrb.js → kv-xrf6z7zj.js} +14 -14
- package/dist/chunks/{shared-cache-jg9jtwr2.js → kv-xy35ryac.js} +11 -11
- package/dist/chunks/{shared-cache-vq0qa3sh.js → kv-y9x9m3cp.js} +9 -9
- package/dist/chunks/{shared-cache-yb20nhc3.js → kv-yb20nhc3.js} +1 -1
- package/dist/chunks/{shared-cache-xzqp8jdw.js → kv-yg58e13h.js} +25 -25
- package/dist/chunks/{shared-cache-yr705xyq.js → kv-yr705xyq.js} +1 -1
- package/dist/chunks/{shared-cache-segd0erw.js → kv-ys4mxn17.js} +9 -9
- package/dist/chunks/{shared-cache-3aftw05r.js → kv-yvky2s0p.js} +11 -11
- package/dist/chunks/{shared-cache-yvtc2x31.js → kv-yvtc2x31.js} +1 -1
- package/dist/chunks/{shared-cache-vgsh18yn.js → kv-ywpm9ph8.js} +11 -11
- package/dist/chunks/{shared-cache-28mzk8dv.js → kv-yxwfes0h.js} +39 -39
- package/dist/chunks/{shared-cache-8vbpq9va.js → kv-yy5sddfr.js} +38 -38
- package/dist/chunks/{shared-cache-mvvw8933.js → kv-z01qvp9v.js} +32 -32
- package/dist/chunks/{shared-cache-gw99hzbq.js → kv-zngahrd4.js} +193 -193
- package/dist/chunks/{shared-cache-jg6qty85.js → kv-zsqxdpjf.js} +55 -55
- package/dist/chunks/{shared-cache-y4t0y6zk.js → kv-zw7cvrnx.js} +14 -14
- package/dist/chunks/{shared-cache-2hh34rxg.js → kv-zxdg55sm.js} +39 -39
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +117 -117
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +108 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +242 -242
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +149 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +227 -227
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +233 -233
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +144 -144
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +152 -152
- package/dist/snapshot.js +102 -102
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +166 -166
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +167 -167
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +149 -149
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/plugin/optimize.d.ts +1 -22
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/shared-cache-0gdrrj59.js +0 -16
- package/dist/chunks/shared-cache-e4dsdy5r.js +0 -26
- package/dist/chunks/shared-cache-fsrrdggk.js +0 -261
- package/dist/chunks/shared-cache-m6qqtaps.js +0 -555
- package/dist/chunks/shared-cache-qmh7vbk2.js +0 -18
- /package/dist/chunks/{shared-cache-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shared-cache-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shared-cache-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shared-cache-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shared-cache-1kah00gy.js → kv-1kah00gy.js} +0 -0
- /package/dist/chunks/{shared-cache-1pevy3nx.js → kv-1pevy3nx.js} +0 -0
- /package/dist/chunks/{shared-cache-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{shared-cache-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{shared-cache-2bv980vf.js → kv-2bv980vf.js} +0 -0
- /package/dist/chunks/{shared-cache-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shared-cache-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{shared-cache-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{shared-cache-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shared-cache-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shared-cache-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shared-cache-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shared-cache-4qk9sjk2.js → kv-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shared-cache-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shared-cache-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shared-cache-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{shared-cache-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{shared-cache-5w3e23ze.js → kv-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shared-cache-6agm2x70.js → kv-6agm2x70.js} +0 -0
- /package/dist/chunks/{shared-cache-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{shared-cache-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shared-cache-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shared-cache-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{shared-cache-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{shared-cache-84wd9syh.js → kv-84wd9syh.js} +0 -0
- /package/dist/chunks/{shared-cache-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shared-cache-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{shared-cache-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shared-cache-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shared-cache-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shared-cache-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shared-cache-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{shared-cache-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{shared-cache-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shared-cache-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shared-cache-beh6qq61.js → kv-beh6qq61.js} +0 -0
- /package/dist/chunks/{shared-cache-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shared-cache-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shared-cache-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shared-cache-cqv5kn06.js → kv-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shared-cache-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shared-cache-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{shared-cache-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shared-cache-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{shared-cache-dbht28n9.js → kv-dbht28n9.js} +0 -0
- /package/dist/chunks/{shared-cache-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{shared-cache-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{shared-cache-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shared-cache-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shared-cache-ean2d8b5.js → kv-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shared-cache-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{shared-cache-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shared-cache-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shared-cache-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shared-cache-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shared-cache-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{shared-cache-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{shared-cache-fkpq3x5p.js → kv-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shared-cache-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shared-cache-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{shared-cache-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shared-cache-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{shared-cache-hcxmzztb.js → kv-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shared-cache-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{shared-cache-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shared-cache-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shared-cache-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shared-cache-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shared-cache-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shared-cache-jwr30sdr.js → kv-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shared-cache-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shared-cache-m18g726c.js → kv-m18g726c.js} +0 -0
- /package/dist/chunks/{shared-cache-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{shared-cache-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shared-cache-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shared-cache-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shared-cache-nh4v3znn.js → kv-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shared-cache-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{shared-cache-p71gwv9c.js → kv-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shared-cache-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shared-cache-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{shared-cache-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shared-cache-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shared-cache-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shared-cache-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shared-cache-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shared-cache-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shared-cache-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shared-cache-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shared-cache-syrav9an.js → kv-syrav9an.js} +0 -0
- /package/dist/chunks/{shared-cache-t03h4f5z.js → kv-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shared-cache-ty7weeps.js → kv-ty7weeps.js} +0 -0
- /package/dist/chunks/{shared-cache-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shared-cache-vtarvj67.js → kv-vtarvj67.js} +0 -0
- /package/dist/chunks/{shared-cache-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{shared-cache-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shared-cache-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shared-cache-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{shared-cache-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shared-cache-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{shared-cache-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{shared-cache-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{shared-cache-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shared-cache-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shared-cache-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service86,
|
|
8
|
+
node89
|
|
9
|
+
} from "./kv-j6fnsbvp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service35,
|
|
12
|
+
node38
|
|
13
|
+
} from "./kv-64hfm95n.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event4,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError5,
|
|
34
|
+
Service: () => Service34,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node37
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content3 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event4 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service34 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service34, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service86;
|
|
102
|
+
const search = yield* Service35;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service34.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError5({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError5({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}));
|
|
162
|
-
var
|
|
163
|
-
service:
|
|
162
|
+
var node37 = makeLocationNode({
|
|
163
|
+
service: Service34,
|
|
164
164
|
layer: baseLayer,
|
|
165
|
-
deps: [FSUtil.node,
|
|
165
|
+
deps: [FSUtil.node, node89, node38]
|
|
166
166
|
});
|
|
167
167
|
|
|
168
|
-
export { FindInput2, Write2,
|
|
168
|
+
export { FindInput2, Write2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service34, node37, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node92
|
|
4
|
+
} from "./kv-f8av0dr9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service86,
|
|
7
|
+
node89
|
|
8
|
+
} from "./kv-j6fnsbvp.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service85,
|
|
15
|
+
node88
|
|
16
|
+
} from "./kv-pbf523ys.js";
|
|
17
17
|
import {
|
|
18
18
|
latest2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node80
|
|
21
|
+
} from "./kv-bmqcdv79.js";
|
|
22
22
|
import {
|
|
23
23
|
detect2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-4pyp9zr9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service20,
|
|
27
|
+
node23
|
|
28
|
+
} from "./kv-fdkctdv6.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/artifact.ts
|
|
34
34
|
var exports_artifact2 = {};
|
|
@@ -36,23 +36,23 @@ __export(exports_artifact2, {
|
|
|
36
36
|
Artifact: () => exports_artifact2,
|
|
37
37
|
Capability: () => Capability2,
|
|
38
38
|
Content: () => Content2,
|
|
39
|
-
CreateInput: () =>
|
|
40
|
-
DisabledError: () =>
|
|
41
|
-
Event: () =>
|
|
39
|
+
CreateInput: () => CreateInput3,
|
|
40
|
+
DisabledError: () => DisabledError3,
|
|
41
|
+
Event: () => Event3,
|
|
42
42
|
FileMissingError: () => FileMissingError2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID6,
|
|
44
|
+
Info: () => Info5,
|
|
45
45
|
InvalidError: () => InvalidError3,
|
|
46
46
|
LocalProviderID: () => LocalProviderID2,
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Provider: () =>
|
|
47
|
+
NotFoundError: () => NotFoundError3,
|
|
48
|
+
Provider: () => Provider2,
|
|
49
49
|
ProviderError: () => ProviderError2,
|
|
50
50
|
ProviderID: () => ProviderID2,
|
|
51
|
-
ProviderNotFoundError: () =>
|
|
52
|
-
Service: () =>
|
|
53
|
-
UpdateInput: () =>
|
|
51
|
+
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
52
|
+
Service: () => Service19,
|
|
53
|
+
UpdateInput: () => UpdateInput2,
|
|
54
54
|
locate: () => locate2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node22
|
|
56
56
|
});
|
|
57
57
|
import { randomUUID } from "node:crypto";
|
|
58
58
|
import fs from "node:fs/promises";
|
|
@@ -61,13 +61,13 @@ import { lookup } from "mime-types";
|
|
|
61
61
|
import {
|
|
62
62
|
Capability as Capability2,
|
|
63
63
|
Content as Content2,
|
|
64
|
-
CreateInput as
|
|
65
|
-
Event as
|
|
66
|
-
ID as
|
|
67
|
-
Info as
|
|
68
|
-
Provider as
|
|
64
|
+
CreateInput as CreateInput3,
|
|
65
|
+
Event as Event3,
|
|
66
|
+
ID as ID6,
|
|
67
|
+
Info as Info5,
|
|
68
|
+
Provider as Provider2,
|
|
69
69
|
ProviderID as ProviderID2,
|
|
70
|
-
UpdateInput as
|
|
70
|
+
UpdateInput as UpdateInput2
|
|
71
71
|
} from "@opencode/schema/artifact";
|
|
72
72
|
import { Global } from "@opencode/util/global";
|
|
73
73
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -75,14 +75,14 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
|
|
|
75
75
|
var LocalProviderID2 = ProviderID2.make("local");
|
|
76
76
|
var ItemPrefix = "artifact:item:";
|
|
77
77
|
|
|
78
|
-
class
|
|
78
|
+
class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
|
|
79
79
|
get message() {
|
|
80
80
|
return "Artifacts are disabled; set experimental.artifacts in config";
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
85
|
-
artifactID:
|
|
84
|
+
class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
85
|
+
artifactID: ID6
|
|
86
86
|
}) {
|
|
87
87
|
get message() {
|
|
88
88
|
return `Artifact not found: ${this.artifactID}`;
|
|
@@ -90,7 +90,7 @@ class NotFoundError5 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
|
|
93
|
-
artifactID:
|
|
93
|
+
artifactID: ID6,
|
|
94
94
|
path: Schema.String
|
|
95
95
|
}) {
|
|
96
96
|
get message() {
|
|
@@ -98,7 +98,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
class
|
|
101
|
+
class ProviderNotFoundError2 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
|
|
102
102
|
providerID: ProviderID2
|
|
103
103
|
}) {
|
|
104
104
|
get message() {
|
|
@@ -124,10 +124,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
class
|
|
127
|
+
class Service19 extends Context.Service()("@opencode/Artifact") {
|
|
128
128
|
}
|
|
129
129
|
var StoredRecord = Schema.Struct({
|
|
130
|
-
info:
|
|
130
|
+
info: Info5,
|
|
131
131
|
directory: Schema.String,
|
|
132
132
|
projectID: Schema.String
|
|
133
133
|
});
|
|
@@ -140,13 +140,13 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
|
|
|
140
140
|
const decoded = decodeStoredRecord(stored);
|
|
141
141
|
return Option.isSome(decoded) ? decoded.value.directory : undefined;
|
|
142
142
|
}));
|
|
143
|
-
var layer = Layer.effect(
|
|
144
|
-
const bus = yield*
|
|
145
|
-
const config = yield*
|
|
143
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
144
|
+
const bus = yield* Service89;
|
|
145
|
+
const config = yield* Service77;
|
|
146
146
|
const global = yield* Global.Service;
|
|
147
|
-
const kv = yield*
|
|
148
|
-
const location = yield*
|
|
149
|
-
const sessions = yield*
|
|
147
|
+
const kv = yield* Service85;
|
|
148
|
+
const location = yield* Service86;
|
|
149
|
+
const sessions = yield* Service20;
|
|
150
150
|
const rootDir = path.join(global.data, "artifacts");
|
|
151
151
|
const itemDir = (id) => path.join(rootDir, id);
|
|
152
152
|
const localProvider = {
|
|
@@ -187,13 +187,13 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}),
|
|
190
|
-
notify: changes2(snapshotProviders, () => bus.publish(
|
|
190
|
+
notify: changes2(snapshotProviders, () => bus.publish(Event3.Updated, {}).pipe(Effect.asVoid))
|
|
191
191
|
});
|
|
192
192
|
const isEnabled = Effect.fn("Artifact.enabled")(function* () {
|
|
193
193
|
const entries = yield* config.entries();
|
|
194
194
|
return latest2(entries, "experimental")?.artifacts === true;
|
|
195
195
|
});
|
|
196
|
-
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new
|
|
196
|
+
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
|
|
197
197
|
const activeDefaultID = () => {
|
|
198
198
|
const data = state.get();
|
|
199
199
|
return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
|
|
@@ -202,17 +202,17 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
202
202
|
const data = state.get();
|
|
203
203
|
const target = requested ?? activeDefaultID();
|
|
204
204
|
const found = data.providers.get(target);
|
|
205
|
-
return found ? Effect.succeed(found) : Effect.fail(new
|
|
205
|
+
return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
|
|
206
206
|
};
|
|
207
207
|
const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
|
|
208
|
-
return
|
|
208
|
+
return Service19.of({
|
|
209
209
|
transform: state.transform,
|
|
210
210
|
reload: state.reload,
|
|
211
211
|
enabled: isEnabled,
|
|
212
212
|
providers: Effect.fn("Artifact.providers")(function* () {
|
|
213
213
|
yield* requireEnabled();
|
|
214
214
|
const defaultID = activeDefaultID();
|
|
215
|
-
return Array.from(state.get().providers.values(), (provider) =>
|
|
215
|
+
return Array.from(state.get().providers.values(), (provider) => Provider2.make({
|
|
216
216
|
id: provider.id,
|
|
217
217
|
name: provider.name,
|
|
218
218
|
capabilities: [...provider.capabilities],
|
|
@@ -249,10 +249,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
249
249
|
const files = yield* normalizeFiles(encodeStringFiles(input.files));
|
|
250
250
|
const entry = yield* resolveEntry(files, input.entry);
|
|
251
251
|
const provider = yield* resolveProvider(input.provider);
|
|
252
|
-
const id =
|
|
252
|
+
const id = ID6.create();
|
|
253
253
|
const now = yield* Clock.currentTimeMillis;
|
|
254
254
|
const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
255
|
-
const info =
|
|
255
|
+
const info = Info5.make({
|
|
256
256
|
id,
|
|
257
257
|
provider: provider.id,
|
|
258
258
|
...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
|
|
@@ -272,14 +272,14 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
272
272
|
yield* requireEnabled();
|
|
273
273
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
274
274
|
if (!existing)
|
|
275
|
-
return yield* new
|
|
275
|
+
return yield* new NotFoundError3({ artifactID: id });
|
|
276
276
|
return existing.info;
|
|
277
277
|
}),
|
|
278
278
|
get: Effect.fn("Artifact.get")(function* (id) {
|
|
279
279
|
yield* requireEnabled();
|
|
280
280
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
281
281
|
if (!existing)
|
|
282
|
-
return yield* new
|
|
282
|
+
return yield* new NotFoundError3({ artifactID: id });
|
|
283
283
|
const provider = yield* resolveProvider(existing.info.provider);
|
|
284
284
|
const raw = yield* provider.read(id).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
285
285
|
return Content2.make({
|
|
@@ -292,7 +292,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
292
292
|
yield* checkSession(input.sessionID);
|
|
293
293
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
294
294
|
if (!existing)
|
|
295
|
-
return yield* new
|
|
295
|
+
return yield* new NotFoundError3({ artifactID: id });
|
|
296
296
|
const title = input.title === undefined ? existing.info.title : input.title.trim();
|
|
297
297
|
if (!title)
|
|
298
298
|
return yield* new InvalidError3({ reason: "Artifact title must not be empty", field: "title" });
|
|
@@ -302,7 +302,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
302
302
|
const now = yield* Clock.currentTimeMillis;
|
|
303
303
|
const sessionID = input.sessionID ?? existing.info.sessionID;
|
|
304
304
|
const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
305
|
-
const info =
|
|
305
|
+
const info = Info5.make({
|
|
306
306
|
id,
|
|
307
307
|
provider: existing.info.provider,
|
|
308
308
|
...sessionID === undefined ? {} : { sessionID },
|
|
@@ -322,7 +322,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
322
322
|
yield* requireEnabled();
|
|
323
323
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
324
324
|
if (!existing)
|
|
325
|
-
return yield* new
|
|
325
|
+
return yield* new NotFoundError3({ artifactID: id });
|
|
326
326
|
const provider = state.get().providers.get(existing.info.provider);
|
|
327
327
|
if (provider) {
|
|
328
328
|
yield* provider.delete(id).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
@@ -333,7 +333,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
333
333
|
yield* requireEnabled();
|
|
334
334
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
335
335
|
if (!existing)
|
|
336
|
-
return yield* new
|
|
336
|
+
return yield* new NotFoundError3({ artifactID: id });
|
|
337
337
|
if (existing.info.provider !== LocalProviderID2) {
|
|
338
338
|
return yield* new InvalidError3({
|
|
339
339
|
reason: `Artifact ${id} is hosted by provider "${existing.info.provider}", not the local server`,
|
|
@@ -350,10 +350,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
350
350
|
})
|
|
351
351
|
});
|
|
352
352
|
}));
|
|
353
|
-
var
|
|
354
|
-
service:
|
|
353
|
+
var node22 = makeLocationNode({
|
|
354
|
+
service: Service19,
|
|
355
355
|
layer,
|
|
356
|
-
deps: [
|
|
356
|
+
deps: [node92, node80, Global.node, node88, node89, node23]
|
|
357
357
|
});
|
|
358
358
|
function encodeStringFiles(files) {
|
|
359
359
|
return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
|
|
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
export { Capability2, Content2,
|
|
494
|
+
export { Capability2, Content2, CreateInput3, Event3, ID6, Info5, Provider2, ProviderID2, UpdateInput2, LocalProviderID2, DisabledError3, NotFoundError3, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service19, locate2, node22, exports_artifact2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-s7hxpbzb.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service89,
|
|
8
|
+
node92
|
|
9
|
+
} from "./kv-f8av0dr9.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-0ma9gw4f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-fsc67bbk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service73,
|
|
21
|
+
node76
|
|
22
|
+
} from "./kv-sge96gp9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service21,
|
|
25
|
+
node24
|
|
26
|
+
} from "./kv-7yn5njxn.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./kv-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service9,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node11
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service9 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
76
|
-
const bus = yield*
|
|
75
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
76
|
+
const bus = yield* Service89;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service21;
|
|
79
|
+
const store = yield* Service73;
|
|
80
80
|
const db = (yield* Service90).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service9.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [
|
|
165
|
+
var node11 = makeLocationNode({
|
|
166
|
+
service: Service9,
|
|
167
|
+
layer: layer7,
|
|
168
|
+
deps: [node92, llmClient2, node24, node76, node93]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service9, isUntitled2, layer7, node11, exports_title };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./kv-j6fnsbvp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./kv-bmqcdv79.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-vzrtv76d.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin21 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service77;
|
|
35
|
+
const location = yield* Service86;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin21, exports_reference };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service52,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service52 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service52, exports_runner };
|