antigravity-ide 3.0.0 ā 3.0.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/cli/create.js +24 -23
- package/cli/prompts.js +22 -1
- package/package.json +5 -2
package/cli/create.js
CHANGED
|
@@ -8,6 +8,7 @@ const chalk = require('chalk');
|
|
|
8
8
|
const ora = require('ora');
|
|
9
9
|
const { execSync } = require('child_process');
|
|
10
10
|
const { getProjectConfig, getSkillsForCategories } = require('./prompts');
|
|
11
|
+
const gradient = require('gradient-string');
|
|
11
12
|
|
|
12
13
|
async function createProject(projectName, options) {
|
|
13
14
|
try {
|
|
@@ -24,7 +25,11 @@ async function createProject(projectName, options) {
|
|
|
24
25
|
process.exit(1);
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
console.log(
|
|
28
|
+
console.log('\n');
|
|
29
|
+
console.log(gradient.cristal('ā'.repeat(60)));
|
|
30
|
+
console.log(chalk.bold(' š¦ Creating AI Agent Project'));
|
|
31
|
+
console.log(gradient.cristal('ā'.repeat(60)));
|
|
32
|
+
console.log('');
|
|
28
33
|
|
|
29
34
|
// Create project directory
|
|
30
35
|
const spinner = ora('Creating project structure...').start();
|
|
@@ -235,30 +240,26 @@ Add your project-specific instructions here.
|
|
|
235
240
|
}
|
|
236
241
|
|
|
237
242
|
function printSuccessMessage(projectName, config) {
|
|
238
|
-
console.log(
|
|
243
|
+
console.log('\n');
|
|
244
|
+
console.log(gradient.rainbow('ā'.repeat(60)));
|
|
245
|
+
console.log(gradient.morning.multiline(' ā SUCCESS! Project Ready'));
|
|
246
|
+
console.log(gradient.rainbow('ā'.repeat(60)));
|
|
239
247
|
|
|
240
|
-
|
|
241
|
-
console.log(
|
|
242
|
-
console.log(chalk.bold('
|
|
248
|
+
// Concise config display
|
|
249
|
+
console.log('');
|
|
250
|
+
console.log(chalk.bold('š Config'));
|
|
251
|
+
console.log(chalk.gray(' Project: ') + gradient.cristal(projectName));
|
|
252
|
+
console.log(chalk.gray(' Template: ') + chalk.cyan(config.template));
|
|
253
|
+
console.log(chalk.gray(' Skills: ') + chalk.cyan(config.skillCategories?.join(', ') || 'none'));
|
|
254
|
+
console.log(chalk.gray(' Dashboard: ') + (config.includeDashboard ? chalk.green('ā') : chalk.gray('ā')));
|
|
243
255
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
console.log(chalk.bold('\nš Next steps:\n'));
|
|
253
|
-
console.log(chalk.cyan(` cd ${projectName}`));
|
|
254
|
-
|
|
255
|
-
if (config.includeDashboard) {
|
|
256
|
-
console.log(chalk.cyan(` cd web && ${config.packageManager} install`));
|
|
257
|
-
console.log(chalk.cyan(` ${config.packageManager} run dev`));
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
console.log(chalk.dim('\nš Documentation: https://github.com/Dokhacgiakhoa/google-antigravity'));
|
|
261
|
-
console.log(chalk.dim('š¬ Issues: https://github.com/Dokhacgiakhoa/google-antigravity/issues\n'));
|
|
256
|
+
// Next steps - super concise
|
|
257
|
+
console.log('');
|
|
258
|
+
console.log(gradient.teen('ā'.repeat(60)));
|
|
259
|
+
console.log(chalk.bold('š Run'));
|
|
260
|
+
console.log(gradient.passion(` cd ${projectName} && cd web && npm install && npm run dev`));
|
|
261
|
+
console.log(gradient.teen('ā'.repeat(60)));
|
|
262
|
+
console.log('');
|
|
262
263
|
}
|
|
263
264
|
|
|
264
265
|
module.exports = {
|
package/cli/prompts.js
CHANGED
|
@@ -4,6 +4,23 @@
|
|
|
4
4
|
|
|
5
5
|
const prompts = require('prompts');
|
|
6
6
|
const chalk = require('chalk');
|
|
7
|
+
const gradient = require('gradient-string');
|
|
8
|
+
|
|
9
|
+
// Display concise banner with gradient
|
|
10
|
+
function displayBanner() {
|
|
11
|
+
console.clear();
|
|
12
|
+
console.log('');
|
|
13
|
+
console.log(gradient.rainbow('ā'.repeat(60)));
|
|
14
|
+
console.log(gradient.pastel.multiline(' āāāāāā āāāā āāāāāāāāāāāāāāā āāāāāāā āāāāāāā āāāāāā '));
|
|
15
|
+
console.log(gradient.pastel.multiline(' āāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāā'));
|
|
16
|
+
console.log(gradient.pastel.multiline(' āāāāāāāāāāāāāā āāā āāā āāāāāā āāāāāāāāāāāāāāāāāāāā'));
|
|
17
|
+
console.log(gradient.pastel.multiline(' āāāāāāāāāāāāāāāāāā āāā āāāāāā āāāāāāāāāāāāāāāāāāā'));
|
|
18
|
+
console.log(gradient.pastel.multiline(' āāā āāāāāā āāāāāā āāā āāāāāāāāāāāāāāā āāāāāā āāā'));
|
|
19
|
+
console.log(gradient.pastel.multiline(' āāā āāāāāā āāāāā āāā āāā āāāāāāā āāā āāāāāā āāā'));
|
|
20
|
+
console.log(chalk.gray(' AI Agent IDE ⢠v3.0.0'));
|
|
21
|
+
console.log(gradient.rainbow('ā'.repeat(60)));
|
|
22
|
+
console.log('');
|
|
23
|
+
}
|
|
7
24
|
|
|
8
25
|
const skillCategories = {
|
|
9
26
|
webdev: {
|
|
@@ -82,7 +99,11 @@ async function getProjectConfig(skipPrompts = false) {
|
|
|
82
99
|
};
|
|
83
100
|
}
|
|
84
101
|
|
|
85
|
-
|
|
102
|
+
// Display beautiful banner
|
|
103
|
+
displayBanner();
|
|
104
|
+
|
|
105
|
+
console.log(chalk.bold.cyan('š Project Setup Wizard\n'));
|
|
106
|
+
console.log(chalk.gray('Answer a few questions to configure your AI Agent project...\n'));
|
|
86
107
|
|
|
87
108
|
const response = await prompts([
|
|
88
109
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antigravity-ide",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "The Ultimate AI Agent IDE. Create AI Agent projects with interactive setup for skills, rules, and workflows.",
|
|
5
5
|
"main": "cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -34,9 +34,12 @@
|
|
|
34
34
|
"COPYRIGHT.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
+
"boxen": "^5.1.2",
|
|
37
38
|
"chalk": "^4.1.2",
|
|
38
39
|
"commander": "^11.1.0",
|
|
40
|
+
"figlet": "^1.7.0",
|
|
39
41
|
"fs-extra": "^11.2.0",
|
|
42
|
+
"gradient-string": "^2.0.2",
|
|
40
43
|
"ora": "^5.4.1",
|
|
41
44
|
"prompts": "^2.4.2"
|
|
42
45
|
},
|
|
@@ -48,4 +51,4 @@
|
|
|
48
51
|
},
|
|
49
52
|
"author": "Dokhacgiakhoa",
|
|
50
53
|
"license": "MIT"
|
|
51
|
-
}
|
|
54
|
+
}
|