@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
|
@@ -7,45 +7,51 @@ import {
|
|
|
7
7
|
hasRebuiltToolRegistry,
|
|
8
8
|
rebuildToolRegistryOnOverride,
|
|
9
9
|
resolveSubagentApprovalMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A5OPLHFM.js";
|
|
11
|
+
import "./chunk-5P5XGNYH.js";
|
|
11
12
|
import "./chunk-K5PGHDBN.js";
|
|
12
13
|
import "./chunk-SKAZWEV5.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-QOMAHFYI.js";
|
|
15
|
+
import "./chunk-G7OQ3RFJ.js";
|
|
16
|
+
import "./chunk-LKWAVAB5.js";
|
|
17
|
+
import "./chunk-L7OJ3ZO3.js";
|
|
18
|
+
import "./chunk-R6RI2HIC.js";
|
|
18
19
|
import "./chunk-2MPVVENX.js";
|
|
19
20
|
import "./chunk-ZTQ26VBE.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-SJBIFVD2.js";
|
|
21
22
|
import "./chunk-MLZQVCF3.js";
|
|
22
23
|
import "./chunk-LQ7TMOCE.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-E5A7LHNN.js";
|
|
25
|
+
import "./chunk-BPFJQGY7.js";
|
|
26
|
+
import "./chunk-GO6LNQXT.js";
|
|
27
|
+
import "./chunk-B236XPGF.js";
|
|
28
|
+
import "./chunk-YXK4GPYO.js";
|
|
29
|
+
import "./chunk-TOAUDIS7.js";
|
|
30
|
+
import "./chunk-NPQWQYU6.js";
|
|
31
|
+
import "./chunk-UA6XBZT7.js";
|
|
32
|
+
import "./chunk-E6US47KI.js";
|
|
30
33
|
import "./chunk-UWCTAVOD.js";
|
|
31
34
|
import "./chunk-OFEVLU4C.js";
|
|
32
35
|
import "./chunk-OMX7CUOE.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-MOUXUCXQ.js";
|
|
37
|
+
import "./chunk-BZHLWC6T.js";
|
|
38
|
+
import "./chunk-DG573EOO.js";
|
|
39
|
+
import "./chunk-MTNTVOJR.js";
|
|
40
|
+
import "./chunk-TENOUWY2.js";
|
|
41
|
+
import "./chunk-GLPV75ES.js";
|
|
39
42
|
import "./chunk-22IFUCVR.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-T42ACHFI.js";
|
|
44
|
+
import "./chunk-SIUQ3YYX.js";
|
|
45
|
+
import "./chunk-YTFBURQD.js";
|
|
46
|
+
import "./chunk-YPCPZSZB.js";
|
|
47
|
+
import "./chunk-IRJWHZWU.js";
|
|
48
|
+
import "./chunk-SYCJMSIJ.js";
|
|
44
49
|
import "./chunk-55ZMG67I.js";
|
|
45
50
|
import "./chunk-H6BD2ELD.js";
|
|
46
51
|
import "./chunk-5IFG2VC4.js";
|
|
47
52
|
import "./chunk-64WXLC72.js";
|
|
48
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-D5KISTLW.js";
|
|
54
|
+
import "./chunk-AVQDCKNF.js";
|
|
49
55
|
import "./chunk-ZERZSAZL.js";
|
|
50
56
|
import "./chunk-QN5NZ3UQ.js";
|
|
51
57
|
import "./chunk-BR4QREVK.js";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
AgentHeadless,
|
|
5
|
+
ContextState,
|
|
6
|
+
templateString
|
|
7
|
+
} from "./chunk-A5OPLHFM.js";
|
|
8
|
+
import "./chunk-5P5XGNYH.js";
|
|
9
|
+
import "./chunk-K5PGHDBN.js";
|
|
10
|
+
import "./chunk-SKAZWEV5.js";
|
|
11
|
+
import "./chunk-QOMAHFYI.js";
|
|
12
|
+
import "./chunk-G7OQ3RFJ.js";
|
|
13
|
+
import "./chunk-LKWAVAB5.js";
|
|
14
|
+
import "./chunk-L7OJ3ZO3.js";
|
|
15
|
+
import "./chunk-R6RI2HIC.js";
|
|
16
|
+
import "./chunk-2MPVVENX.js";
|
|
17
|
+
import "./chunk-ZTQ26VBE.js";
|
|
18
|
+
import "./chunk-SJBIFVD2.js";
|
|
19
|
+
import "./chunk-MLZQVCF3.js";
|
|
20
|
+
import "./chunk-LQ7TMOCE.js";
|
|
21
|
+
import "./chunk-E5A7LHNN.js";
|
|
22
|
+
import "./chunk-BPFJQGY7.js";
|
|
23
|
+
import "./chunk-GO6LNQXT.js";
|
|
24
|
+
import "./chunk-B236XPGF.js";
|
|
25
|
+
import "./chunk-YXK4GPYO.js";
|
|
26
|
+
import "./chunk-TOAUDIS7.js";
|
|
27
|
+
import "./chunk-NPQWQYU6.js";
|
|
28
|
+
import "./chunk-UA6XBZT7.js";
|
|
29
|
+
import "./chunk-E6US47KI.js";
|
|
30
|
+
import "./chunk-UWCTAVOD.js";
|
|
31
|
+
import "./chunk-OFEVLU4C.js";
|
|
32
|
+
import "./chunk-OMX7CUOE.js";
|
|
33
|
+
import "./chunk-MOUXUCXQ.js";
|
|
34
|
+
import "./chunk-BZHLWC6T.js";
|
|
35
|
+
import "./chunk-DG573EOO.js";
|
|
36
|
+
import "./chunk-MTNTVOJR.js";
|
|
37
|
+
import "./chunk-TENOUWY2.js";
|
|
38
|
+
import "./chunk-GLPV75ES.js";
|
|
39
|
+
import "./chunk-22IFUCVR.js";
|
|
40
|
+
import "./chunk-T42ACHFI.js";
|
|
41
|
+
import "./chunk-SIUQ3YYX.js";
|
|
42
|
+
import "./chunk-YTFBURQD.js";
|
|
43
|
+
import "./chunk-YPCPZSZB.js";
|
|
44
|
+
import "./chunk-IRJWHZWU.js";
|
|
45
|
+
import "./chunk-SYCJMSIJ.js";
|
|
46
|
+
import "./chunk-55ZMG67I.js";
|
|
47
|
+
import "./chunk-H6BD2ELD.js";
|
|
48
|
+
import "./chunk-5IFG2VC4.js";
|
|
49
|
+
import "./chunk-64WXLC72.js";
|
|
50
|
+
import "./chunk-D5KISTLW.js";
|
|
51
|
+
import "./chunk-AVQDCKNF.js";
|
|
52
|
+
import "./chunk-ZERZSAZL.js";
|
|
53
|
+
import "./chunk-QN5NZ3UQ.js";
|
|
54
|
+
import "./chunk-BR4QREVK.js";
|
|
55
|
+
import "./chunk-Z2Z3GUXZ.js";
|
|
56
|
+
import "./chunk-A4BMJM77.js";
|
|
57
|
+
import "./chunk-J2S4EL5Y.js";
|
|
58
|
+
export {
|
|
59
|
+
AgentHeadless,
|
|
60
|
+
ContextState,
|
|
61
|
+
templateString
|
|
62
|
+
};
|
package/chunks/{anthropicContentGenerator-PFITVL7Y.js → anthropicContentGenerator-WL3LJOUB.js}
RENAMED
|
@@ -3,24 +3,26 @@
|
|
|
3
3
|
import {
|
|
4
4
|
require_abort_controller,
|
|
5
5
|
require_lib
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZN5T4BHI.js";
|
|
7
|
+
import {
|
|
8
|
+
clampReasoningEffort
|
|
9
|
+
} from "./chunk-SIUQ3YYX.js";
|
|
7
10
|
import {
|
|
8
11
|
RequestTokenizer
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DX3TKXNT.js";
|
|
10
13
|
import {
|
|
11
14
|
DEFAULT_TIMEOUT,
|
|
12
|
-
buildRuntimeFetchOptions,
|
|
13
15
|
hasExplicitOutputLimit,
|
|
14
16
|
parsePositiveIntegerEnvValue,
|
|
15
|
-
redactProxyError,
|
|
16
17
|
tokenLimit
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YTFBURQD.js";
|
|
18
19
|
import {
|
|
19
20
|
convertSchema,
|
|
20
21
|
runtimeDiagnostics,
|
|
21
22
|
safeJsonParse
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-YPCPZSZB.js";
|
|
24
|
+
import "./chunk-IRJWHZWU.js";
|
|
25
|
+
import "./chunk-SYCJMSIJ.js";
|
|
24
26
|
import {
|
|
25
27
|
FinishReason,
|
|
26
28
|
GenerateContentResponse
|
|
@@ -30,9 +32,13 @@ import "./chunk-5IFG2VC4.js";
|
|
|
30
32
|
import {
|
|
31
33
|
createChildAbortController
|
|
32
34
|
} from "./chunk-64WXLC72.js";
|
|
35
|
+
import {
|
|
36
|
+
buildRuntimeFetchOptions,
|
|
37
|
+
redactProxyError
|
|
38
|
+
} from "./chunk-D5KISTLW.js";
|
|
33
39
|
import {
|
|
34
40
|
createDebugLogger
|
|
35
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-AVQDCKNF.js";
|
|
36
42
|
import {
|
|
37
43
|
Blob,
|
|
38
44
|
File,
|
|
@@ -4759,6 +4765,48 @@ function isDeepSeekAnthropicProvider(contentGeneratorConfig) {
|
|
|
4759
4765
|
return model.includes("deepseek");
|
|
4760
4766
|
}
|
|
4761
4767
|
__name(isDeepSeekAnthropicProvider, "isDeepSeekAnthropicProvider");
|
|
4768
|
+
var CLAUDE_MODEL_FAMILIES = [
|
|
4769
|
+
"opus",
|
|
4770
|
+
"sonnet",
|
|
4771
|
+
"haiku",
|
|
4772
|
+
"fable",
|
|
4773
|
+
"mythos"
|
|
4774
|
+
];
|
|
4775
|
+
function parseClaudeModelVersion(model) {
|
|
4776
|
+
const match = model.toLowerCase().match(
|
|
4777
|
+
new RegExp(
|
|
4778
|
+
`claude-(${CLAUDE_MODEL_FAMILIES.join(
|
|
4779
|
+
"|"
|
|
4780
|
+
)})-(\\d+)(?:-(\\d{1,2})(?!\\d))?`
|
|
4781
|
+
)
|
|
4782
|
+
);
|
|
4783
|
+
if (!match) {
|
|
4784
|
+
return null;
|
|
4785
|
+
}
|
|
4786
|
+
return {
|
|
4787
|
+
family: match[1],
|
|
4788
|
+
major: Number.parseInt(match[2], 10),
|
|
4789
|
+
minor: match[3] ? Number.parseInt(match[3], 10) : 0
|
|
4790
|
+
};
|
|
4791
|
+
}
|
|
4792
|
+
__name(parseClaudeModelVersion, "parseClaudeModelVersion");
|
|
4793
|
+
function anthropicSupportedEffortTiers(model) {
|
|
4794
|
+
const tiers = ["low", "medium", "high"];
|
|
4795
|
+
const parsed = parseClaudeModelVersion(model);
|
|
4796
|
+
if (!parsed) {
|
|
4797
|
+
return tiers;
|
|
4798
|
+
}
|
|
4799
|
+
const { family, major, minor } = parsed;
|
|
4800
|
+
const atLeast = /* @__PURE__ */ __name((maj, min) => major > maj || major === maj && minor >= min, "atLeast");
|
|
4801
|
+
if (major >= 5 || family === "opus" && atLeast(4, 7)) {
|
|
4802
|
+
tiers.push("xhigh");
|
|
4803
|
+
}
|
|
4804
|
+
if (major >= 5 || (family === "opus" || family === "sonnet") && atLeast(4, 6)) {
|
|
4805
|
+
tiers.push("max");
|
|
4806
|
+
}
|
|
4807
|
+
return tiers;
|
|
4808
|
+
}
|
|
4809
|
+
__name(anthropicSupportedEffortTiers, "anthropicSupportedEffortTiers");
|
|
4762
4810
|
function resolveEffectiveBaseUrl(contentGeneratorConfig) {
|
|
4763
4811
|
const fromConfig = contentGeneratorConfig.baseUrl?.trim();
|
|
4764
4812
|
if (fromConfig) return fromConfig;
|
|
@@ -4811,6 +4859,7 @@ var AnthropicContentGenerator = class {
|
|
|
4811
4859
|
// Latch so the 'max' clamp warning fires once per generator lifetime
|
|
4812
4860
|
// instead of on every request that needs the downgrade.
|
|
4813
4861
|
effortClampWarned = false;
|
|
4862
|
+
budgetDropWarned = false;
|
|
4814
4863
|
async generateContent(request) {
|
|
4815
4864
|
let response;
|
|
4816
4865
|
const parentSignal = request.config?.abortSignal;
|
|
@@ -5110,40 +5159,64 @@ var AnthropicContentGenerator = class {
|
|
|
5110
5159
|
if (effort === void 0) {
|
|
5111
5160
|
return void 0;
|
|
5112
5161
|
}
|
|
5113
|
-
if (
|
|
5114
|
-
|
|
5162
|
+
if (isDeepSeekAnthropicHostname(this.contentGeneratorConfig)) {
|
|
5163
|
+
const mapped = effort === "xhigh" || effort === "max" ? "max" : "high";
|
|
5164
|
+
if (mapped !== effort && !this.effortClampWarned) {
|
|
5115
5165
|
debugLogger.warn(
|
|
5116
|
-
|
|
5166
|
+
`reasoning.effort='${effort}' is not accepted by the DeepSeek anthropic-compatible endpoint; using '${mapped}'.`
|
|
5117
5167
|
);
|
|
5118
5168
|
this.effortClampWarned = true;
|
|
5119
5169
|
}
|
|
5120
|
-
return
|
|
5170
|
+
return mapped;
|
|
5171
|
+
}
|
|
5172
|
+
const supported = anthropicSupportedEffortTiers(
|
|
5173
|
+
this.contentGeneratorConfig.model ?? ""
|
|
5174
|
+
);
|
|
5175
|
+
const clamped = clampReasoningEffort(effort, supported);
|
|
5176
|
+
if (clamped !== effort && !this.effortClampWarned) {
|
|
5177
|
+
debugLogger.warn(
|
|
5178
|
+
`reasoning.effort='${effort}' is not supported by '${this.contentGeneratorConfig.model ?? "unknown"}'; using '${clamped}'.`
|
|
5179
|
+
);
|
|
5180
|
+
this.effortClampWarned = true;
|
|
5121
5181
|
}
|
|
5122
|
-
return
|
|
5182
|
+
return clamped;
|
|
5123
5183
|
}
|
|
5124
5184
|
/**
|
|
5125
5185
|
* Check if the current model supports adaptive thinking (type: 'adaptive').
|
|
5126
5186
|
* Claude 4.6+ models require adaptive thinking; older models use the
|
|
5127
|
-
* budget-based config.
|
|
5128
|
-
*
|
|
5129
|
-
*
|
|
5130
|
-
*
|
|
5131
|
-
* accept.
|
|
5132
|
-
*
|
|
5133
|
-
* The regex is intentionally unanchored so reseller-prefixed model names
|
|
5134
|
-
* also match (`bedrock/claude-opus-4-7`, `vertex_ai/claude-sonnet-4-6@…`,
|
|
5135
|
-
* `idealab:claude-opus-4-6`, etc.) — those route to the same Anthropic
|
|
5136
|
-
* models on the wire and need the same thinking shape. Do not tighten to
|
|
5137
|
-
* `^claude-` without also covering those naming conventions.
|
|
5187
|
+
* budget-based config. Shares `parseClaudeModelVersion` with
|
|
5188
|
+
* `anthropicSupportedEffortTiers` so the family list and the date-suffix guard
|
|
5189
|
+
* stay in lockstep — a model parsed for effort gating is parsed identically
|
|
5190
|
+
* here for the thinking shape.
|
|
5138
5191
|
*/
|
|
5139
5192
|
modelSupportsAdaptiveThinking() {
|
|
5140
|
-
const
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
const minor =
|
|
5193
|
+
const parsed = parseClaudeModelVersion(
|
|
5194
|
+
this.contentGeneratorConfig.model || ""
|
|
5195
|
+
);
|
|
5196
|
+
if (!parsed) return false;
|
|
5197
|
+
const { major, minor } = parsed;
|
|
5145
5198
|
return major > 4 || major === 4 && minor >= 6;
|
|
5146
5199
|
}
|
|
5200
|
+
/**
|
|
5201
|
+
* Whether the model rejects the manual `thinking: { type: 'enabled',
|
|
5202
|
+
* budget_tokens: N }` shape with a 400. Opus 4.7+ and every 5.x family
|
|
5203
|
+
* (Fable 5, Mythos 5, Sonnet 5, …) dropped manual extended thinking in favor
|
|
5204
|
+
* of adaptive thinking, so a budget-tokens-shaped request errors on those
|
|
5205
|
+
* models — they must use `{ type: 'adaptive' }` with `output_config.effort`
|
|
5206
|
+
* instead (https://platform.claude.com/docs/en/build-with-claude/effort).
|
|
5207
|
+
* Opus 4.5/4.6 and Sonnet 4.6 still accept `budget_tokens` (deprecated on
|
|
5208
|
+
* 4.6), and unknown/unversioned ids keep the manual escape hatch, so both
|
|
5209
|
+
* return false. Shares `parseClaudeModelVersion` with the effort/adaptive
|
|
5210
|
+
* gates so the version rules can't drift.
|
|
5211
|
+
*/
|
|
5212
|
+
modelRejectsManualThinking() {
|
|
5213
|
+
const parsed = parseClaudeModelVersion(
|
|
5214
|
+
this.contentGeneratorConfig.model || ""
|
|
5215
|
+
);
|
|
5216
|
+
if (!parsed) return false;
|
|
5217
|
+
const { major, minor } = parsed;
|
|
5218
|
+
return major > 4 || major === 4 && minor >= 7;
|
|
5219
|
+
}
|
|
5147
5220
|
buildThinkingConfig(request, effectiveEffort) {
|
|
5148
5221
|
if (request.config?.thinkingConfig?.includeThoughts === false) {
|
|
5149
5222
|
return void 0;
|
|
@@ -5152,16 +5225,22 @@ var AnthropicContentGenerator = class {
|
|
|
5152
5225
|
if (reasoning === false) {
|
|
5153
5226
|
return void 0;
|
|
5154
5227
|
}
|
|
5155
|
-
if (reasoning?.budget_tokens !== void 0) {
|
|
5228
|
+
if (reasoning?.budget_tokens !== void 0 && !this.modelRejectsManualThinking()) {
|
|
5156
5229
|
return {
|
|
5157
5230
|
type: "enabled",
|
|
5158
5231
|
budget_tokens: reasoning.budget_tokens
|
|
5159
5232
|
};
|
|
5160
5233
|
}
|
|
5234
|
+
if (reasoning?.budget_tokens !== void 0 && this.modelRejectsManualThinking() && !this.budgetDropWarned) {
|
|
5235
|
+
debugLogger.warn(
|
|
5236
|
+
`reasoning.budget_tokens=${reasoning.budget_tokens} is ignored on '${this.contentGeneratorConfig.model ?? "unknown"}' (Opus 4.7+/5.x use adaptive thinking); output_config.effort governs thinking depth instead.`
|
|
5237
|
+
);
|
|
5238
|
+
this.budgetDropWarned = true;
|
|
5239
|
+
}
|
|
5161
5240
|
if (this.modelSupportsAdaptiveThinking()) {
|
|
5162
5241
|
return { type: "adaptive" };
|
|
5163
5242
|
}
|
|
5164
|
-
const budgetTokens = effectiveEffort === "low" ? 16e3 : effectiveEffort === "max" ? 128e3 : effectiveEffort === "high" ? 64e3 : 32e3;
|
|
5243
|
+
const budgetTokens = effectiveEffort === "low" ? 16e3 : effectiveEffort === "max" ? 128e3 : effectiveEffort === "xhigh" ? 96e3 : effectiveEffort === "high" ? 64e3 : 32e3;
|
|
5165
5244
|
return {
|
|
5166
5245
|
type: "enabled",
|
|
5167
5246
|
budget_tokens: budgetTokens
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
BaseToolInvocation,
|
|
6
6
|
ToolDisplayNames,
|
|
7
7
|
ToolNames
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MTNTVOJR.js";
|
|
9
9
|
import {
|
|
10
10
|
openBrowserSecurely
|
|
11
11
|
} from "./chunk-22IFUCVR.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
makeRelative,
|
|
19
19
|
shortenPath,
|
|
20
20
|
unescapePath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AVQDCKNF.js";
|
|
22
22
|
import "./chunk-Z2Z3GUXZ.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esbuild_shims
|
|
@@ -604,7 +604,7 @@ var ArtifactToolInvocation = class extends BaseToolInvocation {
|
|
|
604
604
|
const llmContent = `Published artifact "${title}" to ${url}. Share or open this URL to view the interactive page. Re-run Artifact with the same file path to update it.`;
|
|
605
605
|
return {
|
|
606
606
|
llmContent,
|
|
607
|
-
returnDisplay:
|
|
607
|
+
returnDisplay: `Published artifact **${title}**
|
|
608
608
|
|
|
609
609
|
${url}`,
|
|
610
610
|
resultFilePaths: filePath ? [filePath] : void 0
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
BaseToolInvocation,
|
|
10
10
|
ToolDisplayNames,
|
|
11
11
|
ToolNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MTNTVOJR.js";
|
|
13
13
|
import {
|
|
14
14
|
createDebugLogger
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AVQDCKNF.js";
|
|
16
16
|
import "./chunk-Z2Z3GUXZ.js";
|
|
17
17
|
import {
|
|
18
18
|
init_esbuild_shims
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
createAcpSessionBridge,
|
|
5
|
+
createHttpAcpBridge,
|
|
6
|
+
extractErrorCode,
|
|
7
|
+
extractErrorMessage
|
|
8
|
+
} from "./chunk-MSNGFH6L.js";
|
|
9
|
+
import "./chunk-EWALXUAD.js";
|
|
10
|
+
import "./chunk-ALX6BUYW.js";
|
|
11
|
+
import "./chunk-PSFDB5FZ.js";
|
|
12
|
+
import "./chunk-P7M4GA57.js";
|
|
13
|
+
import "./chunk-T22H4V4R.js";
|
|
14
|
+
import "./chunk-SEZC2725.js";
|
|
15
|
+
import "./chunk-M7BLWURA.js";
|
|
16
|
+
import "./chunk-UFC57OYT.js";
|
|
17
|
+
import "./chunk-A5OPLHFM.js";
|
|
18
|
+
import "./chunk-5P5XGNYH.js";
|
|
19
|
+
import "./chunk-K5PGHDBN.js";
|
|
20
|
+
import "./chunk-SKAZWEV5.js";
|
|
21
|
+
import "./chunk-QOMAHFYI.js";
|
|
22
|
+
import "./chunk-G7OQ3RFJ.js";
|
|
23
|
+
import "./chunk-LKWAVAB5.js";
|
|
24
|
+
import "./chunk-L7OJ3ZO3.js";
|
|
25
|
+
import "./chunk-R6RI2HIC.js";
|
|
26
|
+
import "./chunk-2MPVVENX.js";
|
|
27
|
+
import "./chunk-ZTQ26VBE.js";
|
|
28
|
+
import "./chunk-SJBIFVD2.js";
|
|
29
|
+
import "./chunk-MLZQVCF3.js";
|
|
30
|
+
import "./chunk-LQ7TMOCE.js";
|
|
31
|
+
import "./chunk-E5A7LHNN.js";
|
|
32
|
+
import "./chunk-BPFJQGY7.js";
|
|
33
|
+
import "./chunk-GO6LNQXT.js";
|
|
34
|
+
import "./chunk-B236XPGF.js";
|
|
35
|
+
import "./chunk-YXK4GPYO.js";
|
|
36
|
+
import "./chunk-TOAUDIS7.js";
|
|
37
|
+
import "./chunk-NPQWQYU6.js";
|
|
38
|
+
import "./chunk-UA6XBZT7.js";
|
|
39
|
+
import "./chunk-E6US47KI.js";
|
|
40
|
+
import "./chunk-UWCTAVOD.js";
|
|
41
|
+
import "./chunk-OFEVLU4C.js";
|
|
42
|
+
import "./chunk-OMX7CUOE.js";
|
|
43
|
+
import "./chunk-MOUXUCXQ.js";
|
|
44
|
+
import "./chunk-BZHLWC6T.js";
|
|
45
|
+
import "./chunk-DG573EOO.js";
|
|
46
|
+
import "./chunk-MTNTVOJR.js";
|
|
47
|
+
import "./chunk-TENOUWY2.js";
|
|
48
|
+
import "./chunk-GLPV75ES.js";
|
|
49
|
+
import "./chunk-22IFUCVR.js";
|
|
50
|
+
import "./chunk-T42ACHFI.js";
|
|
51
|
+
import "./chunk-SIUQ3YYX.js";
|
|
52
|
+
import "./chunk-YTFBURQD.js";
|
|
53
|
+
import "./chunk-YPCPZSZB.js";
|
|
54
|
+
import "./chunk-IRJWHZWU.js";
|
|
55
|
+
import "./chunk-SYCJMSIJ.js";
|
|
56
|
+
import "./chunk-55ZMG67I.js";
|
|
57
|
+
import "./chunk-H6BD2ELD.js";
|
|
58
|
+
import "./chunk-5IFG2VC4.js";
|
|
59
|
+
import "./chunk-64WXLC72.js";
|
|
60
|
+
import "./chunk-D5KISTLW.js";
|
|
61
|
+
import "./chunk-AVQDCKNF.js";
|
|
62
|
+
import "./chunk-ZERZSAZL.js";
|
|
63
|
+
import "./chunk-QN5NZ3UQ.js";
|
|
64
|
+
import "./chunk-BR4QREVK.js";
|
|
65
|
+
import "./chunk-Z2Z3GUXZ.js";
|
|
66
|
+
import "./chunk-A4BMJM77.js";
|
|
67
|
+
import "./chunk-J2S4EL5Y.js";
|
|
68
|
+
export {
|
|
69
|
+
createAcpSessionBridge,
|
|
70
|
+
createHttpAcpBridge,
|
|
71
|
+
extractErrorCode,
|
|
72
|
+
extractErrorMessage
|
|
73
|
+
};
|
|
@@ -217,18 +217,18 @@ var ca_default = {
|
|
|
217
217
|
"Open in editor": "Obrir a l'editor",
|
|
218
218
|
"Edit tools": "Editar eines",
|
|
219
219
|
"Edit color": "Editar color",
|
|
220
|
-
"\
|
|
220
|
+
"\u2717 Error:": "\u2717 Error:",
|
|
221
221
|
'Are you sure you want to delete agent "{{name}}"?': `Esteu segur que voleu eliminar l'agent "{{name}}"?`,
|
|
222
222
|
// ============================================================================
|
|
223
223
|
// Agents - Assistent de creació
|
|
224
224
|
// ============================================================================
|
|
225
225
|
"Project Level (.qwen/agents/)": "Nivell de projecte (.qwen/agents/)",
|
|
226
226
|
"User Level (~/.qwen/agents/)": "Nivell d'usuari (~/.qwen/agents/)",
|
|
227
|
-
"\
|
|
227
|
+
"\u2713 Subagent Created Successfully!": "\u2713 Subagent creat correctament!",
|
|
228
228
|
'Subagent "{{name}}" has been saved to {{level}} level.': `El subagent "{{name}}" s'ha desat al nivell {{level}}.`,
|
|
229
229
|
"Name: ": "Nom: ",
|
|
230
230
|
"Location: ": "Ubicaci\xF3: ",
|
|
231
|
-
"\
|
|
231
|
+
"\u2717 Error saving subagent:": "\u2717 Error en desar el subagent:",
|
|
232
232
|
"Warnings:": "Advert\xE8ncies:",
|
|
233
233
|
'Name "{{name}}" already exists at {{level}} level - will overwrite existing subagent': 'El nom "{{name}}" ja existeix al nivell {{level}} - sobreescriur\xE0 el subagent existent',
|
|
234
234
|
'Name "{{name}}" exists at user level - project level will take precedence': `El nom "{{name}}" existeix al nivell d'usuari - el nivell de projecte tindr\xE0 prioritat`,
|
|
@@ -890,8 +890,8 @@ var ca_default = {
|
|
|
890
890
|
"Choose how to proceed with your session:": "Trieu com voleu continuar la vostra sessi\xF3:",
|
|
891
891
|
"Start new chat session": "Iniciar una nova sessi\xF3 de xat",
|
|
892
892
|
"Continue previous conversation": "Continuar la conversa anterior",
|
|
893
|
-
"
|
|
894
|
-
"
|
|
893
|
+
"Welcome back! (Last updated: {{timeAgo}})": "Benvingut de nou! (Darrera actualitzaci\xF3: {{timeAgo}})",
|
|
894
|
+
"Overall Goal:": "Objectiu general:",
|
|
895
895
|
"Connect a Provider": "Connectar un prove\xEFdor",
|
|
896
896
|
"You must connect a provider to proceed. Press Ctrl+C again to exit.": "Cal connectar un prove\xEFdor per continuar. Premeu Ctrl+C de nou per sortir.",
|
|
897
897
|
"Terms of Services and Privacy Notice": "Termes de servei i av\xEDs de privacitat",
|
|
@@ -1016,7 +1016,7 @@ var ca_default = {
|
|
|
1016
1016
|
// Estat MCP
|
|
1017
1017
|
// ============================================================================
|
|
1018
1018
|
"No MCP servers configured.": "No hi ha MCP servers configurats.",
|
|
1019
|
-
"\
|
|
1019
|
+
"\u25CC MCP servers are starting up ({{count}} initializing)...": "\u25CC MCP servers s'estan iniciant ({{count}} inicialitzant)...",
|
|
1020
1020
|
"Note: First startup may take longer. Tool availability will update automatically.": "Nota: El primer inici pot tardar m\xE9s. La disponibilitat de les eines s'actualitzar\xE0 autom\xE0ticament.",
|
|
1021
1021
|
"Configured MCP servers:": "MCP servers configurats:",
|
|
1022
1022
|
Ready: "Preparat",
|
|
@@ -1037,7 +1037,7 @@ var ca_default = {
|
|
|
1037
1037
|
"Prompts:": "Missatges:",
|
|
1038
1038
|
"Resources:": "Recursos:",
|
|
1039
1039
|
Blocked: "Bloquejat",
|
|
1040
|
-
"\
|
|
1040
|
+
"\u2605 Tips:": "\u2605 Consells:",
|
|
1041
1041
|
Use: "Useu",
|
|
1042
1042
|
"to show server and tool descriptions": "per mostrar les descripcions del servidor i de les eines",
|
|
1043
1043
|
"to show tool parameter schemas": "per mostrar tool parameter schemas",
|
|
@@ -1414,7 +1414,7 @@ var ca_default = {
|
|
|
1414
1414
|
"Enter your Coding Plan API key: ": "Introdu\xEFu la vostra API Key de Coding Plan: ",
|
|
1415
1415
|
"Select authentication method:": "Seleccioneu el m\xE8tode d'autenticaci\xF3:",
|
|
1416
1416
|
"\n=== Authentication Status ===\n": "\n=== Estat d'autenticaci\xF3 ===\n",
|
|
1417
|
-
"\u26A0
|
|
1417
|
+
"\u26A0 No authentication method configured.\n": "\u26A0 Cap m\xE8tode d'autenticaci\xF3 configurat.\n",
|
|
1418
1418
|
"Run one of the following commands to get started:\n": "Executeu una de les ordres seg\xFCents per comen\xE7ar:\n",
|
|
1419
1419
|
" qwen auth qwen-oauth - Authenticate with Qwen OAuth (discontinued)": " qwen auth qwen-oauth - Autenticar-se amb Qwen OAuth (descontinuat)",
|
|
1420
1420
|
"Or simply run:": "O simplement executeu:",
|
|
@@ -1429,7 +1429,7 @@ var ca_default = {
|
|
|
1429
1429
|
" Current Model: {{model}}": " Model actual: {{model}}",
|
|
1430
1430
|
" Config Version: {{version}}": " Versi\xF3 de configuraci\xF3: {{version}}",
|
|
1431
1431
|
" Status: API key configured\n": " Estat: API Key configurada\n",
|
|
1432
|
-
"\u26A0
|
|
1432
|
+
"\u26A0 Authentication Method: Alibaba Cloud Coding Plan (Incomplete)": "\u26A0 M\xE8tode d'autenticaci\xF3: Coding Plan d'Alibaba Cloud (Incomplet)",
|
|
1433
1433
|
" Issue: API key not found in environment or settings\n": " Problema: API Key no trobada a l'entorn o la configuraci\xF3\n",
|
|
1434
1434
|
" Run `qwen auth coding-plan` to re-configure.\n": " Executeu `qwen auth coding-plan` per tornar a configurar.\n",
|
|
1435
1435
|
"\u2713 Authentication Method: {{type}}": "\u2713 M\xE8tode d'autenticaci\xF3: {{type}}",
|
|
@@ -1441,6 +1441,7 @@ var ca_default = {
|
|
|
1441
1441
|
"Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).": "Amagueu la sortida de les eines i el pensament per a una vista m\xE9s neta (canvieu amb Ctrl+O).",
|
|
1442
1442
|
"Press Ctrl+O to show full tool output": "Premeu Ctrl+O per mostrar la sortida completa de les eines",
|
|
1443
1443
|
"Switch to plan mode or exit plan mode": "Canviar al mode de planificaci\xF3 o sortir del mode de planificaci\xF3",
|
|
1444
|
+
"Set how hard reasoning-capable models think ({{tiers}}); mapped and clamped per provider.": "Defineix la intensitat de raonament dels models compatibles ({{tiers}}); mapejada i limitada segons el prove\xEFdor.",
|
|
1444
1445
|
"Exited plan mode. Previous approval mode restored.": "S'ha sortit del mode de planificaci\xF3. S'ha restaurat el mode d'aprovaci\xF3 anterior.",
|
|
1445
1446
|
"Enabled plan mode. The agent will analyze and plan without executing tools.": "S'ha activat el mode de planificaci\xF3. L'agent analitzar\xE0 i planificar\xE0 sense executar eines.",
|
|
1446
1447
|
'Already in plan mode. Use "/plan exit" to exit plan mode.': 'Ja esteu en mode de planificaci\xF3. Useu "/plan exit" per sortir del mode de planificaci\xF3.',
|