@vellumai/plugin-api 0.10.12-dev.202607272227.bd2aa0b → 0.10.12-dev.202607281637.45cc60c
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 +33 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1388,11 +1388,11 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
1388
1388
|
resolved_stale: "resolved_stale";
|
|
1389
1389
|
}>;
|
|
1390
1390
|
source: z.ZodEnum<{
|
|
1391
|
+
system: "system";
|
|
1391
1392
|
button: "button";
|
|
1392
1393
|
inline_nl: "inline_nl";
|
|
1393
1394
|
auto_deny: "auto_deny";
|
|
1394
1395
|
timeout: "timeout";
|
|
1395
|
-
system: "system";
|
|
1396
1396
|
}>;
|
|
1397
1397
|
causedByRequestId: z.ZodOptional<z.ZodString>;
|
|
1398
1398
|
decisionText: z.ZodOptional<z.ZodString>;
|
|
@@ -2748,11 +2748,11 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2748
2748
|
resolved_stale: "resolved_stale";
|
|
2749
2749
|
}>;
|
|
2750
2750
|
source: z.ZodEnum<{
|
|
2751
|
+
system: "system";
|
|
2751
2752
|
button: "button";
|
|
2752
2753
|
inline_nl: "inline_nl";
|
|
2753
2754
|
auto_deny: "auto_deny";
|
|
2754
2755
|
timeout: "timeout";
|
|
2755
|
-
system: "system";
|
|
2756
2756
|
}>;
|
|
2757
2757
|
causedByRequestId: z.ZodOptional<z.ZodString>;
|
|
2758
2758
|
decisionText: z.ZodOptional<z.ZodString>;
|
|
@@ -3907,7 +3907,7 @@ declare interface CliSubcommandHelp {
|
|
|
3907
3907
|
|
|
3908
3908
|
declare type ConfiguredProviderOptions = Pick<ResolveCallSiteOpts, "overrideProfile" | "forceOverrideProfile" | "selectionSeed">;
|
|
3909
3909
|
|
|
3910
|
-
export declare type ContentBlock = TextContent | ThinkingContent | RedactedThinkingContent | ImageContent | FileContent | ToolUseContent | ToolResultContent | ServerToolUseContent | WebSearchToolResultContent;
|
|
3910
|
+
export declare type ContentBlock = TextContent | ThinkingContent | RedactedThinkingContent | ImageContent | FileContent | ToolUseContent | ToolResultContent | ServerToolUseContent | WebSearchToolResultContent | UiSurfaceContent;
|
|
3911
3911
|
|
|
3912
3912
|
/** How a conversation was created / its execution mode. */
|
|
3913
3913
|
declare type ConversationCreateType = "standard" | "background" | "scheduled";
|
|
@@ -6714,6 +6714,36 @@ declare type TtsUseCase =
|
|
|
6714
6714
|
/** In-app message playback — buffer-oriented, higher quality acceptable. */
|
|
6715
6715
|
| "message-playback";
|
|
6716
6716
|
|
|
6717
|
+
/**
|
|
6718
|
+
* A client-rendered UI card persisted into conversation history: call
|
|
6719
|
+
* summaries, guardian approval cards, skill cards, wake notices, document
|
|
6720
|
+
* previews.
|
|
6721
|
+
*
|
|
6722
|
+
* This is a rendering instruction, not model context — providers drop it when
|
|
6723
|
+
* serializing history. Producers therefore pair the surface with a sibling
|
|
6724
|
+
* `text` block flagged `_surfaceFallback` (see
|
|
6725
|
+
* `notifications/approval-card-builder.ts`); that text is what feeds the model,
|
|
6726
|
+
* search indexing, CLI display, and channel replies.
|
|
6727
|
+
*
|
|
6728
|
+
* `data` is deliberately opaque: its concrete shape is selected by
|
|
6729
|
+
* `surfaceType` and owned by `daemon/message-types/surfaces.ts`.
|
|
6730
|
+
*/
|
|
6731
|
+
declare interface UiSurfaceContent {
|
|
6732
|
+
type: "ui_surface";
|
|
6733
|
+
surfaceId: string;
|
|
6734
|
+
surfaceType: string;
|
|
6735
|
+
title?: string;
|
|
6736
|
+
data?: Record<string, unknown>;
|
|
6737
|
+
actions?: unknown[];
|
|
6738
|
+
/**
|
|
6739
|
+
* Free-form, matching `CurrentTurnSurface.display` — NOT the `inline` /
|
|
6740
|
+
* `panel` enum of the `ui_surface_show` wire event. Persisted surfaces carry
|
|
6741
|
+
* whatever the `ui_show` tool wrote, so this must not narrow.
|
|
6742
|
+
*/
|
|
6743
|
+
display?: string;
|
|
6744
|
+
completed?: boolean;
|
|
6745
|
+
}
|
|
6746
|
+
|
|
6717
6747
|
/** Merge the given keys into a message's metadata JSON. */
|
|
6718
6748
|
export declare function updateMessageMetadata(messageId: string, updates: Record<string, unknown>): Promise<void>;
|
|
6719
6749
|
|
package/package.json
CHANGED