Skip to content

FAQ ​

Resuming fails with 400: each thinking block must contain thinking or Invalid signature in thinking block ​

When you continue the same Claude Code session after switching providers or relays, you may see one of these errors:

  • each thinking block must contain thinking: newer models return thinking blocks through the official API with only a signature and empty content, and some relays reject them.
  • Invalid signature in thinking block: the block's signature came from a different channel.

Fix it with version 3.7.0 or later:

  1. Quit any Claude Code process using that session.
  2. Choose "Repair thinking blocks" from the session list's action menu or the Details menu on the message page. When you open a session with empty thinking blocks, the banner at the top can repair it too.
  3. Pick a mode and confirm:
    • Remove empty thinking only (default) fixes each thinking block must contain thinking.
    • Remove all thinking also removes thinking with content and redacted_thinking, which fixes the signature error.
  4. Go back to your terminal and resume with the same command, e.g. claude --resume <session id>.

The repair rewrites the session file in place and keeps the session ID. A backup is saved first in the repair-backups folder of the app data directory; to restore, copy it back and rename it to <session>.jsonl. Thinking from earlier turns is not part of the model context, so the conversation itself is unchanged. See Features for details.

The project list is empty ​

  1. Make sure you have used the CLI and its session folder exists, e.g. ~/.claude/projects/ for Claude Code or ~/.codex/sessions/ for Codex. The full list is in Get started.
  2. Open Tools → Apps to see each source's session folder and whether it was detected.
  3. Check that the right source is selected at the top of the sidebar. If you set GROK_HOME, Grok CLI sessions are read from $GROK_HOME/sessions/.

Session folders created after the app starts are picked up automatically; no restart needed.

Does it upload my sessions? ​

No. The app only reads files on your machine, needs no account, and never sends session content to any server. The only network use is checking for updates, the optional daily price list update, and the local CLI when you choose to chat from inside the app. The web build runs on your own server, so your data does not go through any third party either.

Can I recover deleted sessions? ​

Yes. Deleting sessions or projects, or cleaning up empty projects, moves them to the recycle bin, where you can restore them. The exception is Antigravity CLI sessions: agy deletes them itself and the deletion is permanent, as the confirmation dialog says.

How do I resume a session in the terminal? ​

Click Resume in the session list or on the message page. The app opens your system terminal and runs:

SourceCommand
Claude Codeclaude --resume <id>
Codex CLIcodex resume <id>
Grok CLIgrok -r <id>
Oh My Piomp --resume <id>
Gemini CLIgemini --resume <id>
Antigravityagy --resume <id> (CLI sessions only)

Gemini CLI and agy only look for sessions in the current project. One-click resume changes to the right folder for you; if you copy the command, run it from the session's project folder.

How do updates differ between installer and portable builds? ​

Installers (.exe / .msi / .dmg / .deb) download, install and restart from inside the app. The Windows portable build opens the GitHub Release page when a new version is out, and you replace it manually.

Accessing the web build over a LAN or the internet ​

session-web listens on 127.0.0.1 by default. Any other address requires an access token:

bash
./session-web --host 0.0.0.0 --token my-secret

You can also use the ASV_HOST, ASV_PORT and ASV_TOKEN environment variables. For public access, put it behind an HTTPS reverse proxy. See Web server and deployment.

Where does the app keep its own data? ​

Bookmarks, the recycle bin, aliases and tags, statistics caches and repair backups live in the app data directory:

  • Windows: %APPDATA%\ai-session-viewer
  • macOS: ~/Library/Application Support/ai-session-viewer
  • Linux: ~/.config/ai-session-viewer

How is cost calculated? ​

From the token usage recorded in each session, priced with the LiteLLM community price list (optionally updated daily). When a tool records its own cost, that value is used. The method follows cc-switch, e.g. deduplicating by message and counting sub-agents. The result is an estimate and may differ from your provider's bill.

Something else? ​

Open an issue on GitHub.

Released under the MIT License · Reads local session files only, nothing is uploaded