@yourgpt/copilot-sdk 2.1.5-alpha.2 → 2.1.5-alpha.4
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.
- package/dist/{MessageTree-CoIt_4nB.d.cts → MessageTree-B0JGQOCi.d.cts} +1 -1
- package/dist/{MessageTree-CzaN9Eul.d.ts → MessageTree-CSIHErPK.d.ts} +1 -1
- package/dist/{ThreadManager-BEAECB7Y.d.ts → ThreadManager-D7KwT2FJ.d.ts} +3 -1
- package/dist/{ThreadManager-Cw5fwyCN.d.cts → ThreadManager-DK46fVl3.d.cts} +3 -1
- package/dist/{chunk-WIXFZUEZ.cjs → chunk-B4YDIMP3.cjs} +4 -3
- package/dist/chunk-B4YDIMP3.cjs.map +1 -0
- package/dist/{chunk-WZ2TOZ7M.js → chunk-EEH3L64W.js} +4 -3
- package/dist/chunk-EEH3L64W.js.map +1 -0
- package/dist/{chunk-PT2TOHG5.js → chunk-FLZO2FO3.js} +6 -4
- package/dist/chunk-FLZO2FO3.js.map +1 -0
- package/dist/{chunk-TCPAT3WG.cjs → chunk-XUR3IOPX.cjs} +34 -32
- package/dist/chunk-XUR3IOPX.cjs.map +1 -0
- package/dist/core/index.cjs +72 -72
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +1 -1
- package/dist/react/index.cjs +62 -62
- package/dist/react/index.d.cts +6 -6
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +2 -2
- package/dist/{types-BeFBBZ5i.d.cts → types-waEqyE4K.d.cts} +5 -0
- package/dist/{types-BeFBBZ5i.d.ts → types-waEqyE4K.d.ts} +5 -0
- package/dist/ui/index.cjs +638 -240
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +299 -54
- package/dist/ui/index.d.ts +299 -54
- package/dist/ui/index.js +586 -189
- package/dist/ui/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-PT2TOHG5.js.map +0 -1
- package/dist/chunk-TCPAT3WG.cjs.map +0 -1
- package/dist/chunk-WIXFZUEZ.cjs.map +0 -1
- package/dist/chunk-WZ2TOZ7M.js.map +0 -1
package/dist/react/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkXUR3IOPX_cjs = require('../chunk-XUR3IOPX.cjs');
|
|
4
|
+
var chunkB4YDIMP3_cjs = require('../chunk-B4YDIMP3.cjs');
|
|
5
5
|
require('../chunk-JGPDQDY4.cjs');
|
|
6
6
|
require('../chunk-BJYA5NDL.cjs');
|
|
7
7
|
require('../chunk-MDS23G2S.cjs');
|
|
@@ -21,243 +21,243 @@ require('../chunk-JEQ2X3Z6.cjs');
|
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "AbstractAgentLoop", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkXUR3IOPX_cjs.AbstractAgentLoop; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "AbstractChat", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkXUR3IOPX_cjs.AbstractChat; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "CopilotProvider", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkXUR3IOPX_cjs.CopilotProvider; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "MessageHistoryContext", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkXUR3IOPX_cjs.MessageHistoryContext; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "MessageTree", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkXUR3IOPX_cjs.MessageTree; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "ReactChat", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkXUR3IOPX_cjs.ReactChat; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "ReactChatState", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkXUR3IOPX_cjs.ReactChatState; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "ReactThreadManager", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkXUR3IOPX_cjs.ReactThreadManager; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "ReactThreadManagerState", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkXUR3IOPX_cjs.ReactThreadManagerState; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "SkillProvider", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkXUR3IOPX_cjs.SkillProvider; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "createMessageIntentHandler", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkXUR3IOPX_cjs.createMessageIntentHandler; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "createPermissionStorage", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkXUR3IOPX_cjs.createPermissionStorage; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "createReactChat", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkXUR3IOPX_cjs.createReactChat; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "createReactChatState", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkXUR3IOPX_cjs.createReactChatState; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "createReactThreadManager", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkXUR3IOPX_cjs.createReactThreadManager; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "createReactThreadManagerState", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkXUR3IOPX_cjs.createReactThreadManagerState; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "createSessionPermissionCache", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkXUR3IOPX_cjs.createSessionPermissionCache; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "createToolIntentHandler", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkXUR3IOPX_cjs.createToolIntentHandler; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "defaultMessageHistoryConfig", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkXUR3IOPX_cjs.defaultMessageHistoryConfig; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "defineSkill", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkXUR3IOPX_cjs.defineSkill; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "formatKnowledgeResultsForAI", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkXUR3IOPX_cjs.formatKnowledgeResultsForAI; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "initialAgentLoopState", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkXUR3IOPX_cjs.initialAgentLoopState; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "isCompactionMarker", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkXUR3IOPX_cjs.isCompactionMarker; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "keepToolPairsAtomic", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkXUR3IOPX_cjs.keepToolPairsAtomic; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "searchKnowledgeBase", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkXUR3IOPX_cjs.searchKnowledgeBase; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "toDisplayMessage", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkXUR3IOPX_cjs.toDisplayMessage; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "toLLMMessage", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkXUR3IOPX_cjs.toLLMMessage; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "toLLMMessages", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkXUR3IOPX_cjs.toLLMMessages; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "useAIAction", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkXUR3IOPX_cjs.useAIAction; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "useAIActions", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkXUR3IOPX_cjs.useAIActions; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "useAIContext", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkXUR3IOPX_cjs.useAIContext; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "useAIContexts", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkXUR3IOPX_cjs.useAIContexts; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "useAITools", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkXUR3IOPX_cjs.useAITools; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "useAgent", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkXUR3IOPX_cjs.useAgent; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "useCapabilities", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkXUR3IOPX_cjs.useCapabilities; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "useChat", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkXUR3IOPX_cjs.useChat; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "useContextStats", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkXUR3IOPX_cjs.useContextStats; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "useCopilot", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkXUR3IOPX_cjs.useCopilot; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "useDevLogger", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkXUR3IOPX_cjs.useDevLogger; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "useFeatureSupport", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkXUR3IOPX_cjs.useFeatureSupport; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "useKnowledgeBase", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkXUR3IOPX_cjs.useKnowledgeBase; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "useMCPClient", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkXUR3IOPX_cjs.useMCPClient; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "useMCPTools", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkXUR3IOPX_cjs.useMCPTools; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "useMCPUIIntents", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkXUR3IOPX_cjs.useMCPUIIntents; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "useMessageHistory", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkXUR3IOPX_cjs.useMessageHistory; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "useMessageHistoryContext", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkXUR3IOPX_cjs.useMessageHistoryContext; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "useSkill", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkXUR3IOPX_cjs.useSkill; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "useSkillStatus", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkXUR3IOPX_cjs.useSkillStatus; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "useSuggestions", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkXUR3IOPX_cjs.useSuggestions; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "useSupportedMediaTypes", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkXUR3IOPX_cjs.useSupportedMediaTypes; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "useThreadManager", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkXUR3IOPX_cjs.useThreadManager; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "useTool", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkXUR3IOPX_cjs.useTool; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "useToolExecutor", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkXUR3IOPX_cjs.useToolExecutor; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "useToolWithSchema", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkXUR3IOPX_cjs.useToolWithSchema; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "useTools", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkXUR3IOPX_cjs.useTools; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "useToolsWithSchema", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkXUR3IOPX_cjs.useToolsWithSchema; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "createLocalStorageAdapter", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkB4YDIMP3_cjs.createLocalStorageAdapter; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "createMemoryAdapter", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkB4YDIMP3_cjs.createMemoryAdapter; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "createServerAdapter", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkB4YDIMP3_cjs.createServerAdapter; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "generateSuggestionReason", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkB4YDIMP3_cjs.generateSuggestionReason; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "tool", {
|
|
263
263
|
enumerable: true,
|
package/dist/react/index.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { U as UIMessage, B as BranchInfo } from '../MessageTree-
|
|
3
|
-
export { M as MessageTree } from '../MessageTree-
|
|
2
|
+
import { U as UIMessage, B as BranchInfo } from '../MessageTree-B0JGQOCi.cjs';
|
|
3
|
+
export { M as MessageTree } from '../MessageTree-B0JGQOCi.cjs';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { L as LLMConfig, l as ToolsConfig, s as ActionDefinition, o as CapturedContext, m as ToolConsentRequest, T as ToolType, n as ToolConsentResponse, S as ScreenshotOptions, C as ConsoleLogOptions, N as NetworkRequestOptions, I as IntentDetectionResult, y as InternalKnowledgeBaseConfig, B as InternalKnowledgeBaseSearchResponse, z as InternalKnowledgeBaseResult, Y as ThreadManagerState, Z as LoadStatus, U as ThreadManagerConfig, F as ThreadManager, V as ThreadManagerCallbacks, W as CreateThreadOptions, X as UpdateThreadOptions } from '../ThreadManager-
|
|
7
|
-
export { A as ActionParameter, q as CloudConfig, r as CopilotConfig, _ as LocalStorageAdapterConfig, J as createLocalStorageAdapter, O as createMemoryAdapter, i as generateSuggestionReason } from '../ThreadManager-
|
|
6
|
+
import { L as LLMConfig, l as ToolsConfig, s as ActionDefinition, o as CapturedContext, m as ToolConsentRequest, T as ToolType, n as ToolConsentResponse, S as ScreenshotOptions, C as ConsoleLogOptions, N as NetworkRequestOptions, I as IntentDetectionResult, y as InternalKnowledgeBaseConfig, B as InternalKnowledgeBaseSearchResponse, z as InternalKnowledgeBaseResult, Y as ThreadManagerState, Z as LoadStatus, U as ThreadManagerConfig, F as ThreadManager, V as ThreadManagerCallbacks, W as CreateThreadOptions, X as UpdateThreadOptions } from '../ThreadManager-DK46fVl3.cjs';
|
|
7
|
+
export { A as ActionParameter, q as CloudConfig, r as CopilotConfig, _ as LocalStorageAdapterConfig, J as createLocalStorageAdapter, O as createMemoryAdapter, i as generateSuggestionReason } from '../ThreadManager-DK46fVl3.cjs';
|
|
8
8
|
import { T as ToolDefinition, t as ToolOptimizationConfig, r as ContextUsage, f as ToolSource, P as PermissionLevel, c as ToolInputSchema, y as ToolExecution$1, e as ToolContext, b as ToolResponse$1, g as ToolRenderProps, i as ToolResultConfig, D as AIResponseMode, u as ToolSet, U as UnifiedToolCall, G as PermissionStorageConfig, H as PermissionStorageAdapter } from '../tools-tmksfhUo.cjs';
|
|
9
9
|
export { z as AgentLoopConfig, q as ContextUsagePart, h as ToolConfig, a as ToolExecutionStatus, F as ToolPermission, v as ToolSetEntry, I as tool } from '../tools-tmksfhUo.cjs';
|
|
10
|
-
import { A as AsyncThreadStorageAdapter, M as MessageAttachment, T as ToolCall, d as Message, S as Source, a as Thread, b as ThreadData, c as ThreadStorageAdapter } from '../types-
|
|
11
|
-
export { P as PersistenceConfig, j as ThreadStorageAdapter } from '../types-
|
|
10
|
+
import { A as AsyncThreadStorageAdapter, M as MessageAttachment, T as ToolCall, d as Message, S as Source, a as Thread, b as ThreadData, c as ThreadStorageAdapter } from '../types-waEqyE4K.cjs';
|
|
11
|
+
export { P as PersistenceConfig, j as ThreadStorageAdapter } from '../types-waEqyE4K.cjs';
|
|
12
12
|
import { G as MCPServerConfig, U as UseMCPClientConfig, D as UseMCPClientReturn, E as UseMCPToolsConfig, F as UseMCPToolsReturn } from '../types-BLw7mxtW.cjs';
|
|
13
13
|
export { b as MCPClientState } from '../types-BLw7mxtW.cjs';
|
|
14
14
|
import { S as SkillDefinition, R as ResolvedSkill } from '../types-BckL3hiw.cjs';
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { U as UIMessage, B as BranchInfo } from '../MessageTree-
|
|
3
|
-
export { M as MessageTree } from '../MessageTree-
|
|
2
|
+
import { U as UIMessage, B as BranchInfo } from '../MessageTree-CSIHErPK.js';
|
|
3
|
+
export { M as MessageTree } from '../MessageTree-CSIHErPK.js';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { L as LLMConfig, l as ToolsConfig, s as ActionDefinition, o as CapturedContext, m as ToolConsentRequest, T as ToolType, n as ToolConsentResponse, S as ScreenshotOptions, C as ConsoleLogOptions, N as NetworkRequestOptions, I as IntentDetectionResult, y as InternalKnowledgeBaseConfig, B as InternalKnowledgeBaseSearchResponse, z as InternalKnowledgeBaseResult, Y as ThreadManagerState, Z as LoadStatus, U as ThreadManagerConfig, F as ThreadManager, V as ThreadManagerCallbacks, W as CreateThreadOptions, X as UpdateThreadOptions } from '../ThreadManager-
|
|
7
|
-
export { A as ActionParameter, q as CloudConfig, r as CopilotConfig, _ as LocalStorageAdapterConfig, J as createLocalStorageAdapter, O as createMemoryAdapter, i as generateSuggestionReason } from '../ThreadManager-
|
|
6
|
+
import { L as LLMConfig, l as ToolsConfig, s as ActionDefinition, o as CapturedContext, m as ToolConsentRequest, T as ToolType, n as ToolConsentResponse, S as ScreenshotOptions, C as ConsoleLogOptions, N as NetworkRequestOptions, I as IntentDetectionResult, y as InternalKnowledgeBaseConfig, B as InternalKnowledgeBaseSearchResponse, z as InternalKnowledgeBaseResult, Y as ThreadManagerState, Z as LoadStatus, U as ThreadManagerConfig, F as ThreadManager, V as ThreadManagerCallbacks, W as CreateThreadOptions, X as UpdateThreadOptions } from '../ThreadManager-D7KwT2FJ.js';
|
|
7
|
+
export { A as ActionParameter, q as CloudConfig, r as CopilotConfig, _ as LocalStorageAdapterConfig, J as createLocalStorageAdapter, O as createMemoryAdapter, i as generateSuggestionReason } from '../ThreadManager-D7KwT2FJ.js';
|
|
8
8
|
import { T as ToolDefinition, t as ToolOptimizationConfig, r as ContextUsage, f as ToolSource, P as PermissionLevel, c as ToolInputSchema, y as ToolExecution$1, e as ToolContext, b as ToolResponse$1, g as ToolRenderProps, i as ToolResultConfig, D as AIResponseMode, u as ToolSet, U as UnifiedToolCall, G as PermissionStorageConfig, H as PermissionStorageAdapter } from '../tools-tmksfhUo.js';
|
|
9
9
|
export { z as AgentLoopConfig, q as ContextUsagePart, h as ToolConfig, a as ToolExecutionStatus, F as ToolPermission, v as ToolSetEntry, I as tool } from '../tools-tmksfhUo.js';
|
|
10
|
-
import { A as AsyncThreadStorageAdapter, M as MessageAttachment, T as ToolCall, d as Message, S as Source, a as Thread, b as ThreadData, c as ThreadStorageAdapter } from '../types-
|
|
11
|
-
export { P as PersistenceConfig, j as ThreadStorageAdapter } from '../types-
|
|
10
|
+
import { A as AsyncThreadStorageAdapter, M as MessageAttachment, T as ToolCall, d as Message, S as Source, a as Thread, b as ThreadData, c as ThreadStorageAdapter } from '../types-waEqyE4K.js';
|
|
11
|
+
export { P as PersistenceConfig, j as ThreadStorageAdapter } from '../types-waEqyE4K.js';
|
|
12
12
|
import { G as MCPServerConfig, U as UseMCPClientConfig, D as UseMCPClientReturn, E as UseMCPToolsConfig, F as UseMCPToolsReturn } from '../types-BqwW3Baj.js';
|
|
13
13
|
export { b as MCPClientState } from '../types-BqwW3Baj.js';
|
|
14
14
|
import { S as SkillDefinition, R as ResolvedSkill } from '../types-BckL3hiw.js';
|
package/dist/react/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AbstractAgentLoop, AbstractChat, CopilotProvider, MessageHistoryContext, MessageTree, ReactChat, ReactChatState, ReactThreadManager, ReactThreadManagerState, SkillProvider, createMessageIntentHandler, createPermissionStorage, createReactChat, createReactChatState, createReactThreadManager, createReactThreadManagerState, createSessionPermissionCache, createToolIntentHandler, defaultMessageHistoryConfig, defineSkill, formatKnowledgeResultsForAI, initialAgentLoopState, isCompactionMarker, keepToolPairsAtomic, searchKnowledgeBase, toDisplayMessage, toLLMMessage, toLLMMessages, useAIAction, useAIActions, useAIContext, useAIContexts, useAITools, useAgent, useCapabilities, useChat, useContextStats, useCopilot, useDevLogger, useFeatureSupport, useKnowledgeBase, useMCPClient, useMCPTools, useMCPUIIntents, useMessageHistory, useMessageHistoryContext, useSkill, useSkillStatus, useSuggestions, useSupportedMediaTypes, useThreadManager, useTool, useToolExecutor, useToolWithSchema, useTools, useToolsWithSchema } from '../chunk-
|
|
2
|
-
export { createLocalStorageAdapter, createMemoryAdapter, createServerAdapter, generateSuggestionReason } from '../chunk-
|
|
1
|
+
export { AbstractAgentLoop, AbstractChat, CopilotProvider, MessageHistoryContext, MessageTree, ReactChat, ReactChatState, ReactThreadManager, ReactThreadManagerState, SkillProvider, createMessageIntentHandler, createPermissionStorage, createReactChat, createReactChatState, createReactThreadManager, createReactThreadManagerState, createSessionPermissionCache, createToolIntentHandler, defaultMessageHistoryConfig, defineSkill, formatKnowledgeResultsForAI, initialAgentLoopState, isCompactionMarker, keepToolPairsAtomic, searchKnowledgeBase, toDisplayMessage, toLLMMessage, toLLMMessages, useAIAction, useAIActions, useAIContext, useAIContexts, useAITools, useAgent, useCapabilities, useChat, useContextStats, useCopilot, useDevLogger, useFeatureSupport, useKnowledgeBase, useMCPClient, useMCPTools, useMCPUIIntents, useMessageHistory, useMessageHistoryContext, useSkill, useSkillStatus, useSuggestions, useSupportedMediaTypes, useThreadManager, useTool, useToolExecutor, useToolWithSchema, useTools, useToolsWithSchema } from '../chunk-FLZO2FO3.js';
|
|
2
|
+
export { createLocalStorageAdapter, createMemoryAdapter, createServerAdapter, generateSuggestionReason } from '../chunk-EEH3L64W.js';
|
|
3
3
|
import '../chunk-EWVQWTNV.js';
|
|
4
4
|
import '../chunk-VNLLW3ZI.js';
|
|
5
5
|
import '../chunk-RKGRQRZU.js';
|
|
@@ -274,6 +274,11 @@ interface ThreadData extends Thread {
|
|
|
274
274
|
messages: Message[];
|
|
275
275
|
/** Sources from knowledge base for this thread */
|
|
276
276
|
sources: Source[];
|
|
277
|
+
/**
|
|
278
|
+
* ID of the active leaf message (tip of the active branch path).
|
|
279
|
+
* Saved so the correct branch is restored after a page reload.
|
|
280
|
+
*/
|
|
281
|
+
activeLeafId?: string;
|
|
277
282
|
}
|
|
278
283
|
/**
|
|
279
284
|
* Persistence storage interface for custom adapters
|
|
@@ -274,6 +274,11 @@ interface ThreadData extends Thread {
|
|
|
274
274
|
messages: Message[];
|
|
275
275
|
/** Sources from knowledge base for this thread */
|
|
276
276
|
sources: Source[];
|
|
277
|
+
/**
|
|
278
|
+
* ID of the active leaf message (tip of the active branch path).
|
|
279
|
+
* Saved so the correct branch is restored after a page reload.
|
|
280
|
+
*/
|
|
281
|
+
activeLeafId?: string;
|
|
277
282
|
}
|
|
278
283
|
/**
|
|
279
284
|
* Persistence storage interface for custom adapters
|