From fbd20ad6e488fb3b9efc1612fdffee6e672976c1 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 14 Jun 2026 02:43:45 +0300 Subject: 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. --- src/api/server.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/api/server.rs') 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", } } -- cgit v1.2.3