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

Method start

packages/agent-core/src/agent/cron/manager.ts:313–318  ·  view source on GitHub ↗

* Begin the scheduler's auto-tick loop and bind the SIGUSR1 manual-tick * hook (P1.8). Idempotent: a second call is a no-op so the boot * sequence and tests can opt into "ensure started" without bookkeeping.

()

Source from the content-addressed store, hash-verified

311 * sequence and tests can opt into "ensure started" without bookkeeping.
312 */
313 start(): void {
314 if (this.started) return;
315 this.started = true;
316 this.scheduler.start();
317 this.bindSigusr1();
318 }
319
320 /**
321 * Stop the scheduler, drain pending persistence writes, clear

Callers 1

constructorMethod · 0.95

Calls 2

bindSigusr1Method · 0.95
startMethod · 0.65

Tested by

no test coverage detected