claude_code.internal.transcript_text
The journal as labeled text. Claude Code's -p mode takes one prompt, so the conversation folds into it; the CLI's own session state is unused.
Reference version
Signature
function claude_code.internal.transcript_text(
j: ai.Journal
) -> string throws baml.json.SerializationError
The journal as labeled text. Claude Code's -p mode takes one prompt, so the conversation folds into it; the CLI's own session state is unused.
Source:<builtin>/claude_code/ns_internal/cli.bamlbytes 267–1865