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

Function normalizeKey

packages/agent-core/src/logging/formatter.ts:50–52  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

48const ANSI_RESET = '\u001B[0m';
49
50function normalizeKey(key: string): string {
51 return key.toLowerCase().replaceAll(/[_\-.]/g, '');
52}
53
54export function redactCtx(ctx: LogContext): LogContext {
55 const seen = new WeakSet<object>();

Callers 1

walkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected