fix: restore exact config sessions on loop reload

This commit is contained in:
Tianyi Cui
2026-07-14 10:25:49 +08:00
parent e87204314e
commit 816b6e4c68
7 changed files with 75 additions and 13 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ export interface Config {
agents: (AgentOptions & {
/** Stable config label used in logs and as the fresh combined-id prefix. */
id: string
/** Optional exact identity for a fresh session; absent lets the loop mint one from the label. */
/** Optional stable identity; remounts resume its materialized history, while first use creates it fresh. */
sessionId?: SessionId
/** Optional workspace for a fresh session. */
cwd?: string