feat(tools): add minio prefix sync into memory

This commit is contained in:
William Valentin
2026-02-16 14:21:18 -08:00
parent 0be93c20b5
commit 22f225998f
10 changed files with 434 additions and 4 deletions
+2 -1
View File
@@ -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, createMinioIngestTool } from '../tools/index.js';
import { createSessionTools, createAgentsListTool, createMessageSendTool, createCronTools, createGmailTools, createGcalTools, createGdocsTools, createGdriveTools, createGtasksTools, createMinioShareTool, createMinioIngestTool, createMinioSyncTool } 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';
@@ -195,6 +195,7 @@ export async function startDaemon(config: Config, options?: StartDaemonOptions):
toolRegistry.register(createMinioShareTool(config.backup));
if (memoryStore) {
toolRegistry.register(createMinioIngestTool(config.backup, memoryStore));
toolRegistry.register(createMinioSyncTool(config.backup, memoryStore));
}
}