qwen-code/docs/developers/daemon
易良 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
..
00-index.md chore(serve): remove the /demo debug page (#8805) 2026-08-10 13:31:15 +00:00
01-architecture.md feat: consolidate Local Control into one daemon-owned implementation (#9106) 2026-08-17 16:44:48 +00:00
02-serve-runtime.md refactor(core,cli): rename Gemini residue in memory/spinner/leaf ids (#9900) 2026-08-27 11:08:11 +00:00
03-acp-bridge.md refactor(core,cli): rename Gemini residue in memory/spinner/leaf ids (#9900) 2026-08-27 11:08:11 +00:00
04-permission-mediation.md fix(acp-bridge): Disable permission timeout by default (#9933) 2026-08-24 16:08:44 +00:00
05-mcp-transport-pool.md feat(mcp): add MCP 2026 core and WebShell Apps host (#8992) 2026-08-23 18:34:30 +00:00
06-mcp-budget-guardrails.md docs(serve): Close multi-workspace hardening gaps (#7019) 2026-07-16 17:33:53 +00:00
07-workspace-filesystem.md feat(daemon): make serve new-file mode configurable (QWEN_SERVE_NEW_FILE_MODE) (#9364) 2026-08-18 03:42:35 +00:00
08-session-lifecycle.md fix(serve): Repair persisted session lifecycle (#9626) 2026-08-25 02:24:23 +00:00
09-event-schema.md feat(daemon): attach skill-toggle mutation metadata to settings_changed (#9051) 2026-08-17 05:01:41 +00:00
10-event-bus.md fix: Make chat recording failures durable and visible (#6743) 2026-07-12 10:52:26 +00:00
11-capabilities-versioning.md feat(daemon): support local path extension installs (#10131) 2026-08-26 23:52:31 +00:00
12-auth-security.md feat(serve): add --open-with-auth (#9738) 2026-08-24 07:33:05 +00:00
13-sdk-daemon-client.md feat(daemon): add batch extension activation APIs (#8788) 2026-08-19 06:42:48 +00:00
14-cli-tui-adapter.md fix: Make chat recording failures durable and visible (#6743) 2026-07-12 10:52:26 +00:00
15-channel-adapters.md feat(channels): Add owner-scoped named sessions (#10198) 2026-08-27 09:58:38 +00:00
16-vscode-ide-adapter.md feat(cli): Enable multi-workspace session routing (#6511) 2026-07-08 10:06:31 +00:00
17-configuration.md refactor(core,cli): rename Gemini residue in memory/spinner/leaf ids (#9900) 2026-08-27 11:08:11 +00:00
18-error-taxonomy.md feat(serve): add pollable daemon turn status (#9080) 2026-08-18 06:35:17 +00:00
19-observability.md feat(cli): correlate daemon logs with OpenTelemetry spans (#9084) 2026-08-13 16:33:12 +00:00
20-quickstart-operations.md refactor(core,cli): rename Gemini residue in memory/spinner/leaf ids (#9900) 2026-08-27 11:08:11 +00:00
_meta.ts docs(daemon): Refresh daemon docs in English (#5144) 2026-06-15 22:38:01 +08:00