@yourgpt/copilot-sdk 2.1.2 → 2.1.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/{chunk-XAC7NTIO.js → chunk-37KEHUCE.js} +14 -10
- package/dist/chunk-37KEHUCE.js.map +1 -0
- package/dist/{chunk-VXT2O6R6.js → chunk-7PKGRYHY.js} +278 -82
- package/dist/chunk-7PKGRYHY.js.map +1 -0
- package/dist/{chunk-VUHP6TAN.js → chunk-LZMBBGWH.js} +3 -3
- package/dist/{chunk-VUHP6TAN.js.map → chunk-LZMBBGWH.js.map} +1 -1
- package/dist/{chunk-BNBEKK3U.cjs → chunk-N6VZ7FOW.cjs} +302 -106
- package/dist/chunk-N6VZ7FOW.cjs.map +1 -0
- package/dist/{chunk-7MZLBGFQ.cjs → chunk-OQPRIB73.cjs} +33 -29
- package/dist/chunk-OQPRIB73.cjs.map +1 -0
- package/dist/{chunk-CSEZZ5DX.cjs → chunk-POZNNKNJ.cjs} +2 -2
- package/dist/{chunk-CSEZZ5DX.cjs.map → chunk-POZNNKNJ.cjs.map} +1 -1
- package/dist/{chunk-BMYNG3WM.js → chunk-QLH6TSCC.js} +2 -2
- package/dist/{chunk-BMYNG3WM.js.map → chunk-QLH6TSCC.js.map} +1 -1
- package/dist/{chunk-GSTTJ46F.cjs → chunk-WAPGTQDR.cjs} +5 -5
- package/dist/{chunk-GSTTJ46F.cjs.map → chunk-WAPGTQDR.cjs.map} +1 -1
- package/dist/core/index.cjs +80 -80
- package/dist/core/index.d.cts +17 -6
- package/dist/core/index.d.ts +17 -6
- package/dist/core/index.js +3 -3
- package/dist/{index-jwRcC2QD.d.cts → index-BHkRA0mM.d.cts} +1 -1
- package/dist/{index-Du3Akr_E.d.ts → index-tB0qI8my.d.ts} +1 -1
- package/dist/mcp/index.d.cts +3 -3
- package/dist/mcp/index.d.ts +3 -3
- package/dist/react/index.cjs +53 -49
- package/dist/react/index.d.cts +78 -19
- package/dist/react/index.d.ts +78 -19
- package/dist/react/index.js +4 -4
- package/dist/tools/anthropic/index.d.cts +1 -1
- package/dist/tools/anthropic/index.d.ts +1 -1
- package/dist/tools/brave/index.cjs +2 -2
- package/dist/tools/brave/index.d.cts +1 -1
- package/dist/tools/brave/index.d.ts +1 -1
- package/dist/tools/brave/index.js +1 -1
- package/dist/tools/exa/index.cjs +2 -2
- package/dist/tools/exa/index.d.cts +1 -1
- package/dist/tools/exa/index.d.ts +1 -1
- package/dist/tools/exa/index.js +1 -1
- package/dist/tools/google/index.cjs +2 -2
- package/dist/tools/google/index.d.cts +1 -1
- package/dist/tools/google/index.d.ts +1 -1
- package/dist/tools/google/index.js +1 -1
- package/dist/tools/openai/index.cjs +2 -2
- package/dist/tools/openai/index.d.cts +1 -1
- package/dist/tools/openai/index.d.ts +1 -1
- package/dist/tools/openai/index.js +1 -1
- package/dist/tools/searxng/index.cjs +2 -2
- package/dist/tools/searxng/index.d.cts +1 -1
- package/dist/tools/searxng/index.d.ts +1 -1
- package/dist/tools/searxng/index.js +1 -1
- package/dist/tools/serper/index.cjs +2 -2
- package/dist/tools/serper/index.d.cts +1 -1
- package/dist/tools/serper/index.d.ts +1 -1
- package/dist/tools/serper/index.js +1 -1
- package/dist/tools/tavily/index.cjs +2 -2
- package/dist/tools/tavily/index.d.cts +1 -1
- package/dist/tools/tavily/index.d.ts +1 -1
- package/dist/tools/tavily/index.js +1 -1
- package/dist/tools/web-search/index.cjs +3 -3
- package/dist/tools/web-search/index.d.cts +2 -2
- package/dist/tools/web-search/index.d.ts +2 -2
- package/dist/tools/web-search/index.js +2 -2
- package/dist/{tools-BHQRB_YT.d.cts → tools-coIcskZ4.d.cts} +18 -4
- package/dist/{tools-BHQRB_YT.d.ts → tools-coIcskZ4.d.ts} +18 -4
- package/dist/{types-8_Hp2rmm.d.cts → types-C8t4Ut8f.d.cts} +1 -1
- package/dist/{types-OYi-iUVY.d.ts → types-rjaSVmEF.d.ts} +1 -1
- package/dist/ui/index.cjs +8 -8
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-7MZLBGFQ.cjs.map +0 -1
- package/dist/chunk-BNBEKK3U.cjs.map +0 -1
- package/dist/chunk-VXT2O6R6.js.map +0 -1
- package/dist/chunk-XAC7NTIO.js.map +0 -1
package/dist/core/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkOQPRIB73_cjs = require('../chunk-OQPRIB73.cjs');
|
|
4
|
+
var chunkWAPGTQDR_cjs = require('../chunk-WAPGTQDR.cjs');
|
|
5
|
+
var chunkPOZNNKNJ_cjs = require('../chunk-POZNNKNJ.cjs');
|
|
6
6
|
var chunkASV6JLYG_cjs = require('../chunk-ASV6JLYG.cjs');
|
|
7
7
|
var chunkCBAHCI4R_cjs = require('../chunk-CBAHCI4R.cjs');
|
|
8
8
|
var chunkMEBXW75C_cjs = require('../chunk-MEBXW75C.cjs');
|
|
@@ -18,311 +18,311 @@ 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 chunkOQPRIB73_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 chunkOQPRIB73_cjs.DEFAULT_YOURGPT_ENDPOINT; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "SimpleThreadManagerState", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkOQPRIB73_cjs.SimpleThreadManagerState; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "ThreadManager", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkOQPRIB73_cjs.ThreadManager; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "actionToTool", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkOQPRIB73_cjs.actionToTool; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "builtinTools", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkOQPRIB73_cjs.builtinTools; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "captureCurrentLogs", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkOQPRIB73_cjs.captureCurrentLogs; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "captureScreenshot", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkOQPRIB73_cjs.captureScreenshot; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "clearConsoleLogs", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkOQPRIB73_cjs.clearConsoleLogs; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "clearNetworkRequests", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkOQPRIB73_cjs.clearNetworkRequests; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "consoleLogsTool", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkOQPRIB73_cjs.consoleLogsTool; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "createAssistantMessage", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkOQPRIB73_cjs.createAssistantMessage; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "createCloudStorage", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkOQPRIB73_cjs.createCloudStorage; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "createConsoleLogsTool", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkOQPRIB73_cjs.createConsoleLogsTool; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "createCustomDetector", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkOQPRIB73_cjs.createCustomDetector; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "createLocalStorageAdapter", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkOQPRIB73_cjs.createLocalStorageAdapter; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "createMemoryAdapter", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkOQPRIB73_cjs.createMemoryAdapter; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "createMessage", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkOQPRIB73_cjs.createMessage; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "createNetworkRequestsTool", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkOQPRIB73_cjs.createNetworkRequestsTool; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "createSSEStream", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkOQPRIB73_cjs.createSSEStream; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "createScreenshotTool", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkOQPRIB73_cjs.createScreenshotTool; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "createThreadManager", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkOQPRIB73_cjs.createThreadManager; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "createToolCall", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkOQPRIB73_cjs.createToolCall; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "createToolMessage", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkOQPRIB73_cjs.createToolMessage; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "createUserMessage", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkOQPRIB73_cjs.createUserMessage; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "defaultSystemMessage", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkOQPRIB73_cjs.defaultSystemMessage; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "defineClientTool", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkOQPRIB73_cjs.defineClientTool; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "defineServerTool", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkOQPRIB73_cjs.defineServerTool; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "defineTool", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkOQPRIB73_cjs.defineTool; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "detectIntent", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkOQPRIB73_cjs.detectIntent; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "formatLogsForAI", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkOQPRIB73_cjs.formatLogsForAI; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "formatRequestsForAI", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkOQPRIB73_cjs.formatRequestsForAI; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "formatSSE", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkOQPRIB73_cjs.formatSSE; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "generateId", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkOQPRIB73_cjs.generateId; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "generateMessageId", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkOQPRIB73_cjs.generateMessageId; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "generateSuggestionReason", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkOQPRIB73_cjs.generateSuggestionReason; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "generateThreadId", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkOQPRIB73_cjs.generateThreadId; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "generateThreadTitle", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkOQPRIB73_cjs.generateThreadTitle; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "generateToolCallId", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkOQPRIB73_cjs.generateToolCallId; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "getAttachmentTypeFromMime", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkOQPRIB73_cjs.getAttachmentTypeFromMime; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "getConsoleErrors", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkOQPRIB73_cjs.getConsoleErrors; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "getConsoleLogs", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkOQPRIB73_cjs.getConsoleLogs; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "getConsoleWarnings", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkOQPRIB73_cjs.getConsoleWarnings; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "getFailedRequests", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkOQPRIB73_cjs.getFailedRequests; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "getNetworkRequests", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkOQPRIB73_cjs.getNetworkRequests; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "getPrimaryTool", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkOQPRIB73_cjs.getPrimaryTool; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "hasToolCalls", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkOQPRIB73_cjs.hasToolCalls; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "hasToolSuggestions", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkOQPRIB73_cjs.hasToolSuggestions; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "isConsoleCaptureActive", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkOQPRIB73_cjs.isConsoleCaptureActive; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "isNetworkCaptureActive", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkOQPRIB73_cjs.isNetworkCaptureActive; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "isScreenshotSupported", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkOQPRIB73_cjs.isScreenshotSupported; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "isToolResult", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkOQPRIB73_cjs.isToolResult; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "localStorageAdapter", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkOQPRIB73_cjs.localStorageAdapter; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "networkRequestsTool", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkOQPRIB73_cjs.networkRequestsTool; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "noopAdapter", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkOQPRIB73_cjs.noopAdapter; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "parseSSELine", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkOQPRIB73_cjs.parseSSELine; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "parseStreamEvent", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkOQPRIB73_cjs.parseStreamEvent; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "parseToolCallArgs", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkOQPRIB73_cjs.parseToolCallArgs; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "processFileToAttachment", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkOQPRIB73_cjs.processFileToAttachment; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "resizeScreenshot", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkOQPRIB73_cjs.resizeScreenshot; }
|
|
258
258
|
});
|
|
259
259
|
Object.defineProperty(exports, "screenshotTool", {
|
|
260
260
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkOQPRIB73_cjs.screenshotTool; }
|
|
262
262
|
});
|
|
263
263
|
Object.defineProperty(exports, "serializeStreamEvent", {
|
|
264
264
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkOQPRIB73_cjs.serializeStreamEvent; }
|
|
266
266
|
});
|
|
267
267
|
Object.defineProperty(exports, "startConsoleCapture", {
|
|
268
268
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkOQPRIB73_cjs.startConsoleCapture; }
|
|
270
270
|
});
|
|
271
271
|
Object.defineProperty(exports, "startNetworkCapture", {
|
|
272
272
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunkOQPRIB73_cjs.startNetworkCapture; }
|
|
274
274
|
});
|
|
275
275
|
Object.defineProperty(exports, "stopConsoleCapture", {
|
|
276
276
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunkOQPRIB73_cjs.stopConsoleCapture; }
|
|
278
278
|
});
|
|
279
279
|
Object.defineProperty(exports, "stopNetworkCapture", {
|
|
280
280
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
281
|
+
get: function () { return chunkOQPRIB73_cjs.stopNetworkCapture; }
|
|
282
282
|
});
|
|
283
283
|
Object.defineProperty(exports, "streamSSE", {
|
|
284
284
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
285
|
+
get: function () { return chunkOQPRIB73_cjs.streamSSE; }
|
|
286
286
|
});
|
|
287
287
|
Object.defineProperty(exports, "zodObjectToInputSchema", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunkOQPRIB73_cjs.zodObjectToInputSchema; }
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperty(exports, "zodToJsonSchema", {
|
|
292
292
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunkOQPRIB73_cjs.zodToJsonSchema; }
|
|
294
294
|
});
|
|
295
295
|
Object.defineProperty(exports, "createWebSearchTool", {
|
|
296
296
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunkWAPGTQDR_cjs.createWebSearchTool; }
|
|
298
298
|
});
|
|
299
299
|
Object.defineProperty(exports, "webSearchTool", {
|
|
300
300
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunkWAPGTQDR_cjs.webSearchTool; }
|
|
302
302
|
});
|
|
303
303
|
Object.defineProperty(exports, "createToolResult", {
|
|
304
304
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
305
|
+
get: function () { return chunkPOZNNKNJ_cjs.createToolResult; }
|
|
306
306
|
});
|
|
307
307
|
Object.defineProperty(exports, "failure", {
|
|
308
308
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
309
|
+
get: function () { return chunkPOZNNKNJ_cjs.failure; }
|
|
310
310
|
});
|
|
311
311
|
Object.defineProperty(exports, "success", {
|
|
312
312
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunkPOZNNKNJ_cjs.success; }
|
|
314
314
|
});
|
|
315
315
|
Object.defineProperty(exports, "tool", {
|
|
316
316
|
enumerable: true,
|
|
317
|
-
get: function () { return
|
|
317
|
+
get: function () { return chunkPOZNNKNJ_cjs.tool; }
|
|
318
318
|
});
|
|
319
319
|
Object.defineProperty(exports, "toolToAnthropicFormat", {
|
|
320
320
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkPOZNNKNJ_cjs.toolToAnthropicFormat; }
|
|
322
322
|
});
|
|
323
323
|
Object.defineProperty(exports, "toolToOpenAIFormat", {
|
|
324
324
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkPOZNNKNJ_cjs.toolToOpenAIFormat; }
|
|
326
326
|
});
|
|
327
327
|
Object.defineProperty(exports, "executeWebSearch", {
|
|
328
328
|
enumerable: true,
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
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-LfFRhr4e.cjs';
|
|
2
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-LfFRhr4e.cjs';
|
|
3
|
-
import { T as ToolDefinition, a as ToolExecutionStatus, b as ToolResponse,
|
|
4
|
-
export {
|
|
5
|
-
export { c as createWebSearchTool, e as executeWebSearch, f as formatSearchResultsForAI, a as getAvailableProviders, g as getProvider, s as summarizeSearchResults, w as webSearchTool } from '../index-
|
|
3
|
+
import { T as ToolDefinition, a as ToolExecutionStatus, b as ToolResponse, c as ToolInputSchema, d as ToolLocation, e as ToolContext } from '../tools-coIcskZ4.cjs';
|
|
4
|
+
export { q as AIContent, A as AIProvider, p as AIResponseMode, n as AgentLoopConfig, o as AgentLoopState, J as JSONSchemaProperty, P as PermissionLevel, t as PermissionStorageAdapter, s as PermissionStorageConfig, l as ToolApprovalStatus, h as ToolConfig, m as ToolExecution, r as ToolPermission, g as ToolRenderProps, i as ToolSet, j as ToolSetEntry, f as ToolSource, U as UnifiedToolCall, k as UnifiedToolResult, x as createToolResult, z as failure, y as success, u as tool, w as toolToAnthropicFormat, v as toolToOpenAIFormat } from '../tools-coIcskZ4.cjs';
|
|
5
|
+
export { c as createWebSearchTool, e as executeWebSearch, f as formatSearchResultsForAI, a as getAvailableProviders, g as getProvider, s as summarizeSearchResults, w as webSearchTool } from '../index-BHkRA0mM.cjs';
|
|
6
6
|
import { S as Source, c as MessageAttachment } from '../types-DG2ya08y.cjs';
|
|
7
7
|
export { A as AsyncThreadStorageAdapter, L as ListThreadsOptions, r as ListThreadsResult, M as Message, e as MessageMetadata, d as MessageRole, P as PersistenceConfig, T as Thread, a as ThreadData, h as ThreadStorageAdapter, g as TokenUsage, f as ToolCall, l as createAssistantMessage, j as createMessage, n as createToolCall, m as createToolMessage, k as createUserMessage, i as generateThreadTitle, o as hasToolCalls, q as isToolResult, p as parseToolCallArgs } from '../types-DG2ya08y.cjs';
|
|
8
8
|
export { o as openaiProvider } from '../openai-HVSCuXgO.cjs';
|
|
@@ -632,9 +632,20 @@ declare function generateToolCallId(): string;
|
|
|
632
632
|
*/
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
* Convert a Zod schema to JSON Schema property (supports Zod 3 and 4)
|
|
635
|
+
* Convert a Zod schema to JSON Schema property (supports Zod 3 and 4).
|
|
636
|
+
* When used with z.object(), the result is compatible with ToolInputSchema.
|
|
637
|
+
*
|
|
638
|
+
* @example
|
|
639
|
+
* ```ts
|
|
640
|
+
* // For tool input schemas
|
|
641
|
+
* useTool({
|
|
642
|
+
* inputSchema: zodToJsonSchema(z.object({
|
|
643
|
+
* name: z.string().describe("User name"),
|
|
644
|
+
* })),
|
|
645
|
+
* });
|
|
646
|
+
* ```
|
|
636
647
|
*/
|
|
637
|
-
declare function zodToJsonSchema(schema: unknown):
|
|
648
|
+
declare function zodToJsonSchema(schema: unknown): ToolInputSchema;
|
|
638
649
|
/**
|
|
639
650
|
* Convert a Zod object schema to ToolInputSchema
|
|
640
651
|
*
|
|
@@ -899,4 +910,4 @@ declare function getAttachmentTypeFromMime(mimeType: string): "image" | "file" |
|
|
|
899
910
|
*/
|
|
900
911
|
declare function processFileToAttachment(file: File, storage?: StorageService | null): Promise<MessageAttachment>;
|
|
901
912
|
|
|
902
|
-
export { type ActionArgsEvent, type ActionEndEvent, type ActionStartEvent, type AssistantToolMessage, CLOUD_MAX_FILE_SIZE, ConsoleLogEntry, ConsoleLogOptions, ConsoleLogResult, DEFAULT_YOURGPT_ENDPOINT, type DefineToolConfig, type DoneEvent, type DoneEventMessage, type ErrorEvent,
|
|
913
|
+
export { type ActionArgsEvent, type ActionEndEvent, type ActionStartEvent, type AssistantToolMessage, CLOUD_MAX_FILE_SIZE, ConsoleLogEntry, ConsoleLogOptions, ConsoleLogResult, DEFAULT_YOURGPT_ENDPOINT, type DefineToolConfig, type DoneEvent, type DoneEventMessage, type ErrorEvent, type LoopCompleteEvent, type LoopIterationEvent, MessageAttachment, type MessageDeltaEvent, type MessageEndEvent, type MessageStartEvent, NetworkRequestEntry, NetworkRequestOptions, NetworkRequestResult, ScreenshotOptions, ScreenshotResult, Source, type SourceAddEvent, type StorageConfig, type StorageService, type StreamEvent, type StreamEventType, type SystemMessageFunction, type ToolCallInfo, type ToolCallsEvent, ToolContext, ToolDefinition, ToolExecutionStatus, ToolInputSchema, ToolLocation, ToolResponse, type ToolResultEvent, type ToolStatusEvent, type UploadOptions, type UploadResult, builtinTools, captureCurrentLogs, captureScreenshot, clearConsoleLogs, clearNetworkRequests, consoleLogsTool, createCloudStorage, createConsoleLogsTool, createNetworkRequestsTool, createSSEStream, createScreenshotTool, defaultSystemMessage, defineClientTool, defineServerTool, defineTool, formatLogsForAI, formatRequestsForAI, formatSSE, generateId, generateMessageId, generateThreadId, generateToolCallId, getAttachmentTypeFromMime, getConsoleErrors, getConsoleLogs, getConsoleWarnings, getFailedRequests, getNetworkRequests, isConsoleCaptureActive, isNetworkCaptureActive, isScreenshotSupported, networkRequestsTool, parseSSELine, parseStreamEvent, processFileToAttachment, resizeScreenshot, screenshotTool, serializeStreamEvent, startConsoleCapture, startNetworkCapture, stopConsoleCapture, stopNetworkCapture, streamSSE, zodObjectToInputSchema, zodToJsonSchema };
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
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-Dkp_eLty.js';
|
|
2
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-Dkp_eLty.js';
|
|
3
|
-
import { T as ToolDefinition, a as ToolExecutionStatus, b as ToolResponse,
|
|
4
|
-
export {
|
|
5
|
-
export { c as createWebSearchTool, e as executeWebSearch, f as formatSearchResultsForAI, a as getAvailableProviders, g as getProvider, s as summarizeSearchResults, w as webSearchTool } from '../index-
|
|
3
|
+
import { T as ToolDefinition, a as ToolExecutionStatus, b as ToolResponse, c as ToolInputSchema, d as ToolLocation, e as ToolContext } from '../tools-coIcskZ4.js';
|
|
4
|
+
export { q as AIContent, A as AIProvider, p as AIResponseMode, n as AgentLoopConfig, o as AgentLoopState, J as JSONSchemaProperty, P as PermissionLevel, t as PermissionStorageAdapter, s as PermissionStorageConfig, l as ToolApprovalStatus, h as ToolConfig, m as ToolExecution, r as ToolPermission, g as ToolRenderProps, i as ToolSet, j as ToolSetEntry, f as ToolSource, U as UnifiedToolCall, k as UnifiedToolResult, x as createToolResult, z as failure, y as success, u as tool, w as toolToAnthropicFormat, v as toolToOpenAIFormat } from '../tools-coIcskZ4.js';
|
|
5
|
+
export { c as createWebSearchTool, e as executeWebSearch, f as formatSearchResultsForAI, a as getAvailableProviders, g as getProvider, s as summarizeSearchResults, w as webSearchTool } from '../index-tB0qI8my.js';
|
|
6
6
|
import { S as Source, c as MessageAttachment } from '../types-DG2ya08y.js';
|
|
7
7
|
export { A as AsyncThreadStorageAdapter, L as ListThreadsOptions, r as ListThreadsResult, M as Message, e as MessageMetadata, d as MessageRole, P as PersistenceConfig, T as Thread, a as ThreadData, h as ThreadStorageAdapter, g as TokenUsage, f as ToolCall, l as createAssistantMessage, j as createMessage, n as createToolCall, m as createToolMessage, k as createUserMessage, i as generateThreadTitle, o as hasToolCalls, q as isToolResult, p as parseToolCallArgs } from '../types-DG2ya08y.js';
|
|
8
8
|
export { o as openaiProvider } from '../openai-Cam8hF4f.js';
|
|
@@ -632,9 +632,20 @@ declare function generateToolCallId(): string;
|
|
|
632
632
|
*/
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
* Convert a Zod schema to JSON Schema property (supports Zod 3 and 4)
|
|
635
|
+
* Convert a Zod schema to JSON Schema property (supports Zod 3 and 4).
|
|
636
|
+
* When used with z.object(), the result is compatible with ToolInputSchema.
|
|
637
|
+
*
|
|
638
|
+
* @example
|
|
639
|
+
* ```ts
|
|
640
|
+
* // For tool input schemas
|
|
641
|
+
* useTool({
|
|
642
|
+
* inputSchema: zodToJsonSchema(z.object({
|
|
643
|
+
* name: z.string().describe("User name"),
|
|
644
|
+
* })),
|
|
645
|
+
* });
|
|
646
|
+
* ```
|
|
636
647
|
*/
|
|
637
|
-
declare function zodToJsonSchema(schema: unknown):
|
|
648
|
+
declare function zodToJsonSchema(schema: unknown): ToolInputSchema;
|
|
638
649
|
/**
|
|
639
650
|
* Convert a Zod object schema to ToolInputSchema
|
|
640
651
|
*
|
|
@@ -899,4 +910,4 @@ declare function getAttachmentTypeFromMime(mimeType: string): "image" | "file" |
|
|
|
899
910
|
*/
|
|
900
911
|
declare function processFileToAttachment(file: File, storage?: StorageService | null): Promise<MessageAttachment>;
|
|
901
912
|
|
|
902
|
-
export { type ActionArgsEvent, type ActionEndEvent, type ActionStartEvent, type AssistantToolMessage, CLOUD_MAX_FILE_SIZE, ConsoleLogEntry, ConsoleLogOptions, ConsoleLogResult, DEFAULT_YOURGPT_ENDPOINT, type DefineToolConfig, type DoneEvent, type DoneEventMessage, type ErrorEvent,
|
|
913
|
+
export { type ActionArgsEvent, type ActionEndEvent, type ActionStartEvent, type AssistantToolMessage, CLOUD_MAX_FILE_SIZE, ConsoleLogEntry, ConsoleLogOptions, ConsoleLogResult, DEFAULT_YOURGPT_ENDPOINT, type DefineToolConfig, type DoneEvent, type DoneEventMessage, type ErrorEvent, type LoopCompleteEvent, type LoopIterationEvent, MessageAttachment, type MessageDeltaEvent, type MessageEndEvent, type MessageStartEvent, NetworkRequestEntry, NetworkRequestOptions, NetworkRequestResult, ScreenshotOptions, ScreenshotResult, Source, type SourceAddEvent, type StorageConfig, type StorageService, type StreamEvent, type StreamEventType, type SystemMessageFunction, type ToolCallInfo, type ToolCallsEvent, ToolContext, ToolDefinition, ToolExecutionStatus, ToolInputSchema, ToolLocation, ToolResponse, type ToolResultEvent, type ToolStatusEvent, type UploadOptions, type UploadResult, builtinTools, captureCurrentLogs, captureScreenshot, clearConsoleLogs, clearNetworkRequests, consoleLogsTool, createCloudStorage, createConsoleLogsTool, createNetworkRequestsTool, createSSEStream, createScreenshotTool, defaultSystemMessage, defineClientTool, defineServerTool, defineTool, formatLogsForAI, formatRequestsForAI, formatSSE, generateId, generateMessageId, generateThreadId, generateToolCallId, getAttachmentTypeFromMime, getConsoleErrors, getConsoleLogs, getConsoleWarnings, getFailedRequests, getNetworkRequests, isConsoleCaptureActive, isNetworkCaptureActive, isScreenshotSupported, networkRequestsTool, parseSSELine, parseStreamEvent, processFileToAttachment, resizeScreenshot, screenshotTool, serializeStreamEvent, startConsoleCapture, startNetworkCapture, stopConsoleCapture, stopNetworkCapture, streamSSE, zodObjectToInputSchema, zodToJsonSchema };
|
package/dist/core/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CLOUD_MAX_FILE_SIZE, DEFAULT_YOURGPT_ENDPOINT, SimpleThreadManagerState, ThreadManager, actionToTool, builtinTools, captureCurrentLogs, captureScreenshot, clearConsoleLogs, clearNetworkRequests, consoleLogsTool, createAssistantMessage, createCloudStorage, createConsoleLogsTool, createCustomDetector, createLocalStorageAdapter, 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, networkRequestsTool, noopAdapter, parseSSELine, parseStreamEvent, parseToolCallArgs, processFileToAttachment, resizeScreenshot, screenshotTool, serializeStreamEvent, startConsoleCapture, startNetworkCapture, stopConsoleCapture, stopNetworkCapture, streamSSE, zodObjectToInputSchema, zodToJsonSchema } from '../chunk-
|
|
2
|
-
export { createWebSearchTool, webSearchTool } from '../chunk-
|
|
3
|
-
export { createToolResult, failure, success, tool, toolToAnthropicFormat, toolToOpenAIFormat } 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, 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, networkRequestsTool, noopAdapter, parseSSELine, parseStreamEvent, parseToolCallArgs, processFileToAttachment, resizeScreenshot, screenshotTool, serializeStreamEvent, startConsoleCapture, startNetworkCapture, stopConsoleCapture, stopNetworkCapture, streamSSE, zodObjectToInputSchema, zodToJsonSchema } from '../chunk-37KEHUCE.js';
|
|
2
|
+
export { createWebSearchTool, webSearchTool } from '../chunk-LZMBBGWH.js';
|
|
3
|
+
export { createToolResult, failure, success, tool, toolToAnthropicFormat, toolToOpenAIFormat } from '../chunk-QLH6TSCC.js';
|
|
4
4
|
export { executeWebSearch, formatSearchResultsForAI, getAvailableProviders, getProvider, summarizeSearchResults } from '../chunk-XGITAEXU.js';
|
|
5
5
|
export { tavilyProvider } from '../chunk-7W7QLZNC.js';
|
|
6
6
|
export { serperProvider } from '../chunk-CEOMTQTP.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as WebSearchConfig, a as WebSearchProvider, W as WebSearchProviderInterface, c as WebSearchParams, f as WebSearchResponse } from './types-ZguuKEs_.cjs';
|
|
2
|
-
import { T as ToolDefinition } from './tools-
|
|
2
|
+
import { T as ToolDefinition } from './tools-coIcskZ4.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Web Search Module
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as WebSearchConfig, a as WebSearchProvider, W as WebSearchProviderInterface, c as WebSearchParams, f as WebSearchResponse } from './types-ZguuKEs_.js';
|
|
2
|
-
import { T as ToolDefinition } from './tools-
|
|
2
|
+
import { T as ToolDefinition } from './tools-coIcskZ4.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Web Search Module
|
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as MCPClientConfig, a as MCPClientEvents, b as MCPClientState, c as MCPToolCallResult, d as MCPToolDefinition, e as MCPServerInfo, f as MCPServerCapabilities, g as MCPConnectionState, J as JsonRpcRequest, h as JsonRpcNotification, i as JsonRpcMessage, j as JsonRpcResponse, k as MCPClientInfo, l as MCPClientCapabilities, m as MCPInitializeParams, n as MCPToolCallParams } from '../types-
|
|
2
|
-
export { K as JSON_RPC_ERROR_CODES, t as JsonRpcError, C as MCPElicitationOption, A as MCPElicitationRequest, B as MCPElicitationResponse, H as MCPError, q as MCPHttpTransportConfig, x as MCPImageContent, y as MCPResourceContent, r as MCPSSETransportConfig, G as MCPServerConfig, s as MCPStdioTransportConfig, w as MCPTextContent, u as MCPToolInputSchema, v as MCPToolResultContent, p as MCPTransportConfig, o as MCPTransportType, z as MCPUIContent, I as MCP_PROTOCOL_VERSION, U as UseMCPClientConfig, D as UseMCPClientReturn, E as UseMCPToolsConfig, F as UseMCPToolsReturn } from '../types-
|
|
3
|
-
import { T as ToolDefinition } from '../tools-
|
|
1
|
+
import { M as MCPClientConfig, a as MCPClientEvents, b as MCPClientState, c as MCPToolCallResult, d as MCPToolDefinition, e as MCPServerInfo, f as MCPServerCapabilities, g as MCPConnectionState, J as JsonRpcRequest, h as JsonRpcNotification, i as JsonRpcMessage, j as JsonRpcResponse, k as MCPClientInfo, l as MCPClientCapabilities, m as MCPInitializeParams, n as MCPToolCallParams } from '../types-C8t4Ut8f.cjs';
|
|
2
|
+
export { K as JSON_RPC_ERROR_CODES, t as JsonRpcError, C as MCPElicitationOption, A as MCPElicitationRequest, B as MCPElicitationResponse, H as MCPError, q as MCPHttpTransportConfig, x as MCPImageContent, y as MCPResourceContent, r as MCPSSETransportConfig, G as MCPServerConfig, s as MCPStdioTransportConfig, w as MCPTextContent, u as MCPToolInputSchema, v as MCPToolResultContent, p as MCPTransportConfig, o as MCPTransportType, z as MCPUIContent, I as MCP_PROTOCOL_VERSION, U as UseMCPClientConfig, D as UseMCPClientReturn, E as UseMCPToolsConfig, F as UseMCPToolsReturn } from '../types-C8t4Ut8f.cjs';
|
|
3
|
+
import { T as ToolDefinition } from '../tools-coIcskZ4.cjs';
|
|
4
4
|
export { D as DEFAULT_MCP_UI_SANDBOX, f as MCPUIActionIntent, n as MCPUIFrameProps, d as MCPUIIntent, l as MCPUIIntentContext, k as MCPUIIntentHandler, i as MCPUILinkIntent, j as MCPUIMessage, h as MCPUINotifyIntent, g as MCPUIPromptIntent, M as MCPUIResource, a as MCPUIResourceContent, c as MCPUIResourceMetadata, b as MCPUIResourceMimeType, e as MCPUIToolIntent, R as RESTRICTED_MCP_UI_SANDBOX, U as UseMCPUIIntentsConfig, m as UseMCPUIIntentsReturn, p as isMCPUIIntent, q as isMCPUIMessage, o as isMCPUIResourceContent, r as parseMCPUIMessage } from '../types-B20VCJXL.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as MCPClientConfig, a as MCPClientEvents, b as MCPClientState, c as MCPToolCallResult, d as MCPToolDefinition, e as MCPServerInfo, f as MCPServerCapabilities, g as MCPConnectionState, J as JsonRpcRequest, h as JsonRpcNotification, i as JsonRpcMessage, j as JsonRpcResponse, k as MCPClientInfo, l as MCPClientCapabilities, m as MCPInitializeParams, n as MCPToolCallParams } from '../types-
|
|
2
|
-
export { K as JSON_RPC_ERROR_CODES, t as JsonRpcError, C as MCPElicitationOption, A as MCPElicitationRequest, B as MCPElicitationResponse, H as MCPError, q as MCPHttpTransportConfig, x as MCPImageContent, y as MCPResourceContent, r as MCPSSETransportConfig, G as MCPServerConfig, s as MCPStdioTransportConfig, w as MCPTextContent, u as MCPToolInputSchema, v as MCPToolResultContent, p as MCPTransportConfig, o as MCPTransportType, z as MCPUIContent, I as MCP_PROTOCOL_VERSION, U as UseMCPClientConfig, D as UseMCPClientReturn, E as UseMCPToolsConfig, F as UseMCPToolsReturn } from '../types-
|
|
3
|
-
import { T as ToolDefinition } from '../tools-
|
|
1
|
+
import { M as MCPClientConfig, a as MCPClientEvents, b as MCPClientState, c as MCPToolCallResult, d as MCPToolDefinition, e as MCPServerInfo, f as MCPServerCapabilities, g as MCPConnectionState, J as JsonRpcRequest, h as JsonRpcNotification, i as JsonRpcMessage, j as JsonRpcResponse, k as MCPClientInfo, l as MCPClientCapabilities, m as MCPInitializeParams, n as MCPToolCallParams } from '../types-rjaSVmEF.js';
|
|
2
|
+
export { K as JSON_RPC_ERROR_CODES, t as JsonRpcError, C as MCPElicitationOption, A as MCPElicitationRequest, B as MCPElicitationResponse, H as MCPError, q as MCPHttpTransportConfig, x as MCPImageContent, y as MCPResourceContent, r as MCPSSETransportConfig, G as MCPServerConfig, s as MCPStdioTransportConfig, w as MCPTextContent, u as MCPToolInputSchema, v as MCPToolResultContent, p as MCPTransportConfig, o as MCPTransportType, z as MCPUIContent, I as MCP_PROTOCOL_VERSION, U as UseMCPClientConfig, D as UseMCPClientReturn, E as UseMCPToolsConfig, F as UseMCPToolsReturn } from '../types-rjaSVmEF.js';
|
|
3
|
+
import { T as ToolDefinition } from '../tools-coIcskZ4.js';
|
|
4
4
|
export { D as DEFAULT_MCP_UI_SANDBOX, f as MCPUIActionIntent, n as MCPUIFrameProps, d as MCPUIIntent, l as MCPUIIntentContext, k as MCPUIIntentHandler, i as MCPUILinkIntent, j as MCPUIMessage, h as MCPUINotifyIntent, g as MCPUIPromptIntent, M as MCPUIResource, a as MCPUIResourceContent, c as MCPUIResourceMetadata, b as MCPUIResourceMimeType, e as MCPUIToolIntent, R as RESTRICTED_MCP_UI_SANDBOX, U as UseMCPUIIntentsConfig, m as UseMCPUIIntentsReturn, p as isMCPUIIntent, q as isMCPUIMessage, o as isMCPUIResourceContent, r as parseMCPUIMessage } from '../types-B20VCJXL.js';
|
|
5
5
|
|
|
6
6
|
/**
|