n8n
Version:
n8n Workflow Automation Tool
13 lines (12 loc) • 1.03 kB
TypeScript
import { type InstanceAiAgentPreviewHandoffContext, type InstanceAiResourceAttachment } from '@n8n/api-types';
export declare const AUTO_FOLLOW_UP_MESSAGE = "(continue)";
export declare const EDITOR_CONTEXT_OPEN_TAG = "<editor-context>";
export declare const EDITOR_CONTEXT_CLOSE_TAG = "</editor-context>";
export declare const CREDENTIAL_CONTEXT_OPEN_TAG = "<credential-context>";
export declare const CREDENTIAL_CONTEXT_CLOSE_TAG = "</credential-context>";
export declare const AGENT_PREVIEW_CONTEXT_OPEN_TAG = "<agent-preview-context>";
export declare const AGENT_PREVIEW_CONTEXT_CLOSE_TAG = "</agent-preview-context>";
export declare function withCurrentDateTime(message: string, dateTimeSection: string): string;
export declare function cleanStoredUserMessage(stored: string): string | null;
export declare function extractEditorContextResourceAttachments(stored: string): InstanceAiResourceAttachment[];
export declare function extractAgentPreviewHandoffContext(stored: string): InstanceAiAgentPreviewHandoffContext | undefined;