hephaestus/crates/hephd/src
Erich Blume 0cfe627055
Some checks failed
Build / validate (pull_request) Has been cancelled
feat(cli): heph daemon — manage hephd as a launchd/systemd service
Surfaces are connect-only; the daemon now runs as an explicit OS service so it
can be shared without any surface owning its lifecycle.

- service.rs: heph daemon start/stop/restart/status/uninstall, idempotent;
  launchd LaunchAgent (macOS) / systemd user service (Linux); resolves hephd
  next to heph else on PATH; pure plist/unit render fns unit-tested
- main.rs: Command::Daemon handled before connecting (like auth)
- hephd: default socket is now a STABLE <data-dir>/heph/hephd.sock when
  XDG_RUNTIME_DIR is unset (was $TMPDIR — fragile for a persistent service;
  macOS prunes /var/folders and the path varied per session)
- tech-spec §14: CLI + daemon-service done entries

Verified live on macOS: start/restart/stop/uninstall + CLI reaches the store.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 21:14:50 -07:00
..
auth.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00
client.rs hephd local mode: file lock + JSON-RPC over unix socket 2026-05-31 20:28:15 -07:00
clock.rs hephd local mode: file lock + JSON-RPC over unix socket 2026-05-31 20:28:15 -07:00
lib.rs feat(cli): heph daemon — manage hephd as a launchd/systemd service 2026-06-02 21:14:50 -07:00
lock.rs hephd local mode: file lock + JSON-RPC over unix socket 2026-05-31 20:28:15 -07:00
main.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00
oauth.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00
remote.rs feat(cli): heph project list (+ node.list RPC) 2026-06-02 19:50:19 -07:00
rpc.rs feat(cli): heph project list (+ node.list RPC) 2026-06-02 19:50:19 -07:00
server.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00
sync.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00