@yourgpt/copilot-sdk 2.1.5-alpha.8 → 2.1.6

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,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk5EGBIQYS_cjs = require('../chunk-5EGBIQYS.cjs');
4
- var chunkJV2L3WZS_cjs = require('../chunk-JV2L3WZS.cjs');
4
+ var chunk6ZTITCKU_cjs = require('../chunk-6ZTITCKU.cjs');
5
5
  require('../chunk-7GWEW2DU.cjs');
6
6
  require('../chunk-JGPDQDY4.cjs');
7
7
  require('../chunk-BJYA5NDL.cjs');
@@ -530,7 +530,7 @@ function useGenerativeUI(config = {}) {
530
530
  const toolName = config.name ?? "render_ui";
531
531
  const configRef = React__namespace.useRef(config);
532
532
  configRef.current = config;
533
- chunkJV2L3WZS_cjs.useTool({
533
+ chunk6ZTITCKU_cjs.useTool({
534
534
  name: toolName,
535
535
  description: "Renders a rich UI component inline in the chat. Handled automatically by the SDK.",
536
536
  inputSchema: RENDER_UI_SCHEMA,
@@ -1,5 +1,5 @@
1
1
  import { cn, DotsLoader } from '../chunk-TXQ37MAO.js';
2
- import { useTool } from '../chunk-FDZVDGNR.js';
2
+ import { useTool } from '../chunk-2JNH3T6H.js';
3
3
  import '../chunk-J5D3AZF6.js';
4
4
  import '../chunk-EWVQWTNV.js';
5
5
  import '../chunk-VNLLW3ZI.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkKLSKP6AZ_cjs = require('../chunk-KLSKP6AZ.cjs');
4
- var chunkJV2L3WZS_cjs = require('../chunk-JV2L3WZS.cjs');
3
+ var chunkHIVSXIER_cjs = require('../chunk-HIVSXIER.cjs');
4
+ var chunk6ZTITCKU_cjs = require('../chunk-6ZTITCKU.cjs');
5
5
  var chunk7GWEW2DU_cjs = require('../chunk-7GWEW2DU.cjs');
6
6
  require('../chunk-JGPDQDY4.cjs');
7
7
  require('../chunk-BJYA5NDL.cjs');
@@ -22,243 +22,243 @@ require('../chunk-JEQ2X3Z6.cjs');
22
22
 
23
23
  Object.defineProperty(exports, "ReactChat", {
24
24
  enumerable: true,
25
- get: function () { return chunkKLSKP6AZ_cjs.ReactChat; }
25
+ get: function () { return chunkHIVSXIER_cjs.ReactChat; }
26
26
  });
27
27
  Object.defineProperty(exports, "ReactThreadManager", {
28
28
  enumerable: true,
29
- get: function () { return chunkKLSKP6AZ_cjs.ReactThreadManager; }
29
+ get: function () { return chunkHIVSXIER_cjs.ReactThreadManager; }
30
30
  });
31
31
  Object.defineProperty(exports, "ReactThreadManagerState", {
32
32
  enumerable: true,
33
- get: function () { return chunkKLSKP6AZ_cjs.ReactThreadManagerState; }
33
+ get: function () { return chunkHIVSXIER_cjs.ReactThreadManagerState; }
34
34
  });
35
35
  Object.defineProperty(exports, "createMessageIntentHandler", {
36
36
  enumerable: true,
37
- get: function () { return chunkKLSKP6AZ_cjs.createMessageIntentHandler; }
37
+ get: function () { return chunkHIVSXIER_cjs.createMessageIntentHandler; }
38
38
  });
39
39
  Object.defineProperty(exports, "createPermissionStorage", {
40
40
  enumerable: true,
41
- get: function () { return chunkKLSKP6AZ_cjs.createPermissionStorage; }
41
+ get: function () { return chunkHIVSXIER_cjs.createPermissionStorage; }
42
42
  });
43
43
  Object.defineProperty(exports, "createReactChat", {
44
44
  enumerable: true,
45
- get: function () { return chunkKLSKP6AZ_cjs.createReactChat; }
45
+ get: function () { return chunkHIVSXIER_cjs.createReactChat; }
46
46
  });
47
47
  Object.defineProperty(exports, "createReactThreadManager", {
48
48
  enumerable: true,
49
- get: function () { return chunkKLSKP6AZ_cjs.createReactThreadManager; }
49
+ get: function () { return chunkHIVSXIER_cjs.createReactThreadManager; }
50
50
  });
51
51
  Object.defineProperty(exports, "createReactThreadManagerState", {
52
52
  enumerable: true,
53
- get: function () { return chunkKLSKP6AZ_cjs.createReactThreadManagerState; }
53
+ get: function () { return chunkHIVSXIER_cjs.createReactThreadManagerState; }
54
54
  });
55
55
  Object.defineProperty(exports, "createSessionPermissionCache", {
56
56
  enumerable: true,
57
- get: function () { return chunkKLSKP6AZ_cjs.createSessionPermissionCache; }
57
+ get: function () { return chunkHIVSXIER_cjs.createSessionPermissionCache; }
58
58
  });
59
59
  Object.defineProperty(exports, "createToolIntentHandler", {
60
60
  enumerable: true,
61
- get: function () { return chunkKLSKP6AZ_cjs.createToolIntentHandler; }
61
+ get: function () { return chunkHIVSXIER_cjs.createToolIntentHandler; }
62
62
  });
63
63
  Object.defineProperty(exports, "defineSkill", {
64
64
  enumerable: true,
65
- get: function () { return chunkKLSKP6AZ_cjs.defineSkill; }
65
+ get: function () { return chunkHIVSXIER_cjs.defineSkill; }
66
66
  });
67
67
  Object.defineProperty(exports, "formatKnowledgeResultsForAI", {
68
68
  enumerable: true,
69
- get: function () { return chunkKLSKP6AZ_cjs.formatKnowledgeResultsForAI; }
69
+ get: function () { return chunkHIVSXIER_cjs.formatKnowledgeResultsForAI; }
70
70
  });
71
71
  Object.defineProperty(exports, "searchKnowledgeBase", {
72
72
  enumerable: true,
73
- get: function () { return chunkKLSKP6AZ_cjs.searchKnowledgeBase; }
73
+ get: function () { return chunkHIVSXIER_cjs.searchKnowledgeBase; }
74
74
  });
75
75
  Object.defineProperty(exports, "useAIAction", {
76
76
  enumerable: true,
77
- get: function () { return chunkKLSKP6AZ_cjs.useAIAction; }
77
+ get: function () { return chunkHIVSXIER_cjs.useAIAction; }
78
78
  });
79
79
  Object.defineProperty(exports, "useAIActions", {
80
80
  enumerable: true,
81
- get: function () { return chunkKLSKP6AZ_cjs.useAIActions; }
81
+ get: function () { return chunkHIVSXIER_cjs.useAIActions; }
82
82
  });
83
83
  Object.defineProperty(exports, "useAITools", {
84
84
  enumerable: true,
85
- get: function () { return chunkKLSKP6AZ_cjs.useAITools; }
85
+ get: function () { return chunkHIVSXIER_cjs.useAITools; }
86
86
  });
87
87
  Object.defineProperty(exports, "useAgent", {
88
88
  enumerable: true,
89
- get: function () { return chunkKLSKP6AZ_cjs.useAgent; }
89
+ get: function () { return chunkHIVSXIER_cjs.useAgent; }
90
90
  });
91
91
  Object.defineProperty(exports, "useCapabilities", {
92
92
  enumerable: true,
93
- get: function () { return chunkKLSKP6AZ_cjs.useCapabilities; }
93
+ get: function () { return chunkHIVSXIER_cjs.useCapabilities; }
94
94
  });
95
95
  Object.defineProperty(exports, "useChat", {
96
96
  enumerable: true,
97
- get: function () { return chunkKLSKP6AZ_cjs.useChat; }
97
+ get: function () { return chunkHIVSXIER_cjs.useChat; }
98
98
  });
99
99
  Object.defineProperty(exports, "useContextStats", {
100
100
  enumerable: true,
101
- get: function () { return chunkKLSKP6AZ_cjs.useContextStats; }
101
+ get: function () { return chunkHIVSXIER_cjs.useContextStats; }
102
102
  });
103
103
  Object.defineProperty(exports, "useCopilotEvent", {
104
104
  enumerable: true,
105
- get: function () { return chunkKLSKP6AZ_cjs.useCopilotEvent; }
105
+ get: function () { return chunkHIVSXIER_cjs.useCopilotEvent; }
106
106
  });
107
107
  Object.defineProperty(exports, "useDevLogger", {
108
108
  enumerable: true,
109
- get: function () { return chunkKLSKP6AZ_cjs.useDevLogger; }
109
+ get: function () { return chunkHIVSXIER_cjs.useDevLogger; }
110
110
  });
111
111
  Object.defineProperty(exports, "useFeatureSupport", {
112
112
  enumerable: true,
113
- get: function () { return chunkKLSKP6AZ_cjs.useFeatureSupport; }
113
+ get: function () { return chunkHIVSXIER_cjs.useFeatureSupport; }
114
114
  });
115
115
  Object.defineProperty(exports, "useKnowledgeBase", {
116
116
  enumerable: true,
117
- get: function () { return chunkKLSKP6AZ_cjs.useKnowledgeBase; }
117
+ get: function () { return chunkHIVSXIER_cjs.useKnowledgeBase; }
118
118
  });
119
119
  Object.defineProperty(exports, "useMCPUIIntents", {
120
120
  enumerable: true,
121
- get: function () { return chunkKLSKP6AZ_cjs.useMCPUIIntents; }
121
+ get: function () { return chunkHIVSXIER_cjs.useMCPUIIntents; }
122
122
  });
123
123
  Object.defineProperty(exports, "useMessageCheckpoints", {
124
124
  enumerable: true,
125
- get: function () { return chunkKLSKP6AZ_cjs.useMessageCheckpoints; }
125
+ get: function () { return chunkHIVSXIER_cjs.useMessageCheckpoints; }
126
126
  });
127
127
  Object.defineProperty(exports, "useMessageMeta", {
128
128
  enumerable: true,
129
- get: function () { return chunkKLSKP6AZ_cjs.useMessageMeta; }
129
+ get: function () { return chunkHIVSXIER_cjs.useMessageMeta; }
130
130
  });
131
131
  Object.defineProperty(exports, "useSkill", {
132
132
  enumerable: true,
133
- get: function () { return chunkKLSKP6AZ_cjs.useSkill; }
133
+ get: function () { return chunkHIVSXIER_cjs.useSkill; }
134
134
  });
135
135
  Object.defineProperty(exports, "useSkillStatus", {
136
136
  enumerable: true,
137
- get: function () { return chunkKLSKP6AZ_cjs.useSkillStatus; }
137
+ get: function () { return chunkHIVSXIER_cjs.useSkillStatus; }
138
138
  });
139
139
  Object.defineProperty(exports, "useSuggestions", {
140
140
  enumerable: true,
141
- get: function () { return chunkKLSKP6AZ_cjs.useSuggestions; }
141
+ get: function () { return chunkHIVSXIER_cjs.useSuggestions; }
142
142
  });
143
143
  Object.defineProperty(exports, "useSupportedMediaTypes", {
144
144
  enumerable: true,
145
- get: function () { return chunkKLSKP6AZ_cjs.useSupportedMediaTypes; }
145
+ get: function () { return chunkHIVSXIER_cjs.useSupportedMediaTypes; }
146
146
  });
147
147
  Object.defineProperty(exports, "useThread", {
148
148
  enumerable: true,
149
- get: function () { return chunkKLSKP6AZ_cjs.useThread; }
149
+ get: function () { return chunkHIVSXIER_cjs.useThread; }
150
150
  });
151
151
  Object.defineProperty(exports, "useThreadManager", {
152
152
  enumerable: true,
153
- get: function () { return chunkKLSKP6AZ_cjs.useThreadManager; }
153
+ get: function () { return chunkHIVSXIER_cjs.useThreadManager; }
154
154
  });
155
155
  Object.defineProperty(exports, "useToolExecutor", {
156
156
  enumerable: true,
157
- get: function () { return chunkKLSKP6AZ_cjs.useToolExecutor; }
157
+ get: function () { return chunkHIVSXIER_cjs.useToolExecutor; }
158
158
  });
159
159
  Object.defineProperty(exports, "useToolWithSchema", {
160
160
  enumerable: true,
161
- get: function () { return chunkKLSKP6AZ_cjs.useToolWithSchema; }
161
+ get: function () { return chunkHIVSXIER_cjs.useToolWithSchema; }
162
162
  });
163
163
  Object.defineProperty(exports, "useToolsWithSchema", {
164
164
  enumerable: true,
165
- get: function () { return chunkKLSKP6AZ_cjs.useToolsWithSchema; }
165
+ get: function () { return chunkHIVSXIER_cjs.useToolsWithSchema; }
166
166
  });
167
167
  Object.defineProperty(exports, "AbstractAgentLoop", {
168
168
  enumerable: true,
169
- get: function () { return chunkJV2L3WZS_cjs.AbstractAgentLoop; }
169
+ get: function () { return chunk6ZTITCKU_cjs.AbstractAgentLoop; }
170
170
  });
171
171
  Object.defineProperty(exports, "AbstractChat", {
172
172
  enumerable: true,
173
- get: function () { return chunkJV2L3WZS_cjs.AbstractChat; }
173
+ get: function () { return chunk6ZTITCKU_cjs.AbstractChat; }
174
174
  });
175
175
  Object.defineProperty(exports, "CopilotProvider", {
176
176
  enumerable: true,
177
- get: function () { return chunkJV2L3WZS_cjs.CopilotProvider; }
177
+ get: function () { return chunk6ZTITCKU_cjs.CopilotProvider; }
178
178
  });
179
179
  Object.defineProperty(exports, "MessageHistoryContext", {
180
180
  enumerable: true,
181
- get: function () { return chunkJV2L3WZS_cjs.MessageHistoryContext; }
181
+ get: function () { return chunk6ZTITCKU_cjs.MessageHistoryContext; }
182
182
  });
183
183
  Object.defineProperty(exports, "MessageTree", {
184
184
  enumerable: true,
185
- get: function () { return chunkJV2L3WZS_cjs.MessageTree; }
185
+ get: function () { return chunk6ZTITCKU_cjs.MessageTree; }
186
186
  });
187
187
  Object.defineProperty(exports, "ReactChatState", {
188
188
  enumerable: true,
189
- get: function () { return chunkJV2L3WZS_cjs.ReactChatState; }
189
+ get: function () { return chunk6ZTITCKU_cjs.ReactChatState; }
190
190
  });
191
191
  Object.defineProperty(exports, "SkillProvider", {
192
192
  enumerable: true,
193
- get: function () { return chunkJV2L3WZS_cjs.SkillProvider; }
193
+ get: function () { return chunk6ZTITCKU_cjs.SkillProvider; }
194
194
  });
195
195
  Object.defineProperty(exports, "createReactChatState", {
196
196
  enumerable: true,
197
- get: function () { return chunkJV2L3WZS_cjs.createReactChatState; }
197
+ get: function () { return chunk6ZTITCKU_cjs.createReactChatState; }
198
198
  });
199
199
  Object.defineProperty(exports, "defaultMessageHistoryConfig", {
200
200
  enumerable: true,
201
- get: function () { return chunkJV2L3WZS_cjs.defaultMessageHistoryConfig; }
201
+ get: function () { return chunk6ZTITCKU_cjs.defaultMessageHistoryConfig; }
202
202
  });
203
203
  Object.defineProperty(exports, "initialAgentLoopState", {
204
204
  enumerable: true,
205
- get: function () { return chunkJV2L3WZS_cjs.initialAgentLoopState; }
205
+ get: function () { return chunk6ZTITCKU_cjs.initialAgentLoopState; }
206
206
  });
207
207
  Object.defineProperty(exports, "isCompactionMarker", {
208
208
  enumerable: true,
209
- get: function () { return chunkJV2L3WZS_cjs.isCompactionMarker; }
209
+ get: function () { return chunk6ZTITCKU_cjs.isCompactionMarker; }
210
210
  });
211
211
  Object.defineProperty(exports, "keepToolPairsAtomic", {
212
212
  enumerable: true,
213
- get: function () { return chunkJV2L3WZS_cjs.keepToolPairsAtomic; }
213
+ get: function () { return chunk6ZTITCKU_cjs.keepToolPairsAtomic; }
214
214
  });
215
215
  Object.defineProperty(exports, "toDisplayMessage", {
216
216
  enumerable: true,
217
- get: function () { return chunkJV2L3WZS_cjs.toDisplayMessage; }
217
+ get: function () { return chunk6ZTITCKU_cjs.toDisplayMessage; }
218
218
  });
219
219
  Object.defineProperty(exports, "toLLMMessage", {
220
220
  enumerable: true,
221
- get: function () { return chunkJV2L3WZS_cjs.toLLMMessage; }
221
+ get: function () { return chunk6ZTITCKU_cjs.toLLMMessage; }
222
222
  });
223
223
  Object.defineProperty(exports, "toLLMMessages", {
224
224
  enumerable: true,
225
- get: function () { return chunkJV2L3WZS_cjs.toLLMMessages; }
225
+ get: function () { return chunk6ZTITCKU_cjs.toLLMMessages; }
226
226
  });
227
227
  Object.defineProperty(exports, "useAIContext", {
228
228
  enumerable: true,
229
- get: function () { return chunkJV2L3WZS_cjs.useAIContext; }
229
+ get: function () { return chunk6ZTITCKU_cjs.useAIContext; }
230
230
  });
231
231
  Object.defineProperty(exports, "useAIContexts", {
232
232
  enumerable: true,
233
- get: function () { return chunkJV2L3WZS_cjs.useAIContexts; }
233
+ get: function () { return chunk6ZTITCKU_cjs.useAIContexts; }
234
234
  });
235
235
  Object.defineProperty(exports, "useCopilot", {
236
236
  enumerable: true,
237
- get: function () { return chunkJV2L3WZS_cjs.useCopilot; }
237
+ get: function () { return chunk6ZTITCKU_cjs.useCopilot; }
238
238
  });
239
239
  Object.defineProperty(exports, "useMCPClient", {
240
240
  enumerable: true,
241
- get: function () { return chunkJV2L3WZS_cjs.useMCPClient; }
241
+ get: function () { return chunk6ZTITCKU_cjs.useMCPClient; }
242
242
  });
243
243
  Object.defineProperty(exports, "useMCPTools", {
244
244
  enumerable: true,
245
- get: function () { return chunkJV2L3WZS_cjs.useMCPTools; }
245
+ get: function () { return chunk6ZTITCKU_cjs.useMCPTools; }
246
246
  });
247
247
  Object.defineProperty(exports, "useMessageHistory", {
248
248
  enumerable: true,
249
- get: function () { return chunkJV2L3WZS_cjs.useMessageHistory; }
249
+ get: function () { return chunk6ZTITCKU_cjs.useMessageHistory; }
250
250
  });
251
251
  Object.defineProperty(exports, "useMessageHistoryContext", {
252
252
  enumerable: true,
253
- get: function () { return chunkJV2L3WZS_cjs.useMessageHistoryContext; }
253
+ get: function () { return chunk6ZTITCKU_cjs.useMessageHistoryContext; }
254
254
  });
255
255
  Object.defineProperty(exports, "useTool", {
256
256
  enumerable: true,
257
- get: function () { return chunkJV2L3WZS_cjs.useTool; }
257
+ get: function () { return chunk6ZTITCKU_cjs.useTool; }
258
258
  });
259
259
  Object.defineProperty(exports, "useTools", {
260
260
  enumerable: true,
261
- get: function () { return chunkJV2L3WZS_cjs.useTools; }
261
+ get: function () { return chunk6ZTITCKU_cjs.useTools; }
262
262
  });
263
263
  Object.defineProperty(exports, "createLocalStorageAdapter", {
264
264
  enumerable: true,
@@ -1,5 +1,5 @@
1
- export { ReactChat, ReactThreadManager, ReactThreadManagerState, createMessageIntentHandler, createPermissionStorage, createReactChat, createReactThreadManager, createReactThreadManagerState, createSessionPermissionCache, createToolIntentHandler, defineSkill, formatKnowledgeResultsForAI, searchKnowledgeBase, useAIAction, useAIActions, useAITools, useAgent, useCapabilities, useChat, useContextStats, useCopilotEvent, useDevLogger, useFeatureSupport, useKnowledgeBase, useMCPUIIntents, useMessageCheckpoints, useMessageMeta, useSkill, useSkillStatus, useSuggestions, useSupportedMediaTypes, useThread, useThreadManager, useToolExecutor, useToolWithSchema, useToolsWithSchema } from '../chunk-KYVWKMUT.js';
2
- export { AbstractAgentLoop, AbstractChat, CopilotProvider, MessageHistoryContext, MessageTree, ReactChatState, SkillProvider, createReactChatState, defaultMessageHistoryConfig, initialAgentLoopState, isCompactionMarker, keepToolPairsAtomic, toDisplayMessage, toLLMMessage, toLLMMessages, useAIContext, useAIContexts, useCopilot, useMCPClient, useMCPTools, useMessageHistory, useMessageHistoryContext, useTool, useTools } from '../chunk-FDZVDGNR.js';
1
+ export { ReactChat, ReactThreadManager, ReactThreadManagerState, createMessageIntentHandler, createPermissionStorage, createReactChat, createReactThreadManager, createReactThreadManagerState, createSessionPermissionCache, createToolIntentHandler, defineSkill, formatKnowledgeResultsForAI, searchKnowledgeBase, useAIAction, useAIActions, useAITools, useAgent, useCapabilities, useChat, useContextStats, useCopilotEvent, useDevLogger, useFeatureSupport, useKnowledgeBase, useMCPUIIntents, useMessageCheckpoints, useMessageMeta, useSkill, useSkillStatus, useSuggestions, useSupportedMediaTypes, useThread, useThreadManager, useToolExecutor, useToolWithSchema, useToolsWithSchema } from '../chunk-SMNZHZM7.js';
2
+ export { AbstractAgentLoop, AbstractChat, CopilotProvider, MessageHistoryContext, MessageTree, ReactChatState, SkillProvider, createReactChatState, defaultMessageHistoryConfig, initialAgentLoopState, isCompactionMarker, keepToolPairsAtomic, toDisplayMessage, toLLMMessage, toLLMMessages, useAIContext, useAIContexts, useCopilot, useMCPClient, useMCPTools, useMessageHistory, useMessageHistoryContext, useTool, useTools } from '../chunk-2JNH3T6H.js';
3
3
  export { createLocalStorageAdapter, createMemoryAdapter, createServerAdapter, generateSuggestionReason } from '../chunk-J5D3AZF6.js';
4
4
  import '../chunk-EWVQWTNV.js';
5
5
  import '../chunk-VNLLW3ZI.js';
package/dist/ui/index.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkKLSKP6AZ_cjs = require('../chunk-KLSKP6AZ.cjs');
3
+ var chunkHIVSXIER_cjs = require('../chunk-HIVSXIER.cjs');
4
4
  var chunkJO4BHPAD_cjs = require('../chunk-JO4BHPAD.cjs');
5
5
  var chunk5EGBIQYS_cjs = require('../chunk-5EGBIQYS.cjs');
6
- var chunkJV2L3WZS_cjs = require('../chunk-JV2L3WZS.cjs');
6
+ var chunk6ZTITCKU_cjs = require('../chunk-6ZTITCKU.cjs');
7
7
  var chunk7GWEW2DU_cjs = require('../chunk-7GWEW2DU.cjs');
8
8
  require('../chunk-JGPDQDY4.cjs');
9
9
  require('../chunk-BJYA5NDL.cjs');
@@ -6880,7 +6880,7 @@ function useInternalThreadManager(config = {}) {
6880
6880
  } = config;
6881
6881
  const [state, dispatch] = React19.useReducer(threadReducer, INITIAL_STATE);
6882
6882
  const isLoadingRef = React19.useRef(false);
6883
- const threadManager = chunkKLSKP6AZ_cjs.useThreadManager({
6883
+ const threadManager = chunkHIVSXIER_cjs.useThreadManager({
6884
6884
  adapter,
6885
6885
  saveDebounce,
6886
6886
  autoRestoreLastThread
@@ -6902,7 +6902,7 @@ function useInternalThreadManager(config = {}) {
6902
6902
  switchBranch,
6903
6903
  threadId: sdkThreadId,
6904
6904
  setActiveThread
6905
- } = chunkJV2L3WZS_cjs.useCopilot();
6905
+ } = chunk6ZTITCKU_cjs.useCopilot();
6906
6906
  React19.useEffect(() => {
6907
6907
  if (!enabled || state.initialized || !currentThread) return;
6908
6908
  dispatch({ type: "RESTORE_START" });
@@ -7132,7 +7132,7 @@ function CopilotChatBase(props) {
7132
7132
  getBranchInfo,
7133
7133
  editMessage,
7134
7134
  error: chatError
7135
- } = chunkJV2L3WZS_cjs.useCopilot();
7135
+ } = chunk6ZTITCKU_cjs.useCopilot();
7136
7136
  const toolExecutions = rawToolExecutions.map(
7137
7137
  (exec) => ({
7138
7138
  id: exec.id,
package/dist/ui/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { useThreadManager } from '../chunk-KYVWKMUT.js';
1
+ import { useThreadManager } from '../chunk-SMNZHZM7.js';
2
2
  import { DEFAULT_MCP_UI_SANDBOX, parseMCPUIMessage } from '../chunk-G4SF2PNQ.js';
3
3
  import { cn, Loader, TextShimmerLoader } from '../chunk-TXQ37MAO.js';
4
4
  export { Loader, cn } from '../chunk-TXQ37MAO.js';
5
- import { useCopilot } from '../chunk-FDZVDGNR.js';
5
+ import { useCopilot } from '../chunk-2JNH3T6H.js';
6
6
  import { createLocalStorageAdapter, createServerAdapter } from '../chunk-J5D3AZF6.js';
7
7
  import '../chunk-EWVQWTNV.js';
8
8
  import '../chunk-VNLLW3ZI.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yourgpt/copilot-sdk",
3
- "version": "2.1.5-alpha.8",
3
+ "version": "2.1.6",
4
4
  "description": "Copilot SDK for building Production-ready AI Copilots for any product. Connect any LLM, deploy on your infrastructure, own your data.",
5
5
  "type": "module",
6
6
  "types": "./dist/core/index.d.ts",