feat(tools): add minio.share upload and presigned link tool
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 } from '../tools/index.js';
|
||||
import { createSessionTools, createAgentsListTool, createMessageSendTool, createCronTools, createGmailTools, createGcalTools, createGdocsTools, createGdriveTools, createGtasksTools, createMinioShareTool } 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';
|
||||
@@ -185,6 +185,9 @@ export async function startDaemon(config: Config, options?: StartDaemonOptions):
|
||||
if (config.automation.gtasks?.enabled) {
|
||||
for (const tool of createGtasksTools(config.automation.gtasks)) { toolRegistry.register(tool); }
|
||||
}
|
||||
if (config.backup.minio.enabled) {
|
||||
toolRegistry.register(createMinioShareTool(config.backup));
|
||||
}
|
||||
|
||||
// ── Lifecycle ──
|
||||
await startServices({ config, lifecycle, channelRegistry, gateway, modelRouter, memoryDir, dataDir });
|
||||
|
||||
Reference in New Issue
Block a user