| Age | Commit message (Collapse) | Author |
|
* fix: preserve session layouts across shutdown and restore failures
refs #4320
* test: update subscription fixture for pane restore errors
---------
Co-authored-by: JJ Liebig <jonathan.liebig@gmail.com>
|
|
refs #4125
|
|
refs #318
|
|
refs #217
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
|
|
refs #137
|
|
session.json is written via tmp + atomic rename. rename() replaces the
symlink itself, so users who stow session.json from a dotfiles repo lose
the link on every save.
Resolve symlinks before placing the .tmp so the rename targets the
canonical file and the symlink at the input path is preserved. Atomicity
is preserved because the .tmp and the target stay in the same directory.
refs #139
|
|
* feat: add named persistent sessions
* feat: add session management commands
* fix: tighten named session stop and override precedence
* fix: handle session help and stop test race
* test: isolate default session env test
---------
Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
|
|
|
|
Make herdr persistent by default.
Launching herdr now starts or reattaches to a background session
server. Clients can detach and reattach while panes and agent
processes keep running. Session mode now supports multi-client attach,
auto-detect startup, and a thin-client/headless-server split.
This also refactors the large app, ui, input, pane, config,
workspace, and persistence modules into smaller focused submodules,
while preserving behavior and colocating tests with the code they
exercise.
Upgrade notes:
- persistence mode is now the default
- in-app quit detaches the current client instead of stopping the server
- use `herdr server stop` to stop the background session
- use `--no-session` for the old single-process behavior
- default socket paths now live under the config directory
|