Metadata-Version: 2.4
Name: claude-sessions-search
Version: 0.2.0
Summary: Search and view Claude Code session logs
Project-URL: Homepage, https://github.com/gojira/claude-sessions-search
Project-URL: Repository, https://github.com/gojira/claude-sessions-search
Project-URL: Issues, https://github.com/gojira/claude-sessions-search/issues
Author: gojira
License-Expression: MIT
License-File: LICENSE
Keywords: anthropic,claude,cli,logs,session
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: click>=8.0
Requires-Dist: rich>=13.0
Requires-Dist: simple-term-menu>=1.6
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# claude-sessions-search

Search and view Claude Code session logs.

## Installation

```bash
uv tool install claude-sessions-search
```

Or with pip:

```bash
pip install claude-sessions-search
```

## Usage

```bash
# Search and view session (opens in pager)
claude-sessions-search "pattern"
claude-sessions-search "auth" -n 10       # limit results
claude-sessions-search "bug" -p myproject # filter by project

# Output session ID only
claude-sessions-search "pattern" --id

# Output file path only
claude-sessions-search "pattern" --path

# Print directly without pager (for piping)
claude-sessions-search "pattern" --no-pager

# Non-interactive mode (prints search results)
claude-sessions-search "pattern" --no-interactive
```

## Restoring a Session

```bash
claude --resume $(claude-sessions-search "what I was working on" --path)
```
