@vellumai/plugin-api 0.10.11-dev.202607240310.e82c8d4 → 0.10.11-dev.202607240700.880df3a
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 +9 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5721,6 +5721,15 @@ export declare interface ToolContext {
|
|
|
5721
5721
|
assistantId?: string;
|
|
5722
5722
|
/** True when an interactive client is connected (not just a no-op callback). */
|
|
5723
5723
|
isInteractive?: boolean;
|
|
5724
|
+
/**
|
|
5725
|
+
* Whether the current turn's channel can render dynamic UI surfaces
|
|
5726
|
+
* (interactive cards, tappable option pickers, secure prompts). `false` on
|
|
5727
|
+
* text-only channels (e.g. Telegram, SMS). UI-dependent tools read this to
|
|
5728
|
+
* degrade to a text-formatted equivalent instead of emitting a surface the
|
|
5729
|
+
* channel silently drops. `undefined` means unknown and is treated as
|
|
5730
|
+
* supported (desktop/web/app clients).
|
|
5731
|
+
*/
|
|
5732
|
+
supportsDynamicUi?: boolean;
|
|
5724
5733
|
/**
|
|
5725
5734
|
* When set, the tool execution is part of a task run. Used to retrieve ephemeral permission rules.
|
|
5726
5735
|
* @legacy
|
package/package.json
CHANGED