antigravity-ide 4.1.18 → 4.1.20
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 +2 -2
- package/README.vi.md +2 -2
- package/cli/repair.js +12 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# 🛰️ AntiGravity IDE
|
|
4
|
-
### *Advanced Edition • v4.1.
|
|
4
|
+
### *Advanced Edition • v4.1.20 Meta-Engine*
|
|
5
5
|
|
|
6
6
|
<!-- VISUAL BADGES -->
|
|
7
7
|
[](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.
|
|
54
|
+
## ✨ The Premium Edge (v4.1.20)
|
|
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.
|
|
4
|
+
### *Phiên bản Nâng cao • v4.1.20 Meta-Engine*
|
|
5
5
|
|
|
6
6
|
<!-- VISUAL BADGES -->
|
|
7
7
|
[](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.
|
|
54
|
+
## ✨ Điểm khác biệt (Phiên bản v4.1.20)
|
|
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
|
@@ -63,7 +63,7 @@ async function repairProject(projectPath, options, config) {
|
|
|
63
63
|
|
|
64
64
|
if (fs.existsSync(srcRule)) {
|
|
65
65
|
// Smart Repair: Merge folders (Add missing files, preserve existing) unless --force
|
|
66
|
-
await fs.copy(srcRule, destRule, { filter, overwrite: options.force });
|
|
66
|
+
await fs.copy(srcRule, destRule, { filter: getEngineFilter('standard'), overwrite: options.force });
|
|
67
67
|
restoredRules++;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -89,7 +89,7 @@ async function repairProject(projectPath, options, config) {
|
|
|
89
89
|
const destAgent = path.join(agentsDestDir, agent);
|
|
90
90
|
|
|
91
91
|
if (fs.existsSync(srcAgent)) {
|
|
92
|
-
await fs.copy(srcAgent, destAgent, { filter, overwrite: options.force });
|
|
92
|
+
await fs.copy(srcAgent, destAgent, { filter: getEngineFilter('standard'), overwrite: options.force });
|
|
93
93
|
restoredAgents++;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -135,6 +135,16 @@ async function repairProject(projectPath, options, config) {
|
|
|
135
135
|
}
|
|
136
136
|
spinner.succeed(`Skills synchronized (${restoredSkills} restored)`);
|
|
137
137
|
|
|
138
|
+
// 4. Sync RESOURCES.md (Documentation)
|
|
139
|
+
const resourcesSource = path.join(sourceAgentDir, 'RESOURCES.md');
|
|
140
|
+
const resourcesDest = path.join(agentDir, 'RESOURCES.md');
|
|
141
|
+
if (fs.existsSync(resourcesSource)) {
|
|
142
|
+
// Smart Repair: Merge logic
|
|
143
|
+
if (!fs.existsSync(resourcesDest) || options.force) {
|
|
144
|
+
await fs.copy(resourcesSource, resourcesDest, { overwrite: true });
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
138
148
|
// 4. Sync Workflows (Critical for slash commands)
|
|
139
149
|
spinner.start('Restoring Workflows...');
|
|
140
150
|
const workflowsSourceDir = path.join(sourceAgentDir, 'workflows');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antigravity-ide",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.20",
|
|
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",
|