gitarsenal-cli 1.9.83 → 1.9.84

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-18T08:57:32.974Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
1
+ {"created":"2025-08-18T11:19:32.619Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
package/bin/gitarsenal.js CHANGED
@@ -673,7 +673,7 @@ async function fetchFullSetupAndRecs(repoUrl, storedCredentials = null) {
673
673
  // Function to send user data to web application
674
674
  async function sendUserData(userId, userName, userEmail) {
675
675
  try {
676
- console.log(chalk.blue(`šŸ”— Attempting to register user: ${userName} (${userId})`));
676
+ console.log(chalk.blue(`Attempting to register user: ${userName} (${userId})`));
677
677
 
678
678
  const userData = {
679
679
  email: userEmail, // Use userId as email (assuming it's an email)
@@ -701,7 +701,7 @@ async function sendUserData(userId, userName, userEmail) {
701
701
  webhookUrl = process.env.GITARSENAL_WEBHOOK_URL;
702
702
  }
703
703
 
704
- console.log(chalk.gray(`šŸ“¦ Data: ${data}`));
704
+ console.log(chalk.gray(`Data: ${data}`));
705
705
 
706
706
  const urlObj = new URL(webhookUrl);
707
707
  const options = {
@@ -729,10 +729,10 @@ async function sendUserData(userId, userName, userEmail) {
729
729
  res.on('end', () => {
730
730
 
731
731
  if (res.statusCode >= 200 && res.statusCode < 300) {
732
- console.log(chalk.green('āœ… User registered on GitArsenal dashboard'));
732
+ console.log(chalk.green('User registered on GitArsenal dashboard'));
733
733
  resolve(responseData);
734
734
  } else if (res.statusCode === 409) {
735
- console.log(chalk.green('āœ… User already exists on GitArsenal dashboard'));
735
+ console.log(chalk.green('User already exists on GitArsenal dashboard'));
736
736
  resolve(responseData);
737
737
  } else {
738
738
  console.log(chalk.yellow(`āš ļø Failed to register user (status: ${res.statusCode})`));
@@ -970,6 +970,7 @@ activateVirtualEnvironment();
970
970
  // Check for updates
971
971
  updateNotifier({ pkg }).notify();
972
972
 
973
+
973
974
  // Display banner
974
975
 
975
976
  try {
@@ -986,6 +987,26 @@ try {
986
987
  }));
987
988
  }
988
989
 
990
+ // Display info box first
991
+ console.log(boxen(
992
+ chalk.bold.cyan('šŸš€ GitArsenal - GPU-Accelerated Development Environments') + '\n\n' +
993
+ chalk.white('Secure, cloud-based development environments with GPU acceleration.') + '\n' +
994
+ chalk.white('Everything runs safely in isolated containers - no risk to your system.') + '\n\n' +
995
+ chalk.green('āœ… No local installation required') + '\n' +
996
+ chalk.green('āœ… Instant access to powerful GPUs') + '\n' +
997
+ chalk.green('āœ… Pre-configured for any repository') + '\n' +
998
+ chalk.green('āœ… Secure cloud isolation') + '\n\n' +
999
+ chalk.gray('Your code is processed securely in the cloud.') + '\n' +
1000
+ chalk.gray('No worries about dependencies or compatibility issues.'),
1001
+ {
1002
+ padding: 1,
1003
+ margin: 0,
1004
+ borderStyle: 'round',
1005
+ borderColor: 'cyan',
1006
+ fullscreen: true
1007
+ }
1008
+ ));
1009
+
989
1010
  // Set up main command
990
1011
  program
991
1012
  .version(version)
@@ -1070,7 +1091,7 @@ async function runContainerCommand(options) {
1070
1091
  const { userId, userName, userEmail } = userCredentials;
1071
1092
 
1072
1093
  // Register user on dashboard immediately after collecting credentials
1073
- console.log(chalk.blue('\nšŸ“ Registering user on GitArsenal dashboard...'));
1094
+ console.log(chalk.blue('\nRegistering user on GitArsenal dashboard...'));
1074
1095
  // Send user data immediately so the dashboard records users
1075
1096
  await sendUserData(userId, userName, userEmail);
1076
1097
 
@@ -1317,7 +1338,7 @@ async function handleKeysAdd(options) {
1317
1338
  const { userId, userName } = userCredentials;
1318
1339
 
1319
1340
  // Register user on dashboard
1320
- console.log(chalk.blue('\nšŸ“ Registering user on GitArsenal dashboard...'));
1341
+ console.log(chalk.blue('\nRegistering user on GitArsenal dashboard...'));
1321
1342
  // Note: User data will be sent by the Python script after authentication
1322
1343
  // await sendUserData(userId, userName);
1323
1344
 
@@ -1393,7 +1414,7 @@ async function handleKeysList() {
1393
1414
  const { userId, userName } = userCredentials;
1394
1415
 
1395
1416
  // Register user on dashboard
1396
- console.log(chalk.blue('\nšŸ“ Registering user on GitArsenal dashboard...'));
1417
+ console.log(chalk.blue('\nRegistering user on GitArsenal dashboard...'));
1397
1418
  // Note: User data will be sent by the Python script after authentication
1398
1419
  // await sendUserData(userId, userName);
1399
1420
 
@@ -1429,7 +1450,7 @@ async function handleKeysView(options) {
1429
1450
  const { userId, userName } = userCredentials;
1430
1451
 
1431
1452
  // Register user on dashboard
1432
- console.log(chalk.blue('\nšŸ“ Registering user on GitArsenal dashboard...'));
1453
+ console.log(chalk.blue('\nRegistering user on GitArsenal dashboard...'));
1433
1454
  // Note: User data will be sent by the Python script after authentication
1434
1455
  // await sendUserData(userId, userName);
1435
1456
 
@@ -1481,7 +1502,7 @@ async function handleKeysDelete(options) {
1481
1502
  const { userId, userName } = userCredentials;
1482
1503
 
1483
1504
  // Register user on dashboard
1484
- console.log(chalk.blue('\nšŸ“ Registering user on GitArsenal dashboard...'));
1505
+ console.log(chalk.blue('\nRegistering user on GitArsenal dashboard...'));
1485
1506
  // Note: User data will be sent by the Python script after authentication
1486
1507
  // await sendUserData(userId, userName);
1487
1508
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitarsenal-cli",
3
- "version": "1.9.83",
3
+ "version": "1.9.84",
4
4
  "description": "CLI tool for creating Modal sandboxes with GitHub repositories",
5
5
  "main": "index.js",
6
6
  "bin": {