s9n-devops-agent 2.0.12 → 2.0.13
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/package.json
CHANGED
|
@@ -273,8 +273,12 @@ class SessionCoordinator {
|
|
|
273
273
|
|
|
274
274
|
// Check if house rules exist
|
|
275
275
|
if (!houseRulesManager.houseRulesPath || !fs.existsSync(houseRulesManager.houseRulesPath)) {
|
|
276
|
-
console.log(`\n${CONFIG.colors.yellow}House rules not found -
|
|
277
|
-
|
|
276
|
+
console.log(`\n${CONFIG.colors.yellow}House rules not found - creating default house rules...${CONFIG.colors.reset}`);
|
|
277
|
+
// Auto-create default house rules without prompting
|
|
278
|
+
const result = await houseRulesManager.updateHouseRules({ createIfMissing: true, backupExisting: false });
|
|
279
|
+
if (result.created) {
|
|
280
|
+
console.log(`${CONFIG.colors.green}✓${CONFIG.colors.reset} House rules created at: ${CONFIG.colors.bright}${result.path}${CONFIG.colors.reset}`);
|
|
281
|
+
}
|
|
278
282
|
} else {
|
|
279
283
|
// House rules exist - check if they need updating
|
|
280
284
|
const status = houseRulesManager.getStatus();
|