@opencode/core 0.0.0-dev-845 → 0.0.0-dev-849
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{shell-r7z94ssd.js → event-logger-03yqc6nf.js} +78 -78
- package/dist/chunks/{shell-6rwa7jk1.js → event-logger-06fcf1gw.js} +5 -5
- package/dist/chunks/{shell-mkzwmkqf.js → event-logger-0bnw6607.js} +6 -6
- package/dist/chunks/{shell-vtkasd9r.js → event-logger-0jjndnw7.js} +15 -15
- package/dist/chunks/{shell-0ma9gw4f.js → event-logger-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shell-rn9mkc76.js → event-logger-10aemx8a.js} +7 -7
- package/dist/chunks/{shell-9cx1gfxp.js → event-logger-18tyr002.js} +11 -11
- package/dist/chunks/{shell-0376wd2r.js → event-logger-1an0hvhn.js} +19 -19
- package/dist/chunks/{shell-1aqsckx4.js → event-logger-1aqsckx4.js} +1 -1
- package/dist/chunks/{shell-y6jpg1cr.js → event-logger-1b5n75mc.js} +44 -44
- package/dist/chunks/{shell-m3pvbx4h.js → event-logger-1b9ga3rh.js} +15 -15
- package/dist/chunks/event-logger-1czzyvtm.js +577 -0
- package/dist/chunks/{shell-jm4m5v7c.js → event-logger-1e45g66q.js} +33 -33
- package/dist/chunks/{shell-gz6jg68s.js → event-logger-1mdctwrv.js} +5 -5
- package/dist/chunks/{shell-dvnqv6yn.js → event-logger-1pk0e05p.js} +4 -4
- package/dist/chunks/{shell-wj1xdvk1.js → event-logger-1whffkja.js} +14 -14
- package/dist/chunks/{shell-1x2knyw4.js → event-logger-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-yts2a8qm.js → event-logger-1x7bzasz.js} +4 -4
- package/dist/chunks/{shell-n4e6djfc.js → event-logger-20581z2p.js} +24 -24
- package/dist/chunks/{shell-ewg1d00g.js → event-logger-22znn1zs.js} +20 -20
- package/dist/chunks/{shell-8b3vzgkx.js → event-logger-25h84942.js} +4 -4
- package/dist/chunks/{shell-27w5k9zf.js → event-logger-27w5k9zf.js} +2 -2
- package/dist/chunks/{shell-bvphg68q.js → event-logger-28dhfhmr.js} +11 -11
- package/dist/chunks/{shell-5t2bv29q.js → event-logger-29txkq82.js} +3 -3
- package/dist/chunks/{shell-xc05pfap.js → event-logger-2c1b3cdb.js} +51 -51
- package/dist/chunks/{shell-z5ce19gj.js → event-logger-2d9fweae.js} +82 -82
- package/dist/chunks/{shell-hgj39bj7.js → event-logger-2f14wkwb.js} +7 -7
- package/dist/chunks/{shell-2fc7eemy.js → event-logger-2fc7eemy.js} +1 -1
- package/dist/chunks/{shell-xmx7xj34.js → event-logger-2kj7f5bg.js} +7 -7
- package/dist/chunks/{shell-2p60zmnr.js → event-logger-2p60zmnr.js} +2 -2
- package/dist/chunks/{shell-8fb3spgr.js → event-logger-31avdb49.js} +8 -8
- package/dist/chunks/{shell-4z1pemzx.js → event-logger-35ww04fh.js} +8 -8
- package/dist/chunks/{shell-nxxmtyhx.js → event-logger-3adw4bt5.js} +9 -9
- package/dist/chunks/{shell-3cbjf1nt.js → event-logger-3cbjf1nt.js} +2 -2
- package/dist/chunks/{shell-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3nnrz6f6.js → event-logger-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-40y6dtc2.js → event-logger-40y6dtc2.js} +1 -1
- package/dist/chunks/{shell-pt2r0h69.js → event-logger-420sj8bx.js} +12 -12
- package/dist/chunks/{shell-7etmxwrw.js → event-logger-42j647rh.js} +11 -11
- package/dist/chunks/{shell-dvt27j4v.js → event-logger-436as5yt.js} +23 -23
- package/dist/chunks/{shell-nbyv4xpy.js → event-logger-43wp5hnn.js} +28 -28
- package/dist/chunks/{shell-44pmzq9c.js → event-logger-44pmzq9c.js} +2 -2
- package/dist/chunks/{shell-azqdag7d.js → event-logger-44w9n9s7.js} +4 -4
- package/dist/chunks/{shell-zagh74s1.js → event-logger-463h6mze.js} +59 -59
- package/dist/chunks/{shell-ramak3h7.js → event-logger-47yay231.js} +39 -39
- package/dist/chunks/{shell-gtdtb6zh.js → event-logger-49nhgmbp.js} +3 -3
- package/dist/chunks/{shell-2fc8b0kx.js → event-logger-4aagdcz5.js} +12 -12
- package/dist/chunks/{shell-4dx1dgte.js → event-logger-4dx1dgte.js} +1 -1
- package/dist/chunks/{shell-1435t53a.js → event-logger-4jnp3rdw.js} +3 -3
- package/dist/chunks/{shell-w9x34k8x.js → event-logger-4mdh9fmp.js} +31 -31
- package/dist/chunks/{shell-4pyp9zr9.js → event-logger-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-xpkbe0n0.js → event-logger-4ryarprn.js} +26 -26
- package/dist/chunks/{shell-mdggcxnx.js → event-logger-4sbzbkv8.js} +19 -19
- package/dist/chunks/{shell-4v008n1t.js → event-logger-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-ddm9bp8z.js → event-logger-4xvwpktt.js} +19 -19
- package/dist/chunks/{shell-4m25fs0c.js → event-logger-4yk2rgn4.js} +23 -23
- package/dist/chunks/{shell-y3tc4mqh.js → event-logger-551xxf6x.js} +3 -3
- package/dist/chunks/{shell-hwkyjen6.js → event-logger-59hd7tc6.js} +11 -11
- package/dist/chunks/{shell-j2e5thya.js → event-logger-5eghqdw5.js} +16 -16
- package/dist/chunks/{shell-mvh0hmx3.js → event-logger-5eh5fk0d.js} +5 -5
- package/dist/chunks/{shell-40za9wsf.js → event-logger-5enarcya.js} +6 -6
- package/dist/chunks/{shell-zv7dwkwz.js → event-logger-5jtr8cqz.js} +5 -5
- package/dist/chunks/{shell-tretta9n.js → event-logger-5kgkjae6.js} +32 -32
- package/dist/chunks/{shell-5m9w47nd.js → event-logger-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-bhfd478d.js → event-logger-5n0rnk8e.js} +4 -4
- package/dist/chunks/{shell-kcfxxse4.js → event-logger-5nr4bvwd.js} +3 -3
- package/dist/chunks/{shell-kswrbrbd.js → event-logger-5snaa5ym.js} +44 -44
- package/dist/chunks/{shell-8cg7mtm3.js → event-logger-5whx36p1.js} +4 -4
- package/dist/chunks/{shell-vs629ttb.js → event-logger-5wpv947g.js} +44 -44
- package/dist/chunks/{shell-xajpbdhf.js → event-logger-5yrmq869.js} +6 -6
- package/dist/chunks/event-logger-5zcyx99g.js +16 -0
- package/dist/chunks/{shell-hhzexzy6.js → event-logger-61ryg4rw.js} +7 -7
- package/dist/chunks/{shell-405hpm5w.js → event-logger-6a7e5jkm.js} +5 -5
- package/dist/chunks/{shell-sc0vgygz.js → event-logger-6bjezfsr.js} +10 -10
- package/dist/chunks/{shell-6sg7v011.js → event-logger-6sg7v011.js} +2 -2
- package/dist/chunks/{shell-v197ct80.js → event-logger-6shn1g6t.js} +7 -7
- package/dist/chunks/{shell-frrvpzgc.js → event-logger-6sy5skry.js} +8 -8
- package/dist/chunks/{shell-32s5n8c8.js → event-logger-6w1pth7r.js} +11 -11
- package/dist/chunks/{shell-dbatw319.js → event-logger-73ff1310.js} +3 -3
- package/dist/chunks/{shell-75a2gs08.js → event-logger-75a2gs08.js} +1 -1
- package/dist/chunks/{shell-8dgmathe.js → event-logger-76bpnm70.js} +86 -86
- package/dist/chunks/{shell-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-68gmzqw4.js → event-logger-7c6drbc8.js} +16 -16
- package/dist/chunks/{shell-79z3x0ey.js → event-logger-7e7xtzp4.js} +23 -23
- package/dist/chunks/{shell-6bcwq14n.js → event-logger-7h22etv1.js} +5 -5
- package/dist/chunks/{shell-a692z59y.js → event-logger-7hth8fqr.js} +8 -8
- package/dist/chunks/{shell-fmyv9c6r.js → event-logger-7hv9yxfv.js} +11 -11
- package/dist/chunks/{shell-7w2ypzdf.js → event-logger-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-7weczvnd.js → event-logger-7weczvnd.js} +1 -1
- package/dist/chunks/event-logger-7yv5xa0k.js +18 -0
- package/dist/chunks/{shell-80mg3ag8.js → event-logger-80mg3ag8.js} +3 -3
- package/dist/chunks/{shell-bkzdj837.js → event-logger-85s860ta.js} +4 -4
- package/dist/chunks/{shell-2mrzfd6s.js → event-logger-87ktm2we.js} +21 -21
- package/dist/chunks/{shell-89287pr7.js → event-logger-89287pr7.js} +1 -1
- package/dist/chunks/{shell-229tvxdn.js → event-logger-8b68693q.js} +4 -4
- package/dist/chunks/{shell-1d0wczam.js → event-logger-8hazvag5.js} +19 -19
- package/dist/chunks/{shell-hazbs8j2.js → event-logger-8q0877m3.js} +8 -8
- package/dist/chunks/{shell-c74zf002.js → event-logger-8vwyj2v8.js} +16 -16
- package/dist/chunks/{shell-8wtp7s3z.js → event-logger-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-8z6m94af.js → event-logger-8z6m94af.js} +3 -3
- package/dist/chunks/{shell-8zv0xmg5.js → event-logger-8zv0xmg5.js} +1 -1
- package/dist/chunks/{shell-g5ajqn12.js → event-logger-90ct6wq4.js} +4 -4
- package/dist/chunks/{shell-f391j6tf.js → event-logger-93xdd59m.js} +38 -38
- package/dist/chunks/{shell-h5chy42v.js → event-logger-94e33dpz.js} +3 -3
- package/dist/chunks/{shell-5m6ckvxn.js → event-logger-9b5vdsnf.js} +18 -18
- package/dist/chunks/{shell-5f11tvgc.js → event-logger-9btkd10p.js} +46 -46
- package/dist/chunks/{shell-wetheyd5.js → event-logger-9cr3f4q9.js} +43 -43
- package/dist/chunks/{shell-0jqak6z7.js → event-logger-9eytjhx6.js} +21 -21
- package/dist/chunks/{shell-vpd34e2k.js → event-logger-9gdv5e7q.js} +12 -12
- package/dist/chunks/{shell-kjb9hnrx.js → event-logger-9h541qh0.js} +36 -36
- package/dist/chunks/event-logger-9mamkkpm.js +26 -0
- package/dist/chunks/{shell-pzcf4m7b.js → event-logger-9mkje6rf.js} +12 -12
- package/dist/chunks/{shell-ft76x6ef.js → event-logger-9ne6s3an.js} +5 -5
- package/dist/chunks/{shell-qaf687f9.js → event-logger-9nwnd4r5.js} +14 -14
- package/dist/chunks/{shell-h8j0ctnd.js → event-logger-9pvhh91a.js} +15 -15
- package/dist/chunks/{shell-3qme0kf1.js → event-logger-9qhwbcrh.js} +17 -17
- package/dist/chunks/{shell-1drh042d.js → event-logger-9qqf4n85.js} +12 -12
- package/dist/chunks/{shell-9wk4aggv.js → event-logger-9zwexsxs.js} +5 -5
- package/dist/chunks/{shell-2z7pcg50.js → event-logger-9zxtk6tt.js} +18 -18
- package/dist/chunks/{shell-0ptksmaw.js → event-logger-a20hkfby.js} +23 -23
- package/dist/chunks/{shell-7bkjbtdh.js → event-logger-a69gwq4z.js} +4 -4
- package/dist/chunks/{shell-0gj47m7y.js → event-logger-a6fff15s.js} +14 -14
- package/dist/chunks/{shell-1trk357q.js → event-logger-a7f51tx5.js} +21 -21
- package/dist/chunks/{shell-bxttbxw3.js → event-logger-ahq4m7es.js} +22 -22
- package/dist/chunks/{shell-aj7mw0zk.js → event-logger-aj7mw0zk.js} +2 -2
- package/dist/chunks/{shell-0pas9fex.js → event-logger-akapkvp0.js} +50 -50
- package/dist/chunks/{shell-9qqfewpb.js → event-logger-arts9saq.js} +7 -7
- package/dist/chunks/{shell-mnh4y74e.js → event-logger-avhatyhp.js} +6 -6
- package/dist/chunks/{shell-25ybqthv.js → event-logger-axf2sfr4.js} +27 -27
- package/dist/chunks/{shell-n8hn2tj1.js → event-logger-b07sq8ks.js} +20 -20
- package/dist/chunks/{shell-b26ddj6h.js → event-logger-b26ddj6h.js} +4 -4
- package/dist/chunks/{shell-gqzdnzz8.js → event-logger-b4hacfar.js} +5 -5
- package/dist/chunks/{shell-7qrph824.js → event-logger-bb3mmwvh.js} +2 -2
- package/dist/chunks/{shell-1yq9hg58.js → event-logger-bdhd9h6e.js} +5 -5
- package/dist/chunks/{shell-czbtc4y4.js → event-logger-bnvcg82x.js} +14 -14
- package/dist/chunks/{shell-537wj3tm.js → event-logger-br11833p.js} +15 -15
- package/dist/chunks/{shell-pwc55nz9.js → event-logger-bry7sw1e.js} +6 -6
- package/dist/chunks/{shell-bstexjd6.js → event-logger-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-yj3gcj8g.js → event-logger-bx7k469v.js} +39 -39
- package/dist/chunks/{shell-zpdbqgja.js → event-logger-by8ty0bx.js} +4 -4
- package/dist/chunks/{shell-ch7td5aw.js → event-logger-byp4hk37.js} +9 -9
- package/dist/chunks/{shell-4bn5jfhg.js → event-logger-bz8ka6fw.js} +38 -38
- package/dist/chunks/{shell-fdzzf5f1.js → event-logger-c10cj46h.js} +15 -15
- package/dist/chunks/{shell-643vwpv5.js → event-logger-c4m38cp9.js} +12 -12
- package/dist/chunks/{shell-sdfbdwmp.js → event-logger-c6t8vsgm.js} +12 -12
- package/dist/chunks/{shell-96ay2w1e.js → event-logger-ce4m7chb.js} +20 -20
- package/dist/chunks/{shell-f1724s09.js → event-logger-chqrtabq.js} +27 -27
- package/dist/chunks/{shell-vt4r9rmy.js → event-logger-ctmpqb7w.js} +9 -9
- package/dist/chunks/{shell-cwrgdav8.js → event-logger-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-nn2nd58t.js → event-logger-cxab28sr.js} +5 -5
- package/dist/chunks/{shell-wdyst71x.js → event-logger-cxwhmvkh.js} +15 -15
- package/dist/chunks/{shell-s92vvz56.js → event-logger-d07w6qza.js} +6 -6
- package/dist/chunks/{shell-kwx8p0jg.js → event-logger-d1ce1pkn.js} +10 -10
- package/dist/chunks/{shell-bg52gzq1.js → event-logger-d1qab26r.js} +11 -11
- package/dist/chunks/{shell-g0n526a7.js → event-logger-d3fvm3kd.js} +10 -10
- package/dist/chunks/{shell-gn8tkhbf.js → event-logger-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-9mgth90e.js → event-logger-d689zyrr.js} +6 -6
- package/dist/chunks/{shell-r2q4cnrv.js → event-logger-d7wwe7s8.js} +12 -12
- package/dist/chunks/{shell-vvw1vw7z.js → event-logger-db701fpm.js} +4 -4
- package/dist/chunks/{shell-hy8c1z76.js → event-logger-ddvn7d3w.js} +8 -8
- package/dist/chunks/{shell-n3v17h74.js → event-logger-dez6zq0c.js} +28 -28
- package/dist/chunks/{shell-bqy6qjs0.js → event-logger-dfa6nwz2.js} +4 -4
- package/dist/chunks/{shell-b6z59cfe.js → event-logger-dk76daa7.js} +30 -30
- package/dist/chunks/{shell-1fxksq7e.js → event-logger-dq85c697.js} +17 -17
- package/dist/chunks/{shell-dt77769w.js → event-logger-dt77769w.js} +1 -1
- package/dist/chunks/{shell-rmaqdgct.js → event-logger-e05c08gv.js} +28 -28
- package/dist/chunks/{shell-k60epa5j.js → event-logger-e1n2zybe.js} +15 -15
- package/dist/chunks/{shell-66skc788.js → event-logger-e69cz7sa.js} +22 -22
- package/dist/chunks/{shell-e834z07m.js → event-logger-e834z07m.js} +1 -1
- package/dist/chunks/{shell-9e8m0fbc.js → event-logger-e9s2t7zt.js} +27 -27
- package/dist/chunks/{shell-bhafg173.js → event-logger-eaytk0xj.js} +5 -5
- package/dist/chunks/{shell-yn0csnzd.js → event-logger-efdjspma.js} +31 -31
- package/dist/chunks/{shell-jx7n74qh.js → event-logger-egh3xgyk.js} +8 -8
- package/dist/chunks/{shell-gba9zttd.js → event-logger-ekvjnjy2.js} +41 -41
- package/dist/chunks/{shell-eqw4pqj1.js → event-logger-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shell-rmxymfm5.js → event-logger-erm9cwyf.js} +26 -26
- package/dist/chunks/{shell-32j8phd5.js → event-logger-ev86pm85.js} +30 -30
- package/dist/chunks/{shell-m117rz8z.js → event-logger-f0q5tkpe.js} +3 -3
- package/dist/chunks/{shell-kz2edm91.js → event-logger-f32m8sjz.js} +5 -5
- package/dist/chunks/{shell-s5y0a33b.js → event-logger-f4dzkc1w.js} +7 -7
- package/dist/chunks/{shell-wzrgv9jt.js → event-logger-f5ysh040.js} +24 -24
- package/dist/chunks/{shell-1xzjzq12.js → event-logger-f6jrxydq.js} +26 -26
- package/dist/chunks/{shell-j57hq37t.js → event-logger-f6wceynv.js} +32 -32
- package/dist/chunks/{shell-f9r4rks5.js → event-logger-f9r4rks5.js} +3 -3
- package/dist/chunks/{shell-y9hckaaa.js → event-logger-f9tc5me5.js} +6 -6
- package/dist/chunks/{shell-fffv3p7h.js → event-logger-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-fg9p65nk.js → event-logger-fg9p65nk.js} +2 -2
- package/dist/chunks/{shell-vseznqsh.js → event-logger-fj4mgdrf.js} +3 -3
- package/dist/chunks/{shell-b1rrmhtb.js → event-logger-frax0kz5.js} +11 -11
- package/dist/chunks/{shell-3288jgew.js → event-logger-ftthrc37.js} +4 -4
- package/dist/chunks/{shell-eg24kt41.js → event-logger-fv6sqsbq.js} +13 -13
- package/dist/chunks/{shell-wz3tbts5.js → event-logger-fw0eqa3e.js} +13 -13
- package/dist/chunks/{shell-eam2557n.js → event-logger-g4v74gy6.js} +4 -4
- package/dist/chunks/{shell-mjd3hhf5.js → event-logger-gbcy7f8h.js} +12 -12
- package/dist/chunks/{shell-gbjdnr5j.js → event-logger-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shell-ghrv1g9c.js → event-logger-ghrv1g9c.js} +1 -1
- package/dist/chunks/{shell-h00ntfdh.js → event-logger-gsny9jsj.js} +26 -26
- package/dist/chunks/{shell-gxs71cxp.js → event-logger-gxs71cxp.js} +1 -1
- package/dist/chunks/{shell-rev8xd0k.js → event-logger-gxvp678h.js} +9 -9
- package/dist/chunks/{shell-pmjkhs0p.js → event-logger-h9e7n73b.js} +29 -29
- package/dist/chunks/{shell-hgzwgvze.js → event-logger-hgzwgvze.js} +2 -2
- package/dist/chunks/{shell-jjzjap5a.js → event-logger-hm0x9a2y.js} +5 -5
- package/dist/chunks/{shell-20yvxjhy.js → event-logger-hmxf4vjz.js} +21 -21
- package/dist/chunks/{shell-70yhc4mp.js → event-logger-j0k4918m.js} +8 -8
- package/dist/chunks/{shell-f54379qr.js → event-logger-j9xy471c.js} +8 -8
- package/dist/chunks/{shell-rv4457c9.js → event-logger-jbw6nwyn.js} +8 -8
- package/dist/chunks/{shell-jm70asfg.js → event-logger-jm70asfg.js} +1 -1
- package/dist/chunks/{shell-0xc524zk.js → event-logger-jn4gjpje.js} +4 -4
- package/dist/chunks/{shell-4xjy8j8p.js → event-logger-jnb8ct48.js} +8 -8
- package/dist/chunks/{shell-q9cee3z8.js → event-logger-jr4x26n9.js} +35 -35
- package/dist/chunks/{shell-5r7kxkrw.js → event-logger-jtecsa0s.js} +27 -27
- package/dist/chunks/{shell-qww6qcee.js → event-logger-jweyvncp.js} +31 -31
- package/dist/chunks/{shell-7yss8msg.js → event-logger-jwh4p3gk.js} +11 -11
- package/dist/chunks/{shell-m4gnngc2.js → event-logger-k2dhgqm0.js} +15 -15
- package/dist/chunks/{shell-qsdghx1p.js → event-logger-k3cx6fhe.js} +4 -4
- package/dist/chunks/{shell-x47kby8p.js → event-logger-k3ve1akr.js} +4 -4
- package/dist/chunks/{shell-1zxrx0km.js → event-logger-k50g1038.js} +9 -9
- package/dist/chunks/{shell-8s61ky95.js → event-logger-k52ha37f.js} +17 -17
- package/dist/chunks/{shell-76fw5h1w.js → event-logger-k7zatgck.js} +14 -14
- package/dist/chunks/{shell-w7z3hg28.js → event-logger-k8dtb1bp.js} +4 -4
- package/dist/chunks/{shell-0c9a6smd.js → event-logger-kcqk58eg.js} +21 -21
- package/dist/chunks/{shell-nr915jn7.js → event-logger-kj9n5bvh.js} +4 -4
- package/dist/chunks/{shell-3nw1k2zv.js → event-logger-kr0x3sn9.js} +8 -8
- package/dist/chunks/{shell-a06r4g0m.js → event-logger-ksf35g1x.js} +17 -17
- package/dist/chunks/{shell-ggx84v7x.js → event-logger-ktck1cjp.js} +6 -6
- package/dist/chunks/{shell-3aadzwqp.js → event-logger-kwgysyr5.js} +3 -3
- package/dist/chunks/{shell-kzczzf4v.js → event-logger-kzczzf4v.js} +1 -1
- package/dist/chunks/{shell-m1714858.js → event-logger-m1714858.js} +1 -1
- package/dist/chunks/{shell-h7yvbbcv.js → event-logger-m5vd3jnt.js} +13 -13
- package/dist/chunks/{shell-5yptz2jp.js → event-logger-m7wpg994.js} +25 -25
- package/dist/chunks/{shell-hpvchwm2.js → event-logger-m8hxv7bp.js} +11 -11
- package/dist/chunks/{shell-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-6sbfg0tw.js → event-logger-mbv2at2a.js} +26 -26
- package/dist/chunks/{shell-h9wxasy5.js → event-logger-mg08e1y4.js} +15 -15
- package/dist/chunks/{shell-nd36bfyw.js → event-logger-mjbnvbca.js} +12 -12
- package/dist/chunks/{shell-mm06edep.js → event-logger-mm06edep.js} +1 -1
- package/dist/chunks/{shell-hyka1c57.js → event-logger-mr2qq2c2.js} +10 -10
- package/dist/chunks/{shell-6wxs95q2.js → event-logger-mtee4skx.js} +12 -12
- package/dist/chunks/{shell-r7zrbnjn.js → event-logger-n3j33rb6.js} +4 -4
- package/dist/chunks/{shell-nw2n20b5.js → event-logger-n53qgk17.js} +14 -14
- package/dist/chunks/{shell-rhk8bcs2.js → event-logger-nmn72wc1.js} +9 -9
- package/dist/chunks/{shell-e174pryb.js → event-logger-nwyfjcs7.js} +8 -8
- package/dist/chunks/{shell-nx4vzyjd.js → event-logger-nx4vzyjd.js} +2 -2
- package/dist/chunks/{shell-wvr8xscb.js → event-logger-nyxvvj5y.js} +4 -4
- package/dist/chunks/{shell-cn47eddm.js → event-logger-p1h6413v.js} +19 -19
- package/dist/chunks/{shell-ffz0kz1m.js → event-logger-p6zc71nf.js} +18 -18
- package/dist/chunks/{shell-wbj5jy1j.js → event-logger-p88vhsgx.js} +6 -6
- package/dist/chunks/{shell-n0f0gc3a.js → event-logger-phmxb4hj.js} +12 -12
- package/dist/chunks/{shell-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{shell-6swabtyq.js → event-logger-pmk17wmf.js} +12 -12
- package/dist/chunks/{shell-bb3pv0r8.js → event-logger-ppf9rkv1.js} +7 -7
- package/dist/chunks/{shell-pxrqm68d.js → event-logger-pxrqm68d.js} +4 -4
- package/dist/chunks/{shell-fe6hsv98.js → event-logger-q237yn6c.js} +50 -50
- package/dist/chunks/{shell-xb44tg6j.js → event-logger-q3hw9vdf.js} +6 -6
- package/dist/chunks/{shell-kf87nf2v.js → event-logger-q9ssyn1g.js} +15 -15
- package/dist/chunks/{shell-d89g0pyp.js → event-logger-qa21r74z.js} +21 -21
- package/dist/chunks/{shell-954rbe2c.js → event-logger-qar2d810.js} +7 -7
- package/dist/chunks/{shell-9jsg05jc.js → event-logger-qencpzgw.js} +31 -31
- package/dist/chunks/{shell-a5fx33f2.js → event-logger-qj27ec1j.js} +6 -6
- package/dist/chunks/{shell-3pxaezmg.js → event-logger-qp2811jz.js} +8 -8
- package/dist/chunks/{shell-qp7r0hxv.js → event-logger-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-0f6bvsk3.js → event-logger-qpmvef7m.js} +9 -9
- package/dist/chunks/{shell-bwwgg4gq.js → event-logger-qrkp300n.js} +34 -34
- package/dist/chunks/{shell-09m30c13.js → event-logger-qwx6bzmp.js} +8 -8
- package/dist/chunks/{shell-pg0x1cv7.js → event-logger-qwyfqnfy.js} +9 -9
- package/dist/chunks/{shell-r17fbvme.js → event-logger-r17fbvme.js} +1 -1
- package/dist/chunks/{shell-4f25tdd0.js → event-logger-r542h3bh.js} +5 -5
- package/dist/chunks/{shell-rb9dy4dg.js → event-logger-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-2m2g9ynh.js → event-logger-rcbjwvze.js} +4 -4
- package/dist/chunks/{shell-rgc9cx3e.js → event-logger-rgc9cx3e.js} +2 -2
- package/dist/chunks/{shell-rqv9g1yx.js → event-logger-rjgvwdsc.js} +4 -4
- package/dist/chunks/{shell-rcddr6md.js → event-logger-rmw3h06q.js} +22 -22
- package/dist/chunks/{shell-rt5dr6hb.js → event-logger-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-eewdpb1z.js → event-logger-s19z29j6.js} +15 -15
- package/dist/chunks/{shell-j8912rfd.js → event-logger-s3wwhbym.js} +28 -28
- package/dist/chunks/{shell-sm8hvaf4.js → event-logger-sb86zj4n.js} +22 -22
- package/dist/chunks/{shell-sbya78hr.js → event-logger-sbya78hr.js} +1 -1
- package/dist/chunks/{shell-2b2r7h3k.js → event-logger-scn5v30h.js} +9 -9
- package/dist/chunks/{shell-3npftgr8.js → event-logger-sjvv83hk.js} +14 -14
- package/dist/chunks/{shell-1rjq489n.js → event-logger-sna6y4mg.js} +163 -163
- package/dist/chunks/{shell-t6f7t09b.js → event-logger-snjqag79.js} +9 -9
- package/dist/chunks/{shell-0j7gp832.js → event-logger-sqjzf8x2.js} +4 -4
- package/dist/chunks/{shell-wtx32rv5.js → event-logger-ss2tkcm0.js} +16 -16
- package/dist/chunks/{shell-svcy3p9a.js → event-logger-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-t04xxpqv.js → event-logger-swmy6bdm.js} +8 -8
- package/dist/chunks/{shell-mnkg1d8g.js → event-logger-sws32ga7.js} +9 -9
- package/dist/chunks/{shell-w632115p.js → event-logger-sy988f54.js} +16 -16
- package/dist/chunks/{shell-qr2s0mn1.js → event-logger-t61m3rn6.js} +31 -31
- package/dist/chunks/{shell-6x9fp5f4.js → event-logger-t8tkzwg3.js} +8 -8
- package/dist/chunks/{shell-m9c2aabq.js → event-logger-t9swfdmh.js} +42 -42
- package/dist/chunks/{shell-tbpn7jtk.js → event-logger-tbpn7jtk.js} +1 -1
- package/dist/chunks/{shell-tczq8hjw.js → event-logger-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-a8sr8rzb.js → event-logger-tdfhg1v4.js} +11 -11
- package/dist/chunks/{shell-7bbqa9np.js → event-logger-tgbkbn78.js} +36 -36
- package/dist/chunks/{shell-rt98jwbf.js → event-logger-tk16fw23.js} +43 -43
- package/dist/chunks/{shell-yydqqga9.js → event-logger-tmd1r8tg.js} +4 -4
- package/dist/chunks/{shell-tr8x705m.js → event-logger-tr8x705m.js} +1 -1
- package/dist/chunks/{shell-xxj247ny.js → event-logger-tt3av247.js} +2 -2
- package/dist/chunks/{shell-twssxy5n.js → event-logger-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-ddvv9kd4.js → event-logger-tycv7n3a.js} +4 -4
- package/dist/chunks/{shell-zhjkbk77.js → event-logger-v0725q93.js} +4 -4
- package/dist/chunks/{shell-9q8g9sv8.js → event-logger-v0t96s7a.js} +4 -4
- package/dist/chunks/{shell-v2r1d0zg.js → event-logger-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-vjf35v1f.js → event-logger-vjf35v1f.js} +1 -1
- package/dist/chunks/{shell-q5c7zkja.js → event-logger-vms4jgqt.js} +26 -26
- package/dist/chunks/event-logger-vns3fz8q.js +265 -0
- package/dist/chunks/{shell-fm7r52f5.js → event-logger-vwe0fn22.js} +33 -33
- package/dist/chunks/{shell-h78ntqjs.js → event-logger-w0yptzx2.js} +11 -11
- package/dist/chunks/{shell-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-e9cw7gmf.js → event-logger-w5b18xth.js} +17 -17
- package/dist/chunks/{shell-wakvkjy4.js → event-logger-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-vbwbyck9.js → event-logger-wd6pjbqp.js} +6 -6
- package/dist/chunks/{shell-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{shell-kgt7p13e.js → event-logger-wk22qswf.js} +18 -18
- package/dist/chunks/{shell-fznmdakp.js → event-logger-wr3re1en.js} +4 -4
- package/dist/chunks/{shell-wt99tj4q.js → event-logger-wt99tj4q.js} +2 -2
- package/dist/chunks/{shell-6hav4whp.js → event-logger-x3jnzk7v.js} +11 -11
- package/dist/chunks/{shell-cttdm8w6.js → event-logger-x3rwphpj.js} +14 -14
- package/dist/chunks/{shell-11dfeftq.js → event-logger-xhkpj4jx.js} +16 -16
- package/dist/chunks/{shell-dac3x4jp.js → event-logger-xk1t7r6z.js} +43 -43
- package/dist/chunks/{shell-9ncrnkt5.js → event-logger-xp8dt1qk.js} +4 -4
- package/dist/chunks/{shell-bg0mwpa3.js → event-logger-xxg4s58p.js} +11 -11
- package/dist/chunks/{shell-xjr6c8m4.js → event-logger-xxschbft.js} +4 -4
- package/dist/chunks/{shell-4rrwvkzx.js → event-logger-yayn9aa0.js} +12 -12
- package/dist/chunks/{shell-yb20nhc3.js → event-logger-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-bc8y4p89.js → event-logger-ycvfzcer.js} +37 -37
- package/dist/chunks/{shell-qf23cwjr.js → event-logger-ye0pz4xr.js} +8 -8
- package/dist/chunks/{shell-mner3my0.js → event-logger-yqd2nca0.js} +19 -19
- package/dist/chunks/{shell-yr705xyq.js → event-logger-yr705xyq.js} +1 -1
- package/dist/chunks/{shell-yvtc2x31.js → event-logger-yvtc2x31.js} +1 -1
- package/dist/chunks/{shell-99gq5wd5.js → event-logger-zaksxtmr.js} +20 -20
- package/dist/chunks/{shell-ktjv9mj5.js → event-logger-zbhrfqk4.js} +21 -21
- package/dist/chunks/{shell-q3m1k2g5.js → event-logger-zbyyc0k7.js} +35 -35
- package/dist/chunks/{shell-34r5v1v3.js → event-logger-ze0xcc93.js} +22 -22
- package/dist/chunks/{shell-ze75qvmd.js → event-logger-ze75qvmd.js} +3 -3
- package/dist/chunks/{shell-dsamxs8t.js → event-logger-zf3nzaw6.js} +1 -1
- package/dist/chunks/{shell-3s2njrkt.js → event-logger-zg7h0bk7.js} +2 -2
- package/dist/chunks/{shell-gcjxeb8g.js → event-logger-zghhzg4r.js} +11 -11
- package/dist/chunks/{shell-v7ad2pwj.js → event-logger-zjn0gzhf.js} +5 -5
- package/dist/chunks/{shell-yj4dxp6f.js → event-logger-zyakepx8.js} +10 -10
- package/dist/chunks/{shell-p0vvrprf.js → event-logger-zz435psd.js} +29 -29
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- 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 +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- 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 +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- 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 +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- 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 +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/batch.js +1 -1
- 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 +76 -76
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +127 -127
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +3 -3
- 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 +431 -431
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +181 -181
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +428 -428
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- 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 +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- 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 +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- 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 +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +3 -3
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- 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 +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- 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 +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- 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 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +110 -110
- 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 +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +251 -251
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- 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 +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +241 -241
- package/dist/session/usage.js +3 -3
- package/dist/session.js +237 -237
- 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 +9 -9
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +157 -157
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- 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 +5 -5
- 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 +3 -3
- 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 +97 -97
- 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 +9 -9
- package/dist/chunks/shell-0xwpf9nm.js +0 -577
- package/dist/chunks/shell-208nbn7x.js +0 -16
- package/dist/chunks/shell-cdf2aen0.js +0 -26
- package/dist/chunks/shell-d77dj7jw.js +0 -18
- package/dist/chunks/shell-qt6swdsg.js +0 -265
- /package/dist/chunks/{shell-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-108x4f4w.js → event-logger-108x4f4w.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kah00gy.js → event-logger-1kah00gy.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → event-logger-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3af0jn4w.js → event-logger-3af0jn4w.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4qk9sjk2.js → event-logger-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → event-logger-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6agm2x70.js → event-logger-6agm2x70.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → event-logger-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → event-logger-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → event-logger-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bhmrqjy3.js → event-logger-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → event-logger-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-ean2d8b5.js → event-logger-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → event-logger-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → event-logger-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → event-logger-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → event-logger-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-nh4v3znn.js → event-logger-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → event-logger-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-syrav9an.js → event-logger-syrav9an.js} +0 -0
- /package/dist/chunks/{shell-t03h4f5z.js → event-logger-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shell-ty7weeps.js → event-logger-ty7weeps.js} +0 -0
- /package/dist/chunks/{shell-v37bc009.js → event-logger-v37bc009.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → event-logger-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-vtarvj67.js → event-logger-vtarvj67.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x4th4bpe.js → event-logger-x4th4bpe.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z0h12gs8.js → event-logger-z0h12gs8.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zxpyjp51.js → event-logger-zxpyjp51.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
node84
|
|
3
|
+
} from "./event-logger-tdfhg1v4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-v0725q93.js";
|
|
8
8
|
import {
|
|
9
9
|
KVTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-3hepkmqq.js";
|
|
11
11
|
import {
|
|
12
12
|
latest2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service78
|
|
14
|
+
} from "./event-logger-ekvjnjy2.js";
|
|
15
15
|
import {
|
|
16
16
|
DirectoryNotFoundError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-e05c08gv.js";
|
|
18
18
|
import {
|
|
19
19
|
resolver2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-b4hacfar.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service49,
|
|
23
|
+
node52
|
|
24
|
+
} from "./event-logger-d07w6qza.js";
|
|
25
25
|
import {
|
|
26
26
|
SessionMessage2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./event-logger-gftt206x.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-8z6m94af.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service47,
|
|
33
|
+
node51
|
|
34
|
+
} from "./event-logger-ycvfzcer.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service29,
|
|
37
|
+
node33
|
|
38
|
+
} from "./event-logger-2d9fweae.js";
|
|
39
39
|
import {
|
|
40
40
|
validate2,
|
|
41
41
|
describe2,
|
|
42
42
|
authorize2,
|
|
43
43
|
evaluate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./event-logger-ev86pm85.js";
|
|
45
45
|
import {
|
|
46
46
|
ScheduleTable2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./event-logger-nx4vzyjd.js";
|
|
48
48
|
import {
|
|
49
49
|
__export
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
51
51
|
|
|
52
52
|
// src/schedule.ts
|
|
53
53
|
var exports_schedule2 = {};
|
|
54
54
|
__export(exports_schedule2, {
|
|
55
55
|
Condition: () => Condition2,
|
|
56
56
|
ConditionInput: () => ConditionInput2,
|
|
57
|
-
CreateInput: () =>
|
|
57
|
+
CreateInput: () => CreateInput3,
|
|
58
58
|
DisabledError: () => DisabledError2,
|
|
59
|
-
ID: () =>
|
|
60
|
-
Info: () =>
|
|
59
|
+
ID: () => ID5,
|
|
60
|
+
Info: () => Info4,
|
|
61
61
|
InvalidError: () => InvalidError2,
|
|
62
|
-
NotFoundError: () =>
|
|
62
|
+
NotFoundError: () => NotFoundError3,
|
|
63
63
|
Outcome: () => Outcome3,
|
|
64
64
|
Request: () => Request2,
|
|
65
65
|
Schedule: () => exports_schedule2,
|
|
66
|
-
Service: () =>
|
|
66
|
+
Service: () => Service17,
|
|
67
67
|
Status: () => Status2,
|
|
68
68
|
When: () => When2,
|
|
69
|
-
node: () =>
|
|
69
|
+
node: () => node19,
|
|
70
70
|
toCreateInput: () => toCreateInput2
|
|
71
71
|
});
|
|
72
72
|
import { randomUUID } from "node:crypto";
|
|
@@ -76,18 +76,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
76
76
|
import {
|
|
77
77
|
Condition as Condition2,
|
|
78
78
|
ConditionInput as ConditionInput2,
|
|
79
|
-
CreateInput as
|
|
79
|
+
CreateInput as CreateInput3,
|
|
80
80
|
durationMillis,
|
|
81
|
-
ID as
|
|
82
|
-
Info as
|
|
81
|
+
ID as ID5,
|
|
82
|
+
Info as Info4,
|
|
83
83
|
Outcome as Outcome3,
|
|
84
84
|
Request as Request2,
|
|
85
85
|
Status as Status2,
|
|
86
86
|
toCreateInput as toCreateInput2,
|
|
87
87
|
When as When2
|
|
88
88
|
} from "@opencode/schema/schedule";
|
|
89
|
-
class
|
|
90
|
-
scheduleID:
|
|
89
|
+
class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
90
|
+
scheduleID: ID5
|
|
91
91
|
}) {
|
|
92
92
|
get message() {
|
|
93
93
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -108,7 +108,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service17 extends Context.Service()("@opencode/Schedule") {
|
|
112
112
|
}
|
|
113
113
|
var MINUTE = 60000;
|
|
114
114
|
var HOUR = 60 * MINUTE;
|
|
@@ -194,16 +194,16 @@ var toInfo = (row, lastOutput) => ({
|
|
|
194
194
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
195
195
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
196
196
|
});
|
|
197
|
-
var layer = Layer.effect(
|
|
197
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
198
198
|
const database = yield* Service92;
|
|
199
199
|
const db = database.db;
|
|
200
|
-
const sessions = yield*
|
|
201
|
-
const instances = yield*
|
|
202
|
-
const execution = yield*
|
|
200
|
+
const sessions = yield* Service29;
|
|
201
|
+
const instances = yield* Service49;
|
|
202
|
+
const execution = yield* Service47;
|
|
203
203
|
const doorbell = yield* Latch.make();
|
|
204
204
|
const flags = yield* resolver2;
|
|
205
205
|
const settings = (session) => Effect.gen(function* () {
|
|
206
|
-
const config = yield* Effect.serviceOption(
|
|
206
|
+
const config = yield* Effect.serviceOption(Service78);
|
|
207
207
|
if (Option.isNone(config))
|
|
208
208
|
return { enabled: false, timezone: undefined };
|
|
209
209
|
const entries = yield* config.value.entries();
|
|
@@ -212,7 +212,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
212
212
|
timezone: latest2(entries, "timezone")
|
|
213
213
|
};
|
|
214
214
|
}).pipe(instances.provide(session));
|
|
215
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
215
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
|
|
216
216
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
217
217
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
218
218
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -486,7 +486,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
486
486
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
487
487
|
return Math.min(at.value, after ?? at.value);
|
|
488
488
|
});
|
|
489
|
-
return
|
|
489
|
+
return Service17.of({
|
|
490
490
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
491
491
|
const session = yield* sessions.get(input.sessionID);
|
|
492
492
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -505,7 +505,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
505
505
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
506
506
|
if (ends !== null && due > ends)
|
|
507
507
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
508
|
-
const scheduleID =
|
|
508
|
+
const scheduleID = ID5.create();
|
|
509
509
|
const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
|
|
510
510
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
|
|
511
511
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -598,10 +598,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
598
598
|
run
|
|
599
599
|
});
|
|
600
600
|
}));
|
|
601
|
-
var
|
|
602
|
-
service:
|
|
601
|
+
var node19 = makeGlobalNode({
|
|
602
|
+
service: Service17,
|
|
603
603
|
layer,
|
|
604
|
-
deps: [
|
|
604
|
+
deps: [node84, node96, node33, node51, node52]
|
|
605
605
|
});
|
|
606
606
|
|
|
607
|
-
export { Condition2, ConditionInput2,
|
|
607
|
+
export { Condition2, ConditionInput2, CreateInput3, ID5, Info4, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service17, node19, exports_schedule2 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./event-logger-9zxtk6tt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./event-logger-9pvhh91a.js";
|
|
13
13
|
import {
|
|
14
14
|
invocation2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service73
|
|
16
|
+
} from "./event-logger-bz8ka6fw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service18,
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-a20hkfby.js";
|
|
21
21
|
import {
|
|
22
22
|
output2,
|
|
23
23
|
notice2,
|
|
24
24
|
metadata2,
|
|
25
25
|
notification2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./event-logger-89287pr7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service55,
|
|
29
29
|
name17
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-fw0eqa3e.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
NotFoundError7,
|
|
33
|
+
Service52
|
|
34
|
+
} from "./event-logger-t9swfdmh.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service29
|
|
37
|
+
} from "./event-logger-2d9fweae.js";
|
|
38
38
|
import {
|
|
39
39
|
scan3
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./event-logger-a69gwq4z.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/shell.ts
|
|
46
|
-
var
|
|
47
|
-
__export(
|
|
46
|
+
var exports_shell2 = {};
|
|
47
|
+
__export(exports_shell2, {
|
|
48
48
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
49
|
-
Input: () =>
|
|
50
|
-
Plugin: () =>
|
|
51
|
-
ShellTool: () =>
|
|
52
|
-
name: () =>
|
|
49
|
+
Input: () => Input11,
|
|
50
|
+
Plugin: () => Plugin51,
|
|
51
|
+
ShellTool: () => exports_shell2,
|
|
52
|
+
name: () => name11
|
|
53
53
|
});
|
|
54
54
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
55
55
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
56
|
-
var
|
|
56
|
+
var name11 = "shell";
|
|
57
57
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
58
58
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
59
59
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -67,7 +67,7 @@ var description = (shell) => [
|
|
|
67
67
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
68
68
|
"Background commands return immediately, and you will be notified when they complete."
|
|
69
69
|
].join(" ");
|
|
70
|
-
var
|
|
70
|
+
var Input11 = Schema.Struct({
|
|
71
71
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
72
72
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
73
73
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -113,18 +113,18 @@ Output is streaming to: ${file}`,
|
|
|
113
113
|
truncated: false,
|
|
114
114
|
status: "running"
|
|
115
115
|
});
|
|
116
|
-
var
|
|
116
|
+
var Plugin51 = {
|
|
117
117
|
id: "opencode.tool.shell",
|
|
118
118
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
119
|
-
const sessions = yield*
|
|
120
|
-
const jobs = yield*
|
|
119
|
+
const sessions = yield* Service29;
|
|
120
|
+
const jobs = yield* Service51;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
|
-
const environment = yield*
|
|
123
|
-
const access = yield*
|
|
124
|
-
const shell = yield*
|
|
125
|
-
const shellSelect = yield*
|
|
122
|
+
const environment = yield* Service59;
|
|
123
|
+
const access = yield* Service18;
|
|
124
|
+
const shell = yield* Service52;
|
|
125
|
+
const shellSelect = yield* Service55;
|
|
126
126
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
127
|
-
const permission = yield*
|
|
127
|
+
const permission = yield* Service73;
|
|
128
128
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
129
129
|
const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
|
|
130
130
|
invocation.cwd = target.absolute;
|
|
@@ -137,7 +137,7 @@ var Plugin35 = {
|
|
|
137
137
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
138
138
|
if (parsed.commands.length > 0)
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name11,
|
|
141
141
|
resources: parsed.commands.map((command) => command.resource),
|
|
142
142
|
save: parsed.commands.map((command) => command.save),
|
|
143
143
|
...invocation2(context)
|
|
@@ -172,10 +172,10 @@ var Plugin35 = {
|
|
|
172
172
|
yield* jobs.completeBackground(info.notificationID);
|
|
173
173
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
174
174
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
175
|
-
name:
|
|
175
|
+
name: name11,
|
|
176
176
|
options: { codemode: false },
|
|
177
177
|
description: description(),
|
|
178
|
-
input:
|
|
178
|
+
input: Input11,
|
|
179
179
|
output: Output,
|
|
180
180
|
execute: (input, context) => Effect.gen(function* () {
|
|
181
181
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -198,7 +198,7 @@ var Plugin35 = {
|
|
|
198
198
|
const run = Effect.gen(function* () {
|
|
199
199
|
const result = yield* shell.result(info);
|
|
200
200
|
if (!result.capture)
|
|
201
|
-
return yield* new
|
|
201
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
202
202
|
const output = output2(result);
|
|
203
203
|
return {
|
|
204
204
|
...output,
|
|
@@ -212,7 +212,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
212
212
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
213
213
|
const job = yield* jobs.start({
|
|
214
214
|
id: info.id,
|
|
215
|
-
type:
|
|
215
|
+
type: name11,
|
|
216
216
|
title: info.command,
|
|
217
217
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
218
218
|
recovery: {
|
|
@@ -242,7 +242,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
242
242
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
243
243
|
})).pipe(Effect.orDie);
|
|
244
244
|
const hook = (event) => Effect.gen(function* () {
|
|
245
|
-
const tool = event.tools[
|
|
245
|
+
const tool = event.tools[name11];
|
|
246
246
|
if (!tool)
|
|
247
247
|
return;
|
|
248
248
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -253,4 +253,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin51, exports_shell2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service51,
|
|
3
|
+
node54
|
|
4
|
+
} from "./event-logger-9pvhh91a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service29,
|
|
7
|
+
node33
|
|
8
|
+
} from "./event-logger-2d9fweae.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-sqjzf8x2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service10,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node12
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service10 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service29;
|
|
30
|
+
const jobs = yield* Service51;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service10.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -53,7 +53,7 @@ var make = Effect.gen(function* () {
|
|
|
53
53
|
yield* sessions.resume(recovery.childSessionID);
|
|
54
54
|
const messages = yield* sessions.messages({ sessionID: recovery.childSessionID, order: "desc", limit: 20 });
|
|
55
55
|
const assistant = messages.find((message) => message.type === "assistant" && message.time.completed !== undefined && message.error === undefined);
|
|
56
|
-
return
|
|
56
|
+
return text2(assistant);
|
|
57
57
|
})
|
|
58
58
|
}).pipe(Effect.setContext(context)),
|
|
59
59
|
background: Effect.fn("SubagentJob.background")(function* (recovery) {
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node12 = Node.makeGlobalNode({
|
|
68
|
+
service: Service10,
|
|
69
|
+
layer: Layer.effect(Service10, make),
|
|
70
|
+
deps: [node33, node54]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service10, node12, exports_subagent_job };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./event-logger-ekvjnjy2.js";
|
|
4
4
|
import {
|
|
5
5
|
resolver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-b4hacfar.js";
|
|
7
7
|
import {
|
|
8
8
|
Content2,
|
|
9
9
|
Event5,
|
|
10
10
|
ID7,
|
|
11
11
|
Info7,
|
|
12
12
|
ProviderID2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service24
|
|
14
|
+
} from "./event-logger-1b5n75mc.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-mm06edep.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/tool/plugin/artifact.ts
|
|
23
23
|
var exports_artifact = {};
|
|
@@ -25,7 +25,7 @@ __export(exports_artifact, {
|
|
|
25
25
|
ArtifactTools: () => exports_artifact,
|
|
26
26
|
CreateToolInput: () => CreateToolInput2,
|
|
27
27
|
DeleteToolInput: () => DeleteToolInput2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin43,
|
|
29
29
|
ReadToolInput: () => ReadToolInput2,
|
|
30
30
|
UpdateToolInput: () => UpdateToolInput2
|
|
31
31
|
});
|
|
@@ -62,11 +62,11 @@ var DeleteToolOutput = Schema.Struct({
|
|
|
62
62
|
id: ID7,
|
|
63
63
|
deleted: Schema.Boolean
|
|
64
64
|
});
|
|
65
|
-
var
|
|
65
|
+
var Plugin43 = {
|
|
66
66
|
id: "opencode.tool.artifact",
|
|
67
67
|
effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
|
|
68
|
-
const config = yield*
|
|
69
|
-
const artifacts = yield*
|
|
68
|
+
const config = yield* Service78;
|
|
69
|
+
const artifacts = yield* Service24;
|
|
70
70
|
const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
|
|
71
71
|
const refreshTools = Effect.gen(function* () {
|
|
72
72
|
promptSnapshot.text = yield* renderCreateDescription(artifacts);
|
|
@@ -152,4 +152,4 @@ function renderCreateDescription(artifacts) {
|
|
|
152
152
|
}));
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2,
|
|
155
|
+
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin43, exports_artifact };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-rjgvwdsc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service41,
|
|
7
|
+
node45
|
|
8
|
+
} from "./event-logger-akapkvp0.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
13
|
invocation2,
|
|
14
14
|
CorrectedError2,
|
|
15
15
|
BlockedError2,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service73,
|
|
17
|
+
node76
|
|
18
|
+
} from "./event-logger-bz8ka6fw.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizedName2,
|
|
21
21
|
effectiveName2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./event-logger-z0h12gs8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service67,
|
|
25
|
+
node71
|
|
26
|
+
} from "./event-logger-chqrtabq.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service54,
|
|
29
|
+
node57
|
|
30
|
+
} from "./event-logger-59hd7tc6.js";
|
|
31
31
|
import {
|
|
32
32
|
MEDIA_MIMES2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./event-logger-kcqk58eg.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/mcp.ts
|
|
39
39
|
var exports_mcp3 = {};
|
|
40
40
|
__export(exports_mcp3, {
|
|
41
41
|
McpTool: () => exports_mcp3,
|
|
42
|
-
Service: () =>
|
|
43
|
-
layer: () =>
|
|
44
|
-
name: () =>
|
|
42
|
+
Service: () => Service40,
|
|
43
|
+
layer: () => layer17,
|
|
44
|
+
name: () => name16,
|
|
45
45
|
namespace: () => namespace2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node44
|
|
47
47
|
});
|
|
48
48
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
49
49
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -52,16 +52,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
52
52
|
import { extension } from "mime-types";
|
|
53
53
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
54
54
|
var namespace2 = (server) => normalizedName2({ name: server });
|
|
55
|
-
var
|
|
55
|
+
var name16 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service40 extends Context.Service()("@opencode/McpTool") {
|
|
58
58
|
}
|
|
59
|
-
var
|
|
60
|
-
const mcp = yield*
|
|
61
|
-
const tools = yield*
|
|
59
|
+
var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
60
|
+
const mcp = yield* Service41;
|
|
61
|
+
const tools = yield* Service67;
|
|
62
62
|
const bus = yield* Service91;
|
|
63
|
-
const permission = yield*
|
|
64
|
-
const toolOutput = yield*
|
|
63
|
+
const permission = yield* Service73;
|
|
64
|
+
const toolOutput = yield* Service54;
|
|
65
65
|
const lock = Semaphore.makeUnsafe(1);
|
|
66
66
|
let discovered = [];
|
|
67
67
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -76,7 +76,7 @@ var layer10 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
76
76
|
output: tool.outputSchema ?? {},
|
|
77
77
|
execute: (input, context) => Effect.gen(function* () {
|
|
78
78
|
yield* permission.assert({
|
|
79
|
-
action:
|
|
79
|
+
action: name16(tool.server, tool.name),
|
|
80
80
|
resources: ["*"],
|
|
81
81
|
save: ["*"],
|
|
82
82
|
metadata: { input: input ?? {} },
|
|
@@ -119,7 +119,7 @@ var layer10 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
119
119
|
return new ToolFailure({ message: error.message, error });
|
|
120
120
|
if (error instanceof CorrectedError2)
|
|
121
121
|
return new ToolFailure({ message: error.feedback, error });
|
|
122
|
-
return new ToolFailure({ message: `Unable to execute ${
|
|
122
|
+
return new ToolFailure({ message: `Unable to execute ${name16(tool.server, tool.name)}`, error });
|
|
123
123
|
}))
|
|
124
124
|
});
|
|
125
125
|
}
|
|
@@ -133,7 +133,7 @@ var layer10 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
133
133
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
134
134
|
const updates = yield* PubSub.subscribe(changes);
|
|
135
135
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
136
|
-
return
|
|
136
|
+
return Service40.of({
|
|
137
137
|
flush: Effect.gen(function* () {
|
|
138
138
|
yield* Fiber.await(initial);
|
|
139
139
|
yield* mcp.awaitStartup();
|
|
@@ -161,10 +161,10 @@ ${bytes.toString("utf8")}` };
|
|
|
161
161
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
162
162
|
};
|
|
163
163
|
});
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
166
|
-
layer:
|
|
167
|
-
deps: [
|
|
164
|
+
var node44 = makeLocationNode({
|
|
165
|
+
service: Service40,
|
|
166
|
+
layer: layer17,
|
|
167
|
+
deps: [node71, node45, node95, node76, node57]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { namespace2,
|
|
170
|
+
export { namespace2, name16, Service40, layer17, node44, exports_mcp3 };
|