From 1a4e94e57e181379e2ed42d63a49fbc56ed1dba4 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 29 Jun 2026 18:09:25 +0300 Subject: refactor: route tui mutations through runtime authority --- src/api/server.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/api/server.rs') diff --git a/src/api/server.rs b/src/api/server.rs index e9e2b01b..039ede12 100644 --- a/src/api/server.rs +++ b/src/api/server.rs @@ -286,6 +286,7 @@ fn api_method_name(method: &Method) -> &'static str { Method::WorkspaceGet(_) => "workspace.get", Method::WorkspaceFocus(_) => "workspace.focus", Method::WorkspaceRename(_) => "workspace.rename", + Method::WorkspaceMove(_) => "workspace.move", Method::WorkspaceClose(_) => "workspace.close", Method::WorktreeList(_) => "worktree.list", Method::WorktreeCreate(_) => "worktree.create", @@ -296,6 +297,7 @@ fn api_method_name(method: &Method) -> &'static str { Method::TabGet(_) => "tab.get", Method::TabFocus(_) => "tab.focus", Method::TabRename(_) => "tab.rename", + Method::TabMove(_) => "tab.move", Method::TabClose(_) => "tab.close", Method::AgentList(_) => "agent.list", Method::AgentGet(_) => "agent.get", @@ -313,6 +315,7 @@ fn api_method_name(method: &Method) -> &'static str { Method::PaneProcessInfo(_) => "pane.process_info", Method::LayoutExport(_) => "layout.export", Method::LayoutApply(_) => "layout.apply", + Method::LayoutSetSplitRatio(_) => "layout.set_split_ratio", Method::PaneNeighbor(_) => "pane.neighbor", Method::PaneEdges(_) => "pane.edges", Method::PaneFocusDirection(_) => "pane.focus_direction", @@ -320,6 +323,7 @@ fn api_method_name(method: &Method) -> &'static str { Method::PaneList(_) => "pane.list", Method::PaneCurrent(_) => "pane.current", Method::PaneGet(_) => "pane.get", + Method::PaneFocus(_) => "pane.focus", Method::PaneRename(_) => "pane.rename", Method::PaneSendText(_) => "pane.send_text", Method::PaneSendKeys(_) => "pane.send_keys", -- cgit v1.2.3