@deepagents/toolbox 7.9.0 → 7.10.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.
@@ -5,17 +5,17 @@ export declare const web_search_tool: ({
5
5
  metadata?: import("@ai-sdk/provider").JSONObject;
6
6
  inputSchema: import("ai").FlexibleSchema<{
7
7
  query: string;
8
- source: "text" | "news" | "images";
8
+ source: "images" | "news" | "text";
9
9
  locale: string;
10
- time: "d" | "w" | "m" | "y";
10
+ time: "d" | "m" | "w" | "y";
11
11
  maxResults: number;
12
12
  }>;
13
13
  contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
14
14
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
15
15
  query: string;
16
- source: "text" | "news" | "images";
16
+ source: "images" | "news" | "text";
17
17
  locale: string;
18
- time: "d" | "w" | "m" | "y";
18
+ time: "d" | "m" | "w" | "y";
19
19
  maxResults: number;
20
20
  }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
21
21
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -25,9 +25,9 @@ export declare const web_search_tool: ({
25
25
  onInputAvailable?: ((options: {
26
26
  input: {
27
27
  query: string;
28
- source: "text" | "news" | "images";
28
+ source: "images" | "news" | "text";
29
29
  locale: string;
30
- time: "d" | "w" | "m" | "y";
30
+ time: "d" | "m" | "w" | "y";
31
31
  maxResults: number;
32
32
  };
33
33
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -35,9 +35,9 @@ export declare const web_search_tool: ({
35
35
  toolCallId: string;
36
36
  input: {
37
37
  query: string;
38
- source: "text" | "news" | "images";
38
+ source: "images" | "news" | "text";
39
39
  locale: string;
40
- time: "d" | "w" | "m" | "y";
40
+ time: "d" | "m" | "w" | "y";
41
41
  maxResults: number;
42
42
  };
43
43
  output: NoInfer<{
@@ -112,9 +112,9 @@ export declare const web_search_tool: ({
112
112
  }> | undefined;
113
113
  execute: import("ai").ToolExecuteFunction<{
114
114
  query: string;
115
- source: "text" | "news" | "images";
115
+ source: "images" | "news" | "text";
116
116
  locale: string;
117
- time: "d" | "w" | "m" | "y";
117
+ time: "d" | "m" | "w" | "y";
118
118
  maxResults: number;
119
119
  }, {
120
120
  readonly items: {
@@ -159,9 +159,9 @@ export declare const web_search_tool: ({
159
159
  inputExamples?: {
160
160
  input: NoInfer<{
161
161
  query: string;
162
- source: "text" | "news" | "images";
162
+ source: "images" | "news" | "text";
163
163
  locale: string;
164
- time: "d" | "w" | "m" | "y";
164
+ time: "d" | "m" | "w" | "y";
165
165
  maxResults: number;
166
166
  }>;
167
167
  }[] | undefined;
@@ -170,13 +170,13 @@ export declare const web_search_tool: ({
170
170
  args?: never;
171
171
  supportsDeferredResults?: never;
172
172
  } & {
173
- type?: undefined | "function";
173
+ type?: undefined | 'function';
174
174
  } & {
175
175
  execute: import("ai").ToolExecuteFunction<{
176
176
  query: string;
177
- source: "text" | "news" | "images";
177
+ source: "images" | "news" | "text";
178
178
  locale: string;
179
- time: "d" | "w" | "m" | "y";
179
+ time: "d" | "m" | "w" | "y";
180
180
  maxResults: number;
181
181
  }, {
182
182
  readonly items: {
@@ -219,17 +219,17 @@ export declare const web_search_tool: ({
219
219
  metadata?: import("@ai-sdk/provider").JSONObject;
220
220
  inputSchema: import("ai").FlexibleSchema<{
221
221
  query: string;
222
- source: "text" | "news" | "images";
222
+ source: "images" | "news" | "text";
223
223
  locale: string;
224
- time: "d" | "w" | "m" | "y";
224
+ time: "d" | "m" | "w" | "y";
225
225
  maxResults: number;
226
226
  }>;
227
227
  contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
228
228
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
229
229
  query: string;
230
- source: "text" | "news" | "images";
230
+ source: "images" | "news" | "text";
231
231
  locale: string;
232
- time: "d" | "w" | "m" | "y";
232
+ time: "d" | "m" | "w" | "y";
233
233
  maxResults: number;
234
234
  }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
235
235
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -239,9 +239,9 @@ export declare const web_search_tool: ({
239
239
  onInputAvailable?: ((options: {
240
240
  input: {
241
241
  query: string;
242
- source: "text" | "news" | "images";
242
+ source: "images" | "news" | "text";
243
243
  locale: string;
244
- time: "d" | "w" | "m" | "y";
244
+ time: "d" | "m" | "w" | "y";
245
245
  maxResults: number;
246
246
  };
247
247
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -249,9 +249,9 @@ export declare const web_search_tool: ({
249
249
  toolCallId: string;
250
250
  input: {
251
251
  query: string;
252
- source: "text" | "news" | "images";
252
+ source: "images" | "news" | "text";
253
253
  locale: string;
254
- time: "d" | "w" | "m" | "y";
254
+ time: "d" | "m" | "w" | "y";
255
255
  maxResults: number;
256
256
  };
257
257
  output: NoInfer<{
@@ -326,9 +326,9 @@ export declare const web_search_tool: ({
326
326
  }> | undefined;
327
327
  execute: import("ai").ToolExecuteFunction<{
328
328
  query: string;
329
- source: "text" | "news" | "images";
329
+ source: "images" | "news" | "text";
330
330
  locale: string;
331
- time: "d" | "w" | "m" | "y";
331
+ time: "d" | "m" | "w" | "y";
332
332
  maxResults: number;
333
333
  }, {
334
334
  readonly items: {
@@ -373,9 +373,9 @@ export declare const web_search_tool: ({
373
373
  inputExamples?: {
374
374
  input: NoInfer<{
375
375
  query: string;
376
- source: "text" | "news" | "images";
376
+ source: "images" | "news" | "text";
377
377
  locale: string;
378
- time: "d" | "w" | "m" | "y";
378
+ time: "d" | "m" | "w" | "y";
379
379
  maxResults: number;
380
380
  }>;
381
381
  }[] | undefined;
@@ -384,13 +384,13 @@ export declare const web_search_tool: ({
384
384
  args?: never;
385
385
  supportsDeferredResults?: never;
386
386
  } & {
387
- type: "dynamic";
387
+ type: 'dynamic';
388
388
  } & {
389
389
  execute: import("ai").ToolExecuteFunction<{
390
390
  query: string;
391
- source: "text" | "news" | "images";
391
+ source: "images" | "news" | "text";
392
392
  locale: string;
393
- time: "d" | "w" | "m" | "y";
393
+ time: "d" | "m" | "w" | "y";
394
394
  maxResults: number;
395
395
  }, {
396
396
  readonly items: {
@@ -433,17 +433,17 @@ export declare const web_search_tool: ({
433
433
  metadata?: import("@ai-sdk/provider").JSONObject;
434
434
  inputSchema: import("ai").FlexibleSchema<{
435
435
  query: string;
436
- source: "text" | "news" | "images";
436
+ source: "images" | "news" | "text";
437
437
  locale: string;
438
- time: "d" | "w" | "m" | "y";
438
+ time: "d" | "m" | "w" | "y";
439
439
  maxResults: number;
440
440
  }>;
441
441
  contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
442
442
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
443
443
  query: string;
444
- source: "text" | "news" | "images";
444
+ source: "images" | "news" | "text";
445
445
  locale: string;
446
- time: "d" | "w" | "m" | "y";
446
+ time: "d" | "m" | "w" | "y";
447
447
  maxResults: number;
448
448
  }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
449
449
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -453,9 +453,9 @@ export declare const web_search_tool: ({
453
453
  onInputAvailable?: ((options: {
454
454
  input: {
455
455
  query: string;
456
- source: "text" | "news" | "images";
456
+ source: "images" | "news" | "text";
457
457
  locale: string;
458
- time: "d" | "w" | "m" | "y";
458
+ time: "d" | "m" | "w" | "y";
459
459
  maxResults: number;
460
460
  };
461
461
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -463,9 +463,9 @@ export declare const web_search_tool: ({
463
463
  toolCallId: string;
464
464
  input: {
465
465
  query: string;
466
- source: "text" | "news" | "images";
466
+ source: "images" | "news" | "text";
467
467
  locale: string;
468
- time: "d" | "w" | "m" | "y";
468
+ time: "d" | "m" | "w" | "y";
469
469
  maxResults: number;
470
470
  };
471
471
  output: NoInfer<{
@@ -540,9 +540,9 @@ export declare const web_search_tool: ({
540
540
  }> | undefined;
541
541
  execute: import("ai").ToolExecuteFunction<{
542
542
  query: string;
543
- source: "text" | "news" | "images";
543
+ source: "images" | "news" | "text";
544
544
  locale: string;
545
- time: "d" | "w" | "m" | "y";
545
+ time: "d" | "m" | "w" | "y";
546
546
  maxResults: number;
547
547
  }, {
548
548
  readonly items: {
@@ -579,7 +579,7 @@ export declare const web_search_tool: ({
579
579
  readonly vqd: string;
580
580
  }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
581
581
  } & {
582
- type: "provider";
582
+ type: 'provider';
583
583
  id: `${string}.${string}`;
584
584
  args: Record<string, unknown>;
585
585
  description?: never;
@@ -591,9 +591,9 @@ export declare const web_search_tool: ({
591
591
  } & {
592
592
  execute: import("ai").ToolExecuteFunction<{
593
593
  query: string;
594
- source: "text" | "news" | "images";
594
+ source: "images" | "news" | "text";
595
595
  locale: string;
596
- time: "d" | "w" | "m" | "y";
596
+ time: "d" | "m" | "w" | "y";
597
597
  maxResults: number;
598
598
  }, {
599
599
  readonly items: {
@@ -636,17 +636,17 @@ export declare const web_search_tool: ({
636
636
  metadata?: import("@ai-sdk/provider").JSONObject;
637
637
  inputSchema: import("ai").FlexibleSchema<{
638
638
  query: string;
639
- source: "text" | "news" | "images";
639
+ source: "images" | "news" | "text";
640
640
  locale: string;
641
- time: "d" | "w" | "m" | "y";
641
+ time: "d" | "m" | "w" | "y";
642
642
  maxResults: number;
643
643
  }>;
644
644
  contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
645
645
  needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
646
646
  query: string;
647
- source: "text" | "news" | "images";
647
+ source: "images" | "news" | "text";
648
648
  locale: string;
649
- time: "d" | "w" | "m" | "y";
649
+ time: "d" | "m" | "w" | "y";
650
650
  maxResults: number;
651
651
  }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
652
652
  onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -656,9 +656,9 @@ export declare const web_search_tool: ({
656
656
  onInputAvailable?: ((options: {
657
657
  input: {
658
658
  query: string;
659
- source: "text" | "news" | "images";
659
+ source: "images" | "news" | "text";
660
660
  locale: string;
661
- time: "d" | "w" | "m" | "y";
661
+ time: "d" | "m" | "w" | "y";
662
662
  maxResults: number;
663
663
  };
664
664
  } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
@@ -666,9 +666,9 @@ export declare const web_search_tool: ({
666
666
  toolCallId: string;
667
667
  input: {
668
668
  query: string;
669
- source: "text" | "news" | "images";
669
+ source: "images" | "news" | "text";
670
670
  locale: string;
671
- time: "d" | "w" | "m" | "y";
671
+ time: "d" | "m" | "w" | "y";
672
672
  maxResults: number;
673
673
  };
674
674
  output: NoInfer<{
@@ -743,9 +743,9 @@ export declare const web_search_tool: ({
743
743
  }> | undefined;
744
744
  execute: import("ai").ToolExecuteFunction<{
745
745
  query: string;
746
- source: "text" | "news" | "images";
746
+ source: "images" | "news" | "text";
747
747
  locale: string;
748
- time: "d" | "w" | "m" | "y";
748
+ time: "d" | "m" | "w" | "y";
749
749
  maxResults: number;
750
750
  }, {
751
751
  readonly items: {
@@ -782,7 +782,7 @@ export declare const web_search_tool: ({
782
782
  readonly vqd: string;
783
783
  }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
784
784
  } & {
785
- type: "provider";
785
+ type: 'provider';
786
786
  id: `${string}.${string}`;
787
787
  args: Record<string, unknown>;
788
788
  description?: never;
@@ -794,9 +794,9 @@ export declare const web_search_tool: ({
794
794
  } & {
795
795
  execute: import("ai").ToolExecuteFunction<{
796
796
  query: string;
797
- source: "text" | "news" | "images";
797
+ source: "images" | "news" | "text";
798
798
  locale: string;
799
- time: "d" | "w" | "m" | "y";
799
+ time: "d" | "m" | "w" | "y";
800
800
  maxResults: number;
801
801
  }, {
802
802
  readonly items: {
@@ -1 +1 @@
1
- {"version":3,"file":"web-search.d.ts","sourceRoot":"","sources":["../../src/lib/web-search.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepagents/toolbox",
3
- "version": "7.9.0",
3
+ "version": "7.10.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@ai-sdk/provider": "^4.0.37",
43
43
  "@ai-sdk/provider-utils": "^5.0.76",
44
- "@deepagents/retrieval": "7.9.0",
44
+ "@deepagents/retrieval": "7.10.1",
45
45
  "@zukhruf/docker": "^0.8.41",
46
46
  "ai": "^7.0.166",
47
47
  "duck-duck-scrape": "^2.2.7",