@vellumai/plugin-api 0.10.11-dev.202607241637.6d2be3e → 0.10.11-dev.202607241836.91be689
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 +2 -84
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -223,6 +223,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
223
223
|
provider: z.ZodDefault<z.ZodEnum<{
|
|
224
224
|
openai: "openai";
|
|
225
225
|
gemini: "gemini";
|
|
226
|
+
vellum: "vellum";
|
|
226
227
|
}>>;
|
|
227
228
|
model: z.ZodDefault<z.ZodString>;
|
|
228
229
|
}, z.core.$strip>>;
|
|
@@ -2797,21 +2798,6 @@ declare const IdentityChangedEventSchema: z.ZodObject<{
|
|
|
2797
2798
|
home: z.ZodString;
|
|
2798
2799
|
}, z.core.$strip>;
|
|
2799
2800
|
|
|
2800
|
-
declare interface IdentityGetResponse {
|
|
2801
|
-
type: "identity_get_response";
|
|
2802
|
-
/** Whether an IDENTITY.md file was found. When false, all fields are empty defaults. */
|
|
2803
|
-
found: boolean;
|
|
2804
|
-
name: string;
|
|
2805
|
-
role: string;
|
|
2806
|
-
personality: string;
|
|
2807
|
-
emoji: string;
|
|
2808
|
-
home: string;
|
|
2809
|
-
version?: string;
|
|
2810
|
-
assistantId?: string;
|
|
2811
|
-
createdAt?: string;
|
|
2812
|
-
originSystem?: string;
|
|
2813
|
-
}
|
|
2814
|
-
|
|
2815
2801
|
export declare interface ImageContent {
|
|
2816
2802
|
type: "image";
|
|
2817
2803
|
source: MediaSource_2;
|
|
@@ -5675,25 +5661,6 @@ declare const ToolInputDeltaEventSchema: z.ZodObject<{
|
|
|
5675
5661
|
messageId: z.ZodOptional<z.ZodString>;
|
|
5676
5662
|
}, z.core.$strip>;
|
|
5677
5663
|
|
|
5678
|
-
declare interface ToolInputSchema {
|
|
5679
|
-
type: "object";
|
|
5680
|
-
properties?: Record<string, {
|
|
5681
|
-
type?: string;
|
|
5682
|
-
description?: string;
|
|
5683
|
-
enum?: string[];
|
|
5684
|
-
[key: string]: unknown;
|
|
5685
|
-
}>;
|
|
5686
|
-
required?: string[];
|
|
5687
|
-
}
|
|
5688
|
-
|
|
5689
|
-
declare interface ToolNamesListResponse {
|
|
5690
|
-
type: "tool_names_list_response";
|
|
5691
|
-
/** Sorted list of all registered tool names. */
|
|
5692
|
-
names: string[];
|
|
5693
|
-
/** Input schemas keyed by tool name. */
|
|
5694
|
-
schemas?: Record<string, ToolInputSchema>;
|
|
5695
|
-
}
|
|
5696
|
-
|
|
5697
5664
|
declare type ToolOutputChunkEvent = z.infer<typeof ToolOutputChunkEventSchema>;
|
|
5698
5665
|
|
|
5699
5666
|
declare const ToolOutputChunkEventSchema: z.ZodObject<{
|
|
@@ -5713,36 +5680,6 @@ declare const ToolOutputChunkEventSchema: z.ZodObject<{
|
|
|
5713
5680
|
messageId: z.ZodOptional<z.ZodString>;
|
|
5714
5681
|
}, z.core.$strip>;
|
|
5715
5682
|
|
|
5716
|
-
declare interface ToolPermissionSimulateResponse {
|
|
5717
|
-
type: "tool_permission_simulate_response";
|
|
5718
|
-
success: boolean;
|
|
5719
|
-
/** The simulated permission decision. */
|
|
5720
|
-
decision?: "allow" | "deny" | "prompt";
|
|
5721
|
-
/** Risk level of the simulated tool invocation. */
|
|
5722
|
-
riskLevel?: string;
|
|
5723
|
-
/** Human-readable reason for the decision. */
|
|
5724
|
-
reason?: string;
|
|
5725
|
-
/** When decision is 'prompt', the data needed to render a ToolConfirmationBubble. */
|
|
5726
|
-
promptPayload?: {
|
|
5727
|
-
allowlistOptions: Array<{
|
|
5728
|
-
label: string;
|
|
5729
|
-
description: string;
|
|
5730
|
-
pattern: string;
|
|
5731
|
-
}>;
|
|
5732
|
-
scopeOptions: Array<{
|
|
5733
|
-
label: string;
|
|
5734
|
-
scope: string;
|
|
5735
|
-
}>;
|
|
5736
|
-
persistentDecisionsAllowed: boolean;
|
|
5737
|
-
};
|
|
5738
|
-
/** Resolved execution target for the tool. */
|
|
5739
|
-
executionTarget?: "host" | "sandbox";
|
|
5740
|
-
/** ID of the trust rule that matched (if any). */
|
|
5741
|
-
matchedTrustRuleId?: string;
|
|
5742
|
-
/** Error message when success is false. */
|
|
5743
|
-
error?: string;
|
|
5744
|
-
}
|
|
5745
|
-
|
|
5746
5683
|
export declare interface ToolResultContent {
|
|
5747
5684
|
type: "tool_result";
|
|
5748
5685
|
tool_use_id: string;
|
|
@@ -6275,25 +6212,6 @@ declare const WorkflowStartedEventSchema: z.ZodObject<{
|
|
|
6275
6212
|
label: z.ZodOptional<z.ZodString>;
|
|
6276
6213
|
}, z.core.$strict>;
|
|
6277
6214
|
|
|
6278
|
-
declare interface WorkspaceFileReadResponse {
|
|
6279
|
-
type: "workspace_file_read_response";
|
|
6280
|
-
path: string;
|
|
6281
|
-
content: string | null;
|
|
6282
|
-
error?: string;
|
|
6283
|
-
}
|
|
6284
|
-
|
|
6285
|
-
declare interface WorkspaceFilesListResponse {
|
|
6286
|
-
type: "workspace_files_list_response";
|
|
6287
|
-
files: Array<{
|
|
6288
|
-
/** Relative path within the workspace (e.g. "IDENTITY.md", "skills/my-skill"). */
|
|
6289
|
-
path: string;
|
|
6290
|
-
/** Display name (e.g. "IDENTITY.md"). */
|
|
6291
|
-
name: string;
|
|
6292
|
-
/** Whether the file/directory exists. */
|
|
6293
|
-
exists: boolean;
|
|
6294
|
-
}>;
|
|
6295
|
-
}
|
|
6296
|
-
|
|
6297
6215
|
/**
|
|
6298
6216
|
* A reference to bytes stored in the workspace rather than inlined. The bytes
|
|
6299
6217
|
* live in the workspace attachment store, addressed by `attachmentId`, and are
|
|
@@ -6319,6 +6237,6 @@ declare interface WorkspaceRefMediaSource {
|
|
|
6319
6237
|
height?: number;
|
|
6320
6238
|
}
|
|
6321
6239
|
|
|
6322
|
-
declare type _WorkspaceServerMessages =
|
|
6240
|
+
declare type _WorkspaceServerMessages = IdentityChangedEvent;
|
|
6323
6241
|
|
|
6324
6242
|
export { }
|
package/package.json
CHANGED