@copilotkit/react-core 0.37.0-mme-pre.2 → 0.37.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @copilotkit/react-core@0.37.0-mme-pre.2 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-core
2
+ > @copilotkit/react-core@0.37.0 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-core
3
3
  > tsup --clean
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/components/index.ts, src/context/copilot-context.tsx, src/context/index.ts, src/hooks/index.ts, src/hooks/use-chat.ts, src/hooks/use-copilot-action.ts, src/hooks/use-copilot-chat.ts, src/hooks/use-copilot-readable.ts, src/hooks/use-flat-category-store.ts, src/hooks/use-make-copilot-actionable.ts, src/hooks/use-make-copilot-document-readable.ts, src/hooks/use-make-copilot-readable.ts, src/hooks/use-tree.ts, src/lib/copilot-task.ts, src/lib/index.ts, src/openai-assistants/index.ts, src/types/chat-suggestion-configuration.ts, src/types/document-pointer.ts, src/types/frontend-action.ts, src/types/index.ts, src/types/system-message.ts, src/utils/extract.ts, src/utils/fetch-chat-completion.ts, src/utils/index.ts, src/utils/utils.test.ts, src/utils/utils.ts, src/components/copilot-provider/copilotkit-props.tsx, src/components/copilot-provider/copilotkit.tsx, src/components/copilot-provider/index.ts, src/openai-assistants/hooks/index.ts, src/openai-assistants/hooks/use-assistants.ts, src/openai-assistants/hooks/use-copilot-chat-v2.ts, src/openai-assistants/utils/index.ts, src/openai-assistants/utils/process-message-stream.ts
@@ -10,6 +10,77 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
+ CJS dist/lib/copilot-task.js 7.78 KB
14
+ CJS dist/openai-assistants/index.js 9.69 KB
15
+ CJS dist/types/chat-suggestion-configuration.js 893.00 B
16
+ CJS dist/utils/extract.js 8.75 KB
17
+ CJS dist/components/copilot-provider/copilotkit-props.js 864.00 B
18
+ CJS dist/openai-assistants/hooks/index.js 9.59 KB
19
+ CJS dist/openai-assistants/utils/index.js 2.30 KB
20
+ CJS dist/index.js 47.02 KB
21
+ CJS dist/components/index.js 17.23 KB
22
+ CJS dist/context/copilot-context.js 3.99 KB
23
+ CJS dist/context/index.js 3.98 KB
24
+ CJS dist/hooks/index.js 22.14 KB
25
+ CJS dist/hooks/use-chat.js 11.90 KB
26
+ CJS dist/hooks/use-copilot-action.js 5.28 KB
27
+ CJS dist/hooks/use-copilot-chat.js 17.53 KB
28
+ CJS dist/hooks/use-copilot-readable.js 4.70 KB
29
+ CJS dist/hooks/use-flat-category-store.js 2.87 KB
30
+ CJS dist/hooks/use-make-copilot-actionable.js 4.96 KB
31
+ CJS dist/hooks/use-make-copilot-document-readable.js 4.58 KB
32
+ CJS dist/hooks/use-make-copilot-readable.js 4.46 KB
33
+ CJS dist/hooks/use-tree.js 5.53 KB
34
+ CJS dist/lib/index.js 7.74 KB
35
+ CJS dist/types/document-pointer.js 841.00 B
36
+ CJS dist/types/frontend-action.js 837.00 B
37
+ CJS dist/types/index.js 797.00 B
38
+ CJS dist/types/system-message.js 833.00 B
39
+ CJS dist/utils/fetch-chat-completion.js 5.13 KB
40
+ CJS dist/utils/index.js 9.53 KB
41
+ CJS dist/utils/utils.test.js 184.00 B
42
+ CJS dist/utils/utils.js 797.00 B
43
+ CJS dist/components/copilot-provider/copilotkit.js 17.21 KB
44
+ CJS dist/components/copilot-provider/index.js 17.27 KB
45
+ CJS dist/openai-assistants/hooks/use-assistants.js 4.81 KB
46
+ CJS dist/openai-assistants/hooks/use-copilot-chat-v2.js 9.68 KB
47
+ CJS dist/openai-assistants/utils/process-message-stream.js 2.33 KB
48
+ CJS dist/lib/copilot-task.js.map 21.93 KB
49
+ CJS dist/openai-assistants/index.js.map 24.43 KB
50
+ CJS dist/types/chat-suggestion-configuration.js.map 673.00 B
51
+ CJS dist/utils/extract.js.map 19.79 KB
52
+ CJS dist/components/copilot-provider/copilotkit-props.js.map 1.80 KB
53
+ CJS dist/openai-assistants/hooks/index.js.map 24.73 KB
54
+ CJS dist/openai-assistants/utils/index.js.map 1.44 KB
55
+ CJS dist/index.js.map 96.64 KB
56
+ CJS dist/components/index.js.map 31.34 KB
57
+ CJS dist/context/copilot-context.js.map 6.81 KB
58
+ CJS dist/context/index.js.map 7.04 KB
59
+ CJS dist/hooks/index.js.map 56.58 KB
60
+ CJS dist/hooks/use-chat.js.map 19.47 KB
61
+ CJS dist/hooks/use-copilot-action.js.map 10.96 KB
62
+ CJS dist/hooks/use-copilot-chat.js.map 42.38 KB
63
+ CJS dist/hooks/use-copilot-readable.js.map 11.84 KB
64
+ CJS dist/hooks/use-flat-category-store.js.map 4.25 KB
65
+ CJS dist/hooks/use-make-copilot-actionable.js.map 8.56 KB
66
+ CJS dist/hooks/use-make-copilot-document-readable.js.map 8.09 KB
67
+ CJS dist/hooks/use-make-copilot-readable.js.map 7.78 KB
68
+ CJS dist/hooks/use-tree.js.map 8.32 KB
69
+ CJS dist/lib/index.js.map 22.00 KB
70
+ CJS dist/types/document-pointer.js.map 292.00 B
71
+ CJS dist/types/frontend-action.js.map 1.77 KB
72
+ CJS dist/types/index.js.map 432.00 B
73
+ CJS dist/types/system-message.js.map 249.00 B
74
+ CJS dist/utils/fetch-chat-completion.js.map 5.11 KB
75
+ CJS dist/utils/index.js.map 20.31 KB
76
+ CJS dist/utils/utils.test.js.map 354.00 B
77
+ CJS dist/utils/utils.js.map 137.00 B
78
+ CJS dist/components/copilot-provider/copilotkit.js.map 31.28 KB
79
+ CJS dist/components/copilot-provider/index.js.map 31.47 KB
80
+ CJS dist/openai-assistants/hooks/use-assistants.js.map 5.90 KB
81
+ CJS dist/openai-assistants/hooks/use-copilot-chat-v2.js.map 24.34 KB
82
+ CJS dist/openai-assistants/utils/process-message-stream.js.map 1.33 KB
83
+ CJS ⚡️ Build success in 213ms
13
84
  ESM dist/index.mjs 1.76 KB
14
85
  ESM dist/components/index.mjs 375.00 B
15
86
  ESM dist/context/copilot-context.mjs 205.00 B
@@ -21,16 +92,16 @@
21
92
  ESM dist/chunk-FRAKUJWH.mjs 43.00 B
22
93
  ESM dist/chunk-ZFS5SQUT.mjs 802.00 B
23
94
  ESM dist/chunk-EFZPSZWO.mjs 43.00 B
24
- ESM dist/chunk-LUGEI4YQ.mjs 43.00 B
25
95
  ESM dist/chunk-4OIVQMEM.mjs 3.79 KB
96
+ ESM dist/chunk-LUGEI4YQ.mjs 43.00 B
26
97
  ESM dist/chunk-Z5FB4WBL.mjs 3.40 KB
27
98
  ESM dist/context/index.mjs 227.00 B
28
99
  ESM dist/chunk-VNRDQJXW.mjs 43.00 B
29
100
  ESM dist/chunk-EYKDJBDE.mjs 43.00 B
30
101
  ESM dist/chunk-MNZXQ6UH.mjs 909.00 B
102
+ ESM dist/chunk-SR4RW4CU.mjs 1.06 KB
31
103
  ESM dist/chunk-S5LWO5V3.mjs 700.00 B
32
104
  ESM dist/chunk-B244LK6F.mjs 640.00 B
33
- ESM dist/chunk-SR4RW4CU.mjs 1.06 KB
34
105
  ESM dist/hooks/use-chat.mjs 174.00 B
35
106
  ESM dist/hooks/use-copilot-action.mjs 202.00 B
36
107
  ESM dist/chunk-NSUYO6TP.mjs 1.46 KB
@@ -46,19 +117,18 @@
46
117
  ESM dist/chunk-DY63PD22.mjs 1.80 KB
47
118
  ESM dist/chunk-SKC7AJIV.mjs 1.97 KB
48
119
  ESM dist/openai-assistants/hooks/use-copilot-chat-v2.mjs 540.00 B
120
+ ESM dist/openai-assistants/utils/index.mjs 206.00 B
49
121
  ESM dist/openai-assistants/utils/process-message-stream.mjs 188.00 B
50
122
  ESM dist/utils/index.mjs 589.00 B
51
- ESM dist/components/copilot-provider/copilotkit-props.mjs 45.00 B
52
- ESM dist/types/chat-suggestion-configuration.mjs 58.00 B
53
- ESM dist/lib/copilot-task.mjs 378.00 B
54
- ESM dist/openai-assistants/utils/index.mjs 206.00 B
55
123
  ESM dist/utils/utils.test.mjs 170.00 B
56
124
  ESM dist/utils/utils.mjs 34.00 B
125
+ ESM dist/components/copilot-provider/copilotkit-props.mjs 45.00 B
57
126
  ESM dist/components/copilot-provider/copilotkit.mjs 331.00 B
58
127
  ESM dist/components/copilot-provider/index.mjs 361.00 B
59
128
  ESM dist/openai-assistants/hooks/index.mjs 513.00 B
60
129
  ESM dist/openai-assistants/hooks/use-assistants.mjs 2.57 KB
61
130
  ESM dist/openai-assistants/index.mjs 565.00 B
131
+ ESM dist/types/chat-suggestion-configuration.mjs 58.00 B
62
132
  ESM dist/types/document-pointer.mjs 45.00 B
63
133
  ESM dist/types/frontend-action.mjs 44.00 B
64
134
  ESM dist/types/index.mjs 66.00 B
@@ -71,6 +141,7 @@
71
141
  ESM dist/hooks/use-make-copilot-document-readable.mjs 246.00 B
72
142
  ESM dist/hooks/use-make-copilot-readable.mjs 221.00 B
73
143
  ESM dist/hooks/use-tree.mjs 171.00 B
144
+ ESM dist/lib/copilot-task.mjs 378.00 B
74
145
  ESM dist/lib/index.mjs 403.00 B
75
146
  ESM dist/index.mjs.map 71.00 B
76
147
  ESM dist/components/index.mjs.map 71.00 B
@@ -83,16 +154,16 @@
83
154
  ESM dist/chunk-FRAKUJWH.mjs.map 71.00 B
84
155
  ESM dist/chunk-ZFS5SQUT.mjs.map 1.26 KB
85
156
  ESM dist/chunk-EFZPSZWO.mjs.map 71.00 B
86
- ESM dist/chunk-LUGEI4YQ.mjs.map 71.00 B
87
157
  ESM dist/chunk-4OIVQMEM.mjs.map 6.47 KB
158
+ ESM dist/chunk-LUGEI4YQ.mjs.map 71.00 B
88
159
  ESM dist/chunk-Z5FB4WBL.mjs.map 8.65 KB
89
160
  ESM dist/context/index.mjs.map 71.00 B
90
161
  ESM dist/chunk-VNRDQJXW.mjs.map 71.00 B
91
162
  ESM dist/chunk-EYKDJBDE.mjs.map 71.00 B
92
163
  ESM dist/chunk-MNZXQ6UH.mjs.map 5.15 KB
164
+ ESM dist/chunk-SR4RW4CU.mjs.map 1.87 KB
93
165
  ESM dist/chunk-S5LWO5V3.mjs.map 1.40 KB
94
166
  ESM dist/chunk-B244LK6F.mjs.map 1.08 KB
95
- ESM dist/chunk-SR4RW4CU.mjs.map 1.87 KB
96
167
  ESM dist/hooks/use-chat.mjs.map 71.00 B
97
168
  ESM dist/hooks/use-copilot-action.mjs.map 71.00 B
98
169
  ESM dist/chunk-NSUYO6TP.mjs.map 4.27 KB
@@ -108,19 +179,18 @@
108
179
  ESM dist/chunk-DY63PD22.mjs.map 6.71 KB
109
180
  ESM dist/chunk-SKC7AJIV.mjs.map 71.00 B
110
181
  ESM dist/openai-assistants/hooks/use-copilot-chat-v2.mjs.map 71.00 B
182
+ ESM dist/openai-assistants/utils/index.mjs.map 71.00 B
111
183
  ESM dist/openai-assistants/utils/process-message-stream.mjs.map 71.00 B
112
184
  ESM dist/utils/index.mjs.map 71.00 B
113
- ESM dist/components/copilot-provider/copilotkit-props.mjs.map 71.00 B
114
- ESM dist/types/chat-suggestion-configuration.mjs.map 71.00 B
115
- ESM dist/lib/copilot-task.mjs.map 71.00 B
116
- ESM dist/openai-assistants/utils/index.mjs.map 71.00 B
117
185
  ESM dist/utils/utils.test.mjs.map 352.00 B
118
186
  ESM dist/utils/utils.mjs.map 71.00 B
187
+ ESM dist/components/copilot-provider/copilotkit-props.mjs.map 71.00 B
119
188
  ESM dist/components/copilot-provider/copilotkit.mjs.map 71.00 B
120
189
  ESM dist/components/copilot-provider/index.mjs.map 71.00 B
121
190
  ESM dist/openai-assistants/hooks/index.mjs.map 71.00 B
122
191
  ESM dist/openai-assistants/hooks/use-assistants.mjs.map 4.65 KB
123
192
  ESM dist/openai-assistants/index.mjs.map 71.00 B
193
+ ESM dist/types/chat-suggestion-configuration.mjs.map 71.00 B
124
194
  ESM dist/types/document-pointer.mjs.map 71.00 B
125
195
  ESM dist/types/frontend-action.mjs.map 71.00 B
126
196
  ESM dist/types/index.mjs.map 71.00 B
@@ -133,81 +203,11 @@
133
203
  ESM dist/hooks/use-make-copilot-document-readable.mjs.map 71.00 B
134
204
  ESM dist/hooks/use-make-copilot-readable.mjs.map 71.00 B
135
205
  ESM dist/hooks/use-tree.mjs.map 71.00 B
206
+ ESM dist/lib/copilot-task.mjs.map 71.00 B
136
207
  ESM dist/lib/index.mjs.map 71.00 B
137
- ESM ⚡️ Build success in 210ms
138
- CJS dist/index.js 47.02 KB
139
- CJS dist/components/index.js 17.23 KB
140
- CJS dist/context/copilot-context.js 3.99 KB
141
- CJS dist/context/index.js 3.98 KB
142
- CJS dist/hooks/index.js 22.14 KB
143
- CJS dist/hooks/use-chat.js 11.90 KB
144
- CJS dist/hooks/use-copilot-action.js 5.28 KB
145
- CJS dist/hooks/use-copilot-chat.js 17.53 KB
146
- CJS dist/hooks/use-copilot-readable.js 4.70 KB
147
- CJS dist/hooks/use-flat-category-store.js 2.87 KB
148
- CJS dist/hooks/use-make-copilot-actionable.js 4.96 KB
149
- CJS dist/hooks/use-make-copilot-document-readable.js 4.58 KB
150
- CJS dist/hooks/use-make-copilot-readable.js 4.46 KB
151
- CJS dist/hooks/use-tree.js 5.53 KB
152
- CJS dist/lib/copilot-task.js 7.78 KB
153
- CJS dist/lib/index.js 7.74 KB
154
- CJS dist/openai-assistants/index.js 9.69 KB
155
- CJS dist/types/chat-suggestion-configuration.js 893.00 B
156
- CJS dist/types/document-pointer.js 841.00 B
157
- CJS dist/types/frontend-action.js 837.00 B
158
- CJS dist/types/index.js 797.00 B
159
- CJS dist/types/system-message.js 833.00 B
160
- CJS dist/utils/extract.js 8.75 KB
161
- CJS dist/utils/fetch-chat-completion.js 5.13 KB
162
- CJS dist/utils/index.js 9.53 KB
163
- CJS dist/utils/utils.test.js 184.00 B
164
- CJS dist/utils/utils.js 797.00 B
165
- CJS dist/components/copilot-provider/copilotkit-props.js 864.00 B
166
- CJS dist/components/copilot-provider/copilotkit.js 17.21 KB
167
- CJS dist/components/copilot-provider/index.js 17.27 KB
168
- CJS dist/openai-assistants/hooks/index.js 9.59 KB
169
- CJS dist/openai-assistants/hooks/use-assistants.js 4.81 KB
170
- CJS dist/openai-assistants/hooks/use-copilot-chat-v2.js 9.68 KB
171
- CJS dist/openai-assistants/utils/index.js 2.30 KB
172
- CJS dist/openai-assistants/utils/process-message-stream.js 2.33 KB
173
- CJS dist/index.js.map 96.64 KB
174
- CJS dist/context/copilot-context.js.map 6.81 KB
175
- CJS dist/components/index.js.map 31.34 KB
176
- CJS dist/context/index.js.map 7.04 KB
177
- CJS dist/hooks/index.js.map 56.58 KB
178
- CJS dist/hooks/use-chat.js.map 19.47 KB
179
- CJS dist/hooks/use-copilot-action.js.map 10.96 KB
180
- CJS dist/hooks/use-copilot-chat.js.map 42.38 KB
181
- CJS dist/hooks/use-flat-category-store.js.map 4.25 KB
182
- CJS dist/hooks/use-copilot-readable.js.map 11.84 KB
183
- CJS dist/hooks/use-make-copilot-actionable.js.map 8.56 KB
184
- CJS dist/hooks/use-make-copilot-readable.js.map 7.78 KB
185
- CJS dist/hooks/use-make-copilot-document-readable.js.map 8.09 KB
186
- CJS dist/hooks/use-tree.js.map 8.32 KB
187
- CJS dist/lib/copilot-task.js.map 21.93 KB
188
- CJS dist/lib/index.js.map 22.00 KB
189
- CJS dist/types/chat-suggestion-configuration.js.map 673.00 B
190
- CJS dist/types/document-pointer.js.map 292.00 B
191
- CJS dist/types/frontend-action.js.map 1.77 KB
192
- CJS dist/types/index.js.map 432.00 B
193
- CJS dist/openai-assistants/index.js.map 24.43 KB
194
- CJS dist/types/system-message.js.map 249.00 B
195
- CJS dist/utils/fetch-chat-completion.js.map 5.11 KB
196
- CJS dist/utils/extract.js.map 19.79 KB
197
- CJS dist/utils/utils.test.js.map 354.00 B
198
- CJS dist/utils/utils.js.map 137.00 B
199
- CJS dist/components/copilot-provider/copilotkit-props.js.map 1.80 KB
200
- CJS dist/utils/index.js.map 20.31 KB
201
- CJS dist/components/copilot-provider/copilotkit.js.map 31.28 KB
202
- CJS dist/components/copilot-provider/index.js.map 31.47 KB
203
- CJS dist/openai-assistants/hooks/use-assistants.js.map 5.90 KB
204
- CJS dist/openai-assistants/hooks/index.js.map 24.73 KB
205
- CJS dist/openai-assistants/utils/index.js.map 1.44 KB
206
- CJS dist/openai-assistants/hooks/use-copilot-chat-v2.js.map 24.34 KB
207
- CJS dist/openai-assistants/utils/process-message-stream.js.map 1.33 KB
208
- CJS ⚡️ Build success in 235ms
208
+ ESM ⚡️ Build success in 221ms
209
209
  DTS Build start
210
- DTS ⚡️ Build success in 8196ms
210
+ DTS ⚡️ Build success in 8429ms
211
211
  DTS dist/index.d.ts 1.76 KB
212
212
  DTS dist/components/copilot-provider/copilotkit.d.ts 271.00 B
213
213
  DTS dist/components/copilot-provider/copilotkit-props.d.ts 1.70 KB
package/CHANGELOG.md CHANGED
@@ -1,15 +1,19 @@
1
1
  # ui
2
2
 
3
- ## 0.37.0-mme-pre.2
3
+ ## 0.37.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - CSS improvements, hidden messages, useCopilotChat
7
+ - f771353: Fix: Stale CopilotReadable
8
+ - 9df8d43: Remove unneeded tailwind components
9
+ - CSS improvements, useCopilotChat, invisible messages
8
10
 
9
11
  ### Patch Changes
10
12
 
13
+ - Updated dependencies [f771353]
14
+ - Updated dependencies [9df8d43]
11
15
  - Updated dependencies
12
- - @copilotkit/shared@0.37.0-mme-pre.2
16
+ - @copilotkit/shared@0.37.0
13
17
 
14
18
  ## 0.37.0-mme-fix-textarea-css.1
15
19
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.37.0-mme-pre.2",
7
+ "version": "0.37.0",
8
8
  "sideEffects": false,
9
9
  "main": "./dist/index.js",
10
10
  "module": "./dist/index.mjs",
@@ -29,13 +29,13 @@
29
29
  "ts-jest": "^29.1.1",
30
30
  "tsup": "^6.7.0",
31
31
  "typescript": "^5.2.3",
32
- "eslint-config-custom": "0.12.0-mme-pre.2",
33
- "tsconfig": "0.16.0-mme-pre.2"
32
+ "eslint-config-custom": "0.12.0",
33
+ "tsconfig": "0.16.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "nanoid": "^4.0.2",
37
37
  "untruncate-json": "^0.0.1",
38
- "@copilotkit/shared": "0.37.0-mme-pre.2"
38
+ "@copilotkit/shared": "0.37.0"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsup --clean",