Skip to content

Troubleshooting

This page lists common failure modes and the first checks to run.

Command-block copy requires shell integration and a restarted shell.

Check:

Terminal window
sivtr init powershell
# or: sivtr init bash / zsh / nushell

Then restart the terminal, run a command, and try:

Terminal window
sivtr copy out --print

If pipe mode works but copy does not, the issue is usually session logging, not the browser.

import reads the current structured shell session log. It is most useful after shell integration has recorded several commands in the current shell process.

Try:

  1. Restart the shell after sivtr init <shell>.
  2. Run a visible command such as echo hello.
  3. Run sivtr import.

Provider pickers only show local sessions the provider can discover for the current workspace.

Check:

Terminal window
sivtr copy codex --pick
sivtr copy claude --pick
sivtr copy opencode --pick
sivtr copy pi --pick

If one provider is empty but another works, the issue is provider discovery or missing provider data. If all are empty, check that you are running from the project directory that matches the sessions’ working directory.

Use --cwd with search/show flows when running from another directory:

Terminal window
sivtr search agent --match "panic" --cwd /path/to/project --format timeline

sivtr copy codex selects the wrong account’s session

Section titled “sivtr copy codex selects the wrong account’s session”

Implicit current-session lookup stays local by design. Shared Codex mirrors from [codex].session_dirs only participate in explicit picker browsing.

Use:

Terminal window
sivtr copy codex --pick

If you need a shared tree, configure it explicitly:

[codex]
session_dirs = ["/srv/sivtr/root-codex/sessions"]

Clipboard support depends on the desktop/session environment. Wayland, X11, SSH, and headless environments can behave differently.

First verify the text itself with --print:

Terminal window
sivtr copy out --print
sivtr copy claude out --print

If printed text is correct but the clipboard is empty, the problem is likely platform clipboard integration rather than selection or parsing.

Check status:

Terminal window
sivtr hotkey status

Then try a different chord:

Terminal window
sivtr hotkey start --chord ctrl+shift+y

If registration fails, another app may already own the shortcut.

This is expected. Linux does not currently ship a built-in desktop-wide sivtr daemon because Wayland and desktop environments do not provide one universal shortcut API for ordinary CLI apps.

Use one of these instead:

Terminal window
sivtr init tmux
sivtr init linux-shortcut

Or use the VS Code extension shortcut.

Refs are resolved against the current workspace session list. If you run show from a different directory than the original search, pass the same --cwd:

Terminal window
sivtr search agent --match "panic" --cwd /path/to/project --format json
sivtr show <ref> --cwd /path/to/project

Also check that the provider exists in the ref source, such as codex, claude, opencode, or pi.

--regex keeps matching lines only. If the pattern is invalid or too narrow, the result can be empty.

Debug with --print and a simpler pattern:

Terminal window
sivtr copy out --regex error --print
sivtr copy out --regex "error|failed" --print

Remember that --regex runs before --lines when both are set.

The CLI is the source of truth for the installed binary:

Terminal window
sivtr --help
sivtr version --verbose
sivtr copy --help
sivtr copy claude --help

If the website describes a newer command than your binary supports, update sivtr:

Terminal window
cargo install sivtr --force