{"version":3,"file":"dashboardTranscript.mjs","names":[],"sources":["../../../src/web/lib/dashboardTranscript.ts"],"sourcesContent":["let watch: ((sessionId: string) => () => void) | undefined;\n\n/** Live transcript transport is supplied by the host, not owned by a view. */\nexport function bindDashboardTranscriptWatcher(watcher: (sessionId: string) => () => void): void {\n  watch = watcher;\n}\n\nexport function watchDashboardTranscript(sessionId: string): () => void {\n  if (!watch) throw new Error('The dashboard transcript runtime has not started.');\n  return watch(sessionId);\n}\n"],"mappings":";AAAA,IAAI;;AAGJ,SAAgB,+BAA+B,SAAkD;CAC/F,QAAQ;AACV;AAEA,SAAgB,yBAAyB,WAA+B;CACtE,IAAI,CAAC,OAAO,MAAM,IAAI,MAAM,mDAAmD;CAC/E,OAAO,MAAM,SAAS;AACxB"}