diff options
| author | Aram Drevekenin <aram@poor.dev> | 2026-04-17 14:08:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-17 14:08:48 +0200 |
| commit | aa29cbaf6631af0afca6aae427a97b3e478393b3 (patch) | |
| tree | 0ee1cab0f7bdc66cf151f38341252701338c1853 /zellij-utils/src/plugin_api/plugin_command.proto | |
| parent | fix(windows): skip modifier re-encoding for Char keys in cast_crossterm_key (... (diff) | |
| download | sl0ppij-aa29cbaf6631af0afca6aae427a97b3e478393b3.tar.gz sl0ppij-aa29cbaf6631af0afca6aae427a97b3e478393b3.tar.xz sl0ppij-aa29cbaf6631af0afca6aae427a97b3e478393b3.zip | |
Some idle CPU and disk/io fixes, new CommandChanged plugin Event (#5063)
* initial implementation
* fix mouse cpu spam
* prevent excess metadata write and prune sessions on startup
* consolidate CommandChanged and PaneCommandChanged
* tests
* rustfmt
* add pr
Diffstat (limited to 'zellij-utils/src/plugin_api/plugin_command.proto')
| -rw-r--r-- | zellij-utils/src/plugin_api/plugin_command.proto | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zellij-utils/src/plugin_api/plugin_command.proto b/zellij-utils/src/plugin_api/plugin_command.proto index 63baa443..0b768838 100644 --- a/zellij-utils/src/plugin_api/plugin_command.proto +++ b/zellij-utils/src/plugin_api/plugin_command.proto @@ -203,6 +203,7 @@ enum CommandName { ClearPaneHighlights = 208; OpenPluginPaneFloating = 209; ListWindowsVolumes = 210; + GetSessionList = 211; } message PluginCommand { @@ -354,6 +355,7 @@ message PluginCommand { SetPaneRegexHighlightsPayload set_pane_regex_highlights_payload = 158; ClearPaneHighlightsPayload clear_pane_highlights_payload = 159; OpenPluginPaneFloatingPayload open_plugin_pane_floating_payload = 160; + GetSessionListPayload get_session_list_payload = 161; } } @@ -1295,3 +1297,17 @@ message OpenPluginPaneFloatingPayload { message OpenPluginPaneFloatingResponse { optional PaneId pane_id = 1; } + +message GetSessionListPayload {} + +message SessionListSnapshot { + repeated event.SessionManifest live_sessions = 1; + repeated event.ResurrectableSession resurrectable_sessions = 2; +} + +message GetSessionListResponse { + oneof result { + SessionListSnapshot snapshot = 1; + string error = 2; + } +} |
