@docyrus/ui-pro-ai-assistant 0.8.1 → 0.8.2
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/components/agent-consent-dialog.d.ts +1 -7
- package/dist/hooks/use-assistant-api.d.ts +1 -6
- package/dist/index.js +17 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/assistant-config.d.ts +1 -4
- package/dist/views/assistant-view.d.ts +1 -4
- package/dist/views/chat-panel.d.ts +1 -4
- package/package.json +1 -1
|
@@ -5,10 +5,7 @@ export interface AssistantUser {
|
|
|
5
5
|
firstname?: string;
|
|
6
6
|
lastname?: string;
|
|
7
7
|
photo?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Tenant roles for the current user (e.g. `'super_admin'`). Used to gate
|
|
10
|
-
* privileged actions such as approving an agent's consent terms.
|
|
11
|
-
*/
|
|
8
|
+
/** Tenant roles (e.g. `'super_admin'`); gates approving agent consent. */
|
|
12
9
|
roles?: string[];
|
|
13
10
|
}
|
|
14
11
|
export interface EnumOption {
|
|
@@ -66,10 +66,7 @@ interface AssistantViewCommonProps {
|
|
|
66
66
|
chatError?: string | null;
|
|
67
67
|
/** Called when the user dismisses the error bubble. */
|
|
68
68
|
onDismissChatError?: () => void;
|
|
69
|
-
/**
|
|
70
|
-
* When true, the agent's consent terms are not accepted yet, so the prompt
|
|
71
|
-
* input is hidden (mirrors Vue `KvAssistantPromptInput` `v-if="hasConsent"`).
|
|
72
|
-
*/
|
|
69
|
+
/** Hide the prompt input until the agent's consent terms are accepted. */
|
|
73
70
|
consentRequired?: boolean;
|
|
74
71
|
}
|
|
75
72
|
export interface InlineModeProps extends AssistantViewCommonProps {
|
|
@@ -91,10 +91,7 @@ export interface ChatPanelProps {
|
|
|
91
91
|
chatError?: string | null;
|
|
92
92
|
/** Called when the user dismisses the error bubble. */
|
|
93
93
|
onDismissChatError?: () => void;
|
|
94
|
-
/**
|
|
95
|
-
* When true, the agent's consent terms have not been accepted yet, so the
|
|
96
|
-
* prompt input is hidden (mirrors Vue `KvAssistantPromptInput` `v-if="hasConsent"`).
|
|
97
|
-
*/
|
|
94
|
+
/** Hide the prompt input until the agent's consent terms are accepted. */
|
|
98
95
|
consentRequired?: boolean;
|
|
99
96
|
}
|
|
100
97
|
export declare function ChatPanel({ messages, isLoading, input, onInputChange, onSendMessage, onStop, logo, userPhoto, userDisplayName, description, title, welcomeMessage, isLoadingAgent, placeholder, consentRequired, footerText, supportFiles, supportWebSearch, supportDocumentSearch, supportDeepResearch, supportThinking, supportWorkCanvas, supportMultiModels, deploymentId, tenantAiAgentId, enableMicrophone, enableVoice, isRecording, recognition, onMicrophoneClick, onToolAction, openCanvasView, onSendSpreadsheetCommands: _onSendSpreadsheetCommands, onEditPrompt, renderThreadHeader, messagesClassName, compactToolbar, showWelcome, recentSessions, onSessionClick, threadId, initialModelId, initialFeatures, subagents, agentTools, onManageMemories, appContext, onClearAppContext, onForwardToAgent, chatError, onDismissChatError }: ChatPanelProps): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED