gitarsenal-cli 1.9.8 → 1.9.10

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/.venv_status.json CHANGED
@@ -1 +1 @@
1
- {"created":"2025-08-04T06:53:34.568Z","packages":["modal","gitingest","requests"],"uv_version":"uv 0.8.4 (e176e1714 2025-07-30)"}
1
+ {"created":"2025-08-04T14:17:42.697Z","packages":["modal","gitingest","requests"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
package/bin/gitarsenal.js CHANGED
@@ -110,7 +110,7 @@ async function sendUserData(userId, userName) {
110
110
  console.log(chalk.blue(`🔗 Attempting to register user: ${userName} (${userId})`));
111
111
 
112
112
  const userData = {
113
- id: userId,
113
+ email: userId, // Use userId as email (assuming it's an email)
114
114
  name: userName
115
115
  };
116
116
 
@@ -287,22 +287,7 @@ program
287
287
  .version(version)
288
288
  .description('GitArsenal CLI - Create GPU-accelerated development environments');
289
289
 
290
- // Container command
291
- const containerCmd = program
292
- .command('container')
293
- .description('Create a container with a GitHub repository')
294
- .option('-g, --gpu <type>', 'GPU type (A10G, A100, H100, T4, L4, L40S, V100)')
295
- .option('-r, --repo-url <url>', 'GitHub repository URL')
296
- .option('-v, --volume-name <n>', 'Name of persistent volume')
297
- .option('-s, --setup-commands <commands...>', 'Setup commands to run in the container')
298
- .option('-y, --yes', 'Skip confirmation prompts')
299
- .option('-m, --manual', 'Disable automatic setup command detection')
300
- .option('--show-examples', 'Show usage examples')
301
- .option('--user-id <id>', 'User ID for tracking')
302
- .option('--user-name <name>', 'User name for tracking')
303
- .action(async (options) => {
304
- await runContainerCommand(options);
305
- });
290
+
306
291
 
307
292
  // Keys management command
308
293
  const keysCmd = program
package/eval_repos.py ADDED
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitarsenal-cli",
3
- "version": "1.9.8",
3
+ "version": "1.9.10",
4
4
  "description": "CLI tool for creating Modal sandboxes with GitHub repositories",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -218,12 +218,22 @@ class AuthManager:
218
218
  # Get webhook URL from environment or use default
219
219
  webhook_url = os.getenv("GITARSENAL_WEBHOOK_URL", "https://www.gitarsenal.dev/api/users")
220
220
 
221
+ # Ensure we have valid email and name
222
+ if not email or not email.strip():
223
+ print(f"⚠️ No email provided for user {username}, skipping web app registration")
224
+ return
225
+
226
+ if not username or not username.strip():
227
+ print(f"⚠️ No username provided, skipping web app registration")
228
+ return
229
+
221
230
  user_data = {
222
- "id": username, # Use username as ID for consistency
223
- "name": username # Use username as name for now
231
+ "email": email.strip(), # Use email as the primary identifier
232
+ "name": username.strip() # Use username as the display name
224
233
  }
225
234
 
226
235
  print(f"🔗 Sending user data to web application: {username}")
236
+ print(f"📦 Data being sent: {user_data}")
227
237
 
228
238
  response = requests.post(
229
239
  webhook_url,
@@ -290,6 +300,9 @@ class AuthManager:
290
300
  print("✅ Login successful!")
291
301
  print(f"Welcome back, {username}!")
292
302
 
303
+ # Debug: Print user data to see what we have
304
+ print(f"🔍 User data for web app: username={username}, email={user_data.get('email', 'NOT_FOUND')}")
305
+
293
306
  # Send user data to web application
294
307
  self.send_user_data_to_webapp(username, user_data.get('email', ''))
295
308
 
package/repos.json ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "repositories": [
3
+ {
4
+ "name": "FlashAvatar",
5
+ "url": "https://github.com/FlashAvatar/FlashAvatar",
6
+ "gpu": "A10G",
7
+ "volume": "flashavatar-volume",
8
+ "description": "Avatar generation repository"
9
+ },
10
+ {
11
+ "name": "DECA",
12
+ "url": "https://github.com/YadiraF/DECA",
13
+ "gpu": "A100-40",
14
+ "volume": "deca-volume",
15
+ "description": "Detailed Expression Capture and Animation"
16
+ },
17
+ {
18
+ "name": "DisenBooth",
19
+ "url": "https://github.com/Fictionarry/DisenBooth",
20
+ "gpu": "A10G",
21
+ "volume": "disenbooth-volume",
22
+ "description": "Disentangled subject-driven generation"
23
+ },
24
+ {
25
+ "name": "FederatedGPT-Shepherd",
26
+ "url": "https://github.com/FederatedGPT/FederatedGPT-Shepherd",
27
+ "gpu": "A100-40",
28
+ "volume": "federatedgpt-volume",
29
+ "description": "Federated GPT training framework"
30
+ },
31
+ {
32
+ "name": "FLAME_PyTorch",
33
+ "url": "https://github.com/HavenFeng/FLAME_PyTorch",
34
+ "gpu": "A10G",
35
+ "volume": "flame-pytorch-volume",
36
+ "description": "FLAME face model in PyTorch"
37
+ },
38
+ {
39
+ "name": "flame-head-tracker",
40
+ "url": "https://github.com/CMU-Perceptual-Computing-Lab/flame-head-tracker",
41
+ "gpu": "A10G",
42
+ "volume": "flame-tracker-volume",
43
+ "description": "Head tracking using FLAME model"
44
+ },
45
+ {
46
+ "name": "litex",
47
+ "url": "https://github.com/enjoy-digital/litex",
48
+ "gpu": "T4",
49
+ "volume": "litex-volume",
50
+ "description": "FPGA framework and SoC builder"
51
+ },
52
+ {
53
+ "name": "MICA",
54
+ "url": "https://github.com/Zielon/MICA",
55
+ "gpu": "A100-40",
56
+ "volume": "mica-volume",
57
+ "description": "3D face reconstruction"
58
+ },
59
+ {
60
+ "name": "photometric_optimization",
61
+ "url": "https://github.com/facebookresearch/photometric_optimization",
62
+ "gpu": "A10G",
63
+ "volume": "photometric-volume",
64
+ "description": "Photometric optimization for 3D reconstruction"
65
+ },
66
+ {
67
+ "name": "reflex",
68
+ "url": "https://github.com/reflex-dev/reflex",
69
+ "gpu": "A10G",
70
+ "volume": "reflex-volume",
71
+ "description": "Web framework for Python"
72
+ }
73
+ ],
74
+ "metadata": {
75
+ "description": "Repository list for GitArsenal evaluation",
76
+ "created": "2025-08-04",
77
+ "version": "1.0",
78
+ "total_repos": 10
79
+ }
80
+ }