refactor(block-h): ai sidebar tabs resolve via plugin-contributable registry

This commit is contained in:
Agent Zero
2026-08-23 13:53:23 +02:00
parent b7ad5294a5
commit 59fdb614e0
3 changed files with 60 additions and 2 deletions
+3 -1
View File
@@ -2,7 +2,9 @@ import { create } from 'zustand';
export type Theme = 'light' | 'dark' | 'system';
export type Locale = 'de' | 'en';
export type AISidebarTab = 'proactive' | 'chat' | 'notifications' | 'team' | 'chatroom';
// Plugin-contributed tabs add arbitrary keys (Block H / HC-G) — the union
// keeps autocomplete for the base tabs while allowing any string key.
export type AISidebarTab = 'proactive' | 'chat' | 'notifications' | 'team' | 'chatroom' | (string & {});
export interface Toast {
id: string;