mirror of
https://github.com/herdrdev/herdr.git
synced 2026-09-22 08:01:06 +00:00
Add manifest-driven plugin actions, event hooks, pane entrypoints, link handlers, and host APIs. Support plugin link, GitHub install, build commands, installed plugin registry, pane movement, runtime context, and plugin docs.
20 lines
694 B
Rust
20 lines
694 B
Rust
//! Session persistence — save/restore workspaces, layouts, and working directories.
|
|
//!
|
|
//! Stored at `~/.config/herdr/session.json`.
|
|
//! Optional pane screen history is stored separately at `session-history.json`.
|
|
//! Installed plugins are persisted separately at `plugins.json`.
|
|
|
|
mod io;
|
|
pub mod plugin_registry;
|
|
mod restore;
|
|
mod snapshot;
|
|
|
|
pub use self::io::{clear, clear_history, load, load_history, save};
|
|
pub use self::restore::restore;
|
|
#[cfg(unix)]
|
|
pub use self::restore::{handoff_pane_aliases, restore_handoff};
|
|
pub use self::snapshot::{
|
|
capture, capture_history, DirectionSnapshot, LayoutSnapshot, SessionHistorySnapshot,
|
|
SessionSnapshot, TabSnapshot, WorkspaceSnapshot,
|
|
};
|