MCPcopy Create free account
hub / github.com/codeaashu/claude-code / constructor

Method constructor

src/server/web/session-store.ts:41–47  ·  view source on GitHub ↗
(
    gracePeriodMs = DEFAULT_GRACE_MS,
    scrollbackBytes = DEFAULT_SCROLLBACK_BYTES,
  )

Source from the content-addressed store, hash-verified

39 private readonly scrollbackBytes: number;
40
41 constructor(
42 gracePeriodMs = DEFAULT_GRACE_MS,
43 scrollbackBytes = DEFAULT_SCROLLBACK_BYTES,
44 ) {
45 this.gracePeriodMs = gracePeriodMs;
46 this.scrollbackBytes = scrollbackBytes;
47 }
48
49 /**
50 * Register a newly spawned PTY under a fresh session token.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected