@yourgpt/copilot-sdk 2.1.5-alpha.6 → 2.1.5-alpha.8
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/{ThreadManager-DK46fVl3.d.cts → ThreadManager-B12N-zpq.d.cts} +3 -3
- package/dist/{ThreadManager-D7KwT2FJ.d.ts → ThreadManager-BxGOeykx.d.ts} +3 -3
- package/dist/{chunk-VION33GW.cjs → chunk-7GWEW2DU.cjs} +14 -7
- package/dist/chunk-7GWEW2DU.cjs.map +1 -0
- package/dist/{chunk-I2XOCFHG.js → chunk-FDZVDGNR.js} +33 -6
- package/dist/chunk-FDZVDGNR.js.map +1 -0
- package/dist/{chunk-PSNLKMZH.js → chunk-J5D3AZF6.js} +14 -7
- package/dist/chunk-J5D3AZF6.js.map +1 -0
- package/dist/{chunk-2QLF7XM7.cjs → chunk-JV2L3WZS.cjs} +37 -10
- package/dist/chunk-JV2L3WZS.cjs.map +1 -0
- package/dist/{chunk-QTGEEBRW.cjs → chunk-KLSKP6AZ.cjs} +41 -41
- package/dist/{chunk-QTGEEBRW.cjs.map → chunk-KLSKP6AZ.cjs.map} +1 -1
- package/dist/{chunk-PURFAD2P.js → chunk-KYVWKMUT.js} +4 -4
- package/dist/{chunk-PURFAD2P.js.map → chunk-KYVWKMUT.js.map} +1 -1
- package/dist/core/index.cjs +72 -72
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +1 -1
- package/dist/experimental/index.cjs +3 -3
- package/dist/experimental/index.js +2 -2
- package/dist/react/index.cjs +67 -67
- package/dist/react/index.d.cts +17 -2
- package/dist/react/index.d.ts +17 -2
- package/dist/react/index.js +3 -3
- package/dist/styles.css +26 -0
- package/dist/ui/index.cjs +325 -184
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +6 -1
- package/dist/ui/index.d.ts +6 -1
- package/dist/ui/index.js +323 -182
- package/dist/ui/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2QLF7XM7.cjs.map +0 -1
- package/dist/chunk-I2XOCFHG.js.map +0 -1
- package/dist/chunk-PSNLKMZH.js.map +0 -1
- package/dist/chunk-VION33GW.cjs.map +0 -1
package/dist/core/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7GWEW2DU_cjs = require('../chunk-7GWEW2DU.cjs');
|
|
4
4
|
var chunkY2A6AMGO_cjs = require('../chunk-Y2A6AMGO.cjs');
|
|
5
5
|
var chunkTPDMBDQX_cjs = require('../chunk-TPDMBDQX.cjs');
|
|
6
6
|
var chunk3ZDRX7J2_cjs = require('../chunk-3ZDRX7J2.cjs');
|
|
@@ -18,287 +18,287 @@ require('../chunk-JEQ2X3Z6.cjs');
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "CLOUD_MAX_FILE_SIZE", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk7GWEW2DU_cjs.CLOUD_MAX_FILE_SIZE; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DEFAULT_YOURGPT_ENDPOINT", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk7GWEW2DU_cjs.DEFAULT_YOURGPT_ENDPOINT; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "SimpleThreadManagerState", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk7GWEW2DU_cjs.SimpleThreadManagerState; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "ThreadManager", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk7GWEW2DU_cjs.ThreadManager; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "actionToTool", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk7GWEW2DU_cjs.actionToTool; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "builtinTools", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk7GWEW2DU_cjs.builtinTools; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "captureCurrentLogs", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk7GWEW2DU_cjs.captureCurrentLogs; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "captureScreenshot", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk7GWEW2DU_cjs.captureScreenshot; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "clearConsoleLogs", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk7GWEW2DU_cjs.clearConsoleLogs; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "clearNetworkRequests", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk7GWEW2DU_cjs.clearNetworkRequests; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "consoleLogsTool", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk7GWEW2DU_cjs.consoleLogsTool; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "createAssistantMessage", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk7GWEW2DU_cjs.createAssistantMessage; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "createCloudStorage", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk7GWEW2DU_cjs.createCloudStorage; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "createConsoleLogsTool", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk7GWEW2DU_cjs.createConsoleLogsTool; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "createCustomDetector", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk7GWEW2DU_cjs.createCustomDetector; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "createLocalStorageAdapter", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk7GWEW2DU_cjs.createLocalStorageAdapter; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "createLogger", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk7GWEW2DU_cjs.createLogger; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "createMemoryAdapter", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk7GWEW2DU_cjs.createMemoryAdapter; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "createMessage", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk7GWEW2DU_cjs.createMessage; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "createNetworkRequestsTool", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk7GWEW2DU_cjs.createNetworkRequestsTool; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "createSSEStream", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunk7GWEW2DU_cjs.createSSEStream; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "createScreenshotTool", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunk7GWEW2DU_cjs.createScreenshotTool; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "createThreadManager", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunk7GWEW2DU_cjs.createThreadManager; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "createToolCall", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunk7GWEW2DU_cjs.createToolCall; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "createToolMessage", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunk7GWEW2DU_cjs.createToolMessage; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "createUserMessage", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk7GWEW2DU_cjs.createUserMessage; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "defaultSystemMessage", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunk7GWEW2DU_cjs.defaultSystemMessage; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "defineClientTool", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunk7GWEW2DU_cjs.defineClientTool; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "defineServerTool", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunk7GWEW2DU_cjs.defineServerTool; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "defineTool", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunk7GWEW2DU_cjs.defineTool; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "detectIntent", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunk7GWEW2DU_cjs.detectIntent; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "formatLogsForAI", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunk7GWEW2DU_cjs.formatLogsForAI; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "formatRequestsForAI", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunk7GWEW2DU_cjs.formatRequestsForAI; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "formatSSE", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunk7GWEW2DU_cjs.formatSSE; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "generateId", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunk7GWEW2DU_cjs.generateId; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "generateMessageId", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunk7GWEW2DU_cjs.generateMessageId; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "generateSuggestionReason", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunk7GWEW2DU_cjs.generateSuggestionReason; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "generateThreadId", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunk7GWEW2DU_cjs.generateThreadId; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "generateThreadTitle", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunk7GWEW2DU_cjs.generateThreadTitle; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "generateToolCallId", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunk7GWEW2DU_cjs.generateToolCallId; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "getAttachmentTypeFromMime", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunk7GWEW2DU_cjs.getAttachmentTypeFromMime; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "getConsoleErrors", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunk7GWEW2DU_cjs.getConsoleErrors; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "getConsoleLogs", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunk7GWEW2DU_cjs.getConsoleLogs; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "getConsoleWarnings", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunk7GWEW2DU_cjs.getConsoleWarnings; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "getFailedRequests", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunk7GWEW2DU_cjs.getFailedRequests; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "getNetworkRequests", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunk7GWEW2DU_cjs.getNetworkRequests; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "getPrimaryTool", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunk7GWEW2DU_cjs.getPrimaryTool; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "hasToolCalls", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunk7GWEW2DU_cjs.hasToolCalls; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "hasToolSuggestions", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunk7GWEW2DU_cjs.hasToolSuggestions; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "isConsoleCaptureActive", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunk7GWEW2DU_cjs.isConsoleCaptureActive; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "isNetworkCaptureActive", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunk7GWEW2DU_cjs.isNetworkCaptureActive; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "isScreenshotSupported", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunk7GWEW2DU_cjs.isScreenshotSupported; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "isToolResult", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunk7GWEW2DU_cjs.isToolResult; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "localStorageAdapter", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunk7GWEW2DU_cjs.localStorageAdapter; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "logOnce", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunk7GWEW2DU_cjs.logOnce; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "networkRequestsTool", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunk7GWEW2DU_cjs.networkRequestsTool; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "noopAdapter", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunk7GWEW2DU_cjs.noopAdapter; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "parseSSELine", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunk7GWEW2DU_cjs.parseSSELine; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "parseStreamEvent", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunk7GWEW2DU_cjs.parseStreamEvent; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "parseToolCallArgs", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunk7GWEW2DU_cjs.parseToolCallArgs; }
|
|
258
258
|
});
|
|
259
259
|
Object.defineProperty(exports, "processFileToAttachment", {
|
|
260
260
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunk7GWEW2DU_cjs.processFileToAttachment; }
|
|
262
262
|
});
|
|
263
263
|
Object.defineProperty(exports, "resizeScreenshot", {
|
|
264
264
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunk7GWEW2DU_cjs.resizeScreenshot; }
|
|
266
266
|
});
|
|
267
267
|
Object.defineProperty(exports, "screenshotTool", {
|
|
268
268
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunk7GWEW2DU_cjs.screenshotTool; }
|
|
270
270
|
});
|
|
271
271
|
Object.defineProperty(exports, "serializeStreamEvent", {
|
|
272
272
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunk7GWEW2DU_cjs.serializeStreamEvent; }
|
|
274
274
|
});
|
|
275
275
|
Object.defineProperty(exports, "startConsoleCapture", {
|
|
276
276
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunk7GWEW2DU_cjs.startConsoleCapture; }
|
|
278
278
|
});
|
|
279
279
|
Object.defineProperty(exports, "startNetworkCapture", {
|
|
280
280
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
281
|
+
get: function () { return chunk7GWEW2DU_cjs.startNetworkCapture; }
|
|
282
282
|
});
|
|
283
283
|
Object.defineProperty(exports, "stopConsoleCapture", {
|
|
284
284
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
285
|
+
get: function () { return chunk7GWEW2DU_cjs.stopConsoleCapture; }
|
|
286
286
|
});
|
|
287
287
|
Object.defineProperty(exports, "stopNetworkCapture", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunk7GWEW2DU_cjs.stopNetworkCapture; }
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperty(exports, "streamSSE", {
|
|
292
292
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunk7GWEW2DU_cjs.streamSSE; }
|
|
294
294
|
});
|
|
295
295
|
Object.defineProperty(exports, "zodObjectToInputSchema", {
|
|
296
296
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunk7GWEW2DU_cjs.zodObjectToInputSchema; }
|
|
298
298
|
});
|
|
299
299
|
Object.defineProperty(exports, "zodToJsonSchema", {
|
|
300
300
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunk7GWEW2DU_cjs.zodToJsonSchema; }
|
|
302
302
|
});
|
|
303
303
|
Object.defineProperty(exports, "createWebSearchTool", {
|
|
304
304
|
enumerable: true,
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as ScreenshotOptions, a as ScreenshotResult, C as ConsoleLogOptions, b as ConsoleLogResult, c as ConsoleLogEntry, N as NetworkRequestOptions, d as NetworkRequestResult, e as NetworkRequestEntry } from '../ThreadManager-
|
|
2
|
-
export { s as ActionDefinition, A as ActionParameter, t as ActionRenderProps, o as CapturedContext, q as CloudConfig, k as ConsoleLogType, r as CopilotConfig, W as CreateThreadOptions, p as CustomKeywords, E as Extension, H as HttpMethod, I as IntentDetectionResult, y as InternalKnowledgeBaseConfig, z as InternalKnowledgeBaseResult, B as InternalKnowledgeBaseSearchResponse, u as KnowledgeBaseConfig, K as KnowledgeBaseProvider, v as KnowledgeBaseResult, w as KnowledgeBaseSearchRequest, x as KnowledgeBaseSearchResponse, L as LLMConfig, Z as LoadStatus, _ as LocalStorageAdapterConfig, P as ParameterType, R as SimpleThreadManagerState, F as ThreadManager, V as ThreadManagerCallbacks, U as ThreadManagerConfig, Y as ThreadManagerState, m as ToolConsentRequest, n as ToolConsentResponse, T as ToolType, l as ToolsConfig, X as UpdateThreadOptions, D as actionToTool, j as createCustomDetector, J as createLocalStorageAdapter, O as createMemoryAdapter, G as createThreadManager, f as detectIntent, i as generateSuggestionReason, g as getPrimaryTool, h as hasToolSuggestions, M as localStorageAdapter, Q as noopAdapter } from '../ThreadManager-
|
|
1
|
+
import { S as ScreenshotOptions, a as ScreenshotResult, C as ConsoleLogOptions, b as ConsoleLogResult, c as ConsoleLogEntry, N as NetworkRequestOptions, d as NetworkRequestResult, e as NetworkRequestEntry } from '../ThreadManager-B12N-zpq.cjs';
|
|
2
|
+
export { s as ActionDefinition, A as ActionParameter, t as ActionRenderProps, o as CapturedContext, q as CloudConfig, k as ConsoleLogType, r as CopilotConfig, W as CreateThreadOptions, p as CustomKeywords, E as Extension, H as HttpMethod, I as IntentDetectionResult, y as InternalKnowledgeBaseConfig, z as InternalKnowledgeBaseResult, B as InternalKnowledgeBaseSearchResponse, u as KnowledgeBaseConfig, K as KnowledgeBaseProvider, v as KnowledgeBaseResult, w as KnowledgeBaseSearchRequest, x as KnowledgeBaseSearchResponse, L as LLMConfig, Z as LoadStatus, _ as LocalStorageAdapterConfig, P as ParameterType, R as SimpleThreadManagerState, F as ThreadManager, V as ThreadManagerCallbacks, U as ThreadManagerConfig, Y as ThreadManagerState, m as ToolConsentRequest, n as ToolConsentResponse, T as ToolType, l as ToolsConfig, X as UpdateThreadOptions, D as actionToTool, j as createCustomDetector, J as createLocalStorageAdapter, O as createMemoryAdapter, G as createThreadManager, f as detectIntent, i as generateSuggestionReason, g as getPrimaryTool, h as hasToolSuggestions, M as localStorageAdapter, Q as noopAdapter } from '../ThreadManager-B12N-zpq.cjs';
|
|
3
3
|
import { T as ToolDefinition, a as ToolExecutionStatus, b as ToolResponse, c as ToolInputSchema, d as ToolLocation, e as ToolContext } from '../tools-DcS6Aeao.cjs';
|
|
4
4
|
export { E as AIContent, A as AIProvider, D as AIResponseMode, z as AgentLoopConfig, B as AgentLoopState, s as ContextBudgetConfig, C as ContextHistoryConfig, p as ContextManagementConfig, n as ContextSummarizationConfig, r as ContextUsage, q as ContextUsagePart, J as JSONSchemaProperty, P as PermissionLevel, H as PermissionStorageAdapter, G as PermissionStorageConfig, o as TokenEstimationConfig, x as ToolApprovalStatus, h as ToolConfig, y as ToolExecution, t as ToolOptimizationConfig, F as ToolPermission, l as ToolProfile, m as ToolProfileConfig, g as ToolRenderProps, i as ToolResultConfig, j as ToolResultTruncationConfig, u as ToolSet, v as ToolSetEntry, f as ToolSource, k as ToolTruncationStrategy, U as UnifiedToolCall, w as UnifiedToolResult, M as createToolResult, O as failure, N as success, I as tool, L as toolToAnthropicFormat, K as toolToOpenAIFormat } from '../tools-DcS6Aeao.cjs';
|
|
5
5
|
import { S as Source, M as MessageAttachment } from '../types-waEqyE4K.cjs';
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as ScreenshotOptions, a as ScreenshotResult, C as ConsoleLogOptions, b as ConsoleLogResult, c as ConsoleLogEntry, N as NetworkRequestOptions, d as NetworkRequestResult, e as NetworkRequestEntry } from '../ThreadManager-
|
|
2
|
-
export { s as ActionDefinition, A as ActionParameter, t as ActionRenderProps, o as CapturedContext, q as CloudConfig, k as ConsoleLogType, r as CopilotConfig, W as CreateThreadOptions, p as CustomKeywords, E as Extension, H as HttpMethod, I as IntentDetectionResult, y as InternalKnowledgeBaseConfig, z as InternalKnowledgeBaseResult, B as InternalKnowledgeBaseSearchResponse, u as KnowledgeBaseConfig, K as KnowledgeBaseProvider, v as KnowledgeBaseResult, w as KnowledgeBaseSearchRequest, x as KnowledgeBaseSearchResponse, L as LLMConfig, Z as LoadStatus, _ as LocalStorageAdapterConfig, P as ParameterType, R as SimpleThreadManagerState, F as ThreadManager, V as ThreadManagerCallbacks, U as ThreadManagerConfig, Y as ThreadManagerState, m as ToolConsentRequest, n as ToolConsentResponse, T as ToolType, l as ToolsConfig, X as UpdateThreadOptions, D as actionToTool, j as createCustomDetector, J as createLocalStorageAdapter, O as createMemoryAdapter, G as createThreadManager, f as detectIntent, i as generateSuggestionReason, g as getPrimaryTool, h as hasToolSuggestions, M as localStorageAdapter, Q as noopAdapter } from '../ThreadManager-
|
|
1
|
+
import { S as ScreenshotOptions, a as ScreenshotResult, C as ConsoleLogOptions, b as ConsoleLogResult, c as ConsoleLogEntry, N as NetworkRequestOptions, d as NetworkRequestResult, e as NetworkRequestEntry } from '../ThreadManager-BxGOeykx.js';
|
|
2
|
+
export { s as ActionDefinition, A as ActionParameter, t as ActionRenderProps, o as CapturedContext, q as CloudConfig, k as ConsoleLogType, r as CopilotConfig, W as CreateThreadOptions, p as CustomKeywords, E as Extension, H as HttpMethod, I as IntentDetectionResult, y as InternalKnowledgeBaseConfig, z as InternalKnowledgeBaseResult, B as InternalKnowledgeBaseSearchResponse, u as KnowledgeBaseConfig, K as KnowledgeBaseProvider, v as KnowledgeBaseResult, w as KnowledgeBaseSearchRequest, x as KnowledgeBaseSearchResponse, L as LLMConfig, Z as LoadStatus, _ as LocalStorageAdapterConfig, P as ParameterType, R as SimpleThreadManagerState, F as ThreadManager, V as ThreadManagerCallbacks, U as ThreadManagerConfig, Y as ThreadManagerState, m as ToolConsentRequest, n as ToolConsentResponse, T as ToolType, l as ToolsConfig, X as UpdateThreadOptions, D as actionToTool, j as createCustomDetector, J as createLocalStorageAdapter, O as createMemoryAdapter, G as createThreadManager, f as detectIntent, i as generateSuggestionReason, g as getPrimaryTool, h as hasToolSuggestions, M as localStorageAdapter, Q as noopAdapter } from '../ThreadManager-BxGOeykx.js';
|
|
3
3
|
import { T as ToolDefinition, a as ToolExecutionStatus, b as ToolResponse, c as ToolInputSchema, d as ToolLocation, e as ToolContext } from '../tools-DcS6Aeao.js';
|
|
4
4
|
export { E as AIContent, A as AIProvider, D as AIResponseMode, z as AgentLoopConfig, B as AgentLoopState, s as ContextBudgetConfig, C as ContextHistoryConfig, p as ContextManagementConfig, n as ContextSummarizationConfig, r as ContextUsage, q as ContextUsagePart, J as JSONSchemaProperty, P as PermissionLevel, H as PermissionStorageAdapter, G as PermissionStorageConfig, o as TokenEstimationConfig, x as ToolApprovalStatus, h as ToolConfig, y as ToolExecution, t as ToolOptimizationConfig, F as ToolPermission, l as ToolProfile, m as ToolProfileConfig, g as ToolRenderProps, i as ToolResultConfig, j as ToolResultTruncationConfig, u as ToolSet, v as ToolSetEntry, f as ToolSource, k as ToolTruncationStrategy, U as UnifiedToolCall, w as UnifiedToolResult, M as createToolResult, O as failure, N as success, I as tool, L as toolToAnthropicFormat, K as toolToOpenAIFormat } from '../tools-DcS6Aeao.js';
|
|
5
5
|
import { S as Source, M as MessageAttachment } from '../types-waEqyE4K.js';
|
package/dist/core/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CLOUD_MAX_FILE_SIZE, DEFAULT_YOURGPT_ENDPOINT, SimpleThreadManagerState, ThreadManager, actionToTool, builtinTools, captureCurrentLogs, captureScreenshot, clearConsoleLogs, clearNetworkRequests, consoleLogsTool, createAssistantMessage, createCloudStorage, createConsoleLogsTool, createCustomDetector, createLocalStorageAdapter, createLogger, createMemoryAdapter, createMessage, createNetworkRequestsTool, createSSEStream, createScreenshotTool, createThreadManager, createToolCall, createToolMessage, createUserMessage, defaultSystemMessage, defineClientTool, defineServerTool, defineTool, detectIntent, formatLogsForAI, formatRequestsForAI, formatSSE, generateId, generateMessageId, generateSuggestionReason, generateThreadId, generateThreadTitle, generateToolCallId, getAttachmentTypeFromMime, getConsoleErrors, getConsoleLogs, getConsoleWarnings, getFailedRequests, getNetworkRequests, getPrimaryTool, hasToolCalls, hasToolSuggestions, isConsoleCaptureActive, isNetworkCaptureActive, isScreenshotSupported, isToolResult, localStorageAdapter, logOnce, networkRequestsTool, noopAdapter, parseSSELine, parseStreamEvent, parseToolCallArgs, processFileToAttachment, resizeScreenshot, screenshotTool, serializeStreamEvent, startConsoleCapture, startNetworkCapture, stopConsoleCapture, stopNetworkCapture, streamSSE, zodObjectToInputSchema, zodToJsonSchema } from '../chunk-
|
|
1
|
+
export { CLOUD_MAX_FILE_SIZE, DEFAULT_YOURGPT_ENDPOINT, SimpleThreadManagerState, ThreadManager, actionToTool, builtinTools, captureCurrentLogs, captureScreenshot, clearConsoleLogs, clearNetworkRequests, consoleLogsTool, createAssistantMessage, createCloudStorage, createConsoleLogsTool, createCustomDetector, createLocalStorageAdapter, createLogger, createMemoryAdapter, createMessage, createNetworkRequestsTool, createSSEStream, createScreenshotTool, createThreadManager, createToolCall, createToolMessage, createUserMessage, defaultSystemMessage, defineClientTool, defineServerTool, defineTool, detectIntent, formatLogsForAI, formatRequestsForAI, formatSSE, generateId, generateMessageId, generateSuggestionReason, generateThreadId, generateThreadTitle, generateToolCallId, getAttachmentTypeFromMime, getConsoleErrors, getConsoleLogs, getConsoleWarnings, getFailedRequests, getNetworkRequests, getPrimaryTool, hasToolCalls, hasToolSuggestions, isConsoleCaptureActive, isNetworkCaptureActive, isScreenshotSupported, isToolResult, localStorageAdapter, logOnce, networkRequestsTool, noopAdapter, parseSSELine, parseStreamEvent, parseToolCallArgs, processFileToAttachment, resizeScreenshot, screenshotTool, serializeStreamEvent, startConsoleCapture, startNetworkCapture, stopConsoleCapture, stopNetworkCapture, streamSSE, zodObjectToInputSchema, zodToJsonSchema } from '../chunk-J5D3AZF6.js';
|
|
2
2
|
export { createWebSearchTool, webSearchTool } from '../chunk-533K2Z7C.js';
|
|
3
3
|
export { createToolResult, failure, success, tool, toolToAnthropicFormat, toolToOpenAIFormat } from '../chunk-AIVXGTWS.js';
|
|
4
4
|
export { executeWebSearch, formatSearchResultsForAI, getAvailableProviders, getProvider, summarizeSearchResults } from '../chunk-DDZLRCVX.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk5EGBIQYS_cjs = require('../chunk-5EGBIQYS.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkJV2L3WZS_cjs = require('../chunk-JV2L3WZS.cjs');
|
|
5
|
+
require('../chunk-7GWEW2DU.cjs');
|
|
6
6
|
require('../chunk-JGPDQDY4.cjs');
|
|
7
7
|
require('../chunk-BJYA5NDL.cjs');
|
|
8
8
|
require('../chunk-Y2A6AMGO.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
|
-
|
|
533
|
+
chunkJV2L3WZS_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,6 +1,6 @@
|
|
|
1
1
|
import { cn, DotsLoader } from '../chunk-TXQ37MAO.js';
|
|
2
|
-
import { useTool } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
import { useTool } from '../chunk-FDZVDGNR.js';
|
|
3
|
+
import '../chunk-J5D3AZF6.js';
|
|
4
4
|
import '../chunk-EWVQWTNV.js';
|
|
5
5
|
import '../chunk-VNLLW3ZI.js';
|
|
6
6
|
import '../chunk-533K2Z7C.js';
|