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