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

Function mainEvent

apps/kimi-code/test/cli/goal-prompt.test.ts:79–79  ·  view source on GitHub ↗
(event: Record<string, unknown>)

Source from the content-addressed store, hash-verified

77const mocks = vi.hoisted(() => {
78 const eventHandlers = new Set<(event: any) => void>();
79 const mainEvent = (event: Record<string, unknown>) => ({ sessionId: 'ses_goal', agentId: 'main', ...event });
80 const session = {
81 id: 'ses_goal',
82 setModel: vi.fn(),

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected