refactor: route tui mutations through runtime authority
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user