UNPKG

n8n

Version:

n8n Workflow Automation Tool

10 lines (9 loc) 699 B
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 assertKnowledgePathSegment(segment: string, label: string): void; export declare function storageFileNameForOriginalFileName(originalFileName: string): string; export declare function toAgentFileDto(file: AgentFile): AgentFileDto;