@copilotkit/react-core 0.24.0-mme-esm-error.1 → 0.24.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.24.0-mme-esm-error.1 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-core
2
+ > @copilotkit/react-core@0.24.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-implementation.ts, src/hooks/use-copilot-action.ts, src/hooks/use-copilot-chat.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/document-pointer.ts, src/types/frontend-action.ts, src/types/index.ts, src/types/system-message.ts, src/utils/fetch-chat-completion.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/components/copilot-provider/standard-copilot-api-config.tsx, 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,73 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
+ CJS dist/lib/copilot-task.js 7.38 KB
14
+ CJS dist/openai-assistants/index.js 9.35 KB
15
+ CJS dist/types/document-pointer.js 841.00 B
16
+ CJS dist/utils/fetch-chat-completion.js 4.95 KB
17
+ CJS dist/components/copilot-provider/copilotkit-props.js 864.00 B
18
+ CJS dist/openai-assistants/hooks/index.js 9.25 KB
19
+ CJS dist/openai-assistants/utils/index.js 2.30 KB
20
+ CJS dist/index.js 39.09 KB
21
+ CJS dist/components/index.js 15.02 KB
22
+ CJS dist/context/copilot-context.js 3.65 KB
23
+ CJS dist/context/index.js 3.64 KB
24
+ CJS dist/hooks/index.js 19.93 KB
25
+ CJS dist/hooks/use-chat.js 11.27 KB
26
+ CJS dist/hooks/use-copilot-action-implementation.js 5.08 KB
27
+ CJS dist/hooks/use-copilot-action.js 5.16 KB
28
+ CJS dist/hooks/use-copilot-chat.js 16.00 KB
29
+ CJS dist/hooks/use-flat-category-store.js 2.87 KB
30
+ CJS dist/hooks/use-make-copilot-actionable.js 4.62 KB
31
+ CJS dist/hooks/use-make-copilot-document-readable.js 4.24 KB
32
+ CJS dist/hooks/use-make-copilot-readable.js 4.13 KB
33
+ CJS dist/hooks/use-tree.js 5.53 KB
34
+ CJS dist/lib/index.js 7.34 KB
35
+ CJS dist/types/frontend-action.js 837.00 B
36
+ CJS dist/types/index.js 797.00 B
37
+ CJS dist/types/system-message.js 833.00 B
38
+ CJS dist/utils/utils.test.js 184.00 B
39
+ CJS dist/utils/utils.js 797.00 B
40
+ CJS dist/components/copilot-provider/copilotkit.js 15.00 KB
41
+ CJS dist/components/copilot-provider/index.js 15.06 KB
42
+ CJS dist/components/copilot-provider/standard-copilot-api-config.js 1.48 KB
43
+ CJS dist/openai-assistants/hooks/use-assistants.js 4.81 KB
44
+ CJS dist/openai-assistants/hooks/use-copilot-chat-v2.js 9.34 KB
45
+ CJS dist/openai-assistants/utils/process-message-stream.js 2.33 KB
46
+ CJS dist/lib/copilot-task.js.map 16.40 KB
47
+ CJS dist/openai-assistants/index.js.map 20.45 KB
48
+ CJS dist/types/document-pointer.js.map 292.00 B
49
+ CJS dist/utils/fetch-chat-completion.js.map 4.79 KB
50
+ CJS dist/components/copilot-provider/copilotkit-props.js.map 1.10 KB
51
+ CJS dist/openai-assistants/hooks/index.js.map 20.75 KB
52
+ CJS dist/openai-assistants/utils/index.js.map 1.44 KB
53
+ CJS dist/index.js.map 74.38 KB
54
+ CJS dist/components/index.js.map 27.20 KB
55
+ CJS dist/context/copilot-context.js.map 4.96 KB
56
+ CJS dist/context/index.js.map 5.20 KB
57
+ CJS dist/hooks/index.js.map 43.83 KB
58
+ CJS dist/hooks/use-chat.js.map 17.88 KB
59
+ CJS dist/hooks/use-copilot-action-implementation.js.map 8.28 KB
60
+ CJS dist/hooks/use-copilot-action.js.map 9.85 KB
61
+ CJS dist/hooks/use-copilot-chat.js.map 33.70 KB
62
+ CJS dist/hooks/use-flat-category-store.js.map 4.25 KB
63
+ CJS dist/hooks/use-make-copilot-actionable.js.map 6.71 KB
64
+ CJS dist/hooks/use-make-copilot-document-readable.js.map 6.25 KB
65
+ CJS dist/hooks/use-make-copilot-readable.js.map 6.30 KB
66
+ CJS dist/hooks/use-tree.js.map 8.32 KB
67
+ CJS dist/lib/index.js.map 16.46 KB
68
+ CJS dist/types/frontend-action.js.map 1.77 KB
69
+ CJS dist/types/index.js.map 338.00 B
70
+ CJS dist/types/system-message.js.map 249.00 B
71
+ CJS dist/utils/utils.test.js.map 354.00 B
72
+ CJS dist/utils/utils.js.map 137.00 B
73
+ CJS dist/components/copilot-provider/copilotkit.js.map 27.14 KB
74
+ CJS dist/components/copilot-provider/index.js.map 27.33 KB
75
+ CJS dist/components/copilot-provider/standard-copilot-api-config.js.map 1.17 KB
76
+ CJS dist/openai-assistants/hooks/use-assistants.js.map 5.90 KB
77
+ CJS dist/openai-assistants/hooks/use-copilot-chat-v2.js.map 20.36 KB
78
+ CJS dist/openai-assistants/utils/process-message-stream.js.map 1.33 KB
79
+ CJS ⚡️ Build success in 181ms
13
80
  ESM dist/index.mjs 1.65 KB
14
81
  ESM dist/components/index.mjs 407.00 B
15
82
  ESM dist/context/copilot-context.mjs 205.00 B
@@ -46,29 +113,29 @@
46
113
  ESM dist/chunk-MRXNTQOX.mjs 1.89 KB
47
114
  ESM dist/openai-assistants/utils/process-message-stream.mjs 188.00 B
48
115
  ESM dist/components/copilot-provider/copilotkit-props.mjs 45.00 B
49
- ESM dist/openai-assistants/hooks/index.mjs 548.00 B
50
- ESM dist/types/document-pointer.mjs 45.00 B
51
- ESM dist/utils/fetch-chat-completion.mjs 319.00 B
52
- ESM dist/lib/copilot-task.mjs 410.00 B
53
116
  ESM dist/components/copilot-provider/copilotkit.mjs 366.00 B
54
117
  ESM dist/components/copilot-provider/index.mjs 396.00 B
55
118
  ESM dist/components/copilot-provider/standard-copilot-api-config.mjs 201.00 B
119
+ ESM dist/openai-assistants/hooks/index.mjs 548.00 B
56
120
  ESM dist/openai-assistants/hooks/use-assistants.mjs 2.57 KB
57
121
  ESM dist/openai-assistants/hooks/use-copilot-chat-v2.mjs 575.00 B
58
122
  ESM dist/openai-assistants/utils/index.mjs 206.00 B
59
123
  ESM dist/openai-assistants/index.mjs 597.00 B
124
+ ESM dist/types/document-pointer.mjs 45.00 B
60
125
  ESM dist/types/frontend-action.mjs 44.00 B
61
126
  ESM dist/types/index.mjs 66.00 B
62
127
  ESM dist/types/system-message.mjs 43.00 B
128
+ ESM dist/utils/fetch-chat-completion.mjs 319.00 B
63
129
  ESM dist/utils/utils.test.mjs 170.00 B
64
130
  ESM dist/utils/utils.mjs 34.00 B
65
131
  ESM dist/hooks/use-copilot-chat.mjs 500.00 B
66
132
  ESM dist/hooks/use-flat-category-store.mjs 216.00 B
67
133
  ESM dist/hooks/use-make-copilot-actionable.mjs 227.00 B
68
134
  ESM dist/hooks/use-make-copilot-document-readable.mjs 246.00 B
135
+ ESM dist/hooks/use-make-copilot-readable.mjs 221.00 B
69
136
  ESM dist/hooks/use-tree.mjs 171.00 B
137
+ ESM dist/lib/copilot-task.mjs 410.00 B
70
138
  ESM dist/lib/index.mjs 435.00 B
71
- ESM dist/hooks/use-make-copilot-readable.mjs 221.00 B
72
139
  ESM dist/index.mjs.map 71.00 B
73
140
  ESM dist/components/index.mjs.map 71.00 B
74
141
  ESM dist/context/copilot-context.mjs.map 71.00 B
@@ -83,13 +150,13 @@
83
150
  ESM dist/chunk-QGRMN7L3.mjs.map 5.57 KB
84
151
  ESM dist/context/index.mjs.map 71.00 B
85
152
  ESM dist/chunk-VNRDQJXW.mjs.map 71.00 B
86
- ESM dist/chunk-IOP6JX34.mjs.map 71.00 B
87
- ESM dist/chunk-GVLCTSXW.mjs.map 4.68 KB
88
- ESM dist/chunk-BGB5G33N.mjs.map 1.87 KB
89
153
  ESM dist/chunk-H6V2C2AN.mjs.map 1.40 KB
90
154
  ESM dist/chunk-KJQZ2VEU.mjs.map 1.45 KB
91
155
  ESM dist/chunk-JD7BAH7U.mjs.map 71.00 B
92
156
  ESM dist/chunk-SPCZTZCY.mjs.map 71.00 B
157
+ ESM dist/chunk-IOP6JX34.mjs.map 71.00 B
158
+ ESM dist/chunk-GVLCTSXW.mjs.map 4.68 KB
159
+ ESM dist/chunk-BGB5G33N.mjs.map 1.87 KB
93
160
  ESM dist/chunk-H3FQWB4B.mjs.map 8.78 KB
94
161
  ESM dist/chunk-F2JIAPZQ.mjs.map 1.12 KB
95
162
  ESM dist/chunk-YULKJPY3.mjs.map 4.21 KB
@@ -97,28 +164,27 @@
97
164
  ESM dist/hooks/use-chat.mjs.map 71.00 B
98
165
  ESM dist/chunk-AEUR5JBT.mjs.map 13.39 KB
99
166
  ESM dist/chunk-3WKJ25L3.mjs.map 4.75 KB
100
- ESM dist/hooks/use-copilot-action-implementation.mjs.map 71.00 B
101
- ESM dist/hooks/use-copilot-action.mjs.map 71.00 B
102
- ESM dist/chunk-ISKBWE4O.mjs.map 1.64 KB
103
167
  ESM dist/chunk-75RLNHDB.mjs.map 3.43 KB
104
168
  ESM dist/chunk-KIKHLN4X.mjs.map 4.87 KB
105
169
  ESM dist/chunk-MRXNTQOX.mjs.map 71.00 B
170
+ ESM dist/hooks/use-copilot-action-implementation.mjs.map 71.00 B
171
+ ESM dist/chunk-ISKBWE4O.mjs.map 1.64 KB
172
+ ESM dist/hooks/use-copilot-action.mjs.map 71.00 B
106
173
  ESM dist/openai-assistants/utils/process-message-stream.mjs.map 71.00 B
107
174
  ESM dist/components/copilot-provider/copilotkit-props.mjs.map 71.00 B
108
- ESM dist/openai-assistants/hooks/index.mjs.map 71.00 B
109
- ESM dist/types/document-pointer.mjs.map 71.00 B
110
- ESM dist/utils/fetch-chat-completion.mjs.map 71.00 B
111
- ESM dist/lib/copilot-task.mjs.map 71.00 B
112
175
  ESM dist/components/copilot-provider/copilotkit.mjs.map 71.00 B
113
176
  ESM dist/components/copilot-provider/index.mjs.map 71.00 B
114
177
  ESM dist/components/copilot-provider/standard-copilot-api-config.mjs.map 71.00 B
178
+ ESM dist/openai-assistants/hooks/index.mjs.map 71.00 B
115
179
  ESM dist/openai-assistants/hooks/use-assistants.mjs.map 4.65 KB
116
180
  ESM dist/openai-assistants/hooks/use-copilot-chat-v2.mjs.map 71.00 B
117
181
  ESM dist/openai-assistants/utils/index.mjs.map 71.00 B
118
182
  ESM dist/openai-assistants/index.mjs.map 71.00 B
183
+ ESM dist/types/document-pointer.mjs.map 71.00 B
119
184
  ESM dist/types/frontend-action.mjs.map 71.00 B
120
185
  ESM dist/types/index.mjs.map 71.00 B
121
186
  ESM dist/types/system-message.mjs.map 71.00 B
187
+ ESM dist/utils/fetch-chat-completion.mjs.map 71.00 B
122
188
  ESM dist/utils/utils.test.mjs.map 352.00 B
123
189
  ESM dist/utils/utils.mjs.map 71.00 B
124
190
  ESM dist/hooks/use-copilot-chat.mjs.map 71.00 B
@@ -126,78 +192,12 @@
126
192
  ESM dist/hooks/use-make-copilot-actionable.mjs.map 71.00 B
127
193
  ESM dist/hooks/use-make-copilot-document-readable.mjs.map 71.00 B
128
194
  ESM dist/hooks/use-tree.mjs.map 71.00 B
129
- ESM dist/lib/index.mjs.map 71.00 B
130
195
  ESM dist/hooks/use-make-copilot-readable.mjs.map 71.00 B
131
- ESM ⚡️ Build success in 266ms
132
- CJS dist/index.js 39.09 KB
133
- CJS dist/components/index.js 15.02 KB
134
- CJS dist/context/copilot-context.js 3.65 KB
135
- CJS dist/context/index.js 3.64 KB
136
- CJS dist/hooks/index.js 19.93 KB
137
- CJS dist/hooks/use-chat.js 11.27 KB
138
- CJS dist/hooks/use-copilot-action-implementation.js 5.08 KB
139
- CJS dist/hooks/use-copilot-action.js 5.16 KB
140
- CJS dist/hooks/use-copilot-chat.js 16.00 KB
141
- CJS dist/hooks/use-flat-category-store.js 2.87 KB
142
- CJS dist/hooks/use-make-copilot-actionable.js 4.62 KB
143
- CJS dist/hooks/use-make-copilot-document-readable.js 4.24 KB
144
- CJS dist/hooks/use-make-copilot-readable.js 4.13 KB
145
- CJS dist/hooks/use-tree.js 5.53 KB
146
- CJS dist/lib/copilot-task.js 7.38 KB
147
- CJS dist/lib/index.js 7.34 KB
148
- CJS dist/openai-assistants/index.js 9.35 KB
149
- CJS dist/types/document-pointer.js 841.00 B
150
- CJS dist/types/frontend-action.js 837.00 B
151
- CJS dist/types/index.js 797.00 B
152
- CJS dist/types/system-message.js 833.00 B
153
- CJS dist/utils/fetch-chat-completion.js 4.95 KB
154
- CJS dist/utils/utils.test.js 184.00 B
155
- CJS dist/utils/utils.js 797.00 B
156
- CJS dist/components/copilot-provider/copilotkit-props.js 864.00 B
157
- CJS dist/components/copilot-provider/copilotkit.js 15.00 KB
158
- CJS dist/components/copilot-provider/index.js 15.06 KB
159
- CJS dist/components/copilot-provider/standard-copilot-api-config.js 1.48 KB
160
- CJS dist/openai-assistants/hooks/index.js 9.25 KB
161
- CJS dist/openai-assistants/hooks/use-assistants.js 4.81 KB
162
- CJS dist/openai-assistants/hooks/use-copilot-chat-v2.js 9.34 KB
163
- CJS dist/openai-assistants/utils/index.js 2.30 KB
164
- CJS dist/openai-assistants/utils/process-message-stream.js 2.33 KB
165
- CJS dist/index.js.map 74.38 KB
166
- CJS dist/components/index.js.map 27.20 KB
167
- CJS dist/context/copilot-context.js.map 4.96 KB
168
- CJS dist/context/index.js.map 5.20 KB
169
- CJS dist/hooks/index.js.map 43.83 KB
170
- CJS dist/hooks/use-chat.js.map 17.88 KB
171
- CJS dist/hooks/use-copilot-action-implementation.js.map 8.28 KB
172
- CJS dist/hooks/use-copilot-action.js.map 9.85 KB
173
- CJS dist/hooks/use-copilot-chat.js.map 33.70 KB
174
- CJS dist/hooks/use-flat-category-store.js.map 4.25 KB
175
- CJS dist/hooks/use-make-copilot-actionable.js.map 6.71 KB
176
- CJS dist/hooks/use-make-copilot-document-readable.js.map 6.25 KB
177
- CJS dist/hooks/use-make-copilot-readable.js.map 6.30 KB
178
- CJS dist/hooks/use-tree.js.map 8.32 KB
179
- CJS dist/lib/copilot-task.js.map 16.40 KB
180
- CJS dist/lib/index.js.map 16.46 KB
181
- CJS dist/openai-assistants/index.js.map 20.45 KB
182
- CJS dist/types/document-pointer.js.map 292.00 B
183
- CJS dist/types/frontend-action.js.map 1.77 KB
184
- CJS dist/types/index.js.map 338.00 B
185
- CJS dist/types/system-message.js.map 249.00 B
186
- CJS dist/utils/fetch-chat-completion.js.map 4.79 KB
187
- CJS dist/utils/utils.test.js.map 354.00 B
188
- CJS dist/utils/utils.js.map 137.00 B
189
- CJS dist/components/copilot-provider/copilotkit-props.js.map 1.10 KB
190
- CJS dist/components/copilot-provider/copilotkit.js.map 27.14 KB
191
- CJS dist/components/copilot-provider/index.js.map 27.33 KB
192
- CJS dist/components/copilot-provider/standard-copilot-api-config.js.map 1.17 KB
193
- CJS dist/openai-assistants/hooks/index.js.map 20.75 KB
194
- CJS dist/openai-assistants/hooks/use-assistants.js.map 5.90 KB
195
- CJS dist/openai-assistants/hooks/use-copilot-chat-v2.js.map 20.36 KB
196
- CJS dist/openai-assistants/utils/index.js.map 1.44 KB
197
- CJS dist/openai-assistants/utils/process-message-stream.js.map 1.33 KB
198
- CJS ⚡️ Build success in 270ms
196
+ ESM dist/lib/copilot-task.mjs.map 71.00 B
197
+ ESM dist/lib/index.mjs.map 71.00 B
198
+ ESM ⚡️ Build success in 191ms
199
199
  DTS Build start
200
- DTS ⚡️ Build success in 6028ms
200
+ DTS ⚡️ Build success in 5831ms
201
201
  DTS dist/index.d.ts 1.56 KB
202
202
  DTS dist/components/copilot-provider/copilotkit.d.ts 1.26 KB
203
203
  DTS dist/components/copilot-provider/copilotkit-props.d.ts 1007.00 B
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # ui
2
2
 
3
+ ## 0.24.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1f06d29: declare esm/cjs/types in export
8
+ - fix esm error
9
+ - 5a0b2cf: Inline codeblock style to avoid ESM error
10
+ - e12b921: ESM by default
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [1f06d29]
15
+ - Updated dependencies
16
+ - Updated dependencies [5a0b2cf]
17
+ - Updated dependencies [e12b921]
18
+ - @copilotkit/shared@0.8.0
19
+
20
+ ## 0.24.0-mme-esm-error.2
21
+
22
+ ### Minor Changes
23
+
24
+ - Inline codeblock style to avoid ESM error
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies
29
+ - @copilotkit/shared@0.8.0-mme-esm-error.2
30
+
3
31
  ## 0.24.0-mme-esm-error.1
4
32
 
5
33
  ### Minor Changes
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.24.0-mme-esm-error.1",
7
+ "version": "0.24.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.9.0-mme-esm-error.1",
33
- "tsconfig": "0.13.0-mme-esm-error.1"
32
+ "eslint-config-custom": "0.9.0",
33
+ "tsconfig": "0.13.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "nanoid": "^4.0.2",
37
37
  "untruncate-json": "^0.0.1",
38
- "@copilotkit/shared": "0.8.0-mme-esm-error.1"
38
+ "@copilotkit/shared": "0.8.0"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsup --clean",