@vellumai/plugin-api 0.10.11-dev.202607232203.0135de5 → 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 +6 -184
- 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
|
-
}
|
|
189
|
-
|
|
190
|
-
declare interface AppHistoryResponse {
|
|
191
|
-
type: "app_history_response";
|
|
192
|
-
appId: string;
|
|
193
|
-
versions: Array<{
|
|
194
|
-
commitHash: string;
|
|
195
|
-
message: string;
|
|
196
|
-
timestamp: number;
|
|
197
|
-
}>;
|
|
198
|
-
}
|
|
158
|
+
declare type AppFilesChangedEvent = z.infer<typeof AppFilesChangedEventSchema>;
|
|
199
159
|
|
|
200
|
-
declare
|
|
201
|
-
type: "
|
|
202
|
-
appId:
|
|
203
|
-
|
|
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
|
-
}
|
|
225
|
-
|
|
226
|
-
declare type _AppsServerMessages = AppDataResponse | AppsListResponse | SharedAppsListResponse | AppDeleteResponse | SharedAppDeleteResponse | ForkSharedAppResponse | BundleAppResponse | OpenBundleResponse | SignBundlePayloadRequest | GetSigningIdentityRequest | ShareAppCloudResponse | AppHistoryResponse | AppDiffResponse | AppFileAtVersionResponse | AppRestoreResponse | AppUpdatePreviewResponse | AppPreviewResponse | PublishPageResponse | UnpublishPageResponse | AppFilesChanged;
|
|
160
|
+
declare const AppFilesChangedEventSchema: z.ZodObject<{
|
|
161
|
+
type: z.ZodLiteral<"app_files_changed">;
|
|
162
|
+
appId: z.ZodString;
|
|
163
|
+
}, z.core.$strip>;
|
|
227
164
|
|
|
228
|
-
declare
|
|
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
|
*
|
|
@@ -4063,32 +3964,6 @@ declare const OAuthConnectSurfaceDataSchema: z.ZodObject<{
|
|
|
4063
3964
|
logoUrl: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4064
3965
|
}, z.core.$strip>;
|
|
4065
3966
|
|
|
4066
|
-
declare interface OpenBundleResponse {
|
|
4067
|
-
type: "open_bundle_response";
|
|
4068
|
-
manifest: {
|
|
4069
|
-
format_version: number;
|
|
4070
|
-
name: string;
|
|
4071
|
-
description?: string;
|
|
4072
|
-
icon?: string;
|
|
4073
|
-
created_at: string;
|
|
4074
|
-
created_by: string;
|
|
4075
|
-
entry: string;
|
|
4076
|
-
capabilities: string[];
|
|
4077
|
-
};
|
|
4078
|
-
scanResult: {
|
|
4079
|
-
passed: boolean;
|
|
4080
|
-
blocked: string[];
|
|
4081
|
-
warnings: string[];
|
|
4082
|
-
};
|
|
4083
|
-
signatureResult: {
|
|
4084
|
-
trustTier: "verified" | "signed" | "unsigned" | "tampered";
|
|
4085
|
-
signerKeyId?: string;
|
|
4086
|
-
signerDisplayName?: string;
|
|
4087
|
-
signerAccount?: string;
|
|
4088
|
-
};
|
|
4089
|
-
bundleSizeBytes: number;
|
|
4090
|
-
}
|
|
4091
|
-
|
|
4092
3967
|
declare type OpenConversationEvent = z.infer<typeof OpenConversationEventSchema>;
|
|
4093
3968
|
|
|
4094
3969
|
declare const OpenConversationEventSchema: z.ZodObject<{
|
|
@@ -4647,15 +4522,6 @@ declare interface ProxyApprovalRequest {
|
|
|
4647
4522
|
|
|
4648
4523
|
declare type ProxyToolResolver = (toolName: string, input: Record<string, unknown>) => Promise<ToolExecutionResult>;
|
|
4649
4524
|
|
|
4650
|
-
declare interface PublishPageResponse {
|
|
4651
|
-
type: "publish_page_response";
|
|
4652
|
-
success: boolean;
|
|
4653
|
-
publicUrl?: string;
|
|
4654
|
-
deploymentId?: string;
|
|
4655
|
-
error?: string;
|
|
4656
|
-
errorCode?: string;
|
|
4657
|
-
}
|
|
4658
|
-
|
|
4659
4525
|
/**
|
|
4660
4526
|
* Remove every previously-refused exchange from a working history: for each
|
|
4661
4527
|
* assistant message that is exactly the refusal fallback, drop it together with
|
|
@@ -5249,38 +5115,6 @@ declare const ServiceGroupUpdateStartingEventSchema: z.ZodObject<{
|
|
|
5249
5115
|
|
|
5250
5116
|
declare type _SettingsServerMessages = ClientSettingsUpdateEvent | AvatarUpdatedEvent | ConfigChangedEvent | SoundsConfigUpdatedEvent;
|
|
5251
5117
|
|
|
5252
|
-
declare interface ShareAppCloudResponse {
|
|
5253
|
-
type: "share_app_cloud_response";
|
|
5254
|
-
success: boolean;
|
|
5255
|
-
shareToken?: string;
|
|
5256
|
-
shareUrl?: string;
|
|
5257
|
-
error?: string;
|
|
5258
|
-
}
|
|
5259
|
-
|
|
5260
|
-
declare interface SharedAppDeleteResponse {
|
|
5261
|
-
type: "shared_app_delete_response";
|
|
5262
|
-
success: boolean;
|
|
5263
|
-
}
|
|
5264
|
-
|
|
5265
|
-
declare interface SharedAppsListResponse {
|
|
5266
|
-
type: "shared_apps_list_response";
|
|
5267
|
-
apps: Array<{
|
|
5268
|
-
uuid: string;
|
|
5269
|
-
name: string;
|
|
5270
|
-
description?: string;
|
|
5271
|
-
icon?: string;
|
|
5272
|
-
preview?: string;
|
|
5273
|
-
entry: string;
|
|
5274
|
-
trustTier: string;
|
|
5275
|
-
signerDisplayName?: string;
|
|
5276
|
-
bundleSizeBytes: number;
|
|
5277
|
-
installedAt: string;
|
|
5278
|
-
version?: string;
|
|
5279
|
-
contentId?: string;
|
|
5280
|
-
updateAvailable?: boolean;
|
|
5281
|
-
}>;
|
|
5282
|
-
}
|
|
5283
|
-
|
|
5284
5118
|
declare type ShowPlatformLoginEvent = z.infer<typeof ShowPlatformLoginEventSchema>;
|
|
5285
5119
|
|
|
5286
5120
|
declare const ShowPlatformLoginEventSchema: z.ZodObject<{
|
|
@@ -5328,12 +5162,6 @@ export declare interface ShutdownContext {
|
|
|
5328
5162
|
*/
|
|
5329
5163
|
declare type ShutdownReason = "shutdown" | "uninstall" | "disable" | "reload";
|
|
5330
5164
|
|
|
5331
|
-
declare interface SignBundlePayloadRequest {
|
|
5332
|
-
type: "sign_bundle_payload";
|
|
5333
|
-
requestId: string;
|
|
5334
|
-
payload: string;
|
|
5335
|
-
}
|
|
5336
|
-
|
|
5337
5165
|
declare interface SkillInstallMeta {
|
|
5338
5166
|
origin: "vellum" | "clawhub" | "skillssh" | "custom";
|
|
5339
5167
|
installedAt: string;
|
|
@@ -6592,12 +6420,6 @@ declare interface UndoComplete {
|
|
|
6592
6420
|
conversationId?: string;
|
|
6593
6421
|
}
|
|
6594
6422
|
|
|
6595
|
-
declare interface UnpublishPageResponse {
|
|
6596
|
-
type: "unpublish_page_response";
|
|
6597
|
-
success: boolean;
|
|
6598
|
-
error?: string;
|
|
6599
|
-
}
|
|
6600
|
-
|
|
6601
6423
|
/** Merge the given keys into a message's metadata JSON. */
|
|
6602
6424
|
export declare function updateMessageMetadata(messageId: string, updates: Record<string, unknown>): Promise<void>;
|
|
6603
6425
|
|
package/package.json
CHANGED