IgnorantesNaturales commited on
Commit
389df12
·
1 Parent(s): 1c2fe57

Update hugging face documentation

Browse files
Files changed (1) hide show
  1. UPDATE_HUGGINGFACE.sh +61 -0
UPDATE_HUGGINGFACE.sh ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Script para actualizar el Space de Hugging Face con la versión 2.0.0
4
+
5
+ echo "🚀 Actualizando Hugging Face Space..."
6
+
7
+ # 1. Clonar el Space existente
8
+ echo "📥 Clonando el Space de Hugging Face..."
9
+ cd /tmp
10
+ rm -rf hf-space
11
+ git clone https://huggingface.co/spaces/ignorantesnaturales/mcp-figma-comment-summary hf-space
12
+
13
+ # 2. Entrar al directorio
14
+ cd hf-space
15
+
16
+ # 3. Configurar git
17
+ git config user.email "ignorantesnaturales@gmail.com"
18
+ git config user.name "Ignorantes Naturales"
19
+
20
+ # 4. Copiar el README actualizado
21
+ echo "📝 Copiando README actualizado..."
22
+ cp /Users/fran/Documents/IN/Labs/mcp-figma-comment-summary/README.huggingface.md README.md
23
+
24
+ # 5. Verificar cambios
25
+ echo "🔍 Verificando cambios..."
26
+ git status
27
+
28
+ # 6. Añadir cambios
29
+ echo "➕ Añadiendo cambios..."
30
+ git add README.md
31
+
32
+ # 7. Hacer commit
33
+ echo "💾 Haciendo commit..."
34
+ git commit -m "Update to v2.0.0 - Complete Figma REST API with 29 endpoints
35
+
36
+ - Added 24 new endpoints (from 5 to 29 total)
37
+ - Complete Files API: get files, nodes, render images
38
+ - Comments: full CRUD + reactions
39
+ - Variables: design tokens (Enterprise)
40
+ - Webhooks V2: create, manage, debug
41
+ - Projects & Teams: organizational access
42
+ - Dev Resources: design-to-dev bridge
43
+ - Version History: track changes
44
+ - Users: current user info
45
+
46
+ New endpoint categories:
47
+ - Comments (9 tools): complete CRUD operations + reactions
48
+ - Files (4 tools): file structure, nodes, image rendering
49
+ - Users (1 tool): current user information
50
+ - Version History (1 tool): file version tracking
51
+ - Projects & Teams (2 tools): organizational access
52
+ - Variables (3 tools): design tokens - Enterprise
53
+ - Dev Resources (3 tools): design-to-dev bridge
54
+ - Webhooks V2 (6 tools): event automation"
55
+
56
+ # 8. Push a Hugging Face
57
+ echo "🚀 Subiendo a Hugging Face..."
58
+ git push
59
+
60
+ echo "✅ Actualización completada!"
61
+ echo "Verifica en: https://huggingface.co/spaces/ignorantesnaturales/mcp-figma-comment-summary"