samzong/Recall
À propos
Switch agents. Keep the history. Local-first search across your AI coding sessions.
Outils de développementProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +3
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalRecall
Local-first search across every AI coding session on your machine.
Jump between Claude Code, Codex, and whatever comes next; Recall pulls those scattered local sessions into one searchable index, tracks usage when token metadata is available, and drops you back into the original CLI.
Install
brew install samzong/tap/recall
Usage
recall sync # incremental sync of the current project (safe to run anytime)
recall sync --project all # sync every project and run index-wide maintenance
recall # launch TUI
recall usage # usage dashboard
recall export --project all > recall-export.jsonl # export all sessions
recall import recall-export.jsonl --dry-run # preview an import
recall session list # list sessions for agents/scripts
recall session share --id <session-id> --format json # publish one selected session
recall share list --format json # list published share URLs
recall share unpublish <share-id> --yes # take down one public page
recall info # index stats and settings
Usage reporting rules:
- The
--timeflag uses local midnight fortodayand rolling7 * 24hour or30 * 24hour windows for7dand30d. - The
--card --periodflag uses local calendar day boundaries starting at local midnight, and--jsonrollups use local calendar day, week, and month boundaries. recall usage --projectsand the TUIProjectstab aggregate all indexed sessions globally, while--project <dir>scopes local directories vianative_bindings.- Recall reports only observed provider and client token buckets without synthetic USD cost estimation or unverified token guessing.
With Skill use Recall is the best way.
recall skill install # auto detect agents and install skills
Support
Antigravity desktop sessions use source antigravity (AGYD) and come from ~/.gemini/antigravity/brain/.
CLI and ACP sessions use source antigravity-cli (AGY) and come from ~/.gemini/antigravity-cli/ and ~/.gemini/antigravity-acp/.
Desktop resume is not supported.
Usage tracking reads local conversations/*.db files for both desktop and CLI sources.
Run recall sync --source antigravity --project all, then recall session list --source antigravity --project all.
Project filters read workspace paths from conversation_summaries.db, history.jsonl, .meta files, and conversations/*.db.
If those workspace sources are missing or unreadable, global search still includes the transcripts without project paths.
One index across every AI coding CLI. Sync once, search everywhere, resume right where you left off.
| Adapter | Discovery | Full-index | Incremental-sync | Export | Resume | Usage |
|---|---|---|---|---|---|---|
| Claude Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| OpenClaude | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Cherry Studio | ✅ | ✅ | ✅ | ✅ | — | ✅ |
| CodeWhale | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| OpenCode | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Codex | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Pi | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| OMP | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Prime Agent | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| GJC | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Kimchi | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Senpi | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Mistral Vibe | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| rx-agent | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Antigravity CLI | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Antigravity desktop | ✅ | ✅ | ✅ | ✅ | — | ✅ |
| Gemini | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Kiro | ✅ | ✅ | ✅ | ✅ | ✅ | — |
| Copilot | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Copilot Chat | ✅ | ✅ | ✅ | ✅ | — | ✅ |
| Cursor | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Cline | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Roo | ✅ | ✅ | ✅ | ✅ | — | ✅ |
| DeepSeek Harness | ✅ | ✅ | ✅ | ✅ | — | ✅ |
| Grok | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Kimi Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| MiniMax Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Qoder CLI | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Qwen Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Kilo Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Crush | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| MiMo Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ZCode | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Goose | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Droid | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Amp | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| OpenHands | ✅ | ✅ | ✅ | ✅ | ✅ | — |
| Devin | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Muse Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| CodeBuddy | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| TRAE CLI | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| JetBrains Junie | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Zed | ✅ | ✅ | ✅ | ✅ | — | ✅ |
| Warp | ✅ | ✅ | ✅ | ✅ | — | ✅ |
Cursor and Cline resume support covers local CLI sessions only. Editor sessions do not support resume through Recall.
Qoder CLI usage requires exposed, nonzero token counts. Cache-inclusive input is split into fresh input, cache read, and cache write. Hidden token counts are not estimated.
Mistral Vibe sessions use $VIBE_HOME/logs/session (default ~/.vibe/logs/session). Recall reads legacy session directories and unified stores. Usage totals remain unattributed to a model or provider because the session totals do not record that split.
rx-agent sessions use $RX_HOME/sessions (default ~/.rx/sessions). Recall reads version 1 logs and preserves the complete history across compaction checkpoints.
Grok usage reads turn_completed.usage records from updates.jsonl and reconciles interrupted turns with unified.jsonl. When neither source exists for a turn, Recall falls back to _meta.totalTokens. Recall excludes Grok subagent and subagent_resume sessions. Interrupted turns that rotated out of unified.jsonl before re-parse fall back to _meta.totalTokens when present and otherwise emit no usage.
Copilot Chat usage reads reported prompt, output, and thinking token counts from replayed chat requests when VS Code writes those fields. Older or minimal chat logs without reported counts emit no usage.
Cline usage reads disjoint token counts from ui_messages.json for VS Code tasks and subtracts cache reads and writes from gross input tokens in Cline CLI .messages.json metrics. Roo usage reads api_req_started rows in ui_messages.json and subtracts cache counts only for OpenAI protocols or rows recorded at or after 2025-11-02T00:00:00Z.
Amp usage reconciles usageLedger.events records with assistant usage objects on thread messages without counting the same turn twice. Counts stay as reported without estimation when neither record exists.
OpenClaude sessions
Recall reads OpenClaude JSONL sessions from ~/.openclaude/projects.
OPENCLAUDE_CONFIG_DIR selects a different configuration directory.
Recall also accepts OPENCLAUDE_PROJECTS_DIR as an explicit projects directory;
this override takes precedence over OPENCLAUDE_CONFIG_DIR.
A missing override directory produces an empty scan.
Run recall sync --source openclaude --project all, then
recall search OPENCLAUDE_ACCEPTANCE_BETA --source openclaude --project all
after asking OpenClaude to read a file, run a shell command, edit the file, and
reply with that marker. Use recall session list --source openclaude --project all
to find the source ID, then inspect it with recall session show --source openclaude --source-id <id> --include metadata,messages,usage,events --format json.
recall session resume --source openclaude --source-id <id> --print-command
prints openclaude --resume <id>.
Usage reports reflect token counts stored in the JSONL, which can be lower than
OpenClaude's live CLI totals. Read, shell, and edit payloads remain structured
events and do not become searchable message text.
Recall 1.0.0-rc.3 includes this adapter. Native acceptance used OpenClaude 0.37.0
on macOS on 2026-11-30. For isolated checks, set HOME to a temporary directory and point
OPENCLAUDE_CONFIG_DIR at a temporary OpenClaude configuration. Remove only that
temporary directory after checking the results.
Cherry Studio agent sessions
Cherry Studio support covers Claude Agent sessions under
Data/Agents/.claude/projects in the Cherry Studio user data directory:
- macOS:
~/Library/Application Support/CherryStudio - Linux:
${XDG_CONFIG_HOME:-~/.config}/CherryStudio - Windows:
%APPDATA%\CherryStudio
CHERRY_STUDIO_DATA_DIR selects a different Cherry Studio user data directory,
including a relocated or portable installation. A missing override directory
produces an empty scan. Plain chats and other agent runtimes are not indexed.
Claude sessions stored in the native Claude Code directory use the existing
claude-code source. Recall has no resume command for Cherry Studio.
Run recall sync --source cherry-studio --project all, then
recall session list --source cherry-studio --project all.
Search, session show, export, and usage use the same cherry-studio source.
Tool calls and results remain structured events. Usage reads stored token counts;
the provider is unknown because Cherry Studio can route a model through a
custom provider.
CodeWhale sessions
Recall reads CodeWhale JSON sessions from ~/.codewhale/sessions and legacy
DeepSeek-TUI sessions from ~/.deepseek/sessions. The CodeWhale copy wins when
both directories contain the same session ID. CODEWHALE_HOME selects an
absolute application directory and disables legacy discovery. Configuration
file overrides do not change the session directory.
Run recall sync --source codewhale --project all, then
recall search CODEWHALE_ACCEPTANCE_COMPLETE --source codewhale --project all
after asking CodeWhale to read a file, run a shell command, edit the file, and
reply with that marker. Find the source ID with
recall session list --source codewhale --project all, then run
recall session show --source codewhale --source-id <id> --include metadata,messages,usage,events --format json.
recall session resume --source codewhale --source-id <id> --print-command
prints codewhale --resume <id>.
Tool payloads remain structured events. Runtime instructions and turn metadata are excluded from searchable conversation text. Usage reports count nonzero request usage recorded in the session, with cache tokens counted once. CodeWhale can record zero usage for an OpenAI-compatible provider; Recall does not estimate those missing counts from text or session totals.
Recall 1.0.0-rc.3 includes this adapter. Native acceptance used CodeWhale 0.10.4
on macOS on 2026-11-30, including a native resume. For isolated checks, set HOME to a
temporary directory and CODEWHALE_HOME to a temporary application directory.
The test fixture is a sanitized recording of the read, shell, and edit session;
workspace paths are replaced and unrelated system and pricing data are removed.
Acknowledgements
- Thanks to tokscale for the usage dashboard reference and token accounting behavior.
- Thanks to Ratatui and Crossterm for the terminal UI foundation.
- Thanks to SQLite FTS5 for keeping local full-text search embedded.
- Thanks to kitup for the bundled agent skill installer.
- Thanks to LINUX DO for the open-source sharing community.
License
This project is licensed under the MIT License.
Explorer des projets similaires
Chargement…