@vellumai/plugin-api 0.10.4-dev.202607021247.94bb87f → 0.10.4-dev.202607021338.5fb6967
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 +8 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3334,6 +3334,14 @@ declare interface SecretPromptResult {
|
|
|
3334
3334
|
delivery: SecretDelivery;
|
|
3335
3335
|
/** When set, the prompt could not be delivered and the value is null due to a delivery failure (not user cancellation). */
|
|
3336
3336
|
error?: "unsupported_channel";
|
|
3337
|
+
/**
|
|
3338
|
+
* Why `value` is null. `"cancelled"` = the user explicitly dismissed the
|
|
3339
|
+
* prompt (a valid flow, not a failure); `"timed_out"` = no response within
|
|
3340
|
+
* the permission-timeout window. Only meaningful when `value` is null and
|
|
3341
|
+
* `error` is unset. Lets callers distinguish a deliberate cancel from a
|
|
3342
|
+
* genuine failure instead of treating both as an error.
|
|
3343
|
+
*/
|
|
3344
|
+
reason?: "cancelled" | "timed_out";
|
|
3337
3345
|
}
|
|
3338
3346
|
|
|
3339
3347
|
declare type SecretRequestEvent = z.infer<typeof SecretRequestEventSchema>;
|
package/package.json
CHANGED