@keystrokehq/exa 0.0.16 → 0.0.55
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/LICENSE +1 -1
- package/README.md +90 -2
- package/dist/actions/index.cjs +17 -0
- package/dist/actions/index.d.cts +2 -0
- package/dist/actions/index.d.mts +2 -0
- package/dist/actions/index.mjs +2 -0
- package/dist/actions-Bl-9uz6K.cjs +491 -0
- package/dist/actions-Bl-9uz6K.cjs.map +1 -0
- package/dist/actions-DnHafheX.mjs +373 -0
- package/dist/actions-DnHafheX.mjs.map +1 -0
- package/dist/credential-BWous9Uu.cjs +16 -0
- package/dist/credential-BWous9Uu.cjs.map +1 -0
- package/dist/credential-NfXyV_Vy.mjs +11 -0
- package/dist/credential-NfXyV_Vy.mjs.map +1 -0
- package/dist/index-BwCGHs6v.d.cts +357 -0
- package/dist/index-BwCGHs6v.d.cts.map +1 -0
- package/dist/index-BwCGHs6v.d.mts +357 -0
- package/dist/index-BwCGHs6v.d.mts.map +1 -0
- package/dist/index.cjs +14 -0
- package/dist/index.d.cts +20 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +20 -4
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +4 -5
- package/dist/mcp.cjs +57 -0
- package/dist/mcp.cjs.map +1 -0
- package/dist/mcp.d.cts +16 -0
- package/dist/mcp.d.cts.map +1 -0
- package/dist/mcp.d.mts +16 -0
- package/dist/mcp.d.mts.map +1 -0
- package/dist/mcp.mjs +54 -0
- package/dist/mcp.mjs.map +1 -0
- package/package.json +49 -54
- package/dist/contents.schema-BNgTB2DN.mjs +0 -133
- package/dist/credential-sets/index.d.mts +0 -2
- package/dist/credential-sets/index.mjs +0 -3
- package/dist/exa.credential-set-BGLENRlR.d.mts +0 -14
- package/dist/exa.credential-set-Ba-RsxL2.mjs +0 -15
- package/dist/operations/index.d.mts +0 -2
- package/dist/operations/index.mjs +0 -3
- package/dist/schemas/index.d.mts +0 -2
- package/dist/schemas/index.mjs +0 -3
- package/dist/search.schema-Cw-d91N6.d.mts +0 -204
- package/dist/update-monitor.operation-D-vWJFP3.mjs +0 -478
- package/dist/update-monitor.operation-Dm50YoS7.d.mts +0 -570
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/answer.d.ts
|
|
4
|
+
declare const ExaAnswerInput: z.ZodObject<{
|
|
5
|
+
query: z.ZodString;
|
|
6
|
+
includeCitationText: z.ZodDefault<z.ZodBoolean>;
|
|
7
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ExaAnswerOutput: z.ZodObject<{
|
|
10
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
answer: z.ZodUnknown;
|
|
12
|
+
citations: z.ZodArray<z.ZodObject<{
|
|
13
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
url: z.ZodString;
|
|
15
|
+
id: z.ZodOptional<z.ZodString>;
|
|
16
|
+
publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
costDollars: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const exaAnswer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
query: string;
|
|
26
|
+
includeCitationText: boolean;
|
|
27
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
answer: unknown;
|
|
30
|
+
citations: {
|
|
31
|
+
url: string;
|
|
32
|
+
title?: string | null | undefined;
|
|
33
|
+
id?: string | undefined;
|
|
34
|
+
publishedDate?: string | null | undefined;
|
|
35
|
+
author?: string | null | undefined;
|
|
36
|
+
text?: string | null | undefined;
|
|
37
|
+
}[];
|
|
38
|
+
requestId?: string | undefined;
|
|
39
|
+
costDollars?: {
|
|
40
|
+
total?: number | undefined;
|
|
41
|
+
} | undefined;
|
|
42
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
43
|
+
apiKey: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
45
|
+
apiKey: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>]>;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/actions/get-contents.d.ts
|
|
49
|
+
declare const ExaGetContentsInput: z.ZodObject<{
|
|
50
|
+
urls: z.ZodArray<z.ZodString>;
|
|
51
|
+
highlights: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
summary: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
declare const ExaGetContentsOutput: z.ZodObject<{
|
|
56
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
57
|
+
results: z.ZodArray<z.ZodObject<{
|
|
58
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
url: z.ZodString;
|
|
60
|
+
id: z.ZodOptional<z.ZodString>;
|
|
61
|
+
publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
highlights: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
entities: z.ZodOptional<z.ZodUnknown>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
status: z.ZodEnum<{
|
|
71
|
+
success: "success";
|
|
72
|
+
error: "error";
|
|
73
|
+
}>;
|
|
74
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
cached: "cached";
|
|
76
|
+
crawled: "crawled";
|
|
77
|
+
}>>;
|
|
78
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
80
|
+
httpStatusCode: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
}, z.core.$strip>>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
costDollars: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
declare const exaGetContents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
88
|
+
urls: string[];
|
|
89
|
+
highlights?: boolean | undefined;
|
|
90
|
+
text?: boolean | undefined;
|
|
91
|
+
summary?: boolean | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
results: {
|
|
94
|
+
url: string;
|
|
95
|
+
title?: string | null | undefined;
|
|
96
|
+
id?: string | undefined;
|
|
97
|
+
publishedDate?: string | null | undefined;
|
|
98
|
+
author?: string | null | undefined;
|
|
99
|
+
text?: string | null | undefined;
|
|
100
|
+
highlights?: string[] | undefined;
|
|
101
|
+
summary?: string | null | undefined;
|
|
102
|
+
entities?: unknown;
|
|
103
|
+
}[];
|
|
104
|
+
statuses: {
|
|
105
|
+
id: string;
|
|
106
|
+
status: "success" | "error";
|
|
107
|
+
source?: "cached" | "crawled" | undefined;
|
|
108
|
+
error?: {
|
|
109
|
+
tag?: string | undefined;
|
|
110
|
+
httpStatusCode?: number | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
}[];
|
|
113
|
+
requestId?: string | undefined;
|
|
114
|
+
costDollars?: {
|
|
115
|
+
total?: number | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
118
|
+
apiKey: z.ZodString;
|
|
119
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
120
|
+
apiKey: z.ZodString;
|
|
121
|
+
}, z.core.$strip>>]>;
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/actions/get-context.d.ts
|
|
124
|
+
declare const ExaGetContextInput: z.ZodObject<{
|
|
125
|
+
query: z.ZodString;
|
|
126
|
+
tokensNum: z.ZodDefault<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"dynamic">]>>;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
declare const ExaGetContextOutput: z.ZodObject<{
|
|
129
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
130
|
+
query: z.ZodOptional<z.ZodString>;
|
|
131
|
+
response: z.ZodString;
|
|
132
|
+
resultsCount: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
searchTime: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
costDollars: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
declare const exaGetContext: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
140
|
+
query: string;
|
|
141
|
+
tokensNum: number | "dynamic";
|
|
142
|
+
}, {
|
|
143
|
+
response: string;
|
|
144
|
+
requestId?: string | undefined;
|
|
145
|
+
query?: string | undefined;
|
|
146
|
+
resultsCount?: number | undefined;
|
|
147
|
+
searchTime?: number | undefined;
|
|
148
|
+
outputTokens?: number | undefined;
|
|
149
|
+
costDollars?: {
|
|
150
|
+
total?: number | undefined;
|
|
151
|
+
} | undefined;
|
|
152
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
153
|
+
apiKey: z.ZodString;
|
|
154
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
155
|
+
apiKey: z.ZodString;
|
|
156
|
+
}, z.core.$strip>>]>;
|
|
157
|
+
//#endregion
|
|
158
|
+
//#region src/actions/search.d.ts
|
|
159
|
+
declare const ExaSearchInput: z.ZodObject<{
|
|
160
|
+
query: z.ZodString;
|
|
161
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
162
|
+
instant: "instant";
|
|
163
|
+
fast: "fast";
|
|
164
|
+
auto: "auto";
|
|
165
|
+
"deep-lite": "deep-lite";
|
|
166
|
+
deep: "deep";
|
|
167
|
+
"deep-reasoning": "deep-reasoning";
|
|
168
|
+
}>>;
|
|
169
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
170
|
+
company: "company";
|
|
171
|
+
people: "people";
|
|
172
|
+
"research paper": "research paper";
|
|
173
|
+
news: "news";
|
|
174
|
+
"personal site": "personal site";
|
|
175
|
+
"financial report": "financial report";
|
|
176
|
+
}>>;
|
|
177
|
+
numResults: z.ZodDefault<z.ZodNumber>;
|
|
178
|
+
includeDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
179
|
+
excludeDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
+
startPublishedDate: z.ZodOptional<z.ZodString>;
|
|
181
|
+
endPublishedDate: z.ZodOptional<z.ZodString>;
|
|
182
|
+
userLocation: z.ZodOptional<z.ZodString>;
|
|
183
|
+
additionalQueries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
184
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
185
|
+
highlights: z.ZodDefault<z.ZodBoolean>;
|
|
186
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
+
summary: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
declare const ExaSearchOutput: z.ZodObject<{
|
|
190
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
191
|
+
searchType: z.ZodOptional<z.ZodString>;
|
|
192
|
+
results: z.ZodArray<z.ZodObject<{
|
|
193
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
url: z.ZodString;
|
|
195
|
+
id: z.ZodOptional<z.ZodString>;
|
|
196
|
+
publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
+
highlights: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
200
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
|
+
entities: z.ZodOptional<z.ZodUnknown>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
203
|
+
costDollars: z.ZodOptional<z.ZodObject<{
|
|
204
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
declare const exaSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
208
|
+
query: string;
|
|
209
|
+
type: "instant" | "fast" | "auto" | "deep-lite" | "deep" | "deep-reasoning";
|
|
210
|
+
numResults: number;
|
|
211
|
+
highlights: boolean;
|
|
212
|
+
category?: "company" | "people" | "research paper" | "news" | "personal site" | "financial report" | undefined;
|
|
213
|
+
includeDomains?: string[] | undefined;
|
|
214
|
+
excludeDomains?: string[] | undefined;
|
|
215
|
+
startPublishedDate?: string | undefined;
|
|
216
|
+
endPublishedDate?: string | undefined;
|
|
217
|
+
userLocation?: string | undefined;
|
|
218
|
+
additionalQueries?: string[] | undefined;
|
|
219
|
+
systemPrompt?: string | undefined;
|
|
220
|
+
text?: boolean | undefined;
|
|
221
|
+
summary?: boolean | undefined;
|
|
222
|
+
}, {
|
|
223
|
+
results: {
|
|
224
|
+
url: string;
|
|
225
|
+
title?: string | null | undefined;
|
|
226
|
+
id?: string | undefined;
|
|
227
|
+
publishedDate?: string | null | undefined;
|
|
228
|
+
author?: string | null | undefined;
|
|
229
|
+
text?: string | null | undefined;
|
|
230
|
+
highlights?: string[] | undefined;
|
|
231
|
+
summary?: string | null | undefined;
|
|
232
|
+
entities?: unknown;
|
|
233
|
+
}[];
|
|
234
|
+
requestId?: string | undefined;
|
|
235
|
+
searchType?: string | undefined;
|
|
236
|
+
costDollars?: {
|
|
237
|
+
total?: number | undefined;
|
|
238
|
+
} | undefined;
|
|
239
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
240
|
+
apiKey: z.ZodString;
|
|
241
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
242
|
+
apiKey: z.ZodString;
|
|
243
|
+
}, z.core.$strip>>]>;
|
|
244
|
+
//#endregion
|
|
245
|
+
//#region src/actions/search-structured.d.ts
|
|
246
|
+
declare const ExaSearchStructuredInput: z.ZodObject<{
|
|
247
|
+
query: z.ZodString;
|
|
248
|
+
outputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
249
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
250
|
+
instant: "instant";
|
|
251
|
+
fast: "fast";
|
|
252
|
+
auto: "auto";
|
|
253
|
+
"deep-lite": "deep-lite";
|
|
254
|
+
deep: "deep";
|
|
255
|
+
"deep-reasoning": "deep-reasoning";
|
|
256
|
+
}>>;
|
|
257
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
258
|
+
company: "company";
|
|
259
|
+
people: "people";
|
|
260
|
+
"research paper": "research paper";
|
|
261
|
+
news: "news";
|
|
262
|
+
"personal site": "personal site";
|
|
263
|
+
"financial report": "financial report";
|
|
264
|
+
}>>;
|
|
265
|
+
numResults: z.ZodDefault<z.ZodNumber>;
|
|
266
|
+
includeDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
267
|
+
excludeDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
268
|
+
startPublishedDate: z.ZodOptional<z.ZodString>;
|
|
269
|
+
endPublishedDate: z.ZodOptional<z.ZodString>;
|
|
270
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
271
|
+
additionalQueries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
272
|
+
highlights: z.ZodDefault<z.ZodBoolean>;
|
|
273
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
274
|
+
}, z.core.$strip>;
|
|
275
|
+
declare const ExaSearchStructuredOutput: z.ZodObject<{
|
|
276
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
277
|
+
searchType: z.ZodOptional<z.ZodString>;
|
|
278
|
+
results: z.ZodArray<z.ZodObject<{
|
|
279
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
280
|
+
url: z.ZodString;
|
|
281
|
+
id: z.ZodOptional<z.ZodString>;
|
|
282
|
+
publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
283
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
+
highlights: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
286
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
287
|
+
entities: z.ZodOptional<z.ZodUnknown>;
|
|
288
|
+
}, z.core.$strip>>;
|
|
289
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
content: z.ZodUnknown;
|
|
291
|
+
grounding: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
292
|
+
field: z.ZodString;
|
|
293
|
+
citations: z.ZodArray<z.ZodObject<{
|
|
294
|
+
url: z.ZodString;
|
|
295
|
+
title: z.ZodOptional<z.ZodString>;
|
|
296
|
+
}, z.core.$strip>>;
|
|
297
|
+
confidence: z.ZodOptional<z.ZodEnum<{
|
|
298
|
+
low: "low";
|
|
299
|
+
medium: "medium";
|
|
300
|
+
high: "high";
|
|
301
|
+
}>>;
|
|
302
|
+
}, z.core.$strip>>>;
|
|
303
|
+
}, z.core.$strip>>;
|
|
304
|
+
costDollars: z.ZodOptional<z.ZodObject<{
|
|
305
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
306
|
+
}, z.core.$strip>>;
|
|
307
|
+
}, z.core.$strip>;
|
|
308
|
+
declare const exaSearchStructured: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
309
|
+
query: string;
|
|
310
|
+
outputSchema: Record<string, unknown>;
|
|
311
|
+
type: "instant" | "fast" | "auto" | "deep-lite" | "deep" | "deep-reasoning";
|
|
312
|
+
numResults: number;
|
|
313
|
+
highlights: boolean;
|
|
314
|
+
category?: "company" | "people" | "research paper" | "news" | "personal site" | "financial report" | undefined;
|
|
315
|
+
includeDomains?: string[] | undefined;
|
|
316
|
+
excludeDomains?: string[] | undefined;
|
|
317
|
+
startPublishedDate?: string | undefined;
|
|
318
|
+
endPublishedDate?: string | undefined;
|
|
319
|
+
systemPrompt?: string | undefined;
|
|
320
|
+
additionalQueries?: string[] | undefined;
|
|
321
|
+
text?: boolean | undefined;
|
|
322
|
+
}, {
|
|
323
|
+
results: {
|
|
324
|
+
url: string;
|
|
325
|
+
title?: string | null | undefined;
|
|
326
|
+
id?: string | undefined;
|
|
327
|
+
publishedDate?: string | null | undefined;
|
|
328
|
+
author?: string | null | undefined;
|
|
329
|
+
text?: string | null | undefined;
|
|
330
|
+
highlights?: string[] | undefined;
|
|
331
|
+
summary?: string | null | undefined;
|
|
332
|
+
entities?: unknown;
|
|
333
|
+
}[];
|
|
334
|
+
requestId?: string | undefined;
|
|
335
|
+
searchType?: string | undefined;
|
|
336
|
+
output?: {
|
|
337
|
+
content: unknown;
|
|
338
|
+
grounding?: {
|
|
339
|
+
field: string;
|
|
340
|
+
citations: {
|
|
341
|
+
url: string;
|
|
342
|
+
title?: string | undefined;
|
|
343
|
+
}[];
|
|
344
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
345
|
+
}[] | undefined;
|
|
346
|
+
} | undefined;
|
|
347
|
+
costDollars?: {
|
|
348
|
+
total?: number | undefined;
|
|
349
|
+
} | undefined;
|
|
350
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
351
|
+
apiKey: z.ZodString;
|
|
352
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"exa", z.ZodObject<{
|
|
353
|
+
apiKey: z.ZodString;
|
|
354
|
+
}, z.core.$strip>>]>;
|
|
355
|
+
//#endregion
|
|
356
|
+
export { ExaSearchOutput as a, ExaGetContextOutput as c, ExaGetContentsOutput as d, exaGetContents as f, exaAnswer as h, ExaSearchInput as i, exaGetContext as l, ExaAnswerOutput as m, ExaSearchStructuredOutput as n, exaSearch as o, ExaAnswerInput as p, exaSearchStructured as r, ExaGetContextInput as s, ExaSearchStructuredInput as t, ExaGetContentsInput as u };
|
|
357
|
+
//# sourceMappingURL=index-BwCGHs6v.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BwCGHs6v.d.cts","names":[],"sources":["../src/actions/answer.ts","../src/actions/get-contents.ts","../src/actions/get-context.ts","../src/actions/search.ts","../src/actions/search-structured.ts"],"mappings":";;;cAMa,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;cAYd,eAAA,EAAe,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOf,SAAA,gCAAS,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;cCnBT,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;cAOnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCfd,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAYlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;cAUnB,aAAA,gCAAa,wBAAA;;;;;;;;;;;;;;;;;;;;cCfb,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+Cd,eAAA,EAAe,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAOf,SAAA,gCAAS,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCrDT,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA"}
|