@latentforce/shift 1.0.14 → 1.0.15
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.
|
@@ -242,14 +242,14 @@ export async function initCommand(options = {}) {
|
|
|
242
242
|
scan_timestamp: new Date().toISOString(),
|
|
243
243
|
project_name: project.projectName,
|
|
244
244
|
},
|
|
245
|
-
scan_targets: scanTargets
|
|
245
|
+
scan_targets: scanTargets,
|
|
246
246
|
total_loc: totalLOC,
|
|
247
247
|
files: filesWithContent.length > 0 ? filesWithContent : undefined,
|
|
248
248
|
};
|
|
249
249
|
try {
|
|
250
250
|
const response = await sendInitScan(apiKey, project.projectId, payload);
|
|
251
251
|
console.log('[Init] ✓ Backend initialization completed');
|
|
252
|
-
console.log(`[Init] Source files queued: ${response.source_files_count
|
|
252
|
+
console.log(`[Init] Source files queued: ${response.source_files_count}`);
|
|
253
253
|
// Update local config with agent info (matching extension)
|
|
254
254
|
if (response.agents_created?.theme_planner) {
|
|
255
255
|
const agentInfo = {
|
|
@@ -263,9 +263,6 @@ export async function initCommand(options = {}) {
|
|
|
263
263
|
writeProjectConfig(projectConfig, projectRoot);
|
|
264
264
|
console.log(`[Init] ✓ Agent info saved: ${agentInfo.agent_id}`);
|
|
265
265
|
}
|
|
266
|
-
if (response.files_read === 0 && response.files_failed > 0) {
|
|
267
|
-
console.log(`\n[Init] ⚠️ No files were read (${response.files_failed} failed).`);
|
|
268
|
-
}
|
|
269
266
|
console.log('\n╔═══════════════════════════════════════════════╗');
|
|
270
267
|
console.log('║ ✓ Project Initialization Complete ║');
|
|
271
268
|
console.log('╚═══════════════════════════════════════════════╝');
|