@aift/antigravity 1.0.2 → 1.0.3

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/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -31,9 +31,9 @@ program
31
31
  throw new Error(`Erreur serveur (${response.status})`);
32
32
  }
33
33
 
34
- const { content, metadata } = await response.json();
34
+ const content = await response.text();
35
35
 
36
- if (!content) {
36
+ if (!content || content.trim() === '') {
37
37
  throw new Error('Le contenu du skill est vide.');
38
38
  }
39
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aift/antigravity",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "AntiGravity CLI - Déployez des skills IA en une commande",
5
5
  "main": "index.js",
6
6
  "type": "module",