chore(status): clarify bootstrap file semantics

This commit is contained in:
HeMuling
2026-02-23 14:42:31 +08:00
committed by Peter Steinberger
parent c3b3065cc9
commit d0e008d460
5 changed files with 82 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ describe("subagent registry persistence", () => {
const storePath = resolveSessionStorePath(tempStateDir, agentId);
const store = await readSessionStore(storePath);
store[params.sessionKey] = {
...(store[params.sessionKey] ?? {}),
...store[params.sessionKey],
sessionId: params.sessionId ?? `sess-${agentId}-${Date.now()}`,
updatedAt: params.updatedAt ?? Date.now(),
};