aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-29 21:36:48 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-29 21:36:48 +0300
commit9150ed6268874d1f2a314b1ddbf531b66df1e105 (patch)
treeb8e8c35fb703b5b59babbdb8e4d732f906face41 /src/api/schema.rs
parentf36d8043594489508046ff0852989ec08f52188a (diff)
feat: add session snapshot api
Diffstat (limited to 'src/api/schema.rs')
-rw-r--r--src/api/schema.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/schema.rs b/src/api/schema.rs
index c3349c04..a404d56c 100644
--- a/src/api/schema.rs
+++ b/src/api/schema.rs
@@ -8,6 +8,7 @@ pub mod panes;
pub mod plugins;
pub mod response;
pub mod server;
+pub mod session;
pub mod tabs;
pub mod workspaces;
pub mod worktrees;
@@ -20,6 +21,7 @@ pub use panes::*;
pub use plugins::*;
pub use response::*;
pub use server::*;
+pub use session::*;
pub use tabs::*;
pub use workspaces::*;
pub use worktrees::*;
@@ -59,6 +61,8 @@ pub enum Method {
ClientWindowTitleSet(ClientWindowTitleSetParams),
#[serde(rename = "client.window_title.clear")]
ClientWindowTitleClear(EmptyParams),
+ #[serde(rename = "session.snapshot")]
+ SessionSnapshot(EmptyParams),
#[serde(rename = "workspace.create")]
WorkspaceCreate(WorkspaceCreateParams),
#[serde(rename = "workspace.list")]