@vellumai/plugin-api 0.10.4-dev.202607021551.0606da4 → 0.10.4-dev.202607021641.939c159

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 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -4914,6 +4914,13 @@ export declare interface UserPromptSubmitContext {
4914
4914
  * it from the message arrays.
4915
4915
  */
4916
4916
  readonly prompt: string;
4917
+ /**
4918
+ * True when the triggering message is a transcript-suppressed machine
4919
+ * signal (`metadata.hidden` — e.g. the channel-setup wizard-close marker)
4920
+ * rather than something the user typed. Hooks that treat `prompt` as
4921
+ * user speech (e.g. title generation) should skip these turns.
4922
+ */
4923
+ readonly isHiddenPrompt?: boolean;
4917
4924
  /**
4918
4925
  * The user's original message list, immutable for the hook. Plugins
4919
4926
  * 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.202607021641.939c159",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",