SessionRuntimeModule · packages/server/src/runtime/session-drivers.ts:23

SessionDriverRegistry

component

No JSDoc comment in source yet.

API

@Component()
export class SessionDriverRegistry implements SessionDrivers {
  @Use() private readonly sessions!: SessionIndex;
  @Use() private readonly projects!: Projects;
  @Use() private readonly state!: AgentState;
  note(sessionId: string, userId: string): void;
  driverOf(sessionId: string): string | null;
  runDriverOf(sessionId: string): string | null;
}

Dependencies & Wiring

Extracted from class decorators
implementsinterfaces
@Userequires (3)
sessions: SessionIndex · projects: Projects · state: AgentState

Methods (3)

note

note(sessionId: string, userId: string): void
@paramsessionIdstring
@paramuserIdstring
@returnsvoid

driverOf

driverOf(sessionId: string): string | null
@paramsessionIdstring
@returnsstring | null

runDriverOf

runDriverOf(sessionId: string): string | null
@paramsessionIdstring
@returnsstring | null