All of the mid-session and step-up auth work

This commit is contained in:
Bob Dickinson 2026-07-02 16:35:31 -07:00
commit 562bdd00f1

View file

@ -0,0 +1,24 @@
/**
* Inspector main-view tab identifiers. Match labels used in ViewHeader /
* InspectorView (`"Tools"`, `"Resources"`, …).
*/
export const INSPECTOR_SERVERS_TAB = "Servers";
/** Tabs with liftable `*UiState` in App.tsx (Servers has no ui snapshot). */
export const INSPECTOR_TAB_IDS = [
"Apps",
"Tools",
"Prompts",
"Resources",
"Tasks",
"Logs",
"History",
"Network",
] as const;
export type InspectorTabId = (typeof INSPECTOR_TAB_IDS)[number];
export function isInspectorTabId(value: string): value is InspectorTabId {
return (INSPECTOR_TAB_IDS as readonly string[]).includes(value);
}