@qwen-code/qwen-code 0.19.10 → 0.19.11-nightly.20260718.767a32484
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/model-providers.md +11 -0
- package/bundled/qc-helper/docs/configuration/settings.md +15 -14
- package/bundled/qc-helper/docs/features/approval-mode.md +2 -2
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +30 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +66 -17
- package/bundled/qc-helper/docs/features/channels/wecom.md +8 -7
- package/bundled/qc-helper/docs/features/sandbox.md +2 -0
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +42 -7
- package/bundled/qc-helper/docs/qwen-serve.md +77 -46
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
- package/bundled/review/SKILL.md +163 -403
- package/chunks/{MaxSizedBox-67ODZ4SZ.js → MaxSizedBox-ZFHA4QEQ.js} +30 -30
- package/chunks/{StandaloneSessionPicker-SIPBQT5Z.js → StandaloneSessionPicker-YRWOQVQA.js} +44 -44
- package/chunks/{acpAgent-VPZJXLFX.js → acpAgent-U2P2IESZ.js} +1423 -487
- package/chunks/{agent-Z7NWL6XL.js → agent-GQXX6X5Y.js} +26 -26
- package/chunks/{agent-headless-73HZ6ROQ.js → agent-headless-3572NBCK.js} +26 -26
- package/chunks/{anthropicContentGenerator-56U3YCP2.js → anthropicContentGenerator-Y65DMM64.js} +103 -18
- package/chunks/{artifact-tool-BWZZJ42H.js → artifact-tool-WR7I2XON.js} +2 -2
- package/chunks/{askUserQuestion-WU3S5A5T.js → askUserQuestion-B4FUTPHD.js} +2 -44
- package/chunks/{bridge-XFKW6S7Q.js → bridge-N5RMGD7G.js} +31 -33
- package/chunks/{ca-C2JTT2N5.js → ca-M3GQQ26D.js} +7 -2
- package/chunks/channel-worker-group-HZVJKLGX.js +21 -0
- package/chunks/{channel-worker-manager-5RWKSGEU.js → channel-worker-manager-3WDK4HNS.js} +34 -10
- package/chunks/{channel-worker-supervisor-PCDAZN4D.js → channel-worker-supervisor-U2W6Q5F7.js} +6 -4
- package/chunks/{chunk-YYPXHMWO.js → chunk-2XRGFF5K.js} +6 -6
- package/chunks/{chunk-ZKMGAFYV.js → chunk-2YSZE74N.js} +2 -2
- package/chunks/{chunk-L5U3ELZX.js → chunk-335ECZTA.js} +1 -1
- package/chunks/{chunk-5EBKKSBX.js → chunk-336KPNNV.js} +2 -2
- package/chunks/{chunk-Q5GLXH5Q.js → chunk-3CL5SEDT.js} +6 -6
- package/chunks/{chunk-2FO5GFKZ.js → chunk-3DJY4IFO.js} +1 -1
- package/chunks/{chunk-CJFNEBYB.js → chunk-3NWYQ7FX.js} +2 -2
- package/chunks/{chunk-WIASPMLX.js → chunk-3X2CFOUM.js} +358 -298
- package/chunks/{chunk-K7CRWKOE.js → chunk-3YJZ6WNY.js} +5812 -4520
- package/chunks/{chunk-Y66VOBRP.js → chunk-4CA4WUMS.js} +2 -2
- package/chunks/{chunk-LQIDP6K5.js → chunk-4CHDYDG3.js} +1 -1
- package/chunks/{chunk-TISZXPAX.js → chunk-4HCYNDMG.js} +1 -1
- package/chunks/chunk-4JBTZBCW.js +140 -0
- package/chunks/{chunk-TV6K2FB4.js → chunk-4RPARQ5D.js} +2 -2
- package/chunks/{chunk-RCEEXIOO.js → chunk-4XCVGEEX.js} +3 -3
- package/chunks/{chunk-N6FXRR6P.js → chunk-57RWF6R7.js} +1 -1
- package/chunks/chunk-5O34IMY5.js +59 -0
- package/chunks/{chunk-5LROA5W4.js → chunk-5QRK2VZG.js} +8 -8
- package/chunks/{chunk-7L4XBYVW.js → chunk-632KROVU.js} +10 -3
- package/chunks/{chunk-65N2J6V2.js → chunk-64XGKNSI.js} +3 -3
- package/chunks/{chunk-P6LART6G.js → chunk-66IT3EY2.js} +1059 -129
- package/chunks/{chunk-FXMC7SL2.js → chunk-6ITLKEOZ.js} +3 -3
- package/chunks/{chunk-F7NXQH4Y.js → chunk-6YIRYY3P.js} +1 -1
- package/chunks/{chunk-GGJII3FM.js → chunk-6Z5NRZVU.js} +92 -3
- package/chunks/{chunk-DPFBNG72.js → chunk-AEKYFMYE.js} +1 -1
- package/chunks/{chunk-2UUAIFQO.js → chunk-ANRANWVE.js} +9 -1
- package/chunks/{chunk-SXU3KKNI.js → chunk-ATJ7H5AS.js} +419 -76
- package/chunks/{chunk-6GETGQWP.js → chunk-C5NSOSF4.js} +64 -18
- package/chunks/{chunk-TQBODCFD.js → chunk-CMVFTMRD.js} +251 -3
- package/chunks/{chunk-DK33QJ3V.js → chunk-CZSAIBUB.js} +733 -14
- package/chunks/{chunk-3MX7D6QN.js → chunk-DASWPKXR.js} +32 -4
- package/chunks/{chunk-JSJFKYWT.js → chunk-DPSHAB47.js} +2 -2
- package/chunks/{chunk-7MJAZMXK.js → chunk-ECZFTRTP.js} +29 -78
- package/chunks/{chunk-H3FQOPPS.js → chunk-EKG3BHQY.js} +4 -4
- package/chunks/{chunk-FSA7ERJ2.js → chunk-F2RR4HO2.js} +1 -1
- package/chunks/{chunk-EQY6POVO.js → chunk-F5XYN5VF.js} +2 -2
- package/chunks/chunk-FEOZBUMT.js +77 -0
- package/chunks/{chunk-L62SEJWY.js → chunk-FHUXCRAF.js} +4 -4
- package/chunks/{chunk-OFEVHGVU.js → chunk-FSJGBUQI.js} +818 -31
- package/chunks/{chunk-FBU7WRZI.js → chunk-FUTHTZVV.js} +1 -1
- package/chunks/{chunk-ZRKBI3DP.js → chunk-FZRES4GK.js} +1 -1
- package/chunks/{chunk-OKAIGAYW.js → chunk-G274ETR6.js} +3 -3
- package/chunks/{chunk-6GKMJPOC.js → chunk-GA3WUOO7.js} +5 -5
- package/chunks/{chunk-X362TMXZ.js → chunk-GAQOQMHY.js} +8 -6
- package/chunks/{chunk-WLXYAKV7.js → chunk-GG6RSNWS.js} +9 -4
- package/chunks/{chunk-CEW4HDPK.js → chunk-GUNTLALV.js} +2484 -362
- package/chunks/{chunk-LXLTBIDP.js → chunk-HCCR43AY.js} +1 -1
- package/chunks/{chunk-RDRVMDWV.js → chunk-HIMIG6PI.js} +11 -11
- package/chunks/{chunk-MO7O5722.js → chunk-HQXQCIT2.js} +45 -5
- package/chunks/{chunk-LTNI523B.js → chunk-HT7L5FCZ.js} +28 -5
- package/chunks/{chunk-7NAWTFVY.js → chunk-IENO2YAT.js} +3 -3
- package/chunks/{chunk-3XJFUTNM.js → chunk-IK5TYYVR.js} +59 -12
- package/chunks/{chunk-AAR5SGMD.js → chunk-IVKLDHU6.js} +7 -5
- package/chunks/{chunk-6W6DI34P.js → chunk-IX7O5WI3.js} +180 -8
- package/chunks/{chunk-SPJQO2CE.js → chunk-J2MKYJKZ.js} +2 -2
- package/chunks/{chunk-SPUYQB4T.js → chunk-JBAQ5BYX.js} +1 -1
- package/chunks/{chunk-TYLOFD2U.js → chunk-JCJPZMJV.js} +1 -1
- package/chunks/chunk-JDIUK2Y3.js +226 -0
- package/chunks/{chunk-L37RC7MQ.js → chunk-JUVTV4NF.js} +1 -1
- package/chunks/{chunk-WDWJ4OQJ.js → chunk-K2GBHL73.js} +4 -4
- package/chunks/{chunk-HHEFI4RP.js → chunk-KEVDWH3U.js} +857 -137
- package/chunks/{chunk-YU56QGXX.js → chunk-KTKETHMY.js} +1 -1
- package/chunks/{chunk-WDW64OW3.js → chunk-LGY7PG7Q.js} +5 -5
- package/chunks/{chunk-E67NFMF4.js → chunk-LKR7QQ63.js} +37 -3
- package/chunks/{chunk-4YWLED2A.js → chunk-LSFVUGXT.js} +9 -6
- package/chunks/{chunk-W34A5MJH.js → chunk-LTD3CHGS.js} +1 -1
- package/chunks/chunk-LXXMOYPL.js +22 -0
- package/chunks/{chunk-BBNVFRGD.js → chunk-MI2V6IWU.js} +1 -1
- package/chunks/{chunk-UFOKA4PR.js → chunk-O2K6BLPZ.js} +114 -4
- package/chunks/{chunk-B5I2IIWY.js → chunk-OBYAX5QZ.js} +6 -6
- package/chunks/{chunk-V7EQTZYR.js → chunk-OCQ2QTFJ.js} +203 -47
- package/chunks/{chunk-VBRRNQB7.js → chunk-OPVIKLKK.js} +112 -25
- package/chunks/{chunk-2Z5UX4KI.js → chunk-OSSDHJDU.js} +1 -1
- package/chunks/{chunk-TTUO4DNG.js → chunk-OXOEOOQU.js} +126 -734
- package/chunks/{chunk-4FMG7EDJ.js → chunk-PWYLF7SS.js} +79 -16
- package/chunks/chunk-QFEY6OXH.js +45 -0
- package/chunks/{chunk-YX4LLZ3D.js → chunk-QPRDXJIC.js} +115 -40
- package/chunks/{chunk-7R4DPSRA.js → chunk-R3VWUU2E.js} +1 -1
- package/chunks/{chunk-XLIRF7IK.js → chunk-S4N3G4BB.js} +1 -1
- package/chunks/{chunk-ARKANCNX.js → chunk-SGPFJMRP.js} +1 -1
- package/chunks/{chunk-WTSXKLG5.js → chunk-SUARMD4Q.js} +1 -1
- package/chunks/{chunk-PZL23GTM.js → chunk-T3W4SDRB.js} +2 -0
- package/chunks/chunk-T4TZQJ7W.js +48 -0
- package/chunks/{chunk-K4PZ5F5T.js → chunk-TVYM3Q3J.js} +101 -8
- package/chunks/{chunk-4LD5APFL.js → chunk-TYQMGACW.js} +1 -0
- package/chunks/{chunk-6OATMEYN.js → chunk-U2LNTX56.js} +12 -4
- package/chunks/{chunk-422XAKCK.js → chunk-U2XBPBO3.js} +4 -3
- package/chunks/{chunk-LNUXFLLJ.js → chunk-U4FJ26D2.js} +54 -6
- package/chunks/{chunk-ZQTZXVHP.js → chunk-U6OPT4H2.js} +4 -18
- package/chunks/{chunk-7NFB7LBQ.js → chunk-UE5TZ55T.js} +8 -0
- package/chunks/{chunk-CUUXANEQ.js → chunk-URP6O2PP.js} +6 -1
- package/chunks/{chunk-GDQQRV43.js → chunk-V2FRLYHN.js} +3 -3
- package/chunks/{chunk-WIEO4CWB.js → chunk-VAJS2E2D.js} +1 -1
- package/chunks/{chunk-TXY2C3D2.js → chunk-VNN3JNYT.js} +1 -1
- package/chunks/{chunk-YHN5SUIJ.js → chunk-W7H223ZZ.js} +1 -1
- package/chunks/{chunk-WX6SD4IQ.js → chunk-WEPXQKGP.js} +1 -1
- package/chunks/{chunk-KSO42X3Z.js → chunk-X6YQWCIJ.js} +21 -2
- package/chunks/{chunk-URU5UEK6.js → chunk-XA7OKDWM.js} +135 -68
- package/chunks/{chunk-Q6TUALBE.js → chunk-XAAEDML2.js} +1 -1
- package/chunks/{chunk-KKRTYONM.js → chunk-XSPFQQRE.js} +3 -3
- package/chunks/{chunk-OATTJGPJ.js → chunk-Y72B36CP.js} +7 -7
- package/chunks/{chunk-ZPAHLFZU.js → chunk-Z2LBNX3R.js} +2 -2
- package/chunks/{chunk-XXJKGHZV.js → chunk-ZTSDZQZO.js} +131 -4
- package/chunks/{computer-use-IYTX45WA.js → computer-use-UIFBH25Y.js} +26 -26
- package/chunks/{config-utils-CFT33LTP.js → config-utils-2LHI7JXU.js} +3 -3
- package/chunks/{contextCommand-272V77WU.js → contextCommand-VGZHKEH2.js} +28 -28
- package/chunks/{create-sub-session-WNX2OQVX.js → create-sub-session-DIJOV6HV.js} +2 -2
- package/chunks/{create-sub-session-CBJMQLYP.js → create-sub-session-OFVI4H6I.js} +26 -26
- package/chunks/{cron-create-36TIFKRT.js → cron-create-34GVLSW5.js} +4 -4
- package/chunks/{cron-delete-OQD3WULU.js → cron-delete-NMVKUL45.js} +4 -4
- package/chunks/{cron-list-4533T2FH.js → cron-list-277ZOR7L.js} +4 -4
- package/chunks/{daemon-RNGFPMAB.js → daemon-72MEV3TY.js} +361 -84
- package/chunks/daemon-status-provider-ZJJ6AOG2.js +75 -0
- package/chunks/{de-2VCDRDGU.js → de-56TMDIKS.js} +7 -2
- package/chunks/{dist-3V3ZV6ML.js → dist-4W3UGU2A.js} +1 -1
- package/chunks/{dist-HNN7DR2L.js → dist-G6QCGO2K.js} +58 -30
- package/chunks/{dist-ERCPDVA6.js → dist-ILVRL322.js} +4 -51
- package/chunks/{dist-PHEPJLXD.js → dist-KEZ5JWH4.js} +2 -2
- package/chunks/{dist-JZE7F6YR.js → dist-LQHDHBPP.js} +1 -1
- package/chunks/{dist-MOEC47TR.js → dist-SVHAGOLN.js} +1 -1
- package/chunks/{earlyInputCapture-EN4BRREQ.js → earlyInputCapture-NPF4PVUE.js} +27 -27
- package/chunks/{edit-OMAF2QDR.js → edit-F7CT6NZH.js} +27 -27
- package/chunks/{en-NJCA3TAA.js → en-AXS2N62H.js} +12 -3
- package/chunks/{enter-worktree-BBZX52HG.js → enter-worktree-Z4ET3MZL.js} +26 -26
- package/chunks/{enterPlanMode-5NNFMBUY.js → enterPlanMode-VYR7T5NX.js} +27 -29
- package/chunks/{environment-7TEWMJYN.js → environment-MBTXL57Q.js} +28 -28
- package/chunks/{errors-I4VKVX3F.js → errors-HN36J4FR.js} +28 -28
- package/chunks/{exit-worktree-FUWRJI33.js → exit-worktree-RU7JYFMF.js} +26 -26
- package/chunks/exitPlanMode-LUBAWMZQ.js +390 -0
- package/chunks/{fast-path-ZA57TOH4.js → fast-path-RFT3CDNZ.js} +2 -2
- package/chunks/{fr-5F3E7WKD.js → fr-ZJPE5OVN.js} +7 -2
- package/chunks/{gemini-UOAKVXBG.js → gemini-37NTNKZF.js} +215 -231
- package/chunks/{geminiContentGenerator-G6UCE6MW.js → geminiContentGenerator-76HNOYNQ.js} +5 -5
- package/chunks/{glob-4GJQ2UFF.js → glob-DWD7JCZE.js} +32 -27
- package/chunks/{grep-5QSYXF2E.js → grep-NJRXFV5C.js} +32 -27
- package/chunks/{handleAutoUpdate-ULHNWL6R.js → handleAutoUpdate-7GBDXW6U.js} +30 -30
- package/chunks/{i18n-CYDUTF6F.js → i18n-MYD5VGED.js} +27 -27
- package/chunks/{initializer-NRFKUGIO.js → initializer-4DHPNAZG.js} +32 -32
- package/chunks/{installationInfo-WELKRHHE.js → installationInfo-RWOW6BZO.js} +27 -27
- package/chunks/{ja-66J6B53L.js → ja-57GG4QSL.js} +7 -2
- package/chunks/{keychain-token-storage-AU22CQI6.js → keychain-token-storage-K23CFKGN.js} +2 -2
- package/chunks/{list-JVDXEG2E.js → list-MMCNNHE7.js} +34 -34
- package/chunks/{loadedSettingsAdapter-WAM4VUTG.js → loadedSettingsAdapter-UK4JWPYU.js} +31 -31
- package/chunks/{loop-wakeup-MVUKDVCP.js → loop-wakeup-KCLY4XQM.js} +5 -5
- package/chunks/{ls-RXNIAQDE.js → ls-UNI4LAJ3.js} +4 -4
- package/chunks/{lsp-HB5LM5IL.js → lsp-HPACPJAN.js} +2 -2
- package/chunks/{mcp-YHOZN3ZM.js → mcp-AFCVA4UV.js} +31 -31
- package/chunks/{monitor-R7XZPJHQ.js → monitor-RK637BNO.js} +28 -27
- package/chunks/nonInteractiveCli-OUGWLHNV.js +129 -0
- package/chunks/{notebook-edit-6RNKE2L2.js → notebook-edit-LY2X3CMF.js} +27 -27
- package/chunks/{openaiContentGenerator-XNS5S64I.js → openaiContentGenerator-MDYDW7IA.js} +14 -14
- package/chunks/{pidfile-XE4RRR2P.js → pidfile-2NUYRLKB.js} +27 -27
- package/chunks/processUtils-7QH3VBVN.js +29 -0
- package/chunks/{pt-TFZO5Y6T.js → pt-MCGZ3RZ4.js} +7 -2
- package/chunks/{qwenContentGenerator-APDPJ3VN.js → qwenContentGenerator-3HT4TVDL.js} +28 -28
- package/chunks/{qwenOAuth2-LEYOU7RU.js → qwenOAuth2-3A4TJVZT.js} +5 -5
- package/chunks/{read-file-XSUWXSR7.js → read-file-NE4FREFR.js} +10 -10
- package/chunks/{read-mcp-resource-6LRTZKXI.js → read-mcp-resource-C6NT52T6.js} +2 -2
- package/chunks/{record-artifact-PMDTY4OS.js → record-artifact-ENCU7QCL.js} +2 -2
- package/chunks/{ripGrep-APB3CDMU.js → ripGrep-DBLXWQCJ.js} +26 -26
- package/chunks/{ru-4L4LFHIT.js → ru-GA3NZW5Q.js} +7 -2
- package/chunks/{run-qwen-serve-NWTGPERT.js → run-qwen-serve-3NOCI6IL.js} +63 -39
- package/chunks/{runtime-EIO3NQKR.js → runtime-ZI7DSZSS.js} +35 -35
- package/chunks/{scheduler-JJDZBDRN.js → scheduler-SOVEP5K7.js} +26 -26
- package/chunks/{send-message-SR4WSXP2.js → send-message-5IFPZTPE.js} +3 -3
- package/chunks/{serve-WTIPB3EI.js → serve-DB6OCXIA.js} +31 -31
- package/chunks/{server-NJPHQHLH.js → server-LDY4YVU4.js} +2257 -648
- package/chunks/{session-O4AO7FTS.js → session-D6OG5SKX.js} +99 -72
- package/chunks/{settings-HQNDK7TG.js → settings-L52ZV5LO.js} +30 -30
- package/chunks/{shell-UIXM6PWG.js → shell-IU27OY3Q.js} +28 -26
- package/chunks/{skill-3XMB4ULV.js → skill-BSOJT7LE.js} +12 -12
- package/chunks/{spawnChannel-3R632QRM.js → spawnChannel-HQAM25DD.js} +28 -29
- package/chunks/{src-USZKPUOC.js → src-7ZBIMTJZ.js} +130 -51
- package/chunks/{standalone-update-L5XW3D7K.js → standalone-update-77457VVK.js} +28 -28
- package/chunks/{startInteractiveUI-CPZOL2WB.js → startInteractiveUI-S7WC6EZG.js} +2310 -1835
- package/chunks/{syntheticOutput-YKFNUQZD.js → syntheticOutput-ULOVVLY4.js} +3 -3
- package/chunks/{task-create-NUFOHU53.js → task-create-V2DCDSET.js} +7 -7
- package/chunks/{task-list-Z2IKQY3S.js → task-list-DPL5ZN55.js} +5 -5
- package/chunks/{task-stop-KQFIVQTJ.js → task-stop-CPEQWOT6.js} +2 -2
- package/chunks/{task-update-HKADXSTD.js → task-update-ZR45M5Q7.js} +7 -7
- package/chunks/{team-create-XXPRF3IQ.js → team-create-CO7HSUON.js} +26 -26
- package/chunks/{team-delete-SDNTGZLG.js → team-delete-HIWXCWJU.js} +5 -5
- package/chunks/{team-plan-approval-EOTTKHDW.js → team-plan-approval-QDZF5YZY.js} +26 -26
- package/chunks/{theme-manager-P6UITO2L.js → theme-manager-UTUT3I4P.js} +27 -27
- package/chunks/todoWrite-HK6B3RHJ.js +358 -0
- package/chunks/{tool-search-DDNGK2LR.js → tool-search-2UUORA35.js} +11 -11
- package/chunks/{total-session-admission-PL5N7DNY.js → total-session-admission-NTWG6G3F.js} +32 -34
- package/chunks/{trustedFolders-C5LMF3UR.js → trustedFolders-YF37ZCN5.js} +27 -27
- package/chunks/update-relaunch-QFNHPMZZ.js +87 -0
- package/chunks/{updateCheck-QTVVISH7.js → updateCheck-B6O42VMD.js} +30 -28
- package/chunks/{validateNonInterActiveAuth-RY4RKBQG.js → validateNonInterActiveAuth-SCIWJ4CX.js} +65 -65
- package/chunks/{version-U45RYOSD.js → version-7DA6LAI3.js} +1 -1
- package/chunks/{web-fetch-ZSPR3PRR.js → web-fetch-B62SJXM2.js} +5 -6
- package/chunks/{workflow-TCIAQYOA.js → workflow-Q5WG4THP.js} +27 -27
- package/chunks/{workspace-providers-status-I3G2HYLY.js → workspace-providers-status-WWLAGWQW.js} +34 -34
- package/chunks/{workspace-registration-store-IH5GLZ6Y.js → workspace-registration-store-BVYQVY2H.js} +1 -1
- package/chunks/{workspace-registry-QEKBELIX.js → workspace-registry-OD7ACADD.js} +32 -34
- package/chunks/{workspace-service-ORKHGLP3.js → workspace-service-4LYJWS63.js} +37 -38
- package/chunks/{workspace-skills-status-D7QCNDYY.js → workspace-skills-status-P2AQLZZS.js} +32 -32
- package/chunks/{write-file-JGRQR5VM.js → write-file-TEPGXNM3.js} +60 -27
- package/chunks/{zh-FSAH32JB.js → zh-E34DZ2S3.js} +12 -3
- package/chunks/{zh-TW-D2YIE2LO.js → zh-TW-PEI2ZWUR.js} +12 -3
- package/cli-entry.js +92 -8
- package/cli.js +11 -11
- package/locales/ca.js +12 -2
- package/locales/de.js +12 -2
- package/locales/en.js +20 -5
- package/locales/fr.js +12 -2
- package/locales/ja.js +12 -2
- package/locales/pt.js +12 -2
- package/locales/ru.js +12 -2
- package/locales/zh-TW.js +19 -3
- package/locales/zh.js +19 -3
- package/package.json +3 -3
- package/web-shell/assets/{arc-CUeDlxvE.js → arc-Dh-N5oEG.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-PiUszkQA.js → architectureDiagram-3BPJPVTR-DBOQgtfF.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-s2wYSO7e.js → blockDiagram-GPEHLZMM-Dyxbuyju.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DyLxZoz9.js → c4Diagram-AAUBKEIU-DCJR5HPT.js} +1 -1
- package/web-shell/assets/channel-DY0fkcKT.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-Dsdai7Tk.js → chunk-2J33WTMH-BkMUcy3O.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DEosOjV7.js → chunk-4BX2VUAB-BSm4pLQk.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-sNsRLTXf.js → chunk-55IACEB6-CuRr-XgW.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-DkRNZzmh.js → chunk-727SXJPM-CLv7-w3t.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-BrsRNpzd.js → chunk-AQP2D5EJ-Cz_n3-JW.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-CI039lpl.js → chunk-FMBD7UC4-CFT_62Hq.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-M-pkeIfu.js → chunk-ND2GUHAM-DWz6DOZ6.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-C4ckGNbH.js → chunk-QZHKN3VN-C-mRhUzw.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-DBvJ6PZo.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-DBvJ6PZo.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BciKUAFq.js → cose-bilkent-S5V4N54A-BqCZS3i1.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-C1nTSgU6.js → dagre-BM42HDAG-BGasdP8i.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BDPNWr1m.js → diagram-2AECGRRQ-BSyLDkMy.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-CNFhTszL.js → diagram-5GNKFQAL-CM-ZJxWC.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CjPa4p5a.js → diagram-KO2AKTUF-wJdzt_C5.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-ZzPykSyG.js → diagram-LMA3HP47-DiH2fhpL.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-0UVtZ9A4.js → diagram-OG6HWLK6-BZ9z1ZBl.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-CajDZCat.js → erDiagram-TEJ5UH35-BsyWDziR.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BRuFBIvL.js → flowDiagram-I6XJVG4X-CzdkxIrq.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BevGmJqG.js → ganttDiagram-6RSMTGT7-javIv2r2.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DvPMpBMb.js → gitGraphDiagram-PVQCEYII-CjHstylC.js} +1 -1
- package/web-shell/assets/{index-DzHwQkQq.js → index-BnJGxpah.js} +1 -1
- package/web-shell/assets/index-DhXB9nTa.js +1161 -0
- package/web-shell/assets/index-vYHgZ7bL.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-Oixn7tA9.js → infoDiagram-5YYISTIA-yXuQsomo.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BgKpeg-j.js → ishikawaDiagram-YF4QCWOH-a85JhE6F.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-74mwxIaA.js → journeyDiagram-JHISSGLW-Dak_4BVj.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-D4D6cEqA.js → kanban-definition-UN3LZRKU-COA-LuCV.js} +1 -1
- package/web-shell/assets/{linear-atZRE_L2.js → linear-DNAAAQWq.js} +1 -1
- package/web-shell/assets/{mermaid.core-KKudX-JC.js → mermaid.core-7Ff3aIUD.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-CMCej9yG.js → mindmap-definition-RKZ34NQL-_rCOIODU.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-nhx40X7q.js → pieDiagram-4H26LBE5-C9QCQ8EW.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CUmVcN3M.js → quadrantDiagram-W4KKPZXB-CsaE4FA8.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-C_vyEwyy.js → requirementDiagram-4Y6WPE33-tV78naTg.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-DU6G4VWR.js → sankeyDiagram-5OEKKPKP-Dk3Rw7BZ.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DdeRR_KJ.js → sequenceDiagram-3UESZ5HK-BGsAWcMX.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-C6iCI8ps.js → stateDiagram-AJRCARHV-zSxdtdoB.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-vLEEtDpO.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-B_Ea8Cb7.js → timeline-definition-PNZ67QCA-j0BQh9Go.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BPUVZEJA.js → vennDiagram-CIIHVFJN-CRaUFFIu.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-BWEj0lKY.js → wardley-L42UT6IY-D7Py_ofm.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BvDsdIQw.js → wardleyDiagram-YWT4CUSO-BrDIAZcp.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-crz0QhF_.js → xychartDiagram-2RQKCTM6-Cecdw-w2.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/channel-worker-group-K7QKH6IG.js +0 -13
- package/chunks/chunk-2HRYPZT5.js +0 -25
- package/chunks/chunk-B7NUUEXC.js +0 -311
- package/chunks/chunk-CARU2RR2.js +0 -24
- package/chunks/chunk-GYTKQYDB.js +0 -23
- package/chunks/chunk-LQU7EVFA.js +0 -30
- package/chunks/chunk-OCPBI7J5.js +0 -18
- package/chunks/chunk-OJAMDVF5.js +0 -66
- package/chunks/chunk-QAW7PIHT.js +0 -168
- package/chunks/chunk-TEGEBB2I.js +0 -122
- package/chunks/daemon-status-provider-L4STG5VO.js +0 -76
- package/chunks/exitPlanMode-IHCJ5EEI.js +0 -909
- package/chunks/nonInteractiveCli-NSOB6D74.js +0 -129
- package/chunks/todoWrite-YNXB27GB.js +0 -531
- package/web-shell/assets/channel-DkuJJ0qd.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CwqHc0TB.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CwqHc0TB.js +0 -1
- package/web-shell/assets/index-Cnvv4VcI.css +0 -5
- package/web-shell/assets/index-D1Uyklxa.js +0 -1088
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-C0_6nR6C.js +0 -1
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-HTHUX2T5.js";
|
|
9
9
|
import {
|
|
10
10
|
themeManager
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XAAEDML2.js";
|
|
12
12
|
import {
|
|
13
13
|
eastAsianWidth,
|
|
14
14
|
isFullWidth,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-QHTIBUWB.js";
|
|
17
17
|
import {
|
|
18
18
|
stripAnsi
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T4TZQJ7W.js";
|
|
20
20
|
import {
|
|
21
21
|
init_esbuild_shims
|
|
22
22
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -16221,6 +16221,22 @@ function tokenize(str, endChar = Number.POSITIVE_INFINITY) {
|
|
|
16221
16221
|
__name(tokenize, "tokenize");
|
|
16222
16222
|
|
|
16223
16223
|
// node_modules/ink/build/output.js
|
|
16224
|
+
var SELECTION_BG = { code: "\x1B[48;5;240m", endCode: "\x1B[49m" };
|
|
16225
|
+
var isCellSelected = /* @__PURE__ */ __name((x, y, sel) => {
|
|
16226
|
+
if (y < sel.sy || y > sel.ey) {
|
|
16227
|
+
return false;
|
|
16228
|
+
}
|
|
16229
|
+
if (sel.sy === sel.ey) {
|
|
16230
|
+
return x >= sel.sx && x <= sel.ex;
|
|
16231
|
+
}
|
|
16232
|
+
if (y === sel.sy) {
|
|
16233
|
+
return x >= sel.sx;
|
|
16234
|
+
}
|
|
16235
|
+
if (y === sel.ey) {
|
|
16236
|
+
return x <= sel.ex;
|
|
16237
|
+
}
|
|
16238
|
+
return true;
|
|
16239
|
+
}, "isCellSelected");
|
|
16224
16240
|
var OutputCaches = class {
|
|
16225
16241
|
static {
|
|
16226
16242
|
__name(this, "OutputCaches");
|
|
@@ -16294,7 +16310,7 @@ var Output = class {
|
|
|
16294
16310
|
type: "unclip"
|
|
16295
16311
|
});
|
|
16296
16312
|
}
|
|
16297
|
-
get() {
|
|
16313
|
+
get(selection) {
|
|
16298
16314
|
const output = [];
|
|
16299
16315
|
for (let y = 0; y < this.height; y++) {
|
|
16300
16316
|
const row = [];
|
|
@@ -16403,19 +16419,40 @@ var Output = class {
|
|
|
16403
16419
|
}
|
|
16404
16420
|
}
|
|
16405
16421
|
}
|
|
16422
|
+
if (selection) {
|
|
16423
|
+
for (let y = 0; y < output.length; y++) {
|
|
16424
|
+
const row = output[y];
|
|
16425
|
+
if (!row) {
|
|
16426
|
+
continue;
|
|
16427
|
+
}
|
|
16428
|
+
for (let x = 0; x < row.length; x++) {
|
|
16429
|
+
if (!isCellSelected(x, y, selection)) {
|
|
16430
|
+
continue;
|
|
16431
|
+
}
|
|
16432
|
+
const cell = row[x];
|
|
16433
|
+
if (cell) {
|
|
16434
|
+
row[x] = {
|
|
16435
|
+
...cell,
|
|
16436
|
+
styles: [...cell.styles ?? [], SELECTION_BG]
|
|
16437
|
+
};
|
|
16438
|
+
}
|
|
16439
|
+
}
|
|
16440
|
+
}
|
|
16441
|
+
}
|
|
16406
16442
|
const generatedOutput = output.map((line) => {
|
|
16407
16443
|
const lineWithoutEmptyItems = line.filter((item) => item !== void 0);
|
|
16408
16444
|
return styledCharsToString(lineWithoutEmptyItems).trimEnd();
|
|
16409
16445
|
}).join("\n");
|
|
16410
16446
|
return {
|
|
16411
16447
|
output: generatedOutput,
|
|
16412
|
-
height: output.length
|
|
16448
|
+
height: output.length,
|
|
16449
|
+
cells: output
|
|
16413
16450
|
};
|
|
16414
16451
|
}
|
|
16415
16452
|
};
|
|
16416
16453
|
|
|
16417
16454
|
// node_modules/ink/build/renderer.js
|
|
16418
|
-
var renderer = /* @__PURE__ */ __name((node, isScreenReaderEnabled) => {
|
|
16455
|
+
var renderer = /* @__PURE__ */ __name((node, isScreenReaderEnabled, selection) => {
|
|
16419
16456
|
if (node.yogaNode) {
|
|
16420
16457
|
if (isScreenReaderEnabled) {
|
|
16421
16458
|
const output2 = renderNodeToScreenReaderOutput(node, {
|
|
@@ -16452,14 +16489,15 @@ var renderer = /* @__PURE__ */ __name((node, isScreenReaderEnabled) => {
|
|
|
16452
16489
|
skipStaticElements: false
|
|
16453
16490
|
});
|
|
16454
16491
|
}
|
|
16455
|
-
const { output: generatedOutput, height: outputHeight } = output.get();
|
|
16492
|
+
const { output: generatedOutput, height: outputHeight, cells } = output.get(selection);
|
|
16456
16493
|
return {
|
|
16457
16494
|
output: generatedOutput,
|
|
16458
16495
|
outputHeight,
|
|
16459
16496
|
// Newline at the end is needed, because static output doesn't have one, so
|
|
16460
16497
|
// interactive output will override last line of static output
|
|
16461
16498
|
staticOutput: staticOutput ? `${staticOutput.get().output}
|
|
16462
|
-
` : ""
|
|
16499
|
+
` : "",
|
|
16500
|
+
cells
|
|
16463
16501
|
};
|
|
16464
16502
|
}
|
|
16465
16503
|
return {
|
|
@@ -16795,6 +16833,47 @@ init_esbuild_shims();
|
|
|
16795
16833
|
var instances = /* @__PURE__ */ new WeakMap();
|
|
16796
16834
|
var instances_default = instances;
|
|
16797
16835
|
|
|
16836
|
+
// node_modules/ink/build/frame-controller.js
|
|
16837
|
+
init_esbuild_shims();
|
|
16838
|
+
var sameSelection = /* @__PURE__ */ __name((a, b) => {
|
|
16839
|
+
if (a === b) {
|
|
16840
|
+
return true;
|
|
16841
|
+
}
|
|
16842
|
+
if (!a || !b) {
|
|
16843
|
+
return false;
|
|
16844
|
+
}
|
|
16845
|
+
return a.sx === b.sx && a.sy === b.sy && a.ex === b.ex && a.ey === b.ey;
|
|
16846
|
+
}, "sameSelection");
|
|
16847
|
+
var createFrameController = /* @__PURE__ */ __name((requestRender) => {
|
|
16848
|
+
let currentSelection = null;
|
|
16849
|
+
let lastFrame = null;
|
|
16850
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
16851
|
+
return {
|
|
16852
|
+
getFrame: /* @__PURE__ */ __name(() => lastFrame, "getFrame"),
|
|
16853
|
+
getSelection: /* @__PURE__ */ __name(() => currentSelection, "getSelection"),
|
|
16854
|
+
setSelection(selection) {
|
|
16855
|
+
if (sameSelection(currentSelection, selection)) {
|
|
16856
|
+
return;
|
|
16857
|
+
}
|
|
16858
|
+
currentSelection = selection;
|
|
16859
|
+
requestRender();
|
|
16860
|
+
},
|
|
16861
|
+
subscribe(listener) {
|
|
16862
|
+
listeners.add(listener);
|
|
16863
|
+
return () => {
|
|
16864
|
+
listeners.delete(listener);
|
|
16865
|
+
};
|
|
16866
|
+
},
|
|
16867
|
+
publishFrame(frame) {
|
|
16868
|
+
lastFrame = frame;
|
|
16869
|
+
for (const listener of listeners) {
|
|
16870
|
+
listener(frame);
|
|
16871
|
+
}
|
|
16872
|
+
}
|
|
16873
|
+
};
|
|
16874
|
+
}, "createFrameController");
|
|
16875
|
+
var getFrameController = /* @__PURE__ */ __name((stdout) => instances_default.get(stdout)?.frameController, "getFrameController");
|
|
16876
|
+
|
|
16798
16877
|
// node_modules/ink/build/components/App.js
|
|
16799
16878
|
init_esbuild_shims();
|
|
16800
16879
|
var import_react15 = __toESM(require_react(), 1);
|
|
@@ -17904,6 +17983,7 @@ var Ink = class {
|
|
|
17904
17983
|
kittyProtocolEnabled = false;
|
|
17905
17984
|
cancelKittyDetection;
|
|
17906
17985
|
nextRenderCommit;
|
|
17986
|
+
frameController;
|
|
17907
17987
|
constructor(options) {
|
|
17908
17988
|
autoBind(this);
|
|
17909
17989
|
this.options = options;
|
|
@@ -17931,6 +18011,9 @@ var Ink = class {
|
|
|
17931
18011
|
this.throttledOnRender = throttled;
|
|
17932
18012
|
}
|
|
17933
18013
|
this.rootNode.onImmediateRender = this.onRender;
|
|
18014
|
+
this.frameController = createFrameController(() => {
|
|
18015
|
+
this.rootNode.onRender?.();
|
|
18016
|
+
});
|
|
17934
18017
|
this.rootNode.onStaticChange = this.handleStaticChange;
|
|
17935
18018
|
this.log = log_update_default.create(options.stdout, {
|
|
17936
18019
|
incremental: options.incrementalRendering
|
|
@@ -18043,7 +18126,15 @@ var Ink = class {
|
|
|
18043
18126
|
this.nextRenderCommit = void 0;
|
|
18044
18127
|
}
|
|
18045
18128
|
const startTime = performance.now();
|
|
18046
|
-
const
|
|
18129
|
+
const selection = this.frameController?.getSelection() ?? null;
|
|
18130
|
+
const { output, outputHeight, staticOutput, cells } = renderer_default(this.rootNode, this.isScreenReaderEnabled, selection);
|
|
18131
|
+
if (cells && this.frameController) {
|
|
18132
|
+
this.frameController.publishFrame({
|
|
18133
|
+
width: cells.reduce((width, row) => Math.max(width, row.length), 0),
|
|
18134
|
+
height: cells.length,
|
|
18135
|
+
cells
|
|
18136
|
+
});
|
|
18137
|
+
}
|
|
18047
18138
|
this.options.onRender?.({ renderTime: performance.now() - startTime });
|
|
18048
18139
|
const hasStaticOutput = staticOutput && staticOutput !== "\n";
|
|
18049
18140
|
if (this.options.debug) {
|
|
@@ -18312,6 +18403,7 @@ var Ink = class {
|
|
|
18312
18403
|
this.alternateScreen = this.resolveAlternateScreenOption(enabled, this.interactive);
|
|
18313
18404
|
if (this.alternateScreen) {
|
|
18314
18405
|
this.writeBestEffort(this.options.stdout, base_exports.enterAlternativeScreen);
|
|
18406
|
+
this.writeBestEffort(this.options.stdout, base_exports.clearTerminal);
|
|
18315
18407
|
this.writeBestEffort(this.options.stdout, hideCursorEscape);
|
|
18316
18408
|
}
|
|
18317
18409
|
}
|
|
@@ -18804,6 +18896,7 @@ var theme = {
|
|
|
18804
18896
|
|
|
18805
18897
|
export {
|
|
18806
18898
|
base_exports,
|
|
18899
|
+
getFrameController,
|
|
18807
18900
|
Box_default,
|
|
18808
18901
|
Text,
|
|
18809
18902
|
render_default,
|
|
@@ -30505,6 +30505,7 @@ __name(getApiKeyFromEnv, "getApiKeyFromEnv");
|
|
|
30505
30505
|
|
|
30506
30506
|
export {
|
|
30507
30507
|
require_src4 as require_src,
|
|
30508
|
+
FunctionCallingConfigMode,
|
|
30508
30509
|
FinishReason,
|
|
30509
30510
|
createUserContent,
|
|
30510
30511
|
createModelContent,
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
DEFAULT_QWEN_MODEL
|
|
5
|
-
} from "./chunk-CARU2RR2.js";
|
|
6
3
|
import {
|
|
7
4
|
SchemaValidator
|
|
8
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ANRANWVE.js";
|
|
9
6
|
import {
|
|
10
7
|
init_esbuild_shims
|
|
11
8
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -13,6 +10,13 @@ import {
|
|
|
13
10
|
__name
|
|
14
11
|
} from "./chunk-J2S4EL5Y.js";
|
|
15
12
|
|
|
13
|
+
// packages/core/src/config/models.ts
|
|
14
|
+
init_esbuild_shims();
|
|
15
|
+
var DEFAULT_QWEN_MODEL = "coder-model";
|
|
16
|
+
var DEFAULT_QWEN_FLASH_MODEL = "coder-model";
|
|
17
|
+
var DEFAULT_QWEN_EMBEDDING_MODEL = "text-embedding-v4";
|
|
18
|
+
var MAINLINE_CODER_MODEL = "qwen3.7-max";
|
|
19
|
+
|
|
16
20
|
// packages/core/src/utils/sideQuery.ts
|
|
17
21
|
init_esbuild_shims();
|
|
18
22
|
import { readFile } from "node:fs/promises";
|
|
@@ -126,6 +130,10 @@ async function runSideQuery(config, options) {
|
|
|
126
130
|
__name(runSideQuery, "runSideQuery");
|
|
127
131
|
|
|
128
132
|
export {
|
|
133
|
+
DEFAULT_QWEN_MODEL,
|
|
134
|
+
DEFAULT_QWEN_FLASH_MODEL,
|
|
135
|
+
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
136
|
+
MAINLINE_CODER_MODEL,
|
|
129
137
|
runSideQuery
|
|
130
138
|
};
|
|
131
139
|
/**
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
disableMouseEvents,
|
|
5
5
|
enableMouseEvents,
|
|
6
6
|
useKeypressContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CZSAIBUB.js";
|
|
8
8
|
import {
|
|
9
9
|
use_stdin_default,
|
|
10
10
|
use_stdout_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TVYM3Q3J.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-HTHUX2T5.js";
|
|
15
15
|
import {
|
|
16
16
|
themeManager
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XAAEDML2.js";
|
|
18
18
|
import {
|
|
19
19
|
init_esbuild_shims
|
|
20
20
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -322,6 +322,7 @@ export {
|
|
|
322
322
|
useTerminalSize,
|
|
323
323
|
Colors,
|
|
324
324
|
useMouseEvents,
|
|
325
|
+
frameAnchor,
|
|
325
326
|
measureElementPosition,
|
|
326
327
|
layoutRowForEvent,
|
|
327
328
|
RowMouseController
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-QHTIBUWB.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HIMIG6PI.js";
|
|
12
12
|
import {
|
|
13
13
|
require_clean,
|
|
14
14
|
require_constants,
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
ansi_regex_exports,
|
|
28
28
|
init_ansi_regex,
|
|
29
29
|
stripAnsi
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-T4TZQJ7W.js";
|
|
31
31
|
import {
|
|
32
32
|
require_graceful_fs
|
|
33
33
|
} from "./chunk-E2UVIFI2.js";
|
|
34
34
|
import {
|
|
35
35
|
createDebugLogger
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-UE5TZ55T.js";
|
|
37
37
|
import {
|
|
38
38
|
__qwen_dirname,
|
|
39
39
|
init_esbuild_shims
|
|
@@ -8117,6 +8117,35 @@ __name(updateNotifier, "updateNotifier");
|
|
|
8117
8117
|
var import_semver2 = __toESM(require_semver2(), 1);
|
|
8118
8118
|
var debugLogger = createDebugLogger("UPDATE_CHECK");
|
|
8119
8119
|
var FETCH_TIMEOUT_MS = 2e3;
|
|
8120
|
+
var UpdateCheckTimeoutError = class extends Error {
|
|
8121
|
+
static {
|
|
8122
|
+
__name(this, "UpdateCheckTimeoutError");
|
|
8123
|
+
}
|
|
8124
|
+
distTag;
|
|
8125
|
+
constructor(timeoutMs, distTag) {
|
|
8126
|
+
const suffix = distTag ? ` for ${distTag}` : "";
|
|
8127
|
+
super(`update-notifier fetchInfo timed out after ${timeoutMs}ms${suffix}`);
|
|
8128
|
+
this.name = "UpdateCheckTimeoutError";
|
|
8129
|
+
this.distTag = distTag;
|
|
8130
|
+
}
|
|
8131
|
+
};
|
|
8132
|
+
async function fetchInfoWithTimeout(notifier, timeoutMs, distTag) {
|
|
8133
|
+
let timer;
|
|
8134
|
+
try {
|
|
8135
|
+
return await Promise.race([
|
|
8136
|
+
Promise.resolve(notifier.fetchInfo()),
|
|
8137
|
+
new Promise((_, reject) => {
|
|
8138
|
+
timer = setTimeout(
|
|
8139
|
+
() => reject(new UpdateCheckTimeoutError(timeoutMs, distTag)),
|
|
8140
|
+
timeoutMs
|
|
8141
|
+
);
|
|
8142
|
+
})
|
|
8143
|
+
]);
|
|
8144
|
+
} finally {
|
|
8145
|
+
if (timer !== void 0) clearTimeout(timer);
|
|
8146
|
+
}
|
|
8147
|
+
}
|
|
8148
|
+
__name(fetchInfoWithTimeout, "fetchInfoWithTimeout");
|
|
8120
8149
|
function getBestAvailableUpdate(nightly, stable) {
|
|
8121
8150
|
if (!nightly) return stable || null;
|
|
8122
8151
|
if (!stable) return nightly || null;
|
|
@@ -8152,9 +8181,20 @@ async function checkForUpdatesDetailed() {
|
|
|
8152
8181
|
}), "createNotifier");
|
|
8153
8182
|
if (isNightly) {
|
|
8154
8183
|
const [nightlyUpdateInfo, latestUpdateInfo] = await Promise.all([
|
|
8155
|
-
|
|
8156
|
-
|
|
8184
|
+
fetchInfoWithTimeout(
|
|
8185
|
+
createNotifier("nightly"),
|
|
8186
|
+
FETCH_TIMEOUT_MS,
|
|
8187
|
+
"nightly"
|
|
8188
|
+
),
|
|
8189
|
+
fetchInfoWithTimeout(
|
|
8190
|
+
createNotifier("latest"),
|
|
8191
|
+
FETCH_TIMEOUT_MS,
|
|
8192
|
+
"latest"
|
|
8193
|
+
)
|
|
8157
8194
|
]);
|
|
8195
|
+
debugLogger.debug(
|
|
8196
|
+
`fetchInfo returned nightly=${JSON.stringify(nightlyUpdateInfo)} latest=${JSON.stringify(latestUpdateInfo)} for current=${version}`
|
|
8197
|
+
);
|
|
8158
8198
|
const bestUpdate = getBestAvailableUpdate(
|
|
8159
8199
|
nightlyUpdateInfo,
|
|
8160
8200
|
latestUpdateInfo
|
|
@@ -8172,7 +8212,14 @@ async function checkForUpdatesDetailed() {
|
|
|
8172
8212
|
};
|
|
8173
8213
|
}
|
|
8174
8214
|
} else {
|
|
8175
|
-
const updateInfo = await
|
|
8215
|
+
const updateInfo = await fetchInfoWithTimeout(
|
|
8216
|
+
createNotifier("latest"),
|
|
8217
|
+
FETCH_TIMEOUT_MS,
|
|
8218
|
+
"latest"
|
|
8219
|
+
);
|
|
8220
|
+
debugLogger.debug(
|
|
8221
|
+
`fetchInfo returned ${JSON.stringify(updateInfo)} for current=${version}`
|
|
8222
|
+
);
|
|
8176
8223
|
if (updateInfo && import_semver2.default.gt(updateInfo.latest, version)) {
|
|
8177
8224
|
return {
|
|
8178
8225
|
status: "update",
|
|
@@ -8202,6 +8249,7 @@ __name(checkForUpdates, "checkForUpdates");
|
|
|
8202
8249
|
|
|
8203
8250
|
export {
|
|
8204
8251
|
FETCH_TIMEOUT_MS,
|
|
8252
|
+
UpdateCheckTimeoutError,
|
|
8205
8253
|
checkForUpdatesDetailed,
|
|
8206
8254
|
checkForUpdates
|
|
8207
8255
|
};
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getGitVersion,
|
|
5
5
|
getNpmVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K2GBHL73.js";
|
|
7
7
|
import {
|
|
8
8
|
buildEnvStatusFromEnv,
|
|
9
9
|
snapshotProcessEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2YSZE74N.js";
|
|
11
11
|
import {
|
|
12
12
|
mapDomainErrorToErrorKind
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-URP6O2PP.js";
|
|
14
14
|
import {
|
|
15
15
|
canUseRipgrep
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3YJZ6WNY.js";
|
|
17
17
|
import {
|
|
18
18
|
init_esbuild_shims
|
|
19
19
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -24,20 +24,6 @@ import {
|
|
|
24
24
|
// packages/cli/src/serve/daemon-status-provider.ts
|
|
25
25
|
init_esbuild_shims();
|
|
26
26
|
import { promises as fs } from "node:fs";
|
|
27
|
-
|
|
28
|
-
// packages/acp-bridge/src/index.ts
|
|
29
|
-
init_esbuild_shims();
|
|
30
|
-
|
|
31
|
-
// packages/acp-bridge/src/inMemoryChannel.ts
|
|
32
|
-
init_esbuild_shims();
|
|
33
|
-
|
|
34
|
-
// packages/acp-bridge/src/channel.ts
|
|
35
|
-
init_esbuild_shims();
|
|
36
|
-
|
|
37
|
-
// packages/acp-bridge/src/bridgeFileSystem.ts
|
|
38
|
-
init_esbuild_shims();
|
|
39
|
-
|
|
40
|
-
// packages/cli/src/serve/daemon-status-provider.ts
|
|
41
27
|
var REQUIRED_NODE_MAJOR = 22;
|
|
42
28
|
function createDaemonStatusProvider(options = {}) {
|
|
43
29
|
const readEnv = /* @__PURE__ */ __name(() => options.env ?? snapshotProcessEnv(), "readEnv");
|
|
@@ -416,6 +416,13 @@ function makeRelative(targetPath, rootDirectory) {
|
|
|
416
416
|
return relativePath || ".";
|
|
417
417
|
}
|
|
418
418
|
__name(makeRelative, "makeRelative");
|
|
419
|
+
function formatDisplayPath(filePath, rootDirectory, maxLen = 80) {
|
|
420
|
+
const resolved = resolvePath(rootDirectory, filePath);
|
|
421
|
+
const relative2 = makeRelative(resolved, rootDirectory);
|
|
422
|
+
const display = path.isAbsolute(relative2) ? tildeifyPath(relative2) : relative2;
|
|
423
|
+
return shortenPath(display, maxLen);
|
|
424
|
+
}
|
|
425
|
+
__name(formatDisplayPath, "formatDisplayPath");
|
|
419
426
|
function escapePath(filePath) {
|
|
420
427
|
let result = "";
|
|
421
428
|
for (let i = 0; i < filePath.length; i++) {
|
|
@@ -1109,6 +1116,7 @@ export {
|
|
|
1109
1116
|
expandHomeDir,
|
|
1110
1117
|
shortenPath,
|
|
1111
1118
|
makeRelative,
|
|
1119
|
+
formatDisplayPath,
|
|
1112
1120
|
escapePath,
|
|
1113
1121
|
unescapePath,
|
|
1114
1122
|
getProjectHash,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
SkillError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3YJZ6WNY.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -79,6 +79,8 @@ var SERVE_CONTROL_EXT_METHODS = {
|
|
|
79
79
|
sessionBranch: "qwen/control/session/branch",
|
|
80
80
|
sessionForkAgent: "qwen/control/session/fork_agent",
|
|
81
81
|
sessionRecap: "qwen/control/session/recap",
|
|
82
|
+
sessionGenerationStart: "qwen/control/session/generation/start",
|
|
83
|
+
sessionGenerationCancel: "qwen/control/session/generation/cancel",
|
|
82
84
|
sessionBtw: "qwen/control/session/btw",
|
|
83
85
|
sessionShellHistory: "qwen/control/session/shell_history",
|
|
84
86
|
sessionLanguage: "qwen/control/session/language",
|
|
@@ -86,9 +88,12 @@ var SERVE_CONTROL_EXT_METHODS = {
|
|
|
86
88
|
sessionContinue: "qwen/control/session/continue",
|
|
87
89
|
sessionTitle: "qwen/control/session/title",
|
|
88
90
|
sessionParent: "qwen/control/session/parent",
|
|
91
|
+
sessionSource: "qwen/control/session/source",
|
|
89
92
|
sessionArtifactsPersist: "qwen/control/session/artifacts/persist",
|
|
90
93
|
workspaceMcpRestart: "qwen/control/workspace/mcp/restart",
|
|
91
94
|
workspaceMcpManage: "qwen/control/workspace/mcp/manage",
|
|
95
|
+
workspaceMcpInitialize: "qwen/control/workspace/mcp/initialize",
|
|
96
|
+
workspaceMcpReload: "qwen/control/workspace/mcp/reload",
|
|
92
97
|
workspaceAgentGenerate: "qwen/control/workspace/agents/generate",
|
|
93
98
|
workspaceMemoryRememberAvailability: "qwen/control/workspace/memory/remember/availability",
|
|
94
99
|
workspaceMemoryRemember: "qwen/control/workspace/memory/remember",
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
isSupportedImageMimeType
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FEOZBUMT.js";
|
|
6
6
|
import {
|
|
7
7
|
TextTokenizer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CMVFTMRD.js";
|
|
9
9
|
import {
|
|
10
10
|
createDebugLogger
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UE5TZ55T.js";
|
|
12
12
|
import {
|
|
13
13
|
init_esbuild_shims
|
|
14
14
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -49,6 +49,19 @@ var SessionArchivedError = class extends Error {
|
|
|
49
49
|
this.sessionId = sessionId;
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
+
var SessionNotArchivedError = class extends Error {
|
|
53
|
+
static {
|
|
54
|
+
__name(this, "SessionNotArchivedError");
|
|
55
|
+
}
|
|
56
|
+
sessionId;
|
|
57
|
+
constructor(sessionId) {
|
|
58
|
+
super(
|
|
59
|
+
`Session "${sessionId}" is active. Archive it before exporting from archived storage.`
|
|
60
|
+
);
|
|
61
|
+
this.name = "SessionNotArchivedError";
|
|
62
|
+
this.sessionId = sessionId;
|
|
63
|
+
}
|
|
64
|
+
};
|
|
52
65
|
var SessionConflictError = class extends Error {
|
|
53
66
|
static {
|
|
54
67
|
__name(this, "SessionConflictError");
|
|
@@ -156,7 +169,7 @@ var WorkspaceMismatchError = class extends Error {
|
|
|
156
169
|
constructor(bound, requested) {
|
|
157
170
|
const safeRequested = requested.length > MAX_WORKSPACE_PATH_LENGTH ? `${requested.slice(0, MAX_WORKSPACE_PATH_LENGTH)}\u2026[truncated]` : requested;
|
|
158
171
|
super(
|
|
159
|
-
`Workspace mismatch:
|
|
172
|
+
`Workspace mismatch: runtime is bound to "${bound}" but request asked for "${safeRequested}". Select a registered runtime for "${safeRequested}" or register it before retrying; this bridge will not fall back to the primary workspace.`
|
|
160
173
|
);
|
|
161
174
|
this.name = "WorkspaceMismatchError";
|
|
162
175
|
this.bound = bound;
|
|
@@ -408,11 +421,16 @@ var CdWhilePromptActiveError = class extends Error {
|
|
|
408
421
|
}
|
|
409
422
|
};
|
|
410
423
|
|
|
424
|
+
// packages/acp-bridge/src/mcpTimeouts.ts
|
|
425
|
+
init_esbuild_shims();
|
|
426
|
+
var MCP_RESTART_SERVER_DEADLINE_MS = 3e5;
|
|
427
|
+
|
|
411
428
|
export {
|
|
412
429
|
NOT_CURRENTLY_GENERATING_CANCEL_MESSAGE,
|
|
413
430
|
isNotCurrentlyGeneratingCancelError,
|
|
414
431
|
SessionNotFoundError,
|
|
415
432
|
SessionArchivedError,
|
|
433
|
+
SessionNotArchivedError,
|
|
416
434
|
SessionConflictError,
|
|
417
435
|
SessionArchivingError,
|
|
418
436
|
RestoreInProgressError,
|
|
@@ -439,7 +457,8 @@ export {
|
|
|
439
457
|
WorkspaceDrainingError,
|
|
440
458
|
InvalidRewindTargetError,
|
|
441
459
|
BranchWhilePromptActiveError,
|
|
442
|
-
CdWhilePromptActiveError
|
|
460
|
+
CdWhilePromptActiveError,
|
|
461
|
+
MCP_RESTART_SERVER_DEADLINE_MS
|
|
443
462
|
};
|
|
444
463
|
/**
|
|
445
464
|
* @license
|