MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / createSession

Method createSession

services/cloud-agent-next/src/kilo/client.ts:78–86  ·  view source on GitHub ↗
(options?: CreateSessionOptions)

Source from the content-addressed store, hash-verified

76 }
77
78 async createSession(options?: CreateSessionOptions): Promise<Session> {
79 const session = await this.call<Session>('POST', '/session', {
80 parentID: options?.parentId,
81 title: options?.title,
82 });
83 this.kiloSessionId = session.id;
84 logger.withFields({ kiloSessionId: session.id }).info('Created kilo session');
85 return session;
86 }
87
88 async resumeSession(sessionId: string): Promise<Session> {
89 try {

Callers 6

readArtifactsMethod · 0.80
readStaticSiteAssetsMethod · 0.80
getOrCreateSessionMethod · 0.80
client.test.tsFile · 0.80
ensureWrapperMethod · 0.80
startKiloRuntimeFunction · 0.80

Calls 1

infoMethod · 0.65

Tested by

no test coverage detected