Accumulate OpenCode settings restarts behind Apply & Restart
Defer OpenCode reloads after settings mutations, track pending changes, and expose a top-right Apply & Restart OpenCode action with a counter so sessions stay available until the user explicitly applies. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
This commit is contained in:
co-authored by
Serhii Dziupin
parent
775da6e9f4
commit
57819dd164
@@ -1356,6 +1356,11 @@ export interface SkillsInstallResponse {
|
||||
skipped?: Array<{ skillName: string; reason: string }>;
|
||||
error?: SkillsInstallError;
|
||||
requiresReload?: boolean;
|
||||
requiresRestart?: boolean;
|
||||
restartDeferred?: boolean;
|
||||
requiresManualRestart?: boolean;
|
||||
reloadFailed?: boolean;
|
||||
warning?: string;
|
||||
message?: string;
|
||||
reloadDelayMs?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user