Skip to content

Interface: SessionHubOptions

Defined in: packages/aiui-claude-channel/src/session-hub.ts:116

Properties

log?

optional log?: (line) => void

Defined in: packages/aiui-claude-channel/src/session-hub.ts:118

Where the change-log line goes; defaults to stderr (stdout carries MCP).

Parameters

line

string

Returns

void


newId?

optional newId?: () => string

Defined in: packages/aiui-claude-channel/src/session-hub.ts:122

Id generator — inject for deterministic tests.

Returns

string


now?

optional now?: () => Date

Defined in: packages/aiui-claude-channel/src/session-hub.ts:120

Clock for slot timestamps — inject for deterministic tests.

Returns

Date