antigravity-ide 4.1.15 → 4.1.16

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <div align="center">
2
2
 
3
3
  # 🛰️ AntiGravity IDE
4
- ### *Advanced Edition • v4.1.15 Meta-Engine*
4
+ ### *Advanced Edition • v4.1.16 Meta-Engine*
5
5
 
6
6
  <!-- VISUAL BADGES -->
7
7
  [![npm version](https://img.shields.io/npm/v/antigravity-ide?style=flat&color=2ea44f&logo=npm)](https://www.npmjs.com/package/antigravity-ide)
@@ -51,7 +51,7 @@ npx antigravity-ide validate
51
51
 
52
52
  ---
53
53
 
54
- ## ✨ The Premium Edge (v4.1.15)
54
+ ## ✨ The Premium Edge (v4.1.16)
55
55
 
56
56
  Why choose AntiGravity over standard AI wrappers?
57
57
 
package/README.vi.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <div align="center">
2
2
 
3
3
  # 🛰️ AntiGravity IDE
4
- ### *Phiên bản Nâng cao • v4.1.15 Meta-Engine*
4
+ ### *Phiên bản Nâng cao • v4.1.16 Meta-Engine*
5
5
 
6
6
  <!-- VISUAL BADGES -->
7
7
  [![npm version](https://img.shields.io/npm/v/antigravity-ide?style=flat&color=2ea44f&logo=npm)](https://www.npmjs.com/package/antigravity-ide)
@@ -51,7 +51,7 @@ npx antigravity-ide validate
51
51
 
52
52
  ---
53
53
 
54
- ## ✨ Điểm khác biệt (Phiên bản v4.1.15)
54
+ ## ✨ Điểm khác biệt (Phiên bản v4.1.16)
55
55
 
56
56
  Tại sao nên chọn AntiGravity thay vì các AI wrapper thông thường?
57
57
 
package/cli/repair.js CHANGED
@@ -127,7 +127,14 @@ async function repairProject(projectPath, options, config) {
127
127
  const destSkill = path.join(skillsDestDir, skill);
128
128
 
129
129
  if (fs.existsSync(srcSkill)) {
130
- if (!fs.existsSync(destSkill) || options.force) {
130
+ // Start SmartSync:
131
+ // 1. If dest doesn't exist -> Copy
132
+ // 2. If dest exists BUT is empty (failed install) -> Copy
133
+ // 3. If force flag -> Copy (Overwrite)
134
+ const destExists = fs.existsSync(destSkill);
135
+ const isEmpty = destExists ? fs.readdirSync(destSkill).length === 0 : true;
136
+
137
+ if (!destExists || isEmpty || options.force) {
131
138
  await fs.copy(srcSkill, destSkill, { filter, overwrite: true });
132
139
  restoredSkills++;
133
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antigravity-ide",
3
- "version": "4.1.15",
3
+ "version": "4.1.16",
4
4
  "description": "The Ultimate AI-Powered IDE for 10x Engineers (Full Agentic Workflow)• 573 Master Skills • 2977 AI Patterns • 30 Workflows • 135 Shared DNA Libraries. One Command to Rule Them All.",
5
5
  "homepage": "https://antigravity-ide-cli.vercel.app/",
6
6
  "main": "cli/index.js",