feat(scene-generator): extract business JS files for LLM analysis
Identify and push js/ directory business logic files (mca.js, sgApi.js, etc.) to the LLM prompt. Exclude third-party libraries. Capped at 4 fragments to stay within MAX_DEEP_PROMPT_CHARS budget. 🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -163,6 +163,7 @@ function buildDeepAnalyzePrompt(sourceDir, dirContents) {
|
|||||||
pushFragments(parts, "Branching fragments", context.branchingFragments, 6);
|
pushFragments(parts, "Branching fragments", context.branchingFragments, 6);
|
||||||
pushFragments(parts, "Response/normalization fragments", context.responseFragments, 6);
|
pushFragments(parts, "Response/normalization fragments", context.responseFragments, 6);
|
||||||
pushFragments(parts, "Export fragments", context.exportFragments, 4);
|
pushFragments(parts, "Export fragments", context.exportFragments, 4);
|
||||||
|
pushFragments(parts, "business JS files", context.businessJsFragments, 4);
|
||||||
|
|
||||||
parts.push(`
|
parts.push(`
|
||||||
Instructions:
|
Instructions:
|
||||||
|
|||||||
Reference in New Issue
Block a user