@axiom-lattice/react-sdk 2.1.125 → 2.1.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +97 -4
- package/dist/index.d.ts +97 -4
- package/dist/index.js +20175 -17611
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22219 -19658
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1015,7 +1015,7 @@ declare function useEvalRuns(projectId?: string): {
|
|
|
1015
1015
|
projectId?: string;
|
|
1016
1016
|
}) => Promise<{
|
|
1017
1017
|
run_id: string;
|
|
1018
|
-
}>;
|
|
1018
|
+
} | undefined>;
|
|
1019
1019
|
abort: (runId: string) => Promise<void>;
|
|
1020
1020
|
remove: (runId: string) => Promise<void>;
|
|
1021
1021
|
refresh: () => Promise<void>;
|
|
@@ -2895,6 +2895,19 @@ interface CreateAssistantModalProps {
|
|
|
2895
2895
|
}
|
|
2896
2896
|
declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>;
|
|
2897
2897
|
|
|
2898
|
+
type Page = "dashboard" | "suites" | "suite" | "run";
|
|
2899
|
+
interface EvalPanelProps {
|
|
2900
|
+
/**
|
|
2901
|
+
* Optional deep-link target applied on mount and when its fields change.
|
|
2902
|
+
* Overrides the default "select first project / dashboard" behavior.
|
|
2903
|
+
*/
|
|
2904
|
+
initial?: {
|
|
2905
|
+
projectId?: string;
|
|
2906
|
+
page?: Page;
|
|
2907
|
+
suiteId?: string;
|
|
2908
|
+
runId?: string;
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2898
2911
|
/**
|
|
2899
2912
|
* Top-level evaluation panel component.
|
|
2900
2913
|
*
|
|
@@ -2920,7 +2933,7 @@ declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>
|
|
|
2920
2933
|
* }
|
|
2921
2934
|
* ```
|
|
2922
2935
|
*/
|
|
2923
|
-
declare const EvalPanel: React__default.FC
|
|
2936
|
+
declare const EvalPanel: React__default.FC<EvalPanelProps>;
|
|
2924
2937
|
|
|
2925
2938
|
/**
|
|
2926
2939
|
* Props for {@link EvalSuiteCardList}.
|
|
@@ -3009,6 +3022,84 @@ interface EvalRunResultsProps {
|
|
|
3009
3022
|
*/
|
|
3010
3023
|
declare const EvalRunResults: React__default.FC<EvalRunResultsProps>;
|
|
3011
3024
|
|
|
3025
|
+
declare const AgentGovernanceWorkbench: React__default.FC;
|
|
3026
|
+
|
|
3027
|
+
/** User-facing technical types per the governance spec. */
|
|
3028
|
+
type GovernanceAgentType = "capability" | "orchestrator" | "team" | "workflow" | "remote";
|
|
3029
|
+
type AgentStatus = "enabled" | "draft" | "disabled";
|
|
3030
|
+
interface AgentListItem {
|
|
3031
|
+
id: string;
|
|
3032
|
+
name: string;
|
|
3033
|
+
description?: string;
|
|
3034
|
+
/** Mapped from graphDefinition.type */
|
|
3035
|
+
type: GovernanceAgentType;
|
|
3036
|
+
/** Business domain tags from metadata.tags (comma-separated) */
|
|
3037
|
+
tags: string[];
|
|
3038
|
+
version: string;
|
|
3039
|
+
status: AgentStatus;
|
|
3040
|
+
subAgents: string[];
|
|
3041
|
+
}
|
|
3042
|
+
interface AgentGraphNodeData extends Record<string, unknown> {
|
|
3043
|
+
id: string;
|
|
3044
|
+
label: string;
|
|
3045
|
+
type: GovernanceAgentType;
|
|
3046
|
+
subAgentCount: number;
|
|
3047
|
+
}
|
|
3048
|
+
interface AgentGraphData {
|
|
3049
|
+
nodes: AgentGraphNodeData[];
|
|
3050
|
+
edges: Array<{
|
|
3051
|
+
source: string;
|
|
3052
|
+
target: string;
|
|
3053
|
+
}>;
|
|
3054
|
+
}
|
|
3055
|
+
type DetailTab = "edit" | "playground" | "eval";
|
|
3056
|
+
|
|
3057
|
+
interface AgentListProps {
|
|
3058
|
+
items: AgentListItem[];
|
|
3059
|
+
assistants?: Assistant[];
|
|
3060
|
+
loading: boolean;
|
|
3061
|
+
onItemClick: (id: string) => void;
|
|
3062
|
+
onOpenPlayground: (id: string) => void;
|
|
3063
|
+
onOpenEval: (id: string) => void;
|
|
3064
|
+
onCreate: () => void;
|
|
3065
|
+
onDelete?: (id: string) => void;
|
|
3066
|
+
}
|
|
3067
|
+
declare const AgentList: React__default.FC<AgentListProps>;
|
|
3068
|
+
|
|
3069
|
+
interface AgentDetailViewProps {
|
|
3070
|
+
assistant: Assistant;
|
|
3071
|
+
allAssistants: Assistant[];
|
|
3072
|
+
onBack: () => void;
|
|
3073
|
+
onDeleted: (id: string) => Promise<void> | void;
|
|
3074
|
+
initialTab?: DetailTab;
|
|
3075
|
+
onSave?: (assistant: Assistant, config: Record<string, unknown>) => Promise<void>;
|
|
3076
|
+
}
|
|
3077
|
+
declare const AgentDetailView: React__default.FC<AgentDetailViewProps>;
|
|
3078
|
+
|
|
3079
|
+
interface AgentEvalPanelProps {
|
|
3080
|
+
assistantId: string;
|
|
3081
|
+
}
|
|
3082
|
+
/**
|
|
3083
|
+
* Agent-scoped evaluation panel.
|
|
3084
|
+
*
|
|
3085
|
+
* Resolves the eval project for an agent via the naming convention
|
|
3086
|
+
* `name === "eval-{assistantId}"`. When the project exists, renders the
|
|
3087
|
+
* agent-scoped eval UI (suites list -> suite detail -> run results).
|
|
3088
|
+
* Otherwise shows an empty state with a create-project flow that pre-fills
|
|
3089
|
+
* the convention name and asks for a judge model.
|
|
3090
|
+
*/
|
|
3091
|
+
declare const AgentEvalPanel: React__default.FC<AgentEvalPanelProps>;
|
|
3092
|
+
|
|
3093
|
+
interface AgentGraphViewProps {
|
|
3094
|
+
assistants: Assistant[];
|
|
3095
|
+
onNodeClick?: (assistantId: string) => void;
|
|
3096
|
+
}
|
|
3097
|
+
declare const AgentGraphView: React__default.FC<AgentGraphViewProps>;
|
|
3098
|
+
|
|
3099
|
+
declare function buildAgentListItems(assistants: Assistant[]): AgentListItem[];
|
|
3100
|
+
/** Build graph nodes + collaboration edges from assistants (edge: agent -> subAgent). */
|
|
3101
|
+
declare function buildAgentGraphData(assistants: Assistant[]): AgentGraphData;
|
|
3102
|
+
|
|
3012
3103
|
type PersonalAssistantPageProps = Record<string, never>;
|
|
3013
3104
|
declare const PersonalAssistantPage: React__default.FC<PersonalAssistantPageProps>;
|
|
3014
3105
|
|
|
@@ -3176,6 +3267,8 @@ interface ViewModeExtension {
|
|
|
3176
3267
|
interface EntityCardProps<T> {
|
|
3177
3268
|
item: T;
|
|
3178
3269
|
onClick?: (item: T) => void;
|
|
3270
|
+
/** Compact layout: smaller padding and element gaps. */
|
|
3271
|
+
dense?: boolean;
|
|
3179
3272
|
renderIcon?: (item: T) => React__default.ReactNode;
|
|
3180
3273
|
renderPrimary: (item: T) => React__default.ReactNode;
|
|
3181
3274
|
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
@@ -3187,7 +3280,7 @@ interface EntityCardProps<T> {
|
|
|
3187
3280
|
actionsStyle?: ActionsStyle;
|
|
3188
3281
|
className?: string;
|
|
3189
3282
|
}
|
|
3190
|
-
declare const EntityCard: <T>({ item, onClick, renderIcon, renderPrimary, renderSecondary,
|
|
3283
|
+
declare const EntityCard: <T>({ item, onClick, dense, renderIcon, renderPrimary, renderSecondary, renderHeaderActions, renderDetails, renderFooter, actions, actionsPosition, actionsStyle, className, }: EntityCardProps<T>) => React__default.ReactElement;
|
|
3191
3284
|
|
|
3192
3285
|
interface EntityRowProps<T> {
|
|
3193
3286
|
item: T;
|
|
@@ -3872,4 +3965,4 @@ type IframeMessage = {
|
|
|
3872
3965
|
};
|
|
3873
3966
|
declare function generateIframeSrcdoc(): string;
|
|
3874
3967
|
|
|
3875
|
-
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type BalanceResult, ChangePasswordModal, type ChangePasswordModalProps, ChannelInstallationsDrawerContent, ChatErrorBoundary, type ChatErrorBoundaryProps, type ChatResponse, ChatSidebar, type ChatSidebarProps, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConflictResolver, ConnectionConfigDrawerContent, ConnectionListField, ConnectionsHub, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, DEFAULT_MENU_ITEMS, DEFAULT_MIDDLEWARE_TYPES, DEFAULT_WORKSPACE_MENU_ITEMS, type ElementMeta, type ElementProps, type EntityAction, EntityCard, EntityCreateTrigger, EntityListShell, EntityListView, EntityRow, EvalPanel, EvalRunResults, EvalSuiteCardList, EvalSuiteDetail, type ExplorerFile, ExportStep, FileExplorer, type FileExplorerProps, FilePanelToggle, FilterSelect, type FilterSelectProps, type IframeMessage, ImportStep, LatticeAgentWorkspace, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, MigrationPage, MigrationPageWrapper, type ModelConfig, type ModelInfo, ModelSelector, type ModelSelectorProps, type PanelCard, type PendingMessage, PersonalAssistantChannelModal, PersonalAssistantPage, ProjectScopeProvider, type ProjectScopeProviderProps, ProjectScopedChating, type ProjectScopedChatingProps, ProjectSelector, type ProjectSelectorProps, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, type RecorderError, type RecorderMode, type RecorderStatus, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, RunEnvModal, type RunEnvModalProps, type SanitizerConfig, ScheduleButton, type ScheduleButtonProps, SideAppBrowserContext, type SideAppBrowserContextValue, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type StreamingError, StreamingHTMLRenderer, type StreamingHTMLRendererProps, TenantBranding, type TenantBrandingData, TenantLogo, TenantSelector, type TenantSelectorProps, TenantSettingsModal, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, type UseVoiceRecorderOptions, UserProfile, type UserProfileProps, type UserTenantInfo, type ViewMode, type ViewModeExtension, ViewToggle, VoiceInputButton, type VoiceInputButtonProps, type VoiceRecorderState, WorkflowAutomationView, WorkflowCanvas, type WorkflowCanvasProps, WorkflowNode, type WorkflowNodeData, WorkspaceResourceManager, type WorkspaceResourceManagerProps, WorkspaceResourceUIContext, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateIframeSrcdoc, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAuthOptional, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useEvalCases, useEvalProjects, useEvalRunStream, useEvalRuns, useEvalSuites, useLatticeChatShellContext, useMiddlewareTypes, useOptionalAgentThreadContext, useSideAppBrowser, useSideAppOpener, useTenantBranding, useTenants, useUsers, useVoiceRecorder };
|
|
3968
|
+
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, AgentDetailView, AgentEvalPanel, AgentGovernanceWorkbench, AgentGraphView, AgentList, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type BalanceResult, ChangePasswordModal, type ChangePasswordModalProps, ChannelInstallationsDrawerContent, ChatErrorBoundary, type ChatErrorBoundaryProps, type ChatResponse, ChatSidebar, type ChatSidebarProps, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConflictResolver, ConnectionConfigDrawerContent, ConnectionListField, ConnectionsHub, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, DEFAULT_MENU_ITEMS, DEFAULT_MIDDLEWARE_TYPES, DEFAULT_WORKSPACE_MENU_ITEMS, type ElementMeta, type ElementProps, type EntityAction, EntityCard, EntityCreateTrigger, EntityListShell, EntityListView, EntityRow, EvalPanel, EvalRunResults, EvalSuiteCardList, EvalSuiteDetail, type ExplorerFile, ExportStep, FileExplorer, type FileExplorerProps, FilePanelToggle, FilterSelect, type FilterSelectProps, type IframeMessage, ImportStep, LatticeAgentWorkspace, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, MigrationPage, MigrationPageWrapper, type ModelConfig, type ModelInfo, ModelSelector, type ModelSelectorProps, type PanelCard, type PendingMessage, PersonalAssistantChannelModal, PersonalAssistantPage, ProjectScopeProvider, type ProjectScopeProviderProps, ProjectScopedChating, type ProjectScopedChatingProps, ProjectSelector, type ProjectSelectorProps, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, type RecorderError, type RecorderMode, type RecorderStatus, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, RunEnvModal, type RunEnvModalProps, type SanitizerConfig, ScheduleButton, type ScheduleButtonProps, SideAppBrowserContext, type SideAppBrowserContextValue, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type StreamingError, StreamingHTMLRenderer, type StreamingHTMLRendererProps, TenantBranding, type TenantBrandingData, TenantLogo, TenantSelector, type TenantSelectorProps, TenantSettingsModal, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, type UseVoiceRecorderOptions, UserProfile, type UserProfileProps, type UserTenantInfo, type ViewMode, type ViewModeExtension, ViewToggle, VoiceInputButton, type VoiceInputButtonProps, type VoiceRecorderState, WorkflowAutomationView, WorkflowCanvas, type WorkflowCanvasProps, WorkflowNode, type WorkflowNodeData, WorkspaceResourceManager, type WorkspaceResourceManagerProps, WorkspaceResourceUIContext, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, buildAgentGraphData, buildAgentListItems, colors, generateIframeSrcdoc, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAuthOptional, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useEvalCases, useEvalProjects, useEvalRunStream, useEvalRuns, useEvalSuites, useLatticeChatShellContext, useMiddlewareTypes, useOptionalAgentThreadContext, useSideAppBrowser, useSideAppOpener, useTenantBranding, useTenants, useUsers, useVoiceRecorder };
|
package/dist/index.d.ts
CHANGED
|
@@ -1015,7 +1015,7 @@ declare function useEvalRuns(projectId?: string): {
|
|
|
1015
1015
|
projectId?: string;
|
|
1016
1016
|
}) => Promise<{
|
|
1017
1017
|
run_id: string;
|
|
1018
|
-
}>;
|
|
1018
|
+
} | undefined>;
|
|
1019
1019
|
abort: (runId: string) => Promise<void>;
|
|
1020
1020
|
remove: (runId: string) => Promise<void>;
|
|
1021
1021
|
refresh: () => Promise<void>;
|
|
@@ -2895,6 +2895,19 @@ interface CreateAssistantModalProps {
|
|
|
2895
2895
|
}
|
|
2896
2896
|
declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>;
|
|
2897
2897
|
|
|
2898
|
+
type Page = "dashboard" | "suites" | "suite" | "run";
|
|
2899
|
+
interface EvalPanelProps {
|
|
2900
|
+
/**
|
|
2901
|
+
* Optional deep-link target applied on mount and when its fields change.
|
|
2902
|
+
* Overrides the default "select first project / dashboard" behavior.
|
|
2903
|
+
*/
|
|
2904
|
+
initial?: {
|
|
2905
|
+
projectId?: string;
|
|
2906
|
+
page?: Page;
|
|
2907
|
+
suiteId?: string;
|
|
2908
|
+
runId?: string;
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2898
2911
|
/**
|
|
2899
2912
|
* Top-level evaluation panel component.
|
|
2900
2913
|
*
|
|
@@ -2920,7 +2933,7 @@ declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>
|
|
|
2920
2933
|
* }
|
|
2921
2934
|
* ```
|
|
2922
2935
|
*/
|
|
2923
|
-
declare const EvalPanel: React__default.FC
|
|
2936
|
+
declare const EvalPanel: React__default.FC<EvalPanelProps>;
|
|
2924
2937
|
|
|
2925
2938
|
/**
|
|
2926
2939
|
* Props for {@link EvalSuiteCardList}.
|
|
@@ -3009,6 +3022,84 @@ interface EvalRunResultsProps {
|
|
|
3009
3022
|
*/
|
|
3010
3023
|
declare const EvalRunResults: React__default.FC<EvalRunResultsProps>;
|
|
3011
3024
|
|
|
3025
|
+
declare const AgentGovernanceWorkbench: React__default.FC;
|
|
3026
|
+
|
|
3027
|
+
/** User-facing technical types per the governance spec. */
|
|
3028
|
+
type GovernanceAgentType = "capability" | "orchestrator" | "team" | "workflow" | "remote";
|
|
3029
|
+
type AgentStatus = "enabled" | "draft" | "disabled";
|
|
3030
|
+
interface AgentListItem {
|
|
3031
|
+
id: string;
|
|
3032
|
+
name: string;
|
|
3033
|
+
description?: string;
|
|
3034
|
+
/** Mapped from graphDefinition.type */
|
|
3035
|
+
type: GovernanceAgentType;
|
|
3036
|
+
/** Business domain tags from metadata.tags (comma-separated) */
|
|
3037
|
+
tags: string[];
|
|
3038
|
+
version: string;
|
|
3039
|
+
status: AgentStatus;
|
|
3040
|
+
subAgents: string[];
|
|
3041
|
+
}
|
|
3042
|
+
interface AgentGraphNodeData extends Record<string, unknown> {
|
|
3043
|
+
id: string;
|
|
3044
|
+
label: string;
|
|
3045
|
+
type: GovernanceAgentType;
|
|
3046
|
+
subAgentCount: number;
|
|
3047
|
+
}
|
|
3048
|
+
interface AgentGraphData {
|
|
3049
|
+
nodes: AgentGraphNodeData[];
|
|
3050
|
+
edges: Array<{
|
|
3051
|
+
source: string;
|
|
3052
|
+
target: string;
|
|
3053
|
+
}>;
|
|
3054
|
+
}
|
|
3055
|
+
type DetailTab = "edit" | "playground" | "eval";
|
|
3056
|
+
|
|
3057
|
+
interface AgentListProps {
|
|
3058
|
+
items: AgentListItem[];
|
|
3059
|
+
assistants?: Assistant[];
|
|
3060
|
+
loading: boolean;
|
|
3061
|
+
onItemClick: (id: string) => void;
|
|
3062
|
+
onOpenPlayground: (id: string) => void;
|
|
3063
|
+
onOpenEval: (id: string) => void;
|
|
3064
|
+
onCreate: () => void;
|
|
3065
|
+
onDelete?: (id: string) => void;
|
|
3066
|
+
}
|
|
3067
|
+
declare const AgentList: React__default.FC<AgentListProps>;
|
|
3068
|
+
|
|
3069
|
+
interface AgentDetailViewProps {
|
|
3070
|
+
assistant: Assistant;
|
|
3071
|
+
allAssistants: Assistant[];
|
|
3072
|
+
onBack: () => void;
|
|
3073
|
+
onDeleted: (id: string) => Promise<void> | void;
|
|
3074
|
+
initialTab?: DetailTab;
|
|
3075
|
+
onSave?: (assistant: Assistant, config: Record<string, unknown>) => Promise<void>;
|
|
3076
|
+
}
|
|
3077
|
+
declare const AgentDetailView: React__default.FC<AgentDetailViewProps>;
|
|
3078
|
+
|
|
3079
|
+
interface AgentEvalPanelProps {
|
|
3080
|
+
assistantId: string;
|
|
3081
|
+
}
|
|
3082
|
+
/**
|
|
3083
|
+
* Agent-scoped evaluation panel.
|
|
3084
|
+
*
|
|
3085
|
+
* Resolves the eval project for an agent via the naming convention
|
|
3086
|
+
* `name === "eval-{assistantId}"`. When the project exists, renders the
|
|
3087
|
+
* agent-scoped eval UI (suites list -> suite detail -> run results).
|
|
3088
|
+
* Otherwise shows an empty state with a create-project flow that pre-fills
|
|
3089
|
+
* the convention name and asks for a judge model.
|
|
3090
|
+
*/
|
|
3091
|
+
declare const AgentEvalPanel: React__default.FC<AgentEvalPanelProps>;
|
|
3092
|
+
|
|
3093
|
+
interface AgentGraphViewProps {
|
|
3094
|
+
assistants: Assistant[];
|
|
3095
|
+
onNodeClick?: (assistantId: string) => void;
|
|
3096
|
+
}
|
|
3097
|
+
declare const AgentGraphView: React__default.FC<AgentGraphViewProps>;
|
|
3098
|
+
|
|
3099
|
+
declare function buildAgentListItems(assistants: Assistant[]): AgentListItem[];
|
|
3100
|
+
/** Build graph nodes + collaboration edges from assistants (edge: agent -> subAgent). */
|
|
3101
|
+
declare function buildAgentGraphData(assistants: Assistant[]): AgentGraphData;
|
|
3102
|
+
|
|
3012
3103
|
type PersonalAssistantPageProps = Record<string, never>;
|
|
3013
3104
|
declare const PersonalAssistantPage: React__default.FC<PersonalAssistantPageProps>;
|
|
3014
3105
|
|
|
@@ -3176,6 +3267,8 @@ interface ViewModeExtension {
|
|
|
3176
3267
|
interface EntityCardProps<T> {
|
|
3177
3268
|
item: T;
|
|
3178
3269
|
onClick?: (item: T) => void;
|
|
3270
|
+
/** Compact layout: smaller padding and element gaps. */
|
|
3271
|
+
dense?: boolean;
|
|
3179
3272
|
renderIcon?: (item: T) => React__default.ReactNode;
|
|
3180
3273
|
renderPrimary: (item: T) => React__default.ReactNode;
|
|
3181
3274
|
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
@@ -3187,7 +3280,7 @@ interface EntityCardProps<T> {
|
|
|
3187
3280
|
actionsStyle?: ActionsStyle;
|
|
3188
3281
|
className?: string;
|
|
3189
3282
|
}
|
|
3190
|
-
declare const EntityCard: <T>({ item, onClick, renderIcon, renderPrimary, renderSecondary,
|
|
3283
|
+
declare const EntityCard: <T>({ item, onClick, dense, renderIcon, renderPrimary, renderSecondary, renderHeaderActions, renderDetails, renderFooter, actions, actionsPosition, actionsStyle, className, }: EntityCardProps<T>) => React__default.ReactElement;
|
|
3191
3284
|
|
|
3192
3285
|
interface EntityRowProps<T> {
|
|
3193
3286
|
item: T;
|
|
@@ -3872,4 +3965,4 @@ type IframeMessage = {
|
|
|
3872
3965
|
};
|
|
3873
3966
|
declare function generateIframeSrcdoc(): string;
|
|
3874
3967
|
|
|
3875
|
-
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type BalanceResult, ChangePasswordModal, type ChangePasswordModalProps, ChannelInstallationsDrawerContent, ChatErrorBoundary, type ChatErrorBoundaryProps, type ChatResponse, ChatSidebar, type ChatSidebarProps, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConflictResolver, ConnectionConfigDrawerContent, ConnectionListField, ConnectionsHub, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, DEFAULT_MENU_ITEMS, DEFAULT_MIDDLEWARE_TYPES, DEFAULT_WORKSPACE_MENU_ITEMS, type ElementMeta, type ElementProps, type EntityAction, EntityCard, EntityCreateTrigger, EntityListShell, EntityListView, EntityRow, EvalPanel, EvalRunResults, EvalSuiteCardList, EvalSuiteDetail, type ExplorerFile, ExportStep, FileExplorer, type FileExplorerProps, FilePanelToggle, FilterSelect, type FilterSelectProps, type IframeMessage, ImportStep, LatticeAgentWorkspace, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, MigrationPage, MigrationPageWrapper, type ModelConfig, type ModelInfo, ModelSelector, type ModelSelectorProps, type PanelCard, type PendingMessage, PersonalAssistantChannelModal, PersonalAssistantPage, ProjectScopeProvider, type ProjectScopeProviderProps, ProjectScopedChating, type ProjectScopedChatingProps, ProjectSelector, type ProjectSelectorProps, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, type RecorderError, type RecorderMode, type RecorderStatus, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, RunEnvModal, type RunEnvModalProps, type SanitizerConfig, ScheduleButton, type ScheduleButtonProps, SideAppBrowserContext, type SideAppBrowserContextValue, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type StreamingError, StreamingHTMLRenderer, type StreamingHTMLRendererProps, TenantBranding, type TenantBrandingData, TenantLogo, TenantSelector, type TenantSelectorProps, TenantSettingsModal, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, type UseVoiceRecorderOptions, UserProfile, type UserProfileProps, type UserTenantInfo, type ViewMode, type ViewModeExtension, ViewToggle, VoiceInputButton, type VoiceInputButtonProps, type VoiceRecorderState, WorkflowAutomationView, WorkflowCanvas, type WorkflowCanvasProps, WorkflowNode, type WorkflowNodeData, WorkspaceResourceManager, type WorkspaceResourceManagerProps, WorkspaceResourceUIContext, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateIframeSrcdoc, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAuthOptional, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useEvalCases, useEvalProjects, useEvalRunStream, useEvalRuns, useEvalSuites, useLatticeChatShellContext, useMiddlewareTypes, useOptionalAgentThreadContext, useSideAppBrowser, useSideAppOpener, useTenantBranding, useTenants, useUsers, useVoiceRecorder };
|
|
3968
|
+
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, AgentDetailView, AgentEvalPanel, AgentGovernanceWorkbench, AgentGraphView, AgentList, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type BalanceResult, ChangePasswordModal, type ChangePasswordModalProps, ChannelInstallationsDrawerContent, ChatErrorBoundary, type ChatErrorBoundaryProps, type ChatResponse, ChatSidebar, type ChatSidebarProps, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConflictResolver, ConnectionConfigDrawerContent, ConnectionListField, ConnectionsHub, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, DEFAULT_MENU_ITEMS, DEFAULT_MIDDLEWARE_TYPES, DEFAULT_WORKSPACE_MENU_ITEMS, type ElementMeta, type ElementProps, type EntityAction, EntityCard, EntityCreateTrigger, EntityListShell, EntityListView, EntityRow, EvalPanel, EvalRunResults, EvalSuiteCardList, EvalSuiteDetail, type ExplorerFile, ExportStep, FileExplorer, type FileExplorerProps, FilePanelToggle, FilterSelect, type FilterSelectProps, type IframeMessage, ImportStep, LatticeAgentWorkspace, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, MigrationPage, MigrationPageWrapper, type ModelConfig, type ModelInfo, ModelSelector, type ModelSelectorProps, type PanelCard, type PendingMessage, PersonalAssistantChannelModal, PersonalAssistantPage, ProjectScopeProvider, type ProjectScopeProviderProps, ProjectScopedChating, type ProjectScopedChatingProps, ProjectSelector, type ProjectSelectorProps, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, type RecorderError, type RecorderMode, type RecorderStatus, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, RunEnvModal, type RunEnvModalProps, type SanitizerConfig, ScheduleButton, type ScheduleButtonProps, SideAppBrowserContext, type SideAppBrowserContextValue, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type StreamingError, StreamingHTMLRenderer, type StreamingHTMLRendererProps, TenantBranding, type TenantBrandingData, TenantLogo, TenantSelector, type TenantSelectorProps, TenantSettingsModal, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, type UseVoiceRecorderOptions, UserProfile, type UserProfileProps, type UserTenantInfo, type ViewMode, type ViewModeExtension, ViewToggle, VoiceInputButton, type VoiceInputButtonProps, type VoiceRecorderState, WorkflowAutomationView, WorkflowCanvas, type WorkflowCanvasProps, WorkflowNode, type WorkflowNodeData, WorkspaceResourceManager, type WorkspaceResourceManagerProps, WorkspaceResourceUIContext, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, buildAgentGraphData, buildAgentListItems, colors, generateIframeSrcdoc, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAuthOptional, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useEvalCases, useEvalProjects, useEvalRunStream, useEvalRuns, useEvalSuites, useLatticeChatShellContext, useMiddlewareTypes, useOptionalAgentThreadContext, useSideAppBrowser, useSideAppOpener, useTenantBranding, useTenants, useUsers, useVoiceRecorder };
|