@docyrus/ui-pro-ai-assistant 0.2.9 → 0.3.0

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.
@@ -32,6 +32,14 @@ interface AssistantViewCommonProps {
32
32
  onMicrophoneClick?: () => void;
33
33
  onToolAction?: (event: ToolActionEvent) => void;
34
34
  threadId?: string;
35
+ initialModelId?: string;
36
+ initialFeatures?: {
37
+ webSearch?: boolean;
38
+ thinking?: boolean;
39
+ deepResearch?: boolean;
40
+ documentSearch?: boolean;
41
+ workCanvas?: boolean;
42
+ };
35
43
  }
36
44
  export interface InlineModeProps extends AssistantViewCommonProps {
37
45
  mode: 'inline';
@@ -52,5 +52,13 @@ export interface ChatPanelProps {
52
52
  messagesClassName?: string;
53
53
  compactToolbar?: boolean;
54
54
  threadId?: string;
55
+ initialModelId?: string;
56
+ initialFeatures?: {
57
+ webSearch?: boolean;
58
+ thinking?: boolean;
59
+ deepResearch?: boolean;
60
+ documentSearch?: boolean;
61
+ workCanvas?: boolean;
62
+ };
55
63
  }
56
- export declare function ChatPanel({ messages, isLoading, input, onInputChange, onSendMessage, onStop, logo, userPhoto, userDisplayName, description, title, welcomeMessage, isLoadingAgent, placeholder, footerText, supportFiles, supportWebSearch, supportDocumentSearch, supportDeepResearch, supportThinking, supportWorkCanvas, supportMultiModels, deploymentId, tenantAiAgentId, enableMicrophone, enableVoice, isRecording, recognition, onMicrophoneClick, onToolAction, openCanvasView, onSendSpreadsheetCommands: _onSendSpreadsheetCommands, renderThreadHeader, messagesClassName, compactToolbar, threadId }: ChatPanelProps): import("react/jsx-runtime").JSX.Element;
64
+ export declare function ChatPanel({ messages, isLoading, input, onInputChange, onSendMessage, onStop, logo, userPhoto, userDisplayName, description, title, welcomeMessage, isLoadingAgent, placeholder, footerText, supportFiles, supportWebSearch, supportDocumentSearch, supportDeepResearch, supportThinking, supportWorkCanvas, supportMultiModels, deploymentId, tenantAiAgentId, enableMicrophone, enableVoice, isRecording, recognition, onMicrophoneClick, onToolAction, openCanvasView, onSendSpreadsheetCommands: _onSendSpreadsheetCommands, renderThreadHeader, messagesClassName, compactToolbar, threadId, initialModelId, initialFeatures }: ChatPanelProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docyrus/ui-pro-ai-assistant",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "description": "Docyrus AI Assistant component — full-featured chat UI with canvas, projects, and i18n support.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",