@vellumai/plugin-api 0.12.6-staging.3 → 0.12.7-staging.1

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.
Files changed (2) hide show
  1. package/index.d.ts +7 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6571,8 +6571,9 @@ declare const CHANNEL_DELIVERY_STATUSES: readonly ["pending", "delivered", "fail
6571
6571
  *
6572
6572
  * A "channel" is an external messaging surface an actor can reach the
6573
6573
  * assistant through (Slack, Telegram, WhatsApp, phone, …) plus a couple of
6574
- * internal ids (`vellum` for native app conversations, `platform` for the
6575
- * internal control plane). This is the single source of truth for that set:
6574
+ * internal ids (`vellum` for native app conversations, `vellum-shared` for
6575
+ * conversations a guardian shares with a contact, `platform` for the internal
6576
+ * control plane). This is the single source of truth for that set:
6576
6577
  *
6577
6578
  * One id, `plugin`, does not name a surface: it names *every* surface a plugin
6578
6579
  * brings. A plugin channel's real identity is the plugin, which is workspace
@@ -6596,7 +6597,7 @@ declare const CHANNEL_DELIVERY_STATUSES: readonly ["pending", "delivered", "fail
6596
6597
  * by `satisfies readonly ChannelId[]` for those cases rather than redefining
6597
6598
  * the union.
6598
6599
  */
6599
- declare const CHANNEL_IDS: readonly ["telegram", "phone", "vellum", "whatsapp", "slack", "email", "platform", "a2a", "discord", "plugin"];
6600
+ declare const CHANNEL_IDS: readonly ["telegram", "phone", "vellum", "whatsapp", "slack", "email", "platform", "a2a", "discord", "plugin", "vellum-shared"];
6600
6601
 
6601
6602
  /** Lifecycle of a channel inbound event's agent-turn processing. */
6602
6603
  declare const CHANNEL_PROCESSING_STATUSES: readonly ["pending", "processed", "failed", "dead_letter"];
@@ -17194,6 +17195,7 @@ declare const messageMetadataSchema: z.ZodObject<{
17194
17195
  a2a: "a2a";
17195
17196
  discord: "discord";
17196
17197
  plugin: "plugin";
17198
+ "vellum-shared": "vellum-shared";
17197
17199
  }>>;
17198
17200
  assistantMessageChannel: z.ZodOptional<z.ZodEnum<{
17199
17201
  phone: "phone";
@@ -17206,6 +17208,7 @@ declare const messageMetadataSchema: z.ZodObject<{
17206
17208
  a2a: "a2a";
17207
17209
  discord: "discord";
17208
17210
  plugin: "plugin";
17211
+ "vellum-shared": "vellum-shared";
17209
17212
  }>>;
17210
17213
  userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string>>>;
17211
17214
  assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string>>>;
@@ -17246,6 +17249,7 @@ declare const messageMetadataSchema: z.ZodObject<{
17246
17249
  a2a: "a2a";
17247
17250
  discord: "discord";
17248
17251
  plugin: "plugin";
17252
+ "vellum-shared": "vellum-shared";
17249
17253
  }>>;
17250
17254
  provenanceGuardianExternalUserId: z.ZodOptional<z.ZodString>;
17251
17255
  provenanceRequesterIdentifier: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.12.6-staging.3",
3
+ "version": "0.12.7-staging.1",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",