@devicai/ui 0.31.0 → 0.32.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.
- package/dist/cjs/api/client.js +7 -0
- package/dist/cjs/api/client.js.map +1 -1
- package/dist/cjs/api/types.js.map +1 -1
- package/dist/cjs/components/AICommandBar/AICommandBar.js +2 -1
- package/dist/cjs/components/AICommandBar/AICommandBar.js.map +1 -1
- package/dist/cjs/components/AICommandBar/useAICommandBar.js +4 -2
- package/dist/cjs/components/AICommandBar/useAICommandBar.js.map +1 -1
- package/dist/cjs/components/AIGenerationButton/AIGenerationButton.js +2 -1
- package/dist/cjs/components/AIGenerationButton/AIGenerationButton.js.map +1 -1
- package/dist/cjs/components/AIGenerationButton/useAIGenerationButton.js +4 -1
- package/dist/cjs/components/AIGenerationButton/useAIGenerationButton.js.map +1 -1
- package/dist/cjs/components/ChatDrawer/ChatDrawer.js +7 -2
- package/dist/cjs/components/ChatDrawer/ChatDrawer.js.map +1 -1
- package/dist/cjs/hooks/useDevicChat.js +9 -1
- package/dist/cjs/hooks/useDevicChat.js.map +1 -1
- package/dist/cjs/provider/DevicProvider.js +3 -1
- package/dist/cjs/provider/DevicProvider.js.map +1 -1
- package/dist/esm/api/client.d.ts +5 -0
- package/dist/esm/api/client.js +7 -0
- package/dist/esm/api/client.js.map +1 -1
- package/dist/esm/api/types.d.ts +2 -0
- package/dist/esm/api/types.js.map +1 -1
- package/dist/esm/components/AICommandBar/AICommandBar.js +2 -1
- package/dist/esm/components/AICommandBar/AICommandBar.js.map +1 -1
- package/dist/esm/components/AICommandBar/AICommandBar.types.d.ts +5 -0
- package/dist/esm/components/AICommandBar/useAICommandBar.d.ts +2 -0
- package/dist/esm/components/AICommandBar/useAICommandBar.js +4 -2
- package/dist/esm/components/AICommandBar/useAICommandBar.js.map +1 -1
- package/dist/esm/components/AIGenerationButton/AIGenerationButton.js +2 -1
- package/dist/esm/components/AIGenerationButton/AIGenerationButton.js.map +1 -1
- package/dist/esm/components/AIGenerationButton/AIGenerationButton.types.d.ts +5 -0
- package/dist/esm/components/AIGenerationButton/useAIGenerationButton.d.ts +2 -0
- package/dist/esm/components/AIGenerationButton/useAIGenerationButton.js +4 -1
- package/dist/esm/components/AIGenerationButton/useAIGenerationButton.js.map +1 -1
- package/dist/esm/components/ChatDrawer/ChatDrawer.js +7 -2
- package/dist/esm/components/ChatDrawer/ChatDrawer.js.map +1 -1
- package/dist/esm/components/ChatDrawer/ChatDrawer.types.d.ts +7 -0
- package/dist/esm/hooks/useDevicChat.d.ts +8 -0
- package/dist/esm/hooks/useDevicChat.js +9 -1
- package/dist/esm/hooks/useDevicChat.js.map +1 -1
- package/dist/esm/provider/DevicProvider.d.ts +1 -1
- package/dist/esm/provider/DevicProvider.js +3 -1
- package/dist/esm/provider/DevicProvider.js.map +1 -1
- package/dist/esm/provider/types.d.ts +10 -0
- package/package.json +1 -1
|
@@ -68,6 +68,12 @@ export interface DevicProviderConfig {
|
|
|
68
68
|
* per-subtenant cost attribution and automatic tenant domain detection.
|
|
69
69
|
*/
|
|
70
70
|
subtenantMetadata?: SubtenantMetadata;
|
|
71
|
+
/**
|
|
72
|
+
* Global tags applied to every conversation started under this provider.
|
|
73
|
+
* Sent as the top-level `tags` of each message (distinct from metadata).
|
|
74
|
+
* Can be overridden/extended per ChatDrawer or per message.
|
|
75
|
+
*/
|
|
76
|
+
tags?: string[];
|
|
71
77
|
/**
|
|
72
78
|
* Enable debug logging to the browser console
|
|
73
79
|
* @default false
|
|
@@ -130,6 +136,10 @@ export interface DevicContextValue {
|
|
|
130
136
|
* Global subtenant metadata
|
|
131
137
|
*/
|
|
132
138
|
subtenantMetadata?: SubtenantMetadata;
|
|
139
|
+
/**
|
|
140
|
+
* Global tags applied to every conversation started under this provider.
|
|
141
|
+
*/
|
|
142
|
+
tags?: string[];
|
|
133
143
|
/**
|
|
134
144
|
* Whether the provider is properly configured
|
|
135
145
|
*/
|