@qwen-code/qwen-code 0.19.3 → 0.19.4-nightly.20260702.46814e4f1
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/loop/SKILL.md +22 -3
- package/bundled/loop/SKILL.test.ts +20 -0
- package/bundled/loop/autonomous-loop.test.ts +59 -0
- package/bundled/loop/autonomous-loop.ts +102 -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 +906 -0
- package/bundled/loop/loop-tick-resolver.ts +416 -0
- package/bundled/qc-helper/SKILL.md +12 -5
- package/bundled/qc-helper/docs/configuration/auth.md +1 -1
- package/bundled/qc-helper/docs/configuration/settings.md +62 -32
- package/bundled/qc-helper/docs/features/approval-mode.md +3 -0
- package/bundled/qc-helper/docs/features/auto-mode.md +40 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +81 -18
- package/bundled/qc-helper/docs/features/channels/plugins.md +1 -1
- package/bundled/qc-helper/docs/features/code-review.md +17 -61
- package/bundled/qc-helper/docs/features/commands.md +42 -40
- package/bundled/qc-helper/docs/features/headless.md +19 -18
- package/bundled/qc-helper/docs/features/hooks.md +6 -1
- package/bundled/qc-helper/docs/features/mcp.md +3 -1
- package/bundled/qc-helper/docs/features/memory.md +1 -1
- package/bundled/qc-helper/docs/features/scheduled-tasks.md +10 -0
- package/bundled/qc-helper/docs/features/status-line.md +3 -3
- package/bundled/qc-helper/docs/ide-integration/ide-integration.md +4 -4
- package/bundled/qc-helper/docs/qwen-serve.md +53 -0
- package/bundled/qc-helper/docs/support/troubleshooting.md +11 -0
- package/bundled/review/DESIGN.md +21 -26
- package/bundled/review/SKILL.md +45 -129
- package/chunks/MaxSizedBox-GHGRQ2OS.js +69 -0
- package/chunks/{StandaloneSessionPicker-Z52JTYST.js → StandaloneSessionPicker-G7YTTM27.js} +49 -42
- package/chunks/{acpAgent-7RZUOWOM.js → acpAgent-SDOILBSU.js} +1325 -365
- package/chunks/{agent-4FG7WTHJ.js → agent-NTSXGV4L.js} +31 -25
- package/chunks/agent-headless-WYURMSAB.js +62 -0
- package/chunks/{anthropicContentGenerator-PFITVL7Y.js → anthropicContentGenerator-WL3LJOUB.js} +110 -31
- package/chunks/{artifact-tool-D2X7G3C3.js → artifact-tool-W76WC2JX.js} +3 -3
- package/chunks/{askUserQuestion-UGETICJQ.js → askUserQuestion-J3P6TH3V.js} +2 -2
- package/chunks/bridge-AMOL4W4P.js +73 -0
- package/chunks/{ca-IUFWESZL.js → ca-HCMB2I54.js} +10 -9
- package/chunks/channel-worker-supervisor-C3IB63V7.js +659 -0
- package/chunks/{chunk-STUWFKGD.js → chunk-26JIREA5.js} +466 -543
- package/chunks/{chunk-SLNKLLEO.js → chunk-2MRV62AU.js} +37 -8
- package/chunks/{chunk-ODLIHNOY.js → chunk-2U4HUMOL.js} +1 -1
- package/chunks/{chunk-CKQA6AWF.js → chunk-4D73HUOP.js} +1 -1
- package/chunks/{chunk-M2U5NM24.js → chunk-54YZOP7P.js} +309 -72
- package/chunks/{chunk-J7FA27RO.js → chunk-5LKL3PAU.js} +3 -3
- package/chunks/chunk-5P5XGNYH.js +93 -0
- package/chunks/{chunk-UFLGERMB.js → chunk-6JE32BRB.js} +178 -124
- package/chunks/{chunk-FKAVULLM.js → chunk-75AVTQJ2.js} +74 -10
- package/chunks/{chunk-I2LYBGNI.js → chunk-7IOMIYOE.js} +1 -1
- package/chunks/{chunk-4LUZAKMK.js → chunk-7KXAGQJ2.js} +1 -1
- package/chunks/{chunk-BXSHL2SF.js → chunk-7LUOQJ3D.js} +1 -1
- package/chunks/{chunk-YAINVQ3Q.js → chunk-A5OPLHFM.js} +18693 -17055
- package/chunks/chunk-AHNXYU4O.js +24 -0
- package/chunks/{chunk-UX4SGCGN.js → chunk-AVQDCKNF.js} +96 -22
- package/chunks/{chunk-HYCC3XM3.js → chunk-B236XPGF.js} +1 -1
- package/chunks/chunk-B6SZLQAZ.js +3523 -0
- package/chunks/{chunk-5DWXLGOM.js → chunk-BJBWRCSK.js} +1 -1
- package/chunks/chunk-BPFJQGY7.js +193 -0
- package/chunks/{chunk-SKQZZVAV.js → chunk-BZHLWC6T.js} +2 -2
- package/chunks/{chunk-U3KSMM7G.js → chunk-D5KISTLW.js} +339 -383
- package/chunks/{chunk-GT2FGICD.js → chunk-DE7YXUR7.js} +1 -1
- package/chunks/{chunk-BUUQ5HPX.js → chunk-DG573EOO.js} +1 -1
- package/chunks/{chunk-VVLOGDB6.js → chunk-DX3TKXNT.js} +2 -2
- package/chunks/chunk-E5A7LHNN.js +51 -0
- package/chunks/{chunk-3PJXIDKI.js → chunk-E6US47KI.js} +3 -27
- package/chunks/{chunk-QBZ22PQX.js → chunk-EWALXUAD.js} +3 -1
- package/chunks/{chunk-PDE7CSDS.js → chunk-FXKI7OW6.js} +2 -2
- package/chunks/{chunk-F3ZYSEY6.js → chunk-FY4TT4L4.js} +3 -3
- package/chunks/{chunk-QLDPRILK.js → chunk-G7OQ3RFJ.js} +3 -3
- package/chunks/{chunk-R2BXK7SX.js → chunk-GHOTR7HL.js} +6 -1
- package/chunks/{chunk-KMGMKW5Q.js → chunk-GLPV75ES.js} +9 -3
- package/chunks/{chunk-LD2XBG6Z.js → chunk-GO6LNQXT.js} +1 -39
- package/chunks/{chunk-CNLEDYE3.js → chunk-H6TNLOLM.js} +5 -5
- package/chunks/{chunk-JVHEVCAU.js → chunk-HLW4EGKR.js} +31 -6
- package/chunks/{chunk-I4H7PRWQ.js → chunk-HTWHAN44.js} +1 -1
- package/chunks/{chunk-QE6KJYLT.js → chunk-IPYE5BIS.js} +123 -25
- package/chunks/{chunk-EJYJYJZ2.js → chunk-IRJWHZWU.js} +3 -70
- package/chunks/{chunk-EDMZZFDU.js → chunk-J3YPTTNL.js} +930 -798
- package/chunks/{chunk-GGBIN5K7.js → chunk-JGAJMIJZ.js} +1 -1
- package/chunks/{chunk-N4EJFBN5.js → chunk-JVLP5US5.js} +427 -263
- package/chunks/{chunk-R5OP2ATH.js → chunk-JZG7VB6C.js} +11 -11
- package/chunks/{chunk-QI7GOGJR.js → chunk-KKQWC6WS.js} +1 -1
- package/chunks/{chunk-ADCIHOQZ.js → chunk-KX5QZRW2.js} +142 -30
- package/chunks/{chunk-SBBN4BWR.js → chunk-L7OJ3ZO3.js} +1 -1
- package/chunks/{chunk-NDOC6M5S.js → chunk-L7QPM2YD.js} +2 -2
- package/chunks/{chunk-BVSVIN45.js → chunk-LKWAVAB5.js} +3 -3
- package/chunks/{chunk-T4T2FNV4.js → chunk-LOW52WYZ.js} +2 -2
- package/chunks/{chunk-4QK3O43S.js → chunk-LU7BIVWC.js} +4 -4
- package/chunks/{chunk-ZP6UKOPB.js → chunk-LWGLBVWA.js} +1 -1
- package/chunks/{chunk-L7OKCI7T.js → chunk-M7BLWURA.js} +15 -1
- package/chunks/{chunk-PR32FRT6.js → chunk-MIM62IXS.js} +3 -3
- package/chunks/{chunk-RD6YJJJ6.js → chunk-MOUXUCXQ.js} +1 -1
- package/chunks/{chunk-VBZ452JT.js → chunk-MSNGFH6L.js} +494 -114
- package/chunks/{chunk-BX5YO7UW.js → chunk-MTNTVOJR.js} +542 -370
- package/chunks/chunk-MX2YXRER.js +44 -0
- package/chunks/chunk-NIOPRZNN.js +27 -0
- package/chunks/{chunk-SMYQZVZ3.js → chunk-NOGSPTLJ.js} +1 -1
- package/chunks/{chunk-DDMOU62Q.js → chunk-NPQWQYU6.js} +1 -1
- package/chunks/{chunk-MNF6S5PR.js → chunk-P5THQV6A.js} +4 -4
- package/chunks/{chunk-6V4NZFUS.js → chunk-PCYOT4PK.js} +5 -5
- package/chunks/{chunk-CF6BB3LT.js → chunk-PPFWEV7G.js} +10 -1
- package/chunks/{chunk-FXKVLFFY.js → chunk-PSFDB5FZ.js} +3 -3
- package/chunks/{chunk-XJYUPHRC.js → chunk-QOMAHFYI.js} +3 -3
- package/chunks/{chunk-J37FGIOA.js → chunk-QXPI7FEC.js} +38 -4
- package/chunks/{chunk-RRFZXMYP.js → chunk-QZDBHNMV.js} +691 -164
- package/chunks/{chunk-S7AKE7HL.js → chunk-R6RI2HIC.js} +63 -9
- package/chunks/{chunk-HZT4UCFB.js → chunk-RB7S52NJ.js} +4 -4
- package/chunks/{chunk-J33ZR6OJ.js → chunk-RK22ACPP.js} +16 -16
- package/chunks/chunk-RM3PGSGL.js +66 -0
- package/chunks/chunk-RNBYOUGV.js +42 -0
- package/chunks/chunk-S6RLAIUR.js +23 -0
- package/chunks/{chunk-3TV3HUWZ.js → chunk-SCYK2YLI.js} +81 -30
- package/chunks/{chunk-HPZTOP4I.js → chunk-SEKRT4SD.js} +133 -23
- package/chunks/chunk-SEZC2725.js +36 -0
- package/chunks/chunk-SIUQ3YYX.js +78 -0
- package/chunks/{chunk-O2VBQ3Y2.js → chunk-SJBIFVD2.js} +2 -2
- package/chunks/chunk-SYCJMSIJ.js +82 -0
- package/chunks/{chunk-JE5FVRPC.js → chunk-T22H4V4R.js} +48 -23
- package/chunks/{chunk-3227DZO4.js → chunk-T42ACHFI.js} +1 -1
- package/chunks/{chunk-UO5GVXQE.js → chunk-TENOUWY2.js} +3 -3
- package/chunks/{chunk-JOLIREYR.js → chunk-TOAUDIS7.js} +1 -1
- package/chunks/{chunk-QNKBEJO2.js → chunk-UA6XBZT7.js} +2776 -1289
- package/chunks/{chunk-O75BHFQW.js → chunk-UQTYK5SS.js} +2 -2
- package/chunks/{chunk-Y6YMRS3U.js → chunk-UY2TCIZS.js} +17 -3
- package/chunks/{chunk-FNJ7BDPH.js → chunk-UY7ZAYTY.js} +10 -7
- package/chunks/{chunk-UYT3MWEB.js → chunk-UYHWM24C.js} +30 -2
- package/chunks/{chunk-SMXULRAN.js → chunk-VXGPYF7U.js} +1 -1
- package/chunks/{chunk-BTLJ2MF5.js → chunk-W7CG5HPC.js} +3 -3
- package/chunks/{chunk-JJXWTVSK.js → chunk-XHZKDN7M.js} +34 -1
- package/chunks/{chunk-K5XU6E4T.js → chunk-XKSCTXPK.js} +2 -2
- package/chunks/chunk-Y4LITCRB.js +367 -0
- package/chunks/chunk-YHTNWGRR.js +239 -0
- package/chunks/{chunk-BKXBARJZ.js → chunk-YPCPZSZB.js} +1 -1
- package/chunks/{chunk-QWFNTRH4.js → chunk-YSM24SCE.js} +1 -1
- package/chunks/chunk-YTFBURQD.js +313 -0
- package/chunks/{chunk-NL4C3H6C.js → chunk-YXK4GPYO.js} +1 -1
- package/chunks/{chunk-RYLJU2DY.js → chunk-ZN5T4BHI.js} +1 -1
- package/chunks/{computer-use-JGB36FDW.js → computer-use-MTSVPLPY.js} +34 -28
- package/chunks/contextCommand-VGJ3BPTK.js +67 -0
- package/chunks/{cron-create-SKEY55RG.js → cron-create-6YTCOX6P.js} +4 -4
- package/chunks/{cron-delete-I3NAT32Z.js → cron-delete-E3NIFSUK.js} +4 -4
- package/chunks/{cron-list-6XRRL6TH.js → cron-list-Q64MNQNE.js} +4 -4
- package/chunks/daemon-EEB2RYOL.js +8453 -0
- package/chunks/daemon-status-provider-H5SNMK42.js +71 -0
- package/chunks/{de-EOW5PVHF.js → de-PLLFDERI.js} +10 -9
- package/chunks/{dist-NHEYYB2B.js → dist-ADMIQGHI.js} +2 -2
- package/chunks/{dist-J37VXPLD.js → dist-BCQ7INM7.js} +40 -15
- package/chunks/{dist-663NZ6MI.js → dist-KNZFCY5F.js} +116 -11
- package/chunks/{dist-LB6OGPVM.js → dist-LHUWC3K6.js} +26 -5
- package/chunks/{dist-PQPZ5Q4N.js → dist-WBBZ76JZ.js} +20 -9
- package/chunks/{earlyInputCapture-44RISVVJ.js → earlyInputCapture-U4ZIQSQU.js} +32 -26
- package/chunks/{edit-NN6GM5DT.js → edit-SYIQ2KBI.js} +41 -38
- package/chunks/{en-HPWEJBTR.js → en-M4EBUBNU.js} +32 -10
- package/chunks/{enter-worktree-PB3O2C7D.js → enter-worktree-HPPOO244.js} +31 -25
- package/chunks/{enterPlanMode-YQFNNSUA.js → enterPlanMode-56YYO52U.js} +41 -25
- package/chunks/{errors-LS7XU5DZ.js → errors-EO4SXCFP.js} +33 -27
- package/chunks/{exit-worktree-E2FTNSBK.js → exit-worktree-UDM7E6XH.js} +31 -25
- package/chunks/{exitPlanMode-GLYK2BUB.js → exitPlanMode-M6P3AWLJ.js} +149 -33
- package/chunks/{fast-path-WQ6M7LI7.js → fast-path-42P4QYWI.js} +33 -14
- package/chunks/{fast-path-settings-OAGU3X5H.js → fast-path-settings-UQLRFDQP.js} +2 -2
- package/chunks/{fr-BN5NKSAC.js → fr-MBMNQSQ6.js} +10 -9
- package/chunks/{gemini-2YFLVA2M.js → gemini-NRLXS5J7.js} +84 -70
- package/chunks/{geminiContentGenerator-XV6SV6CD.js → geminiContentGenerator-DLJPYYPA.js} +41 -5
- package/chunks/{glob-2H6CDDMK.js → glob-JPY3F74Y.js} +31 -25
- package/chunks/{grep-VXIUXM3C.js → grep-HW23YES5.js} +31 -25
- package/chunks/initializer-HWOZTC4A.js +67 -0
- package/chunks/{ja-7DEUB2TS.js → ja-HFV5QCHR.js} +10 -9
- package/chunks/{keychain-token-storage-YLMDLKXT.js → keychain-token-storage-GPAKRDKQ.js} +2 -2
- package/chunks/list-OZGAGRDG.js +71 -0
- package/chunks/loadedSettingsAdapter-RUTZVVIA.js +66 -0
- package/chunks/{loop-wakeup-CITGGQHA.js → loop-wakeup-G2EHBRGR.js} +5 -5
- package/chunks/{ls-R5WP4BGZ.js → ls-IDHUVSAG.js} +4 -4
- package/chunks/{lsp-GSICJMMW.js → lsp-FSRYXGFT.js} +2 -2
- package/chunks/{monitor-HKLRS2HQ.js → monitor-QVWEIXU3.js} +33 -26
- package/chunks/nonInteractiveCli-RV2WYPML.js +109 -0
- package/chunks/{notebook-edit-Y6SKSGTT.js → notebook-edit-B26W3FFH.js} +37 -34
- package/chunks/{openaiContentGenerator-J7G2FYJT.js → openaiContentGenerator-6TH7AZGQ.js} +15 -13
- package/chunks/pidfile-KW2QQJZI.js +73 -0
- package/chunks/{pt-TNZRNLQB.js → pt-2THT3YHA.js} +10 -9
- package/chunks/{qwenContentGenerator-5XIEM5GV.js → qwenContentGenerator-5IQAC7RN.js} +33 -27
- package/chunks/{qwenOAuth2-AG3PFFLZ.js → qwenOAuth2-LWLA6MQG.js} +5 -4
- package/chunks/{read-file-J7D552ZJ.js → read-file-CWFAHOI2.js} +11 -10
- package/chunks/{read-mcp-resource-DQQW7H7T.js → read-mcp-resource-PIJF24RO.js} +2 -2
- package/chunks/ripGrep-FTZGDKY4.js +60 -0
- package/chunks/{ru-NIAUBKCN.js → ru-Z67YJHBG.js} +10 -9
- package/chunks/{run-qwen-serve-SGEEVMXD.js → run-qwen-serve-FN2SW5ZI.js} +545 -97
- package/chunks/{scheduler-7CQI3S4Q.js → scheduler-BMS23O3I.js} +31 -25
- package/chunks/{send-message-EE4TWKVU.js → send-message-33PYFMCT.js} +20 -4
- package/chunks/serve-PXFYKL65.js +71 -0
- package/chunks/{server-4QMUWXPW.js → server-BRKALJ4F.js} +4132 -1175
- package/chunks/{session-NRO7UFOY.js → session-AQMISBP4.js} +205 -64
- package/chunks/{settings-SGWRDQSC.js → settings-JCPVUZMB.js} +35 -29
- package/chunks/{shell-62ANGIHL.js → shell-POHCRVN2.js} +31 -25
- package/chunks/{skill-VWAQAWW6.js → skill-QPEVHS6H.js} +13 -12
- package/chunks/spawnChannel-V3QT62TE.js +69 -0
- package/chunks/{src-KUV5J5Q2.js → src-IZSP7L6Y.js} +127 -32
- package/chunks/{startInteractiveUI-6EYJN3JV.js → startInteractiveUI-63KATISO.js} +16762 -16075
- package/chunks/{syntheticOutput-T5YHQ6S2.js → syntheticOutput-YOSWIHDJ.js} +3 -3
- package/chunks/{task-create-BLY7RHXX.js → task-create-NHS2NGB3.js} +9 -7
- package/chunks/{task-list-3QUYNVYR.js → task-list-5UIB564R.js} +7 -6
- package/chunks/{task-stop-U4RATK2V.js → task-stop-HGXZ2VZ3.js} +2 -2
- package/chunks/{task-update-U54O7KJX.js → task-update-IYYWUILG.js} +40 -7
- package/chunks/{team-create-LPOGCPM7.js → team-create-E5O2F3CA.js} +31 -25
- package/chunks/{team-delete-LKBYPASD.js → team-delete-FEKJCU4P.js} +7 -6
- package/chunks/team-plan-approval-2TU4YROB.js +202 -0
- package/chunks/theme-manager-37KOGPJL.js +64 -0
- package/chunks/{todoWrite-OYXKTVYN.js → todoWrite-TKMVZ2HT.js} +4 -4
- package/chunks/{tool-search-YPUFJ3ZQ.js → tool-search-4ZTGNSFI.js} +38 -11
- package/chunks/{trustedFolders-5B24TMEA.js → trustedFolders-RJ5WXJ6L.js} +32 -26
- package/chunks/{validateNonInterActiveAuth-BTDTYOVT.js → validateNonInterActiveAuth-ZWMHZAOK.js} +66 -55
- package/chunks/{web-fetch-EEB5LZYU.js → web-fetch-J4PIW36Q.js} +5 -4
- package/chunks/{workflow-LAWIW5LI.js → workflow-6PG2PC5M.js} +68 -39
- package/chunks/workspace-providers-status-4QIZN2W4.js +68 -0
- package/chunks/workspace-service-CYMCOEIO.js +78 -0
- package/chunks/{write-file-PCV226DJ.js → write-file-R354LGQF.js} +41 -40
- package/chunks/{zh-5EUYXASN.js → zh-SLZNSSZB.js} +32 -10
- package/chunks/{zh-TW-TR3XYGE5.js → zh-TW-P53C2SL5.js} +32 -10
- package/cli.js +6 -6
- package/locales/ca.js +15 -13
- package/locales/de.js +15 -13
- package/locales/en.js +52 -15
- package/locales/fr.js +15 -14
- package/locales/ja.js +15 -14
- package/locales/pt.js +15 -13
- package/locales/ru.js +15 -13
- package/locales/zh-TW.js +50 -14
- package/locales/zh.js +50 -14
- package/node_modules/@qwen-code/audio-capture/package.json +1 -1
- 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/win32-x64/@qwen-code+audio-capture.node +0 -0
- package/package.json +15 -6
- package/patches/chrome-devtools-mcp+1.4.0.patch +31 -0
- package/postinstall.js +50 -0
- package/web-shell/assets/{arc-DA7r8Ueo.js → arc-Bd3048nX.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-ZDUxPtZ2.js → architectureDiagram-3BPJPVTR-DyzbzABx.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-vrtOf1kJ.js → blockDiagram-GPEHLZMM-CTjxm9Sy.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-BHFjzIi4.js → c4Diagram-AAUBKEIU-DSOFWNU6.js} +1 -1
- package/web-shell/assets/channel-oVoup_Ci.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-mdeQVz59.js → chunk-2J33WTMH-D_PFdjo2.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-BkKMlwBX.js → chunk-4BX2VUAB-52eG6wOT.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-B7bnXNfu.js → chunk-55IACEB6-CGTZfKkC.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-DGz8Mm6i.js → chunk-727SXJPM-CZ-qfRUm.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-BQAydUNk.js → chunk-AQP2D5EJ-B2dSDcqM.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-GHr2LN_p.js → chunk-FMBD7UC4-Cfy3tyA0.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-7R91lnUx.js → chunk-ND2GUHAM-CApNUpUq.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-aTJD3lSQ.js → chunk-QZHKN3VN-CVBG8kgg.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-B8WsaT2G.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-B8WsaT2G.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BTf8t1RL.js → cose-bilkent-S5V4N54A-URd77-_-.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-_sgp3WuA.js → dagre-BM42HDAG-C07H4G9-.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-CROtRy1w.js → diagram-2AECGRRQ-CYbpXrSn.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BqGRzwSc.js → diagram-5GNKFQAL-SI8s6fjX.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CMrcEtA7.js → diagram-KO2AKTUF-mBkC4RTW.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BRydGNW5.js → diagram-LMA3HP47-CyBPDzWJ.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-D0ilgNjV.js → diagram-OG6HWLK6-DwK7kBCu.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-2lnQeJUM.js → erDiagram-TEJ5UH35-Ds1StEUd.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-C_ZMdQiC.js → flowDiagram-I6XJVG4X-BDC4-jHO.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-Dw9V_Ny0.js → ganttDiagram-6RSMTGT7-CV2aHQqf.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-HDXI-F1B.js → gitGraphDiagram-PVQCEYII-B8RcuV_L.js} +1 -1
- package/web-shell/assets/index-B5WZ0qP1.js +717 -0
- package/web-shell/assets/index-CYE1IMd1.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CuB8Ebua.js → infoDiagram-5YYISTIA-DUPoTf50.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-D_tyhVwh.js → ishikawaDiagram-YF4QCWOH-FDYOx9rf.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CgCwJQNU.js → journeyDiagram-JHISSGLW-C5_ohMRp.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-PZUtcbPx.js → kanban-definition-UN3LZRKU-Bn4UnOMG.js} +1 -1
- package/web-shell/assets/{linear-CZqRdJIU.js → linear-Bl0pKQtY.js} +1 -1
- package/web-shell/assets/{mermaid.core-CPW_4UEF.js → mermaid.core-sevQFoji.js} +72 -72
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-D_Y75ID7.js → mindmap-definition-RKZ34NQL-DSH4JZF9.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-Q4dTyLeF.js → pieDiagram-4H26LBE5-acWvdQTD.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-ckw329Ft.js → quadrantDiagram-W4KKPZXB-DlggX4Sm.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-DbVDm4It.js → requirementDiagram-4Y6WPE33--mMqwmV8.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-CHuZ_ecH.js → sankeyDiagram-5OEKKPKP-BtV9tZ77.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DU2YSpq-.js → sequenceDiagram-3UESZ5HK-iDQzPFlj.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CA9PEBUo.js → stateDiagram-AJRCARHV-CsCyQLZ3.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CPapECG9.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-Bhlo4WVc.js → timeline-definition-PNZ67QCA-Dl0rnKvr.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-6xtPLsyl.js → vennDiagram-CIIHVFJN-qF7nTZzA.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-3eozmXPf.js → wardley-L42UT6IY-fWoK9i7F.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BOn6hKss.js → wardleyDiagram-YWT4CUSO-pHGfkMnc.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-BsP4-I_y.js → xychartDiagram-2RQKCTM6-3Doc4Trz.js} +1 -1
- package/web-shell/index.html +18 -2
- package/chunks/MaxSizedBox-QNF3EIGU.js +0 -63
- package/chunks/agent-headless-RQ5BTX3G.js +0 -56
- package/chunks/bridge-JL2PMCIW.js +0 -66
- package/chunks/chunk-5GOVVXEV.js +0 -73
- package/chunks/chunk-BC3C4F3Q.js +0 -40
- package/chunks/chunk-BW4KCQFD.js +0 -1103
- package/chunks/chunk-RKIZXJMB.js +0 -13
- package/chunks/contextCommand-WYU6OQ2F.js +0 -61
- package/chunks/daemon-status-provider-HH2EC5FI.js +0 -65
- package/chunks/headlessSafetyWarnings-TBE35GJ4.js +0 -55
- package/chunks/initializer-2Y7SLOKV.js +0 -61
- package/chunks/list-ZAFHZ7OS.js +0 -65
- package/chunks/loadedSettingsAdapter-6KJXD6M3.js +0 -60
- package/chunks/nonInteractiveCli-5W4GIZQM.js +0 -96
- package/chunks/ripGrep-IEIFIWP4.js +0 -54
- package/chunks/serve-V6GVZR6U.js +0 -65
- package/chunks/spawnChannel-3VHW5EPY.js +0 -63
- package/chunks/theme-manager-LYLGAERF.js +0 -58
- package/chunks/workspace-providers-status-PIAFVYHA.js +0 -62
- package/chunks/workspace-service-YAIOD4HG.js +0 -71
- package/web-shell/assets/channel-iRo68q4Q.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-iHF24a8X.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-iHF24a8X.js +0 -1
- package/web-shell/assets/index-CHmzAWys.css +0 -5
- package/web-shell/assets/index-w6GTOHh1.js +0 -713
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-t1LRI0oY.js +0 -1
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./chunk-Y6Z2O3WR.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveBundleDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A5OPLHFM.js";
|
|
9
9
|
import {
|
|
10
10
|
Storage
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AVQDCKNF.js";
|
|
12
12
|
import {
|
|
13
13
|
init_esbuild_shims
|
|
14
14
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -158,15 +158,15 @@ init_esbuild_shims();
|
|
|
158
158
|
|
|
159
159
|
// import("./locales/**/*.js") in packages/cli/src/i18n/index.ts
|
|
160
160
|
var globImport_locales_js = __glob({
|
|
161
|
-
"./locales/ca.js": () => import("./ca-
|
|
162
|
-
"./locales/de.js": () => import("./de-
|
|
163
|
-
"./locales/en.js": () => import("./en-
|
|
164
|
-
"./locales/fr.js": () => import("./fr-
|
|
165
|
-
"./locales/ja.js": () => import("./ja-
|
|
166
|
-
"./locales/pt.js": () => import("./pt-
|
|
167
|
-
"./locales/ru.js": () => import("./ru-
|
|
168
|
-
"./locales/zh-TW.js": () => import("./zh-TW-
|
|
169
|
-
"./locales/zh.js": () => import("./zh-
|
|
161
|
+
"./locales/ca.js": () => import("./ca-HCMB2I54.js"),
|
|
162
|
+
"./locales/de.js": () => import("./de-PLLFDERI.js"),
|
|
163
|
+
"./locales/en.js": () => import("./en-M4EBUBNU.js"),
|
|
164
|
+
"./locales/fr.js": () => import("./fr-MBMNQSQ6.js"),
|
|
165
|
+
"./locales/ja.js": () => import("./ja-HFV5QCHR.js"),
|
|
166
|
+
"./locales/pt.js": () => import("./pt-2THT3YHA.js"),
|
|
167
|
+
"./locales/ru.js": () => import("./ru-Z67YJHBG.js"),
|
|
168
|
+
"./locales/zh-TW.js": () => import("./zh-TW-P53C2SL5.js"),
|
|
169
|
+
"./locales/zh.js": () => import("./zh-SLZNSSZB.js")
|
|
170
170
|
});
|
|
171
171
|
|
|
172
172
|
// packages/cli/src/i18n/index.ts
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
OpenAIContentConverter,
|
|
5
5
|
TaggedThinkingParser,
|
|
6
6
|
openaiRequestCaptureContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UA6XBZT7.js";
|
|
8
8
|
import {
|
|
9
9
|
RequestTokenizer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DX3TKXNT.js";
|
|
11
11
|
import {
|
|
12
12
|
DASHSCOPE_PROXY_BASE_URL,
|
|
13
13
|
DEFAULT_DASHSCOPE_BASE_URL,
|
|
@@ -16,26 +16,28 @@ import {
|
|
|
16
16
|
DEFAULT_TIMEOUT,
|
|
17
17
|
MAX_STREAM_IDLE_TIMEOUT_MS,
|
|
18
18
|
QWEN_STREAM_IDLE_TIMEOUT_MS_ENV,
|
|
19
|
-
buildRuntimeFetchOptions,
|
|
20
19
|
hasExplicitOutputLimit,
|
|
21
20
|
parsePositiveIntegerEnvValue,
|
|
22
|
-
redactProxyError,
|
|
23
21
|
tokenLimit
|
|
24
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YTFBURQD.js";
|
|
25
23
|
import {
|
|
26
24
|
runtimeDiagnostics,
|
|
27
25
|
safeJsonParse
|
|
28
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YPCPZSZB.js";
|
|
29
27
|
import {
|
|
30
28
|
GenerateContentResponse
|
|
31
29
|
} from "./chunk-55ZMG67I.js";
|
|
32
30
|
import {
|
|
33
31
|
createChildAbortController
|
|
34
32
|
} from "./chunk-64WXLC72.js";
|
|
33
|
+
import {
|
|
34
|
+
buildRuntimeFetchOptions,
|
|
35
|
+
redactProxyError
|
|
36
|
+
} from "./chunk-D5KISTLW.js";
|
|
35
37
|
import {
|
|
36
38
|
createDebugLogger,
|
|
37
39
|
isAbortError
|
|
38
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-AVQDCKNF.js";
|
|
39
41
|
import {
|
|
40
42
|
init_esbuild_shims
|
|
41
43
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -7188,35 +7190,66 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7188
7190
|
}
|
|
7189
7191
|
const requestWithTokenLimits = this.applyOutputTokenLimit(request);
|
|
7190
7192
|
const extraBody = this.contentGeneratorConfig.extra_body;
|
|
7193
|
+
const enableThinkingFromEffort = this.shouldEnableThinkingFromEffort(
|
|
7194
|
+
request.model
|
|
7195
|
+
);
|
|
7191
7196
|
if (this.isVisionModel(request.model)) {
|
|
7192
|
-
|
|
7197
|
+
const dashscopeExtras2 = {
|
|
7198
|
+
vl_high_resolution_images: true,
|
|
7199
|
+
preserve_thinking: true,
|
|
7200
|
+
...enableThinkingFromEffort ? { enable_thinking: true } : {}
|
|
7201
|
+
};
|
|
7202
|
+
const visionResult = {
|
|
7193
7203
|
...requestWithTokenLimits,
|
|
7194
7204
|
messages,
|
|
7195
7205
|
...tools ? { tools } : {},
|
|
7196
7206
|
...this.buildMetadata(userPromptId) || {},
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
preserve_thinking: true,
|
|
7207
|
+
...dashscopeExtras2
|
|
7208
|
+
};
|
|
7209
|
+
if (enableThinkingFromEffort && "reasoning" in visionResult) {
|
|
7210
|
+
delete visionResult["reasoning"];
|
|
7211
|
+
}
|
|
7212
|
+
return {
|
|
7213
|
+
...visionResult,
|
|
7205
7214
|
...extraBody ? extraBody : {}
|
|
7206
7215
|
};
|
|
7207
7216
|
}
|
|
7208
|
-
|
|
7217
|
+
const dashscopeExtras = {
|
|
7218
|
+
preserve_thinking: true,
|
|
7219
|
+
...enableThinkingFromEffort ? { enable_thinking: true } : {}
|
|
7220
|
+
};
|
|
7221
|
+
const result = {
|
|
7209
7222
|
...requestWithTokenLimits,
|
|
7210
7223
|
// Preserve all original parameters including sampling params and adjusted max_tokens
|
|
7211
7224
|
messages,
|
|
7212
7225
|
...tools ? { tools } : {},
|
|
7213
7226
|
...this.buildMetadata(userPromptId) || {},
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7227
|
+
...dashscopeExtras
|
|
7228
|
+
};
|
|
7229
|
+
if (enableThinkingFromEffort && "reasoning" in result) {
|
|
7230
|
+
delete result["reasoning"];
|
|
7231
|
+
}
|
|
7232
|
+
return {
|
|
7233
|
+
...result,
|
|
7217
7234
|
...extraBody ? extraBody : {}
|
|
7218
7235
|
};
|
|
7219
7236
|
}
|
|
7237
|
+
/**
|
|
7238
|
+
* Whether to send `enable_thinking: true` because the user selected a
|
|
7239
|
+
* reasoning effort. qwen's hybrid-thinking models expose thinking as the
|
|
7240
|
+
* boolean `enable_thinking` rather than a tiered `reasoning_effort`, so the
|
|
7241
|
+
* unified effort ladder collapses to on/off here. Gated to qwen-family wire
|
|
7242
|
+
* models (mirroring the pipeline's disable gate) so the qwen-specific field
|
|
7243
|
+
* never leaks to a non-qwen model sharing the DashScope endpoint.
|
|
7244
|
+
*/
|
|
7245
|
+
shouldEnableThinkingFromEffort(model) {
|
|
7246
|
+
const reasoning = this.contentGeneratorConfig.reasoning;
|
|
7247
|
+
if (!reasoning || reasoning.effort === void 0) {
|
|
7248
|
+
return false;
|
|
7249
|
+
}
|
|
7250
|
+
const wireModel = (model ?? this.contentGeneratorConfig.model ?? "").toLowerCase();
|
|
7251
|
+
return wireModel.startsWith("qwen") || wireModel === "coder-model";
|
|
7252
|
+
}
|
|
7220
7253
|
buildMetadata(userPromptId) {
|
|
7221
7254
|
const channel = this.cliConfig.getChannel?.();
|
|
7222
7255
|
return {
|
|
@@ -7230,6 +7263,12 @@ var DashScopeOpenAICompatibleProvider = class _DashScopeOpenAICompatibleProvider
|
|
|
7230
7263
|
getDefaultGenerationConfig() {
|
|
7231
7264
|
return {};
|
|
7232
7265
|
}
|
|
7266
|
+
getResponseParsingOptions(model) {
|
|
7267
|
+
if (this.isGlmModel(model ?? this.contentGeneratorConfig.model)) {
|
|
7268
|
+
return { taggedThinkingTags: true };
|
|
7269
|
+
}
|
|
7270
|
+
return {};
|
|
7271
|
+
}
|
|
7233
7272
|
/**
|
|
7234
7273
|
* Add cache control flag to specified message(s) for DashScope providers
|
|
7235
7274
|
*/
|
|
@@ -7538,6 +7577,76 @@ function translateReasoningEffort(request) {
|
|
|
7538
7577
|
}
|
|
7539
7578
|
__name(translateReasoningEffort, "translateReasoningEffort");
|
|
7540
7579
|
|
|
7580
|
+
// packages/core/src/core/openaiContentGenerator/provider/zai.ts
|
|
7581
|
+
init_esbuild_shims();
|
|
7582
|
+
var debugLogger2 = createDebugLogger("ZAI");
|
|
7583
|
+
function isZaiHostname(contentGeneratorConfig) {
|
|
7584
|
+
const baseUrl = contentGeneratorConfig.baseUrl;
|
|
7585
|
+
if (!baseUrl) {
|
|
7586
|
+
return false;
|
|
7587
|
+
}
|
|
7588
|
+
try {
|
|
7589
|
+
const hostname = new URL(baseUrl).hostname.toLowerCase();
|
|
7590
|
+
return hostname === "z.ai" || hostname.endsWith(".z.ai") || hostname === "bigmodel.cn" || hostname.endsWith(".bigmodel.cn");
|
|
7591
|
+
} catch {
|
|
7592
|
+
return false;
|
|
7593
|
+
}
|
|
7594
|
+
}
|
|
7595
|
+
__name(isZaiHostname, "isZaiHostname");
|
|
7596
|
+
function isZaiProvider(contentGeneratorConfig) {
|
|
7597
|
+
if (isZaiHostname(contentGeneratorConfig)) {
|
|
7598
|
+
return true;
|
|
7599
|
+
}
|
|
7600
|
+
const model = contentGeneratorConfig.model ?? "";
|
|
7601
|
+
return model.toLowerCase().startsWith("glm-");
|
|
7602
|
+
}
|
|
7603
|
+
__name(isZaiProvider, "isZaiProvider");
|
|
7604
|
+
var ZaiOpenAICompatibleProvider = class extends DefaultOpenAICompatibleProvider {
|
|
7605
|
+
static {
|
|
7606
|
+
__name(this, "ZaiOpenAICompatibleProvider");
|
|
7607
|
+
}
|
|
7608
|
+
static isZaiProvider = isZaiProvider;
|
|
7609
|
+
static isZaiHostname = isZaiHostname;
|
|
7610
|
+
// Latch so the skipped-flatten warning fires once per provider lifetime.
|
|
7611
|
+
nonZaiHostnameFlattenWarned = false;
|
|
7612
|
+
buildRequest(request, userPromptId) {
|
|
7613
|
+
const baseRequest = super.buildRequest(request, userPromptId);
|
|
7614
|
+
if (isZaiHostname(this.contentGeneratorConfig)) {
|
|
7615
|
+
return flattenReasoningEffort(baseRequest);
|
|
7616
|
+
}
|
|
7617
|
+
const reasoning = baseRequest["reasoning"];
|
|
7618
|
+
if (reasoning?.effort && !baseRequest["reasoning_effort"] && !this.nonZaiHostnameFlattenWarned) {
|
|
7619
|
+
debugLogger2.warn(
|
|
7620
|
+
`GLM model '${this.contentGeneratorConfig.model ?? "unknown"}' on a non-Z.ai hostname; leaving nested reasoning.effort='${String(
|
|
7621
|
+
reasoning.effort
|
|
7622
|
+
)}' unflattened (reasoning_effort reshape is hostname-gated).`
|
|
7623
|
+
);
|
|
7624
|
+
this.nonZaiHostnameFlattenWarned = true;
|
|
7625
|
+
}
|
|
7626
|
+
return baseRequest;
|
|
7627
|
+
}
|
|
7628
|
+
};
|
|
7629
|
+
function flattenReasoningEffort(request) {
|
|
7630
|
+
const r = request;
|
|
7631
|
+
const nested = r["reasoning"];
|
|
7632
|
+
const effort = nested?.effort;
|
|
7633
|
+
if (typeof effort !== "string" || !effort) {
|
|
7634
|
+
return request;
|
|
7635
|
+
}
|
|
7636
|
+
const next = { ...r };
|
|
7637
|
+
if (typeof next["reasoning_effort"] !== "string" || !next["reasoning_effort"]) {
|
|
7638
|
+
next["reasoning_effort"] = effort;
|
|
7639
|
+
}
|
|
7640
|
+
if (nested && Object.keys(nested).length === 1) {
|
|
7641
|
+
delete next["reasoning"];
|
|
7642
|
+
} else if (nested) {
|
|
7643
|
+
const { effort: _drop, ...rest } = nested;
|
|
7644
|
+
next["reasoning"] = rest;
|
|
7645
|
+
}
|
|
7646
|
+
return next;
|
|
7647
|
+
}
|
|
7648
|
+
__name(flattenReasoningEffort, "flattenReasoningEffort");
|
|
7649
|
+
|
|
7541
7650
|
// packages/core/src/core/openaiContentGenerator/provider/minimax.ts
|
|
7542
7651
|
init_esbuild_shims();
|
|
7543
7652
|
var MINIMAX_KNOWN_HOSTS = ["api.minimaxi.com", "api.minimax.io"];
|
|
@@ -7664,7 +7773,7 @@ init_esbuild_shims();
|
|
|
7664
7773
|
|
|
7665
7774
|
// packages/core/src/core/openaiContentGenerator/streamingToolCallParser.ts
|
|
7666
7775
|
init_esbuild_shims();
|
|
7667
|
-
var
|
|
7776
|
+
var debugLogger3 = createDebugLogger("STREAMING_TOOL_CALL_PARSER");
|
|
7668
7777
|
var StreamingToolCallParser = class {
|
|
7669
7778
|
static {
|
|
7670
7779
|
__name(this, "StreamingToolCallParser");
|
|
@@ -7748,7 +7857,7 @@ var StreamingToolCallParser = class {
|
|
|
7748
7857
|
if (isKnownId && currentBuffer.trim() && currentDepth === 0) {
|
|
7749
7858
|
try {
|
|
7750
7859
|
JSON.parse(currentBuffer);
|
|
7751
|
-
|
|
7860
|
+
debugLogger3.debug(
|
|
7752
7861
|
`Ignoring replay chunk for completed toolCall id=${id}`
|
|
7753
7862
|
);
|
|
7754
7863
|
return { complete: false };
|
|
@@ -7996,7 +8105,7 @@ var StreamingToolCallParser = class {
|
|
|
7996
8105
|
};
|
|
7997
8106
|
|
|
7998
8107
|
// packages/core/src/core/openaiContentGenerator/pipeline.ts
|
|
7999
|
-
var
|
|
8108
|
+
var debugLogger4 = createDebugLogger("OPENAI_PIPELINE");
|
|
8000
8109
|
var StreamContentError = class extends Error {
|
|
8001
8110
|
static {
|
|
8002
8111
|
__name(this, "StreamContentError");
|
|
@@ -8241,7 +8350,7 @@ var ContentGenerationPipeline = class {
|
|
|
8241
8350
|
throw redactProxyError(error);
|
|
8242
8351
|
}
|
|
8243
8352
|
if (error instanceof StreamInactivityTimeoutError) {
|
|
8244
|
-
|
|
8353
|
+
debugLogger4.warn("OpenAI stream inactivity timeout", {
|
|
8245
8354
|
idleMs: error.idleMs,
|
|
8246
8355
|
chunksReceived: error.chunksReceived,
|
|
8247
8356
|
streamLifetimeMs: error.streamLifetimeMs
|
|
@@ -8430,7 +8539,7 @@ var ContentGenerationPipeline = class {
|
|
|
8430
8539
|
const effectiveModel = request.model || this.contentGeneratorConfig.model;
|
|
8431
8540
|
const providerOverrides = this.config.provider.getRequestContextOverrides?.() ?? {};
|
|
8432
8541
|
const toolCallParser = isStreaming ? new StreamingToolCallParser() : void 0;
|
|
8433
|
-
const responseParsingOptions = this.config.provider.getResponseParsingOptions?.();
|
|
8542
|
+
const responseParsingOptions = this.config.provider.getResponseParsingOptions?.(effectiveModel);
|
|
8434
8543
|
const taggedThinkingParser = isStreaming && responseParsingOptions?.taggedThinkingTags ? new TaggedThinkingParser() : void 0;
|
|
8435
8544
|
return {
|
|
8436
8545
|
model: effectiveModel,
|
|
@@ -8454,7 +8563,7 @@ var ContentGenerationPipeline = class {
|
|
|
8454
8563
|
|
|
8455
8564
|
// packages/core/src/core/openaiContentGenerator/errorHandler.ts
|
|
8456
8565
|
init_esbuild_shims();
|
|
8457
|
-
var
|
|
8566
|
+
var debugLogger5 = createDebugLogger("OPENAI_ERROR");
|
|
8458
8567
|
var EnhancedErrorHandler = class {
|
|
8459
8568
|
constructor(shouldSuppressLogging = () => false) {
|
|
8460
8569
|
this.shouldSuppressLogging = shouldSuppressLogging;
|
|
@@ -8471,7 +8580,7 @@ var EnhancedErrorHandler = class {
|
|
|
8471
8580
|
isTimeoutError
|
|
8472
8581
|
);
|
|
8473
8582
|
if (!this.shouldSuppressErrorLogging(redactedError, request)) {
|
|
8474
|
-
|
|
8583
|
+
debugLogger5.error("OpenAI API Error:", errorMessage);
|
|
8475
8584
|
}
|
|
8476
8585
|
if (isTimeoutError) {
|
|
8477
8586
|
throw new Error(
|
|
@@ -8511,7 +8620,7 @@ ${tips.join("\n")}`;
|
|
|
8511
8620
|
};
|
|
8512
8621
|
|
|
8513
8622
|
// packages/core/src/core/openaiContentGenerator/openaiContentGenerator.ts
|
|
8514
|
-
var
|
|
8623
|
+
var debugLogger6 = createDebugLogger("OPENAI");
|
|
8515
8624
|
var OpenAIContentGenerator = class {
|
|
8516
8625
|
static {
|
|
8517
8626
|
__name(this, "OpenAIContentGenerator");
|
|
@@ -8554,7 +8663,7 @@ var OpenAIContentGenerator = class {
|
|
|
8554
8663
|
totalTokens: result.totalTokens
|
|
8555
8664
|
};
|
|
8556
8665
|
} catch (error) {
|
|
8557
|
-
|
|
8666
|
+
debugLogger6.warn(
|
|
8558
8667
|
"Failed to calculate tokens with new tokenizer, falling back to simple method:",
|
|
8559
8668
|
error
|
|
8560
8669
|
);
|
|
@@ -8601,7 +8710,7 @@ var OpenAIContentGenerator = class {
|
|
|
8601
8710
|
};
|
|
8602
8711
|
} catch (error) {
|
|
8603
8712
|
const redactedError = redactProxyError(error);
|
|
8604
|
-
|
|
8713
|
+
debugLogger6.error("OpenAI API Embedding Error:", redactedError);
|
|
8605
8714
|
throw new Error(
|
|
8606
8715
|
`OpenAI API error: ${redactedError instanceof Error ? redactedError.message : String(redactedError)}`
|
|
8607
8716
|
);
|
|
@@ -8636,6 +8745,9 @@ function determineProvider(contentGeneratorConfig, cliConfig) {
|
|
|
8636
8745
|
cliConfig
|
|
8637
8746
|
);
|
|
8638
8747
|
}
|
|
8748
|
+
if (ZaiOpenAICompatibleProvider.isZaiProvider(config)) {
|
|
8749
|
+
return new ZaiOpenAICompatibleProvider(contentGeneratorConfig, cliConfig);
|
|
8750
|
+
}
|
|
8639
8751
|
if (MiMoOpenAICompatibleProvider.isMiMoProvider(config)) {
|
|
8640
8752
|
return new MiMoOpenAICompatibleProvider(contentGeneratorConfig, cliConfig);
|
|
8641
8753
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
require_undici
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-54YZOP7P.js";
|
|
6
6
|
import {
|
|
7
7
|
writeStderrLine
|
|
8
8
|
} from "./chunk-Y6Z2O3WR.js";
|
|
9
9
|
import {
|
|
10
10
|
createDebugLogger
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AVQDCKNF.js";
|
|
12
12
|
import {
|
|
13
13
|
init_esbuild_shims
|
|
14
14
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
TEAMMATE_COLORS,
|
|
8
8
|
TEAMS_DIR,
|
|
9
9
|
TEAM_CONFIG_FILENAME
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E5A7LHNN.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteJSON
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-T42ACHFI.js";
|
|
14
14
|
import {
|
|
15
15
|
Storage,
|
|
16
16
|
isNodeError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AVQDCKNF.js";
|
|
18
18
|
import {
|
|
19
19
|
init_esbuild_shims
|
|
20
20
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
eastAsianWidth,
|
|
8
8
|
isFullWidth,
|
|
9
9
|
isWide
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XHZKDN7M.js";
|
|
11
11
|
import {
|
|
12
12
|
stripAnsi
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A5OPLHFM.js";
|
|
14
14
|
import {
|
|
15
15
|
init_esbuild_shims
|
|
16
16
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
theme
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VXGPYF7U.js";
|
|
6
6
|
import {
|
|
7
7
|
Box_default,
|
|
8
8
|
Text,
|
|
9
9
|
require_jsx_runtime
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LOW52WYZ.js";
|
|
11
11
|
import {
|
|
12
12
|
require_react
|
|
13
13
|
} from "./chunk-KYMBIKIW.js";
|
|
14
14
|
import {
|
|
15
15
|
stringWidth,
|
|
16
16
|
toCodePoints
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XHZKDN7M.js";
|
|
18
18
|
import {
|
|
19
19
|
createDebugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AVQDCKNF.js";
|
|
21
21
|
import {
|
|
22
22
|
init_esbuild_shims
|
|
23
23
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
SkillError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-A5OPLHFM.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -79,10 +79,13 @@ var SERVE_CONTROL_EXT_METHODS = {
|
|
|
79
79
|
sessionShellHistory: "qwen/control/session/shell_history",
|
|
80
80
|
sessionLanguage: "qwen/control/session/language",
|
|
81
81
|
sessionRewind: "qwen/control/session/rewind",
|
|
82
|
+
sessionContinue: "qwen/control/session/continue",
|
|
82
83
|
sessionTitle: "qwen/control/session/title",
|
|
83
84
|
workspaceMcpRestart: "qwen/control/workspace/mcp/restart",
|
|
84
85
|
workspaceMcpManage: "qwen/control/workspace/mcp/manage",
|
|
85
86
|
workspaceAgentGenerate: "qwen/control/workspace/agents/generate",
|
|
87
|
+
workspaceMemoryRememberAvailability: "qwen/control/workspace/memory/remember/availability",
|
|
88
|
+
workspaceMemoryRemember: "qwen/control/workspace/memory/remember",
|
|
86
89
|
// Runtime MCP server mutation ext-methods
|
|
87
90
|
sessionTaskCancel: "qwen/control/session/task/cancel",
|
|
88
91
|
sessionGoalClear: "qwen/control/session/goal/clear",
|
|
@@ -90,6 +93,17 @@ var SERVE_CONTROL_EXT_METHODS = {
|
|
|
90
93
|
workspaceMcpRuntimeRemove: "qwen/control/workspace/mcp/runtime-remove",
|
|
91
94
|
workspaceReload: "qwen/control/workspace/reload",
|
|
92
95
|
workspaceExtensionsRefresh: "qwen/control/workspace/extensions/refresh",
|
|
96
|
+
/**
|
|
97
|
+
* Reverse tool channel (issue #5626, Phase 2). Unlike every other entry
|
|
98
|
+
* here — which the PARENT serve process calls DOWN into the `qwen --acp`
|
|
99
|
+
* child — this one is called by the CHILD UP into the parent: a
|
|
100
|
+
* client-hosted (extension) MCP server's `sendSdkMcpMessage` round-trips a
|
|
101
|
+
* JSON-RPC `mcp_message` from the child's `McpClientManager` back to the
|
|
102
|
+
* parent's `ClientMcpRegistrar`, which pushes it down the daemon WS to the
|
|
103
|
+
* client and returns the correlated response. Params: `{ server, payload }`;
|
|
104
|
+
* result: `{ payload }`.
|
|
105
|
+
*/
|
|
106
|
+
clientMcpMessage: "qwen/control/client_mcp/message",
|
|
93
107
|
sessionCd: "qwen/control/session/cd"
|
|
94
108
|
};
|
|
95
109
|
var IDLE_HOOK_EVENTS = {
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
JsonFormatter,
|
|
8
8
|
parseAndFormatApiError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A5OPLHFM.js";
|
|
10
10
|
import {
|
|
11
11
|
FatalBudgetExceededError,
|
|
12
12
|
FatalCancellationError,
|
|
13
13
|
FatalTurnLimitedError,
|
|
14
14
|
createDebugLogger
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AVQDCKNF.js";
|
|
16
16
|
import {
|
|
17
17
|
runExitCleanup
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7IOMIYOE.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esbuild_shims
|
|
21
21
|
} from "./chunk-A4BMJM77.js";
|