Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Add neural and goal command registration from alpha-110

rUv8e19d50dfa26
diff --git a/src/cli/commands/index.ts b/src/cli/commands/index.ts
index 87a4001ba1..9c959f6a47 100644
--- a/src/cli/commands/index.ts
+++ b/src/cli/commands/index.ts
@@ -54,6 +54,74 @@ async function getConfigManager(): Promise<ConfigManager> {
}
export function setupCommands(cli: CLI): void {
+ // Neural init command
+ cli.command({
+ name: 'neural',
+ description: 'Neural module management',
+ subcommands: [
+ {
+ name: 'init',
+ description: 'Initialize SAFLA neural module',
+ options: [
+ {
+ name: 'force',
+ short: 'f',
+ description: 'Overwrite existing module',
+ type: 'boolean',
+ },
+ {
+ name: 'target',
+ short: 't',
+ description: 'Target directory',
+ type: 'string',
+ defaultValue: '.claude/agents/neural',
+ },
+ ],
+ action: async (ctx: CommandContext) => {
+ const { initNeuralModule } = await import('../../scripts/init-neural.js');
+ await initNeuralModule({
+ force: ctx.flags.force as boolean,
+ targetDir: ctx.flags.target as string,
+ });
+ },
+ },
+ ],
+ });
+
+ // Goal init command
+ cli.command({
+ name: 'goal',
+ description: 'Goal module management',
+ subcommands: [
+ {
+ name: 'init',
+ description: 'Initialize GOAP goal module',
+ options: [
+ {
+ name: 'force',
+ short: 'f',
+ description: 'Overwrite existing module',
+ type: 'boolean',
+ },
+ {
+ name: 'target',
+ short: 't',
+ description: 'Target directory',
+ type: 'string',
+ defaultValue: '.claude/agents/goal',
+ },
+ ],
+ action: async (ctx: CommandContext) => {
+ const { initGoalModule } = await import('../../scripts/init-goal.js');
+ await initGoalModule({
+ force: ctx.flags.force as boolean,
+ targetDir: ctx.flags.target as string,
+ });
+ },
+ },
+ ],
+ });
+
// Init command
cli.command({
name: 'init',