@base44-preview/sdk 0.8.18-pr.119.d115eb9 → 0.8.18-pr.123.44064e9

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.
@@ -200,6 +200,8 @@ export interface AgentsModule {
200
200
  * Retrieves a single conversation using its unique identifier. To retrieve
201
201
  * all conversations, use {@linkcode getConversations | getConversations()} To filter, sort, or paginate conversations, use {@linkcode listConversations | listConversations()}.
202
202
  *
203
+ * This function returns the complete stored conversation including full tool call results, even for large responses (11kb+).
204
+ *
203
205
  * @param conversationId - The unique identifier of the conversation.
204
206
  * @returns Promise resolving to the conversation, or undefined if not found.
205
207
  *
@@ -298,6 +300,10 @@ export interface AgentsModule {
298
300
  * Establishes a WebSocket connection to receive instant updates when new
299
301
  * messages are added to the conversation. Returns an unsubscribe function
300
302
  * to clean up the connection.
303
+ *
304
+ * <Note>
305
+ When receiving messages through this function, results from agent tool calls may be truncated if they exceed a certain size (around 11kb). The complete tool results are always saved in storage and can be retrieved by calling {@linkcode getConversation | getConversation()} after the message completes.
306
+ </Note>
301
307
  *
302
308
  * @param conversationId - The conversation ID to subscribe to.
303
309
  * @param onUpdate - Callback function called when the conversation is updated. The callback receives a conversation object with the following properties:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.18-pr.119.d115eb9",
3
+ "version": "0.8.18-pr.123.44064e9",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",