@vellumai/plugin-api 0.10.4-dev.202607021451.5405670 → 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 +19 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -4865,6 +4865,14 @@ export declare interface UserPromptSubmitContext {
4865
4865
  * attach turn-scoped metadata to the originating message (e.g. recording an
4866
4866
  * injected memory block so it survives a conversation reload) key off this
4867
4867
  * row id rather than the in-memory message arrays, whose entries carry no id.
4868
+ *
4869
+ * @deprecated This field is always identical to {@link requestId}; use
4870
+ * `requestId` instead. Every path that starts an agent loop persists the
4871
+ * triggering user message under the turn's request ID before running, so
4872
+ * the message row id and the request's correlation ID are the same UUID.
4873
+ * This holds for the standard submit, queue-drain, subagent, voice, wake,
4874
+ * and conversation-analysis paths alike. This field will be removed in a
4875
+ * future API version.
4868
4876
  */
4869
4877
  readonly userMessageId: string;
4870
4878
  /**
@@ -4872,6 +4880,10 @@ export declare interface UserPromptSubmitContext {
4872
4880
  * runtime injection forward it onto the injector turn context so the
4873
4881
  * assembled blocks are attributed to the originating request; it is fixed
4874
4882
  * for the turn and cannot be recovered from the message arrays.
4883
+ *
4884
+ * As of the requestId/userMessageId merge, this value is also the
4885
+ * persisted row ID of the user message, so hooks that previously
4886
+ * keyed off {@link userMessageId} can use `requestId` directly.
4875
4887
  */
4876
4888
  readonly requestId: string;
4877
4889
  /**
@@ -4902,6 +4914,13 @@ export declare interface UserPromptSubmitContext {
4902
4914
  * it from the message arrays.
4903
4915
  */
4904
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;
4905
4924
  /**
4906
4925
  * The user's original message list, immutable for the hook. Plugins
4907
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.202607021451.5405670",
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",