Skip to content

fix(codex): read sessions from SQLite DB + fix agf resume#13

Merged
subinium merged 1 commit intomainfrom
fix/codex-sqlite-resume
Mar 25, 2026
Merged

fix(codex): read sessions from SQLite DB + fix agf resume#13
subinium merged 1 commit intomainfrom
fix/codex-sqlite-resume

Conversation

@subinium
Copy link
Copy Markdown
Owner

Summary

  • Codex scanner reads from state_*.sqlite (threads table) as primary source — covers CLI, desktop app (vscode), and exec sessions
  • Falls back to JSONL walkdir if SQLite is unavailable
  • agf resume subcommand now writes to AGF_CMD_FILE so the shell wrapper evals the command instead of printing text

Test plan

  • cargo check / cargo clippy / cargo fmt / cargo test all pass
  • Verified Codex sessions found from SQLite (cli, vscode, exec sources)
  • Verified agf resume writes to AGF_CMD_FILE correctly

🤖 Generated with Claude Code

- Codex scanner now reads from state_*.sqlite (threads table) as primary
  source, covering CLI, desktop app (vscode), and exec sessions. Falls
  back to JSONL walkdir if SQLite is unavailable.
- agf resume subcommand now writes to AGF_CMD_FILE so the shell wrapper
  can eval the command instead of printing it as text.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@subinium subinium merged commit fe4b68c into main Mar 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant