cass

DocsStart here

Quickstart

On this page

1. Install#

Recommended: Homebrew (Apple Silicon macOS + Linux)

bash
brew install dicklesworthstone/tap/cass

# Update later
brew upgrade cass

The Homebrew tap installs prebuilt release tarballs (not bottles) for Linux and Apple Silicon macOS. On Intel macOS, use the install script with --from-source.

Windows: Scoop

powershell
scoop bucket add dicklesworthstone https://github.com/Dicklesworthstone/scoop-bucket
scoop install dicklesworthstone/cass

Alternative: Install Script

bash
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/coding_agent_session_search/main/install.sh?$(date +%s)" \
  | bash -s -- --easy-mode --verify

Alternative: GitHub Release Binaries

  1. Download the asset for your platform from GitHub Releases.
  2. Verify SHA256SUMS.txt against the downloaded archive.
  3. Extract and move cass into your PATH.

Example (Linux x86_64, replace VERSION with an explicit release tag):

bash
VERSION=v0.11.0  # an explicit release tag from the Releases page
curl -L -o cass-linux-amd64.tar.gz \
  "https://github.com/Dicklesworthstone/coding_agent_session_search/releases/download/${VERSION}/cass-linux-amd64.tar.gz"
curl -L -o SHA256SUMS.txt \
  "https://github.com/Dicklesworthstone/coding_agent_session_search/releases/download/${VERSION}/SHA256SUMS.txt"
sha256sum -c SHA256SUMS.txt
tar -xzf cass-linux-amd64.tar.gz
install -m 755 cass ~/.local/bin/cass

2. Launch#

bash
cass

On first run, cass starts a full index in the background (a detached, low-priority cass index --full that keeps going if you quit) and shows its progress in the status line. Search goes live, without a restart, as soon as the first index is published. Until then there are no results; if automatic indexing is off (CASS_AUTO_REFRESH=0) or cannot start, the status line says so and names cass index --full.

3. Usage#

  • Type to search: "python error", "refactor auth", "c++".
  • Wildcards: Use foo* (prefix), *foo (suffix), or *foo* (contains) for flexible matching.
  • Navigation: Up/Down to select, Tab (or Alt+l) to focus the detail pane. Ctrl+N/Ctrl+Shift+N step through query history; Ctrl+R cycles it.
  • Filters:
    • F3: Filter by Agent (e.g., "codex").
    • F4: Filter by Workspace/Project.
    • F5/F6: Time filters (Today, Week, etc.).
  • Modes:
    • F2: Next theme (Shift+F2 previous; 19 presets).
    • F12: Cycle ranking mode (recent → balanced → relevance → quality → newest → oldest).
    • Ctrl+B: Toggle rounded/square borders.
  • Actions:
    • Enter: Open selected result in contextual detail modal (defaults to Messages tab).
    • Enter with no selected hit: submit query behavior (no-op if empty).
    • F8: Open selected hit in $EDITOR.
    • Ctrl+Enter: Add current result to queue (multi-open).
    • Ctrl+O: Open all queued results in editor.
    • Ctrl+X: Toggle selection on current item (Ctrl+M opens the detail modal, like Enter).
    • Alt+B: Bulk actions menu (when items selected).
    • Ctrl+Y / Alt+Y / Ctrl+Shift+C: Copy file path / snippet / content to clipboard.
    • Alt+E: Bookmark the selected hit (same store as cass bookmarks; a second press keeps one bookmark).
    • /: Find text within detail pane; Enter advances matches; n/N cycle contextual session hits; Esc closes the modal.
    • Ctrl+Shift+R: Trigger manual re-index (refresh search results).
    • Ctrl+Shift+Del: Reset TUI state (clear history, filters, layout).

4. Multi-Machine Search (Optional)#

Aggregate sessions from your other machines into a unified index:

bash
# Add a remote machine
cass sources add user@laptop.local --preset macos-defaults

# Sync sessions from all sources
cass sources sync

# Check source health and connectivity
cass sources doctor

See Remote Sources (Multi-Machine Search) for full documentation.