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

Function isRecordedEvent

packages/agent-core/src/loop/events.ts:163–171  ·  view source on GitHub ↗
(event: LoopEvent)

Source from the content-addressed store, hash-verified

161}
162
163function isRecordedEvent(event: LoopEvent): event is LoopRecordedEvent {
164 return (
165 event.type === 'step.begin' ||
166 event.type === 'step.end' ||
167 event.type === 'content.part' ||
168 event.type === 'tool.call' ||
169 event.type === 'tool.result'
170 );
171}
172
173async function recordEvent(
174 input: CreateLoopEventDispatcherInput,

Callers 1

dispatchEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected