@qwen-code/qwen-code 0.19.2 → 0.19.3-nightly.20260630.e00fe6a27
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/extension-creator/SKILL.md +357 -0
- package/bundled/loop/SKILL.md +21 -7
- package/bundled/loop/SKILL.test.ts +41 -0
- package/bundled/loop/loop-task-file.test.ts +1064 -0
- package/bundled/loop/loop-task-file.ts +404 -0
- package/bundled/loop/loop-tick-resolver.test.ts +665 -0
- package/bundled/loop/loop-tick-resolver.ts +347 -0
- package/bundled/qc-helper/SKILL.md +26 -19
- package/bundled/qc-helper/docs/configuration/auth.md +11 -11
- package/bundled/qc-helper/docs/configuration/model-providers.md +13 -13
- package/bundled/qc-helper/docs/configuration/settings.md +76 -75
- package/bundled/qc-helper/docs/features/channels/plugins.md +1 -1
- package/bundled/qc-helper/docs/features/commands.md +108 -77
- package/bundled/qc-helper/docs/features/hooks.md +6 -1
- package/bundled/qc-helper/docs/features/memory.md +52 -0
- package/bundled/qc-helper/docs/qwen-serve.md +24 -2
- package/bundled/qc-helper/docs/support/tos-privacy.md +16 -3
- package/bundled/qc-helper/docs/support/troubleshooting.md +6 -0
- package/chunks/{MaxSizedBox-7RERNLFK.js → MaxSizedBox-T5X5MN5Q.js} +29 -27
- package/chunks/{StandaloneSessionPicker-S22XBSN6.js → StandaloneSessionPicker-P3E3WTOQ.js} +42 -37
- package/chunks/{acpAgent-4MCETHF2.js → acpAgent-QEP6DXFW.js} +864 -175
- package/chunks/{agent-K3ENVYSB.js → agent-UDANDUF7.js} +24 -23
- package/chunks/{agent-headless-HO3V3A3A.js → agent-headless-KYVSZHSO.js} +24 -23
- package/chunks/{anthropicContentGenerator-E3TQ5XJJ.js → anthropicContentGenerator-KWSJAQ7B.js} +33 -12
- package/chunks/{artifact-tool-QA4KRO3B.js → artifact-tool-D2X7G3C3.js} +2 -2
- package/chunks/{askUserQuestion-HMWXW6VN.js → askUserQuestion-UGETICJQ.js} +2 -2
- package/chunks/{bridge-4LV2HBH2.js → bridge-X42LXPTA.js} +31 -30
- package/chunks/{ca-7WC7ELX6.js → ca-IUFWESZL.js} +1 -0
- package/chunks/{chunk-JXQ23SNT.js → chunk-2JKEQWDZ.js} +623 -78
- package/chunks/{chunk-2TJ3YN6Q.js → chunk-2RJA6J57.js} +416 -401
- package/chunks/{chunk-3UALQ56H.js → chunk-3227DZO4.js} +1 -1
- package/chunks/{chunk-BGUDAULQ.js → chunk-3CPCDXFR.js} +5 -5
- package/chunks/{chunk-5RVSM6NW.js → chunk-3HUHAQF3.js} +1 -1
- package/chunks/{chunk-D5E5TMYH.js → chunk-3M4W4U5G.js} +16 -2
- package/chunks/{chunk-DBZUXSSV.js → chunk-4X7NIEQJ.js} +3 -3
- package/chunks/chunk-5GOVVXEV.js +73 -0
- package/chunks/{chunk-2BAQ3ACS.js → chunk-5SM4VT6V.js} +405 -5
- package/chunks/{chunk-NYOHZYHM.js → chunk-5XQ4A26L.js} +45 -3
- package/chunks/{chunk-CI5O6SQL.js → chunk-6FKEVYCD.js} +4 -4
- package/chunks/{chunk-ZD3NW5KL.js → chunk-7LM4XHPE.js} +63 -9
- package/chunks/chunk-7UNP2XM7.js +840 -0
- package/chunks/{chunk-OQHQHJRK.js → chunk-ARYCHZ4B.js} +151 -4775
- package/chunks/chunk-BC3C4F3Q.js +40 -0
- package/chunks/{chunk-CGEGHF2C.js → chunk-BKXBARJZ.js} +1 -1
- package/chunks/chunk-BMFMJINR.js +45 -0
- package/chunks/chunk-BOJWHRMX.js +11273 -0
- package/chunks/{chunk-CGOMICBE.js → chunk-BSZEQNUA.js} +34 -1
- package/chunks/{chunk-OIC6S73E.js → chunk-BUUQ5HPX.js} +1 -1
- package/chunks/{chunk-2BIF2NVV.js → chunk-BVSVIN45.js} +2 -2
- package/chunks/{chunk-TOEGRAVX.js → chunk-BX5YO7UW.js} +17 -5
- package/chunks/{chunk-4W4T77MO.js → chunk-BXVWV4GI.js} +109 -6
- package/chunks/{chunk-VQRYPFCV.js → chunk-CYHVPQYT.js} +10 -460
- package/chunks/{chunk-PRYMDRBV.js → chunk-DDMOU62Q.js} +1 -1
- package/chunks/{chunk-S566HKUS.js → chunk-DHXWNSJA.js} +15 -1
- package/chunks/{chunk-F6XNTYNE.js → chunk-E6XQPQXW.js} +30 -307
- package/chunks/{chunk-QBZ22PQX.js → chunk-EWALXUAD.js} +3 -1
- package/chunks/{chunk-EL5IHQON.js → chunk-EWYQFWYF.js} +6 -27
- package/chunks/{chunk-HG6YKEBI.js → chunk-F2DOT6UZ.js} +161 -30
- package/chunks/{chunk-JTYRZODB.js → chunk-FOOIZCWL.js} +16 -7
- package/chunks/{chunk-EX4W6ZYG.js → chunk-G5G4TFZ7.js} +1 -1
- package/chunks/{chunk-EW6C27XX.js → chunk-GEHVIWAT.js} +9 -3
- package/chunks/chunk-HEVBZSXG.js +4923 -0
- package/chunks/chunk-HFQ2XSE7.js +690 -0
- package/chunks/{chunk-PF523XJX.js → chunk-HPGTGMP3.js} +1 -1
- package/chunks/{chunk-OTBK43JR.js → chunk-HYCC3XM3.js} +1 -1
- package/chunks/{chunk-TMBPDHXD.js → chunk-I4H7PRWQ.js} +1 -1
- package/chunks/{chunk-EEEZIVFJ.js → chunk-JOLIREYR.js} +1 -1
- package/chunks/{chunk-TZM5JIAX.js → chunk-JYPQTRA3.js} +10 -7
- package/chunks/chunk-K5XU6E4T.js +167 -0
- package/chunks/{chunk-BS64PXY3.js → chunk-KFVU7ODN.js} +1 -1
- package/chunks/{chunk-3RJ3ZPPR.js → chunk-KKQWC6WS.js} +7 -7
- package/chunks/{chunk-3QFE4OTE.js → chunk-LBW7NW7X.js} +4 -4
- package/chunks/{chunk-Z7XXFPGP.js → chunk-LDWTYE33.js} +1 -1
- package/chunks/{chunk-EXMX5YHG.js → chunk-LP5E4YIH.js} +1 -1
- package/chunks/{chunk-ZUAXI2OA.js → chunk-M2U5NM24.js} +188 -11366
- package/chunks/{chunk-I5T6PIBQ.js → chunk-MBV2CTRL.js} +1010 -925
- package/chunks/{chunk-5JZLXFPD.js → chunk-MTHMXSNT.js} +11 -11
- package/chunks/{chunk-FPACXT7T.js → chunk-MTJVHQDP.js} +534 -164
- package/chunks/chunk-NDOC6M5S.js +481 -0
- package/chunks/{chunk-HGNSRCRB.js → chunk-NL4C3H6C.js} +1 -1
- package/chunks/{chunk-GZCJS5WH.js → chunk-O2VBQ3Y2.js} +2 -2
- package/chunks/{chunk-UN3C6GOR.js → chunk-PPFWEV7G.js} +10 -108
- package/chunks/{chunk-RS4HRC75.js → chunk-QI2CFVRF.js} +85 -8
- package/chunks/{chunk-XU5P23GN.js → chunk-QLDPRILK.js} +3 -3
- package/chunks/chunk-QYUE6W3T.js +123 -0
- package/chunks/{chunk-USGMPVOY.js → chunk-R3LHDWF2.js} +21 -12
- package/chunks/{chunk-BNXANYLH.js → chunk-RD6YJJJ6.js} +81 -1
- package/chunks/{chunk-PXFFKNCO.js → chunk-RIP623NO.js} +4877 -2469
- package/chunks/{chunk-XKBP7M7A.js → chunk-RYBSUGOR.js} +142 -30
- package/chunks/{chunk-BG4BIP7F.js → chunk-SBBN4BWR.js} +4 -2
- package/chunks/{chunk-T2VDEFUU.js → chunk-SKQZZVAV.js} +2 -2
- package/chunks/{chunk-5R4SBCX6.js → chunk-SL5MOGQH.js} +3 -3
- package/chunks/chunk-SMXULRAN.js +37 -0
- package/chunks/{chunk-WA5OJGFL.js → chunk-SS6WJMQK.js} +363 -76
- package/chunks/{chunk-UAARVVBI.js → chunk-TNWFHGN6.js} +1 -1
- package/chunks/{chunk-I2RFAW6Q.js → chunk-TT6Q3EN4.js} +7 -5
- package/chunks/chunk-UAKXW3DN.js +30 -0
- package/chunks/{chunk-C4K3FEQ2.js → chunk-UX4SGCGN.js} +32 -3
- package/chunks/{chunk-J6AW7O5D.js → chunk-WHDQZHRU.js} +2 -2
- package/chunks/{chunk-WGAEWQTF.js → chunk-WN6K47NR.js} +1 -2
- package/chunks/{chunk-UAARJR2G.js → chunk-WQT5SOI6.js} +2 -2
- package/chunks/{chunk-VYFMN7C6.js → chunk-WUMVIRTN.js} +225 -37
- package/chunks/{chunk-R36VMVEP.js → chunk-XJMKOTVV.js} +5 -5
- package/chunks/{chunk-TXVGVZYR.js → chunk-XJYUPHRC.js} +3 -3
- package/chunks/{chunk-2JD55C6G.js → chunk-Y6YMRS3U.js} +2 -2
- package/chunks/{chunk-LLFFKXZZ.js → chunk-YALKC62D.js} +56 -29
- package/chunks/{chunk-GYZQA2FO.js → chunk-YLZJCUH6.js} +1 -1
- package/chunks/chunk-YTFBURQD.js +313 -0
- package/chunks/{chunk-KBXLIVWQ.js → chunk-ZFPRYHWR.js} +2 -2
- package/chunks/{chunk-X6EDWN44.js → chunk-ZP6UKOPB.js} +1 -1
- package/chunks/{computer-use-6BBRNT6S.js → computer-use-LF2S6LUZ.js} +103 -49
- package/chunks/{contextCommand-UJAJ6N57.js → contextCommand-VPX5UG55.js} +26 -25
- package/chunks/{cron-create-4KQE6YLH.js → cron-create-SKEY55RG.js} +4 -4
- package/chunks/{cron-delete-THME66UP.js → cron-delete-I3NAT32Z.js} +6 -6
- package/chunks/{cron-list-7A54SJ5N.js → cron-list-6XRRL6TH.js} +5 -5
- package/chunks/{daemon-status-provider-CSL3BUOY.js → daemon-status-provider-5JAWZS4V.js} +34 -34
- package/chunks/{de-ACHALDED.js → de-EOW5PVHF.js} +1 -0
- package/chunks/{dist-BD27IA3L.js → dist-4FCNM6KJ.js} +2 -2
- package/chunks/{dist-OD2FY543.js → dist-O3H4PABL.js} +2 -2
- package/chunks/{dist-BOOH5JWN.js → dist-SCAAUWPS.js} +18 -4
- package/chunks/{dist-QHJRBCMP.js → dist-UKPWQJCL.js} +44 -2
- package/chunks/{dist-QFFZWACU.js → dist-VD7HXTML.js} +20 -9
- package/chunks/{earlyInputCapture-X6KMCSHD.js → earlyInputCapture-7FRQMU4P.js} +25 -24
- package/chunks/{edit-7J6WXARF.js → edit-REKJDIRL.js} +68 -27
- package/chunks/{en-NCUBOJOY.js → en-HPWEJBTR.js} +8 -0
- package/chunks/{enter-worktree-KULCKJPJ.js → enter-worktree-GBKUDCD3.js} +24 -23
- package/chunks/{enterPlanMode-H2CIOLMH.js → enterPlanMode-WB3Y4FGT.js} +24 -23
- package/chunks/{errors-6G2JYR54.js → errors-2XJDYO3M.js} +26 -25
- package/chunks/{exit-worktree-ECBWBVC5.js → exit-worktree-KKC7O2ZV.js} +24 -23
- package/chunks/{exitPlanMode-DQV56GTW.js → exitPlanMode-7HMS3TF7.js} +24 -23
- package/chunks/{fast-path-35JJFS3C.js → fast-path-XVNIYWGG.js} +4 -4
- package/chunks/{fast-path-settings-TSVI53EB.js → fast-path-settings-UQLRFDQP.js} +3 -2
- package/chunks/{fr-GVKZ27MF.js → fr-BN5NKSAC.js} +1 -0
- package/chunks/{gemini-NDTG7WAX.js → gemini-U5TPU3IQ.js} +210 -104
- package/chunks/{geminiContentGenerator-XTG6SFLA.js → geminiContentGenerator-ZVWRHXOO.js} +4 -4
- package/chunks/{glob-SJ2JBZK4.js → glob-FEJWIH2W.js} +24 -23
- package/chunks/{grep-BRMWFEWR.js → grep-KMP25IIA.js} +24 -23
- package/chunks/{headlessSafetyWarnings-LJ6FJX77.js → headlessSafetyWarnings-5DEDET4M.js} +24 -23
- package/chunks/{initializer-P5AXF7PV.js → initializer-FJTACLOH.js} +31 -28
- package/chunks/{ja-FKZ2WZ4D.js → ja-7DEUB2TS.js} +1 -0
- package/chunks/{keychain-token-storage-CSYMNRPP.js → keychain-token-storage-YLMDLKXT.js} +2 -2
- package/chunks/{list-6COK34BP.js → list-SCQXYJUW.js} +32 -29
- package/chunks/{loadedSettingsAdapter-XIUTN245.js → loadedSettingsAdapter-P6KPNAG7.js} +30 -27
- package/chunks/{loop-wakeup-33GPXJLA.js → loop-wakeup-FYEQEJUA.js} +7 -7
- package/chunks/{ls-BYQY7RVV.js → ls-R5WP4BGZ.js} +4 -4
- package/chunks/{lsp-X54RO4IV.js → lsp-GSICJMMW.js} +2 -2
- package/chunks/{monitor-DH7KFSJV.js → monitor-JU3HHHVY.js} +24 -23
- package/chunks/nonInteractiveCli-IZEKUHU3.js +100 -0
- package/chunks/{notebook-edit-D4R4ZLMA.js → notebook-edit-YHY3Z2QQ.js} +52 -23
- package/chunks/{openaiContentGenerator-F74IPQ6E.js → openaiContentGenerator-4WUVA3Q2.js} +13 -12
- package/chunks/{pt-SY5NCFGR.js → pt-TNZRNLQB.js} +1 -0
- package/chunks/{qwenContentGenerator-ATTK5P4D.js → qwenContentGenerator-MVYYR44B.js} +26 -25
- package/chunks/{qwenOAuth2-K4AASPCV.js → qwenOAuth2-6HNGHALT.js} +5 -4
- package/chunks/{read-file-767G23OY.js → read-file-NABEO2X4.js} +8 -8
- package/chunks/{read-mcp-resource-I5HCZJ6X.js → read-mcp-resource-DQQW7H7T.js} +2 -2
- package/chunks/{ripGrep-4OMMGSWX.js → ripGrep-YXLK6UTX.js} +24 -23
- package/chunks/{ru-FWNXJG4F.js → ru-NIAUBKCN.js} +1 -0
- package/chunks/{run-qwen-serve-REKSTYRA.js → run-qwen-serve-4B5QBMLQ.js} +144 -41
- package/chunks/{scheduler-UNTFDQLG.js → scheduler-XAKIYBDL.js} +24 -23
- package/chunks/{send-message-2DAFXEYP.js → send-message-EE4TWKVU.js} +2 -2
- package/chunks/{serve-KZ56QB5S.js → serve-4RXVLUKD.js} +30 -28
- package/chunks/{server-BV5TZUMU.js → server-7PA5QGIA.js} +11037 -8747
- package/chunks/{session-OIBXFSGD.js → session-WNVWRYAH.js} +194 -57
- package/chunks/{settings-WJTCBIRA.js → settings-YJH32TFF.js} +30 -27
- package/chunks/{shell-WC52IBHW.js → shell-YFLABOS5.js} +24 -23
- package/chunks/{skill-U7F7JR4M.js → skill-N3J7FUAY.js} +38 -11
- package/chunks/{spawnChannel-EI2E5BCW.js → spawnChannel-D6WVMFZJ.js} +26 -25
- package/chunks/{src-4F6FBZFI.js → src-IU5GDBEH.js} +88 -28
- package/chunks/{startInteractiveUI-SFRVB3CE.js → startInteractiveUI-QIPQTRT4.js} +2784 -2474
- package/chunks/{syntheticOutput-PPS3HDVA.js → syntheticOutput-T5YHQ6S2.js} +3 -3
- package/chunks/{task-create-OUYCA553.js → task-create-BLY7RHXX.js} +6 -6
- package/chunks/{task-list-WAX7I2IA.js → task-list-3QUYNVYR.js} +5 -5
- package/chunks/{task-stop-CAIL6FNH.js → task-stop-U4RATK2V.js} +2 -2
- package/chunks/{task-update-AHEO5OUT.js → task-update-U54O7KJX.js} +6 -6
- package/chunks/{team-create-3WC7CIIW.js → team-create-TP4CLLM3.js} +24 -23
- package/chunks/{team-delete-HGHFG23B.js → team-delete-LKBYPASD.js} +5 -5
- package/chunks/{theme-manager-DICFCT3P.js → theme-manager-N2TBIBZT.js} +25 -24
- package/chunks/{todoWrite-IFBMN3FH.js → todoWrite-OYXKTVYN.js} +4 -4
- package/chunks/{tool-search-L5K7HLER.js → tool-search-GBBSICYB.js} +101 -16
- package/chunks/trustedFolders-F7TBU5CD.js +76 -0
- package/chunks/types-QX5C3CHJ.js +12 -0
- package/chunks/{validateNonInterActiveAuth-GCH4Z6KI.js → validateNonInterActiveAuth-EQDQPSMI.js} +55 -50
- package/chunks/{web-fetch-B5IIQ5TT.js → web-fetch-PCVCML2X.js} +29 -15
- package/chunks/{workflow-OB3AND7I.js → workflow-ANJ4FYBK.js} +32 -30
- package/chunks/{workspace-providers-status-ZIR5EPOO.js → workspace-providers-status-462QQKQM.js} +32 -29
- package/chunks/workspace-service-VTG4G6CW.js +75 -0
- package/chunks/{write-file-SEXBNDZM.js → write-file-3P3WMQQW.js} +63 -27
- package/chunks/{zh-RBEGQVQT.js → zh-5EUYXASN.js} +8 -0
- package/chunks/{zh-TW-QGAVRXT3.js → zh-TW-TR3XYGE5.js} +8 -0
- package/cli-entry.js +20 -9
- package/cli.js +6 -6
- package/locales/ca.js +2 -0
- package/locales/de.js +2 -0
- package/locales/en.js +14 -0
- package/locales/fr.js +2 -0
- package/locales/ja.js +1 -0
- package/locales/pt.js +2 -0
- package/locales/ru.js +2 -0
- package/locales/zh-TW.js +12 -0
- package/locales/zh.js +12 -0
- package/node_modules/@qwen-code/audio-capture/dist/index.d.ts +35 -0
- package/node_modules/@qwen-code/audio-capture/dist/index.js +48 -0
- package/node_modules/@qwen-code/audio-capture/dist/index.js.map +1 -0
- package/node_modules/@qwen-code/audio-capture/dist/platform.d.ts +7 -0
- package/node_modules/@qwen-code/audio-capture/dist/platform.js +18 -0
- package/node_modules/@qwen-code/audio-capture/dist/platform.js.map +1 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/LICENSE +21 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/README.md +58 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/SECURITY.md +5 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/bin.js +84 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/build-test.js +19 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/index.js +6 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/node-gyp-build.js +207 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/optional.js +7 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/package.json +43 -0
- package/node_modules/@qwen-code/audio-capture/package.json +30 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/linux-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/linux-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
- package/package.json +18 -6
- package/patches/chrome-devtools-mcp+1.4.0.patch +31 -0
- package/postinstall.js +50 -0
- package/web-shell/assets/{arc-D_ae_Y9k.js → arc-DIemsO_F.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-BMLRjppa.js → architectureDiagram-3BPJPVTR-CTlUvIQv.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-qVDQC8KL.js → blockDiagram-GPEHLZMM-DG0jmIZK.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-CxWS6MBd.js → c4Diagram-AAUBKEIU-WljDBi55.js} +1 -1
- package/web-shell/assets/channel-CbzRbdpA.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-BtNuY5Yp.js → chunk-2J33WTMH-8nc6onr2.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-BU-x368d.js → chunk-4BX2VUAB-EopXix8Z.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-DRgTLvBu.js → chunk-55IACEB6-BE4Jz3N3.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-D2aElv7q.js → chunk-727SXJPM-C_eErgDN.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-BwHCMRQ0.js → chunk-AQP2D5EJ-DFtVW-Is.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-BMyPH-ku.js → chunk-FMBD7UC4-CJPyxIg9.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-BNKTstUf.js → chunk-ND2GUHAM-Bk-xgj6M.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-gD3vsFId.js → chunk-QZHKN3VN-p3Y4yaFB.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BFdyQ52h.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BFdyQ52h.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BG9FAsXE.js → cose-bilkent-S5V4N54A-BCMO6Js3.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-Cy1sR7om.js → dagre-BM42HDAG-DUMrwASf.js} +1 -1
- package/web-shell/assets/default-aEtf0G7-.svg +1 -0
- package/web-shell/assets/{diagram-2AECGRRQ-Bxi1I_Vu.js → diagram-2AECGRRQ-C5d7qJbL.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BGCJjO6y.js → diagram-5GNKFQAL-CjLzMhbT.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CMTeLXp7.js → diagram-KO2AKTUF-RCoNWeAm.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BN1wyAGh.js → diagram-LMA3HP47-KThXjaNV.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-UYSG_zcp.js → diagram-OG6HWLK6-DKsC2BWz.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-DqXL08lw.js → erDiagram-TEJ5UH35-DJ2ukmq0.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BPJ9SFji.js → flowDiagram-I6XJVG4X-zzqaARRX.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BEd9Pnms.js → ganttDiagram-6RSMTGT7-kFUg-gqT.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DrNRH3oi.js → gitGraphDiagram-PVQCEYII-C6JnMVzD.js} +1 -1
- package/web-shell/assets/index-B3XUm7dw.js +713 -0
- package/web-shell/assets/index-CHmzAWys.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CFYBrkVI.js → infoDiagram-5YYISTIA-XqPVhp89.js} +1 -1
- package/web-shell/assets/insert-DmRbh9Rv.svg +1 -0
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-Dxsddth7.js → ishikawaDiagram-YF4QCWOH-D2k8sGpf.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DxaDK80t.js → journeyDiagram-JHISSGLW-CQEST1GE.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-Q0jQCOct.js → kanban-definition-UN3LZRKU-DZ7kqVBC.js} +1 -1
- package/web-shell/assets/{linear-DGGM2kcP.js → linear-B6C_6q_E.js} +1 -1
- package/web-shell/assets/{mermaid.core-ByoxnWut.js → mermaid.core-CsyNP1qt.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-C0ZseHsi.js → mindmap-definition-RKZ34NQL-B1VDIzJq.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-MQXNhl5A.js → pieDiagram-4H26LBE5-DN0E7Jwu.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DIR4ee2A.js → quadrantDiagram-W4KKPZXB-UKTQdHKm.js} +1 -1
- package/web-shell/assets/queue-DWpnpFgW.svg +1 -0
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-BTR0UdYQ.js → requirementDiagram-4Y6WPE33-BRGceQvN.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-sfnhMELN.js → sankeyDiagram-5OEKKPKP-2DDyu41v.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DXczHOHH.js → sequenceDiagram-3UESZ5HK-CT5iE8ZU.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-DdE_KQFH.js → stateDiagram-AJRCARHV-CqMQ_s4G.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CamhV5pM.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DIc61uE8.js → timeline-definition-PNZ67QCA-Di37QSZU.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BF7ODmxB.js → vennDiagram-CIIHVFJN-DCXvpz5S.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-3pc1MEaw.js → wardley-L42UT6IY-CpUCk6OX.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-9jnPcZuP.js → wardleyDiagram-YWT4CUSO-D01pVEBg.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-DcthaZK6.js → xychartDiagram-2RQKCTM6-DOu5JDoz.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-B6HQGTYR.js +0 -410
- package/chunks/chunk-R2BXK7SX.js +0 -13
- package/chunks/chunk-RKIZXJMB.js +0 -13
- package/chunks/nonInteractiveCli-7575LBXP.js +0 -91
- package/chunks/workspace-service-OM5D4OI2.js +0 -60
- package/web-shell/assets/channel-DYPNiTww.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-p_g25Tni.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-p_g25Tni.js +0 -1
- package/web-shell/assets/index-CpOXWDPh.js +0 -714
- package/web-shell/assets/index-oVK7qhre.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BHUSEndU.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createDebugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UX4SGCGN.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -18968,211 +18968,18 @@ var require_undici = __commonJS({
|
|
|
18968
18968
|
}
|
|
18969
18969
|
});
|
|
18970
18970
|
|
|
18971
|
-
// packages/core/src/core/tokenLimits.ts
|
|
18972
|
-
init_esbuild_shims();
|
|
18973
|
-
var DEFAULT_TOKEN_LIMIT = 131072;
|
|
18974
|
-
var DEFAULT_OUTPUT_TOKEN_LIMIT = 32e3;
|
|
18975
|
-
var CAPPED_DEFAULT_MAX_TOKENS = 8e3;
|
|
18976
|
-
var ESCALATED_MAX_TOKENS = 64e3;
|
|
18977
|
-
function parsePositiveIntegerEnvValue(raw) {
|
|
18978
|
-
if (raw === void 0) return void 0;
|
|
18979
|
-
const trimmed = raw.trim();
|
|
18980
|
-
if (!/^\d+$/.test(trimmed)) return void 0;
|
|
18981
|
-
const parsed = Number(trimmed);
|
|
18982
|
-
if (!Number.isSafeInteger(parsed) || parsed <= 0) return void 0;
|
|
18983
|
-
return parsed;
|
|
18984
|
-
}
|
|
18985
|
-
__name(parsePositiveIntegerEnvValue, "parsePositiveIntegerEnvValue");
|
|
18986
|
-
var LIMITS = {
|
|
18987
|
-
"32k": 32768,
|
|
18988
|
-
"64k": 65536,
|
|
18989
|
-
"128k": 131072,
|
|
18990
|
-
"192k": 196608,
|
|
18991
|
-
// MiniMax-M2.5 context window
|
|
18992
|
-
"200k": 2e5,
|
|
18993
|
-
// vendor-declared decimal, used by OpenAI, Anthropic, etc.
|
|
18994
|
-
"256k": 262144,
|
|
18995
|
-
"272k": 272e3,
|
|
18996
|
-
// vendor-declared decimal, GPT-5.x input (400K total - 128K output)
|
|
18997
|
-
"384k": 384e3,
|
|
18998
|
-
// vendor-declared decimal, DeepSeek V4 max output
|
|
18999
|
-
"400k": 4e5,
|
|
19000
|
-
// vendor-declared decimal, used by OpenAI GPT-5.x
|
|
19001
|
-
"512k": 524288,
|
|
19002
|
-
"1m": 1e6,
|
|
19003
|
-
// Output token limits (typically much smaller than input limits)
|
|
19004
|
-
"4k": 4096,
|
|
19005
|
-
"8k": 8192,
|
|
19006
|
-
"16k": 16384
|
|
19007
|
-
};
|
|
19008
|
-
function normalize(model) {
|
|
19009
|
-
let s = (model ?? "").toLowerCase().trim();
|
|
19010
|
-
s = s.replace(/^.*\//, "");
|
|
19011
|
-
s = s.split("|").pop() ?? s;
|
|
19012
|
-
s = s.split(":").pop() ?? s;
|
|
19013
|
-
s = s.replace(/\s+/g, "-");
|
|
19014
|
-
s = s.replace(/-preview/g, "");
|
|
19015
|
-
if (!s.match(/^qwen-(?:plus|flash|vl-max)-latest$/) && !s.match(/^kimi-k2-\d{4}$/)) {
|
|
19016
|
-
s = s.replace(
|
|
19017
|
-
/-(?:\d{4,}|\d+x\d+b|v\d+(?:\.\d+)*|(?<=-[^-]+-)\d+(?:\.\d+)+|latest|exp)$/g,
|
|
19018
|
-
""
|
|
19019
|
-
);
|
|
19020
|
-
}
|
|
19021
|
-
s = s.replace(/-(?:\d?bit|int[48]|bf16|fp16|q[45]|quantized)$/g, "");
|
|
19022
|
-
return s;
|
|
19023
|
-
}
|
|
19024
|
-
__name(normalize, "normalize");
|
|
19025
|
-
var PATTERNS = [
|
|
19026
|
-
// -------------------
|
|
19027
|
-
// Google Gemini
|
|
19028
|
-
// -------------------
|
|
19029
|
-
[/^gemini-3/, LIMITS["1m"]],
|
|
19030
|
-
// Gemini 3.x (Pro, Flash, 3.1, etc.): 1M
|
|
19031
|
-
[/^gemini-/, LIMITS["1m"]],
|
|
19032
|
-
// Gemini fallback (1.5, 2.x): 1M
|
|
19033
|
-
// -------------------
|
|
19034
|
-
// OpenAI
|
|
19035
|
-
// -------------------
|
|
19036
|
-
[/^gpt-5/, LIMITS["272k"]],
|
|
19037
|
-
// GPT-5.x: 272K input (400K total - 128K output)
|
|
19038
|
-
[/^gpt-/, LIMITS["128k"]],
|
|
19039
|
-
// GPT fallback (4o, 4.1, etc.): 128K
|
|
19040
|
-
[/^o\d/, LIMITS["200k"]],
|
|
19041
|
-
// o-series (o3, o4-mini, etc.): 200K
|
|
19042
|
-
// -------------------
|
|
19043
|
-
// Anthropic Claude
|
|
19044
|
-
// -------------------
|
|
19045
|
-
[/^claude-/, LIMITS["200k"]],
|
|
19046
|
-
// All Claude models: 200K
|
|
19047
|
-
// -------------------
|
|
19048
|
-
// Alibaba / Qwen
|
|
19049
|
-
// -------------------
|
|
19050
|
-
// Commercial API models (1,000,000 context)
|
|
19051
|
-
[/^qwen3-coder-plus/, LIMITS["1m"]],
|
|
19052
|
-
[/^qwen3-coder-flash/, LIMITS["1m"]],
|
|
19053
|
-
[/^qwen3\.\d/, LIMITS["1m"]],
|
|
19054
|
-
[/^qwen-plus-latest$/, LIMITS["1m"]],
|
|
19055
|
-
[/^qwen-flash-latest$/, LIMITS["1m"]],
|
|
19056
|
-
[/^coder-model$/, LIMITS["1m"]],
|
|
19057
|
-
// Commercial API models (256K context)
|
|
19058
|
-
[/^qwen3-max/, LIMITS["256k"]],
|
|
19059
|
-
// Open-source Qwen3 variants: 256K native
|
|
19060
|
-
[/^qwen3-coder-/, LIMITS["256k"]],
|
|
19061
|
-
// Qwen fallback (VL, turbo, plus, 2.5, etc.): 128K
|
|
19062
|
-
[/^qwen/, LIMITS["256k"]],
|
|
19063
|
-
// -------------------
|
|
19064
|
-
// DeepSeek
|
|
19065
|
-
// -------------------
|
|
19066
|
-
[/^deepseek-v4/, LIMITS["1m"]],
|
|
19067
|
-
// DeepSeek V4 (flash, pro): 1M
|
|
19068
|
-
[/^deepseek/, LIMITS["128k"]],
|
|
19069
|
-
// -------------------
|
|
19070
|
-
// Zhipu GLM
|
|
19071
|
-
// -------------------
|
|
19072
|
-
// 1M context is the forward default for new GLM releases (GLM-5.2+, GLM-6.x,
|
|
19073
|
-
// and beyond) so they need no future code change. Confirmed 200K families
|
|
19074
|
-
// (GLM-5 / 5.0 / 5.1, GLM-4.x and older) are pinned explicitly first.
|
|
19075
|
-
[/^glm-5(\.[01])?(-|$)/, 202752],
|
|
19076
|
-
// GLM-5 / 5.0 / 5.1: 200K
|
|
19077
|
-
[/^glm-(?:[5-9]|\d{2,})/, LIMITS["1m"]],
|
|
19078
|
-
// GLM-5.2+, 6.x..9.x, 10.x+: 1M
|
|
19079
|
-
[/^glm-/, 202752],
|
|
19080
|
-
// GLM <=4.x / non-numeric fallback: 200K
|
|
19081
|
-
// -------------------
|
|
19082
|
-
// MiniMax
|
|
19083
|
-
// -------------------
|
|
19084
|
-
[/^minimax-m3/i, LIMITS["1m"]],
|
|
19085
|
-
// MiniMax-M3: 1,000,000
|
|
19086
|
-
[/^minimax-m2\.5/i, LIMITS["192k"]],
|
|
19087
|
-
// MiniMax-M2.5: 196,608
|
|
19088
|
-
[/^minimax-/i, LIMITS["200k"]],
|
|
19089
|
-
// MiniMax fallback: 200K
|
|
19090
|
-
// -------------------
|
|
19091
|
-
// Moonshot / Kimi
|
|
19092
|
-
// -------------------
|
|
19093
|
-
[/^kimi-/, LIMITS["256k"]],
|
|
19094
|
-
// Kimi fallback: 256K
|
|
19095
|
-
// -------------------
|
|
19096
|
-
// ByteDance Seed-OSS (512K)
|
|
19097
|
-
// -------------------
|
|
19098
|
-
[/^seed-oss/, LIMITS["512k"]]
|
|
19099
|
-
];
|
|
19100
|
-
var OUTPUT_PATTERNS = [
|
|
19101
|
-
// Google Gemini
|
|
19102
|
-
[/^gemini-3/, LIMITS["64k"]],
|
|
19103
|
-
// Gemini 3.x: 64K
|
|
19104
|
-
[/^gemini-/, LIMITS["8k"]],
|
|
19105
|
-
// Gemini fallback: 8K
|
|
19106
|
-
// OpenAI
|
|
19107
|
-
[/^gpt-5/, LIMITS["128k"]],
|
|
19108
|
-
// GPT-5.x: 128K
|
|
19109
|
-
[/^gpt-/, LIMITS["16k"]],
|
|
19110
|
-
// GPT fallback: 16K
|
|
19111
|
-
[/^o\d/, LIMITS["128k"]],
|
|
19112
|
-
// o-series: 128K
|
|
19113
|
-
// Anthropic Claude
|
|
19114
|
-
[/^claude-opus-4-6/, LIMITS["128k"]],
|
|
19115
|
-
// Opus 4.6: 128K
|
|
19116
|
-
[/^claude-sonnet-4-6/, LIMITS["64k"]],
|
|
19117
|
-
// Sonnet 4.6: 64K
|
|
19118
|
-
[/^claude-/, LIMITS["64k"]],
|
|
19119
|
-
// Claude fallback: 64K
|
|
19120
|
-
// Alibaba / Qwen
|
|
19121
|
-
[/^qwen3\.\d/, LIMITS["64k"]],
|
|
19122
|
-
[/^coder-model$/, LIMITS["64k"]],
|
|
19123
|
-
[/^qwen/, LIMITS["32k"]],
|
|
19124
|
-
// Qwen fallback (VL, turbo, plus, etc.): 8K
|
|
19125
|
-
// DeepSeek
|
|
19126
|
-
[/^deepseek-v4/, LIMITS["384k"]],
|
|
19127
|
-
// DeepSeek V4 (flash, pro): 384K
|
|
19128
|
-
[/^deepseek-reasoner/, LIMITS["64k"]],
|
|
19129
|
-
[/^deepseek-r1/, LIMITS["64k"]],
|
|
19130
|
-
[/^deepseek-chat/, LIMITS["8k"]],
|
|
19131
|
-
// Zhipu GLM
|
|
19132
|
-
[/^glm-5(?:\.\d+)?(?:-|$)/, LIMITS["128k"]],
|
|
19133
|
-
[/^glm-4\.7/, LIMITS["16k"]],
|
|
19134
|
-
// MiniMax
|
|
19135
|
-
[/^minimax-m2\.5/i, LIMITS["64k"]],
|
|
19136
|
-
// Kimi
|
|
19137
|
-
[/^kimi-k2\.5/, LIMITS["32k"]]
|
|
19138
|
-
];
|
|
19139
|
-
function findTokenLimit(model, type = "input") {
|
|
19140
|
-
const norm = normalize(model);
|
|
19141
|
-
const patterns = type === "output" ? OUTPUT_PATTERNS : PATTERNS;
|
|
19142
|
-
for (const [regex, limit] of patterns) {
|
|
19143
|
-
if (regex.test(norm)) {
|
|
19144
|
-
return limit;
|
|
19145
|
-
}
|
|
19146
|
-
}
|
|
19147
|
-
return void 0;
|
|
19148
|
-
}
|
|
19149
|
-
__name(findTokenLimit, "findTokenLimit");
|
|
19150
|
-
function hasExplicitOutputLimit(model) {
|
|
19151
|
-
const norm = normalize(model);
|
|
19152
|
-
return OUTPUT_PATTERNS.some(([regex]) => regex.test(norm));
|
|
19153
|
-
}
|
|
19154
|
-
__name(hasExplicitOutputLimit, "hasExplicitOutputLimit");
|
|
19155
|
-
function knownTokenLimit(model, type = "input") {
|
|
19156
|
-
return findTokenLimit(model, type);
|
|
19157
|
-
}
|
|
19158
|
-
__name(knownTokenLimit, "knownTokenLimit");
|
|
19159
|
-
function tokenLimit(model, type = "input") {
|
|
19160
|
-
return knownTokenLimit(model, type) ?? (type === "output" ? DEFAULT_OUTPUT_TOKEN_LIMIT : DEFAULT_TOKEN_LIMIT);
|
|
19161
|
-
}
|
|
19162
|
-
__name(tokenLimit, "tokenLimit");
|
|
19163
|
-
|
|
19164
|
-
// packages/core/src/core/openaiContentGenerator/constants.ts
|
|
19165
|
-
init_esbuild_shims();
|
|
19166
|
-
var DEFAULT_TIMEOUT = 12e4;
|
|
19167
|
-
var DEFAULT_MAX_RETRIES = 3;
|
|
19168
|
-
var DEFAULT_OPENAI_BASE_URL = "https://api.openai.com/v1";
|
|
19169
|
-
var DEFAULT_DASHSCOPE_BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1";
|
|
19170
|
-
var DASHSCOPE_PROXY_BASE_URL = process.env["DASHSCOPE_PROXY_BASE_URL"];
|
|
19171
|
-
|
|
19172
18971
|
// packages/core/src/utils/runtimeFetchOptions.ts
|
|
19173
18972
|
init_esbuild_shims();
|
|
19174
18973
|
var import_undici = __toESM(require_undici(), 1);
|
|
19175
18974
|
var debugLogger = createDebugLogger("RUNTIME_FETCH");
|
|
18975
|
+
function isTlsVerificationDisabled() {
|
|
18976
|
+
const flag = process.env["QWEN_TLS_INSECURE"];
|
|
18977
|
+
if (flag !== void 0 && /^(1|true|yes|on)$/i.test(flag.trim())) {
|
|
18978
|
+
return true;
|
|
18979
|
+
}
|
|
18980
|
+
return process.env["NODE_TLS_REJECT_UNAUTHORIZED"] === "0";
|
|
18981
|
+
}
|
|
18982
|
+
__name(isTlsVerificationDisabled, "isTlsVerificationDisabled");
|
|
19176
18983
|
function detectRuntime() {
|
|
19177
18984
|
if (typeof process !== "undefined" && process.versions?.["bun"]) {
|
|
19178
18985
|
return "bun";
|
|
@@ -19222,8 +19029,9 @@ var NO_DISPATCHER_FALLBACK = {
|
|
|
19222
19029
|
openai: void 0,
|
|
19223
19030
|
anthropic: {}
|
|
19224
19031
|
};
|
|
19225
|
-
function getOrCreateSharedDispatcher(proxyUrl) {
|
|
19226
|
-
const
|
|
19032
|
+
function getOrCreateSharedDispatcher(proxyUrl, insecure = isTlsVerificationDisabled()) {
|
|
19033
|
+
const cacheKey = insecure ? `${proxyUrl}#insecure` : proxyUrl;
|
|
19034
|
+
const cached = dispatcherCache.get(cacheKey);
|
|
19227
19035
|
if (cached) {
|
|
19228
19036
|
return cached;
|
|
19229
19037
|
}
|
|
@@ -19231,9 +19039,16 @@ function getOrCreateSharedDispatcher(proxyUrl) {
|
|
|
19231
19039
|
uri: proxyUrl,
|
|
19232
19040
|
headersTimeout: 0,
|
|
19233
19041
|
bodyTimeout: 0,
|
|
19234
|
-
keepAliveTimeout: 6e4
|
|
19042
|
+
keepAliveTimeout: 6e4,
|
|
19043
|
+
// For a ProxyAgent the upstream (origin) TLS handshake is governed by
|
|
19044
|
+
// `requestTls`, not `connect`; `proxyTls` covers an HTTPS proxy whose own
|
|
19045
|
+
// certificate is self-signed. Disable verification on both when opted in.
|
|
19046
|
+
...insecure ? {
|
|
19047
|
+
requestTls: { rejectUnauthorized: false },
|
|
19048
|
+
proxyTls: { rejectUnauthorized: false }
|
|
19049
|
+
} : {}
|
|
19235
19050
|
});
|
|
19236
|
-
dispatcherCache.set(
|
|
19051
|
+
dispatcherCache.set(cacheKey, dispatcher);
|
|
19237
19052
|
return dispatcher;
|
|
19238
19053
|
}
|
|
19239
19054
|
__name(getOrCreateSharedDispatcher, "getOrCreateSharedDispatcher");
|
|
@@ -19473,21 +19288,25 @@ function recordProxyFailure(hostname) {
|
|
|
19473
19288
|
}
|
|
19474
19289
|
__name(recordProxyFailure, "recordProxyFailure");
|
|
19475
19290
|
function buildFetchOptionsWithDispatcher(sdkType, proxyUrl) {
|
|
19291
|
+
const insecure = isTlsVerificationDisabled();
|
|
19476
19292
|
if (!proxyUrl) {
|
|
19477
|
-
const NO_PROXY_KEY = "__no_proxy__";
|
|
19293
|
+
const NO_PROXY_KEY = insecure ? "__no_proxy__#insecure" : "__no_proxy__";
|
|
19478
19294
|
let dispatcher = dispatcherCache.get(NO_PROXY_KEY);
|
|
19479
19295
|
if (!dispatcher) {
|
|
19480
19296
|
dispatcher = new import_undici.Agent({
|
|
19481
19297
|
headersTimeout: 0,
|
|
19482
19298
|
bodyTimeout: 0,
|
|
19483
|
-
keepAliveTimeout: 6e4
|
|
19299
|
+
keepAliveTimeout: 6e4,
|
|
19300
|
+
// For a direct (non-proxy) Agent, `connect` options flow straight to
|
|
19301
|
+
// the TLS connector, so this disables upstream cert verification.
|
|
19302
|
+
...insecure ? { connect: { rejectUnauthorized: false } } : {}
|
|
19484
19303
|
});
|
|
19485
19304
|
dispatcherCache.set(NO_PROXY_KEY, dispatcher);
|
|
19486
19305
|
}
|
|
19487
19306
|
return { fetchOptions: { dispatcher }, fetch: import_undici.fetch };
|
|
19488
19307
|
}
|
|
19489
19308
|
try {
|
|
19490
|
-
const dispatcher = getOrCreateSharedDispatcher(proxyUrl);
|
|
19309
|
+
const dispatcher = getOrCreateSharedDispatcher(proxyUrl, insecure);
|
|
19491
19310
|
return { fetchOptions: { dispatcher }, fetch: import_undici.fetch };
|
|
19492
19311
|
} catch (error) {
|
|
19493
19312
|
const hostname = extractHostnameFromProxyUrl(proxyUrl);
|
|
@@ -19503,116 +19322,20 @@ function buildFetchOptionsWithDispatcher(sdkType, proxyUrl) {
|
|
|
19503
19322
|
}
|
|
19504
19323
|
__name(buildFetchOptionsWithDispatcher, "buildFetchOptionsWithDispatcher");
|
|
19505
19324
|
|
|
19506
|
-
// packages/core/src/utils/request-tokenizer/textTokenizer.ts
|
|
19507
|
-
init_esbuild_shims();
|
|
19508
|
-
var TextTokenizer = class {
|
|
19509
|
-
static {
|
|
19510
|
-
__name(this, "TextTokenizer");
|
|
19511
|
-
}
|
|
19512
|
-
/**
|
|
19513
|
-
* Calculate tokens for text content
|
|
19514
|
-
*
|
|
19515
|
-
* @param text - The text to estimate tokens for
|
|
19516
|
-
* @returns The estimated token count
|
|
19517
|
-
*/
|
|
19518
|
-
async calculateTokens(text) {
|
|
19519
|
-
return this.calculateTokensSync(text);
|
|
19520
|
-
}
|
|
19521
|
-
/**
|
|
19522
|
-
* Calculate tokens for multiple text strings
|
|
19523
|
-
*
|
|
19524
|
-
* @param texts - Array of text strings to estimate tokens for
|
|
19525
|
-
* @returns Array of token counts corresponding to each input text
|
|
19526
|
-
*/
|
|
19527
|
-
async calculateTokensBatch(texts) {
|
|
19528
|
-
return texts.map((text) => this.calculateTokensSync(text));
|
|
19529
|
-
}
|
|
19530
|
-
calculateTokensSync(text) {
|
|
19531
|
-
if (!text || text.length === 0) {
|
|
19532
|
-
return 0;
|
|
19533
|
-
}
|
|
19534
|
-
let asciiChars = 0;
|
|
19535
|
-
let nonAsciiChars = 0;
|
|
19536
|
-
for (let i = 0; i < text.length; i++) {
|
|
19537
|
-
const charCode = text.charCodeAt(i);
|
|
19538
|
-
if (charCode < 128) {
|
|
19539
|
-
asciiChars++;
|
|
19540
|
-
} else {
|
|
19541
|
-
nonAsciiChars++;
|
|
19542
|
-
}
|
|
19543
|
-
}
|
|
19544
|
-
const tokens = asciiChars / 4 + nonAsciiChars * 1.1;
|
|
19545
|
-
return Math.ceil(tokens);
|
|
19546
|
-
}
|
|
19547
|
-
};
|
|
19548
|
-
|
|
19549
|
-
// packages/core/src/utils/request-tokenizer/supportedImageFormats.ts
|
|
19550
|
-
init_esbuild_shims();
|
|
19551
|
-
var SUPPORTED_IMAGE_MIME_TYPES = [
|
|
19552
|
-
"image/bmp",
|
|
19553
|
-
"image/gif",
|
|
19554
|
-
"image/jpeg",
|
|
19555
|
-
"image/jpg",
|
|
19556
|
-
// Alternative MIME type for JPEG
|
|
19557
|
-
"image/png",
|
|
19558
|
-
"image/tiff",
|
|
19559
|
-
"image/webp",
|
|
19560
|
-
"image/heic"
|
|
19561
|
-
];
|
|
19562
|
-
function isSupportedImageMimeType(mimeType) {
|
|
19563
|
-
return SUPPORTED_IMAGE_MIME_TYPES.includes(
|
|
19564
|
-
mimeType
|
|
19565
|
-
);
|
|
19566
|
-
}
|
|
19567
|
-
__name(isSupportedImageMimeType, "isSupportedImageMimeType");
|
|
19568
|
-
function getSupportedImageFormatsString() {
|
|
19569
|
-
return SUPPORTED_IMAGE_MIME_TYPES.map(
|
|
19570
|
-
(type) => type.replace("image/", "").toUpperCase()
|
|
19571
|
-
).join(", ");
|
|
19572
|
-
}
|
|
19573
|
-
__name(getSupportedImageFormatsString, "getSupportedImageFormatsString");
|
|
19574
|
-
function getUnsupportedImageFormatWarning() {
|
|
19575
|
-
return `Only the following image formats are supported: ${getSupportedImageFormatsString()}. Other formats may not work as expected.`;
|
|
19576
|
-
}
|
|
19577
|
-
__name(getUnsupportedImageFormatWarning, "getUnsupportedImageFormatWarning");
|
|
19578
|
-
|
|
19579
19325
|
export {
|
|
19580
19326
|
require_undici,
|
|
19581
|
-
|
|
19582
|
-
DEFAULT_OUTPUT_TOKEN_LIMIT,
|
|
19583
|
-
CAPPED_DEFAULT_MAX_TOKENS,
|
|
19584
|
-
ESCALATED_MAX_TOKENS,
|
|
19585
|
-
parsePositiveIntegerEnvValue,
|
|
19586
|
-
normalize,
|
|
19587
|
-
hasExplicitOutputLimit,
|
|
19588
|
-
knownTokenLimit,
|
|
19589
|
-
tokenLimit,
|
|
19590
|
-
DEFAULT_TIMEOUT,
|
|
19591
|
-
DEFAULT_MAX_RETRIES,
|
|
19592
|
-
DEFAULT_OPENAI_BASE_URL,
|
|
19593
|
-
DEFAULT_DASHSCOPE_BASE_URL,
|
|
19594
|
-
DASHSCOPE_PROXY_BASE_URL,
|
|
19327
|
+
isTlsVerificationDisabled,
|
|
19595
19328
|
detectRuntime,
|
|
19596
19329
|
buildRuntimeFetchOptions,
|
|
19597
19330
|
getOrCreateSharedDispatcher,
|
|
19598
19331
|
redactProxyCredentials,
|
|
19599
|
-
redactProxyError
|
|
19600
|
-
TextTokenizer,
|
|
19601
|
-
SUPPORTED_IMAGE_MIME_TYPES,
|
|
19602
|
-
isSupportedImageMimeType,
|
|
19603
|
-
getSupportedImageFormatsString,
|
|
19604
|
-
getUnsupportedImageFormatWarning
|
|
19332
|
+
redactProxyError
|
|
19605
19333
|
};
|
|
19606
19334
|
/**
|
|
19607
19335
|
* @license
|
|
19608
19336
|
* Copyright 2025 Qwen Team
|
|
19609
19337
|
* SPDX-License-Identifier: Apache-2.0
|
|
19610
19338
|
*/
|
|
19611
|
-
/**
|
|
19612
|
-
* @license
|
|
19613
|
-
* Copyright 2025 Qwen
|
|
19614
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
19615
|
-
*/
|
|
19616
19339
|
/*! Bundled license information:
|
|
19617
19340
|
|
|
19618
19341
|
undici/lib/web/fetch/body.js:
|
|
@@ -7,9 +7,11 @@ import {
|
|
|
7
7
|
// packages/acp-bridge/src/bridgeTypes.ts
|
|
8
8
|
init_esbuild_shims();
|
|
9
9
|
var MID_TURN_QUEUE_DRAIN_METHOD = "craft/drainMidTurnQueue";
|
|
10
|
+
var CLIENT_MCP_OVER_WS_CONFIG_FLAG = "__clientMcpOverWs";
|
|
10
11
|
|
|
11
12
|
export {
|
|
12
|
-
MID_TURN_QUEUE_DRAIN_METHOD
|
|
13
|
+
MID_TURN_QUEUE_DRAIN_METHOD,
|
|
14
|
+
CLIENT_MCP_OVER_WS_CONFIG_FLAG
|
|
13
15
|
};
|
|
14
16
|
/**
|
|
15
17
|
* @license
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
theme
|
|
5
|
+
} from "./chunk-SMXULRAN.js";
|
|
3
6
|
import {
|
|
4
7
|
Box_default,
|
|
5
8
|
Text,
|
|
6
9
|
require_jsx_runtime
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WQT5SOI6.js";
|
|
8
11
|
import {
|
|
9
12
|
require_react
|
|
10
13
|
} from "./chunk-KYMBIKIW.js";
|
|
11
|
-
import {
|
|
12
|
-
themeManager
|
|
13
|
-
} from "./chunk-TMBPDHXD.js";
|
|
14
14
|
import {
|
|
15
15
|
stringWidth,
|
|
16
16
|
toCodePoints
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BSZEQNUA.js";
|
|
18
18
|
import {
|
|
19
19
|
createDebugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UX4SGCGN.js";
|
|
21
21
|
import {
|
|
22
22
|
init_esbuild_shims
|
|
23
23
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -30,26 +30,6 @@ import {
|
|
|
30
30
|
init_esbuild_shims();
|
|
31
31
|
var import_react2 = __toESM(require_react(), 1);
|
|
32
32
|
|
|
33
|
-
// packages/cli/src/ui/semantic-colors.ts
|
|
34
|
-
init_esbuild_shims();
|
|
35
|
-
var theme = {
|
|
36
|
-
get text() {
|
|
37
|
-
return themeManager.getSemanticColors().text;
|
|
38
|
-
},
|
|
39
|
-
get background() {
|
|
40
|
-
return themeManager.getSemanticColors().background;
|
|
41
|
-
},
|
|
42
|
-
get border() {
|
|
43
|
-
return themeManager.getSemanticColors().border;
|
|
44
|
-
},
|
|
45
|
-
get ui() {
|
|
46
|
-
return themeManager.getSemanticColors().ui;
|
|
47
|
-
},
|
|
48
|
-
get status() {
|
|
49
|
-
return themeManager.getSemanticColors().status;
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
|
|
53
33
|
// packages/cli/src/ui/contexts/OverflowContext.tsx
|
|
54
34
|
init_esbuild_shims();
|
|
55
35
|
var import_react = __toESM(require_react(), 1);
|
|
@@ -480,7 +460,6 @@ function layoutInkElementAsStyledText(element, maxWidth, output) {
|
|
|
480
460
|
__name(layoutInkElementAsStyledText, "layoutInkElementAsStyledText");
|
|
481
461
|
|
|
482
462
|
export {
|
|
483
|
-
theme,
|
|
484
463
|
useOverflowState,
|
|
485
464
|
OverflowProvider,
|
|
486
465
|
MINIMUM_MAX_HEIGHT,
|