@aigne/cli 1.0.0-15 → 1.0.0-17
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/dist/commands/create.js +2 -2
- package/package.json +2 -2
package/dist/commands/create.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readdirSync } from "node:fs";
|
|
2
2
|
import { cp } from "node:fs/promises";
|
|
3
|
-
import { isAbsolute, join, resolve } from "node:path";
|
|
3
|
+
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
4
4
|
import { Command } from "commander";
|
|
5
5
|
import inquirer from "inquirer";
|
|
6
6
|
export function createCreateCommand() {
|
|
@@ -62,7 +62,7 @@ export function createCreateCommand() {
|
|
|
62
62
|
await cp(source, destination, { recursive: true, force: true });
|
|
63
63
|
}
|
|
64
64
|
console.log("\n✅ Aigne project created successfully!");
|
|
65
|
-
console.log(`\nTo use your new agent, run:\n cd ${
|
|
65
|
+
console.log(`\nTo use your new agent, run:\n cd ${relative(process.cwd(), path)} && aigne run`);
|
|
66
66
|
})
|
|
67
67
|
.showHelpAfterError(true)
|
|
68
68
|
.showSuggestionAfterError(true);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/cli",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-17",
|
|
4
4
|
"description": "cli for AIGNE framework",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"commander": "^13.1.0",
|
|
28
28
|
"inquirer": "^12.5.0",
|
|
29
29
|
"openai": "^4.91.1",
|
|
30
|
-
"@aigne/core": "^1.5.
|
|
30
|
+
"@aigne/core": "^1.5.1-2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/bun": "^1.2.8",
|