@qwen-code/qwen-code 0.20.0 → 0.20.1-nightly.20260724.7d17c44a3
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/qc-helper/docs/configuration/settings.md +1 -1
- package/bundled/qc-helper/docs/features/auto-mode.md +19 -16
- package/bundled/qc-helper/docs/features/commands.md +54 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +16 -7
- package/bundled/qc-helper/docs/integration-github-action.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +2 -1
- package/bundled/review/DESIGN.md +2 -2
- package/bundled/review/SKILL.md +7 -5
- package/chunks/MaxSizedBox-LGRTXB47.js +84 -0
- package/chunks/{StandaloneSessionPicker-CEGO2AZX.js → StandaloneSessionPicker-H3TBU3C3.js} +68 -56
- package/chunks/{acp-startup-profiler-N3RHHXJ3.js → acp-startup-profiler-RV3IV562.js} +2 -2
- package/chunks/{acpAgent-YUR43TLG.js → acpAgent-5D7P4BB5.js} +2061 -556
- package/chunks/agent-W7UAHCCI.js +80 -0
- package/chunks/agent-headless-KTBMPRSC.js +74 -0
- package/chunks/{anthropicContentGenerator-HVKLXOOU.js → anthropicContentGenerator-ZLQ3X2HI.js} +112 -45
- package/chunks/{artifact-tool-WBCAMD3O.js → artifact-tool-OKMWONT6.js} +3 -3
- package/chunks/{askUserQuestion-6DZC4UV5.js → askUserQuestion-V6FUS23G.js} +3 -3
- package/chunks/bridge-FFC4C6VD.js +89 -0
- package/chunks/{build-SSCNEHZZ.js → build-RV63TIRH.js} +2 -3
- package/chunks/{ca-2SL2BXTK.js → ca-GKRQZ7AM.js} +612 -201
- package/chunks/{channel-worker-group-53CMOPFT.js → channel-worker-group-MA3WXWYX.js} +7 -6
- package/chunks/{channel-worker-manager-UTXILKC2.js → channel-worker-manager-TIYYYBCT.js} +189 -29
- package/chunks/{channel-worker-supervisor-ZGO2W2MD.js → channel-worker-supervisor-CXRCDA4Y.js} +6 -5
- package/chunks/{chunk-TYQMGACW.js → chunk-22C7BQ6D.js} +508 -10967
- package/chunks/{chunk-4EP2PYYL.js → chunk-2G6QIHYL.js} +5 -5
- package/chunks/{chunk-H2XVO6NE.js → chunk-2MIN6GRR.js} +1 -1
- package/chunks/chunk-2RFKHEXL.js +74 -0
- package/chunks/{chunk-7SXZC7ID.js → chunk-2WTVWAKT.js} +7 -6
- package/chunks/{chunk-TIH2ZTOC.js → chunk-32A4PI3E.js} +2 -2
- package/chunks/chunk-36HSVBBU.js +469 -0
- package/chunks/{chunk-IR46U7RB.js → chunk-3FB2Y2OE.js} +3 -3
- package/chunks/{chunk-QR6U5QPP.js → chunk-3SJ43L4W.js} +4 -0
- package/chunks/chunk-3Z43GZUQ.js +32 -0
- package/chunks/chunk-43T5WDQ7.js +127 -0
- package/chunks/chunk-46UV252V.js +128 -0
- package/chunks/{chunk-JD3MKVKL.js → chunk-4K56OJFJ.js} +1 -1
- package/chunks/{chunk-KTUQMDEP.js → chunk-4K7VDKAD.js} +1 -1
- package/chunks/{chunk-QKYTTBYW.js → chunk-4LVZNIDO.js} +1 -1
- package/chunks/{chunk-OWCALFEG.js → chunk-54R2CV2G.js} +1 -1
- package/chunks/{chunk-ZEOZL37W.js → chunk-57FIIFJN.js} +1 -1
- package/chunks/chunk-5BS3KLRP.js +6194 -0
- package/chunks/{chunk-NEEB7UEN.js → chunk-6GMVPFB2.js} +153 -72
- package/chunks/{chunk-GMGDLUC7.js → chunk-6IL7KRLE.js} +1 -1
- package/chunks/chunk-6PVPNMXU.js +29 -0
- package/chunks/chunk-6QHAUJUE.js +293 -0
- package/chunks/chunk-6VK3IRTX.js +10017 -0
- package/chunks/{chunk-BDBMYST4.js → chunk-6X4GWOPW.js} +1 -1
- package/chunks/{chunk-AYCDXHZB.js → chunk-7Z6JQEL6.js} +1 -1
- package/chunks/{chunk-FSL5W5TI.js → chunk-AFFGGOF6.js} +4 -4
- package/chunks/chunk-AMDSOFFV.js +10860 -0
- package/chunks/chunk-AXUW635Q.js +934 -0
- package/chunks/{chunk-A5LYNIW7.js → chunk-BJBUDCM3.js} +8 -8
- package/chunks/chunk-BK2UNYWD.js +29 -0
- package/chunks/{chunk-6RLROE6G.js → chunk-BLFVGB7D.js} +30 -4
- package/chunks/chunk-BPJSQIJX.js +100 -0
- package/chunks/{chunk-FLSVD6BS.js → chunk-BRTR7S7O.js} +3 -3
- package/chunks/{chunk-KG3XV6FH.js → chunk-BSNWBC33.js} +32 -2
- package/chunks/chunk-BULDBTYC.js +153 -0
- package/chunks/{chunk-PBWEWI4N.js → chunk-BW5Z5NOG.js} +83 -74
- package/chunks/{chunk-EIAK6Q2B.js → chunk-C3VHAXP2.js} +20 -3
- package/chunks/{chunk-6AFUCL3D.js → chunk-CEZB3XFD.js} +1 -1
- package/chunks/chunk-CHMENNJV.js +1832 -0
- package/chunks/{chunk-TMQ6XQCX.js → chunk-CK3IEEHR.js} +416 -291
- package/chunks/{chunk-OYZWQNWG.js → chunk-CK6UABV2.js} +2 -2
- package/chunks/{chunk-VZQUV7VK.js → chunk-CKTMY3EP.js} +1 -1
- package/chunks/{chunk-VDWBQ5AW.js → chunk-CUPAVLRY.js} +5 -2
- package/chunks/{chunk-I2PYAYFM.js → chunk-CXUFILV3.js} +3 -3
- package/chunks/chunk-DP3IHZGG.js +1498 -0
- package/chunks/{chunk-BMWMT5Y2.js → chunk-DP5GT2MW.js} +7 -375
- package/chunks/{chunk-D22SX43D.js → chunk-DWNZ6PVQ.js} +1 -1
- package/chunks/{chunk-5SCI6E3E.js → chunk-E4IMU4Y5.js} +1 -1
- package/chunks/{chunk-DP5GXXNZ.js → chunk-EL2IQ2S5.js} +5 -1
- package/chunks/{chunk-EZVDJFZ7.js → chunk-ERLGR7GI.js} +1 -1
- package/chunks/{chunk-IVPSS6EL.js → chunk-F5MBYZSU.js} +4 -4
- package/chunks/{chunk-AQIEINAY.js → chunk-F6IYL66A.js} +28 -1766
- package/chunks/{chunk-FEOZBUMT.js → chunk-FODK6UMO.js} +0 -27
- package/chunks/{chunk-PGEPSDJI.js → chunk-FWNZ7CVN.js} +24 -20
- package/chunks/{chunk-5JBR5XIK.js → chunk-G7EFBBVF.js} +220 -141
- package/chunks/chunk-GLNBDYUX.js +38 -0
- package/chunks/{chunk-ANPINBOF.js → chunk-H4YKEV2X.js} +5 -5
- package/chunks/{chunk-TDKQP3M6.js → chunk-HIJQF5B5.js} +1 -1
- package/chunks/{chunk-FQD7GFSV.js → chunk-HJJDKFL5.js} +3 -3
- package/chunks/{chunk-4N3KMAIL.js → chunk-HPWHDJID.js} +152 -35
- package/chunks/{chunk-KQNM4EO7.js → chunk-HQCSRJ3P.js} +138 -6
- package/chunks/chunk-HTR4WV6U.js +327 -0
- package/chunks/{chunk-YWEW33JY.js → chunk-HVO55LUD.js} +7 -7
- package/chunks/{chunk-MJ6S23WZ.js → chunk-HZEWYOVI.js} +5 -5
- package/chunks/chunk-IFG6TYJ2.js +16577 -0
- package/chunks/{chunk-B3KGZCQN.js → chunk-IJTOWOD7.js} +322 -202
- package/chunks/{chunk-RS7MT2QG.js → chunk-IPUUTYMV.js} +2 -4
- package/chunks/{chunk-4ILMYHEI.js → chunk-IRDZJSCL.js} +3 -3
- package/chunks/{chunk-XU457J4V.js → chunk-IRH27ZC2.js} +2 -2
- package/chunks/{chunk-33XUAINQ.js → chunk-J5UKQEFG.js} +69 -9
- package/chunks/{chunk-G45X5TRN.js → chunk-JCW2R7WC.js} +1 -72
- package/chunks/{chunk-S2XVRHDN.js → chunk-JDFBBGRD.js} +1 -1
- package/chunks/{chunk-4XNLIGVA.js → chunk-JKCALGYN.js} +1023 -383
- package/chunks/{chunk-TJTKSVIV.js → chunk-JLU636DO.js} +5 -1
- package/chunks/{chunk-VEXFOTEO.js → chunk-JYUSL2V4.js} +3 -3
- package/chunks/{chunk-S2PD3EZD.js → chunk-KJEMJWNH.js} +1 -1
- package/chunks/{chunk-E2UVIFI2.js → chunk-KRXPRVGL.js} +0 -1
- package/chunks/{chunk-CZF3E5GF.js → chunk-LA5H3LM5.js} +1 -1
- package/chunks/{chunk-NDMQLV4Y.js → chunk-LBAO2XRA.js} +4 -4
- package/chunks/{chunk-7RMOXZTC.js → chunk-LDPP5VTZ.js} +4 -4
- package/chunks/{chunk-KDC6GNQR.js → chunk-LEEWLFHW.js} +4 -4
- package/chunks/{chunk-KX6UK4VJ.js → chunk-LI4I37W4.js} +22152 -18007
- package/chunks/{chunk-OOCI5VVU.js → chunk-LIZRAKPB.js} +1 -1
- package/chunks/{chunk-AJSJ5TTU.js → chunk-LP2E4MQG.js} +1 -1
- package/chunks/chunk-LS77BEZP.js +405 -0
- package/chunks/{chunk-BRRF37CO.js → chunk-LYTBLSSW.js} +5 -5
- package/chunks/{chunk-DBE4QFZS.js → chunk-MB7ENXPR.js} +39 -37
- package/chunks/{chunk-GKY2OJ7R.js → chunk-MOHAWVLH.js} +4 -4
- package/chunks/chunk-NABLFI57.js +82 -0
- package/chunks/chunk-NBQDBANR.js +411 -0
- package/chunks/{chunk-EAUYY7SS.js → chunk-NOAAFNTJ.js} +43 -10
- package/chunks/chunk-NXS53EA7.js +1462 -0
- package/chunks/{chunk-C27BYUX6.js → chunk-OQB4EXO4.js} +14 -11
- package/chunks/{chunk-NHDKSOEY.js → chunk-P3QQPMQA.js} +5 -5
- package/chunks/{chunk-OP4MOGXF.js → chunk-P5RRUHL7.js} +23 -1
- package/chunks/{chunk-KOR3XKCA.js → chunk-PBII2NFX.js} +12 -6
- package/chunks/{chunk-O3OCNYY5.js → chunk-PDYB7HG2.js} +2 -2
- package/chunks/{chunk-2HOVDT7W.js → chunk-PFSUKTZH.js} +1 -1
- package/chunks/chunk-PKL3HGNZ.js +2299 -0
- package/chunks/{chunk-5DTTYNB7.js → chunk-PQNHRFJC.js} +16 -3
- package/chunks/{chunk-OLMETXLX.js → chunk-PXHK5ONM.js} +41 -9
- package/chunks/{chunk-PF4CHQOJ.js → chunk-Q6GU6TKM.js} +11 -10
- package/chunks/{chunk-4ODB7WIB.js → chunk-QAFKR7WR.js} +1 -1
- package/chunks/{chunk-PBATSWUQ.js → chunk-QBUDF33N.js} +1 -1
- package/chunks/{chunk-BVLROR2T.js → chunk-QLJUC7TG.js} +1 -1
- package/chunks/{chunk-UEY4AYUL.js → chunk-QNLNLENL.js} +2 -2
- package/chunks/{chunk-333CXMNJ.js → chunk-QXZTZJLX.js} +5 -5
- package/chunks/chunk-R6D2CTQR.js +289 -0
- package/chunks/{chunk-7PZ2ATFZ.js → chunk-R6SKHK3T.js} +54 -29
- package/chunks/{chunk-OONJNQ42.js → chunk-RGG6M2WF.js} +4 -4
- package/chunks/{chunk-RFIAR4YL.js → chunk-RV4C2ZFG.js} +1 -1
- package/chunks/{chunk-O3Z73NBP.js → chunk-RW2NEXYJ.js} +15 -11
- package/chunks/{chunk-HZPN55E5.js → chunk-SJEDL7DI.js} +1 -1
- package/chunks/{chunk-AKX4WPPP.js → chunk-SWBJRDYC.js} +866 -183
- package/chunks/{chunk-NBMIC7DR.js → chunk-SX4PK3FC.js} +145 -5
- package/chunks/chunk-T3452DP5.js +246 -0
- package/chunks/{chunk-TB6UDU4T.js → chunk-THJNPLI4.js} +16 -16
- package/chunks/{chunk-T4TZQJ7W.js → chunk-TWPJO254.js} +5 -16
- package/chunks/chunk-U7ZFW55U.js +2098 -0
- package/chunks/{chunk-JNWZQ27S.js → chunk-UCOJC6EB.js} +72 -23
- package/chunks/{chunk-W7H223ZZ.js → chunk-UGYMA4EI.js} +1 -1
- package/chunks/{chunk-X6YQWCIJ.js → chunk-UH3WSE5L.js} +13 -1
- package/chunks/{chunk-2LL7TXB4.js → chunk-UH7242DI.js} +3 -3
- package/chunks/{chunk-CB2HFGRV.js → chunk-UJV643E2.js} +31 -6
- package/chunks/chunk-UO7DCGEV.js +121 -0
- package/chunks/{chunk-Y2ENGUD6.js → chunk-UPF7PTBI.js} +79 -2
- package/chunks/chunk-UW5EOVUN.js +249 -0
- package/chunks/{chunk-SJMV7ZBK.js → chunk-VLVO52KC.js} +8 -8
- package/chunks/{chunk-R3VWUU2E.js → chunk-VYPFXUCB.js} +1 -1
- package/chunks/{chunk-S2W2LVDU.js → chunk-WHFK6G6U.js} +8 -9
- package/chunks/chunk-WI3KCKZ5.js +391 -0
- package/chunks/{chunk-NGFEPAE6.js → chunk-WLEFWSSC.js} +8 -6
- package/chunks/{chunk-XVVH63JG.js → chunk-WUJXJ34P.js} +3 -3
- package/chunks/{chunk-MAQQGNQ5.js → chunk-WYLPWQHJ.js} +56 -717
- package/chunks/{chunk-D2VIDMVM.js → chunk-X6N25LXS.js} +2 -2
- package/chunks/chunk-XAWJ2526.js +1049 -0
- package/chunks/{chunk-CV63PP6U.js → chunk-YCIM6O3I.js} +1 -1
- package/chunks/{chunk-OEO2ERWK.js → chunk-Z44CVEUF.js} +54 -33
- package/chunks/{chunk-TKLLK6XQ.js → chunk-ZT4POVWC.js} +11 -11
- package/chunks/{chunk-NIJEXGV6.js → chunk-ZXYUQXY5.js} +148 -10
- package/chunks/{computer-use-NIWQNUZF.js → computer-use-UJ5T34TE.js} +50 -37
- package/chunks/{config-utils-AHQ6YZ66.js → config-utils-XQRXHAN3.js} +3 -3
- package/chunks/contextCommand-CSCB4E5M.js +79 -0
- package/chunks/{create-sub-session-MGNX52P3.js → create-sub-session-55F3GOLK.js} +46 -33
- package/chunks/{create-sub-session-P26FE5GG.js → create-sub-session-JPCSYZAJ.js} +3 -3
- package/chunks/{cron-create-JWFHBDRQ.js → cron-create-CUMELMPL.js} +6 -6
- package/chunks/{cron-delete-GDX4E26G.js → cron-delete-QZFV6U3P.js} +5 -5
- package/chunks/{cron-list-USMAIWPT.js → cron-list-IDKO7ZO2.js} +5 -5
- package/chunks/{daemon-RG2MAI6T.js → daemon-7LP7R6IU.js} +500 -133
- package/chunks/daemon-status-provider-6YNZ3UAE.js +88 -0
- package/chunks/{de-I7ZIYXZC.js → de-4IBXM7CN.js} +5 -1
- package/chunks/{dist-WGTQO7F2.js → dist-376652EZ.js} +114 -28
- package/chunks/{dist-53PZYC5B.js → dist-3YCTE6HD.js} +2 -2
- package/chunks/{dist-2BHAYBKP.js → dist-D7Z3HOO7.js} +14 -2
- package/chunks/{dist-FUTEXY6A.js → dist-MEGJFGAI.js} +40 -9
- package/chunks/{dist-2MIU4UUH.js → dist-NQ436QEX.js} +1 -1
- package/chunks/{dist-AU7NQQRP.js → dist-NQNTOIEN.js} +26 -2
- package/chunks/earlyInputCapture-HPUVJ2KH.js +81 -0
- package/chunks/{edit-3QV3JZJL.js → edit-7CMAN3F4.js} +50 -39
- package/chunks/{en-XE34GKAA.js → en-SALLIJS7.js} +6 -1
- package/chunks/{enter-worktree-4GMMF7EG.js → enter-worktree-3PH4YTY2.js} +49 -36
- package/chunks/{enterPlanMode-L5UWBAUC.js → enterPlanMode-MSXLSWLI.js} +55 -37
- package/chunks/{environment-3OV7UQOT.js → environment-KS36ZHBE.js} +48 -35
- package/chunks/errors-LCPFS62A.js +87 -0
- package/chunks/{exit-worktree-DDP57JLV.js → exit-worktree-ARA4C3CK.js} +49 -36
- package/chunks/{exitPlanMode-CJBLGPIP.js → exitPlanMode-GCDIQPB7.js} +49 -36
- package/chunks/{fast-path-M6RP2ING.js → fast-path-IDHBVIT6.js} +3 -2
- package/chunks/{fr-X7KDVZIY.js → fr-WVHEBDDB.js} +5 -1
- package/chunks/{gemini-H4PHBJTL.js → gemini-2AFQJMX5.js} +141 -105
- package/chunks/{geminiContentGenerator-VURJYPWP.js → geminiContentGenerator-UDIH3YI6.js} +9 -8
- package/chunks/{getMachineId-bsd-EXV7SWPA.js → getMachineId-bsd-QFVLPUPT.js} +1 -1
- package/chunks/{getMachineId-darwin-IUOMFXU3.js → getMachineId-darwin-DGMQQE2E.js} +1 -1
- package/chunks/{getMachineId-linux-K7XJYFHL.js → getMachineId-linux-R4Z6CSWC.js} +1 -1
- package/chunks/{getMachineId-unsupported-EA5FDRJ6.js → getMachineId-unsupported-Z3SBVBUV.js} +1 -1
- package/chunks/{getMachineId-win-KBA6RAI5.js → getMachineId-win-SCK5UFDT.js} +1 -1
- package/chunks/{glob-2KUSRAVQ.js → glob-HCL7HZ67.js} +49 -36
- package/chunks/{grep-B5RXVESV.js → grep-CJLBSCTV.js} +49 -36
- package/chunks/handleAutoUpdate-Q572P3FL.js +80 -0
- package/chunks/i18n-OBB4R7SR.js +96 -0
- package/chunks/initializer-LXEY6V3C.js +85 -0
- package/chunks/installationInfo-XUAOVMEE.js +79 -0
- package/chunks/{ja-2ICT3KXF.js → ja-KY4ROZTE.js} +5 -1
- package/chunks/{keychain-token-storage-DWRJMNH3.js → keychain-token-storage-6ACJDYIB.js} +3 -3
- package/chunks/{kittyProtocolDetector-HCNNKJTI.js → kittyProtocolDetector-MBRTDRBK.js} +5 -3
- package/chunks/list-WAXY7QOU.js +88 -0
- package/chunks/list-agents-AH3P5NB7.js +80 -0
- package/chunks/loadedSettingsAdapter-OZFNBRHE.js +82 -0
- package/chunks/loggingContentGenerator-7WDTTE6G.js +1068 -0
- package/chunks/{loop-wakeup-5GLTUBHA.js → loop-wakeup-IHRW6TNB.js} +7 -7
- package/chunks/{ls-FHBY3Y7I.js → ls-ZAXZ2G2W.js} +5 -5
- package/chunks/{lsp-B6VMEW6Y.js → lsp-R4ZG3UGQ.js} +3 -3
- package/chunks/managed-npm-update-N42DO5QW.js +339 -0
- package/chunks/mcp-6SOORKTY.js +82 -0
- package/chunks/{monitor-GLJZDNPS.js → monitor-4PSVNVU4.js} +51 -37
- package/chunks/node-UUDY34IG.js +305 -0
- package/chunks/nonInteractiveCli-FBR5S7IZ.js +140 -0
- package/chunks/{notebook-edit-AVCIWS4F.js → notebook-edit-QK26632S.js} +50 -39
- package/chunks/{openaiContentGenerator-B7W24G3D.js → openaiContentGenerator-IXJS6C2U.js} +33 -20
- package/chunks/pidfile-UCFCJOAP.js +85 -0
- package/chunks/{processUtils-XZPY2PBB.js → processUtils-YL2LXON2.js} +2 -2
- package/chunks/{pt-JJ4XPIBP.js → pt-OK455PLH.js} +5 -1
- package/chunks/{qwenContentGenerator-6GUTWJIC.js → qwenContentGenerator-H6WZPJKC.js} +56 -36
- package/chunks/{qwenOAuth2-GASEEWGU.js → qwenOAuth2-HTROHKXO.js} +10 -23
- package/chunks/read-file-FOYTMUNL.js +31 -0
- package/chunks/{read-mcp-resource-AKCL7I43.js → read-mcp-resource-65BWNF3F.js} +3 -3
- package/chunks/{record-artifact-PEUB7727.js → record-artifact-2RLSOP6U.js} +3 -3
- package/chunks/resumeHistoryUtils-ZNHTWBXS.js +90 -0
- package/chunks/ripGrep-K4K4QLNJ.js +72 -0
- package/chunks/{ru-STR4KTW7.js → ru-7SPDGMGD.js} +5 -1
- package/chunks/{run-qwen-serve-OZGR3FQA.js → run-qwen-serve-XI4MCAFV.js} +343 -88
- package/chunks/runtime-4CTBU5WX.js +115 -0
- package/chunks/{scheduler-Z7QLMUWA.js → scheduler-TTEITHBF.js} +46 -33
- package/chunks/sdk-exporters-grpc-N3OLDF63.js +23214 -0
- package/chunks/sdk-exporters-http-AOHAEOMC.js +563 -0
- package/chunks/sdk-impl-TLQOC7P4.js +9193 -0
- package/chunks/{send-message-3RHE7HSM.js → send-message-GEY4CNPS.js} +47 -8
- package/chunks/serve-W7UKJTQT.js +88 -0
- package/chunks/{server-SO64U3X5.js → server-JD5PIE7A.js} +3069 -517
- package/chunks/{session-2KL2WQAH.js → session-R4BDHLYR.js} +112 -177
- package/chunks/{settings-KITVOUSV.js → settings-BXZHA6TZ.js} +50 -37
- package/chunks/shell-XYMFCGN5.js +82 -0
- package/chunks/{skill-SOQHY455.js → skill-YKXYEPOF.js} +25 -20
- package/chunks/spawnChannel-IO4HQLFS.js +81 -0
- package/chunks/{src-43LM7JLB.js → src-LKKTJ4NG.js} +382 -235
- package/chunks/standalone-update-76JG7DVN.js +91 -0
- package/chunks/{startInteractiveUI-3RGTGEX5.js → startInteractiveUI-BXWQUXAS.js} +1314 -958
- package/chunks/{syntheticOutput-FG5PQKIR.js → syntheticOutput-2WNMXEU5.js} +4 -4
- package/chunks/task-create-R5H74Y76.js +25 -0
- package/chunks/{task-list-QWSY4ZIU.js → task-list-WXAFDSRY.js} +7 -7
- package/chunks/{task-stop-GWC6UWAL.js → task-stop-CHFZP23W.js} +4 -4
- package/chunks/{task-update-NCTAB73Q.js → task-update-Z44A4GAR.js} +11 -9
- package/chunks/{team-create-FXN3PEBP.js → team-create-5Y3MCAIM.js} +49 -36
- package/chunks/{team-delete-KK37HTOG.js → team-delete-YDCMRSI4.js} +7 -7
- package/chunks/{team-plan-approval-GEIZ356Q.js → team-plan-approval-HYJJZ76T.js} +49 -36
- package/chunks/theme-manager-3YF2SUZL.js +76 -0
- package/chunks/{todoWrite-ERCAMLFS.js → todoWrite-ED2IVZJL.js} +5 -5
- package/chunks/{tool-search-XKK7DNOK.js → tool-search-3ZO2XMEP.js} +21 -17
- package/chunks/total-session-admission-NDF7EVG7.js +83 -0
- package/chunks/trustedFolders-Q7RALK4T.js +92 -0
- package/chunks/{chunk-6EFTQYW7.js → undici-3FJYTMOF.js} +24 -399
- package/chunks/{chunk-L573Z2QZ.js → undici-PYHBDDPN.js} +1 -5
- package/chunks/{update-relaunch-FMVZK6XF.js → update-relaunch-BTW5XGVT.js} +17 -17
- package/chunks/updateCheck-MXIU6DWQ.js +91 -0
- package/chunks/useAutoAcceptIndicator-BJXHJW77.js +92 -0
- package/chunks/{validateNonInterActiveAuth-PRVEB6GG.js → validateNonInterActiveAuth-FLEPF3QQ.js} +90 -76
- package/chunks/{version-AZMG6KWL.js → version-75VRONIL.js} +1 -1
- package/chunks/{web-fetch-EPGJ5OQQ.js → web-fetch-5X27LYHB.js} +101 -41
- package/chunks/web-search-IDMTBJUP.js +718 -0
- package/chunks/{workflow-UTNVPW22.js → workflow-JOD2OPFQ.js} +54 -40
- package/chunks/workspace-providers-status-WDLBDLPG.js +85 -0
- package/chunks/{workspace-registration-store-F3ZX3YHT.js → workspace-registration-store-26Z6J6P5.js} +9 -3
- package/chunks/workspace-registry-IABDATX3.js +87 -0
- package/chunks/workspace-service-BI4KDYPD.js +97 -0
- package/chunks/workspace-skills-status-OVB4LPHA.js +84 -0
- package/chunks/write-file-276AJ7KE.js +72 -0
- package/chunks/{zh-6ANG2HTL.js → zh-Q54GA5SV.js} +6 -1
- package/chunks/{zh-TW-4RR3YHNN.js → zh-TW-VOBNFOPU.js} +6 -1
- package/cli-entry.js +164 -12
- package/cli.js +19 -12
- package/locales/ca.js +773 -203
- package/locales/de.js +8 -2
- package/locales/en.js +9 -2
- package/locales/fr.js +8 -2
- package/locales/ja.js +8 -2
- package/locales/pt.js +8 -2
- package/locales/ru.js +8 -2
- package/locales/zh-TW.js +9 -2
- package/locales/zh.js +9 -2
- package/package.json +3 -3
- package/web-shell/assets/{arc-Buk1besA.js → arc-CMb7lr2P.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-B1aUKYDC.js → architectureDiagram-3BPJPVTR-D6KQ5Kwm.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CRTdg3Zx.js → blockDiagram-GPEHLZMM-Ce7YYSf8.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DFdRMp5g.js → c4Diagram-AAUBKEIU-DaStHfor.js} +1 -1
- package/web-shell/assets/channel-Dg4f-Kry.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-4rYQdkEI.js → chunk-2J33WTMH-CPaqadg9.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-Coi-pQJy.js → chunk-4BX2VUAB-Veh9ZGKg.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BtBjz02t.js → chunk-55IACEB6-BPTX5n4q.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CGYOWorl.js → chunk-727SXJPM-CtXsE_ca.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CH5AKhqx.js → chunk-AQP2D5EJ-D8DDCJ8h.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-Cd50-w85.js → chunk-FMBD7UC4-cjMDGzHz.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-C2wF3KCK.js → chunk-ND2GUHAM-BaZ1hNhV.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-pCeRTaWi.js → chunk-QZHKN3VN-C7w-9w5-.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CT7Fo2aW.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CT7Fo2aW.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-B-_fAB6D.js → cose-bilkent-S5V4N54A-DqvBEEIe.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-ChSPNHpL.js → dagre-BM42HDAG-RkPyoMAk.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BX7cFOF3.js → diagram-2AECGRRQ-D9b6nNyg.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BQUTW92n.js → diagram-5GNKFQAL-CiiNKUIy.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-BkYPh3e4.js → diagram-KO2AKTUF-CP1qizXd.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-Cl6jsNyx.js → diagram-LMA3HP47-BGe30TWx.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DRWoHz8n.js → diagram-OG6HWLK6-CvoEPARH.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-CGvFcZco.js → erDiagram-TEJ5UH35-DWfLzVkV.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-vms6oVdv.js → flowDiagram-I6XJVG4X-D-dTQmo6.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-ukT_sfmi.js → ganttDiagram-6RSMTGT7-CYPHKaGY.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Bn2ZE2Ut.js → gitGraphDiagram-PVQCEYII-DA7_aQYD.js} +1 -1
- package/web-shell/assets/index-B0i-TOYM.css +5 -0
- package/web-shell/assets/index-CgCHD46L.js +1225 -0
- package/web-shell/assets/{index-wFXp7W68.js → index-DqHNAB8C.js} +1 -1
- package/web-shell/assets/{infoDiagram-5YYISTIA-DHJdSi7x.js → infoDiagram-5YYISTIA-B87ljDPa.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DOvd2Wph.js → ishikawaDiagram-YF4QCWOH-CYSpyjaN.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CH_urMCT.js → journeyDiagram-JHISSGLW-DAL6Js6f.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-FKiBdgbH.js → kanban-definition-UN3LZRKU-_zufKGJv.js} +1 -1
- package/web-shell/assets/{linear-0ZVQFVKf.js → linear-DidhMgku.js} +1 -1
- package/web-shell/assets/{mermaid.core-DJ05ZZIK.js → mermaid.core-DAkX3h3a.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BPuUhkUm.js → mindmap-definition-RKZ34NQL-DbZxUBEH.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-yLFKcXyG.js → pieDiagram-4H26LBE5-Du9uoqrf.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-irWqc1pE.js → quadrantDiagram-W4KKPZXB-DwjELuKm.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-B_4uMoIV.js → requirementDiagram-4Y6WPE33-BAqfVtBL.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-ciA4GPwk.js → sankeyDiagram-5OEKKPKP--hm2VpmK.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CRdZvy0U.js → sequenceDiagram-3UESZ5HK-R5MUQaIt.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-DaYIkCCn.js → stateDiagram-AJRCARHV-VsX032xQ.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-uPWLcSfy.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-oBUKv6iH.js → timeline-definition-PNZ67QCA-BqjVRXzg.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-CGW9Sdmb.js → vennDiagram-CIIHVFJN-i2tkvlkg.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CvwKJOCm.js → wardley-L42UT6IY-Ch8G49EM.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-Ipc260sN.js → wardleyDiagram-YWT4CUSO-bYpWeQNy.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-D6-CM7pK.js → xychartDiagram-2RQKCTM6-C9NhuBqB.js} +1 -1
- package/web-shell/index.html +17 -13
- package/chunks/MaxSizedBox-B5YGZSYE.js +0 -72
- package/chunks/agent-H4JIDL7S.js +0 -67
- package/chunks/agent-headless-TTBEREQV.js +0 -61
- package/chunks/bridge-VL7ITBU5.js +0 -75
- package/chunks/chunk-542SK7KV.js +0 -8293
- package/chunks/chunk-CPCVCKKF.js +0 -358
- package/chunks/chunk-SEKHYHMS.js +0 -45
- package/chunks/chunk-W7FJ3N32.js +0 -49
- package/chunks/chunk-ZFKNWQGQ.js +0 -74639
- package/chunks/contextCommand-L2COEUHS.js +0 -66
- package/chunks/daemon-status-provider-NL4IAG7B.js +0 -74
- package/chunks/earlyInputCapture-L6I2A22T.js +0 -68
- package/chunks/errors-LEOF5QG4.js +0 -74
- package/chunks/handleAutoUpdate-QQVIWXKT.js +0 -67
- package/chunks/i18n-N6OBDORT.js +0 -83
- package/chunks/initializer-6WCFNDLL.js +0 -72
- package/chunks/installationInfo-6J3WPXNS.js +0 -64
- package/chunks/list-HOWQSWP6.js +0 -75
- package/chunks/loadedSettingsAdapter-AO4YBRXZ.js +0 -69
- package/chunks/mcp-QH7QNXOH.js +0 -69
- package/chunks/nonInteractiveCli-TI7EMPXD.js +0 -126
- package/chunks/pidfile-UEHAT6DH.js +0 -72
- package/chunks/read-file-SQJONF6A.js +0 -29
- package/chunks/resumeHistoryUtils-PFQ2A23X.js +0 -78
- package/chunks/ripGrep-QCK22GDU.js +0 -59
- package/chunks/runtime-SNVAP6EH.js +0 -100
- package/chunks/serve-BT7KS6SC.js +0 -75
- package/chunks/shell-BITUVH2R.js +0 -69
- package/chunks/spawnChannel-2BU3AULL.js +0 -68
- package/chunks/standalone-update-YG5JUYCM.js +0 -78
- package/chunks/task-create-HX32YXO7.js +0 -23
- package/chunks/theme-manager-IAETOI25.js +0 -63
- package/chunks/total-session-admission-BJLDHKJN.js +0 -69
- package/chunks/trustedFolders-5XCVNEUU.js +0 -79
- package/chunks/updateCheck-YZZB7YBU.js +0 -70
- package/chunks/useAutoAcceptIndicator-ZSQX4I2H.js +0 -80
- package/chunks/workspace-providers-status-EADV364W.js +0 -72
- package/chunks/workspace-registry-W6VMFYZU.js +0 -73
- package/chunks/workspace-service-F3KIN2UN.js +0 -84
- package/chunks/workspace-skills-status-YVICUR5Y.js +0 -71
- package/chunks/write-file-CVGF2OKV.js +0 -596
- package/web-shell/assets/channel-04R0vLbG.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-Bw9SOwAV.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Bw9SOwAV.js +0 -1
- package/web-shell/assets/index-DgkKrjw3.js +0 -1187
- package/web-shell/assets/index-Rv6mOAN9.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DWBoO4UY.js +0 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
LoadedTrustedFolders,
|
|
5
|
+
TRUSTED_FOLDERS_FILENAME,
|
|
6
|
+
TrustLevel,
|
|
7
|
+
getTrustedFoldersPath,
|
|
8
|
+
getWorkspaceTrustStatus,
|
|
9
|
+
isFolderTrustEnabled,
|
|
10
|
+
isWorkspaceTrusted,
|
|
11
|
+
loadTrustedFolders,
|
|
12
|
+
resetTrustedFoldersForTesting,
|
|
13
|
+
saveTrustedFolders
|
|
14
|
+
} from "./chunk-CXUFILV3.js";
|
|
15
|
+
import "./chunk-ALGGS7UH.js";
|
|
16
|
+
import "./chunk-MR3PXB6E.js";
|
|
17
|
+
import "./chunk-OWAK7LMW.js";
|
|
18
|
+
import "./chunk-LI4I37W4.js";
|
|
19
|
+
import "./chunk-5M6IDOMF.js";
|
|
20
|
+
import "./chunk-TWPJO254.js";
|
|
21
|
+
import "./chunk-H6XPXXMH.js";
|
|
22
|
+
import "./chunk-NOAAFNTJ.js";
|
|
23
|
+
import "./chunk-AFFGGOF6.js";
|
|
24
|
+
import "./chunk-RGG6M2WF.js";
|
|
25
|
+
import "./chunk-X6N25LXS.js";
|
|
26
|
+
import "./chunk-KRXPRVGL.js";
|
|
27
|
+
import "./chunk-6PVPNMXU.js";
|
|
28
|
+
import "./chunk-UO7DCGEV.js";
|
|
29
|
+
import "./chunk-IRH27ZC2.js";
|
|
30
|
+
import "./chunk-VDDGDZMA.js";
|
|
31
|
+
import "./chunk-C3VHAXP2.js";
|
|
32
|
+
import "./chunk-SZRN75WQ.js";
|
|
33
|
+
import "./chunk-HTO4JFDZ.js";
|
|
34
|
+
import "./chunk-CPBF7KYF.js";
|
|
35
|
+
import "./chunk-XAWJ2526.js";
|
|
36
|
+
import "./chunk-6AM5D4ME.js";
|
|
37
|
+
import "./chunk-NABLFI57.js";
|
|
38
|
+
import "./chunk-QBUDF33N.js";
|
|
39
|
+
import "./chunk-JCW2R7WC.js";
|
|
40
|
+
import "./chunk-57FIIFJN.js";
|
|
41
|
+
import "./chunk-LIZRAKPB.js";
|
|
42
|
+
import "./chunk-LYTBLSSW.js";
|
|
43
|
+
import "./chunk-WI3KCKZ5.js";
|
|
44
|
+
import "./chunk-DP5GT2MW.js";
|
|
45
|
+
import "./chunk-JESCGQM3.js";
|
|
46
|
+
import "./chunk-XVNQMZ2I.js";
|
|
47
|
+
import "./chunk-FODK6UMO.js";
|
|
48
|
+
import "./chunk-GLNBDYUX.js";
|
|
49
|
+
import "./chunk-DJ2GSRLV.js";
|
|
50
|
+
import "./chunk-R6D2CTQR.js";
|
|
51
|
+
import "./chunk-AXUW635Q.js";
|
|
52
|
+
import "./chunk-BPJSQIJX.js";
|
|
53
|
+
import "./chunk-P3QQPMQA.js";
|
|
54
|
+
import "./chunk-6QHAUJUE.js";
|
|
55
|
+
import "./chunk-LS77BEZP.js";
|
|
56
|
+
import "./chunk-IFG6TYJ2.js";
|
|
57
|
+
import "./chunk-VGC4I5JJ.js";
|
|
58
|
+
import "./chunk-4K56OJFJ.js";
|
|
59
|
+
import "./chunk-36HSVBBU.js";
|
|
60
|
+
import "./chunk-46UV252V.js";
|
|
61
|
+
import "./chunk-A4UCTEB5.js";
|
|
62
|
+
import "./chunk-XWRJCPHC.js";
|
|
63
|
+
import "./chunk-UW5EOVUN.js";
|
|
64
|
+
import "./chunk-NBQDBANR.js";
|
|
65
|
+
import "./chunk-QNLNLENL.js";
|
|
66
|
+
import "./chunk-6X4GWOPW.js";
|
|
67
|
+
import "./chunk-PKL3HGNZ.js";
|
|
68
|
+
import "./chunk-HTR4WV6U.js";
|
|
69
|
+
import "./chunk-BULDBTYC.js";
|
|
70
|
+
import "./chunk-U7ZFW55U.js";
|
|
71
|
+
import "./chunk-ERLGR7GI.js";
|
|
72
|
+
import "./chunk-P5RRUHL7.js";
|
|
73
|
+
import "./chunk-OQB4EXO4.js";
|
|
74
|
+
import "./chunk-75DOP5OR.js";
|
|
75
|
+
import "./chunk-DMTGGOSA.js";
|
|
76
|
+
import "./chunk-YQ3U5MUC.js";
|
|
77
|
+
import "./chunk-AMDSOFFV.js";
|
|
78
|
+
import "./chunk-THJNPLI4.js";
|
|
79
|
+
import "./chunk-5O2XNYP6.js";
|
|
80
|
+
import "./chunk-J2S4EL5Y.js";
|
|
81
|
+
export {
|
|
82
|
+
LoadedTrustedFolders,
|
|
83
|
+
TRUSTED_FOLDERS_FILENAME,
|
|
84
|
+
TrustLevel,
|
|
85
|
+
getTrustedFoldersPath,
|
|
86
|
+
getWorkspaceTrustStatus,
|
|
87
|
+
isFolderTrustEnabled,
|
|
88
|
+
isWorkspaceTrusted,
|
|
89
|
+
loadTrustedFolders,
|
|
90
|
+
resetTrustedFoldersForTesting,
|
|
91
|
+
saveTrustedFolders
|
|
92
|
+
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
createDebugLogger
|
|
5
|
-
} from "./chunk-C27BYUX6.js";
|
|
6
3
|
import {
|
|
7
4
|
__qwen_filename,
|
|
8
5
|
init_esbuild_shims
|
|
@@ -10,8 +7,7 @@ import {
|
|
|
10
7
|
import {
|
|
11
8
|
__commonJS,
|
|
12
9
|
__name,
|
|
13
|
-
__require
|
|
14
|
-
__toESM
|
|
10
|
+
__require
|
|
15
11
|
} from "./chunk-J2S4EL5Y.js";
|
|
16
12
|
|
|
17
13
|
// packages/core/node_modules/undici/lib/core/symbols.js
|
|
@@ -10097,7 +10093,7 @@ var require_agent = __commonJS({
|
|
|
10097
10093
|
return opts && opts.connections === 1 ? new Client(origin, opts) : new Pool(origin, opts);
|
|
10098
10094
|
}
|
|
10099
10095
|
__name(defaultFactory, "defaultFactory");
|
|
10100
|
-
var
|
|
10096
|
+
var Agent = class extends DispatcherBase {
|
|
10101
10097
|
static {
|
|
10102
10098
|
__name(this, "Agent");
|
|
10103
10099
|
}
|
|
@@ -10209,7 +10205,7 @@ var require_agent = __commonJS({
|
|
|
10209
10205
|
return allClientStats;
|
|
10210
10206
|
}
|
|
10211
10207
|
};
|
|
10212
|
-
module.exports =
|
|
10208
|
+
module.exports = Agent;
|
|
10213
10209
|
}
|
|
10214
10210
|
});
|
|
10215
10211
|
|
|
@@ -10930,7 +10926,7 @@ var require_proxy_agent = __commonJS({
|
|
|
10930
10926
|
"use strict";
|
|
10931
10927
|
init_esbuild_shims();
|
|
10932
10928
|
var { kProxy, kClose, kDestroy, kDispatch } = require_symbols();
|
|
10933
|
-
var
|
|
10929
|
+
var Agent = require_agent();
|
|
10934
10930
|
var Pool = require_pool();
|
|
10935
10931
|
var DispatcherBase = require_dispatcher_base();
|
|
10936
10932
|
var { InvalidArgumentError, RequestAbortedError, SecureProxyConnectionError } = require_errors();
|
|
@@ -11070,7 +11066,7 @@ var require_proxy_agent = __commonJS({
|
|
|
11070
11066
|
} else {
|
|
11071
11067
|
this[kClient] = clientFactory(url, { connect });
|
|
11072
11068
|
}
|
|
11073
|
-
this[kAgent] = new
|
|
11069
|
+
this[kAgent] = new Agent({
|
|
11074
11070
|
...opts,
|
|
11075
11071
|
factory,
|
|
11076
11072
|
connect: /* @__PURE__ */ __name(async (opts2, callback) => {
|
|
@@ -11201,12 +11197,12 @@ var require_env_http_proxy_agent = __commonJS({
|
|
|
11201
11197
|
var DispatcherBase = require_dispatcher_base();
|
|
11202
11198
|
var { kClose, kDestroy, kClosed, kDestroyed, kDispatch, kNoProxyAgent, kHttpProxyAgent, kHttpsProxyAgent } = require_symbols();
|
|
11203
11199
|
var ProxyAgent = require_proxy_agent();
|
|
11204
|
-
var
|
|
11200
|
+
var Agent = require_agent();
|
|
11205
11201
|
var DEFAULT_PORTS = {
|
|
11206
11202
|
"http:": 80,
|
|
11207
11203
|
"https:": 443
|
|
11208
11204
|
};
|
|
11209
|
-
var
|
|
11205
|
+
var EnvHttpProxyAgent = class extends DispatcherBase {
|
|
11210
11206
|
static {
|
|
11211
11207
|
__name(this, "EnvHttpProxyAgent");
|
|
11212
11208
|
}
|
|
@@ -11217,7 +11213,7 @@ var require_env_http_proxy_agent = __commonJS({
|
|
|
11217
11213
|
super();
|
|
11218
11214
|
this.#opts = opts;
|
|
11219
11215
|
const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts;
|
|
11220
|
-
this[kNoProxyAgent] = new
|
|
11216
|
+
this[kNoProxyAgent] = new Agent(agentOpts);
|
|
11221
11217
|
const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY;
|
|
11222
11218
|
if (HTTP_PROXY) {
|
|
11223
11219
|
this[kHttpProxyAgent] = new ProxyAgent({ ...agentOpts, uri: HTTP_PROXY });
|
|
@@ -11316,7 +11312,7 @@ var require_env_http_proxy_agent = __commonJS({
|
|
|
11316
11312
|
return process.env.no_proxy ?? process.env.NO_PROXY ?? "";
|
|
11317
11313
|
}
|
|
11318
11314
|
};
|
|
11319
|
-
module.exports =
|
|
11315
|
+
module.exports = EnvHttpProxyAgent;
|
|
11320
11316
|
}
|
|
11321
11317
|
});
|
|
11322
11318
|
|
|
@@ -13999,7 +13995,7 @@ var require_mock_agent = __commonJS({
|
|
|
13999
13995
|
"use strict";
|
|
14000
13996
|
init_esbuild_shims();
|
|
14001
13997
|
var { kClients } = require_symbols();
|
|
14002
|
-
var
|
|
13998
|
+
var Agent = require_agent();
|
|
14003
13999
|
var {
|
|
14004
14000
|
kAgent,
|
|
14005
14001
|
kMockAgentSet,
|
|
@@ -14040,7 +14036,7 @@ var require_mock_agent = __commonJS({
|
|
|
14040
14036
|
if (opts?.agent && typeof opts.agent.dispatch !== "function") {
|
|
14041
14037
|
throw new InvalidArgumentError("Argument opts.agent must implement Agent");
|
|
14042
14038
|
}
|
|
14043
|
-
const agent = opts?.agent ? opts.agent : new
|
|
14039
|
+
const agent = opts?.agent ? opts.agent : new Agent(opts);
|
|
14044
14040
|
this[kAgent] = agent;
|
|
14045
14041
|
this[kClients] = agent[kClients];
|
|
14046
14042
|
this[kOptions] = mockOptions;
|
|
@@ -14662,7 +14658,7 @@ var require_snapshot_agent = __commonJS({
|
|
|
14662
14658
|
"packages/core/node_modules/undici/lib/mock/snapshot-agent.js"(exports, module) {
|
|
14663
14659
|
"use strict";
|
|
14664
14660
|
init_esbuild_shims();
|
|
14665
|
-
var
|
|
14661
|
+
var Agent = require_agent();
|
|
14666
14662
|
var MockAgent = require_mock_agent();
|
|
14667
14663
|
var { SnapshotRecorder } = require_snapshot_recorder();
|
|
14668
14664
|
var WrapHandler = require_wrap_handler();
|
|
@@ -14716,7 +14712,7 @@ var require_snapshot_agent = __commonJS({
|
|
|
14716
14712
|
});
|
|
14717
14713
|
this[kSnapshotLoaded] = false;
|
|
14718
14714
|
if (this[kSnapshotMode] === "record" || this[kSnapshotMode] === "update" || this[kSnapshotMode] === "playback" && opts.excludeUrls && opts.excludeUrls.length > 0) {
|
|
14719
|
-
this[kRealAgent] = new
|
|
14715
|
+
this[kRealAgent] = new Agent(opts);
|
|
14720
14716
|
}
|
|
14721
14717
|
if ((this[kSnapshotMode] === "playback" || this[kSnapshotMode] === "update") && this[kSnapshotPath]) {
|
|
14722
14718
|
this.loadSnapshots().catch(() => {
|
|
@@ -14956,9 +14952,9 @@ var require_global2 = __commonJS({
|
|
|
14956
14952
|
var globalDispatcher = Symbol.for("undici.globalDispatcher.2");
|
|
14957
14953
|
var legacyGlobalDispatcher = Symbol.for("undici.globalDispatcher.1");
|
|
14958
14954
|
var { InvalidArgumentError } = require_errors();
|
|
14959
|
-
var
|
|
14955
|
+
var Agent = require_agent();
|
|
14960
14956
|
if (getGlobalDispatcher() === void 0) {
|
|
14961
|
-
setGlobalDispatcher(new
|
|
14957
|
+
setGlobalDispatcher(new Agent());
|
|
14962
14958
|
}
|
|
14963
14959
|
function setGlobalDispatcher(agent) {
|
|
14964
14960
|
if (!agent || typeof agent.dispatch !== "function") {
|
|
@@ -20666,7 +20662,7 @@ var require_fetch = __commonJS({
|
|
|
20666
20662
|
finalizeAndReportTiming(response, "fetch");
|
|
20667
20663
|
}
|
|
20668
20664
|
__name(handleFetchDone, "handleFetchDone");
|
|
20669
|
-
function
|
|
20665
|
+
function fetch(input, init = void 0) {
|
|
20670
20666
|
webidl.argumentLengthCheck(arguments, 1, "globalThis.fetch");
|
|
20671
20667
|
let p = createDeferredPromise();
|
|
20672
20668
|
let requestObject;
|
|
@@ -20726,7 +20722,7 @@ var require_fetch = __commonJS({
|
|
|
20726
20722
|
});
|
|
20727
20723
|
return p.promise;
|
|
20728
20724
|
}
|
|
20729
|
-
__name(
|
|
20725
|
+
__name(fetch, "fetch");
|
|
20730
20726
|
function finalizeAndReportTiming(response, initiatorType = "other") {
|
|
20731
20727
|
if (response.type === "error" && response.aborted) {
|
|
20732
20728
|
return;
|
|
@@ -21710,7 +21706,7 @@ var require_fetch = __commonJS({
|
|
|
21710
21706
|
}
|
|
21711
21707
|
__name(httpNetworkFetch, "httpNetworkFetch");
|
|
21712
21708
|
module.exports = {
|
|
21713
|
-
fetch
|
|
21709
|
+
fetch,
|
|
21714
21710
|
Fetch,
|
|
21715
21711
|
fetching,
|
|
21716
21712
|
finalizeAndReportTiming
|
|
@@ -25713,17 +25709,16 @@ var require_eventsource = __commonJS({
|
|
|
25713
25709
|
// packages/core/node_modules/undici/index.js
|
|
25714
25710
|
var require_undici = __commonJS({
|
|
25715
25711
|
"packages/core/node_modules/undici/index.js"(exports, module) {
|
|
25716
|
-
"use strict";
|
|
25717
25712
|
init_esbuild_shims();
|
|
25718
25713
|
var Client = require_client();
|
|
25719
25714
|
var Dispatcher = require_dispatcher();
|
|
25720
25715
|
var Pool = require_pool();
|
|
25721
25716
|
var BalancedPool = require_balanced_pool();
|
|
25722
25717
|
var RoundRobinPool = require_round_robin_pool();
|
|
25723
|
-
var
|
|
25718
|
+
var Agent = require_agent();
|
|
25724
25719
|
var ProxyAgent = require_proxy_agent();
|
|
25725
25720
|
var Socks5ProxyAgent = require_socks5_proxy_agent();
|
|
25726
|
-
var
|
|
25721
|
+
var EnvHttpProxyAgent = require_env_http_proxy_agent();
|
|
25727
25722
|
var RetryAgent = require_retry_agent();
|
|
25728
25723
|
var H2CClient = require_h2c_client();
|
|
25729
25724
|
var errors = require_errors();
|
|
@@ -25747,10 +25742,10 @@ var require_undici = __commonJS({
|
|
|
25747
25742
|
module.exports.Pool = Pool;
|
|
25748
25743
|
module.exports.BalancedPool = BalancedPool;
|
|
25749
25744
|
module.exports.RoundRobinPool = RoundRobinPool;
|
|
25750
|
-
module.exports.Agent =
|
|
25745
|
+
module.exports.Agent = Agent;
|
|
25751
25746
|
module.exports.ProxyAgent = ProxyAgent;
|
|
25752
25747
|
module.exports.Socks5ProxyAgent = Socks5ProxyAgent;
|
|
25753
|
-
module.exports.EnvHttpProxyAgent =
|
|
25748
|
+
module.exports.EnvHttpProxyAgent = EnvHttpProxyAgent;
|
|
25754
25749
|
module.exports.RetryAgent = RetryAgent;
|
|
25755
25750
|
module.exports.H2CClient = H2CClient;
|
|
25756
25751
|
module.exports.RetryHandler = RetryHandler;
|
|
@@ -25840,7 +25835,7 @@ var require_undici = __commonJS({
|
|
|
25840
25835
|
${captureLines}` : capture.stack;
|
|
25841
25836
|
}
|
|
25842
25837
|
__name(appendFetchStackTrace, "appendFetchStackTrace");
|
|
25843
|
-
module.exports.fetch = /* @__PURE__ */ __name(function
|
|
25838
|
+
module.exports.fetch = /* @__PURE__ */ __name(function fetch(init, options = void 0) {
|
|
25844
25839
|
return fetchImpl(init, options).catch((err) => {
|
|
25845
25840
|
if (currentFilename) {
|
|
25846
25841
|
appendFetchStackTrace(err, currentFilename);
|
|
@@ -25908,377 +25903,7 @@ ${captureLines}` : capture.stack;
|
|
|
25908
25903
|
module.exports.install = install;
|
|
25909
25904
|
}
|
|
25910
25905
|
});
|
|
25911
|
-
|
|
25912
|
-
// packages/core/src/utils/runtimeFetchOptions.ts
|
|
25913
|
-
init_esbuild_shims();
|
|
25914
|
-
var import_undici = __toESM(require_undici(), 1);
|
|
25915
|
-
var debugLogger = createDebugLogger("RUNTIME_FETCH");
|
|
25916
|
-
function isTlsVerificationDisabled() {
|
|
25917
|
-
const flag = process.env["QWEN_TLS_INSECURE"];
|
|
25918
|
-
if (flag !== void 0 && /^(1|true|yes|on)$/i.test(flag.trim())) {
|
|
25919
|
-
return true;
|
|
25920
|
-
}
|
|
25921
|
-
return process.env["NODE_TLS_REJECT_UNAUTHORIZED"] === "0";
|
|
25922
|
-
}
|
|
25923
|
-
__name(isTlsVerificationDisabled, "isTlsVerificationDisabled");
|
|
25924
|
-
function detectRuntime() {
|
|
25925
|
-
if (typeof process !== "undefined" && process.versions?.["bun"]) {
|
|
25926
|
-
return "bun";
|
|
25927
|
-
}
|
|
25928
|
-
if (typeof process !== "undefined" && process.versions?.node) {
|
|
25929
|
-
return "node";
|
|
25930
|
-
}
|
|
25931
|
-
return "unknown";
|
|
25932
|
-
}
|
|
25933
|
-
__name(detectRuntime, "detectRuntime");
|
|
25934
|
-
function buildRuntimeFetchOptions(sdkType, proxyUrl) {
|
|
25935
|
-
const runtime = detectRuntime();
|
|
25936
|
-
switch (runtime) {
|
|
25937
|
-
case "bun": {
|
|
25938
|
-
if (sdkType === "openai") {
|
|
25939
|
-
return {
|
|
25940
|
-
fetchOptions: {
|
|
25941
|
-
timeout: false
|
|
25942
|
-
}
|
|
25943
|
-
};
|
|
25944
|
-
} else {
|
|
25945
|
-
const bunFetch = /* @__PURE__ */ __name(async (input, init) => {
|
|
25946
|
-
const bunFetchOptions = {
|
|
25947
|
-
...init,
|
|
25948
|
-
// @ts-expect-error - Bun-specific timeout option
|
|
25949
|
-
timeout: false
|
|
25950
|
-
};
|
|
25951
|
-
return fetch(input, bunFetchOptions);
|
|
25952
|
-
}, "bunFetch");
|
|
25953
|
-
return {
|
|
25954
|
-
fetch: bunFetch
|
|
25955
|
-
};
|
|
25956
|
-
}
|
|
25957
|
-
}
|
|
25958
|
-
case "node": {
|
|
25959
|
-
return buildFetchOptionsWithDispatcher(sdkType, proxyUrl);
|
|
25960
|
-
}
|
|
25961
|
-
default: {
|
|
25962
|
-
return buildFetchOptionsWithDispatcher(sdkType, proxyUrl);
|
|
25963
|
-
}
|
|
25964
|
-
}
|
|
25965
|
-
}
|
|
25966
|
-
__name(buildRuntimeFetchOptions, "buildRuntimeFetchOptions");
|
|
25967
|
-
var dispatcherCache = /* @__PURE__ */ new Map();
|
|
25968
|
-
var proxyFailureCounts = /* @__PURE__ */ new Map();
|
|
25969
|
-
var NO_DISPATCHER_FALLBACK = {
|
|
25970
|
-
openai: void 0,
|
|
25971
|
-
anthropic: {}
|
|
25972
|
-
};
|
|
25973
|
-
function getOrCreateSharedDispatcher(proxyUrl, insecure = isTlsVerificationDisabled()) {
|
|
25974
|
-
const cacheKey = insecure ? `${proxyUrl}#insecure` : proxyUrl;
|
|
25975
|
-
const cached = dispatcherCache.get(cacheKey);
|
|
25976
|
-
if (cached) {
|
|
25977
|
-
return cached;
|
|
25978
|
-
}
|
|
25979
|
-
const dispatcher = new import_undici.EnvHttpProxyAgent({
|
|
25980
|
-
httpProxy: proxyUrl,
|
|
25981
|
-
httpsProxy: proxyUrl,
|
|
25982
|
-
headersTimeout: 0,
|
|
25983
|
-
bodyTimeout: 0,
|
|
25984
|
-
keepAliveTimeout: 6e4,
|
|
25985
|
-
// EnvHttpProxyAgent can dispatch either directly or through a proxy.
|
|
25986
|
-
// `connect` covers a direct NO_PROXY connection, `requestTls` covers the
|
|
25987
|
-
// origin through a proxy, and `proxyTls` covers an HTTPS proxy itself.
|
|
25988
|
-
...insecure ? {
|
|
25989
|
-
connect: { rejectUnauthorized: false },
|
|
25990
|
-
requestTls: { rejectUnauthorized: false },
|
|
25991
|
-
proxyTls: { rejectUnauthorized: false }
|
|
25992
|
-
} : {}
|
|
25993
|
-
});
|
|
25994
|
-
dispatcherCache.set(cacheKey, dispatcher);
|
|
25995
|
-
return dispatcher;
|
|
25996
|
-
}
|
|
25997
|
-
__name(getOrCreateSharedDispatcher, "getOrCreateSharedDispatcher");
|
|
25998
|
-
function extractHostnameFromProxyUrl(proxyUrl) {
|
|
25999
|
-
try {
|
|
26000
|
-
const url = new URL(proxyUrl);
|
|
26001
|
-
if (url.hostname) {
|
|
26002
|
-
return url.port ? `${url.hostname}:${url.port}` : url.hostname;
|
|
26003
|
-
}
|
|
26004
|
-
} catch {
|
|
26005
|
-
}
|
|
26006
|
-
const match = proxyUrl.match(/@([^:/\s]+)(:\d+)?/);
|
|
26007
|
-
return match ? match[1] + (match[2] ?? "") : redactProxyCredentials(proxyUrl);
|
|
26008
|
-
}
|
|
26009
|
-
__name(extractHostnameFromProxyUrl, "extractHostnameFromProxyUrl");
|
|
26010
|
-
function hasPlausibleProxyPort(host) {
|
|
26011
|
-
const portMatch = host.match(/:(\d{1,5})$/);
|
|
26012
|
-
if (!portMatch) {
|
|
26013
|
-
return false;
|
|
26014
|
-
}
|
|
26015
|
-
const port = Number(portMatch[1]);
|
|
26016
|
-
return port >= 80 && port <= 65535;
|
|
26017
|
-
}
|
|
26018
|
-
__name(hasPlausibleProxyPort, "hasPlausibleProxyPort");
|
|
26019
|
-
function hasLocalOrProxyLikeHost(host) {
|
|
26020
|
-
const hostWithoutPort = host.replace(/:\d{1,5}$/, "").toLowerCase();
|
|
26021
|
-
if (hostWithoutPort === "localhost") {
|
|
26022
|
-
return true;
|
|
26023
|
-
}
|
|
26024
|
-
if (/^\d{1,3}(\.\d{1,3}){3}$/.test(hostWithoutPort)) {
|
|
26025
|
-
return true;
|
|
26026
|
-
}
|
|
26027
|
-
return hostWithoutPort.split(/[.-]/).some((label) => /^(proxy|gateway|gw|squid)\d*$/.test(label));
|
|
26028
|
-
}
|
|
26029
|
-
__name(hasLocalOrProxyLikeHost, "hasLocalOrProxyLikeHost");
|
|
26030
|
-
function hasNetworkErrorContext(message, offset) {
|
|
26031
|
-
const context = message.slice(Math.max(0, offset - 80), offset).toLowerCase();
|
|
26032
|
-
return /\b(connect|dispatcher|econnrefused|econnreset|enotfound|etimedout|proxy|tunnel)\b/.test(
|
|
26033
|
-
context
|
|
26034
|
-
);
|
|
26035
|
-
}
|
|
26036
|
-
__name(hasNetworkErrorContext, "hasNetworkErrorContext");
|
|
26037
|
-
function shouldRedactTokenOnlyCredential(host, message, offset) {
|
|
26038
|
-
return hasPlausibleProxyPort(host) && (hasLocalOrProxyLikeHost(host) || hasNetworkErrorContext(message, offset));
|
|
26039
|
-
}
|
|
26040
|
-
__name(shouldRedactTokenOnlyCredential, "shouldRedactTokenOnlyCredential");
|
|
26041
|
-
function redactProxyCredentials(message) {
|
|
26042
|
-
let result = message.replace(/\/\/[^/\s]*@/g, "//<redacted>@");
|
|
26043
|
-
result = result.replace(
|
|
26044
|
-
/(^|[\s([=:])([^\s/@()[\]=]+@[^@\s/()[\]=]+)/g,
|
|
26045
|
-
(match, prefix, candidate, offset, message2) => {
|
|
26046
|
-
const atIndex = candidate.indexOf("@");
|
|
26047
|
-
const userInfo = candidate.slice(0, atIndex);
|
|
26048
|
-
const host = candidate.slice(atIndex + 1);
|
|
26049
|
-
if (!userInfo.includes(":") && !shouldRedactTokenOnlyCredential(host, message2, offset)) {
|
|
26050
|
-
return match;
|
|
26051
|
-
}
|
|
26052
|
-
return `${prefix}<redacted>@${host}`;
|
|
26053
|
-
}
|
|
26054
|
-
);
|
|
26055
|
-
return result;
|
|
26056
|
-
}
|
|
26057
|
-
__name(redactProxyCredentials, "redactProxyCredentials");
|
|
26058
|
-
function redactProxyError(error) {
|
|
26059
|
-
return redactProxyErrorValue(error, /* @__PURE__ */ new WeakMap());
|
|
26060
|
-
}
|
|
26061
|
-
__name(redactProxyError, "redactProxyError");
|
|
26062
|
-
function redactProxyErrorValue(error, seen) {
|
|
26063
|
-
if (typeof error === "string") {
|
|
26064
|
-
return redactProxyCredentials(error);
|
|
26065
|
-
}
|
|
26066
|
-
if (!error || typeof error !== "object") {
|
|
26067
|
-
return error;
|
|
26068
|
-
}
|
|
26069
|
-
if (seen.has(error)) {
|
|
26070
|
-
return seen.get(error);
|
|
26071
|
-
}
|
|
26072
|
-
const errorRecord = error;
|
|
26073
|
-
const needsClone = shouldCloneForRedaction(error, errorRecord);
|
|
26074
|
-
const redactedMessage = typeof errorRecord.message === "string" ? redactProxyCredentials(errorRecord.message) : void 0;
|
|
26075
|
-
const redactedStack = typeof errorRecord.stack === "string" ? redactProxyCredentials(errorRecord.stack) : void 0;
|
|
26076
|
-
let redactedCause = errorRecord.cause;
|
|
26077
|
-
let redactedErrors = errorRecord.errors;
|
|
26078
|
-
if (needsClone) {
|
|
26079
|
-
const clone = Object.create(Object.getPrototypeOf(error));
|
|
26080
|
-
seen.set(error, clone);
|
|
26081
|
-
if (errorRecord.cause !== void 0) {
|
|
26082
|
-
redactedCause = redactProxyErrorValue(errorRecord.cause, seen);
|
|
26083
|
-
}
|
|
26084
|
-
if (errorRecord.errors !== void 0) {
|
|
26085
|
-
redactedErrors = redactProxyErrorCollection(errorRecord.errors, seen);
|
|
26086
|
-
}
|
|
26087
|
-
cloneErrorWithRedactedFields(
|
|
26088
|
-
error,
|
|
26089
|
-
clone,
|
|
26090
|
-
redactedMessage,
|
|
26091
|
-
redactedStack,
|
|
26092
|
-
redactedCause,
|
|
26093
|
-
redactedErrors
|
|
26094
|
-
);
|
|
26095
|
-
return clone;
|
|
26096
|
-
}
|
|
26097
|
-
seen.set(error, error);
|
|
26098
|
-
try {
|
|
26099
|
-
if (redactedMessage !== void 0) {
|
|
26100
|
-
errorRecord.message = redactedMessage;
|
|
26101
|
-
}
|
|
26102
|
-
if (redactedStack !== void 0) {
|
|
26103
|
-
errorRecord.stack = redactedStack;
|
|
26104
|
-
}
|
|
26105
|
-
if (errorRecord.cause !== void 0) {
|
|
26106
|
-
redactedCause = redactProxyErrorValue(errorRecord.cause, seen);
|
|
26107
|
-
errorRecord.cause = redactedCause;
|
|
26108
|
-
}
|
|
26109
|
-
if (errorRecord.errors !== void 0) {
|
|
26110
|
-
redactedErrors = redactProxyErrorCollection(errorRecord.errors, seen);
|
|
26111
|
-
errorRecord.errors = redactedErrors;
|
|
26112
|
-
}
|
|
26113
|
-
return error;
|
|
26114
|
-
} catch {
|
|
26115
|
-
const clone = Object.create(Object.getPrototypeOf(error));
|
|
26116
|
-
seen.set(error, clone);
|
|
26117
|
-
if (errorRecord.cause !== void 0) {
|
|
26118
|
-
redactedCause = redactProxyErrorValue(errorRecord.cause, seen);
|
|
26119
|
-
}
|
|
26120
|
-
if (errorRecord.errors !== void 0) {
|
|
26121
|
-
redactedErrors = redactProxyErrorCollection(errorRecord.errors, seen);
|
|
26122
|
-
}
|
|
26123
|
-
cloneErrorWithRedactedFields(
|
|
26124
|
-
error,
|
|
26125
|
-
clone,
|
|
26126
|
-
redactedMessage,
|
|
26127
|
-
redactedStack,
|
|
26128
|
-
redactedCause,
|
|
26129
|
-
redactedErrors
|
|
26130
|
-
);
|
|
26131
|
-
return clone;
|
|
26132
|
-
}
|
|
26133
|
-
}
|
|
26134
|
-
__name(redactProxyErrorValue, "redactProxyErrorValue");
|
|
26135
|
-
function redactProxyErrorCollection(errors, seen) {
|
|
26136
|
-
if (!Array.isArray(errors)) {
|
|
26137
|
-
return redactProxyErrorValue(errors, seen);
|
|
26138
|
-
}
|
|
26139
|
-
if (seen.has(errors)) {
|
|
26140
|
-
return seen.get(errors);
|
|
26141
|
-
}
|
|
26142
|
-
const redactedErrors = [];
|
|
26143
|
-
seen.set(errors, redactedErrors);
|
|
26144
|
-
for (const error of errors) {
|
|
26145
|
-
redactedErrors.push(redactProxyErrorValue(error, seen));
|
|
26146
|
-
}
|
|
26147
|
-
return redactedErrors;
|
|
26148
|
-
}
|
|
26149
|
-
__name(redactProxyErrorCollection, "redactProxyErrorCollection");
|
|
26150
|
-
function shouldCloneForRedaction(error, errorRecord) {
|
|
26151
|
-
return typeof errorRecord.message === "string" && !canAssignProperty(error, "message") || typeof errorRecord.stack === "string" && !canAssignProperty(error, "stack") || errorRecord.cause !== void 0 && !canAssignProperty(error, "cause") || errorRecord.errors !== void 0 && !canAssignProperty(error, "errors");
|
|
26152
|
-
}
|
|
26153
|
-
__name(shouldCloneForRedaction, "shouldCloneForRedaction");
|
|
26154
|
-
function canAssignProperty(target, key) {
|
|
26155
|
-
let current = target;
|
|
26156
|
-
while (current) {
|
|
26157
|
-
const descriptor = Object.getOwnPropertyDescriptor(current, key);
|
|
26158
|
-
if (descriptor) {
|
|
26159
|
-
if ("writable" in descriptor) {
|
|
26160
|
-
return descriptor.writable === true;
|
|
26161
|
-
}
|
|
26162
|
-
return typeof descriptor.set === "function";
|
|
26163
|
-
}
|
|
26164
|
-
current = Object.getPrototypeOf(current);
|
|
26165
|
-
}
|
|
26166
|
-
return Object.isExtensible(target);
|
|
26167
|
-
}
|
|
26168
|
-
__name(canAssignProperty, "canAssignProperty");
|
|
26169
|
-
function cloneErrorWithRedactedFields(error, clone, redactedMessage, redactedStack, redactedCause, redactedErrors) {
|
|
26170
|
-
const copiedKeys = /* @__PURE__ */ new Set();
|
|
26171
|
-
for (const key of Reflect.ownKeys(error)) {
|
|
26172
|
-
const descriptor = Object.getOwnPropertyDescriptor(error, key);
|
|
26173
|
-
if (!descriptor) {
|
|
26174
|
-
continue;
|
|
26175
|
-
}
|
|
26176
|
-
copiedKeys.add(key);
|
|
26177
|
-
const updatedDescriptor = getRedactedPropertyDescriptor(
|
|
26178
|
-
key,
|
|
26179
|
-
descriptor,
|
|
26180
|
-
redactedMessage,
|
|
26181
|
-
redactedStack,
|
|
26182
|
-
redactedCause,
|
|
26183
|
-
redactedErrors
|
|
26184
|
-
);
|
|
26185
|
-
try {
|
|
26186
|
-
Object.defineProperty(clone, key, updatedDescriptor);
|
|
26187
|
-
} catch {
|
|
26188
|
-
}
|
|
26189
|
-
}
|
|
26190
|
-
defineMissingRedactedValue(clone, copiedKeys, "message", redactedMessage);
|
|
26191
|
-
defineMissingRedactedValue(clone, copiedKeys, "stack", redactedStack);
|
|
26192
|
-
defineMissingRedactedValue(clone, copiedKeys, "cause", redactedCause);
|
|
26193
|
-
defineMissingRedactedValue(clone, copiedKeys, "errors", redactedErrors);
|
|
26194
|
-
}
|
|
26195
|
-
__name(cloneErrorWithRedactedFields, "cloneErrorWithRedactedFields");
|
|
26196
|
-
function getRedactedPropertyDescriptor(key, descriptor, redactedMessage, redactedStack, redactedCause, redactedErrors) {
|
|
26197
|
-
const redactedValue = key === "message" ? redactedMessage : key === "stack" ? redactedStack : key === "cause" ? redactedCause : key === "errors" ? redactedErrors : void 0;
|
|
26198
|
-
if (redactedValue === void 0) {
|
|
26199
|
-
return { ...descriptor };
|
|
26200
|
-
}
|
|
26201
|
-
if ("value" in descriptor) {
|
|
26202
|
-
return { ...descriptor, value: redactedValue };
|
|
26203
|
-
}
|
|
26204
|
-
return {
|
|
26205
|
-
configurable: descriptor.configurable,
|
|
26206
|
-
enumerable: descriptor.enumerable,
|
|
26207
|
-
value: redactedValue,
|
|
26208
|
-
writable: true
|
|
26209
|
-
};
|
|
26210
|
-
}
|
|
26211
|
-
__name(getRedactedPropertyDescriptor, "getRedactedPropertyDescriptor");
|
|
26212
|
-
function defineMissingRedactedValue(target, copiedKeys, key, value) {
|
|
26213
|
-
if (value === void 0 || copiedKeys.has(key)) {
|
|
26214
|
-
return;
|
|
26215
|
-
}
|
|
26216
|
-
try {
|
|
26217
|
-
Object.defineProperty(target, key, {
|
|
26218
|
-
configurable: true,
|
|
26219
|
-
enumerable: false,
|
|
26220
|
-
value,
|
|
26221
|
-
writable: true
|
|
26222
|
-
});
|
|
26223
|
-
} catch {
|
|
26224
|
-
}
|
|
26225
|
-
}
|
|
26226
|
-
__name(defineMissingRedactedValue, "defineMissingRedactedValue");
|
|
26227
|
-
function recordProxyFailure(hostname) {
|
|
26228
|
-
const failureCount = (proxyFailureCounts.get(hostname) ?? 0) + 1;
|
|
26229
|
-
proxyFailureCounts.set(hostname, failureCount);
|
|
26230
|
-
return failureCount;
|
|
26231
|
-
}
|
|
26232
|
-
__name(recordProxyFailure, "recordProxyFailure");
|
|
26233
|
-
function buildFetchOptionsWithDispatcher(sdkType, proxyUrl) {
|
|
26234
|
-
const insecure = isTlsVerificationDisabled();
|
|
26235
|
-
if (!proxyUrl) {
|
|
26236
|
-
const NO_PROXY_KEY = insecure ? "__no_proxy__#insecure" : "__no_proxy__";
|
|
26237
|
-
let dispatcher = dispatcherCache.get(NO_PROXY_KEY);
|
|
26238
|
-
if (!dispatcher) {
|
|
26239
|
-
dispatcher = new import_undici.Agent({
|
|
26240
|
-
headersTimeout: 0,
|
|
26241
|
-
bodyTimeout: 0,
|
|
26242
|
-
keepAliveTimeout: 6e4,
|
|
26243
|
-
// For a direct (non-proxy) Agent, `connect` options flow straight to
|
|
26244
|
-
// the TLS connector, so this disables upstream cert verification.
|
|
26245
|
-
...insecure ? { connect: { rejectUnauthorized: false } } : {}
|
|
26246
|
-
});
|
|
26247
|
-
dispatcherCache.set(NO_PROXY_KEY, dispatcher);
|
|
26248
|
-
}
|
|
26249
|
-
return { fetchOptions: { dispatcher }, fetch: import_undici.fetch };
|
|
26250
|
-
}
|
|
26251
|
-
try {
|
|
26252
|
-
const dispatcher = getOrCreateSharedDispatcher(proxyUrl, insecure);
|
|
26253
|
-
return { fetchOptions: { dispatcher }, fetch: import_undici.fetch };
|
|
26254
|
-
} catch (error) {
|
|
26255
|
-
const hostname = extractHostnameFromProxyUrl(proxyUrl);
|
|
26256
|
-
const failureCount = recordProxyFailure(hostname);
|
|
26257
|
-
const failureLabel = failureCount === 1 ? "first failure" : `failure #${failureCount}`;
|
|
26258
|
-
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
26259
|
-
const redactedMessage = redactProxyCredentials(errorMessage);
|
|
26260
|
-
const logMessage = `Failed to create proxy dispatcher for ${hostname} (${failureLabel}), falling back to direct connection: ${redactedMessage}`;
|
|
26261
|
-
debugLogger.warn(logMessage);
|
|
26262
|
-
console.error(`[RUNTIME_FETCH] ${logMessage}`);
|
|
26263
|
-
return NO_DISPATCHER_FALLBACK[sdkType];
|
|
26264
|
-
}
|
|
26265
|
-
}
|
|
26266
|
-
__name(buildFetchOptionsWithDispatcher, "buildFetchOptionsWithDispatcher");
|
|
26267
|
-
|
|
26268
|
-
export {
|
|
26269
|
-
require_undici,
|
|
26270
|
-
isTlsVerificationDisabled,
|
|
26271
|
-
detectRuntime,
|
|
26272
|
-
buildRuntimeFetchOptions,
|
|
26273
|
-
getOrCreateSharedDispatcher,
|
|
26274
|
-
redactProxyCredentials,
|
|
26275
|
-
redactProxyError
|
|
26276
|
-
};
|
|
26277
|
-
/**
|
|
26278
|
-
* @license
|
|
26279
|
-
* Copyright 2025 Qwen Team
|
|
26280
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
26281
|
-
*/
|
|
25906
|
+
export default require_undici();
|
|
26282
25907
|
/*! Bundled license information:
|
|
26283
25908
|
|
|
26284
25909
|
undici/lib/web/fetch/body.js:
|
|
@@ -25709,7 +25709,6 @@ var require_eventsource = __commonJS({
|
|
|
25709
25709
|
// packages/cli/node_modules/undici/index.js
|
|
25710
25710
|
var require_undici = __commonJS({
|
|
25711
25711
|
"packages/cli/node_modules/undici/index.js"(exports, module) {
|
|
25712
|
-
"use strict";
|
|
25713
25712
|
init_esbuild_shims();
|
|
25714
25713
|
var Client = require_client();
|
|
25715
25714
|
var Dispatcher = require_dispatcher();
|
|
@@ -25904,10 +25903,7 @@ ${captureLines}` : capture.stack;
|
|
|
25904
25903
|
module.exports.install = install;
|
|
25905
25904
|
}
|
|
25906
25905
|
});
|
|
25907
|
-
|
|
25908
|
-
export {
|
|
25909
|
-
require_undici
|
|
25910
|
-
};
|
|
25906
|
+
export default require_undici();
|
|
25911
25907
|
/*! Bundled license information:
|
|
25912
25908
|
|
|
25913
25909
|
undici/lib/web/fetch/body.js:
|