qwen-code/docs/developers
易良 b89d00ecce
refactor(core,cli): rename Gemini residue in memory/spinner/leaf ids (#9900)
* refactor(core,cli): rename Gemini residue in memory/spinner/leaf ids

PR 1 of #4063 item 6 (de-Google naming). Renames three independent families plus the leaf LLM types:

- Memory filename: GeminiMd* -> Memory* (project memory file, not an LLM client)

- UI spinners: GeminiRespondingSpinner/GeminiSpinner -> RespondingSpinner/Spinner

- Leaf types: GeminiCodeRequest/GeminiChatSendOptions/GeminiErrorEventValue/GeminiFinishedEventValue -> Llm*

- geminiRequest.ts -> llm-request.ts (and its collocated test)

No behavior change. Renamed symbols typecheck clean in core+cli; eslint clean on renamed files.

Refs #4063

* fix(cli): resolve rename build failure

* docs(serve): fix memory filename references

* test(cli): pin primary workspace QWEN.md init fallback

Assert that the primary daemon workspace service receives the
hard-coded 'QWEN.md' context filename when boot settings carry no
context.fileName. Previously only the secondary workspace's explicit
SECONDARY.md resolution was asserted, so swapping the fallback literal
at the createDaemonWorkspaceService call site survived the suite.

* refactor(core,cli): finish Gemini residue rename in memoryDiscovery

Complete the rename flagged in review: GeminiFileContent -> MemoryFileContent (module-local interface), includeDirectoriesToReadGemini -> includeDirectoriesToReadMemory (parameter only; all call sites are positional, zero cross-package impact), plus test-local variable names and the stale ORIGINAL_GEMINI_MD_FILENAME test title.

* docs(design): route loadHierarchicalGeminiMemory to Memory naming

Per exception #1 the Llm prefix is reserved for the generic LLM-client surface; the symbol is a memory-file loader (thin wrapper around core's loadServerHierarchicalMemory), so the PR-2 symbol map targets loadHierarchicalMemory instead of loadHierarchicalLlmMemory. Doc-only: the code symbol is not renamed by this PR.

* docs(cli): narrow extractContextFilename fallback description

The undefined fallback first inherits the primary workspace's configured context.fileName snapshot (contextFilenameForInit) at the secondary startup and dynamically added workspace call sites, before the hard-coded QWEN.md. Describe the actual chain instead of the hard-coded default only. Comment-only: the inheritance behavior predates this PR and is unchanged.

* refactor(cli): rename loadHierarchicalGeminiMemory to loadHierarchicalMemory

The design doc's symbol map routes the memory loader to
loadHierarchicalMemory (memory family, exception #1), but no phasing
bullet performed the rename and a prior round left the mixed signature.
Complete the rename across the definition (config.ts), the AppContainer
call site, and the AppContainer test mocks, and update the design doc's
exception #1, symbol map, and PR-1 phasing bullet so the map row is no
longer orphaned.

* fix(core): preserve Gemini rename compatibility

* docs(core): extend Gemini deprecation window
2026-08-27 11:08:11 +00:00
..
daemon refactor(core,cli): rename Gemini residue in memory/spinner/leaf ids (#9900) 2026-08-27 11:08:11 +00:00
daemon-client-adapters docs(serve): Close multi-workspace hardening gaps (#7019) 2026-07-16 17:33:53 +00:00
daemon-ui feat(web-shell): allow hiding the session source switch (#10079) 2026-08-27 06:02:11 +00:00
development feat(telemetry): link daemon HTTP request spans to inbound W3C traceparent (#9391) 2026-08-19 12:21:49 +00:00
examples docs(serve): Close multi-workspace hardening gaps (#7019) 2026-07-16 17:33:53 +00:00
tools docs(agent): clarify parameter preconditions (#9580) 2026-08-24 02:27:09 +00:00
_meta.ts docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00
architecture.md feat(desktop): remove packages/desktop after OpenWork fork; keep the Tauri upgrade bridge (#9085) 2026-08-25 05:26:11 +00:00
channel-plugins.md docs(channels): Document loops and proactive delivery (#7628) 2026-07-26 07:32:18 +00:00
contributing.md revert: remove local PR verification gate (#7031) 2026-07-16 11:24:38 +00:00
qwen-serve-protocol.md refactor(core,cli): rename Gemini residue in memory/spinner/leaf ids (#9900) 2026-08-27 11:08:11 +00:00
roadmap.md docs: standardize GitHub Actions capitalization (#6367) 2026-07-06 06:55:07 +00:00
sdk-java.md feat(core): make list_directory opt-in (disabled by default) (#9424) 2026-08-21 07:24:05 +00:00
sdk-python.md fix(sdk): support "auto" permission mode (#9003) 2026-08-22 14:25:40 +00:00
sdk-typescript.md fix(core): keep allowlist-uncovered tools registered as deferred instead of removing them (#10075) (#10082) 2026-08-26 11:58:31 +00:00