forked from gsd-build/gsd-2
-
Notifications
You must be signed in to change notification settings - Fork 0
feat(daemon): Linux D-Bus integration — notifications, Secret Service, systemd #21
Copy link
Copy link
Open
Description
Summary
Implements Linux-native integration for the GSD daemon (M005):
- DBusEventBridge — desktop notifications via
org.freedesktop.Notificationson session lifecycle events - DBusBridgeBlocker — action-button blocker toasts via
org.freedesktop.portal.Notification(requires systemd service registration) - SecretServiceAdapter — credential storage/retrieval via
org.freedesktop.secrets(GNOME Keyring / KDE Wallet), with 2s timeout and null-on-any-failure contract - GApplicationService — GApplication lifecycle management for portal access
- linux.ts — systemd user service unit generation and installation helpers
- cli.ts —
--keyringflag defaults totrueon Linux; new subcommands:install-service,secret-set,secret-get
Design constraints upheld
- D-Bus unavailability never crashes or delays the daemon (R005)
getCredentialreturnsnullon any failure — never throwsbus.disconnect()always runs infinallyto avoidERR_STREAM_WRITE_AFTER_END
Branch
feat/m005-daemon-linux-dbus-secretservice
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels