everydaycats commited on
Commit
f83472c
·
verified ·
1 Parent(s): 0900d48

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +3 -3
app.js CHANGED
@@ -41,9 +41,9 @@ app.post("/api/ai-build", async (req, res) => {
41
  if (hierarchyContext) {
42
  console.log(`🌳 HIERARCHY [${hierarchyContext.rootName}]:`);
43
  // Limit log output so terminal doesn't flood
44
- const treePreview = hierarchyContext.tree.split('\n').slice(0, 20).join('\n');
45
  console.log(treePreview);
46
- console.log("... (and more)");
47
  return res.json({ success: true, message: `Scanned ${hierarchyContext.rootName}.` });
48
  }
49
 
@@ -69,7 +69,7 @@ app.post("/api/ai-build", async (req, res) => {
69
  console.log(" 👉 Asking to scan ServerScriptService...");
70
  return res.json({
71
  action: "read_hierarchy",
72
- targetName: "ServerScriptService"
73
  });
74
  }
75
 
 
41
  if (hierarchyContext) {
42
  console.log(`🌳 HIERARCHY [${hierarchyContext.rootName}]:`);
43
  // Limit log output so terminal doesn't flood
44
+ const treePreview = hierarchyContext.tree.split('\n').slice(0, 200).join('\n');
45
  console.log(treePreview);
46
+ //console.log("... (and more)");
47
  return res.json({ success: true, message: `Scanned ${hierarchyContext.rootName}.` });
48
  }
49
 
 
69
  console.log(" 👉 Asking to scan ServerScriptService...");
70
  return res.json({
71
  action: "read_hierarchy",
72
+ // targetName: "ServerScriptService"
73
  });
74
  }
75