MCPcopy Create free account
hub / github.com/tiann/hapi / onTranscriptPathFound

Method onTranscriptPathFound

cli/src/codex/session.ts:76–84  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

74 }
75
76 onTranscriptPathFound(path: string): void {
77 if (this.transcriptPath === path) {
78 return;
79 }
80 this.transcriptPath = path;
81 for (const callback of this.transcriptPathCallbacks) {
82 callback(path);
83 }
84 }
85
86 addTranscriptPathCallback(cb: (path: string) => void): void {
87 this.transcriptPathCallbacks.push(cb);

Callers 1

bindPrimarySessionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected