@aigne/cli 1.32.1 → 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 +7 -0
- package/dist/cli.js +1 -1
- package/dist/commands/aigne.js +1 -1
- package/dist/commands/connect.js +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
10
|
## [1.32.1](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.32.0...cli-v1.32.1) (2025-08-08)
|
|
4
11
|
|
|
5
12
|
|
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
|
});
|
package/dist/commands/aigne.js
CHANGED
|
@@ -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.
|
|
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")
|
package/dist/commands/connect.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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/agentic-memory": "^1.0.15",
|
|
78
|
-
"@aigne/agent-library": "^1.21.15",
|
|
79
|
-
"@aigne/core": "^1.46.1",
|
|
80
77
|
"@aigne/aigne-hub": "^0.4.6",
|
|
81
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",
|
|
82
82
|
"@aigne/observability-api": "^0.9.0",
|
|
83
|
-
"@aigne/
|
|
83
|
+
"@aigne/agent-library": "^1.21.15"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@types/archiver": "^6.0.3",
|