@aigne/transport 0.5.1 → 0.5.2
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,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.2](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.5.1...transport-v0.5.2) (2025-06-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **core:** pass input/output to MemoryAgent directily ([#178](https://github.com/AIGNE-io/aigne-framework/issues/178)) ([3b20e33](https://github.com/AIGNE-io/aigne-framework/commit/3b20e33f1eefc81ac1e009b1afff14fca46644b1))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @aigne/openai bumped to 0.3.6
|
|
16
|
+
* devDependencies
|
|
17
|
+
* @aigne/agent-library bumped to 1.16.1
|
|
18
|
+
* @aigne/core bumped to 1.23.1
|
|
19
|
+
* @aigne/test-utils bumped to 0.4.6
|
|
20
|
+
|
|
3
21
|
## [0.5.1](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.5.0...transport-v0.5.1) (2025-06-25)
|
|
4
22
|
|
|
5
23
|
|
|
@@ -38,10 +38,7 @@ class ClientAgent extends core_1.Agent {
|
|
|
38
38
|
}
|
|
39
39
|
async postprocess(input, output, options) {
|
|
40
40
|
await this.recordMemories({
|
|
41
|
-
content: [
|
|
42
|
-
{ role: "user", content: input },
|
|
43
|
-
{ role: "agent", content: (0, core_1.replaceTransferAgentToName)(output), source: this.name },
|
|
44
|
-
],
|
|
41
|
+
content: [{ input, output: (0, core_1.replaceTransferAgentToName)(output), source: this.name }],
|
|
45
42
|
}, options);
|
|
46
43
|
}
|
|
47
44
|
}
|
|
@@ -35,10 +35,7 @@ export class ClientAgent extends Agent {
|
|
|
35
35
|
}
|
|
36
36
|
async postprocess(input, output, options) {
|
|
37
37
|
await this.recordMemories({
|
|
38
|
-
content: [
|
|
39
|
-
{ role: "user", content: input },
|
|
40
|
-
{ role: "agent", content: replaceTransferAgentToName(output), source: this.name },
|
|
41
|
-
],
|
|
38
|
+
content: [{ input, output: replaceTransferAgentToName(output), source: this.name }],
|
|
42
39
|
}, options);
|
|
43
40
|
}
|
|
44
41
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/transport",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
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.3.
|
|
42
|
+
"@aigne/openai": "^0.3.6"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/bun": "^1.2.12",
|
|
@@ -54,8 +54,9 @@
|
|
|
54
54
|
"rimraf": "^6.0.1",
|
|
55
55
|
"typescript": "^5.8.3",
|
|
56
56
|
"uuid": "^11.1.0",
|
|
57
|
-
"@aigne/
|
|
58
|
-
"@aigne/
|
|
57
|
+
"@aigne/agent-library": "^1.16.1",
|
|
58
|
+
"@aigne/core": "^1.23.1",
|
|
59
|
+
"@aigne/test-utils": "^0.4.6"
|
|
59
60
|
},
|
|
60
61
|
"scripts": {
|
|
61
62
|
"lint": "tsc --noEmit",
|