@docyrus/ui-pro-ai-assistant 0.2.4 → 0.2.6
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 +85 -1
- package/dist/components/agent-trigger-widget/agent-carousel.d.ts +8 -0
- package/dist/components/agent-trigger-widget/agent-trigger-prompt.d.ts +18 -0
- package/dist/components/agent-trigger-widget/index.d.ts +8 -0
- package/dist/docy-assistant.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use-agents-data.d.ts +19 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +716 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/plate-editor/editor/plugins/block-menu-kit.d.ts +8 -8
- package/dist/internal/plate-editor/editor/plugins/block-selection-kit.d.ts +8 -8
- package/dist/stub.d.ts +7 -0
- package/dist/stub.js +10 -0
- package/dist/stub.js.map +1 -0
- package/dist/styles.css +194 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/vite.js +165 -1
- package/dist/vite.js.map +1 -1
- package/dist/worker.js +163 -1
- package/dist/worker.js.map +1 -1
- package/package.json +3 -1
- package/dist/chunk-VSTHZ22Q.js +0 -165
- package/dist/chunk-VSTHZ22Q.js.map +0 -1
|
@@ -4,6 +4,14 @@ export declare const BlockMenuKit: (import("platejs/react").PlatePlugin<import("
|
|
|
4
4
|
document?: Document;
|
|
5
5
|
} & {
|
|
6
6
|
container?: (string | HTMLElement | (string | HTMLElement)[]) | undefined;
|
|
7
|
+
features?: {
|
|
8
|
+
range?: boolean | undefined;
|
|
9
|
+
singleTap?: {
|
|
10
|
+
allow?: boolean | undefined;
|
|
11
|
+
intersect?: ("touch" | "native") | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
touch?: boolean | undefined;
|
|
14
|
+
} | undefined;
|
|
7
15
|
behaviour?: {
|
|
8
16
|
intersect?: ("center" | "touch" | "cover") | undefined;
|
|
9
17
|
overlap?: ("drop" | "invert" | "keep") | undefined;
|
|
@@ -25,14 +33,6 @@ export declare const BlockMenuKit: (import("platejs/react").PlatePlugin<import("
|
|
|
25
33
|
})[] | undefined;
|
|
26
34
|
} | undefined;
|
|
27
35
|
boundaries?: (string | HTMLElement | (string | HTMLElement)[]) | undefined;
|
|
28
|
-
features?: {
|
|
29
|
-
range?: boolean | undefined;
|
|
30
|
-
singleTap?: {
|
|
31
|
-
allow?: boolean | undefined;
|
|
32
|
-
intersect?: ("touch" | "native") | undefined;
|
|
33
|
-
} | undefined;
|
|
34
|
-
touch?: boolean | undefined;
|
|
35
|
-
} | undefined;
|
|
36
36
|
selectables?: (string | string[]) | undefined;
|
|
37
37
|
selectionAreaClass?: string | undefined;
|
|
38
38
|
startAreas?: (string | HTMLElement | (string | HTMLElement)[]) | undefined;
|
|
@@ -4,6 +4,14 @@ export declare const BlockSelectionKit: import("platejs/react").PlatePlugin<impo
|
|
|
4
4
|
document?: Document;
|
|
5
5
|
} & {
|
|
6
6
|
container?: (string | HTMLElement | (string | HTMLElement)[]) | undefined;
|
|
7
|
+
features?: {
|
|
8
|
+
range?: boolean | undefined;
|
|
9
|
+
singleTap?: {
|
|
10
|
+
allow?: boolean | undefined;
|
|
11
|
+
intersect?: ("touch" | "native") | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
touch?: boolean | undefined;
|
|
14
|
+
} | undefined;
|
|
7
15
|
behaviour?: {
|
|
8
16
|
intersect?: ("center" | "touch" | "cover") | undefined;
|
|
9
17
|
overlap?: ("drop" | "invert" | "keep") | undefined;
|
|
@@ -25,14 +33,6 @@ export declare const BlockSelectionKit: import("platejs/react").PlatePlugin<impo
|
|
|
25
33
|
})[] | undefined;
|
|
26
34
|
} | undefined;
|
|
27
35
|
boundaries?: (string | HTMLElement | (string | HTMLElement)[]) | undefined;
|
|
28
|
-
features?: {
|
|
29
|
-
range?: boolean | undefined;
|
|
30
|
-
singleTap?: {
|
|
31
|
-
allow?: boolean | undefined;
|
|
32
|
-
intersect?: ("touch" | "native") | undefined;
|
|
33
|
-
} | undefined;
|
|
34
|
-
touch?: boolean | undefined;
|
|
35
|
-
} | undefined;
|
|
36
36
|
selectables?: (string | string[]) | undefined;
|
|
37
37
|
selectionAreaClass?: string | undefined;
|
|
38
38
|
startAreas?: (string | HTMLElement | (string | HTMLElement)[]) | undefined;
|
package/dist/stub.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const DocyAssistant: null;
|
|
2
|
+
export declare const AssistantProvider: null;
|
|
3
|
+
export declare const AssistantI18nProvider: null;
|
|
4
|
+
export declare const useAssistantConfig: null;
|
|
5
|
+
export declare const useAssistantTranslation: null;
|
|
6
|
+
export type { AssistantConfig, AssistantUser } from './lib/assistant-config';
|
|
7
|
+
export type { Project, Work, WorkTypes } from './types';
|
package/dist/stub.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// src/stub.ts
|
|
2
|
+
var DocyAssistant = null;
|
|
3
|
+
var AssistantProvider = null;
|
|
4
|
+
var AssistantI18nProvider = null;
|
|
5
|
+
var useAssistantConfig = null;
|
|
6
|
+
var useAssistantTranslation = null;
|
|
7
|
+
|
|
8
|
+
export { AssistantI18nProvider, AssistantProvider, DocyAssistant, useAssistantConfig, useAssistantTranslation };
|
|
9
|
+
//# sourceMappingURL=stub.js.map
|
|
10
|
+
//# sourceMappingURL=stub.js.map
|
package/dist/stub.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/stub.ts"],"names":[],"mappings":";AAOO,IAAM,aAAA,GAAgB;AACtB,IAAM,iBAAA,GAAoB;AAC1B,IAAM,qBAAA,GAAwB;AAC9B,IAAM,kBAAA,GAAqB;AAC3B,IAAM,uBAAA,GAA0B","file":"stub.js","sourcesContent":["/*\n * Cloudflare Workers / edge-light stub for @docyrus/ui-pro-ai-assistant.\n * Served automatically via the \"workerd\" / \"edge-light\" export conditions.\n * The main entry imports browser-only packages (mermaid, @univerjs/engine-render,\n * @visactor/*, etc.) that cannot run in the Workers runtime.\n */\n\nexport const DocyAssistant = null;\nexport const AssistantProvider = null;\nexport const AssistantI18nProvider = null;\nexport const useAssistantConfig = null;\nexport const useAssistantTranslation = null;\n\nexport type { AssistantConfig, AssistantUser } from './lib/assistant-config';\nexport type { Project, Work, WorkTypes } from './types';\n"]}
|
package/dist/styles.css
CHANGED
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
--color-sky-100: oklch(95.1% 0.026 236.824);
|
|
49
49
|
--color-sky-200: oklch(90.1% 0.058 230.902);
|
|
50
50
|
--color-sky-300: oklch(82.8% 0.111 230.318);
|
|
51
|
+
--color-sky-400: oklch(74.6% 0.16 232.661);
|
|
52
|
+
--color-sky-500: oklch(68.5% 0.169 237.323);
|
|
51
53
|
--color-sky-600: oklch(58.8% 0.158 241.966);
|
|
52
54
|
--color-sky-700: oklch(50% 0.134 242.749);
|
|
53
55
|
--color-sky-900: oklch(39.1% 0.09 240.876);
|
|
@@ -64,8 +66,12 @@
|
|
|
64
66
|
--color-blue-950: oklch(28.2% 0.091 267.935);
|
|
65
67
|
--color-indigo-50: oklch(96.2% 0.018 272.314);
|
|
66
68
|
--color-indigo-100: oklch(93% 0.034 272.788);
|
|
69
|
+
--color-indigo-200: oklch(87% 0.065 274.039);
|
|
70
|
+
--color-indigo-300: oklch(78.5% 0.115 274.713);
|
|
67
71
|
--color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
68
72
|
--color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
73
|
+
--color-indigo-900: oklch(35.9% 0.144 278.697);
|
|
74
|
+
--color-indigo-950: oklch(25.7% 0.09 281.288);
|
|
69
75
|
--color-violet-100: oklch(94.3% 0.029 294.588);
|
|
70
76
|
--color-violet-200: oklch(89.4% 0.057 293.283);
|
|
71
77
|
--color-violet-600: oklch(54.1% 0.281 293.009);
|
|
@@ -82,6 +88,7 @@
|
|
|
82
88
|
--color-slate-100: oklch(96.8% 0.007 247.896);
|
|
83
89
|
--color-slate-200: oklch(92.9% 0.013 255.508);
|
|
84
90
|
--color-slate-300: oklch(86.9% 0.022 252.894);
|
|
91
|
+
--color-slate-400: oklch(70.4% 0.04 256.788);
|
|
85
92
|
--color-slate-500: oklch(55.4% 0.046 257.417);
|
|
86
93
|
--color-slate-600: oklch(44.6% 0.043 257.281);
|
|
87
94
|
--color-slate-700: oklch(37.2% 0.044 257.287);
|
|
@@ -92,6 +99,7 @@
|
|
|
92
99
|
--color-gray-300: oklch(87.2% 0.01 258.338);
|
|
93
100
|
--color-gray-400: oklch(70.7% 0.022 261.325);
|
|
94
101
|
--color-gray-500: oklch(55.1% 0.027 264.364);
|
|
102
|
+
--color-gray-600: oklch(44.6% 0.03 256.802);
|
|
95
103
|
--color-gray-700: oklch(37.3% 0.034 259.733);
|
|
96
104
|
--color-gray-900: oklch(21% 0.034 264.665);
|
|
97
105
|
--color-neutral-400: oklch(70.8% 0 0);
|
|
@@ -405,6 +413,9 @@
|
|
|
405
413
|
.bottom-\[30px\] {
|
|
406
414
|
bottom: 30px;
|
|
407
415
|
}
|
|
416
|
+
.bottom-full {
|
|
417
|
+
bottom: 100%;
|
|
418
|
+
}
|
|
408
419
|
.-left-0 {
|
|
409
420
|
left: calc(var(--spacing) * -0);
|
|
410
421
|
}
|
|
@@ -453,6 +464,9 @@
|
|
|
453
464
|
.z-1 {
|
|
454
465
|
z-index: 1;
|
|
455
466
|
}
|
|
467
|
+
.z-5 {
|
|
468
|
+
z-index: 5;
|
|
469
|
+
}
|
|
456
470
|
.z-10 {
|
|
457
471
|
z-index: 10;
|
|
458
472
|
}
|
|
@@ -570,6 +584,9 @@
|
|
|
570
584
|
.mx-4 {
|
|
571
585
|
margin-inline: calc(var(--spacing) * 4);
|
|
572
586
|
}
|
|
587
|
+
.mx-6 {
|
|
588
|
+
margin-inline: calc(var(--spacing) * 6);
|
|
589
|
+
}
|
|
573
590
|
.mx-8 {
|
|
574
591
|
margin-inline: calc(var(--spacing) * 8);
|
|
575
592
|
}
|
|
@@ -917,10 +934,18 @@
|
|
|
917
934
|
width: calc(var(--spacing) * 16);
|
|
918
935
|
height: calc(var(--spacing) * 16);
|
|
919
936
|
}
|
|
937
|
+
.size-20 {
|
|
938
|
+
width: calc(var(--spacing) * 20);
|
|
939
|
+
height: calc(var(--spacing) * 20);
|
|
940
|
+
}
|
|
920
941
|
.size-24 {
|
|
921
942
|
width: calc(var(--spacing) * 24);
|
|
922
943
|
height: calc(var(--spacing) * 24);
|
|
923
944
|
}
|
|
945
|
+
.size-28 {
|
|
946
|
+
width: calc(var(--spacing) * 28);
|
|
947
|
+
height: calc(var(--spacing) * 28);
|
|
948
|
+
}
|
|
924
949
|
.size-\[26px\] {
|
|
925
950
|
width: 26px;
|
|
926
951
|
height: 26px;
|
|
@@ -1079,6 +1104,9 @@
|
|
|
1079
1104
|
.h-auto {
|
|
1080
1105
|
height: auto;
|
|
1081
1106
|
}
|
|
1107
|
+
.h-fit {
|
|
1108
|
+
height: fit-content;
|
|
1109
|
+
}
|
|
1082
1110
|
.h-full {
|
|
1083
1111
|
height: 100%;
|
|
1084
1112
|
}
|
|
@@ -1100,6 +1128,9 @@
|
|
|
1100
1128
|
.max-h-\(--radix-select-content-available-height\) {
|
|
1101
1129
|
max-height: var(--radix-select-content-available-height);
|
|
1102
1130
|
}
|
|
1131
|
+
.max-h-34 {
|
|
1132
|
+
max-height: calc(var(--spacing) * 34);
|
|
1133
|
+
}
|
|
1103
1134
|
.max-h-40 {
|
|
1104
1135
|
max-height: calc(var(--spacing) * 40);
|
|
1105
1136
|
}
|
|
@@ -1184,12 +1215,18 @@
|
|
|
1184
1215
|
.min-h-9 {
|
|
1185
1216
|
min-height: calc(var(--spacing) * 9);
|
|
1186
1217
|
}
|
|
1218
|
+
.min-h-10 {
|
|
1219
|
+
min-height: calc(var(--spacing) * 10);
|
|
1220
|
+
}
|
|
1187
1221
|
.min-h-12 {
|
|
1188
1222
|
min-height: calc(var(--spacing) * 12);
|
|
1189
1223
|
}
|
|
1190
1224
|
.min-h-16 {
|
|
1191
1225
|
min-height: calc(var(--spacing) * 16);
|
|
1192
1226
|
}
|
|
1227
|
+
.min-h-20 {
|
|
1228
|
+
min-height: calc(var(--spacing) * 20);
|
|
1229
|
+
}
|
|
1193
1230
|
.min-h-25 {
|
|
1194
1231
|
min-height: calc(var(--spacing) * 25);
|
|
1195
1232
|
}
|
|
@@ -1442,6 +1479,9 @@
|
|
|
1442
1479
|
.max-w-2xl {
|
|
1443
1480
|
max-width: var(--container-2xl);
|
|
1444
1481
|
}
|
|
1482
|
+
.max-w-4xl {
|
|
1483
|
+
max-width: var(--container-4xl);
|
|
1484
|
+
}
|
|
1445
1485
|
.max-w-7xl {
|
|
1446
1486
|
max-width: var(--container-7xl);
|
|
1447
1487
|
}
|
|
@@ -1451,9 +1491,18 @@
|
|
|
1451
1491
|
.max-w-24 {
|
|
1452
1492
|
max-width: calc(var(--spacing) * 24);
|
|
1453
1493
|
}
|
|
1494
|
+
.max-w-64 {
|
|
1495
|
+
max-width: calc(var(--spacing) * 64);
|
|
1496
|
+
}
|
|
1454
1497
|
.max-w-96 {
|
|
1455
1498
|
max-width: calc(var(--spacing) * 96);
|
|
1456
1499
|
}
|
|
1500
|
+
.max-w-\[8rem\] {
|
|
1501
|
+
max-width: 8rem;
|
|
1502
|
+
}
|
|
1503
|
+
.max-w-\[54rem\] {
|
|
1504
|
+
max-width: 54rem;
|
|
1505
|
+
}
|
|
1457
1506
|
.max-w-\[80vw\] {
|
|
1458
1507
|
max-width: 80vw;
|
|
1459
1508
|
}
|
|
@@ -1565,6 +1614,12 @@
|
|
|
1565
1614
|
.min-w-96 {
|
|
1566
1615
|
min-width: calc(var(--spacing) * 96);
|
|
1567
1616
|
}
|
|
1617
|
+
.min-w-\[12rem\] {
|
|
1618
|
+
min-width: 12rem;
|
|
1619
|
+
}
|
|
1620
|
+
.min-w-\[15rem\] {
|
|
1621
|
+
min-width: 15rem;
|
|
1622
|
+
}
|
|
1568
1623
|
.min-w-\[80vw\] {
|
|
1569
1624
|
min-width: 80vw;
|
|
1570
1625
|
}
|
|
@@ -1586,6 +1641,9 @@
|
|
|
1586
1641
|
.min-w-\[220px\] {
|
|
1587
1642
|
min-width: 220px;
|
|
1588
1643
|
}
|
|
1644
|
+
.min-w-\[250px\] {
|
|
1645
|
+
min-width: 250px;
|
|
1646
|
+
}
|
|
1589
1647
|
.min-w-\[280px\] {
|
|
1590
1648
|
min-width: 280px;
|
|
1591
1649
|
}
|
|
@@ -2526,6 +2584,9 @@
|
|
|
2526
2584
|
.bg-gray-100 {
|
|
2527
2585
|
background-color: var(--color-gray-100);
|
|
2528
2586
|
}
|
|
2587
|
+
.bg-gray-300 {
|
|
2588
|
+
background-color: var(--color-gray-300);
|
|
2589
|
+
}
|
|
2529
2590
|
.bg-gray-300\/25 {
|
|
2530
2591
|
background-color: color-mix(in srgb, oklch(87.2% 0.01 258.338) 25%, transparent);
|
|
2531
2592
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2682,6 +2743,9 @@
|
|
|
2682
2743
|
.bg-sky-100 {
|
|
2683
2744
|
background-color: var(--color-sky-100);
|
|
2684
2745
|
}
|
|
2746
|
+
.bg-sky-500 {
|
|
2747
|
+
background-color: var(--color-sky-500);
|
|
2748
|
+
}
|
|
2685
2749
|
.bg-slate-50 {
|
|
2686
2750
|
background-color: var(--color-slate-50);
|
|
2687
2751
|
}
|
|
@@ -2700,6 +2764,10 @@
|
|
|
2700
2764
|
.bg-yellow-100 {
|
|
2701
2765
|
background-color: var(--color-yellow-100);
|
|
2702
2766
|
}
|
|
2767
|
+
.bg-gradient-to-br {
|
|
2768
|
+
--tw-gradient-position: to bottom right in oklab;
|
|
2769
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
2770
|
+
}
|
|
2703
2771
|
.bg-gradient-to-l {
|
|
2704
2772
|
--tw-gradient-position: to left in oklab;
|
|
2705
2773
|
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
@@ -2718,6 +2786,10 @@
|
|
|
2718
2786
|
--tw-gradient-from: var(--background);
|
|
2719
2787
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
2720
2788
|
}
|
|
2789
|
+
.from-sky-100 {
|
|
2790
|
+
--tw-gradient-from: var(--color-sky-100);
|
|
2791
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
2792
|
+
}
|
|
2721
2793
|
.from-transparent {
|
|
2722
2794
|
--tw-gradient-from: transparent;
|
|
2723
2795
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
@@ -2730,6 +2802,10 @@
|
|
|
2730
2802
|
--tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
|
|
2731
2803
|
--tw-gradient-stops: var(--tw-gradient-via-stops);
|
|
2732
2804
|
}
|
|
2805
|
+
.to-indigo-100 {
|
|
2806
|
+
--tw-gradient-to: var(--color-indigo-100);
|
|
2807
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
2808
|
+
}
|
|
2733
2809
|
.to-transparent {
|
|
2734
2810
|
--tw-gradient-to: transparent;
|
|
2735
2811
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
@@ -2866,6 +2942,9 @@
|
|
|
2866
2942
|
.px-6 {
|
|
2867
2943
|
padding-inline: calc(var(--spacing) * 6);
|
|
2868
2944
|
}
|
|
2945
|
+
.px-8 {
|
|
2946
|
+
padding-inline: calc(var(--spacing) * 8);
|
|
2947
|
+
}
|
|
2869
2948
|
.px-10 {
|
|
2870
2949
|
padding-inline: calc(var(--spacing) * 10);
|
|
2871
2950
|
}
|
|
@@ -3001,6 +3080,9 @@
|
|
|
3001
3080
|
.pt-4 {
|
|
3002
3081
|
padding-top: calc(var(--spacing) * 4);
|
|
3003
3082
|
}
|
|
3083
|
+
.pt-6 {
|
|
3084
|
+
padding-top: calc(var(--spacing) * 6);
|
|
3085
|
+
}
|
|
3004
3086
|
.pt-\[34px\] {
|
|
3005
3087
|
padding-top: 34px;
|
|
3006
3088
|
}
|
|
@@ -3046,6 +3128,9 @@
|
|
|
3046
3128
|
.pb-4 {
|
|
3047
3129
|
padding-bottom: calc(var(--spacing) * 4);
|
|
3048
3130
|
}
|
|
3131
|
+
.pb-6 {
|
|
3132
|
+
padding-bottom: calc(var(--spacing) * 6);
|
|
3133
|
+
}
|
|
3049
3134
|
.pb-8 {
|
|
3050
3135
|
padding-bottom: calc(var(--spacing) * 8);
|
|
3051
3136
|
}
|
|
@@ -3168,6 +3253,10 @@
|
|
|
3168
3253
|
font-size: var(--text-sm);
|
|
3169
3254
|
line-height: var(--leading-relaxed);
|
|
3170
3255
|
}
|
|
3256
|
+
.text-xl {
|
|
3257
|
+
font-size: var(--text-xl);
|
|
3258
|
+
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
3259
|
+
}
|
|
3171
3260
|
.text-xs {
|
|
3172
3261
|
font-size: var(--text-xs);
|
|
3173
3262
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
@@ -3473,6 +3562,9 @@
|
|
|
3473
3562
|
.text-sky-700 {
|
|
3474
3563
|
color: var(--color-sky-700);
|
|
3475
3564
|
}
|
|
3565
|
+
.text-slate-400 {
|
|
3566
|
+
color: var(--color-slate-400);
|
|
3567
|
+
}
|
|
3476
3568
|
.text-slate-500 {
|
|
3477
3569
|
color: var(--color-slate-500);
|
|
3478
3570
|
}
|
|
@@ -3559,6 +3651,9 @@
|
|
|
3559
3651
|
.opacity-30 {
|
|
3560
3652
|
opacity: 30%;
|
|
3561
3653
|
}
|
|
3654
|
+
.opacity-40 {
|
|
3655
|
+
opacity: 40%;
|
|
3656
|
+
}
|
|
3562
3657
|
.opacity-50 {
|
|
3563
3658
|
opacity: 50%;
|
|
3564
3659
|
}
|
|
@@ -3626,6 +3721,10 @@
|
|
|
3626
3721
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
3627
3722
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3628
3723
|
}
|
|
3724
|
+
.ring-4 {
|
|
3725
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
3726
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3727
|
+
}
|
|
3629
3728
|
.shadow-black\/5 {
|
|
3630
3729
|
--tw-shadow-color: color-mix(in srgb, #000 5%, transparent);
|
|
3631
3730
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3668,6 +3767,9 @@
|
|
|
3668
3767
|
--tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
|
|
3669
3768
|
}
|
|
3670
3769
|
}
|
|
3770
|
+
.ring-sky-400 {
|
|
3771
|
+
--tw-ring-color: var(--color-sky-400);
|
|
3772
|
+
}
|
|
3671
3773
|
.ring-offset-2 {
|
|
3672
3774
|
--tw-ring-offset-width: 2px;
|
|
3673
3775
|
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
@@ -3815,6 +3917,10 @@
|
|
|
3815
3917
|
--tw-duration: 300ms;
|
|
3816
3918
|
transition-duration: 300ms;
|
|
3817
3919
|
}
|
|
3920
|
+
.duration-500 {
|
|
3921
|
+
--tw-duration: 500ms;
|
|
3922
|
+
transition-duration: 500ms;
|
|
3923
|
+
}
|
|
3818
3924
|
.duration-700 {
|
|
3819
3925
|
--tw-duration: 700ms;
|
|
3820
3926
|
transition-duration: 700ms;
|
|
@@ -5717,6 +5823,11 @@
|
|
|
5717
5823
|
--tw-ring-color: var(--ring);
|
|
5718
5824
|
}
|
|
5719
5825
|
}
|
|
5826
|
+
.focus-within\:ring-sky-600 {
|
|
5827
|
+
&:focus-within {
|
|
5828
|
+
--tw-ring-color: var(--color-sky-600);
|
|
5829
|
+
}
|
|
5830
|
+
}
|
|
5720
5831
|
.focus-within\:ring-offset-2 {
|
|
5721
5832
|
&:focus-within {
|
|
5722
5833
|
--tw-ring-offset-width: 2px;
|
|
@@ -5879,6 +5990,13 @@
|
|
|
5879
5990
|
}
|
|
5880
5991
|
}
|
|
5881
5992
|
}
|
|
5993
|
+
.hover\:bg-indigo-200 {
|
|
5994
|
+
&:hover {
|
|
5995
|
+
@media (hover: hover) {
|
|
5996
|
+
background-color: var(--color-indigo-200);
|
|
5997
|
+
}
|
|
5998
|
+
}
|
|
5999
|
+
}
|
|
5882
6000
|
.hover\:bg-muted {
|
|
5883
6001
|
&:hover {
|
|
5884
6002
|
@media (hover: hover) {
|
|
@@ -5926,6 +6044,16 @@
|
|
|
5926
6044
|
}
|
|
5927
6045
|
}
|
|
5928
6046
|
}
|
|
6047
|
+
.hover\:bg-muted\/80 {
|
|
6048
|
+
&:hover {
|
|
6049
|
+
@media (hover: hover) {
|
|
6050
|
+
background-color: var(--muted);
|
|
6051
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6052
|
+
background-color: color-mix(in oklab, var(--muted) 80%, transparent);
|
|
6053
|
+
}
|
|
6054
|
+
}
|
|
6055
|
+
}
|
|
6056
|
+
}
|
|
5929
6057
|
.hover\:bg-primary {
|
|
5930
6058
|
&:hover {
|
|
5931
6059
|
@media (hover: hover) {
|
|
@@ -6315,6 +6443,11 @@
|
|
|
6315
6443
|
--tw-ring-color: var(--ring);
|
|
6316
6444
|
}
|
|
6317
6445
|
}
|
|
6446
|
+
.focus\:ring-sky-500 {
|
|
6447
|
+
&:focus {
|
|
6448
|
+
--tw-ring-color: var(--color-sky-500);
|
|
6449
|
+
}
|
|
6450
|
+
}
|
|
6318
6451
|
.focus\:ring-offset-2 {
|
|
6319
6452
|
&:focus {
|
|
6320
6453
|
--tw-ring-offset-width: 2px;
|
|
@@ -8738,6 +8871,12 @@
|
|
|
8738
8871
|
text-align: left;
|
|
8739
8872
|
}
|
|
8740
8873
|
}
|
|
8874
|
+
.sm\:text-base {
|
|
8875
|
+
@media (width >= 40rem) {
|
|
8876
|
+
font-size: var(--text-base);
|
|
8877
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
8878
|
+
}
|
|
8879
|
+
}
|
|
8741
8880
|
.sm\:opacity-0 {
|
|
8742
8881
|
@media (width >= 40rem) {
|
|
8743
8882
|
opacity: 0%;
|
|
@@ -9255,6 +9394,11 @@
|
|
|
9255
9394
|
}
|
|
9256
9395
|
}
|
|
9257
9396
|
}
|
|
9397
|
+
.dark\:bg-gray-600 {
|
|
9398
|
+
@media (prefers-color-scheme: dark) {
|
|
9399
|
+
background-color: var(--color-gray-600);
|
|
9400
|
+
}
|
|
9401
|
+
}
|
|
9258
9402
|
.dark\:bg-gray-900\/30 {
|
|
9259
9403
|
@media (prefers-color-scheme: dark) {
|
|
9260
9404
|
background-color: color-mix(in srgb, oklch(21% 0.034 264.665) 30%, transparent);
|
|
@@ -9271,6 +9415,19 @@
|
|
|
9271
9415
|
}
|
|
9272
9416
|
}
|
|
9273
9417
|
}
|
|
9418
|
+
.dark\:bg-indigo-950 {
|
|
9419
|
+
@media (prefers-color-scheme: dark) {
|
|
9420
|
+
background-color: var(--color-indigo-950);
|
|
9421
|
+
}
|
|
9422
|
+
}
|
|
9423
|
+
.dark\:bg-indigo-950\/50 {
|
|
9424
|
+
@media (prefers-color-scheme: dark) {
|
|
9425
|
+
background-color: color-mix(in srgb, oklch(25.7% 0.09 281.288) 50%, transparent);
|
|
9426
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9427
|
+
background-color: color-mix(in oklab, var(--color-indigo-950) 50%, transparent);
|
|
9428
|
+
}
|
|
9429
|
+
}
|
|
9430
|
+
}
|
|
9274
9431
|
.dark\:bg-input\/30 {
|
|
9275
9432
|
@media (prefers-color-scheme: dark) {
|
|
9276
9433
|
background-color: var(--input);
|
|
@@ -9332,6 +9489,24 @@
|
|
|
9332
9489
|
}
|
|
9333
9490
|
}
|
|
9334
9491
|
}
|
|
9492
|
+
.dark\:from-sky-900\/30 {
|
|
9493
|
+
@media (prefers-color-scheme: dark) {
|
|
9494
|
+
--tw-gradient-from: color-mix(in srgb, oklch(39.1% 0.09 240.876) 30%, transparent);
|
|
9495
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9496
|
+
--tw-gradient-from: color-mix(in oklab, var(--color-sky-900) 30%, transparent);
|
|
9497
|
+
}
|
|
9498
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
9499
|
+
}
|
|
9500
|
+
}
|
|
9501
|
+
.dark\:to-indigo-900\/30 {
|
|
9502
|
+
@media (prefers-color-scheme: dark) {
|
|
9503
|
+
--tw-gradient-to: color-mix(in srgb, oklch(35.9% 0.144 278.697) 30%, transparent);
|
|
9504
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9505
|
+
--tw-gradient-to: color-mix(in oklab, var(--color-indigo-900) 30%, transparent);
|
|
9506
|
+
}
|
|
9507
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
9508
|
+
}
|
|
9509
|
+
}
|
|
9335
9510
|
.dark\:\!text-\[var\(--shiki-dark\)\] {
|
|
9336
9511
|
@media (prefers-color-scheme: dark) {
|
|
9337
9512
|
color: var(--shiki-dark) !important;
|
|
@@ -9357,6 +9532,11 @@
|
|
|
9357
9532
|
color: var(--color-green-400);
|
|
9358
9533
|
}
|
|
9359
9534
|
}
|
|
9535
|
+
.dark\:text-indigo-300 {
|
|
9536
|
+
@media (prefers-color-scheme: dark) {
|
|
9537
|
+
color: var(--color-indigo-300);
|
|
9538
|
+
}
|
|
9539
|
+
}
|
|
9360
9540
|
.dark\:text-muted-foreground {
|
|
9361
9541
|
@media (prefers-color-scheme: dark) {
|
|
9362
9542
|
color: var(--muted-foreground);
|
|
@@ -9382,6 +9562,11 @@
|
|
|
9382
9562
|
color: var(--color-yellow-400);
|
|
9383
9563
|
}
|
|
9384
9564
|
}
|
|
9565
|
+
.dark\:ring-sky-600 {
|
|
9566
|
+
@media (prefers-color-scheme: dark) {
|
|
9567
|
+
--tw-ring-color: var(--color-sky-600);
|
|
9568
|
+
}
|
|
9569
|
+
}
|
|
9385
9570
|
.dark\:invert {
|
|
9386
9571
|
@media (prefers-color-scheme: dark) {
|
|
9387
9572
|
--tw-invert: invert(100%);
|
|
@@ -9420,6 +9605,15 @@
|
|
|
9420
9605
|
}
|
|
9421
9606
|
}
|
|
9422
9607
|
}
|
|
9608
|
+
.dark\:hover\:bg-indigo-900 {
|
|
9609
|
+
@media (prefers-color-scheme: dark) {
|
|
9610
|
+
&:hover {
|
|
9611
|
+
@media (hover: hover) {
|
|
9612
|
+
background-color: var(--color-indigo-900);
|
|
9613
|
+
}
|
|
9614
|
+
}
|
|
9615
|
+
}
|
|
9616
|
+
}
|
|
9423
9617
|
.dark\:hover\:bg-input\/50 {
|
|
9424
9618
|
@media (prefers-color-scheme: dark) {
|
|
9425
9619
|
&:hover {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -124,12 +124,19 @@ export interface SpeechRecognitionErrorEvent {
|
|
|
124
124
|
error: string;
|
|
125
125
|
message?: string;
|
|
126
126
|
}
|
|
127
|
+
export interface ReasoningLevel {
|
|
128
|
+
id: string;
|
|
129
|
+
name: string;
|
|
130
|
+
default?: boolean;
|
|
131
|
+
}
|
|
127
132
|
export interface Model {
|
|
128
133
|
id: string;
|
|
129
134
|
name: string;
|
|
130
135
|
provider: string;
|
|
131
136
|
providerName?: string;
|
|
132
137
|
providerLogoUrl?: string;
|
|
138
|
+
supportThinking?: boolean;
|
|
139
|
+
reasoningLevels?: ReasoningLevel[];
|
|
133
140
|
}
|
|
134
141
|
export interface Agent {
|
|
135
142
|
id: string;
|
|
@@ -223,4 +230,6 @@ export interface DocyAssistantProps {
|
|
|
223
230
|
baseAgentSelectorUrl?: string;
|
|
224
231
|
/** Called after agent selection is persisted internally, for external notification only */
|
|
225
232
|
onAgentChange?: (agentId: string, agentType: 'base' | 'deployment') => void;
|
|
233
|
+
/** Initial prompt to auto-send when the assistant opens */
|
|
234
|
+
initialPrompt?: string;
|
|
226
235
|
}
|