gitarsenal-cli 1.9.60 → 1.9.62
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-
|
|
1
|
+
{"created":"2025-08-13T18:48:23.291Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
|
package/package.json
CHANGED
|
@@ -382,6 +382,8 @@ class CommandListManager:
|
|
|
382
382
|
prompt = f"""
|
|
383
383
|
I need to determine if an original command should be skipped after a successful fix command.
|
|
384
384
|
|
|
385
|
+
ENVIRONMENT: All commands are running on a Unix/Linux environment (bash shell), so only suggest Unix-compatible commands.
|
|
386
|
+
|
|
385
387
|
Original command (failed): {original_command}
|
|
386
388
|
Fix command (succeeded): {fix_command}
|
|
387
389
|
|
|
@@ -520,6 +522,8 @@ class CommandListManager:
|
|
|
520
522
|
I need you to analyze and optimize this command list. Some commands have been executed,
|
|
521
523
|
and some are still pending. Based on what has already been executed, I need you to:
|
|
522
524
|
|
|
525
|
+
ENVIRONMENT: All commands are running on a Unix/Linux environment (bash shell), so only suggest Unix-compatible commands. Do not suggest Windows-specific commands or PowerShell commands.
|
|
526
|
+
|
|
523
527
|
1. Identify any pending commands that are now redundant or unnecessary
|
|
524
528
|
2. Identify any pending commands that should be modified based on previous command results
|
|
525
529
|
3. Suggest any new commands that should be added
|
package/python/llm_debugging.py
CHANGED
|
@@ -610,6 +610,8 @@ def call_llm_for_batch_debug(failed_commands, api_key=None, current_dir=None, sa
|
|
|
610
610
|
# Create batch prompt once
|
|
611
611
|
prompt = f"""You are a debugging assistant analyzing multiple failed commands.
|
|
612
612
|
|
|
613
|
+
ENVIRONMENT: All commands are running on a Unix/Linux environment (bash shell), so only suggest Unix-compatible commands. Do not suggest Windows-specific commands or PowerShell commands.
|
|
614
|
+
|
|
613
615
|
Context:
|
|
614
616
|
{chr(10).join(context_parts)}
|
|
615
617
|
|
package/python/shell.py
CHANGED
|
@@ -479,6 +479,8 @@ class PersistentShell:
|
|
|
479
479
|
prompt = f"""
|
|
480
480
|
The command '{command}' appears to be waiting for user input.
|
|
481
481
|
|
|
482
|
+
ENVIRONMENT: All commands are running on a Unix/Linux environment (bash shell), so only suggest Unix-compatible commands. Do not suggest Windows-specific commands or PowerShell commands.
|
|
483
|
+
|
|
482
484
|
Current directory: {current_dir}
|
|
483
485
|
|
|
484
486
|
Last stdout output:
|
|
@@ -618,7 +618,7 @@ def create_modal_ssh_container(gpu_type, repo_url=None, repo_name=None, setup_co
|
|
|
618
618
|
# Retry the original command
|
|
619
619
|
print(f"🔄 Retrying original command: {cmd_text}")
|
|
620
620
|
retry_success, retry_stdout, retry_stderr, retry_execution_time = _execute_with_box(
|
|
621
|
-
shell, cmd_text, timeout=
|
|
621
|
+
shell, cmd_text, timeout=300,
|
|
622
622
|
title_line=f"🔄 Retrying command: {cmd_text}",
|
|
623
623
|
box=False
|
|
624
624
|
)
|
|
@@ -658,7 +658,7 @@ def create_modal_ssh_container(gpu_type, repo_url=None, repo_name=None, setup_co
|
|
|
658
658
|
cmd_text = next_cmd['fix_command']
|
|
659
659
|
cmd_index = next_cmd['index']
|
|
660
660
|
success, stdout, stderr, execution_time = _execute_with_box(
|
|
661
|
-
shell, cmd_text, timeout=
|
|
661
|
+
shell, cmd_text, timeout=300,
|
|
662
662
|
title_line=f"🔧 Executing fix command {cmd_index + 1}: {cmd_text}",
|
|
663
663
|
box=False
|
|
664
664
|
)
|
|
@@ -706,7 +706,7 @@ def create_modal_ssh_container(gpu_type, repo_url=None, repo_name=None, setup_co
|
|
|
706
706
|
fix_cmd = cmd_manager.suggested_fixes[fix_index]
|
|
707
707
|
cmd_text = fix_cmd['fix_command']
|
|
708
708
|
success, stdout, stderr, execution_time = _execute_with_box(
|
|
709
|
-
shell, cmd_text, timeout=
|
|
709
|
+
shell, cmd_text, timeout=300,
|
|
710
710
|
title_line=f"🔧 Executing additional fix: {cmd_text}",
|
|
711
711
|
box=False
|
|
712
712
|
)
|