feat: scaffold electron orchestrator foundation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot CLI
2026-03-21 09:27:28 +01:00
co-authored by Copilot
parent 1ed3d3f652
commit 9e509593d6
46 changed files with 3870 additions and 13 deletions
+17
View File
@@ -0,0 +1,17 @@
import keytar from 'keytar';
const serviceName = 'kopaya';
export class SecretStore {
async get(account: string): Promise<string | null> {
return keytar.getPassword(serviceName, account);
}
async set(account: string, secret: string): Promise<void> {
await keytar.setPassword(serviceName, account, secret);
}
async delete(account: string): Promise<boolean> {
return keytar.deletePassword(serviceName, account);
}
}