@yourgpt/copilot-sdk 2.0.0 → 2.0.2-beta.1
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/README.md +68 -27
- package/dist/{ThreadManager-JT0sqSSD.d.ts → ThreadManager-Dkp_eLty.d.ts} +1 -1
- package/dist/{ThreadManager-CUq5Ocu2.d.cts → ThreadManager-LfFRhr4e.d.cts} +1 -1
- package/dist/anthropic-6F5GRE3B.js +4 -0
- package/dist/anthropic-6F5GRE3B.js.map +1 -0
- package/dist/anthropic-DGalr_Fw.d.cts +17 -0
- package/dist/anthropic-DkCEDYOt.d.ts +17 -0
- package/dist/anthropic-NMTRABEH.cjs +21 -0
- package/dist/anthropic-NMTRABEH.cjs.map +1 -0
- package/dist/brave-DdnWb7Gb.d.cts +17 -0
- package/dist/brave-DsI9n7Wr.d.ts +17 -0
- package/dist/brave-OYKCOZEM.cjs +21 -0
- package/dist/brave-OYKCOZEM.cjs.map +1 -0
- package/dist/brave-XSASGGH2.js +4 -0
- package/dist/brave-XSASGGH2.js.map +1 -0
- package/dist/chunk-2FAWEBZS.cjs +88 -0
- package/dist/chunk-2FAWEBZS.cjs.map +1 -0
- package/dist/{chunk-CJ7UWN2Y.js → chunk-3YKHVLNP.js} +397 -7
- package/dist/chunk-3YKHVLNP.js.map +1 -0
- package/dist/chunk-4WWWMNUA.js +1142 -0
- package/dist/chunk-4WWWMNUA.js.map +1 -0
- package/dist/chunk-53UGJNHN.js +92 -0
- package/dist/chunk-53UGJNHN.js.map +1 -0
- package/dist/chunk-6BXQFCK3.js +79 -0
- package/dist/chunk-6BXQFCK3.js.map +1 -0
- package/dist/chunk-6T5XXJEP.cjs +80 -0
- package/dist/chunk-6T5XXJEP.cjs.map +1 -0
- package/dist/chunk-7W7QLZNC.js +72 -0
- package/dist/chunk-7W7QLZNC.js.map +1 -0
- package/dist/chunk-ASV6JLYG.cjs +99 -0
- package/dist/chunk-ASV6JLYG.cjs.map +1 -0
- package/dist/chunk-CBAHCI4R.cjs +76 -0
- package/dist/chunk-CBAHCI4R.cjs.map +1 -0
- package/dist/chunk-CEOMTQTP.js +85 -0
- package/dist/chunk-CEOMTQTP.js.map +1 -0
- package/dist/chunk-DABZYCVX.js +84 -0
- package/dist/chunk-DABZYCVX.js.map +1 -0
- package/dist/chunk-DGUM43GV.js +10 -0
- package/dist/chunk-DGUM43GV.js.map +1 -0
- package/dist/{chunk-4PRWNAXQ.cjs → chunk-DUPNYVBP.cjs} +27 -89
- package/dist/chunk-DUPNYVBP.cjs.map +1 -0
- package/dist/chunk-DVC63PGD.cjs +1160 -0
- package/dist/chunk-DVC63PGD.cjs.map +1 -0
- package/dist/chunk-G4SF2PNQ.js +33 -0
- package/dist/chunk-G4SF2PNQ.js.map +1 -0
- package/dist/chunk-GANCV72Z.cjs +110 -0
- package/dist/chunk-GANCV72Z.cjs.map +1 -0
- package/dist/chunk-J4OMGO5O.js +66 -0
- package/dist/chunk-J4OMGO5O.js.map +1 -0
- package/dist/chunk-JEQ2X3Z6.cjs +12 -0
- package/dist/chunk-JEQ2X3Z6.cjs.map +1 -0
- package/dist/chunk-JO4BHPAD.cjs +40 -0
- package/dist/chunk-JO4BHPAD.cjs.map +1 -0
- package/dist/chunk-MEBXW75C.cjs +89 -0
- package/dist/chunk-MEBXW75C.cjs.map +1 -0
- package/dist/chunk-MNDGIW47.js +76 -0
- package/dist/chunk-MNDGIW47.js.map +1 -0
- package/dist/chunk-PPFHA6IL.js +83 -0
- package/dist/chunk-PPFHA6IL.js.map +1 -0
- package/dist/{chunk-BLSI67J6.cjs → chunk-RBZXLBGI.cjs} +425 -30
- package/dist/chunk-RBZXLBGI.cjs.map +1 -0
- package/dist/chunk-RQ74USYU.js +128 -0
- package/dist/chunk-RQ74USYU.js.map +1 -0
- package/dist/chunk-TX7CGITI.cjs +82 -0
- package/dist/chunk-TX7CGITI.cjs.map +1 -0
- package/dist/chunk-TXLIY7GF.cjs +132 -0
- package/dist/chunk-TXLIY7GF.cjs.map +1 -0
- package/dist/chunk-VD74IPKB.js +106 -0
- package/dist/chunk-VD74IPKB.js.map +1 -0
- package/dist/chunk-W73FBYIH.cjs +87 -0
- package/dist/chunk-W73FBYIH.cjs.map +1 -0
- package/dist/chunk-W74OTXXX.cjs +73 -0
- package/dist/chunk-W74OTXXX.cjs.map +1 -0
- package/dist/chunk-XGITAEXU.js +93 -0
- package/dist/chunk-XGITAEXU.js.map +1 -0
- package/dist/chunk-XWOHNY3F.cjs +96 -0
- package/dist/chunk-XWOHNY3F.cjs.map +1 -0
- package/dist/{chunk-JM7PB2LP.js → chunk-Z7PHGSJT.js} +10 -66
- package/dist/chunk-Z7PHGSJT.js.map +1 -0
- package/dist/core/index.cjs +156 -84
- package/dist/core/index.d.cts +16 -4
- package/dist/core/index.d.ts +16 -4
- package/dist/core/index.js +13 -1
- package/dist/exa-72KFY5A7.cjs +21 -0
- package/dist/exa-72KFY5A7.cjs.map +1 -0
- package/dist/exa-Dp9U-WTc.d.ts +17 -0
- package/dist/exa-NNVPBC2M.js +4 -0
- package/dist/exa-NNVPBC2M.js.map +1 -0
- package/dist/exa-jJSPhyUW.d.cts +17 -0
- package/dist/google-CHU2yycE.d.cts +17 -0
- package/dist/google-CTEK6SV2.js +4 -0
- package/dist/google-CTEK6SV2.js.map +1 -0
- package/dist/google-Da8IQxaI.d.ts +17 -0
- package/dist/google-IIUXFFVF.cjs +21 -0
- package/dist/google-IIUXFFVF.cjs.map +1 -0
- package/dist/index-DBNh0jhE.d.ts +206 -0
- package/dist/index-DOlhSb79.d.cts +206 -0
- package/dist/mcp/index.cjs +670 -0
- package/dist/mcp/index.cjs.map +1 -0
- package/dist/mcp/index.d.cts +779 -0
- package/dist/mcp/index.d.ts +779 -0
- package/dist/mcp/index.js +574 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/openai-6KTCQ7PZ.cjs +21 -0
- package/dist/openai-6KTCQ7PZ.cjs.map +1 -0
- package/dist/openai-7W2PCNW5.js +4 -0
- package/dist/openai-7W2PCNW5.js.map +1 -0
- package/dist/openai-Cam8hF4f.d.ts +17 -0
- package/dist/openai-HVSCuXgO.d.cts +17 -0
- package/dist/react/index.cjs +75 -42
- package/dist/react/index.d.cts +270 -45
- package/dist/react/index.d.ts +270 -45
- package/dist/react/index.js +15 -2
- package/dist/searxng-AXLVGY7Z.js +4 -0
- package/dist/searxng-AXLVGY7Z.js.map +1 -0
- package/dist/searxng-EJKNY236.cjs +21 -0
- package/dist/searxng-EJKNY236.cjs.map +1 -0
- package/dist/searxng-K0qtY9vp.d.ts +17 -0
- package/dist/searxng-QGOte_Gq.d.cts +17 -0
- package/dist/serper-3JYJHJX6.js +4 -0
- package/dist/serper-3JYJHJX6.js.map +1 -0
- package/dist/serper-63FT4AOL.cjs +21 -0
- package/dist/serper-63FT4AOL.cjs.map +1 -0
- package/dist/serper-7Czya3PW.d.ts +17 -0
- package/dist/serper-JzdaSnS9.d.cts +17 -0
- package/dist/styles.css +38 -0
- package/dist/tavily-AWFP4RM7.cjs +21 -0
- package/dist/tavily-AWFP4RM7.cjs.map +1 -0
- package/dist/tavily-C8cXXojE.d.cts +17 -0
- package/dist/tavily-CIWAAZPH.js +4 -0
- package/dist/tavily-CIWAAZPH.js.map +1 -0
- package/dist/tavily-DdSGVgkE.d.ts +17 -0
- package/dist/themes/catppuccin.css +2 -0
- package/dist/themes/claude.css +2 -0
- package/dist/themes/linear.css +2 -0
- package/dist/themes/modern-minimal.css +2 -0
- package/dist/themes/posthog.css +2 -0
- package/dist/themes/supabase.css +2 -0
- package/dist/themes/twitter.css +2 -0
- package/dist/themes/vercel.css +2 -0
- package/dist/tools/anthropic/index.cjs +61 -0
- package/dist/tools/anthropic/index.cjs.map +1 -0
- package/dist/tools/anthropic/index.d.cts +67 -0
- package/dist/tools/anthropic/index.d.ts +67 -0
- package/dist/tools/anthropic/index.js +56 -0
- package/dist/tools/anthropic/index.js.map +1 -0
- package/dist/tools/brave/index.cjs +85 -0
- package/dist/tools/brave/index.cjs.map +1 -0
- package/dist/tools/brave/index.d.cts +91 -0
- package/dist/tools/brave/index.d.ts +91 -0
- package/dist/tools/brave/index.js +80 -0
- package/dist/tools/brave/index.js.map +1 -0
- package/dist/tools/exa/index.cjs +90 -0
- package/dist/tools/exa/index.cjs.map +1 -0
- package/dist/tools/exa/index.d.cts +92 -0
- package/dist/tools/exa/index.d.ts +92 -0
- package/dist/tools/exa/index.js +85 -0
- package/dist/tools/exa/index.js.map +1 -0
- package/dist/tools/google/index.cjs +81 -0
- package/dist/tools/google/index.cjs.map +1 -0
- package/dist/tools/google/index.d.cts +81 -0
- package/dist/tools/google/index.d.ts +81 -0
- package/dist/tools/google/index.js +76 -0
- package/dist/tools/google/index.js.map +1 -0
- package/dist/tools/openai/index.cjs +83 -0
- package/dist/tools/openai/index.cjs.map +1 -0
- package/dist/tools/openai/index.d.cts +84 -0
- package/dist/tools/openai/index.d.ts +84 -0
- package/dist/tools/openai/index.js +78 -0
- package/dist/tools/openai/index.js.map +1 -0
- package/dist/tools/searxng/index.cjs +85 -0
- package/dist/tools/searxng/index.cjs.map +1 -0
- package/dist/tools/searxng/index.d.cts +91 -0
- package/dist/tools/searxng/index.d.ts +91 -0
- package/dist/tools/searxng/index.js +80 -0
- package/dist/tools/searxng/index.js.map +1 -0
- package/dist/tools/serper/index.cjs +85 -0
- package/dist/tools/serper/index.cjs.map +1 -0
- package/dist/tools/serper/index.d.cts +91 -0
- package/dist/tools/serper/index.d.ts +91 -0
- package/dist/tools/serper/index.js +80 -0
- package/dist/tools/serper/index.js.map +1 -0
- package/dist/tools/tavily/index.cjs +91 -0
- package/dist/tools/tavily/index.cjs.map +1 -0
- package/dist/tools/tavily/index.d.cts +95 -0
- package/dist/tools/tavily/index.d.ts +95 -0
- package/dist/tools/tavily/index.js +86 -0
- package/dist/tools/tavily/index.js.map +1 -0
- package/dist/tools/web-search/index.cjs +31 -0
- package/dist/tools/web-search/index.cjs.map +1 -0
- package/dist/tools/web-search/index.d.cts +3 -0
- package/dist/tools/web-search/index.d.ts +3 -0
- package/dist/tools/web-search/index.js +14 -0
- package/dist/tools/web-search/index.js.map +1 -0
- package/dist/{types-BtAaOV07.d.cts → tools-EiPWA9Ay.d.cts} +34 -367
- package/dist/{types-BtAaOV07.d.ts → tools-EiPWA9Ay.d.ts} +34 -367
- package/dist/types-B20VCJXL.d.cts +347 -0
- package/dist/types-B20VCJXL.d.ts +347 -0
- package/dist/types-CKA6U74u.d.cts +441 -0
- package/dist/types-DG2ya08y.d.cts +367 -0
- package/dist/types-DG2ya08y.d.ts +367 -0
- package/dist/types-ZguuKEs_.d.cts +127 -0
- package/dist/types-ZguuKEs_.d.ts +127 -0
- package/dist/types-iBkPICvQ.d.ts +441 -0
- package/dist/ui/index.cjs +1069 -146
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +410 -4
- package/dist/ui/index.d.ts +410 -4
- package/dist/ui/index.js +1001 -94
- package/dist/ui/index.js.map +1 -1
- package/package.json +53 -2
- package/dist/chunk-4PRWNAXQ.cjs.map +0 -1
- package/dist/chunk-BLSI67J6.cjs.map +0 -1
- package/dist/chunk-CJ7UWN2Y.js.map +0 -1
- package/dist/chunk-JM7PB2LP.js.map +0 -1
package/dist/core/index.cjs
CHANGED
|
@@ -1,308 +1,380 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDUPNYVBP_cjs = require('../chunk-DUPNYVBP.cjs');
|
|
4
|
+
var chunkTX7CGITI_cjs = require('../chunk-TX7CGITI.cjs');
|
|
5
|
+
var chunkW74OTXXX_cjs = require('../chunk-W74OTXXX.cjs');
|
|
6
|
+
var chunkASV6JLYG_cjs = require('../chunk-ASV6JLYG.cjs');
|
|
7
|
+
var chunkCBAHCI4R_cjs = require('../chunk-CBAHCI4R.cjs');
|
|
8
|
+
var chunkMEBXW75C_cjs = require('../chunk-MEBXW75C.cjs');
|
|
9
|
+
var chunkW73FBYIH_cjs = require('../chunk-W73FBYIH.cjs');
|
|
10
|
+
var chunk2FAWEBZS_cjs = require('../chunk-2FAWEBZS.cjs');
|
|
11
|
+
var chunk6T5XXJEP_cjs = require('../chunk-6T5XXJEP.cjs');
|
|
12
|
+
var chunkGANCV72Z_cjs = require('../chunk-GANCV72Z.cjs');
|
|
13
|
+
var chunkXWOHNY3F_cjs = require('../chunk-XWOHNY3F.cjs');
|
|
14
|
+
var chunkTXLIY7GF_cjs = require('../chunk-TXLIY7GF.cjs');
|
|
15
|
+
require('../chunk-JEQ2X3Z6.cjs');
|
|
4
16
|
|
|
5
17
|
|
|
6
18
|
|
|
7
19
|
Object.defineProperty(exports, "CLOUD_MAX_FILE_SIZE", {
|
|
8
20
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkDUPNYVBP_cjs.CLOUD_MAX_FILE_SIZE; }
|
|
10
22
|
});
|
|
11
23
|
Object.defineProperty(exports, "DEFAULT_YOURGPT_ENDPOINT", {
|
|
12
24
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkDUPNYVBP_cjs.DEFAULT_YOURGPT_ENDPOINT; }
|
|
14
26
|
});
|
|
15
27
|
Object.defineProperty(exports, "SimpleThreadManagerState", {
|
|
16
28
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkDUPNYVBP_cjs.SimpleThreadManagerState; }
|
|
18
30
|
});
|
|
19
31
|
Object.defineProperty(exports, "ThreadManager", {
|
|
20
32
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkDUPNYVBP_cjs.ThreadManager; }
|
|
22
34
|
});
|
|
23
35
|
Object.defineProperty(exports, "actionToTool", {
|
|
24
36
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkDUPNYVBP_cjs.actionToTool; }
|
|
26
38
|
});
|
|
27
39
|
Object.defineProperty(exports, "builtinTools", {
|
|
28
40
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkDUPNYVBP_cjs.builtinTools; }
|
|
30
42
|
});
|
|
31
43
|
Object.defineProperty(exports, "captureCurrentLogs", {
|
|
32
44
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkDUPNYVBP_cjs.captureCurrentLogs; }
|
|
34
46
|
});
|
|
35
47
|
Object.defineProperty(exports, "captureScreenshot", {
|
|
36
48
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkDUPNYVBP_cjs.captureScreenshot; }
|
|
38
50
|
});
|
|
39
51
|
Object.defineProperty(exports, "clearConsoleLogs", {
|
|
40
52
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkDUPNYVBP_cjs.clearConsoleLogs; }
|
|
42
54
|
});
|
|
43
55
|
Object.defineProperty(exports, "clearNetworkRequests", {
|
|
44
56
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkDUPNYVBP_cjs.clearNetworkRequests; }
|
|
46
58
|
});
|
|
47
59
|
Object.defineProperty(exports, "consoleLogsTool", {
|
|
48
60
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkDUPNYVBP_cjs.consoleLogsTool; }
|
|
50
62
|
});
|
|
51
63
|
Object.defineProperty(exports, "createAssistantMessage", {
|
|
52
64
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkDUPNYVBP_cjs.createAssistantMessage; }
|
|
54
66
|
});
|
|
55
67
|
Object.defineProperty(exports, "createCloudStorage", {
|
|
56
68
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkDUPNYVBP_cjs.createCloudStorage; }
|
|
58
70
|
});
|
|
59
71
|
Object.defineProperty(exports, "createConsoleLogsTool", {
|
|
60
72
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkDUPNYVBP_cjs.createConsoleLogsTool; }
|
|
62
74
|
});
|
|
63
75
|
Object.defineProperty(exports, "createCustomDetector", {
|
|
64
76
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkDUPNYVBP_cjs.createCustomDetector; }
|
|
66
78
|
});
|
|
67
79
|
Object.defineProperty(exports, "createLocalStorageAdapter", {
|
|
68
80
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkDUPNYVBP_cjs.createLocalStorageAdapter; }
|
|
70
82
|
});
|
|
71
83
|
Object.defineProperty(exports, "createMemoryAdapter", {
|
|
72
84
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkDUPNYVBP_cjs.createMemoryAdapter; }
|
|
74
86
|
});
|
|
75
87
|
Object.defineProperty(exports, "createMessage", {
|
|
76
88
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkDUPNYVBP_cjs.createMessage; }
|
|
78
90
|
});
|
|
79
91
|
Object.defineProperty(exports, "createNetworkRequestsTool", {
|
|
80
92
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkDUPNYVBP_cjs.createNetworkRequestsTool; }
|
|
82
94
|
});
|
|
83
95
|
Object.defineProperty(exports, "createSSEStream", {
|
|
84
96
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkDUPNYVBP_cjs.createSSEStream; }
|
|
86
98
|
});
|
|
87
99
|
Object.defineProperty(exports, "createScreenshotTool", {
|
|
88
100
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkDUPNYVBP_cjs.createScreenshotTool; }
|
|
90
102
|
});
|
|
91
103
|
Object.defineProperty(exports, "createThreadManager", {
|
|
92
104
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkDUPNYVBP_cjs.createThreadManager; }
|
|
94
106
|
});
|
|
95
107
|
Object.defineProperty(exports, "createToolCall", {
|
|
96
108
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkDUPNYVBP_cjs.createToolCall; }
|
|
98
110
|
});
|
|
99
111
|
Object.defineProperty(exports, "createToolMessage", {
|
|
100
112
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
102
|
-
});
|
|
103
|
-
Object.defineProperty(exports, "createToolResult", {
|
|
104
|
-
enumerable: true,
|
|
105
|
-
get: function () { return chunk4PRWNAXQ_cjs.createToolResult; }
|
|
113
|
+
get: function () { return chunkDUPNYVBP_cjs.createToolMessage; }
|
|
106
114
|
});
|
|
107
115
|
Object.defineProperty(exports, "createUserMessage", {
|
|
108
116
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkDUPNYVBP_cjs.createUserMessage; }
|
|
110
118
|
});
|
|
111
119
|
Object.defineProperty(exports, "defaultSystemMessage", {
|
|
112
120
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkDUPNYVBP_cjs.defaultSystemMessage; }
|
|
114
122
|
});
|
|
115
123
|
Object.defineProperty(exports, "defineClientTool", {
|
|
116
124
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkDUPNYVBP_cjs.defineClientTool; }
|
|
118
126
|
});
|
|
119
127
|
Object.defineProperty(exports, "defineServerTool", {
|
|
120
128
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkDUPNYVBP_cjs.defineServerTool; }
|
|
122
130
|
});
|
|
123
131
|
Object.defineProperty(exports, "defineTool", {
|
|
124
132
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkDUPNYVBP_cjs.defineTool; }
|
|
126
134
|
});
|
|
127
135
|
Object.defineProperty(exports, "detectIntent", {
|
|
128
136
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
130
|
-
});
|
|
131
|
-
Object.defineProperty(exports, "failure", {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
get: function () { return chunk4PRWNAXQ_cjs.failure; }
|
|
137
|
+
get: function () { return chunkDUPNYVBP_cjs.detectIntent; }
|
|
134
138
|
});
|
|
135
139
|
Object.defineProperty(exports, "formatLogsForAI", {
|
|
136
140
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkDUPNYVBP_cjs.formatLogsForAI; }
|
|
138
142
|
});
|
|
139
143
|
Object.defineProperty(exports, "formatRequestsForAI", {
|
|
140
144
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkDUPNYVBP_cjs.formatRequestsForAI; }
|
|
142
146
|
});
|
|
143
147
|
Object.defineProperty(exports, "formatSSE", {
|
|
144
148
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkDUPNYVBP_cjs.formatSSE; }
|
|
146
150
|
});
|
|
147
151
|
Object.defineProperty(exports, "generateId", {
|
|
148
152
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkDUPNYVBP_cjs.generateId; }
|
|
150
154
|
});
|
|
151
155
|
Object.defineProperty(exports, "generateMessageId", {
|
|
152
156
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkDUPNYVBP_cjs.generateMessageId; }
|
|
154
158
|
});
|
|
155
159
|
Object.defineProperty(exports, "generateSuggestionReason", {
|
|
156
160
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkDUPNYVBP_cjs.generateSuggestionReason; }
|
|
158
162
|
});
|
|
159
163
|
Object.defineProperty(exports, "generateThreadId", {
|
|
160
164
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkDUPNYVBP_cjs.generateThreadId; }
|
|
162
166
|
});
|
|
163
167
|
Object.defineProperty(exports, "generateThreadTitle", {
|
|
164
168
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkDUPNYVBP_cjs.generateThreadTitle; }
|
|
166
170
|
});
|
|
167
171
|
Object.defineProperty(exports, "generateToolCallId", {
|
|
168
172
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkDUPNYVBP_cjs.generateToolCallId; }
|
|
170
174
|
});
|
|
171
175
|
Object.defineProperty(exports, "getAttachmentTypeFromMime", {
|
|
172
176
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkDUPNYVBP_cjs.getAttachmentTypeFromMime; }
|
|
174
178
|
});
|
|
175
179
|
Object.defineProperty(exports, "getConsoleErrors", {
|
|
176
180
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkDUPNYVBP_cjs.getConsoleErrors; }
|
|
178
182
|
});
|
|
179
183
|
Object.defineProperty(exports, "getConsoleLogs", {
|
|
180
184
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkDUPNYVBP_cjs.getConsoleLogs; }
|
|
182
186
|
});
|
|
183
187
|
Object.defineProperty(exports, "getConsoleWarnings", {
|
|
184
188
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkDUPNYVBP_cjs.getConsoleWarnings; }
|
|
186
190
|
});
|
|
187
191
|
Object.defineProperty(exports, "getFailedRequests", {
|
|
188
192
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkDUPNYVBP_cjs.getFailedRequests; }
|
|
190
194
|
});
|
|
191
195
|
Object.defineProperty(exports, "getNetworkRequests", {
|
|
192
196
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkDUPNYVBP_cjs.getNetworkRequests; }
|
|
194
198
|
});
|
|
195
199
|
Object.defineProperty(exports, "getPrimaryTool", {
|
|
196
200
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkDUPNYVBP_cjs.getPrimaryTool; }
|
|
198
202
|
});
|
|
199
203
|
Object.defineProperty(exports, "hasToolCalls", {
|
|
200
204
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkDUPNYVBP_cjs.hasToolCalls; }
|
|
202
206
|
});
|
|
203
207
|
Object.defineProperty(exports, "hasToolSuggestions", {
|
|
204
208
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkDUPNYVBP_cjs.hasToolSuggestions; }
|
|
206
210
|
});
|
|
207
211
|
Object.defineProperty(exports, "isConsoleCaptureActive", {
|
|
208
212
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkDUPNYVBP_cjs.isConsoleCaptureActive; }
|
|
210
214
|
});
|
|
211
215
|
Object.defineProperty(exports, "isNetworkCaptureActive", {
|
|
212
216
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkDUPNYVBP_cjs.isNetworkCaptureActive; }
|
|
214
218
|
});
|
|
215
219
|
Object.defineProperty(exports, "isScreenshotSupported", {
|
|
216
220
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkDUPNYVBP_cjs.isScreenshotSupported; }
|
|
218
222
|
});
|
|
219
223
|
Object.defineProperty(exports, "isToolResult", {
|
|
220
224
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkDUPNYVBP_cjs.isToolResult; }
|
|
222
226
|
});
|
|
223
227
|
Object.defineProperty(exports, "localStorageAdapter", {
|
|
224
228
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkDUPNYVBP_cjs.localStorageAdapter; }
|
|
226
230
|
});
|
|
227
231
|
Object.defineProperty(exports, "networkRequestsTool", {
|
|
228
232
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkDUPNYVBP_cjs.networkRequestsTool; }
|
|
230
234
|
});
|
|
231
235
|
Object.defineProperty(exports, "noopAdapter", {
|
|
232
236
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkDUPNYVBP_cjs.noopAdapter; }
|
|
234
238
|
});
|
|
235
239
|
Object.defineProperty(exports, "parseSSELine", {
|
|
236
240
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkDUPNYVBP_cjs.parseSSELine; }
|
|
238
242
|
});
|
|
239
243
|
Object.defineProperty(exports, "parseStreamEvent", {
|
|
240
244
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkDUPNYVBP_cjs.parseStreamEvent; }
|
|
242
246
|
});
|
|
243
247
|
Object.defineProperty(exports, "parseToolCallArgs", {
|
|
244
248
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkDUPNYVBP_cjs.parseToolCallArgs; }
|
|
246
250
|
});
|
|
247
251
|
Object.defineProperty(exports, "processFileToAttachment", {
|
|
248
252
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkDUPNYVBP_cjs.processFileToAttachment; }
|
|
250
254
|
});
|
|
251
255
|
Object.defineProperty(exports, "resizeScreenshot", {
|
|
252
256
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkDUPNYVBP_cjs.resizeScreenshot; }
|
|
254
258
|
});
|
|
255
259
|
Object.defineProperty(exports, "screenshotTool", {
|
|
256
260
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkDUPNYVBP_cjs.screenshotTool; }
|
|
258
262
|
});
|
|
259
263
|
Object.defineProperty(exports, "serializeStreamEvent", {
|
|
260
264
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkDUPNYVBP_cjs.serializeStreamEvent; }
|
|
262
266
|
});
|
|
263
267
|
Object.defineProperty(exports, "startConsoleCapture", {
|
|
264
268
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkDUPNYVBP_cjs.startConsoleCapture; }
|
|
266
270
|
});
|
|
267
271
|
Object.defineProperty(exports, "startNetworkCapture", {
|
|
268
272
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunkDUPNYVBP_cjs.startNetworkCapture; }
|
|
270
274
|
});
|
|
271
275
|
Object.defineProperty(exports, "stopConsoleCapture", {
|
|
272
276
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunkDUPNYVBP_cjs.stopConsoleCapture; }
|
|
274
278
|
});
|
|
275
279
|
Object.defineProperty(exports, "stopNetworkCapture", {
|
|
276
280
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
281
|
+
get: function () { return chunkDUPNYVBP_cjs.stopNetworkCapture; }
|
|
278
282
|
});
|
|
279
283
|
Object.defineProperty(exports, "streamSSE", {
|
|
280
284
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
285
|
+
get: function () { return chunkDUPNYVBP_cjs.streamSSE; }
|
|
286
|
+
});
|
|
287
|
+
Object.defineProperty(exports, "zodObjectToInputSchema", {
|
|
288
|
+
enumerable: true,
|
|
289
|
+
get: function () { return chunkDUPNYVBP_cjs.zodObjectToInputSchema; }
|
|
290
|
+
});
|
|
291
|
+
Object.defineProperty(exports, "zodToJsonSchema", {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function () { return chunkDUPNYVBP_cjs.zodToJsonSchema; }
|
|
294
|
+
});
|
|
295
|
+
Object.defineProperty(exports, "createWebSearchTool", {
|
|
296
|
+
enumerable: true,
|
|
297
|
+
get: function () { return chunkTX7CGITI_cjs.createWebSearchTool; }
|
|
298
|
+
});
|
|
299
|
+
Object.defineProperty(exports, "webSearchTool", {
|
|
300
|
+
enumerable: true,
|
|
301
|
+
get: function () { return chunkTX7CGITI_cjs.webSearchTool; }
|
|
302
|
+
});
|
|
303
|
+
Object.defineProperty(exports, "createToolResult", {
|
|
304
|
+
enumerable: true,
|
|
305
|
+
get: function () { return chunkW74OTXXX_cjs.createToolResult; }
|
|
306
|
+
});
|
|
307
|
+
Object.defineProperty(exports, "failure", {
|
|
308
|
+
enumerable: true,
|
|
309
|
+
get: function () { return chunkW74OTXXX_cjs.failure; }
|
|
282
310
|
});
|
|
283
311
|
Object.defineProperty(exports, "success", {
|
|
284
312
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunkW74OTXXX_cjs.success; }
|
|
286
314
|
});
|
|
287
315
|
Object.defineProperty(exports, "tool", {
|
|
288
316
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
317
|
+
get: function () { return chunkW74OTXXX_cjs.tool; }
|
|
290
318
|
});
|
|
291
319
|
Object.defineProperty(exports, "toolToAnthropicFormat", {
|
|
292
320
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkW74OTXXX_cjs.toolToAnthropicFormat; }
|
|
294
322
|
});
|
|
295
323
|
Object.defineProperty(exports, "toolToOpenAIFormat", {
|
|
296
324
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkW74OTXXX_cjs.toolToOpenAIFormat; }
|
|
298
326
|
});
|
|
299
|
-
Object.defineProperty(exports, "
|
|
327
|
+
Object.defineProperty(exports, "executeWebSearch", {
|
|
300
328
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunkASV6JLYG_cjs.executeWebSearch; }
|
|
302
330
|
});
|
|
303
|
-
Object.defineProperty(exports, "
|
|
331
|
+
Object.defineProperty(exports, "formatSearchResultsForAI", {
|
|
332
|
+
enumerable: true,
|
|
333
|
+
get: function () { return chunkASV6JLYG_cjs.formatSearchResultsForAI; }
|
|
334
|
+
});
|
|
335
|
+
Object.defineProperty(exports, "getAvailableProviders", {
|
|
336
|
+
enumerable: true,
|
|
337
|
+
get: function () { return chunkASV6JLYG_cjs.getAvailableProviders; }
|
|
338
|
+
});
|
|
339
|
+
Object.defineProperty(exports, "getProvider", {
|
|
340
|
+
enumerable: true,
|
|
341
|
+
get: function () { return chunkASV6JLYG_cjs.getProvider; }
|
|
342
|
+
});
|
|
343
|
+
Object.defineProperty(exports, "summarizeSearchResults", {
|
|
344
|
+
enumerable: true,
|
|
345
|
+
get: function () { return chunkASV6JLYG_cjs.summarizeSearchResults; }
|
|
346
|
+
});
|
|
347
|
+
Object.defineProperty(exports, "tavilyProvider", {
|
|
348
|
+
enumerable: true,
|
|
349
|
+
get: function () { return chunkCBAHCI4R_cjs.tavilyProvider; }
|
|
350
|
+
});
|
|
351
|
+
Object.defineProperty(exports, "serperProvider", {
|
|
352
|
+
enumerable: true,
|
|
353
|
+
get: function () { return chunkMEBXW75C_cjs.serperProvider; }
|
|
354
|
+
});
|
|
355
|
+
Object.defineProperty(exports, "braveProvider", {
|
|
356
|
+
enumerable: true,
|
|
357
|
+
get: function () { return chunkW73FBYIH_cjs.braveProvider; }
|
|
358
|
+
});
|
|
359
|
+
Object.defineProperty(exports, "searxngProvider", {
|
|
360
|
+
enumerable: true,
|
|
361
|
+
get: function () { return chunk2FAWEBZS_cjs.searxngProvider; }
|
|
362
|
+
});
|
|
363
|
+
Object.defineProperty(exports, "exaProvider", {
|
|
364
|
+
enumerable: true,
|
|
365
|
+
get: function () { return chunk6T5XXJEP_cjs.exaProvider; }
|
|
366
|
+
});
|
|
367
|
+
Object.defineProperty(exports, "openaiProvider", {
|
|
368
|
+
enumerable: true,
|
|
369
|
+
get: function () { return chunkGANCV72Z_cjs.openaiProvider; }
|
|
370
|
+
});
|
|
371
|
+
Object.defineProperty(exports, "googleProvider", {
|
|
372
|
+
enumerable: true,
|
|
373
|
+
get: function () { return chunkXWOHNY3F_cjs.googleProvider; }
|
|
374
|
+
});
|
|
375
|
+
Object.defineProperty(exports, "anthropicProvider", {
|
|
304
376
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
377
|
+
get: function () { return chunkTXLIY7GF_cjs.anthropicProvider; }
|
|
306
378
|
});
|
|
307
379
|
//# sourceMappingURL=index.cjs.map
|
|
308
380
|
//# sourceMappingURL=index.cjs.map
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
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-
|
|
3
|
-
import { T as ToolDefinition,
|
|
4
|
-
export {
|
|
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
|
+
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, J as JSONSchemaProperty, c as ToolInputSchema, d as ToolLocation, e as ToolContext } from '../tools-EiPWA9Ay.cjs';
|
|
4
|
+
export { o as AIContent, A as AIProvider, n as AIResponseMode, l as AgentLoopConfig, m as AgentLoopState, P as PermissionLevel, r as PermissionStorageAdapter, q as PermissionStorageConfig, j as ToolApprovalStatus, g as ToolConfig, k as ToolExecution, p as ToolPermission, f as ToolRenderProps, h as ToolSet, U as UnifiedToolCall, i as UnifiedToolResult, v as createToolResult, x as failure, w as success, t as tool, u as toolToAnthropicFormat, s as toolToOpenAIFormat } from '../tools-EiPWA9Ay.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-DOlhSb79.cjs';
|
|
6
|
+
import { S as Source, c as MessageAttachment } from '../types-DG2ya08y.cjs';
|
|
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
|
+
export { o as openaiProvider } from '../openai-HVSCuXgO.cjs';
|
|
9
|
+
export { g as googleProvider } from '../google-CHU2yycE.cjs';
|
|
10
|
+
export { a as anthropicProvider } from '../anthropic-DGalr_Fw.cjs';
|
|
11
|
+
export { t as tavilyProvider } from '../tavily-C8cXXojE.cjs';
|
|
12
|
+
export { s as serperProvider } from '../serper-JzdaSnS9.cjs';
|
|
13
|
+
export { b as braveProvider } from '../brave-DdnWb7Gb.cjs';
|
|
14
|
+
export { s as searxngProvider } from '../searxng-QGOte_Gq.cjs';
|
|
15
|
+
export { e as exaProvider } from '../exa-jJSPhyUW.cjs';
|
|
16
|
+
export { b as WebSearchConfig, e as WebSearchImage, c as WebSearchParams, a as WebSearchProvider, W as WebSearchProviderInterface, f as WebSearchResponse, d as WebSearchResult } from '../types-ZguuKEs_.cjs';
|
|
5
17
|
|
|
6
18
|
/**
|
|
7
19
|
* Screenshot Capture Tool
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
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-
|
|
3
|
-
import { T as ToolDefinition,
|
|
4
|
-
export {
|
|
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
|
+
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, J as JSONSchemaProperty, c as ToolInputSchema, d as ToolLocation, e as ToolContext } from '../tools-EiPWA9Ay.js';
|
|
4
|
+
export { o as AIContent, A as AIProvider, n as AIResponseMode, l as AgentLoopConfig, m as AgentLoopState, P as PermissionLevel, r as PermissionStorageAdapter, q as PermissionStorageConfig, j as ToolApprovalStatus, g as ToolConfig, k as ToolExecution, p as ToolPermission, f as ToolRenderProps, h as ToolSet, U as UnifiedToolCall, i as UnifiedToolResult, v as createToolResult, x as failure, w as success, t as tool, u as toolToAnthropicFormat, s as toolToOpenAIFormat } from '../tools-EiPWA9Ay.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-DBNh0jhE.js';
|
|
6
|
+
import { S as Source, c as MessageAttachment } from '../types-DG2ya08y.js';
|
|
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
|
+
export { o as openaiProvider } from '../openai-Cam8hF4f.js';
|
|
9
|
+
export { g as googleProvider } from '../google-Da8IQxaI.js';
|
|
10
|
+
export { a as anthropicProvider } from '../anthropic-DkCEDYOt.js';
|
|
11
|
+
export { t as tavilyProvider } from '../tavily-DdSGVgkE.js';
|
|
12
|
+
export { s as serperProvider } from '../serper-7Czya3PW.js';
|
|
13
|
+
export { b as braveProvider } from '../brave-DsI9n7Wr.js';
|
|
14
|
+
export { s as searxngProvider } from '../searxng-K0qtY9vp.js';
|
|
15
|
+
export { e as exaProvider } from '../exa-Dp9U-WTc.js';
|
|
16
|
+
export { b as WebSearchConfig, e as WebSearchImage, c as WebSearchParams, a as WebSearchProvider, W as WebSearchProviderInterface, f as WebSearchResponse, d as WebSearchResult } from '../types-ZguuKEs_.js';
|
|
5
17
|
|
|
6
18
|
/**
|
|
7
19
|
* Screenshot Capture Tool
|
package/dist/core/index.js
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
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,
|
|
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-Z7PHGSJT.js';
|
|
2
|
+
export { createWebSearchTool, webSearchTool } from '../chunk-6BXQFCK3.js';
|
|
3
|
+
export { createToolResult, failure, success, tool, toolToAnthropicFormat, toolToOpenAIFormat } from '../chunk-J4OMGO5O.js';
|
|
4
|
+
export { executeWebSearch, formatSearchResultsForAI, getAvailableProviders, getProvider, summarizeSearchResults } from '../chunk-XGITAEXU.js';
|
|
5
|
+
export { tavilyProvider } from '../chunk-7W7QLZNC.js';
|
|
6
|
+
export { serperProvider } from '../chunk-CEOMTQTP.js';
|
|
7
|
+
export { braveProvider } from '../chunk-PPFHA6IL.js';
|
|
8
|
+
export { searxngProvider } from '../chunk-DABZYCVX.js';
|
|
9
|
+
export { exaProvider } from '../chunk-MNDGIW47.js';
|
|
10
|
+
export { openaiProvider } from '../chunk-VD74IPKB.js';
|
|
11
|
+
export { googleProvider } from '../chunk-53UGJNHN.js';
|
|
12
|
+
export { anthropicProvider } from '../chunk-RQ74USYU.js';
|
|
13
|
+
import '../chunk-DGUM43GV.js';
|
|
2
14
|
//# sourceMappingURL=index.js.map
|
|
3
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6T5XXJEP_cjs = require('./chunk-6T5XXJEP.cjs');
|
|
4
|
+
require('./chunk-JEQ2X3Z6.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "exaProvider", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk6T5XXJEP_cjs.exaProvider; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "searchExa", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunk6T5XXJEP_cjs.searchExa; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "validateExaConfig", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunk6T5XXJEP_cjs.validateExaConfig; }
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=exa-72KFY5A7.cjs.map
|
|
21
|
+
//# sourceMappingURL=exa-72KFY5A7.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"exa-72KFY5A7.cjs"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { W as WebSearchProviderInterface } from './types-ZguuKEs_.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Exa Search Provider
|
|
5
|
+
*
|
|
6
|
+
* Exa (formerly Metaphor) is an AI-native search engine
|
|
7
|
+
* that understands queries semantically for better results.
|
|
8
|
+
*
|
|
9
|
+
* @see https://exa.ai/
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Exa provider implementation
|
|
14
|
+
*/
|
|
15
|
+
declare const exaProvider: WebSearchProviderInterface;
|
|
16
|
+
|
|
17
|
+
export { exaProvider as e };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"exa-NNVPBC2M.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { W as WebSearchProviderInterface } from './types-ZguuKEs_.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Exa Search Provider
|
|
5
|
+
*
|
|
6
|
+
* Exa (formerly Metaphor) is an AI-native search engine
|
|
7
|
+
* that understands queries semantically for better results.
|
|
8
|
+
*
|
|
9
|
+
* @see https://exa.ai/
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Exa provider implementation
|
|
14
|
+
*/
|
|
15
|
+
declare const exaProvider: WebSearchProviderInterface;
|
|
16
|
+
|
|
17
|
+
export { exaProvider as e };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { W as WebSearchProviderInterface } from './types-ZguuKEs_.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Google Web Search Provider (Grounding with Google Search)
|
|
5
|
+
*
|
|
6
|
+
* Uses Google's built-in grounding feature via the Gemini API.
|
|
7
|
+
* No third-party API key required - uses your Google/Gemini API key.
|
|
8
|
+
*
|
|
9
|
+
* @see https://ai.google.dev/gemini-api/docs/google-search
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Google native search provider implementation
|
|
14
|
+
*/
|
|
15
|
+
declare const googleProvider: WebSearchProviderInterface;
|
|
16
|
+
|
|
17
|
+
export { googleProvider as g };
|