@qwen-code/qwen-code 0.19.2-preview.0 → 0.19.3
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 +12 -7
- package/bundled/loop/SKILL.test.ts +32 -0
- package/bundled/qc-helper/SKILL.md +14 -14
- 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 +60 -60
- package/bundled/qc-helper/docs/features/commands.md +108 -77
- 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/chunks/{MaxSizedBox-ZGJWTRFD.js → MaxSizedBox-QNF3EIGU.js} +29 -30
- package/chunks/{StandaloneSessionPicker-BUCTAFOX.js → StandaloneSessionPicker-Z52JTYST.js} +42 -40
- package/chunks/{acpAgent-JO2ITCNM.js → acpAgent-7RZUOWOM.js} +406 -118
- package/chunks/{agent-MY66OFO7.js → agent-4FG7WTHJ.js} +24 -26
- package/chunks/{agent-headless-SRMNGWN5.js → agent-headless-RQ5BTX3G.js} +24 -26
- package/chunks/{anthropicContentGenerator-E3TQ5XJJ.js → anthropicContentGenerator-PFITVL7Y.js} +31 -13
- 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-GZCNYBHI.js → bridge-JL2PMCIW.js} +29 -32
- package/chunks/{ca-7WC7ELX6.js → ca-IUFWESZL.js} +1 -0
- package/chunks/{chunk-3UALQ56H.js → chunk-3227DZO4.js} +1 -1
- package/chunks/{chunk-2TLWKT22.js → chunk-3TV3HUWZ.js} +16 -7
- package/chunks/{chunk-WQ523TWK.js → chunk-4LUZAKMK.js} +45 -3
- package/chunks/{chunk-KDRNHNFO.js → chunk-4QK3O43S.js} +6 -27
- package/chunks/chunk-5GOVVXEV.js +73 -0
- package/chunks/{chunk-C4YPMKVC.js → chunk-6V4NZFUS.js} +5 -5
- package/chunks/{chunk-QCE46JPS.js → chunk-ADCIHOQZ.js} +138 -28
- 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-BTLJ2MF5.js +690 -0
- package/chunks/{chunk-OIC6S73E.js → chunk-BUUQ5HPX.js} +1 -1
- package/chunks/{chunk-2BIF2NVV.js → chunk-BVSVIN45.js} +2 -2
- package/chunks/{chunk-JXQ23SNT.js → chunk-BW4KCQFD.js} +54 -2
- package/chunks/{chunk-TOEGRAVX.js → chunk-BX5YO7UW.js} +17 -5
- package/chunks/{chunk-3GOWF4JW.js → chunk-BXSHL2SF.js} +1 -1
- package/chunks/{chunk-UN3C6GOR.js → chunk-CF6BB3LT.js} +0 -107
- package/chunks/{chunk-Z7XXFPGP.js → chunk-CKQA6AWF.js} +1 -1
- package/chunks/{chunk-S3QKD3KC.js → chunk-CNLEDYE3.js} +7 -5
- package/chunks/{chunk-PRYMDRBV.js → chunk-DDMOU62Q.js} +1 -1
- package/chunks/chunk-EDMZZFDU.js +11213 -0
- package/chunks/{chunk-IRJWHZWU.js → chunk-EJYJYJZ2.js} +70 -3
- package/chunks/{chunk-Z3GEHYNS.js → chunk-F3ZYSEY6.js} +151 -4775
- package/chunks/chunk-FKAVULLM.js +4909 -0
- package/chunks/{chunk-QEFO4ZHF.js → chunk-FNJ7BDPH.js} +6 -6
- package/chunks/{chunk-ZMYGPJZ2.js → chunk-FXKVLFFY.js} +1 -1
- package/chunks/{chunk-NISEO774.js → chunk-GGBIN5K7.js} +1 -1
- package/chunks/{chunk-MLZC2B46.js → chunk-GT2FGICD.js} +1 -1
- package/chunks/{chunk-6RSJXDOE.js → chunk-HPZTOP4I.js} +75 -23
- package/chunks/{chunk-OTBK43JR.js → chunk-HYCC3XM3.js} +1 -1
- package/chunks/{chunk-MAJFZ73U.js → chunk-HZT4UCFB.js} +4 -4
- package/chunks/{chunk-VGU3SDPN.js → chunk-I2LYBGNI.js} +1 -1
- package/chunks/{chunk-TMBPDHXD.js → chunk-I4H7PRWQ.js} +1 -1
- package/chunks/{chunk-LUNAHBBC.js → chunk-J33ZR6OJ.js} +404 -4
- package/chunks/{chunk-MB7CQE2R.js → chunk-J7FA27RO.js} +109 -6
- package/chunks/{chunk-S566HKUS.js → chunk-JE5FVRPC.js} +38 -7
- package/chunks/{chunk-HKGTXQ2Q.js → chunk-JJXWTVSK.js} +1 -1
- package/chunks/{chunk-EEEZIVFJ.js → chunk-JOLIREYR.js} +1 -1
- package/chunks/{chunk-CGONIGON.js → chunk-JVHEVCAU.js} +5 -5
- package/chunks/chunk-K5XU6E4T.js +167 -0
- package/chunks/{chunk-EW6C27XX.js → chunk-KMGMKW5Q.js} +1 -1
- package/chunks/{chunk-B734I4XN.js → chunk-L7OKCI7T.js} +4 -2
- package/chunks/{chunk-3PPKH5TY.js → chunk-M2U5NM24.js} +188 -11366
- package/chunks/{chunk-PCTRA6JV.js → chunk-MNF6S5PR.js} +4 -4
- package/chunks/{chunk-FPACXT7T.js → chunk-N4EJFBN5.js} +421 -163
- 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-Q47HB5BI.js → chunk-O75BHFQW.js} +10 -460
- package/chunks/{chunk-EPHYP7YA.js → chunk-ODLIHNOY.js} +1 -2
- package/chunks/{chunk-R44WETZC.js → chunk-PDE7CSDS.js} +2 -2
- package/chunks/{chunk-C7WPMYY6.js → chunk-PR32FRT6.js} +3 -3
- package/chunks/{chunk-7ACQGQWS.js → chunk-QE6KJYLT.js} +56 -29
- package/chunks/{chunk-3RJ3ZPPR.js → chunk-QI7GOGJR.js} +7 -7
- package/chunks/{chunk-XU5P23GN.js → chunk-QLDPRILK.js} +3 -3
- package/chunks/{chunk-S77J57YJ.js → chunk-QNKBEJO2.js} +359 -76
- package/chunks/{chunk-3MEMSFD3.js → chunk-QWFNTRH4.js} +1 -1
- package/chunks/chunk-QYUE6W3T.js +123 -0
- package/chunks/{chunk-WEOJMFUO.js → chunk-R5OP2ATH.js} +11 -11
- package/chunks/{chunk-BNXANYLH.js → chunk-RD6YJJJ6.js} +81 -1
- package/chunks/{chunk-3VWNMDXT.js → chunk-RRFZXMYP.js} +380 -400
- package/chunks/{chunk-ZN5T4BHI.js → chunk-RYLJU2DY.js} +1 -1
- package/chunks/{chunk-ZD3NW5KL.js → chunk-S7AKE7HL.js} +3 -3
- package/chunks/{chunk-BG4BIP7F.js → chunk-SBBN4BWR.js} +4 -2
- package/chunks/{chunk-T2VDEFUU.js → chunk-SKQZZVAV.js} +2 -2
- package/chunks/{chunk-EDEHJ6DO.js → chunk-SLNKLLEO.js} +14 -9
- package/chunks/chunk-SMXULRAN.js +37 -0
- package/chunks/{chunk-BUY35XTH.js → chunk-SMYQZVZ3.js} +1 -1
- package/chunks/{chunk-YTHAFW7O.js → chunk-STUWFKGD.js} +1001 -887
- package/chunks/{chunk-SFUYT3EQ.js → chunk-T4T2FNV4.js} +2 -2
- package/chunks/{chunk-F6XNTYNE.js → chunk-U3KSMM7G.js} +8 -4
- package/chunks/chunk-UFLGERMB.js +813 -0
- package/chunks/{chunk-BGUDAULQ.js → chunk-UO5GVXQE.js} +5 -5
- package/chunks/{chunk-C4K3FEQ2.js → chunk-UX4SGCGN.js} +32 -3
- package/chunks/{chunk-TWMKA4OQ.js → chunk-UYT3MWEB.js} +85 -8
- package/chunks/{chunk-5J3QYE2J.js → chunk-VBZ452JT.js} +113 -24
- package/chunks/{chunk-KBXLIVWQ.js → chunk-VVLOGDB6.js} +2 -2
- package/chunks/{chunk-TXVGVZYR.js → chunk-XJYUPHRC.js} +3 -3
- package/chunks/{chunk-2JD55C6G.js → chunk-Y6YMRS3U.js} +2 -2
- package/chunks/{chunk-ACZI6UDO.js → chunk-YAINVQ3Q.js} +2961 -1349
- package/chunks/{chunk-X6EDWN44.js → chunk-ZP6UKOPB.js} +1 -1
- package/chunks/{computer-use-6OUCN274.js → computer-use-JGB36FDW.js} +103 -52
- package/chunks/{contextCommand-M5IKMWCY.js → contextCommand-WYU6OQ2F.js} +26 -28
- 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-HH2EC5FI.js +65 -0
- package/chunks/{de-ACHALDED.js → de-EOW5PVHF.js} +1 -0
- package/chunks/{dist-BOOH5JWN.js → dist-663NZ6MI.js} +1 -1
- package/chunks/{dist-QHJRBCMP.js → dist-J37VXPLD.js} +46 -5
- package/chunks/{dist-OD2FY543.js → dist-LB6OGPVM.js} +1 -1
- package/chunks/{dist-BD27IA3L.js → dist-NHEYYB2B.js} +2 -2
- package/chunks/{dist-QFFZWACU.js → dist-PQPZ5Q4N.js} +1 -1
- package/chunks/{earlyInputCapture-HX4EHHVF.js → earlyInputCapture-44RISVVJ.js} +25 -27
- package/chunks/{edit-AHPBJWZO.js → edit-NN6GM5DT.js} +68 -30
- package/chunks/{en-NCUBOJOY.js → en-HPWEJBTR.js} +8 -0
- package/chunks/{enter-worktree-PB45KTMD.js → enter-worktree-PB3O2C7D.js} +24 -26
- package/chunks/{enterPlanMode-WBJ23SFX.js → enterPlanMode-YQFNNSUA.js} +24 -26
- package/chunks/{errors-OBDZ5XIW.js → errors-LS7XU5DZ.js} +26 -28
- package/chunks/{exit-worktree-VZK27UQY.js → exit-worktree-E2FTNSBK.js} +24 -26
- package/chunks/{exitPlanMode-SVJCUCD2.js → exitPlanMode-GLYK2BUB.js} +24 -26
- package/chunks/{fast-path-LCCPZVEW.js → fast-path-WQ6M7LI7.js} +4 -4
- package/chunks/{fast-path-settings-TSVI53EB.js → fast-path-settings-OAGU3X5H.js} +3 -2
- package/chunks/{fr-GVKZ27MF.js → fr-BN5NKSAC.js} +1 -0
- package/chunks/{gemini-NVIOUXR6.js → gemini-2YFLVA2M.js} +204 -103
- package/chunks/{geminiContentGenerator-35K5AQ5O.js → geminiContentGenerator-XV6SV6CD.js} +4 -4
- package/chunks/{glob-JU4Y7GPG.js → glob-2H6CDDMK.js} +24 -26
- package/chunks/{grep-J4B63YPZ.js → grep-VXIUXM3C.js} +24 -26
- package/chunks/{headlessSafetyWarnings-23EM5RH2.js → headlessSafetyWarnings-TBE35GJ4.js} +24 -26
- package/chunks/initializer-2Y7SLOKV.js +61 -0
- 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-ZAFHZ7OS.js +65 -0
- package/chunks/loadedSettingsAdapter-6KJXD6M3.js +60 -0
- package/chunks/{loop-wakeup-33GPXJLA.js → loop-wakeup-CITGGQHA.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-WU7WVFM2.js → monitor-HKLRS2HQ.js} +24 -26
- package/chunks/nonInteractiveCli-5W4GIZQM.js +96 -0
- package/chunks/{notebook-edit-UGVPLPX4.js → notebook-edit-Y6SKSGTT.js} +52 -26
- package/chunks/{openaiContentGenerator-TI3M5VNP.js → openaiContentGenerator-J7G2FYJT.js} +13 -14
- package/chunks/{pt-SY5NCFGR.js → pt-TNZRNLQB.js} +1 -0
- package/chunks/{qwenContentGenerator-7WDBLJ77.js → qwenContentGenerator-5XIEM5GV.js} +26 -28
- package/chunks/{qwenOAuth2-K4AASPCV.js → qwenOAuth2-AG3PFFLZ.js} +4 -4
- package/chunks/{read-file-Y4NNE7M7.js → read-file-J7D552ZJ.js} +9 -10
- package/chunks/{read-mcp-resource-I5HCZJ6X.js → read-mcp-resource-DQQW7H7T.js} +2 -2
- package/chunks/{ripGrep-I5KP7EQ7.js → ripGrep-IEIFIWP4.js} +24 -26
- package/chunks/{ru-FWNXJG4F.js → ru-NIAUBKCN.js} +1 -0
- package/chunks/{run-qwen-serve-VRHHXLVN.js → run-qwen-serve-SGEEVMXD.js} +149 -41
- package/chunks/{scheduler-MPIZJSXK.js → scheduler-7CQI3S4Q.js} +24 -26
- package/chunks/{send-message-2DAFXEYP.js → send-message-EE4TWKVU.js} +2 -2
- package/chunks/{serve-O2HA5D2Y.js → serve-V6GVZR6U.js} +31 -31
- package/chunks/{server-ZU5GPYYG.js → server-4QMUWXPW.js} +6996 -5864
- package/chunks/{session-TBV6PADC.js → session-NRO7UFOY.js} +62 -57
- package/chunks/{settings-2IYAFT2Z.js → settings-SGWRDQSC.js} +30 -30
- package/chunks/{shell-EZRRV6ET.js → shell-62ANGIHL.js} +24 -26
- package/chunks/{skill-2UPCJCHZ.js → skill-VWAQAWW6.js} +39 -13
- package/chunks/{spawnChannel-2LTBWDWZ.js → spawnChannel-3VHW5EPY.js} +26 -28
- package/chunks/{src-UKQZLQ6R.js → src-KUV5J5Q2.js} +52 -28
- package/chunks/{startInteractiveUI-C3TJCUJP.js → startInteractiveUI-6EYJN3JV.js} +2588 -2371
- 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-3UXTW2MP.js → team-create-LPOGCPM7.js} +24 -26
- package/chunks/{team-delete-HGHFG23B.js → team-delete-LKBYPASD.js} +5 -5
- package/chunks/{theme-manager-3M5P6HST.js → theme-manager-LYLGAERF.js} +25 -27
- package/chunks/{todoWrite-IFBMN3FH.js → todoWrite-OYXKTVYN.js} +4 -4
- package/chunks/{tool-search-BHVIDD3W.js → tool-search-YPUFJ3ZQ.js} +102 -18
- package/chunks/trustedFolders-5B24TMEA.js +73 -0
- package/chunks/types-QX5C3CHJ.js +12 -0
- package/chunks/{validateNonInterActiveAuth-HHD2CROM.js → validateNonInterActiveAuth-BTDTYOVT.js} +57 -54
- package/chunks/{web-fetch-B5IIQ5TT.js → web-fetch-EEB5LZYU.js} +28 -15
- package/chunks/{workflow-PPOHBLSJ.js → workflow-LAWIW5LI.js} +32 -33
- package/chunks/workspace-providers-status-PIAFVYHA.js +62 -0
- package/chunks/workspace-service-YAIOD4HG.js +71 -0
- package/chunks/{write-file-44GS2JVH.js → write-file-PCV226DJ.js} +63 -30
- 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 +6 -3
- package/web-shell/assets/{arc-D_ae_Y9k.js → arc-DA7r8Ueo.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-BMLRjppa.js → architectureDiagram-3BPJPVTR-ZDUxPtZ2.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-qVDQC8KL.js → blockDiagram-GPEHLZMM-vrtOf1kJ.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-CxWS6MBd.js → c4Diagram-AAUBKEIU-BHFjzIi4.js} +1 -1
- package/web-shell/assets/channel-iRo68q4Q.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-BtNuY5Yp.js → chunk-2J33WTMH-mdeQVz59.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-BU-x368d.js → chunk-4BX2VUAB-BkKMlwBX.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-DRgTLvBu.js → chunk-55IACEB6-B7bnXNfu.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-D2aElv7q.js → chunk-727SXJPM-DGz8Mm6i.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-BwHCMRQ0.js → chunk-AQP2D5EJ-BQAydUNk.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-BMyPH-ku.js → chunk-FMBD7UC4-GHr2LN_p.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-BNKTstUf.js → chunk-ND2GUHAM-7R91lnUx.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-gD3vsFId.js → chunk-QZHKN3VN-aTJD3lSQ.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-iHF24a8X.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-iHF24a8X.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BG9FAsXE.js → cose-bilkent-S5V4N54A-BTf8t1RL.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-Cy1sR7om.js → dagre-BM42HDAG-_sgp3WuA.js} +1 -1
- package/web-shell/assets/default-aEtf0G7-.svg +1 -0
- package/web-shell/assets/{diagram-2AECGRRQ-Bxi1I_Vu.js → diagram-2AECGRRQ-CROtRy1w.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BGCJjO6y.js → diagram-5GNKFQAL-BqGRzwSc.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CMTeLXp7.js → diagram-KO2AKTUF-CMrcEtA7.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BN1wyAGh.js → diagram-LMA3HP47-BRydGNW5.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-UYSG_zcp.js → diagram-OG6HWLK6-D0ilgNjV.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-DqXL08lw.js → erDiagram-TEJ5UH35-2lnQeJUM.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BPJ9SFji.js → flowDiagram-I6XJVG4X-C_ZMdQiC.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BEd9Pnms.js → ganttDiagram-6RSMTGT7-Dw9V_Ny0.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DrNRH3oi.js → gitGraphDiagram-PVQCEYII-HDXI-F1B.js} +1 -1
- package/web-shell/assets/index-CHmzAWys.css +5 -0
- package/web-shell/assets/index-w6GTOHh1.js +713 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CFYBrkVI.js → infoDiagram-5YYISTIA-CuB8Ebua.js} +1 -1
- package/web-shell/assets/insert-DmRbh9Rv.svg +1 -0
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-Dxsddth7.js → ishikawaDiagram-YF4QCWOH-D_tyhVwh.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DxaDK80t.js → journeyDiagram-JHISSGLW-CgCwJQNU.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-Q0jQCOct.js → kanban-definition-UN3LZRKU-PZUtcbPx.js} +1 -1
- package/web-shell/assets/{linear-DGGM2kcP.js → linear-CZqRdJIU.js} +1 -1
- package/web-shell/assets/{mermaid.core-ByoxnWut.js → mermaid.core-CPW_4UEF.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-C0ZseHsi.js → mindmap-definition-RKZ34NQL-D_Y75ID7.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-MQXNhl5A.js → pieDiagram-4H26LBE5-Q4dTyLeF.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DIR4ee2A.js → quadrantDiagram-W4KKPZXB-ckw329Ft.js} +1 -1
- package/web-shell/assets/queue-DWpnpFgW.svg +1 -0
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-BTR0UdYQ.js → requirementDiagram-4Y6WPE33-DbVDm4It.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-sfnhMELN.js → sankeyDiagram-5OEKKPKP-CHuZ_ecH.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DXczHOHH.js → sequenceDiagram-3UESZ5HK-DU2YSpq-.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-DdE_KQFH.js → stateDiagram-AJRCARHV-CA9PEBUo.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-t1LRI0oY.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DIc61uE8.js → timeline-definition-PNZ67QCA-Bhlo4WVc.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BF7ODmxB.js → vennDiagram-CIIHVFJN-6xtPLsyl.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-3pc1MEaw.js → wardley-L42UT6IY-3eozmXPf.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-9jnPcZuP.js → wardleyDiagram-YWT4CUSO-BOn6hKss.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-DcthaZK6.js → xychartDiagram-2RQKCTM6-BsP4-I_y.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-5P5XGNYH.js +0 -93
- package/chunks/chunk-CL7QBVGW.js +0 -410
- package/chunks/chunk-SEZC2725.js +0 -36
- package/chunks/chunk-SYCJMSIJ.js +0 -82
- package/chunks/daemon-status-provider-TME7FJJD.js +0 -68
- package/chunks/initializer-GVY6XSFS.js +0 -61
- package/chunks/list-ZSIVGCZJ.js +0 -65
- package/chunks/loadedSettingsAdapter-KCX2EYFY.js +0 -60
- package/chunks/nonInteractiveCli-HNXJ6X6Z.js +0 -91
- package/chunks/workspace-providers-status-NAQJK6DP.js +0 -62
- package/chunks/workspace-service-YREVMAQD.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
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
import {
|
|
4
4
|
AUTO_THEME_NAME,
|
|
5
5
|
themeManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I4H7PRWQ.js";
|
|
7
7
|
import {
|
|
8
8
|
initializeI18n,
|
|
9
9
|
resolveLanguageSetting,
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-R5OP2ATH.js";
|
|
12
12
|
import {
|
|
13
13
|
IdeClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YAINVQ3Q.js";
|
|
15
15
|
import {
|
|
16
16
|
AuthEvent,
|
|
17
17
|
IdeConnectionEvent,
|
|
18
18
|
logAuth,
|
|
19
19
|
logIdeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QNKBEJO2.js";
|
|
21
21
|
import {
|
|
22
22
|
getErrorMessage
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UX4SGCGN.js";
|
|
24
24
|
import {
|
|
25
25
|
init_esbuild_shims
|
|
26
26
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -4,36 +4,38 @@ import {
|
|
|
4
4
|
OpenAIContentConverter,
|
|
5
5
|
TaggedThinkingParser,
|
|
6
6
|
openaiRequestCaptureContext
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
createChildAbortController
|
|
10
|
-
} from "./chunk-64WXLC72.js";
|
|
7
|
+
} from "./chunk-QNKBEJO2.js";
|
|
11
8
|
import {
|
|
12
9
|
RequestTokenizer
|
|
13
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VVLOGDB6.js";
|
|
14
11
|
import {
|
|
15
|
-
CAPPED_DEFAULT_MAX_TOKENS,
|
|
16
12
|
DASHSCOPE_PROXY_BASE_URL,
|
|
17
13
|
DEFAULT_DASHSCOPE_BASE_URL,
|
|
18
14
|
DEFAULT_MAX_RETRIES,
|
|
15
|
+
DEFAULT_STREAM_IDLE_TIMEOUT_MS,
|
|
19
16
|
DEFAULT_TIMEOUT,
|
|
17
|
+
MAX_STREAM_IDLE_TIMEOUT_MS,
|
|
18
|
+
QWEN_STREAM_IDLE_TIMEOUT_MS_ENV,
|
|
20
19
|
buildRuntimeFetchOptions,
|
|
21
20
|
hasExplicitOutputLimit,
|
|
22
21
|
parsePositiveIntegerEnvValue,
|
|
23
22
|
redactProxyError,
|
|
24
23
|
tokenLimit
|
|
25
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-U3KSMM7G.js";
|
|
26
25
|
import {
|
|
27
26
|
runtimeDiagnostics,
|
|
28
27
|
safeJsonParse
|
|
29
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BKXBARJZ.js";
|
|
30
29
|
import {
|
|
31
30
|
GenerateContentResponse
|
|
32
31
|
} from "./chunk-55ZMG67I.js";
|
|
32
|
+
import {
|
|
33
|
+
createChildAbortController
|
|
34
|
+
} from "./chunk-64WXLC72.js";
|
|
33
35
|
import {
|
|
34
36
|
createDebugLogger,
|
|
35
37
|
isAbortError
|
|
36
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-UX4SGCGN.js";
|
|
37
39
|
import {
|
|
38
40
|
init_esbuild_shims
|
|
39
41
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -6995,16 +6997,15 @@ var DefaultOpenAICompatibleProvider = class {
|
|
|
6995
6997
|
* configured value entirely (backend may support larger limits)
|
|
6996
6998
|
* 2. If user didn't configure max_tokens:
|
|
6997
6999
|
* - Check QWEN_CODE_MAX_OUTPUT_TOKENS env var first
|
|
6998
|
-
* - Otherwise use
|
|
6999
|
-
* - Requests hitting the 8K cap get one clean retry at 64K (geminiChat.ts)
|
|
7000
|
+
* - Otherwise use the model's output limit
|
|
7000
7001
|
* 3. If model has no specific limit (tokenLimit returns default):
|
|
7001
|
-
* -
|
|
7002
|
+
* - Use DEFAULT_OUTPUT_TOKEN_LIMIT
|
|
7002
7003
|
*
|
|
7003
7004
|
* Examples:
|
|
7004
7005
|
* - User sets 4K, known model limit 64K → uses 4K (respects user preference)
|
|
7005
7006
|
* - User sets 100K, known model limit 64K → uses 64K (capped to avoid API error)
|
|
7006
7007
|
* - User sets 100K, unknown model → uses 100K (respects user, backend may support it)
|
|
7007
|
-
* - User not set, model limit 64K → uses
|
|
7008
|
+
* - User not set, model limit 64K → uses 64K
|
|
7008
7009
|
* - User not set, model limit 4K → uses 4K (model limit is lower)
|
|
7009
7010
|
* - User not set, env QWEN_CODE_MAX_OUTPUT_TOKENS=16000 -> uses 16K
|
|
7010
7011
|
*
|
|
@@ -7032,7 +7033,7 @@ var DefaultOpenAICompatibleProvider = class {
|
|
|
7032
7033
|
if (envMaxTokens !== void 0) {
|
|
7033
7034
|
effectiveMaxTokens = isKnownModel ? Math.min(envMaxTokens, modelLimit) : envMaxTokens;
|
|
7034
7035
|
} else {
|
|
7035
|
-
effectiveMaxTokens =
|
|
7036
|
+
effectiveMaxTokens = modelLimit;
|
|
7036
7037
|
}
|
|
7037
7038
|
}
|
|
7038
7039
|
return {
|
|
@@ -7995,6 +7996,7 @@ var StreamingToolCallParser = class {
|
|
|
7995
7996
|
};
|
|
7996
7997
|
|
|
7997
7998
|
// packages/core/src/core/openaiContentGenerator/pipeline.ts
|
|
7999
|
+
var debugLogger3 = createDebugLogger("OPENAI_PIPELINE");
|
|
7998
8000
|
var StreamContentError = class extends Error {
|
|
7999
8001
|
static {
|
|
8000
8002
|
__name(this, "StreamContentError");
|
|
@@ -8004,17 +8006,114 @@ var StreamContentError = class extends Error {
|
|
|
8004
8006
|
this.name = "StreamContentError";
|
|
8005
8007
|
}
|
|
8006
8008
|
};
|
|
8009
|
+
var StreamInactivityTimeoutError = class extends Error {
|
|
8010
|
+
constructor(idleMs, chunksReceived, streamLifetimeMs) {
|
|
8011
|
+
super(
|
|
8012
|
+
`No stream activity for ${idleMs}ms after ${chunksReceived} chunks (stream lifetime: ${streamLifetimeMs}ms)`
|
|
8013
|
+
);
|
|
8014
|
+
this.idleMs = idleMs;
|
|
8015
|
+
this.chunksReceived = chunksReceived;
|
|
8016
|
+
this.streamLifetimeMs = streamLifetimeMs;
|
|
8017
|
+
this.name = "StreamInactivityTimeoutError";
|
|
8018
|
+
}
|
|
8019
|
+
static {
|
|
8020
|
+
__name(this, "StreamInactivityTimeoutError");
|
|
8021
|
+
}
|
|
8022
|
+
code = "ETIMEDOUT";
|
|
8023
|
+
};
|
|
8024
|
+
function resolveStreamIdleTimeoutMs(config) {
|
|
8025
|
+
const fromConfig = config.streamIdleTimeoutMs;
|
|
8026
|
+
if (typeof fromConfig === "number") {
|
|
8027
|
+
if (Number.isInteger(fromConfig) && fromConfig <= MAX_STREAM_IDLE_TIMEOUT_MS) {
|
|
8028
|
+
return fromConfig;
|
|
8029
|
+
}
|
|
8030
|
+
console.warn(
|
|
8031
|
+
`[qwen-code] Ignoring out-of-range streamIdleTimeoutMs=${fromConfig} (expected an integer in (-\u221E, ${MAX_STREAM_IDLE_TIMEOUT_MS}]); falling back to ${QWEN_STREAM_IDLE_TIMEOUT_MS_ENV}/default.`
|
|
8032
|
+
);
|
|
8033
|
+
}
|
|
8034
|
+
const raw = process.env[QWEN_STREAM_IDLE_TIMEOUT_MS_ENV];
|
|
8035
|
+
const trimmed = raw?.trim();
|
|
8036
|
+
if (trimmed) {
|
|
8037
|
+
if (/^\d+$/.test(trimmed)) {
|
|
8038
|
+
const parsed = Number(trimmed);
|
|
8039
|
+
if (parsed <= MAX_STREAM_IDLE_TIMEOUT_MS) {
|
|
8040
|
+
return parsed;
|
|
8041
|
+
}
|
|
8042
|
+
}
|
|
8043
|
+
console.warn(
|
|
8044
|
+
`[qwen-code] Ignoring invalid ${QWEN_STREAM_IDLE_TIMEOUT_MS_ENV}="${raw}" (expected an integer of milliseconds in [0, ${MAX_STREAM_IDLE_TIMEOUT_MS}]); using default ${DEFAULT_STREAM_IDLE_TIMEOUT_MS}ms.`
|
|
8045
|
+
);
|
|
8046
|
+
}
|
|
8047
|
+
return DEFAULT_STREAM_IDLE_TIMEOUT_MS;
|
|
8048
|
+
}
|
|
8049
|
+
__name(resolveStreamIdleTimeoutMs, "resolveStreamIdleTimeoutMs");
|
|
8050
|
+
async function* withStreamInactivityTimeout(source, idleMs, abortRequest, parentSignal) {
|
|
8051
|
+
const it = source[Symbol.asyncIterator]();
|
|
8052
|
+
const streamStartedAt = Date.now();
|
|
8053
|
+
let chunksReceived = 0;
|
|
8054
|
+
try {
|
|
8055
|
+
while (true) {
|
|
8056
|
+
const nextPromise = it.next();
|
|
8057
|
+
let timer;
|
|
8058
|
+
const timeout = new Promise((_resolve, reject) => {
|
|
8059
|
+
timer = setTimeout(() => {
|
|
8060
|
+
if (parentSignal?.aborted) {
|
|
8061
|
+
const abortErr = new Error("Aborted");
|
|
8062
|
+
abortErr.name = "AbortError";
|
|
8063
|
+
reject(abortErr);
|
|
8064
|
+
} else {
|
|
8065
|
+
abortRequest();
|
|
8066
|
+
reject(
|
|
8067
|
+
new StreamInactivityTimeoutError(
|
|
8068
|
+
idleMs,
|
|
8069
|
+
chunksReceived,
|
|
8070
|
+
Date.now() - streamStartedAt
|
|
8071
|
+
)
|
|
8072
|
+
);
|
|
8073
|
+
}
|
|
8074
|
+
}, idleMs);
|
|
8075
|
+
timer.unref?.();
|
|
8076
|
+
});
|
|
8077
|
+
let result;
|
|
8078
|
+
try {
|
|
8079
|
+
result = await Promise.race([nextPromise, timeout]);
|
|
8080
|
+
} catch (err) {
|
|
8081
|
+
void Promise.resolve(nextPromise).catch(() => {
|
|
8082
|
+
});
|
|
8083
|
+
throw err;
|
|
8084
|
+
} finally {
|
|
8085
|
+
if (timer !== void 0) clearTimeout(timer);
|
|
8086
|
+
}
|
|
8087
|
+
if (result.done) return;
|
|
8088
|
+
chunksReceived += 1;
|
|
8089
|
+
yield result.value;
|
|
8090
|
+
}
|
|
8091
|
+
} finally {
|
|
8092
|
+
abortRequest();
|
|
8093
|
+
try {
|
|
8094
|
+
await it.return?.();
|
|
8095
|
+
} catch {
|
|
8096
|
+
}
|
|
8097
|
+
}
|
|
8098
|
+
}
|
|
8099
|
+
__name(withStreamInactivityTimeout, "withStreamInactivityTimeout");
|
|
8007
8100
|
var ContentGenerationPipeline = class {
|
|
8008
8101
|
constructor(config) {
|
|
8009
8102
|
this.config = config;
|
|
8010
8103
|
this.contentGeneratorConfig = config.contentGeneratorConfig;
|
|
8011
8104
|
this.client = this.config.provider.buildClient();
|
|
8105
|
+
this.streamIdleTimeoutMs = resolveStreamIdleTimeoutMs(
|
|
8106
|
+
this.contentGeneratorConfig
|
|
8107
|
+
);
|
|
8012
8108
|
}
|
|
8013
8109
|
static {
|
|
8014
8110
|
__name(this, "ContentGenerationPipeline");
|
|
8015
8111
|
}
|
|
8016
8112
|
client;
|
|
8017
8113
|
contentGeneratorConfig;
|
|
8114
|
+
// Resolved once (config field > env > default) so the env read + any
|
|
8115
|
+
// invalid-value warning happen per pipeline, not per streaming request.
|
|
8116
|
+
streamIdleTimeoutMs;
|
|
8018
8117
|
async execute(request, userPromptId) {
|
|
8019
8118
|
return this.executeWithErrorHandling(
|
|
8020
8119
|
request,
|
|
@@ -8048,22 +8147,25 @@ var ContentGenerationPipeline = class {
|
|
|
8048
8147
|
true,
|
|
8049
8148
|
async (openaiRequest, context) => {
|
|
8050
8149
|
const parentSignal = request.config?.abortSignal;
|
|
8051
|
-
const perRequestAc =
|
|
8150
|
+
const perRequestAc = createChildAbortController(parentSignal);
|
|
8052
8151
|
let stream;
|
|
8053
8152
|
try {
|
|
8054
8153
|
stream = await this.client.chat.completions.create(openaiRequest, {
|
|
8055
|
-
signal: perRequestAc
|
|
8154
|
+
signal: perRequestAc.signal
|
|
8056
8155
|
});
|
|
8057
8156
|
} catch (e) {
|
|
8058
|
-
perRequestAc
|
|
8157
|
+
perRequestAc.abort();
|
|
8059
8158
|
throw e;
|
|
8060
8159
|
}
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
}
|
|
8064
|
-
const ac = perRequestAc;
|
|
8065
|
-
const innerStream = this.processStreamWithLogging(
|
|
8160
|
+
const idleMs = this.streamIdleTimeoutMs;
|
|
8161
|
+
const guarded = idleMs > 0 ? withStreamInactivityTimeout(
|
|
8066
8162
|
stream,
|
|
8163
|
+
idleMs,
|
|
8164
|
+
() => perRequestAc.abort(),
|
|
8165
|
+
parentSignal
|
|
8166
|
+
) : stream;
|
|
8167
|
+
const innerStream = this.processStreamWithLogging(
|
|
8168
|
+
guarded,
|
|
8067
8169
|
context,
|
|
8068
8170
|
request
|
|
8069
8171
|
);
|
|
@@ -8071,7 +8173,7 @@ var ContentGenerationPipeline = class {
|
|
|
8071
8173
|
try {
|
|
8072
8174
|
yield* innerStream;
|
|
8073
8175
|
} finally {
|
|
8074
|
-
|
|
8176
|
+
perRequestAc.abort();
|
|
8075
8177
|
}
|
|
8076
8178
|
}
|
|
8077
8179
|
__name(drainThenCleanup, "drainThenCleanup");
|
|
@@ -8138,6 +8240,14 @@ var ContentGenerationPipeline = class {
|
|
|
8138
8240
|
if (error instanceof StreamContentError) {
|
|
8139
8241
|
throw redactProxyError(error);
|
|
8140
8242
|
}
|
|
8243
|
+
if (error instanceof StreamInactivityTimeoutError) {
|
|
8244
|
+
debugLogger3.warn("OpenAI stream inactivity timeout", {
|
|
8245
|
+
idleMs: error.idleMs,
|
|
8246
|
+
chunksReceived: error.chunksReceived,
|
|
8247
|
+
streamLifetimeMs: error.streamLifetimeMs
|
|
8248
|
+
});
|
|
8249
|
+
throw redactProxyError(error);
|
|
8250
|
+
}
|
|
8141
8251
|
await this.handleError(error, context, request);
|
|
8142
8252
|
}
|
|
8143
8253
|
}
|
|
@@ -8344,7 +8454,7 @@ var ContentGenerationPipeline = class {
|
|
|
8344
8454
|
|
|
8345
8455
|
// packages/core/src/core/openaiContentGenerator/errorHandler.ts
|
|
8346
8456
|
init_esbuild_shims();
|
|
8347
|
-
var
|
|
8457
|
+
var debugLogger4 = createDebugLogger("OPENAI_ERROR");
|
|
8348
8458
|
var EnhancedErrorHandler = class {
|
|
8349
8459
|
constructor(shouldSuppressLogging = () => false) {
|
|
8350
8460
|
this.shouldSuppressLogging = shouldSuppressLogging;
|
|
@@ -8361,7 +8471,7 @@ var EnhancedErrorHandler = class {
|
|
|
8361
8471
|
isTimeoutError
|
|
8362
8472
|
);
|
|
8363
8473
|
if (!this.shouldSuppressErrorLogging(redactedError, request)) {
|
|
8364
|
-
|
|
8474
|
+
debugLogger4.error("OpenAI API Error:", errorMessage);
|
|
8365
8475
|
}
|
|
8366
8476
|
if (isTimeoutError) {
|
|
8367
8477
|
throw new Error(
|
|
@@ -8401,7 +8511,7 @@ ${tips.join("\n")}`;
|
|
|
8401
8511
|
};
|
|
8402
8512
|
|
|
8403
8513
|
// packages/core/src/core/openaiContentGenerator/openaiContentGenerator.ts
|
|
8404
|
-
var
|
|
8514
|
+
var debugLogger5 = createDebugLogger("OPENAI");
|
|
8405
8515
|
var OpenAIContentGenerator = class {
|
|
8406
8516
|
static {
|
|
8407
8517
|
__name(this, "OpenAIContentGenerator");
|
|
@@ -8444,7 +8554,7 @@ var OpenAIContentGenerator = class {
|
|
|
8444
8554
|
totalTokens: result.totalTokens
|
|
8445
8555
|
};
|
|
8446
8556
|
} catch (error) {
|
|
8447
|
-
|
|
8557
|
+
debugLogger5.warn(
|
|
8448
8558
|
"Failed to calculate tokens with new tokenizer, falling back to simple method:",
|
|
8449
8559
|
error
|
|
8450
8560
|
);
|
|
@@ -8491,7 +8601,7 @@ var OpenAIContentGenerator = class {
|
|
|
8491
8601
|
};
|
|
8492
8602
|
} catch (error) {
|
|
8493
8603
|
const redactedError = redactProxyError(error);
|
|
8494
|
-
|
|
8604
|
+
debugLogger5.error("OpenAI API Embedding Error:", redactedError);
|
|
8495
8605
|
throw new Error(
|
|
8496
8606
|
`OpenAI API error: ${redactedError instanceof Error ? redactedError.message : String(redactedError)}`
|
|
8497
8607
|
);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
init_esbuild_shims
|
|
5
|
+
} from "./chunk-A4BMJM77.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
9
|
+
|
|
10
|
+
// packages/cli/src/utils/resolvePath.ts
|
|
11
|
+
init_esbuild_shims();
|
|
12
|
+
import * as os from "node:os";
|
|
13
|
+
import * as path from "node:path";
|
|
14
|
+
function resolvePath(p) {
|
|
15
|
+
if (!p) {
|
|
16
|
+
return "";
|
|
17
|
+
}
|
|
18
|
+
let expandedPath = p;
|
|
19
|
+
if (p.toLowerCase().startsWith("%userprofile%")) {
|
|
20
|
+
expandedPath = os.homedir() + p.substring("%userprofile%".length);
|
|
21
|
+
} else if (p === "~" || p.startsWith("~/")) {
|
|
22
|
+
expandedPath = os.homedir() + p.substring(1);
|
|
23
|
+
} else if (p.startsWith("~\\")) {
|
|
24
|
+
expandedPath = path.join(
|
|
25
|
+
os.homedir(),
|
|
26
|
+
...p.substring(2).split(/[/\\]+/).filter(Boolean)
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
return path.normalize(expandedPath);
|
|
30
|
+
}
|
|
31
|
+
__name(resolvePath, "resolvePath");
|
|
32
|
+
|
|
33
|
+
export {
|
|
34
|
+
resolvePath
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @license
|
|
38
|
+
* Copyright 2025 Google LLC
|
|
39
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
40
|
+
*/
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
init_esbuild_shims
|
|
5
|
+
} from "./chunk-A4BMJM77.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
9
|
+
|
|
10
|
+
// packages/cli/src/serve/workspace-service/types.ts
|
|
11
|
+
init_esbuild_shims();
|
|
12
|
+
var WorkspaceSettingsPartialPersistError = class extends Error {
|
|
13
|
+
static {
|
|
14
|
+
__name(this, "WorkspaceSettingsPartialPersistError");
|
|
15
|
+
}
|
|
16
|
+
committedWrites;
|
|
17
|
+
cause;
|
|
18
|
+
constructor(message, committedWrites, cause) {
|
|
19
|
+
super(message);
|
|
20
|
+
this.name = "WorkspaceSettingsPartialPersistError";
|
|
21
|
+
this.committedWrites = committedWrites;
|
|
22
|
+
this.cause = cause;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
var WorkspacePermissionRulesSessionRequiredError = class extends Error {
|
|
26
|
+
static {
|
|
27
|
+
__name(this, "WorkspacePermissionRulesSessionRequiredError");
|
|
28
|
+
}
|
|
29
|
+
constructor() {
|
|
30
|
+
super(
|
|
31
|
+
"setWorkspacePermissionRules requires a live ACP session to update active permission rules"
|
|
32
|
+
);
|
|
33
|
+
this.name = "WorkspacePermissionRulesSessionRequiredError";
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
WorkspaceSettingsPartialPersistError,
|
|
39
|
+
WorkspacePermissionRulesSessionRequiredError
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @license
|
|
43
|
+
* Copyright 2025 Qwen Team
|
|
44
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
45
|
+
*/
|