@docyrus/ui-pro-ai-assistant 0.1.7 → 0.1.9
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/README.md +5 -2
- package/dist/docy-assistant.d.ts +1 -1
- package/dist/index.js +616 -532
- package/dist/index.js.map +1 -1
- package/dist/internal/plate-editor/editor/plugins/code-block-base-kit.d.ts +2 -1
- package/dist/internal/plate-editor/editor/plugins/code-block-kit.d.ts +2 -1
- package/dist/styles.css +7 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/views/assistant-view.d.ts +2 -0
- package/package.json +3 -3
- package/dist/internal/plate-editor/editor/plugins/ai-kit.d.ts +0 -73
package/README.md
CHANGED
|
@@ -6,12 +6,13 @@ A full-featured, drop-in AI assistant chat UI for React. Ships with multi-turn c
|
|
|
6
6
|
|
|
7
7
|
- **Plug-and-play chat interface** — Modal or inline rendering with a single component.
|
|
8
8
|
- **Work canvas** — AI-generated outputs (text, code, spreadsheets, images, charts, documents) are rendered in type-specific viewers side-by-side with the conversation.
|
|
9
|
-
- **Projects & sessions** — Organize conversations into projects, manage threads, and persist context.
|
|
10
|
-
- **Multi-model & multi-agent** — Let users switch between AI models and agent deployments on the fly.
|
|
9
|
+
- **Projects & sessions** — Organize conversations into projects, manage threads, and persist context. Session list shows creation date and author on hover.
|
|
10
|
+
- **Multi-model & multi-agent** — Let users switch between AI models and agent deployments on the fly. Agent avatars display in the header and message list.
|
|
11
11
|
- **Deep research** — Extended research mode with live progress streaming.
|
|
12
12
|
- **AI memories** — Persistent memory management across sessions.
|
|
13
13
|
- **Voice input** — Browser-native speech-to-text.
|
|
14
14
|
- **File uploads** — Attach files to messages with configurable format restrictions.
|
|
15
|
+
- **Chromeless mode** — Optionally hide the header and/or border for seamless embedding.
|
|
15
16
|
- **i18n** — English, German, Spanish, French, Italian, Portuguese, Greek, Slovenian, Turkish.
|
|
16
17
|
- **Vite plugin** — Optional dev-server middleware for Plate editor AI commands.
|
|
17
18
|
|
|
@@ -210,6 +211,8 @@ The main chat interface component.
|
|
|
210
211
|
| `hideExpand` | `boolean` | `false` | Hide the fullscreen toggle |
|
|
211
212
|
| `hideCloseButton` | `boolean` | `false` | Hide the close (X) button in the header |
|
|
212
213
|
| `hideAgentSelector` | `boolean` | `false` | Hide the agent selector dropdown; shows agent name as static text instead |
|
|
214
|
+
| `hideBorder` | `boolean` | `false` | Hide the outer border and shadow of the assistant container |
|
|
215
|
+
| `showHeader` | `boolean` | `true` | Show the header bar; when false the agent selector moves to the top of the sidebar |
|
|
213
216
|
| `maxMessages` | `number` | — | Max messages to keep in context |
|
|
214
217
|
|
|
215
218
|
#### Features
|
package/dist/docy-assistant.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
2
|
import { type DocyAssistantProps } from './types';
|
|
3
|
-
export declare const DocyAssistant: ({ ref, isOpen, onClose, supportWebSearch, supportThinking, supportFiles, supportDocumentSearch, supportDeepResearch, supportMultiModels, supportWorkCanvas, apiEndpoint, title: titleProp, description: descriptionProp, placeholder: placeholderProp, logo, footerText: footerTextProp, variant, renderMode, enableSidebar, enableNavDropdown, enableVoice, enableMicrophone, tenantAiAgentId, onMessageSend, onVoiceStart, onVoiceEnd, className, defaultFullscreen, hideExpand, hideCloseButton, hideAgentSelector, agentSelectorUrl, baseAgentSelectorUrl, onAgentChange, ...props }: DocyAssistantProps & {
|
|
3
|
+
export declare const DocyAssistant: ({ ref, isOpen, onClose, supportWebSearch, supportThinking, supportFiles, supportDocumentSearch, supportDeepResearch, supportMultiModels, supportWorkCanvas, apiEndpoint, title: titleProp, description: descriptionProp, placeholder: placeholderProp, logo, footerText: footerTextProp, variant, renderMode, enableSidebar, enableNavDropdown, enableVoice, enableMicrophone, tenantAiAgentId, onMessageSend, onVoiceStart, onVoiceEnd, className, defaultFullscreen, hideExpand, hideCloseButton, hideAgentSelector, hideBorder, showHeader, agentSelectorUrl, baseAgentSelectorUrl, onAgentChange, ...props }: DocyAssistantProps & {
|
|
4
4
|
ref?: RefObject<HTMLDivElement | null>;
|
|
5
5
|
}) => import("react/jsx-runtime").JSX.Element;
|