@qwen-code/qwen-code 0.25.4-preview.0 → 0.25.4-preview.1
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/browser-use/runtime/native-host.js +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/cli.js +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
- package/bundled/browser-use/runtime/node_modules/playwright-core/lib/xdg-open +0 -0
- package/bundled/browser-use/runtime/scripts/native-host-setup.js +0 -0
- package/chunks/{MaxSizedBox-M27H235V.js → MaxSizedBox-E4RKSA7W.js} +1 -1
- package/chunks/{StandaloneSessionPicker-LWWDDYOW.js → StandaloneSessionPicker-2D3UKLVS.js} +1 -1
- package/chunks/{acp-subagent-executor-NUV52JVS.js → acp-subagent-executor-UQYUN6AB.js} +1 -1
- package/chunks/{acpAgent-IUJDXLZM.js → acpAgent-P7WGK2BP.js} +3 -3
- package/chunks/{advisor-MSOUBMJ6.js → advisor-GCH2MBXT.js} +1 -1
- package/chunks/{agent-H7XIWYWQ.js → agent-57T4YAYP.js} +1 -1
- package/chunks/{agent-headless-XDN3D3S3.js → agent-headless-IBON3A7N.js} +1 -1
- package/chunks/{agent-host-client-AZP3PZXS.js → agent-host-client-LE7P72FR.js} +1 -1
- package/chunks/{agent-host-connections-JRVX7I6I.js → agent-host-connections-4DM57L26.js} +1 -1
- package/chunks/{anthropicContentGenerator-N7TV53LD.js → anthropicContentGenerator-C4TPFXUK.js} +1 -1
- package/chunks/{batch-MKSJFJUH.js → batch-YJJGMJWO.js} +1 -1
- package/chunks/{bridge-GNMKKHQ4.js → bridge-FIO2ENBG.js} +1 -1
- package/chunks/{channel-settings-store-Y4YCS7JX.js → channel-settings-store-TEBCLK2B.js} +1 -1
- package/chunks/{chunk-GPOUP5OK.js → chunk-27MTSS3T.js} +1 -1
- package/chunks/{chunk-C4ANA47H.js → chunk-2MGCRPM3.js} +1 -1
- package/chunks/{chunk-6DQNNRRC.js → chunk-2WBKWPSO.js} +1 -1
- package/chunks/{chunk-CATL2PQS.js → chunk-34WLYVDK.js} +5 -5
- package/chunks/{chunk-B7CXPNCV.js → chunk-3J2YNEHG.js} +1 -1
- package/chunks/{chunk-VTNHPXNL.js → chunk-3TBFTELA.js} +1 -1
- package/chunks/{chunk-7JT34VGK.js → chunk-46I6JBVL.js} +1 -1
- package/chunks/{chunk-FEMWELCV.js → chunk-4ZKFLOEH.js} +1 -1
- package/chunks/{chunk-7AYXAVTZ.js → chunk-5DUJIOOX.js} +3 -3
- package/chunks/{chunk-6QLHJSVW.js → chunk-6PWOLWTH.js} +1 -1
- package/chunks/{chunk-OW4QBRSR.js → chunk-6UZ65Z2P.js} +1 -1
- package/chunks/{chunk-V2JZO5MS.js → chunk-7DSJE3CL.js} +1 -1
- package/chunks/{chunk-TJMHIEYI.js → chunk-7LCY7GGX.js} +1 -1
- package/chunks/{chunk-TLJHBK3A.js → chunk-7RNTXEWH.js} +1 -1
- package/chunks/{chunk-YZ7OO4AQ.js → chunk-A3IF6IOB.js} +1 -1
- package/chunks/{chunk-VTF6AVZB.js → chunk-A6OQSOUO.js} +1 -1
- package/chunks/{chunk-Y7YDHCON.js → chunk-AJ6JUUP7.js} +1 -1
- package/chunks/{chunk-QTMHQGWQ.js → chunk-AOMEBVFW.js} +1 -1
- package/chunks/{chunk-KVTG2ZNH.js → chunk-AUNAS7AS.js} +1 -1
- package/chunks/{chunk-BOFD4CN3.js → chunk-AVIDPC5K.js} +1 -1
- package/chunks/{chunk-ETYTRKB2.js → chunk-BOLPBPWC.js} +1 -1
- package/chunks/{chunk-OAPA66DR.js → chunk-BQQBFDBY.js} +1 -1
- package/chunks/{chunk-NOS2CNOI.js → chunk-CN22ATWU.js} +1 -1
- package/chunks/{chunk-XYBEQRSZ.js → chunk-DIHJELGW.js} +1 -1
- package/chunks/{chunk-XCEL3EDX.js → chunk-DJFCI7TU.js} +1 -1
- package/chunks/{chunk-VKEL2XTM.js → chunk-DQPDMFS3.js} +1 -1
- package/chunks/{chunk-DJRFEZBY.js → chunk-DSYKB77N.js} +1 -1
- package/chunks/{chunk-UEW7Q26E.js → chunk-EDNOGHMN.js} +2 -2
- package/chunks/{chunk-RXNGYG64.js → chunk-EE36D2EV.js} +1 -1
- package/chunks/{chunk-NZKX7HYL.js → chunk-EGQDN3FJ.js} +1 -1
- package/chunks/{chunk-DFRSQK5Q.js → chunk-FHFBCG6N.js} +1 -1
- package/chunks/{chunk-PECV2VVZ.js → chunk-GI6T3RBV.js} +1 -1
- package/chunks/{chunk-37BNHIUB.js → chunk-GOLT5JXA.js} +1 -1
- package/chunks/{chunk-KITFF4GL.js → chunk-IDGXHMNL.js} +1 -1
- package/chunks/{chunk-6HIOSLUM.js → chunk-IIZWK7ZP.js} +1 -1
- package/chunks/{chunk-MPGEAX4K.js → chunk-IJC6ZH2S.js} +1 -1
- package/chunks/{chunk-TLYJVB5H.js → chunk-IO6LSEPV.js} +1 -1
- package/chunks/{chunk-QIJKEZZR.js → chunk-IYVNCBMS.js} +1 -1
- package/chunks/{chunk-S4GOHFRN.js → chunk-JHGOWK7M.js} +1 -1
- package/chunks/{chunk-GHRD2MMC.js → chunk-JRJY343T.js} +1 -1
- package/chunks/{chunk-WCYZSCG7.js → chunk-JVUXQU3W.js} +1 -1
- package/chunks/{chunk-DMCTJUIJ.js → chunk-K2K2YYWO.js} +1 -1
- package/chunks/{chunk-37OHWQHB.js → chunk-KF6HU732.js} +2 -2
- package/chunks/{chunk-5LSV73BG.js → chunk-KVWUOBH7.js} +1 -1
- package/chunks/{chunk-7V4BAHFT.js → chunk-LBWBGFHD.js} +1 -1
- package/chunks/{chunk-RKPHDO42.js → chunk-LDXZT3SG.js} +5 -5
- package/chunks/{chunk-BGFA2SAQ.js → chunk-LFOZ6AIH.js} +1 -1
- package/chunks/{chunk-4322TZID.js → chunk-LGQHT42X.js} +2 -2
- package/chunks/{chunk-PDXZ2CUO.js → chunk-M3O2XDHA.js} +1 -1
- package/chunks/{chunk-47K2NMP6.js → chunk-M3UC46LS.js} +1 -1
- package/chunks/{chunk-UFRY7WND.js → chunk-M7JLPTQI.js} +1 -1
- package/chunks/{chunk-SATEKHQP.js → chunk-MBUXP3IS.js} +1 -1
- package/chunks/{chunk-RN6JS263.js → chunk-MEZA3VVH.js} +1 -1
- package/chunks/{chunk-OBFKP7RI.js → chunk-MWN6TR36.js} +1 -1
- package/chunks/{chunk-VHJ43ZYJ.js → chunk-O7XRQWCG.js} +1 -1
- package/chunks/{chunk-H224LNV3.js → chunk-OYFRLT5E.js} +1 -1
- package/chunks/{chunk-3NWFV2YF.js → chunk-PMBGV76N.js} +1 -1
- package/chunks/{chunk-YFAPACDE.js → chunk-PVM4IVFL.js} +6 -6
- package/chunks/{chunk-7WS2EYMQ.js → chunk-PWHD4NK3.js} +1 -1
- package/chunks/{chunk-JZIQSEFO.js → chunk-Q54NROBX.js} +1 -1
- package/chunks/{chunk-FCLAPJ22.js → chunk-QE7R4DPT.js} +1 -1
- package/chunks/{chunk-J6TW7GNF.js → chunk-QIUTQICH.js} +1 -1
- package/chunks/{chunk-TWDCN5H2.js → chunk-QK63EULE.js} +1 -1
- package/chunks/{chunk-HZZT75LI.js → chunk-QTAC4W7J.js} +1 -1
- package/chunks/{chunk-P7DIAJNX.js → chunk-R7HBR4QQ.js} +1 -1
- package/chunks/{chunk-U2FJSKS3.js → chunk-RHEMFKMX.js} +1 -1
- package/chunks/{chunk-TRRY3QMM.js → chunk-RL57IU47.js} +1 -1
- package/chunks/{chunk-SPWDYRDH.js → chunk-S2OOQRLJ.js} +1 -1
- package/chunks/{chunk-QBRADQ7L.js → chunk-SWTMWNTZ.js} +1 -1
- package/chunks/{chunk-AZUDF52L.js → chunk-SXTKQHFZ.js} +1 -1
- package/chunks/{chunk-5RQRSPPD.js → chunk-T5S3MJIK.js} +1 -1
- package/chunks/{chunk-I3ORWQ2U.js → chunk-UDGDEIBB.js} +1 -1
- package/chunks/{chunk-EMDEBV33.js → chunk-UIFBF3E7.js} +1 -1
- package/chunks/{chunk-BGEMWNES.js → chunk-UQDPWI7D.js} +1 -1
- package/chunks/{chunk-I5LKOTZT.js → chunk-VON4MVIM.js} +1 -1
- package/chunks/{chunk-HJPO6MEW.js → chunk-W5D2T2JK.js} +1 -1
- package/chunks/{chunk-F6YYDRMH.js → chunk-WNGYYU67.js} +1 -1
- package/chunks/{chunk-S2GKUZZZ.js → chunk-WO3F62ZD.js} +1 -1
- package/chunks/{chunk-K7KW3ZJQ.js → chunk-WVY5Q6YY.js} +1 -1
- package/chunks/{chunk-GH6DPLWU.js → chunk-Y4Q667BW.js} +1 -1
- package/chunks/{chunk-FH74N7Y7.js → chunk-YJLMFUCS.js} +2 -2
- package/chunks/{chunk-C3Y2S5AM.js → chunk-YKHRCSKP.js} +1 -1
- package/chunks/{chunk-P4UJ7CXJ.js → chunk-YLIS36QA.js} +1 -1
- package/chunks/{chunk-4QIFOIBS.js → chunk-YVZ4XZRB.js} +1 -1
- package/chunks/{chunk-KGRD6G5J.js → chunk-Z27JJPKN.js} +1 -1
- package/chunks/{chunk-KOHHDB2L.js → chunk-ZCIS6MJZ.js} +1 -1
- package/chunks/{chunk-QNNDZYVW.js → chunk-ZHLQ222N.js} +1 -1
- package/chunks/{chunk-KWRZ3WJO.js → chunk-ZP7MTWMR.js} +1 -1
- package/chunks/{codex-subagent-executor-H44VDB5E.js → codex-subagent-executor-6OJVGF2S.js} +1 -1
- package/chunks/{config-utils-4X4SV4RL.js → config-utils-FI3A4QAN.js} +1 -1
- package/chunks/{contextCommand-4KVOHTAJ.js → contextCommand-YEBZQHG4.js} +1 -1
- package/chunks/{core-runtime-4RARI4NX.js → core-runtime-CFMHUAS7.js} +1 -1
- package/chunks/{create-sub-session-CNSRJFYG.js → create-sub-session-G26337FT.js} +1 -1
- package/chunks/{daemon-git-worktree-guard-6XQQPP2H.js → daemon-git-worktree-guard-ITU6NQIV.js} +1 -1
- package/chunks/{daemon-status-provider-PRTEQT5T.js → daemon-status-provider-CSWRGMRX.js} +1 -1
- package/chunks/{daemon-trust-policy-GXKJVZDU.js → daemon-trust-policy-IYD7NOGK.js} +1 -1
- package/chunks/{daemon-trust-policy-monitor-L2ORKHMM.js → daemon-trust-policy-monitor-OWUP5SYB.js} +1 -1
- package/chunks/{deferred-core-runtime-RZQFUSPX.js → deferred-core-runtime-CVCQU7O4.js} +1 -1
- package/chunks/{edit-W44XQCIS.js → edit-7YBQLILC.js} +1 -1
- package/chunks/{enterPlanMode-B456A2XO.js → enterPlanMode-L3PVSD2P.js} +1 -1
- package/chunks/{environment-DSGQSQFS.js → environment-BVEOYQHO.js} +1 -1
- package/chunks/{errors-KL725247.js → errors-VQWBGR6D.js} +1 -1
- package/chunks/{execution-tool-KT3EBWHG.js → execution-tool-P7CBXSGZ.js} +1 -1
- package/chunks/{execution-worker-LPQ4HMN4.js → execution-worker-RZXNYK4B.js} +1 -1
- package/chunks/{exitPlanMode-JLKS76IA.js → exitPlanMode-MBUTM3NW.js} +1 -1
- package/chunks/{fast-path-5UD52IHH.js → fast-path-T2FDUSHV.js} +1 -1
- package/chunks/{glob-LYA2H6X3.js → glob-RH7XXSYE.js} +1 -1
- package/chunks/{goal-tools-SHSIDLZX.js → goal-tools-K6XBCE5E.js} +1 -1
- package/chunks/{handleAutoUpdate-T4RE6CZN.js → handleAutoUpdate-PG7R3KPH.js} +1 -1
- package/chunks/{i18n-5DK327WA.js → i18n-EGTBMA3N.js} +1 -1
- package/chunks/{initializer-TJGE4OJA.js → initializer-RIKH4PCP.js} +1 -1
- package/chunks/{installationInfo-MZ62GDIC.js → installationInfo-BBADHZLD.js} +1 -1
- package/chunks/{interactive-mod-session-YCUBQ6RM.js → interactive-mod-session-7RDKAHZ4.js} +1 -1
- package/chunks/{list-4L3LYDQM.js → list-YEGWEHJX.js} +1 -1
- package/chunks/{llm-3JQWBZXV.js → llm-D3LHPY27.js} +4 -4
- package/chunks/{llm-content-generator-6UPJWPOM.js → llm-content-generator-BLTBMV66.js} +1 -1
- package/chunks/{loadedSettingsAdapter-STPKAFJG.js → loadedSettingsAdapter-PLGMKMFO.js} +1 -1
- package/chunks/{local-execution-environment-IE5BOI7Y.js → local-execution-environment-4LDKFNC4.js} +1 -1
- package/chunks/{loggingContentGenerator-4KKWPZJA.js → loggingContentGenerator-376R7DRI.js} +1 -1
- package/chunks/{manage-memory-CRV5SXZZ.js → manage-memory-2ZTIVKNU.js} +1 -1
- package/chunks/{managed-execution-engine-FHLEWVND.js → managed-execution-engine-5LOM3MXG.js} +1 -1
- package/chunks/{managed-npm-update-BRHPOKDU.js → managed-npm-update-2C5JYEXW.js} +1 -1
- package/chunks/{managed-runtime-attestation-worker-GIQKZ5BH.js → managed-runtime-attestation-worker-R2FECMZK.js} +1 -1
- package/chunks/{managed-runtime-bootstrap-P72BT46H.js → managed-runtime-bootstrap-KPLGH4UE.js} +1 -1
- package/chunks/{managed-runtime-session-worker-IYCJDB5K.js → managed-runtime-session-worker-EVKNPK3V.js} +1 -1
- package/chunks/{managed-runtime-ssh-worker-ONT4V5ZG.js → managed-runtime-ssh-worker-IA4HZ3PD.js} +1 -1
- package/chunks/{mcp-NXCQVE2Y.js → mcp-S67IJLI6.js} +1 -1
- package/chunks/{model-call-collection-3DNL45M5.js → model-call-collection-6OGPDTPG.js} +1 -1
- package/chunks/{model-configuration-6HRNYBWV.js → model-configuration-6RWVBOQS.js} +1 -1
- package/chunks/{modelConfigUtils-SKBN64ZW.js → modelConfigUtils-M3TVVYAO.js} +1 -1
- package/chunks/{monitor-7I7Q73UR.js → monitor-ZHOFTN7N.js} +1 -1
- package/chunks/{nonInteractiveCli-YLYRJUBE.js → nonInteractiveCli-6SUGPTJ4.js} +1 -1
- package/chunks/{nonInteractiveToolExecutor-U2ASWT63.js → nonInteractiveToolExecutor-SAHBGO3A.js} +1 -1
- package/chunks/{notebook-edit-WAD7IQCF.js → notebook-edit-ETUOQH6G.js} +1 -1
- package/chunks/{omni-POUUDVU3.js → omni-HV2UBGMZ.js} +1 -1
- package/chunks/{openaiContentGenerator-L7X6IVPL.js → openaiContentGenerator-RZCG7E4M.js} +1 -1
- package/chunks/{openaiResponsesContentGenerator-7XCMFI6P.js → openaiResponsesContentGenerator-X23L5JV3.js} +1 -1
- package/chunks/{pidfile-MQQT2ZDA.js → pidfile-26WXQCHG.js} +1 -1
- package/chunks/{processUtils-OZLF72NC.js → processUtils-WXLFGNBT.js} +1 -1
- package/chunks/{prompt-terminal-ledger-IYUF6SUU.js → prompt-terminal-ledger-EIZZHF4A.js} +1 -1
- package/chunks/{qwenContentGenerator-DKH3ILUO.js → qwenContentGenerator-GOY7Y6KH.js} +1 -1
- package/chunks/{reactive-degrade-KSNGHMBN.js → reactive-degrade-MNMTTHO5.js} +1 -1
- package/chunks/{read-file-VEELW4OQ.js → read-file-OJNGPNTQ.js} +1 -1
- package/chunks/{resumeHistoryUtils-4SFDTBXU.js → resumeHistoryUtils-QWOWF4VY.js} +1 -1
- package/chunks/{review-QA6HRLVU.js → review-5S24HP2V.js} +1 -1
- package/chunks/{ripGrep-4J6ASSE3.js → ripGrep-Y4PY2MQF.js} +1 -1
- package/chunks/{run-qwen-serve-EJ67LA5O.js → run-qwen-serve-EOUUDZUK.js} +2 -2
- package/chunks/{runtime-6E2FSB5U.js → runtime-ZBPOQX6E.js} +1 -1
- package/chunks/{sandboxConfig-4VE4LNRI.js → sandboxConfig-R7KDS3P5.js} +1 -1
- package/chunks/{scheduled-tasks-GM5EJMK7.js → scheduled-tasks-Q6V7D6K6.js} +1 -1
- package/chunks/{scheduler-HOSVIIOE.js → scheduler-EBQY6BOK.js} +1 -1
- package/chunks/{search-memory-HEAQCHIK.js → search-memory-HX6E23JC.js} +1 -1
- package/chunks/{send-message-FAQ7XEZ5.js → send-message-OZCCCH2F.js} +1 -1
- package/chunks/{serve-VNKPOWSW.js → serve-CMGCI4BK.js} +1 -1
- package/chunks/{server-U2XBJLOV.js → server-7LOAKPDN.js} +3 -3
- package/chunks/{session-AZGROSFX.js → session-LVQYZSJE.js} +1 -1
- package/chunks/{session-attachments-root-6M2ECUNK.js → session-attachments-root-NWG7JOMN.js} +1 -1
- package/chunks/{session-execution-engine-selector-PYDVOSJF.js → session-execution-engine-selector-PHH47ZMA.js} +1 -1
- package/chunks/{session-pr-refresh-3IS7DLEV.js → session-pr-refresh-5IACZPCY.js} +1 -1
- package/chunks/{sessionService-3FWNA4ZB.js → sessionService-7PFAWLHC.js} +1 -1
- package/chunks/{settings-VHKT7JJC.js → settings-CPZBOHN5.js} +1 -1
- package/chunks/{shell-TYOPVB7H.js → shell-A7NLPS2W.js} +1 -1
- package/chunks/{skill-GJQIE5AX.js → skill-VGANGVOD.js} +1 -1
- package/chunks/{skill-settings-76NI6SF3.js → skill-settings-TSZO3X6N.js} +1 -1
- package/chunks/{spawnChannel-FMSYLDKB.js → spawnChannel-2JQYNQKT.js} +1 -1
- package/chunks/{standalone-update-BPZQDQHD.js → standalone-update-QXC3RM6I.js} +1 -1
- package/chunks/{start-opentui-ui-X7XYV5N3.js → start-opentui-ui-BKJ4JHVK.js} +1 -1
- package/chunks/{startInteractiveUI-UZDF4JUB.js → startInteractiveUI-4QIPR7ZY.js} +1 -1
- package/chunks/{team-create-RFZNEF76.js → team-create-5MU6BGXX.js} +1 -1
- package/chunks/{team-plan-approval-MGW3JGSC.js → team-plan-approval-NZUJ6FSA.js} +1 -1
- package/chunks/{terminal-image-renderer-3UED5GZV.js → terminal-image-renderer-CTMJULJ2.js} +1 -1
- package/chunks/{theme-manager-SF6FSSZW.js → theme-manager-6H7GA6QR.js} +1 -1
- package/chunks/{tool-call-W2CJR74U.js → tool-call-XG4CAD5X.js} +1 -1
- package/chunks/{tool-result-media-XSFON2ZQ.js → tool-result-media-RJ5ONO7R.js} +1 -1
- package/chunks/{tool-search-7GY5YTOU.js → tool-search-KBINGEWV.js} +1 -1
- package/chunks/{total-session-admission-OATGW6M5.js → total-session-admission-XNWYCO7G.js} +1 -1
- package/chunks/{trustedFolders-AM4PSGUB.js → trustedFolders-JT5MOB3A.js} +1 -1
- package/chunks/{update-relaunch-YKY52XUT.js → update-relaunch-HXMQI3HO.js} +1 -1
- package/chunks/{updateCheck-RKQ5CPZM.js → updateCheck-XWE3TWL5.js} +1 -1
- package/chunks/{upload-config-CBT7ARZY.js → upload-config-ET7NRHU7.js} +1 -1
- package/chunks/{useAutoAcceptIndicator-Z3YWPUNO.js → useAutoAcceptIndicator-TPMYKNJX.js} +1 -1
- package/chunks/{validateNonInterActiveAuth-7CQHU2RF.js → validateNonInterActiveAuth-U52KMEDS.js} +1 -1
- package/chunks/{version-N2OB6KWP.js → version-CW4RTJ3H.js} +1 -1
- package/chunks/{web-fetch-L5XCBCBA.js → web-fetch-UPMJ3XIZ.js} +1 -1
- package/chunks/{web-search-4EHUA3LJ.js → web-search-PXABWQVC.js} +1 -1
- package/chunks/{workflow-FGAUAYIP.js → workflow-UQ4V3NBZ.js} +1 -1
- package/chunks/{workflow-ancestor-trust-F7RRN6I3.js → workflow-ancestor-trust-QII5KTUJ.js} +1 -1
- package/chunks/{workspace-agents-QW4TKC52.js → workspace-agents-Q3KKMDX2.js} +1 -1
- package/chunks/{workspace-providers-status-MFSZT3YA.js → workspace-providers-status-3ASB64FB.js} +1 -1
- package/chunks/{workspace-registration-store-WQRDSIEI.js → workspace-registration-store-2NPD6U3B.js} +1 -1
- package/chunks/{workspace-registry-FXZFRSCH.js → workspace-registry-6QJKRCDR.js} +1 -1
- package/chunks/{workspace-runtime-coordinator-LJ5YAT3A.js → workspace-runtime-coordinator-ZXUWDQIB.js} +1 -1
- package/chunks/{workspace-service-U632SUWU.js → workspace-service-YPYTYYUN.js} +1 -1
- package/chunks/{workspace-skills-status-M7YXM3LF.js → workspace-skills-status-VTFHQ6R7.js} +1 -1
- package/chunks/{workspace-trust-reconciler-NLJGGI4K.js → workspace-trust-reconciler-52CZVPKH.js} +1 -1
- package/chunks/{write-file-BJCKSXX7.js → write-file-FDBR76G5.js} +1 -1
- package/chunks/{zoom-image-TLJPD4DB.js → zoom-image-MYKWCCXO.js} +1 -1
- package/cli.js +2 -2
- package/execution-worker.js +1 -1
- package/export-transcript-document.js +1 -1
- package/package.json +4 -4
- package/vendor/landlock-run/arm64-linux/qwen-landlock-run +0 -0
- package/vendor/landlock-run/x64-linux/qwen-landlock-run +0 -0
- package/vendor/ripgrep/arm64-darwin/rg +0 -0
- package/vendor/ripgrep/arm64-linux/rg +0 -0
- package/vendor/ripgrep/x64-darwin/rg +0 -0
- package/vendor/ripgrep/x64-linux/rg +0 -0
- package/vendor/tree-sitter/tree-sitter-bash.wasm +0 -0
- package/vendor/tree-sitter/tree-sitter.wasm +0 -0
- package/web-shell/assets/{PierreFilePreview-D9tbdFw8.js → PierreFilePreview-DGTp45Z4.js} +1 -1
- package/web-shell/assets/{SpreadsheetPreview-CeFAk2s-.js → SpreadsheetPreview-DVC_YVei.js} +1 -1
- package/web-shell/assets/{WorkspaceFileBrowser-iaURw8SR.js → WorkspaceFileBrowser-DaQNpS06.js} +1 -1
- package/web-shell/assets/{abnfDiagram-VCTEODGH-Z4CT1NCF.js → abnfDiagram-VCTEODGH-wJbiOoPK.js} +1 -1
- package/web-shell/assets/{agents-route-B7o2Rq-a.js → agents-route-DUhhA1KI.js} +1 -1
- package/web-shell/assets/{arc-DcHBdUJQ.js → arc-CvpNMy1d.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DRDhEC81.js → architectureDiagram-5GKGNRK7-DIhi3dIz.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-CYRE6WIc.js → blockDiagram-NRAW4CY4-CoeyTlVJ.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-CIM8N_Sj.js → c4Diagram-UCG6FXSJ-BYoK_I9M.js} +1 -1
- package/web-shell/assets/channel-DvtGOCg6.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-Bbfka9Fe.js → chunk-2Q5K7J3B-BeD4GwPg.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-C02zF3RY.js → chunk-5VM5RSS4-BpkJsB_y.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-Dn0wRD2F.js → chunk-F27PBJKO-BROEWQ1J.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-Dwpl3l0W.js → chunk-G27WJ6UU-DA8Wtppt.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-sQbzSoTR.js → chunk-JWPE2WC7-GqB-QFh5.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-DNlNDtfr.js → chunk-LCL6LL3I-DIPUwYsX.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BOgf1Dl3.js → chunk-POPQ4Y6H-DbnU-jxX.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-DOofWP00.js → chunk-SVP7TREG-DvH7bQ-w.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-Bj9FxhWU.js → chunk-XXDRQBXY-DdVWVo3U.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-9NR5W1rE.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-9NR5W1rE.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CUlPjyww.js → cose-bilkent-JH36ORCC-JgMKxP9H.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-5noArzI7.js → cynefin-OW5HDTMX-BVUpNgVm.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-DELvTqmf.js → cynefinDiagram-5FMLGOSQ-CxAdk-iS.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-CAL6Z3hL.js → dagre-3AP2YEHR-CvXWkM86.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DQC2gaIi.js → diagram-S7CK7UJ4-DD_PS4nm.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-CkU6M-3R.js → diagram-UQ7AKVKN-EVZkTODD.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-CvHpHwVx.js → diagram-VSXAHHWV-CGZc1pZU.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-D9l5F9iB.js → diagram-VX7I27RA-DjNql499.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-DW-VFvYx.js → diagram-Z3DM3KII-CCa0WtmR.js} +1 -1
- package/web-shell/assets/{docx-preview-8MQfOGQh.js → docx-preview-DpVElxvj.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-C0Q71wC_.js → ebnfDiagram-PWID7BFC-W2hoOJZF.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-DWDLRh1S.js → erDiagram-SSCWMZ5O-Dz5NxxEb.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-CVzJnl1P.js → flowDiagram-A5DVABFB-BTMAn8b5.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-B320pcgR.js → ganttDiagram-EL5Y4UJY-BaFrd5ZY.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Di4uZh-J.js → gitGraphDiagram-WWUBYQGX-IlmdUqRk.js} +1 -1
- package/web-shell/assets/{index-Csr8Hx_O.js → index-C2ez0ZjE.js} +1 -1
- package/web-shell/assets/{index-C9BecA_H.js → index-Cs-XBNmB.js} +101 -101
- package/web-shell/assets/{infoDiagram-RXCK75RN-CbafhxET.js → infoDiagram-RXCK75RN-BHs9kpar.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-DrQuIDeR.js → ishikawaDiagram-5VMMS53U-DWCEQ85v.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BschmjBj.js → journeyDiagram-EYS64GPL-RTDAw9yc.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-B7x9BU9N.js → kanban-definition-3QL26DDD-B7Nl9bq6.js} +1 -1
- package/web-shell/assets/{layout-BewPaOyO.js → layout-BabjFEb1.js} +1 -1
- package/web-shell/assets/{linear-CnLILCVp.js → linear-CZuGjuQd.js} +1 -1
- package/web-shell/assets/{mermaid.core-Csj9KPfJ.js → mermaid.core-CK78bIGt.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-CIGTi5gg.js → mindmap-definition-FBJOCRG2-BbcCi_jP.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-CuWBRQzb.js → pegDiagram-XKGWAZYB-DpLQ7u8i.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-Co5ukXCE.js → pieDiagram-E7YTZNPT-BpWFVtM0.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-B0hzjh6o.js → quadrantDiagram-AXDQQJYC-CGzYlaN1.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-nhkJB0xD.js → railroadDiagram-O6MQD6OU-BNQYW-Zi.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-C7NpxjVR.js → requirementDiagram-EFPCY7ZU-C4fCdIDW.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CUWlnhZC.js → sankeyDiagram-P5KCCOFB-BvbbAnMA.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-BoykH0_J.js → sequenceDiagram-WJ2MYXX4-DGXNc6E1.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-aF-PkSe5.js → sizeCapture-X5ZJPWSS-C4W45Xf5.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-g5q0b922.js → stateDiagram-HBIQ2CUA-D3q0fen-.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-XKoYIi05.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-BbASszfe.js → swimlanes-XN3QIQJK-D8n-ResR.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-C7qJMSzs.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-AXIV0TJJ.js → timeline-definition-24CTP7MA-Cio4y1mM.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-B-E0rj1h.js → vennDiagram-4TSXK5OY-DVlg0xnc.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-DiOOYJ2D.js → wardleyDiagram-VM6X3IG4-CgeIsimQ.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-De_z7HkS.js → xychartDiagram-S5SC5T6Z-UXjyTLnU.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-Bwr9aS_E.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-BmY8Mmyo.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-BmY8Mmyo.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CTOjUMow.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Bz6ia3oL.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{FileOperationEvent,getFileReadDefaultPermission,logFileOperation}from"./chunk-DR3HLUJ5.js";import"./chunk-UQFTXKEB.js";import"./chunk-HDGTWJ24.js";import"./chunk-W5NWIGKO.js";import"./chunk-6C4YRBLR.js";import{getSpecificMimeType}from"./chunk-JU2HHQR5.js";import"./chunk-37KFLBKZ.js";import"./chunk-PWOQASXT.js";import{ImageViewError,renderNormalizedImageCrop}from"./chunk-Z6AR5XE5.js";import"./chunk-7U7CWMP7.js";import"./chunk-77V43YOE.js";import"./chunk-SLD7H2FA.js";import"./chunk-7DOOXUDG.js";import"./chunk-P3RLMP7L.js";import"./chunk-R54OXALA.js";import"./chunk-
|
|
3
|
+
import{FileOperationEvent,getFileReadDefaultPermission,logFileOperation}from"./chunk-DR3HLUJ5.js";import"./chunk-UQFTXKEB.js";import"./chunk-HDGTWJ24.js";import"./chunk-W5NWIGKO.js";import"./chunk-6C4YRBLR.js";import{getSpecificMimeType}from"./chunk-JU2HHQR5.js";import"./chunk-37KFLBKZ.js";import"./chunk-PWOQASXT.js";import{ImageViewError,renderNormalizedImageCrop}from"./chunk-Z6AR5XE5.js";import"./chunk-7U7CWMP7.js";import"./chunk-77V43YOE.js";import"./chunk-SLD7H2FA.js";import"./chunk-7DOOXUDG.js";import"./chunk-P3RLMP7L.js";import"./chunk-R54OXALA.js";import"./chunk-PWHD4NK3.js";import"./chunk-TAAJ7TDB.js";import"./chunk-4ZBZL23U.js";import"./chunk-ZZZAYAJW.js";import"./chunk-XMANRGPK.js";import"./chunk-XHV5HLJS.js";import"./chunk-KQX4H2D3.js";import"./chunk-BWU6AH5O.js";import"./chunk-BMHYEQTI.js";import"./chunk-4YLXNRRH.js";import{BaseDeclarativeTool,BaseToolInvocation}from"./chunk-O5EKX7LG.js";import"./chunk-TM6ZCBR7.js";import"./chunk-I6S7NGX3.js";import"./chunk-SVAPAMMG.js";import"./chunk-3KUHQGOS.js";import{ToolDisplayNames,ToolNames}from"./chunk-2UNFJQ2D.js";import"./chunk-JAUJI56S.js";import"./chunk-I4H7NUVP.js";import"./chunk-EPODBRBP.js";import{makeRelative,shortenPath,unescapePath}from"./chunk-OKN3Z5C5.js";import"./chunk-XYB7GC5U.js";import"./chunk-I7L2TX4M.js";import"./chunk-MK3OONRA.js";import"./chunk-COGTQ5KZ.js";import{init_esbuild_shims}from"./chunk-VKDAXTCZ.js";import{__name}from"./chunk-KBWJGX7I.js";init_esbuild_shims();import path from"node:path";function failureResult(message,type){return{llmContent:message,returnDisplay:message,error:{message,type}}}__name(failureResult,"failureResult");var ZoomImageInvocation=class extends BaseToolInvocation{constructor(config,params){super(params);this.config=config}static{__name(this,"ZoomImageInvocation")}getDescription(){const relativePath=makeRelative(this.params.file_path,this.config.getTargetDir());return`${shortenPath(relativePath)} (${this.params.x1},${this.params.y1})-(${this.params.x2},${this.params.y2})`}toolLocations(){return[{path:this.params.file_path}]}getDefaultPermission(){return Promise.resolve(getFileReadDefaultPermission(this.config,this.params.file_path))}async execute(signal){signal.throwIfAborted();if(this.config.getEffectiveInputModalities().image!==true){return failureResult("zoom_image requires a model that accepts image inputs, but the current model does not. Switch to an image-capable model to zoom images.","read_content_failure")}let view;try{view=await renderNormalizedImageCrop(this.params.file_path,this.params,signal)}catch(error){signal.throwIfAborted();const message=error instanceof Error?error.message:"Failed to decode image.";let errorType="read_content_failure";if(error instanceof ImageViewError){if(error.code==="file_not_found"){errorType="file_not_found"}else if(error.code==="target_is_directory"){errorType="target_is_directory"}else if(error.code==="target_not_regular_file"){errorType="target_not_regular_file"}else if(error.code==="source_too_large"||error.code==="output_too_large"){errorType="file_too_large"}}return failureResult(message,errorType)}const text=`Zoomed normalized region (${this.params.x1},${this.params.y1})-(${this.params.x2},${this.params.y2}) from ${this.params.file_path}. Oriented source: ${view.sourceWidth}x${view.sourceHeight}; source crop: ${view.selectedWidth}x${view.selectedHeight}; returned view: ${view.outputWidth}x${view.outputHeight}.`;const llmContent=[{text},{inlineData:{mimeType:view.mimeType,data:view.bytes.toString("base64")}}];logFileOperation(this.config,new FileOperationEvent(ZoomImageTool.Name,"read",void 0,getSpecificMimeType(this.params.file_path),path.extname(this.params.file_path)));return{llmContent,returnDisplay:`Zoomed image: ${shortenPath(makeRelative(this.params.file_path,this.config.getTargetDir()))}`}}};var ZoomImageTool=class _ZoomImageTool extends BaseDeclarativeTool{constructor(config){super(_ZoomImageTool.Name,ToolDisplayNames.ZOOM_IMAGE,"Crops a region from a full-resolution static image and returns a magnified view. Coordinates are integers normalized from 0 to 1000 against the displayed image, with (0,0) at top-left and (1000,1000) at bottom-right. Use this when text, numbers, lines, or other details are too small to inspect confidently. You may call it repeatedly; coordinates always refer to the original full-resolution image, never to a previously returned view.","read",{type:"object",properties:{file_path:{type:"string",description:"Absolute path to a static PNG, JPEG, or WebP image."},x1:{type:"integer",minimum:0,maximum:1e3,description:"Left edge in normalized image coordinates."},y1:{type:"integer",minimum:0,maximum:1e3,description:"Top edge in normalized image coordinates."},x2:{type:"integer",minimum:0,maximum:1e3,description:"Right edge in normalized image coordinates."},y2:{type:"integer",minimum:0,maximum:1e3,description:"Bottom edge in normalized image coordinates."}},required:["file_path","x1","y1","x2","y2"]},true,false,true,false,"zoom crop magnify image picture screenshot chart diagram small text detail");this.config=config}static{__name(this,"ZoomImageTool")}static Name=ToolNames.ZOOM_IMAGE;validateToolParamValues(params){params.file_path=unescapePath(params.file_path.trim());if(!params.file_path){return"The 'file_path' parameter must be non-empty."}if(!path.isAbsolute(params.file_path)){return`File path must be absolute, but was relative: ${params.file_path}.`}if(params.x1>=params.x2){return"x1 must be less than x2."}if(params.y1>=params.y2){return"y1 must be less than y2."}const fileService=this.config.getFileService();if(fileService.shouldQwenIgnoreFile(params.file_path)){return`File path '${params.file_path}' is ignored by ${fileService.getQwenIgnoreFileDisplayForPath(params.file_path)} pattern(s).`}return null}createInvocation(params){return new ZoomImageInvocation(this.config,params)}};export{ZoomImageTool};
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2026 Qwen
|
package/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// Force strict mode and setup for ESM
|
|
3
3
|
"use strict";
|
|
4
|
-
import{handleUncaughtException,isExpectedPtyRaceError}from"./chunks/chunk-CHSXQ2KG.js";import{clearInheritedPeerMessagingEnv}from"./chunks/chunk-NPAX2UFU.js";import{initCpuProfiler}from"./chunks/chunk-
|
|
5
|
-
`)}__name(writeStdoutLine,"writeStdoutLine");function hasFlag(argv,long,short){for(let i=0;i<argv.length;i++){const arg=argv[i];if(arg==="--"){return false}if(BASE_VALUE_FLAGS.has(arg)){i++;continue}i=skipOptionValues(argv,i);if(arg===long||arg===short){return true}}return false}__name(hasFlag,"hasFlag");function hasVersionToken(argv){for(let i=0;i<argv.length;i++){const arg=argv[i];if(arg==="--"){return false}if(BASE_VALUE_FLAGS.has(arg)){i++;continue}if(arg==="--version"||arg==="-v"){return true}}return false}__name(hasVersionToken,"hasVersionToken");async function buildTopLevelHelpParser(){const{default:yargs}=await import("./chunks/yargs-QJKU336Y.js");const parser=yargs([]).locale("en").scriptName("qwen").usage(TOP_LEVEL_USAGE).version("0.25.4-preview.
|
|
4
|
+
import{handleUncaughtException,isExpectedPtyRaceError}from"./chunks/chunk-CHSXQ2KG.js";import{clearInheritedPeerMessagingEnv}from"./chunks/chunk-NPAX2UFU.js";import{initCpuProfiler}from"./chunks/chunk-MBUXP3IS.js";import{initStartupProfiler}from"./chunks/chunk-H4XFFVZ2.js";import{normalizeServeFastPathArgv}from"./chunks/chunk-X7QN6R6K.js";import{DEFAULT_COMMAND,DEFAULT_COMMAND_DESC,QUERY_POSITIONAL,TOP_LEVEL_DEPRECATED_OPTIONS,TOP_LEVEL_HELP_OPTIONS,TOP_LEVEL_USAGE}from"./chunks/chunk-FUK4Y5AJ.js";import"./chunks/chunk-7DSJE3CL.js";import"./chunks/chunk-SLPJ4OII.js";import"./chunks/chunk-4YLXNRRH.js";import{FatalError}from"./chunks/chunk-XYB7GC5U.js";import{init_esbuild_shims}from"./chunks/chunk-VKDAXTCZ.js";import{__name}from"./chunks/chunk-KBWJGX7I.js";init_esbuild_shims();import{accessSync,chmodSync,constants,existsSync,realpathSync,statSync}from"node:fs";import{fileURLToPath,pathToFileURL}from"node:url";initStartupProfiler();initCpuProfiler();var TOP_LEVEL_COMMANDS=[["agents <command>","Session agents: join a coordinator as a runtime"],["auth","Configure authentication (removed)"],["batch <command>","Run many independent requests through the DashScope Batch API"],["board <command>","Share work with other agents through a board"],["channel <command>","Manage messaging channels (Telegram, Discord, etc.)"],["extensions <command>","Manage Qwen Code extensions."],["hooks","Manage Qwen Code hooks (use /hooks in interactive mode)."],["mcp","Manage MCP servers"],["review <command>","Run a review non-interactively (`run`), plus the internal helpers used by the /review skill (PR worktree setup, context fetch, rules loading, presubmit checks, cleanup)"],["sandbox [cmd...]","Inspect the sandbox backend, or run a command inside it"],["serve","Run Qwen Code as a local HTTP daemon (Stage 1 experimental: --http-bridge)"],["daemon <command>","Inspect and control local qwen serve daemons"],["sessions <command>","Manage Qwen Code sessions"],["update","Check for Qwen Code updates and install if available"]];var MCP_COMMANDS=[["add <name> <commandOrUrl> [args...]","Add a server"],["remove <name>","Remove a server"],["list","List all configured MCP servers"],["reconnect [server-name]","Reconnect to MCP servers"],["approve [name]","Approve a pending MCP server"],["reject [name]","Reject a pending MCP server"]];function flagName(name){return name.length===1?`-${name}`:`--${name}`}__name(flagName,"flagName");function optionAliases(config){const alias=config.alias;if(!alias){return[]}return typeof alias==="string"?[alias]:[...alias]}__name(optionAliases,"optionAliases");function optionFlagNames(option,config){return[flagName(option),...optionAliases(config).map(flagName)]}__name(optionFlagNames,"optionFlagNames");var VALUE_FLAGS=new Set(TOP_LEVEL_HELP_OPTIONS.flatMap(([option,config])=>config.type==="string"||config.type==="number"||config.type==="array"?optionFlagNames(option,config):[]));VALUE_FLAGS.add("--sandbox-session-id");var BASE_VALUE_FLAGS=new Set(["--model","-m","--fallback-model","--prompt","-p","--prompt-interactive","-i","--output-format","-o","--resume","-r"]);var KNOWN_FAST_PATH_FLAGS=new Set(TOP_LEVEL_HELP_OPTIONS.flatMap(([option,config])=>optionFlagNames(option,config)));for(const flag of["--help","-h","--version","-v"]){KNOWN_FAST_PATH_FLAGS.add(flag)}KNOWN_FAST_PATH_FLAGS.add("--sandbox-session-id");KNOWN_FAST_PATH_FLAGS.add("--experimental-acp");KNOWN_FAST_PATH_FLAGS.add("--experimental-skills");function isValueToken(arg){return arg!==void 0&&arg!=="--"&&!arg.startsWith("-")}__name(isValueToken,"isValueToken");function argvSafeForFastPath(argv){for(let i=0;i<argv.length;i++){const token=argv[i];if(token==="--"){return true}if(!token.startsWith("-")){return false}if(!KNOWN_FAST_PATH_FLAGS.has(token)){return false}i=skipOptionValues(argv,i)}return true}__name(argvSafeForFastPath,"argvSafeForFastPath");function skipOptionValues(argv,index){const raw=argv[index];const eq=raw.indexOf("=");const flag=eq===-1?raw:raw.slice(0,eq);if(!VALUE_FLAGS.has(flag)){return index}return eq===-1&&isValueToken(argv[index+1])?index+1:index}__name(skipOptionValues,"skipOptionValues");function writeStdoutLine(line){process.stdout.write(line.endsWith("\n")?line:`${line}
|
|
5
|
+
`)}__name(writeStdoutLine,"writeStdoutLine");function hasFlag(argv,long,short){for(let i=0;i<argv.length;i++){const arg=argv[i];if(arg==="--"){return false}if(BASE_VALUE_FLAGS.has(arg)){i++;continue}i=skipOptionValues(argv,i);if(arg===long||arg===short){return true}}return false}__name(hasFlag,"hasFlag");function hasVersionToken(argv){for(let i=0;i<argv.length;i++){const arg=argv[i];if(arg==="--"){return false}if(BASE_VALUE_FLAGS.has(arg)){i++;continue}if(arg==="--version"||arg==="-v"){return true}}return false}__name(hasVersionToken,"hasVersionToken");async function buildTopLevelHelpParser(){const{default:yargs}=await import("./chunks/yargs-QJKU336Y.js");const parser=yargs([]).locale("en").scriptName("qwen").usage(TOP_LEVEL_USAGE).version("0.25.4-preview.1").alias("v","version").help().alias("h","help").strict().demandCommand(0,0);for(const[option,config]of TOP_LEVEL_HELP_OPTIONS){parser.option(option,config)}for(const[option,message]of Object.entries(TOP_LEVEL_DEPRECATED_OPTIONS)){parser.deprecateOption(option,message)}parser.command(DEFAULT_COMMAND,DEFAULT_COMMAND_DESC,defaultCmd=>defaultCmd.positional("query",QUERY_POSITIONAL));for(const[command,description]of TOP_LEVEL_COMMANDS){parser.command(command,description)}parser.wrap(parser.terminalWidth());return parser}__name(buildTopLevelHelpParser,"buildTopLevelHelpParser");function firstPositionalArg(argv){for(let i=0;i<argv.length;i++){const arg=argv[i];if(arg==="--"){return void 0}if(BASE_VALUE_FLAGS.has(arg)){i++;continue}i=skipOptionValues(argv,i);if(!arg.startsWith("-")){return arg}}return void 0}__name(firstPositionalArg,"firstPositionalArg");function normalizeMcpFastPathArgv(argv){if(argv[0]==="mcp"&&argv[1]==="--"){return[argv[0],...argv.slice(2)]}return argv}__name(normalizeMcpFastPathArgv,"normalizeMcpFastPathArgv");function resolveBootstrapRoute(rawArgv){const argv=normalizeServeFastPathArgv(rawArgv);if(hasVersionToken(argv)){return"version"}const fastPathSafe=argvSafeForFastPath(argv);const firstPositional=firstPositionalArg(argv);if(fastPathSafe&&hasFlag(argv,"--help","-h")&&firstPositional===void 0){return"help"}const firstArg=argv[0];if(firstArg==="serve"){return"serve"}if(firstArg==="mcp"){return"mcp"}if(firstArg==="managed-runtime-worker"){return"managed-runtime-worker"}if(firstArg==="agents"&&argv[1]==="session-send-mcp"){return"session-send-mcp"}return"default"}__name(resolveBootstrapRoute,"resolveBootstrapRoute");async function printTopLevelHelp(){const help=await(await buildTopLevelHelpParser()).getHelp();writeStdoutLine(help)}__name(printTopLevelHelp,"printTopLevelHelp");function printMcpHelp(){const lines=["Usage: qwen mcp <command>","","Manage MCP servers","","Commands:",...MCP_COMMANDS.map(([command,description])=>` qwen mcp ${command} ${description}`)];writeStdoutLine(lines.join("\n"))}__name(printMcpHelp,"printMcpHelp");async function printBootstrapVersion(){if("0.25.4-preview.1"){writeStdoutLine("0.25.4-preview.1");return}const{getCliVersion}=await import("./chunks/version-CW4RTJ3H.js");writeStdoutLine(await getCliVersion())}__name(printBootstrapVersion,"printBootstrapVersion");async function runMcpFastPath(rawArgv){const argv=normalizeMcpFastPathArgv(normalizeServeFastPathArgv(rawArgv));const hasSubcommand=argv.length>1&&!argv[1].startsWith("-");if(!hasSubcommand){printMcpHelp();return}const[{default:yargsInstance},{mcpCommand}]=await Promise.all([import("./chunks/yargs-QJKU336Y.js"),import("./chunks/mcp-S67IJLI6.js")]);const parser=yargsInstance([]).scriptName("qwen").command(mcpCommand).version(false).help().alias("h","help").strict().strictCommands().demandCommand(1,"You need at least one command before continuing.").fail((message,error,yargs)=>{writeStderrLine(message||error?.message||"Unknown argument error");yargs.showHelp();process.exitCode=1}).exitProcess(false);if(hasFlag(argv.slice(2),"--help","-h")){await parseYargsHelp(parser,argv);return}await parseYargsCommand(parser,argv)}__name(runMcpFastPath,"runMcpFastPath");async function parseYargsHelp(parser,argv){await new Promise((resolve,reject)=>{parser.parse(argv,(error,_argv,output)=>{if(output){writeStdoutLine(output)}if(error){reject(error);return}resolve()})})}__name(parseYargsHelp,"parseYargsHelp");async function parseYargsCommand(parser,argv){await new Promise((resolve,reject)=>{void Promise.resolve(parser.parse(argv,(error,_argv,output)=>{if(error instanceof FatalError){reject(error);return}if(output)writeStdoutLine(output);if(error){writeStderrLine(error.message);process.exitCode=1}resolve()})).catch(reject)})}__name(parseYargsCommand,"parseYargsCommand");async function runCliEntry(rawArgv=process.argv.slice(2)){if(rawArgv[0]==="managed-runtime-bootstrap"&&(rawArgv.length===1||rawArgv.length===2&&rawArgv[1]==="--help")){const{runManagedRuntimeBootstrap}=await import("./chunks/managed-runtime-bootstrap-KPLGH4UE.js");await runManagedRuntimeBootstrap(rawArgv[1]==="--help");return}if(rawArgv.length===2&&rawArgv[0]==="managed-runtime-bootstrap-worker"){const{runManagedRuntimeBootstrapWorker}=await import("./chunks/managed-runtime-ssh-worker-IA4HZ3PD.js");await runManagedRuntimeBootstrapWorker(rawArgv[1]);return}if(rawArgv.length===1&&rawArgv[0]==="--workspace-recovery-worker"){const{runWorkspaceRecoveryWorker}=await import("./chunks/workspace-recovery-worker-F5XEGULQ.js");await runWorkspaceRecoveryWorker();return}clearInheritedPeerMessagingEnv();const managedUpdateVersion=process.env["QWEN_CODE_MANAGED_NPM_UPDATE_VERSION"];if(managedUpdateVersion){delete process.env["QWEN_CODE_MANAGED_NPM_UPDATE_VERSION"];delete process.env["QWEN_CODE_EXTERNAL_TOOL_GUARD_TOKEN"];const{installManagedNpmUpdate}=await import("./chunks/managed-npm-update-2C5JYEXW.js");await installManagedNpmUpdate(managedUpdateVersion);return}const argv=normalizeServeFastPathArgv(rawArgv);const route=resolveBootstrapRoute(argv);if(route!=="serve"){delete process.env["QWEN_CODE_EXTERNAL_TOOL_GUARD_TOKEN"]}if(route==="version"){await printBootstrapVersion();return}if(route==="serve"){const{tryRunServeFastPath}=await import("./chunks/fast-path-T2FDUSHV.js");if(await tryRunServeFastPath(argv)){return}}else if(route==="mcp"){await runMcpFastPath(argv);return}else if(route==="managed-runtime-worker"){const containerBoot=argv.length===3&&argv[1]==="--container-boot"?argv[2]:void 0;if(argv.length!==1&&!containerBoot){writeStderrLine("Managed Runtime worker arguments are invalid.");process.exitCode=1;return}const{runManagedRuntimeAttestationWorker}=await import("./chunks/managed-runtime-attestation-worker-R2FECMZK.js");await runManagedRuntimeAttestationWorker(containerBoot);return}else if(route==="session-send-mcp"){const{readSessionSendMcpUrl}=await import("./chunks/session-send-mcp-APX24NDO.js");const url=readSessionSendMcpUrl(argv.slice(2));if(!url){writeStderrLine("Usage: qwen agents session-send-mcp --url <endpoint>");process.exitCode=1;return}const{runSessionSendMcp}=await import("./chunks/session-send-mcp-server-B3SMVFOC.js");await runSessionSendMcp(url);return}else if(route==="help"){await printTopLevelHelp();return}const acpStartupProfiler=rawArgv.some(arg=>arg==="--acp"||arg==="--experimental-acp")?await import("./chunks/acp-startup-profiler-RSBUQQBC.js"):void 0;acpStartupProfiler?.initializeAcpStartupProfiler();acpStartupProfiler?.markAcpStartup("geminiImportStart");const{default:nodeModule}=await import("node:module");nodeModule.enableCompileCache?.();const{main}=await import("./chunks/llm-D3LHPY27.js");acpStartupProfiler?.markAcpStartup("geminiImportEnd");await main()}__name(runCliEntry,"runCliEntry");async function handleCriticalError(error){const[{FatalError:FatalError2},{AlreadyReportedError}]=await Promise.all([import("./chunks/deferred-core-runtime-CVCQU7O4.js"),import("./chunks/errors-VQWBGR6D.js")]);if(error instanceof FatalError2){let errorMessage=error.message;if(!process.env["NO_COLOR"]){errorMessage=`\x1B[31m${errorMessage}\x1B[0m`}writeStderrLine(errorMessage);process.exit(error.exitCode)}if(error instanceof AlreadyReportedError){process.exit(error.exitCode)}writeStderrLine("An unexpected critical error occurred:");if(error instanceof Error){writeStderrLine(error.stack??error.message)}else{writeStderrLine(String(error))}process.exit(1)}__name(handleCriticalError,"handleCriticalError");function writeStderrLine(line){process.stderr.write(line.endsWith("\n")?line:`${line}
|
|
6
6
|
`)}__name(writeStderrLine,"writeStderrLine");function stampCliEntryEnv(entryPath){if(process.env["QWEN_CODE_CLI"]){return}let entry=entryPath;if(entry===void 0){const entryUrl=new URL("../index.js",import.meta.url);if(entryUrl.protocol!=="file:"){return}entry=fileURLToPath(entryUrl)}if(existsSync(entry)){try{accessSync(entry,constants.X_OK)}catch{try{chmodSync(entry,statSync(entry).mode|73)}catch{}}process.env["QWEN_CODE_CLI"]=entry}}__name(stampCliEntryEnv,"stampCliEntryEnv");async function runCliEntryPoint(run=runCliEntry,handleError=handleCriticalError){stampCliEntryEnv();process.on("uncaughtException",handleUncaughtException);try{await run()}catch(error){try{await handleError(error)}catch(handlerError){writeStderrLine("An unexpected critical error occurred:");writeStderrLine("Original error:");if(error instanceof Error){writeStderrLine(error.stack??error.message)}else{writeStderrLine(String(error))}writeStderrLine("Error handler failed:");if(handlerError instanceof Error){writeStderrLine(handlerError.stack??handlerError.message)}else{writeStderrLine(String(handlerError))}process.exit(1)}}}__name(runCliEntryPoint,"runCliEntryPoint");var isMain=false;if(process.argv[1]!==void 0){try{const argvRealHref=pathToFileURL(realpathSync(process.argv[1])).href;const argvHref=pathToFileURL(process.argv[1]).href;isMain=import.meta.url===argvHref||import.meta.url===argvRealHref}catch{isMain=import.meta.url===pathToFileURL(process.argv[1]).href}}if(isMain){void runCliEntryPoint()}export{MCP_COMMANDS,TOP_LEVEL_COMMANDS,handleCriticalError,handleUncaughtException,isExpectedPtyRaceError,resolveBootstrapRoute,runCliEntry,runCliEntryPoint,stampCliEntryEnv};
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
package/execution-worker.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{init_esbuild_shims}from"./chunks/chunk-VKDAXTCZ.js";import"./chunks/chunk-KBWJGX7I.js";init_esbuild_shims();import{Console}from"node:console";globalThis.console=new Console(process.stderr,process.stderr);try{const options=JSON.parse(process.argv[2]??"");process.chdir(options.workspace);const{createExecutionWorkerEnvironment,runExecutionWorker}=await import("./chunks/execution-worker-
|
|
3
|
+
import{init_esbuild_shims}from"./chunks/chunk-VKDAXTCZ.js";import"./chunks/chunk-KBWJGX7I.js";init_esbuild_shims();import{Console}from"node:console";globalThis.console=new Console(process.stderr,process.stderr);try{const options=JSON.parse(process.argv[2]??"");process.chdir(options.workspace);const{createExecutionWorkerEnvironment,runExecutionWorker}=await import("./chunks/execution-worker-RZXNYK4B.js");await runExecutionWorker(createExecutionWorkerEnvironment(options),process.stdin,process.stdout);process.exit(0)}catch(error){process.stderr.write(`${error instanceof Error?error.message:String(error)}
|
|
4
4
|
`);process.exit(1)}
|
|
5
5
|
/**
|
|
6
6
|
* @license
|