@docyrus/ui-pro-ai-assistant 0.6.5 → 0.6.7

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.
@@ -359,8 +359,8 @@ export interface DocyAssistantProps {
359
359
  appId?: string;
360
360
  /** Display name for the current host app, shown in the context chip. */
361
361
  appName?: string;
362
- /** Logo URL for the current host app, shown in the context chip. */
363
- appLogo?: string;
362
+ /** Docyrus icon identifier (e.g. "fas inbox") for the current host app, rendered via `<DocyrusIcon>` in the context chip. */
363
+ appIcon?: string;
364
364
  /**
365
365
  * Host-provided tools the agent can call and have executed client-side.
366
366
  * Their definitions are forwarded to the chat endpoint as `clientTools`;
@@ -45,11 +45,11 @@ interface AssistantViewCommonProps {
45
45
  * avatars / names / step templates for `call*Agent` tool calls.
46
46
  */
47
47
  subagents?: Array<Record<string, any>>;
48
- /** Host app currently in context (id + name + logo). */
48
+ /** Host app currently in context (id + name + Docyrus icon string). */
49
49
  appContext?: {
50
50
  id: string;
51
51
  name?: string;
52
- logo?: string;
52
+ icon?: string;
53
53
  } | null;
54
54
  /** Called when the user dismisses the app context chip. */
55
55
  onClearAppContext?: () => void;
@@ -68,11 +68,11 @@ export interface ChatPanelProps {
68
68
  * `call*Agent` tool calls.
69
69
  */
70
70
  subagents?: Array<Record<string, any>>;
71
- /** Host app currently in context (id + display name + logo). Renders a dismissable chip above the input. */
71
+ /** Host app currently in context (id + display name + Docyrus icon string). Renders a dismissable chip above the input. */
72
72
  appContext?: {
73
73
  id: string;
74
74
  name?: string;
75
- logo?: string;
75
+ icon?: string;
76
76
  } | null;
77
77
  /** Called when the user dismisses the app context chip. */
78
78
  onClearAppContext?: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docyrus/ui-pro-ai-assistant",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
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",