@opencode/core 0.0.0-dev-837 → 0.0.0-dev-845
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 +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{provider-pj4m8ez3.js → shell-0376wd2r.js} +15 -15
- package/dist/chunks/{provider-pvfmsmz6.js → shell-09m30c13.js} +8 -8
- package/dist/chunks/{provider-tfgyewss.js → shell-0c9a6smd.js} +19 -19
- package/dist/chunks/{provider-raqts41v.js → shell-0f6bvsk3.js} +17 -17
- package/dist/chunks/{provider-ar8s0px5.js → shell-0gj47m7y.js} +18 -18
- package/dist/chunks/{provider-0j7gp832.js → shell-0j7gp832.js} +1 -1
- package/dist/chunks/{provider-cxvvgw7h.js → shell-0jqak6z7.js} +11 -11
- package/dist/chunks/{provider-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
- package/dist/chunks/{provider-8weg03j8.js → shell-0pas9fex.js} +62 -62
- package/dist/chunks/{provider-nd6r9pm5.js → shell-0ptksmaw.js} +25 -25
- package/dist/chunks/{provider-s3znm085.js → shell-0xc524zk.js} +4 -4
- package/dist/chunks/{provider-k8qt767r.js → shell-0xwpf9nm.js} +358 -358
- package/dist/chunks/{provider-1g2eqt27.js → shell-11dfeftq.js} +16 -16
- package/dist/chunks/{provider-nc1f6tx3.js → shell-1435t53a.js} +3 -3
- package/dist/chunks/{provider-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
- package/dist/chunks/{provider-f5zwq504.js → shell-1d0wczam.js} +15 -15
- package/dist/chunks/{provider-8ey4fq31.js → shell-1drh042d.js} +12 -12
- package/dist/chunks/{provider-zp4btwq2.js → shell-1fxksq7e.js} +19 -19
- package/dist/chunks/{provider-avc150kq.js → shell-1rjq489n.js} +186 -186
- package/dist/chunks/{provider-hk6dbzj3.js → shell-1trk357q.js} +14 -14
- package/dist/chunks/{provider-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{provider-3jwftmt9.js → shell-1xzjzq12.js} +30 -30
- package/dist/chunks/{provider-bdhd9h6e.js → shell-1yq9hg58.js} +5 -5
- package/dist/chunks/{provider-y3a5ah7e.js → shell-1zxrx0km.js} +9 -9
- package/dist/chunks/{provider-fwc5tj9a.js → shell-208nbn7x.js} +4 -4
- package/dist/chunks/{provider-qa4f43ar.js → shell-20yvxjhy.js} +22 -22
- package/dist/chunks/{provider-c5zvymhv.js → shell-229tvxdn.js} +4 -4
- package/dist/chunks/{provider-yk6knq03.js → shell-25ybqthv.js} +31 -31
- package/dist/chunks/{provider-27w5k9zf.js → shell-27w5k9zf.js} +2 -2
- package/dist/chunks/{provider-20cae54x.js → shell-2b2r7h3k.js} +9 -9
- package/dist/chunks/{provider-2fc7eemy.js → shell-2fc7eemy.js} +1 -1
- package/dist/chunks/{provider-zqrhw4b0.js → shell-2fc8b0kx.js} +14 -14
- package/dist/chunks/{provider-xsact9zs.js → shell-2m2g9ynh.js} +4 -4
- package/dist/chunks/{provider-bjmhd1j6.js → shell-2mrzfd6s.js} +18 -18
- package/dist/chunks/{provider-2p60zmnr.js → shell-2p60zmnr.js} +2 -2
- package/dist/chunks/{provider-mcpngv3a.js → shell-2z7pcg50.js} +20 -20
- package/dist/chunks/{provider-s5dnhj6c.js → shell-3288jgew.js} +4 -4
- package/dist/chunks/{provider-papp8tx0.js → shell-32j8phd5.js} +32 -32
- package/dist/chunks/{provider-h9xvjfqn.js → shell-32s5n8c8.js} +11 -11
- package/dist/chunks/{provider-9tjr94ak.js → shell-34r5v1v3.js} +12 -12
- package/dist/chunks/{provider-3ksgb1a5.js → shell-3aadzwqp.js} +3 -3
- package/dist/chunks/{provider-3cbjf1nt.js → shell-3cbjf1nt.js} +2 -2
- package/dist/chunks/{provider-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{provider-bmn3ckmm.js → shell-3npftgr8.js} +14 -14
- package/dist/chunks/{provider-nqjvae97.js → shell-3nw1k2zv.js} +8 -8
- package/dist/chunks/{provider-n17wt6pf.js → shell-3pxaezmg.js} +10 -10
- package/dist/chunks/{provider-a220wttx.js → shell-3qme0kf1.js} +19 -19
- package/dist/chunks/{provider-zzehb7dz.js → shell-3s2njrkt.js} +2 -2
- package/dist/chunks/{provider-e6bmvhcw.js → shell-405hpm5w.js} +3 -3
- package/dist/chunks/{provider-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
- package/dist/chunks/{provider-w2eysc6j.js → shell-40za9wsf.js} +9 -9
- package/dist/chunks/{provider-44pmzq9c.js → shell-44pmzq9c.js} +2 -2
- package/dist/chunks/{provider-3z0226cc.js → shell-4bn5jfhg.js} +43 -43
- package/dist/chunks/{provider-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
- package/dist/chunks/{provider-4f25tdd0.js → shell-4f25tdd0.js} +1 -1
- package/dist/chunks/{provider-jcyrb6p4.js → shell-4m25fs0c.js} +25 -25
- package/dist/chunks/{provider-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
- package/dist/chunks/{provider-0dfrhhjt.js → shell-4rrwvkzx.js} +13 -13
- package/dist/chunks/{provider-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{provider-ep8zhdqr.js → shell-4xjy8j8p.js} +8 -8
- package/dist/chunks/{provider-8v3h3pkr.js → shell-4z1pemzx.js} +8 -8
- package/dist/chunks/{provider-jzc3m4hf.js → shell-537wj3tm.js} +17 -17
- package/dist/chunks/{provider-jv59scnv.js → shell-5f11tvgc.js} +27 -27
- package/dist/chunks/{provider-q4zxy4vp.js → shell-5m6ckvxn.js} +18 -18
- package/dist/chunks/{provider-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-a3r0x8fd.js → shell-5r7kxkrw.js} +33 -33
- package/dist/chunks/{provider-xfhvtyeb.js → shell-5t2bv29q.js} +7 -7
- package/dist/chunks/{provider-p4z1md1z.js → shell-5yptz2jp.js} +21 -21
- package/dist/chunks/{provider-dvhvk4ad.js → shell-643vwpv5.js} +12 -12
- package/dist/chunks/{provider-22c49s4c.js → shell-66skc788.js} +11 -11
- package/dist/chunks/{provider-e17489r1.js → shell-68gmzqw4.js} +14 -14
- package/dist/chunks/{provider-q45wjhqq.js → shell-6bcwq14n.js} +5 -5
- package/dist/chunks/{provider-g77k9n4e.js → shell-6hav4whp.js} +13 -13
- package/dist/chunks/{provider-hbzhfyd5.js → shell-6rwa7jk1.js} +5 -5
- package/dist/chunks/{provider-wjmc31g1.js → shell-6sbfg0tw.js} +28 -28
- package/dist/chunks/{provider-emxm75vg.js → shell-6sg7v011.js} +2 -2
- package/dist/chunks/{provider-c3ktjr24.js → shell-6swabtyq.js} +12 -12
- package/dist/chunks/{provider-q30tz887.js → shell-6wxs95q2.js} +12 -12
- package/dist/chunks/{provider-w48gbg6x.js → shell-6x9fp5f4.js} +8 -8
- package/dist/chunks/{provider-h12ydrhq.js → shell-70yhc4mp.js} +8 -8
- package/dist/chunks/{provider-aqmcpcrx.js → shell-75a2gs08.js} +1 -1
- package/dist/chunks/{provider-wzjwspf4.js → shell-76fw5h1w.js} +12 -12
- package/dist/chunks/{provider-5375chy4.js → shell-79z3x0ey.js} +12 -12
- package/dist/chunks/{provider-ntm7mnew.js → shell-7bbqa9np.js} +36 -36
- package/dist/chunks/{provider-d86y0gp5.js → shell-7bkjbtdh.js} +4 -4
- package/dist/chunks/{provider-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-febkntrd.js → shell-7etmxwrw.js} +15 -15
- package/dist/chunks/{provider-7qrph824.js → shell-7qrph824.js} +2 -2
- package/dist/chunks/{provider-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{provider-7weczvnd.js → shell-7weczvnd.js} +1 -1
- package/dist/chunks/{provider-6y4306jx.js → shell-7yss8msg.js} +11 -11
- package/dist/chunks/{provider-775hqbnd.js → shell-80mg3ag8.js} +3 -3
- package/dist/chunks/{provider-89287pr7.js → shell-89287pr7.js} +1 -1
- package/dist/chunks/{provider-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
- package/dist/chunks/{provider-8cg7mtm3.js → shell-8cg7mtm3.js} +1 -1
- package/dist/chunks/{provider-ee70b8ny.js → shell-8dgmathe.js} +82 -82
- package/dist/chunks/{provider-rmgntj4z.js → shell-8fb3spgr.js} +8 -8
- package/dist/chunks/{provider-rw2sx2cx.js → shell-8s61ky95.js} +18 -18
- package/dist/chunks/{provider-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{provider-8z6m94af.js → shell-8z6m94af.js} +3 -3
- package/dist/chunks/{provider-8zv0xmg5.js → shell-8zv0xmg5.js} +1 -1
- package/dist/chunks/{provider-6pgece4d.js → shell-954rbe2c.js} +7 -7
- package/dist/chunks/{provider-41y7xe9f.js → shell-96ay2w1e.js} +20 -20
- package/dist/chunks/{provider-akv4h8mt.js → shell-99gq5wd5.js} +20 -20
- package/dist/chunks/{provider-za9qszp7.js → shell-9cx1gfxp.js} +8 -8
- package/dist/chunks/{provider-5wekbd1v.js → shell-9e8m0fbc.js} +25 -25
- package/dist/chunks/{provider-qw3nrpnc.js → shell-9jsg05jc.js} +31 -31
- package/dist/chunks/{provider-tyhcav49.js → shell-9mgth90e.js} +6 -6
- package/dist/chunks/{provider-6tyx9344.js → shell-9ncrnkt5.js} +6 -6
- package/dist/chunks/{provider-w79nt68w.js → shell-9q8g9sv8.js} +4 -4
- package/dist/chunks/{provider-26wfx3k0.js → shell-9qqfewpb.js} +4 -4
- package/dist/chunks/{provider-7yhqj3pz.js → shell-9wk4aggv.js} +5 -5
- package/dist/chunks/{provider-vxrgaphg.js → shell-a06r4g0m.js} +17 -17
- package/dist/chunks/{provider-mrpnjyvf.js → shell-a5fx33f2.js} +2 -2
- package/dist/chunks/{provider-bpr5prtc.js → shell-a692z59y.js} +8 -8
- package/dist/chunks/{provider-dstyzk9d.js → shell-a8sr8rzb.js} +11 -11
- package/dist/chunks/{provider-aj7mw0zk.js → shell-aj7mw0zk.js} +2 -2
- package/dist/chunks/{provider-n320gsn2.js → shell-azqdag7d.js} +4 -4
- package/dist/chunks/{provider-fe7bcv7j.js → shell-b1rrmhtb.js} +11 -11
- package/dist/chunks/{provider-b26ddj6h.js → shell-b26ddj6h.js} +4 -4
- package/dist/chunks/{provider-kpfxpd53.js → shell-b6z59cfe.js} +25 -25
- package/dist/chunks/{provider-bfjeeya9.js → shell-bb3pv0r8.js} +7 -7
- package/dist/chunks/{provider-xew3ghpp.js → shell-bc8y4p89.js} +37 -37
- package/dist/chunks/{provider-57fgjq6y.js → shell-bg0mwpa3.js} +11 -11
- package/dist/chunks/{provider-1zqfq3fa.js → shell-bg52gzq1.js} +11 -11
- package/dist/chunks/{provider-3f13jvpd.js → shell-bhafg173.js} +5 -5
- package/dist/chunks/{provider-jkdcm5hg.js → shell-bhfd478d.js} +4 -4
- package/dist/chunks/{provider-jk20df9y.js → shell-bkzdj837.js} +1 -1
- package/dist/chunks/{provider-3e15gt8r.js → shell-bqy6qjs0.js} +4 -4
- package/dist/chunks/{provider-bstexjd6.js → shell-bstexjd6.js} +1 -1
- package/dist/chunks/{provider-hqvhb0wh.js → shell-bvphg68q.js} +11 -11
- package/dist/chunks/{provider-d9f60hbt.js → shell-bwwgg4gq.js} +36 -36
- package/dist/chunks/{provider-s99ca52v.js → shell-bxttbxw3.js} +28 -28
- package/dist/chunks/{provider-a7x6fqg0.js → shell-c74zf002.js} +16 -16
- package/dist/chunks/shell-cdf2aen0.js +26 -0
- package/dist/chunks/{provider-acrwcmc1.js → shell-ch7td5aw.js} +9 -9
- package/dist/chunks/{provider-3tvsca08.js → shell-cn47eddm.js} +21 -21
- package/dist/chunks/{provider-2e882c78.js → shell-cttdm8w6.js} +13 -13
- package/dist/chunks/{provider-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{provider-vr4y6a6y.js → shell-czbtc4y4.js} +14 -14
- package/dist/chunks/{provider-d77dj7jw.js → shell-d77dj7jw.js} +1 -1
- package/dist/chunks/{provider-5dxwgamm.js → shell-d89g0pyp.js} +21 -21
- package/dist/chunks/{provider-h4rbrad1.js → shell-dac3x4jp.js} +41 -41
- package/dist/chunks/{provider-t48jrnqq.js → shell-dbatw319.js} +3 -3
- package/dist/chunks/{provider-bvrh4aw7.js → shell-ddm9bp8z.js} +19 -19
- package/dist/chunks/{provider-ddvv9kd4.js → shell-ddvv9kd4.js} +4 -4
- package/dist/chunks/{provider-z8jj1f5x.js → shell-dsamxs8t.js} +1 -1
- package/dist/chunks/{provider-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{provider-p9j2z5m0.js → shell-dvnqv6yn.js} +4 -4
- package/dist/chunks/{provider-bjnqdgw8.js → shell-dvt27j4v.js} +17 -17
- package/dist/chunks/{provider-12a87htm.js → shell-e174pryb.js} +8 -8
- package/dist/chunks/{provider-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{provider-wmqv7dpd.js → shell-e9cw7gmf.js} +12 -12
- package/dist/chunks/{provider-2hc2yyeh.js → shell-eam2557n.js} +8 -8
- package/dist/chunks/{provider-jtp144j7.js → shell-eewdpb1z.js} +15 -15
- package/dist/chunks/{provider-yfq5gqsm.js → shell-eg24kt41.js} +15 -15
- package/dist/chunks/{provider-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
- package/dist/chunks/{provider-2wkbybj4.js → shell-ewg1d00g.js} +15 -15
- package/dist/chunks/{provider-mn6p47fh.js → shell-f1724s09.js} +25 -25
- package/dist/chunks/{provider-bd2qktn9.js → shell-f391j6tf.js} +42 -42
- package/dist/chunks/{provider-gayrkph5.js → shell-f54379qr.js} +11 -11
- package/dist/chunks/{provider-dpv3w1tf.js → shell-f9r4rks5.js} +3 -3
- package/dist/chunks/{provider-1qqd19va.js → shell-fdzzf5f1.js} +17 -17
- package/dist/chunks/{provider-7ttydj5p.js → shell-fe6hsv98.js} +53 -53
- package/dist/chunks/{provider-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{provider-jybfs8t0.js → shell-ffz0kz1m.js} +16 -16
- package/dist/chunks/{provider-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
- package/dist/chunks/{provider-5wchvhy1.js → shell-fm7r52f5.js} +35 -35
- package/dist/chunks/{provider-281gtv24.js → shell-fmyv9c6r.js} +11 -11
- package/dist/chunks/{provider-39ba6tjm.js → shell-frrvpzgc.js} +10 -10
- package/dist/chunks/{provider-s9193vtn.js → shell-ft76x6ef.js} +5 -5
- package/dist/chunks/{provider-w687dnns.js → shell-fznmdakp.js} +4 -4
- package/dist/chunks/{provider-3x6kjkz7.js → shell-g0n526a7.js} +10 -10
- package/dist/chunks/{provider-anvcme1c.js → shell-g5ajqn12.js} +4 -4
- package/dist/chunks/{provider-xq5vwb0z.js → shell-gba9zttd.js} +47 -47
- package/dist/chunks/{provider-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
- package/dist/chunks/{provider-tj4gth3s.js → shell-gcjxeb8g.js} +11 -11
- package/dist/chunks/{provider-a6s57dw6.js → shell-ggx84v7x.js} +6 -6
- package/dist/chunks/{provider-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
- package/dist/chunks/{provider-gn8tkhbf.js → shell-gn8tkhbf.js} +2 -2
- package/dist/chunks/{provider-t4fv5sea.js → shell-gqzdnzz8.js} +5 -5
- package/dist/chunks/{provider-ffwzx4rg.js → shell-gtdtb6zh.js} +5 -5
- package/dist/chunks/{provider-tg7s7b5t.js → shell-gxs71cxp.js} +4 -4
- package/dist/chunks/{provider-6vsjqf7h.js → shell-gz6jg68s.js} +5 -5
- package/dist/chunks/{provider-frhcf4kc.js → shell-h00ntfdh.js} +28 -28
- package/dist/chunks/{provider-94e33dpz.js → shell-h5chy42v.js} +3 -3
- package/dist/chunks/{provider-5by38bnv.js → shell-h78ntqjs.js} +11 -11
- package/dist/chunks/{provider-xrvcw30h.js → shell-h7yvbbcv.js} +15 -15
- package/dist/chunks/{provider-amswcxqp.js → shell-h8j0ctnd.js} +15 -15
- package/dist/chunks/{provider-055nhv24.js → shell-h9wxasy5.js} +18 -18
- package/dist/chunks/{provider-kdmkkw07.js → shell-hazbs8j2.js} +11 -11
- package/dist/chunks/{provider-davgksqx.js → shell-hgj39bj7.js} +7 -7
- package/dist/chunks/{provider-hgzwgvze.js → shell-hgzwgvze.js} +2 -2
- package/dist/chunks/{provider-mb0f58cr.js → shell-hhzexzy6.js} +9 -9
- package/dist/chunks/{provider-e9qcfehf.js → shell-hpvchwm2.js} +11 -11
- package/dist/chunks/{provider-wxgjsayh.js → shell-hwkyjen6.js} +11 -11
- package/dist/chunks/{provider-ydsespw1.js → shell-hy8c1z76.js} +8 -8
- package/dist/chunks/{provider-060zfg10.js → shell-hyka1c57.js} +10 -10
- package/dist/chunks/{provider-rcem0q0g.js → shell-j2e5thya.js} +27 -19
- package/dist/chunks/{provider-84graywz.js → shell-j57hq37t.js} +30 -30
- package/dist/chunks/{provider-r2w6fbny.js → shell-j8912rfd.js} +23 -23
- package/dist/chunks/{provider-y021prdf.js → shell-jjzjap5a.js} +5 -5
- package/dist/chunks/{provider-0nktr2pf.js → shell-jm4m5v7c.js} +37 -37
- package/dist/chunks/{provider-jm70asfg.js → shell-jm70asfg.js} +1 -1
- package/dist/chunks/{provider-jybm6brp.js → shell-jx7n74qh.js} +8 -8
- package/dist/chunks/{provider-xde3yvnd.js → shell-k60epa5j.js} +16 -16
- package/dist/chunks/{provider-vztv8fmg.js → shell-kcfxxse4.js} +3 -3
- package/dist/chunks/{provider-h9718119.js → shell-kf87nf2v.js} +13 -13
- package/dist/chunks/{provider-v07k4xef.js → shell-kgt7p13e.js} +10 -10
- package/dist/chunks/{provider-hw34zg7m.js → shell-kjb9hnrx.js} +36 -36
- package/dist/chunks/{provider-a4f9pxjq.js → shell-kswrbrbd.js} +50 -50
- package/dist/chunks/{provider-v5wh9j17.js → shell-ktjv9mj5.js} +25 -25
- package/dist/chunks/{provider-exez334r.js → shell-kwx8p0jg.js} +20 -20
- package/dist/chunks/{provider-67ncbya6.js → shell-kz2edm91.js} +5 -5
- package/dist/chunks/{provider-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
- package/dist/chunks/{provider-w9mzh7sh.js → shell-m117rz8z.js} +5 -5
- package/dist/chunks/{provider-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{provider-8jv3fww9.js → shell-m3pvbx4h.js} +17 -17
- package/dist/chunks/{provider-ech7dktv.js → shell-m4gnngc2.js} +19 -19
- package/dist/chunks/{provider-aex38frb.js → shell-m9c2aabq.js} +45 -45
- package/dist/chunks/{provider-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-2zbk023x.js → shell-mdggcxnx.js} +21 -21
- package/dist/chunks/{provider-6qc6a14m.js → shell-mjd3hhf5.js} +18 -18
- package/dist/chunks/{provider-ndzb9cfn.js → shell-mkzwmkqf.js} +8 -8
- package/dist/chunks/{provider-mm06edep.js → shell-mm06edep.js} +1 -1
- package/dist/chunks/{provider-y866n9d0.js → shell-mner3my0.js} +28 -28
- package/dist/chunks/{provider-5fejyh4q.js → shell-mnh4y74e.js} +3 -3
- package/dist/chunks/{provider-1gb37agd.js → shell-mnkg1d8g.js} +9 -9
- package/dist/chunks/{provider-q8d3y914.js → shell-mvh0hmx3.js} +5 -5
- package/dist/chunks/{provider-t2vvt47n.js → shell-n0f0gc3a.js} +12 -12
- package/dist/chunks/{provider-fgzr4ftj.js → shell-n3v17h74.js} +28 -28
- package/dist/chunks/{provider-55tn689j.js → shell-n4e6djfc.js} +21 -21
- package/dist/chunks/{provider-5yz8syp2.js → shell-n8hn2tj1.js} +21 -21
- package/dist/chunks/{provider-7jwh52cf.js → shell-nbyv4xpy.js} +30 -30
- package/dist/chunks/{provider-snmv4ehf.js → shell-nd36bfyw.js} +12 -12
- package/dist/chunks/{provider-6edbc7zm.js → shell-nn2nd58t.js} +7 -7
- package/dist/chunks/{provider-qfz6bxfd.js → shell-nr915jn7.js} +4 -4
- package/dist/chunks/{provider-mxhqvbev.js → shell-nw2n20b5.js} +16 -16
- package/dist/chunks/{provider-nx4vzyjd.js → shell-nx4vzyjd.js} +2 -2
- package/dist/chunks/{provider-9xnzy0w2.js → shell-nxxmtyhx.js} +9 -9
- package/dist/chunks/{provider-kawxf6hf.js → shell-p0vvrprf.js} +31 -31
- package/dist/chunks/{provider-5fpfdr84.js → shell-pg0x1cv7.js} +9 -9
- package/dist/chunks/{provider-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{provider-zahmn4gg.js → shell-pmjkhs0p.js} +35 -35
- package/dist/chunks/{provider-8vxeb42v.js → shell-pt2r0h69.js} +9 -9
- package/dist/chunks/{provider-65w3tg4f.js → shell-pwc55nz9.js} +11 -11
- package/dist/chunks/{provider-msd2a3qm.js → shell-pxrqm68d.js} +8 -8
- package/dist/chunks/{provider-h9a9gczb.js → shell-pzcf4m7b.js} +14 -14
- package/dist/chunks/{provider-ztajg040.js → shell-q3m1k2g5.js} +38 -38
- package/dist/chunks/{provider-pf0my6vg.js → shell-q5c7zkja.js} +26 -26
- package/dist/chunks/{provider-t2r44ag8.js → shell-q9cee3z8.js} +35 -35
- package/dist/chunks/{provider-8rsbywfg.js → shell-qaf687f9.js} +8 -8
- package/dist/chunks/{provider-ye1kw1sq.js → shell-qf23cwjr.js} +8 -8
- package/dist/chunks/{provider-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{provider-jvhfba32.js → shell-qr2s0mn1.js} +36 -36
- package/dist/chunks/{provider-k3cx6fhe.js → shell-qsdghx1p.js} +4 -4
- package/dist/chunks/shell-qt6swdsg.js +265 -0
- package/dist/chunks/{provider-11750fnn.js → shell-qww6qcee.js} +23 -23
- package/dist/chunks/{provider-r17fbvme.js → shell-r17fbvme.js} +1 -1
- package/dist/chunks/{provider-a0vv86xc.js → shell-r2q4cnrv.js} +12 -12
- package/dist/chunks/{provider-7gmz7ard.js → shell-r7z94ssd.js} +76 -76
- package/dist/chunks/{provider-r7zrbnjn.js → shell-r7zrbnjn.js} +1 -1
- package/dist/chunks/{provider-224skr1e.js → shell-ramak3h7.js} +45 -45
- package/dist/chunks/{provider-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{provider-qgq6s669.js → shell-rcddr6md.js} +22 -22
- package/dist/chunks/{provider-6g528b21.js → shell-rev8xd0k.js} +7 -7
- package/dist/chunks/{provider-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
- package/dist/chunks/{provider-2b90j3yy.js → shell-rhk8bcs2.js} +13 -13
- package/dist/chunks/{provider-8my9wzd0.js → shell-rmaqdgct.js} +30 -30
- package/dist/chunks/{provider-aafs1km0.js → shell-rmxymfm5.js} +22 -22
- package/dist/chunks/{provider-2kcp91wn.js → shell-rn9mkc76.js} +7 -7
- package/dist/chunks/{provider-77bbp9e7.js → shell-rqv9g1yx.js} +4 -4
- package/dist/chunks/{provider-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{provider-5b7ssgdt.js → shell-rt98jwbf.js} +41 -41
- package/dist/chunks/{provider-vh6cfxb7.js → shell-rv4457c9.js} +8 -8
- package/dist/chunks/{provider-3wb5w6dc.js → shell-s5y0a33b.js} +7 -7
- package/dist/chunks/{provider-gjn6ywwk.js → shell-s92vvz56.js} +6 -6
- package/dist/chunks/{provider-sbya78hr.js → shell-sbya78hr.js} +1 -1
- package/dist/chunks/{provider-kgrdzhqn.js → shell-sc0vgygz.js} +10 -10
- package/dist/chunks/{provider-npq91p1f.js → shell-sdfbdwmp.js} +12 -12
- package/dist/chunks/{provider-95jq4cnv.js → shell-sm8hvaf4.js} +25 -25
- package/dist/chunks/{provider-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{provider-dqz4v4b1.js → shell-t04xxpqv.js} +9 -9
- package/dist/chunks/{provider-kp2338hr.js → shell-t6f7t09b.js} +9 -9
- package/dist/chunks/{provider-tbpn7jtk.js → shell-tbpn7jtk.js} +1 -1
- package/dist/chunks/{provider-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{provider-tr8x705m.js → shell-tr8x705m.js} +1 -1
- package/dist/chunks/{provider-z9ja0yqt.js → shell-tretta9n.js} +30 -30
- package/dist/chunks/{provider-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{provider-2btgpe7q.js → shell-v197ct80.js} +7 -7
- package/dist/chunks/{provider-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{provider-613jk0tz.js → shell-v37bc009.js} +3 -3
- package/dist/chunks/{provider-vkjzm5m4.js → shell-v7ad2pwj.js} +5 -5
- package/dist/chunks/{provider-p1v01c6b.js → shell-vbwbyck9.js} +6 -6
- package/dist/chunks/{provider-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
- package/dist/chunks/{provider-1rsgmewp.js → shell-vpd34e2k.js} +22 -22
- package/dist/chunks/{provider-ekcqpedr.js → shell-vs629ttb.js} +36 -36
- package/dist/chunks/{provider-j3ztwtt7.js → shell-vseznqsh.js} +5 -5
- package/dist/chunks/{provider-x7de2wha.js → shell-vt4r9rmy.js} +9 -9
- package/dist/chunks/{provider-nf1dfab2.js → shell-vtkasd9r.js} +17 -17
- package/dist/chunks/{provider-vm7rgyks.js → shell-vvw1vw7z.js} +4 -4
- package/dist/chunks/{provider-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-e9evh4xp.js → shell-w632115p.js} +16 -16
- package/dist/chunks/{provider-btgg5m0m.js → shell-w7z3hg28.js} +6 -6
- package/dist/chunks/{provider-yxx04khn.js → shell-w9x34k8x.js} +29 -29
- package/dist/chunks/{provider-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{provider-3rzxw9ew.js → shell-wbj5jy1j.js} +3 -3
- package/dist/chunks/{provider-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{provider-y25fvzqm.js → shell-wdyst71x.js} +20 -20
- package/dist/chunks/{provider-w4w8fpn5.js → shell-wetheyd5.js} +43 -43
- package/dist/chunks/{provider-1hftqzkz.js → shell-wj1xdvk1.js} +14 -14
- package/dist/chunks/{provider-c7cw818c.js → shell-wt99tj4q.js} +5 -5
- package/dist/chunks/{provider-gtz1q9dz.js → shell-wtx32rv5.js} +18 -18
- package/dist/chunks/{provider-nyxvvj5y.js → shell-wvr8xscb.js} +4 -4
- package/dist/chunks/{provider-vv7hdezv.js → shell-wz3tbts5.js} +11 -11
- package/dist/chunks/{provider-qnrbh2tv.js → shell-wzrgv9jt.js} +23 -23
- package/dist/chunks/{provider-8tj7bgvj.js → shell-x47kby8p.js} +4 -4
- package/dist/chunks/{provider-gveczaxv.js → shell-xajpbdhf.js} +6 -6
- package/dist/chunks/{provider-3sqna4ae.js → shell-xb44tg6j.js} +6 -6
- package/dist/chunks/{provider-bfp91pw1.js → shell-xc05pfap.js} +49 -49
- package/dist/chunks/{provider-xxschbft.js → shell-xjr6c8m4.js} +4 -4
- package/dist/chunks/{provider-63xym3gh.js → shell-xmx7xj34.js} +4 -4
- package/dist/chunks/{provider-qsp9g3b2.js → shell-xpkbe0n0.js} +26 -26
- package/dist/chunks/{provider-kets680g.js → shell-xxj247ny.js} +2 -2
- package/dist/chunks/{provider-g3f24906.js → shell-y3tc4mqh.js} +3 -3
- package/dist/chunks/{provider-qg9cgted.js → shell-y6jpg1cr.js} +50 -50
- package/dist/chunks/{provider-3t9x6ed6.js → shell-y9hckaaa.js} +3 -3
- package/dist/chunks/{provider-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{provider-reemgbh9.js → shell-yj3gcj8g.js} +43 -43
- package/dist/chunks/{provider-pd36rt9r.js → shell-yj4dxp6f.js} +10 -10
- package/dist/chunks/{provider-x9mxwnxt.js → shell-yn0csnzd.js} +29 -29
- package/dist/chunks/{provider-yr705xyq.js → shell-yr705xyq.js} +1 -1
- package/dist/chunks/{provider-xksw6ev0.js → shell-yts2a8qm.js} +4 -4
- package/dist/chunks/{provider-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
- package/dist/chunks/{provider-h31v01da.js → shell-yydqqga9.js} +4 -4
- package/dist/chunks/{provider-2124avx5.js → shell-z5ce19gj.js} +86 -86
- package/dist/chunks/{provider-rnzbxsx7.js → shell-zagh74s1.js} +59 -59
- package/dist/chunks/{provider-j9nxzz3g.js → shell-ze75qvmd.js} +3 -3
- package/dist/chunks/{provider-51qhjj7c.js → shell-zhjkbk77.js} +4 -4
- package/dist/chunks/{provider-zpdbqgja.js → shell-zpdbqgja.js} +1 -1
- package/dist/chunks/{provider-578zs108.js → shell-zv7dwkwz.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- 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 +133 -133
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +108 -108
- 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 +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +127 -127
- package/dist/form.js +93 -93
- 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 +104 -104
- 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 +431 -431
- package/dist/instruction-discovery.js +91 -91
- 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 +100 -100
- 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 +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- 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 +189 -189
- package/dist/mcp/oauth.js +89 -89
- 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 +104 -104
- package/dist/model-resolver.js +112 -112
- 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 +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- 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 +5 -5
- 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 +407 -407
- 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 +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 +6 -6
- 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 +110 -110
- 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 +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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- 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 +133 -133
- 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 +138 -138
- 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 +1 -1
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +417 -417
- 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 +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- 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 +105 -105
- 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 +101 -101
- package/dist/reference.js +101 -101
- 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 +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +247 -247
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- 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 +4 -4
- 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 +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- 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 +1 -1
- package/dist/session/subagent-job.js +233 -233
- 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 +245 -245
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -239
- 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 +7 -7
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +106 -106
- 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 +174 -174
- 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 +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +150 -150
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +167 -167
- 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 +161 -161
- package/dist/usage-limits.js +98 -98
- 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 +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 +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- 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/provider-39we477a.js +0 -265
- package/dist/chunks/provider-bmnjhhyt.js +0 -26
- /package/dist/chunks/{provider-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-108x4f4w.js → shell-108x4f4w.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kah00gy.js → shell-1kah00gy.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3af0jn4w.js → shell-3af0jn4w.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{provider-6agm2x70.js → shell-6agm2x70.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{provider-bhmrqjy3.js → shell-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-syrav9an.js → shell-syrav9an.js} +0 -0
- /package/dist/chunks/{provider-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
- /package/dist/chunks/{provider-ty7weeps.js → shell-ty7weeps.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-vtarvj67.js → shell-vtarvj67.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x4th4bpe.js → shell-x4th4bpe.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-z0h12gs8.js → shell-z0h12gs8.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{provider-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-rqv9g1yx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service36,
|
|
7
|
+
node39
|
|
8
|
+
} from "./shell-0pas9fex.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
13
|
invocation2,
|
|
14
14
|
CorrectedError2,
|
|
15
15
|
BlockedError2,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service67,
|
|
17
|
+
node68
|
|
18
|
+
} from "./shell-4bn5jfhg.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizedName2,
|
|
21
21
|
effectiveName2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-z0h12gs8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service42,
|
|
25
|
+
node45
|
|
26
|
+
} from "./shell-f1724s09.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service73,
|
|
29
|
+
node74
|
|
30
|
+
} from "./shell-hwkyjen6.js";
|
|
31
31
|
import {
|
|
32
32
|
MEDIA_MIMES2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-0c9a6smd.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./shell-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: () => Service31,
|
|
43
|
+
layer: () => layer10,
|
|
44
|
+
name: () => name15,
|
|
45
45
|
namespace: () => namespace2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node34
|
|
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 name15 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
58
58
|
}
|
|
59
|
-
var
|
|
60
|
-
const mcp = yield*
|
|
61
|
-
const tools = yield*
|
|
59
|
+
var layer10 = Layer.effect(Service31, Effect.gen(function* () {
|
|
60
|
+
const mcp = yield* Service36;
|
|
61
|
+
const tools = yield* Service42;
|
|
62
62
|
const bus = yield* Service91;
|
|
63
|
-
const permission = yield*
|
|
64
|
-
const toolOutput = yield*
|
|
63
|
+
const permission = yield* Service67;
|
|
64
|
+
const toolOutput = yield* Service73;
|
|
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 layer15 = Layer.effect(Service36, 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: name15(tool.server, tool.name),
|
|
80
80
|
resources: ["*"],
|
|
81
81
|
save: ["*"],
|
|
82
82
|
metadata: { input: input ?? {} },
|
|
@@ -119,7 +119,7 @@ var layer15 = Layer.effect(Service36, 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 ${name15(tool.server, tool.name)}`, error });
|
|
123
123
|
}))
|
|
124
124
|
});
|
|
125
125
|
}
|
|
@@ -133,7 +133,7 @@ var layer15 = Layer.effect(Service36, 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 Service31.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 node34 = makeLocationNode({
|
|
165
|
+
service: Service31,
|
|
166
|
+
layer: layer10,
|
|
167
|
+
deps: [node45, node39, node95, node68, node74]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { namespace2,
|
|
170
|
+
export { namespace2, name15, Service31, layer10, node34, exports_mcp3 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-zhjkbk77.js";
|
|
8
8
|
import {
|
|
9
9
|
Service91,
|
|
10
10
|
node95
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-rqv9g1yx.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service85,
|
|
14
|
+
node87
|
|
15
|
+
} from "./shell-6swabtyq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info26,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-t6f7t09b.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-7qrph824.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./shell-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID17,
|
|
44
|
+
Info: () => Info25,
|
|
45
|
+
NotFoundError: () => NotFoundError13,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service84,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured11,
|
|
51
|
+
node: () => node86,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID17 = ID18;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info25 = Info26;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID17
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service84 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service85;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service91;
|
|
120
120
|
const db = (yield* Service92).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event18.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event18.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID17.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError13({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID17.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID17.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID17.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID17.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service84.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured11(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service84,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node95, node96, FSUtil.node,
|
|
354
|
+
deps: [node95, node96, FSUtil.node, node87, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node86 = configured11();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service84;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node86]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID17, Vcs2, Current2, Info25, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service84, configured11, node86, sweepNode2, exports_project };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node85
|
|
7
|
+
} from "./shell-0f6bvsk3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service49,
|
|
10
|
+
node51
|
|
11
|
+
} from "./shell-czbtc4y4.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-ghrv1g9c.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search2 = {};
|
|
22
22
|
__export(exports_search2, {
|
|
23
23
|
FileSystemSearch: () => exports_search2,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service48,
|
|
25
|
+
configured: () => configured3,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node50
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service48 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service48, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service83;
|
|
57
|
+
const ripgrep = yield* Service49;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service48.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service48, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service83;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service59, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service48.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service59, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service83;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured3(options) {
|
|
211
|
+
return makeLocationNode({ service: Service48, layer: layer(options), deps: [node85, node51] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node50 = configured3();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service48, makeFffLayer2, fffLayer2, configured3, node50, exports_search2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-zhjkbk77.js";
|
|
5
5
|
import {
|
|
6
6
|
Service91,
|
|
7
7
|
node95
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-rqv9g1yx.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_credential, {
|
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event20,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID21,
|
|
26
|
+
Info: () => Info31,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service89,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node93
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID21 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
45
|
var Event20 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID21,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service89 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service92).db;
|
|
59
59
|
const bus = yield* Service91;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info31({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
83
83
|
yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
|
|
84
84
|
});
|
|
85
85
|
const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
|
|
86
|
-
return
|
|
86
|
+
return Service89.of({
|
|
87
87
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
88
88
|
const current = pending.get(id);
|
|
89
89
|
if (current)
|
|
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
99
99
|
return row ? stored(row) : undefined;
|
|
100
100
|
}),
|
|
101
101
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
102
|
-
const credential = new
|
|
103
|
-
id: input.id ??
|
|
102
|
+
const credential = new Info31({
|
|
103
|
+
id: input.id ?? ID21.create(),
|
|
104
104
|
integrationID: input.integrationID,
|
|
105
105
|
label: input.label ?? "default",
|
|
106
106
|
value: input.value
|
|
@@ -207,6 +207,6 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
207
207
|
})
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
var
|
|
210
|
+
var node93 = makeGlobalNode({ service: Service89, layer, deps: [node96, node95, EffectFlock.node] });
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { ID21, OAuth3, Key4, External2, Value2, Event20, Info31, Service89, node93, exports_credential };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider4 = {};
|
|
10
10
|
__export(exports_provider4, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider4,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Model: () => Model3,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info18 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info20 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model3))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model3,
|
|
94
|
+
export { ModelStatus2, Model3, Info18, exports_provider4 };
|