[codex] Clear role-scoped sessions (#139)
* add gated codex goals support * sync README SDK versions * bump claude agent sdk * add codex goals settings toggle * reuse status dashboard message and simplify settings actions * refine settings page UX * fix settings nav hash routing * add dashboard UX verification * refine dashboard settings and inbox UX * remove inbox top-level navigation * remove dashboard health top-level navigation * fix: allow runtime image attachment paths * feat: configure attachment allowlist dirs * fix: clean duplicate dashboard status messages * fix: poll dashboard duplicate cleanup between status updates * fix: delete dashboard duplicates on create * Refine settings IA with tabbed sections * Add read-only runtime inventory settings * Fix runtime inventory MCP JSON parsing * Add room skill settings inventory * Add room skill setting mutations * Apply room skill overrides to runner spawn * Refine scheduled task dashboard UX * Remove reviewer final prompt reinjection * Stabilize pnpm verification fixture * Remove previous owner final prompt carryover * Clear role-scoped sessions
This commit is contained in:
@@ -48,10 +48,17 @@ export function createRuntimeState(): RuntimeState {
|
||||
groupFolder: string,
|
||||
opts?: { allRoles?: boolean },
|
||||
): void => {
|
||||
delete sessions[groupFolder];
|
||||
if (opts?.allRoles) {
|
||||
for (const key of [
|
||||
groupFolder,
|
||||
`${groupFolder}:reviewer`,
|
||||
`${groupFolder}:arbiter`,
|
||||
]) {
|
||||
delete sessions[key];
|
||||
}
|
||||
deleteAllSessionsForGroup(groupFolder);
|
||||
} else {
|
||||
delete sessions[groupFolder];
|
||||
deleteSession(groupFolder);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user