@base44-preview/platform 0.2.0-pr.337.2f0349e → 0.3.0-pr.338.12ff73f
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.
|
@@ -32,7 +32,7 @@ export interface ToolCallAnswer {
|
|
|
32
32
|
*
|
|
33
33
|
* Base44 keeps the Send chat message and Submit tool-call input requests open until the AI
|
|
34
34
|
* finishes the turn. Resolve your call once Base44 accepts the request, not when it returns. The
|
|
35
|
-
* chat follows the rest live. A rejected promise from any call sets {@link
|
|
35
|
+
* chat follows the rest live. A rejected promise from any call sets `error` on the {@link useBase44Chat | chat}.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* ```typescript
|
|
@@ -141,10 +141,10 @@ export interface ChatAnswer {
|
|
|
141
141
|
* An open question, with the actions that answer this question and no other.
|
|
142
142
|
*
|
|
143
143
|
* Each kind carries only the actions that make sense for it, and every kind can be declined. The
|
|
144
|
-
* actions never throw. A failure sets {@link
|
|
144
|
+
* actions never throw. A failure sets `error` on the {@link useBase44Chat | chat}, and the question opens again.
|
|
145
145
|
*
|
|
146
146
|
* The chat declines a question kind this release doesn't know, once per tool call, when Base44
|
|
147
|
-
* names that kind on the last assistant message. If the decline fails,
|
|
147
|
+
* names that kind on the last assistant message. If the decline fails, the chat's `error` says
|
|
148
148
|
* so, and the chat tries again after it reconnects.
|
|
149
149
|
*/
|
|
150
150
|
export type ChatQuestion = ChoiceQuestion | SecretsQuestion | ApprovalQuestion;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base44-preview/platform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-pr.338.12ff73f",
|
|
4
4
|
"description": "Base44 Platform SDK for white-label platforms: a browser client for watching the builder and a server entrypoint for webhooks",
|
|
5
5
|
"main": "dist/client/index.js",
|
|
6
6
|
"types": "dist/client/index.d.ts",
|