gitarsenal-cli 1.9.103 → 1.9.105
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 -3
- package/package.json +1 -1
- package/python/e2b_sandbox_agent.py +0 -3
package/.venv_status.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"created":"2025-09-14T11:
|
|
1
|
+
{"created":"2025-09-14T11:10:07.073Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
|
package/lib/e2b-sandbox.js
CHANGED
|
@@ -65,7 +65,6 @@ async function fetchAnthropicApiKey() {
|
|
|
65
65
|
|
|
66
66
|
return null;
|
|
67
67
|
} catch (error) {
|
|
68
|
-
console.error(chalk.red(`❌ Error fetching Anthropic API key: ${error.message}`));
|
|
69
68
|
return null;
|
|
70
69
|
}
|
|
71
70
|
}
|
|
@@ -183,10 +182,8 @@ async function runE2BSandbox(options) {
|
|
|
183
182
|
|
|
184
183
|
// If Anthropic API key is not found, try to fetch it directly from the server
|
|
185
184
|
if (!anthropicApiKey) {
|
|
186
|
-
console.log(chalk.blue('🔄 Fetching Anthropic API key directly from server...'));
|
|
187
185
|
anthropicApiKey = await fetchAnthropicApiKey();
|
|
188
186
|
if (anthropicApiKey) {
|
|
189
|
-
console.log(chalk.green('✅ Successfully fetched Anthropic API key from server'));
|
|
190
187
|
// Add it to apiKeys so it gets passed to the Python script
|
|
191
188
|
apiKeys.ANTHROPIC_API_KEY = anthropicApiKey;
|
|
192
189
|
}
|
package/package.json
CHANGED
|
@@ -487,7 +487,6 @@ def run_e2b_sandbox(repo_url, setup_commands=None, api_keys=None):
|
|
|
487
487
|
if e2b_api_key and e2b_api_key != "your_e2b_api_key" and not e2b_api_key.startswith("placeholder"):
|
|
488
488
|
# Set it in the environment for the Sandbox.create() call
|
|
489
489
|
os.environ["E2B_API_KEY"] = e2b_api_key
|
|
490
|
-
print(f"✅ Successfully fetched E2B API key from server (format: {e2b_api_key[:6]}...)")
|
|
491
490
|
else:
|
|
492
491
|
print("⚠️ Could not get valid E2B API key from server")
|
|
493
492
|
e2b_api_key = None
|
|
@@ -497,7 +496,6 @@ def run_e2b_sandbox(repo_url, setup_commands=None, api_keys=None):
|
|
|
497
496
|
if api_keys is None:
|
|
498
497
|
api_keys = {}
|
|
499
498
|
api_keys["ANTHROPIC_API_KEY"] = anthropic_api_key
|
|
500
|
-
print(f"✅ Successfully fetched Anthropic API key from server (format: {anthropic_api_key[:5]}...)")
|
|
501
499
|
except Exception as e:
|
|
502
500
|
print(f"⚠️ Could not fetch API keys from server: {e}")
|
|
503
501
|
e2b_api_key = None
|
|
@@ -704,7 +702,6 @@ except Exception as e:
|
|
|
704
702
|
|
|
705
703
|
# Try with a simpler approach - just the query subcommand
|
|
706
704
|
debug_cmd = f"cd /home/user && ANTHROPIC_API_KEY=\"{anthropic_key}\" python /home/user/kill_claude/claude_code_agent.py query \"{claude_prompt}\""
|
|
707
|
-
print("Command to execute:", debug_cmd)
|
|
708
705
|
|
|
709
706
|
# Define stdout and stderr handlers to stream output in real-time
|
|
710
707
|
def on_stdout(data):
|