@aigne/cli 1.9.0 → 1.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 +14 -0
- package/dist/tracer/terminal.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.9.1](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.9.0...cli-v1.9.1) (2025-05-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **core:** response.headers.toJSON is not a function ([#121](https://github.com/AIGNE-io/aigne-framework/issues/121)) ([4609ba6](https://github.com/AIGNE-io/aigne-framework/commit/4609ba645e6b8fe8d76ecd475cd2d7817483a4bd))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @aigne/core bumped to 1.15.0
|
|
16
|
+
|
|
3
17
|
## [1.9.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.8.1...cli-v1.9.0) (2025-05-12)
|
|
4
18
|
|
|
5
19
|
|
package/dist/tracer/terminal.js
CHANGED
|
@@ -2,7 +2,7 @@ import { EOL } from "node:os";
|
|
|
2
2
|
import { format, inspect } from "node:util";
|
|
3
3
|
import { ChatModel, MESSAGE_KEY, } from "@aigne/core";
|
|
4
4
|
import { logger } from "@aigne/core/utils/logger.js";
|
|
5
|
-
import { mergeAgentResponseChunk
|
|
5
|
+
import { mergeAgentResponseChunk } from "@aigne/core/utils/stream-utils.js";
|
|
6
6
|
import { Listr, ListrDefaultRendererLogLevels, Spinner, } from "@aigne/listr2";
|
|
7
7
|
import { markedTerminal } from "@aigne/marked-terminal";
|
|
8
8
|
import chalk from "chalk";
|
|
@@ -183,7 +183,7 @@ class AIGNEListr extends Listr {
|
|
|
183
183
|
async extractStream(stream) {
|
|
184
184
|
this.isStreamRunning = true;
|
|
185
185
|
this.result = {};
|
|
186
|
-
for await (const value of
|
|
186
|
+
for await (const value of stream) {
|
|
187
187
|
mergeAgentResponseChunk(this.result, value);
|
|
188
188
|
}
|
|
189
189
|
this.isStreamRunning = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "cli for AIGNE framework",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"pretty-error": "^4.0.0",
|
|
51
51
|
"tar": "^7.4.3",
|
|
52
52
|
"zod": "^3.24.4",
|
|
53
|
-
"@aigne/core": "^1.
|
|
53
|
+
"@aigne/core": "^1.15.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/archiver": "^6.0.3",
|