@aigne/fs-memory 1.0.10 → 1.0.12
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 +25 -0
- package/README.md +10 -2
- package/package.json +10 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.12](https://github.com/AIGNE-io/aigne-framework/compare/fs-memory-v1.0.11...fs-memory-v1.0.12) (2025-08-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **cli:** ensure aigne cli works in node.js v20+ ([#316](https://github.com/AIGNE-io/aigne-framework/issues/316)) ([9c9c3d2](https://github.com/AIGNE-io/aigne-framework/commit/9c9c3d2e57d6a8e1afb33ef903c3703283d73db7))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @aigne/core bumped to 1.44.0
|
|
16
|
+
* @aigne/openai bumped to 0.10.12
|
|
17
|
+
|
|
18
|
+
## [1.0.11](https://github.com/AIGNE-io/aigne-framework/compare/fs-memory-v1.0.10...fs-memory-v1.0.11) (2025-08-05)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Dependencies
|
|
22
|
+
|
|
23
|
+
* The following workspace dependencies were updated
|
|
24
|
+
* dependencies
|
|
25
|
+
* @aigne/core bumped to 1.43.1
|
|
26
|
+
* @aigne/openai bumped to 0.10.11
|
|
27
|
+
|
|
3
28
|
## [1.0.10](https://github.com/AIGNE-io/aigne-framework/compare/fs-memory-v1.0.9...fs-memory-v1.0.10) (2025-08-04)
|
|
4
29
|
|
|
5
30
|
|
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @aigne/fs-memory
|
|
2
2
|
|
|
3
|
+
<p align="center">
|
|
4
|
+
<picture>
|
|
5
|
+
<source srcset="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/main/logo-dark.svg" media="(prefers-color-scheme: dark)">
|
|
6
|
+
<source srcset="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/main/logo.svg" media="(prefers-color-scheme: light)">
|
|
7
|
+
<img src="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/main/logo.svg" alt="AIGNE Logo" width="400" />
|
|
8
|
+
</picture>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
3
11
|
[](https://star-history.com/#AIGNE-io/aigne-framework)
|
|
4
12
|
[](https://github.com/AIGNE-io/aigne-framework/issues)
|
|
5
13
|
[](https://codecov.io/gh/AIGNE-io/aigne-framework)
|
|
@@ -93,8 +101,8 @@ console.log(response2.message);
|
|
|
93
101
|
### Custom Memory Directory
|
|
94
102
|
|
|
95
103
|
```typescript
|
|
104
|
+
import { join } from "node:path";
|
|
96
105
|
import { FSMemory } from "@aigne/fs-memory";
|
|
97
|
-
import { join } from "path";
|
|
98
106
|
|
|
99
107
|
// Using absolute path
|
|
100
108
|
const memory1 = new FSMemory({
|
|
@@ -184,7 +192,7 @@ Each memory file contains YAML-formatted memory data:
|
|
|
184
192
|
timestamp: 2024-01-01T10:00:00Z
|
|
185
193
|
metadata:
|
|
186
194
|
type: "preference"
|
|
187
|
-
|
|
195
|
+
|
|
188
196
|
- id: memory-id-2
|
|
189
197
|
content: "User is a software developer"
|
|
190
198
|
timestamp: 2024-01-01T10:05:00Z
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/fs-memory",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "FS memory for AIGNE framework",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -24,11 +24,18 @@
|
|
|
24
24
|
"main": "./lib/cjs/index.js",
|
|
25
25
|
"module": "./lib/esm/index.js",
|
|
26
26
|
"types": "./lib/dts/index.d.ts",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"import": "./lib/esm/index.js",
|
|
30
|
+
"require": "./lib/cjs/index.js",
|
|
31
|
+
"types": "./lib/dts/index.d.ts"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
27
34
|
"dependencies": {
|
|
28
35
|
"yaml": "^2.8.0",
|
|
29
36
|
"zod": "^3.25.67",
|
|
30
|
-
"@aigne/
|
|
31
|
-
"@aigne/
|
|
37
|
+
"@aigne/core": "^1.44.0",
|
|
38
|
+
"@aigne/openai": "^0.10.12"
|
|
32
39
|
},
|
|
33
40
|
"devDependencies": {
|
|
34
41
|
"@types/bun": "^1.2.18",
|