@vellumai/plugin-api 0.11.2-staging.1 → 0.11.2-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.
Files changed (2) hide show
  1. package/index.d.ts +12 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -4545,6 +4545,18 @@ declare interface LiveVoiceActivityServerFrame extends LiveVoiceServerFrameBase
4545
4545
  readonly type: "activity";
4546
4546
  readonly turnId: string;
4547
4547
  readonly label: string;
4548
+ /**
4549
+ * The confirmation this turn is blocked on, when the label describes a wait
4550
+ * rather than work in flight. Absent otherwise.
4551
+ *
4552
+ * It travels so that a surface outside the app — the Live Activity's
4553
+ * Approve/Deny buttons — can answer the request it was drawn against rather
4554
+ * than whatever is pending by the time the press lands. Content on a Lock
4555
+ * Screen can be seconds old, and a decision is the one thing that must not
4556
+ * be re-pointed when it is: the id lets a client drop a press aimed at a
4557
+ * request already answered, timed out, or superseded.
4558
+ */
4559
+ readonly approvalRequestId?: string;
4548
4560
  }
4549
4561
 
4550
4562
  declare interface LiveVoiceArchivedServerFrame extends LiveVoiceServerFrameBase {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.2-staging.1",
3
+ "version": "0.11.2-staging.2",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",