@aigne/transport 0.7.4 → 0.9.1

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,55 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.1](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.9.0...transport-v0.9.1) (2025-07-08)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @aigne/openai bumped to 0.8.0
11
+ * devDependencies
12
+ * @aigne/agent-library bumped to 1.20.0
13
+ * @aigne/core bumped to 1.32.0
14
+ * @aigne/test-utils bumped to 0.5.2
15
+
16
+ ## [0.9.0](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.8.0...transport-v0.9.0) (2025-07-04)
17
+
18
+
19
+ ### Features
20
+
21
+ * **core:** add standard userId/sessionId in userContext ([#219](https://github.com/AIGNE-io/aigne-framework/issues/219)) ([58e5804](https://github.com/AIGNE-io/aigne-framework/commit/58e5804cf08b1d2fa6e232646fadd70b5db2e007))
22
+ * **memory:** add support for AgenticMemory & some improvements for DefaultMemory ([#224](https://github.com/AIGNE-io/aigne-framework/issues/224)) ([f4a08af](https://github.com/AIGNE-io/aigne-framework/commit/f4a08aff935205c62615c060763c835a9579607d))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @aigne/openai bumped to 0.7.1
30
+ * devDependencies
31
+ * @aigne/agent-library bumped to 1.19.0
32
+ * @aigne/core bumped to 1.31.0
33
+ * @aigne/test-utils bumped to 0.5.1
34
+
35
+ ## [0.8.0](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.7.4...transport-v0.8.0) (2025-07-03)
36
+
37
+
38
+ ### Features
39
+
40
+ * upgrade dependencies and adapt code to breaking changes ([#216](https://github.com/AIGNE-io/aigne-framework/issues/216)) ([f215ced](https://github.com/AIGNE-io/aigne-framework/commit/f215cedc1a57e321164064c33316e496eae8d25f))
41
+
42
+
43
+ ### Dependencies
44
+
45
+ * The following workspace dependencies were updated
46
+ * dependencies
47
+ * @aigne/openai bumped to 0.7.0
48
+ * devDependencies
49
+ * @aigne/agent-library bumped to 1.18.0
50
+ * @aigne/core bumped to 1.30.0
51
+ * @aigne/test-utils bumped to 0.5.0
52
+
3
53
  ## [0.7.4](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.7.3...transport-v0.7.4) (2025-07-02)
4
54
 
5
55
 
@@ -1,5 +1,5 @@
1
1
  import { IncomingMessage, ServerResponse } from "node:http";
2
- import type { AIGNE, AgentInvokeOptions, InvokeOptions, UserContext } from "@aigne/core";
2
+ import type { AIGNE, InvokeOptions, UserContext } from "@aigne/core";
3
3
  import { z } from "zod";
4
4
  /**
5
5
  * Schema for validating agent invocation payloads.
@@ -30,29 +30,29 @@ export declare const invokePayloadSchema: z.ZodObject<{
30
30
  content: object;
31
31
  }[] | undefined;
32
32
  streaming?: boolean | undefined;
33
- userContext?: Record<string, unknown> | undefined;
34
33
  returnProgressChunks?: boolean | undefined;
34
+ userContext?: Record<string, unknown> | undefined;
35
35
  }, {
36
36
  memories?: {
37
37
  content: object;
38
38
  }[] | null | undefined;
39
39
  streaming?: boolean | null | undefined;
40
- userContext?: Record<string, unknown> | null | undefined;
41
40
  returnProgressChunks?: boolean | null | undefined;
41
+ userContext?: Record<string, unknown> | null | undefined;
42
42
  }>>>, {
43
43
  memories?: {
44
44
  content: object;
45
45
  }[] | undefined;
46
46
  streaming?: boolean | undefined;
47
- userContext?: Record<string, unknown> | undefined;
48
47
  returnProgressChunks?: boolean | undefined;
48
+ userContext?: Record<string, unknown> | undefined;
49
49
  } | undefined, {
50
50
  memories?: {
51
51
  content: object;
52
52
  }[] | null | undefined;
53
53
  streaming?: boolean | null | undefined;
54
- userContext?: Record<string, unknown> | null | undefined;
55
54
  returnProgressChunks?: boolean | null | undefined;
55
+ userContext?: Record<string, unknown> | null | undefined;
56
56
  } | null | undefined>;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  agent: string;
@@ -62,8 +62,8 @@ export declare const invokePayloadSchema: z.ZodObject<{
62
62
  content: object;
63
63
  }[] | undefined;
64
64
  streaming?: boolean | undefined;
65
- userContext?: Record<string, unknown> | undefined;
66
65
  returnProgressChunks?: boolean | undefined;
66
+ userContext?: Record<string, unknown> | undefined;
67
67
  } | undefined;
68
68
  }, {
69
69
  agent: string;
@@ -73,8 +73,8 @@ export declare const invokePayloadSchema: z.ZodObject<{
73
73
  content: object;
74
74
  }[] | null | undefined;
75
75
  streaming?: boolean | null | undefined;
76
- userContext?: Record<string, unknown> | null | undefined;
77
76
  returnProgressChunks?: boolean | null | undefined;
77
+ userContext?: Record<string, unknown> | null | undefined;
78
78
  } | null | undefined;
79
79
  }>;
80
80
  /**
@@ -93,7 +93,7 @@ export interface AIGNEHTTPServerOptions {
93
93
  */
94
94
  maximumBodySize?: string;
95
95
  }
96
- export interface AIGNEHTTPServerInvokeOptions<U extends UserContext = UserContext> extends Pick<AgentInvokeOptions<U>, "userContext" | "memories">, Pick<InvokeOptions, "returnProgressChunks"> {
96
+ export interface AIGNEHTTPServerInvokeOptions<U extends UserContext = UserContext> extends Pick<InvokeOptions<U>, "returnProgressChunks" | "userContext" | "memories"> {
97
97
  }
98
98
  /**
99
99
  * AIGNEHTTPServer provides HTTP API access to AIGNE capabilities.
@@ -1,5 +1,5 @@
1
1
  import { IncomingMessage, ServerResponse } from "node:http";
2
- import type { AIGNE, AgentInvokeOptions, InvokeOptions, UserContext } from "@aigne/core";
2
+ import type { AIGNE, InvokeOptions, UserContext } from "@aigne/core";
3
3
  import { z } from "zod";
4
4
  /**
5
5
  * Schema for validating agent invocation payloads.
@@ -30,29 +30,29 @@ export declare const invokePayloadSchema: z.ZodObject<{
30
30
  content: object;
31
31
  }[] | undefined;
32
32
  streaming?: boolean | undefined;
33
- userContext?: Record<string, unknown> | undefined;
34
33
  returnProgressChunks?: boolean | undefined;
34
+ userContext?: Record<string, unknown> | undefined;
35
35
  }, {
36
36
  memories?: {
37
37
  content: object;
38
38
  }[] | null | undefined;
39
39
  streaming?: boolean | null | undefined;
40
- userContext?: Record<string, unknown> | null | undefined;
41
40
  returnProgressChunks?: boolean | null | undefined;
41
+ userContext?: Record<string, unknown> | null | undefined;
42
42
  }>>>, {
43
43
  memories?: {
44
44
  content: object;
45
45
  }[] | undefined;
46
46
  streaming?: boolean | undefined;
47
- userContext?: Record<string, unknown> | undefined;
48
47
  returnProgressChunks?: boolean | undefined;
48
+ userContext?: Record<string, unknown> | undefined;
49
49
  } | undefined, {
50
50
  memories?: {
51
51
  content: object;
52
52
  }[] | null | undefined;
53
53
  streaming?: boolean | null | undefined;
54
- userContext?: Record<string, unknown> | null | undefined;
55
54
  returnProgressChunks?: boolean | null | undefined;
55
+ userContext?: Record<string, unknown> | null | undefined;
56
56
  } | null | undefined>;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  agent: string;
@@ -62,8 +62,8 @@ export declare const invokePayloadSchema: z.ZodObject<{
62
62
  content: object;
63
63
  }[] | undefined;
64
64
  streaming?: boolean | undefined;
65
- userContext?: Record<string, unknown> | undefined;
66
65
  returnProgressChunks?: boolean | undefined;
66
+ userContext?: Record<string, unknown> | undefined;
67
67
  } | undefined;
68
68
  }, {
69
69
  agent: string;
@@ -73,8 +73,8 @@ export declare const invokePayloadSchema: z.ZodObject<{
73
73
  content: object;
74
74
  }[] | null | undefined;
75
75
  streaming?: boolean | null | undefined;
76
- userContext?: Record<string, unknown> | null | undefined;
77
76
  returnProgressChunks?: boolean | null | undefined;
77
+ userContext?: Record<string, unknown> | null | undefined;
78
78
  } | null | undefined;
79
79
  }>;
80
80
  /**
@@ -93,7 +93,7 @@ export interface AIGNEHTTPServerOptions {
93
93
  */
94
94
  maximumBodySize?: string;
95
95
  }
96
- export interface AIGNEHTTPServerInvokeOptions<U extends UserContext = UserContext> extends Pick<AgentInvokeOptions<U>, "userContext" | "memories">, Pick<InvokeOptions, "returnProgressChunks"> {
96
+ export interface AIGNEHTTPServerInvokeOptions<U extends UserContext = UserContext> extends Pick<InvokeOptions<U>, "returnProgressChunks" | "userContext" | "memories"> {
97
97
  }
98
98
  /**
99
99
  * AIGNEHTTPServer provides HTTP API access to AIGNE capabilities.
@@ -1,5 +1,5 @@
1
1
  import { IncomingMessage, ServerResponse } from "node:http";
2
- import type { AIGNE, AgentInvokeOptions, InvokeOptions, UserContext } from "@aigne/core";
2
+ import type { AIGNE, InvokeOptions, UserContext } from "@aigne/core";
3
3
  import { z } from "zod";
4
4
  /**
5
5
  * Schema for validating agent invocation payloads.
@@ -30,29 +30,29 @@ export declare const invokePayloadSchema: z.ZodObject<{
30
30
  content: object;
31
31
  }[] | undefined;
32
32
  streaming?: boolean | undefined;
33
- userContext?: Record<string, unknown> | undefined;
34
33
  returnProgressChunks?: boolean | undefined;
34
+ userContext?: Record<string, unknown> | undefined;
35
35
  }, {
36
36
  memories?: {
37
37
  content: object;
38
38
  }[] | null | undefined;
39
39
  streaming?: boolean | null | undefined;
40
- userContext?: Record<string, unknown> | null | undefined;
41
40
  returnProgressChunks?: boolean | null | undefined;
41
+ userContext?: Record<string, unknown> | null | undefined;
42
42
  }>>>, {
43
43
  memories?: {
44
44
  content: object;
45
45
  }[] | undefined;
46
46
  streaming?: boolean | undefined;
47
- userContext?: Record<string, unknown> | undefined;
48
47
  returnProgressChunks?: boolean | undefined;
48
+ userContext?: Record<string, unknown> | undefined;
49
49
  } | undefined, {
50
50
  memories?: {
51
51
  content: object;
52
52
  }[] | null | undefined;
53
53
  streaming?: boolean | null | undefined;
54
- userContext?: Record<string, unknown> | null | undefined;
55
54
  returnProgressChunks?: boolean | null | undefined;
55
+ userContext?: Record<string, unknown> | null | undefined;
56
56
  } | null | undefined>;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  agent: string;
@@ -62,8 +62,8 @@ export declare const invokePayloadSchema: z.ZodObject<{
62
62
  content: object;
63
63
  }[] | undefined;
64
64
  streaming?: boolean | undefined;
65
- userContext?: Record<string, unknown> | undefined;
66
65
  returnProgressChunks?: boolean | undefined;
66
+ userContext?: Record<string, unknown> | undefined;
67
67
  } | undefined;
68
68
  }, {
69
69
  agent: string;
@@ -73,8 +73,8 @@ export declare const invokePayloadSchema: z.ZodObject<{
73
73
  content: object;
74
74
  }[] | null | undefined;
75
75
  streaming?: boolean | null | undefined;
76
- userContext?: Record<string, unknown> | null | undefined;
77
76
  returnProgressChunks?: boolean | null | undefined;
77
+ userContext?: Record<string, unknown> | null | undefined;
78
78
  } | null | undefined;
79
79
  }>;
80
80
  /**
@@ -93,7 +93,7 @@ export interface AIGNEHTTPServerOptions {
93
93
  */
94
94
  maximumBodySize?: string;
95
95
  }
96
- export interface AIGNEHTTPServerInvokeOptions<U extends UserContext = UserContext> extends Pick<AgentInvokeOptions<U>, "userContext" | "memories">, Pick<InvokeOptions, "returnProgressChunks"> {
96
+ export interface AIGNEHTTPServerInvokeOptions<U extends UserContext = UserContext> extends Pick<InvokeOptions<U>, "returnProgressChunks" | "userContext" | "memories"> {
97
97
  }
98
98
  /**
99
99
  * AIGNEHTTPServer provides HTTP API access to AIGNE capabilities.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/transport",
3
- "version": "0.7.4",
3
+ "version": "0.9.1",
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,24 +39,24 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@aigne/openai": "^0.6.4"
42
+ "@aigne/openai": "^0.8.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@types/bun": "^1.2.12",
46
- "@types/express": "^5.0.1",
47
- "@types/node": "^22.15.15",
45
+ "@types/bun": "^1.2.17",
46
+ "@types/express": "^5.0.3",
47
+ "@types/node": "^24.0.10",
48
48
  "compression": "^1.8.0",
49
49
  "detect-port": "^2.1.0",
50
50
  "express": "^5.1.0",
51
51
  "fast-deep-equal": "^3.1.3",
52
- "hono": "^4.7.10",
52
+ "hono": "^4.8.3",
53
53
  "npm-run-all": "^4.1.5",
54
54
  "rimraf": "^6.0.1",
55
55
  "typescript": "^5.8.3",
56
56
  "uuid": "^11.1.0",
57
- "@aigne/agent-library": "^1.17.9",
58
- "@aigne/core": "^1.29.1",
59
- "@aigne/test-utils": "^0.4.16"
57
+ "@aigne/core": "^1.32.0",
58
+ "@aigne/agent-library": "^1.20.0",
59
+ "@aigne/test-utils": "^0.5.2"
60
60
  },
61
61
  "scripts": {
62
62
  "lint": "tsc --noEmit",