Skip to content

Transcript

ts
function isDemoTranscript(env: Record<string, string | undefined>): boolean
function isDemoTranscriptMarkdown(env: Record<string, string | undefined>): boolean
function demoPathFromUrl(url: string): string
function isSecretControl(control: string): boolean
function redactTranscriptValue(control: string, value: string): string
function formatWalkClock(atMs: number): string
function formatWalkTranscriptText(doc: DemoTranscriptDoc): string
function formatWalkTranscriptMarkdown(doc: DemoTranscriptDoc): string
function groupTranscriptChapters(events: readonly DemoTranscriptEvent[]): Array<{
  chapter: DemoTranscriptEvent;
  actions: DemoTranscriptEvent[];
}>
function demoChatTranscriptPath(
  env: Record<string, string | undefined>,
  artifactsDirAvailable: boolean,
  stamp: string,
): string | null

formatWalkClock exists for tooling. The default text handout does not print clocks.

Released under the MIT License.