MCPcopy Create free account
hub / github.com/apache/maka / normalizeSessionName

Function normalizeSessionName

packages/storage/src/session-store.ts:1277–1279  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

1275}
1276
1277function normalizeSessionName(name: string): string {
1278 return name === 'New Session' ? DEFAULT_SESSION_NAME : name;
1279}
1280
1281function lastMessagePreviewForMessages(messages: readonly StoredMessage[]): string | undefined {
1282 for (let index = messages.length - 1; index >= 0; index -= 1) {

Callers 2

normalizeSessionHeaderFunction · 0.85
toSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected