(
private readonly logger: Logger,
/**
* Optional registry. When provided, the watcher fans out the discovered
* agent-session-id into the corresponding record's `resumeHint`, so
* `POST /sessions/:id/resume` can later invoke `claude --resume <uuid>`.
*/
private readonly sessionRegistry?: SessionRegistry,
)
| 68 | private readonly pollEntries = new Map<string, PollEntry>(); |
| 69 | |
| 70 | constructor( |
| 71 | private readonly logger: Logger, |
| 72 | /** |
| 73 | * Optional registry. When provided, the watcher fans out the discovered |
| 74 | * agent-session-id into the corresponding record's `resumeHint`, so |
| 75 | * `POST /sessions/:id/resume` can later invoke `claude --resume <uuid>`. |
| 76 | */ |
| 77 | private readonly sessionRegistry?: SessionRegistry, |
| 78 | ) {} |
| 79 | |
| 80 | async register(session: PersistentSession, adapter: CliAdapter): Promise<void> { |
| 81 | const discovery = adapter.capabilities.transcriptDiscovery; |
nothing calls this directly
no outgoing calls
no test coverage detected