Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ exit
Method
exit
apps/kimi-code/src/cli/headless-exit.ts:7–7 ·
view source on GitHub ↗
(code?: number)
Source
from the content-addressed store, hash-verified
5
/** Minimal process surface needed to force a headless run to terminate. */
6
export
interface
ExitableProcess {
7
exit(code?: number): void;
8
}
9
10
/**
Callers
1
scheduleHeadlessForceExit
Function · 0.65
Implementers
2
SwarmMode
packages/agent-core/src/agent/swarm/in
PlanMode
packages/agent-core/src/agent/plan/ind
Calls
no outgoing calls
Tested by
no test coverage detected