Skip to main content

Module transcript_paths

Module transcript_paths 

Source
Expand description

Host transcript path resolver. Each MCP-aware host (Claude Code, Codex CLI, Gemini CLI, plus IDE-plugin / SDK-shim surfaces in v0.8 — see ROADMAP §11.4.H) writes per-turn JSONL or equivalent transcript artifacts to a known location. This module owns the table of known locations and the resolver that picks the most-recently-modified candidate for a given host.

Enums§

HostKind
Host classification driving which path-resolver arm to use.
ResolveError
Errors surfaced by resolve_transcript. Reserved for future host adapters that perform validation beyond the current “filesystem walk + mtime pick” shape.

Functions§

resolve_transcript
Resolve the most-recently-modified transcript file for the given host + cwd. When host == HostKind::Auto, walks every supported host’s candidate set and returns the global most-recent.