Provider history support
ctx provider support is a narrow claim: the CLI can discover or read a provider's real persisted local history format and index it into the local store.
Supported today
The current search CLI imports:
- Codex session JSONL trees under
~/.codex/sessions; - Codex prompt history at
~/.codex/history.jsonl; - Pi
~/.pi/sessions.jsonlwhen that local file exists and matches the supported JSONL format; - Claude projects JSONL trees under
~/.claude/projects; - OpenCode SQLite history at
~/.local/share/opencode/opencode.db; - Antigravity transcript JSONL trees under
~/.gemini/antigravity-cli/brain; - Gemini CLI history under
~/.gemini; - Cursor agent transcript JSONL trees under
~/.cursor/projects; - Copilot CLI session-state under
~/.copilot/session-state; - Factory AI Droid sessions under
~/.factory/sessions.
Use ctx sources for the truth on the current machine:
ctx sources
ctx sources --jsonIn JSON output, native_import: true means ctx has parser support for that provider format. importable: true means the current path exists, has supported data, and can be imported on this machine. Source status can be available, empty, unknown, missing, or unsupported.
What support means
Provider support means ctx can discover or read a provider's persisted local history format. It does not mean ctx launches that agent, installs that agent, or guarantees every provider-specific field is normalized into the same shape.
Import rules
Provider imports must be read-only with respect to provider-owned files,
explicit through ctx import, ctx setup, or the bounded ctx search --refresh auto Codex refresh path, safe to interrupt and re-run, conservative
around unknown schemas, and clear about source citations.