gitarsenal-cli 1.9.19 → 1.9.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/.venv_status.json CHANGED
@@ -1 +1 @@
1
- {"created":"2025-08-06T11:13:13.824Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
1
+ {"created":"2025-08-06T11:31:44.083Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitarsenal-cli",
3
- "version": "1.9.19",
3
+ "version": "1.9.20",
4
4
  "description": "CLI tool for creating Modal sandboxes with GitHub repositories",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -90,12 +90,12 @@ def fetch_tokens_from_proxy(proxy_url=None, api_key=None):
90
90
  if not proxy_url:
91
91
  # print("❌ No proxy URL provided or found in environment")
92
92
  print("💡 Set MODAL_PROXY_URL environment variable or use --proxy-url argument")
93
- return None, None, None
93
+ return None, None, None, None
94
94
 
95
95
  if not api_key:
96
96
  print("❌ No API key provided or found in environment")
97
97
  print("💡 Set MODAL_PROXY_API_KEY environment variable or use --proxy-api-key argument")
98
- return None, None, None
98
+ return None, None, None, None
99
99
 
100
100
  # Ensure the URL ends with a slash
101
101
  if not proxy_url.endswith("/"):
@@ -42,7 +42,7 @@ except Exception as e:
42
42
  try:
43
43
  # First, try to import the fetch_modal_tokens module
44
44
  from fetch_modal_tokens import get_tokens
45
- TOKEN_ID, TOKEN_SECRET = get_tokens()
45
+ TOKEN_ID, TOKEN_SECRET, _, _ = get_tokens()
46
46
 
47
47
  # Check if we got valid tokens
48
48
  if TOKEN_ID is None or TOKEN_SECRET is None:
@@ -22,7 +22,7 @@ from pathlib import Path
22
22
  try:
23
23
  # First, try to import the fetch_modal_tokens module
24
24
  from fetch_modal_tokens import get_tokens
25
- TOKEN_ID, TOKEN_SECRET = get_tokens()
25
+ TOKEN_ID, TOKEN_SECRET, _, _ = get_tokens()
26
26
  print(f"✅ Using tokens from proxy server or defaults")
27
27
  except ImportError:
28
28
  # If the module is not available, use hardcoded tokens
@@ -118,7 +118,7 @@ def setup_modal_auth():
118
118
  # Import the fetch_modal_tokens module
119
119
  logger.info("Fetching Modal tokens from proxy server...")
120
120
  from fetch_modal_tokens import get_tokens
121
- token_id, token_secret = get_tokens()
121
+ token_id, token_secret, _, _ = get_tokens()
122
122
  logger.info("Modal tokens fetched successfully")
123
123
 
124
124
  # Set the tokens in environment variables
@@ -462,7 +462,7 @@ def create_ssh_container():
462
462
  # Import the fetch_modal_tokens module
463
463
  logger.info("Fetching Modal tokens from proxy server in thread...")
464
464
  from fetch_modal_tokens import get_tokens
465
- token_id, token_secret = get_tokens()
465
+ token_id, token_secret, _, _ = get_tokens()
466
466
  logger.info("Modal tokens fetched successfully in thread")
467
467
 
468
468
  # Set the tokens in environment variables
@@ -25,7 +25,7 @@ import time
25
25
  try:
26
26
  # First, try to import the fetch_modal_tokens module
27
27
  from fetch_modal_tokens import get_tokens
28
- TOKEN_ID, TOKEN_SECRET = get_tokens()
28
+ TOKEN_ID, TOKEN_SECRET, _, _ = get_tokens()
29
29
  print(f"✅ Using tokens from proxy server or defaults")
30
30
  except ImportError:
31
31
  # If the module is not available, use hardcoded tokens