mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 05:03:26 +00:00
feat: add setToolsExpanded and getToolsExpanded to ExtensionsUIContext
This commit is contained in:
parent
df5b0f76c0
commit
ca62c44775
4 changed files with 25 additions and 2 deletions
|
|
@ -252,6 +252,15 @@ export async function runRpcMode(session: AgentSession): Promise<never> {
|
|||
// Theme switching not supported in RPC mode
|
||||
return { success: false, error: "Theme switching not supported in RPC mode" };
|
||||
},
|
||||
|
||||
getToolsExpanded() {
|
||||
// Tool expansion not supported in RPC mode - no TUI
|
||||
return false;
|
||||
},
|
||||
|
||||
setToolsExpanded(_expanded: boolean) {
|
||||
// Tool expansion not supported in RPC mode - no TUI
|
||||
},
|
||||
});
|
||||
|
||||
// Set up extensions with RPC-based UI context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue