@aigne/did-space-memory 1.1.2 → 1.2.0

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
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.0](https://github.com/AIGNE-io/aigne-framework/compare/did-space-memory-v1.2.0-beta...did-space-memory-v1.2.0) (2025-11-14)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @aigne/core bumped to 1.68.0
11
+ * @aigne/openai bumped to 0.16.7
12
+
13
+ ## [1.2.0-beta](https://github.com/AIGNE-io/aigne-framework/compare/did-space-memory-v1.1.2...did-space-memory-v1.2.0-beta) (2025-11-14)
14
+
15
+
16
+ ### Features
17
+
18
+ * support mount mcp agent into AFS ([#740](https://github.com/AIGNE-io/aigne-framework/issues/740)) ([6d474fc](https://github.com/AIGNE-io/aigne-framework/commit/6d474fc05845a15e2c3e8fa97727b409bdd70945))
19
+
20
+
21
+ ### Dependencies
22
+
23
+ * The following workspace dependencies were updated
24
+ * dependencies
25
+ * @aigne/core bumped to 1.68.0-beta
26
+ * @aigne/openai bumped to 0.16.7-beta
27
+
3
28
  ## [1.1.2](https://github.com/AIGNE-io/aigne-framework/compare/did-space-memory-v1.1.2-beta.4...did-space-memory-v1.1.2) (2025-11-12)
4
29
 
5
30
 
package/lib/cjs/memory.js CHANGED
@@ -35,7 +35,9 @@ class DIDSpacesMemory extends index_js_1.MemoryAgent {
35
35
  memoryFileName,
36
36
  ...options.recorderOptions,
37
37
  }),
38
- retriever: options.retriever ??
38
+ retriever:
39
+ // TODO: Agent implement AFS#read method, it's not compatible with did space retriever
40
+ options.retriever ??
39
41
  new DIDSpacesMemoryRetriever({
40
42
  url: options.url,
41
43
  auth: options.auth,
@@ -88,6 +90,7 @@ class DIDSpacesMemoryRetriever extends index_js_1.MemoryRetriever {
88
90
  }));
89
91
  return listObjectCommandOutput.statusCode === 200;
90
92
  }
93
+ // @ts-ignore: Agent base class implement AFS#read method, it's not compatible with did space retriever
91
94
  async read(input, options) {
92
95
  const client = new did_space_js_1.SpaceClient({
93
96
  url: this.options.url,
package/lib/esm/memory.js CHANGED
@@ -32,7 +32,9 @@ export class DIDSpacesMemory extends MemoryAgent {
32
32
  memoryFileName,
33
33
  ...options.recorderOptions,
34
34
  }),
35
- retriever: options.retriever ??
35
+ retriever:
36
+ // TODO: Agent implement AFS#read method, it's not compatible with did space retriever
37
+ options.retriever ??
36
38
  new DIDSpacesMemoryRetriever({
37
39
  url: options.url,
38
40
  auth: options.auth,
@@ -84,6 +86,7 @@ class DIDSpacesMemoryRetriever extends MemoryRetriever {
84
86
  }));
85
87
  return listObjectCommandOutput.statusCode === 200;
86
88
  }
89
+ // @ts-ignore: Agent base class implement AFS#read method, it's not compatible with did space retriever
87
90
  async read(input, options) {
88
91
  const client = new SpaceClient({
89
92
  url: this.options.url,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/did-space-memory",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "DID Spaces memory for AIGNE framework",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -32,12 +32,12 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@blocklet/did-space-js": "^1.2.2",
36
- "@did-space/core": "^1.2.2",
35
+ "@blocklet/did-space-js": "^1.2.3",
36
+ "@did-space/core": "^1.2.3",
37
37
  "yaml": "^2.8.1",
38
38
  "zod": "^3.25.67",
39
- "@aigne/core": "^1.67.0",
40
- "@aigne/openai": "^0.16.6"
39
+ "@aigne/core": "^1.68.0",
40
+ "@aigne/openai": "^0.16.7"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/bun": "^1.2.22",