gitarsenal-cli 1.9.36 → 1.9.37

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-11T10:04:42.375Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
1
+ {"created":"2025-08-11T11:05:53.789Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
package/config.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "userId": "rs545837",
2
+ "userId": "rs545837@gmail.com",
3
3
  "userName": "Rohan Sharma",
4
4
  "webhookUrl": "https://www.gitarsenal.dev/api/users"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitarsenal-cli",
3
- "version": "1.9.36",
3
+ "version": "1.9.37",
4
4
  "description": "CLI tool for creating Modal sandboxes with GitHub repositories",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -126,7 +126,7 @@ def create_modal_ssh_container(gpu_type, repo_url=None, repo_name=None, setup_co
126
126
  print(f"Using default volume name: {volume_name}")
127
127
  except KeyboardInterrupt:
128
128
  print("\nšŸ›‘ Setup cancelled.")
129
- return None
129
+ sys.exit(1)
130
130
 
131
131
  # Check if Modal is authenticated
132
132
  try:
@@ -1596,9 +1596,14 @@ def get_setup_commands_from_gitingest(repo_url):
1596
1596
  try:
1597
1597
  print(f"Trying API endpoint: {api_url}")
1598
1598
 
1599
+ # Load stored credentials
1600
+ stored_credentials = get_stored_credentials()
1601
+
1599
1602
  payload = {
1600
1603
  "repoUrl": repo_url,
1601
- "gitingestData": gitingest_data
1604
+ "gitingestData": gitingest_data,
1605
+ "storedCredentials": stored_credentials, # Add back stored credentials
1606
+ "preview": False
1602
1607
  }
1603
1608
 
1604
1609
  # Use the retry mechanism for more reliable requests
@@ -1827,7 +1832,7 @@ Return only the JSON array, no other text.
1827
1832
  client = openai.OpenAI(api_key=api_key)
1828
1833
 
1829
1834
  response = client.chat.completions.create(
1830
- model="gpt-5-mini",
1835
+ model="gpt-4o-mini", # Fixed: using valid OpenAI model
1831
1836
  messages=[
1832
1837
  {"role": "system", "content": "You are a command preprocessing assistant that modifies setup commands to use available credentials and make them non-interactive."},
1833
1838
  {"role": "user", "content": prompt}