gitea push

This commit is contained in:
2026-05-09 12:19:29 -06:00
parent 06113c95b8
commit 429461e985
1481 changed files with 74306 additions and 52475 deletions
+4
View File
@@ -77,6 +77,10 @@ function run() {
.option('skills', {
type: 'boolean',
description: 'Enable/disable skills support (experimental, default: enabled)',
})
.option('subagents', {
type: 'boolean',
description: 'Enable/disable subagents support (experimental, default: enabled)',
});
}, handlers_1.applyHandler)
.command('init', 'Scaffold a .ruler directory with default files', (y) => {
+9 -1
View File
@@ -114,8 +114,16 @@ async function applyHandler(argv) {
else {
skillsEnabled = undefined; // Let config/default decide
}
// Determine subagents preference: CLI > TOML > Default (enabled)
let subagentsEnabled;
if (argv.subagents !== undefined) {
subagentsEnabled = argv.subagents;
}
else {
subagentsEnabled = undefined; // Let config/default decide
}
try {
await (0, lib_1.applyAllAgentConfigs)(projectRoot, agents, configPath, mcpEnabled, mcpStrategy, gitignorePreference, verbose, dryRun, localOnly, nested, backup, skillsEnabled, gitignoreLocalPreference);
await (0, lib_1.applyAllAgentConfigs)(projectRoot, agents, configPath, mcpEnabled, mcpStrategy, gitignorePreference, verbose, dryRun, localOnly, nested, backup, skillsEnabled, gitignoreLocalPreference, subagentsEnabled);
console.log('Ruler apply completed successfully.');
}
catch (err) {