MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / constructor

Method constructor

src/workspaces/session-pool.ts:84–88  ·  view source on GitHub ↗
(
    private readonly configFactory: SessionConfigFactory,
    private readonly logger: Logger,
    private readonly transcriptWatcher?: TranscriptWatcher,
  )

Source from the content-addressed store, hash-verified

82 private readonly adapterFor = new Map<string, CliAdapter>();
83
84 constructor(
85 private readonly configFactory: SessionConfigFactory,
86 private readonly logger: Logger,
87 private readonly transcriptWatcher?: TranscriptWatcher,
88 ) {}
89
90 /** Spawn a PTY for a pre-allocated record. */
91 spawn(wsId: string, factoryCtx: SessionFactoryContext): PersistentSession {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected