Harnesses
Paths below are the defaults. Point any of them somewhere else with the environment variable in the last column. A missing directory is skipped. ai9s only reads session stores. It does not read credential files.
The sessions list nests a subagent under the session that launched it when that harness records the parent. Claude Code, Cursor, Grok Build, Codex, OpenCode, Hermes, OpenClaw, Kilo Code, MiniMax, Mistral Vibe, and MastraCode do. The row starts collapsed and shows a count. Space expands it. A search that matches a subagent keeps the parent on screen. Enter on a Claude Code or Cursor subagent resumes the parent session. Describe says so. Other sessions stay on their own rows. The Herdr sidebar is this same list. ai9s search still prints one row per session.
| Harness | What is read | Resume | Delete | Override |
|---|---|---|---|---|
Claude Code (claude) | $CLAUDE_CONFIG_DIR/projects/**/*.jsonl, including <session>/subagents/ | claude --resume <id>. A subagent resumes the parent id. | the transcript file | CLAUDE_CONFIG_DIR |
Codex (codex) | $CODEX_HOME/sessions/**/rollout-*.jsonl and thread_spawn_edges in the newest state_*.sqlite | codex resume <id> | the rollout file | CODEX_HOME |
Copilot CLI (copilot) | $COPILOT_HOME/session-state/<id>/ | copilot --resume <id> | that session directory | COPILOT_HOME |
Grok Build (grok) | $GROK_HOME/sessions/**/summary.json and subagent_spawned events in that session's updates.jsonl | grok --resume <id> | that session directory, and its active-session and metadata entries | GROK_HOME |
Antigravity (antigravity) | $GEMINI_HOME/antigravity-cli/history.jsonl | agy --conversation <id> | that conversation's lines | GEMINI_HOME |
Gemini CLI (gemini) | $GEMINI_HOME/tmp/<project>/chats/session-*.json | gemini --session-file <path> | that chat file | GEMINI_HOME |
Cursor (cursor) | $CURSOR_HOME/projects/**/agent-transcripts/<id>/<id>.jsonl and agent-transcripts/<id>/subagents/*.jsonl | cursor-agent --resume <id> (or agent). A subagent resumes the parent id. | the transcript file | CURSOR_HOME |
OpenCode (opencode) | $XDG_DATA_HOME/opencode/opencode.db | opencode --session <id> | opencode session delete <id> | OPENCODE_DB |
Hermes (hermes) | $HERMES_HOME/state.db and profiles/<name>/state.db | hermes --resume <id> (-p <profile> for a named profile) | hermes sessions delete <id> --yes | HERMES_HOME |
OpenClaw (openclaw) | $OPENCLAW_STATE_DIR/agents/<id>/agent/openclaw-agent.sqlite | openclaw resume <session-key> | openclaw sessions delete <key> --yes | OPENCLAW_STATE_DIR, else OPENCLAW_HOME |
Junie (junie) | $JUNIE_HOME/sessions/session-*/transcript.md | junie --resume --session-id=<id> | that session directory | JUNIE_HOME |
Jules (jules) | $JULES_HOME/sessions.json or sessions.txt | jules teleport <id> | that row, or the cloud session when JULES_API_KEY is set | JULES_HOME |
Goose (goose) | $GOOSE_HOME/sessions/sessions.db | goose session --resume --session-id <id> | goose session remove --session-id <id> | GOOSE_HOME |
Cline (cline) | $CLINE_HOME/data/state/taskHistory.json | cline task open <id> | rewrite the history, then remove the task directory | CLINE_HOME |
Aider (aider) | .aider.chat.history.md under the configured roots, and ~/.aider.chat.history.md when those are unset | aider --restore-chat-history | that history file | AIDER_CHAT_ROOTS, AIDER_HOME, AIDER_CHAT_HISTORY |
Kiro (kiro) | kiro-cli data.sqlite3 (conversations_v2) | kiro-cli chat --resume-id <id> | that conversation; the shell history table stays | KIRO_CLI_DB, else KIRO_HOME |
Kimi (kimi) | $KIMI_CODE_HOME/sessions/<workDirKey>/<id>/state.json and agents/main/wire.jsonl | kimi --session <id> | that session directory and its session_index.jsonl line | KIMI_CODE_HOME |
MiniMax (minimax) | $MINIMAX_DATA_DIR/v2/sqlite/runtime-state.sqlite (local_runtime_sessions), and v2/sessions/.../messages.jsonl when that database is absent | mcode --session <id> | that session row and its history directory | MINIMAX_DATA_DIR, else MAVIS_DATA_DIR |
Qwen (qwen) | $QWEN_RUNTIME_DIR/projects/<sanitized-cwd>/chats/<id>.jsonl (also chats/archive; $QWEN_HOME when the runtime dir is unset) | qwen --resume <id> | that chat file | QWEN_RUNTIME_DIR, else QWEN_HOME |
Mistral Vibe (mistral) | $VIBE_HOME/logs/session/<dir>/ (meta.json, messages.jsonl) | vibe --resume <id> | that session directory | VIBE_HOME |
Pi (pi) | $PI_CODING_AGENT_SESSION_DIR/**/*.jsonl, or ~/.pi/agent/sessions when that variable and PI_CODING_AGENT_DIR are unset | pi --session <id> | the transcript file | PI_CODING_AGENT_SESSION_DIR, else PI_CODING_AGENT_DIR |
OMP (omp) | the same session directory as Pi, or ~/.omp/agent/sessions when those variables are unset | omp --resume=<id> | the transcript file | PI_CODING_AGENT_SESSION_DIR, else PI_CODING_AGENT_DIR |
Droid (droid) | $FACTORY_HOME/sessions/**/*.jsonl and the sibling settings file | droid resume <id> | the transcript file | FACTORY_HOME |
Devin CLI (devin) | $XDG_DATA_HOME/devin/cli/sessions.db | devin --resume <id> | devin rm <id> --force | DEVIN_SESSIONS_DB |
Kilo Code (kilo) | $XDG_DATA_HOME/kilo/kilo.db | kilo --session <id> | kilo session delete <id> | KILO_DB |
Qoder CLI (qodercli) | $QODER_CONFIG_DIR/projects/**/*.jsonl | qodercli --resume <id> | the transcript file | QODER_CONFIG_DIR |
Letta Code (letta) | $LETTA_HOME/transcripts/<agent>/<conversation>/transcript.jsonl | letta --agent <id> | the transcript file | LETTA_HOME |
MastraCode (mastracode) | mastra.db (mastra_threads), at MASTRA_DB_PATH or the platform app-data directory | mastracode --thread <id> | not offered | MASTRA_DB_PATH |
Amp (amp) | none. Threads stay on ampcode.com and ai9s does not call the network | amp threads continue <id> | not offered | none |
Maki (maki) | $MAKI_STATE_DIR/sessions/<id>.jsonl. Archive logs are skipped | maki --resume <id> | maki session delete <id> --force | MAKI_STATE_DIR |
Yolo
y on a session, and ai9s resume --yolo, add a flag only when that harness documents one:
- Claude and Antigravity:
--dangerously-skip-permissions - Grok:
--always-approve - Copilot:
--allow-all-tools - Cursor:
--force - Hermes:
--yolo - Junie:
--brave - Cline:
--yoloontask open - Kiro:
--trust-all-toolsbefore the subcommand - Qwen:
--yolo - Mistral:
--yolo(--auto-approveis the same flag) - OMP:
--auto-approve - Devin:
--permission-mode dangerous - Kilo:
--auto - Qoder:
--dangerously-skip-permissions - Maki:
--yolo
Codex, Gemini, OpenCode, OpenClaw, Jules, Goose, Aider, Kimi, MiniMax, Pi, Droid, Letta, MastraCode, and Amp resume without an extra approval flag.
Read limits
- Subagent transcripts are skipped.
- Kiro's shell
historytable is skipped. Resume useskiro-cli, which is separate from the Kiro IDE. - Goose resume and delete need the
goosecommand onPATH. - Jules listing talks to Google only when
AI9S_JULES_REMOTE=1. Otherwise ai9s reads the local snapshot and does not runjules. Deleting a remote session uses the Jules API whenJULES_API_KEYis set. - Aider does not walk the home directory unless
AIDER_SCAN_HOME=1. It does read~/.aider.chat.history.md, the chat aider writes when it is started from home outside a git repo. A chat inside another project is read when that project is listed inAIDER_CHAT_ROOTS. - Kimi Code is read from
KIMI_CODE_HOME(default~/.kimi-code). The archived kimi-cli store~/.kimiis not read. Resume useskimi. - MiniMax is read from
MINIMAX_DATA_DIR, or fromMAVIS_DATA_DIRwhen that is unset. The install prefix~/.minimax-codeis not the data directory. Resume usesmcode. - A
[session_logging] save_dirin the Vibeconfig.tomlreplaceslogs/sessionwhen that directory is safe. Resume usesvibe. - Child sessions are skipped.
- Pi and OMP both follow
PI_CODING_AGENT_SESSION_DIR, thenPI_CODING_AGENT_DIR. When those are unset, Pi reads~/.pi/agent/sessionsand OMP reads~/.omp/agent/sessions. FACTORY_HOME(default~/.factory),DEVIN_SESSIONS_DB,LETTA_HOME(default~/.letta), andMAKI_STATE_DIRare ai9s overrides. Maki otherwise uses~/.makiwhen that directory exists, then$XDG_STATE_HOME/makior~/.local/state/maki.- Amp threads stay on ampcode.com. ai9s does not list them and does not call the network. Resume is
amp threads continue. Delete is not offered. - MastraCode resume passes
--thread. A build that only documents--continueopens the latest thread, so that flag is not used for one row. Delete is not offered. - OpenClaw's working directory is the workspace recorded on the session. ai9s does not read OpenClaw credentials.
What delete removes
Grok delete removes the one session directory whose name is that session id, when summary.json is a regular file inside it. It also drops that id from active_sessions.json and client-state/session-meta.json when those files exist. The project prompt_history.jsonl stays.
Gemini delete removes that one session-*.json file under tmp/<project>/chats/, after the file's sessionId matches. Project caches and projects.json stay.
Kiro delete removes that conversation from conversations_v2 and, when the same key is present, from conversations. The shell history table is left as it is. The database file stays.
Kimi delete rewrites session_index.jsonl without that session id, then removes that one session directory. A sibling session in the same work directory stays.
Qwen delete removes that one chat file under chats/ or chats/archive/. Other chats stay.
Mistral delete removes that one session directory under the Vibe save directory, when meta.json and messages.jsonl are regular files and the session id matches.
MiniMax delete, when the session came from runtime-state.sqlite, removes that session's history directory when the manifest id matches, then deletes that session's rows. The database file stays. A manifest-only session removes that one history directory.
Jules keeps a local list in sessions.json or sessions.txt. Delete rewrites that file without the chosen id. The jules command has no delete subcommand. A remote session is deleted with the Jules API when JULES_API_KEY is set. Without that key, the cloud session is left in place and delete says so. ai9s does not read the Jules keyring.
Antigravity stores every conversation in one history.jsonl. Delete rewrites that file without the chosen id. Cline delete rewrites taskHistory.json first, then removes that task's directory. OpenCode, Hermes, OpenClaw, Goose, Devin, Kilo, and Maki delete through each CLI. Other deletes remove a single transcript or Aider history file, or one Copilot session-state or Junie session-* directory, and only when the path is still inside that agent's session root. MastraCode and Amp do not offer delete.
Marks
Describe and the all-session stats show a two-letter mark: Ca claude, Cx codex, Cp copilot, Gk grok, Ag antigravity, Ge gemini, Cu cursor, Oc opencode, He hermes, Oa openclaw, Jn junie, Ju jules, Go goose, Cl cline, Ai aider, Ki kiro, Km kimi, Mm minimax, Qw qwen, Mi mistral, Pi pi, Om omp, Dr droid, Dv devin, Ko kilo, Qc qodercli, Lt letta, Mc mastracode, Ap amp, Mk maki. An unknown agent is ??. The session list does not have that column.