Update the snapshot service's session id when a real session starts.
(sessionId: string)
| 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; |