qwen-code/packages/cli
胡玮文 7e46c5bc56 fix(cli): /memory show --project and --global now display all configured context files
Previously, `/memory show --project` and `/memory show --global` only checked
the first filename from `getCurrentGeminiMdFilename()` (i.e., `QWEN.md`),
ignoring other configured context files like `AGENTS.md`. This caused the
commands to report empty even when `AGENTS.md` existed and was being loaded
by the actual memory loading mechanism (`loadServerHierarchicalMemory`).

Changes:
- Replace `getCurrentGeminiMdFilename()` with `getAllGeminiMdFilenames()` in
  memoryCommand.ts
- Add `findAllExistingMemoryFiles()` helper that iterates all configured
  filenames and aggregates content from all existing files
- Update both `--project` and `--global` subcommands to display content from
  all found memory files
- Add tests for fallback (only AGENTS.md exists) and dual-file scenarios
2026-03-14 13:28:08 +08:00
..
src fix(cli): /memory show --project and --global now display all configured context files 2026-03-14 13:28:08 +08:00
index.ts fix(cli): suppress Windows pty resize race condition 2026-03-11 18:40:04 +08:00
package.json chore(release): bump version to 0.12.3 2026-03-13 16:42:12 +08:00
test-setup.ts # 🚀 Sync Gemini CLI v0.2.1 - Major Feature Update (#483) 2025-09-01 14:48:55 +08:00
tsconfig.json feat: move extension to core package 2026-01-14 15:30:27 +08:00
vitest.config.ts refactor(core): Unify package exports and improve dev experience 2026-02-01 11:59:05 +08:00