@base44-preview/sdk 0.8.52-pr.286.8c10b2a → 0.8.52-pr.286.be667a9
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.
|
@@ -123,7 +123,9 @@ export interface ToolMediaResult {
|
|
|
123
123
|
export interface ToolQuestionAnswer {
|
|
124
124
|
/** Zero-based question index. */
|
|
125
125
|
question_index?: number;
|
|
126
|
-
/**
|
|
126
|
+
/** Label selected for a single-select question. */
|
|
127
|
+
selected_label?: string;
|
|
128
|
+
/** Labels selected for a multi-select question. */
|
|
127
129
|
selected_labels?: string[];
|
|
128
130
|
/** User-provided free-text answer. Structural filtering does not redact prose. */
|
|
129
131
|
custom_text?: string;
|
|
@@ -182,8 +184,9 @@ export interface ToolCall {
|
|
|
182
184
|
display?: ToolDisplay;
|
|
183
185
|
/** Clarifying-question answers. */
|
|
184
186
|
user_input?: ToolQuestionInput;
|
|
185
|
-
/** Generated
|
|
186
|
-
|
|
187
|
+
/** Generated media, once the call is not waiting on a guard: the image tool's state, or a URL alone
|
|
188
|
+
* (a game asset's placeholder, which `image.resolved` replaces, or a finished video). */
|
|
189
|
+
results?: ToolMediaResult | string;
|
|
187
190
|
/** A parked call's guard, and its reason and details where the guard declares them. */
|
|
188
191
|
approval?: ToolGuardApproval;
|
|
189
192
|
}
|
|
@@ -28,7 +28,7 @@ export interface BuilderSession {
|
|
|
28
28
|
/** One app subscription; at most eight may be active per builder session. */
|
|
29
29
|
export interface SubscriptionOptions {
|
|
30
30
|
/** Replace this app's state. Arrives after every join and rejoin, and after a main-conversation
|
|
31
|
-
* rewrite (undo, restore, sync). Live events
|
|
31
|
+
* rewrite (undo, restore, sync). Live events follow it; it holds only the last 50 messages.
|
|
32
32
|
*/
|
|
33
33
|
onSnapshot: (snapshot: Snapshot) => void | Promise<void>;
|
|
34
34
|
/** Apply each live event. Delivery is serial per app; a rejection ends this subscription. */
|