@aigne/cli 1.32.0 → 1.32.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,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.32.2](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.32.1...cli-v1.32.2) (2025-08-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **cli:** highlight URLs in error messages ([#340](https://github.com/AIGNE-io/aigne-framework/issues/340)) ([74c233b](https://github.com/AIGNE-io/aigne-framework/commit/74c233b548c8054f1be91955c9f1420a53785739))
9
+
10
+ ## [1.32.1](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.32.0...cli-v1.32.1) (2025-08-08)
11
+
12
+
13
+ ### Dependencies
14
+
15
+ * The following workspace dependencies were updated
16
+ * dependencies
17
+ * @aigne/agent-library bumped to 1.21.15
18
+ * @aigne/agentic-memory bumped to 1.0.15
19
+ * @aigne/aigne-hub bumped to 0.4.6
20
+ * @aigne/core bumped to 1.46.1
21
+ * @aigne/default-memory bumped to 1.0.15
22
+ * @aigne/openai bumped to 0.10.15
23
+
3
24
  ## [1.32.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.31.0...cli-v1.32.0) (2025-08-07)
4
25
 
5
26
 
package/README.md CHANGED
@@ -23,9 +23,9 @@ Command-line tool for [AIGNE Framework](https://github.com/AIGNE-io/aigne-framew
23
23
  `@aigne/cli` is the official command-line tool for [AIGNE Framework](https://github.com/AIGNE-io/aigne-framework), designed to simplify the development, testing, and deployment processes for AIGNE applications. It provides a series of useful commands to help developers quickly create projects, run agents, test code, and deploy applications.
24
24
 
25
25
  <picture>
26
- <source srcset="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/refs/heads/chore-readme-arch/assets/aigne-cli-dark.png" media="(prefers-color-scheme: dark)">
27
- <source srcset="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/refs/heads/chore-readme-arch/assets/aigne-cli.png" media="(prefers-color-scheme: light)">
28
- <img src="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/refs/heads/chore-readme-arch/aigne-cli.png" alt="AIGNE Arch" />
26
+ <source srcset="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/main/assets/aigne-cli-dark.png" media="(prefers-color-scheme: dark)">
27
+ <source srcset="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/main/assets/aigne-cli.png" media="(prefers-color-scheme: light)">
28
+ <img src="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/main/aigne-cli.png" alt="AIGNE Arch" />
29
29
  </picture>
30
30
 
31
31
  ## Features
package/dist/cli.js CHANGED
@@ -27,6 +27,6 @@ export default createAIGNECommand({ aigneFilePath })
27
27
  .parseAsync(hideBin([...process.argv.slice(0, 2), ...process.argv.slice(aigneFilePath ? 3 : 2)]))
28
28
  .catch((error) => {
29
29
  console.log(""); // Add an empty line for better readability
30
- console.error(`${chalk.red("Error:")} ${error.message}`);
30
+ console.error(`${chalk.red("Error:")} ${error.message.replace(/https?:\/\/[^\s]+/g, (url) => chalk.cyan(url))}`);
31
31
  process.exit(1);
32
32
  });
@@ -11,7 +11,7 @@ import { createServeMCPCommand } from "./serve-mcp.js";
11
11
  import { createTestCommand } from "./test.js";
12
12
  export function createAIGNECommand(options) {
13
13
  console.log(asciiLogo);
14
- console.log(`${chalk.grey("TIPS:")} run ${chalk.blue("aigne observe")} to start the observability server.\n`);
14
+ console.log(`${chalk.grey("TIPS:")} run ${chalk.cyan("aigne observe")} to start the observability server.\n`);
15
15
  return yargs()
16
16
  .scriptName("aigne")
17
17
  .usage("CLI for AIGNE framework")
@@ -35,7 +35,7 @@ export async function displayStatus(statusList) {
35
35
  console.log("Use 'aigne connect <url>' to connect to a hub.");
36
36
  return;
37
37
  }
38
- console.log(chalk.blue("AIGNE Hub Connection Status:\n"));
38
+ console.log(chalk.cyan("AIGNE Hub Connection Status:\n"));
39
39
  const defaultStatus = statusList.find((status) => status.host === "default")?.apiUrl || DEFAULT_URL;
40
40
  for (const status of statusList.filter((status) => status.host !== "default")) {
41
41
  const userInfo = await getUserInfo({ baseUrl: status.apiUrl, apiKey: status.apiKey }).catch((e) => {
@@ -85,7 +85,7 @@ export function createConnectCommand() {
85
85
  },
86
86
  handler: async (argv) => {
87
87
  const url = argv.url || "https://hub.aigne.io/";
88
- console.log(chalk.blue(`Connecting to AIGNE Hub: ${url}`));
88
+ console.log(chalk.cyan(`Connecting to AIGNE Hub: ${url}`));
89
89
  try {
90
90
  await connectToAIGNEHub(url);
91
91
  console.log(chalk.green("✓ Successfully connected to AIGNE Hub"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.32.0",
3
+ "version": "1.32.2",
4
4
  "description": "Your command center for agent development",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -74,13 +74,13 @@
74
74
  "yaml": "^2.8.0",
75
75
  "yargs": "^18.0.0",
76
76
  "zod": "^3.25.67",
77
- "@aigne/agent-library": "^1.21.14",
78
- "@aigne/agentic-memory": "^1.0.14",
79
- "@aigne/aigne-hub": "^0.4.5",
80
- "@aigne/default-memory": "^1.0.14",
77
+ "@aigne/aigne-hub": "^0.4.6",
78
+ "@aigne/default-memory": "^1.0.15",
79
+ "@aigne/agentic-memory": "^1.0.15",
80
+ "@aigne/core": "^1.46.1",
81
+ "@aigne/openai": "^0.10.15",
81
82
  "@aigne/observability-api": "^0.9.0",
82
- "@aigne/core": "^1.46.0",
83
- "@aigne/openai": "^0.10.14"
83
+ "@aigne/agent-library": "^1.21.15"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@types/archiver": "^6.0.3",