n8n
Version:
n8n Workflow Automation Tool
18 lines (17 loc) • 715 B
TypeScript
import { FsByteStore, JsonStore } from '@n8n/blob-storage';
import { ErrorReporter, StorageConfig } from 'n8n-core';
import type { TimelineEvent } from '../execution-recorder';
export type AgentExecutionLogRef = {
agentId: string;
threadId: string;
executionId: string;
};
export type AgentExecutionLogPayload = {
timeline: TimelineEvent[];
};
export declare class AgentExecutionLogFsByteStore extends FsByteStore {
constructor(storageConfig: StorageConfig, errorReporter: ErrorReporter);
}
export declare class AgentExecutionLogStore extends JsonStore<AgentExecutionLogRef, AgentExecutionLogPayload> {
constructor(fsByteStore: AgentExecutionLogFsByteStore, errorReporter: ErrorReporter);
}