Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ mainEvent
Function
mainEvent
apps/kimi-code/test/cli/run-prompt.test.ts:16–16 ·
view source on GitHub ↗
(event: Record<string, unknown>)
Source
from the content-addressed store, hash-verified
14
...event,
15
});
16
const
mainEvent = (event: Record<string, unknown>) => agentEvent(
'main'
, event);
17
const
session = {
18
id:
'ses_prompt'
,
19
setModel: vi.fn(),
Callers
1
run-prompt.test.ts
File · 0.70
Calls
1
agentEvent
Function · 0.85
Tested by
no test coverage detected