gitarsenal-cli 1.9.82 → 1.9.83
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-18T08:57:32.974Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
|
package/gitingest-integration.js
CHANGED
|
@@ -53,15 +53,10 @@ async function fetchGitIngestData(repoUrl) {
|
|
|
53
53
|
// First check if GitIngest CLI is available
|
|
54
54
|
const gitingestAvailable = await checkGitIngestCLI();
|
|
55
55
|
if (!gitingestAvailable) {
|
|
56
|
-
// console.log(chalk.yellow('⚠️ GitIngest CLI not available or has compatibility issues.'));
|
|
57
|
-
// console.log(chalk.blue('💡 For best results, install with: pipx install gitingest'));
|
|
58
|
-
// console.log(chalk.blue(' Alternative: pip install gitingest (requires Python 3.10+)'));
|
|
59
|
-
// console.log(chalk.blue('📖 More info: https://github.com/coderamp-labs/gitingest'));
|
|
60
|
-
// console.log(chalk.gray(' Falling back to basic repository analysis...'));
|
|
61
56
|
return null;
|
|
62
57
|
}
|
|
63
58
|
|
|
64
|
-
console.log(chalk.gray('📥 Running
|
|
59
|
+
// console.log(chalk.gray('📥 Running Repo Analysis locally...'));
|
|
65
60
|
|
|
66
61
|
// Run GitIngest CLI command with optimal settings for AI analysis
|
|
67
62
|
const gitingestProcess = spawn('gitingest', [
|
|
@@ -85,11 +80,11 @@ async function fetchGitIngestData(repoUrl) {
|
|
|
85
80
|
return new Promise((resolve) => {
|
|
86
81
|
gitingestProcess.on('close', (code) => {
|
|
87
82
|
if (code === 0 && gitingestOutput.trim().length > 0) {
|
|
88
|
-
console.log(chalk.green('✅
|
|
83
|
+
console.log(chalk.green('✅ Repo analysis complete'));
|
|
89
84
|
console.log(chalk.gray(`📊 Captured ${gitingestOutput.length} characters of repository content`));
|
|
90
85
|
resolve(parseGitIngestOutput(gitingestOutput, repoUrl));
|
|
91
86
|
} else {
|
|
92
|
-
console.log(chalk.yellow(`⚠️
|
|
87
|
+
console.log(chalk.yellow(`⚠️ Repo Analysis failed (exit code: ${code})`));
|
|
93
88
|
if (errorOutput) {
|
|
94
89
|
console.log(chalk.gray(`Error details: ${errorOutput.slice(0, 300)}`));
|
|
95
90
|
}
|
|
@@ -254,12 +249,6 @@ function parseGitIngestOutput(gitingestText, repoUrl) {
|
|
|
254
249
|
success: true
|
|
255
250
|
};
|
|
256
251
|
|
|
257
|
-
console.log(chalk.gray('🔍 Analysis Summary:'));
|
|
258
|
-
console.log(chalk.gray(` - Language: ${detectedLanguage}`));
|
|
259
|
-
console.log(chalk.gray(` - Technologies: ${detectedTechnologies.join(', ') || 'None detected'}`));
|
|
260
|
-
console.log(chalk.gray(` - Files: ${fileCount}`));
|
|
261
|
-
console.log(chalk.gray(` - Package Manager: ${primaryPackageManager}`));
|
|
262
|
-
|
|
263
252
|
return structuredData;
|
|
264
253
|
|
|
265
254
|
} catch (error) {
|
package/lib/sandbox.js
CHANGED
|
@@ -116,13 +116,11 @@ async function runContainer(options) {
|
|
|
116
116
|
args.push('--user-id', userEmail);
|
|
117
117
|
args.push('--user-name', userId);
|
|
118
118
|
args.push('--display-name', userName);
|
|
119
|
-
// console.log(chalk.gray(`🔍 Debug: Passing user credentials to Python script`));
|
|
120
119
|
}
|
|
121
120
|
|
|
122
121
|
// Add analysis data if provided
|
|
123
122
|
if (analysisData) {
|
|
124
123
|
args.push('--analysis-data', JSON.stringify(analysisData));
|
|
125
|
-
console.log(chalk.gray(`🔍 Debug: Passing analysis data to Python script`));
|
|
126
124
|
}
|
|
127
125
|
|
|
128
126
|
// Handle manual setup commands if provided
|
package/package.json
CHANGED
|
Binary file
|