gitarsenal-cli 1.9.41 → 1.9.43
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-11T17:30:03.296Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
|
package/bin/gitarsenal.js
CHANGED
|
@@ -23,7 +23,7 @@ function activateVirtualEnvironment() {
|
|
|
23
23
|
const statusFile = path.join(__dirname, '..', '.venv_status.json');
|
|
24
24
|
|
|
25
25
|
// Debug: Log the path we're looking for
|
|
26
|
-
console.log(chalk.gray(`🔍 Looking for virtual environment at: ${venvPath}`));
|
|
26
|
+
// console.log(chalk.gray(`🔍 Looking for virtual environment at: ${venvPath}`));
|
|
27
27
|
|
|
28
28
|
// Check if virtual environment exists
|
|
29
29
|
if (!fs.existsSync(venvPath)) {
|
|
@@ -945,7 +945,7 @@ async function runContainerCommand(options) {
|
|
|
945
945
|
}
|
|
946
946
|
|
|
947
947
|
// Confirm settings (configuration will be shown by Python script after GPU selection)
|
|
948
|
-
console.log(chalk.gray(`🔍 Debug: skipConfirmation = ${skipConfirmation}, options.yes = ${options.yes}`));
|
|
948
|
+
// console.log(chalk.gray(`🔍 Debug: skipConfirmation = ${skipConfirmation}, options.yes = ${options.yes}`));
|
|
949
949
|
if (!skipConfirmation) {
|
|
950
950
|
const confirmAnswers = await inquirer.prompt([
|
|
951
951
|
{
|
|
@@ -967,7 +967,7 @@ async function runContainerCommand(options) {
|
|
|
967
967
|
|
|
968
968
|
// Run the container
|
|
969
969
|
try {
|
|
970
|
-
console.log(chalk.gray(`🔍 Debug: skipConfirmation = ${skipConfirmation}`));
|
|
970
|
+
// console.log(chalk.gray(`🔍 Debug: skipConfirmation = ${skipConfirmation}`));
|
|
971
971
|
await runContainer({
|
|
972
972
|
repoUrl,
|
|
973
973
|
gpuType,
|
package/package.json
CHANGED
|
@@ -52,7 +52,7 @@ token_id, token_secret, openai_api_key, anthropic_api_key, groq_api_key = get_to
|
|
|
52
52
|
if token_id is None or token_secret is None:
|
|
53
53
|
raise ValueError("Could not get valid tokens")
|
|
54
54
|
|
|
55
|
-
print(f"✅ Tokens fetched successfully")
|
|
55
|
+
# print(f"✅ Tokens fetched successfully")
|
|
56
56
|
|
|
57
57
|
# Explicitly set the environment variables again to be sure
|
|
58
58
|
os.environ["MODAL_TOKEN_ID"] = token_id
|
|
@@ -236,10 +236,10 @@ def create_modal_ssh_container(gpu_type, repo_url=None, repo_name=None, setup_co
|
|
|
236
236
|
volume = None
|
|
237
237
|
|
|
238
238
|
# Print debug info for authentication
|
|
239
|
-
print("🔍 Modal authentication debug info:")
|
|
239
|
+
# print("🔍 Modal authentication debug info:")
|
|
240
240
|
modal_token = os.environ.get("MODAL_TOKEN_ID")
|
|
241
|
-
print(f" - token in env: {'Yes' if modal_token else 'No'}")
|
|
242
|
-
print(f" - Token length: {len(modal_token) if modal_token else 'N/A'}")
|
|
241
|
+
# print(f" - token in env: {'Yes' if modal_token else 'No'}")
|
|
242
|
+
# print(f" - Token length: {len(modal_token) if modal_token else 'N/A'}")
|
|
243
243
|
|
|
244
244
|
# Create SSH-enabled image
|
|
245
245
|
try:
|
|
@@ -247,7 +247,7 @@ def create_modal_ssh_container(gpu_type, repo_url=None, repo_name=None, setup_co
|
|
|
247
247
|
|
|
248
248
|
# Get the current directory path for mounting local Python sources
|
|
249
249
|
current_dir = os.path.dirname(os.path.abspath(__file__))
|
|
250
|
-
print(f"🔍 Current directory for mounting: {current_dir}")
|
|
250
|
+
# print(f"🔍 Current directory for mounting: {current_dir}")
|
|
251
251
|
|
|
252
252
|
# Use a more stable CUDA base image and avoid problematic packages
|
|
253
253
|
ssh_image = (
|