@vellumai/plugin-api 0.10.12-dev.202607271736.e69cfe3 → 0.10.12-dev.202607271934.80199f1
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 +34 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -361,6 +361,23 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
361
361
|
summarization: z.ZodDefault<z.ZodObject<{
|
|
362
362
|
useLLM: z.ZodDefault<z.ZodBoolean>;
|
|
363
363
|
}, z.core.$strip>>;
|
|
364
|
+
substrate: z.ZodDefault<z.ZodObject<{
|
|
365
|
+
sweep_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
366
|
+
dense_weight: z.ZodOptional<z.ZodNumber>;
|
|
367
|
+
sparse_weight: z.ZodOptional<z.ZodNumber>;
|
|
368
|
+
min_sparse_spread: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
full_sparse_spread: z.ZodOptional<z.ZodNumber>;
|
|
370
|
+
bm25_k1: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
bm25_b: z.ZodOptional<z.ZodNumber>;
|
|
372
|
+
consolidation_interval_hours: z.ZodOptional<z.ZodNumber>;
|
|
373
|
+
consolidation_max_buffer_lines: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
374
|
+
consolidation_max_entries_per_run: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
375
|
+
max_page_chars: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
consolidation_prompt_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
377
|
+
spread_k: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
spread_hops: z.ZodOptional<z.ZodNumber>;
|
|
379
|
+
ann_candidate_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
380
|
+
}, z.core.$strip>>;
|
|
364
381
|
v2: z.ZodDefault<z.ZodObject<{
|
|
365
382
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
366
383
|
sweep_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1015,6 +1032,8 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1015
1032
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1016
1033
|
opsThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1017
1034
|
idleIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
1035
|
+
maxSilenceMs: z.ZodDefault<z.ZodNumber>;
|
|
1036
|
+
longOpMs: z.ZodDefault<z.ZodNumber>;
|
|
1018
1037
|
minGapMs: z.ZodDefault<z.ZodNumber>;
|
|
1019
1038
|
generationTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1020
1039
|
}, z.core.$strip>>;
|
|
@@ -2489,6 +2508,7 @@ declare const AssistantEventPublishOptionsSchema: z.ZodObject<{
|
|
|
2489
2508
|
slack: "slack";
|
|
2490
2509
|
email: "email";
|
|
2491
2510
|
a2a: "a2a";
|
|
2511
|
+
discord: "discord";
|
|
2492
2512
|
macos: "macos";
|
|
2493
2513
|
ios: "ios";
|
|
2494
2514
|
cli: "cli";
|
|
@@ -4283,7 +4303,7 @@ declare interface InsertedMessage {
|
|
|
4283
4303
|
deduplicated: boolean;
|
|
4284
4304
|
}
|
|
4285
4305
|
|
|
4286
|
-
declare const INTERFACE_IDS: readonly ["macos", "ios", "cli", "telegram", "phone", "web", "whatsapp", "slack", "email", "chrome-extension", "a2a", "route"];
|
|
4306
|
+
declare const INTERFACE_IDS: readonly ["macos", "ios", "cli", "telegram", "phone", "web", "whatsapp", "slack", "email", "chrome-extension", "a2a", "discord", "route"];
|
|
4287
4307
|
|
|
4288
4308
|
declare type InterfaceId = (typeof INTERFACE_IDS)[number];
|
|
4289
4309
|
|
|
@@ -4673,6 +4693,7 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
4673
4693
|
slack: "slack";
|
|
4674
4694
|
email: "email";
|
|
4675
4695
|
a2a: "a2a";
|
|
4696
|
+
discord: "discord";
|
|
4676
4697
|
}>>;
|
|
4677
4698
|
assistantMessageChannel: z.ZodOptional<z.ZodEnum<{
|
|
4678
4699
|
vellum: "vellum";
|
|
@@ -4683,9 +4704,10 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
4683
4704
|
slack: "slack";
|
|
4684
4705
|
email: "email";
|
|
4685
4706
|
a2a: "a2a";
|
|
4707
|
+
discord: "discord";
|
|
4686
4708
|
}>>;
|
|
4687
|
-
userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route" | null, string>> & z.ZodType<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route", string, z.core.$ZodTypeInternals<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route", string>>>;
|
|
4688
|
-
assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route" | null, string>> & z.ZodType<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route", string, z.core.$ZodTypeInternals<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route", string>>>;
|
|
4709
|
+
userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route" | null, string>> & z.ZodType<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route", string, z.core.$ZodTypeInternals<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route", string>>>;
|
|
4710
|
+
assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route" | null, string>> & z.ZodType<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route", string, z.core.$ZodTypeInternals<"telegram" | "phone" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "macos" | "ios" | "cli" | "web" | "chrome-extension" | "route", string>>>;
|
|
4689
4711
|
client: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4690
4712
|
subagentNotification: z.ZodOptional<z.ZodObject<{
|
|
4691
4713
|
subagentId: z.ZodString;
|
|
@@ -4720,6 +4742,7 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
4720
4742
|
slack: "slack";
|
|
4721
4743
|
email: "email";
|
|
4722
4744
|
a2a: "a2a";
|
|
4745
|
+
discord: "discord";
|
|
4723
4746
|
}>>;
|
|
4724
4747
|
provenanceGuardianExternalUserId: z.ZodOptional<z.ZodString>;
|
|
4725
4748
|
provenanceRequesterIdentifier: z.ZodOptional<z.ZodString>;
|
|
@@ -6235,6 +6258,14 @@ export declare interface ToolContext {
|
|
|
6235
6258
|
* supported (desktop/web/app clients).
|
|
6236
6259
|
*/
|
|
6237
6260
|
supportsDynamicUi?: boolean;
|
|
6261
|
+
/**
|
|
6262
|
+
* Whether a parked `ask_question` on this turn's channel can be delivered as
|
|
6263
|
+
* a guardian-request card with tappable answer options (via the notification
|
|
6264
|
+
* pipeline's channel adapters). `ask_question` parks when this is true even
|
|
6265
|
+
* without dynamic UI; otherwise channel turns degrade to the plain-text
|
|
6266
|
+
* fallback. `undefined`/`false` means no card delivery is possible.
|
|
6267
|
+
*/
|
|
6268
|
+
supportsGuardianQuestionCards?: boolean;
|
|
6238
6269
|
/**
|
|
6239
6270
|
* When set, the tool execution is part of a task run. Used to retrieve ephemeral permission rules.
|
|
6240
6271
|
* @legacy
|
package/package.json
CHANGED