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.

HarnessWhat is readResumeDeleteOverride
Claude Code (claude)$CLAUDE_CONFIG_DIR/projects/**/*.jsonl, including <session>/subagents/claude --resume <id>. A subagent resumes the parent id.the transcript fileCLAUDE_CONFIG_DIR
Codex (codex)$CODEX_HOME/sessions/**/rollout-*.jsonl and thread_spawn_edges in the newest state_*.sqlitecodex resume <id>the rollout fileCODEX_HOME
Copilot CLI (copilot)$COPILOT_HOME/session-state/<id>/copilot --resume <id>that session directoryCOPILOT_HOME
Grok Build (grok)$GROK_HOME/sessions/**/summary.json and subagent_spawned events in that session's updates.jsonlgrok --resume <id>that session directory, and its active-session and metadata entriesGROK_HOME
Antigravity (antigravity)$GEMINI_HOME/antigravity-cli/history.jsonlagy --conversation <id>that conversation's linesGEMINI_HOME
Gemini CLI (gemini)$GEMINI_HOME/tmp/<project>/chats/session-*.jsongemini --session-file <path>that chat fileGEMINI_HOME
Cursor (cursor)$CURSOR_HOME/projects/**/agent-transcripts/<id>/<id>.jsonl and agent-transcripts/<id>/subagents/*.jsonlcursor-agent --resume <id> (or agent). A subagent resumes the parent id.the transcript fileCURSOR_HOME
OpenCode (opencode)$XDG_DATA_HOME/opencode/opencode.dbopencode --session <id>opencode session delete <id>OPENCODE_DB
Hermes (hermes)$HERMES_HOME/state.db and profiles/<name>/state.dbhermes --resume <id> (-p <profile> for a named profile)hermes sessions delete <id> --yesHERMES_HOME
OpenClaw (openclaw)$OPENCLAW_STATE_DIR/agents/<id>/agent/openclaw-agent.sqliteopenclaw resume <session-key>openclaw sessions delete <key> --yesOPENCLAW_STATE_DIR, else OPENCLAW_HOME
Junie (junie)$JUNIE_HOME/sessions/session-*/transcript.mdjunie --resume --session-id=<id>that session directoryJUNIE_HOME
Jules (jules)$JULES_HOME/sessions.json or sessions.txtjules teleport <id>that row, or the cloud session when JULES_API_KEY is setJULES_HOME
Goose (goose)$GOOSE_HOME/sessions/sessions.dbgoose session --resume --session-id <id>goose session remove --session-id <id>GOOSE_HOME
Cline (cline)$CLINE_HOME/data/state/taskHistory.jsoncline task open <id>rewrite the history, then remove the task directoryCLINE_HOME
Aider (aider).aider.chat.history.md under the configured roots, and ~/.aider.chat.history.md when those are unsetaider --restore-chat-historythat history fileAIDER_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 staysKIRO_CLI_DB, else KIRO_HOME
Kimi (kimi)$KIMI_CODE_HOME/sessions/<workDirKey>/<id>/state.json and agents/main/wire.jsonlkimi --session <id>that session directory and its session_index.jsonl lineKIMI_CODE_HOME
MiniMax (minimax)$MINIMAX_DATA_DIR/v2/sqlite/runtime-state.sqlite (local_runtime_sessions), and v2/sessions/.../messages.jsonl when that database is absentmcode --session <id>that session row and its history directoryMINIMAX_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 fileQWEN_RUNTIME_DIR, else QWEN_HOME
Mistral Vibe (mistral)$VIBE_HOME/logs/session/<dir>/ (meta.json, messages.jsonl)vibe --resume <id>that session directoryVIBE_HOME
Pi (pi)$PI_CODING_AGENT_SESSION_DIR/**/*.jsonl, or ~/.pi/agent/sessions when that variable and PI_CODING_AGENT_DIR are unsetpi --session <id>the transcript filePI_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 unsetomp --resume=<id>the transcript filePI_CODING_AGENT_SESSION_DIR, else PI_CODING_AGENT_DIR
Droid (droid)$FACTORY_HOME/sessions/**/*.jsonl and the sibling settings filedroid resume <id>the transcript fileFACTORY_HOME
Devin CLI (devin)$XDG_DATA_HOME/devin/cli/sessions.dbdevin --resume <id>devin rm <id> --forceDEVIN_SESSIONS_DB
Kilo Code (kilo)$XDG_DATA_HOME/kilo/kilo.dbkilo --session <id>kilo session delete <id>KILO_DB
Qoder CLI (qodercli)$QODER_CONFIG_DIR/projects/**/*.jsonlqodercli --resume <id>the transcript fileQODER_CONFIG_DIR
Letta Code (letta)$LETTA_HOME/transcripts/<agent>/<conversation>/transcript.jsonlletta --agent <id>the transcript fileLETTA_HOME
MastraCode (mastracode)mastra.db (mastra_threads), at MASTRA_DB_PATH or the platform app-data directorymastracode --thread <id>not offeredMASTRA_DB_PATH
Amp (amp)none. Threads stay on ampcode.com and ai9s does not call the networkamp threads continue <id>not offerednone
Maki (maki)$MAKI_STATE_DIR/sessions/<id>.jsonl. Archive logs are skippedmaki --resume <id>maki session delete <id> --forceMAKI_STATE_DIR

Yolo

y on a session, and ai9s resume --yolo, add a flag only when that harness documents one:

Codex, Gemini, OpenCode, OpenClaw, Jules, Goose, Aider, Kimi, MiniMax, Pi, Droid, Letta, MastraCode, and Amp resume without an extra approval flag.

Read limits

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.