feat(tools): add minio ingestion into memory namespaces
This commit is contained in:
+4
-1
@@ -27,7 +27,7 @@ import { RoutingPolicy } from '../routing/index.js';
|
||||
import type { ModelRouter } from '../models/index.js';
|
||||
import { SessionStore, SessionManager, parseDuration } from '../session/index.js';
|
||||
import { HookEngine } from '../hooks/index.js';
|
||||
import { createSessionTools, createAgentsListTool, createMessageSendTool, createCronTools, createGmailTools, createGcalTools, createGdocsTools, createGdriveTools, createGtasksTools, createMinioShareTool } from '../tools/index.js';
|
||||
import { createSessionTools, createAgentsListTool, createMessageSendTool, createCronTools, createGmailTools, createGcalTools, createGdocsTools, createGdriveTools, createGtasksTools, createMinioShareTool, createMinioIngestTool } from '../tools/index.js';
|
||||
import { ChannelRegistry } from '../channels/index.js';
|
||||
import type { McpManager } from '../mcp/index.js';
|
||||
import type { SkillRegistry, SkillInstaller } from '../skills/index.js';
|
||||
@@ -193,6 +193,9 @@ export async function startDaemon(config: Config, options?: StartDaemonOptions):
|
||||
}
|
||||
if (config.backup.minio.enabled) {
|
||||
toolRegistry.register(createMinioShareTool(config.backup));
|
||||
if (memoryStore) {
|
||||
toolRegistry.register(createMinioIngestTool(config.backup, memoryStore));
|
||||
}
|
||||
}
|
||||
|
||||
// ── Lifecycle ──
|
||||
|
||||
Reference in New Issue
Block a user