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

Method constructor

src/workspaces/scrollback-store.ts:26–28  ·  view source on GitHub ↗
(stateRoot: string, private readonly logger: Logger)

Source from the content-addressed store, hash-verified

24 private readonly dir: string;
25
26 constructor(stateRoot: string, private readonly logger: Logger) {
27 this.dir = join(stateRoot, 'scrollback');
28 }
29
30 /**
31 * Truncate `bytes` to the tail (last `SCROLLBACK_CAP_BYTES`) and write to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected