@vellumai/plugin-api 0.10.7-dev.202607081550.3b72156 → 0.10.7-dev.202607081637.edc12f5
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 +17 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2370,9 +2370,9 @@ declare const InteractionResolvedEventSchema: z.ZodObject<{
|
|
|
2370
2370
|
state: z.ZodEnum<{
|
|
2371
2371
|
approved: "approved";
|
|
2372
2372
|
cancelled: "cancelled";
|
|
2373
|
+
superseded: "superseded";
|
|
2373
2374
|
rejected: "rejected";
|
|
2374
2375
|
answered: "answered";
|
|
2375
|
-
superseded: "superseded";
|
|
2376
2376
|
}>;
|
|
2377
2377
|
kind: z.ZodString;
|
|
2378
2378
|
}, z.core.$strip>;
|
|
@@ -3482,11 +3482,22 @@ declare interface SecretPromptResult {
|
|
|
3482
3482
|
/**
|
|
3483
3483
|
* Why `value` is null. `"cancelled"` = the user explicitly dismissed the
|
|
3484
3484
|
* prompt (a valid flow, not a failure); `"timed_out"` = no response within
|
|
3485
|
-
* the permission-timeout window
|
|
3486
|
-
*
|
|
3487
|
-
*
|
|
3488
|
-
|
|
3489
|
-
|
|
3485
|
+
* the permission-timeout window; `"superseded"` = a newer message in the
|
|
3486
|
+
* conversation auto-denied the pending prompt before anyone answered it.
|
|
3487
|
+
* Only meaningful when `value` is null and `error` is unset. Lets callers
|
|
3488
|
+
* distinguish a deliberate cancel from a genuine failure instead of
|
|
3489
|
+
* treating both as an error.
|
|
3490
|
+
*/
|
|
3491
|
+
reason?: "cancelled" | "timed_out" | "superseded";
|
|
3492
|
+
/**
|
|
3493
|
+
* One-time collection URL minted when the channel cannot render the secure
|
|
3494
|
+
* prompt. Set together with `error: "unsupported_channel"` — the caller
|
|
3495
|
+
* relays the link so the user can supply the value out of band; the gateway
|
|
3496
|
+
* stores the submitted value via the credential vault.
|
|
3497
|
+
*/
|
|
3498
|
+
collectionUrl?: string;
|
|
3499
|
+
/** Expiry (epoch ms) of {@link SecretPromptResult.collectionUrl}. */
|
|
3500
|
+
collectionExpiresAt?: number;
|
|
3490
3501
|
}
|
|
3491
3502
|
|
|
3492
3503
|
declare type SecretRequestEvent = z.infer<typeof SecretRequestEventSchema>;
|
package/package.json
CHANGED