@copilotkit/react-ui 0.16.0 → 0.17.0-tools.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/.turbo/turbo-build.log +101 -101
- package/CHANGELOG.md +12 -0
- package/dist/lib/utils.d.ts +1 -4
- package/dist/lib/utils.js +0 -7
- package/dist/lib/utils.js.map +1 -1
- package/dist/lib/utils.mjs +0 -6
- package/dist/lib/utils.mjs.map +1 -1
- package/package.json +6 -24
- package/src/lib/utils.ts +0 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @copilotkit/react-ui@0.
|
|
2
|
+
> @copilotkit/react-ui@0.17.0-tools.0 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-ui
|
|
3
3
|
> tsup --clean
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx, src/components/index.ts, src/context/index.ts, src/hooks/index.ts, src/hooks/use-copy-to-clipboard.tsx, src/lib/utils.test.ts, src/lib/utils.ts, src/types/index.ts, src/types/types.ts, src/components/chat/Button.tsx, src/components/chat/Chat.tsx, src/components/chat/ChatContext.tsx, src/components/chat/CodeBlock.tsx, src/components/chat/Header.tsx, src/components/chat/Icons.tsx, src/components/chat/Input.tsx, src/components/chat/Markdown.tsx, src/components/chat/Messages.tsx, src/components/chat/Popup.tsx, src/components/chat/Response.tsx, src/components/chat/Sidebar.tsx, src/components/chat/Textarea.tsx, src/components/chat/Window.tsx, src/components/chat/index.tsx, src/components/chat/props.ts
|
|
@@ -14,78 +14,12 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
14
14
|
npx update-browserslist-db@latest
|
|
15
15
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
|
-
[32mCJS[39m [1mdist/index.js [22m[32m32.93 KB[39m
|
|
18
|
-
[32mCJS[39m [1mdist/components/index.js [22m[32m32.96 KB[39m
|
|
19
|
-
[32mCJS[39m [1mdist/context/index.js [22m[32m803.00 B[39m
|
|
20
|
-
[32mCJS[39m [1mdist/hooks/index.js [22m[32m797.00 B[39m
|
|
21
|
-
[32mCJS[39m [1mdist/lib/utils.test.js [22m[32m182.00 B[39m
|
|
22
|
-
[32mCJS[39m [1mdist/types/index.js [22m[32m797.00 B[39m
|
|
23
|
-
[32mCJS[39m [1mdist/components/chat/Button.js [22m[32m2.91 KB[39m
|
|
24
|
-
[32mCJS[39m [1mdist/index.css [22m[32m19.37 KB[39m
|
|
25
|
-
[32mCJS[39m [1mdist/hooks/use-copy-to-clipboard.js [22m[32m2.32 KB[39m
|
|
26
|
-
[32mCJS[39m [1mdist/lib/utils.js [22m[32m2.61 KB[39m
|
|
27
|
-
[32mCJS[39m [1mdist/types/types.js [22m[32m797.00 B[39m
|
|
28
|
-
[32mCJS[39m [1mdist/components/chat/Chat.js [22m[32m31.60 KB[39m
|
|
29
|
-
[32mCJS[39m [1mdist/components/chat/ChatContext.js [22m[32m9.01 KB[39m
|
|
30
|
-
[32mCJS[39m [1mdist/components/chat/CodeBlock.js [22m[32m9.21 KB[39m
|
|
31
|
-
[32mCJS[39m [1mdist/components/chat/Header.js [22m[32m2.63 KB[39m
|
|
32
|
-
[32mCJS[39m [1mdist/components/chat/Icons.js [22m[32m9.51 KB[39m
|
|
33
|
-
[32mCJS[39m [1mdist/components/chat/Input.js [22m[32m5.26 KB[39m
|
|
34
|
-
[32mCJS[39m [1mdist/components/chat/Markdown.js [22m[32m11.00 KB[39m
|
|
35
|
-
[32mCJS[39m [1mdist/components/chat/Messages.js [22m[32m13.97 KB[39m
|
|
36
|
-
[32mCJS[39m [1mdist/components/chat/Popup.js [22m[32m32.00 KB[39m
|
|
37
|
-
[32mCJS[39m [1mdist/components/chat/Response.js [22m[32m2.67 KB[39m
|
|
38
|
-
[32mCJS[39m [1mdist/components/chat/Sidebar.js [22m[32m32.55 KB[39m
|
|
39
|
-
[32mCJS[39m [1mdist/components/chat/Textarea.js [22m[32m2.51 KB[39m
|
|
40
|
-
[32mCJS[39m [1mdist/components/chat/Window.js [22m[32m5.46 KB[39m
|
|
41
|
-
[32mCJS[39m [1mdist/components/chat/index.js [22m[32m32.95 KB[39m
|
|
42
|
-
[32mCJS[39m [1mdist/components/chat/props.js [22m[32m807.00 B[39m
|
|
43
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m51.22 KB[39m
|
|
44
|
-
[32mCJS[39m [1mdist/components/index.js.map [22m[32m51.15 KB[39m
|
|
45
|
-
[32mCJS[39m [1mdist/context/index.js.map [22m[32m139.00 B[39m
|
|
46
|
-
[32mCJS[39m [1mdist/hooks/index.js.map [22m[32m137.00 B[39m
|
|
47
|
-
[32mCJS[39m [1mdist/lib/utils.test.js.map [22m[32m352.00 B[39m
|
|
48
|
-
[32mCJS[39m [1mdist/types/index.js.map [22m[32m137.00 B[39m
|
|
49
|
-
[32mCJS[39m [1mdist/components/chat/Button.js.map [22m[32m5.70 KB[39m
|
|
50
|
-
[32mCJS[39m [1mdist/index.css.map [22m[32m30.37 KB[39m
|
|
51
|
-
[32mCJS[39m [1mdist/hooks/use-copy-to-clipboard.js.map [22m[32m1.23 KB[39m
|
|
52
|
-
[32mCJS[39m [1mdist/lib/utils.js.map [22m[32m1.81 KB[39m
|
|
53
|
-
[32mCJS[39m [1mdist/types/types.js.map [22m[32m478.00 B[39m
|
|
54
|
-
[32mCJS[39m [1mdist/components/chat/Chat.js.map [22m[32m49.30 KB[39m
|
|
55
|
-
[32mCJS[39m [1mdist/components/chat/ChatContext.js.map [22m[32m12.69 KB[39m
|
|
56
|
-
[32mCJS[39m [1mdist/components/chat/CodeBlock.js.map [22m[32m13.35 KB[39m
|
|
57
|
-
[32mCJS[39m [1mdist/components/chat/Header.js.map [22m[32m5.19 KB[39m
|
|
58
|
-
[32mCJS[39m [1mdist/components/chat/Icons.js.map [22m[32m8.55 KB[39m
|
|
59
|
-
[32mCJS[39m [1mdist/components/chat/Input.js.map [22m[32m9.75 KB[39m
|
|
60
|
-
[32mCJS[39m [1mdist/components/chat/Markdown.js.map [22m[32m16.13 KB[39m
|
|
61
|
-
[32mCJS[39m [1mdist/components/chat/Messages.js.map [22m[32m25.57 KB[39m
|
|
62
|
-
[32mCJS[39m [1mdist/components/chat/Popup.js.map [22m[32m49.80 KB[39m
|
|
63
|
-
[32mCJS[39m [1mdist/components/chat/Response.js.map [22m[32m5.27 KB[39m
|
|
64
|
-
[32mCJS[39m [1mdist/components/chat/Sidebar.js.map [22m[32m50.62 KB[39m
|
|
65
|
-
[32mCJS[39m [1mdist/components/chat/Textarea.js.map [22m[32m2.83 KB[39m
|
|
66
|
-
[32mCJS[39m [1mdist/components/chat/Window.js.map [22m[32m6.76 KB[39m
|
|
67
|
-
[32mCJS[39m [1mdist/components/chat/index.js.map [22m[32m51.29 KB[39m
|
|
68
|
-
[32mCJS[39m [1mdist/components/chat/props.js.map [22m[32m884.00 B[39m
|
|
69
|
-
[32mCJS[39m ⚡️ Build success in 1506ms
|
|
70
|
-
[32mESM[39m [1mdist/components/chat/props.mjs [22m[32m69.00 B[39m
|
|
71
|
-
[32mESM[39m [1mdist/components/chat/Markdown.mjs [22m[32m255.00 B[39m
|
|
72
|
-
[32mESM[39m [1mdist/components/chat/Messages.mjs [22m[32m325.00 B[39m
|
|
73
|
-
[32mESM[39m [1mdist/components/chat/Popup.mjs [22m[32m610.00 B[39m
|
|
74
|
-
[32mESM[39m [1mdist/components/chat/Response.mjs [22m[32m232.00 B[39m
|
|
75
|
-
[32mESM[39m [1mdist/components/chat/Sidebar.mjs [22m[32m616.00 B[39m
|
|
76
|
-
[32mESM[39m [1mdist/components/chat/Textarea.mjs [22m[32m177.00 B[39m
|
|
77
|
-
[32mESM[39m [1mdist/components/chat/Window.mjs [22m[32m144.00 B[39m
|
|
78
|
-
[32mESM[39m [1mdist/components/chat/index.mjs [22m[32m759.00 B[39m
|
|
79
|
-
[32mESM[39m [1mdist/types/types.mjs [22m[32m34.00 B[39m
|
|
80
|
-
[32mESM[39m [1mdist/components/chat/Button.mjs [22m[32m214.00 B[39m
|
|
81
|
-
[32mESM[39m [1mdist/components/chat/Chat.mjs [22m[32m572.00 B[39m
|
|
82
|
-
[32mESM[39m [1mdist/components/chat/ChatContext.mjs [22m[32m276.00 B[39m
|
|
83
|
-
[32mESM[39m [1mdist/components/chat/CodeBlock.mjs [22m[32m333.00 B[39m
|
|
84
|
-
[32mESM[39m [1mdist/components/chat/Header.mjs [22m[32m214.00 B[39m
|
|
85
|
-
[32mESM[39m [1mdist/components/chat/Icons.mjs [22m[32m439.00 B[39m
|
|
86
|
-
[32mESM[39m [1mdist/components/chat/Input.mjs [22m[32m246.00 B[39m
|
|
87
17
|
[32mESM[39m [1mdist/index.mjs [22m[32m811.00 B[39m
|
|
88
18
|
[32mESM[39m [1mdist/components/index.mjs [22m[32m737.00 B[39m
|
|
19
|
+
[32mESM[39m [1mdist/context/index.mjs [22m[32m66.00 B[39m
|
|
20
|
+
[32mESM[39m [1mdist/hooks/index.mjs [22m[32m66.00 B[39m
|
|
21
|
+
[32mESM[39m [1mdist/lib/utils.test.mjs [22m[32m168.00 B[39m
|
|
22
|
+
[32mESM[39m [1mdist/types/index.mjs [22m[32m66.00 B[39m
|
|
89
23
|
[32mESM[39m [1mdist/chunk-JD7BAH7U.mjs [22m[32m43.00 B[39m
|
|
90
24
|
[32mESM[39m [1mdist/chunk-P4GBO6MW.mjs [22m[32m43.00 B[39m
|
|
91
25
|
[32mESM[39m [1mdist/chunk-WB3YULQ4.mjs [22m[32m43.00 B[39m
|
|
@@ -103,37 +37,37 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
103
37
|
[32mESM[39m [1mdist/chunk-WM6BS77F.mjs [22m[32m1.54 KB[39m
|
|
104
38
|
[32mESM[39m [1mdist/chunk-OF66AL5Z.mjs [22m[32m1.73 KB[39m
|
|
105
39
|
[32mESM[39m [1mdist/chunk-7YXG7D47.mjs [22m[32m6.52 KB[39m
|
|
106
|
-
[32mESM[39m [1mdist/context/index.mjs [22m[32m66.00 B[39m
|
|
107
40
|
[32mESM[39m [1mdist/chunk-IU3WTXLQ.mjs [22m[32m43.00 B[39m
|
|
108
|
-
[32mESM[39m [1mdist/hooks/index.mjs [22m[32m66.00 B[39m
|
|
109
41
|
[32mESM[39m [1mdist/chunk-H4VKQGVU.mjs [22m[32m43.00 B[39m
|
|
110
42
|
[32mESM[39m [1mdist/hooks/use-copy-to-clipboard.mjs [22m[32m191.00 B[39m
|
|
111
43
|
[32mESM[39m [1mdist/chunk-POVINPXX.mjs [22m[32m675.00 B[39m
|
|
112
|
-
[32mESM[39m [1mdist/lib/utils.
|
|
113
|
-
[32mESM[39m [1mdist/lib/utils.mjs [22m[32m1021.00 B[39m
|
|
44
|
+
[32mESM[39m [1mdist/lib/utils.mjs [22m[32m885.00 B[39m
|
|
114
45
|
[32mESM[39m [1mdist/chunk-MRXNTQOX.mjs [22m[32m1.89 KB[39m
|
|
115
|
-
[32mESM[39m [1mdist/types/index.mjs [22m[32m66.00 B[39m
|
|
116
46
|
[32mESM[39m [1mdist/chunk-7NSRDJ5C.mjs [22m[32m43.00 B[39m
|
|
117
47
|
[32mESM[39m [1mdist/index.css [22m[32m19.37 KB[39m
|
|
118
|
-
[32mESM[39m [1mdist/components/chat/props.mjs
|
|
119
|
-
[32mESM[39m [1mdist/components/chat/Markdown.mjs
|
|
120
|
-
[32mESM[39m [1mdist/components/chat/Messages.mjs
|
|
121
|
-
[32mESM[39m [1mdist/components/chat/Popup.mjs
|
|
122
|
-
[32mESM[39m [1mdist/components/chat/Response.mjs
|
|
123
|
-
[32mESM[39m [1mdist/components/chat/Sidebar.mjs
|
|
124
|
-
[32mESM[39m [1mdist/components/chat/Textarea.mjs
|
|
125
|
-
[32mESM[39m [1mdist/components/chat/Window.mjs
|
|
126
|
-
[32mESM[39m [1mdist/components/chat/index.mjs
|
|
127
|
-
[32mESM[39m [1mdist/types/types.mjs
|
|
128
|
-
[32mESM[39m [1mdist/components/chat/Button.mjs
|
|
129
|
-
[32mESM[39m [1mdist/components/chat/Chat.mjs
|
|
130
|
-
[32mESM[39m [1mdist/components/chat/ChatContext.mjs
|
|
131
|
-
[32mESM[39m [1mdist/components/chat/CodeBlock.mjs
|
|
132
|
-
[32mESM[39m [1mdist/components/chat/Header.mjs
|
|
133
|
-
[32mESM[39m [1mdist/components/chat/Icons.mjs
|
|
134
|
-
[32mESM[39m [1mdist/components/chat/Input.mjs
|
|
48
|
+
[32mESM[39m [1mdist/components/chat/props.mjs [22m[32m69.00 B[39m
|
|
49
|
+
[32mESM[39m [1mdist/components/chat/Markdown.mjs [22m[32m255.00 B[39m
|
|
50
|
+
[32mESM[39m [1mdist/components/chat/Messages.mjs [22m[32m325.00 B[39m
|
|
51
|
+
[32mESM[39m [1mdist/components/chat/Popup.mjs [22m[32m610.00 B[39m
|
|
52
|
+
[32mESM[39m [1mdist/components/chat/Response.mjs [22m[32m232.00 B[39m
|
|
53
|
+
[32mESM[39m [1mdist/components/chat/Sidebar.mjs [22m[32m616.00 B[39m
|
|
54
|
+
[32mESM[39m [1mdist/components/chat/Textarea.mjs [22m[32m177.00 B[39m
|
|
55
|
+
[32mESM[39m [1mdist/components/chat/Window.mjs [22m[32m144.00 B[39m
|
|
56
|
+
[32mESM[39m [1mdist/components/chat/index.mjs [22m[32m759.00 B[39m
|
|
57
|
+
[32mESM[39m [1mdist/types/types.mjs [22m[32m34.00 B[39m
|
|
58
|
+
[32mESM[39m [1mdist/components/chat/Button.mjs [22m[32m214.00 B[39m
|
|
59
|
+
[32mESM[39m [1mdist/components/chat/Chat.mjs [22m[32m572.00 B[39m
|
|
60
|
+
[32mESM[39m [1mdist/components/chat/ChatContext.mjs [22m[32m276.00 B[39m
|
|
61
|
+
[32mESM[39m [1mdist/components/chat/CodeBlock.mjs [22m[32m333.00 B[39m
|
|
62
|
+
[32mESM[39m [1mdist/components/chat/Header.mjs [22m[32m214.00 B[39m
|
|
63
|
+
[32mESM[39m [1mdist/components/chat/Icons.mjs [22m[32m439.00 B[39m
|
|
64
|
+
[32mESM[39m [1mdist/components/chat/Input.mjs [22m[32m246.00 B[39m
|
|
135
65
|
[32mESM[39m [1mdist/index.mjs.map [22m[32m71.00 B[39m
|
|
136
66
|
[32mESM[39m [1mdist/components/index.mjs.map [22m[32m71.00 B[39m
|
|
67
|
+
[32mESM[39m [1mdist/context/index.mjs.map [22m[32m71.00 B[39m
|
|
68
|
+
[32mESM[39m [1mdist/hooks/index.mjs.map [22m[32m71.00 B[39m
|
|
69
|
+
[32mESM[39m [1mdist/lib/utils.test.mjs.map [22m[32m350.00 B[39m
|
|
70
|
+
[32mESM[39m [1mdist/types/index.mjs.map [22m[32m71.00 B[39m
|
|
137
71
|
[32mESM[39m [1mdist/chunk-JD7BAH7U.mjs.map [22m[32m71.00 B[39m
|
|
138
72
|
[32mESM[39m [1mdist/chunk-P4GBO6MW.mjs.map [22m[32m71.00 B[39m
|
|
139
73
|
[32mESM[39m [1mdist/chunk-WB3YULQ4.mjs.map [22m[32m71.00 B[39m
|
|
@@ -151,20 +85,86 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
151
85
|
[32mESM[39m [1mdist/chunk-WM6BS77F.mjs.map [22m[32m2.80 KB[39m
|
|
152
86
|
[32mESM[39m [1mdist/chunk-OF66AL5Z.mjs.map [22m[32m4.97 KB[39m
|
|
153
87
|
[32mESM[39m [1mdist/chunk-7YXG7D47.mjs.map [22m[32m8.44 KB[39m
|
|
154
|
-
[32mESM[39m [1mdist/context/index.mjs.map [22m[32m71.00 B[39m
|
|
155
88
|
[32mESM[39m [1mdist/chunk-IU3WTXLQ.mjs.map [22m[32m71.00 B[39m
|
|
156
|
-
[32mESM[39m [1mdist/hooks/index.mjs.map [22m[32m71.00 B[39m
|
|
157
89
|
[32mESM[39m [1mdist/chunk-H4VKQGVU.mjs.map [22m[32m71.00 B[39m
|
|
158
90
|
[32mESM[39m [1mdist/hooks/use-copy-to-clipboard.mjs.map [22m[32m71.00 B[39m
|
|
159
91
|
[32mESM[39m [1mdist/chunk-POVINPXX.mjs.map [22m[32m1.18 KB[39m
|
|
160
|
-
[32mESM[39m [1mdist/lib/utils.
|
|
161
|
-
[32mESM[39m [1mdist/lib/utils.mjs.map [22m[32m1.75 KB[39m
|
|
92
|
+
[32mESM[39m [1mdist/lib/utils.mjs.map [22m[32m1.49 KB[39m
|
|
162
93
|
[32mESM[39m [1mdist/chunk-MRXNTQOX.mjs.map [22m[32m71.00 B[39m
|
|
163
|
-
[32mESM[39m [1mdist/types/index.mjs.map [22m[32m71.00 B[39m
|
|
164
94
|
[32mESM[39m [1mdist/chunk-7NSRDJ5C.mjs.map [22m[32m71.00 B[39m
|
|
165
95
|
[32mESM[39m [1mdist/index.css.map [22m[32m30.37 KB[39m
|
|
166
|
-
[32mESM[39m
|
|
167
|
-
[
|
|
96
|
+
[32mESM[39m [1mdist/components/chat/props.mjs.map [22m[32m71.00 B[39m
|
|
97
|
+
[32mESM[39m [1mdist/components/chat/Markdown.mjs.map [22m[32m71.00 B[39m
|
|
98
|
+
[32mESM[39m [1mdist/components/chat/Messages.mjs.map [22m[32m71.00 B[39m
|
|
99
|
+
[32mESM[39m [1mdist/components/chat/Popup.mjs.map [22m[32m71.00 B[39m
|
|
100
|
+
[32mESM[39m [1mdist/components/chat/Response.mjs.map [22m[32m71.00 B[39m
|
|
101
|
+
[32mESM[39m [1mdist/components/chat/Sidebar.mjs.map [22m[32m71.00 B[39m
|
|
102
|
+
[32mESM[39m [1mdist/components/chat/Textarea.mjs.map [22m[32m71.00 B[39m
|
|
103
|
+
[32mESM[39m [1mdist/components/chat/Window.mjs.map [22m[32m71.00 B[39m
|
|
104
|
+
[32mESM[39m [1mdist/components/chat/index.mjs.map [22m[32m71.00 B[39m
|
|
105
|
+
[32mESM[39m [1mdist/types/types.mjs.map [22m[32m71.00 B[39m
|
|
106
|
+
[32mESM[39m [1mdist/components/chat/Button.mjs.map [22m[32m71.00 B[39m
|
|
107
|
+
[32mESM[39m [1mdist/components/chat/Chat.mjs.map [22m[32m71.00 B[39m
|
|
108
|
+
[32mESM[39m [1mdist/components/chat/ChatContext.mjs.map [22m[32m71.00 B[39m
|
|
109
|
+
[32mESM[39m [1mdist/components/chat/CodeBlock.mjs.map [22m[32m71.00 B[39m
|
|
110
|
+
[32mESM[39m [1mdist/components/chat/Header.mjs.map [22m[32m71.00 B[39m
|
|
111
|
+
[32mESM[39m [1mdist/components/chat/Icons.mjs.map [22m[32m71.00 B[39m
|
|
112
|
+
[32mESM[39m [1mdist/components/chat/Input.mjs.map [22m[32m71.00 B[39m
|
|
113
|
+
[32mESM[39m ⚡️ Build success in 1415ms
|
|
114
|
+
[32mCJS[39m [1mdist/index.js [22m[32m32.93 KB[39m
|
|
115
|
+
[32mCJS[39m [1mdist/index.css [22m[32m19.37 KB[39m
|
|
116
|
+
[32mCJS[39m [1mdist/components/index.js [22m[32m32.96 KB[39m
|
|
117
|
+
[32mCJS[39m [1mdist/context/index.js [22m[32m803.00 B[39m
|
|
118
|
+
[32mCJS[39m [1mdist/hooks/index.js [22m[32m797.00 B[39m
|
|
119
|
+
[32mCJS[39m [1mdist/hooks/use-copy-to-clipboard.js [22m[32m2.32 KB[39m
|
|
120
|
+
[32mCJS[39m [1mdist/lib/utils.test.js [22m[32m182.00 B[39m
|
|
121
|
+
[32mCJS[39m [1mdist/lib/utils.js [22m[32m2.40 KB[39m
|
|
122
|
+
[32mCJS[39m [1mdist/types/index.js [22m[32m797.00 B[39m
|
|
123
|
+
[32mCJS[39m [1mdist/types/types.js [22m[32m797.00 B[39m
|
|
124
|
+
[32mCJS[39m [1mdist/components/chat/Button.js [22m[32m2.91 KB[39m
|
|
125
|
+
[32mCJS[39m [1mdist/components/chat/Chat.js [22m[32m31.60 KB[39m
|
|
126
|
+
[32mCJS[39m [1mdist/components/chat/ChatContext.js [22m[32m9.01 KB[39m
|
|
127
|
+
[32mCJS[39m [1mdist/components/chat/CodeBlock.js [22m[32m9.21 KB[39m
|
|
128
|
+
[32mCJS[39m [1mdist/components/chat/Header.js [22m[32m2.63 KB[39m
|
|
129
|
+
[32mCJS[39m [1mdist/components/chat/Icons.js [22m[32m9.51 KB[39m
|
|
130
|
+
[32mCJS[39m [1mdist/components/chat/Input.js [22m[32m5.26 KB[39m
|
|
131
|
+
[32mCJS[39m [1mdist/components/chat/Markdown.js [22m[32m11.00 KB[39m
|
|
132
|
+
[32mCJS[39m [1mdist/components/chat/Messages.js [22m[32m13.97 KB[39m
|
|
133
|
+
[32mCJS[39m [1mdist/components/chat/Popup.js [22m[32m32.00 KB[39m
|
|
134
|
+
[32mCJS[39m [1mdist/components/chat/Response.js [22m[32m2.67 KB[39m
|
|
135
|
+
[32mCJS[39m [1mdist/components/chat/Sidebar.js [22m[32m32.55 KB[39m
|
|
136
|
+
[32mCJS[39m [1mdist/components/chat/Textarea.js [22m[32m2.51 KB[39m
|
|
137
|
+
[32mCJS[39m [1mdist/components/chat/Window.js [22m[32m5.46 KB[39m
|
|
138
|
+
[32mCJS[39m [1mdist/components/chat/index.js [22m[32m32.95 KB[39m
|
|
139
|
+
[32mCJS[39m [1mdist/components/chat/props.js [22m[32m807.00 B[39m
|
|
140
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m51.22 KB[39m
|
|
141
|
+
[32mCJS[39m [1mdist/index.css.map [22m[32m30.37 KB[39m
|
|
142
|
+
[32mCJS[39m [1mdist/components/index.js.map [22m[32m51.15 KB[39m
|
|
143
|
+
[32mCJS[39m [1mdist/context/index.js.map [22m[32m139.00 B[39m
|
|
144
|
+
[32mCJS[39m [1mdist/hooks/index.js.map [22m[32m137.00 B[39m
|
|
145
|
+
[32mCJS[39m [1mdist/hooks/use-copy-to-clipboard.js.map [22m[32m1.23 KB[39m
|
|
146
|
+
[32mCJS[39m [1mdist/lib/utils.test.js.map [22m[32m352.00 B[39m
|
|
147
|
+
[32mCJS[39m [1mdist/lib/utils.js.map [22m[32m1.55 KB[39m
|
|
148
|
+
[32mCJS[39m [1mdist/types/index.js.map [22m[32m137.00 B[39m
|
|
149
|
+
[32mCJS[39m [1mdist/types/types.js.map [22m[32m478.00 B[39m
|
|
150
|
+
[32mCJS[39m [1mdist/components/chat/Button.js.map [22m[32m5.70 KB[39m
|
|
151
|
+
[32mCJS[39m [1mdist/components/chat/Chat.js.map [22m[32m49.30 KB[39m
|
|
152
|
+
[32mCJS[39m [1mdist/components/chat/ChatContext.js.map [22m[32m12.69 KB[39m
|
|
153
|
+
[32mCJS[39m [1mdist/components/chat/CodeBlock.js.map [22m[32m13.35 KB[39m
|
|
154
|
+
[32mCJS[39m [1mdist/components/chat/Header.js.map [22m[32m5.19 KB[39m
|
|
155
|
+
[32mCJS[39m [1mdist/components/chat/Icons.js.map [22m[32m8.55 KB[39m
|
|
156
|
+
[32mCJS[39m [1mdist/components/chat/Input.js.map [22m[32m9.75 KB[39m
|
|
157
|
+
[32mCJS[39m [1mdist/components/chat/Markdown.js.map [22m[32m16.13 KB[39m
|
|
158
|
+
[32mCJS[39m [1mdist/components/chat/Messages.js.map [22m[32m25.57 KB[39m
|
|
159
|
+
[32mCJS[39m [1mdist/components/chat/Popup.js.map [22m[32m49.80 KB[39m
|
|
160
|
+
[32mCJS[39m [1mdist/components/chat/Response.js.map [22m[32m5.27 KB[39m
|
|
161
|
+
[32mCJS[39m [1mdist/components/chat/Sidebar.js.map [22m[32m50.62 KB[39m
|
|
162
|
+
[32mCJS[39m [1mdist/components/chat/Textarea.js.map [22m[32m2.83 KB[39m
|
|
163
|
+
[32mCJS[39m [1mdist/components/chat/Window.js.map [22m[32m6.76 KB[39m
|
|
164
|
+
[32mCJS[39m [1mdist/components/chat/index.js.map [22m[32m51.29 KB[39m
|
|
165
|
+
[32mCJS[39m [1mdist/components/chat/props.js.map [22m[32m884.00 B[39m
|
|
166
|
+
[32mCJS[39m ⚡️ Build success in 1481ms
|
|
167
|
+
[32mDTS[39m ⚡️ Build success in 6165ms
|
|
168
168
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m411.00 B[39m
|
|
169
169
|
[32mDTS[39m [1mdist/components/chat/props.d.ts [22m[32m794.00 B[39m
|
|
170
170
|
[32mDTS[39m [1mdist/components/chat/Popup.d.ts [22m[32m269.00 B[39m
|
|
@@ -176,7 +176,7 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
176
176
|
[32mDTS[39m [1mdist/hooks/index.d.ts [22m[32m12.00 B[39m
|
|
177
177
|
[32mDTS[39m [1mdist/hooks/use-copy-to-clipboard.d.ts [22m[32m266.00 B[39m
|
|
178
178
|
[32mDTS[39m [1mdist/lib/utils.test.d.ts [22m[32m12.00 B[39m
|
|
179
|
-
[32mDTS[39m [1mdist/lib/utils.d.ts [22m[
|
|
179
|
+
[32mDTS[39m [1mdist/lib/utils.d.ts [22m[32m263.00 B[39m
|
|
180
180
|
[32mDTS[39m [1mdist/types/index.d.ts [22m[32m12.00 B[39m
|
|
181
181
|
[32mDTS[39m [1mdist/types/types.d.ts [22m[32m351.00 B[39m
|
|
182
182
|
[32mDTS[39m [1mdist/components/chat/Button.d.ts [22m[32m163.00 B[39m
|
package/CHANGELOG.md
CHANGED
package/dist/lib/utils.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { ClassValue } from 'clsx';
|
|
2
|
-
|
|
3
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
4
1
|
declare const nanoid: (size?: number | undefined) => string;
|
|
5
2
|
declare function fetcher<JSON = any>(input: RequestInfo, init?: RequestInit): Promise<JSON>;
|
|
6
3
|
declare function formatDate(input: string | number | Date): string;
|
|
7
4
|
|
|
8
|
-
export {
|
|
5
|
+
export { fetcher, formatDate, nanoid };
|
package/dist/lib/utils.js
CHANGED
|
@@ -40,18 +40,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
40
40
|
// src/lib/utils.ts
|
|
41
41
|
var utils_exports = {};
|
|
42
42
|
__export(utils_exports, {
|
|
43
|
-
cn: () => cn,
|
|
44
43
|
fetcher: () => fetcher,
|
|
45
44
|
formatDate: () => formatDate,
|
|
46
45
|
nanoid: () => nanoid
|
|
47
46
|
});
|
|
48
47
|
module.exports = __toCommonJS(utils_exports);
|
|
49
|
-
var import_clsx = require("clsx");
|
|
50
48
|
var import_nanoid = require("nanoid");
|
|
51
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
52
|
-
function cn(...inputs) {
|
|
53
|
-
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
54
|
-
}
|
|
55
49
|
var nanoid = (0, import_nanoid.customAlphabet)(
|
|
56
50
|
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
|
57
51
|
7
|
|
@@ -82,7 +76,6 @@ function formatDate(input) {
|
|
|
82
76
|
}
|
|
83
77
|
// Annotate the CommonJS export names for ESM import in node:
|
|
84
78
|
0 && (module.exports = {
|
|
85
|
-
cn,
|
|
86
79
|
fetcher,
|
|
87
80
|
formatDate,
|
|
88
81
|
nanoid
|
package/dist/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/lib/utils.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../../src/lib/utils.ts"],"sourcesContent":["import { customAlphabet } from \"nanoid\";\n\nexport const nanoid = customAlphabet(\n \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\",\n 7,\n); // 7-character random string\n\nexport async function fetcher<JSON = any>(input: RequestInfo, init?: RequestInit): Promise<JSON> {\n const res = await fetch(input, init);\n\n if (!res.ok) {\n const json = await res.json();\n if (json.error) {\n const error = new Error(json.error) as Error & {\n status: number;\n };\n error.status = res.status;\n throw error;\n } else {\n throw new Error(\"An unexpected error occurred\");\n }\n }\n\n return res.json();\n}\n\nexport function formatDate(input: string | number | Date): string {\n const date = new Date(input);\n return date.toLocaleDateString(\"en-US\", {\n month: \"long\",\n day: \"numeric\",\n year: \"numeric\",\n });\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA+B;AAExB,IAAM,aAAS;AAAA,EACpB;AAAA,EACA;AACF;AAEA,SAAsB,QAAoB,OAAoB,MAAmC;AAAA;AAC/F,UAAM,MAAM,MAAM,MAAM,OAAO,IAAI;AAEnC,QAAI,CAAC,IAAI,IAAI;AACX,YAAM,OAAO,MAAM,IAAI,KAAK;AAC5B,UAAI,KAAK,OAAO;AACd,cAAM,QAAQ,IAAI,MAAM,KAAK,KAAK;AAGlC,cAAM,SAAS,IAAI;AACnB,cAAM;AAAA,MACR,OAAO;AACL,cAAM,IAAI,MAAM,8BAA8B;AAAA,MAChD;AAAA,IACF;AAEA,WAAO,IAAI,KAAK;AAAA,EAClB;AAAA;AAEO,SAAS,WAAW,OAAuC;AAChE,QAAM,OAAO,IAAI,KAAK,KAAK;AAC3B,SAAO,KAAK,mBAAmB,SAAS;AAAA,IACtC,OAAO;AAAA,IACP,KAAK;AAAA,IACL,MAAM;AAAA,EACR,CAAC;AACH;","names":[]}
|
package/dist/lib/utils.mjs
CHANGED
|
@@ -3,12 +3,7 @@ import {
|
|
|
3
3
|
} from "../chunk-MRXNTQOX.mjs";
|
|
4
4
|
|
|
5
5
|
// src/lib/utils.ts
|
|
6
|
-
import { clsx } from "clsx";
|
|
7
6
|
import { customAlphabet } from "nanoid";
|
|
8
|
-
import { twMerge } from "tailwind-merge";
|
|
9
|
-
function cn(...inputs) {
|
|
10
|
-
return twMerge(clsx(inputs));
|
|
11
|
-
}
|
|
12
7
|
var nanoid = customAlphabet(
|
|
13
8
|
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
|
14
9
|
7
|
|
@@ -38,7 +33,6 @@ function formatDate(input) {
|
|
|
38
33
|
});
|
|
39
34
|
}
|
|
40
35
|
export {
|
|
41
|
-
cn,
|
|
42
36
|
fetcher,
|
|
43
37
|
formatDate,
|
|
44
38
|
nanoid
|
package/dist/lib/utils.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/lib/utils.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../../src/lib/utils.ts"],"sourcesContent":["import { customAlphabet } from \"nanoid\";\n\nexport const nanoid = customAlphabet(\n \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\",\n 7,\n); // 7-character random string\n\nexport async function fetcher<JSON = any>(input: RequestInfo, init?: RequestInit): Promise<JSON> {\n const res = await fetch(input, init);\n\n if (!res.ok) {\n const json = await res.json();\n if (json.error) {\n const error = new Error(json.error) as Error & {\n status: number;\n };\n error.status = res.status;\n throw error;\n } else {\n throw new Error(\"An unexpected error occurred\");\n }\n }\n\n return res.json();\n}\n\nexport function formatDate(input: string | number | Date): string {\n const date = new Date(input);\n return date.toLocaleDateString(\"en-US\", {\n month: \"long\",\n day: \"numeric\",\n year: \"numeric\",\n });\n}\n"],"mappings":";;;;;AAAA,SAAS,sBAAsB;AAExB,IAAM,SAAS;AAAA,EACpB;AAAA,EACA;AACF;AAEA,SAAsB,QAAoB,OAAoB,MAAmC;AAAA;AAC/F,UAAM,MAAM,MAAM,MAAM,OAAO,IAAI;AAEnC,QAAI,CAAC,IAAI,IAAI;AACX,YAAM,OAAO,MAAM,IAAI,KAAK;AAC5B,UAAI,KAAK,OAAO;AACd,cAAM,QAAQ,IAAI,MAAM,KAAK,KAAK;AAGlC,cAAM,SAAS,IAAI;AACnB,cAAM;AAAA,MACR,OAAO;AACL,cAAM,IAAI,MAAM,8BAA8B;AAAA,MAChD;AAAA,IACF;AAEA,WAAO,IAAI,KAAK;AAAA,EAClB;AAAA;AAEO,SAAS,WAAW,OAAuC;AAChE,QAAM,OAAO,IAAI,KAAK,KAAK;AAC3B,SAAO,KAAK,mBAAmB,SAAS;AAAA,IACtC,OAAO;AAAA,IACP,KAAK;AAAA,IACL,MAAM;AAAA,EACR,CAAC;AACH;","names":[]}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.17.0-tools.0",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"**/*.css"
|
|
10
10
|
],
|
|
@@ -31,36 +31,18 @@
|
|
|
31
31
|
"ts-jest": "^29.1.1",
|
|
32
32
|
"tsup": "^6.7.0",
|
|
33
33
|
"typescript": "^5.1.3",
|
|
34
|
-
"eslint-config-custom": "0.
|
|
35
|
-
"tailwind-config": "0.
|
|
36
|
-
"tsconfig": "0.
|
|
34
|
+
"eslint-config-custom": "0.5.0-tools.0",
|
|
35
|
+
"tailwind-config": "0.4.0-tools.0",
|
|
36
|
+
"tsconfig": "0.9.0-tools.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@heroicons/react": "^2.0.18",
|
|
40
|
-
"@radix-ui/react-alert-dialog": "^1.0.4",
|
|
41
|
-
"@radix-ui/react-dialog": "^1.0.4",
|
|
42
|
-
"@radix-ui/react-dropdown-menu": "^2.0.5",
|
|
43
|
-
"@radix-ui/react-label": "^2.0.2",
|
|
44
|
-
"@radix-ui/react-select": "^1.2.2",
|
|
45
|
-
"@radix-ui/react-separator": "^1.0.3",
|
|
46
|
-
"@radix-ui/react-slot": "^1.0.2",
|
|
47
|
-
"@radix-ui/react-switch": "^1.0.3",
|
|
48
|
-
"@radix-ui/react-tooltip": "^1.0.6",
|
|
49
|
-
"class-variance-authority": "^0.6.1",
|
|
50
|
-
"clsx": "^1.2.1",
|
|
51
39
|
"nanoid": "^4.0.2",
|
|
52
|
-
"next": "^13.4.1",
|
|
53
|
-
"next-themes": "^0.2.1",
|
|
54
|
-
"react-hot-toast": "^2.4.1",
|
|
55
|
-
"react-intersection-observer": "^9.5.2",
|
|
56
40
|
"react-markdown": "^8.0.7",
|
|
57
41
|
"react-syntax-highlighter": "^15.5.0",
|
|
58
|
-
"react-textarea-autosize": "^8.5.2",
|
|
59
42
|
"remark-gfm": "^3.0.1",
|
|
60
43
|
"remark-math": "^5.1.1",
|
|
61
|
-
"
|
|
62
|
-
"@copilotkit/
|
|
63
|
-
"@copilotkit/react-core": "0.19.0"
|
|
44
|
+
"@copilotkit/shared": "0.4.0-tools.0",
|
|
45
|
+
"@copilotkit/react-core": "0.20.0-tools.0"
|
|
64
46
|
},
|
|
65
47
|
"scripts": {
|
|
66
48
|
"build": "tsup --clean",
|
package/src/lib/utils.ts
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import { clsx, type ClassValue } from "clsx";
|
|
2
1
|
import { customAlphabet } from "nanoid";
|
|
3
|
-
import { twMerge } from "tailwind-merge";
|
|
4
|
-
|
|
5
|
-
export function cn(...inputs: ClassValue[]) {
|
|
6
|
-
return twMerge(clsx(inputs));
|
|
7
|
-
}
|
|
8
2
|
|
|
9
3
|
export const nanoid = customAlphabet(
|
|
10
4
|
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|