agent-grep 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # agent-grep
2
+
3
+ Interactive grep across your Claude Code and Codex CLI session history.
4
+
5
+ ## Install
6
+
7
+ ```sh
8
+ npm install -g agent-grep
9
+ ```
10
+
11
+ Ships a bundled `ripgrep` (via `@vscode/ripgrep`). Falls back to system `rg`, then `grep`.
12
+
13
+ ## Use
14
+
15
+ ```sh
16
+ agent-grep # launch TUI
17
+ agent-grep "firebase auth" # TUI, prefilled
18
+ agent-grep -P "pnpm" # force print mode
19
+ agent-grep --json "pnpm" | jq # pipe JSON
20
+ ```
21
+
22
+ Searches `~/.claude` and `~/.codex` by default. `Enter` on a result `cd`s into the project and resumes the session via `claude --resume` or `codex resume`.
23
+
24
+ ## TUI keys
25
+
26
+ | Key | Action |
27
+ | -------- | ------------------------------------------------- |
28
+ | type… | Live search |
29
+ | ↑ / ↓ | Navigate results |
30
+ | `Enter` | Resume the session in its project dir |
31
+ | `Tab` | Cycle role filter (all → user → assistant → tool) |
32
+ | `Ctrl+B` | Cycle source (both → claude-code → codex) |
33
+ | `Ctrl+P` | Toggle project filter (all / cwd) |
34
+ | `Ctrl+D` | Toggle `--dangerously-skip-permissions` |
35
+ | `Esc` | Quit |
36
+
37
+ `agent-grep --help` for all flags.