@vellumai/plugin-api 0.10.11-dev.202607232127.588d325 → 0.10.11-dev.202607232226.bf9eaf3
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 +25 -272
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -155,81 +155,14 @@ export declare type AgentLoopExitReason =
|
|
|
155
155
|
/** Any surface `data` payload, including the opaque (non-renderable) types. */
|
|
156
156
|
declare type AnySurfaceData = SurfaceDataByType[SurfaceType];
|
|
157
157
|
|
|
158
|
-
declare
|
|
159
|
-
type: "app_data_response";
|
|
160
|
-
surfaceId: string;
|
|
161
|
-
callId: string;
|
|
162
|
-
success: boolean;
|
|
163
|
-
result?: unknown;
|
|
164
|
-
error?: string;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
declare interface AppDeleteResponse {
|
|
168
|
-
type: "app_delete_response";
|
|
169
|
-
success: boolean;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
declare interface AppDiffResponse {
|
|
173
|
-
type: "app_diff_response";
|
|
174
|
-
appId: string;
|
|
175
|
-
diff: string;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
declare interface AppFileAtVersionResponse {
|
|
179
|
-
type: "app_file_at_version_response";
|
|
180
|
-
appId: string;
|
|
181
|
-
path: string;
|
|
182
|
-
content: string;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
declare interface AppFilesChanged {
|
|
186
|
-
type: "app_files_changed";
|
|
187
|
-
appId: string;
|
|
188
|
-
}
|
|
158
|
+
declare type AppFilesChangedEvent = z.infer<typeof AppFilesChangedEventSchema>;
|
|
189
159
|
|
|
190
|
-
declare
|
|
191
|
-
type: "
|
|
192
|
-
appId:
|
|
193
|
-
|
|
194
|
-
commitHash: string;
|
|
195
|
-
message: string;
|
|
196
|
-
timestamp: number;
|
|
197
|
-
}>;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
declare interface AppPreviewResponse {
|
|
201
|
-
type: "app_preview_response";
|
|
202
|
-
appId: string;
|
|
203
|
-
preview?: string;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
declare interface AppRestoreResponse {
|
|
207
|
-
type: "app_restore_response";
|
|
208
|
-
success: boolean;
|
|
209
|
-
error?: string;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
declare interface AppsListResponse {
|
|
213
|
-
type: "apps_list_response";
|
|
214
|
-
apps: Array<{
|
|
215
|
-
id: string;
|
|
216
|
-
name: string;
|
|
217
|
-
description?: string;
|
|
218
|
-
icon?: string;
|
|
219
|
-
preview?: string;
|
|
220
|
-
createdAt: number;
|
|
221
|
-
version?: string;
|
|
222
|
-
contentId?: string;
|
|
223
|
-
}>;
|
|
224
|
-
}
|
|
160
|
+
declare const AppFilesChangedEventSchema: z.ZodObject<{
|
|
161
|
+
type: z.ZodLiteral<"app_files_changed">;
|
|
162
|
+
appId: z.ZodString;
|
|
163
|
+
}, z.core.$strip>;
|
|
225
164
|
|
|
226
|
-
declare type _AppsServerMessages =
|
|
227
|
-
|
|
228
|
-
declare interface AppUpdatePreviewResponse {
|
|
229
|
-
type: "app_update_preview_response";
|
|
230
|
-
success: boolean;
|
|
231
|
-
appId: string;
|
|
232
|
-
}
|
|
165
|
+
declare type _AppsServerMessages = AppFilesChangedEvent;
|
|
233
166
|
|
|
234
167
|
/**
|
|
235
168
|
* How {@link listConversations} (and friends) treats archived rows.
|
|
@@ -1688,25 +1621,6 @@ declare type _BookmarksServerMessages = BookmarkCreatedEvent | BookmarkDeletedEv
|
|
|
1688
1621
|
*/
|
|
1689
1622
|
export declare function buildMessageExcerpt(rawContent: string, query: string): Promise<string>;
|
|
1690
1623
|
|
|
1691
|
-
declare interface BundleAppResponse {
|
|
1692
|
-
type: "bundle_app_response";
|
|
1693
|
-
bundlePath: string;
|
|
1694
|
-
/** Base64-encoded PNG of the generated app icon, if available. */
|
|
1695
|
-
iconImageBase64?: string;
|
|
1696
|
-
manifest: {
|
|
1697
|
-
format_version: number;
|
|
1698
|
-
name: string;
|
|
1699
|
-
description?: string;
|
|
1700
|
-
icon?: string;
|
|
1701
|
-
created_at: string;
|
|
1702
|
-
created_by: string;
|
|
1703
|
-
entry: string;
|
|
1704
|
-
capabilities: string[];
|
|
1705
|
-
version?: string;
|
|
1706
|
-
content_id?: string;
|
|
1707
|
-
};
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
1624
|
declare type CardSurfaceData = z.infer<typeof CardSurfaceDataSchema>;
|
|
1711
1625
|
|
|
1712
1626
|
declare const CardSurfaceDataSchema: z.ZodObject<{
|
|
@@ -2576,14 +2490,6 @@ declare const FileUploadSurfaceDataSchema: z.ZodObject<{
|
|
|
2576
2490
|
maxSizeBytes: z.ZodCatch<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
2577
2491
|
}, z.core.$strip>;
|
|
2578
2492
|
|
|
2579
|
-
declare interface ForkSharedAppResponse {
|
|
2580
|
-
type: "fork_shared_app_response";
|
|
2581
|
-
success: boolean;
|
|
2582
|
-
appId?: string;
|
|
2583
|
-
name?: string;
|
|
2584
|
-
error?: string;
|
|
2585
|
-
}
|
|
2586
|
-
|
|
2587
2493
|
declare type FormSurfaceData = z.infer<typeof FormSurfaceDataSchema>;
|
|
2588
2494
|
|
|
2589
2495
|
declare const FormSurfaceDataSchema: z.ZodObject<{
|
|
@@ -2716,11 +2622,6 @@ export declare function getMessages(conversationId: string): Promise<MessageRow[
|
|
|
2716
2622
|
*/
|
|
2717
2623
|
export declare function getModelProfiles(): ModelProfileInfo[];
|
|
2718
2624
|
|
|
2719
|
-
declare interface GetSigningIdentityRequest {
|
|
2720
|
-
type: "get_signing_identity";
|
|
2721
|
-
requestId: string;
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
2625
|
/**
|
|
2725
2626
|
* Returns the workspace root for user-facing state.
|
|
2726
2627
|
*
|
|
@@ -3261,22 +3162,6 @@ declare interface ImageEmbeddingInput {
|
|
|
3261
3162
|
mimeType: string;
|
|
3262
3163
|
}
|
|
3263
3164
|
|
|
3264
|
-
declare interface IngressConfigResponse {
|
|
3265
|
-
type: "ingress_config_response";
|
|
3266
|
-
enabled: boolean;
|
|
3267
|
-
publicBaseUrl: string;
|
|
3268
|
-
/** Read-only gateway target computed from GATEWAY_PORT env var (default 7830) + loopback host. */
|
|
3269
|
-
localGatewayTarget: string;
|
|
3270
|
-
/**
|
|
3271
|
-
* When true, this assistant uses platform-managed callback routing.
|
|
3272
|
-
* Webhook delivery is handled by the platform — no local tunnel or
|
|
3273
|
-
* ngrok setup is needed. `publicBaseUrl` reflects the platform callback URL.
|
|
3274
|
-
*/
|
|
3275
|
-
managedCallbacks?: boolean;
|
|
3276
|
-
success: boolean;
|
|
3277
|
-
error?: string;
|
|
3278
|
-
}
|
|
3279
|
-
|
|
3280
3165
|
/**
|
|
3281
3166
|
* Context passed to `Plugin.init()` during bootstrap. Carries the resolved
|
|
3282
3167
|
* config, a pino-compatible logger scoped to the plugin, a per-plugin
|
|
@@ -3320,29 +3205,7 @@ declare interface InsertedMessage {
|
|
|
3320
3205
|
deduplicated: boolean;
|
|
3321
3206
|
}
|
|
3322
3207
|
|
|
3323
|
-
declare
|
|
3324
|
-
type: "integration_connect_result";
|
|
3325
|
-
integrationId: string;
|
|
3326
|
-
success: boolean;
|
|
3327
|
-
accountInfo?: string | null;
|
|
3328
|
-
error?: string | null;
|
|
3329
|
-
setupRequired?: boolean;
|
|
3330
|
-
setupHint?: string;
|
|
3331
|
-
}
|
|
3332
|
-
|
|
3333
|
-
declare interface IntegrationListResponse {
|
|
3334
|
-
type: "integration_list_response";
|
|
3335
|
-
integrations: Array<{
|
|
3336
|
-
id: string;
|
|
3337
|
-
connected: boolean;
|
|
3338
|
-
accountInfo?: string | null;
|
|
3339
|
-
connectedAt?: number | null;
|
|
3340
|
-
lastUsed?: number | null;
|
|
3341
|
-
error?: string | null;
|
|
3342
|
-
}>;
|
|
3343
|
-
}
|
|
3344
|
-
|
|
3345
|
-
declare type _IntegrationsServerMessages = SlackWebhookConfigResponse | IngressConfigResponse | PlatformConfigResponse | VercelApiConfigResponse | TelegramConfigResponse | ChannelVerificationSessionResponse | IntegrationListResponse | IntegrationConnectResult | OAuthConnectResultResponse | OpenUrlEvent | OpenPanelEvent | NavigateSettingsEvent | ShowPlatformLogin | PlatformDisconnected;
|
|
3208
|
+
declare type _IntegrationsServerMessages = ChannelVerificationSessionResponse | OAuthConnectResultEvent | OpenUrlEvent | OpenPanelEvent | NavigateSettingsEvent | ShowPlatformLoginEvent | PlatformDisconnectedEvent;
|
|
3346
3209
|
|
|
3347
3210
|
declare type InteractionResolvedEvent = z.infer<typeof InteractionResolvedEventSchema>;
|
|
3348
3211
|
|
|
@@ -4081,14 +3944,16 @@ declare const NotificationIntentEventSchema: z.ZodObject<{
|
|
|
4081
3944
|
|
|
4082
3945
|
declare type _NotificationsServerMessages = NotificationIntentEvent | NotificationConversationCreatedEvent;
|
|
4083
3946
|
|
|
4084
|
-
declare
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
3947
|
+
declare type OAuthConnectResultEvent = z.infer<typeof OAuthConnectResultEventSchema>;
|
|
3948
|
+
|
|
3949
|
+
declare const OAuthConnectResultEventSchema: z.ZodObject<{
|
|
3950
|
+
type: z.ZodLiteral<"oauth_connect_result">;
|
|
3951
|
+
success: z.ZodBoolean;
|
|
3952
|
+
service: z.ZodOptional<z.ZodString>;
|
|
3953
|
+
grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3954
|
+
accountInfo: z.ZodOptional<z.ZodString>;
|
|
3955
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3956
|
+
}, z.core.$strip>;
|
|
4092
3957
|
|
|
4093
3958
|
declare type OAuthConnectSurfaceData = z.infer<typeof OAuthConnectSurfaceDataSchema>;
|
|
4094
3959
|
|
|
@@ -4099,32 +3964,6 @@ declare const OAuthConnectSurfaceDataSchema: z.ZodObject<{
|
|
|
4099
3964
|
logoUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4100
3965
|
}, z.core.$strip>;
|
|
4101
3966
|
|
|
4102
|
-
declare interface OpenBundleResponse {
|
|
4103
|
-
type: "open_bundle_response";
|
|
4104
|
-
manifest: {
|
|
4105
|
-
format_version: number;
|
|
4106
|
-
name: string;
|
|
4107
|
-
description?: string;
|
|
4108
|
-
icon?: string;
|
|
4109
|
-
created_at: string;
|
|
4110
|
-
created_by: string;
|
|
4111
|
-
entry: string;
|
|
4112
|
-
capabilities: string[];
|
|
4113
|
-
};
|
|
4114
|
-
scanResult: {
|
|
4115
|
-
passed: boolean;
|
|
4116
|
-
blocked: string[];
|
|
4117
|
-
warnings: string[];
|
|
4118
|
-
};
|
|
4119
|
-
signatureResult: {
|
|
4120
|
-
trustTier: "verified" | "signed" | "unsigned" | "tampered";
|
|
4121
|
-
signerKeyId?: string;
|
|
4122
|
-
signerDisplayName?: string;
|
|
4123
|
-
signerAccount?: string;
|
|
4124
|
-
};
|
|
4125
|
-
bundleSizeBytes: number;
|
|
4126
|
-
}
|
|
4127
|
-
|
|
4128
3967
|
declare type OpenConversationEvent = z.infer<typeof OpenConversationEventSchema>;
|
|
4129
3968
|
|
|
4130
3969
|
declare const OpenConversationEventSchema: z.ZodObject<{
|
|
@@ -4188,16 +4027,11 @@ export declare function parseMessageMetadata(metadataJson: string | null): Promi
|
|
|
4188
4027
|
*/
|
|
4189
4028
|
declare function parseMessageMetadata_2(metadataJson: string | null): MessageMetadata_2 | undefined;
|
|
4190
4029
|
|
|
4191
|
-
declare
|
|
4192
|
-
type: "platform_config_response";
|
|
4193
|
-
baseUrl: string;
|
|
4194
|
-
success: boolean;
|
|
4195
|
-
error?: string;
|
|
4196
|
-
}
|
|
4030
|
+
declare type PlatformDisconnectedEvent = z.infer<typeof PlatformDisconnectedEventSchema>;
|
|
4197
4031
|
|
|
4198
|
-
declare
|
|
4199
|
-
type: "platform_disconnected"
|
|
4200
|
-
}
|
|
4032
|
+
declare const PlatformDisconnectedEventSchema: z.ZodObject<{
|
|
4033
|
+
type: z.ZodLiteral<"platform_disconnected">;
|
|
4034
|
+
}, z.core.$strip>;
|
|
4201
4035
|
|
|
4202
4036
|
/**
|
|
4203
4037
|
* The subset of {@link AssistantEventHub} workspace plugins may use. Picking
|
|
@@ -4688,15 +4522,6 @@ declare interface ProxyApprovalRequest {
|
|
|
4688
4522
|
|
|
4689
4523
|
declare type ProxyToolResolver = (toolName: string, input: Record<string, unknown>) => Promise<ToolExecutionResult>;
|
|
4690
4524
|
|
|
4691
|
-
declare interface PublishPageResponse {
|
|
4692
|
-
type: "publish_page_response";
|
|
4693
|
-
success: boolean;
|
|
4694
|
-
publicUrl?: string;
|
|
4695
|
-
deploymentId?: string;
|
|
4696
|
-
error?: string;
|
|
4697
|
-
errorCode?: string;
|
|
4698
|
-
}
|
|
4699
|
-
|
|
4700
4525
|
/**
|
|
4701
4526
|
* Remove every previously-refused exchange from a working history: for each
|
|
4702
4527
|
* assistant message that is exactly the refusal fallback, drop it together with
|
|
@@ -5290,41 +5115,11 @@ declare const ServiceGroupUpdateStartingEventSchema: z.ZodObject<{
|
|
|
5290
5115
|
|
|
5291
5116
|
declare type _SettingsServerMessages = ClientSettingsUpdateEvent | AvatarUpdatedEvent | ConfigChangedEvent | SoundsConfigUpdatedEvent;
|
|
5292
5117
|
|
|
5293
|
-
declare
|
|
5294
|
-
type: "share_app_cloud_response";
|
|
5295
|
-
success: boolean;
|
|
5296
|
-
shareToken?: string;
|
|
5297
|
-
shareUrl?: string;
|
|
5298
|
-
error?: string;
|
|
5299
|
-
}
|
|
5300
|
-
|
|
5301
|
-
declare interface SharedAppDeleteResponse {
|
|
5302
|
-
type: "shared_app_delete_response";
|
|
5303
|
-
success: boolean;
|
|
5304
|
-
}
|
|
5305
|
-
|
|
5306
|
-
declare interface SharedAppsListResponse {
|
|
5307
|
-
type: "shared_apps_list_response";
|
|
5308
|
-
apps: Array<{
|
|
5309
|
-
uuid: string;
|
|
5310
|
-
name: string;
|
|
5311
|
-
description?: string;
|
|
5312
|
-
icon?: string;
|
|
5313
|
-
preview?: string;
|
|
5314
|
-
entry: string;
|
|
5315
|
-
trustTier: string;
|
|
5316
|
-
signerDisplayName?: string;
|
|
5317
|
-
bundleSizeBytes: number;
|
|
5318
|
-
installedAt: string;
|
|
5319
|
-
version?: string;
|
|
5320
|
-
contentId?: string;
|
|
5321
|
-
updateAvailable?: boolean;
|
|
5322
|
-
}>;
|
|
5323
|
-
}
|
|
5118
|
+
declare type ShowPlatformLoginEvent = z.infer<typeof ShowPlatformLoginEventSchema>;
|
|
5324
5119
|
|
|
5325
|
-
declare
|
|
5326
|
-
type: "show_platform_login"
|
|
5327
|
-
}
|
|
5120
|
+
declare const ShowPlatformLoginEventSchema: z.ZodObject<{
|
|
5121
|
+
type: z.ZodLiteral<"show_platform_login">;
|
|
5122
|
+
}, z.core.$strip>;
|
|
5328
5123
|
|
|
5329
5124
|
/**
|
|
5330
5125
|
* Context passed to the `shutdown` hook. Kept intentionally narrower than
|
|
@@ -5367,12 +5162,6 @@ export declare interface ShutdownContext {
|
|
|
5367
5162
|
*/
|
|
5368
5163
|
declare type ShutdownReason = "shutdown" | "uninstall" | "disable" | "reload";
|
|
5369
5164
|
|
|
5370
|
-
declare interface SignBundlePayloadRequest {
|
|
5371
|
-
type: "sign_bundle_payload";
|
|
5372
|
-
requestId: string;
|
|
5373
|
-
payload: string;
|
|
5374
|
-
}
|
|
5375
|
-
|
|
5376
5165
|
declare interface SkillInstallMeta {
|
|
5377
5166
|
origin: "vellum" | "clawhub" | "skillssh" | "custom";
|
|
5378
5167
|
installedAt: string;
|
|
@@ -5417,13 +5206,6 @@ declare const SkillStateChangedEventSchema: z.ZodObject<{
|
|
|
5417
5206
|
}>;
|
|
5418
5207
|
}, z.core.$strip>;
|
|
5419
5208
|
|
|
5420
|
-
declare interface SlackWebhookConfigResponse {
|
|
5421
|
-
type: "slack_webhook_config_response";
|
|
5422
|
-
webhookUrl?: string;
|
|
5423
|
-
success: boolean;
|
|
5424
|
-
error?: string;
|
|
5425
|
-
}
|
|
5426
|
-
|
|
5427
5209
|
declare type SoundsConfigUpdatedEvent = z.infer<typeof SoundsConfigUpdatedEventSchema>;
|
|
5428
5210
|
|
|
5429
5211
|
declare const SoundsConfigUpdatedEventSchema: z.ZodObject<{
|
|
@@ -5882,22 +5664,6 @@ declare const TableSurfaceDataSchema: z.ZodObject<{
|
|
|
5882
5664
|
caption: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
5883
5665
|
}, z.core.$strip>;
|
|
5884
5666
|
|
|
5885
|
-
declare interface TelegramConfigResponse {
|
|
5886
|
-
type: "telegram_config_response";
|
|
5887
|
-
success: boolean;
|
|
5888
|
-
hasBotToken: boolean;
|
|
5889
|
-
botId?: string;
|
|
5890
|
-
botUsername?: string;
|
|
5891
|
-
connected: boolean;
|
|
5892
|
-
hasWebhookSecret: boolean;
|
|
5893
|
-
lastError?: string;
|
|
5894
|
-
error?: string;
|
|
5895
|
-
/** Names of bot commands that were registered (present after set_commands or setup). */
|
|
5896
|
-
commandsRegistered?: string[];
|
|
5897
|
-
/** Non-fatal warning (e.g. commands registration failed during setup but token was configured). */
|
|
5898
|
-
warning?: string;
|
|
5899
|
-
}
|
|
5900
|
-
|
|
5901
5667
|
export declare interface TextContent {
|
|
5902
5668
|
type: "text";
|
|
5903
5669
|
text: string;
|
|
@@ -6654,12 +6420,6 @@ declare interface UndoComplete {
|
|
|
6654
6420
|
conversationId?: string;
|
|
6655
6421
|
}
|
|
6656
6422
|
|
|
6657
|
-
declare interface UnpublishPageResponse {
|
|
6658
|
-
type: "unpublish_page_response";
|
|
6659
|
-
success: boolean;
|
|
6660
|
-
error?: string;
|
|
6661
|
-
}
|
|
6662
|
-
|
|
6663
6423
|
/** Merge the given keys into a message's metadata JSON. */
|
|
6664
6424
|
export declare function updateMessageMetadata(messageId: string, updates: Record<string, unknown>): Promise<void>;
|
|
6665
6425
|
|
|
@@ -6861,13 +6621,6 @@ declare interface UserPromptSubmitInputContext {
|
|
|
6861
6621
|
latestMessages: Message[];
|
|
6862
6622
|
}
|
|
6863
6623
|
|
|
6864
|
-
declare interface VercelApiConfigResponse {
|
|
6865
|
-
type: "vercel_api_config_response";
|
|
6866
|
-
hasToken: boolean;
|
|
6867
|
-
success: boolean;
|
|
6868
|
-
error?: string;
|
|
6869
|
-
}
|
|
6870
|
-
|
|
6871
6624
|
declare interface VideoEmbeddingInput {
|
|
6872
6625
|
type: "video";
|
|
6873
6626
|
data: Buffer;
|
package/package.json
CHANGED