@copilotkit/react-ui 1.7.2-next.1 → 1.7.2-next.2

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.
Files changed (67) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/{chunk-AZU4QOV5.mjs → chunk-AELKLZSG.mjs} +5 -5
  3. package/dist/{chunk-3PJA5MFR.mjs → chunk-DLG7BZTA.mjs} +2 -2
  4. package/dist/chunk-EJG6RRSX.mjs +138 -0
  5. package/dist/chunk-EJG6RRSX.mjs.map +1 -0
  6. package/dist/chunk-MCO235PS.mjs +164 -0
  7. package/dist/chunk-MCO235PS.mjs.map +1 -0
  8. package/dist/chunk-MWC5OV7Z.mjs +1 -0
  9. package/dist/chunk-N7LTE54T.mjs +1 -0
  10. package/dist/chunk-N7LTE54T.mjs.map +1 -0
  11. package/dist/{chunk-2C3ANQCY.mjs → chunk-QXQDIFOC.mjs} +9 -9
  12. package/dist/{chunk-ADTTDBLB.mjs → chunk-R2O33F44.mjs} +2 -2
  13. package/dist/chunk-UCVCAGU7.mjs +1 -0
  14. package/dist/chunk-UCVCAGU7.mjs.map +1 -0
  15. package/dist/{chunk-22K5DDPF.mjs → chunk-ZIF5JJCH.mjs} +8 -8
  16. package/dist/components/chat/Chat.mjs +7 -7
  17. package/dist/components/chat/Modal.mjs +8 -8
  18. package/dist/components/chat/Popup.mjs +9 -9
  19. package/dist/components/chat/Sidebar.mjs +9 -9
  20. package/dist/components/chat/index.mjs +12 -12
  21. package/dist/components/crew/DefaultResponseRenderer.d.ts +110 -0
  22. package/dist/components/crew/DefaultResponseRenderer.js +175 -0
  23. package/dist/components/crew/DefaultResponseRenderer.js.map +1 -0
  24. package/dist/components/crew/DefaultResponseRenderer.mjs +10 -0
  25. package/dist/components/crew/DefaultResponseRenderer.mjs.map +1 -0
  26. package/dist/components/crew/DefaultStateRenderer.d.ts +88 -0
  27. package/dist/components/crew/DefaultStateRenderer.js +198 -0
  28. package/dist/components/crew/DefaultStateRenderer.js.map +1 -0
  29. package/dist/components/crew/DefaultStateRenderer.mjs +8 -0
  30. package/dist/components/crew/DefaultStateRenderer.mjs.map +1 -0
  31. package/dist/components/crew/index.d.ts +4 -0
  32. package/dist/components/crew/index.js +335 -0
  33. package/dist/components/crew/index.js.map +1 -0
  34. package/dist/components/crew/index.mjs +16 -0
  35. package/dist/components/crew/index.mjs.map +1 -0
  36. package/dist/components/crew/types.d.ts +340 -0
  37. package/dist/components/crew/types.js +19 -0
  38. package/dist/components/crew/types.js.map +1 -0
  39. package/dist/components/crew/types.mjs +2 -0
  40. package/dist/components/crew/types.mjs.map +1 -0
  41. package/dist/components/dev-console/console.mjs +3 -3
  42. package/dist/components/dev-console/index.mjs +4 -4
  43. package/dist/components/index.d.ts +3 -0
  44. package/dist/components/index.js +290 -0
  45. package/dist/components/index.js.map +1 -1
  46. package/dist/components/index.mjs +26 -14
  47. package/dist/index.css +227 -0
  48. package/dist/index.css.map +1 -1
  49. package/dist/index.d.ts +3 -0
  50. package/dist/index.js +292 -2
  51. package/dist/index.js.map +1 -1
  52. package/dist/index.mjs +26 -14
  53. package/package.json +4 -4
  54. package/src/components/crew/DefaultResponseRenderer.tsx +298 -0
  55. package/src/components/crew/DefaultStateRenderer.tsx +326 -0
  56. package/src/components/crew/index.ts +3 -0
  57. package/src/components/crew/types.ts +398 -0
  58. package/src/components/index.ts +1 -0
  59. package/src/css/crew.css +277 -0
  60. package/src/styles.css +1 -0
  61. package/dist/chunk-MMVDU6DF.mjs +0 -1
  62. /package/dist/{chunk-AZU4QOV5.mjs.map → chunk-AELKLZSG.mjs.map} +0 -0
  63. /package/dist/{chunk-3PJA5MFR.mjs.map → chunk-DLG7BZTA.mjs.map} +0 -0
  64. /package/dist/{chunk-MMVDU6DF.mjs.map → chunk-MWC5OV7Z.mjs.map} +0 -0
  65. /package/dist/{chunk-2C3ANQCY.mjs.map → chunk-QXQDIFOC.mjs.map} +0 -0
  66. /package/dist/{chunk-ADTTDBLB.mjs.map → chunk-R2O33F44.mjs.map} +0 -0
  67. /package/dist/{chunk-22K5DDPF.mjs.map → chunk-ZIF5JJCH.mjs.map} +0 -0
@@ -0,0 +1,340 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ /**
4
+ * Status of a response or action that requires user input
5
+ */
6
+ type ResponseStatus = "inProgress" | "complete" | "executing";
7
+ /**
8
+ * Response data structure for the ResponseRenderer
9
+ */
10
+ interface Response {
11
+ /**
12
+ * Unique identifier for the response
13
+ */
14
+ id: string;
15
+ /**
16
+ * The content of the response to display
17
+ */
18
+ content: string;
19
+ /**
20
+ * Optional metadata for the response
21
+ */
22
+ metadata?: Record<string, any>;
23
+ }
24
+ /**
25
+ * Optional cache for storing user feedback
26
+ */
27
+ interface ResponseCache<T extends {
28
+ id: string;
29
+ }> {
30
+ /**
31
+ * Get feedback for a specific ID
32
+ */
33
+ getResponse: (id: string) => T | undefined;
34
+ /**
35
+ * Set feedback for a specific ID
36
+ */
37
+ setResponse: (id: string, response: T) => void;
38
+ }
39
+ /**
40
+ * Props for custom icon components
41
+ */
42
+ interface ResponseRendererIconProps {
43
+ className?: string;
44
+ }
45
+ /**
46
+ * Icons for the ResponseRenderer component
47
+ */
48
+ interface ResponseRendererIcons {
49
+ /**
50
+ * Icon for expanding content
51
+ */
52
+ expand?: React.ComponentType<ResponseRendererIconProps>;
53
+ /**
54
+ * Icon for collapsing content
55
+ */
56
+ collapse?: React.ComponentType<ResponseRendererIconProps>;
57
+ }
58
+ /**
59
+ * Labels for the ResponseRenderer component
60
+ */
61
+ interface ResponseRendererLabels {
62
+ /**
63
+ * Label for the response section
64
+ */
65
+ responseLabel?: string;
66
+ /**
67
+ * Label for the approve button
68
+ */
69
+ approveLabel?: string;
70
+ /**
71
+ * Label for the reject button
72
+ */
73
+ rejectLabel?: string;
74
+ /**
75
+ * Message shown when approved
76
+ */
77
+ approvedMessage?: string;
78
+ /**
79
+ * Message shown when rejected
80
+ */
81
+ rejectedMessage?: string;
82
+ /**
83
+ * Message shown when feedback is submitted
84
+ */
85
+ feedbackSubmittedMessage?: string;
86
+ }
87
+ /**
88
+ * Props for the content renderer component
89
+ */
90
+ interface ContentRendererProps {
91
+ /**
92
+ * Content to render
93
+ */
94
+ content: string;
95
+ /**
96
+ * CSS class name for styling
97
+ */
98
+ className?: string;
99
+ }
100
+ /**
101
+ * Props for the feedback button component
102
+ */
103
+ interface FeedbackButtonProps {
104
+ /**
105
+ * The text to display on the button
106
+ */
107
+ label: string;
108
+ /**
109
+ * Function to call when the button is clicked
110
+ */
111
+ onClick: () => void;
112
+ /**
113
+ * CSS class name for styling
114
+ */
115
+ className?: string;
116
+ }
117
+ /**
118
+ * Props for the completed feedback display component
119
+ */
120
+ interface CompletedFeedbackProps {
121
+ /**
122
+ * The message to display
123
+ */
124
+ message: string;
125
+ /**
126
+ * CSS class name for styling
127
+ */
128
+ className?: string;
129
+ }
130
+ /**
131
+ * Props for the ResponseRenderer component
132
+ */
133
+ interface ResponseRendererProps {
134
+ /**
135
+ * The response data to render
136
+ */
137
+ response: Response;
138
+ /**
139
+ * The current status of the response
140
+ */
141
+ status: ResponseStatus;
142
+ /**
143
+ * Function to call when a response is given
144
+ */
145
+ onRespond?: (input: string) => void;
146
+ /**
147
+ * Custom icons for the component
148
+ */
149
+ icons?: ResponseRendererIcons;
150
+ /**
151
+ * Custom labels for the component
152
+ */
153
+ labels?: ResponseRendererLabels;
154
+ /**
155
+ * Custom component for rendering content
156
+ */
157
+ ContentRenderer?: React.ComponentType<ContentRendererProps>;
158
+ /**
159
+ * Custom component for rendering feedback buttons
160
+ */
161
+ FeedbackButton?: React.ComponentType<FeedbackButtonProps>;
162
+ /**
163
+ * Custom component for rendering completed feedback
164
+ */
165
+ CompletedFeedback?: React.ComponentType<CompletedFeedbackProps>;
166
+ /**
167
+ * CSS class for the root element
168
+ */
169
+ className?: string;
170
+ /**
171
+ * CSS class for the content element
172
+ */
173
+ contentClassName?: string;
174
+ /**
175
+ * CSS class for the actions container
176
+ */
177
+ actionsClassName?: string;
178
+ /**
179
+ * CSS class for feedback buttons
180
+ */
181
+ buttonClassName?: string;
182
+ /**
183
+ * CSS class for completed feedback
184
+ */
185
+ completedFeedbackClassName?: string;
186
+ /**
187
+ * Children nodes
188
+ */
189
+ children?: ReactNode;
190
+ }
191
+ /**
192
+ * Base state item interface for agent state items
193
+ */
194
+ interface StateItem {
195
+ /**
196
+ * Unique identifier for the item
197
+ */
198
+ id: string;
199
+ /**
200
+ * Timestamp when the item was created
201
+ */
202
+ timestamp: string;
203
+ }
204
+ /**
205
+ * Tool execution state item
206
+ */
207
+ interface ToolStateItem extends StateItem {
208
+ /**
209
+ * Name of the tool that was executed
210
+ */
211
+ tool: string;
212
+ /**
213
+ * Optional thought process for the tool execution
214
+ */
215
+ thought?: string;
216
+ /**
217
+ * Result of the tool execution
218
+ */
219
+ result?: any;
220
+ }
221
+ /**
222
+ * Task state item
223
+ */
224
+ interface TaskStateItem extends StateItem {
225
+ /**
226
+ * Name of the task
227
+ */
228
+ name: string;
229
+ /**
230
+ * Description of the task
231
+ */
232
+ description?: string;
233
+ }
234
+ /**
235
+ * AgentState containing information about steps and tasks
236
+ */
237
+ interface AgentState {
238
+ /**
239
+ * Array of tool execution steps
240
+ */
241
+ steps?: ToolStateItem[];
242
+ /**
243
+ * Array of tasks
244
+ */
245
+ tasks?: TaskStateItem[];
246
+ }
247
+ /**
248
+ * Props for the item renderer component
249
+ */
250
+ interface StateItemRendererProps {
251
+ /**
252
+ * The item to render
253
+ */
254
+ item: ToolStateItem | TaskStateItem;
255
+ /**
256
+ * Whether the item is the newest
257
+ */
258
+ isNewest: boolean;
259
+ /**
260
+ * CSS class for the item container
261
+ */
262
+ className?: string;
263
+ }
264
+ /**
265
+ * Props for the skeleton loader component
266
+ */
267
+ interface SkeletonLoaderProps {
268
+ /**
269
+ * CSS class for the skeleton
270
+ */
271
+ className?: string;
272
+ }
273
+ /**
274
+ * Props for the DefaultStateRenderer component
275
+ */
276
+ interface StateRendererProps {
277
+ /**
278
+ * The state to render
279
+ */
280
+ state?: AgentState;
281
+ /**
282
+ * The current status
283
+ */
284
+ status: ResponseStatus;
285
+ /**
286
+ * Custom component for rendering individual state items
287
+ */
288
+ StateItemRenderer?: React.ComponentType<StateItemRendererProps>;
289
+ /**
290
+ * Custom component for showing a loading skeleton
291
+ */
292
+ SkeletonLoader?: React.ComponentType<SkeletonLoaderProps>;
293
+ /**
294
+ * Custom labels for the component
295
+ */
296
+ labels?: {
297
+ /**
298
+ * Label shown when in progress
299
+ */
300
+ inProgressLabel?: string;
301
+ /**
302
+ * Label shown when complete
303
+ */
304
+ completeLabel?: string;
305
+ /**
306
+ * Label shown when no items are present
307
+ */
308
+ emptyLabel?: string;
309
+ };
310
+ /**
311
+ * Custom icons for the component
312
+ */
313
+ icons?: ResponseRendererIcons;
314
+ /**
315
+ * CSS class for the root element
316
+ */
317
+ className?: string;
318
+ /**
319
+ * CSS class for the content container
320
+ */
321
+ contentClassName?: string;
322
+ /**
323
+ * CSS class for state items
324
+ */
325
+ itemClassName?: string;
326
+ /**
327
+ * Maximum height for the content area
328
+ */
329
+ maxHeight?: string;
330
+ /**
331
+ * Initial collapsed state
332
+ */
333
+ defaultCollapsed?: boolean;
334
+ /**
335
+ * Children nodes
336
+ */
337
+ children?: ReactNode;
338
+ }
339
+
340
+ export { AgentState, CompletedFeedbackProps, ContentRendererProps, FeedbackButtonProps, Response, ResponseCache, ResponseRendererIconProps, ResponseRendererIcons, ResponseRendererLabels, ResponseRendererProps, ResponseStatus, SkeletonLoaderProps, StateItem, StateItemRendererProps, StateRendererProps, TaskStateItem, ToolStateItem };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // src/components/crew/types.ts
17
+ var types_exports = {};
18
+ module.exports = __toCommonJS(types_exports);
19
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/crew/types.ts"],"sourcesContent":["import { ReactNode } from \"react\";\n\n/**\n * Status of a response or action that requires user input\n */\nexport type ResponseStatus = \"inProgress\" | \"complete\" | \"executing\";\n\n/**\n * Response data structure for the ResponseRenderer\n */\nexport interface Response {\n /**\n * Unique identifier for the response\n */\n id: string;\n\n /**\n * The content of the response to display\n */\n content: string;\n\n /**\n * Optional metadata for the response\n */\n metadata?: Record<string, any>;\n}\n\n/**\n * Optional cache for storing user feedback\n */\nexport interface ResponseCache<T extends { id: string }> {\n /**\n * Get feedback for a specific ID\n */\n getResponse: (id: string) => T | undefined;\n\n /**\n * Set feedback for a specific ID\n */\n setResponse: (id: string, response: T) => void;\n}\n\n/**\n * Props for custom icon components\n */\nexport interface ResponseRendererIconProps {\n className?: string;\n}\n\n/**\n * Icons for the ResponseRenderer component\n */\nexport interface ResponseRendererIcons {\n /**\n * Icon for expanding content\n */\n expand?: React.ComponentType<ResponseRendererIconProps>;\n\n /**\n * Icon for collapsing content\n */\n collapse?: React.ComponentType<ResponseRendererIconProps>;\n}\n\n/**\n * Labels for the ResponseRenderer component\n */\nexport interface ResponseRendererLabels {\n /**\n * Label for the response section\n */\n responseLabel?: string;\n\n /**\n * Label for the approve button\n */\n approveLabel?: string;\n\n /**\n * Label for the reject button\n */\n rejectLabel?: string;\n\n /**\n * Message shown when approved\n */\n approvedMessage?: string;\n\n /**\n * Message shown when rejected\n */\n rejectedMessage?: string;\n\n /**\n * Message shown when feedback is submitted\n */\n feedbackSubmittedMessage?: string;\n}\n\n/**\n * Props for the content renderer component\n */\nexport interface ContentRendererProps {\n /**\n * Content to render\n */\n content: string;\n\n /**\n * CSS class name for styling\n */\n className?: string;\n}\n\n/**\n * Props for the feedback button component\n */\nexport interface FeedbackButtonProps {\n /**\n * The text to display on the button\n */\n label: string;\n\n /**\n * Function to call when the button is clicked\n */\n onClick: () => void;\n\n /**\n * CSS class name for styling\n */\n className?: string;\n}\n\n/**\n * Props for the completed feedback display component\n */\nexport interface CompletedFeedbackProps {\n /**\n * The message to display\n */\n message: string;\n\n /**\n * CSS class name for styling\n */\n className?: string;\n}\n\n/**\n * Props for the ResponseRenderer component\n */\nexport interface ResponseRendererProps {\n /**\n * The response data to render\n */\n response: Response;\n\n /**\n * The current status of the response\n */\n status: ResponseStatus;\n\n /**\n * Function to call when a response is given\n */\n onRespond?: (input: string) => void;\n\n /**\n * Custom icons for the component\n */\n icons?: ResponseRendererIcons;\n\n /**\n * Custom labels for the component\n */\n labels?: ResponseRendererLabels;\n\n /**\n * Custom component for rendering content\n */\n ContentRenderer?: React.ComponentType<ContentRendererProps>;\n\n /**\n * Custom component for rendering feedback buttons\n */\n FeedbackButton?: React.ComponentType<FeedbackButtonProps>;\n\n /**\n * Custom component for rendering completed feedback\n */\n CompletedFeedback?: React.ComponentType<CompletedFeedbackProps>;\n\n /**\n * CSS class for the root element\n */\n className?: string;\n\n /**\n * CSS class for the content element\n */\n contentClassName?: string;\n\n /**\n * CSS class for the actions container\n */\n actionsClassName?: string;\n\n /**\n * CSS class for feedback buttons\n */\n buttonClassName?: string;\n\n /**\n * CSS class for completed feedback\n */\n completedFeedbackClassName?: string;\n\n /**\n * Children nodes\n */\n children?: ReactNode;\n}\n\n/**\n * Base state item interface for agent state items\n */\nexport interface StateItem {\n /**\n * Unique identifier for the item\n */\n id: string;\n\n /**\n * Timestamp when the item was created\n */\n timestamp: string;\n}\n\n/**\n * Tool execution state item\n */\nexport interface ToolStateItem extends StateItem {\n /**\n * Name of the tool that was executed\n */\n tool: string;\n\n /**\n * Optional thought process for the tool execution\n */\n thought?: string;\n\n /**\n * Result of the tool execution\n */\n result?: any;\n}\n\n/**\n * Task state item\n */\nexport interface TaskStateItem extends StateItem {\n /**\n * Name of the task\n */\n name: string;\n\n /**\n * Description of the task\n */\n description?: string;\n}\n\n/**\n * AgentState containing information about steps and tasks\n */\nexport interface AgentState {\n /**\n * Array of tool execution steps\n */\n steps?: ToolStateItem[];\n\n /**\n * Array of tasks\n */\n tasks?: TaskStateItem[];\n}\n\n/**\n * Props for the item renderer component\n */\nexport interface StateItemRendererProps {\n /**\n * The item to render\n */\n item: ToolStateItem | TaskStateItem;\n\n /**\n * Whether the item is the newest\n */\n isNewest: boolean;\n\n /**\n * CSS class for the item container\n */\n className?: string;\n}\n\n/**\n * Props for the skeleton loader component\n */\nexport interface SkeletonLoaderProps {\n /**\n * CSS class for the skeleton\n */\n className?: string;\n}\n\n/**\n * Props for the DefaultStateRenderer component\n */\nexport interface StateRendererProps {\n /**\n * The state to render\n */\n state?: AgentState;\n\n /**\n * The current status\n */\n status: ResponseStatus;\n\n /**\n * Custom component for rendering individual state items\n */\n StateItemRenderer?: React.ComponentType<StateItemRendererProps>;\n\n /**\n * Custom component for showing a loading skeleton\n */\n SkeletonLoader?: React.ComponentType<SkeletonLoaderProps>;\n\n /**\n * Custom labels for the component\n */\n labels?: {\n /**\n * Label shown when in progress\n */\n inProgressLabel?: string;\n\n /**\n * Label shown when complete\n */\n completeLabel?: string;\n\n /**\n * Label shown when no items are present\n */\n emptyLabel?: string;\n };\n\n /**\n * Custom icons for the component\n */\n icons?: ResponseRendererIcons;\n\n /**\n * CSS class for the root element\n */\n className?: string;\n\n /**\n * CSS class for the content container\n */\n contentClassName?: string;\n\n /**\n * CSS class for state items\n */\n itemClassName?: string;\n\n /**\n * Maximum height for the content area\n */\n maxHeight?: string;\n\n /**\n * Initial collapsed state\n */\n defaultCollapsed?: boolean;\n\n /**\n * Children nodes\n */\n children?: ReactNode;\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1,2 @@
1
+ import "../../chunk-N7LTE54T.mjs";
2
+ //# sourceMappingURL=types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  CopilotDevConsole,
4
4
  DebugMenuButton
5
- } from "../../chunk-22K5DDPF.mjs";
6
- import "../../chunk-6TCUJ3B7.mjs";
5
+ } from "../../chunk-ZIF5JJCH.mjs";
7
6
  import "../../chunk-KXE2JCUH.mjs";
8
7
  import "../../chunk-TI7SY2RI.mjs";
9
- import "../../chunk-BH6PCAAL.mjs";
10
8
  import "../../chunk-OTPAZXVR.mjs";
9
+ import "../../chunk-6TCUJ3B7.mjs";
10
+ import "../../chunk-BH6PCAAL.mjs";
11
11
  import "../../chunk-FZC7X5PK.mjs";
12
12
  import "../../chunk-MRXNTQOX.mjs";
13
13
  export {
@@ -1,14 +1,14 @@
1
1
  import "../../chunk-V7W6IM2V.mjs";
2
2
  import {
3
3
  CopilotDevConsole
4
- } from "../../chunk-22K5DDPF.mjs";
4
+ } from "../../chunk-ZIF5JJCH.mjs";
5
+ import "../../chunk-KXE2JCUH.mjs";
6
+ import "../../chunk-TI7SY2RI.mjs";
7
+ import "../../chunk-OTPAZXVR.mjs";
5
8
  import {
6
9
  shouldShowDevConsole
7
10
  } from "../../chunk-6TCUJ3B7.mjs";
8
- import "../../chunk-KXE2JCUH.mjs";
9
- import "../../chunk-TI7SY2RI.mjs";
10
11
  import "../../chunk-BH6PCAAL.mjs";
11
- import "../../chunk-OTPAZXVR.mjs";
12
12
  import "../../chunk-FZC7X5PK.mjs";
13
13
  import "../../chunk-MRXNTQOX.mjs";
14
14
  export {
@@ -8,6 +8,9 @@ export { UserMessage } from './chat/messages/UserMessage.js';
8
8
  export { useChatContext } from './chat/ChatContext.js';
9
9
  export { shouldShowDevConsole } from './dev-console/utils.js';
10
10
  export { CopilotDevConsole } from './dev-console/console.js';
11
+ export { DefaultResponseRenderer, createResponseCache } from './crew/DefaultResponseRenderer.js';
12
+ export { DefaultStateRenderer } from './crew/DefaultStateRenderer.js';
13
+ export { AgentState, CompletedFeedbackProps, ContentRendererProps, FeedbackButtonProps, Response, ResponseCache, ResponseRendererIconProps, ResponseRendererIcons, ResponseRendererLabels, ResponseRendererProps, ResponseStatus, SkeletonLoaderProps, StateItem, StateItemRendererProps, StateRendererProps, TaskStateItem, ToolStateItem } from './crew/types.js';
11
14
  import '@copilotkit/runtime-client-gql';
12
15
  import 'react/jsx-runtime';
13
16
  import './chat/Modal.js';