@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
package/chunks/chunk-B6HQGTYR.js
DELETED
|
@@ -1,410 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
readManyFiles,
|
|
5
|
-
shouldRunVisionBridge
|
|
6
|
-
} from "./chunk-PXFFKNCO.js";
|
|
7
|
-
import {
|
|
8
|
-
emptyMcpResourceText,
|
|
9
|
-
formatMcpResourceContents,
|
|
10
|
-
summarizeMcpResource
|
|
11
|
-
} from "./chunk-LQ7TMOCE.js";
|
|
12
|
-
import {
|
|
13
|
-
Storage,
|
|
14
|
-
getErrorMessage,
|
|
15
|
-
isNodeError,
|
|
16
|
-
isSubpath,
|
|
17
|
-
unescapePath
|
|
18
|
-
} from "./chunk-C4K3FEQ2.js";
|
|
19
|
-
import {
|
|
20
|
-
init_esbuild_shims
|
|
21
|
-
} from "./chunk-A4BMJM77.js";
|
|
22
|
-
import {
|
|
23
|
-
__name
|
|
24
|
-
} from "./chunk-J2S4EL5Y.js";
|
|
25
|
-
|
|
26
|
-
// packages/cli/src/ui/hooks/atCommandProcessor.ts
|
|
27
|
-
init_esbuild_shims();
|
|
28
|
-
import * as fs from "node:fs/promises";
|
|
29
|
-
import * as path from "node:path";
|
|
30
|
-
|
|
31
|
-
// packages/cli/src/ui/hooks/mcpResourceRef.ts
|
|
32
|
-
init_esbuild_shims();
|
|
33
|
-
function matchMcpServerPrefix(input, serverNames) {
|
|
34
|
-
let serverName = null;
|
|
35
|
-
for (const name of serverNames) {
|
|
36
|
-
if (input.startsWith(`${name}:`) && (serverName === null || name.length > serverName.length)) {
|
|
37
|
-
serverName = name;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
if (serverName === null) return null;
|
|
41
|
-
return { serverName, rest: input.slice(serverName.length + 1) };
|
|
42
|
-
}
|
|
43
|
-
__name(matchMcpServerPrefix, "matchMcpServerPrefix");
|
|
44
|
-
function buildMcpResourceRef(serverName, uri) {
|
|
45
|
-
return `${serverName}:${uri}`;
|
|
46
|
-
}
|
|
47
|
-
__name(buildMcpResourceRef, "buildMcpResourceRef");
|
|
48
|
-
|
|
49
|
-
// packages/cli/src/ui/hooks/atCommandProcessor.ts
|
|
50
|
-
function parseAllAtCommands(query) {
|
|
51
|
-
const parts = [];
|
|
52
|
-
let currentIndex = 0;
|
|
53
|
-
while (currentIndex < query.length) {
|
|
54
|
-
let atIndex = -1;
|
|
55
|
-
let nextSearchIndex = currentIndex;
|
|
56
|
-
while (nextSearchIndex < query.length) {
|
|
57
|
-
if (query[nextSearchIndex] === "@" && (nextSearchIndex === 0 || query[nextSearchIndex - 1] !== "\\")) {
|
|
58
|
-
atIndex = nextSearchIndex;
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
nextSearchIndex++;
|
|
62
|
-
}
|
|
63
|
-
if (atIndex === -1) {
|
|
64
|
-
if (currentIndex < query.length) {
|
|
65
|
-
parts.push({ type: "text", content: query.substring(currentIndex) });
|
|
66
|
-
}
|
|
67
|
-
break;
|
|
68
|
-
}
|
|
69
|
-
if (atIndex > currentIndex) {
|
|
70
|
-
parts.push({
|
|
71
|
-
type: "text",
|
|
72
|
-
content: query.substring(currentIndex, atIndex)
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
let pathEndIndex = atIndex + 1;
|
|
76
|
-
let inEscape = false;
|
|
77
|
-
while (pathEndIndex < query.length) {
|
|
78
|
-
const char = query[pathEndIndex];
|
|
79
|
-
if (inEscape) {
|
|
80
|
-
inEscape = false;
|
|
81
|
-
} else if (char === "\\") {
|
|
82
|
-
inEscape = true;
|
|
83
|
-
} else if (/[,\s;!?()[\]{}]/.test(char)) {
|
|
84
|
-
break;
|
|
85
|
-
} else if (char === ".") {
|
|
86
|
-
const nextChar = pathEndIndex + 1 < query.length ? query[pathEndIndex + 1] : "";
|
|
87
|
-
if (nextChar === "" || /\s/.test(nextChar)) {
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
pathEndIndex++;
|
|
92
|
-
}
|
|
93
|
-
const rawAtPath = query.substring(atIndex, pathEndIndex);
|
|
94
|
-
const atPath = unescapePath(rawAtPath);
|
|
95
|
-
parts.push({ type: "atPath", content: atPath });
|
|
96
|
-
currentIndex = pathEndIndex;
|
|
97
|
-
}
|
|
98
|
-
return parts.filter(
|
|
99
|
-
(part) => !(part.type === "text" && part.content.trim() === "")
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
__name(parseAllAtCommands, "parseAllAtCommands");
|
|
103
|
-
function parseMcpResourceRef(pathName, mcpServerNames) {
|
|
104
|
-
const match = matchMcpServerPrefix(pathName, mcpServerNames);
|
|
105
|
-
if (!match || !match.rest) return null;
|
|
106
|
-
return { serverName: match.serverName, uri: match.rest };
|
|
107
|
-
}
|
|
108
|
-
__name(parseMcpResourceRef, "parseMcpResourceRef");
|
|
109
|
-
async function resolveAtCommandQuery({
|
|
110
|
-
query,
|
|
111
|
-
config,
|
|
112
|
-
onDebugMessage,
|
|
113
|
-
messageId: userMessageTimestamp,
|
|
114
|
-
signal
|
|
115
|
-
}) {
|
|
116
|
-
const commandParts = parseAllAtCommands(query);
|
|
117
|
-
const atPathCommandParts = commandParts.filter(
|
|
118
|
-
(part) => part.type === "atPath"
|
|
119
|
-
);
|
|
120
|
-
if (atPathCommandParts.length === 0) {
|
|
121
|
-
return { processedQuery: [{ text: query }], shouldProceed: true };
|
|
122
|
-
}
|
|
123
|
-
const fileDiscovery = config.getFileService();
|
|
124
|
-
const respectFileIgnore = config.getFileFilteringOptions();
|
|
125
|
-
const pathSpecsToRead = [];
|
|
126
|
-
const atPathToResolvedSpecMap = /* @__PURE__ */ new Map();
|
|
127
|
-
const contentLabelsForDisplay = [];
|
|
128
|
-
const ignoredByReason = {
|
|
129
|
-
git: [],
|
|
130
|
-
qwen: [],
|
|
131
|
-
both: []
|
|
132
|
-
};
|
|
133
|
-
const mcpServerNames = new Set(Object.keys(config.getMcpServers() || {}));
|
|
134
|
-
const mcpResourceRefs = [];
|
|
135
|
-
for (const atPathPart of atPathCommandParts) {
|
|
136
|
-
const originalAtPath = atPathPart.content;
|
|
137
|
-
if (originalAtPath === "@") {
|
|
138
|
-
onDebugMessage(
|
|
139
|
-
"Lone @ detected, will be treated as text in the modified query."
|
|
140
|
-
);
|
|
141
|
-
continue;
|
|
142
|
-
}
|
|
143
|
-
const pathName = originalAtPath.substring(1);
|
|
144
|
-
const resourceRef = parseMcpResourceRef(pathName, mcpServerNames);
|
|
145
|
-
if (resourceRef) {
|
|
146
|
-
mcpResourceRefs.push({ originalAtPath, ...resourceRef });
|
|
147
|
-
atPathToResolvedSpecMap.set(originalAtPath, pathName);
|
|
148
|
-
continue;
|
|
149
|
-
}
|
|
150
|
-
const workspaceContext = config.getWorkspaceContext();
|
|
151
|
-
const projectTempDir = Storage.getGlobalTempDir();
|
|
152
|
-
const absolutePathName = path.isAbsolute(pathName) ? pathName : path.resolve(workspaceContext.getDirectories()[0] || "", pathName);
|
|
153
|
-
if (!isSubpath(projectTempDir, absolutePathName) && !workspaceContext.isPathWithinWorkspace(pathName)) {
|
|
154
|
-
onDebugMessage(
|
|
155
|
-
`Path ${pathName} is not in the workspace and will be skipped.`
|
|
156
|
-
);
|
|
157
|
-
continue;
|
|
158
|
-
}
|
|
159
|
-
const gitIgnored = respectFileIgnore.respectGitIgnore && fileDiscovery.shouldIgnoreFile(pathName, {
|
|
160
|
-
respectGitIgnore: true,
|
|
161
|
-
respectQwenIgnore: false
|
|
162
|
-
});
|
|
163
|
-
const qwenIgnored = respectFileIgnore.respectQwenIgnore && fileDiscovery.shouldIgnoreFile(pathName, {
|
|
164
|
-
respectGitIgnore: false,
|
|
165
|
-
respectQwenIgnore: true
|
|
166
|
-
});
|
|
167
|
-
if (gitIgnored || qwenIgnored) {
|
|
168
|
-
const reason = gitIgnored && qwenIgnored ? "both" : gitIgnored ? "git" : "qwen";
|
|
169
|
-
ignoredByReason[reason].push(pathName);
|
|
170
|
-
const reasonText = reason === "both" ? "ignored by both git and qwen" : reason === "git" ? "git-ignored" : "qwen-ignored";
|
|
171
|
-
onDebugMessage(`Path ${pathName} is ${reasonText} and will be skipped.`);
|
|
172
|
-
continue;
|
|
173
|
-
}
|
|
174
|
-
let resolvedSuccessfully = false;
|
|
175
|
-
let sawNotFound = false;
|
|
176
|
-
for (const dir of config.getWorkspaceContext().getDirectories()) {
|
|
177
|
-
let currentPathSpec = pathName;
|
|
178
|
-
try {
|
|
179
|
-
const absolutePath = path.resolve(dir, pathName);
|
|
180
|
-
const stats = await fs.stat(absolutePath);
|
|
181
|
-
if (stats.isDirectory()) {
|
|
182
|
-
currentPathSpec = pathName;
|
|
183
|
-
onDebugMessage(`Path ${pathName} resolved to directory.`);
|
|
184
|
-
} else {
|
|
185
|
-
onDebugMessage(`Path ${pathName} resolved to file: ${absolutePath}`);
|
|
186
|
-
}
|
|
187
|
-
resolvedSuccessfully = true;
|
|
188
|
-
} catch (error) {
|
|
189
|
-
if (isNodeError(error) && error.code === "ENOENT") {
|
|
190
|
-
sawNotFound = true;
|
|
191
|
-
continue;
|
|
192
|
-
} else {
|
|
193
|
-
onDebugMessage(
|
|
194
|
-
`Error stating path ${pathName}: ${getErrorMessage(error)}. Path ${pathName} will be skipped.`
|
|
195
|
-
);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
if (resolvedSuccessfully) {
|
|
199
|
-
pathSpecsToRead.push(currentPathSpec);
|
|
200
|
-
atPathToResolvedSpecMap.set(originalAtPath, currentPathSpec);
|
|
201
|
-
contentLabelsForDisplay.push(pathName);
|
|
202
|
-
break;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
if (!resolvedSuccessfully && sawNotFound) {
|
|
206
|
-
onDebugMessage(
|
|
207
|
-
`Path ${pathName} not found. Path ${pathName} will be skipped.`
|
|
208
|
-
);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
let initialQueryText = "";
|
|
212
|
-
for (let i = 0; i < commandParts.length; i++) {
|
|
213
|
-
const part = commandParts[i];
|
|
214
|
-
if (part.type === "text") {
|
|
215
|
-
initialQueryText += part.content;
|
|
216
|
-
} else {
|
|
217
|
-
const resolvedSpec = atPathToResolvedSpecMap.get(part.content);
|
|
218
|
-
if (i > 0 && initialQueryText.length > 0 && !initialQueryText.endsWith(" ")) {
|
|
219
|
-
const prevPart = commandParts[i - 1];
|
|
220
|
-
if (prevPart.type === "text" || prevPart.type === "atPath" && atPathToResolvedSpecMap.has(prevPart.content)) {
|
|
221
|
-
initialQueryText += " ";
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
if (resolvedSpec) {
|
|
225
|
-
initialQueryText += `@${resolvedSpec}`;
|
|
226
|
-
} else {
|
|
227
|
-
if (i > 0 && initialQueryText.length > 0 && !initialQueryText.endsWith(" ") && !part.content.startsWith(" ")) {
|
|
228
|
-
initialQueryText += " ";
|
|
229
|
-
}
|
|
230
|
-
initialQueryText += part.content;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
initialQueryText = initialQueryText.trim();
|
|
235
|
-
const totalIgnored = ignoredByReason["git"].length + ignoredByReason["qwen"].length + ignoredByReason["both"].length;
|
|
236
|
-
if (totalIgnored > 0) {
|
|
237
|
-
const messages = [];
|
|
238
|
-
if (ignoredByReason["git"].length) {
|
|
239
|
-
messages.push(`Git-ignored: ${ignoredByReason["git"].join(", ")}`);
|
|
240
|
-
}
|
|
241
|
-
if (ignoredByReason["qwen"].length) {
|
|
242
|
-
messages.push(`Qwen-ignored: ${ignoredByReason["qwen"].join(", ")}`);
|
|
243
|
-
}
|
|
244
|
-
if (ignoredByReason["both"].length) {
|
|
245
|
-
messages.push(`Ignored by both: ${ignoredByReason["both"].join(", ")}`);
|
|
246
|
-
}
|
|
247
|
-
const message = `Ignored ${totalIgnored} files:
|
|
248
|
-
${messages.join("\n")}`;
|
|
249
|
-
onDebugMessage(message);
|
|
250
|
-
}
|
|
251
|
-
const resourceReads = await Promise.allSettled(
|
|
252
|
-
mcpResourceRefs.map(
|
|
253
|
-
(ref) => config.getToolRegistry().readMcpResource(ref.serverName, ref.uri, { signal })
|
|
254
|
-
)
|
|
255
|
-
);
|
|
256
|
-
const resourceParts = [];
|
|
257
|
-
const resourceDisplays = [];
|
|
258
|
-
const resourceLabels = [];
|
|
259
|
-
for (let i = 0; i < mcpResourceRefs.length; i++) {
|
|
260
|
-
const ref = mcpResourceRefs[i];
|
|
261
|
-
const label = `${ref.serverName}:${ref.uri}`;
|
|
262
|
-
const callId = `client-mcp-resource-${userMessageTimestamp}-${i}`;
|
|
263
|
-
const outcome = resourceReads[i];
|
|
264
|
-
if (outcome.status === "rejected") {
|
|
265
|
-
onDebugMessage(
|
|
266
|
-
`Failed to read MCP resource ${label}: ${getErrorMessage(outcome.reason)}`
|
|
267
|
-
);
|
|
268
|
-
resourceDisplays.push({
|
|
269
|
-
callId,
|
|
270
|
-
name: "Read MCP Resource",
|
|
271
|
-
description: `Read resource ${label}`,
|
|
272
|
-
status: "Error" /* Error */,
|
|
273
|
-
resultDisplay: `Failed to read resource ${label}: ${getErrorMessage(outcome.reason)}`,
|
|
274
|
-
confirmationDetails: void 0
|
|
275
|
-
});
|
|
276
|
-
continue;
|
|
277
|
-
}
|
|
278
|
-
const formatted = formatMcpResourceContents(outcome.value, label);
|
|
279
|
-
if (formatted.parts.length > 0) {
|
|
280
|
-
resourceParts.push(...formatted.parts);
|
|
281
|
-
} else {
|
|
282
|
-
resourceParts.push({ text: emptyMcpResourceText(formatted, label) });
|
|
283
|
-
}
|
|
284
|
-
resourceLabels.push(label);
|
|
285
|
-
resourceDisplays.push({
|
|
286
|
-
callId,
|
|
287
|
-
name: "Read MCP Resource",
|
|
288
|
-
description: `Read resource ${label}`,
|
|
289
|
-
status: "Success" /* Success */,
|
|
290
|
-
resultDisplay: summarizeMcpResource(formatted),
|
|
291
|
-
confirmationDetails: void 0
|
|
292
|
-
});
|
|
293
|
-
}
|
|
294
|
-
if (pathSpecsToRead.length === 0 && mcpResourceRefs.length === 0) {
|
|
295
|
-
onDebugMessage("No valid file paths found in @ commands to read.");
|
|
296
|
-
if (initialQueryText === "@" && query.trim() === "@") {
|
|
297
|
-
return { processedQuery: [{ text: query }], shouldProceed: true };
|
|
298
|
-
} else if (!initialQueryText && query) {
|
|
299
|
-
return { processedQuery: [{ text: query }], shouldProceed: true };
|
|
300
|
-
}
|
|
301
|
-
return {
|
|
302
|
-
processedQuery: [{ text: initialQueryText || query }],
|
|
303
|
-
shouldProceed: true
|
|
304
|
-
};
|
|
305
|
-
}
|
|
306
|
-
const fileParts = [];
|
|
307
|
-
let fileDisplays = [];
|
|
308
|
-
if (pathSpecsToRead.length > 0) {
|
|
309
|
-
try {
|
|
310
|
-
const result = await readManyFiles(config, {
|
|
311
|
-
paths: pathSpecsToRead,
|
|
312
|
-
signal,
|
|
313
|
-
preserveUnsupportedImageForBridge: shouldRunVisionBridge(config)
|
|
314
|
-
});
|
|
315
|
-
const parts = Array.isArray(result.contentParts) ? result.contentParts : [result.contentParts];
|
|
316
|
-
fileDisplays = result.files.map((file, index) => ({
|
|
317
|
-
callId: `client-read-${userMessageTimestamp}-${index}`,
|
|
318
|
-
name: file.isDirectory ? "Read Directory" : "Read File",
|
|
319
|
-
description: file.isDirectory ? `Read directory ${path.basename(file.filePath)}` : `Read file ${path.basename(file.filePath)}`,
|
|
320
|
-
status: file.error ? "Error" /* Error */ : "Success" /* Success */,
|
|
321
|
-
resultDisplay: file.error ? `Failed to read ${path.basename(file.filePath)}: ${file.error}` : void 0,
|
|
322
|
-
confirmationDetails: void 0
|
|
323
|
-
}));
|
|
324
|
-
if (parts.length > 0 && !result.error) {
|
|
325
|
-
for (const part of parts) {
|
|
326
|
-
fileParts.push(typeof part === "string" ? { text: part } : part);
|
|
327
|
-
}
|
|
328
|
-
} else {
|
|
329
|
-
onDebugMessage("readManyFiles returned no content or empty content.");
|
|
330
|
-
}
|
|
331
|
-
} catch (error) {
|
|
332
|
-
const errorToolCallDisplay = {
|
|
333
|
-
callId: `client-read-${userMessageTimestamp}`,
|
|
334
|
-
name: "Read File(s)",
|
|
335
|
-
description: "Error attempting to read files",
|
|
336
|
-
status: "Error" /* Error */,
|
|
337
|
-
resultDisplay: `Error reading files (${contentLabelsForDisplay.join(", ")}): ${getErrorMessage(error)}`,
|
|
338
|
-
confirmationDetails: void 0
|
|
339
|
-
};
|
|
340
|
-
const errorMessage = typeof errorToolCallDisplay.resultDisplay === "string" ? errorToolCallDisplay.resultDisplay : void 0;
|
|
341
|
-
const labelsOnError = [...contentLabelsForDisplay, ...resourceLabels];
|
|
342
|
-
return {
|
|
343
|
-
processedQuery: null,
|
|
344
|
-
shouldProceed: false,
|
|
345
|
-
toolDisplays: [...resourceDisplays, errorToolCallDisplay],
|
|
346
|
-
filesRead: labelsOnError,
|
|
347
|
-
recording: {
|
|
348
|
-
filesRead: labelsOnError,
|
|
349
|
-
status: "error",
|
|
350
|
-
message: errorMessage
|
|
351
|
-
}
|
|
352
|
-
};
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
const processedQueryParts = [
|
|
356
|
-
{ text: initialQueryText },
|
|
357
|
-
...fileParts,
|
|
358
|
-
...resourceParts
|
|
359
|
-
];
|
|
360
|
-
const allLabels = [...contentLabelsForDisplay, ...resourceLabels];
|
|
361
|
-
return {
|
|
362
|
-
processedQuery: processedQueryParts,
|
|
363
|
-
shouldProceed: true,
|
|
364
|
-
toolDisplays: [...fileDisplays, ...resourceDisplays],
|
|
365
|
-
filesRead: allLabels,
|
|
366
|
-
recording: {
|
|
367
|
-
filesRead: allLabels,
|
|
368
|
-
status: "success"
|
|
369
|
-
}
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
__name(resolveAtCommandQuery, "resolveAtCommandQuery");
|
|
373
|
-
async function handleAtCommand(params) {
|
|
374
|
-
const result = await resolveAtCommandQuery(params);
|
|
375
|
-
if (result.recording) {
|
|
376
|
-
const chatRecorder = params.config.getChatRecordingService?.();
|
|
377
|
-
chatRecorder?.recordAtCommand({
|
|
378
|
-
filesRead: result.recording.filesRead,
|
|
379
|
-
status: result.recording.status,
|
|
380
|
-
...result.recording.message ? { message: result.recording.message } : {},
|
|
381
|
-
userText: params.query
|
|
382
|
-
});
|
|
383
|
-
}
|
|
384
|
-
if (params.addItem && result.toolDisplays && result.toolDisplays.length > 0) {
|
|
385
|
-
const toolGroupItem = {
|
|
386
|
-
type: "tool_group",
|
|
387
|
-
tools: result.toolDisplays
|
|
388
|
-
};
|
|
389
|
-
params.addItem(toolGroupItem, params.messageId);
|
|
390
|
-
}
|
|
391
|
-
return {
|
|
392
|
-
processedQuery: result.processedQuery,
|
|
393
|
-
shouldProceed: result.shouldProceed,
|
|
394
|
-
toolDisplays: result.toolDisplays,
|
|
395
|
-
filesRead: result.filesRead
|
|
396
|
-
};
|
|
397
|
-
}
|
|
398
|
-
__name(handleAtCommand, "handleAtCommand");
|
|
399
|
-
|
|
400
|
-
export {
|
|
401
|
-
matchMcpServerPrefix,
|
|
402
|
-
buildMcpResourceRef,
|
|
403
|
-
resolveAtCommandQuery,
|
|
404
|
-
handleAtCommand
|
|
405
|
-
};
|
|
406
|
-
/**
|
|
407
|
-
* @license
|
|
408
|
-
* Copyright 2025 Google LLC
|
|
409
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
410
|
-
*/
|
package/chunks/chunk-SEZC2725.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
init_esbuild_shims
|
|
5
|
-
} from "./chunk-A4BMJM77.js";
|
|
6
|
-
import {
|
|
7
|
-
__name
|
|
8
|
-
} from "./chunk-J2S4EL5Y.js";
|
|
9
|
-
|
|
10
|
-
// packages/acp-bridge/src/workspacePaths.ts
|
|
11
|
-
init_esbuild_shims();
|
|
12
|
-
import { realpathSync } from "node:fs";
|
|
13
|
-
import * as path from "node:path";
|
|
14
|
-
function canonicalizeWorkspace(p) {
|
|
15
|
-
const resolved = path.resolve(p);
|
|
16
|
-
try {
|
|
17
|
-
return realpathSync.native(resolved);
|
|
18
|
-
} catch (err) {
|
|
19
|
-
if (err && typeof err === "object" && err.code === "ENOENT") {
|
|
20
|
-
return resolved;
|
|
21
|
-
}
|
|
22
|
-
throw err;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
__name(canonicalizeWorkspace, "canonicalizeWorkspace");
|
|
26
|
-
var MAX_WORKSPACE_PATH_LENGTH = 4096;
|
|
27
|
-
|
|
28
|
-
export {
|
|
29
|
-
canonicalizeWorkspace,
|
|
30
|
-
MAX_WORKSPACE_PATH_LENGTH
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @license
|
|
34
|
-
* Copyright 2025 Qwen Team
|
|
35
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
36
|
-
*/
|
package/chunks/chunk-SYCJMSIJ.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
init_esbuild_shims
|
|
5
|
-
} from "./chunk-A4BMJM77.js";
|
|
6
|
-
import {
|
|
7
|
-
__commonJS,
|
|
8
|
-
__require
|
|
9
|
-
} from "./chunk-J2S4EL5Y.js";
|
|
10
|
-
|
|
11
|
-
// node_modules/safer-buffer/safer.js
|
|
12
|
-
var require_safer = __commonJS({
|
|
13
|
-
"node_modules/safer-buffer/safer.js"(exports, module) {
|
|
14
|
-
"use strict";
|
|
15
|
-
init_esbuild_shims();
|
|
16
|
-
var buffer = __require("buffer");
|
|
17
|
-
var Buffer = buffer.Buffer;
|
|
18
|
-
var safer = {};
|
|
19
|
-
var key;
|
|
20
|
-
for (key in buffer) {
|
|
21
|
-
if (!buffer.hasOwnProperty(key)) continue;
|
|
22
|
-
if (key === "SlowBuffer" || key === "Buffer") continue;
|
|
23
|
-
safer[key] = buffer[key];
|
|
24
|
-
}
|
|
25
|
-
var Safer = safer.Buffer = {};
|
|
26
|
-
for (key in Buffer) {
|
|
27
|
-
if (!Buffer.hasOwnProperty(key)) continue;
|
|
28
|
-
if (key === "allocUnsafe" || key === "allocUnsafeSlow") continue;
|
|
29
|
-
Safer[key] = Buffer[key];
|
|
30
|
-
}
|
|
31
|
-
safer.Buffer.prototype = Buffer.prototype;
|
|
32
|
-
if (!Safer.from || Safer.from === Uint8Array.from) {
|
|
33
|
-
Safer.from = function(value, encodingOrOffset, length) {
|
|
34
|
-
if (typeof value === "number") {
|
|
35
|
-
throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value);
|
|
36
|
-
}
|
|
37
|
-
if (value && typeof value.length === "undefined") {
|
|
38
|
-
throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
|
|
39
|
-
}
|
|
40
|
-
return Buffer(value, encodingOrOffset, length);
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
if (!Safer.alloc) {
|
|
44
|
-
Safer.alloc = function(size, fill, encoding) {
|
|
45
|
-
if (typeof size !== "number") {
|
|
46
|
-
throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size);
|
|
47
|
-
}
|
|
48
|
-
if (size < 0 || size >= 2 * (1 << 30)) {
|
|
49
|
-
throw new RangeError('The value "' + size + '" is invalid for option "size"');
|
|
50
|
-
}
|
|
51
|
-
var buf = Buffer(size);
|
|
52
|
-
if (!fill || fill.length === 0) {
|
|
53
|
-
buf.fill(0);
|
|
54
|
-
} else if (typeof encoding === "string") {
|
|
55
|
-
buf.fill(fill, encoding);
|
|
56
|
-
} else {
|
|
57
|
-
buf.fill(fill);
|
|
58
|
-
}
|
|
59
|
-
return buf;
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
if (!safer.kStringMaxLength) {
|
|
63
|
-
try {
|
|
64
|
-
safer.kStringMaxLength = process.binding("buffer").kStringMaxLength;
|
|
65
|
-
} catch (e) {
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
if (!safer.constants) {
|
|
69
|
-
safer.constants = {
|
|
70
|
-
MAX_LENGTH: safer.kMaxLength
|
|
71
|
-
};
|
|
72
|
-
if (safer.kStringMaxLength) {
|
|
73
|
-
safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
module.exports = safer;
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
export {
|
|
81
|
-
require_safer
|
|
82
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
createDaemonStatusProvider
|
|
5
|
-
} from "./chunk-3QFE4OTE.js";
|
|
6
|
-
import "./chunk-RKIZXJMB.js";
|
|
7
|
-
import "./chunk-CI5O6SQL.js";
|
|
8
|
-
import "./chunk-KHDZHZMH.js";
|
|
9
|
-
import "./chunk-VYFMN7C6.js";
|
|
10
|
-
import "./chunk-QBZ22PQX.js";
|
|
11
|
-
import "./chunk-P7M4GA57.js";
|
|
12
|
-
import "./chunk-S566HKUS.js";
|
|
13
|
-
import "./chunk-BS64PXY3.js";
|
|
14
|
-
import "./chunk-SEZC2725.js";
|
|
15
|
-
import "./chunk-ALX6BUYW.js";
|
|
16
|
-
import "./chunk-EXMX5YHG.js";
|
|
17
|
-
import "./chunk-UFC57OYT.js";
|
|
18
|
-
import "./chunk-D5E5TMYH.js";
|
|
19
|
-
import "./chunk-PXFFKNCO.js";
|
|
20
|
-
import "./chunk-K5PGHDBN.js";
|
|
21
|
-
import "./chunk-5P5XGNYH.js";
|
|
22
|
-
import "./chunk-SKAZWEV5.js";
|
|
23
|
-
import "./chunk-TXVGVZYR.js";
|
|
24
|
-
import "./chunk-XU5P23GN.js";
|
|
25
|
-
import "./chunk-2BIF2NVV.js";
|
|
26
|
-
import "./chunk-BG4BIP7F.js";
|
|
27
|
-
import "./chunk-ZD3NW5KL.js";
|
|
28
|
-
import "./chunk-2MPVVENX.js";
|
|
29
|
-
import "./chunk-ZTQ26VBE.js";
|
|
30
|
-
import "./chunk-GZCJS5WH.js";
|
|
31
|
-
import "./chunk-MLZQVCF3.js";
|
|
32
|
-
import "./chunk-LQ7TMOCE.js";
|
|
33
|
-
import "./chunk-LD2XBG6Z.js";
|
|
34
|
-
import "./chunk-OTBK43JR.js";
|
|
35
|
-
import "./chunk-HGNSRCRB.js";
|
|
36
|
-
import "./chunk-EEEZIVFJ.js";
|
|
37
|
-
import "./chunk-PRYMDRBV.js";
|
|
38
|
-
import "./chunk-WA5OJGFL.js";
|
|
39
|
-
import "./chunk-3PJXIDKI.js";
|
|
40
|
-
import "./chunk-UWCTAVOD.js";
|
|
41
|
-
import "./chunk-OFEVLU4C.js";
|
|
42
|
-
import "./chunk-OMX7CUOE.js";
|
|
43
|
-
import "./chunk-BNXANYLH.js";
|
|
44
|
-
import "./chunk-T2VDEFUU.js";
|
|
45
|
-
import "./chunk-OIC6S73E.js";
|
|
46
|
-
import "./chunk-TOEGRAVX.js";
|
|
47
|
-
import "./chunk-BGUDAULQ.js";
|
|
48
|
-
import "./chunk-EW6C27XX.js";
|
|
49
|
-
import "./chunk-22IFUCVR.js";
|
|
50
|
-
import "./chunk-64WXLC72.js";
|
|
51
|
-
import "./chunk-3UALQ56H.js";
|
|
52
|
-
import "./chunk-F6XNTYNE.js";
|
|
53
|
-
import "./chunk-CGEGHF2C.js";
|
|
54
|
-
import "./chunk-IRJWHZWU.js";
|
|
55
|
-
import "./chunk-SYCJMSIJ.js";
|
|
56
|
-
import "./chunk-55ZMG67I.js";
|
|
57
|
-
import "./chunk-H6BD2ELD.js";
|
|
58
|
-
import "./chunk-5IFG2VC4.js";
|
|
59
|
-
import "./chunk-C4K3FEQ2.js";
|
|
60
|
-
import "./chunk-ZERZSAZL.js";
|
|
61
|
-
import "./chunk-QN5NZ3UQ.js";
|
|
62
|
-
import "./chunk-BR4QREVK.js";
|
|
63
|
-
import "./chunk-Z2Z3GUXZ.js";
|
|
64
|
-
import "./chunk-A4BMJM77.js";
|
|
65
|
-
import "./chunk-J2S4EL5Y.js";
|
|
66
|
-
export {
|
|
67
|
-
createDaemonStatusProvider
|
|
68
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
initializeApp
|
|
5
|
-
} from "./chunk-R36VMVEP.js";
|
|
6
|
-
import "./chunk-TMBPDHXD.js";
|
|
7
|
-
import "./chunk-OQHQHJRK.js";
|
|
8
|
-
import "./chunk-5JZLXFPD.js";
|
|
9
|
-
import "./chunk-TLRYABYP.js";
|
|
10
|
-
import "./chunk-Y6Z2O3WR.js";
|
|
11
|
-
import "./chunk-UN3C6GOR.js";
|
|
12
|
-
import "./chunk-PXFFKNCO.js";
|
|
13
|
-
import "./chunk-K5PGHDBN.js";
|
|
14
|
-
import "./chunk-5P5XGNYH.js";
|
|
15
|
-
import "./chunk-SKAZWEV5.js";
|
|
16
|
-
import "./chunk-TXVGVZYR.js";
|
|
17
|
-
import "./chunk-XU5P23GN.js";
|
|
18
|
-
import "./chunk-2BIF2NVV.js";
|
|
19
|
-
import "./chunk-BG4BIP7F.js";
|
|
20
|
-
import "./chunk-ZD3NW5KL.js";
|
|
21
|
-
import "./chunk-2MPVVENX.js";
|
|
22
|
-
import "./chunk-ZTQ26VBE.js";
|
|
23
|
-
import "./chunk-GZCJS5WH.js";
|
|
24
|
-
import "./chunk-MLZQVCF3.js";
|
|
25
|
-
import "./chunk-LQ7TMOCE.js";
|
|
26
|
-
import "./chunk-LD2XBG6Z.js";
|
|
27
|
-
import "./chunk-OTBK43JR.js";
|
|
28
|
-
import "./chunk-HGNSRCRB.js";
|
|
29
|
-
import "./chunk-EEEZIVFJ.js";
|
|
30
|
-
import "./chunk-PRYMDRBV.js";
|
|
31
|
-
import "./chunk-WA5OJGFL.js";
|
|
32
|
-
import "./chunk-3PJXIDKI.js";
|
|
33
|
-
import "./chunk-UWCTAVOD.js";
|
|
34
|
-
import "./chunk-OFEVLU4C.js";
|
|
35
|
-
import "./chunk-OMX7CUOE.js";
|
|
36
|
-
import "./chunk-BNXANYLH.js";
|
|
37
|
-
import "./chunk-T2VDEFUU.js";
|
|
38
|
-
import "./chunk-OIC6S73E.js";
|
|
39
|
-
import "./chunk-TOEGRAVX.js";
|
|
40
|
-
import "./chunk-BGUDAULQ.js";
|
|
41
|
-
import "./chunk-EW6C27XX.js";
|
|
42
|
-
import "./chunk-22IFUCVR.js";
|
|
43
|
-
import "./chunk-64WXLC72.js";
|
|
44
|
-
import "./chunk-3UALQ56H.js";
|
|
45
|
-
import "./chunk-F6XNTYNE.js";
|
|
46
|
-
import "./chunk-CGEGHF2C.js";
|
|
47
|
-
import "./chunk-IRJWHZWU.js";
|
|
48
|
-
import "./chunk-SYCJMSIJ.js";
|
|
49
|
-
import "./chunk-55ZMG67I.js";
|
|
50
|
-
import "./chunk-H6BD2ELD.js";
|
|
51
|
-
import "./chunk-5IFG2VC4.js";
|
|
52
|
-
import "./chunk-C4K3FEQ2.js";
|
|
53
|
-
import "./chunk-ZERZSAZL.js";
|
|
54
|
-
import "./chunk-QN5NZ3UQ.js";
|
|
55
|
-
import "./chunk-BR4QREVK.js";
|
|
56
|
-
import "./chunk-Z2Z3GUXZ.js";
|
|
57
|
-
import "./chunk-A4BMJM77.js";
|
|
58
|
-
import "./chunk-J2S4EL5Y.js";
|
|
59
|
-
export {
|
|
60
|
-
initializeApp
|
|
61
|
-
};
|