@qwen-code/qwen-code 0.19.4 → 0.19.5-nightly.20260703.b16baf1ff
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/qc-helper/docs/configuration/settings.md +22 -6
- package/bundled/qc-helper/docs/features/commands.md +41 -34
- package/bundled/qc-helper/docs/features/headless.md +19 -18
- package/bundled/qc-helper/docs/qwen-serve.md +34 -0
- package/bundled/qc-helper/docs/support/troubleshooting.md +5 -0
- package/chunks/{MaxSizedBox-ERTNFI22.js → MaxSizedBox-42KZ5OFE.js} +12 -11
- package/chunks/{StandaloneSessionPicker-Y5NGRLRY.js → StandaloneSessionPicker-G4VTICMM.js} +23 -22
- package/chunks/{acpAgent-UMN6OYTR.js → acpAgent-6O25PA3M.js} +82 -78
- package/chunks/{agent-56DZU4ZU.js → agent-SNVTRNV7.js} +9 -8
- package/chunks/{agent-headless-SR7N2IJG.js → agent-headless-LNKVTSBX.js} +9 -8
- package/chunks/{anthropicContentGenerator-5OZFO6WQ.js → anthropicContentGenerator-WL3LJOUB.js} +99 -23
- package/chunks/{artifact-tool-JVZMHA4B.js → artifact-tool-W76WC2JX.js} +1 -1
- package/chunks/{askUserQuestion-CMJZ2F3D.js → askUserQuestion-J3P6TH3V.js} +1 -1
- package/chunks/{bridge-AUHNFOUS.js → bridge-AZZAYKI2.js} +15 -13
- package/chunks/{ca-RYOETBUW.js → ca-HCMB2I54.js} +1 -0
- package/chunks/channel-worker-supervisor-C2J3TIOV.js +665 -0
- package/chunks/{chunk-W2ZOAX7F.js → chunk-26UO4PLG.js} +3 -3
- package/chunks/chunk-2Z43HUXT.js +99 -0
- package/chunks/{chunk-VKGG724L.js → chunk-3GCPLNVF.js} +11 -10
- package/chunks/chunk-3RW4AZJV.js +5063 -0
- package/chunks/{chunk-6AQR7732.js → chunk-46IAL3RB.js} +1 -1
- package/chunks/{chunk-QAFQLTXG.js → chunk-4JWM2UGC.js} +1 -1
- package/chunks/{chunk-C2IHHGBZ.js → chunk-4PGQKUIV.js} +10 -10
- package/chunks/{chunk-PPFWEV7G.js → chunk-4RQIB5UZ.js} +62 -62
- package/chunks/{chunk-L7VH7HQA.js → chunk-4UEWG5AS.js} +29 -4
- package/chunks/{chunk-J3F7X3LW.js → chunk-5B2WNM6V.js} +1 -1
- package/chunks/{chunk-XCUFHOAD.js → chunk-6NHUWPNL.js} +1 -1
- package/chunks/{chunk-HI55Z6PR.js → chunk-7DMQRPC7.js} +401 -58
- package/chunks/{chunk-Q7VHIRDD.js → chunk-7K4G2H2H.js} +1 -1
- package/chunks/{chunk-W6X4FGWX.js → chunk-7XS7CMSU.js} +1 -1
- package/chunks/{chunk-SFN4TEHY.js → chunk-APTOAKV5.js} +4 -4
- package/chunks/{chunk-BNJLLAQ7.js → chunk-AYUVPH6L.js} +1 -1
- package/chunks/chunk-BPFJQGY7.js +193 -0
- package/chunks/{chunk-CUGEBAKG.js → chunk-C47IJLUT.js} +1 -1
- package/chunks/chunk-CXBG27SF.js +35 -0
- package/chunks/{chunk-UQFP2FEF.js → chunk-DG573EOO.js} +1 -1
- package/chunks/{chunk-ND25GXEU.js → chunk-DLJKEPXB.js} +14 -6
- package/chunks/{chunk-MNDTD5E5.js → chunk-DNJ2KHWN.js} +4 -4
- package/chunks/{chunk-KKQWC6WS.js → chunk-DNV4FSN5.js} +1 -1
- package/chunks/chunk-DOYHOG47.js +949 -0
- package/chunks/chunk-E2K45AJ7.js +5448 -0
- package/chunks/{chunk-75X2VLSH.js → chunk-F26BNXI2.js} +26 -5
- package/chunks/{chunk-6TLY5W3B.js → chunk-FB6LGUF4.js} +127 -23
- package/chunks/{chunk-UT5JU5DJ.js → chunk-FEPEMQR4.js} +42 -15
- package/chunks/{chunk-2X2JUE47.js → chunk-FKHE7ZNF.js} +2 -2
- package/chunks/{chunk-YBDZ63KI.js → chunk-FVRLDQ7T.js} +8 -4
- package/chunks/{chunk-DQ74W65K.js → chunk-HCLTQ3PV.js} +47 -20
- package/chunks/{chunk-BQNJBEUA.js → chunk-KFO6YNQT.js} +16 -2
- package/chunks/{chunk-UQYOMM6J.js → chunk-L4CYPEA7.js} +10 -10
- package/chunks/{chunk-MEQWZGK5.js → chunk-L7OJ3ZO3.js} +1 -1
- package/chunks/chunk-LOEYAC6N.js +86 -0
- package/chunks/{chunk-4VZH35PN.js → chunk-MTNTVOJR.js} +2 -0
- package/chunks/{chunk-6CIIP6OE.js → chunk-O2EZ4VRP.js} +3 -3
- package/chunks/{chunk-ZJP5T7IA.js → chunk-ODPWORQZ.js} +1 -1
- package/chunks/{chunk-TTFNVEO5.js → chunk-P5GH4DTN.js} +3 -3
- package/chunks/{chunk-7KPI4LAI.js → chunk-QURP4S5U.js} +3 -3
- package/chunks/{chunk-UANCYOOQ.js → chunk-R6RI2HIC.js} +1 -1
- package/chunks/{chunk-FYKX6XOT.js → chunk-RBLDOR7U.js} +1 -1
- package/chunks/{chunk-EDAGQADF.js → chunk-S6RLAIUR.js} +2 -0
- package/chunks/chunk-SIUQ3YYX.js +78 -0
- package/chunks/{chunk-GICCHL2Q.js → chunk-STP6AYKH.js} +1 -1
- package/chunks/{chunk-HJDF3ZVU.js → chunk-UEGNXWAX.js} +6 -6
- package/chunks/{chunk-PIYV6COW.js → chunk-UTWYG2WA.js} +1 -1
- package/chunks/{chunk-QMIND2AS.js → chunk-UY2TCIZS.js} +15 -1
- package/chunks/{chunk-CG7SVARK.js → chunk-VDIZBM46.js} +2 -2
- package/chunks/{chunk-73H73ASU.js → chunk-VJSWLYUL.js} +1 -1
- package/chunks/{chunk-FNLXLI4I.js → chunk-WMLQKZ64.js} +2 -2
- package/chunks/{chunk-KVPFPC4J.js → chunk-WSAAEPPQ.js} +14 -14
- package/chunks/{chunk-BFG6OZN7.js → chunk-WWOVV2PW.js} +3742 -2737
- package/chunks/{chunk-MKHC4BYZ.js → chunk-XAVV2JAM.js} +21 -5
- package/chunks/{chunk-ZXCVPMIK.js → chunk-XR7W5VRL.js} +167 -54
- package/chunks/{chunk-CS5XYDBO.js → chunk-XS7IHJ63.js} +5 -5
- package/chunks/{chunk-B7KGXIPZ.js → chunk-YCU7QV7Q.js} +11 -4
- package/chunks/{chunk-OJCECIJA.js → chunk-YHTNWGRR.js} +5 -4
- package/chunks/{chunk-7VPC7D7O.js → chunk-YLQSGKAN.js} +2 -2
- package/chunks/{chunk-OAFUMTWW.js → chunk-Z75MFQFL.js} +2 -2
- package/chunks/{chunk-HRZB5CSC.js → chunk-ZRHHQFV4.js} +1 -1
- package/chunks/{computer-use-VWN5HH6A.js → computer-use-UHZAYYGO.js} +9 -8
- package/chunks/{contextCommand-DFFG5KDJ.js → contextCommand-X4WOJ2L4.js} +11 -10
- package/chunks/{cron-create-CSSWJ67I.js → cron-create-6YTCOX6P.js} +1 -1
- package/chunks/{cron-delete-E56CFQ7A.js → cron-delete-E3NIFSUK.js} +1 -1
- package/chunks/{cron-list-BKSINY6Y.js → cron-list-Q64MNQNE.js} +1 -1
- package/chunks/{daemon-5T6IHWJV.js → daemon-EEB2RYOL.js} +23 -0
- package/chunks/{daemon-status-provider-V5UY7O7J.js → daemon-status-provider-YXWNGOAF.js} +18 -16
- package/chunks/{de-HB5NJXGB.js → de-PLLFDERI.js} +1 -0
- package/chunks/{dist-TAVAGZU6.js → dist-AP5V4WYU.js} +54 -14
- package/chunks/{dist-XBOVZ3R5.js → dist-IZP2VV4C.js} +156 -57
- package/chunks/{dist-B7SSDVWT.js → dist-SNXOUPYS.js} +201 -7
- package/chunks/{dist-2HDL5SHQ.js → dist-X4ZDE726.js} +43 -8
- package/chunks/{dist-BL3SL665.js → dist-Z57Q4YF5.js} +1 -1
- package/chunks/{earlyInputCapture-VVYU4FDO.js → earlyInputCapture-3HUGMAFL.js} +9 -8
- package/chunks/{edit-F35PTMBA.js → edit-QDKRNFZK.js} +14 -17
- package/chunks/{en-FZREZFPO.js → en-M4EBUBNU.js} +2 -0
- package/chunks/{enter-worktree-3DIW7EGJ.js → enter-worktree-ODWIPMOP.js} +9 -8
- package/chunks/{enterPlanMode-QNXT77KP.js → enterPlanMode-XROL6G5C.js} +11 -10
- package/chunks/{errors-M53YG76R.js → errors-RCPBWFTG.js} +11 -10
- package/chunks/{exit-worktree-BSDWNWHZ.js → exit-worktree-BIU7P4TR.js} +9 -8
- package/chunks/{exitPlanMode-EL7AY327.js → exitPlanMode-LWZHZ7CF.js} +107 -12
- package/chunks/{fast-path-DUCSMUFW.js → fast-path-7S4NR2WI.js} +6 -4
- package/chunks/{fast-path-settings-UQLRFDQP.js → fast-path-settings-RCRXH2JG.js} +2 -2
- package/chunks/{fr-XY3NQFCM.js → fr-MBMNQSQ6.js} +1 -0
- package/chunks/{gemini-F3IERB37.js → gemini-W7CZCFFV.js} +75 -67
- package/chunks/{geminiContentGenerator-6OULAKFQ.js → geminiContentGenerator-MWZWJAWR.js} +39 -3
- package/chunks/{glob-ZMLFTD4T.js → glob-GZ4LUOQT.js} +9 -8
- package/chunks/{grep-H5X66EI7.js → grep-BZ34WAQJ.js} +9 -8
- package/chunks/{initializer-LEOT2OLH.js → initializer-W4EUD3H7.js} +14 -13
- package/chunks/{ja-J7YAG7SA.js → ja-HFV5QCHR.js} +1 -0
- package/chunks/{list-M3DKXML6.js → list-S325XJ2Y.js} +16 -15
- package/chunks/{loadedSettingsAdapter-OKMQFGGG.js → loadedSettingsAdapter-QP3XBMQI.js} +14 -13
- package/chunks/{loop-wakeup-FPBAVVPR.js → loop-wakeup-G2EHBRGR.js} +2 -2
- package/chunks/{ls-UGWQXPTY.js → ls-IDHUVSAG.js} +1 -1
- package/chunks/{lsp-24WV7NXB.js → lsp-FSRYXGFT.js} +1 -1
- package/chunks/mcp-LRKXM6OS.js +66 -0
- package/chunks/{monitor-ARL5P45R.js → monitor-7C33CWA5.js} +11 -10
- package/chunks/{nonInteractiveCli-NUVLF3YR.js → nonInteractiveCli-FPZS7ROR.js} +46 -43
- package/chunks/{notebook-edit-ANTZ2DDY.js → notebook-edit-ZXQ25NWU.js} +14 -16
- package/chunks/{openaiContentGenerator-TFGMKGHN.js → openaiContentGenerator-FUQ7GNK6.js} +4 -4
- package/chunks/{pidfile-AWTL4C63.js → pidfile-NPZV5ZIA.js} +10 -9
- package/chunks/{pt-6RTAA6SS.js → pt-2THT3YHA.js} +1 -0
- package/chunks/{qwenContentGenerator-6QWAYTWS.js → qwenContentGenerator-LNEWYA52.js} +10 -9
- package/chunks/{read-file-EJY73XQ3.js → read-file-G6GBNSM3.js} +3 -3
- package/chunks/{read-mcp-resource-NCBTPP7X.js → read-mcp-resource-PIJF24RO.js} +1 -1
- package/chunks/{ripGrep-HC4SA6CQ.js → ripGrep-IGOC7PVL.js} +9 -8
- package/chunks/{ru-AUBGJ2C4.js → ru-Z67YJHBG.js} +1 -0
- package/chunks/{run-qwen-serve-AGLZ642J.js → run-qwen-serve-AAA53KS4.js} +131 -38
- package/chunks/{scheduler-TURO7NGY.js → scheduler-SPGJ7ILO.js} +9 -8
- package/chunks/{send-message-3S2NYS3O.js → send-message-33PYFMCT.js} +15 -1
- package/chunks/{serve-5DAMOIDW.js → serve-37UIHUYP.js} +15 -14
- package/chunks/{server-4AGEK2HC.js → server-MFMOYMEB.js} +187 -173
- package/chunks/{session-7ZOQUC4Y.js → session-XRY2CG4Z.js} +47 -44
- package/chunks/{settings-DR4V6L5Y.js → settings-X5GXXGKH.js} +13 -12
- package/chunks/{shell-H5WFKUXH.js → shell-E5HOWJMT.js} +9 -8
- package/chunks/{skill-ANHU5ZCR.js → skill-FELDZMWO.js} +3 -3
- package/chunks/{spawnChannel-VN5LJV7Z.js → spawnChannel-XLTVHAT6.js} +12 -10
- package/chunks/{src-OVZLTVVM.js → src-ZWPLTWTV.js} +21 -10
- package/chunks/{startInteractiveUI-OA22V32P.js → startInteractiveUI-GO6J3SJ7.js} +2609 -2458
- package/chunks/{syntheticOutput-SV7GBHZ5.js → syntheticOutput-YOSWIHDJ.js} +2 -2
- package/chunks/{task-create-W2H2UJCH.js → task-create-NHS2NGB3.js} +3 -2
- package/chunks/{task-list-THBOPV4G.js → task-list-5UIB564R.js} +1 -1
- package/chunks/{task-stop-33FVCNCJ.js → task-stop-HGXZ2VZ3.js} +1 -1
- package/chunks/{task-update-LVFQLXEI.js → task-update-IYYWUILG.js} +34 -2
- package/chunks/{team-create-OYL5CAQO.js → team-create-WWMKZ3UO.js} +9 -8
- package/chunks/{team-delete-NTUQ25UY.js → team-delete-FEKJCU4P.js} +1 -1
- package/chunks/team-plan-approval-CUNEZJOV.js +202 -0
- package/chunks/{theme-manager-XCMPF2SI.js → theme-manager-LRBEA5ID.js} +9 -8
- package/chunks/{todoWrite-SEPO2RI3.js → todoWrite-TKMVZ2HT.js} +1 -1
- package/chunks/{tool-search-YXW55X6Z.js → tool-search-L57ZRBJF.js} +8 -6
- package/chunks/{trustedFolders-TEPGM5YL.js → trustedFolders-DYAOFXN2.js} +10 -9
- package/chunks/{validateNonInterActiveAuth-OQIS7WUE.js → validateNonInterActiveAuth-AB4C2FLG.js} +43 -40
- package/chunks/version-2A66AIB2.js +10 -0
- package/chunks/{web-fetch-OE7LHURA.js → web-fetch-J4PIW36Q.js} +2 -2
- package/chunks/{workflow-RTUWORAP.js → workflow-H7YLGTBI.js} +12 -11
- package/chunks/{workspace-providers-status-DM2XANVB.js → workspace-providers-status-UUIBOTKI.js} +16 -15
- package/chunks/{workspace-service-VKBI2KZD.js → workspace-service-FATHYK5C.js} +21 -20
- package/chunks/workspace-skills-status-KIC3KYPR.js +62 -0
- package/chunks/{write-file-WGALQ53L.js → write-file-ETGUMYAK.js} +14 -18
- package/chunks/yargs-B64EYTCF.js +10 -0
- package/chunks/{zh-V3B4TFWL.js → zh-SLZNSSZB.js} +2 -0
- package/chunks/{zh-TW-6GIKXEAN.js → zh-TW-P53C2SL5.js} +2 -0
- package/cli-entry.js +81 -8
- package/cli.js +348 -55
- package/locales/ca.js +2 -0
- package/locales/de.js +2 -0
- package/locales/en.js +3 -0
- package/locales/fr.js +2 -0
- package/locales/ja.js +2 -0
- package/locales/pt.js +2 -0
- package/locales/ru.js +2 -0
- package/locales/zh-TW.js +3 -0
- package/locales/zh.js +3 -0
- 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 +6 -15
- package/web-shell/assets/{arc-Det5Ccum.js → arc-QjIJgYzv.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-DqNWVFpl.js → architectureDiagram-3BPJPVTR-DJkZ9KoB.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CYl7tYBi.js → blockDiagram-GPEHLZMM-BlNeekUB.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DaAEi0NQ.js → c4Diagram-AAUBKEIU-B6FDrE3D.js} +1 -1
- package/web-shell/assets/channel-M6R-XOoS.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-Df2CDEE2.js → chunk-2J33WTMH-CZO5-3og.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DNBFcyL2.js → chunk-4BX2VUAB-CZ2VJPFe.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BKjF-0HI.js → chunk-55IACEB6-3zVP6pGF.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-DYwAwfIM.js → chunk-727SXJPM-omuP8Zhh.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-C6FswLqy.js → chunk-AQP2D5EJ-BK6Ivmyv.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-DRWAcZSY.js → chunk-FMBD7UC4-NLjjxV0s.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-AoL16mNR.js → chunk-ND2GUHAM-Dc0JTV8t.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-a8PtLMck.js → chunk-QZHKN3VN-ZYp-8jN-.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-B7rcL2Jc.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-B7rcL2Jc.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-C4Aeu5qf.js → cose-bilkent-S5V4N54A-BNu1jqy7.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-BOulamjo.js → dagre-BM42HDAG-0AHvPm2v.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-D1wt2ykO.js → diagram-2AECGRRQ-BJsDQdp0.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BRseus-O.js → diagram-5GNKFQAL-C1gNnoxj.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-XSMkNzpZ.js → diagram-KO2AKTUF-FmgehSoq.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-21KNLqoi.js → diagram-LMA3HP47-i7_13R2F.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DnUI8F5G.js → diagram-OG6HWLK6-DkUUR1x-.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BVSOMuM2.js → erDiagram-TEJ5UH35-BcwJzw0n.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-fYtDPJsW.js → flowDiagram-I6XJVG4X-CCPgwkQS.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-CmRXosW_.js → ganttDiagram-6RSMTGT7-C3g0sliF.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DPrmySxO.js → gitGraphDiagram-PVQCEYII-DLt4J_oG.js} +1 -1
- package/web-shell/assets/index-9qfvU0_r.css +5 -0
- package/web-shell/assets/index-DasTT8n6.js +717 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-x3VbEuCV.js → infoDiagram-5YYISTIA-DMO0nW8F.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-SmitHRMC.js → ishikawaDiagram-YF4QCWOH-qSN9LjC5.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-BxvA551S.js → journeyDiagram-JHISSGLW-CQZH-jC2.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-DNHC16jY.js → kanban-definition-UN3LZRKU-Cu6qk5En.js} +1 -1
- package/web-shell/assets/{linear-CQ6irBL9.js → linear-Dpp4BWJF.js} +1 -1
- package/web-shell/assets/{mermaid.core-DtB6NO1e.js → mermaid.core-DDAcmZsz.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-QKMAgV2v.js → mindmap-definition-RKZ34NQL-G3JXxnUU.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-bvb6dGn6.js → pieDiagram-4H26LBE5-ABQwHraX.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DLgdlG4D.js → quadrantDiagram-W4KKPZXB-BUWZV-ho.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-2M9YH4GF.js → requirementDiagram-4Y6WPE33-XHg5n00A.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-DzwfclTH.js → sankeyDiagram-5OEKKPKP-Bwzw0RtM.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-BvPmTuy2.js → sequenceDiagram-3UESZ5HK-CGYLtnFV.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-BjwUmrJF.js → stateDiagram-AJRCARHV-BG1UhKch.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CSG8MpoN.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-CXzS6qqz.js → timeline-definition-PNZ67QCA-B_tY-Dyz.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-yRSolF5B.js → vennDiagram-CIIHVFJN-Crp_Rw_L.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-ClLJjHPG.js → wardley-L42UT6IY-DR27pFXX.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-VIa6t2p2.js → wardleyDiagram-YWT4CUSO-BM_CRFgm.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-CtmrkezW.js → xychartDiagram-2RQKCTM6-DO2Z2lWl.js} +1 -1
- package/web-shell/index.html +28 -3
- package/chunks/channel-worker-supervisor-A74FV522.js +0 -308
- package/chunks/chunk-MVZXZWGT.js +0 -11323
- package/chunks/chunk-S5EQPDTM.js +0 -91
- package/patches/chrome-devtools-mcp+1.4.0.patch +0 -31
- package/postinstall.js +0 -50
- package/web-shell/assets/channel-Bm0bFauD.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK--NgUfb55.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2--NgUfb55.js +0 -1
- package/web-shell/assets/index-BpKnmyFV.js +0 -717
- package/web-shell/assets/index-fLrtxpOG.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-C4L8zXeL.js +0 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getLanguageNameFromLocale,
|
|
7
7
|
getLanguageSettingsOptions,
|
|
8
8
|
t
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L4CYPEA7.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_DARK_THEME_NAME,
|
|
12
12
|
DEFAULT_LIGHT_THEME_NAME
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
getSystemDefaultsPath,
|
|
26
26
|
getSystemSettingsPath,
|
|
27
27
|
resolveEnvVarsInObject
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4RQIB5UZ.js";
|
|
29
29
|
import {
|
|
30
30
|
isWorkspaceTrusted,
|
|
31
31
|
updateSettingsFilePreservingFormat
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ODPWORQZ.js";
|
|
33
33
|
import {
|
|
34
34
|
require_strip_json_comments
|
|
35
35
|
} from "./chunk-QYUE6W3T.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
|
|
41
41
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
42
42
|
stripRuntimeSnapshotPrefix
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-WWOVV2PW.js";
|
|
44
44
|
import {
|
|
45
45
|
require_main
|
|
46
46
|
} from "./chunk-SKAZWEV5.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
import {
|
|
51
51
|
DEFAULT_SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH,
|
|
52
52
|
SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH_LIMIT
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-UEGNXWAX.js";
|
|
54
54
|
import {
|
|
55
55
|
FatalConfigError,
|
|
56
56
|
QWEN_DIR,
|
|
@@ -1127,6 +1127,22 @@ var SETTINGS_SCHEMA = {
|
|
|
1127
1127
|
description: "Base URL paired with model.name; disambiguates which provider to use when multiple modelProviders entries share the same model id.",
|
|
1128
1128
|
showInDialog: false
|
|
1129
1129
|
},
|
|
1130
|
+
reasoningEffort: {
|
|
1131
|
+
type: "enum",
|
|
1132
|
+
label: "Reasoning Effort",
|
|
1133
|
+
category: "Model",
|
|
1134
|
+
requiresRestart: false,
|
|
1135
|
+
default: void 0,
|
|
1136
|
+
description: 'How hard reasoning-capable models think, applied across all providers. Set with /effort. Each provider maps and clamps this to what the active model supports (e.g. Gemini caps at "high"; Anthropic clamps tiers a model lacks). Leave unset to use the model/provider default.',
|
|
1137
|
+
showInDialog: true,
|
|
1138
|
+
options: [
|
|
1139
|
+
{ value: "low", label: "Low" },
|
|
1140
|
+
{ value: "medium", label: "Medium" },
|
|
1141
|
+
{ value: "high", label: "High" },
|
|
1142
|
+
{ value: "xhigh", label: "Extra High" },
|
|
1143
|
+
{ value: "max", label: "Max" }
|
|
1144
|
+
]
|
|
1145
|
+
},
|
|
1130
1146
|
maxSessionTurns: {
|
|
1131
1147
|
type: "number",
|
|
1132
1148
|
label: "Max Session Turns",
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
contextCommand
|
|
5
|
+
} from "./chunk-APTOAKV5.js";
|
|
3
6
|
import {
|
|
4
7
|
isValidSessionId,
|
|
5
8
|
validateAuthMethod
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
isKittyProtocolEnabled
|
|
9
|
-
} from "./chunk-JZSY4WP3.js";
|
|
10
|
-
import {
|
|
11
|
-
contextCommand
|
|
12
|
-
} from "./chunk-SFN4TEHY.js";
|
|
9
|
+
} from "./chunk-E2K45AJ7.js";
|
|
13
10
|
import {
|
|
14
11
|
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
15
12
|
calculateCost,
|
|
@@ -18,24 +15,28 @@ import {
|
|
|
18
15
|
expandCollapsedHistory,
|
|
19
16
|
filterCommandsForMode,
|
|
20
17
|
getSystemInfoFields,
|
|
18
|
+
levelLabel,
|
|
21
19
|
useKeypress,
|
|
22
20
|
writeOsc52
|
|
23
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F26BNXI2.js";
|
|
24
22
|
import {
|
|
25
23
|
isTerminalGoalStatusKind
|
|
26
24
|
} from "./chunk-KSPVDFE4.js";
|
|
27
25
|
import {
|
|
28
26
|
Text
|
|
29
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FKHE7ZNF.js";
|
|
30
28
|
import {
|
|
31
29
|
require_react
|
|
32
30
|
} from "./chunk-KYMBIKIW.js";
|
|
31
|
+
import {
|
|
32
|
+
isKittyProtocolEnabled
|
|
33
|
+
} from "./chunk-JZSY4WP3.js";
|
|
33
34
|
import {
|
|
34
35
|
themeManager
|
|
35
36
|
} from "./chunk-HTWHAN44.js";
|
|
36
37
|
import {
|
|
37
38
|
getErrorMessage as getErrorMessage2
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-Z75MFQFL.js";
|
|
39
40
|
import {
|
|
40
41
|
GITHUB_WORKFLOW_PATHS,
|
|
41
42
|
setupGithub
|
|
@@ -46,21 +47,11 @@ import {
|
|
|
46
47
|
import {
|
|
47
48
|
stripUnsafeCharacters,
|
|
48
49
|
toCodePoints
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
getExtendedSystemInfo,
|
|
52
|
-
getGitVersion,
|
|
53
|
-
getNpmVersion
|
|
54
|
-
} from "./chunk-W2ZOAX7F.js";
|
|
55
|
-
import {
|
|
56
|
-
formatDuration,
|
|
57
|
-
formatMemoryUsage,
|
|
58
|
-
formatTokenCount
|
|
59
|
-
} from "./chunk-KHDZHZMH.js";
|
|
50
|
+
} from "./chunk-ZRHHQFV4.js";
|
|
60
51
|
import {
|
|
61
52
|
isInlineModelOverrideAllowed,
|
|
62
53
|
parseAcpModelOption
|
|
63
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-KFO6YNQT.js";
|
|
64
55
|
import {
|
|
65
56
|
formatUnsupportedVoiceModelMessage,
|
|
66
57
|
getVoiceSettingsScope,
|
|
@@ -68,7 +59,17 @@ import {
|
|
|
68
59
|
isVoiceEnabled,
|
|
69
60
|
readVoiceMode,
|
|
70
61
|
readVoiceModel
|
|
71
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-7K4G2H2H.js";
|
|
63
|
+
import {
|
|
64
|
+
getExtendedSystemInfo,
|
|
65
|
+
getGitVersion,
|
|
66
|
+
getNpmVersion
|
|
67
|
+
} from "./chunk-26UO4PLG.js";
|
|
68
|
+
import {
|
|
69
|
+
formatDuration,
|
|
70
|
+
formatMemoryUsage,
|
|
71
|
+
formatTokenCount
|
|
72
|
+
} from "./chunk-KHDZHZMH.js";
|
|
72
73
|
import {
|
|
73
74
|
OUTPUT_LANGUAGE_AUTO,
|
|
74
75
|
getAllSettingKeys,
|
|
@@ -80,7 +81,7 @@ import {
|
|
|
80
81
|
resolveOutputLanguage,
|
|
81
82
|
validateSettingValue,
|
|
82
83
|
writeOutputLanguageAndRegisterPath
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-XAVV2JAM.js";
|
|
84
85
|
import {
|
|
85
86
|
SUPPORTED_LANGUAGES,
|
|
86
87
|
getCurrentLanguage,
|
|
@@ -88,16 +89,15 @@ import {
|
|
|
88
89
|
resolveSupportedLanguage,
|
|
89
90
|
setLanguageAsync,
|
|
90
91
|
t
|
|
91
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-L4CYPEA7.js";
|
|
92
93
|
import {
|
|
93
94
|
isFolderTrustEnabled,
|
|
94
95
|
loadTrustedFolders
|
|
95
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-ODPWORQZ.js";
|
|
96
97
|
import {
|
|
97
98
|
require_strip_json_comments
|
|
98
99
|
} from "./chunk-QYUE6W3T.js";
|
|
99
100
|
import {
|
|
100
|
-
APPROVAL_MODES,
|
|
101
101
|
ArenaManager,
|
|
102
102
|
BTW_MAX_INPUT_LENGTH,
|
|
103
103
|
ConditionalRulesRegistry,
|
|
@@ -168,13 +168,16 @@ import {
|
|
|
168
168
|
stripStartupContext,
|
|
169
169
|
tryGenerateSessionTitle,
|
|
170
170
|
unregisterGoalHook
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-WWOVV2PW.js";
|
|
172
172
|
import {
|
|
173
173
|
external_exports
|
|
174
174
|
} from "./chunk-K5PGHDBN.js";
|
|
175
175
|
import {
|
|
176
176
|
runSideQuery
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-L7OJ3ZO3.js";
|
|
178
|
+
import {
|
|
179
|
+
APPROVAL_MODES
|
|
180
|
+
} from "./chunk-BPFJQGY7.js";
|
|
178
181
|
import {
|
|
179
182
|
applySkillAllowedTools,
|
|
180
183
|
buildSkillLlmContent
|
|
@@ -195,16 +198,20 @@ import {
|
|
|
195
198
|
recordSkillInvocation,
|
|
196
199
|
resolveOpenAILogDir,
|
|
197
200
|
uiTelemetryService
|
|
198
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-UEGNXWAX.js";
|
|
199
202
|
import {
|
|
200
203
|
getAutoMemoryRoot
|
|
201
204
|
} from "./chunk-MOUXUCXQ.js";
|
|
202
205
|
import {
|
|
203
206
|
ToolNames
|
|
204
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-MTNTVOJR.js";
|
|
205
208
|
import {
|
|
206
209
|
openBrowserSecurely
|
|
207
210
|
} from "./chunk-22IFUCVR.js";
|
|
211
|
+
import {
|
|
212
|
+
REASONING_EFFORT_TIERS,
|
|
213
|
+
normalizeReasoningEffort
|
|
214
|
+
} from "./chunk-SIUQ3YYX.js";
|
|
208
215
|
import {
|
|
209
216
|
Storage,
|
|
210
217
|
createDebugLogger,
|
|
@@ -218,7 +225,7 @@ import {
|
|
|
218
225
|
isCpuProfileRecording,
|
|
219
226
|
startCpuProfile,
|
|
220
227
|
stopCpuProfile
|
|
221
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-6NHUWPNL.js";
|
|
222
229
|
import {
|
|
223
230
|
init_esbuild_shims
|
|
224
231
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -6946,6 +6953,98 @@ var editorCommand = {
|
|
|
6946
6953
|
}), "action")
|
|
6947
6954
|
};
|
|
6948
6955
|
|
|
6956
|
+
// packages/cli/src/ui/commands/effort-command.ts
|
|
6957
|
+
init_esbuild_shims();
|
|
6958
|
+
var TIER_LIST = REASONING_EFFORT_TIERS.join(", ");
|
|
6959
|
+
var effortCommand = {
|
|
6960
|
+
name: "effort",
|
|
6961
|
+
get description() {
|
|
6962
|
+
return t(
|
|
6963
|
+
"Set how hard reasoning-capable models think ({{tiers}}); mapped and clamped per provider.",
|
|
6964
|
+
{ tiers: TIER_LIST }
|
|
6965
|
+
);
|
|
6966
|
+
},
|
|
6967
|
+
// The tiers show up as a placeholder via argumentHint rather than as
|
|
6968
|
+
// autocompletion suggestions: bare `/effort` should open the picker dialog
|
|
6969
|
+
// (no tier auto-selected), while `/effort <tier>` still sets one directly. A
|
|
6970
|
+
// completion function would surface the tiers as submenu-like entries and let
|
|
6971
|
+
// Enter auto-pick the first one, which we don't want here.
|
|
6972
|
+
argumentHint: "[low|medium|high|xhigh|max]",
|
|
6973
|
+
kind: "built-in" /* BUILT_IN */,
|
|
6974
|
+
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
6975
|
+
action: /* @__PURE__ */ __name(async (context, actionArgs) => {
|
|
6976
|
+
const { services } = context;
|
|
6977
|
+
const { config, settings } = services;
|
|
6978
|
+
if (!config) {
|
|
6979
|
+
return {
|
|
6980
|
+
type: "message",
|
|
6981
|
+
messageType: "error",
|
|
6982
|
+
content: t("Configuration not available.")
|
|
6983
|
+
};
|
|
6984
|
+
}
|
|
6985
|
+
const args = context.invocation?.args?.trim() || actionArgs.trim();
|
|
6986
|
+
if (!args) {
|
|
6987
|
+
if (context.executionMode === "interactive") {
|
|
6988
|
+
return { type: "dialog", dialog: "effort" };
|
|
6989
|
+
}
|
|
6990
|
+
const current = config.getReasoningEffort();
|
|
6991
|
+
return {
|
|
6992
|
+
type: "message",
|
|
6993
|
+
messageType: "info",
|
|
6994
|
+
content: current ? t(
|
|
6995
|
+
'Current reasoning effort: {{current}}\nAvailable: {{tiers}}\nUse "/effort <tier>" to change it.',
|
|
6996
|
+
{ current, tiers: TIER_LIST }
|
|
6997
|
+
) : t(
|
|
6998
|
+
'Reasoning effort: not set (using the model/provider default).\nAvailable: {{tiers}}\nUse "/effort <tier>" to set it.',
|
|
6999
|
+
{ tiers: TIER_LIST }
|
|
7000
|
+
)
|
|
7001
|
+
};
|
|
7002
|
+
}
|
|
7003
|
+
const tier = normalizeReasoningEffort(args);
|
|
7004
|
+
if (!tier) {
|
|
7005
|
+
return {
|
|
7006
|
+
type: "message",
|
|
7007
|
+
messageType: "error",
|
|
7008
|
+
content: t(
|
|
7009
|
+
'Unknown reasoning effort "{{value}}". Choose one of: {{tiers}}.',
|
|
7010
|
+
{ value: args, tiers: TIER_LIST }
|
|
7011
|
+
)
|
|
7012
|
+
};
|
|
7013
|
+
}
|
|
7014
|
+
if (!settings) {
|
|
7015
|
+
return {
|
|
7016
|
+
type: "message",
|
|
7017
|
+
messageType: "error",
|
|
7018
|
+
content: t("Settings service not available.")
|
|
7019
|
+
};
|
|
7020
|
+
}
|
|
7021
|
+
config.setReasoningEffort(tier);
|
|
7022
|
+
settings.setValue(
|
|
7023
|
+
getPersistScopeForModelSelection(settings),
|
|
7024
|
+
"model.reasoningEffort",
|
|
7025
|
+
tier
|
|
7026
|
+
);
|
|
7027
|
+
if (config.getReasoningEffort() !== tier) {
|
|
7028
|
+
return {
|
|
7029
|
+
type: "message",
|
|
7030
|
+
messageType: "info",
|
|
7031
|
+
content: t(
|
|
7032
|
+
"Reasoning effort set to {{tier}}, but thinking is currently disabled \u2014 it will take effect when thinking is re-enabled.",
|
|
7033
|
+
{ tier }
|
|
7034
|
+
)
|
|
7035
|
+
};
|
|
7036
|
+
}
|
|
7037
|
+
return {
|
|
7038
|
+
type: "message",
|
|
7039
|
+
messageType: "info",
|
|
7040
|
+
content: t(
|
|
7041
|
+
"Reasoning effort: {{tier}} (requested; the effective tier depends on the active provider/model).",
|
|
7042
|
+
{ tier }
|
|
7043
|
+
)
|
|
7044
|
+
};
|
|
7045
|
+
}, "action")
|
|
7046
|
+
};
|
|
7047
|
+
|
|
6949
7048
|
// packages/cli/src/ui/commands/exportCommand.ts
|
|
6950
7049
|
init_esbuild_shims();
|
|
6951
7050
|
import * as fs7 from "node:fs/promises";
|
|
@@ -7130,7 +7229,7 @@ async function extractMetadata(conversation, config) {
|
|
|
7130
7229
|
const gitBranch = firstRecord?.gitBranch;
|
|
7131
7230
|
let gitRepo;
|
|
7132
7231
|
if (cwd) {
|
|
7133
|
-
const { getGitRepoName } = await import("./src-
|
|
7232
|
+
const { getGitRepoName } = await import("./src-ZWPLTWTV.js");
|
|
7134
7233
|
gitRepo = getGitRepoName(cwd);
|
|
7135
7234
|
}
|
|
7136
7235
|
let model;
|
|
@@ -12186,14 +12285,21 @@ var skillsCommand = {
|
|
|
12186
12285
|
action: /* @__PURE__ */ __name(async (context) => {
|
|
12187
12286
|
const skillManager = context.services.config?.getSkillManager();
|
|
12188
12287
|
if (!skillManager) {
|
|
12189
|
-
context.
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
|
|
12288
|
+
if (context.executionMode === "interactive") {
|
|
12289
|
+
context.ui.addItem(
|
|
12290
|
+
{
|
|
12291
|
+
type: "error" /* ERROR */,
|
|
12292
|
+
text: t("Could not retrieve skill manager.")
|
|
12293
|
+
},
|
|
12294
|
+
Date.now()
|
|
12295
|
+
);
|
|
12296
|
+
return;
|
|
12297
|
+
}
|
|
12298
|
+
return {
|
|
12299
|
+
type: "message",
|
|
12300
|
+
messageType: "error",
|
|
12301
|
+
content: t("Could not retrieve skill manager.")
|
|
12302
|
+
};
|
|
12197
12303
|
}
|
|
12198
12304
|
if (context.executionMode === "interactive") {
|
|
12199
12305
|
return { type: "dialog", dialog: "skills_manage" };
|
|
@@ -12207,26 +12313,32 @@ var skillsCommand = {
|
|
|
12207
12313
|
(s) => !disabled.has(s.name.toLowerCase())
|
|
12208
12314
|
);
|
|
12209
12315
|
if (visibleSkills.length === 0) {
|
|
12210
|
-
const
|
|
12316
|
+
const content = skills.length > 0 && userInvocableSkills.length === 0 ? t("All skills are marked as non-user-invocable.") : userInvocableSkills.length === 0 ? t("No skills are currently available.") : t(
|
|
12211
12317
|
"All available skills are disabled. Edit ~/.qwen/settings.json or .qwen/settings.json (skills.disabled) to re-enable."
|
|
12212
12318
|
);
|
|
12213
|
-
|
|
12214
|
-
|
|
12215
|
-
|
|
12216
|
-
|
|
12217
|
-
|
|
12218
|
-
Date.now()
|
|
12219
|
-
);
|
|
12220
|
-
return;
|
|
12319
|
+
return {
|
|
12320
|
+
type: "message",
|
|
12321
|
+
messageType: "info",
|
|
12322
|
+
content
|
|
12323
|
+
};
|
|
12221
12324
|
}
|
|
12222
12325
|
const sortedSkills = [...visibleSkills].sort(
|
|
12223
12326
|
(a, b) => normalizeSkillPriority(b.priority) - normalizeSkillPriority(a.priority) || a.name.localeCompare(b.name)
|
|
12224
12327
|
);
|
|
12225
|
-
const
|
|
12226
|
-
|
|
12227
|
-
|
|
12328
|
+
const sanitize = /* @__PURE__ */ __name((text, max) => {
|
|
12329
|
+
const oneLine = text.replace(/[\r\n]+/g, " ").trim();
|
|
12330
|
+
return oneLine.length <= max ? oneLine : `${oneLine.slice(0, Math.max(0, max - 1))}\u2026`;
|
|
12331
|
+
}, "sanitize");
|
|
12332
|
+
const lines = sortedSkills.map(
|
|
12333
|
+
(s) => ` - ${s.name}${s.description ? ` ${sanitize(s.description, 80)}` : ""}${s.level ? ` (${levelLabel(s.level)})` : ""}`
|
|
12334
|
+
);
|
|
12335
|
+
return {
|
|
12336
|
+
type: "message",
|
|
12337
|
+
messageType: "info",
|
|
12338
|
+
content: `${t("Available skills:")}
|
|
12339
|
+
|
|
12340
|
+
${lines.join("\n")}`
|
|
12228
12341
|
};
|
|
12229
|
-
context.ui.addItem(skillsListItem, Date.now());
|
|
12230
12342
|
}, "action")
|
|
12231
12343
|
};
|
|
12232
12344
|
|
|
@@ -15479,6 +15591,7 @@ var BuiltinCommandLoader = class {
|
|
|
15479
15591
|
doctorCommand,
|
|
15480
15592
|
directoryCommand,
|
|
15481
15593
|
editorCommand,
|
|
15594
|
+
effortCommand,
|
|
15482
15595
|
exportCommand,
|
|
15483
15596
|
extensionsCommand,
|
|
15484
15597
|
helpCommand,
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
} from "./chunk-3GONHQOA.js";
|
|
6
6
|
import {
|
|
7
7
|
getErrorMessage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Z75MFQFL.js";
|
|
9
9
|
import {
|
|
10
10
|
loadSettings
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XAVV2JAM.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentLanguage,
|
|
14
14
|
initializeI18n,
|
|
15
15
|
resolveLanguageSetting,
|
|
16
16
|
t
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-L4CYPEA7.js";
|
|
18
18
|
import {
|
|
19
19
|
isWorkspaceTrusted
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ODPWORQZ.js";
|
|
21
21
|
import {
|
|
22
22
|
writeStderrLine,
|
|
23
23
|
writeStdoutLine
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
redactUrlCredentials,
|
|
30
30
|
require_prompts,
|
|
31
31
|
stripAnsi
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WWOVV2PW.js";
|
|
33
33
|
import {
|
|
34
34
|
init_esbuild_shims
|
|
35
35
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -16243,7 +16243,7 @@ function hostAllowlist(bind, getPort) {
|
|
|
16243
16243
|
`[::1]:${port}`,
|
|
16244
16244
|
`host.docker.internal:${port}`
|
|
16245
16245
|
]);
|
|
16246
|
-
if (port === 80) {
|
|
16246
|
+
if (port === 80 || port === 443) {
|
|
16247
16247
|
cachedAllowed.add("localhost");
|
|
16248
16248
|
cachedAllowed.add("127.0.0.1");
|
|
16249
16249
|
cachedAllowed.add("[::1]");
|
|
@@ -16649,7 +16649,7 @@ var SERVE_CAPABILITY_REGISTRY = {
|
|
|
16649
16649
|
// only when explicitly requested by option or env.
|
|
16650
16650
|
client_mcp_over_ws: { since: "v1" },
|
|
16651
16651
|
// Plan C "CDP tunnel" (issue #5626): the daemon exposes a `/cdp` WebSocket
|
|
16652
|
-
// where a loopback
|
|
16652
|
+
// where a loopback CDP client drives ONE real tab
|
|
16653
16653
|
// via the extension's `chrome.debugger`, tunneled over `/acp` as `cdp_*`
|
|
16654
16654
|
// frames. Advertised when explicitly enabled or when the daemon is serving a
|
|
16655
16655
|
// Chrome extension origin.
|
|
@@ -17442,13 +17442,20 @@ function pushRuntimeIssues(issues, bridgeSnapshot, acpSnapshot, rateLimitHits, i
|
|
|
17442
17442
|
const detailParts = [
|
|
17443
17443
|
channelWorker.pid !== void 0 ? `pid=${channelWorker.pid}` : void 0,
|
|
17444
17444
|
channelWorker.exitCode !== void 0 ? `code=${channelWorker.exitCode ?? "null"}` : void 0,
|
|
17445
|
-
channelWorker.signal ? `signal=${channelWorker.signal}` : void 0
|
|
17445
|
+
channelWorker.signal ? `signal=${channelWorker.signal}` : void 0,
|
|
17446
|
+
channelWorker.restartCount !== void 0 ? `restarts=${channelWorker.restartCount}` : void 0,
|
|
17447
|
+
channelWorker.lastExitAt ? `lastExitAt=${channelWorker.lastExitAt}` : void 0,
|
|
17448
|
+
channelWorker.lastRestartAt ? `lastRestartAt=${channelWorker.lastRestartAt}` : void 0,
|
|
17449
|
+
channelWorker.nextRestartAt ? `nextRestartAt=${channelWorker.nextRestartAt}` : void 0,
|
|
17450
|
+
channelWorker.lastHeartbeatAt ? `lastHeartbeatAt=${channelWorker.lastHeartbeatAt}` : void 0,
|
|
17451
|
+
channelWorker.staleHeartbeatAt ? `staleHeartbeatAt=${channelWorker.staleHeartbeatAt}` : void 0
|
|
17446
17452
|
].filter(Boolean);
|
|
17447
17453
|
const details = detailParts.length > 0 ? ` (${detailParts.join(", ")})` : "";
|
|
17448
17454
|
const error = channelWorker.error ? `: ${channelWorker.error}` : "";
|
|
17455
|
+
const isPermanentFailure = channelWorker.state === "failed" && !channelWorker.nextRestartAt;
|
|
17449
17456
|
issues.push({
|
|
17450
17457
|
code: "channel_worker_exited",
|
|
17451
|
-
severity: "warning",
|
|
17458
|
+
severity: isPermanentFailure ? "error" : "warning",
|
|
17452
17459
|
message: `Channel worker is ${channelWorker.state}${details}${error}.`,
|
|
17453
17460
|
section: "runtime.channelWorker"
|
|
17454
17461
|
});
|
|
@@ -129,21 +129,21 @@ function writeServeServiceInfo({
|
|
|
129
129
|
servePid = process.pid,
|
|
130
130
|
workerPid
|
|
131
131
|
}) {
|
|
132
|
-
const
|
|
132
|
+
const buildInfo = /* @__PURE__ */ __name((startedAt) => ({
|
|
133
133
|
owner: "serve",
|
|
134
134
|
pid: servePid,
|
|
135
|
-
startedAt
|
|
135
|
+
startedAt,
|
|
136
136
|
channels,
|
|
137
137
|
servePid,
|
|
138
138
|
...workerPid !== void 0 ? { workerPid } : {}
|
|
139
|
-
};
|
|
139
|
+
}), "buildInfo");
|
|
140
140
|
const filePath = pidFilePath();
|
|
141
141
|
let fd;
|
|
142
142
|
try {
|
|
143
143
|
fd = openSync(filePath, constants.O_RDWR | constants.O_NOFOLLOW);
|
|
144
144
|
} catch (err) {
|
|
145
145
|
if (err.code === "ENOENT") {
|
|
146
|
-
writeInfo(
|
|
146
|
+
writeInfo(buildInfo((/* @__PURE__ */ new Date()).toISOString()), "wx");
|
|
147
147
|
return;
|
|
148
148
|
}
|
|
149
149
|
throw err;
|
|
@@ -159,6 +159,7 @@ function writeServeServiceInfo({
|
|
|
159
159
|
"Channel service pidfile is owned by another process."
|
|
160
160
|
);
|
|
161
161
|
}
|
|
162
|
+
const info = buildInfo(existing.startedAt);
|
|
162
163
|
ftruncateSync(fd, 0);
|
|
163
164
|
writeSync(fd, JSON.stringify(info, null, 2), 0, "utf-8");
|
|
164
165
|
} finally {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
functionResponsePartsToString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XR7W5VRL.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WWOVV2PW.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esbuild_shims
|
|
11
11
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
JsonFormatter,
|
|
8
8
|
parseAndFormatApiError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WWOVV2PW.js";
|
|
10
10
|
import {
|
|
11
11
|
FatalBudgetExceededError,
|
|
12
12
|
FatalCancellationError,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-AVQDCKNF.js";
|
|
16
16
|
import {
|
|
17
17
|
runExitCleanup
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RBLDOR7U.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esbuild_shims
|
|
21
21
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
Client,
|
|
5
5
|
So,
|
|
6
6
|
StdioClientTransport
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WWOVV2PW.js";
|
|
8
8
|
import "./chunk-5P5XGNYH.js";
|
|
9
|
-
import "./chunk-K5PGHDBN.js";
|
|
10
9
|
import "./chunk-SKAZWEV5.js";
|
|
10
|
+
import "./chunk-K5PGHDBN.js";
|
|
11
11
|
import "./chunk-QOMAHFYI.js";
|
|
12
12
|
import "./chunk-G7OQ3RFJ.js";
|
|
13
13
|
import "./chunk-LKWAVAB5.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-L7OJ3ZO3.js";
|
|
15
|
+
import "./chunk-R6RI2HIC.js";
|
|
16
16
|
import "./chunk-2MPVVENX.js";
|
|
17
17
|
import "./chunk-ZTQ26VBE.js";
|
|
18
18
|
import "./chunk-SJBIFVD2.js";
|
|
19
19
|
import "./chunk-MLZQVCF3.js";
|
|
20
|
-
import "./chunk-S5EQPDTM.js";
|
|
21
20
|
import "./chunk-LQ7TMOCE.js";
|
|
22
21
|
import "./chunk-E5A7LHNN.js";
|
|
22
|
+
import "./chunk-BPFJQGY7.js";
|
|
23
23
|
import "./chunk-GO6LNQXT.js";
|
|
24
24
|
import "./chunk-B236XPGF.js";
|
|
25
25
|
import "./chunk-YXK4GPYO.js";
|
|
@@ -27,22 +27,23 @@ import "./chunk-TOAUDIS7.js";
|
|
|
27
27
|
import "./chunk-NPQWQYU6.js";
|
|
28
28
|
import {
|
|
29
29
|
safeJsonStringify
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UEGNXWAX.js";
|
|
31
31
|
import "./chunk-E6US47KI.js";
|
|
32
32
|
import "./chunk-UWCTAVOD.js";
|
|
33
33
|
import "./chunk-OFEVLU4C.js";
|
|
34
34
|
import "./chunk-OMX7CUOE.js";
|
|
35
35
|
import "./chunk-MOUXUCXQ.js";
|
|
36
36
|
import "./chunk-BZHLWC6T.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-DG573EOO.js";
|
|
38
38
|
import {
|
|
39
39
|
BaseDeclarativeTool,
|
|
40
40
|
BaseToolInvocation
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MTNTVOJR.js";
|
|
42
42
|
import "./chunk-TENOUWY2.js";
|
|
43
43
|
import "./chunk-GLPV75ES.js";
|
|
44
44
|
import "./chunk-22IFUCVR.js";
|
|
45
45
|
import "./chunk-T42ACHFI.js";
|
|
46
|
+
import "./chunk-SIUQ3YYX.js";
|
|
46
47
|
import "./chunk-YTFBURQD.js";
|
|
47
48
|
import "./chunk-YPCPZSZB.js";
|
|
48
49
|
import "./chunk-IRJWHZWU.js";
|