@aigne/cli 1.11.0 → 1.11.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 +22 -0
- package/dist/utils/run-with-aigne.js +2 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.11.1](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.11.0...cli-v1.11.1) (2025-05-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* respect DEBUG env for logger ([#142](https://github.com/AIGNE-io/aigne-framework/issues/142)) ([f84738a](https://github.com/AIGNE-io/aigne-framework/commit/f84738acb382d9fb4f47253fcf91c92c02200053))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @aigne/anthropic bumped to 0.2.2
|
|
16
|
+
* @aigne/bedrock bumped to 0.2.2
|
|
17
|
+
* @aigne/core bumped to 1.18.1
|
|
18
|
+
* @aigne/deepseek bumped to 0.2.2
|
|
19
|
+
* @aigne/gemini bumped to 0.2.2
|
|
20
|
+
* @aigne/ollama bumped to 0.2.2
|
|
21
|
+
* @aigne/open-router bumped to 0.2.2
|
|
22
|
+
* @aigne/openai bumped to 0.2.2
|
|
23
|
+
* @aigne/xai bumped to 0.2.2
|
|
24
|
+
|
|
3
25
|
## [1.11.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.10.1...cli-v1.11.0) (2025-05-29)
|
|
4
26
|
|
|
5
27
|
|
|
@@ -3,7 +3,7 @@ import { isatty } from "node:tty";
|
|
|
3
3
|
import { promisify } from "node:util";
|
|
4
4
|
import { AIGNE, UserAgent, createMessage } from "@aigne/core";
|
|
5
5
|
import { loadModel } from "@aigne/core/loader/index.js";
|
|
6
|
-
import { LogLevel, logger } from "@aigne/core/utils/logger.js";
|
|
6
|
+
import { LogLevel, getLevelFromEnv, logger } from "@aigne/core/utils/logger.js";
|
|
7
7
|
import { readAllString } from "@aigne/core/utils/stream-utils.js";
|
|
8
8
|
import { tryOrThrow } from "@aigne/core/utils/type-utils.js";
|
|
9
9
|
import { Command } from "commander";
|
|
@@ -21,7 +21,7 @@ export const createRunAIGNECommand = (name = "run") => new Command(name)
|
|
|
21
21
|
.option("--presence-penalty <presence-penalty>", "Presence penalty for the model (penalizes repeating the same tokens). Range: -2.0 to 2.0", customZodError("--presence-penalty", (s) => z.coerce.number().min(-2).max(2).parse(s)))
|
|
22
22
|
.option("--frequency-penalty <frequency-penalty>", "Frequency penalty for the model (penalizes frequency of token usage). Range: -2.0 to 2.0", customZodError("--frequency-penalty", (s) => z.coerce.number().min(-2).max(2).parse(s)))
|
|
23
23
|
.option("--input -i <input>", "Input to the agent")
|
|
24
|
-
.option("--log-level <level>", `Log level for detailed debugging information. Values: ${Object.values(LogLevel).join(", ")}`, customZodError("--log-level", (s) => z.nativeEnum(LogLevel).parse(s)), LogLevel.INFO);
|
|
24
|
+
.option("--log-level <level>", `Log level for detailed debugging information. Values: ${Object.values(LogLevel).join(", ")}`, customZodError("--log-level", (s) => z.nativeEnum(LogLevel).parse(s)), getLevelFromEnv(logger.options.ns) || LogLevel.INFO);
|
|
25
25
|
export const parseModelOption = (model) => {
|
|
26
26
|
const { provider, name } = model?.match(/(?<provider>[^:]+)(:(?<name>(\S+)))?/)?.groups ?? {};
|
|
27
27
|
return { provider, name };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/cli",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "cli for AIGNE framework",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"tar": "^7.4.3",
|
|
51
51
|
"wrap-ansi": "^9.0.0",
|
|
52
52
|
"zod": "^3.24.4",
|
|
53
|
-
"@aigne/anthropic": "^0.2.
|
|
54
|
-
"@aigne/bedrock": "^0.2.
|
|
55
|
-
"@aigne/core": "^1.18.
|
|
56
|
-
"@aigne/deepseek": "^0.2.
|
|
57
|
-
"@aigne/ollama": "^0.2.
|
|
58
|
-
"@aigne/
|
|
59
|
-
"@aigne/
|
|
60
|
-
"@aigne/
|
|
61
|
-
"@aigne/
|
|
53
|
+
"@aigne/anthropic": "^0.2.2",
|
|
54
|
+
"@aigne/bedrock": "^0.2.2",
|
|
55
|
+
"@aigne/core": "^1.18.1",
|
|
56
|
+
"@aigne/deepseek": "^0.2.2",
|
|
57
|
+
"@aigne/ollama": "^0.2.2",
|
|
58
|
+
"@aigne/open-router": "^0.2.2",
|
|
59
|
+
"@aigne/gemini": "^0.2.2",
|
|
60
|
+
"@aigne/xai": "^0.2.2",
|
|
61
|
+
"@aigne/openai": "^0.2.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/archiver": "^6.0.3",
|