diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-14 02:43:45 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-14 03:47:07 +0300 |
| commit | fbd20ad6e488fb3b9efc1612fdffee6e672976c1 (patch) | |
| tree | d21daf93241786f8aa6fde23b41cdb9e15182b79 /src/api/server.rs | |
| parent | d35c642ef36ee5ac2afe7c1b18ad5a717bc807d8 (diff) | |
feat: add plugin v1 system
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.
Diffstat (limited to 'src/api/server.rs')
| -rw-r--r-- | src/api/server.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/api/server.rs b/src/api/server.rs index 5650b2d0..e9e2b01b 100644 --- a/src/api/server.rs +++ b/src/api/server.rs @@ -279,6 +279,8 @@ fn api_method_name(method: &Method) -> &'static str { Method::ServerAgentManifests(_) => "server.agent_manifests", Method::ServerReloadAgentManifests(_) => "server.reload_agent_manifests", Method::NotificationShow(_) => "notification.show", + Method::ClientWindowTitleSet(_) => "client.window_title.set", + Method::ClientWindowTitleClear(_) => "client.window_title.clear", Method::WorkspaceCreate(_) => "workspace.create", Method::WorkspaceList(_) => "workspace.list", Method::WorkspaceGet(_) => "workspace.get", @@ -308,11 +310,15 @@ fn api_method_name(method: &Method) -> &'static str { Method::PaneMove(_) => "pane.move", Method::PaneZoom(_) => "pane.zoom", Method::PaneLayout(_) => "pane.layout", + Method::PaneProcessInfo(_) => "pane.process_info", + Method::LayoutExport(_) => "layout.export", + Method::LayoutApply(_) => "layout.apply", Method::PaneNeighbor(_) => "pane.neighbor", Method::PaneEdges(_) => "pane.edges", Method::PaneFocusDirection(_) => "pane.focus_direction", Method::PaneResize(_) => "pane.resize", Method::PaneList(_) => "pane.list", + Method::PaneCurrent(_) => "pane.current", Method::PaneGet(_) => "pane.get", Method::PaneRename(_) => "pane.rename", Method::PaneSendText(_) => "pane.send_text", @@ -330,6 +336,17 @@ fn api_method_name(method: &Method) -> &'static str { Method::PaneWaitForOutput(_) => "pane.wait_for_output", Method::IntegrationInstall(_) => "integration.install", Method::IntegrationUninstall(_) => "integration.uninstall", + Method::PluginLink(_) => "plugin.link", + Method::PluginList(_) => "plugin.list", + Method::PluginUnlink(_) => "plugin.unlink", + Method::PluginEnable(_) => "plugin.enable", + Method::PluginDisable(_) => "plugin.disable", + Method::PluginActionList(_) => "plugin.action.list", + Method::PluginActionInvoke(_) => "plugin.action.invoke", + Method::PluginLogList(_) => "plugin.log.list", + Method::PluginPaneOpen(_) => "plugin.pane.open", + Method::PluginPaneFocus(_) => "plugin.pane.focus", + Method::PluginPaneClose(_) => "plugin.pane.close", } } |
