gitarsenal-cli 1.9.98 → 1.9.100
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 +1 -1
- package/lib/e2b-sandbox.js +0 -4
- package/package.json +1 -1
- package/python/e2b_sandbox_agent.py +1 -4
package/.venv_status.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"created":"2025-09-14T10:
|
|
1
|
+
{"created":"2025-09-14T10:47:53.598Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
|
package/lib/e2b-sandbox.js
CHANGED
|
@@ -62,7 +62,6 @@ async function fetchE2BApiKey() {
|
|
|
62
62
|
const e2bKeyMatch = stdout.match(/E2B_API_KEY=(e2b_[a-zA-Z0-9]+)/);
|
|
63
63
|
if (e2bKeyMatch && e2bKeyMatch[1]) {
|
|
64
64
|
const e2bApiKey = e2bKeyMatch[1];
|
|
65
|
-
console.log(chalk.green(`✅ Successfully fetched E2B API key from server (format: ${e2bApiKey.substring(0, 5)}...)`));
|
|
66
65
|
return e2bApiKey;
|
|
67
66
|
}
|
|
68
67
|
|
|
@@ -143,9 +142,6 @@ async function runE2BSandbox(options) {
|
|
|
143
142
|
return { success: false, error: 'E2B API key not found' };
|
|
144
143
|
}
|
|
145
144
|
|
|
146
|
-
// Log a masked version of the API key for debugging
|
|
147
|
-
console.log(chalk.green(`✅ E2B API key found (${e2bApiKey.substring(0, 5)}...)`));
|
|
148
|
-
|
|
149
145
|
// Set up the environment for the Python process
|
|
150
146
|
const pythonExecutable = getPythonExecutable();
|
|
151
147
|
if (!pythonExecutable) {
|
package/package.json
CHANGED
|
@@ -491,7 +491,6 @@ def run_e2b_sandbox(repo_url, setup_commands=None, api_keys=None):
|
|
|
491
491
|
if e2b_api_key and e2b_api_key != "your_e2b_api_key" and not e2b_api_key.startswith("placeholder"):
|
|
492
492
|
# Set it in the environment for the Sandbox.create() call
|
|
493
493
|
os.environ["E2B_API_KEY"] = e2b_api_key
|
|
494
|
-
print(f"✅ Successfully fetched E2B API key from server (format: {e2b_api_key[:6]}...)")
|
|
495
494
|
else:
|
|
496
495
|
print("⚠️ Could not get valid E2B API key from server")
|
|
497
496
|
e2b_api_key = None
|
|
@@ -523,9 +522,7 @@ def run_e2b_sandbox(repo_url, setup_commands=None, api_keys=None):
|
|
|
523
522
|
print("Please set the E2B_API_KEY environment variable or add it to your API keys")
|
|
524
523
|
return False
|
|
525
524
|
|
|
526
|
-
|
|
527
|
-
print(f"🔍 E2B API key format check: starts with '{e2b_api_key[:6]}', length: {len(e2b_api_key)}")
|
|
528
|
-
|
|
525
|
+
|
|
529
526
|
try:
|
|
530
527
|
# Create a new E2B sandbox with a longer timeout (30 minutes)
|
|
531
528
|
sandbox = Sandbox.create(timeout=1800)
|