MCPcopy Create free account
hub / github.com/echoVic/blade-code / generateMessageId

Method generateMessageId

src/context/ContextManager.ts:393–395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

391 }
392
393 private generateMessageId(): string {
394 return `msg_${Date.now()}_${crypto.randomBytes(3).toString('hex')}`;
395 }
396
397 private async createSystemContext(): Promise<SystemContext> {
398 return {

Callers 1

addMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected