Empty display, no sessions. Gemini CLI
Quick fix
Upgrade to a CC Switch version that includes .jsonl session-reading support to display sessions from the newer Gemini CLI.
Symptom
Section titled “Symptom”显示为空,无会话。The display is empty; there are no sessions.
The newer Gemini CLI saves session records as `.gemini/tmp/<hash>/chats/session-*.jsonl` and also migrates `.json` to `.jsonl` when restoring old sessions. CC Switch v4.0.0 reads only `chats/*.json`, so the session list is empty.
This issue is unrelated to Windows and also occurs on other systems. The fix was added in #7866, covering the session list, message details, long-output expansion, and Gemini usage statistics while retaining support for displaying older `.json` sessions.
Check whether the `.gemini/tmp/<hash>/chats` directory contains `session-*.jsonl` files to confirm this issue.
Upgrade to a CC Switch release that includes the #7866 fix.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- Does the `chats` directory contain `.jsonl` files?
- If it contains `.jsonl` files, the identified cause matches this issue.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.