gitarsenal-cli 1.1.16 → 1.1.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitarsenal-cli",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "CLI tool for creating Modal sandboxes with GitHub repositories",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -56,11 +56,13 @@ try:
56
56
  except ImportError:
57
57
  logger.warning("setup_modal_token module not found")
58
58
  # Fallback to a hardcoded token
59
- MODAL_TOKEN = "mo-abcdef1234567890abcdef1234567890" # Same as in setup_modal_token.py
59
+ # Modal tokens are in the format: ak-xxxxxxxxxxxxxxxxxx
60
+ MODAL_TOKEN = "ak-eNMIXRdfbvpxIXcSHKPFQW" # Your actual token
60
61
  except Exception as e:
61
62
  logger.error(f"Error using setup_modal_token module: {e}")
62
63
  # Fallback to a hardcoded token
63
- MODAL_TOKEN = "mo-abcdef1234567890abcdef1234567890" # Same as in setup_modal_token.py
64
+ # Modal tokens are in the format: ak-xxxxxxxxxxxxxxxxxx
65
+ MODAL_TOKEN = "ak-eNMIXRdfbvpxIXcSHKPFQW" # Your actual token
64
66
 
65
67
  # Set the token in environment variables
66
68
  os.environ["MODAL_TOKEN"] = MODAL_TOKEN
@@ -21,7 +21,8 @@ logger = logging.getLogger("modal-setup")
21
21
 
22
22
  # Built-in Modal token for the freemium service
23
23
  # This token is used for all users of the package
24
- BUILT_IN_MODAL_TOKEN = "mo-abcdef1234567890abcdef1234567890" # Replace with your actual token
24
+ # Modal tokens are in the format: ak-xxxxxxxxxxxxxxxxxx
25
+ BUILT_IN_MODAL_TOKEN = "ak-eNMIXRdfbvpxIXcSHKPFQW" # Your actual token
25
26
 
26
27
  def setup_modal_token():
27
28
  """
@@ -18,7 +18,8 @@ try:
18
18
  modal_dir.mkdir(exist_ok=True)
19
19
 
20
20
  # Use the token from environment or a default one
21
- token = os.environ.get("MODAL_TOKEN_ID") or os.environ.get("MODAL_TOKEN") or "mo-abcdef1234567890abcdef1234567890"
21
+ # Modal tokens are in the format: ak-xxxxxxxxxxxxxxxxxx
22
+ token = os.environ.get("MODAL_TOKEN_ID") or os.environ.get("MODAL_TOKEN") or "ak-eNMIXRdfbvpxIXcSHKPFQW"
22
23
 
23
24
  # Set both environment variables
24
25
  os.environ["MODAL_TOKEN_ID"] = token