@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.
@@ -3,18 +3,18 @@ export declare const web_search_tool: ({
3
3
  providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
4
4
  metadata?: import("@ai-sdk/provider").JSONObject;
5
5
  inputSchema: import("ai").FlexibleSchema<{
6
- time: "d" | "w" | "m" | "y";
7
6
  query: string;
8
7
  source: "text" | "news" | "images";
9
8
  locale: string;
9
+ time: "d" | "w" | "m" | "y";
10
10
  maxResults: number;
11
11
  }>;
12
12
  contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
13
13
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
14
- time: "d" | "w" | "m" | "y";
15
14
  query: string;
16
15
  source: "text" | "news" | "images";
17
16
  locale: string;
17
+ time: "d" | "w" | "m" | "y";
18
18
  maxResults: number;
19
19
  }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
20
20
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -23,20 +23,20 @@ export declare const web_search_tool: ({
23
23
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
24
24
  onInputAvailable?: ((options: {
25
25
  input: {
26
- time: "d" | "w" | "m" | "y";
27
26
  query: string;
28
27
  source: "text" | "news" | "images";
29
28
  locale: string;
29
+ time: "d" | "w" | "m" | "y";
30
30
  maxResults: number;
31
31
  };
32
32
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
33
33
  toModelOutput?: ((options: {
34
34
  toolCallId: string;
35
35
  input: {
36
- time: "d" | "w" | "m" | "y";
37
36
  query: string;
38
37
  source: "text" | "news" | "images";
39
38
  locale: string;
39
+ time: "d" | "w" | "m" | "y";
40
40
  maxResults: number;
41
41
  };
42
42
  output: NoInfer<{
@@ -110,10 +110,10 @@ export declare const web_search_tool: ({
110
110
  readonly vqd: string;
111
111
  }> | undefined;
112
112
  execute: import("ai").ToolExecuteFunction<{
113
- time: "d" | "w" | "m" | "y";
114
113
  query: string;
115
114
  source: "text" | "news" | "images";
116
115
  locale: string;
116
+ time: "d" | "w" | "m" | "y";
117
117
  maxResults: number;
118
118
  }, {
119
119
  readonly items: {
@@ -157,10 +157,10 @@ export declare const web_search_tool: ({
157
157
  strict?: boolean;
158
158
  inputExamples?: {
159
159
  input: NoInfer<{
160
- time: "d" | "w" | "m" | "y";
161
160
  query: string;
162
161
  source: "text" | "news" | "images";
163
162
  locale: string;
163
+ time: "d" | "w" | "m" | "y";
164
164
  maxResults: number;
165
165
  }>;
166
166
  }[] | undefined;
@@ -172,10 +172,10 @@ export declare const web_search_tool: ({
172
172
  type?: undefined | "function";
173
173
  } & {
174
174
  execute: import("ai").ToolExecuteFunction<{
175
- time: "d" | "w" | "m" | "y";
176
175
  query: string;
177
176
  source: "text" | "news" | "images";
178
177
  locale: string;
178
+ time: "d" | "w" | "m" | "y";
179
179
  maxResults: number;
180
180
  }, {
181
181
  readonly items: {
@@ -216,18 +216,18 @@ export declare const web_search_tool: ({
216
216
  providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
217
217
  metadata?: import("@ai-sdk/provider").JSONObject;
218
218
  inputSchema: import("ai").FlexibleSchema<{
219
- time: "d" | "w" | "m" | "y";
220
219
  query: string;
221
220
  source: "text" | "news" | "images";
222
221
  locale: string;
222
+ time: "d" | "w" | "m" | "y";
223
223
  maxResults: number;
224
224
  }>;
225
225
  contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
226
226
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
227
- time: "d" | "w" | "m" | "y";
228
227
  query: string;
229
228
  source: "text" | "news" | "images";
230
229
  locale: string;
230
+ time: "d" | "w" | "m" | "y";
231
231
  maxResults: number;
232
232
  }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
233
233
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -236,20 +236,20 @@ export declare const web_search_tool: ({
236
236
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
237
237
  onInputAvailable?: ((options: {
238
238
  input: {
239
- time: "d" | "w" | "m" | "y";
240
239
  query: string;
241
240
  source: "text" | "news" | "images";
242
241
  locale: string;
242
+ time: "d" | "w" | "m" | "y";
243
243
  maxResults: number;
244
244
  };
245
245
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
246
246
  toModelOutput?: ((options: {
247
247
  toolCallId: string;
248
248
  input: {
249
- time: "d" | "w" | "m" | "y";
250
249
  query: string;
251
250
  source: "text" | "news" | "images";
252
251
  locale: string;
252
+ time: "d" | "w" | "m" | "y";
253
253
  maxResults: number;
254
254
  };
255
255
  output: NoInfer<{
@@ -323,10 +323,10 @@ export declare const web_search_tool: ({
323
323
  readonly vqd: string;
324
324
  }> | undefined;
325
325
  execute: import("ai").ToolExecuteFunction<{
326
- time: "d" | "w" | "m" | "y";
327
326
  query: string;
328
327
  source: "text" | "news" | "images";
329
328
  locale: string;
329
+ time: "d" | "w" | "m" | "y";
330
330
  maxResults: number;
331
331
  }, {
332
332
  readonly items: {
@@ -370,10 +370,10 @@ export declare const web_search_tool: ({
370
370
  strict?: boolean;
371
371
  inputExamples?: {
372
372
  input: NoInfer<{
373
- time: "d" | "w" | "m" | "y";
374
373
  query: string;
375
374
  source: "text" | "news" | "images";
376
375
  locale: string;
376
+ time: "d" | "w" | "m" | "y";
377
377
  maxResults: number;
378
378
  }>;
379
379
  }[] | undefined;
@@ -385,10 +385,10 @@ export declare const web_search_tool: ({
385
385
  type: "dynamic";
386
386
  } & {
387
387
  execute: import("ai").ToolExecuteFunction<{
388
- time: "d" | "w" | "m" | "y";
389
388
  query: string;
390
389
  source: "text" | "news" | "images";
391
390
  locale: string;
391
+ time: "d" | "w" | "m" | "y";
392
392
  maxResults: number;
393
393
  }, {
394
394
  readonly items: {
@@ -429,18 +429,18 @@ export declare const web_search_tool: ({
429
429
  providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
430
430
  metadata?: import("@ai-sdk/provider").JSONObject;
431
431
  inputSchema: import("ai").FlexibleSchema<{
432
- time: "d" | "w" | "m" | "y";
433
432
  query: string;
434
433
  source: "text" | "news" | "images";
435
434
  locale: string;
435
+ time: "d" | "w" | "m" | "y";
436
436
  maxResults: number;
437
437
  }>;
438
438
  contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
439
439
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
440
- time: "d" | "w" | "m" | "y";
441
440
  query: string;
442
441
  source: "text" | "news" | "images";
443
442
  locale: string;
443
+ time: "d" | "w" | "m" | "y";
444
444
  maxResults: number;
445
445
  }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
446
446
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -449,20 +449,20 @@ export declare const web_search_tool: ({
449
449
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
450
450
  onInputAvailable?: ((options: {
451
451
  input: {
452
- time: "d" | "w" | "m" | "y";
453
452
  query: string;
454
453
  source: "text" | "news" | "images";
455
454
  locale: string;
455
+ time: "d" | "w" | "m" | "y";
456
456
  maxResults: number;
457
457
  };
458
458
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
459
459
  toModelOutput?: ((options: {
460
460
  toolCallId: string;
461
461
  input: {
462
- time: "d" | "w" | "m" | "y";
463
462
  query: string;
464
463
  source: "text" | "news" | "images";
465
464
  locale: string;
465
+ time: "d" | "w" | "m" | "y";
466
466
  maxResults: number;
467
467
  };
468
468
  output: NoInfer<{
@@ -536,10 +536,10 @@ export declare const web_search_tool: ({
536
536
  readonly vqd: string;
537
537
  }> | undefined;
538
538
  execute: import("ai").ToolExecuteFunction<{
539
- time: "d" | "w" | "m" | "y";
540
539
  query: string;
541
540
  source: "text" | "news" | "images";
542
541
  locale: string;
542
+ time: "d" | "w" | "m" | "y";
543
543
  maxResults: number;
544
544
  }, {
545
545
  readonly items: {
@@ -587,10 +587,10 @@ export declare const web_search_tool: ({
587
587
  supportsDeferredResults?: never;
588
588
  } & {
589
589
  execute: import("ai").ToolExecuteFunction<{
590
- time: "d" | "w" | "m" | "y";
591
590
  query: string;
592
591
  source: "text" | "news" | "images";
593
592
  locale: string;
593
+ time: "d" | "w" | "m" | "y";
594
594
  maxResults: number;
595
595
  }, {
596
596
  readonly items: {
@@ -631,18 +631,18 @@ export declare const web_search_tool: ({
631
631
  providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
632
632
  metadata?: import("@ai-sdk/provider").JSONObject;
633
633
  inputSchema: import("ai").FlexibleSchema<{
634
- time: "d" | "w" | "m" | "y";
635
634
  query: string;
636
635
  source: "text" | "news" | "images";
637
636
  locale: string;
637
+ time: "d" | "w" | "m" | "y";
638
638
  maxResults: number;
639
639
  }>;
640
640
  contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
641
641
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
642
- time: "d" | "w" | "m" | "y";
643
642
  query: string;
644
643
  source: "text" | "news" | "images";
645
644
  locale: string;
645
+ time: "d" | "w" | "m" | "y";
646
646
  maxResults: number;
647
647
  }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
648
648
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -651,20 +651,20 @@ export declare const web_search_tool: ({
651
651
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
652
652
  onInputAvailable?: ((options: {
653
653
  input: {
654
- time: "d" | "w" | "m" | "y";
655
654
  query: string;
656
655
  source: "text" | "news" | "images";
657
656
  locale: string;
657
+ time: "d" | "w" | "m" | "y";
658
658
  maxResults: number;
659
659
  };
660
660
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
661
661
  toModelOutput?: ((options: {
662
662
  toolCallId: string;
663
663
  input: {
664
- time: "d" | "w" | "m" | "y";
665
664
  query: string;
666
665
  source: "text" | "news" | "images";
667
666
  locale: string;
667
+ time: "d" | "w" | "m" | "y";
668
668
  maxResults: number;
669
669
  };
670
670
  output: NoInfer<{
@@ -738,10 +738,10 @@ export declare const web_search_tool: ({
738
738
  readonly vqd: string;
739
739
  }> | undefined;
740
740
  execute: import("ai").ToolExecuteFunction<{
741
- time: "d" | "w" | "m" | "y";
742
741
  query: string;
743
742
  source: "text" | "news" | "images";
744
743
  locale: string;
744
+ time: "d" | "w" | "m" | "y";
745
745
  maxResults: number;
746
746
  }, {
747
747
  readonly items: {
@@ -789,10 +789,10 @@ export declare const web_search_tool: ({
789
789
  supportsDeferredResults?: boolean;
790
790
  } & {
791
791
  execute: import("ai").ToolExecuteFunction<{
792
- time: "d" | "w" | "m" | "y";
793
792
  query: string;
794
793
  source: "text" | "news" | "images";
795
794
  locale: string;
795
+ time: "d" | "w" | "m" | "y";
796
796
  maxResults: number;
797
797
  }, {
798
798
  readonly items: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepagents/toolbox",
3
- "version": "5.0.0",
3
+ "version": "6.1.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,15 +38,15 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "ai": "^7.0.20",
41
+ "ai": "^7.0.30",
42
42
  "duck-duck-scrape": "^2.2.7",
43
- "lodash-es": "^4.17.21",
44
- "nano-spawn": "^2.0.0",
45
- "zod": "^3.25.76 || ^4.0.0",
43
+ "lodash-es": "^4.18.1",
44
+ "nano-spawn": "^2.1.0",
45
+ "zod": "^4.4.3",
46
46
  "fast-glob": "^3.3.3",
47
- "@deepagents/retrieval": "5.0.0"
47
+ "@deepagents/retrieval": "6.1.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@types/debug": "^4.1.12"
50
+ "@types/debug": "^4.1.13"
51
51
  }
52
52
  }