@voltagent/core 0.1.63 → 0.1.64
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/dist/index.d.ts +9 -5
- package/dist/index.js +506 -327
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +508 -322
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -3568,7 +3568,7 @@ declare class LibSQLStorage implements Memory {
|
|
|
3568
3568
|
*
|
|
3569
3569
|
* @param options Query options for filtering and pagination
|
|
3570
3570
|
* @returns Promise that resolves to an array of conversations matching the criteria
|
|
3571
|
-
* @see {@link https://voltagent.
|
|
3571
|
+
* @see {@link https://voltagent.dev/docs/agents/memory/libsql#querying-conversations | Querying Conversations}
|
|
3572
3572
|
*/
|
|
3573
3573
|
queryConversations(options: ConversationQueryOptions): Promise<Conversation[]>;
|
|
3574
3574
|
/**
|
|
@@ -3577,7 +3577,7 @@ declare class LibSQLStorage implements Memory {
|
|
|
3577
3577
|
* @param conversationId The unique identifier of the conversation to retrieve messages from
|
|
3578
3578
|
* @param options Optional pagination and filtering options
|
|
3579
3579
|
* @returns Promise that resolves to an array of messages in chronological order (oldest first)
|
|
3580
|
-
* @see {@link https://voltagent.
|
|
3580
|
+
* @see {@link https://voltagent.dev/docs/agents/memory/libsql#conversation-messages | Getting Conversation Messages}
|
|
3581
3581
|
*/
|
|
3582
3582
|
getConversationMessages(conversationId: string, options?: {
|
|
3583
3583
|
limit?: number;
|
|
@@ -6120,6 +6120,8 @@ declare function zodSchemaToJsonUI(schema: any): any;
|
|
|
6120
6120
|
|
|
6121
6121
|
type UpdateOptions = {
|
|
6122
6122
|
filter?: string;
|
|
6123
|
+
useCache?: boolean;
|
|
6124
|
+
forceRefresh?: boolean;
|
|
6123
6125
|
};
|
|
6124
6126
|
/**
|
|
6125
6127
|
* Package update info with semver details
|
|
@@ -6132,7 +6134,7 @@ type PackageUpdateInfo = {
|
|
|
6132
6134
|
packageJson: string;
|
|
6133
6135
|
};
|
|
6134
6136
|
/**
|
|
6135
|
-
* Checks for dependency updates using
|
|
6137
|
+
* Checks for dependency updates using native package manager commands
|
|
6136
6138
|
* @returns Object containing update information
|
|
6137
6139
|
*/
|
|
6138
6140
|
declare const checkForUpdates: (packagePath?: string, options?: UpdateOptions) => Promise<{
|
|
@@ -6142,7 +6144,7 @@ declare const checkForUpdates: (packagePath?: string, options?: UpdateOptions) =
|
|
|
6142
6144
|
message: string;
|
|
6143
6145
|
}>;
|
|
6144
6146
|
/**
|
|
6145
|
-
* Update all packages that have available updates using
|
|
6147
|
+
* Update all packages that have available updates using native package manager
|
|
6146
6148
|
* @param packagePath Optional path to package.json, uses current directory if not provided
|
|
6147
6149
|
* @returns Result of the update operation
|
|
6148
6150
|
*/
|
|
@@ -6150,9 +6152,10 @@ declare const updateAllPackages: (packagePath?: string) => Promise<{
|
|
|
6150
6152
|
success: boolean;
|
|
6151
6153
|
message: string;
|
|
6152
6154
|
updatedPackages?: string[];
|
|
6155
|
+
requiresRestart?: boolean;
|
|
6153
6156
|
}>;
|
|
6154
6157
|
/**
|
|
6155
|
-
* Update a single package to its latest version using
|
|
6158
|
+
* Update a single package to its latest version using native package manager
|
|
6156
6159
|
* @param packageName Name of the package to update
|
|
6157
6160
|
* @param packagePath Optional path to package.json, uses current directory if not provided
|
|
6158
6161
|
* @returns Result of the update operation
|
|
@@ -6161,6 +6164,7 @@ declare const updateSinglePackage: (packageName: string, packagePath?: string) =
|
|
|
6161
6164
|
success: boolean;
|
|
6162
6165
|
message: string;
|
|
6163
6166
|
packageName: string;
|
|
6167
|
+
requiresRestart?: boolean;
|
|
6164
6168
|
}>;
|
|
6165
6169
|
|
|
6166
6170
|
/**
|