Skip to content

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.

Error output
显示为空,无会话。
English translation

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.

  1. Check whether the `.gemini/tmp/<hash>/chats` directory contains `session-*.jsonl` files to confirm this issue.

  2. Upgrade to a CC Switch release that includes the #7866 fix.

ToolGemini CLI
VersionCC Switch v4.0.0(受影响版本)
PlatformsWindowsmacOSLinux

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.

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.