Skip to main content

transcript_id

Function transcript_id 

Source
pub fn transcript_id(session: &str, call: &str, ms: i64) -> String
Expand description

The id of an episode read from a transcript: <session8>-T<call> for one about a tool call (the harness’s own id for it: Claude’s tool_use_id, omp’s toolCallId, opencode’s part id, Codex’s call_id), else <session8>-<ms> as the hook names a prompt’s. Content, never a position: a transcript still being written cannot shift it.