@aigne/agent-library 1.12.2 → 1.12.4

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/CHANGELOG.md CHANGED
@@ -5,6 +5,32 @@
5
5
 
6
6
  * add schema transform ([#35](https://github.com/AIGNE-io/aigne-framework/issues/35)) ([c7d9a2c](https://github.com/AIGNE-io/aigne-framework/commit/c7d9a2c9fcab8d384d4198db5ff6ba4603846cdf))
7
7
 
8
+ ## [1.12.4](https://github.com/AIGNE-io/aigne-framework/compare/agent-library-v1.12.3...agent-library-v1.12.4) (2025-06-05)
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/core bumped to 1.18.4
16
+ * @aigne/openai bumped to 0.2.5
17
+
18
+ ## [1.12.3](https://github.com/AIGNE-io/aigne-framework/compare/agent-library-v1.12.2...agent-library-v1.12.3) (2025-06-05)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * compatible nodejs version >=20 ([#149](https://github.com/AIGNE-io/aigne-framework/issues/149)) ([d5ae9f2](https://github.com/AIGNE-io/aigne-framework/commit/d5ae9f245972e87e70fd87cdd960ade9940f288c))
24
+
25
+
26
+ ### Dependencies
27
+
28
+ * The following workspace dependencies were updated
29
+ * dependencies
30
+ * @aigne/core bumped to 1.18.3
31
+ * @aigne/openai bumped to 0.2.4
32
+ * @aigne/sqlite bumped to 0.1.1
33
+
8
34
  ## [1.12.2](https://github.com/AIGNE-io/aigne-framework/compare/agent-library-v1.12.1...agent-library-v1.12.2) (2025-05-30)
9
35
 
10
36
 
@@ -1,5 +1,6 @@
1
1
  import type { AgentInvokeOptions, Context, Memory } from "@aigne/core";
2
2
  import type { PromiseOrValue } from "@aigne/core/utils/type-utils.js";
3
+ import type { SqliteRemoteDatabase } from "drizzle-orm/sqlite-proxy";
3
4
  import { MemoryStorage } from "../storage.js";
4
5
  export interface DefaultMemoryStorageOptions {
5
6
  url?: string;
@@ -10,7 +11,7 @@ export declare class DefaultMemoryStorage extends MemoryStorage {
10
11
  constructor(options?: DefaultMemoryStorageOptions | undefined);
11
12
  private _db;
12
13
  private initSqlite;
13
- get db(): Promise<import("drizzle-orm/libsql/driver-core.js").LibSQLDatabase<Record<string, never>> | import("drizzle-orm/sqlite-proxy/driver.js").SqliteRemoteDatabase<Record<string, never>>>;
14
+ get db(): Promise<SqliteRemoteDatabase<Record<string, never>>>;
14
15
  private convertMemory;
15
16
  search(query: {
16
17
  limit?: number;
@@ -15,7 +15,7 @@ class DefaultMemoryStorage extends storage_js_1.MemoryStorage {
15
15
  }
16
16
  _db;
17
17
  async initSqlite() {
18
- const db = await (0, sqlite_1.initDatabase)({ url: this.options?.url });
18
+ const db = (await (0, sqlite_1.initDatabase)({ url: this.options?.url }));
19
19
  await (0, migrate_js_1.migrate)(db);
20
20
  return db;
21
21
  }
@@ -1,5 +1,6 @@
1
1
  import type { AgentInvokeOptions, Context, Memory } from "@aigne/core";
2
2
  import type { PromiseOrValue } from "@aigne/core/utils/type-utils.js";
3
+ import type { SqliteRemoteDatabase } from "drizzle-orm/sqlite-proxy";
3
4
  import { MemoryStorage } from "../storage.js";
4
5
  export interface DefaultMemoryStorageOptions {
5
6
  url?: string;
@@ -10,7 +11,7 @@ export declare class DefaultMemoryStorage extends MemoryStorage {
10
11
  constructor(options?: DefaultMemoryStorageOptions | undefined);
11
12
  private _db;
12
13
  private initSqlite;
13
- get db(): Promise<import("drizzle-orm/libsql").LibSQLDatabase<Record<string, never>>>;
14
+ get db(): Promise<SqliteRemoteDatabase<Record<string, never>>>;
14
15
  private convertMemory;
15
16
  search(query: {
16
17
  limit?: number;
@@ -1,5 +1,6 @@
1
1
  import type { AgentInvokeOptions, Context, Memory } from "@aigne/core";
2
2
  import type { PromiseOrValue } from "@aigne/core/utils/type-utils.js";
3
+ import type { SqliteRemoteDatabase } from "drizzle-orm/sqlite-proxy";
3
4
  import { MemoryStorage } from "../storage.js";
4
5
  export interface DefaultMemoryStorageOptions {
5
6
  url?: string;
@@ -10,7 +11,7 @@ export declare class DefaultMemoryStorage extends MemoryStorage {
10
11
  constructor(options?: DefaultMemoryStorageOptions | undefined);
11
12
  private _db;
12
13
  private initSqlite;
13
- get db(): Promise<import("drizzle-orm/libsql").LibSQLDatabase<Record<string, never>>>;
14
+ get db(): Promise<SqliteRemoteDatabase<Record<string, never>>>;
14
15
  private convertMemory;
15
16
  search(query: {
16
17
  limit?: number;
@@ -12,7 +12,7 @@ export class DefaultMemoryStorage extends MemoryStorage {
12
12
  }
13
13
  _db;
14
14
  async initSqlite() {
15
- const db = await initDatabase({ url: this.options?.url });
15
+ const db = (await initDatabase({ url: this.options?.url }));
16
16
  await migrate(db);
17
17
  return db;
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/agent-library",
3
- "version": "1.12.2",
3
+ "version": "1.12.4",
4
4
  "description": "Collection of agent libraries for AIGNE framework",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -47,9 +47,9 @@
47
47
  "uuid": "^11.1.0",
48
48
  "yaml": "^2.7.1",
49
49
  "zod": "^3.24.4",
50
- "@aigne/sqlite": "^0.1.0",
51
- "@aigne/core": "^1.18.2",
52
- "@aigne/openai": "^0.2.3"
50
+ "@aigne/openai": "^0.2.5",
51
+ "@aigne/sqlite": "^0.1.1",
52
+ "@aigne/core": "^1.18.4"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/bun": "^1.2.12",