@vellumai/plugin-api 0.10.4-dev.202607021551.0606da4 → 0.10.4-dev.202607021737.083736d

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 +8 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2666,6 +2666,7 @@ declare const OpenPanelEventSchema: z.ZodObject<{
2666
2666
  panelType: z.ZodString;
2667
2667
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2668
2668
  conversationId: z.ZodOptional<z.ZodString>;
2669
+ surfaceId: z.ZodOptional<z.ZodString>;
2669
2670
  }, z.core.$strip>;
2670
2671
 
2671
2672
  declare type OpenUrlEvent = z.infer<typeof OpenUrlEventSchema>;
@@ -4914,6 +4915,13 @@ export declare interface UserPromptSubmitContext {
4914
4915
  * it from the message arrays.
4915
4916
  */
4916
4917
  readonly prompt: string;
4918
+ /**
4919
+ * True when the triggering message is a transcript-suppressed machine
4920
+ * signal (`metadata.hidden` — e.g. the channel-setup wizard-close marker)
4921
+ * rather than something the user typed. Hooks that treat `prompt` as
4922
+ * user speech (e.g. title generation) should skip these turns.
4923
+ */
4924
+ readonly isHiddenPrompt?: boolean;
4917
4925
  /**
4918
4926
  * The user's original message list, immutable for the hook. Plugins
4919
4927
  * may snapshot or compare against this but MUST NOT mutate it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.4-dev.202607021551.0606da4",
3
+ "version": "0.10.4-dev.202607021737.083736d",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",