@base44-preview/sdk 0.8.57-pr.362.6bcf432 → 0.8.57-pr.362.960fb82
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.
|
@@ -193,7 +193,7 @@ export interface AgentsModuleConfig {
|
|
|
193
193
|
*
|
|
194
194
|
* This module is available to use with a client in all authentication modes:
|
|
195
195
|
*
|
|
196
|
-
* - **Anonymous or User authentication** (`base44.agents`): Access is scoped to the current user's permissions. Users must be authenticated to create and access conversations. Each user can read and add messages only to conversations they created, even if
|
|
196
|
+
* - **Anonymous or User authentication** (`base44.agents`): Access is scoped to the current user's permissions. Users must be authenticated to create and access conversations. Each user can read and add messages only to conversations they created, even if the user is an admin.
|
|
197
197
|
* - **Service role authentication** (`base44.asServiceRole.agents`): Operations are invoked with the service role for backend code that needs elevated permissions.
|
|
198
198
|
*
|
|
199
199
|
* ## Generated Types
|
|
@@ -204,7 +204,7 @@ export interface AgentsModule {
|
|
|
204
204
|
/**
|
|
205
205
|
* Gets the current user's conversations with all agents in the app.
|
|
206
206
|
*
|
|
207
|
-
* Retrieves every conversation the current user started, across all agents. Conversations that other users started aren't included, even if the
|
|
207
|
+
* Retrieves every conversation the current user started, across all agents. Conversations that other users started aren't included, even if the user is an admin. Use {@linkcode listConversations | listConversations()} to filter which conversations are returned, apply sorting, or paginate results. Use {@linkcode getConversation | getConversation()} to retrieve a specific conversation by ID.
|
|
208
208
|
*
|
|
209
209
|
* @returns Promise resolving to an array of conversations.
|
|
210
210
|
*
|