This page mirrors the current daemon contract overview used by Arbor.
- keep terminal sessions alive across GUI restarts
- allow warm reattach to live sessions
- keep the backend replaceable through traits
Defined in arbor-core::daemon:
TerminalDaemoncreate_or_attachwriteresizesignaldetachkillsnapshotlist_sessions
DaemonSessionStoreloadsaveupsertremove
JsonDaemonSessionStore- default persistence path:
~/.arbor/daemon/sessions.json
- default persistence path:
DaemonSessionRecord stores:
session_idworkspace_idcwdshellcolsrowstitlelast_commandoutput_tailexit_codestateupdated_at_unix_ms
TerminalSnapshot stores:
session_idoutput_tailexit_codestateupdated_at_unix_ms