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

Function isInternalMessage

apps/kimi-code/src/tui/utils/export-markdown.ts:108–112  ·  view source on GitHub ↗
(msg: ContextMessage)

Source from the content-addressed store, hash-verified

106]);
107
108export function isInternalMessage(msg: ContextMessage): boolean {
109 const origin = msg.origin;
110 if (origin === undefined) return false;
111 return INTERNAL_ORIGINS.has(origin.kind);
112}
113
114export function groupIntoTurns(history: readonly ContextMessage[]): ContextMessage[][] {
115 const turns: ContextMessage[][] = [];

Callers 4

groupIntoTurnsFunction · 0.85
formatTurnMdFunction · 0.85
buildOverviewFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected