@vellumai/plugin-api 0.11.10-dev.202609092213.434c99d → 0.11.10-dev.202609100043.5e1e257

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 (3) hide show
  1. package/index.d.ts +24 -6
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2797,8 +2797,8 @@ declare const AssistantEventPublishOptionsSchema: z.ZodObject<{
2797
2797
  macos: "macos";
2798
2798
  windows: "windows";
2799
2799
  linux: "linux";
2800
- cli: "cli";
2801
2800
  "chrome-extension": "chrome-extension";
2801
+ cli: "cli";
2802
2802
  }>>;
2803
2803
  excludeClientId: z.ZodOptional<z.ZodString>;
2804
2804
  }, z.core.$strip>;
@@ -4871,9 +4871,16 @@ export declare const HOOKS: {
4871
4871
  };
4872
4872
 
4873
4873
  /**
4874
- * Host proxy capabilities that an interface can support. macOS supports all
4875
- * of them, Windows and Linux withhold app control, and chrome-extension
4876
- * supports only host_browser through the Chrome DevTools Protocol proxy.
4874
+ * Which client provides which host capability.
4875
+ *
4876
+ * This is the single source of truth for host routing. `supportsHostProxy` in
4877
+ * `channels/types.ts` answers from this table, and the `assistant clients` help
4878
+ * text renders it so the assistant can tell a user which client unblocks a
4879
+ * task. It lives in the shared leaf zone because the CLI reads it on every
4880
+ * `assistant clients --help`, and the CLI may not hoist daemon-internal
4881
+ * modules into its static import graph.
4882
+ *
4883
+ * Pure data and pure functions only: no imports, no daemon runtime graph.
4877
4884
  */
4878
4885
  declare const HOST_PROXY_CAPABILITIES: readonly ["host_bash", "host_file", "host_cu", "host_cu_window_capture", "host_cu_annotate", "host_browser", "host_app_control", "host_ui_snapshot"];
4879
4886
 
@@ -5558,8 +5565,8 @@ declare const messageMetadataSchema: z.ZodObject<{
5558
5565
  discord: "discord";
5559
5566
  plugin: "plugin";
5560
5567
  }>>;
5561
- userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension", string>>>;
5562
- assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "cli" | "chrome-extension", string>>>;
5568
+ 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>>>;
5569
+ 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>>>;
5563
5570
  client: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5564
5571
  clientOsFromRequest: z.ZodOptional<z.ZodBoolean>;
5565
5572
  subagentNotification: z.ZodOptional<z.ZodObject<{
@@ -5724,6 +5731,17 @@ export declare function parseMessageMetadata(metadataJson: string | null): Promi
5724
5731
  */
5725
5732
  declare function parseMessageMetadata_2(metadataJson: string | null): MessageMetadata_2 | undefined;
5726
5733
 
5734
+ /**
5735
+ * Read the `surfaceId` out of a `ui_show` tool result, or `undefined` when the
5736
+ * content is not a surface envelope.
5737
+ *
5738
+ * Trailing prose after the JSON object is tolerated: guidance belongs in a
5739
+ * `note` field, but a caller that appends it instead must not silently cost
5740
+ * the reader its `surfaceId`: losing the id makes a live progress surface
5741
+ * invisible to the completion nudge, and the user watches it spin forever.
5742
+ */
5743
+ export declare function parseSurfaceShowResultId(content: string): string | undefined;
5744
+
5727
5745
  /**
5728
5746
  * Plugin-facing facade over the host's system-card writer: a daemon-authored
5729
5747
  * transcript notice, persisted as an assistant row stamped
package/index.js CHANGED
@@ -42,6 +42,7 @@ export const listInstalledSkills = api.listInstalledSkills;
42
42
  export const mediaBlockAttachmentId = api.mediaBlockAttachmentId;
43
43
  export const openTranscriptionSession = api.openTranscriptionSession;
44
44
  export const parseMessageMetadata = api.parseMessageMetadata;
45
+ export const parseSurfaceShowResultId = api.parseSurfaceShowResultId;
45
46
  export const persistSystemCard = api.persistSystemCard;
46
47
  export const publishEvent = api.publishEvent;
47
48
  export const quarantineRefusedExchanges = api.quarantineRefusedExchanges;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.10-dev.202609092213.434c99d",
3
+ "version": "0.11.10-dev.202609100043.5e1e257",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",