From dbeec14f5f53bfa5bc85f11b27f5a4fc7ab3fbe5 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 7 Jan 2026 04:16:33 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-07T04:16:33Z - Changes: 2 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/commands/index.ts | 20 ++++++++++++++++++- .../embeddings/src/embedding-service.ts | 11 ++++++++-- 2 files changed, 28 insertions(+), 3 deletions(-) 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 { - 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',