@copilotkit/react-ui 1.0.2 → 1.0.3

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @copilotkit/react-ui@1.0.2 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-ui
2
+ > @copilotkit/react-ui@1.0.3 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-ui
3
3
  > tsup --clean
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/components/index.ts, src/context/index.ts, src/hooks/index.ts, src/hooks/use-copilot-chat-suggestions.tsx, src/hooks/use-copy-to-clipboard.tsx, src/hooks/use-push-to-talk.tsx, src/lib/utils.test.ts, src/lib/utils.ts, src/types/css.ts, src/types/index.ts, src/types/suggestions.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/Modal.tsx, src/components/chat/Popup.tsx, src/components/chat/Response.tsx, src/components/chat/Sidebar.tsx, src/components/chat/Suggestion.tsx, src/components/chat/Textarea.tsx, src/components/chat/Window.tsx, src/components/chat/index.tsx, src/components/chat/props.ts
@@ -49,9 +49,9 @@
49
49
  ESM dist/types/css.mjs 32.00 B
50
50
  ESM dist/components/chat/Suggestion.mjs 233.00 B
51
51
  ESM dist/components/chat/Textarea.mjs 177.00 B
52
+ ESM dist/components/chat/Window.mjs 144.00 B
52
53
  ESM dist/components/chat/index.mjs 946.00 B
53
54
  ESM dist/components/chat/props.mjs 69.00 B
54
- ESM dist/components/chat/Window.mjs 144.00 B
55
55
  ESM dist/components/chat/Header.mjs 214.00 B
56
56
  ESM dist/components/chat/Icons.mjs 515.00 B
57
57
  ESM dist/components/chat/Input.mjs 281.00 B
@@ -63,8 +63,8 @@
63
63
  ESM dist/lib/utils.mjs 885.00 B
64
64
  ESM dist/types/index.mjs 66.00 B
65
65
  ESM dist/types/suggestions.mjs 40.00 B
66
- ESM dist/components/chat/Chat.mjs 627.00 B
67
66
  ESM dist/components/chat/Button.mjs 214.00 B
67
+ ESM dist/components/chat/Chat.mjs 627.00 B
68
68
  ESM dist/components/chat/ChatContext.mjs 276.00 B
69
69
  ESM dist/components/chat/CodeBlock.mjs 319.00 B
70
70
  ESM dist/index.mjs.map 71.00 B
@@ -91,8 +91,8 @@
91
91
  ESM dist/chunk-XSUSSWDS.mjs.map 854.00 B
92
92
  ESM dist/chunk-BJPGMY3I.mjs.map 4.85 KB
93
93
  ESM dist/chunk-UPTB2MVO.mjs.map 15.59 KB
94
- ESM dist/chunk-FZC7X5PK.mjs.map 10.15 KB
95
94
  ESM dist/chunk-IU3WTXLQ.mjs.map 71.00 B
95
+ ESM dist/chunk-FZC7X5PK.mjs.map 10.15 KB
96
96
  ESM dist/chunk-T26KLXLH.mjs.map 71.00 B
97
97
  ESM dist/hooks/use-copilot-chat-suggestions.mjs.map 71.00 B
98
98
  ESM dist/chunk-LTCJCXCP.mjs.map 3.77 KB
@@ -106,9 +106,9 @@
106
106
  ESM dist/types/css.mjs.map 71.00 B
107
107
  ESM dist/components/chat/Suggestion.mjs.map 71.00 B
108
108
  ESM dist/components/chat/Textarea.mjs.map 71.00 B
109
+ ESM dist/components/chat/Window.mjs.map 71.00 B
109
110
  ESM dist/components/chat/index.mjs.map 71.00 B
110
111
  ESM dist/components/chat/props.mjs.map 71.00 B
111
- ESM dist/components/chat/Window.mjs.map 71.00 B
112
112
  ESM dist/components/chat/Header.mjs.map 71.00 B
113
113
  ESM dist/components/chat/Icons.mjs.map 71.00 B
114
114
  ESM dist/components/chat/Input.mjs.map 71.00 B
@@ -120,13 +120,12 @@
120
120
  ESM dist/lib/utils.mjs.map 1.49 KB
121
121
  ESM dist/types/index.mjs.map 71.00 B
122
122
  ESM dist/types/suggestions.mjs.map 71.00 B
123
- ESM dist/components/chat/Chat.mjs.map 71.00 B
124
123
  ESM dist/components/chat/Button.mjs.map 71.00 B
124
+ ESM dist/components/chat/Chat.mjs.map 71.00 B
125
125
  ESM dist/components/chat/ChatContext.mjs.map 71.00 B
126
126
  ESM dist/components/chat/CodeBlock.mjs.map 71.00 B
127
- ESM ⚡️ Build success in 287ms
127
+ ESM ⚡️ Build success in 273ms
128
128
  CJS dist/index.js 56.68 KB
129
- CJS dist/index.css 14.41 KB
130
129
  CJS dist/components/index.js 55.92 KB
131
130
  CJS dist/context/index.js 803.00 B
132
131
  CJS dist/hooks/index.js 1.79 KB
@@ -139,25 +138,25 @@
139
138
  CJS dist/types/index.js 797.00 B
140
139
  CJS dist/types/suggestions.js 821.00 B
141
140
  CJS dist/components/chat/Button.js 2.91 KB
141
+ CJS dist/index.css 14.41 KB
142
142
  CJS dist/components/chat/Chat.js 47.47 KB
143
143
  CJS dist/components/chat/ChatContext.js 9.29 KB
144
- CJS dist/components/chat/CodeBlock.js 14.30 KB
145
144
  CJS dist/components/chat/Header.js 2.63 KB
145
+ CJS dist/components/chat/CodeBlock.js 14.30 KB
146
146
  CJS dist/components/chat/Icons.js 11.01 KB
147
147
  CJS dist/components/chat/Input.js 11.14 KB
148
148
  CJS dist/components/chat/Markdown.js 16.47 KB
149
149
  CJS dist/components/chat/Messages.js 21.93 KB
150
150
  CJS dist/components/chat/Modal.js 54.40 KB
151
- CJS dist/components/chat/Popup.js 54.84 KB
152
151
  CJS dist/components/chat/Response.js 2.67 KB
153
- CJS dist/components/chat/Sidebar.js 55.36 KB
152
+ CJS dist/components/chat/Popup.js 54.84 KB
154
153
  CJS dist/components/chat/Suggestion.js 6.30 KB
155
154
  CJS dist/components/chat/Textarea.js 2.51 KB
156
155
  CJS dist/components/chat/Window.js 5.46 KB
157
- CJS dist/components/chat/index.js 55.91 KB
156
+ CJS dist/components/chat/Sidebar.js 55.36 KB
158
157
  CJS dist/components/chat/props.js 807.00 B
158
+ CJS dist/components/chat/index.js 55.91 KB
159
159
  CJS dist/index.js.map 97.93 KB
160
- CJS dist/index.css.map 18.25 KB
161
160
  CJS dist/components/index.js.map 94.09 KB
162
161
  CJS dist/context/index.js.map 139.00 B
163
162
  CJS dist/hooks/index.js.map 3.89 KB
@@ -170,26 +169,27 @@
170
169
  CJS dist/types/index.js.map 182.00 B
171
170
  CJS dist/types/suggestions.js.map 259.00 B
172
171
  CJS dist/components/chat/Button.js.map 5.47 KB
172
+ CJS dist/index.css.map 18.25 KB
173
173
  CJS dist/components/chat/Chat.js.map 76.20 KB
174
174
  CJS dist/components/chat/ChatContext.js.map 13.87 KB
175
- CJS dist/components/chat/CodeBlock.js.map 24.33 KB
176
175
  CJS dist/components/chat/Header.js.map 5.11 KB
176
+ CJS dist/components/chat/CodeBlock.js.map 24.33 KB
177
177
  CJS dist/components/chat/Icons.js.map 10.27 KB
178
178
  CJS dist/components/chat/Input.js.map 19.45 KB
179
- CJS dist/components/chat/Markdown.js.map 27.58 KB
180
179
  CJS dist/components/chat/Messages.js.map 40.08 KB
181
180
  CJS dist/components/chat/Modal.js.map 89.00 KB
182
- CJS dist/components/chat/Popup.js.map 91.07 KB
183
181
  CJS dist/components/chat/Response.js.map 5.19 KB
184
- CJS dist/components/chat/Sidebar.js.map 92.01 KB
182
+ CJS dist/components/chat/Popup.js.map 91.07 KB
185
183
  CJS dist/components/chat/Suggestion.js.map 13.38 KB
186
184
  CJS dist/components/chat/Textarea.js.map 2.83 KB
187
185
  CJS dist/components/chat/Window.js.map 6.76 KB
188
- CJS dist/components/chat/index.js.map 94.33 KB
186
+ CJS dist/components/chat/Sidebar.js.map 92.01 KB
189
187
  CJS dist/components/chat/props.js.map 1.07 KB
190
- CJS ⚡️ Build success in 324ms
188
+ CJS dist/components/chat/index.js.map 94.33 KB
189
+ CJS dist/components/chat/Markdown.js.map 27.58 KB
190
+ CJS ⚡️ Build success in 320ms
191
191
  DTS Build start
192
- DTS ⚡️ Build success in 8042ms
192
+ DTS ⚡️ Build success in 7766ms
193
193
  DTS dist/index.d.ts 699.00 B
194
194
  DTS dist/components/chat/props.d.ts 1019.00 B
195
195
  DTS dist/components/chat/Popup.d.ts 1.78 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # ui
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Add README.md to published packages and add keywords to package.json
8
+ - Updated dependencies
9
+ - @copilotkit/react-core@1.0.3
10
+ - @copilotkit/runtime-client-gql@1.0.3
11
+ - @copilotkit/shared@1.0.3
12
+
3
13
  ## 1.0.2
4
14
 
5
15
  ### Patch Changes
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ <div align="center">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/CopilotKit/CopilotKit/assets/746397/5890217b-524e-49c5-a89e-b8743d2acd51">
4
+ <img alt="CopilotKit Logo" src="https://github.com/CopilotKit/CopilotKit/assets/746397/bd5c9079-929b-4d55-bdc9-16d1c8181b71" width="450px" max-width="100%"/>
5
+ </picture>
6
+ </a>
7
+ </div>
8
+
9
+ <p align="center">
10
+ <a href="https://discord.gg/6dffbvGU3D">
11
+ <img src="https://dcbadge.vercel.app/api/server/6dffbvGU3D?compact=true&style=flat" alt="Discord">
12
+ </a>
13
+ <a href="https://github.com/CopilotKit/CopilotKit/actions/workflows/ci.yml">
14
+ <img src="https://github.com/CopilotKit/CopilotKit/actions/workflows/ci.yml/badge.svg" alt="GitHub CI">
15
+ </a>
16
+
17
+ <a href="https://www.npmjs.com/package/@copilotkit/react-core">
18
+ <img src="https://img.shields.io/npm/v/@copilotkit/react-core" alt="NPM">
19
+ <img src="https://img.shields.io/github/license/CopilotKit/CopilotKit" alt="MIT">
20
+
21
+ </p>
22
+
23
+ <h1 align="center">
24
+ The Open-Source Copilot Framework
25
+ </h1>
26
+
27
+ <h2 align="center">
28
+ Build, deploy, and operate fully custom AI Copilots.
29
+ </h2>
30
+
31
+ <h3 align="center">
32
+ in-app AI chatbots, AI agents, and AI Textareas.
33
+ </h3>
34
+
35
+ <p align="center">
36
+ <a href="https://discord.com/invite/6dffbvGU3D">
37
+ <img src="https://github.com/CopilotKit/CopilotKit/assets/131273140/bf8d96ea-3aeb-4c9a-9043-96a868b7ad0f" alt="Join our Discord" height="30">
38
+ </a>
39
+ &nbsp;&middot;&nbsp;
40
+ <a href="https://docs.copilotkit.ai/getting-started/quickstart-chatbot">
41
+ <img src="https://github.com/CopilotKit/CopilotKit/assets/131273140/a4a0fd04-6aee-4e02-9c3e-3f11d60b4e8b" alt="Read the Docs" height="30">
42
+ </a>
43
+ &nbsp;&middot;&nbsp;
44
+ <a href="https://go.copilotkit.ai/kM4Lo86">
45
+ <img src="https://github.com/CopilotKit/CopilotKit/assets/131273140/28ca62a8-cf93-4d3f-96b0-dc11bf89b734" alt="Try Copilot Cloud" height="30">
46
+ </a>
47
+ </p>
48
+
49
+ # Documentation
50
+
51
+ To get started with CopilotKit, please check out the [documentation](https://docs.copilotkit.ai).
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "@copilotkit/react-ui",
3
3
  "private": false,
4
+ "homepage": "https://github.com/CopilotKit/CopilotKit",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/CopilotKit/CopilotKit.git"
8
+ },
4
9
  "publishConfig": {
5
10
  "access": "public"
6
11
  },
7
- "version": "1.0.2",
12
+ "version": "1.0.3",
8
13
  "sideEffects": [
9
14
  "**/*.css"
10
15
  ],
@@ -45,10 +50,22 @@
45
50
  "react-syntax-highlighter": "^15.5.0",
46
51
  "remark-gfm": "^3.0.1",
47
52
  "remark-math": "^5.1.1",
48
- "@copilotkit/react-core": "1.0.2",
49
- "@copilotkit/runtime-client-gql": "1.0.2",
50
- "@copilotkit/shared": "1.0.2"
53
+ "@copilotkit/react-core": "1.0.3",
54
+ "@copilotkit/runtime-client-gql": "1.0.3",
55
+ "@copilotkit/shared": "1.0.3"
51
56
  },
57
+ "keywords": [
58
+ "copilotkit",
59
+ "copilot",
60
+ "react",
61
+ "nextjs",
62
+ "nodejs",
63
+ "ai",
64
+ "assistant",
65
+ "javascript",
66
+ "automation",
67
+ "textarea"
68
+ ],
52
69
  "scripts": {
53
70
  "build": "tsup --clean",
54
71
  "dev": "tsup --watch --no-splitting",