mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Checkpoint: File edits
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
294a666c5f
commit
dbeec14f5f
2 files changed
+28
-3
No files matched your search
@@ -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,
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user