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

Method createMain

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

Source from the content-addressed store, hash-verified

290 }
291
292 async createMain() {
293 const { agent } = await this.createAgent({ type: 'main' }, {
294 profile: DEFAULT_AGENT_PROFILES['agent'],
295 });
296 await this.triggerSessionStart('startup');
297 return agent;
298 }
299
300 async resume(): Promise<{ warning?: string }> {
301 await this.skillsReady;

Calls 2

createAgentMethod · 0.95
triggerSessionStartMethod · 0.95

Tested by

no test coverage detected