@opencode-ai/core 0.0.0-dev-18332 → 0.0.0-dev-18338
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +2 -2
- package/dist/agent.js +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{repository-02dbfq60.js → command-02dbfq60.js} +1 -1
- package/dist/chunks/{repository-6dd2a0dp.js → command-07086x0p.js} +15 -15
- package/dist/chunks/{repository-a6w4g4cj.js → command-0fxyfvd8.js} +3 -3
- package/dist/chunks/{repository-0kvmztkf.js → command-0kvmztkf.js} +1 -1
- package/dist/chunks/{repository-rnz05jn0.js → command-0x9pc4qd.js} +3 -3
- package/dist/chunks/{repository-9g83n8eb.js → command-0xw6stsz.js} +9 -9
- package/dist/chunks/{repository-9f2qmfnk.js → command-0y0kz806.js} +7 -7
- package/dist/chunks/{repository-1q9jm0c5.js → command-13kqh5ym.js} +8 -8
- package/dist/chunks/{repository-18pv8fg3.js → command-18pv8fg3.js} +2 -2
- package/dist/chunks/{repository-vdj6c7nz.js → command-18v6q0xy.js} +23 -23
- package/dist/chunks/{repository-m5kqahw3.js → command-1cyx1kjz.js} +6 -6
- package/dist/chunks/{repository-68qqdpkg.js → command-1d8re98f.js} +4 -4
- package/dist/chunks/{repository-t470qcr0.js → command-1fpz5k78.js} +2 -2
- package/dist/chunks/{repository-xjx97m2v.js → command-20azrh1e.js} +12 -12
- package/dist/chunks/{repository-etpvgr36.js → command-2326bf9a.js} +3 -3
- package/dist/chunks/{repository-6a00t4qm.js → command-2kc32s9z.js} +7 -7
- package/dist/chunks/{repository-2m0hgr65.js → command-2m0hgr65.js} +1 -1
- package/dist/chunks/{repository-076r8hnq.js → command-2nbd4tew.js} +13 -13
- package/dist/chunks/{repository-2nmyybe0.js → command-2nmyybe0.js} +1 -1
- package/dist/chunks/{repository-170h8jjm.js → command-2pa0q0m7.js} +10 -10
- package/dist/chunks/{repository-3xnzsp73.js → command-2w0edm4d.js} +7 -7
- package/dist/chunks/{repository-2wds5nk3.js → command-2wds5nk3.js} +1 -1
- package/dist/chunks/{repository-t2csvvvq.js → command-34hf638t.js} +14 -14
- package/dist/chunks/{repository-3g8vftxb.js → command-3g8vftxb.js} +2 -2
- package/dist/chunks/{repository-3qv8nf0b.js → command-3qv8nf0b.js} +1 -1
- package/dist/chunks/{repository-w9m8fgr8.js → command-3smpbccg.js} +3 -3
- package/dist/chunks/{repository-3thh6229.js → command-3thh6229.js} +2 -2
- package/dist/chunks/{repository-nmvk8hbh.js → command-3vanabr6.js} +8 -8
- package/dist/chunks/{repository-345yesx5.js → command-3xe1nwck.js} +3 -3
- package/dist/chunks/{repository-k0frj1f4.js → command-3z201p5v.js} +16 -16
- package/dist/chunks/{repository-tcrd7gn4.js → command-45f68xg0.js} +10 -10
- package/dist/chunks/{repository-17tgwgx0.js → command-4gzs46ms.js} +3 -3
- package/dist/chunks/{repository-71311zxd.js → command-4pmhaw5y.js} +11 -11
- package/dist/chunks/{repository-ghp3192f.js → command-4pr43xfg.js} +16 -16
- package/dist/chunks/{repository-4s2xwh5d.js → command-4s2xwh5d.js} +3 -3
- package/dist/chunks/{repository-4zzdwbaz.js → command-4zzdwbaz.js} +2 -2
- package/dist/chunks/{repository-50jxp3hw.js → command-50jxp3hw.js} +1 -1
- package/dist/chunks/{repository-00vrvwj2.js → command-5530a4sj.js} +9 -9
- package/dist/chunks/{repository-57tzwnz4.js → command-57tzwnz4.js} +1 -1
- package/dist/chunks/{repository-58xdvehb.js → command-58xdvehb.js} +1 -1
- package/dist/chunks/{repository-5cdnkd94.js → command-5cdnkd94.js} +3 -3
- package/dist/chunks/{repository-jv7qqyzy.js → command-5cn2as5p.js} +28 -28
- package/dist/chunks/{repository-nxhmdyxq.js → command-5ej4w4re.js} +7 -7
- package/dist/chunks/{repository-5fe026tx.js → command-5fe026tx.js} +3 -3
- package/dist/chunks/{repository-pabq4g2g.js → command-5n4z7hw9.js} +29 -29
- package/dist/chunks/{repository-5rs65q6p.js → command-5rs65q6p.js} +1 -1
- package/dist/chunks/{repository-5vcssjzn.js → command-5vcssjzn.js} +1 -1
- package/dist/chunks/{repository-aeyesfjw.js → command-5vt8h2zx.js} +11 -11
- package/dist/chunks/{repository-5z4zwtb4.js → command-5z4zwtb4.js} +2 -2
- package/dist/chunks/{repository-6272rtjg.js → command-6272rtjg.js} +1 -1
- package/dist/chunks/{repository-zy7m13ag.js → command-635kctt6.js} +6 -6
- package/dist/chunks/{repository-rsgcahmv.js → command-68sn9976.js} +7 -7
- package/dist/chunks/{repository-w68g34jk.js → command-6azbvp0j.js} +8 -8
- package/dist/chunks/{repository-2rbgjk9n.js → command-6d08482p.js} +5 -5
- package/dist/chunks/{repository-seh353nb.js → command-6h3szv9d.js} +13 -13
- package/dist/chunks/{repository-zvrwrdrm.js → command-6jzrxqp8.js} +3 -3
- package/dist/chunks/{repository-6ky7rqk7.js → command-6ky7rqk7.js} +1 -1
- package/dist/chunks/{repository-6wkzvma0.js → command-6wkzvma0.js} +2 -2
- package/dist/chunks/{repository-mwq7yj7g.js → command-71b0nhr9.js} +2 -2
- package/dist/chunks/{repository-75h1hfe2.js → command-75h1hfe2.js} +2 -2
- package/dist/chunks/{repository-psk674yw.js → command-762h6w2y.js} +4 -4
- package/dist/chunks/{repository-tfr8sv0k.js → command-7b0tjb0r.js} +8 -8
- package/dist/chunks/{repository-7gqqz1s8.js → command-7gqqz1s8.js} +1 -1
- package/dist/chunks/{repository-7khw64yh.js → command-7khw64yh.js} +1 -1
- package/dist/chunks/{repository-7mrpdsq5.js → command-7mrpdsq5.js} +1 -1
- package/dist/chunks/{repository-58ezrk5g.js → command-7s3hdjsx.js} +8 -8
- package/dist/chunks/{repository-wwnnv2f9.js → command-7sd2gfph.js} +13 -13
- package/dist/chunks/{repository-7thnevmq.js → command-7thnevmq.js} +2 -2
- package/dist/chunks/{repository-z71y81jy.js → command-7v7j7gdn.js} +4 -4
- package/dist/chunks/{repository-7wcmqxrc.js → command-7wcmqxrc.js} +1 -1
- package/dist/chunks/{repository-7pc2v325.js → command-852qbg4y.js} +3 -3
- package/dist/chunks/{repository-d688w8jr.js → command-876e45a6.js} +11 -11
- package/dist/chunks/{repository-88jbfw8z.js → command-88jbfw8z.js} +2 -2
- package/dist/chunks/{repository-8zjz3n40.js → command-8by23dpn.js} +5 -5
- package/dist/chunks/{repository-c2xqe7tb.js → command-8h79yynz.js} +7 -7
- package/dist/chunks/{repository-8pngjawd.js → command-8pngjawd.js} +2 -2
- package/dist/chunks/{repository-wnbq96m8.js → command-8vnat5be.js} +3 -3
- package/dist/chunks/{repository-ghp47den.js → command-8x6f1wbp.js} +5 -5
- package/dist/chunks/{repository-z24e4npm.js → command-8zxaej49.js} +3 -3
- package/dist/chunks/{repository-999qd968.js → command-999qd968.js} +1 -1
- package/dist/chunks/{repository-9f0rnpkn.js → command-9f0rnpkn.js} +1 -1
- package/dist/chunks/{repository-hfybqnzy.js → command-9k2vxwft.js} +3 -3
- package/dist/chunks/{repository-41tr85mm.js → command-9prfjntx.js} +15 -15
- package/dist/chunks/{repository-t41bjjc8.js → command-9sk2hxbj.js} +26 -26
- package/dist/chunks/{repository-a09abg6q.js → command-a09abg6q.js} +2 -2
- package/dist/chunks/{repository-dwqhgbcv.js → command-a42fyn66.js} +4 -4
- package/dist/chunks/{repository-wts4bbbj.js → command-agsxfmys.js} +12 -12
- package/dist/chunks/{repository-6fgavvjz.js → command-aqb2brhr.js} +3 -3
- package/dist/chunks/{repository-1y54f3gd.js → command-atdsxjyb.js} +11 -11
- package/dist/chunks/{repository-awg5d31a.js → command-awg5d31a.js} +1 -1
- package/dist/chunks/{repository-cdabage0.js → command-awg90ga5.js} +91 -91
- package/dist/chunks/{repository-f4wz5w8t.js → command-b1cpagj2.js} +3 -3
- package/dist/chunks/{repository-nz8yfaef.js → command-b2znypa8.js} +6 -6
- package/dist/chunks/{repository-ykr3can0.js → command-b52613qw.js} +3 -3
- package/dist/chunks/{repository-bh1wr8rq.js → command-bh1wr8rq.js} +2 -2
- package/dist/chunks/{repository-bmknfyv0.js → command-bmknfyv0.js} +2 -2
- package/dist/chunks/{repository-26e1s4fc.js → command-bsxnqn9w.js} +3 -3
- package/dist/chunks/{repository-byab506k.js → command-byab506k.js} +1 -1
- package/dist/chunks/{repository-c4wcb9vc.js → command-c4wcb9vc.js} +2 -2
- package/dist/chunks/{repository-qn4f7hc3.js → command-cc3ec8j0.js} +4 -4
- package/dist/chunks/{repository-da8pd544.js → command-cds8qqzh.js} +4 -4
- package/dist/chunks/{repository-csrx180a.js → command-csrx180a.js} +3 -3
- package/dist/chunks/{repository-d2gk9vpf.js → command-d2gk9vpf.js} +2 -2
- package/dist/chunks/{repository-d4ax61k3.js → command-d4ax61k3.js} +2 -2
- package/dist/chunks/{repository-7b48rxmy.js → command-dchkjjs1.js} +8 -8
- package/dist/chunks/{repository-dhphtf1x.js → command-dhphtf1x.js} +1 -1
- package/dist/chunks/{repository-r4jpthk2.js → command-dtt78e9g.js} +5 -5
- package/dist/chunks/{repository-e1z9a0ts.js → command-e1z9a0ts.js} +2 -2
- package/dist/chunks/{repository-gt9frmwq.js → command-e24kf4q9.js} +5 -5
- package/dist/chunks/{repository-ec8vrfw5.js → command-ec8vrfw5.js} +1 -1
- package/dist/chunks/{repository-f1vkqdgb.js → command-eg9w23bg.js} +1 -1
- package/dist/chunks/{repository-enpg66yn.js → command-enpg66yn.js} +1 -1
- package/dist/chunks/{repository-ezhxybkj.js → command-ep16agv5.js} +4 -4
- package/dist/chunks/{repository-kndvs6c0.js → command-esf92hfb.js} +3 -3
- package/dist/chunks/{repository-15qr5px5.js → command-eskxxab2.js} +4 -4
- package/dist/chunks/{repository-ztjk4rav.js → command-f11jbhcb.js} +6 -6
- package/dist/chunks/{repository-ega5tbj6.js → command-f45448df.js} +8 -8
- package/dist/chunks/{repository-wh1qgym5.js → command-f4hn113j.js} +3 -3
- package/dist/chunks/{repository-7ccgh94t.js → command-f7q7a28y.js} +6 -6
- package/dist/chunks/{repository-f9wt0tjw.js → command-f9wt0tjw.js} +2 -2
- package/dist/chunks/{repository-fb7nfzf2.js → command-fb7nfzf2.js} +3 -3
- package/dist/chunks/{repository-2vm8q0r6.js → command-fdafgy0p.js} +4 -4
- package/dist/chunks/{repository-fgyjabww.js → command-fgyjabww.js} +2 -2
- package/dist/chunks/{repository-kpbwa3k5.js → command-fr2dm94j.js} +4 -4
- package/dist/chunks/{repository-rhkd2d6z.js → command-fthn4xft.js} +2 -2
- package/dist/chunks/{repository-a31n10t3.js → command-fyy436k1.js} +8 -8
- package/dist/chunks/{repository-aqy4y243.js → command-g2p7nacw.js} +151 -151
- package/dist/chunks/{repository-ebp16t0h.js → command-g6p65dha.js} +4 -4
- package/dist/chunks/{repository-gcay93cp.js → command-gcay93cp.js} +1 -1
- package/dist/chunks/{repository-gd2xppx8.js → command-gd2xppx8.js} +1 -1
- package/dist/chunks/{repository-njraexa2.js → command-gpeygqd6.js} +19 -19
- package/dist/chunks/{repository-gpybhmhb.js → command-gpybhmhb.js} +3 -3
- package/dist/chunks/{repository-nja1fn3g.js → command-gwcdyecz.js} +3 -3
- package/dist/chunks/{repository-h12kt9pa.js → command-h12kt9pa.js} +2 -2
- package/dist/chunks/{repository-0vq6d7pc.js → command-h2afcd1x.js} +9 -9
- package/dist/chunks/{repository-mkaeg0rc.js → command-h3kcef9b.js} +8 -8
- package/dist/chunks/{repository-xgb68578.js → command-h4nnfjrk.js} +59 -59
- package/dist/chunks/{repository-h94zdhz8.js → command-h94zdhz8.js} +2 -2
- package/dist/chunks/{repository-hp6rpdnc.js → command-hp6rpdnc.js} +1 -1
- package/dist/chunks/{repository-hqh8yks9.js → command-hqh8yks9.js} +3 -3
- package/dist/chunks/{repository-55h21shb.js → command-j2rwtkhe.js} +6 -6
- package/dist/chunks/{repository-05fp7m24.js → command-j9qxmp1z.js} +6 -6
- package/dist/chunks/{repository-shghj89k.js → command-jcpbs0he.js} +2 -2
- package/dist/chunks/{repository-vwc0mjkf.js → command-jd3gn2jc.js} +8 -8
- package/dist/chunks/{repository-neyyg2f1.js → command-jthqd831.js} +6 -6
- package/dist/chunks/{repository-n0sr5jck.js → command-jxka5pmd.js} +3 -3
- package/dist/chunks/{repository-k42t1tha.js → command-k42t1tha.js} +2 -2
- package/dist/chunks/{repository-whfsh5fv.js → command-kaxbcgz2.js} +4 -4
- package/dist/chunks/{repository-kg1345f7.js → command-kg1345f7.js} +1 -1
- package/dist/chunks/{repository-a15yv4x5.js → command-kj7y1q6w.js} +7 -7
- package/dist/chunks/{repository-kp1t5rcy.js → command-kp1t5rcy.js} +1 -1
- package/dist/chunks/{repository-krsqcmnj.js → command-krsqcmnj.js} +1 -1
- package/dist/chunks/{repository-3k9axw29.js → command-m33naph7.js} +6 -6
- package/dist/chunks/{repository-m55whf0h.js → command-m55whf0h.js} +2 -2
- package/dist/chunks/{repository-qbwjpsd1.js → command-m5ptvz2y.js} +17 -17
- package/dist/chunks/{repository-bkkt73j6.js → command-m6yhz9m5.js} +8 -8
- package/dist/chunks/{repository-t5xbttqw.js → command-m7hzz66e.js} +5 -5
- package/dist/chunks/command-mb0mcgky.js +341 -0
- package/dist/chunks/{repository-mf0hyk7z.js → command-mf0hyk7z.js} +1 -1
- package/dist/chunks/{repository-83krsvy7.js → command-mgrmrfyf.js} +5 -5
- package/dist/chunks/{repository-mh28new4.js → command-mh28new4.js} +2 -2
- package/dist/chunks/{repository-1g1tbwy6.js → command-mkegcr90.js} +3 -3
- package/dist/chunks/{repository-mnb85w6b.js → command-mnb85w6b.js} +2 -2
- package/dist/chunks/{repository-51cyvdh7.js → command-mpyzw49z.js} +4 -4
- package/dist/chunks/{repository-9a8ypnye.js → command-mt1mc0tc.js} +86 -86
- package/dist/chunks/{repository-mxvw03gv.js → command-mxvw03gv.js} +1 -1
- package/dist/chunks/{repository-jgxv49xw.js → command-n00ksz6g.js} +5 -5
- package/dist/chunks/{repository-nesb2rcz.js → command-nesb2rcz.js} +2 -2
- package/dist/chunks/{repository-nr76rjj3.js → command-nr76rjj3.js} +2 -2
- package/dist/chunks/{repository-nzrjycs5.js → command-nzrjycs5.js} +1 -1
- package/dist/chunks/{repository-qxx313yp.js → command-p3cfaqcp.js} +11 -11
- package/dist/chunks/{repository-6q0m15b3.js → command-p8fr6x1v.js} +2 -2
- package/dist/chunks/{repository-cpwvev3e.js → command-pmh5ez6x.js} +64 -64
- package/dist/chunks/{repository-pq4b4pqk.js → command-pq4b4pqk.js} +2 -2
- package/dist/chunks/{repository-cxxehzrs.js → command-pqtjdh5w.js} +14 -14
- package/dist/chunks/{repository-756s1wy4.js → command-pxgcm67z.js} +10 -10
- package/dist/chunks/{repository-319e7pv3.js → command-q2tqyfpq.js} +4 -4
- package/dist/chunks/{repository-q9b4qnv8.js → command-q9b4qnv8.js} +2 -2
- package/dist/chunks/{repository-qe0d689s.js → command-qe0d689s.js} +2 -2
- package/dist/chunks/{repository-ytz48meg.js → command-qevy6d6w.js} +36 -36
- package/dist/chunks/{repository-b8mh6t1j.js → command-qg4njq5q.js} +2 -2
- package/dist/chunks/{repository-jc3cexpb.js → command-qnx7s8px.js} +5 -5
- package/dist/chunks/{repository-3rnsxg9g.js → command-qznv994b.js} +8 -8
- package/dist/chunks/{repository-r13w8t0w.js → command-r13w8t0w.js} +2 -2
- package/dist/chunks/{repository-r3k9abhd.js → command-r3k9abhd.js} +2 -2
- package/dist/chunks/{repository-rahat93a.js → command-rahat93a.js} +1 -1
- package/dist/chunks/{repository-rameyvmv.js → command-rameyvmv.js} +1 -1
- package/dist/chunks/{repository-rbnp2c85.js → command-rbnp2c85.js} +3 -3
- package/dist/chunks/{repository-rfbm65k8.js → command-rfbm65k8.js} +1 -1
- package/dist/chunks/{repository-s33fw6zm.js → command-s33fw6zm.js} +1 -1
- package/dist/chunks/{repository-qz0b8ts0.js → command-sdxjmp8q.js} +5 -5
- package/dist/chunks/{repository-se1aqaya.js → command-se1aqaya.js} +3 -3
- package/dist/chunks/{repository-smpeg8c9.js → command-smpeg8c9.js} +2 -2
- package/dist/chunks/{repository-sw84ckhj.js → command-sw84ckhj.js} +1 -1
- package/dist/chunks/{repository-t14kykx1.js → command-t14kykx1.js} +1 -1
- package/dist/chunks/{repository-tcptxgyq.js → command-tcptxgyq.js} +1 -1
- package/dist/chunks/{repository-psmyjr0t.js → command-tejwhz1j.js} +4 -4
- package/dist/chunks/{repository-p93g9cdt.js → command-tfxbd1jy.js} +9 -9
- package/dist/chunks/{repository-tgbb2ckq.js → command-tgbb2ckq.js} +2 -2
- package/dist/chunks/{repository-thstd87d.js → command-thstd87d.js} +1 -1
- package/dist/chunks/{repository-kjdqw05y.js → command-tzn4tdda.js} +4 -4
- package/dist/chunks/{repository-v2wshkax.js → command-v2wshkax.js} +1 -1
- package/dist/chunks/{repository-5rn0dd71.js → command-v7tem4pa.js} +3 -3
- package/dist/chunks/{repository-v80zsxnb.js → command-v80zsxnb.js} +1 -1
- package/dist/chunks/{repository-v972xay6.js → command-v972xay6.js} +1 -1
- package/dist/chunks/{repository-v9bfv94f.js → command-v9bfv94f.js} +1 -1
- package/dist/chunks/{repository-sgbc5jbj.js → command-va9v8x4k.js} +4 -4
- package/dist/chunks/{repository-vcwr2vpf.js → command-vcwr2vpf.js} +1 -1
- package/dist/chunks/{repository-ahxkvhb9.js → command-vcy7g1ry.js} +4 -4
- package/dist/chunks/{repository-qaw5fms9.js → command-vhx6n6s7.js} +3 -3
- package/dist/chunks/{repository-vqbmgfq1.js → command-vqbmgfq1.js} +3 -3
- package/dist/chunks/{repository-b4zrgnay.js → command-vrkzsqt1.js} +4 -4
- package/dist/chunks/{repository-vycjsnjm.js → command-vycjsnjm.js} +2 -2
- package/dist/chunks/{repository-vz89hfgr.js → command-vz89hfgr.js} +1 -1
- package/dist/chunks/{repository-h7r3gqv9.js → command-w9ch4qnj.js} +5 -5
- package/dist/chunks/{repository-wbkt8qpj.js → command-wbkt8qpj.js} +1 -1
- package/dist/chunks/{repository-j5rzyk9h.js → command-wcwptmnn.js} +3 -3
- package/dist/chunks/{repository-wd268jeg.js → command-wd268jeg.js} +1 -1
- package/dist/chunks/{repository-whk0g8cz.js → command-whk0g8cz.js} +4 -4
- package/dist/chunks/{repository-wmxdh12w.js → command-wmxdh12w.js} +1 -1
- package/dist/chunks/{repository-wps8gh8n.js → command-wps8gh8n.js} +2 -2
- package/dist/chunks/{repository-1407j08c.js → command-wq1hz9k5.js} +4 -4
- package/dist/chunks/{repository-yyces3ct.js → command-wyak2t21.js} +5 -5
- package/dist/chunks/{repository-rrnp9jfd.js → command-x29w0fqx.js} +7 -7
- package/dist/chunks/{repository-0z5957sm.js → command-x4fsxj3w.js} +2 -2
- package/dist/chunks/{repository-x89rah0x.js → command-x89rah0x.js} +1 -1
- package/dist/chunks/{repository-xczfw7dq.js → command-xczfw7dq.js} +1 -1
- package/dist/chunks/{repository-xgv25zxy.js → command-xgv25zxy.js} +1 -1
- package/dist/chunks/{repository-f3ywcpkc.js → command-xpd5ajfw.js} +13 -13
- package/dist/chunks/{repository-axehtavx.js → command-xwash6kg.js} +43 -43
- package/dist/chunks/{repository-xwftk1fd.js → command-xwftk1fd.js} +2 -2
- package/dist/chunks/{repository-bkz3me4y.js → command-xx1crn9e.js} +14 -14
- package/dist/chunks/{repository-xxpvz42q.js → command-xxpvz42q.js} +3 -3
- package/dist/chunks/{repository-y0x38cee.js → command-y0x38cee.js} +1 -1
- package/dist/chunks/{repository-y198y2ra.js → command-y198y2ra.js} +1 -1
- package/dist/chunks/{repository-59n2d071.js → command-y25c5dv9.js} +11 -11
- package/dist/chunks/{repository-ywn690qs.js → command-y2g3vveh.js} +7 -7
- package/dist/chunks/{repository-y67x6rf6.js → command-y67x6rf6.js} +1 -1
- package/dist/chunks/{repository-y980s7ka.js → command-y980s7ka.js} +3 -3
- package/dist/chunks/{repository-mw780xr3.js → command-yb07q8fy.js} +3 -3
- package/dist/chunks/{repository-ybhfpy64.js → command-ybhfpy64.js} +2 -2
- package/dist/chunks/{repository-59b1gbjf.js → command-ybzkfmmh.js} +8 -8
- package/dist/chunks/{repository-yc2vxtaa.js → command-yc2vxtaa.js} +2 -2
- package/dist/chunks/{repository-yf0knd5z.js → command-yf0knd5z.js} +2 -2
- package/dist/chunks/{repository-ygy0xbqa.js → command-ygy0xbqa.js} +3 -3
- package/dist/chunks/{repository-h7qp289f.js → command-yk40qyxj.js} +5 -5
- package/dist/chunks/{repository-1a1w6s9q.js → command-yz756q4w.js} +10 -10
- package/dist/chunks/{repository-0zk7ferw.js → command-z290dmzw.js} +13 -13
- package/dist/chunks/{repository-v0j3x2xe.js → command-z5eaewt6.js} +3 -3
- package/dist/chunks/{repository-dxzgwmyr.js → command-z5pbwkhm.js} +5 -5
- package/dist/chunks/{repository-twb6zc5v.js → command-z8ebwbdj.js} +11 -11
- package/dist/chunks/{repository-zbqqnp0n.js → command-zbqqnp0n.js} +1 -1
- package/dist/chunks/{repository-zdkg1k91.js → command-zdkg1k91.js} +1 -1
- package/dist/chunks/{repository-1qwv15gn.js → command-zkcd3d6b.js} +2 -2
- package/dist/chunks/{repository-tjsr34fn.js → command-zv8cn6h8.js} +3 -3
- package/dist/chunks/{repository-q99f8njx.js → command-zx1kt9ts.js} +11 -11
- package/dist/chunks/{repository-zxcy6vhn.js → command-zxcy6vhn.js} +1 -1
- package/dist/chunks/{repository-zxe9jjhn.js → command-zxe9jjhn.js} +2 -2
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +70 -70
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +135 -135
- package/dist/config/plugin/command.js +118 -118
- package/dist/config/plugin/compaction.js +170 -170
- package/dist/config/plugin/entry-observer.js +114 -114
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +108 -108
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/variable.js +4 -4
- package/dist/config.js +113 -113
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +19 -19
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +327 -327
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +3 -3
- package/dist/filesystem/location-watcher.js +306 -306
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +96 -96
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +85 -85
- package/dist/generate.js +84 -84
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +18 -18
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +98 -98
- package/dist/image.js +98 -98
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +87 -87
- package/dist/location-mutation.js +84 -84
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +327 -327
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +96 -93
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -81
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +70 -70
- package/dist/plugin/agent.js +106 -106
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +170 -170
- package/dist/plugin/internal.js +300 -300
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +106 -106
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/runtime.js +158 -158
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +305 -305
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +171 -171
- package/dist/project/markers.js +74 -74
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +82 -82
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +70 -70
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +77 -77
- package/dist/reference.js +75 -75
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +94 -94
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +142 -142
- package/dist/session/context.js +312 -312
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +158 -158
- package/dist/session/execution.js +125 -125
- package/dist/session/generate-node.js +313 -313
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +77 -77
- package/dist/session/inbox.js +77 -77
- package/dist/session/info.js +92 -92
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +101 -101
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +138 -138
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +90 -90
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +319 -319
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -72
- package/dist/session/runner/step.js +147 -147
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +100 -100
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +140 -140
- package/dist/session/to-session-error.js +116 -116
- package/dist/session/transfer.js +160 -160
- package/dist/session/usage.js +2 -2
- package/dist/session.js +156 -156
- package/dist/shell/parse.js +9 -6
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/scan.js +1084 -365
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +85 -85
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +186 -186
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +183 -183
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +120 -120
- package/dist/types/shell/parse.d.ts +8 -6
- package/dist/types/shell/scan.d.ts +6 -3
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/repository-nv9gjhyw.js +0 -712
- /package/dist/chunks/{repository-0cgt0xh2.js → command-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{repository-0f48qthw.js → command-0f48qthw.js} +0 -0
- /package/dist/chunks/{repository-0zz82cjq.js → command-0zz82cjq.js} +0 -0
- /package/dist/chunks/{repository-1fb7bmpf.js → command-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{repository-1wcz8fvj.js → command-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{repository-29n7vfk2.js → command-29n7vfk2.js} +0 -0
- /package/dist/chunks/{repository-2qdx6zz3.js → command-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{repository-2xb0r1c6.js → command-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{repository-39ktntah.js → command-39ktntah.js} +0 -0
- /package/dist/chunks/{repository-3g3rpp2x.js → command-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{repository-3q6gbwmd.js → command-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{repository-3w3ybtfd.js → command-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{repository-47ty4mvs.js → command-47ty4mvs.js} +0 -0
- /package/dist/chunks/{repository-4b2tz2m9.js → command-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{repository-5a5ch9ts.js → command-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{repository-5va1yh78.js → command-5va1yh78.js} +0 -0
- /package/dist/chunks/{repository-61ek4hj9.js → command-61ek4hj9.js} +0 -0
- /package/dist/chunks/{repository-69qrqpw0.js → command-69qrqpw0.js} +0 -0
- /package/dist/chunks/{repository-6zqxzw0a.js → command-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{repository-7n9qwqk4.js → command-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{repository-8nn8kqcn.js → command-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{repository-8rpfd2h6.js → command-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{repository-8sj3ajy5.js → command-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{repository-8w9tzfz1.js → command-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{repository-906y0b6d.js → command-906y0b6d.js} +0 -0
- /package/dist/chunks/{repository-9dct5xhx.js → command-9dct5xhx.js} +0 -0
- /package/dist/chunks/{repository-9sdtsapf.js → command-9sdtsapf.js} +0 -0
- /package/dist/chunks/{repository-a02svayp.js → command-a02svayp.js} +0 -0
- /package/dist/chunks/{repository-a83yvq99.js → command-a83yvq99.js} +0 -0
- /package/dist/chunks/{repository-ayevdmef.js → command-ayevdmef.js} +0 -0
- /package/dist/chunks/{repository-b02txbh8.js → command-b02txbh8.js} +0 -0
- /package/dist/chunks/{repository-bbqs2y60.js → command-bbqs2y60.js} +0 -0
- /package/dist/chunks/{repository-bjwj8hwv.js → command-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{repository-brsh5f65.js → command-brsh5f65.js} +0 -0
- /package/dist/chunks/{repository-bxdhjb3y.js → command-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{repository-c77ad0vh.js → command-c77ad0vh.js} +0 -0
- /package/dist/chunks/{repository-ck5pgha0.js → command-ck5pgha0.js} +0 -0
- /package/dist/chunks/{repository-cm67rqy2.js → command-cm67rqy2.js} +0 -0
- /package/dist/chunks/{repository-df3v2q6j.js → command-df3v2q6j.js} +0 -0
- /package/dist/chunks/{repository-dhcq6c44.js → command-dhcq6c44.js} +0 -0
- /package/dist/chunks/{repository-dht5baf0.js → command-dht5baf0.js} +0 -0
- /package/dist/chunks/{repository-dkmkay92.js → command-dkmkay92.js} +0 -0
- /package/dist/chunks/{repository-drean1vx.js → command-drean1vx.js} +0 -0
- /package/dist/chunks/{repository-ehj9csmv.js → command-ehj9csmv.js} +0 -0
- /package/dist/chunks/{repository-em6xpscd.js → command-em6xpscd.js} +0 -0
- /package/dist/chunks/{repository-emmqknsm.js → command-emmqknsm.js} +0 -0
- /package/dist/chunks/{repository-ezs3tagn.js → command-ezs3tagn.js} +0 -0
- /package/dist/chunks/{repository-f14r7hfz.js → command-f14r7hfz.js} +0 -0
- /package/dist/chunks/{repository-f4cp4g4a.js → command-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{repository-faypg4r1.js → command-faypg4r1.js} +0 -0
- /package/dist/chunks/{repository-fgbfdq62.js → command-fgbfdq62.js} +0 -0
- /package/dist/chunks/{repository-gd5xeqc2.js → command-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{repository-ghm4673n.js → command-ghm4673n.js} +0 -0
- /package/dist/chunks/{repository-ghwjy7my.js → command-ghwjy7my.js} +0 -0
- /package/dist/chunks/{repository-gqn2zsfg.js → command-gqn2zsfg.js} +0 -0
- /package/dist/chunks/{repository-gy500k2r.js → command-gy500k2r.js} +0 -0
- /package/dist/chunks/{repository-h846wrk2.js → command-h846wrk2.js} +0 -0
- /package/dist/chunks/{repository-hzeg9cfr.js → command-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{repository-j07kk359.js → command-j07kk359.js} +0 -0
- /package/dist/chunks/{repository-jve7t217.js → command-jve7t217.js} +0 -0
- /package/dist/chunks/{repository-k3e42drn.js → command-k3e42drn.js} +0 -0
- /package/dist/chunks/{repository-k8b45nas.js → command-k8b45nas.js} +0 -0
- /package/dist/chunks/{repository-kcacmy5c.js → command-kcacmy5c.js} +0 -0
- /package/dist/chunks/{repository-kpdbz7gn.js → command-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{repository-kxy11nzk.js → command-kxy11nzk.js} +0 -0
- /package/dist/chunks/{repository-kyyqvx4s.js → command-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{repository-m8cbvarh.js → command-m8cbvarh.js} +0 -0
- /package/dist/chunks/{repository-ma60vzgv.js → command-ma60vzgv.js} +0 -0
- /package/dist/chunks/{repository-n3m50c2t.js → command-n3m50c2t.js} +0 -0
- /package/dist/chunks/{repository-nkm1m8dz.js → command-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{repository-nsc0c3zb.js → command-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{repository-qaarhjrp.js → command-qaarhjrp.js} +0 -0
- /package/dist/chunks/{repository-qc167nrn.js → command-qc167nrn.js} +0 -0
- /package/dist/chunks/{repository-qp95y4jb.js → command-qp95y4jb.js} +0 -0
- /package/dist/chunks/{repository-r8f4w671.js → command-r8f4w671.js} +0 -0
- /package/dist/chunks/{repository-rdfev9jy.js → command-rdfev9jy.js} +0 -0
- /package/dist/chunks/{repository-rvfvac9x.js → command-rvfvac9x.js} +0 -0
- /package/dist/chunks/{repository-s7whb9gt.js → command-s7whb9gt.js} +0 -0
- /package/dist/chunks/{repository-se76j685.js → command-se76j685.js} +0 -0
- /package/dist/chunks/{repository-sem2g21k.js → command-sem2g21k.js} +0 -0
- /package/dist/chunks/{repository-sp575ygv.js → command-sp575ygv.js} +0 -0
- /package/dist/chunks/{repository-tmb1f636.js → command-tmb1f636.js} +0 -0
- /package/dist/chunks/{repository-ttxf0gsy.js → command-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{repository-tvmhrvfj.js → command-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{repository-v2adqbbe.js → command-v2adqbbe.js} +0 -0
- /package/dist/chunks/{repository-wj4sxzqa.js → command-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{repository-wwntjmk1.js → command-wwntjmk1.js} +0 -0
- /package/dist/chunks/{repository-wyqjaaa5.js → command-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{repository-x4q807cx.js → command-x4q807cx.js} +0 -0
- /package/dist/chunks/{repository-xt0068v8.js → command-xt0068v8.js} +0 -0
- /package/dist/chunks/{repository-yrqrg4vp.js → command-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{repository-z47nswr2.js → command-z47nswr2.js} +0 -0
- /package/dist/chunks/{repository-zsf8rs93.js → command-zsf8rs93.js} +0 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_select
|
|
3
|
+
} from "./command-csrx180a.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_wildcard
|
|
6
|
+
} from "./command-y67x6rf6.js";
|
|
7
|
+
import {
|
|
8
|
+
__export,
|
|
9
|
+
__require
|
|
10
|
+
} from "./command-rvfvac9x.js";
|
|
11
|
+
|
|
12
|
+
// src/shell/parse.ts
|
|
13
|
+
var exports_parse = {};
|
|
14
|
+
__export(exports_parse, {
|
|
15
|
+
scanPortable: () => scanPortable,
|
|
16
|
+
scan: () => scan,
|
|
17
|
+
ShellParse: () => exports_parse
|
|
18
|
+
});
|
|
19
|
+
import { Effect } from "effect";
|
|
20
|
+
import { fileURLToPath } from "url";
|
|
21
|
+
import os from "os";
|
|
22
|
+
import path from "path";
|
|
23
|
+
import { shellParserWasm } from "#shell-parser-wasm";
|
|
24
|
+
var CWD = new Set(["cd", "chdir", "popd", "pushd", "push-location", "set-location"]);
|
|
25
|
+
var POWERSHELL_PATH_FLAGS = new Set(["-literalpath", "-path"]);
|
|
26
|
+
var ARITY = {
|
|
27
|
+
cat: 1,
|
|
28
|
+
cd: 1,
|
|
29
|
+
chmod: 1,
|
|
30
|
+
chown: 1,
|
|
31
|
+
cp: 1,
|
|
32
|
+
echo: 1,
|
|
33
|
+
env: 1,
|
|
34
|
+
export: 1,
|
|
35
|
+
grep: 1,
|
|
36
|
+
kill: 1,
|
|
37
|
+
killall: 1,
|
|
38
|
+
ln: 1,
|
|
39
|
+
ls: 1,
|
|
40
|
+
mkdir: 1,
|
|
41
|
+
mv: 1,
|
|
42
|
+
ps: 1,
|
|
43
|
+
pwd: 1,
|
|
44
|
+
rm: 1,
|
|
45
|
+
rmdir: 1,
|
|
46
|
+
sleep: 1,
|
|
47
|
+
source: 1,
|
|
48
|
+
tail: 1,
|
|
49
|
+
touch: 1,
|
|
50
|
+
unset: 1,
|
|
51
|
+
which: 1,
|
|
52
|
+
aws: 3,
|
|
53
|
+
az: 3,
|
|
54
|
+
bazel: 2,
|
|
55
|
+
brew: 2,
|
|
56
|
+
bun: 2,
|
|
57
|
+
"bun run": 3,
|
|
58
|
+
"bun x": 3,
|
|
59
|
+
cargo: 2,
|
|
60
|
+
"cargo add": 3,
|
|
61
|
+
"cargo run": 3,
|
|
62
|
+
cdk: 2,
|
|
63
|
+
cf: 2,
|
|
64
|
+
cmake: 2,
|
|
65
|
+
composer: 2,
|
|
66
|
+
consul: 2,
|
|
67
|
+
"consul kv": 3,
|
|
68
|
+
crictl: 2,
|
|
69
|
+
deno: 2,
|
|
70
|
+
"deno task": 3,
|
|
71
|
+
doctl: 3,
|
|
72
|
+
docker: 2,
|
|
73
|
+
"docker builder": 3,
|
|
74
|
+
"docker compose": 3,
|
|
75
|
+
"docker container": 3,
|
|
76
|
+
"docker image": 3,
|
|
77
|
+
"docker network": 3,
|
|
78
|
+
"docker volume": 3,
|
|
79
|
+
eksctl: 2,
|
|
80
|
+
"eksctl create": 3,
|
|
81
|
+
firebase: 2,
|
|
82
|
+
flyctl: 2,
|
|
83
|
+
gcloud: 3,
|
|
84
|
+
gh: 3,
|
|
85
|
+
git: 2,
|
|
86
|
+
"git config": 3,
|
|
87
|
+
"git remote": 3,
|
|
88
|
+
"git stash": 3,
|
|
89
|
+
go: 2,
|
|
90
|
+
gradle: 2,
|
|
91
|
+
helm: 2,
|
|
92
|
+
heroku: 2,
|
|
93
|
+
hugo: 2,
|
|
94
|
+
ip: 2,
|
|
95
|
+
"ip addr": 3,
|
|
96
|
+
"ip link": 3,
|
|
97
|
+
"ip netns": 3,
|
|
98
|
+
"ip route": 3,
|
|
99
|
+
kind: 2,
|
|
100
|
+
"kind create": 3,
|
|
101
|
+
kubectl: 2,
|
|
102
|
+
"kubectl kustomize": 3,
|
|
103
|
+
"kubectl rollout": 3,
|
|
104
|
+
kustomize: 2,
|
|
105
|
+
make: 2,
|
|
106
|
+
mc: 2,
|
|
107
|
+
"mc admin": 3,
|
|
108
|
+
minikube: 2,
|
|
109
|
+
mongosh: 2,
|
|
110
|
+
mysql: 2,
|
|
111
|
+
mvn: 2,
|
|
112
|
+
ng: 2,
|
|
113
|
+
npm: 2,
|
|
114
|
+
"npm exec": 3,
|
|
115
|
+
"npm init": 3,
|
|
116
|
+
"npm run": 3,
|
|
117
|
+
"npm view": 3,
|
|
118
|
+
npx: 2,
|
|
119
|
+
nvm: 2,
|
|
120
|
+
nx: 2,
|
|
121
|
+
openssl: 2,
|
|
122
|
+
"openssl req": 3,
|
|
123
|
+
"openssl x509": 3,
|
|
124
|
+
pip: 2,
|
|
125
|
+
pipenv: 2,
|
|
126
|
+
pnpm: 2,
|
|
127
|
+
"pnpm dlx": 3,
|
|
128
|
+
"pnpm exec": 3,
|
|
129
|
+
"pnpm run": 3,
|
|
130
|
+
poetry: 2,
|
|
131
|
+
podman: 2,
|
|
132
|
+
"podman container": 3,
|
|
133
|
+
"podman image": 3,
|
|
134
|
+
psql: 2,
|
|
135
|
+
pulumi: 2,
|
|
136
|
+
"pulumi stack": 3,
|
|
137
|
+
python: 2,
|
|
138
|
+
pyenv: 2,
|
|
139
|
+
rake: 2,
|
|
140
|
+
rbenv: 2,
|
|
141
|
+
"redis-cli": 2,
|
|
142
|
+
rustup: 2,
|
|
143
|
+
serverless: 2,
|
|
144
|
+
sfdx: 3,
|
|
145
|
+
skaffold: 2,
|
|
146
|
+
sls: 2,
|
|
147
|
+
sst: 2,
|
|
148
|
+
swift: 2,
|
|
149
|
+
systemctl: 2,
|
|
150
|
+
terraform: 2,
|
|
151
|
+
"terraform workspace": 3,
|
|
152
|
+
tmux: 2,
|
|
153
|
+
turbo: 2,
|
|
154
|
+
ufw: 2,
|
|
155
|
+
vault: 2,
|
|
156
|
+
"vault auth": 3,
|
|
157
|
+
"vault kv": 3,
|
|
158
|
+
vercel: 2,
|
|
159
|
+
volta: 2,
|
|
160
|
+
wp: 2,
|
|
161
|
+
yarn: 2,
|
|
162
|
+
"yarn dlx": 3,
|
|
163
|
+
"yarn run": 3
|
|
164
|
+
};
|
|
165
|
+
var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
|
|
166
|
+
var scan = Effect.fnUntraced(function* (command, shell, cwd, options) {
|
|
167
|
+
if (options?.portable)
|
|
168
|
+
return yield* scanPortable(command, shell, cwd);
|
|
169
|
+
return yield* scanLegacy(command, shell, cwd);
|
|
170
|
+
});
|
|
171
|
+
var scanLegacy = Effect.fnUntraced(function* (command, shell, cwd) {
|
|
172
|
+
const parsers = yield* Effect.promise(load);
|
|
173
|
+
const powershell = exports_select.ps(shell);
|
|
174
|
+
const tree = (powershell ? parsers.ps : parsers.bash).parse(command);
|
|
175
|
+
if (!tree)
|
|
176
|
+
return yield* Effect.fail(new Error("Failed to parse shell command"));
|
|
177
|
+
return yield* Effect.acquireUseRelease(Effect.succeed(tree), (tree2) => Effect.sync(() => tree2.rootNode.descendantsOfType("command").reduce((result, node) => {
|
|
178
|
+
if (!node)
|
|
179
|
+
return result;
|
|
180
|
+
const command2 = parts(node);
|
|
181
|
+
const tokens = command2.map((part) => part.text);
|
|
182
|
+
if (tokens.length === 0)
|
|
183
|
+
return result;
|
|
184
|
+
const name = powershell ? tokens[0].toLowerCase() : tokens[0];
|
|
185
|
+
if (CWD.has(name)) {
|
|
186
|
+
result.directories.push(...directoryArgs(command2, powershell, cwd, shell));
|
|
187
|
+
return result;
|
|
188
|
+
}
|
|
189
|
+
result.commands.push({
|
|
190
|
+
resource: (node.parent?.type === "redirected_statement" ? node.parent.text : node.text).trim(),
|
|
191
|
+
save: `${prefix(tokens).join(" ")} *`
|
|
192
|
+
});
|
|
193
|
+
return result;
|
|
194
|
+
}, { commands: [], directories: [] })), (tree2) => Effect.sync(() => tree2.delete()));
|
|
195
|
+
});
|
|
196
|
+
var scanPortable = Effect.fnUntraced(function* (command, shell, cwd) {
|
|
197
|
+
const { ShellScan } = yield* Effect.tryPromise({
|
|
198
|
+
try: () => import("../shell/scan.js"),
|
|
199
|
+
catch: (cause) => new Error(`Portable shell scanner failed to load: ${cause}`, { cause })
|
|
200
|
+
});
|
|
201
|
+
const powershell = exports_select.ps(shell);
|
|
202
|
+
const result = powershell ? ShellScan.scanPowerShell(command) : ShellScan.scan(command);
|
|
203
|
+
if (result.kind === "opaque")
|
|
204
|
+
return yield* Effect.fail(new Error(`Portable shell scanner cannot analyze command: ${result.reason}`));
|
|
205
|
+
const output = { commands: [], directories: [] };
|
|
206
|
+
for (const item of result.commands) {
|
|
207
|
+
if (item.declaration)
|
|
208
|
+
continue;
|
|
209
|
+
const words = item.redirectWordCount === undefined ? item.rawWords : item.rawWords.slice(0, item.redirectWordCount);
|
|
210
|
+
if (powershell && item.statementHead && /^foreach(?:-|$)/i.test(words[0] ?? ""))
|
|
211
|
+
continue;
|
|
212
|
+
const name = powershell ? words[0]?.toLowerCase() : words[0];
|
|
213
|
+
if (CWD.has(name)) {
|
|
214
|
+
output.directories.push(...directoryArgs(words.flatMap((text) => {
|
|
215
|
+
const parameter = powershell ? /^(-(?:literalpath|path)):(.*)$/i.exec(text) : undefined;
|
|
216
|
+
if (parameter)
|
|
217
|
+
return [
|
|
218
|
+
{ type: "command_parameter", text: parameter[1] },
|
|
219
|
+
{ type: "word", text: parameter[2] }
|
|
220
|
+
];
|
|
221
|
+
return [{ type: powershell && text.startsWith("-") ? "command_parameter" : "word", text }];
|
|
222
|
+
}), powershell, cwd, shell));
|
|
223
|
+
continue;
|
|
224
|
+
}
|
|
225
|
+
const selected = prefix(words.slice(0, PREFIX_LENGTH));
|
|
226
|
+
const conventional = `${selected.join(" ")} *`;
|
|
227
|
+
const end = item.wordEnds?.[selected.length - 1];
|
|
228
|
+
const save = !powershell || end === undefined || exports_wildcard.match(item.resource, conventional) ? conventional : (() => {
|
|
229
|
+
const boundary = item.wordEnds?.find((value) => value >= end && (value >= item.resource.length || /\s/.test(item.resource[value]))) ?? end;
|
|
230
|
+
const separator = /^\s+(?:`(?:\r\n|\r|\n)\s*)?/.exec(item.resource.slice(boundary))?.[0];
|
|
231
|
+
return `${item.resource.slice(0, boundary)}${separator ?? " "}*`;
|
|
232
|
+
})();
|
|
233
|
+
output.commands.push({
|
|
234
|
+
resource: item.resource,
|
|
235
|
+
save
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
return output;
|
|
239
|
+
});
|
|
240
|
+
function parts(node) {
|
|
241
|
+
return Array.from({ length: node.childCount }).flatMap((_, index) => {
|
|
242
|
+
const child = node.child(index);
|
|
243
|
+
if (!child)
|
|
244
|
+
return [];
|
|
245
|
+
if (child.type === "command_elements")
|
|
246
|
+
return Array.from({ length: child.childCount }).flatMap((_2, itemIndex) => {
|
|
247
|
+
const item = child.child(itemIndex);
|
|
248
|
+
if (!item || item.type === "command_argument_sep" || item.type === "redirection")
|
|
249
|
+
return [];
|
|
250
|
+
return [{ type: item.type, text: item.text }];
|
|
251
|
+
});
|
|
252
|
+
if (!["command_name", "command_name_expr", "word", "string", "raw_string", "concatenation"].includes(child.type))
|
|
253
|
+
return [];
|
|
254
|
+
return [{ type: child.type, text: child.text }];
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
function directoryArgs(command, powershell, cwd, shell) {
|
|
258
|
+
if (!powershell)
|
|
259
|
+
return command.slice(1).filter((part) => !part.text.startsWith("-")).map((part) => directoryArgument(part.text, powershell, cwd, shell)).filter((part) => part !== undefined);
|
|
260
|
+
const directories = [];
|
|
261
|
+
let path2 = false;
|
|
262
|
+
for (const part of command.slice(1)) {
|
|
263
|
+
if (path2) {
|
|
264
|
+
const value2 = directoryArgument(part.text, powershell, cwd, shell);
|
|
265
|
+
if (value2)
|
|
266
|
+
directories.push(value2);
|
|
267
|
+
path2 = false;
|
|
268
|
+
continue;
|
|
269
|
+
}
|
|
270
|
+
if (part.type === "command_parameter") {
|
|
271
|
+
path2 = POWERSHELL_PATH_FLAGS.has(part.text.toLowerCase());
|
|
272
|
+
continue;
|
|
273
|
+
}
|
|
274
|
+
const value = directoryArgument(part.text, powershell, cwd, shell);
|
|
275
|
+
if (value)
|
|
276
|
+
directories.push(value);
|
|
277
|
+
}
|
|
278
|
+
return directories;
|
|
279
|
+
}
|
|
280
|
+
function directoryArgument(value, powershell, cwd, shell) {
|
|
281
|
+
const quote = value[0];
|
|
282
|
+
const text = (quote === '"' || quote === "'") && value.at(-1) === quote ? value.slice(1, -1) : value;
|
|
283
|
+
if (!powershell)
|
|
284
|
+
return expandKnownDirectory(text);
|
|
285
|
+
return expandKnownDirectory(text.replace(/\$\{env:([^}]+)\}/gi, (_, key) => environment(key) ?? "").replace(/\$env:([A-Za-z_][A-Za-z0-9_]*)/gi, (_, key) => environment(key) ?? "").replace(/\$(HOME|PWD|PSHOME)(?=$|[\\/])/gi, (_, key) => {
|
|
286
|
+
if (key.toUpperCase() === "HOME")
|
|
287
|
+
return os.homedir();
|
|
288
|
+
if (key.toUpperCase() === "PWD")
|
|
289
|
+
return cwd;
|
|
290
|
+
return path.dirname(shell);
|
|
291
|
+
}));
|
|
292
|
+
}
|
|
293
|
+
function expandKnownDirectory(value) {
|
|
294
|
+
if (value.includes("$") || value.includes("`") || value.startsWith("("))
|
|
295
|
+
return;
|
|
296
|
+
if (value === "~")
|
|
297
|
+
return os.homedir();
|
|
298
|
+
if (value.startsWith("~/") || value.startsWith("~\\"))
|
|
299
|
+
return path.join(os.homedir(), value.slice(2));
|
|
300
|
+
return value;
|
|
301
|
+
}
|
|
302
|
+
function environment(key) {
|
|
303
|
+
if (process.platform !== "win32")
|
|
304
|
+
return process.env[key];
|
|
305
|
+
const name = Object.keys(process.env).find((item) => item.toLowerCase() === key.toLowerCase());
|
|
306
|
+
return name ? process.env[name] : undefined;
|
|
307
|
+
}
|
|
308
|
+
function prefix(tokens) {
|
|
309
|
+
for (let length = tokens.length;length > 0; length--) {
|
|
310
|
+
const arity = ARITY[tokens.slice(0, length).join(" ")];
|
|
311
|
+
if (arity !== undefined)
|
|
312
|
+
return tokens.slice(0, arity);
|
|
313
|
+
}
|
|
314
|
+
return tokens.slice(0, 1);
|
|
315
|
+
}
|
|
316
|
+
function resolve(asset) {
|
|
317
|
+
if (asset.startsWith("file://"))
|
|
318
|
+
return fileURLToPath(asset);
|
|
319
|
+
if (path.isAbsolute(asset))
|
|
320
|
+
return asset;
|
|
321
|
+
return fileURLToPath(new URL(asset, import.meta.url));
|
|
322
|
+
}
|
|
323
|
+
var load = (() => {
|
|
324
|
+
let loading;
|
|
325
|
+
return () => loading ??= initialize();
|
|
326
|
+
})();
|
|
327
|
+
async function initialize() {
|
|
328
|
+
const { Parser, Language } = await import("web-tree-sitter");
|
|
329
|
+
await Parser.init({ locateFile: () => resolve(shellParserWasm.runtime) });
|
|
330
|
+
const [bashLanguage, psLanguage] = await Promise.all([
|
|
331
|
+
Language.load(resolve(shellParserWasm.bash)),
|
|
332
|
+
Language.load(resolve(shellParserWasm.powershell))
|
|
333
|
+
]);
|
|
334
|
+
const bash = new Parser;
|
|
335
|
+
bash.setLanguage(bashLanguage);
|
|
336
|
+
const ps = new Parser;
|
|
337
|
+
ps.setLanguage(psLanguage);
|
|
338
|
+
return { bash, ps };
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export { scan, scanPortable, exports_parse };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
iife
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-ehj9csmv.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-852qbg4y.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_app
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-50jxp3hw.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_provider
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-krsqcmnj.js";
|
|
13
13
|
import {
|
|
14
14
|
__require
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-rvfvac9x.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
18
18
|
import os from "os";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTable
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-88jbfw8z.js";
|
|
4
4
|
import {
|
|
5
5
|
absoluteColumn
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-zbqqnp0n.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_kv
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-jxka5pmd.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_bus
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-7v7j7gdn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/wellknown.ts
|
|
12
12
|
var exports_wellknown = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-kp1t5rcy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-2nbd4tew.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_image
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-1fpz5k78.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image2 = {};
|
|
@@ -1,148 +1,148 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_location_watcher
|
|
3
|
-
} from "./repository-9f2qmfnk.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_llm
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./command-5cn2as5p.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_generate_node
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./command-6azbvp0j.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_title
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./command-gpeygqd6.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_instructions as exports_instructions3
|
|
12
|
+
} from "./command-6jzrxqp8.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_instructions as exports_instructions2
|
|
15
|
+
} from "./command-2326bf9a.js";
|
|
16
|
+
import {
|
|
17
|
+
exports_location_watcher
|
|
18
|
+
} from "./command-0y0kz806.js";
|
|
19
|
+
import {
|
|
20
|
+
exports_builtins
|
|
21
|
+
} from "./command-aqb2brhr.js";
|
|
13
22
|
import {
|
|
14
23
|
exports_supervisor
|
|
15
|
-
} from "./
|
|
24
|
+
} from "./command-13kqh5ym.js";
|
|
16
25
|
import {
|
|
17
26
|
exports_read_filesystem
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
exports_instructions as exports_instructions3
|
|
21
|
-
} from "./repository-zvrwrdrm.js";
|
|
27
|
+
} from "./command-n00ksz6g.js";
|
|
22
28
|
import {
|
|
23
29
|
exports_instructions
|
|
24
|
-
} from "./
|
|
30
|
+
} from "./command-8by23dpn.js";
|
|
25
31
|
import {
|
|
26
32
|
exports_compaction
|
|
27
|
-
} from "./
|
|
33
|
+
} from "./command-9prfjntx.js";
|
|
28
34
|
import {
|
|
29
35
|
exports_mcp as exports_mcp2
|
|
30
|
-
} from "./
|
|
31
|
-
import {
|
|
32
|
-
exports_instructions as exports_instructions2
|
|
33
|
-
} from "./repository-etpvgr36.js";
|
|
34
|
-
import {
|
|
35
|
-
exports_builtins
|
|
36
|
-
} from "./repository-6fgavvjz.js";
|
|
37
|
-
import {
|
|
38
|
-
exports_location_mutation
|
|
39
|
-
} from "./repository-ghp47den.js";
|
|
36
|
+
} from "./command-6d08482p.js";
|
|
40
37
|
import {
|
|
41
38
|
exports_tool_output
|
|
42
|
-
} from "./
|
|
39
|
+
} from "./command-f7q7a28y.js";
|
|
43
40
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
41
|
+
exports_plugin
|
|
42
|
+
} from "./command-qevy6d6w.js";
|
|
46
43
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
44
|
+
exports_mcp
|
|
45
|
+
} from "./command-876e45a6.js";
|
|
49
46
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
47
|
+
exports_instruction_entry
|
|
48
|
+
} from "./command-fr2dm94j.js";
|
|
52
49
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
50
|
+
exports_model_transport
|
|
51
|
+
} from "./command-d4ax61k3.js";
|
|
55
52
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
53
|
+
exports_model
|
|
54
|
+
} from "./command-m6yhz9m5.js";
|
|
58
55
|
import {
|
|
59
56
|
exports_worktree
|
|
60
|
-
} from "./
|
|
57
|
+
} from "./command-pqtjdh5w.js";
|
|
61
58
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
64
|
-
import {
|
|
65
|
-
exports_mcp
|
|
66
|
-
} from "./repository-d688w8jr.js";
|
|
59
|
+
exports_websearch
|
|
60
|
+
} from "./command-va9v8x4k.js";
|
|
67
61
|
import {
|
|
68
62
|
exports_generate
|
|
69
|
-
} from "./
|
|
63
|
+
} from "./command-b1cpagj2.js";
|
|
70
64
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
65
|
+
exports_pty
|
|
66
|
+
} from "./command-f45448df.js";
|
|
73
67
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
68
|
+
exports_snapshot
|
|
69
|
+
} from "./command-68sn9976.js";
|
|
76
70
|
import {
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
71
|
+
exports_instruction_discovery
|
|
72
|
+
} from "./command-x29w0fqx.js";
|
|
79
73
|
import {
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
74
|
+
exports_skill
|
|
75
|
+
} from "./command-vrkzsqt1.js";
|
|
82
76
|
import {
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
77
|
+
exports_shell
|
|
78
|
+
} from "./command-7sd2gfph.js";
|
|
85
79
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
80
|
+
exports_select
|
|
81
|
+
} from "./command-csrx180a.js";
|
|
88
82
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
83
|
+
exports_file_mutation
|
|
84
|
+
} from "./command-yb07q8fy.js";
|
|
91
85
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
86
|
+
exports_config
|
|
87
|
+
} from "./command-2nbd4tew.js";
|
|
94
88
|
import {
|
|
95
|
-
|
|
96
|
-
} from "./
|
|
89
|
+
exports_tool
|
|
90
|
+
} from "./command-qznv994b.js";
|
|
97
91
|
import {
|
|
98
|
-
|
|
99
|
-
} from "./
|
|
92
|
+
exports_permission
|
|
93
|
+
} from "./command-34hf638t.js";
|
|
100
94
|
import {
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
95
|
+
exports_agent
|
|
96
|
+
} from "./command-f4hn113j.js";
|
|
103
97
|
import {
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
98
|
+
exports_vcs
|
|
99
|
+
} from "./command-y2g3vveh.js";
|
|
106
100
|
import {
|
|
107
101
|
exports_image
|
|
108
|
-
} from "./
|
|
102
|
+
} from "./command-1fpz5k78.js";
|
|
109
103
|
import {
|
|
110
104
|
exports_filesystem,
|
|
111
105
|
exports_search
|
|
112
|
-
} from "./
|
|
113
|
-
import {
|
|
114
|
-
exports_shell
|
|
115
|
-
} from "./repository-wwnnv2f9.js";
|
|
116
|
-
import {
|
|
117
|
-
exports_select
|
|
118
|
-
} from "./repository-csrx180a.js";
|
|
106
|
+
} from "./command-m7hzz66e.js";
|
|
119
107
|
import {
|
|
120
108
|
exports_environment1 as exports_environment
|
|
121
|
-
} from "./
|
|
109
|
+
} from "./command-5530a4sj.js";
|
|
122
110
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./
|
|
111
|
+
exports_formatter
|
|
112
|
+
} from "./command-z5pbwkhm.js";
|
|
125
113
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./
|
|
114
|
+
exports_model_resolver
|
|
115
|
+
} from "./command-y25c5dv9.js";
|
|
128
116
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./
|
|
117
|
+
exports_aisdk
|
|
118
|
+
} from "./command-yc2vxtaa.js";
|
|
131
119
|
import {
|
|
132
|
-
|
|
133
|
-
} from "./
|
|
120
|
+
exports_catalog
|
|
121
|
+
} from "./command-3vanabr6.js";
|
|
134
122
|
import {
|
|
135
123
|
exports_integration
|
|
136
|
-
} from "./
|
|
124
|
+
} from "./command-sdxjmp8q.js";
|
|
137
125
|
import {
|
|
138
126
|
exports_form
|
|
139
|
-
} from "./
|
|
127
|
+
} from "./command-71b0nhr9.js";
|
|
128
|
+
import {
|
|
129
|
+
exports_command
|
|
130
|
+
} from "./command-esf92hfb.js";
|
|
131
|
+
import {
|
|
132
|
+
exports_location_service_map
|
|
133
|
+
} from "./command-zdkg1k91.js";
|
|
140
134
|
import {
|
|
141
135
|
exports_reference
|
|
142
|
-
} from "./
|
|
136
|
+
} from "./command-7s3hdjsx.js";
|
|
137
|
+
import {
|
|
138
|
+
exports_location_mutation
|
|
139
|
+
} from "./command-8x6f1wbp.js";
|
|
140
|
+
import {
|
|
141
|
+
exports_location
|
|
142
|
+
} from "./command-x4fsxj3w.js";
|
|
143
143
|
import {
|
|
144
144
|
AbsolutePath
|
|
145
|
-
} from "./
|
|
145
|
+
} from "./command-j07kk359.js";
|
|
146
146
|
|
|
147
147
|
// src/location-services.ts
|
|
148
148
|
import { Duration, Effect, Layer, LayerMap } from "effect";
|