feat(vault): keep established secrets active at runtime and require unlock only for modifications

This commit is contained in:
tyuXX 2026-11-26 22:25:55 +00:00
parent c5a5835ae6
commit 10a28bb316
14 changed files with 445 additions and 85 deletions

View file

@ -132,9 +132,16 @@ export type ServerWsFrame =
| {
type: 'hello';
vaultState: VaultState;
vaultRuntimeReady?: boolean;
safeMode: boolean;
elevatedUntil: number | null;
}
| {
type: 'vault:state';
vaultState: VaultState;
vaultRuntimeReady: boolean;
isPanicLocked: boolean;
}
| {
type: 'config:updated';
entityType: 'server' | 'system' | 'workflow' | 'snippets' | 'alerts' | 'settings' | 'all';