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

Checkpoint: File edits

rUvdbeec14f5f53
diff --git a/v3/@claude-flow/cli/src/commands/index.ts b/v3/@claude-flow/cli/src/commands/index.ts
index 2422fa16c4..8dd5241978 100644
--- a/v3/@claude-flow/cli/src/commands/index.ts
+++ b/v3/@claude-flow/cli/src/commands/index.ts
@@ -49,6 +49,15 @@ export { statusCommand } from './status.js';
export { taskCommand } from './task.js';
export { sessionCommand } from './session.js';
export { daemonCommand } from './daemon.js';
+// V3 Advanced Commands
+export { neuralCommand } from './neural.js';
+export { securityCommand } from './security.js';
+export { performanceCommand } from './performance.js';
+export { providersCommand } from './providers.js';
+export { pluginsCommand } from './plugins.js';
+export { deploymentCommand } from './deployment.js';
+export { claimsCommand } from './claims.js';
+export { embeddingsCommand } from './embeddings.js';
/**
* All available commands
@@ -71,7 +80,16 @@ export const commands: Command[] = [
workflowCommand,
hiveMindCommand,
processCommand,
- daemonCommand
+ daemonCommand,
+ // V3 Advanced Commands
+ neuralCommand,
+ securityCommand,
+ performanceCommand,
+ providersCommand,
+ pluginsCommand,
+ deploymentCommand,
+ claimsCommand,
+ embeddingsCommand,
];
/**
diff --git a/v3/@claude-flow/embeddings/src/embedding-service.ts b/v3/@claude-flow/embeddings/src/embedding-service.ts
index d5c8699c55..627a8868a1 100644
--- a/v3/@claude-flow/embeddings/src/embedding-service.ts
+++ b/v3/@claude-flow/embeddings/src/embedding-service.ts
@@ -880,12 +880,19 @@ export interface AutoEmbeddingConfig {
export async function createEmbeddingServiceAsync(
config: AutoEmbeddingConfig
): Promise<IEmbeddingService> {
- const { provider, fallback, ...rest } = config;
+ const { provider, fallback, autoInstall = true, ...rest } = config;
// Auto provider selection
if (provider === 'auto') {
// Try agentic-flow first (fastest, ONNX-based)
- if (await isAgenticFlowAvailable()) {
+ let agenticFlowAvailable = await isAgenticFlowAvailable();
+
+ // Auto-install if not available and autoInstall is enabled
+ if (!agenticFlowAvailable && autoInstall) {
+ agenticFlowAvailable = await autoInstallAgenticFlow();
+ }
+
+ if (agenticFlowAvailable) {
try {
const service = new AgenticFlowEmbeddingService({
provider: 'agentic-flow',