@vellumai/plugin-api 0.10.8-dev.202607111928.8412f93 → 0.10.8-dev.202607112121.edf284d
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 +7 -153
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -318,8 +318,12 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
318
318
|
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
319
319
|
}, z.core.$strip>>;
|
|
320
320
|
tts: z.ZodDefault<z.ZodObject<{
|
|
321
|
-
mode: z.ZodDefault<z.
|
|
321
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
322
|
+
managed: "managed";
|
|
323
|
+
"your-own": "your-own";
|
|
324
|
+
}>>;
|
|
322
325
|
provider: z.ZodDefault<z.ZodEnum<{
|
|
326
|
+
vellum: "vellum";
|
|
323
327
|
deepgram: "deepgram";
|
|
324
328
|
xai: "xai";
|
|
325
329
|
elevenlabs: "elevenlabs";
|
|
@@ -366,6 +370,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
366
370
|
sampleRate: z.ZodDefault<z.ZodNumber>;
|
|
367
371
|
bitRate: z.ZodDefault<z.ZodNumber>;
|
|
368
372
|
}, z.core.$strip>>;
|
|
373
|
+
vellum: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
|
|
369
374
|
}, z.core.$strip>>;
|
|
370
375
|
}, z.core.$strip>>;
|
|
371
376
|
"google-oauth": z.ZodDefault<z.ZodObject<{
|
|
@@ -5178,7 +5183,7 @@ declare interface SensitiveOutputBinding {
|
|
|
5178
5183
|
|
|
5179
5184
|
declare type SensitiveOutputKind = "invite_code";
|
|
5180
5185
|
|
|
5181
|
-
declare type ServerMessage = _ConversationsServerMessages | _MessagesServerMessages | _SurfacesServerMessages | _SkillsServerMessages | _AppsServerMessages | _IntegrationsServerMessages | _ComputerUseServerMessages | _ContactsServerMessages |
|
|
5186
|
+
declare type ServerMessage = _ConversationsServerMessages | _MessagesServerMessages | _SurfacesServerMessages | _SkillsServerMessages | _AppsServerMessages | _IntegrationsServerMessages | _ComputerUseServerMessages | _ContactsServerMessages | _SubagentsServerMessages | _DocumentsServerMessages | _DocumentCommentsServerMessages | _GuardianActionsServerMessages | _SyncInvalidationServerMessages | _HomeServerMessages | _HostAppControlServerMessages | _HostBashServerMessages | _HostBrowserServerMessages | _HostCuServerMessages | _HostFileServerMessages | _HostTransferServerMessages | _HostUiSnapshotServerMessages | _MemoryServerMessages | _WorkspaceServerMessages | _SchedulesServerMessages | _SettingsServerMessages | _DiagnosticsServerMessages | _InboxServerMessages | _NotificationsServerMessages | _UpgradesServerMessages | _AcpServerMessages | _BackgroundToolsServerMessages | _BookmarksServerMessages | _WorkflowsServerMessages | DiskPressureStatusChangedEvent | HookEvent | SubagentEvent;
|
|
5182
5187
|
|
|
5183
5188
|
export declare interface ServerToolUseContent {
|
|
5184
5189
|
type: "server_tool_use";
|
|
@@ -5648,19 +5653,6 @@ declare interface TableSurfaceData {
|
|
|
5648
5653
|
caption?: string;
|
|
5649
5654
|
}
|
|
5650
5655
|
|
|
5651
|
-
/** Server push — broadcast when a task run creates a conversation. */
|
|
5652
|
-
declare interface TaskRunConversationCreated {
|
|
5653
|
-
type: "task_run_conversation_created";
|
|
5654
|
-
conversationId: string;
|
|
5655
|
-
workItemId: string;
|
|
5656
|
-
title: string;
|
|
5657
|
-
}
|
|
5658
|
-
|
|
5659
|
-
/** Server push — lightweight invalidation signal: the task queue has been mutated, refetch your list. */
|
|
5660
|
-
declare interface TasksChanged {
|
|
5661
|
-
type: "tasks_changed";
|
|
5662
|
-
}
|
|
5663
|
-
|
|
5664
5656
|
declare interface TelegramConfigResponse {
|
|
5665
5657
|
type: "telegram_config_response";
|
|
5666
5658
|
success: boolean;
|
|
@@ -6855,144 +6847,6 @@ declare interface WorkflowStarted {
|
|
|
6855
6847
|
label?: string;
|
|
6856
6848
|
}
|
|
6857
6849
|
|
|
6858
|
-
declare interface WorkItemApprovePermissionsResponse {
|
|
6859
|
-
type: "work_item_approve_permissions_response";
|
|
6860
|
-
id: string;
|
|
6861
|
-
success: boolean;
|
|
6862
|
-
error?: string;
|
|
6863
|
-
}
|
|
6864
|
-
|
|
6865
|
-
declare interface WorkItemCancelResponse {
|
|
6866
|
-
type: "work_item_cancel_response";
|
|
6867
|
-
id: string;
|
|
6868
|
-
success: boolean;
|
|
6869
|
-
error?: string;
|
|
6870
|
-
}
|
|
6871
|
-
|
|
6872
|
-
declare interface WorkItemDeleteResponse {
|
|
6873
|
-
type: "work_item_delete_response";
|
|
6874
|
-
id: string;
|
|
6875
|
-
success: boolean;
|
|
6876
|
-
}
|
|
6877
|
-
|
|
6878
|
-
declare interface WorkItemGetResponse {
|
|
6879
|
-
type: "work_item_get_response";
|
|
6880
|
-
item: {
|
|
6881
|
-
id: string;
|
|
6882
|
-
taskId: string;
|
|
6883
|
-
title: string;
|
|
6884
|
-
notes: string | null;
|
|
6885
|
-
status: string;
|
|
6886
|
-
priorityTier: number;
|
|
6887
|
-
sortIndex: number | null;
|
|
6888
|
-
lastRunId: string | null;
|
|
6889
|
-
lastRunConversationId: string | null;
|
|
6890
|
-
lastRunStatus: string | null;
|
|
6891
|
-
sourceType: string | null;
|
|
6892
|
-
sourceId: string | null;
|
|
6893
|
-
createdAt: number;
|
|
6894
|
-
updatedAt: number;
|
|
6895
|
-
} | null;
|
|
6896
|
-
}
|
|
6897
|
-
|
|
6898
|
-
declare interface WorkItemOutputResponse {
|
|
6899
|
-
type: "work_item_output_response";
|
|
6900
|
-
id: string;
|
|
6901
|
-
success: boolean;
|
|
6902
|
-
error?: string;
|
|
6903
|
-
output?: {
|
|
6904
|
-
title: string;
|
|
6905
|
-
status: string;
|
|
6906
|
-
runId: string | null;
|
|
6907
|
-
conversationId: string | null;
|
|
6908
|
-
completedAt: number | null;
|
|
6909
|
-
summary: string;
|
|
6910
|
-
highlights: string[];
|
|
6911
|
-
};
|
|
6912
|
-
}
|
|
6913
|
-
|
|
6914
|
-
declare interface WorkItemPreflightResponse {
|
|
6915
|
-
type: "work_item_preflight_response";
|
|
6916
|
-
id: string;
|
|
6917
|
-
success: boolean;
|
|
6918
|
-
error?: string;
|
|
6919
|
-
permissions?: {
|
|
6920
|
-
tool: string;
|
|
6921
|
-
description: string;
|
|
6922
|
-
riskLevel: "low" | "medium" | "high";
|
|
6923
|
-
currentDecision: "allow" | "deny" | "prompt";
|
|
6924
|
-
}[];
|
|
6925
|
-
}
|
|
6926
|
-
|
|
6927
|
-
declare type WorkItemRunTaskErrorCode = "not_found" | "already_running" | "invalid_status" | "no_task" | "permission_required";
|
|
6928
|
-
|
|
6929
|
-
declare interface WorkItemRunTaskResponse {
|
|
6930
|
-
type: "work_item_run_task_response";
|
|
6931
|
-
id: string;
|
|
6932
|
-
lastRunId: string;
|
|
6933
|
-
success: boolean;
|
|
6934
|
-
error?: string;
|
|
6935
|
-
/** Structured error code so the client can deterministically re-enable buttons or show contextual UI. */
|
|
6936
|
-
errorCode?: WorkItemRunTaskErrorCode;
|
|
6937
|
-
}
|
|
6938
|
-
|
|
6939
|
-
declare interface WorkItemsListResponse {
|
|
6940
|
-
type: "work_items_list_response";
|
|
6941
|
-
items: Array<{
|
|
6942
|
-
id: string;
|
|
6943
|
-
taskId: string;
|
|
6944
|
-
title: string;
|
|
6945
|
-
notes: string | null;
|
|
6946
|
-
status: string;
|
|
6947
|
-
priorityTier: number;
|
|
6948
|
-
sortIndex: number | null;
|
|
6949
|
-
lastRunId: string | null;
|
|
6950
|
-
lastRunConversationId: string | null;
|
|
6951
|
-
lastRunStatus: string | null;
|
|
6952
|
-
sourceType: string | null;
|
|
6953
|
-
sourceId: string | null;
|
|
6954
|
-
createdAt: number;
|
|
6955
|
-
updatedAt: number;
|
|
6956
|
-
}>;
|
|
6957
|
-
}
|
|
6958
|
-
|
|
6959
|
-
declare type _WorkItemsServerMessages = WorkItemsListResponse | WorkItemGetResponse | WorkItemUpdateResponse | WorkItemDeleteResponse | WorkItemRunTaskResponse | WorkItemOutputResponse | WorkItemPreflightResponse | WorkItemApprovePermissionsResponse | WorkItemCancelResponse | WorkItemStatusChanged | TaskRunConversationCreated | TasksChanged;
|
|
6960
|
-
|
|
6961
|
-
/** Server push — broadcast when a work item status changes (e.g. running -> awaiting_review). */
|
|
6962
|
-
declare interface WorkItemStatusChanged {
|
|
6963
|
-
type: "work_item_status_changed";
|
|
6964
|
-
item: {
|
|
6965
|
-
id: string;
|
|
6966
|
-
taskId: string;
|
|
6967
|
-
title: string;
|
|
6968
|
-
status: string;
|
|
6969
|
-
lastRunId: string | null;
|
|
6970
|
-
lastRunConversationId: string | null;
|
|
6971
|
-
lastRunStatus: string | null;
|
|
6972
|
-
updatedAt: number;
|
|
6973
|
-
};
|
|
6974
|
-
}
|
|
6975
|
-
|
|
6976
|
-
declare interface WorkItemUpdateResponse {
|
|
6977
|
-
type: "work_item_update_response";
|
|
6978
|
-
item: {
|
|
6979
|
-
id: string;
|
|
6980
|
-
taskId: string;
|
|
6981
|
-
title: string;
|
|
6982
|
-
notes: string | null;
|
|
6983
|
-
status: string;
|
|
6984
|
-
priorityTier: number;
|
|
6985
|
-
sortIndex: number | null;
|
|
6986
|
-
lastRunId: string | null;
|
|
6987
|
-
lastRunConversationId: string | null;
|
|
6988
|
-
lastRunStatus: string | null;
|
|
6989
|
-
sourceType: string | null;
|
|
6990
|
-
sourceId: string | null;
|
|
6991
|
-
createdAt: number;
|
|
6992
|
-
updatedAt: number;
|
|
6993
|
-
} | null;
|
|
6994
|
-
}
|
|
6995
|
-
|
|
6996
6850
|
declare interface WorkResultDiff {
|
|
6997
6851
|
label?: string;
|
|
6998
6852
|
before?: string;
|
package/package.json
CHANGED