fix: address Bugbot review comments
- Remove redundant conditional in --smart flag (both branches were identical) - Include templates directory in npm package files
This commit is contained in:
parent
7729bd89c6
commit
f5259c367c
|
|
@ -9,7 +9,8 @@
|
|||
},
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"templates"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
|
|
@ -401,17 +401,14 @@ async function handleAutoMode(outputPath: string, smart: boolean): Promise<void>
|
|||
console.log();
|
||||
|
||||
// Generate agent rules
|
||||
let agentRules: string;
|
||||
|
||||
if (smart) {
|
||||
// TODO: Implement AI-powered rule generation in future PR
|
||||
console.log(chalk.yellow(" ⚠ AI-powered rule generation not yet implemented"));
|
||||
console.log(chalk.dim(" Using template-based rules for now...\n"));
|
||||
agentRules = await generateRulesFromTemplates(projectType);
|
||||
} else {
|
||||
agentRules = await generateRulesFromTemplates(projectType);
|
||||
}
|
||||
|
||||
const agentRules = await generateRulesFromTemplates(projectType);
|
||||
|
||||
// Build config with smart defaults
|
||||
const projectId = env.isGitRepo ? basename(workingDir) : "my-project";
|
||||
const repo = env.ownerRepo || "owner/repo";
|
||||
|
|
|
|||
Loading…
Reference in New Issue