@saccerwin/antigravity-flow 1.0.0 → 1.1.0

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -11
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -12,37 +12,35 @@ const fs_extra_1 = __importDefault(require("fs-extra"));
12
12
  const program = new commander_1.Command();
13
13
  program
14
14
  .name('antigravity-flow')
15
- .description('Trình quản cài đặt hệ sinh thái Antigravity Skills')
15
+ .description('Management and installation tool for the Antigravity Skills ecosystem')
16
16
  .version('1.0.0');
17
17
  program
18
18
  .command('init')
19
- .description('Cài đặt toàn bộ skills của Antigravity vào máy hiện tại')
20
- .option('-l, --local', 'Cài đặt vào thư mục local hiện tại (./.agent/skills) cho Antigravity IDE')
19
+ .description('Install all Antigravity skills to the current machine')
20
+ .option('-l, --local', 'Install to the current local directory (./.agent/skills) for Antigravity IDE')
21
21
  .action(async (options) => {
22
- console.log(chalk_1.default.cyan('🚀 Bắt đầu khởi tạo Antigravity Flow...'));
22
+ console.log(chalk_1.default.cyan('🚀 Initializing Antigravity Flow...'));
23
23
  // Determine destination
24
24
  const targetDir = options.local
25
25
  ? path_1.default.join(process.cwd(), '.agent', 'skills')
26
26
  : path_1.default.join(os_1.default.homedir(), '.gemini', 'antigravity', 'skills');
27
- // For IDE support, if it is local, we also check if .gemini is preferred, but user explicitly asked for .agent
28
- // We can also copy to both if we want to be safe, but lets stick to .agent for local as requested.
29
27
  // Determine source
30
28
  const sourceDir = path_1.default.join(__dirname, '..', 'skills');
31
29
  if (!fs_extra_1.default.existsSync(sourceDir)) {
32
- console.error(chalk_1.default.red(`❌ Không tìm thấy thư mục skills mẫu tại ${sourceDir}`));
30
+ console.error(chalk_1.default.red(`❌ Source skills directory not found at ${sourceDir}`));
33
31
  process.exit(1);
34
32
  }
35
33
  try {
36
- console.log(chalk_1.default.blue(`📂 Đang copy skills đến: ${targetDir}`));
34
+ console.log(chalk_1.default.blue(`📂 Copying skills to: ${targetDir}`));
37
35
  // Ensure target exists
38
36
  await fs_extra_1.default.ensureDir(targetDir);
39
37
  // Copy files
40
38
  await fs_extra_1.default.copy(sourceDir, targetDir, { overwrite: true });
41
- console.log(chalk_1.default.green('✅ Hoàn tất! Quá trình DNA Injection thành công.'));
42
- console.log(chalk_1.default.yellow(`Bạn đã thể sử dụng hàng ngàn kỹ năng Antigravity!`));
39
+ console.log(chalk_1.default.green('✅ Done! DNA Injection successful.'));
40
+ console.log(chalk_1.default.yellow(`You can now use thousands of Antigravity skills!`));
43
41
  }
44
42
  catch (err) {
45
- console.error(chalk_1.default.red('❌ Đã xảy ra lỗi trong quá trình copy:'), err);
43
+ console.error(chalk_1.default.red('❌ An error occurred during the copy process:'), err);
46
44
  process.exit(1);
47
45
  }
48
46
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saccerwin/antigravity-flow",
3
- "version": "1.0.0",
4
- "description": "Antigravity Flow CLI - Skill Ecosystem for AI Engineering",
3
+ "version": "1.1.0",
4
+ "description": "Antigravity Flow CLI - Skill ecosystem management for AI Engineering",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "antigravity-flow": "./dist/index.js"