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

Method hasActiveTurn

packages/agent-core/src/session/index.ts:678–683  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

676 }
677
678 get hasActiveTurn(): boolean {
679 for (const agent of this.readyAgents()) {
680 if (agent.turn.hasActiveTurn) return true;
681 }
682 return false;
683 }
684
685 protected get metadataPath() {
686 return join(this.options.homedir, 'state.json');

Callers

nothing calls this directly

Calls 1

readyAgentsMethod · 0.95

Tested by

no test coverage detected