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

Method triggerSessionStart

packages/agent-core/src/session/index.ts:965–970  ·  view source on GitHub ↗
(source: 'startup' | 'resume')

Source from the content-addressed store, hash-verified

963 }
964
965 private async triggerSessionStart(source: 'startup' | 'resume'): Promise<void> {
966 await this.hookEngine.trigger('SessionStart', {
967 matcherValue: source,
968 inputData: { source },
969 });
970 }
971
972 private async triggerSessionEnd(reason: 'exit'): Promise<void> {
973 await this.hookEngine.trigger('SessionEnd', {

Callers 2

createMainMethod · 0.95
resumeMethod · 0.95

Calls 1

triggerMethod · 0.45

Tested by

no test coverage detected