Resume work from a previous Claude Code or Codex CLI session by reading the last N turns from its JSONL transcript