@docyrus/ui-pro-ai-assistant 0.2.7 → 0.2.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/dist/components/agent-trigger-widget/agent-trigger-prompt.d.ts +4 -2
- package/dist/components/agent-trigger-widget/index.d.ts +1 -1
- package/dist/docy-assistant.d.ts +1 -1
- package/dist/hooks/use-agents-data.d.ts +1 -0
- package/dist/index.js +252 -24
- package/dist/index.js.map +1 -1
- package/dist/styles.css +13 -0
- package/dist/types/index.d.ts +13 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1491,6 +1491,9 @@
|
|
|
1491
1491
|
.max-w-24 {
|
|
1492
1492
|
max-width: calc(var(--spacing) * 24);
|
|
1493
1493
|
}
|
|
1494
|
+
.max-w-32 {
|
|
1495
|
+
max-width: calc(var(--spacing) * 32);
|
|
1496
|
+
}
|
|
1494
1497
|
.max-w-64 {
|
|
1495
1498
|
max-width: calc(var(--spacing) * 64);
|
|
1496
1499
|
}
|
|
@@ -3538,6 +3541,9 @@
|
|
|
3538
3541
|
color: color-mix(in oklab, var(--primary) 65%, transparent);
|
|
3539
3542
|
}
|
|
3540
3543
|
}
|
|
3544
|
+
.text-red-500 {
|
|
3545
|
+
color: var(--color-red-500);
|
|
3546
|
+
}
|
|
3541
3547
|
.text-red-600 {
|
|
3542
3548
|
color: var(--color-red-600);
|
|
3543
3549
|
}
|
|
@@ -6252,6 +6258,13 @@
|
|
|
6252
6258
|
}
|
|
6253
6259
|
}
|
|
6254
6260
|
}
|
|
6261
|
+
.hover\:text-red-600 {
|
|
6262
|
+
&:hover {
|
|
6263
|
+
@media (hover: hover) {
|
|
6264
|
+
color: var(--color-red-600);
|
|
6265
|
+
}
|
|
6266
|
+
}
|
|
6267
|
+
}
|
|
6255
6268
|
.hover\:text-rose-600 {
|
|
6256
6269
|
&:hover {
|
|
6257
6270
|
@media (hover: hover) {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -232,4 +232,17 @@ export interface DocyAssistantProps {
|
|
|
232
232
|
onAgentChange?: (agentId: string, agentType: 'base' | 'deployment') => void;
|
|
233
233
|
/** Initial prompt to auto-send when the assistant opens */
|
|
234
234
|
initialPrompt?: string;
|
|
235
|
+
/** Initial model ID to use when auto-sending the initial prompt */
|
|
236
|
+
initialModelId?: string;
|
|
237
|
+
/** Initial feature flags to include when auto-sending the initial prompt */
|
|
238
|
+
initialFeatures?: {
|
|
239
|
+
webSearch?: boolean;
|
|
240
|
+
thinking?: boolean;
|
|
241
|
+
deepResearch?: boolean;
|
|
242
|
+
documentSearch?: boolean;
|
|
243
|
+
workCanvas?: boolean;
|
|
244
|
+
files?: boolean;
|
|
245
|
+
};
|
|
246
|
+
/** Initial files to attach when auto-sending the initial prompt */
|
|
247
|
+
initialFiles?: File[];
|
|
235
248
|
}
|
package/package.json
CHANGED