@qwen-code/qwen-code 0.19.2 → 0.19.3
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/extension-creator/SKILL.md +357 -0
- package/bundled/loop/SKILL.md +12 -7
- package/bundled/loop/SKILL.test.ts +32 -0
- package/bundled/qc-helper/SKILL.md +14 -14
- package/bundled/qc-helper/docs/configuration/auth.md +11 -11
- package/bundled/qc-helper/docs/configuration/model-providers.md +13 -13
- package/bundled/qc-helper/docs/configuration/settings.md +60 -60
- package/bundled/qc-helper/docs/features/commands.md +108 -77
- package/bundled/qc-helper/docs/features/memory.md +52 -0
- package/bundled/qc-helper/docs/qwen-serve.md +24 -2
- package/bundled/qc-helper/docs/support/tos-privacy.md +16 -3
- package/chunks/{MaxSizedBox-7RERNLFK.js → MaxSizedBox-QNF3EIGU.js} +29 -30
- package/chunks/{StandaloneSessionPicker-S22XBSN6.js → StandaloneSessionPicker-Z52JTYST.js} +42 -40
- package/chunks/{acpAgent-4MCETHF2.js → acpAgent-7RZUOWOM.js} +406 -118
- package/chunks/{agent-K3ENVYSB.js → agent-4FG7WTHJ.js} +24 -26
- package/chunks/{agent-headless-HO3V3A3A.js → agent-headless-RQ5BTX3G.js} +24 -26
- package/chunks/{anthropicContentGenerator-E3TQ5XJJ.js → anthropicContentGenerator-PFITVL7Y.js} +31 -13
- package/chunks/{artifact-tool-QA4KRO3B.js → artifact-tool-D2X7G3C3.js} +2 -2
- package/chunks/{askUserQuestion-HMWXW6VN.js → askUserQuestion-UGETICJQ.js} +2 -2
- package/chunks/{bridge-4LV2HBH2.js → bridge-JL2PMCIW.js} +29 -32
- package/chunks/{ca-7WC7ELX6.js → ca-IUFWESZL.js} +1 -0
- package/chunks/{chunk-3UALQ56H.js → chunk-3227DZO4.js} +1 -1
- package/chunks/{chunk-JTYRZODB.js → chunk-3TV3HUWZ.js} +16 -7
- package/chunks/{chunk-NYOHZYHM.js → chunk-4LUZAKMK.js} +45 -3
- package/chunks/{chunk-EL5IHQON.js → chunk-4QK3O43S.js} +6 -27
- package/chunks/chunk-5GOVVXEV.js +73 -0
- package/chunks/{chunk-R36VMVEP.js → chunk-6V4NZFUS.js} +5 -5
- package/chunks/{chunk-XKBP7M7A.js → chunk-ADCIHOQZ.js} +138 -28
- package/chunks/chunk-BC3C4F3Q.js +40 -0
- package/chunks/{chunk-CGEGHF2C.js → chunk-BKXBARJZ.js} +1 -1
- package/chunks/chunk-BMFMJINR.js +45 -0
- package/chunks/chunk-BTLJ2MF5.js +690 -0
- package/chunks/{chunk-OIC6S73E.js → chunk-BUUQ5HPX.js} +1 -1
- package/chunks/{chunk-2BIF2NVV.js → chunk-BVSVIN45.js} +2 -2
- package/chunks/{chunk-JXQ23SNT.js → chunk-BW4KCQFD.js} +54 -2
- package/chunks/{chunk-TOEGRAVX.js → chunk-BX5YO7UW.js} +17 -5
- package/chunks/{chunk-5RVSM6NW.js → chunk-BXSHL2SF.js} +1 -1
- package/chunks/{chunk-UN3C6GOR.js → chunk-CF6BB3LT.js} +0 -107
- package/chunks/{chunk-Z7XXFPGP.js → chunk-CKQA6AWF.js} +1 -1
- package/chunks/{chunk-I2RFAW6Q.js → chunk-CNLEDYE3.js} +7 -5
- package/chunks/{chunk-PRYMDRBV.js → chunk-DDMOU62Q.js} +1 -1
- package/chunks/chunk-EDMZZFDU.js +11213 -0
- package/chunks/{chunk-IRJWHZWU.js → chunk-EJYJYJZ2.js} +70 -3
- package/chunks/{chunk-OQHQHJRK.js → chunk-F3ZYSEY6.js} +151 -4775
- package/chunks/chunk-FKAVULLM.js +4909 -0
- package/chunks/{chunk-TZM5JIAX.js → chunk-FNJ7BDPH.js} +6 -6
- package/chunks/{chunk-EXMX5YHG.js → chunk-FXKVLFFY.js} +1 -1
- package/chunks/{chunk-EX4W6ZYG.js → chunk-GGBIN5K7.js} +1 -1
- package/chunks/{chunk-BS64PXY3.js → chunk-GT2FGICD.js} +1 -1
- package/chunks/{chunk-HG6YKEBI.js → chunk-HPZTOP4I.js} +75 -23
- package/chunks/{chunk-OTBK43JR.js → chunk-HYCC3XM3.js} +1 -1
- package/chunks/{chunk-3QFE4OTE.js → chunk-HZT4UCFB.js} +4 -4
- package/chunks/{chunk-GYZQA2FO.js → chunk-I2LYBGNI.js} +1 -1
- package/chunks/{chunk-TMBPDHXD.js → chunk-I4H7PRWQ.js} +1 -1
- package/chunks/{chunk-2BAQ3ACS.js → chunk-J33ZR6OJ.js} +404 -4
- package/chunks/{chunk-4W4T77MO.js → chunk-J7FA27RO.js} +109 -6
- package/chunks/{chunk-S566HKUS.js → chunk-JE5FVRPC.js} +38 -7
- package/chunks/{chunk-CGOMICBE.js → chunk-JJXWTVSK.js} +1 -1
- package/chunks/{chunk-EEEZIVFJ.js → chunk-JOLIREYR.js} +1 -1
- package/chunks/{chunk-DBZUXSSV.js → chunk-JVHEVCAU.js} +5 -5
- package/chunks/chunk-K5XU6E4T.js +167 -0
- package/chunks/{chunk-EW6C27XX.js → chunk-KMGMKW5Q.js} +1 -1
- package/chunks/{chunk-D5E5TMYH.js → chunk-L7OKCI7T.js} +4 -2
- package/chunks/{chunk-ZUAXI2OA.js → chunk-M2U5NM24.js} +188 -11366
- package/chunks/{chunk-CI5O6SQL.js → chunk-MNF6S5PR.js} +4 -4
- package/chunks/{chunk-FPACXT7T.js → chunk-N4EJFBN5.js} +421 -163
- package/chunks/chunk-NDOC6M5S.js +481 -0
- package/chunks/{chunk-HGNSRCRB.js → chunk-NL4C3H6C.js} +1 -1
- package/chunks/{chunk-GZCJS5WH.js → chunk-O2VBQ3Y2.js} +2 -2
- package/chunks/{chunk-VQRYPFCV.js → chunk-O75BHFQW.js} +10 -460
- package/chunks/{chunk-WGAEWQTF.js → chunk-ODLIHNOY.js} +1 -2
- package/chunks/{chunk-J6AW7O5D.js → chunk-PDE7CSDS.js} +2 -2
- package/chunks/{chunk-5R4SBCX6.js → chunk-PR32FRT6.js} +3 -3
- package/chunks/{chunk-LLFFKXZZ.js → chunk-QE6KJYLT.js} +56 -29
- package/chunks/{chunk-3RJ3ZPPR.js → chunk-QI7GOGJR.js} +7 -7
- package/chunks/{chunk-XU5P23GN.js → chunk-QLDPRILK.js} +3 -3
- package/chunks/{chunk-WA5OJGFL.js → chunk-QNKBEJO2.js} +359 -76
- package/chunks/{chunk-UAARVVBI.js → chunk-QWFNTRH4.js} +1 -1
- package/chunks/chunk-QYUE6W3T.js +123 -0
- package/chunks/{chunk-5JZLXFPD.js → chunk-R5OP2ATH.js} +11 -11
- package/chunks/{chunk-BNXANYLH.js → chunk-RD6YJJJ6.js} +81 -1
- package/chunks/{chunk-2TJ3YN6Q.js → chunk-RRFZXMYP.js} +380 -400
- package/chunks/{chunk-ZN5T4BHI.js → chunk-RYLJU2DY.js} +1 -1
- package/chunks/{chunk-ZD3NW5KL.js → chunk-S7AKE7HL.js} +3 -3
- package/chunks/{chunk-BG4BIP7F.js → chunk-SBBN4BWR.js} +4 -2
- package/chunks/{chunk-T2VDEFUU.js → chunk-SKQZZVAV.js} +2 -2
- package/chunks/{chunk-USGMPVOY.js → chunk-SLNKLLEO.js} +14 -9
- package/chunks/chunk-SMXULRAN.js +37 -0
- package/chunks/{chunk-PF523XJX.js → chunk-SMYQZVZ3.js} +1 -1
- package/chunks/{chunk-I5T6PIBQ.js → chunk-STUWFKGD.js} +1001 -887
- package/chunks/{chunk-UAARJR2G.js → chunk-T4T2FNV4.js} +2 -2
- package/chunks/{chunk-F6XNTYNE.js → chunk-U3KSMM7G.js} +8 -4
- package/chunks/chunk-UFLGERMB.js +813 -0
- package/chunks/{chunk-BGUDAULQ.js → chunk-UO5GVXQE.js} +5 -5
- package/chunks/{chunk-C4K3FEQ2.js → chunk-UX4SGCGN.js} +32 -3
- package/chunks/{chunk-RS4HRC75.js → chunk-UYT3MWEB.js} +85 -8
- package/chunks/{chunk-VYFMN7C6.js → chunk-VBZ452JT.js} +113 -24
- package/chunks/{chunk-KBXLIVWQ.js → chunk-VVLOGDB6.js} +2 -2
- package/chunks/{chunk-TXVGVZYR.js → chunk-XJYUPHRC.js} +3 -3
- package/chunks/{chunk-2JD55C6G.js → chunk-Y6YMRS3U.js} +2 -2
- package/chunks/{chunk-PXFFKNCO.js → chunk-YAINVQ3Q.js} +2961 -1349
- package/chunks/{chunk-X6EDWN44.js → chunk-ZP6UKOPB.js} +1 -1
- package/chunks/{computer-use-6BBRNT6S.js → computer-use-JGB36FDW.js} +103 -52
- package/chunks/{contextCommand-UJAJ6N57.js → contextCommand-WYU6OQ2F.js} +26 -28
- package/chunks/{cron-create-4KQE6YLH.js → cron-create-SKEY55RG.js} +4 -4
- package/chunks/{cron-delete-THME66UP.js → cron-delete-I3NAT32Z.js} +6 -6
- package/chunks/{cron-list-7A54SJ5N.js → cron-list-6XRRL6TH.js} +5 -5
- package/chunks/daemon-status-provider-HH2EC5FI.js +65 -0
- package/chunks/{de-ACHALDED.js → de-EOW5PVHF.js} +1 -0
- package/chunks/{dist-BOOH5JWN.js → dist-663NZ6MI.js} +1 -1
- package/chunks/{dist-QHJRBCMP.js → dist-J37VXPLD.js} +46 -5
- package/chunks/{dist-OD2FY543.js → dist-LB6OGPVM.js} +1 -1
- package/chunks/{dist-BD27IA3L.js → dist-NHEYYB2B.js} +2 -2
- package/chunks/{dist-QFFZWACU.js → dist-PQPZ5Q4N.js} +1 -1
- package/chunks/{earlyInputCapture-X6KMCSHD.js → earlyInputCapture-44RISVVJ.js} +25 -27
- package/chunks/{edit-7J6WXARF.js → edit-NN6GM5DT.js} +68 -30
- package/chunks/{en-NCUBOJOY.js → en-HPWEJBTR.js} +8 -0
- package/chunks/{enter-worktree-KULCKJPJ.js → enter-worktree-PB3O2C7D.js} +24 -26
- package/chunks/{enterPlanMode-H2CIOLMH.js → enterPlanMode-YQFNNSUA.js} +24 -26
- package/chunks/{errors-6G2JYR54.js → errors-LS7XU5DZ.js} +26 -28
- package/chunks/{exit-worktree-ECBWBVC5.js → exit-worktree-E2FTNSBK.js} +24 -26
- package/chunks/{exitPlanMode-DQV56GTW.js → exitPlanMode-GLYK2BUB.js} +24 -26
- package/chunks/{fast-path-35JJFS3C.js → fast-path-WQ6M7LI7.js} +4 -4
- package/chunks/{fast-path-settings-TSVI53EB.js → fast-path-settings-OAGU3X5H.js} +3 -2
- package/chunks/{fr-GVKZ27MF.js → fr-BN5NKSAC.js} +1 -0
- package/chunks/{gemini-NDTG7WAX.js → gemini-2YFLVA2M.js} +204 -103
- package/chunks/{geminiContentGenerator-XTG6SFLA.js → geminiContentGenerator-XV6SV6CD.js} +4 -4
- package/chunks/{glob-SJ2JBZK4.js → glob-2H6CDDMK.js} +24 -26
- package/chunks/{grep-BRMWFEWR.js → grep-VXIUXM3C.js} +24 -26
- package/chunks/{headlessSafetyWarnings-LJ6FJX77.js → headlessSafetyWarnings-TBE35GJ4.js} +24 -26
- package/chunks/initializer-2Y7SLOKV.js +61 -0
- package/chunks/{ja-FKZ2WZ4D.js → ja-7DEUB2TS.js} +1 -0
- package/chunks/{keychain-token-storage-CSYMNRPP.js → keychain-token-storage-YLMDLKXT.js} +2 -2
- package/chunks/list-ZAFHZ7OS.js +65 -0
- package/chunks/loadedSettingsAdapter-6KJXD6M3.js +60 -0
- package/chunks/{loop-wakeup-33GPXJLA.js → loop-wakeup-CITGGQHA.js} +7 -7
- package/chunks/{ls-BYQY7RVV.js → ls-R5WP4BGZ.js} +4 -4
- package/chunks/{lsp-X54RO4IV.js → lsp-GSICJMMW.js} +2 -2
- package/chunks/{monitor-DH7KFSJV.js → monitor-HKLRS2HQ.js} +24 -26
- package/chunks/nonInteractiveCli-5W4GIZQM.js +96 -0
- package/chunks/{notebook-edit-D4R4ZLMA.js → notebook-edit-Y6SKSGTT.js} +52 -26
- package/chunks/{openaiContentGenerator-F74IPQ6E.js → openaiContentGenerator-J7G2FYJT.js} +13 -14
- package/chunks/{pt-SY5NCFGR.js → pt-TNZRNLQB.js} +1 -0
- package/chunks/{qwenContentGenerator-ATTK5P4D.js → qwenContentGenerator-5XIEM5GV.js} +26 -28
- package/chunks/{qwenOAuth2-K4AASPCV.js → qwenOAuth2-AG3PFFLZ.js} +4 -4
- package/chunks/{read-file-767G23OY.js → read-file-J7D552ZJ.js} +9 -10
- package/chunks/{read-mcp-resource-I5HCZJ6X.js → read-mcp-resource-DQQW7H7T.js} +2 -2
- package/chunks/{ripGrep-4OMMGSWX.js → ripGrep-IEIFIWP4.js} +24 -26
- package/chunks/{ru-FWNXJG4F.js → ru-NIAUBKCN.js} +1 -0
- package/chunks/{run-qwen-serve-REKSTYRA.js → run-qwen-serve-SGEEVMXD.js} +149 -41
- package/chunks/{scheduler-UNTFDQLG.js → scheduler-7CQI3S4Q.js} +24 -26
- package/chunks/{send-message-2DAFXEYP.js → send-message-EE4TWKVU.js} +2 -2
- package/chunks/{serve-KZ56QB5S.js → serve-V6GVZR6U.js} +31 -31
- package/chunks/{server-BV5TZUMU.js → server-4QMUWXPW.js} +6996 -5864
- package/chunks/{session-OIBXFSGD.js → session-NRO7UFOY.js} +62 -57
- package/chunks/{settings-WJTCBIRA.js → settings-SGWRDQSC.js} +30 -30
- package/chunks/{shell-WC52IBHW.js → shell-62ANGIHL.js} +24 -26
- package/chunks/{skill-U7F7JR4M.js → skill-VWAQAWW6.js} +39 -13
- package/chunks/{spawnChannel-EI2E5BCW.js → spawnChannel-3VHW5EPY.js} +26 -28
- package/chunks/{src-4F6FBZFI.js → src-KUV5J5Q2.js} +52 -28
- package/chunks/{startInteractiveUI-SFRVB3CE.js → startInteractiveUI-6EYJN3JV.js} +2588 -2371
- package/chunks/{syntheticOutput-PPS3HDVA.js → syntheticOutput-T5YHQ6S2.js} +3 -3
- package/chunks/{task-create-OUYCA553.js → task-create-BLY7RHXX.js} +6 -6
- package/chunks/{task-list-WAX7I2IA.js → task-list-3QUYNVYR.js} +5 -5
- package/chunks/{task-stop-CAIL6FNH.js → task-stop-U4RATK2V.js} +2 -2
- package/chunks/{task-update-AHEO5OUT.js → task-update-U54O7KJX.js} +6 -6
- package/chunks/{team-create-3WC7CIIW.js → team-create-LPOGCPM7.js} +24 -26
- package/chunks/{team-delete-HGHFG23B.js → team-delete-LKBYPASD.js} +5 -5
- package/chunks/{theme-manager-DICFCT3P.js → theme-manager-LYLGAERF.js} +25 -27
- package/chunks/{todoWrite-IFBMN3FH.js → todoWrite-OYXKTVYN.js} +4 -4
- package/chunks/{tool-search-L5K7HLER.js → tool-search-YPUFJ3ZQ.js} +102 -18
- package/chunks/trustedFolders-5B24TMEA.js +73 -0
- package/chunks/types-QX5C3CHJ.js +12 -0
- package/chunks/{validateNonInterActiveAuth-GCH4Z6KI.js → validateNonInterActiveAuth-BTDTYOVT.js} +57 -54
- package/chunks/{web-fetch-B5IIQ5TT.js → web-fetch-EEB5LZYU.js} +28 -15
- package/chunks/{workflow-OB3AND7I.js → workflow-LAWIW5LI.js} +32 -33
- package/chunks/workspace-providers-status-PIAFVYHA.js +62 -0
- package/chunks/workspace-service-YAIOD4HG.js +71 -0
- package/chunks/{write-file-SEXBNDZM.js → write-file-PCV226DJ.js} +63 -30
- package/chunks/{zh-RBEGQVQT.js → zh-5EUYXASN.js} +8 -0
- package/chunks/{zh-TW-QGAVRXT3.js → zh-TW-TR3XYGE5.js} +8 -0
- package/cli-entry.js +20 -9
- package/cli.js +6 -6
- package/locales/ca.js +2 -0
- package/locales/de.js +2 -0
- package/locales/en.js +14 -0
- package/locales/fr.js +2 -0
- package/locales/ja.js +1 -0
- package/locales/pt.js +2 -0
- package/locales/ru.js +2 -0
- package/locales/zh-TW.js +12 -0
- package/locales/zh.js +12 -0
- package/node_modules/@qwen-code/audio-capture/dist/index.d.ts +35 -0
- package/node_modules/@qwen-code/audio-capture/dist/index.js +48 -0
- package/node_modules/@qwen-code/audio-capture/dist/index.js.map +1 -0
- package/node_modules/@qwen-code/audio-capture/dist/platform.d.ts +7 -0
- package/node_modules/@qwen-code/audio-capture/dist/platform.js +18 -0
- package/node_modules/@qwen-code/audio-capture/dist/platform.js.map +1 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/LICENSE +21 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/README.md +58 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/SECURITY.md +5 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/bin.js +84 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/build-test.js +19 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/index.js +6 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/node-gyp-build.js +207 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/optional.js +7 -0
- package/node_modules/@qwen-code/audio-capture/node_modules/node-gyp-build/package.json +43 -0
- package/node_modules/@qwen-code/audio-capture/package.json +30 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/linux-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/linux-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
- package/package.json +6 -3
- package/web-shell/assets/{arc-D_ae_Y9k.js → arc-DA7r8Ueo.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-BMLRjppa.js → architectureDiagram-3BPJPVTR-ZDUxPtZ2.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-qVDQC8KL.js → blockDiagram-GPEHLZMM-vrtOf1kJ.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-CxWS6MBd.js → c4Diagram-AAUBKEIU-BHFjzIi4.js} +1 -1
- package/web-shell/assets/channel-iRo68q4Q.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-BtNuY5Yp.js → chunk-2J33WTMH-mdeQVz59.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-BU-x368d.js → chunk-4BX2VUAB-BkKMlwBX.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-DRgTLvBu.js → chunk-55IACEB6-B7bnXNfu.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-D2aElv7q.js → chunk-727SXJPM-DGz8Mm6i.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-BwHCMRQ0.js → chunk-AQP2D5EJ-BQAydUNk.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-BMyPH-ku.js → chunk-FMBD7UC4-GHr2LN_p.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-BNKTstUf.js → chunk-ND2GUHAM-7R91lnUx.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-gD3vsFId.js → chunk-QZHKN3VN-aTJD3lSQ.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-iHF24a8X.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-iHF24a8X.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BG9FAsXE.js → cose-bilkent-S5V4N54A-BTf8t1RL.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-Cy1sR7om.js → dagre-BM42HDAG-_sgp3WuA.js} +1 -1
- package/web-shell/assets/default-aEtf0G7-.svg +1 -0
- package/web-shell/assets/{diagram-2AECGRRQ-Bxi1I_Vu.js → diagram-2AECGRRQ-CROtRy1w.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BGCJjO6y.js → diagram-5GNKFQAL-BqGRzwSc.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-CMTeLXp7.js → diagram-KO2AKTUF-CMrcEtA7.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BN1wyAGh.js → diagram-LMA3HP47-BRydGNW5.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-UYSG_zcp.js → diagram-OG6HWLK6-D0ilgNjV.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-DqXL08lw.js → erDiagram-TEJ5UH35-2lnQeJUM.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-BPJ9SFji.js → flowDiagram-I6XJVG4X-C_ZMdQiC.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BEd9Pnms.js → ganttDiagram-6RSMTGT7-Dw9V_Ny0.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DrNRH3oi.js → gitGraphDiagram-PVQCEYII-HDXI-F1B.js} +1 -1
- package/web-shell/assets/index-CHmzAWys.css +5 -0
- package/web-shell/assets/index-w6GTOHh1.js +713 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CFYBrkVI.js → infoDiagram-5YYISTIA-CuB8Ebua.js} +1 -1
- package/web-shell/assets/insert-DmRbh9Rv.svg +1 -0
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-Dxsddth7.js → ishikawaDiagram-YF4QCWOH-D_tyhVwh.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-DxaDK80t.js → journeyDiagram-JHISSGLW-CgCwJQNU.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-Q0jQCOct.js → kanban-definition-UN3LZRKU-PZUtcbPx.js} +1 -1
- package/web-shell/assets/{linear-DGGM2kcP.js → linear-CZqRdJIU.js} +1 -1
- package/web-shell/assets/{mermaid.core-ByoxnWut.js → mermaid.core-CPW_4UEF.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-C0ZseHsi.js → mindmap-definition-RKZ34NQL-D_Y75ID7.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-MQXNhl5A.js → pieDiagram-4H26LBE5-Q4dTyLeF.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DIR4ee2A.js → quadrantDiagram-W4KKPZXB-ckw329Ft.js} +1 -1
- package/web-shell/assets/queue-DWpnpFgW.svg +1 -0
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-BTR0UdYQ.js → requirementDiagram-4Y6WPE33-DbVDm4It.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-sfnhMELN.js → sankeyDiagram-5OEKKPKP-CHuZ_ecH.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DXczHOHH.js → sequenceDiagram-3UESZ5HK-DU2YSpq-.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-DdE_KQFH.js → stateDiagram-AJRCARHV-CA9PEBUo.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-t1LRI0oY.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DIc61uE8.js → timeline-definition-PNZ67QCA-Bhlo4WVc.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BF7ODmxB.js → vennDiagram-CIIHVFJN-6xtPLsyl.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-3pc1MEaw.js → wardley-L42UT6IY-3eozmXPf.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-9jnPcZuP.js → wardleyDiagram-YWT4CUSO-BOn6hKss.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-DcthaZK6.js → xychartDiagram-2RQKCTM6-BsP4-I_y.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-5P5XGNYH.js +0 -93
- package/chunks/chunk-B6HQGTYR.js +0 -410
- package/chunks/chunk-SEZC2725.js +0 -36
- package/chunks/chunk-SYCJMSIJ.js +0 -82
- package/chunks/daemon-status-provider-CSL3BUOY.js +0 -68
- package/chunks/initializer-P5AXF7PV.js +0 -61
- package/chunks/list-6COK34BP.js +0 -65
- package/chunks/loadedSettingsAdapter-XIUTN245.js +0 -60
- package/chunks/nonInteractiveCli-7575LBXP.js +0 -91
- package/chunks/workspace-providers-status-ZIR5EPOO.js +0 -62
- package/chunks/workspace-service-OM5D4OI2.js +0 -60
- package/web-shell/assets/channel-DYPNiTww.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-p_g25Tni.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-p_g25Tni.js +0 -1
- package/web-shell/assets/index-CpOXWDPh.js +0 -714
- package/web-shell/assets/index-oVK7qhre.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BHUSEndU.js +0 -1
|
@@ -108,6 +108,9 @@ var SessionRouter = class {
|
|
|
108
108
|
getTarget(sessionId) {
|
|
109
109
|
return this.toTarget.get(sessionId);
|
|
110
110
|
}
|
|
111
|
+
getSession(channelName, senderId, chatId, threadId) {
|
|
112
|
+
return this.toSession.get(this.routingKey(channelName, senderId, chatId, threadId));
|
|
113
|
+
}
|
|
111
114
|
hasSession(channelName, senderId, chatId) {
|
|
112
115
|
if (chatId) {
|
|
113
116
|
return this.toSession.has(this.routingKey(channelName, senderId, chatId));
|
|
@@ -265,6 +268,11 @@ var BlockStreamer = class {
|
|
|
265
268
|
}
|
|
266
269
|
await this.sending;
|
|
267
270
|
}
|
|
271
|
+
/** Drop buffered text and cancel future idle emission. */
|
|
272
|
+
stop() {
|
|
273
|
+
this.clearIdleTimer();
|
|
274
|
+
this.buffer = "";
|
|
275
|
+
}
|
|
268
276
|
// ---------------------------------------------------------------------------
|
|
269
277
|
// Internal
|
|
270
278
|
// ---------------------------------------------------------------------------
|
|
@@ -607,6 +615,37 @@ var ChannelBase = class {
|
|
|
607
615
|
registerCommand(name, handler) {
|
|
608
616
|
this.commands.set(name.toLowerCase(), handler);
|
|
609
617
|
}
|
|
618
|
+
registerCancelCommand(name = "cancel") {
|
|
619
|
+
this.registerCommand(name, async (envelope) => {
|
|
620
|
+
const activeSessionId = this.findActiveSessionId(envelope);
|
|
621
|
+
if (!activeSessionId) {
|
|
622
|
+
await this.sendMessage(envelope.chatId, "No request is currently running.");
|
|
623
|
+
return true;
|
|
624
|
+
}
|
|
625
|
+
const active = this.activePrompts.get(activeSessionId);
|
|
626
|
+
if (!active) {
|
|
627
|
+
await this.sendMessage(envelope.chatId, "No request is currently running.");
|
|
628
|
+
return true;
|
|
629
|
+
}
|
|
630
|
+
const cancelRequested = active.cancelRequested ?? this.bridge.cancelSession(activeSessionId).then(() => true, (err) => {
|
|
631
|
+
process.stderr.write(`[${this.name}] cancelSession failed for session=${activeSessionId}: ${err instanceof Error ? err.message : err}
|
|
632
|
+
`);
|
|
633
|
+
active.cancelRequested = void 0;
|
|
634
|
+
return false;
|
|
635
|
+
});
|
|
636
|
+
active.cancelRequested = cancelRequested;
|
|
637
|
+
const cancelSucceeded = await cancelRequested;
|
|
638
|
+
if (!cancelSucceeded) {
|
|
639
|
+
await this.sendMessage(envelope.chatId, "Failed to cancel current request.");
|
|
640
|
+
return true;
|
|
641
|
+
}
|
|
642
|
+
active.cancelled = true;
|
|
643
|
+
active.stopStreaming?.();
|
|
644
|
+
this.collectBuffers.delete(activeSessionId);
|
|
645
|
+
await this.sendMessage(envelope.chatId, "Cancelled current request.");
|
|
646
|
+
return true;
|
|
647
|
+
});
|
|
648
|
+
}
|
|
610
649
|
/** Register shared slash commands. Called from constructor. */
|
|
611
650
|
registerSharedCommands() {
|
|
612
651
|
const clearHandler = /* @__PURE__ */ __name(async (envelope) => {
|
|
@@ -666,6 +705,10 @@ var ChannelBase = class {
|
|
|
666
705
|
const parsed = this.parseCommand(text);
|
|
667
706
|
return parsed !== null && this.commands.has(parsed.command);
|
|
668
707
|
}
|
|
708
|
+
findActiveSessionId(envelope) {
|
|
709
|
+
const sessionId = this.router.getSession(this.name, envelope.senderId, envelope.chatId, envelope.threadId);
|
|
710
|
+
return sessionId && this.activePrompts.has(sessionId) ? sessionId : void 0;
|
|
711
|
+
}
|
|
669
712
|
/**
|
|
670
713
|
* Parse a slash command from message text.
|
|
671
714
|
* Returns { command, args } or null if not a slash command.
|
|
@@ -792,7 +835,11 @@ ${promptText}`;
|
|
|
792
835
|
const done = new Promise((r) => {
|
|
793
836
|
doneResolve = r;
|
|
794
837
|
});
|
|
795
|
-
const promptState = {
|
|
838
|
+
const promptState = {
|
|
839
|
+
cancelled: false,
|
|
840
|
+
done,
|
|
841
|
+
resolve: doneResolve
|
|
842
|
+
};
|
|
796
843
|
this.activePrompts.set(sessionId, promptState);
|
|
797
844
|
this.onPromptStart(envelope.chatId, sessionId, envelope.messageId);
|
|
798
845
|
const streamer = useBlockStreaming ? new BlockStreamer({
|
|
@@ -801,8 +848,9 @@ ${promptText}`;
|
|
|
801
848
|
idleMs: this.config.blockStreamingCoalesce?.idleMs ?? 1500,
|
|
802
849
|
send: /* @__PURE__ */ __name((text) => this.sendMessage(envelope.chatId, text), "send")
|
|
803
850
|
}) : null;
|
|
851
|
+
promptState.stopStreaming = () => streamer?.stop();
|
|
804
852
|
const onChunk = /* @__PURE__ */ __name((sid, chunk) => {
|
|
805
|
-
if (sid === sessionId) {
|
|
853
|
+
if (sid === sessionId && !promptState.cancelled) {
|
|
806
854
|
this.onResponseChunk(envelope.chatId, chunk, sessionId);
|
|
807
855
|
streamer?.push(chunk);
|
|
808
856
|
}
|
|
@@ -813,6 +861,9 @@ ${promptText}`;
|
|
|
813
861
|
imageBase64,
|
|
814
862
|
imageMimeType
|
|
815
863
|
});
|
|
864
|
+
if (promptState.cancelRequested && !promptState.cancelled) {
|
|
865
|
+
promptState.cancelled = await promptState.cancelRequested;
|
|
866
|
+
}
|
|
816
867
|
if (!promptState.cancelled && response) {
|
|
817
868
|
if (streamer) {
|
|
818
869
|
await streamer.flush();
|
|
@@ -822,6 +873,7 @@ ${promptText}`;
|
|
|
822
873
|
}
|
|
823
874
|
} finally {
|
|
824
875
|
this.bridge.off("textChunk", onChunk);
|
|
876
|
+
streamer?.stop();
|
|
825
877
|
this.onPromptEnd(envelope.chatId, sessionId, envelope.messageId);
|
|
826
878
|
this.activePrompts.delete(sessionId);
|
|
827
879
|
promptState.resolve();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createDebugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UX4SGCGN.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -14140,10 +14140,22 @@ var ajvOptions = {
|
|
|
14140
14140
|
// strictSchema defaults to true and prevents use of JSON schemas that
|
|
14141
14141
|
// include unrecognized keywords. The JSON schema spec specifically allows
|
|
14142
14142
|
// for the use of non-standard keywords and the spec-compliant behavior
|
|
14143
|
-
// is to ignore those keywords.
|
|
14144
|
-
|
|
14145
|
-
//
|
|
14146
|
-
|
|
14143
|
+
// is to ignore those keywords.
|
|
14144
|
+
strictSchema: false,
|
|
14145
|
+
// Ajv still validates known formats, but MCP/OpenAPI schemas often include
|
|
14146
|
+
// annotation-only formats like uint64 that would otherwise spam stderr.
|
|
14147
|
+
logger: {
|
|
14148
|
+
// eslint-disable-next-line no-console
|
|
14149
|
+
log: /* @__PURE__ */ __name((...args) => console.log(...args), "log"),
|
|
14150
|
+
warn: /* @__PURE__ */ __name((...args) => {
|
|
14151
|
+
if (typeof args[0] === "string" && args[0].startsWith("unknown format ")) {
|
|
14152
|
+
return;
|
|
14153
|
+
}
|
|
14154
|
+
console.warn(...args);
|
|
14155
|
+
}, "warn"),
|
|
14156
|
+
// eslint-disable-next-line no-console
|
|
14157
|
+
error: /* @__PURE__ */ __name((...args) => console.error(...args), "error")
|
|
14158
|
+
}
|
|
14147
14159
|
};
|
|
14148
14160
|
var ajvDefault = new AjvClass(ajvOptions);
|
|
14149
14161
|
var ajv2020 = new Ajv2020Class(ajvOptions);
|
|
@@ -4,83 +4,9 @@ import {
|
|
|
4
4
|
init_esbuild_shims
|
|
5
5
|
} from "./chunk-A4BMJM77.js";
|
|
6
6
|
import {
|
|
7
|
-
__commonJS,
|
|
8
7
|
__name
|
|
9
8
|
} from "./chunk-J2S4EL5Y.js";
|
|
10
9
|
|
|
11
|
-
// node_modules/strip-json-comments/index.js
|
|
12
|
-
var require_strip_json_comments = __commonJS({
|
|
13
|
-
"node_modules/strip-json-comments/index.js"(exports, module) {
|
|
14
|
-
"use strict";
|
|
15
|
-
init_esbuild_shims();
|
|
16
|
-
var singleComment = Symbol("singleComment");
|
|
17
|
-
var multiComment = Symbol("multiComment");
|
|
18
|
-
var stripWithoutWhitespace = /* @__PURE__ */ __name(() => "", "stripWithoutWhitespace");
|
|
19
|
-
var stripWithWhitespace = /* @__PURE__ */ __name((string, start, end) => string.slice(start, end).replace(/\S/g, " "), "stripWithWhitespace");
|
|
20
|
-
var isEscaped = /* @__PURE__ */ __name((jsonString, quotePosition) => {
|
|
21
|
-
let index = quotePosition - 1;
|
|
22
|
-
let backslashCount = 0;
|
|
23
|
-
while (jsonString[index] === "\\") {
|
|
24
|
-
index -= 1;
|
|
25
|
-
backslashCount += 1;
|
|
26
|
-
}
|
|
27
|
-
return Boolean(backslashCount % 2);
|
|
28
|
-
}, "isEscaped");
|
|
29
|
-
module.exports = (jsonString, options = {}) => {
|
|
30
|
-
if (typeof jsonString !== "string") {
|
|
31
|
-
throw new TypeError(`Expected argument \`jsonString\` to be a \`string\`, got \`${typeof jsonString}\``);
|
|
32
|
-
}
|
|
33
|
-
const strip = options.whitespace === false ? stripWithoutWhitespace : stripWithWhitespace;
|
|
34
|
-
let insideString = false;
|
|
35
|
-
let insideComment = false;
|
|
36
|
-
let offset = 0;
|
|
37
|
-
let result = "";
|
|
38
|
-
for (let i = 0; i < jsonString.length; i++) {
|
|
39
|
-
const currentCharacter = jsonString[i];
|
|
40
|
-
const nextCharacter = jsonString[i + 1];
|
|
41
|
-
if (!insideComment && currentCharacter === '"') {
|
|
42
|
-
const escaped = isEscaped(jsonString, i);
|
|
43
|
-
if (!escaped) {
|
|
44
|
-
insideString = !insideString;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
if (insideString) {
|
|
48
|
-
continue;
|
|
49
|
-
}
|
|
50
|
-
if (!insideComment && currentCharacter + nextCharacter === "//") {
|
|
51
|
-
result += jsonString.slice(offset, i);
|
|
52
|
-
offset = i;
|
|
53
|
-
insideComment = singleComment;
|
|
54
|
-
i++;
|
|
55
|
-
} else if (insideComment === singleComment && currentCharacter + nextCharacter === "\r\n") {
|
|
56
|
-
i++;
|
|
57
|
-
insideComment = false;
|
|
58
|
-
result += strip(jsonString, offset, i);
|
|
59
|
-
offset = i;
|
|
60
|
-
continue;
|
|
61
|
-
} else if (insideComment === singleComment && currentCharacter === "\n") {
|
|
62
|
-
insideComment = false;
|
|
63
|
-
result += strip(jsonString, offset, i);
|
|
64
|
-
offset = i;
|
|
65
|
-
} else if (!insideComment && currentCharacter + nextCharacter === "/*") {
|
|
66
|
-
result += jsonString.slice(offset, i);
|
|
67
|
-
offset = i;
|
|
68
|
-
insideComment = multiComment;
|
|
69
|
-
i++;
|
|
70
|
-
continue;
|
|
71
|
-
} else if (insideComment === multiComment && currentCharacter + nextCharacter === "*/") {
|
|
72
|
-
i++;
|
|
73
|
-
insideComment = false;
|
|
74
|
-
result += strip(jsonString, offset, i + 1);
|
|
75
|
-
offset = i + 1;
|
|
76
|
-
continue;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
return result + (insideComment ? strip(jsonString.slice(offset)) : jsonString.slice(offset));
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
|
|
84
10
|
// packages/cli/src/config/migration/versions/v1-to-v2-shared.ts
|
|
85
11
|
init_esbuild_shims();
|
|
86
12
|
var V1_TO_V2_MIGRATION_MAP = {
|
|
@@ -308,35 +234,6 @@ function getSystemDefaultsPath() {
|
|
|
308
234
|
}
|
|
309
235
|
__name(getSystemDefaultsPath, "getSystemDefaultsPath");
|
|
310
236
|
|
|
311
|
-
// packages/cli/src/config/path-comparison.ts
|
|
312
|
-
init_esbuild_shims();
|
|
313
|
-
import * as fs from "node:fs";
|
|
314
|
-
import * as path2 from "node:path";
|
|
315
|
-
function isWithinRoot(childPath, parentPath) {
|
|
316
|
-
const relativePath = path2.relative(parentPath, childPath);
|
|
317
|
-
return relativePath === "" || !relativePath.startsWith(`..${path2.sep}`) && relativePath !== ".." && !path2.isAbsolute(relativePath);
|
|
318
|
-
}
|
|
319
|
-
__name(isWithinRoot, "isWithinRoot");
|
|
320
|
-
function getPathComparisonVariants(rawPath) {
|
|
321
|
-
const variants = /* @__PURE__ */ new Set([path2.normalize(path2.resolve(rawPath))]);
|
|
322
|
-
try {
|
|
323
|
-
variants.add(path2.normalize(fs.realpathSync(rawPath)));
|
|
324
|
-
} catch {
|
|
325
|
-
}
|
|
326
|
-
return variants;
|
|
327
|
-
}
|
|
328
|
-
__name(getPathComparisonVariants, "getPathComparisonVariants");
|
|
329
|
-
function arePathsEquivalent(left, right) {
|
|
330
|
-
const rightVariants = getPathComparisonVariants(right);
|
|
331
|
-
for (const leftVariant of getPathComparisonVariants(left)) {
|
|
332
|
-
if (rightVariants.has(leftVariant)) {
|
|
333
|
-
return true;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
return false;
|
|
337
|
-
}
|
|
338
|
-
__name(arePathsEquivalent, "arePathsEquivalent");
|
|
339
|
-
|
|
340
237
|
// packages/cli/src/utils/envVarResolver.ts
|
|
341
238
|
init_esbuild_shims();
|
|
342
239
|
function resolveEnvVarsInString(value, customEnv) {
|
|
@@ -398,7 +295,6 @@ function resolveEnvVarsInObjectInternal(obj, visited, customEnv) {
|
|
|
398
295
|
__name(resolveEnvVarsInObjectInternal, "resolveEnvVarsInObjectInternal");
|
|
399
296
|
|
|
400
297
|
export {
|
|
401
|
-
require_strip_json_comments,
|
|
402
298
|
V1_TO_V2_MIGRATION_MAP,
|
|
403
299
|
V2_CONTAINER_KEYS,
|
|
404
300
|
V1_TO_V2_PRESERVE_DISABLE_MAP,
|
|
@@ -414,9 +310,6 @@ export {
|
|
|
414
310
|
getGlobalQwenDirLite,
|
|
415
311
|
getSystemSettingsPath,
|
|
416
312
|
getSystemDefaultsPath,
|
|
417
|
-
isWithinRoot,
|
|
418
|
-
getPathComparisonVariants,
|
|
419
|
-
arePathsEquivalent,
|
|
420
313
|
resolveEnvVarsInObject
|
|
421
314
|
};
|
|
422
315
|
/**
|
|
@@ -5,17 +5,19 @@ import {
|
|
|
5
5
|
} from "./chunk-3GONHQOA.js";
|
|
6
6
|
import {
|
|
7
7
|
getErrorMessage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PR32FRT6.js";
|
|
9
9
|
import {
|
|
10
|
-
isWorkspaceTrusted,
|
|
11
10
|
loadSettings
|
|
12
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FKAVULLM.js";
|
|
13
12
|
import {
|
|
14
13
|
getCurrentLanguage,
|
|
15
14
|
initializeI18n,
|
|
16
15
|
resolveLanguageSetting,
|
|
17
16
|
t
|
|
18
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-R5OP2ATH.js";
|
|
18
|
+
import {
|
|
19
|
+
isWorkspaceTrusted
|
|
20
|
+
} from "./chunk-F3ZYSEY6.js";
|
|
19
21
|
import {
|
|
20
22
|
writeStderrLine,
|
|
21
23
|
writeStdoutLine
|
|
@@ -27,7 +29,7 @@ import {
|
|
|
27
29
|
redactUrlCredentials,
|
|
28
30
|
require_prompts,
|
|
29
31
|
stripAnsi
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-YAINVQ3Q.js";
|
|
31
33
|
import {
|
|
32
34
|
init_esbuild_shims
|
|
33
35
|
} from "./chunk-A4BMJM77.js";
|