@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.
- package/index.d.ts +7 -0
- 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