@aigne/cli 1.10.1 → 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 CHANGED
@@ -1,5 +1,49 @@
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
+
25
+ ## [1.11.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.10.1...cli-v1.11.0) (2025-05-29)
26
+
27
+
28
+ ### Features
29
+
30
+ * add memory agents support for client agent ([#139](https://github.com/AIGNE-io/aigne-framework/issues/139)) ([57044fa](https://github.com/AIGNE-io/aigne-framework/commit/57044fa87b8abcba395cd05f941d6d312ab65764))
31
+
32
+
33
+ ### Dependencies
34
+
35
+ * The following workspace dependencies were updated
36
+ * dependencies
37
+ * @aigne/anthropic bumped to 0.2.1
38
+ * @aigne/bedrock bumped to 0.2.1
39
+ * @aigne/core bumped to 1.18.0
40
+ * @aigne/deepseek bumped to 0.2.1
41
+ * @aigne/gemini bumped to 0.2.1
42
+ * @aigne/ollama bumped to 0.2.1
43
+ * @aigne/open-router bumped to 0.2.1
44
+ * @aigne/openai bumped to 0.2.1
45
+ * @aigne/xai bumped to 0.2.1
46
+
3
47
  ## [1.10.1](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.10.0...cli-v1.10.1) (2025-05-25)
4
48
 
5
49
 
@@ -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.10.1",
3
+ "version": "1.11.1",
4
4
  "description": "cli for AIGNE framework",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -48,16 +48,17 @@
48
48
  "prettier": "^3.5.3",
49
49
  "pretty-error": "^4.0.0",
50
50
  "tar": "^7.4.3",
51
+ "wrap-ansi": "^9.0.0",
51
52
  "zod": "^3.24.4",
52
- "@aigne/anthropic": "^0.2.0",
53
- "@aigne/bedrock": "^0.2.0",
54
- "@aigne/core": "^1.17.0",
55
- "@aigne/deepseek": "^0.2.0",
56
- "@aigne/gemini": "^0.2.0",
57
- "@aigne/ollama": "^0.2.0",
58
- "@aigne/openai": "^0.2.0",
59
- "@aigne/open-router": "^0.2.0",
60
- "@aigne/xai": "^0.2.0"
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"
61
62
  },
62
63
  "devDependencies": {
63
64
  "@types/archiver": "^6.0.3",