MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / getMsgById

Function getMsgById

apps/kimi-web/src/api/daemon/agentEventProjector.ts:457–459  ·  view source on GitHub ↗
(state: SessionState, messageId: string)

Source from the content-addressed store, hash-verified

455}
456
457function getMsgById(state: SessionState, messageId: string): AppMessage | undefined {
458 return state.messages.find((m) => m.id === messageId);
459}
460
461// ---------------------------------------------------------------------------
462// Usage snapshot builder

Callers 1

_projectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected