sync: global→pool, pool-guard raus, Session-Watcher-Setup, verbotenes Wort Ehrlich

This commit is contained in:
marcus.hinz
2026-07-04 19:09:13 +02:00
parent a7ff9378da
commit 79314d6140
43 changed files with 669 additions and 33 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# kc-restore — spielt das mit kc-backup gesicherte Secret in den Keychain zurück.
# -U aktualisiert einen ggf. vorhandenen Eintrag statt zu scheitern.
# Usage: kc-restore [backupdatei]
set -euo pipefail
src=${1:-$HOME/.ssh/claude-keychain-backup.json}
security add-generic-password -U -s "Claude Code-credentials" -a "$USER" -w "$(cat "$src")"
echo "Keychain-Eintrag aus $src wiederhergestellt."