@qwen-code/qwen-code 0.22.0 → 0.22.1
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/bundled/computer-use/SKILL.md +229 -0
- package/bundled/computer-use/agents/openai.yaml +4 -0
- package/bundled/coordinate/SKILL.md +5 -5
- package/bundled/qc-helper/docs/configuration/auth.md +7 -7
- package/bundled/qc-helper/docs/configuration/model-providers.md +70 -9
- package/bundled/qc-helper/docs/configuration/settings.md +40 -40
- package/bundled/qc-helper/docs/extension/introduction.md +3 -1
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +12 -0
- package/bundled/qc-helper/docs/features/channels/dws.md +120 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +3 -3
- package/bundled/qc-helper/docs/features/code-review.md +25 -21
- package/bundled/qc-helper/docs/features/commands.md +2 -2
- package/bundled/qc-helper/docs/features/computer-use.md +57 -51
- package/bundled/qc-helper/docs/features/mcp.md +35 -12
- package/bundled/qc-helper/docs/features/sub-agents.md +1 -1
- package/bundled/qc-helper/docs/features/worktree.md +1 -1
- package/bundled/qc-helper/docs/overview.md +1 -1
- package/bundled/qc-helper/docs/quickstart.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +29 -6
- package/bundled/review/SKILL.md +119 -417
- package/bundled/review/references/aone.md +18 -0
- package/bundled/review/references/persistence.md +105 -0
- package/bundled/review/references/posting.md +270 -0
- package/chunks/MaxSizedBox-UUTUE42J.js +112 -0
- package/chunks/{StandaloneSessionPicker-KTHPCSR6.js → StandaloneSessionPicker-XF2TVJFK.js} +87 -86
- package/chunks/{acp-startup-profiler-T4GEAPLX.js → acp-startup-profiler-GNYAL6LI.js} +2 -2
- package/chunks/{acpAgent-CRY3JZ5O.js → acpAgent-GY53MJIW.js} +2216 -1931
- package/chunks/agent-7U6CC5KF.js +97 -0
- package/chunks/agent-headless-32O4L2CT.js +87 -0
- package/chunks/{anthropicContentGenerator-Y2OX6LS4.js → anthropicContentGenerator-U76GTVB6.js} +128 -58
- package/chunks/{artifact-tool-SBXMTVCB.js → artifact-tool-XDJCZZCF.js} +2 -2
- package/chunks/{askUserQuestion-KEQJRFD6.js → askUserQuestion-ZXXERLEV.js} +2 -2
- package/chunks/bridge-DFX2FFH4.js +119 -0
- package/chunks/{ca-D3F4S6NG.js → ca-7HPYOYSZ.js} +3 -0
- package/chunks/{channel-management-service-IRTT7RNE.js → channel-management-service-HXXS3HOZ.js} +4 -4
- package/chunks/channel-settings-store-ELLH2M4M.js +117 -0
- package/chunks/{channel-worker-group-BJNMR2MP.js → channel-worker-group-EVDC2P4K.js} +8 -7
- package/chunks/{channel-worker-manager-EMA7CQDJ.js → channel-worker-manager-IJJZHGEI.js} +8 -7
- package/chunks/{channel-worker-supervisor-F6I6WSWW.js → channel-worker-supervisor-YSKB5GVB.js} +12 -7
- package/chunks/{chunk-2TRNCJK4.js → chunk-27ONXAFY.js} +1 -1
- package/chunks/{chunk-OVH5Y7KS.js → chunk-2CRNTW2B.js} +19 -3
- package/chunks/{read-package-up-UXSW3YPB.js → chunk-2EAZ43JQ.js} +1 -0
- package/chunks/{chunk-DB2OKNTU.js → chunk-2FN2HNTI.js} +2 -2
- package/chunks/{chunk-KM73TBQ4.js → chunk-2LD5U7Q3.js} +31 -0
- package/chunks/{chunk-QJHPWLZC.js → chunk-2MHGD7EE.js} +1 -1
- package/chunks/{chunk-BMCSKS37.js → chunk-2NCVUT3C.js} +6 -6
- package/chunks/{chunk-A5F2YNO6.js → chunk-2NNTE2ED.js} +245 -10
- package/chunks/{chunk-Z3JMO2CH.js → chunk-2SERYG4T.js} +1 -1
- package/chunks/{chunk-4J7OPYNS.js → chunk-2YDYDDE2.js} +6 -6
- package/chunks/{chunk-PXOJLJ5W.js → chunk-2YEZNBSD.js} +333 -184
- package/chunks/{chunk-UU4WC7DK.js → chunk-2ZV3CZKI.js} +82 -12
- package/chunks/{chunk-SE55HQGF.js → chunk-3B5DCAQU.js} +74 -52
- package/chunks/{chunk-UIRLQ3N7.js → chunk-3BV7TZNQ.js} +3 -3
- package/chunks/{chunk-2Z6LSQMF.js → chunk-3FSBMAYD.js} +1 -1
- package/chunks/{chunk-DJEHYM4H.js → chunk-3UZCLCXR.js} +3 -3
- package/chunks/{chunk-WWUSHZ7M.js → chunk-43C2II2G.js} +5 -5
- package/chunks/{chunk-2GXYDNXP.js → chunk-47SIHHPL.js} +8 -8
- package/chunks/{chunk-PHJJ3RVO.js → chunk-4DCP3362.js} +7 -15
- package/chunks/chunk-4K7NQDCG.js +104 -0
- package/chunks/{chunk-UZPYR3EV.js → chunk-4TPAG3O7.js} +1 -1
- package/chunks/{chunk-BEGIBJAZ.js → chunk-5CI4AXDD.js} +4 -4
- package/chunks/{chunk-7KOFLDEP.js → chunk-5JTIYALA.js} +1 -1
- package/chunks/{chunk-7HFULI45.js → chunk-5MK32KJV.js} +3 -3
- package/chunks/{chunk-CXJHQVEK.js → chunk-5PA6UEYA.js} +4 -0
- package/chunks/{chunk-IBJ5S45N.js → chunk-5T4LWWNX.js} +2 -2
- package/chunks/{chunk-VUMLT7E5.js → chunk-5Y2JCJAH.js} +2 -2
- package/chunks/{chunk-YZBDKFRQ.js → chunk-5ZYZPDDF.js} +993 -895
- package/chunks/{chunk-2A4C2MEG.js → chunk-62PXFOK4.js} +35 -12
- package/chunks/{chunk-IIWGSX4L.js → chunk-6E4WHQJV.js} +1 -1
- package/chunks/{chunk-6PCOVQO2.js → chunk-6HTMIKXZ.js} +8 -8
- package/chunks/{chunk-RDG44S5I.js → chunk-6KS24S3X.js} +2 -2
- package/chunks/{chunk-GAHYKJPV.js → chunk-6US7BF3G.js} +7 -59
- package/chunks/{chunk-MHG6NDS6.js → chunk-6YAR6ZU3.js} +2 -2
- package/chunks/{chunk-3CLIDIVQ.js → chunk-73WFGVIZ.js} +3 -3
- package/chunks/{chunk-ZZUVC6RI.js → chunk-76WGY6LW.js} +3 -3
- package/chunks/{chunk-XLDFW44M.js → chunk-77TOMRBG.js} +3 -3
- package/chunks/{chunk-PDL6LKB5.js → chunk-7AS7QX72.js} +1 -1
- package/chunks/{chunk-ND7NOI4P.js → chunk-7CWEZQ6T.js} +0 -15
- package/chunks/{chunk-DWCKACFL.js → chunk-7DPKPBOQ.js} +2 -2
- package/chunks/{chunk-45NQKMYB.js → chunk-7JPW6IYH.js} +1 -1
- package/chunks/{chunk-HDKCKCYO.js → chunk-7QGEJI7M.js} +1 -1
- package/chunks/{chunk-S4C4JJKE.js → chunk-A7X32SCT.js} +5 -5
- package/chunks/{chunk-O5Z7EB6Y.js → chunk-AYHQZBJ4.js} +170 -207
- package/chunks/{chunk-7DYNJFES.js → chunk-AYVIGUUK.js} +6 -1
- package/chunks/{chunk-7DMTAQJ6.js → chunk-BDHLBR46.js} +132 -49
- package/chunks/{chunk-43T5WDQ7.js → chunk-BFSFJR3D.js} +1 -1
- package/chunks/{chunk-AP3B7LKD.js → chunk-BKDAF7ES.js} +2 -2
- package/chunks/{chunk-B6UBOIFE.js → chunk-BQBUZDDH.js} +14 -11
- package/chunks/{chunk-VLRBJ24J.js → chunk-BVE5EMIG.js} +2 -2
- package/chunks/{chunk-P47E4SJC.js → chunk-BX2BZPFJ.js} +3 -3
- package/chunks/{chunk-OARZJFZX.js → chunk-C4WBKZJT.js} +4 -4
- package/chunks/{chunk-QKBYFU2Q.js → chunk-CFKIH3D3.js} +21 -1
- package/chunks/{chunk-URN2JIAQ.js → chunk-CITGRGCM.js} +2 -1
- package/chunks/{chunk-WU5E4HMO.js → chunk-CPPYZHBN.js} +1 -1
- package/chunks/chunk-DCSAVGDJ.js +20 -0
- package/chunks/{chunk-Q54XG7IX.js → chunk-DEYPMJPD.js} +1 -1
- package/chunks/{chunk-KSPRQSB4.js → chunk-DIMEPKCW.js} +52 -12
- package/chunks/{chunk-I432KXWD.js → chunk-DP7LABIB.js} +1 -1
- package/chunks/{chunk-36OF5PRW.js → chunk-E4I5MVBR.js} +7 -3
- package/chunks/{chunk-AW27A43Y.js → chunk-E55H6BZ7.js} +93 -1
- package/chunks/{chunk-K623ENWT.js → chunk-E6FGMDFQ.js} +4 -0
- package/chunks/{chunk-5XUTPXQU.js → chunk-EAV3TENS.js} +6 -9
- package/chunks/{chunk-LI4YHTQK.js → chunk-EB4VDXNI.js} +1 -1
- package/chunks/{chunk-JOLJTKIG.js → chunk-EC5BONC3.js} +1 -1
- package/chunks/{chunk-25NESM4G.js → chunk-EEQYTWGU.js} +29 -5
- package/chunks/{chunk-4CWDWDL6.js → chunk-EKP3M4RF.js} +1 -1
- package/chunks/{chunk-W4CRPSC5.js → chunk-ELY4QVIB.js} +1 -1
- package/chunks/{chunk-BB5IMQCV.js → chunk-EMGAVCBZ.js} +2 -2
- package/chunks/chunk-FBX2SDQ4.js +48 -0
- package/chunks/{chunk-C72BXMJ5.js → chunk-FJWICLG7.js} +1 -1
- package/chunks/{chunk-6FRJEE2S.js → chunk-FK4H3V6S.js} +5 -5
- package/chunks/{chunk-LDGWX737.js → chunk-FN5C6C7G.js} +160 -59
- package/chunks/{chunk-3ZFJUBTP.js → chunk-FPH6TXD3.js} +1 -1
- package/chunks/{chunk-WRT324N6.js → chunk-FVDQ5E67.js} +3 -3
- package/chunks/{chunk-VFACN2CE.js → chunk-GNMJNDZE.js} +1 -1
- package/chunks/{chunk-FVBVJEBG.js → chunk-GNRVKN76.js} +10 -8
- package/chunks/{chunk-PZRUV52H.js → chunk-GTUKW3I6.js} +20 -2
- package/chunks/chunk-GYTKQYDB.js +23 -0
- package/chunks/{chunk-VMJL7RH6.js → chunk-GZJUCMH4.js} +4 -4
- package/chunks/{chunk-MQP3MHWN.js → chunk-HJOWQUE2.js} +21 -15
- package/chunks/{chunk-ZS5BHEPD.js → chunk-I32QCIK7.js} +1 -1
- package/chunks/{chunk-7IV52LTO.js → chunk-I6VVOZDK.js} +2 -2
- package/chunks/{chunk-X7V3N6YH.js → chunk-I6YW3T3W.js} +218 -37
- package/chunks/{chunk-2E3V7G6Y.js → chunk-ICWGPK23.js} +55 -50
- package/chunks/{chunk-SQS55KR4.js → chunk-IJVDHPKD.js} +2 -2
- package/chunks/{chunk-QS4ENGVF.js → chunk-IKN3IUJP.js} +9 -8
- package/chunks/{chunk-2UZJWSVD.js → chunk-ILPXSKGQ.js} +2 -2
- package/chunks/{chunk-ZRYQMWEP.js → chunk-IPQA4SR5.js} +2 -2
- package/chunks/{chunk-XYQHT3AW.js → chunk-IRIX323G.js} +2 -2
- package/chunks/{chunk-5HJUPACR.js → chunk-J7MLXFC5.js} +2 -2
- package/chunks/{chunk-AZF6SME3.js → chunk-JECO75XD.js} +3 -3
- package/chunks/chunk-JLGFGPZJ.js +346 -0
- package/chunks/{chunk-WZDM44SB.js → chunk-JUIJ3FXC.js} +7 -7
- package/chunks/{chunk-A6NRNRKE.js → chunk-JVPFTDBK.js} +1 -1
- package/chunks/{chunk-2J3OJGTL.js → chunk-K2OJUPOE.js} +1 -21
- package/chunks/{chunk-GHY5OIYP.js → chunk-K63NK3KL.js} +13 -13
- package/chunks/{chunk-7JBHIQS2.js → chunk-KCOXDRQL.js} +7 -13
- package/chunks/{chunk-6NFAEG54.js → chunk-KOJ6MHD5.js} +24 -13
- package/chunks/{chunk-WS7PAXXR.js → chunk-KWFP3WV6.js} +18 -13
- package/chunks/{chunk-A5F63FEW.js → chunk-L436XFLJ.js} +1 -1
- package/chunks/{chunk-KIVGVFMM.js → chunk-LI2HEMKO.js} +16 -4
- package/chunks/{chunk-GIWB5QLV.js → chunk-LJP2BBMK.js} +4 -4
- package/chunks/{create-sub-session-XBCVGNFU.js → chunk-LRKMQPMD.js} +4 -6
- package/chunks/{chunk-6UQSU7CQ.js → chunk-MDZO5V2O.js} +58 -107
- package/chunks/{chunk-AO4M6NMD.js → chunk-MW5AHWOZ.js} +60 -20
- package/chunks/{chunk-FYZMB6DB.js → chunk-MYLXL7F6.js} +11 -11
- package/chunks/{chunk-ZLCT4C5A.js → chunk-MZS7GEC7.js} +1 -1
- package/chunks/{chunk-VEND4KA4.js → chunk-NER3H7PI.js} +1 -1
- package/chunks/{chunk-AVCCKIZ6.js → chunk-NVK4HJYQ.js} +1 -1
- package/chunks/{chunk-MPHLIJYL.js → chunk-NY3IJYAV.js} +14 -8
- package/chunks/{chunk-XZJKSETB.js → chunk-O3BUXIPM.js} +3 -3
- package/chunks/{chunk-4XPSVIED.js → chunk-O5YGAEQS.js} +6 -6
- package/chunks/{chunk-NW35NVFN.js → chunk-ODXCSIH5.js} +4 -4
- package/chunks/{chunk-5XHAOUWD.js → chunk-OI2DR6QB.js} +3 -3
- package/chunks/{chunk-BUGYW6FB.js → chunk-OQ6LTSX3.js} +1 -1
- package/chunks/{chunk-J5ZDDUKM.js → chunk-OT26ITEY.js} +4 -4
- package/chunks/{chunk-EFB657PR.js → chunk-OX44MOAN.js} +3 -3
- package/chunks/{chunk-LURJYO2T.js → chunk-OZ6KS6KW.js} +4 -0
- package/chunks/{chunk-4F5WV4RF.js → chunk-PAJGKZAA.js} +281 -10
- package/chunks/{chunk-HIK2OF33.js → chunk-PVBT5QPD.js} +1 -1
- package/chunks/chunk-QHMLYMMS.js +32 -0
- package/chunks/{chunk-U2UYQMM6.js → chunk-R2ZJH3FV.js} +3 -3
- package/chunks/{chunk-K52PZNU4.js → chunk-RRKNX553.js} +2 -2
- package/chunks/chunk-RXFQM6FQ.js +42 -0
- package/chunks/{chunk-SJ4HB27T.js → chunk-SDVF6A42.js} +3 -3
- package/chunks/{chunk-TBVSALA3.js → chunk-SKNVVYIJ.js} +3 -3
- package/chunks/{chunk-JGUBDRBC.js → chunk-SLEWBQWM.js} +3 -3
- package/chunks/{chunk-ZRFUT5VV.js → chunk-SM7ZVKTF.js} +7 -7
- package/chunks/{chunk-UUQFJILB.js → chunk-SQPOJ4ZI.js} +15 -3
- package/chunks/{chunk-RPJQ3O4M.js → chunk-SRGENTPF.js} +31 -41
- package/chunks/{chunk-ISJMN3ML.js → chunk-T2CRBIDJ.js} +1 -1
- package/chunks/{chunk-MZKWFWVG.js → chunk-T2HMXHYA.js} +6 -6
- package/chunks/{chunk-FEMQ6Y7W.js → chunk-T6OODF2U.js} +47 -126
- package/chunks/{chunk-VYC7XFYV.js → chunk-TKO4TLT6.js} +5 -5
- package/chunks/{chunk-KVGR4MCF.js → chunk-TOF4UZHH.js} +3 -3
- package/chunks/{chunk-LD5VIJ7S.js → chunk-TWSKM647.js} +1 -1
- package/chunks/{chunk-7NBVNAJJ.js → chunk-UCSV2IZW.js} +3 -3
- package/chunks/{chunk-FDD2IUEL.js → chunk-UX3IFLJM.js} +229 -21
- package/chunks/{chunk-YDJRMQU4.js → chunk-V3GINY6K.js} +3 -3
- package/chunks/{chunk-XL5K4SVK.js → chunk-VL4YX3FH.js} +1 -1
- package/chunks/{chunk-62JOGZL5.js → chunk-VMDURMFY.js} +199 -87
- package/chunks/{chunk-OE52YHCZ.js → chunk-W2WRNJKX.js} +11 -11
- package/chunks/{chunk-YLFLHKDL.js → chunk-W3N5XAZ6.js} +1 -1
- package/chunks/{chunk-IWOWEENB.js → chunk-WBT3STGU.js} +385 -25
- package/chunks/{chunk-S3G6YFQC.js → chunk-WEGXPP5E.js} +1 -1
- package/chunks/{chunk-RDQ7QB4Y.js → chunk-XJS54K4A.js} +2 -2
- package/chunks/{chunk-L4HVF7LM.js → chunk-XNXWEGKB.js} +3 -3
- package/chunks/{chunk-T6XLJRQY.js → chunk-XYX474JQ.js} +36509 -5182
- package/chunks/{chunk-F6WFNA7U.js → chunk-XZA32HII.js} +3 -6
- package/chunks/{chunk-NUGZAFR2.js → chunk-ZEADBZLO.js} +147 -6
- package/chunks/chunk-ZELCTN6Y.js +29 -0
- package/chunks/{chunk-TQOF5KBL.js → chunk-ZEZKIS2K.js} +0 -31
- package/chunks/{chunk-IOSEW6KP.js → chunk-ZJG323IA.js} +5 -4
- package/chunks/{chunk-VSNPOSDN.js → chunk-ZKAZP2ZG.js} +107 -12
- package/chunks/{chunk-YMVFIYHV.js → chunk-ZLTEQYNC.js} +2 -2
- package/chunks/{chunk-O5BDEWBC.js → chunk-ZWKGZB2K.js} +3 -3
- package/chunks/{chunk-6QSA4JHL.js → chunk-ZXDM7DYV.js} +2772 -814
- package/chunks/chunk-ZYNTSXWK.js +32 -0
- package/chunks/config-utils-7M6PCTLT.js +113 -0
- package/chunks/contextCommand-G4QG3TW6.js +108 -0
- package/chunks/{core-runtime-CES6JSVV.js → core-runtime-PKNQ63VL.js} +63 -58
- package/chunks/{create-sub-session-UJTPMVOG.js → create-sub-session-PLGPY6TV.js} +60 -58
- package/chunks/create-sub-session-RVHSWVAP.js +17 -0
- package/chunks/{cron-create-IKA56DAF.js → cron-create-IJGVR5R2.js} +4 -4
- package/chunks/{cron-delete-K5Q62EGH.js → cron-delete-4N5BI6GL.js} +4 -4
- package/chunks/{cron-list-QBFGAMP7.js → cron-list-2CATIPUX.js} +4 -4
- package/chunks/{daemon-RZZUPGOJ.js → daemon-NAYK4XXU.js} +51 -24
- package/chunks/{daemon-git-worktree-guard-3QY2BQYB.js → daemon-git-worktree-guard-LDBJXH2U.js} +338 -92
- package/chunks/daemon-status-provider-F5FEHVVG.js +118 -0
- package/chunks/daemon-trust-policy-C6YTU5CQ.js +114 -0
- package/chunks/{daemon-trust-policy-monitor-TK4K7M63.js → daemon-trust-policy-monitor-IGEJPHQ4.js} +68 -66
- package/chunks/{de-RYUHH2C6.js → de-X6HLSIFE.js} +1 -0
- package/chunks/deferred-core-runtime-GHT3GDOR.js +116 -0
- package/chunks/{display-image-OEJMJV3S.js → display-image-DR55LL6M.js} +5 -5
- package/chunks/dist-4Q7NTUNB.js +2512 -0
- package/chunks/{dist-ESS34DHC.js → dist-6H6RZ5H6.js} +2 -2
- package/chunks/{dist-LZO24N3E.js → dist-7CKN54NL.js} +1 -1
- package/chunks/{dist-5EV2G6MC.js → dist-DJBNNPLN.js} +1 -1
- package/chunks/{dist-J6P3C52Z.js → dist-FVJZSIO4.js} +28 -7
- package/chunks/{dist-K7IQB53U.js → dist-SATKXKUR.js} +1 -1
- package/chunks/{dist-ES6HNUW2.js → dist-TJUDJTCB.js} +246 -17
- package/chunks/{dist-VVQBOKDH.js → dist-UQUFZDIY.js} +1 -1
- package/chunks/{dist-2OG3PGKO.js → dist-ZBVOXSKF.js} +3 -3
- package/chunks/earlyInputCapture-HOSJTLWP.js +109 -0
- package/chunks/{edit-A2633SLR.js → edit-KSPVUEAS.js} +48 -48
- package/chunks/{en-3RHLPITS.js → en-6MDBWMTG.js} +3 -0
- package/chunks/{enter-worktree-OIAHE2TB.js → enter-worktree-UOZ6ZTP7.js} +7 -8
- package/chunks/{enterPlanMode-SUGIKLR7.js → enterPlanMode-DZTABSKN.js} +47 -47
- package/chunks/environment-JXOSW25V.js +131 -0
- package/chunks/errors-IOXFDE4J.js +115 -0
- package/chunks/{exit-worktree-3UT3SSWT.js → exit-worktree-G2QATUCV.js} +7 -8
- package/chunks/exitPlanMode-PZG4FXRB.js +85 -0
- package/chunks/{fast-path-3AVP3G35.js → fast-path-EBS7NAVL.js} +28 -7
- package/chunks/{fast-path-settings-WHX3J3ZI.js → fast-path-settings-XMFBYFUH.js} +2 -2
- package/chunks/{fr-4PL5GHG4.js → fr-FTZWF462.js} +1 -0
- package/chunks/{gemini-7PVQWHTH.js → gemini-JELEKOVS.js} +129 -123
- package/chunks/{geminiContentGenerator-B2FOJJDJ.js → geminiContentGenerator-I2CKP7XI.js} +16 -13
- package/chunks/{glob-7YGXE6OV.js → glob-TDVEVPQZ.js} +47 -47
- package/chunks/{goal-tools-TLJCE7YZ.js → goal-tools-CNVXMSZD.js} +72 -28
- package/chunks/{grep-6DV6LTON.js → grep-3NLSS32D.js} +6 -6
- package/chunks/handleAutoUpdate-AWAGHKOX.js +111 -0
- package/chunks/i18n-CYA25C5F.js +126 -0
- package/chunks/{image-gen-7CSCJ73T.js → image-gen-63NN2H5N.js} +9 -11
- package/chunks/initializer-JD2FLNLO.js +115 -0
- package/chunks/installationInfo-N3DCWVWR.js +109 -0
- package/chunks/{ja-HZ7X7PQO.js → ja-2GL5FKYJ.js} +1 -0
- package/chunks/{keychain-token-storage-MTFTAESK.js → keychain-token-storage-3MGFRYGM.js} +2 -2
- package/chunks/list-XDQAUET5.js +118 -0
- package/chunks/{list-agents-43XUEXJV.js → list-agents-EXRSHIDJ.js} +2 -2
- package/chunks/loadedSettingsAdapter-IK7H5JRK.js +112 -0
- package/chunks/{loggingContentGenerator-RNE66CKK.js → loggingContentGenerator-CZWUAHAI.js} +27 -30
- package/chunks/{loop-wakeup-E54KDUXC.js → loop-wakeup-XBPB2BRO.js} +5 -5
- package/chunks/{ls-CGL2UC3H.js → ls-WFONAND2.js} +4 -4
- package/chunks/{lsp-5IKUO5DX.js → lsp-DUKPDUXN.js} +2 -2
- package/chunks/{managed-npm-update-Y3SC3GLJ.js → managed-npm-update-54W23SP5.js} +61 -59
- package/chunks/mcp-2E7ZLMEE.js +112 -0
- package/chunks/{monitor-PXYSGSUN.js → monitor-A4J5QRGJ.js} +47 -47
- package/chunks/nonInteractiveCli-ZNDXB62Y.js +185 -0
- package/chunks/{notebook-edit-ISIBJVBR.js → notebook-edit-4ANFZON5.js} +48 -48
- package/chunks/open-with-auth-4UI3KHUR.js +55 -0
- package/chunks/{openaiContentGenerator-6TBOPEGT.js → openaiContentGenerator-JCCJJQZC.js} +29 -30
- package/chunks/pidfile-DHV2Y7UD.js +113 -0
- package/chunks/{processUtils-YK2TDTTU.js → processUtils-JJAR56SO.js} +2 -2
- package/chunks/prompt-terminal-ledger-LDZ6QVYA.js +107 -0
- package/chunks/{pt-QT5N2Q6Q.js → pt-XN2YWJVM.js} +1 -0
- package/chunks/{qwenContentGenerator-CLDMA2Y4.js → qwenContentGenerator-5JM44ZSA.js} +53 -59
- package/chunks/{qwenOAuth2-DLDR6UC5.js → qwenOAuth2-JIYAWXTW.js} +8 -10
- package/chunks/{read-file-2HOD2ATO.js → read-file-N3E5DY7N.js} +13 -14
- package/chunks/{read-mcp-resource-XYES2B42.js → read-mcp-resource-7A7NFSFL.js} +2 -2
- package/chunks/read-package-up-6T6ICKR7.js +13 -0
- package/chunks/{record-artifact-W3IBTGL7.js → record-artifact-CPJ4IJSD.js} +4 -5
- package/chunks/report-findings-VFM5DENC.js +33 -0
- package/chunks/request-shutdown-AXVOFN5C.js +133 -0
- package/chunks/resumeHistoryUtils-YQRITQAG.js +120 -0
- package/chunks/ripGrep-NEIHKBKB.js +39 -0
- package/chunks/{ru-STMG5BPD.js → ru-OLTMFJEW.js} +1 -0
- package/chunks/{run-qwen-serve-XJHOW2NY.js → run-qwen-serve-IWGPZADI.js} +622 -79
- package/chunks/{runtime-J4SPTJRQ.js → runtime-I76HPFUE.js} +73 -71
- package/chunks/{scheduler-VRAEZZ4E.js → scheduler-M6YL4K4I.js} +62 -60
- package/chunks/{sdk-exporters-http-RSIOP3G2.js → sdk-exporters-http-XXSKBD2C.js} +5 -5
- package/chunks/{sdk-impl-CB3KARSK.js → sdk-impl-VPNBLV7I.js} +7 -7
- package/chunks/{send-message-J4VT46OI.js → send-message-A2GXDX3B.js} +10 -31
- package/chunks/serve-XY5S63GN.js +120 -0
- package/chunks/{server-74ONDK62.js → server-TWXRRREO.js} +965 -405
- package/chunks/{session-BO6VBWJP.js → session-IT5ZXU7A.js} +151 -140
- package/chunks/{settings-35QZNFDG.js → settings-IX5HOOCG.js} +71 -69
- package/chunks/shell-LZ55AAJB.js +95 -0
- package/chunks/{skill-DKEMQSNJ.js → skill-WSZ53D2R.js} +108 -25
- package/chunks/skill-settings-5U7FTJIK.js +120 -0
- package/chunks/spawnChannel-TMC6VXGN.js +113 -0
- package/chunks/standalone-update-CUYGWTR4.js +120 -0
- package/chunks/{startInteractiveUI-J2QSGWPU.js → startInteractiveUI-O6BI2OSA.js} +381 -293
- package/chunks/{syntheticOutput-JAXMIMZP.js → syntheticOutput-5AJ444QT.js} +3 -3
- package/chunks/{task-create-I2H322E4.js → task-create-CDJSOEQD.js} +11 -11
- package/chunks/{task-list-3OLIWFTQ.js → task-list-BELMPA75.js} +5 -5
- package/chunks/{task-stop-JAUY6MSY.js → task-stop-U3S3KZG2.js} +2 -2
- package/chunks/{task-update-B3XO4CPI.js → task-update-77VCFDDZ.js} +11 -11
- package/chunks/{team-create-W534PMGX.js → team-create-UF4TMQEH.js} +48 -48
- package/chunks/{team-delete-Q7GE7RRI.js → team-delete-YWFXX77L.js} +5 -5
- package/chunks/{team-plan-approval-WNV6P6NG.js → team-plan-approval-U57NSR6C.js} +47 -47
- package/chunks/terminal-image-renderer-DRL3BROJ.js +116 -0
- package/chunks/theme-manager-HHJPUDRN.js +104 -0
- package/chunks/{todoWrite-FJJTY2TI.js → todoWrite-435EO2CS.js} +4 -4
- package/chunks/{tool-search-Y4KL3LRE.js → tool-search-SV35UV72.js} +18 -19
- package/chunks/total-session-admission-TQI7TCTL.js +114 -0
- package/chunks/trustedFolders-YKK67IP3.js +124 -0
- package/chunks/{update-relaunch-OHVFN6KF.js → update-relaunch-DX7LVA4P.js} +6 -6
- package/chunks/updateCheck-6JRTKTUF.js +120 -0
- package/chunks/useAutoAcceptIndicator-MYXYSKSL.js +122 -0
- package/chunks/{validateNonInterActiveAuth-WJXH426F.js → validateNonInterActiveAuth-B26O4YJP.js} +113 -106
- package/chunks/{version-QMDRADXM.js → version-K5D7VJ4B.js} +2 -2
- package/chunks/{web-fetch-ROS6P4LP.js → web-fetch-VFHZLLNZ.js} +25 -242
- package/chunks/{web-search-JS3E76O6.js → web-search-AQE5A4J5.js} +11 -11
- package/chunks/{web-shell-static-3NUTRHAH.js → web-shell-static-A6QMUNNV.js} +11 -4
- package/chunks/webapi-Z5OM224P.js +4118 -0
- package/chunks/{workflow-2FCMBTBZ.js → workflow-XL6AEUZ7.js} +635 -94
- package/chunks/workspace-providers-status-H6TG34YV.js +116 -0
- package/chunks/{workspace-registration-store-SU4EJKSD.js → workspace-registration-store-I4U3V5LL.js} +1 -1
- package/chunks/workspace-registry-2PWNIYNI.js +123 -0
- package/chunks/workspace-service-4FGTUJLA.js +131 -0
- package/chunks/workspace-skills-status-7VOLUDT6.js +115 -0
- package/chunks/{workspace-trust-reconciler-4Y4F7XIX.js → workspace-trust-reconciler-GJ466KCE.js} +74 -73
- package/chunks/write-file-PWOYCT2K.js +90 -0
- package/chunks/{zh-TW-NX43Z2S2.js → zh-TW-MV4FWFB6.js} +3 -0
- package/chunks/{zh-3JQ75KFU.js → zh-X3WGU6SI.js} +3 -0
- package/chunks/{zoom-image-DNBKCGGF.js → zoom-image-NYJPC3NI.js} +13 -14
- package/cli.js +15 -15
- package/locales/ca.js +3 -0
- package/locales/de.js +1 -0
- package/locales/en.js +3 -0
- package/locales/fr.js +1 -0
- package/locales/ja.js +1 -0
- package/locales/pt.js +1 -0
- package/locales/ru.js +1 -0
- package/locales/zh-TW.js +3 -0
- package/locales/zh.js +3 -0
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-DWHXEVlf.js → abnfDiagram-VCTEODGH-yq7z7Anb.js} +1 -1
- package/web-shell/assets/{arc-CXKjm86V.js → arc-CbJO0xnT.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-B_ynI0cX.js → architectureDiagram-5GKGNRK7-CRh89421.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-DMebd9X0.js → blockDiagram-NRAW4CY4-C75KAhKv.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-BZ5BlxS-.js → c4Diagram-UCG6FXSJ-BzlMveFB.js} +1 -1
- package/web-shell/assets/channel-B3sGR79J.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-CluJKopE.js → chunk-2Q5K7J3B-DA8QDX3a.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-hzDAPFOo.js → chunk-5VM5RSS4-Bgu7gQ7Y.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-6vHioKJe.js → chunk-F27PBJKO-BOew7pIK.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-B_5hKTGo.js → chunk-G27WJ6UU-DHx1I-hO.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-CO9VoFCH.js → chunk-JWPE2WC7-SarFW0WU.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-7L5JpxYu.js → chunk-LCL6LL3I-BLzP083Z.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-DHLJMAqj.js → chunk-POPQ4Y6H-Bmkv_iKm.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-Dt-4Cqdl.js → chunk-SVP7TREG-MPx9r1N2.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-QlSQ3ssG.js → chunk-XXDRQBXY-Ck-09rKG.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-sTGo0K3v.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-sTGo0K3v.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-DMw3EOxl.js → cose-bilkent-JH36ORCC-DWm6lfOG.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-s6vEA7RQ.js → cynefin-OW5HDTMX-DcBUyr5R.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-AOKsvYLt.js → cynefinDiagram-5FMLGOSQ-Df8qmd_p.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-9QAZn3m7.js → dagre-3AP2YEHR-DDmGspD7.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-CWpnu4FN.js → diagram-S7CK7UJ4-BK_qFvbi.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-9l0jXD8q.js → diagram-UQ7AKVKN-Uw3AP_bi.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-BMUHroj4.js → diagram-VSXAHHWV-CJOQKxY7.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-Co9x27vm.js → diagram-VX7I27RA-DhdvZna5.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-BKnTeOER.js → diagram-Z3DM3KII-edQU0nlP.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-QBZD9CKG.js → ebnfDiagram-PWID7BFC-4kugBEsO.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-dKWAEGun.js → erDiagram-SSCWMZ5O-BMkFivWO.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-CR_UgVqj.js → flowDiagram-A5DVABFB-BM1ea8g-.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DQUnjWO6.js → ganttDiagram-EL5Y4UJY-CXj_cKRf.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-C4j59wPL.js → gitGraphDiagram-WWUBYQGX-D0nEqwqu.js} +1 -1
- package/web-shell/assets/{index-tYXRIPz4.js → index-B6JN54Pd.js} +1 -1
- package/web-shell/assets/{index-BN_m_uHJ.css → index-C-XlQn24.css} +1 -1
- package/web-shell/assets/index-DLjXM0dn.js +1860 -0
- package/web-shell/assets/{infoDiagram-RXCK75RN-mzqbt50w.js → infoDiagram-RXCK75RN-DF7aGGbQ.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-ChLOqhGl.js → ishikawaDiagram-5VMMS53U-CZYNX1lL.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-SifZE-R8.js → journeyDiagram-EYS64GPL-CvrqMUz1.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-Sft2qlbc.js → kanban-definition-3QL26DDD-BZNJQZBj.js} +1 -1
- package/web-shell/assets/{layout-O2uHVkPd.js → layout-Bf83x7D6.js} +1 -1
- package/web-shell/assets/{linear-BVqYgjSc.js → linear-Bkc3ES2f.js} +1 -1
- package/web-shell/assets/{mermaid.core-CZ9MQaJ6.js → mermaid.core-C6xuovwz.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-BNQYjBqM.js → mindmap-definition-FBJOCRG2-DzH6gVRg.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-rh1J8uv6.js → pegDiagram-XKGWAZYB-DCvLh2fa.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-BQHR5mn9.js → pieDiagram-E7YTZNPT-BtjVlx_6.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-CLCbP7mK.js → quadrantDiagram-AXDQQJYC-IbroqxFe.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-CDQhrkbm.js → railroadDiagram-O6MQD6OU-BvMykiWW.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BdP9uswg.js → requirementDiagram-EFPCY7ZU-D-HHMyrh.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CFZDFBXF.js → sankeyDiagram-P5KCCOFB-C0XXhB6d.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-BW9WOJXI.js → sequenceDiagram-WJ2MYXX4-DseAXj5d.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-CPMia32z.js → sizeCapture-X5ZJPWSS-Cek2EweK.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-BANp9p7F.js → stateDiagram-HBIQ2CUA-yLv8wafW.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DeThXnol.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-JroXksK-.js → swimlanes-XN3QIQJK-Cwz-opvE.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-GW0R1ZSv.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-DfuVIfYY.js → timeline-definition-24CTP7MA-BJuFD7OG.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-BZXoSjRB.js → vennDiagram-4TSXK5OY-CNAavdoV.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-BdiY8avC.js → wardleyDiagram-VM6X3IG4-DaIjAidq.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-DcXh_U4H.js → xychartDiagram-S5SC5T6Z-DkcQXjTy.js} +1 -1
- package/web-shell/index.html +19 -4
- package/chunks/MaxSizedBox-3OZJCC3J.js +0 -110
- package/chunks/agent-BFE3DQM3.js +0 -93
- package/chunks/agent-headless-LLVKZZ4P.js +0 -87
- package/chunks/bridge-EBYO4SYM.js +0 -118
- package/chunks/channel-settings-store-5VP2Y2YM.js +0 -115
- package/chunks/chunk-AXMWHKXA.js +0 -42
- package/chunks/chunk-IO257NUD.js +0 -623
- package/chunks/chunk-YHC2EYYG.js +0 -125
- package/chunks/computer-use-EGPWFEX6.js +0 -2142
- package/chunks/config-utils-WZ43VOBS.js +0 -25
- package/chunks/contextCommand-5DSEQI6S.js +0 -106
- package/chunks/daemon-status-provider-EYMLPYJU.js +0 -116
- package/chunks/daemon-trust-policy-CQYKZ7VO.js +0 -112
- package/chunks/deferred-core-runtime-WFEPUXZR.js +0 -114
- package/chunks/earlyInputCapture-PN4PP7V5.js +0 -107
- package/chunks/environment-WUPHLPKZ.js +0 -127
- package/chunks/errors-WPMPVIAT.js +0 -113
- package/chunks/exitPlanMode-MLFHYZNB.js +0 -85
- package/chunks/handleAutoUpdate-F5OTWUT5.js +0 -109
- package/chunks/i18n-C562S6KN.js +0 -124
- package/chunks/initializer-7YPGOFP4.js +0 -113
- package/chunks/installationInfo-ARU5Q2H7.js +0 -107
- package/chunks/list-KTSK275C.js +0 -116
- package/chunks/loadedSettingsAdapter-F3T2EQ5J.js +0 -110
- package/chunks/mcp-6ONTVPAY.js +0 -110
- package/chunks/nonInteractiveCli-KZDWFAN6.js +0 -178
- package/chunks/pidfile-IO7ALSZF.js +0 -111
- package/chunks/prompt-terminal-ledger-TCE7PMCE.js +0 -105
- package/chunks/resumeHistoryUtils-DDSBAQJS.js +0 -118
- package/chunks/ripGrep-E7P6K4QR.js +0 -40
- package/chunks/serve-KEAWV4TI.js +0 -118
- package/chunks/shell-H6K63WG3.js +0 -95
- package/chunks/skill-settings-TCKLXIXM.js +0 -118
- package/chunks/spawnChannel-2K6NKWM5.js +0 -111
- package/chunks/standalone-update-LSCGOEFP.js +0 -118
- package/chunks/terminal-image-renderer-UHX3UD66.js +0 -114
- package/chunks/theme-manager-6B47ZPIF.js +0 -102
- package/chunks/total-session-admission-NSCFWGJH.js +0 -113
- package/chunks/trustedFolders-7XMJWGQ3.js +0 -122
- package/chunks/updateCheck-EOVLHD4T.js +0 -118
- package/chunks/useAutoAcceptIndicator-ZNMIGBTN.js +0 -120
- package/chunks/workspace-providers-status-GPGU5YMT.js +0 -113
- package/chunks/workspace-registry-BQISXT6Y.js +0 -122
- package/chunks/workspace-service-LLY6HCUC.js +0 -129
- package/chunks/workspace-skills-status-L5N2Y3ZP.js +0 -113
- package/chunks/write-file-EJHU2Z3E.js +0 -90
- package/web-shell/assets/channel-Zg3WHgq_.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-C16l9jQz.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-C16l9jQz.js +0 -1
- package/web-shell/assets/index-DrlJu79f.js +0 -1792
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-NZYAoQLU.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-3YdVX3vj.js +0 -8
package/chunks/{daemon-git-worktree-guard-3QY2BQYB.js → daemon-git-worktree-guard-LDBJXH2U.js}
RENAMED
|
@@ -4,97 +4,100 @@ import {
|
|
|
4
4
|
EXTERNAL_TOOL_GUARD_MAX_DENIAL_REASON_CHARS,
|
|
5
5
|
SHELL_EXECUTING_TOOL_NAMES
|
|
6
6
|
} from "./chunk-3VUENPWF.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-VMDURMFY.js";
|
|
8
|
+
import "./chunk-J7MLXFC5.js";
|
|
9
|
+
import "./chunk-LRKMQPMD.js";
|
|
10
|
+
import "./chunk-LJZSMWOH.js";
|
|
11
|
+
import "./chunk-47SIHHPL.js";
|
|
12
|
+
import "./chunk-JLGFGPZJ.js";
|
|
13
|
+
import "./chunk-SKNVVYIJ.js";
|
|
14
|
+
import "./chunk-UCSV2IZW.js";
|
|
15
|
+
import "./chunk-T2HMXHYA.js";
|
|
16
|
+
import "./chunk-3FSBMAYD.js";
|
|
17
|
+
import "./chunk-XJS54K4A.js";
|
|
15
18
|
import "./chunk-ZPJWUGCS.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-T6XLJRQY.js";
|
|
19
|
+
import "./chunk-ZWKGZB2K.js";
|
|
20
|
+
import "./chunk-OX44MOAN.js";
|
|
21
|
+
import "./chunk-XYX474JQ.js";
|
|
20
22
|
import "./chunk-GOFAQQZA.js";
|
|
23
|
+
import "./chunk-5M6IDOMF.js";
|
|
21
24
|
import "./chunk-TWPJO254.js";
|
|
22
25
|
import "./chunk-CQ35AJ4Z.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-3UZCLCXR.js";
|
|
27
|
+
import "./chunk-TOF4UZHH.js";
|
|
28
|
+
import "./chunk-O3BUXIPM.js";
|
|
29
|
+
import "./chunk-ZLTEQYNC.js";
|
|
27
30
|
import "./chunk-6PVPNMXU.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-DJEHYM4H.js";
|
|
31
|
+
import "./chunk-AYVIGUUK.js";
|
|
30
32
|
import "./chunk-IRH27ZC2.js";
|
|
31
33
|
import "./chunk-QHWCP53L.js";
|
|
32
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-JECO75XD.js";
|
|
33
35
|
import "./chunk-O6GEWCJA.js";
|
|
34
36
|
import "./chunk-T26EAKDL.js";
|
|
35
37
|
import {
|
|
36
38
|
GitWorktreeService
|
|
37
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LJP2BBMK.js";
|
|
38
40
|
import "./chunk-CPBF7KYF.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-5Y2JCJAH.js";
|
|
42
|
+
import "./chunk-T2CRBIDJ.js";
|
|
43
|
+
import "./chunk-77TOMRBG.js";
|
|
44
|
+
import "./chunk-DEYPMJPD.js";
|
|
43
45
|
import {
|
|
46
|
+
getShellConfiguration,
|
|
44
47
|
require_shell_quote,
|
|
45
48
|
splitCommands
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-T6OODF2U.js";
|
|
50
|
+
import "./chunk-27ONXAFY.js";
|
|
51
|
+
import "./chunk-ZEADBZLO.js";
|
|
52
|
+
import "./chunk-FN5C6C7G.js";
|
|
53
|
+
import "./chunk-BVE5EMIG.js";
|
|
51
54
|
import "./chunk-MLXTMF7H.js";
|
|
52
55
|
import "./chunk-NAVJD2PQ.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-FVDQ5E67.js";
|
|
57
|
+
import "./chunk-V3GINY6K.js";
|
|
58
|
+
import "./chunk-QHMLYMMS.js";
|
|
59
|
+
import "./chunk-SDVF6A42.js";
|
|
56
60
|
import "./chunk-P3QQPMQA.js";
|
|
57
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-ILPXSKGQ.js";
|
|
58
62
|
import "./chunk-VNOVK4I7.js";
|
|
59
63
|
import "./chunk-SAH4BD2J.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-ZKAZP2ZG.js";
|
|
65
|
+
import "./chunk-DP7LABIB.js";
|
|
62
66
|
import "./chunk-S6LOFUVP.js";
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-AXMWHKXA.js";
|
|
67
|
+
import "./chunk-2LD5U7Q3.js";
|
|
65
68
|
import "./chunk-DJ2GSRLV.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-I6VVOZDK.js";
|
|
70
|
+
import "./chunk-K2OJUPOE.js";
|
|
71
|
+
import "./chunk-CFKIH3D3.js";
|
|
72
|
+
import "./chunk-EB4VDXNI.js";
|
|
73
|
+
import "./chunk-FJWICLG7.js";
|
|
74
|
+
import "./chunk-UX3IFLJM.js";
|
|
71
75
|
import "./chunk-YRLW2MSX.js";
|
|
72
76
|
import "./chunk-VGC4I5JJ.js";
|
|
73
77
|
import {
|
|
74
78
|
isWithinRoot
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-2E3V7G6Y.js";
|
|
79
|
-
import "./chunk-F6WFNA7U.js";
|
|
79
|
+
} from "./chunk-WBT3STGU.js";
|
|
80
|
+
import "./chunk-PVBT5QPD.js";
|
|
81
|
+
import "./chunk-IPQA4SR5.js";
|
|
80
82
|
import "./chunk-WZAD4ZNJ.js";
|
|
81
83
|
import "./chunk-FPGTNKCP.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-SLEWBQWM.js";
|
|
85
|
+
import "./chunk-ICWGPK23.js";
|
|
86
|
+
import "./chunk-XZA32HII.js";
|
|
87
|
+
import "./chunk-7QGEJI7M.js";
|
|
88
|
+
import "./chunk-GTUKW3I6.js";
|
|
86
89
|
import "./chunk-HHJLM3WQ.js";
|
|
87
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-6US7BF3G.js";
|
|
88
91
|
import "./chunk-74TONY4F.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-VL4YX3FH.js";
|
|
93
|
+
import "./chunk-JUIJ3FXC.js";
|
|
94
|
+
import "./chunk-E6FGMDFQ.js";
|
|
92
95
|
import "./chunk-AQ37AY7B.js";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-RRKNX553.js";
|
|
97
|
+
import "./chunk-KOJ6MHD5.js";
|
|
95
98
|
import {
|
|
96
99
|
realpathNearestExistingAsync
|
|
97
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-2NNTE2ED.js";
|
|
98
101
|
import "./chunk-75DOP5OR.js";
|
|
99
102
|
import "./chunk-DMTGGOSA.js";
|
|
100
103
|
import "./chunk-YQ3U5MUC.js";
|
|
@@ -183,6 +186,17 @@ var GIT_UNRESOLVABLE_ENV_KEYS = /* @__PURE__ */ new Set([
|
|
|
183
186
|
var GIT_NUMBERED_CONFIG_ENV_PATTERN = /^GIT_CONFIG_(KEY|VALUE)_\d+$/;
|
|
184
187
|
var SHELL_WRAPPER_PROGRAMS = /* @__PURE__ */ new Set(["bash", "dash", "ksh", "sh", "zsh"]);
|
|
185
188
|
var SHELL_WRAPPER_VALUE_FLAGS = /* @__PURE__ */ new Set(["-o", "-O"]);
|
|
189
|
+
var WINDOWS_SHELL_PROGRAMS = /* @__PURE__ */ new Set(["cmd", "powershell", "pwsh"]);
|
|
190
|
+
var POWERSHELL_LOCATION_PROGRAMS = /* @__PURE__ */ new Set([
|
|
191
|
+
"set-location",
|
|
192
|
+
"sl",
|
|
193
|
+
"push-location",
|
|
194
|
+
"pop-location"
|
|
195
|
+
]);
|
|
196
|
+
var POWERSHELL_ENV_MUTATION_PATTERNS = [
|
|
197
|
+
/^\$\{?env:[A-Za-z_][A-Za-z0-9_]*\}?\s*\+?=(?!=)/i,
|
|
198
|
+
/^\[Environment\]::SetEnvironmentVariable\s*\(/i
|
|
199
|
+
];
|
|
186
200
|
function shellBundleRequestsCommand(flag) {
|
|
187
201
|
if (!flag.startsWith("-") || flag.startsWith("--")) return false;
|
|
188
202
|
return flag.slice(1).includes("c");
|
|
@@ -233,6 +247,14 @@ var SUDO_CHDIR_FLAGS = /* @__PURE__ */ new Set(["-D", "--chdir"]);
|
|
|
233
247
|
var SUDO_CHROOT_FLAGS = /* @__PURE__ */ new Set(["-R", "--chroot"]);
|
|
234
248
|
var TIMEOUT_VALUE_FLAGS = /* @__PURE__ */ new Set(["-k", "-s", "--kill-after", "--signal"]);
|
|
235
249
|
var PATH_RELINKING_PROGRAMS = /* @__PURE__ */ new Set(["cp", "ln", "mv"]);
|
|
250
|
+
var WIN32_PATH_RELINKING_PROGRAMS = /* @__PURE__ */ new Set([
|
|
251
|
+
...PATH_RELINKING_PROGRAMS,
|
|
252
|
+
"copy",
|
|
253
|
+
"mklink",
|
|
254
|
+
"move",
|
|
255
|
+
"robocopy",
|
|
256
|
+
"xcopy"
|
|
257
|
+
]);
|
|
236
258
|
var PATH_EXTRACTING_PROGRAMS = /* @__PURE__ */ new Set(["cpio", "rsync", "tar", "unzip"]);
|
|
237
259
|
var PROGRAMS_WITH_OWN_C_FLAG = /* @__PURE__ */ new Set([
|
|
238
260
|
"cmake",
|
|
@@ -255,6 +277,8 @@ var EXTERNAL_GUARD_UNSUPPORTED_TOOLS = /* @__PURE__ */ new Set([
|
|
|
255
277
|
]);
|
|
256
278
|
var DYNAMIC_RELOCATION_DENIAL = "Daemon shell guard denied a mutating Git command with a dynamic repository location.";
|
|
257
279
|
var UNPARSEABLE_COMMAND_DENIAL = "Daemon shell guard denied a shell command that could not be parsed before execution.";
|
|
280
|
+
var CMD_REWRITE_SYNTAX_DENIAL = "Daemon shell guard denied a shell command containing cmd.exe rewrite syntax it cannot evaluate before execution.";
|
|
281
|
+
var WINDOWS_UNMODELLED_SYNTAX_DENIAL = "Daemon shell guard denied a shell command containing Windows shell syntax it cannot evaluate before execution.";
|
|
258
282
|
var UNRESOLVED_TARGET_DENIAL_PREFIX = "Daemon shell guard denied a mutating Git command with an unresolvable repository location: ";
|
|
259
283
|
var OUTSIDE_TARGET_DENIAL_PREFIX = "Daemon shell guard denied a mutating Git command outside the session working directory: ";
|
|
260
284
|
var UNDECIDABLE_PAYLOAD_DENIAL = "Daemon shell guard denied a shell command whose payload could not be resolved before execution.";
|
|
@@ -326,6 +350,135 @@ var REDIRECT_OPERATORS = /* @__PURE__ */ new Set([
|
|
|
326
350
|
"&>",
|
|
327
351
|
"&>>"
|
|
328
352
|
]);
|
|
353
|
+
var WINDOWS_CMD_BOUNDARY_CHARS = /* @__PURE__ */ new Set([
|
|
354
|
+
" ",
|
|
355
|
+
" ",
|
|
356
|
+
";",
|
|
357
|
+
"|",
|
|
358
|
+
"&",
|
|
359
|
+
"<",
|
|
360
|
+
">",
|
|
361
|
+
"(",
|
|
362
|
+
")"
|
|
363
|
+
]);
|
|
364
|
+
function preserveWindowsPathSeparators(segment, platform = process.platform, shell = getShellConfiguration().shell) {
|
|
365
|
+
if (platform !== "win32" || shell === "bash") return segment;
|
|
366
|
+
let single = false;
|
|
367
|
+
let double = false;
|
|
368
|
+
let out = "";
|
|
369
|
+
for (let index = 0; index < segment.length; index++) {
|
|
370
|
+
const character = segment[index];
|
|
371
|
+
if (single) {
|
|
372
|
+
if (character === "'") single = false;
|
|
373
|
+
out += character;
|
|
374
|
+
continue;
|
|
375
|
+
}
|
|
376
|
+
if (double) {
|
|
377
|
+
if (character === '"') {
|
|
378
|
+
double = false;
|
|
379
|
+
} else if (character === "\\") {
|
|
380
|
+
out += "\\\\";
|
|
381
|
+
continue;
|
|
382
|
+
}
|
|
383
|
+
out += character;
|
|
384
|
+
continue;
|
|
385
|
+
}
|
|
386
|
+
if (character === "'") {
|
|
387
|
+
single = true;
|
|
388
|
+
out += character;
|
|
389
|
+
continue;
|
|
390
|
+
}
|
|
391
|
+
if (character === '"') {
|
|
392
|
+
double = true;
|
|
393
|
+
out += character;
|
|
394
|
+
continue;
|
|
395
|
+
}
|
|
396
|
+
if (character === "\\") {
|
|
397
|
+
const next = segment[index + 1];
|
|
398
|
+
out += next !== void 0 && WINDOWS_CMD_BOUNDARY_CHARS.has(next) ? '"\\\\"' : "\\\\";
|
|
399
|
+
continue;
|
|
400
|
+
}
|
|
401
|
+
out += character;
|
|
402
|
+
}
|
|
403
|
+
return out;
|
|
404
|
+
}
|
|
405
|
+
__name(preserveWindowsPathSeparators, "preserveWindowsPathSeparators");
|
|
406
|
+
function containsCmdRewriteSyntax(segment, platform = process.platform, shell = getShellConfiguration().shell) {
|
|
407
|
+
if (platform !== "win32" || shell !== "cmd") return false;
|
|
408
|
+
let doubleQuoted = false;
|
|
409
|
+
let percents = 0;
|
|
410
|
+
let bangs = 0;
|
|
411
|
+
for (const character of segment) {
|
|
412
|
+
if (character === '"') {
|
|
413
|
+
doubleQuoted = !doubleQuoted;
|
|
414
|
+
continue;
|
|
415
|
+
}
|
|
416
|
+
if (character === "^" && !doubleQuoted) return true;
|
|
417
|
+
if (character === "%") percents++;
|
|
418
|
+
else if (character === "!") bangs++;
|
|
419
|
+
}
|
|
420
|
+
return percents >= 2 || bangs >= 2;
|
|
421
|
+
}
|
|
422
|
+
__name(containsCmdRewriteSyntax, "containsCmdRewriteSyntax");
|
|
423
|
+
function containsUnmodelledWindowsSyntax(command, platform = process.platform, shell = getShellConfiguration().shell) {
|
|
424
|
+
if (platform !== "win32" || shell === "bash") return false;
|
|
425
|
+
const trimmed = command.trim();
|
|
426
|
+
if (shell === "cmd" && trimmed.length > 1 && trimmed.startsWith('"') && trimmed.endsWith('"') && trimmed.slice(1, -1).includes('"')) {
|
|
427
|
+
return true;
|
|
428
|
+
}
|
|
429
|
+
let single = false;
|
|
430
|
+
let double = false;
|
|
431
|
+
for (let index = 0; index < command.length; index++) {
|
|
432
|
+
const character = command[index];
|
|
433
|
+
if (single) {
|
|
434
|
+
if (character === "'") {
|
|
435
|
+
if (shell === "powershell" && command[index + 1] === "'") return true;
|
|
436
|
+
single = false;
|
|
437
|
+
}
|
|
438
|
+
continue;
|
|
439
|
+
}
|
|
440
|
+
if (double) {
|
|
441
|
+
if (character === '"') double = false;
|
|
442
|
+
continue;
|
|
443
|
+
}
|
|
444
|
+
if (character === "'") {
|
|
445
|
+
if (shell === "cmd") return true;
|
|
446
|
+
single = true;
|
|
447
|
+
continue;
|
|
448
|
+
}
|
|
449
|
+
if (character === '"') {
|
|
450
|
+
double = true;
|
|
451
|
+
continue;
|
|
452
|
+
}
|
|
453
|
+
if (character === "(" || character === ")") return true;
|
|
454
|
+
if (character === "&") {
|
|
455
|
+
if (command[index + 1] === "&") {
|
|
456
|
+
index++;
|
|
457
|
+
continue;
|
|
458
|
+
}
|
|
459
|
+
if (command[index + 1] === ">") {
|
|
460
|
+
index += command[index + 2] === ">" ? 2 : 1;
|
|
461
|
+
continue;
|
|
462
|
+
}
|
|
463
|
+
const previous = command[index - 1];
|
|
464
|
+
if (previous === ">" || previous === "<") continue;
|
|
465
|
+
return true;
|
|
466
|
+
}
|
|
467
|
+
if (shell === "cmd" && (character === "#" || character === ";")) {
|
|
468
|
+
return true;
|
|
469
|
+
}
|
|
470
|
+
if (shell === "powershell" && command.startsWith("--%", index)) {
|
|
471
|
+
return true;
|
|
472
|
+
}
|
|
473
|
+
if (shell === "powershell" && POWERSHELL_ENV_MUTATION_PATTERNS.some(
|
|
474
|
+
(pattern) => pattern.test(command.slice(index))
|
|
475
|
+
)) {
|
|
476
|
+
return true;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
return false;
|
|
480
|
+
}
|
|
481
|
+
__name(containsUnmodelledWindowsSyntax, "containsUnmodelledWindowsSyntax");
|
|
329
482
|
function tokenizeSegment(segment, startDepth) {
|
|
330
483
|
let parsed;
|
|
331
484
|
try {
|
|
@@ -448,12 +601,13 @@ function hasGitRelocationMarker(tokens) {
|
|
|
448
601
|
}
|
|
449
602
|
__name(hasGitRelocationMarker, "hasGitRelocationMarker");
|
|
450
603
|
var GIT_WORD_PATTERN = /\bgit\b/i;
|
|
451
|
-
var TEXT_RELOCATION_MARKER_WITHOUT_C_PATTERN = /(^|\s)(--git-dir=?|--work-tree=?|-execdir)|(^|[\s;&|(){}])(cd|pushd)([\s;&|]|$)|(^|[\s;&|(){}])(GIT_DIR|GIT_WORK_TREE|GIT_COMMON_DIR|GIT_INDEX_FILE|GIT_EXEC_PATH|PATH)\+?=/;
|
|
452
|
-
var TEXT_RELOCATION_MARKER_PATTERN = /(^|\s)(-C|--git-dir=?|--work-tree=?|-execdir)|(^|[\s;&|(){}])(cd|pushd)([\s;&|]|$)|(^|[\s;&|(){}])(GIT_DIR|GIT_WORK_TREE|GIT_COMMON_DIR|GIT_INDEX_FILE|GIT_EXEC_PATH|PATH)\+?=/;
|
|
604
|
+
var TEXT_RELOCATION_MARKER_WITHOUT_C_PATTERN = /(^|\s)(--git-dir=?|--work-tree=?|-execdir)|(^|[\s;&|(){}])(cd|chdir|pushd)([\s;&|]|$)|(^|[\s;&|(){}])(GIT_DIR|GIT_WORK_TREE|GIT_COMMON_DIR|GIT_INDEX_FILE|GIT_EXEC_PATH|PATH)\+?=/;
|
|
605
|
+
var TEXT_RELOCATION_MARKER_PATTERN = /(^|\s)(-C|--git-dir=?|--work-tree=?|-execdir)|(^|[\s;&|(){}])(cd|chdir|pushd)([\s;&|]|$)|(^|[\s;&|(){}])(GIT_DIR|GIT_WORK_TREE|GIT_COMMON_DIR|GIT_INDEX_FILE|GIT_EXEC_PATH|PATH)\+?=/;
|
|
453
606
|
var GIT_PROGRAM_ENV_KEYS = /* @__PURE__ */ new Set(["GIT_EXEC_PATH", "PATH"]);
|
|
454
607
|
function recordEnvAssignment(token, state) {
|
|
455
|
-
const
|
|
456
|
-
if (
|
|
608
|
+
const rawKey = leadingEnvAssignmentKey(token.text);
|
|
609
|
+
if (rawKey === null) return;
|
|
610
|
+
const key = process.platform === "win32" && getShellConfiguration().shell !== "bash" ? rawKey.toUpperCase() : rawKey;
|
|
457
611
|
if (GIT_PROGRAM_ENV_KEYS.has(key) || GIT_UNRESOLVABLE_ENV_KEYS.has(key) || GIT_NUMBERED_CONFIG_ENV_PATTERN.test(key)) {
|
|
458
612
|
state.unresolved = true;
|
|
459
613
|
return;
|
|
@@ -720,11 +874,36 @@ var EXPORT_BUILTINS = /* @__PURE__ */ new Set([
|
|
|
720
874
|
"typeset"
|
|
721
875
|
]);
|
|
722
876
|
var CHDIR_OPTION_PATTERN = /^-[LPe@qs]+$/;
|
|
723
|
-
|
|
877
|
+
var FUSED_CHDIR_PATTERN = /^(cd|chdir|pushd|popd)([./\\].*)$/i;
|
|
878
|
+
function splitFusedWindowsChdirs(run) {
|
|
879
|
+
for (let index = 0; index < run.length; index++) {
|
|
880
|
+
const token = run[index];
|
|
881
|
+
if (token.redirect || token.ambiguousFd) continue;
|
|
882
|
+
if (leadingEnvAssignmentKey(token.text) !== null) continue;
|
|
883
|
+
if (LEADING_SHELL_KEYWORDS.has(token.text)) continue;
|
|
884
|
+
const match = token.dynamic ? null : FUSED_CHDIR_PATTERN.exec(token.text);
|
|
885
|
+
if (match === null) return run;
|
|
886
|
+
const replacement = run.slice();
|
|
887
|
+
replacement.splice(
|
|
888
|
+
index,
|
|
889
|
+
1,
|
|
890
|
+
{ text: match[1], dynamic: false },
|
|
891
|
+
{ text: match[2], dynamic: false }
|
|
892
|
+
);
|
|
893
|
+
return replacement;
|
|
894
|
+
}
|
|
895
|
+
return run;
|
|
896
|
+
}
|
|
897
|
+
__name(splitFusedWindowsChdirs, "splitFusedWindowsChdirs");
|
|
898
|
+
function findChdirTarget(run, start, variant, windows = false) {
|
|
724
899
|
let index = start;
|
|
725
900
|
while (index < run.length) {
|
|
726
901
|
const token = run[index];
|
|
727
902
|
if (token.text === "--") return run[index + 1];
|
|
903
|
+
if (windows && /^\/[dD]$/.test(token.text)) {
|
|
904
|
+
index++;
|
|
905
|
+
continue;
|
|
906
|
+
}
|
|
728
907
|
if (variant === "cd" && CHDIR_OPTION_PATTERN.test(token.text)) {
|
|
729
908
|
index++;
|
|
730
909
|
continue;
|
|
@@ -817,7 +996,10 @@ function readDefinition(run) {
|
|
|
817
996
|
return { name, body: joinArgvTexts(bodyTokens) };
|
|
818
997
|
}
|
|
819
998
|
__name(readDefinition, "readDefinition");
|
|
820
|
-
function analyzeRun(run) {
|
|
999
|
+
function analyzeRun(run, platform = process.platform) {
|
|
1000
|
+
if (platform === "win32" && getShellConfiguration().shell !== "bash") {
|
|
1001
|
+
run = splitFusedWindowsChdirs(run);
|
|
1002
|
+
}
|
|
821
1003
|
const state = { relocations: [], unresolved: false };
|
|
822
1004
|
let index = 0;
|
|
823
1005
|
let assignments = 0;
|
|
@@ -846,6 +1028,25 @@ function analyzeRun(run) {
|
|
|
846
1028
|
for (const operand of operands) recordEnvAssignment(operand, state);
|
|
847
1029
|
return { kind: "export", state, operands };
|
|
848
1030
|
}
|
|
1031
|
+
if (platform === "win32" && getShellConfiguration().shell !== "bash" && (program === "path" || program === "doskey")) {
|
|
1032
|
+
state.unresolved = true;
|
|
1033
|
+
return { kind: "export", state, operands: [] };
|
|
1034
|
+
}
|
|
1035
|
+
if (platform === "win32" && getShellConfiguration().shell !== "bash" && (program === "set" || program === "setx")) {
|
|
1036
|
+
const operands = run.slice(index + 1);
|
|
1037
|
+
if (program === "setx" || getShellConfiguration().shell === "powershell") {
|
|
1038
|
+
state.unresolved = true;
|
|
1039
|
+
return { kind: "export", state, operands: [] };
|
|
1040
|
+
}
|
|
1041
|
+
for (const operand of operands) {
|
|
1042
|
+
if (operand.dynamic || leadingEnvAssignmentKey(operand.text) === null) {
|
|
1043
|
+
state.unresolved = true;
|
|
1044
|
+
return { kind: "export", state, operands: [] };
|
|
1045
|
+
}
|
|
1046
|
+
recordEnvAssignment(operand, state);
|
|
1047
|
+
}
|
|
1048
|
+
return { kind: "export", state, operands };
|
|
1049
|
+
}
|
|
849
1050
|
if (program === "set") {
|
|
850
1051
|
if (requestsAllExport(run, index + 1)) {
|
|
851
1052
|
return { kind: "all-export", state };
|
|
@@ -892,6 +1093,9 @@ function analyzeRun(run) {
|
|
|
892
1093
|
propagatesCwd: true
|
|
893
1094
|
};
|
|
894
1095
|
}
|
|
1096
|
+
if (platform === "win32" && WINDOWS_SHELL_PROGRAMS.has(program)) {
|
|
1097
|
+
return { kind: "undecidable" };
|
|
1098
|
+
}
|
|
895
1099
|
if (SHELL_WRAPPER_PROGRAMS.has(program)) {
|
|
896
1100
|
const scan = consumeShellWrapper(run, index);
|
|
897
1101
|
if (scan.kind === "none") {
|
|
@@ -915,14 +1119,19 @@ function analyzeRun(run) {
|
|
|
915
1119
|
if (program === "git") {
|
|
916
1120
|
return { kind: "git", tokens: run.slice(index), state };
|
|
917
1121
|
}
|
|
918
|
-
if (program === "cd" || program === "pushd" || program === "popd") {
|
|
1122
|
+
if (program === "cd" || program === "pushd" || program === "popd" || platform === "win32" && program === "chdir" || platform === "win32" && getShellConfiguration().shell === "powershell" && POWERSHELL_LOCATION_PROGRAMS.has(program)) {
|
|
1123
|
+
const variant = program === "chdir" || program === "set-location" || program === "sl" ? "cd" : program === "push-location" || program === "pushd" ? "pushd" : program === "pop-location" || program === "popd" ? "popd" : "cd";
|
|
1124
|
+
const rest = run.slice(index + 1);
|
|
1125
|
+
const namedIndex = rest.findIndex(
|
|
1126
|
+
(token2) => token2.text === "-Path" || token2.text === "-LiteralPath"
|
|
1127
|
+
);
|
|
919
1128
|
return {
|
|
920
1129
|
kind: "cd",
|
|
921
|
-
variant
|
|
922
|
-
target:
|
|
1130
|
+
variant,
|
|
1131
|
+
target: namedIndex >= 0 ? rest[namedIndex + 1] : findChdirTarget(rest, 0, variant, platform === "win32"),
|
|
923
1132
|
// `cd -P` resolves each component through its symlinks before
|
|
924
1133
|
// applying `..`, which a lexical resolve cannot reproduce.
|
|
925
|
-
physical:
|
|
1134
|
+
physical: rest.some((token2) => /^-[A-Za-z]*P/.test(token2.text))
|
|
926
1135
|
};
|
|
927
1136
|
}
|
|
928
1137
|
return { kind: "other", state, assignmentsOnly: false };
|
|
@@ -1078,9 +1287,12 @@ async function resolveGitDirRepository(canonicalGitDir) {
|
|
|
1078
1287
|
}
|
|
1079
1288
|
__name(resolveGitDirRepository, "resolveGitDirRepository");
|
|
1080
1289
|
async function resolvePhysicalPath(base, target) {
|
|
1081
|
-
|
|
1290
|
+
const parsed = path.parse(target);
|
|
1291
|
+
const absolute = path.isAbsolute(target);
|
|
1292
|
+
let current = absolute ? parsed.root : base;
|
|
1293
|
+
const walkable = absolute ? target.slice(parsed.root.length) : target;
|
|
1082
1294
|
const separators = path.sep === "\\" ? /[\\/]+/ : /\/+/;
|
|
1083
|
-
for (const segment of
|
|
1295
|
+
for (const segment of walkable.split(separators)) {
|
|
1084
1296
|
if (segment === "" || segment === ".") continue;
|
|
1085
1297
|
if (segment === "..") {
|
|
1086
1298
|
current = path.dirname(await realpathNearestExistingAsync(current));
|
|
@@ -1498,18 +1710,45 @@ async function evaluateCommandWithCwd(command, startCwd, entryCwd, context, dept
|
|
|
1498
1710
|
}
|
|
1499
1711
|
return void 0;
|
|
1500
1712
|
}, "invokeDefinedBody");
|
|
1501
|
-
const
|
|
1502
|
-
const
|
|
1713
|
+
const platformNow = process.platform;
|
|
1714
|
+
const shellNow = getShellConfiguration().shell;
|
|
1715
|
+
const windowsNative = platformNow === "win32" && shellNow !== "bash";
|
|
1716
|
+
const strippedCommand = windowsNative ? command : stripHeredocBodies(command);
|
|
1717
|
+
if (containsCmdRewriteSyntax(strippedCommand, platformNow, shellNow)) {
|
|
1718
|
+
return {
|
|
1719
|
+
denial: { allowed: false, reason: CMD_REWRITE_SYNTAX_DENIAL },
|
|
1720
|
+
cwdAfter: trackedCwd
|
|
1721
|
+
};
|
|
1722
|
+
}
|
|
1723
|
+
if (containsUnmodelledWindowsSyntax(strippedCommand, platformNow, shellNow)) {
|
|
1724
|
+
return {
|
|
1725
|
+
denial: { allowed: false, reason: WINDOWS_UNMODELLED_SYNTAX_DENIAL },
|
|
1726
|
+
cwdAfter: trackedCwd
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1729
|
+
const normalizedCommand = preserveWindowsPathSeparators(
|
|
1730
|
+
strippedCommand,
|
|
1731
|
+
platformNow,
|
|
1732
|
+
shellNow
|
|
1733
|
+
);
|
|
1734
|
+
const segments = splitCommands(normalizedCommand);
|
|
1735
|
+
const separators = readTopLevelSeparators(normalizedCommand);
|
|
1503
1736
|
const separatorsMatch = separators.length === segments.length - 1;
|
|
1504
|
-
const isPipeComponent = /* @__PURE__ */ __name((index) =>
|
|
1505
|
-
//
|
|
1506
|
-
//
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1737
|
+
const isPipeComponent = /* @__PURE__ */ __name((index) => (
|
|
1738
|
+
// A PowerShell pipeline runs every stage in the one session — a `cd` on
|
|
1739
|
+
// either side outlives the pipe — so no segment is scoped there.
|
|
1740
|
+
windowsNative && shellNow === "powershell" ? false : separatorsMatch ? (
|
|
1741
|
+
// Both sides of a pipe run in subshells; for `&` only the segment
|
|
1742
|
+
// it follows (the backgrounded one) does — the next segment is
|
|
1743
|
+
// foreground.
|
|
1744
|
+
separators[index - 1] === "|" || separators[index] === "|" || separators[index] === "&"
|
|
1745
|
+
) : (
|
|
1746
|
+
// Structural disagreement with `splitCommands`: scope every segment
|
|
1747
|
+
// rather than guess which ones ran in a subshell.
|
|
1748
|
+
separators.some(
|
|
1749
|
+
(separator) => separator === "|" || separator === "&"
|
|
1750
|
+
)
|
|
1751
|
+
)
|
|
1513
1752
|
), "isPipeComponent");
|
|
1514
1753
|
for (const [segmentIndex, segment] of segments.entries()) {
|
|
1515
1754
|
const pipeComponent = isPipeComponent(segmentIndex);
|
|
@@ -1533,7 +1772,7 @@ async function evaluateCommandWithCwd(command, startCwd, entryCwd, context, dept
|
|
|
1533
1772
|
cwdAfter: trackedCwd
|
|
1534
1773
|
};
|
|
1535
1774
|
}
|
|
1536
|
-
const functionHeader = /^\s*([A-Za-z_][A-Za-z0-9_]*)\s*\(\s*\)/.exec(segment) ?? // The `function NAME` keyword form, with the `()` optional.
|
|
1775
|
+
const functionHeader = windowsNative ? null : /^\s*([A-Za-z_][A-Za-z0-9_]*)\s*\(\s*\)/.exec(segment) ?? // The `function NAME` keyword form, with the `()` optional.
|
|
1537
1776
|
/^\s*function\s+([A-Za-z_][A-Za-z0-9_]*)\b/.exec(segment);
|
|
1538
1777
|
if (functionHeader) {
|
|
1539
1778
|
insideDefinition = functionHeader[1];
|
|
@@ -1640,7 +1879,7 @@ ${segment}`;
|
|
|
1640
1879
|
if (denial) return { denial, cwdAfter: trackedCwd };
|
|
1641
1880
|
continue;
|
|
1642
1881
|
}
|
|
1643
|
-
const analysis = analyzeRun(run);
|
|
1882
|
+
const analysis = analyzeRun(run, platformNow);
|
|
1644
1883
|
switch (analysis.kind) {
|
|
1645
1884
|
case "cd": {
|
|
1646
1885
|
const target = analysis.target === void 0 ? void 0 : expandShellLocals(analysis.target, shellLocals);
|
|
@@ -1845,7 +2084,7 @@ ${segment}`;
|
|
|
1845
2084
|
allExport = false;
|
|
1846
2085
|
break;
|
|
1847
2086
|
case "other": {
|
|
1848
|
-
const aliasDefinitions = readAliasDefinitions(run);
|
|
2087
|
+
const aliasDefinitions = windowsNative ? [] : readAliasDefinitions(run);
|
|
1849
2088
|
if (aliasDefinitions.length > 0) {
|
|
1850
2089
|
for (const definition2 of aliasDefinitions) {
|
|
1851
2090
|
definedBodies.set(definition2.name, {
|
|
@@ -1855,7 +2094,7 @@ ${segment}`;
|
|
|
1855
2094
|
}
|
|
1856
2095
|
break;
|
|
1857
2096
|
}
|
|
1858
|
-
const definition = readDefinition(run);
|
|
2097
|
+
const definition = windowsNative ? void 0 : readDefinition(run);
|
|
1859
2098
|
if (definition) {
|
|
1860
2099
|
definedBodies.set(definition.name, {
|
|
1861
2100
|
body: definition.body,
|
|
@@ -1864,7 +2103,7 @@ ${segment}`;
|
|
|
1864
2103
|
break;
|
|
1865
2104
|
}
|
|
1866
2105
|
const programToken = readProgramWord(run);
|
|
1867
|
-
const definitionName = readFunctionName(run);
|
|
2106
|
+
const definitionName = windowsNative ? void 0 : readFunctionName(run);
|
|
1868
2107
|
if (definitionName) {
|
|
1869
2108
|
if (run.some((token) => GIT_WORD_PATTERN.test(token.text))) {
|
|
1870
2109
|
gitShapedNames.add(definitionName);
|
|
@@ -1893,12 +2132,16 @@ ${segment}`;
|
|
|
1893
2132
|
if (run.some((t) => PATH_EXTRACTING_PROGRAMS.has(executableBaseName(t)))) {
|
|
1894
2133
|
if (trackedCwd !== void 0) relinkedTargets.push(trackedCwd);
|
|
1895
2134
|
}
|
|
1896
|
-
|
|
1897
|
-
|
|
2135
|
+
const relinkPrograms = platformNow === "win32" ? WIN32_PATH_RELINKING_PROGRAMS : PATH_RELINKING_PROGRAMS;
|
|
2136
|
+
const relinkProgramIndex = run.findIndex(
|
|
2137
|
+
(t) => !t.redirect && !t.ambiguousFd && relinkPrograms.has(executableBaseName(t))
|
|
2138
|
+
);
|
|
2139
|
+
if (relinkProgramIndex >= 0) {
|
|
2140
|
+
for (const [operandIndex, operand] of run.entries()) {
|
|
2141
|
+
if (operandIndex === relinkProgramIndex) continue;
|
|
2142
|
+
if (operand.redirect || operand.ambiguousFd) continue;
|
|
1898
2143
|
if (operand.text.startsWith("-")) continue;
|
|
1899
|
-
if (
|
|
1900
|
-
continue;
|
|
1901
|
-
}
|
|
2144
|
+
if (windowsNative && operand.text.startsWith("/")) continue;
|
|
1902
2145
|
if (operand.dynamic || trackedCwd === void 0) {
|
|
1903
2146
|
scope.relink.gitDir = true;
|
|
1904
2147
|
continue;
|
|
@@ -2067,7 +2310,10 @@ function createDaemonToolGuard(externalGuard) {
|
|
|
2067
2310
|
}
|
|
2068
2311
|
__name(createDaemonToolGuard, "createDaemonToolGuard");
|
|
2069
2312
|
export {
|
|
2070
|
-
|
|
2313
|
+
containsCmdRewriteSyntax,
|
|
2314
|
+
containsUnmodelledWindowsSyntax,
|
|
2315
|
+
createDaemonToolGuard,
|
|
2316
|
+
preserveWindowsPathSeparators
|
|
2071
2317
|
};
|
|
2072
2318
|
/**
|
|
2073
2319
|
* @license
|