@qwen-code/qwen-code 0.22.0 → 0.22.2-preview.0
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-XYQOMOBE.js +112 -0
- package/chunks/{StandaloneSessionPicker-KTHPCSR6.js → StandaloneSessionPicker-KFMJILVY.js} +87 -86
- package/chunks/{acp-startup-profiler-T4GEAPLX.js → acp-startup-profiler-GNYAL6LI.js} +2 -2
- package/chunks/{acpAgent-CRY3JZ5O.js → acpAgent-KNFTTDWL.js} +2216 -1931
- package/chunks/agent-6V6MZOA7.js +97 -0
- package/chunks/agent-headless-3ZC4LX3E.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-LFFLHLU5.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-CAL2HWAH.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/{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-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-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-S4C4JJKE.js → chunk-3UXJFOB3.js} +5 -5
- package/chunks/{chunk-DJEHYM4H.js → chunk-3UZCLCXR.js} +3 -3
- package/chunks/{chunk-BUGYW6FB.js → chunk-4IDJQOCO.js} +1 -1
- package/chunks/chunk-4K7NQDCG.js +104 -0
- package/chunks/{chunk-WS7PAXXR.js → chunk-4N6UAPD3.js} +18 -13
- package/chunks/{chunk-VYC7XFYV.js → chunk-4PLAO7FS.js} +5 -5
- package/chunks/{chunk-UZPYR3EV.js → chunk-4TPAG3O7.js} +1 -1
- package/chunks/{chunk-2E3V7G6Y.js → chunk-4X5GYZFO.js} +55 -50
- package/chunks/{chunk-XYQHT3AW.js → chunk-4Z3PSHN4.js} +2 -2
- package/chunks/{chunk-PDL6LKB5.js → chunk-5AFPOEY3.js} +1 -1
- package/chunks/{chunk-BB5IMQCV.js → chunk-5CW26JIE.js} +2 -2
- package/chunks/{chunk-7KOFLDEP.js → chunk-5JTIYALA.js} +1 -1
- package/chunks/{chunk-U2UYQMM6.js → chunk-5NV2AN56.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-BEGIBJAZ.js → chunk-6HOU52QX.js} +4 -4
- package/chunks/{chunk-GAHYKJPV.js → chunk-6US7BF3G.js} +7 -59
- 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-ND7NOI4P.js → chunk-7CWEZQ6T.js} +0 -15
- package/chunks/{chunk-DWCKACFL.js → chunk-7DPKPBOQ.js} +2 -2
- package/chunks/{chunk-X7V3N6YH.js → chunk-7JJUFI36.js} +218 -37
- package/chunks/{chunk-45NQKMYB.js → chunk-7JPW6IYH.js} +1 -1
- package/chunks/{chunk-HDKCKCYO.js → chunk-7QGEJI7M.js} +1 -1
- package/chunks/{chunk-PHJJ3RVO.js → chunk-7XKW4CVK.js} +7 -15
- package/chunks/{chunk-O5Z7EB6Y.js → chunk-AYHQZBJ4.js} +170 -207
- package/chunks/{chunk-7DYNJFES.js → chunk-AYVIGUUK.js} +6 -1
- package/chunks/{chunk-43T5WDQ7.js → chunk-BFSFJR3D.js} +1 -1
- package/chunks/{chunk-OARZJFZX.js → chunk-BGWT7VBV.js} +4 -4
- package/chunks/{chunk-AP3B7LKD.js → chunk-BKDAF7ES.js} +2 -2
- package/chunks/{chunk-B6UBOIFE.js → chunk-BQBUZDDH.js} +14 -11
- package/chunks/{chunk-6PCOVQO2.js → chunk-BU7OUDQB.js} +8 -8
- package/chunks/{chunk-VLRBJ24J.js → chunk-BVE5EMIG.js} +2 -2
- package/chunks/{chunk-6UQSU7CQ.js → chunk-C2BAEV64.js} +58 -107
- 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-T6XLJRQY.js → chunk-D6XO27Z5.js} +36509 -5182
- 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-P47E4SJC.js → chunk-DWRFOH3G.js} +3 -3
- package/chunks/{chunk-J5ZDDUKM.js → chunk-DX5FZGHZ.js} +4 -4
- 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-YZBDKFRQ.js → chunk-EADEZDPO.js} +993 -895
- 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-W4CRPSC5.js → chunk-ELY4QVIB.js} +1 -1
- package/chunks/{chunk-AVCCKIZ6.js → chunk-EWBY3PFB.js} +1 -1
- package/chunks/chunk-FBX2SDQ4.js +48 -0
- package/chunks/{chunk-C72BXMJ5.js → chunk-FJWICLG7.js} +1 -1
- 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-2A4C2MEG.js → chunk-FY62MBPS.js} +35 -12
- package/chunks/{chunk-VFACN2CE.js → chunk-GNMJNDZE.js} +1 -1
- package/chunks/{chunk-6QSA4JHL.js → chunk-GQAIZL3H.js} +2772 -814
- package/chunks/{chunk-PZRUV52H.js → chunk-GTUKW3I6.js} +20 -2
- package/chunks/{chunk-7DMTAQJ6.js → chunk-GXWY24QS.js} +132 -49
- package/chunks/chunk-GYTKQYDB.js +23 -0
- package/chunks/{chunk-VMJL7RH6.js → chunk-GZJUCMH4.js} +4 -4
- package/chunks/{chunk-2GXYDNXP.js → chunk-H2MDBYLL.js} +8 -8
- package/chunks/{chunk-RDG44S5I.js → chunk-H4JK2A2V.js} +2 -2
- package/chunks/{chunk-FVBVJEBG.js → chunk-HOANA6GC.js} +10 -8
- package/chunks/{chunk-AO4M6NMD.js → chunk-I6HWGOWD.js} +60 -20
- package/chunks/{chunk-7IV52LTO.js → chunk-I6VVOZDK.js} +2 -2
- 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-OVH5Y7KS.js → chunk-IN66KO3N.js} +19 -3
- package/chunks/{chunk-ZRYQMWEP.js → chunk-IPQA4SR5.js} +2 -2
- package/chunks/{chunk-AZF6SME3.js → chunk-JECO75XD.js} +3 -3
- package/chunks/{chunk-MQP3MHWN.js → chunk-JJJD6QCC.js} +21 -15
- 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-K5PNJ6VL.js} +13 -13
- package/chunks/{chunk-NW35NVFN.js → chunk-K6FURWIX.js} +4 -4
- package/chunks/{chunk-6NFAEG54.js → chunk-KOJ6MHD5.js} +24 -13
- package/chunks/{chunk-A5F63FEW.js → chunk-L436XFLJ.js} +1 -1
- package/chunks/{chunk-GIWB5QLV.js → chunk-LJP2BBMK.js} +4 -4
- package/chunks/{chunk-FYZMB6DB.js → chunk-LKOSBI2M.js} +11 -11
- package/chunks/{create-sub-session-XBCVGNFU.js → chunk-LRKMQPMD.js} +4 -6
- package/chunks/{chunk-5HJUPACR.js → chunk-LRLMDV5X.js} +2 -2
- package/chunks/{chunk-MHG6NDS6.js → chunk-MB4OCRQ2.js} +2 -2
- package/chunks/{chunk-IIWGSX4L.js → chunk-MI7CMXPU.js} +1 -1
- package/chunks/{chunk-ZLCT4C5A.js → chunk-MZS7GEC7.js} +1 -1
- package/chunks/{chunk-WWUSHZ7M.js → chunk-N4B7VPXK.js} +5 -5
- package/chunks/{chunk-BMCSKS37.js → chunk-NUHCXGAD.js} +6 -6
- package/chunks/{chunk-XZJKSETB.js → chunk-O3BUXIPM.js} +3 -3
- package/chunks/{chunk-4XPSVIED.js → chunk-O5YGAEQS.js} +6 -6
- package/chunks/{chunk-ZRFUT5VV.js → chunk-OAAPGZVH.js} +7 -7
- package/chunks/{chunk-UU4WC7DK.js → chunk-OGZAQWJP.js} +82 -12
- package/chunks/{chunk-5XHAOUWD.js → chunk-OI2DR6QB.js} +3 -3
- 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-MPHLIJYL.js → chunk-QB5DD75E.js} +14 -8
- package/chunks/chunk-QHMLYMMS.js +32 -0
- package/chunks/{chunk-4CWDWDL6.js → chunk-RCDXSEJ5.js} +1 -1
- package/chunks/{chunk-L4HVF7LM.js → chunk-RQ5ASDFQ.js} +3 -3
- package/chunks/{chunk-PXOJLJ5W.js → chunk-RQAMNZ4Y.js} +333 -184
- package/chunks/{chunk-K52PZNU4.js → chunk-RRKNX553.js} +2 -2
- package/chunks/{chunk-RPJQ3O4M.js → chunk-RUJTCU46.js} +31 -41
- package/chunks/{chunk-62JOGZL5.js → chunk-RUQBJS34.js} +199 -87
- 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-UUQFJILB.js → chunk-SQPOJ4ZI.js} +15 -3
- 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-KVGR4MCF.js → chunk-TOF4UZHH.js} +3 -3
- package/chunks/{chunk-7HFULI45.js → chunk-TQYZG5DU.js} +3 -3
- package/chunks/{chunk-LD5VIJ7S.js → chunk-TWSKM647.js} +1 -1
- package/chunks/{chunk-25NESM4G.js → chunk-TWUA5EIL.js} +29 -5
- package/chunks/{chunk-6FRJEE2S.js → chunk-U66FXEH2.js} +5 -5
- package/chunks/{chunk-7NBVNAJJ.js → chunk-UCSV2IZW.js} +3 -3
- package/chunks/chunk-UVDOONRU.js +20 -0
- 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-ZS5BHEPD.js → chunk-VLY6XOBY.js} +1 -1
- package/chunks/{chunk-KIVGVFMM.js → chunk-VUZY6MEQ.js} +16 -4
- 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-7JBHIQS2.js → chunk-XO4NGYRP.js} +7 -13
- package/chunks/{chunk-F6WFNA7U.js → chunk-XZA32HII.js} +3 -6
- package/chunks/{chunk-VEND4KA4.js → chunk-YT5XN3HV.js} +1 -1
- 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-ZYNTSXWK.js +32 -0
- package/chunks/config-utils-YMJNA25D.js +113 -0
- package/chunks/contextCommand-WMPSNKPG.js +108 -0
- package/chunks/{core-runtime-CES6JSVV.js → core-runtime-6TBMEULI.js} +63 -58
- package/chunks/create-sub-session-RVHSWVAP.js +17 -0
- package/chunks/{create-sub-session-UJTPMVOG.js → create-sub-session-SAOMTP62.js} +60 -58
- 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-TYLESM6G.js} +338 -92
- package/chunks/daemon-status-provider-YBQAZD3G.js +118 -0
- package/chunks/daemon-trust-policy-O75ZSIJN.js +114 -0
- package/chunks/{daemon-trust-policy-monitor-TK4K7M63.js → daemon-trust-policy-monitor-WWX7I7P6.js} +68 -66
- package/chunks/{de-RYUHH2C6.js → de-X6HLSIFE.js} +1 -0
- package/chunks/deferred-core-runtime-MGCCR6LA.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-2EJKJET3.js +109 -0
- package/chunks/{edit-A2633SLR.js → edit-GBDKI5DZ.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-2KTIPPM3.js} +47 -47
- package/chunks/environment-XJ75LJ6N.js +131 -0
- package/chunks/errors-XEI3SJRV.js +115 -0
- package/chunks/{exit-worktree-3UT3SSWT.js → exit-worktree-G2QATUCV.js} +7 -8
- package/chunks/exitPlanMode-AUMYTFIQ.js +85 -0
- package/chunks/{fast-path-3AVP3G35.js → fast-path-TU7U2ETU.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-FKMYDP64.js} +129 -123
- package/chunks/{geminiContentGenerator-B2FOJJDJ.js → geminiContentGenerator-WSHP7CSR.js} +16 -13
- package/chunks/{glob-7YGXE6OV.js → glob-EOM6XK7H.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-S4CLP36D.js +111 -0
- package/chunks/i18n-XX7U2Q3X.js +126 -0
- package/chunks/{image-gen-7CSCJ73T.js → image-gen-63NN2H5N.js} +9 -11
- package/chunks/initializer-D3CA3272.js +115 -0
- package/chunks/installationInfo-HVDQOSIE.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-XUDSTGT3.js +118 -0
- package/chunks/{list-agents-43XUEXJV.js → list-agents-EXRSHIDJ.js} +2 -2
- package/chunks/loadedSettingsAdapter-ZOJ4QEID.js +112 -0
- package/chunks/{loggingContentGenerator-RNE66CKK.js → loggingContentGenerator-TUDGCVUG.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-5K4FWFX2.js} +61 -59
- package/chunks/mcp-QJ6AUYE5.js +112 -0
- package/chunks/{monitor-PXYSGSUN.js → monitor-UUHIAGT7.js} +47 -47
- package/chunks/nonInteractiveCli-PAWO75YO.js +185 -0
- package/chunks/{notebook-edit-ISIBJVBR.js → notebook-edit-GZPB3Q57.js} +48 -48
- package/chunks/open-with-auth-4UI3KHUR.js +55 -0
- package/chunks/{openaiContentGenerator-6TBOPEGT.js → openaiContentGenerator-RPP6YBS3.js} +29 -30
- package/chunks/pidfile-RF3WUFKR.js +113 -0
- package/chunks/{processUtils-YK2TDTTU.js → processUtils-ENAY2GSA.js} +2 -2
- package/chunks/prompt-terminal-ledger-4CCXZ2LF.js +107 -0
- package/chunks/{pt-QT5N2Q6Q.js → pt-XN2YWJVM.js} +1 -0
- package/chunks/{qwenContentGenerator-CLDMA2Y4.js → qwenContentGenerator-GLUZVJAU.js} +53 -59
- package/chunks/{qwenOAuth2-DLDR6UC5.js → qwenOAuth2-JIYAWXTW.js} +8 -10
- package/chunks/{read-file-2HOD2ATO.js → read-file-75R5LUWQ.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-GFPJD2XB.js +120 -0
- package/chunks/ripGrep-FNLXQYBS.js +39 -0
- package/chunks/{ru-STMG5BPD.js → ru-OLTMFJEW.js} +1 -0
- package/chunks/{run-qwen-serve-XJHOW2NY.js → run-qwen-serve-FJD4VMI2.js} +622 -79
- package/chunks/{runtime-J4SPTJRQ.js → runtime-INDSJB4K.js} +73 -71
- package/chunks/{scheduler-VRAEZZ4E.js → scheduler-Z52TCSUG.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-GVD2WXVL.js +120 -0
- package/chunks/{server-74ONDK62.js → server-PSN5OOSX.js} +965 -405
- package/chunks/{session-BO6VBWJP.js → session-JPE34X6Q.js} +151 -140
- package/chunks/{settings-35QZNFDG.js → settings-IVGC4UYK.js} +71 -69
- package/chunks/shell-A5PZGPBR.js +95 -0
- package/chunks/{skill-DKEMQSNJ.js → skill-UUXQPDEH.js} +108 -25
- package/chunks/skill-settings-WVRXLTK4.js +120 -0
- package/chunks/spawnChannel-KTURLD4B.js +113 -0
- package/chunks/standalone-update-IRFRNGAA.js +120 -0
- package/chunks/{startInteractiveUI-J2QSGWPU.js → startInteractiveUI-MC4GLL6G.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-WO5ZBCFW.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-KAVKRN7U.js} +47 -47
- package/chunks/terminal-image-renderer-SMRRNI6Z.js +116 -0
- package/chunks/theme-manager-A7CPN7F4.js +104 -0
- package/chunks/{todoWrite-FJJTY2TI.js → todoWrite-435EO2CS.js} +4 -4
- package/chunks/{tool-search-Y4KL3LRE.js → tool-search-FBN6OC6U.js} +18 -19
- package/chunks/total-session-admission-B7U6UWKQ.js +114 -0
- package/chunks/trustedFolders-B4LPJBFK.js +124 -0
- package/chunks/{update-relaunch-OHVFN6KF.js → update-relaunch-X5TJVKVG.js} +6 -6
- package/chunks/updateCheck-JCLP5JFT.js +120 -0
- package/chunks/useAutoAcceptIndicator-VBT3NKDM.js +122 -0
- package/chunks/{validateNonInterActiveAuth-WJXH426F.js → validateNonInterActiveAuth-W7HYH5ZN.js} +113 -106
- package/chunks/{version-QMDRADXM.js → version-JG4J76GL.js} +2 -2
- package/chunks/{web-fetch-ROS6P4LP.js → web-fetch-SPLMEDWF.js} +25 -242
- package/chunks/{web-search-JS3E76O6.js → web-search-PNW6OEH6.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-QHOIIXJO.js} +635 -94
- package/chunks/workspace-providers-status-653DTR35.js +116 -0
- package/chunks/{workspace-registration-store-SU4EJKSD.js → workspace-registration-store-H375IYR2.js} +1 -1
- package/chunks/workspace-registry-XTLCD7Z2.js +123 -0
- package/chunks/workspace-service-KVJWACCS.js +131 -0
- package/chunks/workspace-skills-status-TRJ2VWGU.js +115 -0
- package/chunks/{workspace-trust-reconciler-4Y4F7XIX.js → workspace-trust-reconciler-6SC6RKQE.js} +74 -73
- package/chunks/write-file-EAZSJZKR.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-WGNPZ572.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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
require_lib
|
|
5
|
-
} from "./chunk-HMJ2P3SV.js";
|
|
6
3
|
import {
|
|
7
4
|
require_mime_db
|
|
8
5
|
} from "./chunk-K6KS3LTN.js";
|
|
6
|
+
import {
|
|
7
|
+
require_lib
|
|
8
|
+
} from "./chunk-HMJ2P3SV.js";
|
|
9
9
|
import {
|
|
10
10
|
require_content_type
|
|
11
11
|
} from "./chunk-GOFAQQZA.js";
|
|
@@ -9060,11 +9060,11 @@ var require_mime_types = __commonJS({
|
|
|
9060
9060
|
return exts[0];
|
|
9061
9061
|
}
|
|
9062
9062
|
__name(extension, "extension");
|
|
9063
|
-
function lookup(
|
|
9064
|
-
if (!
|
|
9063
|
+
function lookup(path) {
|
|
9064
|
+
if (!path || typeof path !== "string") {
|
|
9065
9065
|
return false;
|
|
9066
9066
|
}
|
|
9067
|
-
var extension2 = extname("x." +
|
|
9067
|
+
var extension2 = extname("x." + path).toLowerCase().slice(1);
|
|
9068
9068
|
if (!extension2) {
|
|
9069
9069
|
return false;
|
|
9070
9070
|
}
|
|
@@ -10223,13 +10223,13 @@ var require_view = __commonJS({
|
|
|
10223
10223
|
"use strict";
|
|
10224
10224
|
init_esbuild_shims();
|
|
10225
10225
|
var debug = require_src()("express:view");
|
|
10226
|
-
var
|
|
10226
|
+
var path = __require("node:path");
|
|
10227
10227
|
var fs = __require("node:fs");
|
|
10228
|
-
var
|
|
10229
|
-
var
|
|
10230
|
-
var extname =
|
|
10231
|
-
var
|
|
10232
|
-
var resolve =
|
|
10228
|
+
var dirname = path.dirname;
|
|
10229
|
+
var basename = path.basename;
|
|
10230
|
+
var extname = path.extname;
|
|
10231
|
+
var join = path.join;
|
|
10232
|
+
var resolve = path.resolve;
|
|
10233
10233
|
module.exports = View;
|
|
10234
10234
|
function View(name, options) {
|
|
10235
10235
|
var opts = options || {};
|
|
@@ -10259,17 +10259,17 @@ var require_view = __commonJS({
|
|
|
10259
10259
|
}
|
|
10260
10260
|
__name(View, "View");
|
|
10261
10261
|
View.prototype.lookup = /* @__PURE__ */ __name(function lookup(name) {
|
|
10262
|
-
var
|
|
10262
|
+
var path2;
|
|
10263
10263
|
var roots = [].concat(this.root);
|
|
10264
10264
|
debug('lookup "%s"', name);
|
|
10265
|
-
for (var i = 0; i < roots.length && !
|
|
10265
|
+
for (var i = 0; i < roots.length && !path2; i++) {
|
|
10266
10266
|
var root = roots[i];
|
|
10267
10267
|
var loc = resolve(root, name);
|
|
10268
|
-
var dir =
|
|
10269
|
-
var file =
|
|
10270
|
-
|
|
10268
|
+
var dir = dirname(loc);
|
|
10269
|
+
var file = basename(loc);
|
|
10270
|
+
path2 = this.resolve(dir, file);
|
|
10271
10271
|
}
|
|
10272
|
-
return
|
|
10272
|
+
return path2;
|
|
10273
10273
|
}, "lookup");
|
|
10274
10274
|
View.prototype.render = /* @__PURE__ */ __name(function render(options, callback) {
|
|
10275
10275
|
var sync = true;
|
|
@@ -10291,21 +10291,21 @@ var require_view = __commonJS({
|
|
|
10291
10291
|
}, "render");
|
|
10292
10292
|
View.prototype.resolve = /* @__PURE__ */ __name(function resolve2(dir, file) {
|
|
10293
10293
|
var ext = this.ext;
|
|
10294
|
-
var
|
|
10295
|
-
var stat = tryStat(
|
|
10294
|
+
var path2 = join(dir, file);
|
|
10295
|
+
var stat = tryStat(path2);
|
|
10296
10296
|
if (stat && stat.isFile()) {
|
|
10297
|
-
return
|
|
10297
|
+
return path2;
|
|
10298
10298
|
}
|
|
10299
|
-
|
|
10300
|
-
stat = tryStat(
|
|
10299
|
+
path2 = join(dir, basename(file, ext), "index" + ext);
|
|
10300
|
+
stat = tryStat(path2);
|
|
10301
10301
|
if (stat && stat.isFile()) {
|
|
10302
|
-
return
|
|
10302
|
+
return path2;
|
|
10303
10303
|
}
|
|
10304
10304
|
}, "resolve");
|
|
10305
|
-
function tryStat(
|
|
10306
|
-
debug('stat "%s"',
|
|
10305
|
+
function tryStat(path2) {
|
|
10306
|
+
debug('stat "%s"', path2);
|
|
10307
10307
|
try {
|
|
10308
|
-
return fs.statSync(
|
|
10308
|
+
return fs.statSync(path2);
|
|
10309
10309
|
} catch (e) {
|
|
10310
10310
|
return void 0;
|
|
10311
10311
|
}
|
|
@@ -11486,15 +11486,15 @@ var require_dist3 = __commonJS({
|
|
|
11486
11486
|
let index = 0;
|
|
11487
11487
|
function consumeUntil(end) {
|
|
11488
11488
|
const output = [];
|
|
11489
|
-
let
|
|
11489
|
+
let path = "";
|
|
11490
11490
|
function writePath() {
|
|
11491
|
-
if (!
|
|
11491
|
+
if (!path)
|
|
11492
11492
|
return;
|
|
11493
11493
|
output.push({
|
|
11494
11494
|
type: "text",
|
|
11495
|
-
value: encodePath(
|
|
11495
|
+
value: encodePath(path)
|
|
11496
11496
|
});
|
|
11497
|
-
|
|
11497
|
+
path = "";
|
|
11498
11498
|
}
|
|
11499
11499
|
__name(writePath, "writePath");
|
|
11500
11500
|
while (index < chars.length) {
|
|
@@ -11507,7 +11507,7 @@ var require_dist3 = __commonJS({
|
|
|
11507
11507
|
if (index === chars.length) {
|
|
11508
11508
|
throw new PathError(`Unexpected end after \\ at index ${index}`, str);
|
|
11509
11509
|
}
|
|
11510
|
-
|
|
11510
|
+
path += chars[index++];
|
|
11511
11511
|
continue;
|
|
11512
11512
|
}
|
|
11513
11513
|
if (value === ":" || value === "*") {
|
|
@@ -11551,7 +11551,7 @@ var require_dist3 = __commonJS({
|
|
|
11551
11551
|
if (value === "}" || value === "(" || value === ")" || value === "[" || value === "]" || value === "+" || value === "?" || value === "!") {
|
|
11552
11552
|
throw new PathError(`Unexpected ${value} at index ${index - 1}`, str);
|
|
11553
11553
|
}
|
|
11554
|
-
|
|
11554
|
+
path += value;
|
|
11555
11555
|
}
|
|
11556
11556
|
if (end) {
|
|
11557
11557
|
throw new PathError(`Unexpected end at index ${index}, expected ${end}`, str);
|
|
@@ -11563,17 +11563,17 @@ var require_dist3 = __commonJS({
|
|
|
11563
11563
|
return new TokenData(consumeUntil(""), str);
|
|
11564
11564
|
}
|
|
11565
11565
|
__name(parse, "parse");
|
|
11566
|
-
function compile(
|
|
11566
|
+
function compile(path, options = {}) {
|
|
11567
11567
|
const { encode = encodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;
|
|
11568
|
-
const data = typeof
|
|
11568
|
+
const data = typeof path === "object" ? path : parse(path, options);
|
|
11569
11569
|
const fn = tokensToFunction(data.tokens, delimiter, encode);
|
|
11570
|
-
return /* @__PURE__ */ __name(function
|
|
11570
|
+
return /* @__PURE__ */ __name(function path2(params = {}) {
|
|
11571
11571
|
const missing = [];
|
|
11572
|
-
const
|
|
11572
|
+
const path3 = fn(params, missing);
|
|
11573
11573
|
if (missing.length) {
|
|
11574
11574
|
throw new TypeError(`Missing parameters: ${missing.join(", ")}`);
|
|
11575
11575
|
}
|
|
11576
|
-
return
|
|
11576
|
+
return path3;
|
|
11577
11577
|
}, "path");
|
|
11578
11578
|
}
|
|
11579
11579
|
__name(compile, "compile");
|
|
@@ -11638,9 +11638,9 @@ var require_dist3 = __commonJS({
|
|
|
11638
11638
|
};
|
|
11639
11639
|
}
|
|
11640
11640
|
__name(tokenToFunction, "tokenToFunction");
|
|
11641
|
-
function match(
|
|
11641
|
+
function match(path, options = {}) {
|
|
11642
11642
|
const { decode = decodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;
|
|
11643
|
-
const { regexp, keys } = pathToRegexp(
|
|
11643
|
+
const { regexp, keys } = pathToRegexp(path, options);
|
|
11644
11644
|
const decoders = keys.map((key) => {
|
|
11645
11645
|
if (decode === false)
|
|
11646
11646
|
return NOOP_VALUE;
|
|
@@ -11652,7 +11652,7 @@ var require_dist3 = __commonJS({
|
|
|
11652
11652
|
const m = regexp.exec(input);
|
|
11653
11653
|
if (!m)
|
|
11654
11654
|
return false;
|
|
11655
|
-
const
|
|
11655
|
+
const path2 = m[0];
|
|
11656
11656
|
const params = /* @__PURE__ */ Object.create(null);
|
|
11657
11657
|
for (let i = 1; i < m.length; i++) {
|
|
11658
11658
|
if (m[i] === void 0)
|
|
@@ -11661,22 +11661,22 @@ var require_dist3 = __commonJS({
|
|
|
11661
11661
|
const decoder = decoders[i - 1];
|
|
11662
11662
|
params[key.name] = decoder(m[i]);
|
|
11663
11663
|
}
|
|
11664
|
-
return { path:
|
|
11664
|
+
return { path: path2, params };
|
|
11665
11665
|
}, "match");
|
|
11666
11666
|
}
|
|
11667
11667
|
__name(match, "match");
|
|
11668
|
-
function pathToRegexp(
|
|
11668
|
+
function pathToRegexp(path, options = {}) {
|
|
11669
11669
|
const { delimiter = DEFAULT_DELIMITER, end = true, sensitive = false, trailing = true } = options;
|
|
11670
11670
|
const keys = [];
|
|
11671
11671
|
let source = "";
|
|
11672
11672
|
let combinations = 0;
|
|
11673
|
-
function process2(
|
|
11674
|
-
if (Array.isArray(
|
|
11675
|
-
for (const p of
|
|
11673
|
+
function process2(path2) {
|
|
11674
|
+
if (Array.isArray(path2)) {
|
|
11675
|
+
for (const p of path2)
|
|
11676
11676
|
process2(p);
|
|
11677
11677
|
return;
|
|
11678
11678
|
}
|
|
11679
|
-
const data = typeof
|
|
11679
|
+
const data = typeof path2 === "object" ? path2 : parse(path2, options);
|
|
11680
11680
|
flatten(data.tokens, 0, [], (tokens) => {
|
|
11681
11681
|
if (combinations >= 256) {
|
|
11682
11682
|
throw new PathError("Too many path combinations", data.originalPath);
|
|
@@ -11688,7 +11688,7 @@ var require_dist3 = __commonJS({
|
|
|
11688
11688
|
});
|
|
11689
11689
|
}
|
|
11690
11690
|
__name(process2, "process");
|
|
11691
|
-
process2(
|
|
11691
|
+
process2(path);
|
|
11692
11692
|
let pattern = `^(?:${source})`;
|
|
11693
11693
|
if (trailing)
|
|
11694
11694
|
pattern += "(?:" + escape(delimiter) + "$)?";
|
|
@@ -11838,18 +11838,18 @@ var require_layer = __commonJS({
|
|
|
11838
11838
|
var TRAILING_SLASH_REGEXP = /\/+$/;
|
|
11839
11839
|
var MATCHING_GROUP_REGEXP = /\((?:\?<(.*?)>)?(?!\?)/g;
|
|
11840
11840
|
module.exports = Layer;
|
|
11841
|
-
function Layer(
|
|
11841
|
+
function Layer(path, options, fn) {
|
|
11842
11842
|
if (!(this instanceof Layer)) {
|
|
11843
|
-
return new Layer(
|
|
11843
|
+
return new Layer(path, options, fn);
|
|
11844
11844
|
}
|
|
11845
|
-
debug("new %o",
|
|
11845
|
+
debug("new %o", path);
|
|
11846
11846
|
const opts = options || {};
|
|
11847
11847
|
this.handle = fn;
|
|
11848
11848
|
this.keys = [];
|
|
11849
11849
|
this.name = fn.name || "<anonymous>";
|
|
11850
11850
|
this.params = void 0;
|
|
11851
11851
|
this.path = void 0;
|
|
11852
|
-
this.slash =
|
|
11852
|
+
this.slash = path === "/" && opts.end === false;
|
|
11853
11853
|
function matcher(_path) {
|
|
11854
11854
|
if (_path instanceof RegExp) {
|
|
11855
11855
|
const keys = [];
|
|
@@ -11889,7 +11889,7 @@ var require_layer = __commonJS({
|
|
|
11889
11889
|
});
|
|
11890
11890
|
}
|
|
11891
11891
|
__name(matcher, "matcher");
|
|
11892
|
-
this.matchers = Array.isArray(
|
|
11892
|
+
this.matchers = Array.isArray(path) ? path.map(matcher) : [matcher(path)];
|
|
11893
11893
|
}
|
|
11894
11894
|
__name(Layer, "Layer");
|
|
11895
11895
|
Layer.prototype.handleError = /* @__PURE__ */ __name(function handleError(error, req, res, next) {
|
|
@@ -11930,9 +11930,9 @@ var require_layer = __commonJS({
|
|
|
11930
11930
|
next(err);
|
|
11931
11931
|
}
|
|
11932
11932
|
}, "handleRequest");
|
|
11933
|
-
Layer.prototype.match = /* @__PURE__ */ __name(function match(
|
|
11933
|
+
Layer.prototype.match = /* @__PURE__ */ __name(function match(path) {
|
|
11934
11934
|
let match2;
|
|
11935
|
-
if (
|
|
11935
|
+
if (path != null) {
|
|
11936
11936
|
if (this.slash) {
|
|
11937
11937
|
this.params = {};
|
|
11938
11938
|
this.path = "";
|
|
@@ -11940,7 +11940,7 @@ var require_layer = __commonJS({
|
|
|
11940
11940
|
}
|
|
11941
11941
|
let i = 0;
|
|
11942
11942
|
while (!match2 && i < this.matchers.length) {
|
|
11943
|
-
match2 = this.matchers[i](
|
|
11943
|
+
match2 = this.matchers[i](path);
|
|
11944
11944
|
i++;
|
|
11945
11945
|
}
|
|
11946
11946
|
}
|
|
@@ -11969,13 +11969,13 @@ var require_layer = __commonJS({
|
|
|
11969
11969
|
}
|
|
11970
11970
|
}
|
|
11971
11971
|
__name(decodeParam, "decodeParam");
|
|
11972
|
-
function loosen(
|
|
11973
|
-
if (
|
|
11974
|
-
return
|
|
11972
|
+
function loosen(path) {
|
|
11973
|
+
if (path instanceof RegExp || path === "/") {
|
|
11974
|
+
return path;
|
|
11975
11975
|
}
|
|
11976
|
-
return Array.isArray(
|
|
11976
|
+
return Array.isArray(path) ? path.map(function(p) {
|
|
11977
11977
|
return loosen(p);
|
|
11978
|
-
}) : String(
|
|
11978
|
+
}) : String(path).replace(TRAILING_SLASH_REGEXP, "");
|
|
11979
11979
|
}
|
|
11980
11980
|
__name(loosen, "loosen");
|
|
11981
11981
|
}
|
|
@@ -11993,9 +11993,9 @@ var require_route = __commonJS({
|
|
|
11993
11993
|
var flatten = Array.prototype.flat;
|
|
11994
11994
|
var methods = METHODS.map((method) => method.toLowerCase());
|
|
11995
11995
|
module.exports = Route;
|
|
11996
|
-
function Route(
|
|
11997
|
-
debug("new %o",
|
|
11998
|
-
this.path =
|
|
11996
|
+
function Route(path) {
|
|
11997
|
+
debug("new %o", path);
|
|
11998
|
+
this.path = path;
|
|
11999
11999
|
this.stack = [];
|
|
12000
12000
|
this.methods = /* @__PURE__ */ Object.create(null);
|
|
12001
12001
|
}
|
|
@@ -12208,8 +12208,8 @@ var require_router = __commonJS({
|
|
|
12208
12208
|
if (++sync > 100) {
|
|
12209
12209
|
return setImmediate(next, err);
|
|
12210
12210
|
}
|
|
12211
|
-
const
|
|
12212
|
-
if (
|
|
12211
|
+
const path = getPathname(req);
|
|
12212
|
+
if (path == null) {
|
|
12213
12213
|
return done(layerError);
|
|
12214
12214
|
}
|
|
12215
12215
|
let layer;
|
|
@@ -12217,7 +12217,7 @@ var require_router = __commonJS({
|
|
|
12217
12217
|
let route;
|
|
12218
12218
|
while (match !== true && idx < stack.length) {
|
|
12219
12219
|
layer = stack[idx++];
|
|
12220
|
-
match = matchLayer(layer,
|
|
12220
|
+
match = matchLayer(layer, path);
|
|
12221
12221
|
route = layer.route;
|
|
12222
12222
|
if (typeof match !== "boolean") {
|
|
12223
12223
|
layerError = layerError || match;
|
|
@@ -12255,19 +12255,19 @@ var require_router = __commonJS({
|
|
|
12255
12255
|
} else if (route) {
|
|
12256
12256
|
layer.handleRequest(req, res, next);
|
|
12257
12257
|
} else {
|
|
12258
|
-
trimPrefix(layer, layerError, layerPath,
|
|
12258
|
+
trimPrefix(layer, layerError, layerPath, path);
|
|
12259
12259
|
}
|
|
12260
12260
|
sync = 0;
|
|
12261
12261
|
});
|
|
12262
12262
|
}
|
|
12263
12263
|
__name(next, "next");
|
|
12264
|
-
function trimPrefix(layer, layerError, layerPath,
|
|
12264
|
+
function trimPrefix(layer, layerError, layerPath, path) {
|
|
12265
12265
|
if (layerPath.length !== 0) {
|
|
12266
|
-
if (layerPath !==
|
|
12266
|
+
if (layerPath !== path.substring(0, layerPath.length)) {
|
|
12267
12267
|
next(layerError);
|
|
12268
12268
|
return;
|
|
12269
12269
|
}
|
|
12270
|
-
const c =
|
|
12270
|
+
const c = path[layerPath.length];
|
|
12271
12271
|
if (c && c !== "/") {
|
|
12272
12272
|
next(layerError);
|
|
12273
12273
|
return;
|
|
@@ -12292,7 +12292,7 @@ var require_router = __commonJS({
|
|
|
12292
12292
|
}, "handle");
|
|
12293
12293
|
Router.prototype.use = /* @__PURE__ */ __name(function use(handler) {
|
|
12294
12294
|
let offset = 0;
|
|
12295
|
-
let
|
|
12295
|
+
let path = "/";
|
|
12296
12296
|
if (typeof handler !== "function") {
|
|
12297
12297
|
let arg = handler;
|
|
12298
12298
|
while (Array.isArray(arg) && arg.length !== 0) {
|
|
@@ -12300,7 +12300,7 @@ var require_router = __commonJS({
|
|
|
12300
12300
|
}
|
|
12301
12301
|
if (typeof arg !== "function") {
|
|
12302
12302
|
offset = 1;
|
|
12303
|
-
|
|
12303
|
+
path = handler;
|
|
12304
12304
|
}
|
|
12305
12305
|
}
|
|
12306
12306
|
const callbacks = flatten.call(slice.call(arguments, offset), Infinity);
|
|
@@ -12312,8 +12312,8 @@ var require_router = __commonJS({
|
|
|
12312
12312
|
if (typeof fn !== "function") {
|
|
12313
12313
|
throw new TypeError("argument handler must be a function");
|
|
12314
12314
|
}
|
|
12315
|
-
debug("use %o %s",
|
|
12316
|
-
const layer = new Layer(
|
|
12315
|
+
debug("use %o %s", path, fn.name || "<anonymous>");
|
|
12316
|
+
const layer = new Layer(path, {
|
|
12317
12317
|
sensitive: this.caseSensitive,
|
|
12318
12318
|
strict: false,
|
|
12319
12319
|
end: false
|
|
@@ -12323,9 +12323,9 @@ var require_router = __commonJS({
|
|
|
12323
12323
|
}
|
|
12324
12324
|
return this;
|
|
12325
12325
|
}, "use");
|
|
12326
|
-
Router.prototype.route = /* @__PURE__ */ __name(function route(
|
|
12327
|
-
const route2 = new Route(
|
|
12328
|
-
const layer = new Layer(
|
|
12326
|
+
Router.prototype.route = /* @__PURE__ */ __name(function route(path) {
|
|
12327
|
+
const route2 = new Route(path);
|
|
12328
|
+
const layer = new Layer(path, {
|
|
12329
12329
|
sensitive: this.caseSensitive,
|
|
12330
12330
|
strict: this.strict,
|
|
12331
12331
|
end: true
|
|
@@ -12339,8 +12339,8 @@ var require_router = __commonJS({
|
|
|
12339
12339
|
return route2;
|
|
12340
12340
|
}, "route");
|
|
12341
12341
|
methods.concat("all").forEach(function(method) {
|
|
12342
|
-
Router.prototype[method] = function(
|
|
12343
|
-
const route = this.route(
|
|
12342
|
+
Router.prototype[method] = function(path) {
|
|
12343
|
+
const route = this.route(path);
|
|
12344
12344
|
route[method].apply(route, slice.call(arguments, 1));
|
|
12345
12345
|
return this;
|
|
12346
12346
|
};
|
|
@@ -12372,9 +12372,9 @@ var require_router = __commonJS({
|
|
|
12372
12372
|
return fqdnIndex !== -1 ? url.substring(0, url.indexOf("/", 3 + fqdnIndex)) : void 0;
|
|
12373
12373
|
}
|
|
12374
12374
|
__name(getProtohost, "getProtohost");
|
|
12375
|
-
function matchLayer(layer,
|
|
12375
|
+
function matchLayer(layer, path) {
|
|
12376
12376
|
try {
|
|
12377
|
-
return layer.match(
|
|
12377
|
+
return layer.match(path);
|
|
12378
12378
|
} catch (err) {
|
|
12379
12379
|
return err;
|
|
12380
12380
|
}
|
|
@@ -12612,7 +12612,7 @@ var require_application = __commonJS({
|
|
|
12612
12612
|
}, "handle");
|
|
12613
12613
|
app.use = /* @__PURE__ */ __name(function use(fn) {
|
|
12614
12614
|
var offset = 0;
|
|
12615
|
-
var
|
|
12615
|
+
var path = "/";
|
|
12616
12616
|
if (typeof fn !== "function") {
|
|
12617
12617
|
var arg = fn;
|
|
12618
12618
|
while (Array.isArray(arg) && arg.length !== 0) {
|
|
@@ -12620,7 +12620,7 @@ var require_application = __commonJS({
|
|
|
12620
12620
|
}
|
|
12621
12621
|
if (typeof arg !== "function") {
|
|
12622
12622
|
offset = 1;
|
|
12623
|
-
|
|
12623
|
+
path = fn;
|
|
12624
12624
|
}
|
|
12625
12625
|
}
|
|
12626
12626
|
var fns = flatten.call(slice.call(arguments, offset), Infinity);
|
|
@@ -12630,12 +12630,12 @@ var require_application = __commonJS({
|
|
|
12630
12630
|
var router = this.router;
|
|
12631
12631
|
fns.forEach(function(fn2) {
|
|
12632
12632
|
if (!fn2 || !fn2.handle || !fn2.set) {
|
|
12633
|
-
return router.use(
|
|
12633
|
+
return router.use(path, fn2);
|
|
12634
12634
|
}
|
|
12635
|
-
debug(".use app under %s",
|
|
12636
|
-
fn2.mountpath =
|
|
12635
|
+
debug(".use app under %s", path);
|
|
12636
|
+
fn2.mountpath = path;
|
|
12637
12637
|
fn2.parent = this;
|
|
12638
|
-
router.use(
|
|
12638
|
+
router.use(path, /* @__PURE__ */ __name(function mounted_app(req, res, next) {
|
|
12639
12639
|
var orig = req.app;
|
|
12640
12640
|
fn2.handle(req, res, function(err) {
|
|
12641
12641
|
Object.setPrototypeOf(req, orig.request);
|
|
@@ -12647,8 +12647,8 @@ var require_application = __commonJS({
|
|
|
12647
12647
|
}, this);
|
|
12648
12648
|
return this;
|
|
12649
12649
|
}, "use");
|
|
12650
|
-
app.route = /* @__PURE__ */ __name(function route(
|
|
12651
|
-
return this.router.route(
|
|
12650
|
+
app.route = /* @__PURE__ */ __name(function route(path) {
|
|
12651
|
+
return this.router.route(path);
|
|
12652
12652
|
}, "route");
|
|
12653
12653
|
app.engine = /* @__PURE__ */ __name(function engine(ext, fn) {
|
|
12654
12654
|
if (typeof fn !== "function") {
|
|
@@ -12691,7 +12691,7 @@ var require_application = __commonJS({
|
|
|
12691
12691
|
}
|
|
12692
12692
|
return this;
|
|
12693
12693
|
}, "set");
|
|
12694
|
-
app.path = /* @__PURE__ */ __name(function
|
|
12694
|
+
app.path = /* @__PURE__ */ __name(function path() {
|
|
12695
12695
|
return this.parent ? this.parent.path() + this.mountpath : "";
|
|
12696
12696
|
}, "path");
|
|
12697
12697
|
app.enabled = /* @__PURE__ */ __name(function enabled(setting) {
|
|
@@ -12707,17 +12707,17 @@ var require_application = __commonJS({
|
|
|
12707
12707
|
return this.set(setting, false);
|
|
12708
12708
|
}, "disable");
|
|
12709
12709
|
methods.forEach(function(method) {
|
|
12710
|
-
app[method] = function(
|
|
12710
|
+
app[method] = function(path) {
|
|
12711
12711
|
if (method === "get" && arguments.length === 1) {
|
|
12712
|
-
return this.set(
|
|
12712
|
+
return this.set(path);
|
|
12713
12713
|
}
|
|
12714
|
-
var route = this.route(
|
|
12714
|
+
var route = this.route(path);
|
|
12715
12715
|
route[method].apply(route, slice.call(arguments, 1));
|
|
12716
12716
|
return this;
|
|
12717
12717
|
};
|
|
12718
12718
|
});
|
|
12719
|
-
app.all = /* @__PURE__ */ __name(function all(
|
|
12720
|
-
var route = this.route(
|
|
12719
|
+
app.all = /* @__PURE__ */ __name(function all(path) {
|
|
12720
|
+
var route = this.route(path);
|
|
12721
12721
|
var args = slice.call(arguments, 1);
|
|
12722
12722
|
for (var i = 0; i < methods.length; i++) {
|
|
12723
12723
|
route[methods[i]].apply(route, args);
|
|
@@ -13687,7 +13687,7 @@ var require_request = __commonJS({
|
|
|
13687
13687
|
var subdomains2 = !isIP(hostname) ? hostname.split(".").reverse() : [hostname];
|
|
13688
13688
|
return subdomains2.slice(offset);
|
|
13689
13689
|
}, "subdomains"));
|
|
13690
|
-
defineGetter(req, "path", /* @__PURE__ */ __name(function
|
|
13690
|
+
defineGetter(req, "path", /* @__PURE__ */ __name(function path() {
|
|
13691
13691
|
return parse(this).pathname;
|
|
13692
13692
|
}, "path"));
|
|
13693
13693
|
defineGetter(req, "host", /* @__PURE__ */ __name(function host() {
|
|
@@ -13779,9 +13779,9 @@ var require_content_disposition = __commonJS({
|
|
|
13779
13779
|
if (typeof fallback === "string" && NON_LATIN1_REGEXP.test(fallback)) {
|
|
13780
13780
|
throw new TypeError("fallback must be ISO-8859-1 string");
|
|
13781
13781
|
}
|
|
13782
|
-
var name =
|
|
13782
|
+
var name = basename(filename);
|
|
13783
13783
|
var isQuotedString = TEXT_REGEXP.test(name);
|
|
13784
|
-
var fallbackName = typeof fallback !== "string" ? fallback && getlatin1(name) :
|
|
13784
|
+
var fallbackName = typeof fallback !== "string" ? fallback && getlatin1(name) : basename(fallback);
|
|
13785
13785
|
var hasFallback = typeof fallbackName === "string" && fallbackName !== name;
|
|
13786
13786
|
if (hasFallback || !isQuotedString || hasHexEscape(name)) {
|
|
13787
13787
|
params["filename*"] = name;
|
|
@@ -13910,8 +13910,8 @@ var require_content_disposition = __commonJS({
|
|
|
13910
13910
|
this.parameters = parameters;
|
|
13911
13911
|
}
|
|
13912
13912
|
__name(ContentDisposition, "ContentDisposition");
|
|
13913
|
-
function
|
|
13914
|
-
const normalized =
|
|
13913
|
+
function basename(path) {
|
|
13914
|
+
const normalized = path.replaceAll("\\", "/");
|
|
13915
13915
|
let end = normalized.length;
|
|
13916
13916
|
while (end > 0 && normalized[end - 1] === "/") {
|
|
13917
13917
|
end--;
|
|
@@ -13925,7 +13925,7 @@ var require_content_disposition = __commonJS({
|
|
|
13925
13925
|
}
|
|
13926
13926
|
return normalized.slice(start + 1, end);
|
|
13927
13927
|
}
|
|
13928
|
-
__name(
|
|
13928
|
+
__name(basename, "basename");
|
|
13929
13929
|
function isHexDigit(char) {
|
|
13930
13930
|
const code = char.charCodeAt(0);
|
|
13931
13931
|
return code >= 48 && code <= 57 || // 0-9
|
|
@@ -14171,28 +14171,28 @@ var require_send = __commonJS({
|
|
|
14171
14171
|
var ms = require_ms();
|
|
14172
14172
|
var onFinished = require_on_finished();
|
|
14173
14173
|
var parseRange = require_range_parser();
|
|
14174
|
-
var
|
|
14174
|
+
var path = __require("path");
|
|
14175
14175
|
var statuses = require_statuses();
|
|
14176
14176
|
var Stream = __require("stream");
|
|
14177
14177
|
var util = __require("util");
|
|
14178
|
-
var extname =
|
|
14179
|
-
var
|
|
14180
|
-
var normalize =
|
|
14181
|
-
var resolve =
|
|
14182
|
-
var sep =
|
|
14178
|
+
var extname = path.extname;
|
|
14179
|
+
var join = path.join;
|
|
14180
|
+
var normalize = path.normalize;
|
|
14181
|
+
var resolve = path.resolve;
|
|
14182
|
+
var sep = path.sep;
|
|
14183
14183
|
var BYTES_RANGE_REGEXP = /^ *bytes=/;
|
|
14184
14184
|
var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1e3;
|
|
14185
14185
|
var UP_PATH_REGEXP = /(?:^|[\\/])\.\.(?:[\\/]|$)/;
|
|
14186
14186
|
module.exports = send;
|
|
14187
|
-
function send(req,
|
|
14188
|
-
return new SendStream(req,
|
|
14187
|
+
function send(req, path2, options) {
|
|
14188
|
+
return new SendStream(req, path2, options);
|
|
14189
14189
|
}
|
|
14190
14190
|
__name(send, "send");
|
|
14191
|
-
function SendStream(req,
|
|
14191
|
+
function SendStream(req, path2, options) {
|
|
14192
14192
|
Stream.call(this);
|
|
14193
14193
|
var opts = options || {};
|
|
14194
14194
|
this.options = opts;
|
|
14195
|
-
this.path =
|
|
14195
|
+
this.path = path2;
|
|
14196
14196
|
this.req = req;
|
|
14197
14197
|
this._acceptRanges = opts.acceptRanges !== void 0 ? Boolean(opts.acceptRanges) : true;
|
|
14198
14198
|
this._cacheControl = opts.cacheControl !== void 0 ? Boolean(opts.cacheControl) : true;
|
|
@@ -14307,10 +14307,10 @@ var require_send = __commonJS({
|
|
|
14307
14307
|
var lastModified = this.res.getHeader("Last-Modified");
|
|
14308
14308
|
return parseHttpDate(lastModified) <= parseHttpDate(ifRange);
|
|
14309
14309
|
}, "isRangeFresh");
|
|
14310
|
-
SendStream.prototype.redirect = /* @__PURE__ */ __name(function redirect(
|
|
14310
|
+
SendStream.prototype.redirect = /* @__PURE__ */ __name(function redirect(path2) {
|
|
14311
14311
|
var res = this.res;
|
|
14312
14312
|
if (hasListeners(this, "directory")) {
|
|
14313
|
-
this.emit("directory", res,
|
|
14313
|
+
this.emit("directory", res, path2);
|
|
14314
14314
|
return;
|
|
14315
14315
|
}
|
|
14316
14316
|
if (this.hasTrailingSlash()) {
|
|
@@ -14330,38 +14330,38 @@ var require_send = __commonJS({
|
|
|
14330
14330
|
SendStream.prototype.pipe = /* @__PURE__ */ __name(function pipe(res) {
|
|
14331
14331
|
var root = this._root;
|
|
14332
14332
|
this.res = res;
|
|
14333
|
-
var
|
|
14334
|
-
if (
|
|
14333
|
+
var path2 = decode(this.path);
|
|
14334
|
+
if (path2 === -1) {
|
|
14335
14335
|
this.error(400);
|
|
14336
14336
|
return res;
|
|
14337
14337
|
}
|
|
14338
|
-
if (~
|
|
14338
|
+
if (~path2.indexOf("\0")) {
|
|
14339
14339
|
this.error(400);
|
|
14340
14340
|
return res;
|
|
14341
14341
|
}
|
|
14342
14342
|
var parts;
|
|
14343
14343
|
if (root !== null) {
|
|
14344
|
-
if (
|
|
14345
|
-
|
|
14344
|
+
if (path2) {
|
|
14345
|
+
path2 = normalize("." + sep + path2);
|
|
14346
14346
|
}
|
|
14347
|
-
if (UP_PATH_REGEXP.test(
|
|
14348
|
-
debug('malicious path "%s"',
|
|
14347
|
+
if (UP_PATH_REGEXP.test(path2)) {
|
|
14348
|
+
debug('malicious path "%s"', path2);
|
|
14349
14349
|
this.error(403);
|
|
14350
14350
|
return res;
|
|
14351
14351
|
}
|
|
14352
|
-
parts =
|
|
14353
|
-
|
|
14352
|
+
parts = path2.split(sep);
|
|
14353
|
+
path2 = normalize(join(root, path2));
|
|
14354
14354
|
} else {
|
|
14355
|
-
if (UP_PATH_REGEXP.test(
|
|
14356
|
-
debug('malicious path "%s"',
|
|
14355
|
+
if (UP_PATH_REGEXP.test(path2)) {
|
|
14356
|
+
debug('malicious path "%s"', path2);
|
|
14357
14357
|
this.error(403);
|
|
14358
14358
|
return res;
|
|
14359
14359
|
}
|
|
14360
|
-
parts = normalize(
|
|
14361
|
-
|
|
14360
|
+
parts = normalize(path2).split(sep);
|
|
14361
|
+
path2 = resolve(path2);
|
|
14362
14362
|
}
|
|
14363
14363
|
if (containsDotFile(parts)) {
|
|
14364
|
-
debug('%s dotfile "%s"', this._dotfiles,
|
|
14364
|
+
debug('%s dotfile "%s"', this._dotfiles, path2);
|
|
14365
14365
|
switch (this._dotfiles) {
|
|
14366
14366
|
case "allow":
|
|
14367
14367
|
break;
|
|
@@ -14375,13 +14375,13 @@ var require_send = __commonJS({
|
|
|
14375
14375
|
}
|
|
14376
14376
|
}
|
|
14377
14377
|
if (this._index.length && this.hasTrailingSlash()) {
|
|
14378
|
-
this.sendIndex(
|
|
14378
|
+
this.sendIndex(path2);
|
|
14379
14379
|
return res;
|
|
14380
14380
|
}
|
|
14381
|
-
this.sendFile(
|
|
14381
|
+
this.sendFile(path2);
|
|
14382
14382
|
return res;
|
|
14383
14383
|
}, "pipe");
|
|
14384
|
-
SendStream.prototype.send = /* @__PURE__ */ __name(function send2(
|
|
14384
|
+
SendStream.prototype.send = /* @__PURE__ */ __name(function send2(path2, stat) {
|
|
14385
14385
|
var len = stat.size;
|
|
14386
14386
|
var options = this.options;
|
|
14387
14387
|
var opts = {};
|
|
@@ -14393,9 +14393,9 @@ var require_send = __commonJS({
|
|
|
14393
14393
|
this.headersAlreadySent();
|
|
14394
14394
|
return;
|
|
14395
14395
|
}
|
|
14396
|
-
debug('pipe "%s"',
|
|
14397
|
-
this.setHeader(
|
|
14398
|
-
this.type(
|
|
14396
|
+
debug('pipe "%s"', path2);
|
|
14397
|
+
this.setHeader(path2, stat);
|
|
14398
|
+
this.type(path2);
|
|
14399
14399
|
if (this.isConditionalGET()) {
|
|
14400
14400
|
if (this.isPreconditionFailure()) {
|
|
14401
14401
|
this.error(412);
|
|
@@ -14444,28 +14444,28 @@ var require_send = __commonJS({
|
|
|
14444
14444
|
res.end();
|
|
14445
14445
|
return;
|
|
14446
14446
|
}
|
|
14447
|
-
this.stream(
|
|
14447
|
+
this.stream(path2, opts);
|
|
14448
14448
|
}, "send");
|
|
14449
|
-
SendStream.prototype.sendFile = /* @__PURE__ */ __name(function sendFile(
|
|
14449
|
+
SendStream.prototype.sendFile = /* @__PURE__ */ __name(function sendFile(path2) {
|
|
14450
14450
|
var i = 0;
|
|
14451
14451
|
var self = this;
|
|
14452
|
-
debug('stat "%s"',
|
|
14453
|
-
fs.stat(
|
|
14454
|
-
var pathEndsWithSep =
|
|
14455
|
-
if (err && err.code === "ENOENT" && !extname(
|
|
14452
|
+
debug('stat "%s"', path2);
|
|
14453
|
+
fs.stat(path2, /* @__PURE__ */ __name(function onstat(err, stat) {
|
|
14454
|
+
var pathEndsWithSep = path2[path2.length - 1] === sep;
|
|
14455
|
+
if (err && err.code === "ENOENT" && !extname(path2) && !pathEndsWithSep) {
|
|
14456
14456
|
return next(err);
|
|
14457
14457
|
}
|
|
14458
14458
|
if (err) return self.onStatError(err);
|
|
14459
|
-
if (stat.isDirectory()) return self.redirect(
|
|
14459
|
+
if (stat.isDirectory()) return self.redirect(path2);
|
|
14460
14460
|
if (pathEndsWithSep) return self.error(404);
|
|
14461
|
-
self.emit("file",
|
|
14462
|
-
self.send(
|
|
14461
|
+
self.emit("file", path2, stat);
|
|
14462
|
+
self.send(path2, stat);
|
|
14463
14463
|
}, "onstat"));
|
|
14464
14464
|
function next(err) {
|
|
14465
14465
|
if (self._extensions.length <= i) {
|
|
14466
14466
|
return err ? self.onStatError(err) : self.error(404);
|
|
14467
14467
|
}
|
|
14468
|
-
var p =
|
|
14468
|
+
var p = path2 + "." + self._extensions[i++];
|
|
14469
14469
|
debug('stat "%s"', p);
|
|
14470
14470
|
fs.stat(p, function(err2, stat) {
|
|
14471
14471
|
if (err2) return next(err2);
|
|
@@ -14476,7 +14476,7 @@ var require_send = __commonJS({
|
|
|
14476
14476
|
}
|
|
14477
14477
|
__name(next, "next");
|
|
14478
14478
|
}, "sendFile");
|
|
14479
|
-
SendStream.prototype.sendIndex = /* @__PURE__ */ __name(function sendIndex(
|
|
14479
|
+
SendStream.prototype.sendIndex = /* @__PURE__ */ __name(function sendIndex(path2) {
|
|
14480
14480
|
var i = -1;
|
|
14481
14481
|
var self = this;
|
|
14482
14482
|
function next(err) {
|
|
@@ -14484,7 +14484,7 @@ var require_send = __commonJS({
|
|
|
14484
14484
|
if (err) return self.onStatError(err);
|
|
14485
14485
|
return self.error(404);
|
|
14486
14486
|
}
|
|
14487
|
-
var p =
|
|
14487
|
+
var p = join(path2, self._index[i]);
|
|
14488
14488
|
debug('stat "%s"', p);
|
|
14489
14489
|
fs.stat(p, function(err2, stat) {
|
|
14490
14490
|
if (err2) return next(err2);
|
|
@@ -14496,10 +14496,10 @@ var require_send = __commonJS({
|
|
|
14496
14496
|
__name(next, "next");
|
|
14497
14497
|
next();
|
|
14498
14498
|
}, "sendIndex");
|
|
14499
|
-
SendStream.prototype.stream = /* @__PURE__ */ __name(function stream(
|
|
14499
|
+
SendStream.prototype.stream = /* @__PURE__ */ __name(function stream(path2, options) {
|
|
14500
14500
|
var self = this;
|
|
14501
14501
|
var res = this.res;
|
|
14502
|
-
var stream2 = fs.createReadStream(
|
|
14502
|
+
var stream2 = fs.createReadStream(path2, options);
|
|
14503
14503
|
this.emit("stream", stream2);
|
|
14504
14504
|
stream2.pipe(res);
|
|
14505
14505
|
function cleanup() {
|
|
@@ -14515,17 +14515,17 @@ var require_send = __commonJS({
|
|
|
14515
14515
|
self.emit("end");
|
|
14516
14516
|
}, "onend"));
|
|
14517
14517
|
}, "stream");
|
|
14518
|
-
SendStream.prototype.type = /* @__PURE__ */ __name(function type(
|
|
14518
|
+
SendStream.prototype.type = /* @__PURE__ */ __name(function type(path2) {
|
|
14519
14519
|
var res = this.res;
|
|
14520
14520
|
if (res.getHeader("Content-Type")) return;
|
|
14521
|
-
var ext = extname(
|
|
14521
|
+
var ext = extname(path2);
|
|
14522
14522
|
var type2 = mime.contentType(ext) || "application/octet-stream";
|
|
14523
14523
|
debug("content-type %s", type2);
|
|
14524
14524
|
res.setHeader("Content-Type", type2);
|
|
14525
14525
|
}, "type");
|
|
14526
|
-
SendStream.prototype.setHeader = /* @__PURE__ */ __name(function setHeader(
|
|
14526
|
+
SendStream.prototype.setHeader = /* @__PURE__ */ __name(function setHeader(path2, stat) {
|
|
14527
14527
|
var res = this.res;
|
|
14528
|
-
this.emit("headers", res,
|
|
14528
|
+
this.emit("headers", res, path2, stat);
|
|
14529
14529
|
if (this._acceptRanges && !res.getHeader("Accept-Ranges")) {
|
|
14530
14530
|
debug("accept ranges");
|
|
14531
14531
|
res.setHeader("Accept-Ranges", "bytes");
|
|
@@ -14589,9 +14589,9 @@ var require_send = __commonJS({
|
|
|
14589
14589
|
return err instanceof Error ? createError(status, err, { expose: false }) : createError(status, err);
|
|
14590
14590
|
}
|
|
14591
14591
|
__name(createHttpError, "createHttpError");
|
|
14592
|
-
function decode(
|
|
14592
|
+
function decode(path2) {
|
|
14593
14593
|
try {
|
|
14594
|
-
return decodeURIComponent(
|
|
14594
|
+
return decodeURIComponent(path2);
|
|
14595
14595
|
} catch (err) {
|
|
14596
14596
|
return -1;
|
|
14597
14597
|
}
|
|
@@ -14746,7 +14746,7 @@ var require_response = __commonJS({
|
|
|
14746
14746
|
var http = __require("node:http");
|
|
14747
14747
|
var onFinished = require_on_finished();
|
|
14748
14748
|
var mime = require_mime_types();
|
|
14749
|
-
var
|
|
14749
|
+
var path = __require("node:path");
|
|
14750
14750
|
var pathIsAbsolute = __require("node:path").isAbsolute;
|
|
14751
14751
|
var statuses = require_statuses();
|
|
14752
14752
|
var sign = require_cookie_signature().sign;
|
|
@@ -14755,8 +14755,8 @@ var require_response = __commonJS({
|
|
|
14755
14755
|
var setCharset = require_utils2().setCharset;
|
|
14756
14756
|
var cookie = require_cookie();
|
|
14757
14757
|
var send = require_send();
|
|
14758
|
-
var extname =
|
|
14759
|
-
var resolve =
|
|
14758
|
+
var extname = path.extname;
|
|
14759
|
+
var resolve = path.resolve;
|
|
14760
14760
|
var vary = require_vary();
|
|
14761
14761
|
var { Buffer: Buffer2 } = __require("node:buffer");
|
|
14762
14762
|
var res = Object.create(http.ServerResponse.prototype);
|
|
@@ -14902,26 +14902,26 @@ var require_response = __commonJS({
|
|
|
14902
14902
|
this.type("txt");
|
|
14903
14903
|
return this.send(body);
|
|
14904
14904
|
}, "sendStatus");
|
|
14905
|
-
res.sendFile = /* @__PURE__ */ __name(function sendFile(
|
|
14905
|
+
res.sendFile = /* @__PURE__ */ __name(function sendFile(path2, options, callback) {
|
|
14906
14906
|
var done = callback;
|
|
14907
14907
|
var req = this.req;
|
|
14908
14908
|
var res2 = this;
|
|
14909
14909
|
var next = req.next;
|
|
14910
14910
|
var opts = options || {};
|
|
14911
|
-
if (!
|
|
14911
|
+
if (!path2) {
|
|
14912
14912
|
throw new TypeError("path argument is required to res.sendFile");
|
|
14913
14913
|
}
|
|
14914
|
-
if (typeof
|
|
14914
|
+
if (typeof path2 !== "string") {
|
|
14915
14915
|
throw new TypeError("path must be a string to res.sendFile");
|
|
14916
14916
|
}
|
|
14917
14917
|
if (typeof options === "function") {
|
|
14918
14918
|
done = options;
|
|
14919
14919
|
opts = {};
|
|
14920
14920
|
}
|
|
14921
|
-
if (!opts.root && !pathIsAbsolute(
|
|
14921
|
+
if (!opts.root && !pathIsAbsolute(path2)) {
|
|
14922
14922
|
throw new TypeError("path must be absolute or specify root to res.sendFile");
|
|
14923
14923
|
}
|
|
14924
|
-
var pathname = encodeURI(
|
|
14924
|
+
var pathname = encodeURI(path2);
|
|
14925
14925
|
opts.etag = this.app.enabled("etag");
|
|
14926
14926
|
var file = send(req, pathname, opts);
|
|
14927
14927
|
sendfile(res2, file, opts, function(err) {
|
|
@@ -14932,7 +14932,7 @@ var require_response = __commonJS({
|
|
|
14932
14932
|
}
|
|
14933
14933
|
});
|
|
14934
14934
|
}, "sendFile");
|
|
14935
|
-
res.download = /* @__PURE__ */ __name(function download(
|
|
14935
|
+
res.download = /* @__PURE__ */ __name(function download(path2, filename, options, callback) {
|
|
14936
14936
|
var done = callback;
|
|
14937
14937
|
var name = filename;
|
|
14938
14938
|
var opts = options || null;
|
|
@@ -14949,7 +14949,7 @@ var require_response = __commonJS({
|
|
|
14949
14949
|
opts = filename;
|
|
14950
14950
|
}
|
|
14951
14951
|
var headers = {
|
|
14952
|
-
"Content-Disposition": contentDisposition(name ||
|
|
14952
|
+
"Content-Disposition": contentDisposition(name || path2)
|
|
14953
14953
|
};
|
|
14954
14954
|
if (opts && opts.headers) {
|
|
14955
14955
|
var keys = Object.keys(opts.headers);
|
|
@@ -14962,7 +14962,7 @@ var require_response = __commonJS({
|
|
|
14962
14962
|
}
|
|
14963
14963
|
opts = Object.create(opts);
|
|
14964
14964
|
opts.headers = headers;
|
|
14965
|
-
var fullPath = !opts.root ? resolve(
|
|
14965
|
+
var fullPath = !opts.root ? resolve(path2) : path2;
|
|
14966
14966
|
return this.sendFile(fullPath, opts, done);
|
|
14967
14967
|
}, "download");
|
|
14968
14968
|
res.contentType = res.type = /* @__PURE__ */ __name(function contentType(type) {
|
|
@@ -15255,11 +15255,11 @@ var require_serve_static = __commonJS({
|
|
|
15255
15255
|
}
|
|
15256
15256
|
var forwardError = !fallthrough;
|
|
15257
15257
|
var originalUrl = parseUrl.original(req);
|
|
15258
|
-
var
|
|
15259
|
-
if (
|
|
15260
|
-
|
|
15258
|
+
var path = parseUrl(req).pathname;
|
|
15259
|
+
if (path === "/" && originalUrl.pathname.substr(-1) !== "/") {
|
|
15260
|
+
path = "";
|
|
15261
15261
|
}
|
|
15262
|
-
var stream = send(req,
|
|
15262
|
+
var stream = send(req, path, opts);
|
|
15263
15263
|
stream.on("directory", onDirectory);
|
|
15264
15264
|
if (setHeaders) {
|
|
15265
15265
|
stream.on("headers", setHeaders);
|
|
@@ -15374,46 +15374,9 @@ var require_express2 = __commonJS({
|
|
|
15374
15374
|
}
|
|
15375
15375
|
});
|
|
15376
15376
|
|
|
15377
|
-
// packages/cli/src/serve/web-shell-resolver.ts
|
|
15378
|
-
init_esbuild_shims();
|
|
15379
|
-
import { existsSync } from "node:fs";
|
|
15380
|
-
import * as path from "node:path";
|
|
15381
|
-
import { fileURLToPath } from "node:url";
|
|
15382
|
-
var BUNDLE_CHUNK_DIR = "chunks";
|
|
15383
|
-
function resolveBundleDirFastPath(importMetaUrl) {
|
|
15384
|
-
const moduleDir = path.dirname(fileURLToPath(importMetaUrl));
|
|
15385
|
-
return path.basename(moduleDir) === BUNDLE_CHUNK_DIR ? path.dirname(moduleDir) : moduleDir;
|
|
15386
|
-
}
|
|
15387
|
-
__name(resolveBundleDirFastPath, "resolveBundleDirFastPath");
|
|
15388
|
-
function resolveWebShellDir() {
|
|
15389
|
-
const selfDir = path.dirname(fileURLToPath(import.meta.url));
|
|
15390
|
-
const hasShell = /* @__PURE__ */ __name((dir2) => existsSync(path.join(dir2, "index.html")) && existsSync(path.join(dir2, "assets")), "hasShell");
|
|
15391
|
-
const bundled = path.join(
|
|
15392
|
-
resolveBundleDirFastPath(import.meta.url),
|
|
15393
|
-
"web-shell"
|
|
15394
|
-
);
|
|
15395
|
-
if (hasShell(bundled)) return bundled;
|
|
15396
|
-
let dir = selfDir;
|
|
15397
|
-
for (let i = 0; i < 10; i++) {
|
|
15398
|
-
const candidate = path.join(dir, "packages", "web-shell", "dist");
|
|
15399
|
-
if (hasShell(candidate)) return candidate;
|
|
15400
|
-
const parent = path.dirname(dir);
|
|
15401
|
-
if (parent === dir) break;
|
|
15402
|
-
dir = parent;
|
|
15403
|
-
}
|
|
15404
|
-
return void 0;
|
|
15405
|
-
}
|
|
15406
|
-
__name(resolveWebShellDir, "resolveWebShellDir");
|
|
15407
|
-
|
|
15408
15377
|
export {
|
|
15409
|
-
require_express2 as require_express
|
|
15410
|
-
resolveWebShellDir
|
|
15378
|
+
require_express2 as require_express
|
|
15411
15379
|
};
|
|
15412
|
-
/**
|
|
15413
|
-
* @license
|
|
15414
|
-
* Copyright 2025 Qwen Team
|
|
15415
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
15416
|
-
*/
|
|
15417
15380
|
/*! Bundled license information:
|
|
15418
15381
|
|
|
15419
15382
|
depd/index.js:
|