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

Method emitEvent

packages/agent-core/test/rpc/create-rpc.test.ts:11–11  ·  view source on GitHub ↗
(event: { type: string; payload: { value: number } })

Source from the content-addressed store, hash-verified

9
10interface HostSide {
11 emitEvent(event: { type: string; payload: { value: number } }): void;
12 requestApproval(request: { requestId: string; toolName: string }): Promise<{ decision: string }>;
13 fail(request: { code: string }): Promise<void>;
14}

Callers 15

create-rpc.test.tsFile · 0.65
bootstrapAgentProfileMethod · 0.65
updatePromptMetadataMethod · 0.65
suspendedMethod · 0.65
emitSubagentSpawnedMethod · 0.65
emitSubagentStartedMethod · 0.65
emitSubagentFailedMethod · 0.65
emitEventMethod · 0.65

Implementers 1

HostImplpackages/agent-core/test/rpc/create-rp

Calls

no outgoing calls

Tested by

no test coverage detected