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

Function withContext

packages/agent-core/src/telemetry.ts:36–38  ·  view source on GitHub ↗
(patch)

Source from the content-addressed store, hash-verified

34 telemetry.track(event, { ...defaults, ...properties });
35 },
36 withContext(patch) {
37 return withTelemetryProperties(withTelemetryContext(telemetry, patch), defaults);
38 },
39 setContext(patch) {
40 telemetry.setContext?.(patch);
41 },

Callers

nothing calls this directly

Calls 2

withTelemetryPropertiesFunction · 0.85
withTelemetryContextFunction · 0.70

Tested by

no test coverage detected