n8n
Version:
n8n Workflow Automation Tool
11 lines (10 loc) • 828 B
TypeScript
import type { AgentFileDto } from '@n8n/api-types';
import type { AgentFile } from './entities/agent-file.entity';
export declare const KNOWLEDGE_MIRROR_DIR = "/home/daytona/knowledge-mirror";
export declare const KNOWLEDGE_MIRROR_FILES_DIR = "/home/daytona/knowledge-mirror/files";
export declare const KNOWLEDGE_MIRROR_MANIFEST = "/home/daytona/knowledge-mirror/manifest";
export declare function hasControlCharacter(value: string): boolean;
export declare function buildKnowledgeFileLocation(agentId: string, fileId: string): import("n8n-core").BinaryData.FileLocation;
export declare function assertKnowledgePathSegment(segment: string, label: string): void;
export declare function storageFileNameForOriginalFileName(originalFileName: string): string;
export declare function toAgentFileDto(file: AgentFile): AgentFileDto;