@vellumai/plugin-api 0.10.5-staging.1 → 0.10.5-staging.2
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
|
@@ -4894,6 +4894,13 @@ export declare interface UserPromptSubmitContext {
|
|
|
4894
4894
|
* it from the message arrays.
|
|
4895
4895
|
*/
|
|
4896
4896
|
readonly prompt: string;
|
|
4897
|
+
/**
|
|
4898
|
+
* True when the triggering message is a transcript-suppressed machine
|
|
4899
|
+
* signal (`metadata.hidden` — e.g. the channel-setup wizard-close marker)
|
|
4900
|
+
* rather than something the user typed. Hooks that treat `prompt` as
|
|
4901
|
+
* user speech (e.g. title generation) should skip these turns.
|
|
4902
|
+
*/
|
|
4903
|
+
readonly isHiddenPrompt?: boolean;
|
|
4897
4904
|
/**
|
|
4898
4905
|
* The user's original message list, immutable for the hook. Plugins
|
|
4899
4906
|
* may snapshot or compare against this but MUST NOT mutate it.
|