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

Method constructor

src/core/session.ts:207–209  ·  view source on GitHub ↗
(sessionId?: string)

Source from the content-addressed store, hash-verified

205 private entries: SessionEntry[] = []
206
207 constructor(sessionId?: string) {
208 this.sessionId = sessionId ?? randomUUID()
209 }
210
211 get id(): string {
212 return this.sessionId

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected