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

Method setSessionForSnapshot

src/agent/loop.ts:215–222  ·  view source on GitHub ↗

Update the snapshot service's session id when a real session starts.

(sessionId: string)

Source from the content-addressed store, hash-verified

213 /** Within-turn cache for read-only tool calls. Cleared each iteration. */
214 private toolCache: import('../utils/tool-cache.js').ToolResultCache | null = null;
215
216 constructor(opts: {
217 router: ModelRouter;
218 registry: ToolRegistry;
219 permissions: PermissionEngine;
220 config: QodexConfig;
221 cwd: string;
222 }) {
223 this.router = opts.router;
224 this.registry = opts.registry;
225 this.permissions = opts.permissions;

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected