@aigne/transport 0.3.4 → 0.3.5

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,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.5](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.3.4...transport-v0.3.5) (2025-06-06)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **core:** should pass memories from invocation options to nested agents ([#153](https://github.com/AIGNE-io/aigne-framework/issues/153)) ([57629a5](https://github.com/AIGNE-io/aigne-framework/commit/57629a5da6cf2a295356dfe32ecbb15154e098fe))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/openai bumped to 0.2.6
16
+ * devDependencies
17
+ * @aigne/core bumped to 1.18.5
18
+ * @aigne/test-utils bumped to 0.3.7
19
+
3
20
  ## [0.3.4](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.3.3...transport-v0.3.4) (2025-06-05)
4
21
 
5
22
 
@@ -45,6 +45,7 @@ export declare class AIGNEHTTPClient<U extends UserContext = UserContext> implem
45
45
  constructor(options: AIGNEHTTPClientOptions);
46
46
  usage: ContextUsage;
47
47
  userContext: U;
48
+ memories: Context["memories"];
48
49
  invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string): UserAgent<I, O>;
49
50
  invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string, message: I | string, options: AIGNEHTTPClientInvokeOptions & {
50
51
  returnActiveAgent: true;
@@ -30,6 +30,7 @@ class AIGNEHTTPClient {
30
30
  }
31
31
  usage = (0, core_1.newEmptyContextUsage)();
32
32
  userContext = {};
33
+ memories = [];
33
34
  invoke(agent, message, options) {
34
35
  if (options?.returnActiveAgent)
35
36
  throw new Error("Method not implemented.");
@@ -45,6 +45,7 @@ export declare class AIGNEHTTPClient<U extends UserContext = UserContext> implem
45
45
  constructor(options: AIGNEHTTPClientOptions);
46
46
  usage: ContextUsage;
47
47
  userContext: U;
48
+ memories: Context["memories"];
48
49
  invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string): UserAgent<I, O>;
49
50
  invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string, message: I | string, options: AIGNEHTTPClientInvokeOptions & {
50
51
  returnActiveAgent: true;
@@ -45,6 +45,7 @@ export declare class AIGNEHTTPClient<U extends UserContext = UserContext> implem
45
45
  constructor(options: AIGNEHTTPClientOptions);
46
46
  usage: ContextUsage;
47
47
  userContext: U;
48
+ memories: Context["memories"];
48
49
  invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string): UserAgent<I, O>;
49
50
  invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string, message: I | string, options: AIGNEHTTPClientInvokeOptions & {
50
51
  returnActiveAgent: true;
@@ -27,6 +27,7 @@ export class AIGNEHTTPClient {
27
27
  }
28
28
  usage = newEmptyContextUsage();
29
29
  userContext = {};
30
+ memories = [];
30
31
  invoke(agent, message, options) {
31
32
  if (options?.returnActiveAgent)
32
33
  throw new Error("Method not implemented.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/transport",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "AIGNE Transport SDK providing HTTP client and server implementations for communication between AIGNE components",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -39,7 +39,7 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@aigne/openai": "^0.2.5"
42
+ "@aigne/openai": "^0.2.6"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/bun": "^1.2.12",
@@ -54,8 +54,8 @@
54
54
  "rimraf": "^6.0.1",
55
55
  "typescript": "^5.8.3",
56
56
  "uuid": "^11.1.0",
57
- "@aigne/core": "^1.18.4",
58
- "@aigne/test-utils": "^0.3.6"
57
+ "@aigne/core": "^1.18.5",
58
+ "@aigne/test-utils": "^0.3.7"
59
59
  },
60
60
  "scripts": {
61
61
  "lint": "tsc --noEmit",