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

Method triggerSessionEnd

packages/agent-core/src/session/index.ts:972–977  ·  view source on GitHub ↗
(reason: 'exit')

Source from the content-addressed store, hash-verified

970 }
971
972 private async triggerSessionEnd(reason: 'exit'): Promise<void> {
973 await this.hookEngine.trigger('SessionEnd', {
974 matcherValue: reason,
975 inputData: { reason },
976 });
977 }
978}
979
980export * from './subagent-host';

Callers 1

closeMethod · 0.95

Calls 1

triggerMethod · 0.45

Tested by

no test coverage detected