@vellumai/plugin-api 0.12.2-dev.202609211618.b1a8976 → 0.12.2-dev.202609211820.22f71b0
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/index.d.ts +60 -58
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -23524,11 +23524,59 @@ export declare interface ThinkingContent {
|
|
|
23524
23524
|
*/
|
|
23525
23525
|
export declare function throwIfCancelled(context: CancellableToolContext): void;
|
|
23526
23526
|
|
|
23527
|
-
|
|
23528
|
-
|
|
23529
|
-
|
|
23530
|
-
|
|
23531
|
-
|
|
23527
|
+
declare type ToolActivityMetadata = z.infer<typeof ToolActivityMetadataSchema>;
|
|
23528
|
+
|
|
23529
|
+
declare const ToolActivityMetadataSchema: z.ZodObject<{
|
|
23530
|
+
webSearch: z.ZodOptional<z.ZodObject<{
|
|
23531
|
+
query: z.ZodString;
|
|
23532
|
+
provider: z.ZodEnum<{
|
|
23533
|
+
"anthropic-native": "anthropic-native";
|
|
23534
|
+
brave: "brave";
|
|
23535
|
+
perplexity: "perplexity";
|
|
23536
|
+
tavily: "tavily";
|
|
23537
|
+
keenable: "keenable";
|
|
23538
|
+
firecrawl: "firecrawl";
|
|
23539
|
+
fastcrw: "fastcrw";
|
|
23540
|
+
searxng: "searxng";
|
|
23541
|
+
tinyfish: "tinyfish";
|
|
23542
|
+
}>;
|
|
23543
|
+
resultCount: z.ZodNumber;
|
|
23544
|
+
durationMs: z.ZodNumber;
|
|
23545
|
+
results: z.ZodArray<z.ZodObject<{
|
|
23546
|
+
rank: z.ZodNumber;
|
|
23547
|
+
title: z.ZodString;
|
|
23548
|
+
url: z.ZodString;
|
|
23549
|
+
domain: z.ZodString;
|
|
23550
|
+
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
23551
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
23552
|
+
age: z.ZodOptional<z.ZodString>;
|
|
23553
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
23554
|
+
}, z.core.$strip>>;
|
|
23555
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
23556
|
+
}, z.core.$strip>>;
|
|
23557
|
+
webFetch: z.ZodOptional<z.ZodObject<{
|
|
23558
|
+
url: z.ZodString;
|
|
23559
|
+
finalUrl: z.ZodString;
|
|
23560
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
23561
|
+
default: "default";
|
|
23562
|
+
firecrawl: "firecrawl";
|
|
23563
|
+
fastcrw: "fastcrw";
|
|
23564
|
+
tinyfish: "tinyfish";
|
|
23565
|
+
}>>;
|
|
23566
|
+
status: z.ZodNumber;
|
|
23567
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
23568
|
+
byteCount: z.ZodNumber;
|
|
23569
|
+
charCount: z.ZodNumber;
|
|
23570
|
+
truncated: z.ZodBoolean;
|
|
23571
|
+
title: z.ZodOptional<z.ZodString>;
|
|
23572
|
+
domain: z.ZodString;
|
|
23573
|
+
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
23574
|
+
redirectCount: z.ZodNumber;
|
|
23575
|
+
durationMs: z.ZodNumber;
|
|
23576
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
23577
|
+
mayRequireJavaScript: z.ZodOptional<z.ZodBoolean>;
|
|
23578
|
+
}, z.core.$strip>>;
|
|
23579
|
+
}, z.core.$strip>;
|
|
23532
23580
|
|
|
23533
23581
|
/**
|
|
23534
23582
|
* Runtime context passed as the second argument to every tool's `execute`.
|
|
@@ -24321,14 +24369,14 @@ export declare interface ToolUseContent {
|
|
|
24321
24369
|
};
|
|
24322
24370
|
}
|
|
24323
24371
|
|
|
24324
|
-
|
|
24372
|
+
/**
|
|
24373
|
+
* Trust classification of an inbound actor, ordered most- to least-trusted.
|
|
24374
|
+
* The one declaration of the vocabulary: the gateway classifies with it and
|
|
24375
|
+
* the daemon derives capabilities from it.
|
|
24376
|
+
*/
|
|
24377
|
+
declare const TRUST_CLASS_VALUES: readonly ["guardian", "trusted_contact", "unverified_contact", "unknown"];
|
|
24325
24378
|
|
|
24326
|
-
declare
|
|
24327
|
-
unknown: "unknown";
|
|
24328
|
-
guardian: "guardian";
|
|
24329
|
-
trusted_contact: "trusted_contact";
|
|
24330
|
-
unverified_contact: "unverified_contact";
|
|
24331
|
-
}>;
|
|
24379
|
+
declare type TrustClass = (typeof TRUST_CLASS_VALUES)[number];
|
|
24332
24380
|
|
|
24333
24381
|
export declare class TtsSynthesisError extends Error {
|
|
24334
24382
|
readonly code: TtsSynthesisErrorCode;
|
|
@@ -25248,29 +25296,6 @@ generated: undefined;
|
|
|
25248
25296
|
dialect: "sqlite";
|
|
25249
25297
|
}>;
|
|
25250
25298
|
|
|
25251
|
-
declare interface WebFetchMetadata {
|
|
25252
|
-
url: string;
|
|
25253
|
-
finalUrl: string;
|
|
25254
|
-
/** Provider that served the fetch. Defaults to the built-in fetcher. */
|
|
25255
|
-
provider?: WebFetchProviderId;
|
|
25256
|
-
status: number;
|
|
25257
|
-
contentType?: string;
|
|
25258
|
-
byteCount: number;
|
|
25259
|
-
charCount: number;
|
|
25260
|
-
truncated: boolean;
|
|
25261
|
-
title?: string;
|
|
25262
|
-
domain: string;
|
|
25263
|
-
faviconUrl?: string;
|
|
25264
|
-
redirectCount: number;
|
|
25265
|
-
durationMs: number;
|
|
25266
|
-
errorMessage?: string;
|
|
25267
|
-
/** Set when extracted text is dramatically smaller than raw HTML — likely a JS-rendered SPA whose meaningful content the static fetcher missed. */
|
|
25268
|
-
mayRequireJavaScript?: boolean;
|
|
25269
|
-
}
|
|
25270
|
-
|
|
25271
|
-
/** Provider that backed a `web_fetch` call. `default` is the built-in fetcher. */
|
|
25272
|
-
declare type WebFetchProviderId = "default" | "firecrawl" | "fastcrw" | "tinyfish";
|
|
25273
|
-
|
|
25274
25299
|
/**
|
|
25275
25300
|
* Public URL resolution for a plugin's own ingress route.
|
|
25276
25301
|
*
|
|
@@ -25316,29 +25341,6 @@ declare interface WebPresenceReport {
|
|
|
25316
25341
|
focusedConversationId: string | null;
|
|
25317
25342
|
}
|
|
25318
25343
|
|
|
25319
|
-
declare interface WebSearchMetadata {
|
|
25320
|
-
query: string;
|
|
25321
|
-
provider: WebSearchProviderId;
|
|
25322
|
-
resultCount: number;
|
|
25323
|
-
durationMs: number;
|
|
25324
|
-
results: WebSearchResultItem[];
|
|
25325
|
-
/** Present when search itself failed; results[] will be empty. */
|
|
25326
|
-
errorMessage?: string;
|
|
25327
|
-
}
|
|
25328
|
-
|
|
25329
|
-
declare type WebSearchProviderId = "anthropic-native" | "brave" | "perplexity" | "tavily" | "keenable" | "firecrawl" | "fastcrw" | "searxng" | "tinyfish";
|
|
25330
|
-
|
|
25331
|
-
declare interface WebSearchResultItem {
|
|
25332
|
-
rank: number;
|
|
25333
|
-
title: string;
|
|
25334
|
-
url: string;
|
|
25335
|
-
domain: string;
|
|
25336
|
-
faviconUrl?: string;
|
|
25337
|
-
snippet?: string;
|
|
25338
|
-
age?: string;
|
|
25339
|
-
score?: number;
|
|
25340
|
-
}
|
|
25341
|
-
|
|
25342
25344
|
export declare interface WebSearchToolResultContent {
|
|
25343
25345
|
type: "web_search_tool_result";
|
|
25344
25346
|
tool_use_id: string;
|
package/package.json
CHANGED