MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / createSession

Method createSession

src/session/store.ts:197–201  ·  view source on GitHub ↗
(cwd: string, model: string)

Source from the content-addressed store, hash-verified

195 }
196
197 createSession(cwd: string, model: string): string {
198 const id = uuidv4();
199 this.insertSession.run(id, cwd, model, null);
200 return id;
201 }
202
203 /**
204 * Create a session row with a caller-chosen id if it doesn't exist yet (idempotent).

Callers 4

AppFunction · 0.80
runHeadlessFunction · 0.80
runTurnMethod · 0.80

Calls 1

runMethod · 0.65

Tested by

no test coverage detected