@deepagents/toolbox 5.0.0 → 6.1.0
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/lib/ddg-search.d.ts +38 -41
- package/dist/lib/ddg-search.d.ts.map +1 -1
- package/dist/lib/hackernews-search.d.ts +780 -780
- package/dist/lib/user-story-formatter.d.ts +26 -26
- package/dist/lib/weather.d.ts +37 -54
- package/dist/lib/weather.d.ts.map +1 -1
- package/dist/lib/web-search.d.ts +26 -26
- package/package.json +7 -7
|
@@ -4,13 +4,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
4
4
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
5
5
|
inputSchema: import("ai").FlexibleSchema<{
|
|
6
6
|
title: string;
|
|
7
|
-
priority: "High" | "Medium" | "Low";
|
|
8
7
|
userRole: string;
|
|
9
8
|
action: string;
|
|
10
9
|
benefit: string;
|
|
11
10
|
acceptanceCriteria: {
|
|
12
11
|
criterion: string;
|
|
13
12
|
}[];
|
|
13
|
+
priority: "High" | "Medium" | "Low";
|
|
14
14
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
15
15
|
technicalNotes?: string | undefined;
|
|
16
16
|
epicOrFeature?: string | undefined;
|
|
@@ -18,13 +18,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
18
18
|
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
19
19
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
20
20
|
title: string;
|
|
21
|
-
priority: "High" | "Medium" | "Low";
|
|
22
21
|
userRole: string;
|
|
23
22
|
action: string;
|
|
24
23
|
benefit: string;
|
|
25
24
|
acceptanceCriteria: {
|
|
26
25
|
criterion: string;
|
|
27
26
|
}[];
|
|
27
|
+
priority: "High" | "Medium" | "Low";
|
|
28
28
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
29
29
|
technicalNotes?: string | undefined;
|
|
30
30
|
epicOrFeature?: string | undefined;
|
|
@@ -36,13 +36,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
36
36
|
onInputAvailable?: ((options: {
|
|
37
37
|
input: {
|
|
38
38
|
title: string;
|
|
39
|
-
priority: "High" | "Medium" | "Low";
|
|
40
39
|
userRole: string;
|
|
41
40
|
action: string;
|
|
42
41
|
benefit: string;
|
|
43
42
|
acceptanceCriteria: {
|
|
44
43
|
criterion: string;
|
|
45
44
|
}[];
|
|
45
|
+
priority: "High" | "Medium" | "Low";
|
|
46
46
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
47
47
|
technicalNotes?: string | undefined;
|
|
48
48
|
epicOrFeature?: string | undefined;
|
|
@@ -52,13 +52,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
52
52
|
toolCallId: string;
|
|
53
53
|
input: {
|
|
54
54
|
title: string;
|
|
55
|
-
priority: "High" | "Medium" | "Low";
|
|
56
55
|
userRole: string;
|
|
57
56
|
action: string;
|
|
58
57
|
benefit: string;
|
|
59
58
|
acceptanceCriteria: {
|
|
60
59
|
criterion: string;
|
|
61
60
|
}[];
|
|
61
|
+
priority: "High" | "Medium" | "Low";
|
|
62
62
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
63
63
|
technicalNotes?: string | undefined;
|
|
64
64
|
epicOrFeature?: string | undefined;
|
|
@@ -69,13 +69,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
69
69
|
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
70
70
|
execute: import("ai").ToolExecuteFunction<{
|
|
71
71
|
title: string;
|
|
72
|
-
priority: "High" | "Medium" | "Low";
|
|
73
72
|
userRole: string;
|
|
74
73
|
action: string;
|
|
75
74
|
benefit: string;
|
|
76
75
|
acceptanceCriteria: {
|
|
77
76
|
criterion: string;
|
|
78
77
|
}[];
|
|
78
|
+
priority: "High" | "Medium" | "Low";
|
|
79
79
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
80
80
|
technicalNotes?: string | undefined;
|
|
81
81
|
epicOrFeature?: string | undefined;
|
|
@@ -89,13 +89,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
89
89
|
inputExamples?: {
|
|
90
90
|
input: NoInfer<{
|
|
91
91
|
title: string;
|
|
92
|
-
priority: "High" | "Medium" | "Low";
|
|
93
92
|
userRole: string;
|
|
94
93
|
action: string;
|
|
95
94
|
benefit: string;
|
|
96
95
|
acceptanceCriteria: {
|
|
97
96
|
criterion: string;
|
|
98
97
|
}[];
|
|
98
|
+
priority: "High" | "Medium" | "Low";
|
|
99
99
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
100
100
|
technicalNotes?: string | undefined;
|
|
101
101
|
epicOrFeature?: string | undefined;
|
|
@@ -110,13 +110,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
110
110
|
} & {
|
|
111
111
|
execute: import("ai").ToolExecuteFunction<{
|
|
112
112
|
title: string;
|
|
113
|
-
priority: "High" | "Medium" | "Low";
|
|
114
113
|
userRole: string;
|
|
115
114
|
action: string;
|
|
116
115
|
benefit: string;
|
|
117
116
|
acceptanceCriteria: {
|
|
118
117
|
criterion: string;
|
|
119
118
|
}[];
|
|
119
|
+
priority: "High" | "Medium" | "Low";
|
|
120
120
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
121
121
|
technicalNotes?: string | undefined;
|
|
122
122
|
epicOrFeature?: string | undefined;
|
|
@@ -127,13 +127,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
127
127
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
128
128
|
inputSchema: import("ai").FlexibleSchema<{
|
|
129
129
|
title: string;
|
|
130
|
-
priority: "High" | "Medium" | "Low";
|
|
131
130
|
userRole: string;
|
|
132
131
|
action: string;
|
|
133
132
|
benefit: string;
|
|
134
133
|
acceptanceCriteria: {
|
|
135
134
|
criterion: string;
|
|
136
135
|
}[];
|
|
136
|
+
priority: "High" | "Medium" | "Low";
|
|
137
137
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
138
138
|
technicalNotes?: string | undefined;
|
|
139
139
|
epicOrFeature?: string | undefined;
|
|
@@ -141,13 +141,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
141
141
|
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
142
142
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
143
143
|
title: string;
|
|
144
|
-
priority: "High" | "Medium" | "Low";
|
|
145
144
|
userRole: string;
|
|
146
145
|
action: string;
|
|
147
146
|
benefit: string;
|
|
148
147
|
acceptanceCriteria: {
|
|
149
148
|
criterion: string;
|
|
150
149
|
}[];
|
|
150
|
+
priority: "High" | "Medium" | "Low";
|
|
151
151
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
152
152
|
technicalNotes?: string | undefined;
|
|
153
153
|
epicOrFeature?: string | undefined;
|
|
@@ -159,13 +159,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
159
159
|
onInputAvailable?: ((options: {
|
|
160
160
|
input: {
|
|
161
161
|
title: string;
|
|
162
|
-
priority: "High" | "Medium" | "Low";
|
|
163
162
|
userRole: string;
|
|
164
163
|
action: string;
|
|
165
164
|
benefit: string;
|
|
166
165
|
acceptanceCriteria: {
|
|
167
166
|
criterion: string;
|
|
168
167
|
}[];
|
|
168
|
+
priority: "High" | "Medium" | "Low";
|
|
169
169
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
170
170
|
technicalNotes?: string | undefined;
|
|
171
171
|
epicOrFeature?: string | undefined;
|
|
@@ -175,13 +175,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
175
175
|
toolCallId: string;
|
|
176
176
|
input: {
|
|
177
177
|
title: string;
|
|
178
|
-
priority: "High" | "Medium" | "Low";
|
|
179
178
|
userRole: string;
|
|
180
179
|
action: string;
|
|
181
180
|
benefit: string;
|
|
182
181
|
acceptanceCriteria: {
|
|
183
182
|
criterion: string;
|
|
184
183
|
}[];
|
|
184
|
+
priority: "High" | "Medium" | "Low";
|
|
185
185
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
186
186
|
technicalNotes?: string | undefined;
|
|
187
187
|
epicOrFeature?: string | undefined;
|
|
@@ -192,13 +192,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
192
192
|
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
193
193
|
execute: import("ai").ToolExecuteFunction<{
|
|
194
194
|
title: string;
|
|
195
|
-
priority: "High" | "Medium" | "Low";
|
|
196
195
|
userRole: string;
|
|
197
196
|
action: string;
|
|
198
197
|
benefit: string;
|
|
199
198
|
acceptanceCriteria: {
|
|
200
199
|
criterion: string;
|
|
201
200
|
}[];
|
|
201
|
+
priority: "High" | "Medium" | "Low";
|
|
202
202
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
203
203
|
technicalNotes?: string | undefined;
|
|
204
204
|
epicOrFeature?: string | undefined;
|
|
@@ -212,13 +212,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
212
212
|
inputExamples?: {
|
|
213
213
|
input: NoInfer<{
|
|
214
214
|
title: string;
|
|
215
|
-
priority: "High" | "Medium" | "Low";
|
|
216
215
|
userRole: string;
|
|
217
216
|
action: string;
|
|
218
217
|
benefit: string;
|
|
219
218
|
acceptanceCriteria: {
|
|
220
219
|
criterion: string;
|
|
221
220
|
}[];
|
|
221
|
+
priority: "High" | "Medium" | "Low";
|
|
222
222
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
223
223
|
technicalNotes?: string | undefined;
|
|
224
224
|
epicOrFeature?: string | undefined;
|
|
@@ -233,13 +233,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
233
233
|
} & {
|
|
234
234
|
execute: import("ai").ToolExecuteFunction<{
|
|
235
235
|
title: string;
|
|
236
|
-
priority: "High" | "Medium" | "Low";
|
|
237
236
|
userRole: string;
|
|
238
237
|
action: string;
|
|
239
238
|
benefit: string;
|
|
240
239
|
acceptanceCriteria: {
|
|
241
240
|
criterion: string;
|
|
242
241
|
}[];
|
|
242
|
+
priority: "High" | "Medium" | "Low";
|
|
243
243
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
244
244
|
technicalNotes?: string | undefined;
|
|
245
245
|
epicOrFeature?: string | undefined;
|
|
@@ -250,13 +250,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
250
250
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
251
251
|
inputSchema: import("ai").FlexibleSchema<{
|
|
252
252
|
title: string;
|
|
253
|
-
priority: "High" | "Medium" | "Low";
|
|
254
253
|
userRole: string;
|
|
255
254
|
action: string;
|
|
256
255
|
benefit: string;
|
|
257
256
|
acceptanceCriteria: {
|
|
258
257
|
criterion: string;
|
|
259
258
|
}[];
|
|
259
|
+
priority: "High" | "Medium" | "Low";
|
|
260
260
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
261
261
|
technicalNotes?: string | undefined;
|
|
262
262
|
epicOrFeature?: string | undefined;
|
|
@@ -264,13 +264,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
264
264
|
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
265
265
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
266
266
|
title: string;
|
|
267
|
-
priority: "High" | "Medium" | "Low";
|
|
268
267
|
userRole: string;
|
|
269
268
|
action: string;
|
|
270
269
|
benefit: string;
|
|
271
270
|
acceptanceCriteria: {
|
|
272
271
|
criterion: string;
|
|
273
272
|
}[];
|
|
273
|
+
priority: "High" | "Medium" | "Low";
|
|
274
274
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
275
275
|
technicalNotes?: string | undefined;
|
|
276
276
|
epicOrFeature?: string | undefined;
|
|
@@ -282,13 +282,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
282
282
|
onInputAvailable?: ((options: {
|
|
283
283
|
input: {
|
|
284
284
|
title: string;
|
|
285
|
-
priority: "High" | "Medium" | "Low";
|
|
286
285
|
userRole: string;
|
|
287
286
|
action: string;
|
|
288
287
|
benefit: string;
|
|
289
288
|
acceptanceCriteria: {
|
|
290
289
|
criterion: string;
|
|
291
290
|
}[];
|
|
291
|
+
priority: "High" | "Medium" | "Low";
|
|
292
292
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
293
293
|
technicalNotes?: string | undefined;
|
|
294
294
|
epicOrFeature?: string | undefined;
|
|
@@ -298,13 +298,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
298
298
|
toolCallId: string;
|
|
299
299
|
input: {
|
|
300
300
|
title: string;
|
|
301
|
-
priority: "High" | "Medium" | "Low";
|
|
302
301
|
userRole: string;
|
|
303
302
|
action: string;
|
|
304
303
|
benefit: string;
|
|
305
304
|
acceptanceCriteria: {
|
|
306
305
|
criterion: string;
|
|
307
306
|
}[];
|
|
307
|
+
priority: "High" | "Medium" | "Low";
|
|
308
308
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
309
309
|
technicalNotes?: string | undefined;
|
|
310
310
|
epicOrFeature?: string | undefined;
|
|
@@ -315,13 +315,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
315
315
|
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
316
316
|
execute: import("ai").ToolExecuteFunction<{
|
|
317
317
|
title: string;
|
|
318
|
-
priority: "High" | "Medium" | "Low";
|
|
319
318
|
userRole: string;
|
|
320
319
|
action: string;
|
|
321
320
|
benefit: string;
|
|
322
321
|
acceptanceCriteria: {
|
|
323
322
|
criterion: string;
|
|
324
323
|
}[];
|
|
324
|
+
priority: "High" | "Medium" | "Low";
|
|
325
325
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
326
326
|
technicalNotes?: string | undefined;
|
|
327
327
|
epicOrFeature?: string | undefined;
|
|
@@ -339,13 +339,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
339
339
|
} & {
|
|
340
340
|
execute: import("ai").ToolExecuteFunction<{
|
|
341
341
|
title: string;
|
|
342
|
-
priority: "High" | "Medium" | "Low";
|
|
343
342
|
userRole: string;
|
|
344
343
|
action: string;
|
|
345
344
|
benefit: string;
|
|
346
345
|
acceptanceCriteria: {
|
|
347
346
|
criterion: string;
|
|
348
347
|
}[];
|
|
348
|
+
priority: "High" | "Medium" | "Low";
|
|
349
349
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
350
350
|
technicalNotes?: string | undefined;
|
|
351
351
|
epicOrFeature?: string | undefined;
|
|
@@ -356,13 +356,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
356
356
|
metadata?: import("@ai-sdk/provider").JSONObject;
|
|
357
357
|
inputSchema: import("ai").FlexibleSchema<{
|
|
358
358
|
title: string;
|
|
359
|
-
priority: "High" | "Medium" | "Low";
|
|
360
359
|
userRole: string;
|
|
361
360
|
action: string;
|
|
362
361
|
benefit: string;
|
|
363
362
|
acceptanceCriteria: {
|
|
364
363
|
criterion: string;
|
|
365
364
|
}[];
|
|
365
|
+
priority: "High" | "Medium" | "Low";
|
|
366
366
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
367
367
|
technicalNotes?: string | undefined;
|
|
368
368
|
epicOrFeature?: string | undefined;
|
|
@@ -370,13 +370,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
370
370
|
contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
|
|
371
371
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
372
372
|
title: string;
|
|
373
|
-
priority: "High" | "Medium" | "Low";
|
|
374
373
|
userRole: string;
|
|
375
374
|
action: string;
|
|
376
375
|
benefit: string;
|
|
377
376
|
acceptanceCriteria: {
|
|
378
377
|
criterion: string;
|
|
379
378
|
}[];
|
|
379
|
+
priority: "High" | "Medium" | "Low";
|
|
380
380
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
381
381
|
technicalNotes?: string | undefined;
|
|
382
382
|
epicOrFeature?: string | undefined;
|
|
@@ -388,13 +388,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
388
388
|
onInputAvailable?: ((options: {
|
|
389
389
|
input: {
|
|
390
390
|
title: string;
|
|
391
|
-
priority: "High" | "Medium" | "Low";
|
|
392
391
|
userRole: string;
|
|
393
392
|
action: string;
|
|
394
393
|
benefit: string;
|
|
395
394
|
acceptanceCriteria: {
|
|
396
395
|
criterion: string;
|
|
397
396
|
}[];
|
|
397
|
+
priority: "High" | "Medium" | "Low";
|
|
398
398
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
399
399
|
technicalNotes?: string | undefined;
|
|
400
400
|
epicOrFeature?: string | undefined;
|
|
@@ -404,13 +404,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
404
404
|
toolCallId: string;
|
|
405
405
|
input: {
|
|
406
406
|
title: string;
|
|
407
|
-
priority: "High" | "Medium" | "Low";
|
|
408
407
|
userRole: string;
|
|
409
408
|
action: string;
|
|
410
409
|
benefit: string;
|
|
411
410
|
acceptanceCriteria: {
|
|
412
411
|
criterion: string;
|
|
413
412
|
}[];
|
|
413
|
+
priority: "High" | "Medium" | "Low";
|
|
414
414
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
415
415
|
technicalNotes?: string | undefined;
|
|
416
416
|
epicOrFeature?: string | undefined;
|
|
@@ -421,13 +421,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
421
421
|
outputSchema?: import("ai").FlexibleSchema<string> | undefined;
|
|
422
422
|
execute: import("ai").ToolExecuteFunction<{
|
|
423
423
|
title: string;
|
|
424
|
-
priority: "High" | "Medium" | "Low";
|
|
425
424
|
userRole: string;
|
|
426
425
|
action: string;
|
|
427
426
|
benefit: string;
|
|
428
427
|
acceptanceCriteria: {
|
|
429
428
|
criterion: string;
|
|
430
429
|
}[];
|
|
430
|
+
priority: "High" | "Medium" | "Low";
|
|
431
431
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
432
432
|
technicalNotes?: string | undefined;
|
|
433
433
|
epicOrFeature?: string | undefined;
|
|
@@ -445,13 +445,13 @@ export declare const user_story_formatter_tool: ({
|
|
|
445
445
|
} & {
|
|
446
446
|
execute: import("ai").ToolExecuteFunction<{
|
|
447
447
|
title: string;
|
|
448
|
-
priority: "High" | "Medium" | "Low";
|
|
449
448
|
userRole: string;
|
|
450
449
|
action: string;
|
|
451
450
|
benefit: string;
|
|
452
451
|
acceptanceCriteria: {
|
|
453
452
|
criterion: string;
|
|
454
453
|
}[];
|
|
454
|
+
priority: "High" | "Medium" | "Low";
|
|
455
455
|
storyPoints: "1" | "2" | "3" | "5" | "8" | "13";
|
|
456
456
|
technicalNotes?: string | undefined;
|
|
457
457
|
epicOrFeature?: string | undefined;
|
package/dist/lib/weather.d.ts
CHANGED
|
@@ -2,7 +2,10 @@ import { type UIToolInvocation } from 'ai';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const GetWeatherSchema: z.ZodObject<{
|
|
4
4
|
location: z.ZodString;
|
|
5
|
-
unit: z.ZodEnum<
|
|
5
|
+
unit: z.ZodEnum<{
|
|
6
|
+
C: "C";
|
|
7
|
+
F: "F";
|
|
8
|
+
}>;
|
|
6
9
|
temperature: z.ZodNumber;
|
|
7
10
|
condition: z.ZodString;
|
|
8
11
|
high: z.ZodNumber;
|
|
@@ -10,27 +13,7 @@ export declare const GetWeatherSchema: z.ZodObject<{
|
|
|
10
13
|
humidity: z.ZodNumber;
|
|
11
14
|
windKph: z.ZodNumber;
|
|
12
15
|
icon: z.ZodOptional<z.ZodString>;
|
|
13
|
-
},
|
|
14
|
-
high: number;
|
|
15
|
-
low: number;
|
|
16
|
-
location: string;
|
|
17
|
-
unit: "C" | "F";
|
|
18
|
-
temperature: number;
|
|
19
|
-
condition: string;
|
|
20
|
-
humidity: number;
|
|
21
|
-
windKph: number;
|
|
22
|
-
icon?: string | undefined;
|
|
23
|
-
}, {
|
|
24
|
-
high: number;
|
|
25
|
-
low: number;
|
|
26
|
-
location: string;
|
|
27
|
-
unit: "C" | "F";
|
|
28
|
-
temperature: number;
|
|
29
|
-
condition: string;
|
|
30
|
-
humidity: number;
|
|
31
|
-
windKph: number;
|
|
32
|
-
icon?: string | undefined;
|
|
33
|
-
}>;
|
|
16
|
+
}, z.core.$strip>;
|
|
34
17
|
export type GetWeatherResult = z.infer<typeof GetWeatherSchema>;
|
|
35
18
|
export declare const getWeatherTool: ({
|
|
36
19
|
title?: string;
|
|
@@ -62,12 +45,12 @@ export declare const getWeatherTool: ({
|
|
|
62
45
|
unit: "C" | "F";
|
|
63
46
|
};
|
|
64
47
|
output: NoInfer<{
|
|
65
|
-
high: number;
|
|
66
|
-
low: number;
|
|
67
48
|
location: string;
|
|
68
49
|
unit: "C" | "F";
|
|
69
50
|
temperature: number;
|
|
70
51
|
condition: string;
|
|
52
|
+
high: number;
|
|
53
|
+
low: number;
|
|
71
54
|
humidity: number;
|
|
72
55
|
windKph: number;
|
|
73
56
|
icon?: string | undefined;
|
|
@@ -75,12 +58,12 @@ export declare const getWeatherTool: ({
|
|
|
75
58
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
76
59
|
} & {
|
|
77
60
|
outputSchema?: import("ai").FlexibleSchema<{
|
|
78
|
-
high: number;
|
|
79
|
-
low: number;
|
|
80
61
|
location: string;
|
|
81
62
|
unit: "C" | "F";
|
|
82
63
|
temperature: number;
|
|
83
64
|
condition: string;
|
|
65
|
+
high: number;
|
|
66
|
+
low: number;
|
|
84
67
|
humidity: number;
|
|
85
68
|
windKph: number;
|
|
86
69
|
icon?: string | undefined;
|
|
@@ -89,12 +72,12 @@ export declare const getWeatherTool: ({
|
|
|
89
72
|
location: string;
|
|
90
73
|
unit: "C" | "F";
|
|
91
74
|
}, {
|
|
92
|
-
high: number;
|
|
93
|
-
low: number;
|
|
94
75
|
location: string;
|
|
95
76
|
unit: "C" | "F";
|
|
96
77
|
temperature: number;
|
|
97
78
|
condition: string;
|
|
79
|
+
high: number;
|
|
80
|
+
low: number;
|
|
98
81
|
humidity: number;
|
|
99
82
|
windKph: number;
|
|
100
83
|
icon?: string | undefined;
|
|
@@ -122,12 +105,12 @@ export declare const getWeatherTool: ({
|
|
|
122
105
|
location: string;
|
|
123
106
|
unit: "C" | "F";
|
|
124
107
|
}, {
|
|
125
|
-
high: number;
|
|
126
|
-
low: number;
|
|
127
108
|
location: string;
|
|
128
109
|
unit: "C" | "F";
|
|
129
110
|
temperature: number;
|
|
130
111
|
condition: string;
|
|
112
|
+
high: number;
|
|
113
|
+
low: number;
|
|
131
114
|
humidity: number;
|
|
132
115
|
windKph: number;
|
|
133
116
|
icon?: string | undefined;
|
|
@@ -162,12 +145,12 @@ export declare const getWeatherTool: ({
|
|
|
162
145
|
unit: "C" | "F";
|
|
163
146
|
};
|
|
164
147
|
output: NoInfer<{
|
|
165
|
-
high: number;
|
|
166
|
-
low: number;
|
|
167
148
|
location: string;
|
|
168
149
|
unit: "C" | "F";
|
|
169
150
|
temperature: number;
|
|
170
151
|
condition: string;
|
|
152
|
+
high: number;
|
|
153
|
+
low: number;
|
|
171
154
|
humidity: number;
|
|
172
155
|
windKph: number;
|
|
173
156
|
icon?: string | undefined;
|
|
@@ -175,12 +158,12 @@ export declare const getWeatherTool: ({
|
|
|
175
158
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
176
159
|
} & {
|
|
177
160
|
outputSchema?: import("ai").FlexibleSchema<{
|
|
178
|
-
high: number;
|
|
179
|
-
low: number;
|
|
180
161
|
location: string;
|
|
181
162
|
unit: "C" | "F";
|
|
182
163
|
temperature: number;
|
|
183
164
|
condition: string;
|
|
165
|
+
high: number;
|
|
166
|
+
low: number;
|
|
184
167
|
humidity: number;
|
|
185
168
|
windKph: number;
|
|
186
169
|
icon?: string | undefined;
|
|
@@ -189,12 +172,12 @@ export declare const getWeatherTool: ({
|
|
|
189
172
|
location: string;
|
|
190
173
|
unit: "C" | "F";
|
|
191
174
|
}, {
|
|
192
|
-
high: number;
|
|
193
|
-
low: number;
|
|
194
175
|
location: string;
|
|
195
176
|
unit: "C" | "F";
|
|
196
177
|
temperature: number;
|
|
197
178
|
condition: string;
|
|
179
|
+
high: number;
|
|
180
|
+
low: number;
|
|
198
181
|
humidity: number;
|
|
199
182
|
windKph: number;
|
|
200
183
|
icon?: string | undefined;
|
|
@@ -222,12 +205,12 @@ export declare const getWeatherTool: ({
|
|
|
222
205
|
location: string;
|
|
223
206
|
unit: "C" | "F";
|
|
224
207
|
}, {
|
|
225
|
-
high: number;
|
|
226
|
-
low: number;
|
|
227
208
|
location: string;
|
|
228
209
|
unit: "C" | "F";
|
|
229
210
|
temperature: number;
|
|
230
211
|
condition: string;
|
|
212
|
+
high: number;
|
|
213
|
+
low: number;
|
|
231
214
|
humidity: number;
|
|
232
215
|
windKph: number;
|
|
233
216
|
icon?: string | undefined;
|
|
@@ -262,12 +245,12 @@ export declare const getWeatherTool: ({
|
|
|
262
245
|
unit: "C" | "F";
|
|
263
246
|
};
|
|
264
247
|
output: NoInfer<{
|
|
265
|
-
high: number;
|
|
266
|
-
low: number;
|
|
267
248
|
location: string;
|
|
268
249
|
unit: "C" | "F";
|
|
269
250
|
temperature: number;
|
|
270
251
|
condition: string;
|
|
252
|
+
high: number;
|
|
253
|
+
low: number;
|
|
271
254
|
humidity: number;
|
|
272
255
|
windKph: number;
|
|
273
256
|
icon?: string | undefined;
|
|
@@ -275,12 +258,12 @@ export declare const getWeatherTool: ({
|
|
|
275
258
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
276
259
|
} & {
|
|
277
260
|
outputSchema?: import("ai").FlexibleSchema<{
|
|
278
|
-
high: number;
|
|
279
|
-
low: number;
|
|
280
261
|
location: string;
|
|
281
262
|
unit: "C" | "F";
|
|
282
263
|
temperature: number;
|
|
283
264
|
condition: string;
|
|
265
|
+
high: number;
|
|
266
|
+
low: number;
|
|
284
267
|
humidity: number;
|
|
285
268
|
windKph: number;
|
|
286
269
|
icon?: string | undefined;
|
|
@@ -289,12 +272,12 @@ export declare const getWeatherTool: ({
|
|
|
289
272
|
location: string;
|
|
290
273
|
unit: "C" | "F";
|
|
291
274
|
}, {
|
|
292
|
-
high: number;
|
|
293
|
-
low: number;
|
|
294
275
|
location: string;
|
|
295
276
|
unit: "C" | "F";
|
|
296
277
|
temperature: number;
|
|
297
278
|
condition: string;
|
|
279
|
+
high: number;
|
|
280
|
+
low: number;
|
|
298
281
|
humidity: number;
|
|
299
282
|
windKph: number;
|
|
300
283
|
icon?: string | undefined;
|
|
@@ -314,12 +297,12 @@ export declare const getWeatherTool: ({
|
|
|
314
297
|
location: string;
|
|
315
298
|
unit: "C" | "F";
|
|
316
299
|
}, {
|
|
317
|
-
high: number;
|
|
318
|
-
low: number;
|
|
319
300
|
location: string;
|
|
320
301
|
unit: "C" | "F";
|
|
321
302
|
temperature: number;
|
|
322
303
|
condition: string;
|
|
304
|
+
high: number;
|
|
305
|
+
low: number;
|
|
323
306
|
humidity: number;
|
|
324
307
|
windKph: number;
|
|
325
308
|
icon?: string | undefined;
|
|
@@ -354,12 +337,12 @@ export declare const getWeatherTool: ({
|
|
|
354
337
|
unit: "C" | "F";
|
|
355
338
|
};
|
|
356
339
|
output: NoInfer<{
|
|
357
|
-
high: number;
|
|
358
|
-
low: number;
|
|
359
340
|
location: string;
|
|
360
341
|
unit: "C" | "F";
|
|
361
342
|
temperature: number;
|
|
362
343
|
condition: string;
|
|
344
|
+
high: number;
|
|
345
|
+
low: number;
|
|
363
346
|
humidity: number;
|
|
364
347
|
windKph: number;
|
|
365
348
|
icon?: string | undefined;
|
|
@@ -367,12 +350,12 @@ export declare const getWeatherTool: ({
|
|
|
367
350
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
368
351
|
} & {
|
|
369
352
|
outputSchema?: import("ai").FlexibleSchema<{
|
|
370
|
-
high: number;
|
|
371
|
-
low: number;
|
|
372
353
|
location: string;
|
|
373
354
|
unit: "C" | "F";
|
|
374
355
|
temperature: number;
|
|
375
356
|
condition: string;
|
|
357
|
+
high: number;
|
|
358
|
+
low: number;
|
|
376
359
|
humidity: number;
|
|
377
360
|
windKph: number;
|
|
378
361
|
icon?: string | undefined;
|
|
@@ -381,12 +364,12 @@ export declare const getWeatherTool: ({
|
|
|
381
364
|
location: string;
|
|
382
365
|
unit: "C" | "F";
|
|
383
366
|
}, {
|
|
384
|
-
high: number;
|
|
385
|
-
low: number;
|
|
386
367
|
location: string;
|
|
387
368
|
unit: "C" | "F";
|
|
388
369
|
temperature: number;
|
|
389
370
|
condition: string;
|
|
371
|
+
high: number;
|
|
372
|
+
low: number;
|
|
390
373
|
humidity: number;
|
|
391
374
|
windKph: number;
|
|
392
375
|
icon?: string | undefined;
|
|
@@ -406,12 +389,12 @@ export declare const getWeatherTool: ({
|
|
|
406
389
|
location: string;
|
|
407
390
|
unit: "C" | "F";
|
|
408
391
|
}, {
|
|
409
|
-
high: number;
|
|
410
|
-
low: number;
|
|
411
392
|
location: string;
|
|
412
393
|
unit: "C" | "F";
|
|
413
394
|
temperature: number;
|
|
414
395
|
condition: string;
|
|
396
|
+
high: number;
|
|
397
|
+
low: number;
|
|
415
398
|
humidity: number;
|
|
416
399
|
windKph: number;
|
|
417
400
|
icon?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"weather.d.ts","sourceRoot":"","sources":["../../src/lib/weather.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAQ,MAAM,IAAI,CAAC;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"weather.d.ts","sourceRoot":"","sources":["../../src/lib/weather.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAQ,MAAM,IAAI,CAAC;AACjD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;iBAU3B,CAAC;AAGH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDzB,CAAC;AAwHH,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,cAAc,CAAC,CAAC"}
|