@vellumai/plugin-api 0.12.5-dev.202609260125.8a6a403 → 0.12.5-staging.2
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 +4 -197
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2097,10 +2097,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
2097
2097
|
}, z.core.$strip>>;
|
|
2098
2098
|
}, z.core.$strip>>;
|
|
2099
2099
|
conversations: z.ZodDefault<z.ZodObject<{
|
|
2100
|
-
autoArchive: z.ZodDefault<z.ZodObject<{
|
|
2101
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2102
|
-
afterDays: z.ZodDefault<z.ZodLiteral<1 | 30 | 14 | 7>>;
|
|
2103
|
-
}, z.core.$strip>>;
|
|
2104
2100
|
skipAutoRetitling: z.ZodDefault<z.ZodBoolean>;
|
|
2105
2101
|
backgroundInjection: z.ZodDefault<z.ZodString>;
|
|
2106
2102
|
resumeProcessingOnStartup: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2380,9 +2376,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
2380
2376
|
sigkillGracePeriodMs: z.ZodDefault<z.ZodNumber>;
|
|
2381
2377
|
standaloneRecording: z.ZodDefault<z.ZodBoolean>;
|
|
2382
2378
|
}, z.core.$strip>>;
|
|
2383
|
-
notifications: z.ZodDefault<z.ZodObject<{
|
|
2384
|
-
newMessageEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
2385
|
-
}, z.core.$strip>>;
|
|
2379
|
+
notifications: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
|
|
2386
2380
|
ui: z.ZodDefault<z.ZodObject<{
|
|
2387
2381
|
userTimezone: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
2388
2382
|
detectedTimezone: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
@@ -2965,15 +2959,12 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
2965
2959
|
surfaceId: z.ZodString;
|
|
2966
2960
|
title: z.ZodString;
|
|
2967
2961
|
initialContent: z.ZodString;
|
|
2968
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
2969
2962
|
}, z.core.$strip>, z.ZodObject<{
|
|
2970
2963
|
type: z.ZodLiteral<"document_editor_update">;
|
|
2971
2964
|
conversationId: z.ZodString;
|
|
2972
2965
|
surfaceId: z.ZodString;
|
|
2973
2966
|
markdown: z.ZodString;
|
|
2974
2967
|
mode: z.ZodString;
|
|
2975
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
2976
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2977
2968
|
}, z.core.$strip>, z.ZodObject<{
|
|
2978
2969
|
type: z.ZodLiteral<"error">;
|
|
2979
2970
|
message: z.ZodString;
|
|
@@ -4608,15 +4599,12 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4608
4599
|
surfaceId: z.ZodString;
|
|
4609
4600
|
title: z.ZodString;
|
|
4610
4601
|
initialContent: z.ZodString;
|
|
4611
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
4612
4602
|
}, z.core.$strip>, z.ZodObject<{
|
|
4613
4603
|
type: z.ZodLiteral<"document_editor_update">;
|
|
4614
4604
|
conversationId: z.ZodString;
|
|
4615
4605
|
surfaceId: z.ZodString;
|
|
4616
4606
|
markdown: z.ZodString;
|
|
4617
4607
|
mode: z.ZodString;
|
|
4618
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
4619
|
-
title: z.ZodOptional<z.ZodString>;
|
|
4620
4608
|
}, z.core.$strip>, z.ZodObject<{
|
|
4621
4609
|
type: z.ZodLiteral<"error">;
|
|
4622
4610
|
message: z.ZodString;
|
|
@@ -5819,9 +5807,6 @@ export declare interface AudioEmbeddingInput {
|
|
|
5819
5807
|
mimeType: string;
|
|
5820
5808
|
}
|
|
5821
5809
|
|
|
5822
|
-
/** `profileSource` reported for a turn whose profile the Auto router chose. */
|
|
5823
|
-
declare const AUTO_PROFILE_SOURCE = "auto";
|
|
5824
|
-
|
|
5825
5810
|
/**
|
|
5826
5811
|
* Media payload for an image or file content block. One unified type covers
|
|
5827
5812
|
* both blocks and both storage forms:
|
|
@@ -9398,23 +9383,6 @@ baseColumn: never;
|
|
|
9398
9383
|
identity: undefined;
|
|
9399
9384
|
generated: undefined;
|
|
9400
9385
|
}, {}, {}>;
|
|
9401
|
-
lastReopenedAt: SQLiteColumn< {
|
|
9402
|
-
name: "last_reopened_at";
|
|
9403
|
-
tableName: "conversations";
|
|
9404
|
-
dataType: "number";
|
|
9405
|
-
columnType: "SQLiteInteger";
|
|
9406
|
-
data: number;
|
|
9407
|
-
driverParam: number;
|
|
9408
|
-
notNull: false;
|
|
9409
|
-
hasDefault: false;
|
|
9410
|
-
isPrimaryKey: false;
|
|
9411
|
-
isAutoincrement: false;
|
|
9412
|
-
hasRuntimeDefault: false;
|
|
9413
|
-
enumValues: undefined;
|
|
9414
|
-
baseColumn: never;
|
|
9415
|
-
identity: undefined;
|
|
9416
|
-
generated: undefined;
|
|
9417
|
-
}, {}, {}>;
|
|
9418
9386
|
surfacedAt: SQLiteColumn< {
|
|
9419
9387
|
name: "surfaced_at";
|
|
9420
9388
|
tableName: "conversations";
|
|
@@ -11233,141 +11201,6 @@ generated: undefined;
|
|
|
11233
11201
|
dialect: "sqlite";
|
|
11234
11202
|
}>;
|
|
11235
11203
|
|
|
11236
|
-
declare const documentRevisions: SQLiteTableWithColumns< {
|
|
11237
|
-
name: "document_revisions";
|
|
11238
|
-
schema: undefined;
|
|
11239
|
-
columns: {
|
|
11240
|
-
surfaceId: SQLiteColumn< {
|
|
11241
|
-
name: "surface_id";
|
|
11242
|
-
tableName: "document_revisions";
|
|
11243
|
-
dataType: "string";
|
|
11244
|
-
columnType: "SQLiteText";
|
|
11245
|
-
data: string;
|
|
11246
|
-
driverParam: string;
|
|
11247
|
-
notNull: true;
|
|
11248
|
-
hasDefault: false;
|
|
11249
|
-
isPrimaryKey: false;
|
|
11250
|
-
isAutoincrement: false;
|
|
11251
|
-
hasRuntimeDefault: false;
|
|
11252
|
-
enumValues: [string, ...string[]];
|
|
11253
|
-
baseColumn: never;
|
|
11254
|
-
identity: undefined;
|
|
11255
|
-
generated: undefined;
|
|
11256
|
-
}, {}, {
|
|
11257
|
-
length: number | undefined;
|
|
11258
|
-
}>;
|
|
11259
|
-
revision: SQLiteColumn< {
|
|
11260
|
-
name: "revision";
|
|
11261
|
-
tableName: "document_revisions";
|
|
11262
|
-
dataType: "number";
|
|
11263
|
-
columnType: "SQLiteInteger";
|
|
11264
|
-
data: number;
|
|
11265
|
-
driverParam: number;
|
|
11266
|
-
notNull: true;
|
|
11267
|
-
hasDefault: false;
|
|
11268
|
-
isPrimaryKey: false;
|
|
11269
|
-
isAutoincrement: false;
|
|
11270
|
-
hasRuntimeDefault: false;
|
|
11271
|
-
enumValues: undefined;
|
|
11272
|
-
baseColumn: never;
|
|
11273
|
-
identity: undefined;
|
|
11274
|
-
generated: undefined;
|
|
11275
|
-
}, {}, {}>;
|
|
11276
|
-
title: SQLiteColumn< {
|
|
11277
|
-
name: "title";
|
|
11278
|
-
tableName: "document_revisions";
|
|
11279
|
-
dataType: "string";
|
|
11280
|
-
columnType: "SQLiteText";
|
|
11281
|
-
data: string;
|
|
11282
|
-
driverParam: string;
|
|
11283
|
-
notNull: true;
|
|
11284
|
-
hasDefault: false;
|
|
11285
|
-
isPrimaryKey: false;
|
|
11286
|
-
isAutoincrement: false;
|
|
11287
|
-
hasRuntimeDefault: false;
|
|
11288
|
-
enumValues: [string, ...string[]];
|
|
11289
|
-
baseColumn: never;
|
|
11290
|
-
identity: undefined;
|
|
11291
|
-
generated: undefined;
|
|
11292
|
-
}, {}, {
|
|
11293
|
-
length: number | undefined;
|
|
11294
|
-
}>;
|
|
11295
|
-
content: SQLiteColumn< {
|
|
11296
|
-
name: "content";
|
|
11297
|
-
tableName: "document_revisions";
|
|
11298
|
-
dataType: "string";
|
|
11299
|
-
columnType: "SQLiteText";
|
|
11300
|
-
data: string;
|
|
11301
|
-
driverParam: string;
|
|
11302
|
-
notNull: true;
|
|
11303
|
-
hasDefault: false;
|
|
11304
|
-
isPrimaryKey: false;
|
|
11305
|
-
isAutoincrement: false;
|
|
11306
|
-
hasRuntimeDefault: false;
|
|
11307
|
-
enumValues: [string, ...string[]];
|
|
11308
|
-
baseColumn: never;
|
|
11309
|
-
identity: undefined;
|
|
11310
|
-
generated: undefined;
|
|
11311
|
-
}, {}, {
|
|
11312
|
-
length: number | undefined;
|
|
11313
|
-
}>;
|
|
11314
|
-
wordCount: SQLiteColumn< {
|
|
11315
|
-
name: "word_count";
|
|
11316
|
-
tableName: "document_revisions";
|
|
11317
|
-
dataType: "number";
|
|
11318
|
-
columnType: "SQLiteInteger";
|
|
11319
|
-
data: number;
|
|
11320
|
-
driverParam: number;
|
|
11321
|
-
notNull: true;
|
|
11322
|
-
hasDefault: true;
|
|
11323
|
-
isPrimaryKey: false;
|
|
11324
|
-
isAutoincrement: false;
|
|
11325
|
-
hasRuntimeDefault: false;
|
|
11326
|
-
enumValues: undefined;
|
|
11327
|
-
baseColumn: never;
|
|
11328
|
-
identity: undefined;
|
|
11329
|
-
generated: undefined;
|
|
11330
|
-
}, {}, {}>;
|
|
11331
|
-
author: SQLiteColumn< {
|
|
11332
|
-
name: "author";
|
|
11333
|
-
tableName: "document_revisions";
|
|
11334
|
-
dataType: "string";
|
|
11335
|
-
columnType: "SQLiteText";
|
|
11336
|
-
data: string;
|
|
11337
|
-
driverParam: string;
|
|
11338
|
-
notNull: true;
|
|
11339
|
-
hasDefault: false;
|
|
11340
|
-
isPrimaryKey: false;
|
|
11341
|
-
isAutoincrement: false;
|
|
11342
|
-
hasRuntimeDefault: false;
|
|
11343
|
-
enumValues: [string, ...string[]];
|
|
11344
|
-
baseColumn: never;
|
|
11345
|
-
identity: undefined;
|
|
11346
|
-
generated: undefined;
|
|
11347
|
-
}, {}, {
|
|
11348
|
-
length: number | undefined;
|
|
11349
|
-
}>;
|
|
11350
|
-
createdAt: SQLiteColumn< {
|
|
11351
|
-
name: "created_at";
|
|
11352
|
-
tableName: "document_revisions";
|
|
11353
|
-
dataType: "number";
|
|
11354
|
-
columnType: "SQLiteInteger";
|
|
11355
|
-
data: number;
|
|
11356
|
-
driverParam: number;
|
|
11357
|
-
notNull: true;
|
|
11358
|
-
hasDefault: false;
|
|
11359
|
-
isPrimaryKey: false;
|
|
11360
|
-
isAutoincrement: false;
|
|
11361
|
-
hasRuntimeDefault: false;
|
|
11362
|
-
enumValues: undefined;
|
|
11363
|
-
baseColumn: never;
|
|
11364
|
-
identity: undefined;
|
|
11365
|
-
generated: undefined;
|
|
11366
|
-
}, {}, {}>;
|
|
11367
|
-
};
|
|
11368
|
-
dialect: "sqlite";
|
|
11369
|
-
}>;
|
|
11370
|
-
|
|
11371
11204
|
declare const documents: SQLiteTableWithColumns< {
|
|
11372
11205
|
name: "documents";
|
|
11373
11206
|
schema: undefined;
|
|
@@ -11499,23 +11332,6 @@ baseColumn: never;
|
|
|
11499
11332
|
identity: undefined;
|
|
11500
11333
|
generated: undefined;
|
|
11501
11334
|
}, {}, {}>;
|
|
11502
|
-
revision: SQLiteColumn< {
|
|
11503
|
-
name: "revision";
|
|
11504
|
-
tableName: "documents";
|
|
11505
|
-
dataType: "number";
|
|
11506
|
-
columnType: "SQLiteInteger";
|
|
11507
|
-
data: number;
|
|
11508
|
-
driverParam: number;
|
|
11509
|
-
notNull: true;
|
|
11510
|
-
hasDefault: true;
|
|
11511
|
-
isPrimaryKey: false;
|
|
11512
|
-
isAutoincrement: false;
|
|
11513
|
-
hasRuntimeDefault: false;
|
|
11514
|
-
enumValues: undefined;
|
|
11515
|
-
baseColumn: never;
|
|
11516
|
-
identity: undefined;
|
|
11517
|
-
generated: undefined;
|
|
11518
|
-
}, {}, {}>;
|
|
11519
11335
|
workspacePath: SQLiteColumn< {
|
|
11520
11336
|
name: "workspace_path";
|
|
11521
11337
|
tableName: "documents";
|
|
@@ -22041,7 +21857,6 @@ declare namespace schema {
|
|
|
22041
21857
|
documents,
|
|
22042
21858
|
documentConversations,
|
|
22043
21859
|
documentComments,
|
|
22044
|
-
documentRevisions,
|
|
22045
21860
|
scopedApprovalGrants,
|
|
22046
21861
|
providerConnections,
|
|
22047
21862
|
ProviderConnectionRow,
|
|
@@ -22524,13 +22339,6 @@ export declare interface SendMessageConfig {
|
|
|
22524
22339
|
* silently fall through.
|
|
22525
22340
|
*/
|
|
22526
22341
|
overrideProfile?: string;
|
|
22527
|
-
/**
|
|
22528
|
-
* Who chose `overrideProfile`: `"auto"` when the Auto profile's router
|
|
22529
|
-
* picked it for the turn. Usage attribution reports it as the profile
|
|
22530
|
-
* source so a routed turn is not counted as a user pin. A routing-time
|
|
22531
|
-
* concern only; stripped before any provider wire request.
|
|
22532
|
-
*/
|
|
22533
|
-
overrideProfileOrigin?: "auto";
|
|
22534
22342
|
/**
|
|
22535
22343
|
* When true, the resolver floats `overrideProfile` above the call-site
|
|
22536
22344
|
* layers (named site profile + call-site override) for non-main-agent call
|
|
@@ -22590,9 +22398,8 @@ export declare interface SendMessageConfig {
|
|
|
22590
22398
|
usageAttributionHeaders?: Record<string, string>;
|
|
22591
22399
|
/**
|
|
22592
22400
|
* Per-request HTTP headers merged onto the transport. `RetryProvider`
|
|
22593
|
-
* stamps these for providers that need
|
|
22594
|
-
*
|
|
22595
|
-
* `x-session-affinity`). Provider clients pass
|
|
22401
|
+
* stamps these for providers that need support-lookup headers (OpenCode
|
|
22402
|
+
* `x-opencode-session` / `x-opencode-request`). Provider clients pass
|
|
22596
22403
|
* them through SDK request options only and must never include this
|
|
22597
22404
|
* object in provider JSON request bodies.
|
|
22598
22405
|
*/
|
|
@@ -24838,7 +24645,7 @@ declare interface UiSurfaceContent {
|
|
|
24838
24645
|
/** Merge the given keys into a message's metadata JSON. */
|
|
24839
24646
|
export declare function updateMessageMetadata(messageId: string, updates: Record<string, unknown>): Promise<void>;
|
|
24840
24647
|
|
|
24841
|
-
declare type UsageAttributionProfileSource = "call_site" | "conversation" | "active" | "default" |
|
|
24648
|
+
declare type UsageAttributionProfileSource = "call_site" | "conversation" | "active" | "default" | "unknown";
|
|
24842
24649
|
|
|
24843
24650
|
declare interface UsageAttributionSnapshot {
|
|
24844
24651
|
callSite: LLMCallSite | null;
|
package/package.json
CHANGED